/* Preserve supplied artwork proportions; comparison crops belong to other cases. */
.safra-case :is(#chapter-2,#chapter-3) .media-grid .case-image-art{aspect-ratio:auto}
.safra-case :is(#chapter-2,#chapter-3) .media-grid .case-image-art>img{width:100%;height:auto;object-fit:contain}
.safra-case .case-inline-video .case-image-art{aspect-ratio:16/9}
.safra-case .case-inline-video video{display:block;width:100%;height:auto;aspect-ratio:16/9;object-fit:contain}
.safra-case .media-grid:has(>figure:only-child){grid-template-columns:minmax(0,1fr)}
/* Review: media stays within the established case layout. */
.safra-case .chapter-copy>figure{margin:24px 0 32px}
.safra-case :is(#illustration-07,#illustration-08,#illustration-09,#illustration-10,#illustration-25,#illustration-26,#illustration-30,#illustration-31){grid-column:1/-1}
.safra-case :is(#chapter-5,#chapter-6,#chapter-7) .media-grid{grid-template-columns:repeat(3,minmax(0,1fr));align-items:stretch}
.safra-case :is(#chapter-5,#chapter-6,#chapter-7,#chapter-11) .case-image-caption{min-height:84px;display:flex;align-items:center}
.safra-case #chapter-10 .case-image-art,.safra-case #chapter-11 .case-image-art{aspect-ratio:16/9;display:flex;align-items:center;justify-content:center}
.safra-case #chapter-10 .case-image-art>img,.safra-case #chapter-11 .case-image-art>img{width:100%;height:100%;object-fit:contain}
.safra-case #chapter-11 .case-image-caption{height:84px}
@media(max-width:650px){.safra-case :is(#chapter-5,#chapter-6,#chapter-7) .media-grid{grid-template-columns:1fr}.safra-case :is(#chapter-5,#chapter-6,#chapter-7,#chapter-11) .case-image-caption{min-height:0;height:auto}}
/* Reading-led chapters: one continuous column, with wider artwork. */
.safra-case .chapter{display:flex;flex-direction:column;gap:24px;padding-bottom:64px}
.safra-case .chapter-heading,.safra-case .chapter-copy,.safra-case .chapter-media{width:100%;min-width:0}
.safra-case .chapter-heading h2{max-width:760px;margin-top:14px;font-size:36px;line-height:1.18}
.safra-case .chapter-copy>p,.safra-case .chapter-copy>h3{max-width:70ch}
.safra-case .chapter-copy>h3{margin:32px 0 12px;font-size:21px;line-height:1.3;font-weight:600;letter-spacing:-.3px}
.safra-case .chapter-copy>p{font-size:16px;line-height:1.7;margin-bottom:18px}
.safra-case .chapter-copy>p:first-child{color:var(--text);font-size:18px;line-height:1.55;max-width:60ch;margin-bottom:28px}
.safra-case .chapter-copy>figure{max-width:100%;margin:28px 0 36px}
.safra-case .chapter-copy>figure:last-child{margin-bottom:0}
.safra-case .chapter-media>p{max-width:70ch;color:var(--muted);font-size:14px;line-height:1.6;margin-top:16px}
@media(max-width:800px){.safra-case .chapter-heading h2{font-size:30px}.safra-case .chapter{padding-bottom:48px}}
@media(max-width:540px){.safra-case .chapter{gap:20px}.safra-case .chapter-heading h2{font-size:28px}.safra-case .chapter-copy>p{font-size:15px}.safra-case .chapter-copy>p:first-child{font-size:17px}.safra-case .chapter-copy>h3{font-size:20px;margin-top:26px}}
