/* Centered cards and a shared, bounded article canvas. */
.exhibit-section-head,.video-collection .section-heading{flex-direction:column;align-items:center;gap:18px;text-align:center}
.exhibit-section-head h2,.video-collection .section-heading h2{margin-inline:auto}
.video-collection .section-heading .eyebrow{justify-content:center}
.page-head{text-align:center}
.page-head h1,.page-head>p{margin-inline:auto}
.page-head .eyebrow,.tabs{justify-content:center}
.library-tools{justify-content:center;flex-wrap:wrap;gap:18px 28px}
.library-tools input{text-align:center}
.screening-channel{display:block;width:fit-content;margin-inline:auto;text-align:center}

.flip-copy{align-items:center;text-align:center}
.flip-meta{width:100%;justify-content:center;flex-wrap:wrap;gap:6px 16px;letter-spacing:0;font-size:13px}
.flip-meta>span:last-child{font-size:13px}
.flip-copy h3,.exhibit-grid .flip-copy h3,.screening-spread .flip-copy h3{width:100%;margin:24px auto 20px;text-align:center;text-wrap:pretty}
.flip-copy h3 a{display:block}
.flip-bottom,.stack-slot .flip-bottom{width:100%;justify-content:center;flex-wrap:wrap;gap:14px;padding-top:18px}
.card-open{display:inline-flex;justify-content:center;align-items:center}
.flip-back{text-align:center}
.back-top{justify-content:center;flex-wrap:wrap;gap:12px 20px}
.flip-back h3{text-align:center;text-wrap:pretty}
.back-summary{width:100%;text-align:center;padding-right:0}
.back-bottom{justify-content:center;gap:12px 18px}

.original-reading-head{max-width:960px;margin:0 auto;padding:52px 0 40px;text-align:center}
.original-reading-head h1{max-width:18em;margin:0 auto 28px;font-size:clamp(30px,3.8vw,52px);line-height:1.5;letter-spacing:-.025em;text-wrap:pretty}
.original-reading-head .original-subtitle{max-width:740px;margin:0 auto 28px;font-size:17px!important;line-height:1.95!important}
.original-meta{margin:24px auto 0;text-align:center}
.reading.original-reading{width:calc(100% - 48px);max-width:960px;margin:0 auto 80px}
.original-cover{width:100%;max-width:100%;margin:0 auto 44px;border-radius:var(--card-radius);overflow:hidden}
.original-cover img{display:block;width:100%;max-width:100%;height:auto;max-height:none;object-fit:contain}
.original-body{width:100%;max-width:760px;margin:0 auto;text-align:left;overflow-wrap:anywhere}
.original-body>*{max-width:100%}
.original-video-link,.original-paywall,.reading-bottom{width:100%;max-width:760px;margin-inline:auto}
.reading-bottom{justify-content:center;gap:18px 32px;flex-wrap:wrap;text-align:center}

@media(max-width:1100px) and (min-width:781px){
 .flip-meta{gap:4px 10px}
 .stack-slot .flip-bottom{gap:10px}
}

/* Homepage sections own their canvas in both the preview and live templates. */
.gallery-home>.wrap:last-child{width:100%;max-width:none}
.gallery-home :is(.community-spread,.about-spread,.brand-film,.letter-spread){width:min(1160px,calc(100% - 64px));margin-inline:auto}
.gallery-home .community-spread>section{display:grid;grid-template-columns:minmax(0,1fr);gap:36px;width:100%;margin:0;padding:0}
.gallery-home .community-copy{width:100%;max-width:760px;margin-inline:auto;text-align:center}
.gallery-home :is(.community-copy,.about-copy) h2{white-space:pre-line;margin-bottom:24px}
.gallery-home .community-copy>p:not(:first-child){max-width:640px;margin:0 auto 28px;color:var(--muted)}
.gallery-home .community-copy>a{margin-inline:auto}
.gallery-home .community-notes{grid-column:1/-1;display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:24px;width:100%;max-width:1000px;margin-inline:auto;padding:28px 0 0;border-left:0;border-top:1px solid var(--line);font:16px/1.8 var(--serif);text-align:center}
.gallery-home .community-notes>span{min-width:0}
.gallery-home .about-spread>section{display:grid;grid-template-columns:minmax(0,.75fr) minmax(0,1.25fr);justify-content:center;align-items:center;gap:clamp(40px,6vw,90px);width:100%;max-width:1010px;margin:0 auto;padding:0}
.gallery-home .about-spread .yee-frame{width:100%;max-width:300px;min-width:0;margin-inline:auto;text-align:center}
.gallery-home .about-spread .yee-portrait{border-radius:var(--card-radius);overflow:hidden}
.gallery-home .about-spread .yee-portrait img{width:100%;height:auto;display:block;object-fit:contain}
.gallery-home .about-copy{min-width:0}
.gallery-home .about-copy>p:not(:first-child){max-width:36em;margin-bottom:28px;color:var(--muted)}
.gallery-home .brand-film .section-heading{display:flex;flex-direction:column;align-items:center;justify-content:center;gap:12px;text-align:center;margin-bottom:28px}
.gallery-home .brand-film .section-heading h2{margin:0}
.gallery-home .brand-film .film-player{width:100%;max-width:100%;border-radius:var(--card-radius);overflow:hidden}
.gallery-home .letter-spread>section{grid-template-columns:minmax(0,1.15fr) minmax(0,.85fr);gap:48px;min-width:0}
.gallery-home .letter-spread>section>*{min-width:0}
@media(max-width:780px){
 .gallery-home :is(.community-spread,.about-spread,.brand-film,.letter-spread){width:calc(100% - 36px)}
 .gallery-home .community-spread>section{gap:28px}
 .gallery-home .community-notes{grid-template-columns:minmax(0,1fr);gap:14px;padding-top:24px}
 .gallery-home .about-spread>section{grid-template-columns:minmax(0,1fr);gap:32px}
 .gallery-home .about-spread .yee-frame{max-width:270px}
 .gallery-home .about-copy{text-align:center}
 .gallery-home .about-copy>p:not(:first-child){margin-inline:auto}
 .gallery-home .letter-spread>section{grid-template-columns:minmax(0,1fr);gap:30px}
 .gallery-home .letter-spread{padding:28px 22px}
}
@media(max-width:780px){
 .exhibit-section-head,.video-collection .section-heading{align-items:center;gap:14px}
 .exhibit-section-head h2,.video-collection .section-heading h2{font-size:clamp(26px,7vw,34px)}
 .library-tools{gap:12px}
 .library-tools input{width:100%}
 .flip-copy h3,.exhibit-grid .flip-copy h3,.screening-spread .flip-copy h3{margin-top:20px;font-size:21px;line-height:1.6}
 .original-reading-head{padding:36px 0 28px}
 .original-reading-head .original-subtitle{font-size:16px!important}
 .reading.original-reading{width:calc(100% - 36px);margin:0 auto 55px}
 .original-cover{margin-bottom:30px}
 .original-body{font-size:17px;line-height:1.95}
}
