/* Bangla Bloom v3.2.16 — full-frame learning photography.
   Educational image subjects fill their media slots, not the whole card.
   Letter glyphs, English hints, progress badges and modal images are unchanged. */
.content-grid .learning-card > .bb3-learning-picture,
.content-grid .learning-card > .bb3-learning-picture.bb5-learning-scene,
.content-grid .learning-card:has(.bb-approved-subject-image) > .bb3-learning-picture {
  padding:0!important;overflow:hidden!important;aspect-ratio:1/1!important;
  background:#e9efe6!important;min-width:0!important;
}
.content-grid .learning-card > .bb3-learning-picture .bb5-media-inner {
  position:absolute!important;inset:0!important;width:100%!important;
  height:100%!important;min-width:0!important;overflow:hidden!important;
}
.content-grid .learning-card .bb3-learning-picture img.bb5-real-photo,
.content-grid .learning-card .bb3-learning-picture img.bb-batch-image,
.content-grid .learning-card .bb3-learning-picture.bb-next5-photo img.bb5-real-photo,
.content-grid .learning-card .bb3-learning-picture.bb-approved-subject-image img.bb5-real-photo {
  display:block!important;position:absolute!important;inset:0!important;
  width:100%!important;height:100%!important;min-width:100%!important;
  max-width:100%!important;min-height:100%!important;max-height:100%!important;
  object-fit:cover!important;object-position:50% 50%!important;
  transform:none!important;filter:none!important;
}
/* Other rectangular, image-backed learning modules use full-bleed photos too.
   Do not crop hero, instructional diagrams, story text or detailed lesson modal images. */
.adventure-grid .adventure-card .module-scene img.bb5-real-photo,
.adventure-grid .adventure-card .module-scene img.bb-batch-image,
.game-grid .game-card .game-art img.bb5-real-photo,
.story-grid .story-card .story-cover img.bb5-real-photo {
  object-fit:cover!important;object-position:center!important;
}
/* Keep existing responsive card sizes, keyboard focus and reading order intact. */
