/* IBS Sundarbans 1N/2D — owner-approved focused refinements, STAGING.
   Applies only to WP11 and its corresponding standalone review HTML.
   Reuses IBS Tour Page Enhancer v1.0.25; no second gallery implementation. */
html body .ibs-sb-tour-photo-gallery .ibs-tpe-gallery.ibs-tpe-grid {
 width:100%!important;max-width:none!important;
 border:0!important;box-shadow:none!important;background:transparent!important;
 overflow:visible!important;
}
html body .ibs-sb-tour-photo-gallery .ibs-tpe-gallery.ibs-tpe-grid > .ibs-tpe-track {
 display:grid!important;grid-template-columns:repeat(3,minmax(0,1fr))!important;
 grid-template-rows:auto!important;gap:18px!important;
 width:100%!important;height:auto!important;aspect-ratio:auto!important;
 transform:none!important;overflow:visible!important;
}
html body .ibs-sb-tour-photo-gallery .ibs-tpe-gallery.ibs-tpe-grid .ibs-tpe-item,
html body .ibs-sb-tour-photo-gallery .ibs-tpe-gallery.ibs-tpe-grid .ibs-tpe-item:first-child {
 display:flex!important;flex-direction:column!important;
 grid-column:auto!important;grid-row:auto!important;
 width:auto!important;min-width:0!important;
 height:auto!important;min-height:0!important;
 aspect-ratio:auto!important;margin:0!important;padding:0!important;
 border:1px solid #DAE5DC!important;border-radius:7px!important;
 background:#F4F7F2!important;overflow:hidden!important;
 box-shadow:0 4px 13px rgba(23,58,51,.065)!important;
}
html body .ibs-sb-tour-photo-gallery .ibs-tpe-gallery.ibs-tpe-grid .ibs-tpe-item > img,
html body .ibs-sb-tour-photo-gallery .ibs-tpe-gallery.ibs-tpe-grid .ibs-tpe-item > picture,
html body .ibs-sb-tour-photo-gallery .ibs-tpe-gallery.ibs-tpe-grid .ibs-tpe-item > picture > img {
 display:block!important;position:static!important;inset:auto!important;
 width:100%!important;max-width:100%!important;
 height:auto!important;aspect-ratio:4/3!important;
 object-fit:cover!important;object-position:center!important;
 margin:0!important;padding:0!important;border:0!important;
 opacity:1!important;visibility:visible!important;
}
html body .ibs-sb-tour-photo-gallery .ibs-tpe-gallery.ibs-tpe-grid .ibs-tpe-item > figcaption {
 display:block!important;position:static!important;
 margin:0!important;padding:12px 13px!important;
 width:100%!important;background:#F4F7F2!important;color:#245047!important;
 font:700 15px/1.45 "DM Sans",Arial,sans-serif!important;
 text-align:left!important;text-align-last:left!important;opacity:1!important;
}
html body .ibs-1n2d-visitor-info .ibs-visitor-card h3 {
 font-size:20px!important;line-height:1.32!important;
 padding-top:1px!important;
}
html body .ibs-1n2d-visitor-info .ibs-visitor-card p {
 font-size:16px!important;line-height:1.68!important;
}
html body .ibs-1n2d-visitor-info .ibs-visitor-info-grid{
 box-shadow:0 2px 10px rgba(23,58,51,.025)!important;
}
html body .ibs-sb-quotation-crosslink-spacer{
 display:block!important;flex:none!important;
 min-height:28px!important;height:28px!important;max-height:28px!important;
 padding:0!important;margin:0!important;
}
html body .ibs-sb-houseboat-row .wp-block-image figcaption{
 color:#567061!important;font:500 13px/1.55 "DM Sans",Arial,sans-serif!important;
 text-align:left!important;margin:7px 0 0!important;padding:0!important;
}
@media(max-width:950px){
 html body .ibs-sb-tour-photo-gallery .ibs-tpe-gallery.ibs-tpe-grid > .ibs-tpe-track{
  grid-template-columns:repeat(2,minmax(0,1fr))!important;
 }
}
@media(max-width:760px){
 html body .ibs-sb-tour-photo-gallery .ibs-tpe-gallery.ibs-tpe-grid > .ibs-tpe-track{
  grid-template-columns:minmax(0,1fr)!important;gap:14px!important;
 }
 html body .ibs-1n2d-visitor-info .ibs-visitor-card{
  display:grid!important;grid-template-columns:1fr!important;gap:7px!important;
  padding:15px 13px!important;
 }
 html body .ibs-1n2d-visitor-info .ibs-visitor-card h3{
  font-size:21px!important;line-height:1.27!important;
 }
 html body .ibs-1n2d-visitor-info .ibs-visitor-card p{
  font-size:16px!important;line-height:1.7!important;
 }
}

/* IBS SB 1N/2D — 2026-11-12 focused top-space and block-grid alignment.
   Scoped solely to existing WordPress draft #11. No changes to content,
   templates, global styles, Gallery Enhancer, or booking flow. */
