/* Final gallery frame overrides: ratio is sourced from the selected WordPress image size. */
body.bbb-theme .bbb-photo-gallery .bbb-gallery-photo{height:auto!important;min-height:0!important;max-height:none!important;aspect-ratio:auto!important;overflow:visible!important}
body.bbb-theme .bbb-photo-gallery .bbb-gallery-photo>a[data-bbb-lightbox]{
  display:block!important;position:relative!important;width:100%!important;
  aspect-ratio:var(--bbb-photo-ratio)!important;height:auto!important;
  min-height:0!important;max-height:none!important;overflow:hidden!important;
  background:#ded6cd;
}
body.bbb-theme .bbb-photo-gallery .bbb-gallery-photo>a[data-bbb-lightbox]>img.bbb-gallery-photo-image{
  position:absolute!important;inset:0!important;display:block!important;
  width:100%!important;height:100%!important;max-width:none!important;
  max-height:none!important;object-fit:contain!important;
  aspect-ratio:var(--bbb-photo-ratio)!important;
  margin:0!important;padding:0!important;border:0!important;
}
