/* EX1X gallery 2.5 — carefully scoped, no changes to the 38/39 MB photo archive */
.ex1xg{width:min(1200px,100%);margin:32px auto;padding:20px 24px;color:#17313e;font-family:Arial,'Noto Sans Bengali',sans-serif;box-sizing:border-box}
.ex1xg *{box-sizing:border-box}
.ex1xg-head{margin:0 0 22px}.ex1xg-head h2{font:normal clamp(29px,3vw,44px)/1.18 Georgia,serif;margin:7px 0 10px;color:#193644}.ex1xg-head p{color:#607a87;margin:5px 0;line-height:1.65}.ex1xg-eyebrow{font:600 10px/1.5 Arial,sans-serif!important;letter-spacing:1.7px;color:#92443f!important}
.ex1xg-locations{font-weight:600}.ex1xg-locations strong{font-weight:400;color:#7b5551}.ex1xg-locations-bn{font-size:13px!important}
.ex1xg-grid{display:grid;grid-template-columns:repeat(5,minmax(0,1fr));gap:10px}
.ex1xg-tile{display:block;position:relative;overflow:hidden;border:0!important;padding:0!important;cursor:zoom-in;background:#dfe8e7;border-radius:12px;aspect-ratio:4/3;min-width:0;box-shadow:0 4px 13px #1c343b13;appearance:none}
.ex1xg-tile img{display:block;width:100%;height:100%;object-fit:cover;transition:transform .25s ease}.ex1xg-tile:hover img{transform:scale(1.04)}
.ex1xg-tile span{position:absolute;inset:auto 0 0;padding:20px 9px 8px;color:#fff!important;text-align:left;font:500 11px/1.3 Arial,sans-serif;background:linear-gradient(transparent,#000a);pointer-events:none}
.ex1xg-all{display:inline-flex;margin-top:18px;border-radius:24px;background:#163b4a;color:#fff!important;padding:10px 18px!important;font:600 12px Arial,sans-serif;text-decoration:none!important}
#ex1xg-home-insert,#ex1xg-home-bottom{display:block;position:relative;width:100%;max-width:100%;clear:both;background:#f6fafb;z-index:1;isolation:isolate;flex:none}
#ex1xg-home-bottom{background:#edf5f8}
#ex1xg-home-insert .ex1xg,#ex1xg-home-bottom .ex1xg{max-width:1200px;margin:auto;padding:clamp(28px,4vw,48px) 25px 44px}
#ex1xg-home-insert .ex1xg-grid,#ex1xg-home-bottom .ex1xg-grid{grid-template-columns:repeat(4,minmax(0,1fr));grid-auto-rows:clamp(106px,10vw,154px);gap:10px}
#ex1xg-home-insert .ex1xg-tile,#ex1xg-home-bottom .ex1xg-tile{aspect-ratio:auto;height:100%;width:100%}
#ex1xg-home-insert .ex1xg-tile:first-child,#ex1xg-home-bottom .ex1xg-tile:first-child{grid-column:span 2;grid-row:span 2}
#ex1xg-home-insert .ex1xg-tile:nth-child(12),#ex1xg-home-bottom .ex1xg-tile:nth-child(12){grid-column:span 1}
#ex1x-root .ex1xg-menu-link{color:#254a60!important;font-weight:700!important}
@media(max-width:850px){.ex1xg-grid{grid-template-columns:repeat(3,minmax(0,1fr))}#ex1xg-home-insert .ex1xg-grid,#ex1xg-home-bottom .ex1xg-grid{grid-template-columns:repeat(3,minmax(0,1fr));grid-auto-rows:135px}#ex1xg-home-insert .ex1xg-tile:first-child,#ex1xg-home-bottom .ex1xg-tile:first-child{grid-column:span 2;grid-row:span 2}}
@media(max-width:575px){.ex1xg{padding:20px 12px}.ex1xg-grid{grid-template-columns:repeat(2,minmax(0,1fr));gap:8px}#ex1xg-home-insert .ex1xg,#ex1xg-home-bottom .ex1xg{padding:28px 12px 34px}#ex1xg-home-insert .ex1xg-grid,#ex1xg-home-bottom .ex1xg-grid{grid-template-columns:repeat(2,minmax(0,1fr));grid-auto-rows:112px;gap:8px}.ex1xg-head h2{font-size:clamp(27px,7vw,36px)}.ex1xg-tile span{font-size:10px}#ex1x-root .ex-header nav{gap:8px!important}#ex1x-root .ex-header nav a{font-size:11px!important}}
/* True fullscreen modal: it is moved to document.body by JavaScript. */
html.ex1xg-is-open,html.ex1xg-is-open body{overflow:hidden!important}
html body #ex1xg-modal[hidden],#ex1xg-info[hidden]{display:none!important}
html body #ex1xg-modal:not([hidden]){position:fixed!important;inset:0!important;left:0!important;top:0!important;width:100vw!important;height:100vh!important;height:100dvh!important;max-width:none!important;max-height:none!important;margin:0!important;padding:0!important;display:flex!important;flex-direction:column!important;z-index:2147483647!important;box-sizing:border-box!important;background:rgba(5,12,18,.985)!important;color:#fff!important;isolation:isolate;font:14px Arial,sans-serif!important}
#ex1xg-modal *{box-sizing:border-box}
#ex1xg-modal button,#ex1xg-modal a{cursor:pointer;display:inline-flex;align-items:center;justify-content:center;background:#183746!important;color:#fff!important;border:1px solid #77919c!important;border-radius:16px!important;padding:8px 13px!important;font:600 13px Arial,sans-serif!important;text-decoration:none!important;white-space:nowrap}
#ex1xg-modal .ex1xg-bar{display:flex;align-items:center;justify-content:space-between;gap:12px;flex:0 0 auto;min-height:58px;padding:8px 15px}
#ex1xg-modal .ex1xg-bar strong{overflow:hidden;text-overflow:ellipsis;white-space:nowrap;font-size:15px}
#ex1xg-modal .ex1xg-zoom-actions{display:flex;gap:7px}
#ex1xg-modal .ex1xg-stage{flex:1 1 auto;min-height:0;display:flex;align-items:center;width:100%;gap:4px}
#ex1xg-modal .ex1xg-stage>button{flex:none;font-size:23px!important;padding:8px 13px!important;margin:6px}
#ex1xg-modal .ex1xg-pan{flex:1 1 auto;min-width:0;min-height:0;height:100%;display:flex;align-items:center;justify-content:center;overflow:hidden;touch-action:none;cursor:grab}
#ex1xg-modal .ex1xg-pan img{display:block;max-width:100%!important;max-height:100%!important;width:auto!important;height:auto!important;object-fit:contain!important;transition:transform .08s ease;transform-origin:center center;user-select:none;pointer-events:none}
#ex1xg-modal .ex1xg-bottom{flex:0 0 auto;min-height:58px;padding:8px 15px;display:flex;align-items:center;justify-content:center;gap:10px;flex-wrap:wrap}
#ex1xg-modal #ex1xg-count{font-weight:700;white-space:nowrap}
#ex1xg-modal #ex1xg-info{position:absolute;left:50%;bottom:70px;transform:translateX(-50%);width:min(680px,94vw);max-height:47vh;overflow-y:auto;padding:20px 24px;color:#193641;background:#fff;border-radius:16px;box-shadow:0 10px 45px #000a;z-index:3}
#ex1xg-modal #ex1xg-info h3{color:#173541!important}#ex1xg-modal #ex1xg-info p{line-height:1.65;margin:10px 0}#ex1xg-modal #ex1xg-info small{color:#915954}
@media(max-width:575px){#ex1xg-modal .ex1xg-bar{min-height:52px;padding:7px 9px}#ex1xg-modal .ex1xg-zoom-actions{gap:4px}#ex1xg-modal .ex1xg-bar strong{max-width:90px;font-size:12px}#ex1xg-modal button,#ex1xg-modal a{padding:7px 9px!important;font-size:12px!important}#ex1xg-modal .ex1xg-stage>button{padding:6px 8px!important;margin:3px}#ex1xg-modal .ex1xg-bottom{gap:6px}#ex1xg-modal #ex1xg-info{bottom:104px}}

/* v2.6: keep /gallery comfortably wide with no global theme changes. */
.ex1xg-full{width:min(1380px,calc(100vw - 30px))!important;max-width:none!important;position:relative;left:50%;transform:translateX(-50%);padding:25px clamp(10px,3vw,36px)!important}
.ex1xg-full .ex1xg-grid{grid-template-columns:repeat(4,minmax(0,1fr));gap:12px}
.ex1xg-full .ex1xg-tile{aspect-ratio:16/10;min-height:145px}
@media(min-width:1300px){.ex1xg-full .ex1xg-grid{grid-template-columns:repeat(4,minmax(0,1fr))}}
@media(max-width:800px){.ex1xg-full .ex1xg-grid{grid-template-columns:repeat(2,minmax(0,1fr));gap:8px}.ex1xg-full .ex1xg-tile{min-height:105px}}
@media(max-width:430px){.ex1xg-full{width:calc(100vw - 12px)!important;padding:15px 8px!important}.ex1xg-full .ex1xg-tile{aspect-ratio:1/1;min-height:90px}}

/* v2.7: Fit image to the *whole available screen*, not its small natural pixel size.
   This corrects v2.6's width:auto / height:auto restriction.
   Scoped exclusively to EX1X modal so the original site stays untouched. */
html body #ex1xg-modal:not([hidden]),
html body #ex1xg-modal:fullscreen,
html body #ex1xg-modal:-webkit-full-screen {
  width:100vw!important;
  height:100vh!important;
  height:100dvh!important;
  max-width:none!important;
  max-height:none!important;
  overflow:hidden!important;
  background:#050b10!important;
}
html body #ex1xg-modal:not([hidden]) .ex1xg-stage{
  flex:1 1 0%!important;
  width:100%!important;
  height:auto!important;
  min-height:0!important;
  max-width:none!important;
  position:relative!important;
  overflow:hidden!important;
}
html body #ex1xg-modal:not([hidden]) .ex1xg-pan{
  flex:1 1 0%!important;
  min-width:0!important;
  min-height:0!important;
  width:100%!important;
  height:100%!important;
  max-width:none!important;
  max-height:none!important;
  overflow:hidden!important;
  display:flex!important;
  align-items:center!important;
  justify-content:center!important;
}
html body #ex1xg-modal:not([hidden]) #ex1xg-large {
  display:block!important;
  width:100%!important;
  height:100%!important;
  min-width:0!important;
  min-height:0!important;
  max-width:none!important;
  max-height:none!important;
  object-fit:contain!important;
  object-position:center!important;
  margin:0!important;
  padding:0!important;
  border:0!important;
  border-radius:0!important;
  box-shadow:none!important;
  transform-origin:center center!important;
  will-change:transform;
}
#ex1xg-modal .ex1xg-pan{cursor:grab}
#ex1xg-modal .ex1xg-pan:active{cursor:grabbing}
@media(max-width:600px){
  html body #ex1xg-modal:not([hidden]) .ex1xg-bar{min-height:48px!important}
  html body #ex1xg-modal:not([hidden]) .ex1xg-bottom{min-height:50px!important}
  html body #ex1xg-modal:not([hidden]) .ex1xg-stage>button{position:absolute!important;top:50%;transform:translateY(-50%);z-index:3;background:rgba(15,42,55,.72)!important}
  html body #ex1xg-modal:not([hidden]) #ex1xg-prev{left:1px}
  html body #ex1xg-modal:not([hidden]) #ex1xg-next{right:1px}
}

/* v2.8: preserve natural sharpness; do not apply GPU/SVG filters */
#ex1xg-modal #ex1xg-large,.ex1xg-grid img,.ex1xg-tile img{filter:none!important;image-rendering:auto!important;}
