/* Shared finishing layer. Section identities and asset provenance stay intact. */
:root{
 --ui-font-sans:'Inter','Segoe UI',-apple-system,BlinkMacSystemFont,sans-serif;
 --ui-font-editorial:Georgia,'Times New Roman',serif;
 --ui-brand:#e8192c;--ui-ink:#27272a;--ui-muted:#626770;--ui-border:#e2e3e5;
 --ui-surface:#fff;--ui-paper:#f7f5f0;--ui-focus:#b92337;
 --ui-space-1:4px;--ui-space-2:8px;--ui-space-3:12px;--ui-space-4:16px;
 --ui-space-6:24px;--ui-space-8:32px;--ui-space-12:48px;--ui-space-16:64px;
 --ui-radius-control:8px;--ui-radius-card:12px;--ui-touch:44px;
 --font-sans:var(--ui-font-sans);
}
body{font-family:var(--ui-font-sans);font-size:16px;line-height:1.65}
button,input,select,textarea{font-family:var(--ui-font-sans)}
h1,h2,h3,h4,h5,h6{word-break:normal;overflow-wrap:break-word;hyphens:none;-webkit-hyphens:none;text-wrap:balance}
p,li{overflow-wrap:break-word;text-wrap:pretty}
.hero h1{font-weight:700;letter-spacing:-.035em}
.section{padding-block:clamp(40px,5vw,64px)}
.section-header,.section-header-inline{gap:20px;margin-bottom:28px}
.section-header-inline>div{min-width:0}
.section-header-inline h2{line-height:1.2}
.eyebrow,.rkc-eyebrow{line-height:1.55}
.site-logo img{object-fit:contain;max-height:48px;width:auto}
.header-actions,.footer-bottom-links{flex-wrap:wrap}
.footer-bottom-links{row-gap:12px}
.site-nav,.mobile-nav-links,.footer-col,.footer-column{min-width:0}
.footer-link,.footer-bottom-link,.rkc-footer a,.culture-footer a{overflow-wrap:anywhere}

/* Controls may grow with text; labels are never replaced by an ellipsis. */
.btn,.btn-primary,.btn-secondary,.comment-submit,.expert-cta-btn,.rkc-button,.act-cta-btn,.game-cta-btn,.partnership-invitation-button{
 min-height:var(--ui-touch);border-radius:var(--ui-radius-control);font-family:var(--ui-font-sans);
 font-weight:700;line-height:1.45;white-space:normal;overflow:visible;text-overflow:clip;max-width:100%;gap:8px;
}
.btn>svg,.rkc-button>svg{flex-shrink:0}
.btn>span,.rkc-button>span{min-width:0}
.btn-sm{padding:9px 14px;font-size:12px}
.page-btn,.mobile-menu-btn,#mobileNavClose,.btn-search,.poster-shelf-controls button{
 min-width:var(--ui-touch);min-height:var(--ui-touch);flex-shrink:0;
}
input:not([type=checkbox]):not([type=radio]):not([type=hidden]),select{min-height:var(--ui-touch);min-width:0;max-width:100%}
#searchClear{min-width:44px;min-height:44px;padding-inline:8px;border-radius:6px}
textarea{min-height:120px;line-height:1.6}
.filter-select,.sort-select,.form-input,.form-select{border-radius:var(--ui-radius-control)}
.tag,.filter-chip,.filter-pill,.rkc-filter,.chip{line-height:1.45;white-space:normal;text-overflow:clip;overflow:visible}
.tag,.rkc-filter,.chip{min-height:38px}
button:disabled,.btn[aria-disabled=true]{cursor:not-allowed}

