/* Bangla Bloom v3.2.23 — full-frame pictures on 21 number and 16 phrase lesson cards. */
.content-grid .learning-card > .bb23-illustration {
  position:relative!important;overflow:hidden!important;aspect-ratio:1/1!important;
  padding:0!important;min-width:0!important;
}
.content-grid .learning-card .bb23-illustration img.bb23-real-photo {
  display:block!important;position:absolute!important;inset:0!important;
  width:100%!important;height:100%!important;max-width:100%!important;
  object-fit:cover!important;object-position:center!important;
  transform:none!important;filter:none!important;z-index:3!important;
}
/* Fallback counters stay available when an image cannot load. */
.content-grid .learning-card .bb23-illustration.bb23-photo-loaded > .bb5-count-title,
.content-grid .learning-card .bb23-illustration.bb23-photo-loaded > .bb5-countable,
.content-grid .learning-card .bb23-illustration.bb23-photo-loaded > .bb5-exact-fallback,
.content-grid .learning-card .bb23-illustration.bb23-photo-loaded .bb5-media-inner > .bb5-exact-fallback {display:none!important;}
/* Phrase lines may be longer than individual nouns. Preserve readable text without overlap. */
.content-grid.phrase-grid .learning-card > .card-word {font-size:clamp(17px,1.4vw,23px)!important;line-height:1.34!important;}
@media(max-width:600px){
 .content-grid.phrase-grid .learning-card > .card-word{font-size:clamp(17px,4.7vw,21px)!important;line-height:1.32!important;}
}
@media(max-width:360px){
 .content-grid.phrase-grid .learning-card{min-height:165px!important;height:auto!important;}
 .content-grid.phrase-grid .learning-card > .card-word{font-size:18px!important;}
}
