/* Bangla Bloom v3.2.5 — uniform layout for Batch 001, presentation only.
   The image remains whole, and the layout reserves identical media slots for all
   cards in the same collection. Unmatched images are not substituted. */
:root{--bb-u-edge:#dce5d8;--bb-u-paper:#fffefa;--bb-u-radius:16px;--bb-u-gap:12px;--bb-u-media:138px}
/* Consistent page rhythm without stretching individual components. */
.section {margin-bottom:clamp(20px,2.3vw,35px)!important}
.section-heading {margin-bottom:14px!important}
.page-heading {padding-top:clamp(18px,2.5vw,32px)!important;padding-bottom:19px!important}
.page-heading h1 {margin-bottom:8px!important}
.section-heading h2 {font-size:clamp(23px,2.2vw,31px)!important}
/* No cropping / no image manipulation anywhere in the learning gallery. */
.adventure-grid img,.content-grid img,.bb3-adventure-map img,.story-grid img,
.game-grid img,.path-list img,.conjunct-grid img,.writer-grid img,
.feature-ribbon img,.bb5-garden-scene img,.bb-approved-figure img,
.lesson-layout img {object-fit:contain!important;object-position:center!important;
  filter:none!important;transform:none!important;image-rendering:auto!important;}
/* A four-column uniform compact card system on wide screens. */
.adventure-grid,
.content-grid,
.content-grid:has(.learning-card .bb-approved-subject-image),
.content-grid.words-grid,
.game-grid,.story-grid {display:grid!important;grid-template-columns:repeat(4,minmax(0,1fr))!important;
 gap:var(--bb-u-gap)!important;align-items:stretch!important}
.adventure-grid .adventure-card {display:grid!important;grid-template-columns:minmax(0,43%) minmax(0,1fr)!important;
 grid-template-rows:1fr;gap:9px!important;min-height:0!important;height:178px!important;
 align-items:stretch!important;padding:8px!important;border-radius:var(--bb-u-radius)!important;
 box-sizing:border-box!important;overflow:hidden!important}
.adventure-grid .adventure-card .module-scene.bb5-media {width:100%!important;height:100%!important;
 min-height:0!important;max-height:none!important;aspect-ratio:auto!important;
 margin:0!important;padding:0!important;border-radius:11px!important;
 background:#fbfaf5!important;overflow:hidden!important}
.adventure-grid .adventure-card .module-copy {min-width:0!important;padding:8px 4px 7px 2px!important;
 display:flex!important;flex-direction:column!important;justify-content:center!important;align-items:stretch!important;gap:4px!important}
.adventure-grid .adventure-card .module-copy .card-count {font-size:9px!important;line-height:1.3!important;
 max-width:none!important;margin:0!important;padding:0!important;border:0!important;background:none!important;
 white-space:normal!important;overflow-wrap:anywhere}
.adventure-grid .adventure-card .module-copy h3 {font-size:clamp(14px,1.06vw,18px)!important;line-height:1.24!important;
 min-height:0!important;margin:0!important;letter-spacing:-.3px!important}
.adventure-grid .adventure-card .module-copy p {font-size:11px!important;line-height:1.32!important;
 margin:0!important;min-height:0!important;max-width:none!important}
.adventure-grid .adventure-card .module-copy .card-bottom {margin-top:auto!important;padding:4px 0 0!important;
 font-size:11px!important;min-height:0!important;line-height:1.3!important}
.adventure-grid .adventure-card .module-scene .bb5-real-photo,
.adventure-grid .adventure-card .module-scene .bb-batch-image {inset:0!important;width:100%!important;
 height:100%!important;max-width:100%!important;max-height:100%!important;object-fit:contain!important}
/* Every letter, number, colour and word card uses the same compact frame,
   regardless of whether a Batch 001 illustration has arrived. */
.content-grid .learning-card,
.content-grid .learning-card:has(.bb-approved-subject-image),
.content-grid.words-grid .learning-card {box-sizing:border-box!important;
 height:166px!important;min-height:166px!important;max-height:none!important;
 min-width:0!important;padding:9px!important;display:grid!important;
 grid-template-columns:minmax(0,43%) minmax(0,1fr)!important;
 grid-template-rows:repeat(3,min-content)!important;
 column-gap:11px!important;row-gap:3px!important;
 align-items:center!important;align-content:center!important;text-align:left!important;
 border-radius:var(--bb-u-radius)!important;overflow:hidden!important;align-self:stretch!important;justify-self:stretch!important;}
.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 {
 box-sizing:border-box!important;grid-column:1!important;grid-row:1/span 3!important;
 display:block!important;position:relative!important;align-self:center!important;
 width:100%!important;height:auto!important;min-height:0!important;max-height:138px!important;
 aspect-ratio:1/1!important;max-width:138px!important;margin:0!important;padding:0!important;
 background:#f8f8f2!important;overflow:hidden!important;border-radius:11px!important;
 border:1px solid var(--bb-u-edge)!important;}
.content-grid .learning-card > .card-glyph,
.content-grid .learning-card:has(.bb-approved-subject-image) > .card-glyph,
.content-grid .learning-card > .card-word {grid-column:2!important;grid-row:1!important;
 font-size:clamp(28px,2.5vw,43px)!important;line-height:1.55!important;
 margin:0!important;min-width:0!important;max-width:100%!important;
 overflow-wrap:anywhere!important;white-space:normal!important;text-align:left!important;}
.content-grid .learning-card > .card-word {font-size:clamp(21px,1.7vw,29px)!important}
.content-grid .learning-card > .card-en,
.content-grid .learning-card:has(.bb-approved-subject-image) > .card-en {
 grid-column:2!important;grid-row:2!important;font-size:12px!important;
 line-height:1.3!important;margin:0!important;min-width:0!important;overflow-wrap:anywhere!important}
.content-grid .learning-card > .card-hint,
.content-grid .learning-card:has(.bb-approved-subject-image) > .card-hint {
 grid-column:2!important;grid-row:3!important;font-size:11px!important;line-height:1.3!important;
 margin:0!important;min-width:0!important;overflow-wrap:anywhere!important}
.content-grid .learning-card > .card-emoji {grid-column:2!important;grid-row:1!important;font-size:28px!important;
 margin:0!important;line-height:1.15!important}
.content-grid .learning-card .bb5-real-photo,
.content-grid .learning-card .bb-batch-image {position:absolute!important;inset:0!important;
 width:100%!important;height:100%!important;max-width:100%!important;max-height:100%!important;
 object-fit:contain!important;object-position:center!important;transform:none!important}
.content-grid .learning-card .bb5-exact-fallback{padding:6px!important;gap:3px!important}
.content-grid .learning-card .bb5-exact-fallback strong{font-size:clamp(25px,2.2vw,39px)!important;
 line-height:1.5!important}
.content-grid .learning-card .bb5-exact-fallback span{font-size:10px!important;line-height:1.25!important}
.content-grid .learning-card .bb5-count-scene {min-height:0!important;padding:5px!important;
 flex-wrap:wrap!important;gap:3px!important}
.content-grid .learning-card .bb5-count-title {font-size:25px!important}
.content-grid .learning-card .bb5-countable {max-width:110px!important;gap:2px!important}
.content-grid .learning-card .bb5-countable img {width:21px!important;height:21px!important;
 object-fit:contain!important}
/* The layout is restrained but retains full touch hitboxes and focus treatment. */
.content-grid .learning-card:focus-visible,.adventure-card:focus-visible,
.bb3-landmark:focus-visible,.game-card a:focus-visible,.story-card:focus-visible{
 outline:3px solid #d19130!important;outline-offset:2px!important}
/* Adventure map: equal-size functional destinations, not giant variable panels. */
.bb3-adventure-map,.bb3-adventure-map.bb-approved-map{
 display:grid!important;grid-template-columns:repeat(4,minmax(0,1fr))!important;
 gap:12px!important;padding:16px!important;border-radius:20px!important;
 background-color:#f4f7ee!important;align-items:stretch!important}
.bb3-adventure-map .bb-approved-map-image{grid-column:1/-1!important;
 max-height:240px!important;height:auto!important;margin:0 0 4px!important;
 aspect-ratio:auto!important;overflow:hidden!important}
.bb3-adventure-map .bb-approved-map-image img{width:100%!important;max-height:240px!important;
 height:auto!important;object-fit:contain!important}
.bb3-adventure-map .bb3-landmark{box-sizing:border-box!important;
 min-height:174px!important;height:174px!important;display:grid!important;
 grid-template-columns:minmax(0,42%) minmax(0,1fr)!important;
 grid-template-rows:repeat(3,min-content)!important;column-gap:9px!important;
 row-gap:4px!important;align-content:center!important;align-items:center!important;
 text-align:left!important;padding:11px 8px!important;border-radius:15px!important;
 background:#fffefaef!important;box-shadow:0 2px 6px #234d3814!important}
.bb3-adventure-map .bb3-landmark .island-toy.bb5-map-scene{
 grid-column:1!important;grid-row:1/span 3!important;margin:0!important;
 min-height:0!important;height:auto!important;width:100%!important;max-width:136px!important;
 aspect-ratio:1/1!important;border-radius:11px!important;align-self:center!important}
.bb3-adventure-map .bb3-landmark .map-stop{top:7px!important;left:8px!important;
 font-size:10px!important;padding:3px 7px!important;z-index:5!important}
.bb3-adventure-map .bb3-landmark h2 {grid-column:2!important;grid-row:1!important;
 font-size:clamp(15px,1.1vw,18px)!important;line-height:1.27!important;
 margin:0!important;max-width:100%!important;overflow-wrap:anywhere!important}
.bb3-adventure-map .bb3-landmark p {grid-column:2!important;grid-row:2!important;
 font-size:10px!important;line-height:1.35!important;margin:0!important;min-width:0!important;
 overflow-wrap:anywhere!important}
.bb3-adventure-map .bb3-landmark .map-enter {grid-column:2!important;grid-row:3!important;
 font-size:11px!important;margin:0!important;align-self:start!important}
/* Games and stories both use compact side-by-side editorial cards. */
.game-grid .game-card,.story-grid .story-card{
 min-width:0!important;min-height:186px!important;height:186px!important;
 box-sizing:border-box!important;display:grid!important;grid-template-columns:minmax(0,42%) minmax(0,1fr)!important;
 gap:8px!important;align-items:stretch!important;padding:8px!important;
 border-radius:var(--bb-u-radius)!important;background:#fffefa!important;overflow:hidden!important}
.game-grid .game-card .game-art.bb5-game-scene,
.story-grid .story-card .story-cover.bb5-story-scene {
 box-sizing:border-box!important;width:100%!important;height:100%!important;min-height:0!important;
 max-height:none!important;margin:0!important;border-radius:11px!important;
 display:block!important;overflow:hidden!important}
.game-grid .game-card .game-art .bb5-real-photo,
.story-grid .story-card .story-cover .bb5-real-photo{width:100%!important;height:100%!important;
 object-fit:contain!important;object-position:center!important}
.game-grid .game-card .game-card-body,.story-grid .story-card .story-card-text{
 display:flex!important;flex-direction:column!important;min-width:0!important;
 padding:8px 4px!important;gap:5px!important;justify-content:center!important}
.game-grid .game-card .game-card-body h3,.story-grid .story-card .story-card-text h3{
 font-size:clamp(15px,1.1vw,19px)!important;line-height:1.25!important;margin:0!important}
.game-grid .game-card .game-card-body p,.story-grid .story-card .story-card-text p{
 font-size:11px!important;line-height:1.35!important;min-height:0!important;margin:0!important}
.game-grid .game-card .game-card-body .btn{font-size:11px!important;line-height:1.2!important;
 min-height:39px!important;padding:7px 8px!important;margin-top:auto!important}
.story-grid .story-card .story-card-text .card-bottom{margin-top:auto!important;
 font-size:10px!important;line-height:1.3!important}
.story-grid .story-card .story-card-text .pill{align-self:flex-start;font-size:9px!important}
/* Learning paths and small teaching cards: shared spacing, not large blank panels. */
.path-list {display:grid!important;grid-template-columns:repeat(2,minmax(0,1fr))!important;gap:12px!important}
.path-list .path-card{height:auto!important;min-height:156px!important;padding:14px!important;
 border-radius:var(--bb-u-radius)!important;gap:13px!important;align-items:center!important}
.path-list .path-card .bb3-path-illustration{width:108px!important;height:108px!important;
 min-height:0!important;max-width:108px!important;grid-row:1/3!important;overflow:hidden!important}
.path-list .path-card h3{font-size:18px!important;margin:0 0 5px!important}
.path-list .path-card p{font-size:12px!important;margin:0 0 7px!important}
.sign-library{align-items:stretch!important;gap:9px!important}
.sign-library .sign-choice {min-height:104px!important;height:auto!important;border-radius:13px!important}
.conjunct-grid{gap:10px!important;align-items:stretch!important}
.conjunct-grid .conjunct-card{min-height:152px!important;height:auto!important;
 border-radius:14px!important;padding:13px 11px!important}
.word-example-grid{gap:11px!important}
.word-example-grid article{min-height:110px!important;padding:14px!important}
/* Garden progress is one coherent landscape; image and milestones stay data-driven. */
.bb3-real-garden{padding:clamp(14px,2vw,26px)!important}
.bb5-garden-scene.bb-approved-garden{min-height:0!important;height:auto!important;
 aspect-ratio:16/5!important;max-height:285px!important;margin:12px 0!important}
.bb5-garden-scene.bb-approved-garden > .bb5-media-inner,
.bb5-garden-scene.bb-approved-garden .bb5-real-photo{height:100%!important;max-width:100%!important;
 object-fit:contain!important}
.bb3-real-garden .garden-bed.bb5-real-progress-bed{gap:8px!important;margin-top:4px!important}
.bb3-real-garden .bb3-bloom-pot{height:110px!important;max-height:110px!important}
.feature-ribbon{gap:18px!important;padding:clamp(18px,2.1vw,30px)!important}
.feature-ribbon .ribbon-flower.bb-approved-welcome{max-width:240px!important;min-width:0!important}
.bb-approved-calm{max-height:178px!important}.bb-approved-calm img{max-height:178px!important}
.bb-approved-daily{max-height:230px!important;margin-bottom:12px!important}
.bb-approved-daily img{max-height:230px!important}
.writer-grid .writer-card .real-photo{object-fit:contain!important;object-position:center!important}
/* Only responsive composition varies; card media aspect and card semantics do not. */
@media(max-width:1299px){
 .adventure-grid,.content-grid,.content-grid:has(.learning-card .bb-approved-subject-image),
 .content-grid.words-grid,.game-grid,.story-grid {grid-template-columns:repeat(3,minmax(0,1fr))!important}
 .bb3-adventure-map,.bb3-adventure-map.bb-approved-map{grid-template-columns:repeat(3,minmax(0,1fr))!important}
}
@media(max-width:980px){
 .adventure-grid,.content-grid,.content-grid:has(.learning-card .bb-approved-subject-image),
 .content-grid.words-grid,.game-grid,.story-grid {grid-template-columns:repeat(2,minmax(0,1fr))!important}
 .bb3-adventure-map,.bb3-adventure-map.bb-approved-map{grid-template-columns:repeat(2,minmax(0,1fr))!important}
 .path-list {grid-template-columns:1fr!important}
 .bb3-hero .bb3-hero-illustration {aspect-ratio:auto!important;height:auto!important;max-height:none!important}
 .bb3-hero .bb3-hero-illustration picture.bb-approved-hero {position:relative!important;inset:auto!important;
 width:100%!important;height:auto!important;display:block!important}
 .bb3-hero .bb3-hero-illustration picture.bb-approved-hero img {width:100%!important;height:auto!important;
 max-height:none!important;object-fit:contain!important}
}
@media(max-width:600px){
 :root{--bb-u-gap:9px}
 .adventure-grid,.content-grid,.content-grid:has(.learning-card .bb-approved-subject-image),
 .content-grid.words-grid,.game-grid,.story-grid {grid-template-columns:1fr!important}
 .adventure-grid .adventure-card{height:160px!important;min-height:160px!important;
 grid-template-columns:minmax(110px,41%) minmax(0,1fr)!important;padding:7px!important}
 .content-grid .learning-card,.content-grid .learning-card:has(.bb-approved-subject-image),
 .content-grid.words-grid .learning-card{grid-column:auto!important;height:151px!important;
 min-height:151px!important;grid-template-columns:minmax(115px,42%) minmax(0,1fr)!important;
 padding:7px!important;column-gap:10px!important}
 .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{
 max-width:130px!important;max-height:130px!important}
 .content-grid .learning-card > .card-glyph{font-size:37px!important}
 .content-grid .learning-card > .card-word{font-size:24px!important}
 .bb3-adventure-map,.bb3-adventure-map.bb-approved-map{grid-template-columns:1fr!important;
 gap:9px!important;padding:11px!important}
 .bb3-adventure-map .bb3-landmark{min-height:149px!important;height:149px!important;
 grid-template-columns:minmax(110px,41%) minmax(0,1fr)!important}
 .bb3-adventure-map .bb3-landmark .island-toy.bb5-map-scene{max-width:130px!important}
 .game-grid .game-card,.story-grid .story-card{height:164px!important;min-height:164px!important;
 grid-template-columns:minmax(112px,41%) minmax(0,1fr)!important}
 .path-list .path-card{min-height:135px!important}
 .path-list .path-card .bb3-path-illustration{width:94px!important;height:94px!important;max-width:94px!important}
 .bb5-garden-scene.bb-approved-garden{aspect-ratio:5/3!important;height:auto!important;max-height:230px!important}
 .bb3-real-garden .garden-bed.bb5-real-progress-bed{flex-wrap:wrap!important;justify-content:center!important}
 .bb3-real-garden .bb3-bloom-pot{height:95px!important}
 .feature-ribbon .ribbon-flower.bb-approved-welcome{max-width:100%!important}
 .home-bottom .home-note{padding:17px!important}
}
@media(max-width:360px){
 .adventure-grid .adventure-card,.content-grid .learning-card,.content-grid .learning-card:has(.bb-approved-subject-image){
 grid-template-columns:minmax(102px,40%) minmax(0,1fr)!important}
 .adventure-grid .adventure-card .module-copy h3{font-size:14px!important}
 .content-grid .learning-card > .card-glyph{font-size:34px!important}
 .bb3-adventure-map .bb3-landmark{grid-template-columns:minmax(100px,40%) minmax(0,1fr)!important}
}
@media(prefers-reduced-motion:reduce){
 .adventure-grid .adventure-card,.content-grid .learning-card,.bb3-landmark,.game-card,.story-card{transition:none!important}
}
@media print { .adventure-grid .adventure-card,.content-grid .learning-card,
 .game-grid .game-card,.story-grid .story-card {break-inside:avoid!important}}
/* Keep the map preview centered at a useful natural size, not an empty strip. */
.bb3-adventure-map .bb-approved-map-image {
  width:min(100%,520px)!important;max-width:520px!important;
  height:auto!important;max-height:none!important;aspect-ratio:16/9!important;
  margin:0 auto 6px!important;justify-self:center!important;
}
.bb3-adventure-map .bb-approved-map-image img {
  display:block!important;width:100%!important;height:100%!important;
  max-width:100%!important;max-height:none!important;object-fit:contain!important;
}
/* Make Garden one balanced composition rather than a full-width empty green slab. */
.living-garden.bb3-real-garden {
  display:grid!important;grid-template-columns:minmax(0,42%) minmax(0,1fr)!important;
  gap:12px 20px!important;align-items:center!important;
}
.bb3-real-garden .garden-heading,.bb3-real-garden .garden-customize,
.bb3-real-garden .garden-footer,.bb3-real-garden .garden-light-controls {
  grid-column:1/-1!important;
}
.bb3-real-garden .bb5-garden-scene.bb-approved-garden {
  grid-column:1!important;grid-row:auto!important;
  box-sizing:border-box!important;width:100%!important;max-width:none!important;
  height:auto!important;max-height:none!important;aspect-ratio:auto!important;
  align-self:center!important;justify-self:stretch!important;
}
.bb3-real-garden .bb5-garden-scene.bb-approved-garden > .bb5-media-inner {
  width:100%!important;height:auto!important;aspect-ratio:8/5!important;
}
.bb3-real-garden .garden-bed.bb5-real-progress-bed {
  grid-column:2!important;grid-row:auto!important;display:flex!important;
  flex-wrap:wrap!important;gap:4px!important;justify-content:center!important;
  align-content:center!important;align-items:end!important;margin:0!important;padding:5px!important;
  min-width:0!important;min-height:0!important;
}
.bb3-real-garden .garden-bed.bb5-real-progress-bed .plant-pot {
  flex:0 0 clamp(58px,6vw,86px)!important;
  height:105px!important;min-width:0!important;max-width:86px!important;
}
@media(max-width:600px){
  .bb3-adventure-map .bb-approved-map-image {width:100%!important;max-width:100%!important}
  .living-garden.bb3-real-garden {display:flex!important;flex-direction:column!important;
    gap:10px!important;align-items:stretch!important}
  .bb3-real-garden .bb5-garden-scene.bb-approved-garden{width:100%!important}
  .bb3-real-garden .garden-bed.bb5-real-progress-bed{display:flex!important;
    flex-wrap:wrap!important;justify-content:center!important}
  .bb3-real-garden .garden-bed.bb5-real-progress-bed .plant-pot{
    flex-basis:62px!important;height:86px!important}
}