/* Readable metadata, including source-provided age descriptions. */
.badge,.age-badge,.movie-age-badge,.det-badge,.arch-badge,.arch-age-badge,.status-badge,.sidebar-badge{
 max-width:100%;white-space:normal;overflow:visible;text-overflow:clip;overflow-wrap:anywhere;line-height:1.45;font-size:11px;
}
.card-meta,.event-card-meta,.movie-card-meta,.rkc-card-meta{min-width:0;gap:8px}
.card-meta{flex-wrap:wrap;align-items:flex-start}
.card-meta .badge{align-self:flex-start}
.event-meta-item,.event-meta-item>span{min-width:0;overflow-wrap:anywhere;line-height:1.5}
.event-meta-item svg{flex-shrink:0}
.poster-rail .badge,#mainEventsGrid .badge{font-size:11px;padding:4px 7px}
.rkc-kicker,.rkc-card-meta span,.rkc-photo-credit,.rkc-hero-caption>small,.culture-image-credit,.culture-kicker{font-size:11px;line-height:1.55}
.event-program-category,.event-program-city{font-size:11px}
.event-session-link,.culture-source,.culture-attribution{font-size:12px;line-height:1.6}
.hero-stat-label,.stat-label,.stat-desc{line-height:1.5}

/* Card rows share a baseline without fixing the height of their text. */
.event-card,.blog-card,.movie-card{border-radius:var(--ui-radius-card);min-width:0}
.event-card,.blog-card{height:100%}
.movie-card-link{display:flex!important;flex-direction:column;height:100%}
.event-card-body,.blog-card-body,.movie-card-body{min-width:0;flex:1}
.movie-card-body{display:flex;flex-direction:column}
.blog-card-footer,.event-card-footer{gap:12px;flex-wrap:wrap}
.blog-card-author{min-width:0}
.blog-card-author>div,.author-name{min-width:0;overflow-wrap:anywhere}
.blog-read-time{flex-shrink:0}
.blog-card-title,.event-card-title{line-height:1.4;word-break:normal;hyphens:none;-webkit-hyphens:none;-webkit-line-clamp:3}
.event-card-title,.movie-card-title{font-size:18px}
.poster-rail .event-card-title{font-size:18px;line-height:1.4}
.event-card-footer>.btn{flex-shrink:0}
.event-card-footer>span{line-height:1.5}
.culture-read-more{margin-top:auto}
.culture-book h3,.rkc-project h3,.rkc-program h3,.rkc-guide h3,.rkc-event h3{word-break:normal;hyphens:none;-webkit-hyphens:none}

