/* Draw the portrait accent consistently instead of relying on platform emoji fonts. */
.academic-page .ac-portrait-accent{width:34px;height:34px;display:block;font-size:0;overflow:visible}
@media(max-width:600px){
 /* Keep the complete hero in normal flow: copy, paired actions, then uncropped artwork. */
 .adults-page main.ad-page:not(.academic-page) .ad-hero{padding:40px 0 46px;min-height:0;height:auto}
 .adults-page main.ad-page:not(.academic-page) .ad-hero .ad-hero-grid{display:grid;grid-template-columns:minmax(0,1fr);grid-template-rows:auto auto;gap:26px;align-items:start}
 .adults-page main.ad-page:not(.academic-page) .ad-hero-grid>div:first-child{grid-column:1;grid-row:1;max-width:none;min-width:0}
 .adults-page main.ad-page:not(.academic-page) .ad-hero .ad-book-actions{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:10px;width:100%;max-width:none;align-items:stretch}
 .adults-page main.ad-page:not(.academic-page) .ad-hero .ad-book-actions .button{display:flex;justify-content:center;align-items:center;width:100%;min-width:0;max-width:100%;min-height:54px;box-sizing:border-box;padding:10px 8px;margin:0;font-size:clamp(12px,3.3vw,14px);line-height:1.35;white-space:normal;text-align:center}
 .adults-page main.ad-page:not(.academic-page) .ad-hero .ad-hero-illustration{position:relative;display:flex;align-items:center;justify-content:center;grid-column:1;grid-row:2;align-self:start;justify-self:center;width:min(100%,340px);max-width:340px;height:auto;min-height:0;margin:0;container-type:normal;overflow:visible;background:transparent}
 .adults-page main.ad-page:not(.academic-page) .ad-hero .ad-hero-illustration img{position:static;inset:auto;translate:none;width:auto;height:auto;max-width:100%;max-height:340px;object-fit:contain;border-radius:24px}
 /* Preserve breathing room where the featured card becomes a vertical stack. */
 .spanish-adults .lesson-gallery .spanish-example-song .lg-card-copy{padding-top:26px}
}

/* Keep one prompt-to-icons gap for this thumbnail at every width. */
.kids-personality main.kids-page .kids-gallery .kg-needs .kg-prompt{margin-bottom:22px}
.kids-personality main.kids-page .kids-gallery .kg-needs .kg-objects{min-height:0;padding:0;align-items:center}