html body.page-id-11 main.wp-block-group {
  margin-block-start:0!important;
  margin-top:0!important;
}
html body.page-id-11 main.wp-block-group > .wp-block-group.alignfull {
  padding-block-start:0!important;
  padding-top:0!important;
  padding-block-end:0!important;
  padding-bottom:0!important;
}
html body.page-id-11 main.wp-block-group > .wp-block-group.alignfull > .wp-block-post-title {
  display:none!important; /* Retain approved H1 below hero, avoid duplicate template title. */
}
html body.page-id-11 main.wp-block-group > .wp-block-group.alignfull > .wp-block-post-content {
  width:100%!important;
  max-width:none!important;
  margin:0!important;
  padding:0!important;
}
html body.page-id-11 .wp-block-post-content > .wp-block-cover.ibs-1n2d-clean-hero {
  margin-block-start:0!important;
  margin-top:0!important;
}
/* One consistent centered content grid for every non-hero primary section. */
html body.page-id-11 .wp-block-post-content > .wp-block-group.alignwide,
html body.page-id-11 .wp-block-post-content > section.ibs-1n2d-quickfacts,
html body.page-id-11 .wp-block-post-content > section.ibs-1n2d-visitor-info,
html body.page-id-11 .wp-block-post-content > section.ibs-journey-design-reference-20261108,
html body.page-id-11 .wp-block-post-content > .ibs-sb-tour-photo-gallery,
html body.page-id-11 .wp-block-post-content > section.ibs-1n2d-inclusions-section {
  box-sizing:border-box!important;
  position:relative!important;
  left:auto!important;
  right:auto!important;
  transform:none!important;
  width:min(1230px, calc(100% - 64px))!important;
  max-width:1230px!important;
  margin-inline:auto!important;
  margin-left:auto!important;
  margin-right:auto!important;
}
/* Standardize section gutters without disturbing their internal grid designs. */
html body.page-id-11 .wp-block-post-content > .wp-block-group.alignwide,
html body.page-id-11 .wp-block-post-content > .ibs-1n2d-visitor-info,
html body.page-id-11 .wp-block-post-content > .ibs-journey-design-reference-20261108,
html body.page-id-11 .wp-block-post-content > .ibs-sb-tour-photo-gallery,
html body.page-id-11 .wp-block-post-content > .ibs-1n2d-inclusions-section {
  padding-left:30px!important;
  padding-right:30px!important;
  margin-top:18px!important;
  margin-bottom:18px!important;
}
html body.page-id-11 .wp-block-post-content > .wp-block-group.alignwide {
  padding-top:23px!important;
  padding-bottom:23px!important;
}
/* Gutenberg constrained width was leaving content floating inside larger boxes. */
html body.page-id-11 .wp-block-post-content > .wp-block-group.alignwide > :is(
  .wp-block-heading,.wp-block-paragraph,.wp-block-columns,.wp-block-buttons,.wp-block-spacer
) {
  width:100%!important;
  max-width:none!important;
  margin-left:0!important;
  margin-right:0!important;
}
html body.page-id-11 .wp-block-post-content > .wp-block-group.alignwide > .wp-block-columns {
  box-sizing:border-box!important;
}
/* Title stripe shares the same outer content edge; hero remains edge-to-edge. */
html body.page-id-11 .wp-block-post-content > .ibs-1n2d-title-after-hero {
  padding-top:14px!important;
}
html body.page-id-11 .wp-block-post-content > .ibs-1n2d-title-after-hero > .ibs-1n2d-title-inner {
  width:min(1230px,calc(100% - 64px))!important;
  max-width:1230px!important;
  margin-left:auto!important;
  margin-right:auto!important;
}
@media (max-width:760px) {
  html body.page-id-11 .wp-block-post-content > .wp-block-group.alignwide,
  html body.page-id-11 .wp-block-post-content > section.ibs-1n2d-quickfacts,
  html body.page-id-11 .wp-block-post-content > section.ibs-1n2d-visitor-info,
  html body.page-id-11 .wp-block-post-content > section.ibs-journey-design-reference-20261108,
  html body.page-id-11 .wp-block-post-content > .ibs-sb-tour-photo-gallery,
  html body.page-id-11 .wp-block-post-content > section.ibs-1n2d-inclusions-section {
    width:calc(100% - 36px)!important;
    max-width:none!important;
    margin-left:auto!important;
    margin-right:auto!important;
    left:auto!important;
    transform:none!important;
  }
  html body.page-id-11 .wp-block-post-content > .wp-block-group.alignwide,
  html body.page-id-11 .wp-block-post-content > .ibs-1n2d-visitor-info,
  html body.page-id-11 .wp-block-post-content > .ibs-journey-design-reference-20261108,
  html body.page-id-11 .wp-block-post-content > .ibs-sb-tour-photo-gallery,
  html body.page-id-11 .wp-block-post-content > .ibs-1n2d-inclusions-section {
    padding-left:17px!important;
    padding-right:17px!important;
    margin-top:13px!important;
    margin-bottom:13px!important;
  }
  html body.page-id-11 .wp-block-post-content > .wp-block-group.alignwide {
    padding-top:18px!important;
    padding-bottom:18px!important;
  }
  html body.page-id-11 .wp-block-post-content > .ibs-1n2d-title-after-hero > .ibs-1n2d-title-inner {
    width:calc(100% - 36px)!important;
  }
}


