/* IBS Sundarbans: shared photo-gallery presentation for the two unpublished
   STAGING tour pages. Scope only the new gallery Gutenberg block. */
html body .ibs-sb-tour-photo-gallery.wp-block-group {
 width:min(1230px,calc(100% - 64px))!important;
 max-width:1230px!important;
 margin:14px auto 22px!important;
 padding:28px 30px 30px!important;
 background:#FFFFFF!important;
 border:1px solid #DEE7DE!important;
 border-radius:8px!important;
 box-shadow:0 5px 17px rgba(20,53,40,.025)!important;
 box-sizing:border-box!important;
}
html body .ibs-sb-tour-photo-gallery .ibs-sb-tour-gallery-title{
 font:400 clamp(29px,3.2vw,41px)/1.17 "DM Serif Display",Georgia,serif!important;
 letter-spacing:-.3px!important;color:#173A33!important;
 margin:0 0 12px!important;padding:0!important;
}
html body .ibs-sb-tour-photo-gallery .ibs-sb-tour-gallery-intro{
 font:400 17px/1.75 "DM Sans",Arial,sans-serif!important;
 color:#51695C!important;margin:0 0 20px!important;
 padding:0 0 15px!important;
 border-bottom:1px solid #C99B61!important;
 text-align:justify!important;text-align-last:left!important;
}
html body .ibs-sb-tour-photo-gallery figure.wp-block-gallery.ibs-sb-tour-gallery-grid{
 display:grid!important;
 grid-template-columns:repeat(3,minmax(0,1fr))!important;
 gap:18px!important;width:100%!important;max-width:none!important;
 margin:0!important;padding:0!important;align-items:stretch!important;
}
html body .ibs-sb-tour-photo-gallery .ibs-sb-tour-gallery-grid > figure.wp-block-image{
 display:flex!important;flex-direction:column!important;
 width:100%!important;max-width:none!important;
 min-width:0!important;flex:none!important;
 overflow:hidden!important;
 background:#F4F7F2!important;border:1px solid #DAE5DC!important;
 border-radius:7px!important;margin:0!important;padding:0!important;
 box-shadow:0 4px 13px rgba(23,58,51,.065)!important;
}
html body .ibs-sb-tour-photo-gallery .ibs-sb-tour-gallery-grid figure.wp-block-image > img{
 width:100%!important;height:auto!important;
 aspect-ratio:4/3!important;
 object-fit:cover!important;object-position:center!important;
 max-width:none!important;min-height:0!important;
 margin:0!important;padding:0!important;display:block!important;
 border:0!important;border-radius:0!important;
 filter:none!important;box-shadow:none!important;
}
html body .ibs-sb-tour-photo-gallery .ibs-sb-tour-gallery-grid figure.wp-block-image > figcaption{
 display:block!important;position:static!important;
 width:100%!important;box-sizing:border-box!important;
 margin:0!important;padding:12px 13px 13px!important;
 background:#F4F7F2!important;
 color:#245047!important;
 font:700 15px/1.45 "DM Sans",Arial,sans-serif!important;
 text-shadow:none!important;
 text-align:left!important;text-align-last:left!important;
 border:0!important;opacity:1!important;
}
@media(max-width:980px){
 html body .ibs-sb-tour-photo-gallery figure.wp-block-gallery.ibs-sb-tour-gallery-grid{
  grid-template-columns:repeat(2,minmax(0,1fr))!important;
 }
}
@media(max-width:760px){
 html body .ibs-sb-tour-photo-gallery.wp-block-group{
  width:calc(100% - 36px)!important;
  margin:12px auto 16px!important;padding:22px 17px!important;
 }
 html body .ibs-sb-tour-photo-gallery figure.wp-block-gallery.ibs-sb-tour-gallery-grid{
  grid-template-columns:minmax(0,1fr)!important;gap:14px!important;
 }
 html body .ibs-sb-tour-photo-gallery .ibs-sb-tour-gallery-title{
  font-size:clamp(27px,7vw,33px)!important;
 }
 html body .ibs-sb-tour-photo-gallery .ibs-sb-tour-gallery-intro{
  font-size:16px!important;
 }
}