/* Stable image alignment within centered page content. */
body main :is(.hero,.visual-page-hero,.illustrated-intro,.about-hero,.dating-hero)>*{min-width:0}
body main figure{min-width:0;max-width:100%}
body main :is(.intro-image,.page-hero-image,.dating-hero figure){align-self:center;margin-inline:auto;width:100%}
body main :is(.intro-image,.page-hero-image)>img{display:block;width:100%;height:auto;aspect-ratio:3/2;object-fit:cover}
body main .hero-image{width:100%;min-height:0;aspect-ratio:4/5;align-self:center;position:relative;margin-inline:auto}
body main .hero-image>img{display:block;position:absolute;inset:0;width:100%;height:100%;object-fit:cover}
body main .dating-hero img{max-width:100%;margin-inline:auto}
body main :is(.reading,.article-reading)>figure:not(.feedback-qr){margin:2rem auto;max-width:100%}
body main figure>img{max-width:100%}
body main :is(.intro-image,.page-hero-image,.dating-hero figure)>figcaption{line-height:1.5;margin:1rem 0 0;text-align:center}
body main .cosmic-banner{margin-block:1rem 2.5rem}
body main .feedback-qr{gap:1.25rem;padding:1.25rem;margin-block:1.5rem 2rem}
body main .feedback-qr>img{flex:0 0 auto;max-width:100%;height:auto}
@media(max-width:800px){
 body main .illustrated-intro{row-gap:2rem}
 body main :is(.intro-image,.page-hero-image)>img{height:auto;aspect-ratio:3/2}
}
@media(max-width:700px){
 body main .hero-image{min-height:0;aspect-ratio:4/3;align-self:center;margin:2rem auto 0}
 body main :is(.hero-image img,.intro-image img,.page-hero-image img,.about-hero>img,.dating-hero img){box-shadow:5px 5px 0 #d9e7e3}
 body main :is(.visual-page-hero,.about-hero,.dating-hero){row-gap:2rem}
 body main .cosmic-banner{margin-block:1rem 2rem}
 body main .cosmic-banner img{height:auto;aspect-ratio:3/2;object-fit:cover}
 body main .feedback-qr{flex-direction:column;gap:1rem}
}