/* IBS-SB-1N2D-HERO-AND-SECTION-GEOMETRY-V3-20261112
   Draft page 11 only. Preserve original image 526 fully, no image
   stretching or crop. Match outer edges of every main content block.
   The approved 2N/3D design is unaffected. */
html body.page-id-11 .wp-block-post-content > .wp-block-cover.alignfull.ibs-1n2d-clean-hero {
  box-sizing:border-box!important;
  display:block!important;
  width:100vw!important;
  max-width:none!important;
  height:auto!important;
  min-height:0!important;
  max-height:none!important;
  aspect-ratio:1672 / 941!important;
  overflow:hidden!important;
  position:relative!important;
  left:50%!important;
  right:auto!important;
  margin:0!important;
  padding:0!important;
  transform:translateX(-50%)!important;
}
html body.page-id-11 .wp-block-post-content > .wp-block-cover.alignfull.ibs-1n2d-clean-hero > img.wp-block-cover__image-background {
  display:block!important;
  position:absolute!important;
  width:100%!important;
  height:100%!important;
  min-height:0!important;
  inset:0!important;
  object-fit:contain!important;
  object-position:center center!important;
  transform:none!important;
  margin:0!important;
  padding:0!important;
  filter:none!important;
}
/* Equal-width page blocks, independent of Gutenberg's nested 900px constraint. */
html body.page-id-11 .wp-block-post-content > :is(
  .wp-block-group.alignwide,
  .ibs-1n2d-quickfacts,
  .ibs-1n2d-visitor-info,
  .ibs-journey-design-reference-20261108,
  .ibs-sb-tour-photo-gallery,
  .ibs-1n2d-inclusions-section
) {
  box-sizing:border-box!important;
  position:relative!important;
  left:50%!important;
  right:auto!important;
  transform:translateX(-50%)!important;
  width:min(1230px,calc(100vw - 64px))!important;
  min-width:0!important;
  max-width:none!important;
  margin-left:0!important;
  margin-right:0!important;
  margin-inline:0!important;
}
html body.page-id-11 .wp-block-post-content > .wp-block-group.alignwide > :is(
  .wp-block-heading,
  h2,h3,p,
  .wp-block-columns,
  .wp-block-buttons,
  .wp-block-spacer
) {
  box-sizing:border-box!important;
  width:100%!important;
  max-width:none!important;
  margin-left:0!important;
  margin-right:0!important;
  margin-inline:0!important;
}
html body.page-id-11 .wp-block-post-content > .wp-block-group.alignwide > .wp-block-columns.alignwide {
  width:100%!important;
  max-width:none!important;
}
html body.page-id-11 .wp-block-post-content > .ibs-1n2d-title-after-hero > .ibs-1n2d-title-inner {
  box-sizing:border-box!important;
  width:min(1230px,calc(100vw - 64px))!important;
  max-width:none!important;
  margin-left:auto!important;
  margin-right:auto!important;
}
/* Keep a matching 30px internal gutter across editorial, itinerary, gallery. */
html body.page-id-11 .wp-block-post-content > :is(
  .wp-block-group.alignwide,
  .ibs-1n2d-visitor-info,
  .ibs-journey-design-reference-20261108,
  .ibs-sb-tour-photo-gallery,
  .ibs-1n2d-inclusions-section
) {
  padding-left:30px!important;
  padding-right:30px!important;
}
@media(max-width:760px) {
  html body.page-id-11 .wp-block-post-content > :is(
    .wp-block-group.alignwide,
    .ibs-1n2d-quickfacts,
    .ibs-1n2d-visitor-info,
    .ibs-journey-design-reference-20261108,
    .ibs-sb-tour-photo-gallery,
    .ibs-1n2d-inclusions-section
  ) {
    width:calc(100vw - 36px)!important;
  }
  html body.page-id-11 .wp-block-post-content > :is(
    .wp-block-group.alignwide,
    .ibs-1n2d-visitor-info,
    .ibs-journey-design-reference-20261108,
    .ibs-sb-tour-photo-gallery,
    .ibs-1n2d-inclusions-section
  ) {
    padding-left:17px!important;
    padding-right:17px!important;
  }
  html body.page-id-11 .wp-block-post-content > .ibs-1n2d-title-after-hero > .ibs-1n2d-title-inner {
    width:calc(100vw - 36px)!important;
  }
}
