/* Shared assets, with restrained treatments for Home and Story only. */
.lesson-illustration{display:block;flex-shrink:0}
.lesson-illustration img{display:block;width:100%;height:auto;object-fit:contain}
.daily-illustration.has-lesson-art{padding:16px 24px}
.daily-illustration.has-lesson-art:before{display:none}
.daily-illustration .lesson-illustration{width:100%;max-width:260px}
.reader-heading.has-lesson-art{max-width:680px;margin:0 auto;display:flex;align-items:center;justify-content:space-between;gap:24px;text-align:left;padding:25px 0 20px}
.reader-heading.has-lesson-art h1{flex:1;min-width:0}
.reader-heading .lesson-illustration{width:136px}
.lesson-illustration[hidden]{display:none}
@media(max-width:530px){
 .continue-panel.has-lesson-art{grid-template-columns:minmax(0,1fr) 110px}
 .daily-illustration.has-lesson-art{padding:12px 7px}
 .reader-heading.has-lesson-art{flex-direction:column;text-align:center;gap:6px;padding:20px 0 16px}
 .reader-heading .lesson-illustration{width:80px}
}

/* Landscape assets use the same filled frame, never a contained inset. */
.wide-illustration{aspect-ratio:3/1;overflow:hidden;border-radius:7px}
.wide-illustration img{width:100%;height:100%;object-fit:cover}
.home-next-art.wide-artwork{aspect-ratio:3/1}
.lesson-preview-art{width:min(100%,420px);margin:20px auto;aspect-ratio:3/1;border-radius:9px;overflow:hidden;background:var(--light)}
.lesson-preview-art .lesson-illustration{width:100%;height:100%;border-radius:inherit}
.reader-lesson .reader-heading .wide-illustration{width:180px}
@media(max-width:530px){.reader-lesson .reader-heading .wide-illustration{width:120px}}