/* A cover or poster is complete artwork; a photograph can fill a crop. */
.event-poster-link>img[src*="event-posters/"],.hero-card-img>img[src*="event-posters/"]{
 object-fit:contain!important;object-position:center!important;
}
.event-poster-link:has(>img[src*="event-posters/"]){background:#f0eee9}
.event-poster-link>img[src*="event-posters/"]:hover{transform:none}
/* A directory may contain both original posters and institution photographs. */
.event-card--poster .event-poster-link>img{object-fit:contain!important;object-position:center!important}
.event-card--photo .event-poster-link>img{object-fit:cover!important;object-position:center!important}
.events-layout>*,#mainEventsGrid,#mainEventsGrid>.event-card{min-width:0;max-width:100%}
#mainEventsGrid{grid-template-columns:repeat(auto-fill,minmax(min(100%,280px),1fr))!important}
@media(max-width:600px){
 #mainEventsGrid{grid-template-columns:minmax(0,1fr)!important;width:100%;gap:20px!important}
 #mainEventsGrid .event-card{width:100%;min-width:0}
 #mainEventsGrid .event-card-title,#mainEventsGrid .event-card-meta{overflow-wrap:anywhere}
}
.culture-cover>img,.culture-book--feature>.culture-cover img,.editorial-book-image>img{
 object-fit:contain!important;object-position:center!important;
}
.culture-book--feature>.culture-cover{background:#f2eee5}
.culture-book--feature>.culture-cover img{padding:10px}
.blog-card-img.editorial-book-image{background:#f2eee5}
.article-editorial-image:has(.article-book-cover){padding:24px;background:#f7f4ed;border:1px solid #ece7db;border-radius:12px}
.article-editorial-image .article-book-cover{width:min(100%,360px);height:auto;max-height:560px;object-fit:contain;margin:0 auto}
.article-editorial-image .article-photo{height:auto;aspect-ratio:auto;max-height:660px;object-fit:contain;background:#f7f5f0}
.article-editorial-image figcaption{font-size:12px;line-height:1.6;color:var(--ui-muted);margin-top:12px}
.detail-hero-img{max-height:min(78vh,700px)!important;object-fit:contain!important}
.detail-hero-content{min-width:0}
.detail-hero-meta{align-items:flex-start;line-height:1.65}
.rkc-project-photo img,.rkc-program-photo img,.rkc-guide-photo img,.library-media img,.blog-card-img:not(.editorial-book-image)>img{object-fit:cover}
.movie-card-img>img[src*="screen/bluey."]{object-fit:contain!important}
.culture-cover img,.culture-shelf>img,.detail-hero-img,.article-book-cover{filter:none}

/* Reading pages have a stable measure and a clear heading rhythm. */
.article-body{max-inline-size:70ch;margin-inline:auto;font-size:17px;line-height:1.8}
.article-body p,.article-body li{font-size:1em;line-height:1.8}
.article-body p{margin-bottom:20px}
.article-body h2{font-size:clamp(24px,2.4vw,29px);line-height:1.3;margin:36px 0 16px}
.article-body h3{font-size:21px;line-height:1.35;margin:28px 0 12px}
.article-body a{text-decoration:underline;text-underline-offset:3px;overflow-wrap:anywhere}
.article-body ul,.article-body ol{padding-inline-start:22px;margin-inline-start:0}
.article-title{line-height:1.2;font-weight:700}
.article-excerpt{font-size:17px;line-height:1.75}
.article-meta{gap:12px}
.responsive-feat>div{min-width:0}
.editorial-feature-photo{min-height:280px}
.editorial-feature-photo>img{min-height:280px;object-position:center}
.rkc-section{padding-block:clamp(44px,5vw,68px)}
.rkc-photo-credit{color:#697779}
.rkc-hero-caption>small{color:#b4c2cc}
.rkc-section-note{font-size:12px;line-height:1.7}
.culture-source,.culture-image-credit{overflow-wrap:anywhere}
.exp-expert-name,.exp-expert-title,.expert-name,.expert-title,.arch-expert-name{white-space:normal;text-overflow:clip;overflow:visible}

a:focus-visible,button:focus-visible,input:focus-visible,select:focus-visible,textarea:focus-visible,summary:focus-visible{
 outline:3px solid var(--ui-focus)!important;outline-offset:4px!important;
}
.rams-club-page :focus-visible{outline-color:var(--rkc-navy,#142b42)!important}
.rkc-hero :focus-visible,.rkc-closing :focus-visible{outline-color:#e6c588!important}
@media(max-width:900px){
 .section-header-inline{align-items:flex-start}
 .responsive-feat{grid-template-columns:minmax(0,1fr)!important}
 .editorial-feature-photo{height:auto;aspect-ratio:3/2;min-height:0}
 .editorial-feature-photo>img{width:100%;height:100%;min-height:0;object-fit:cover}
 .detail-hero{gap:20px}
}
@media(max-width:600px){
 .container{padding-inline:20px}
 .section{padding-block:40px}
 .section-header,.section-header-inline{margin-bottom:24px;gap:16px}
 .section-header-inline>.btn,.section-header-inline>div>.btn{font-size:12px}
 .btn-sm{min-height:44px}
 .tag,.rkc-filter,.chip,.filter-chip,.filter-pill{min-height:44px}
 .poster-rail .event-card-title{font-size:17px}
 #mainEventsGrid .event-card-title{font-size:16px;line-height:1.4}
 #mainEventsGrid .event-card-footer>.btn{width:100%}
 .event-card-footer>.btn{font-size:12px}
 .culture-book--feature>.culture-cover img{padding:8px}
 .article-body{font-size:16px;line-height:1.8}
 .article-body h2{font-size:24px;margin-top:30px}
 .article-excerpt{font-size:16px}
 .article-header{margin-bottom:28px}
 .article-editorial-image:has(.article-book-cover){padding:18px}
 .article-editorial-image .article-book-cover{max-height:480px}
 .detail-hero{padding:20px!important}
 .detail-hero-content{padding:8px 0!important}
 .detail-hero-img{max-height:70vh!important}
 .rkc-section-heading{margin-bottom:24px}
 .rkc-section-note,.rkc-photo-credit,.rkc-hero-caption>small{font-size:11px}
 .footer-bottom-links{column-gap:16px}
}
@media(prefers-reduced-motion:reduce){
 html,body,*{scroll-behavior:auto!important}
 *,*::before,*::after{animation-duration:.01ms!important;animation-iteration-count:1!important;transition-duration:.01ms!important}
 .event-card:hover,.blog-card:hover,.movie-card:hover{transform:none}
}
@media(prefers-contrast:more){
 .event-card,.blog-card,.movie-card,.culture-book,.rkc-project,.rkc-program,.rkc-guide,.rkc-event{border-color:#707780}
 .rkc-photo-credit,.culture-image-credit,.culture-attribution{color:#434a50}
}

.blog-card-img--photo{position:relative;overflow:hidden}.blog-card-img--photo>img{width:100%;height:100%;object-fit:cover;display:block}.blog-card-img--photo>.blog-card-category-pill{position:absolute;left:16px;bottom:16px}

.footer-col h2,.footer-column h2{font-family:var(--ui-font-sans);font-size:16px;line-height:1.4;margin:0 0 16px;font-weight:700;letter-spacing:normal}
/* This form sits on a light dialog, unlike the red homepage planner. */
#toolModal .planner-label{color:#24242b!important}
#toolModal .planner-select{color:#24242b!important;background:#fff!important;border:1px solid #c6c6ce!important;color-scheme:light}
#toolModal .planner-select option{color:#24242b!important;background:#fff!important}
/* Keep the opening composition compact without cropping poster lettering. */
.hero-visual{align-items:start}
.hero-card .hero-card-img:has(>img){position:relative;aspect-ratio:3/2!important;height:auto!important;min-height:0;display:block}
.hero-card--movie .hero-card-img:has(>img){aspect-ratio:21/9!important}
.hero-card .hero-card-img>img{position:absolute;inset:0;width:100%!important;height:100%!important;object-fit:contain!important}
.hero-card--photo .hero-card-img>img{object-fit:cover!important}
/* A compact opening composition and comfortably sized poster shelves. */
@media(min-width:901px){
 .hero-visual{width:100%;max-width:460px;justify-self:end;gap:14px}
 .hero-card:nth-child(2){margin-top:0}
 .hero-card--movie{display:grid;grid-template-columns:132px minmax(0,1fr);align-items:center}
 .hero-card--movie .hero-card-img:has(>img){aspect-ratio:3/2!important}
 .hero-card--movie .hero-card-body{padding:16px}
 .hero-inner{gap:48px}
 .hero{padding-top:56px;padding-bottom:56px;min-height:0}
}
.poster-rail{grid-auto-columns:calc((100% - 48px)/3.35);gap:24px}
@media(max-width:1100px){.poster-rail{grid-auto-columns:calc((100% - 36px)/2.6);gap:18px}}
@media(max-width:800px){.poster-rail{grid-auto-columns:calc((100% - 16px)/2.1);gap:16px}}
@media(max-width:600px){.poster-rail{grid-auto-columns:84%;gap:16px}}
.event-card--landscape.event-card--poster .event-poster-link{aspect-ratio:4/3}
.poster-rail{align-items:start}
.event-card--photo .event-poster-link{aspect-ratio:4/3}
.poster-rail .event-card{height:auto;min-height:0}
.poster-rail .event-card-body{flex:0 0 auto}
/* Visibility and empty media follow the component state rather than decoration. */
[hidden]{display:none!important}
.library-media:empty{display:none}
.planner-library-card-image{background:var(--ui-paper)}
:focus-visible{outline:3px solid var(--ui-focus);outline-offset:3px}

/* Opening selection: full original artwork in a framed, compact showcase. */
.hero .hero-visual{display:grid;align-items:start;width:100%;max-width:510px;justify-self:end;gap:16px;padding:22px;background:#f8eae7;border:1px solid #ead1cb;border-radius:26px;box-shadow:0 24px 50px -24px rgba(145,77,73,.18)}
.hero .hero-card{min-width:0;border:0;border-radius:14px;box-shadow:0 5px 16px rgba(0,0,0,.12);margin-top:0;transition:transform .2s ease,box-shadow .2s ease}
.hero .hero-card:nth-child(2){margin-top:24px}
.hero .hero-card .hero-card-img:has(>img){display:block;position:relative;aspect-ratio:4/5!important;height:auto!important;background:#f5f2eb;overflow:hidden}
.hero .hero-card .hero-card-img>img{object-fit:contain!important}
.hero .hero-card--photo .hero-card-img>img{object-fit:cover!important}
.hero .hero-card-body{padding:16px}
.hero .hero-card-body h4{font-size:15px;line-height:1.38;margin:0 0 8px;font-weight:700}
.hero .hero-card-body h4 a{color:#172b31}
.hero .hero-card-body p{font-size:11px;line-height:1.6;color:#62676b;margin:0}
.hero .hero-card--movie{display:grid;grid-template-columns:120px minmax(0,1fr);align-items:center;background:#fff;grid-column:1/-1}
.hero .hero-card--movie .hero-card-img:has(>img){aspect-ratio:4/3!important;background:#e7f2f5}
.hero .hero-card--movie .hero-card-body{padding:14px 16px}
.hero .hero-card--movie .hero-card-body h4{margin-bottom:4px}
.hero .hero-card-img:focus-visible{outline:3px solid #ef243f;outline-offset:-4px}
@media(max-width:900px){.hero .hero-inner{grid-template-columns:1fr;gap:28px}.hero .hero-visual{justify-self:start;max-width:510px;padding:16px;gap:12px;border-radius:22px}.hero .hero-card:nth-child(2){margin-top:18px}.hero .hero-card-body{padding:12px}.hero .hero-card-body h4{font-size:14px}.hero .hero-card--movie{grid-template-columns:104px minmax(0,1fr)}}
@media(prefers-reduced-motion:reduce){.hero .hero-card{transition:none}.hero .hero-card:hover{transform:none}}

/* Brand palette: warm blush, cream and sage around original artwork. */
.hero .hero-card{background:#fffdf8;box-shadow:0 5px 16px rgba(119,74,64,.08)}
.hero .hero-card:nth-child(1) .hero-card-body{background:#fff6ed}
.hero .hero-card:nth-child(2) .hero-card-body{background:#edf3ed}
.hero .hero-card--movie .hero-card-body{background:#f2eef8}
.hero .hero-card .hero-card-body h4 a{color:#49362f}
.hero .hero-card .hero-card-body p{color:#625650}
.hero .hero-card .hero-card-img:has(>img){background:#fffaf4}
.hero .hero-card--movie .hero-card-img:has(>img){background:#eaf2ee}

/* 20261028: photos fill their frame; original movie art keeps its ratio. */
.hero .hero-card--photo .hero-card-img:has(>img){aspect-ratio:4/3!important}
.hero .hero-card--photo .hero-card-img>img{display:block;width:100%!important;height:100%!important;object-fit:cover!important}
.hero .hero-card--movie .hero-card-img:has(>img){aspect-ratio:var(--hero-art-ratio,1/1)!important;align-self:center}
.hero .hero-card--movie .hero-card-img>img{object-fit:contain!important}
.hero .hero-card:nth-child(2){margin-top:0}
.hero .hero-visual{align-items:stretch}
.hero .hero-card{overflow:hidden;min-width:0}
