/* Shared public chrome. Load after each page's existing stylesheet. */
.site-header,
.site-header *,
.site-footer,
.site-footer *{box-sizing:border-box}

.site-header{width:100%;max-width:100%;min-width:0;padding-inline:5vw;gap:20px;background:linear-gradient(180deg,#080a0cf8,#080a0cde);backdrop-filter:blur(14px);color:#f3eee4;font-family:Tahoma,Arial,sans-serif;border-bottom:1px solid #ffffff1a}
.site-header .site-brand{display:inline-flex;flex:0 0 auto;align-items:center;gap:10px;min-width:0;margin:0;padding:0;color:#f3eee4;font-size:24px;font-weight:800;line-height:1.3;text-decoration:none}
.site-header .site-brand .brand-logo{display:block;flex:0 0 48px;width:48px;height:48px;margin:0;padding:0;border:0;border-radius:0;background:none;object-fit:contain}
.site-header .site-brand .site-brand-name{display:inline;width:auto;height:auto;min-width:0;margin:0;padding:0;border:0;border-radius:0;background:none;color:inherit;font:inherit;line-height:inherit}
.site-header nav.site-navigation{display:flex;flex:1 1 auto;align-items:center;justify-content:flex-start;gap:18px;min-width:0;max-width:100%;margin:0 0 0 18px;padding:0;overflow-x:auto;overflow-y:hidden;white-space:nowrap;scrollbar-width:none;-webkit-overflow-scrolling:touch}
.site-header nav.site-navigation::-webkit-scrollbar{display:none}
.site-header nav.site-navigation>a{display:inline-flex;flex:0 0 auto;position:relative;align-items:center;justify-content:center;min-height:44px;margin:0;padding:10px 4px;border:0;border-radius:0;background:none;color:#c1c7c8;font-family:inherit;font-size:13px;font-weight:500;line-height:1.5;text-decoration:none;white-space:nowrap}
.site-header nav.site-navigation>a:hover,
.site-header nav.site-navigation>a[aria-current="page"],
.site-header nav.site-navigation>a.active{color:#f3eee4}
.site-header nav.site-navigation>a[aria-current="page"]:after,
.site-header nav.site-navigation>a.active:after{content:"";position:absolute;right:4px;bottom:2px;left:4px;height:2px;background:#d9a75d}
.site-header .site-brand:focus-visible,
.site-header nav.site-navigation>a:focus-visible{outline:2px solid #d9a75d;outline-offset:-2px;border-radius:4px}
.site-header>.back{flex:0 0 auto;min-height:44px;display:inline-flex;align-items:center;margin-inline-start:0;color:#c1c7c8;text-decoration:none}

.site-footer{display:grid;grid-template-columns:minmax(180px,.8fr) minmax(0,1.7fr);grid-template-areas:"brand links" "tagline links" "social links" "copyright copyright";align-items:start;column-gap:clamp(32px,6vw,100px);row-gap:18px;width:100%;max-width:100%;min-width:0;margin:0;padding:56px max(24px,6vw) 100px;border:0;border-top:1px solid #ffffff14;border-radius:0;background:linear-gradient(180deg,#0e1118,#090b10);color:#a7acb7;font-family:Tahoma,Arial,sans-serif;font-size:14px;font-weight:400;line-height:1.6;text-align:start;direction:inherit}
.site-footer>.brand{grid-area:brand;display:inline-flex;align-items:center;justify-self:start;gap:10px;width:auto;min-width:0;min-height:48px;margin:0;padding:0;border:0;border-radius:0;background:none;color:#f3eee4;font-family:inherit;font-size:24px;font-weight:800;line-height:1.3;text-decoration:none}
.site-footer>.brand .brand-logo{display:block;flex:0 0 48px;width:48px;height:48px;max-width:none;margin:0;padding:0;border:0;border-radius:0;background:none;object-fit:contain}
.site-footer>.brand span{display:inline;width:auto;height:auto;min-width:0;margin:0;padding:0;border:0;border-radius:0;background:none;color:inherit;font:inherit;line-height:inherit;text-align:inherit}
.site-footer>.site-footer-tagline{grid-area:tagline;width:auto;max-width:30ch;margin:0;padding:0;color:#a7acb7;font-family:inherit;font-size:14px;font-weight:400;line-height:1.8;text-align:start;overflow-wrap:anywhere}
.site-footer nav.site-footer-links{grid-area:links;display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:28px;width:100%;min-width:0;max-width:100%;margin:0;padding:0;white-space:normal}
.site-footer .site-footer-group{min-width:0}
.site-footer .site-footer-group h2{margin:0 0 12px;padding:0;color:#f0eee8;font-size:13px;font-weight:700;line-height:1.5;text-align:start;letter-spacing:.025em}
.site-footer .site-footer-group ul{display:grid;gap:0;margin:0;padding:0;list-style:none}
.site-footer .site-footer-group li{min-width:0;margin:0;padding:0;list-style:none}
.site-footer nav.site-footer-links a{display:inline-flex;align-items:center;justify-content:flex-start;min-height:44px;max-width:100%;margin:0;padding:8px 0;border:0;border-radius:0;background:none;color:#a7acb7;font-family:inherit;font-size:13px;font-weight:400;line-height:1.5;text-align:start;text-decoration:none;white-space:normal;overflow-wrap:anywhere;transition:color .15s ease}
.site-footer nav.site-footer-links a:hover{color:#ffce45}
.site-footer>.site-footer-copyright{grid-area:copyright;display:block;width:100%;min-width:0;margin:18px 0 0;padding:24px 0 0;border-top:1px solid #ffffff12;color:#9298a5;font-family:inherit;font-size:12px;font-weight:400;line-height:1.7;text-align:start}
.site-footer nav.footer-social{grid-area:social;display:flex;flex:0 1 auto;flex-wrap:wrap;align-items:center;justify-content:flex-start;gap:8px;width:100%;min-width:0;max-width:100%;margin:0;padding:0;white-space:normal}
.site-footer nav.footer-social>a{display:inline-flex;align-items:center;justify-content:center;gap:8px;min-height:44px;max-width:100%;margin:0;padding:10px 12px;border:1px solid #ffffff20;border-radius:10px;background:#15191f;color:#d2d4db;font-family:inherit;font-size:12px;font-weight:400;line-height:1.4;text-align:center;text-decoration:none;white-space:normal;overflow-wrap:anywhere;transition:background .15s,border-color .15s}
.site-footer nav.footer-social>a:hover{border-color:#e9b94988;background:#211e17;color:#ffce45}
.site-footer a:focus-visible{outline:2px solid #e9b949;outline-offset:4px}

/* Homepage editorial cards retain their complete text in the document. The
   visual line limits keep the three entries balanced without truncating copy. */
.home-guides{margin:clamp(36px,5vw,72px) 0;padding:0;border:0;border-radius:0;background:none}
.home-guides .home-guides-intro{max-width:850px;margin:0 0 28px}
.home-guides .kicker{color:#e9b949;font-size:12px;font-weight:700;letter-spacing:.1em;text-transform:uppercase}
.home-guides h2{margin:10px 0 12px;font-size:clamp(23px,2.3vw,34px);line-height:1.3;letter-spacing:-.025em;color:#f5f3ed}
.home-guides .home-guides-intro>p{margin:0;max-width:75ch;color:#a7acb7;font-size:14px;line-height:1.8}
.home-guides .home-guide-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:22px}
.home-guides .home-guide-grid>a.home-guide-card{display:flex;flex-direction:column;min-width:0;padding:0;overflow:hidden;border:1px solid #ffffff16;border-radius:18px;background:#15191f;color:#f5f3ed;text-decoration:none;transition:border-color .2s ease,transform .2s ease}
.home-guides .home-guide-card:hover{border-color:#e9b94970;transform:translateY(-3px)}
.home-guides .home-guide-card:focus-visible{outline:2px solid #e9b949;outline-offset:4px}
.home-guides .home-guide-posters{display:flex;justify-content:center;align-items:center;gap:12px;aspect-ratio:16/9;min-width:0;max-width:none;margin:0;padding:20px 22px;background:radial-gradient(ellipse at 50% 100%,#5d49272e,transparent 75%),#10131a;overflow:hidden}
.home-guides .home-guide-posters>span{display:block;flex:1 1 0;max-width:126px;min-width:0;height:100%;aspect-ratio:2/3;overflow:hidden;border-radius:8px;background:#202632;box-shadow:0 8px 20px #0007}
.home-guides .home-guide-posters>span:nth-child(2){transform:translateY(-4px)}
.home-guides .home-guide-posters img{display:block;width:100%;height:100%;object-fit:cover;transition:transform .25s ease}
.home-guides .home-guide-art-empty>span{background:linear-gradient(145deg,#242a35,#151a24);box-shadow:none;border:1px solid #ffffff0c}
.home-guides .home-guide-copy{display:flex;flex-direction:column;flex:1;gap:0;min-width:0;padding:22px}
.home-guides .home-guide-category{color:#e9b949;font-size:11px;font-weight:700;line-height:1.6;letter-spacing:.06em;text-transform:uppercase}
.home-guides .home-guide-grid h3{display:-webkit-box;-webkit-box-orient:vertical;-webkit-line-clamp:3;overflow:hidden;margin:10px 0 12px;font-size:clamp(17px,1.4vw,21px);font-weight:700;line-height:1.45;letter-spacing:-.015em;overflow-wrap:anywhere}
.home-guides .home-guide-description{display:-webkit-box;-webkit-box-orient:vertical;-webkit-line-clamp:3;overflow:hidden;margin:0 0 24px;color:#a7acb7;font-size:13px;line-height:1.8}
.home-guides .home-guide-cta{display:flex;align-items:center;justify-content:space-between;gap:12px;min-height:44px;margin-top:auto;padding-top:12px;border-top:1px solid #ffffff12;color:#e9b949;font-size:13px;font-weight:700}
.home-guides .home-guide-cta>span{color:inherit}
.home-guides .home-guide-arrow{display:inline-block;font-size:19px}
[dir="rtl"] .home-guides .home-guide-arrow{transform:scaleX(-1)}
[dir="rtl"] .home-guides .kicker,[dir="rtl"] .home-guides .home-guide-category{letter-spacing:0}

@media(max-width:950px){
 .site-header{gap:12px;padding-inline:20px}
 .site-header nav.site-navigation{gap:10px;margin-inline-start:0}
 .site-header nav.site-navigation>a{padding-inline:5px;font-size:12px}
 .site-footer{column-gap:32px}
 .site-footer nav.site-footer-links{column-gap:18px}
 .home-guides .home-guide-grid{gap:16px}
 .home-guides .home-guide-copy{padding:18px}
 .home-guides .home-guide-posters{padding:16px;gap:8px}
}
@media(max-width:600px){
 .site-header{padding-inline:18px;gap:10px}
 .site-header .site-brand{gap:7px;font-size:20px}
 .site-header .site-brand .brand-logo{width:40px;height:40px;flex-basis:40px}
 .site-header nav.site-navigation{gap:6px}
 .site-header nav.site-navigation>a{padding-inline:6px}
 /* The catalogue already has a complete fixed mobile navigation. */
 .site-header.topbar nav.site-navigation{display:none}
 .site-footer{grid-template-columns:minmax(0,1fr);grid-template-areas:"brand" "tagline" "links" "social" "copyright";justify-items:start;gap:18px;padding:36px 20px calc(100px + env(safe-area-inset-bottom,0px));text-align:start}
 .site-footer>.brand{justify-self:start}
 .site-footer>.site-footer-tagline,
 .site-footer>.site-footer-copyright{text-align:start}
 .site-footer nav.site-footer-links{grid-template-columns:repeat(2,minmax(0,1fr));gap:24px;margin-top:12px}
 .site-footer nav.footer-social{gap:8px;margin-top:8px}
 .site-footer nav.footer-social>a{padding-inline:14px}
}
@media(max-width:700px){.home-guides .home-guide-grid{grid-template-columns:1fr}.home-guides .home-guide-posters{max-height:230px;padding:20px 28px;gap:14px}.home-guides .home-guide-copy{padding:22px}.home-guides .home-guide-grid h3{font-size:21px}.home-guides .home-guide-description{font-size:14px}}
@media(prefers-reduced-motion:reduce){.site-footer nav.footer-social>a,.site-footer nav.site-footer-links a,.home-guides .home-guide-card,.home-guides .home-guide-posters img{transition:none}.home-guides .home-guide-card:hover{transform:none}}
/* Keep the existing player-only layout free of public navigation. */
.player-only .site-header,.player-only .site-footer{display:none}

/* Cast pages use a native catalogue search and a header in normal flow so
   additional rows never cover the directory or person heading. */
.site-header.site-header-with-search{position:relative;inset:auto;display:grid;grid-template-columns:auto minmax(0,1fr) minmax(220px,300px) auto;height:auto;min-height:78px;padding-block:15px}
.site-header-with-search nav.site-navigation{margin-inline-start:0}
.site-header-search{display:flex;align-items:center;gap:8px;min-width:0;margin:0}
.site-header-search .site-search-label{position:absolute;width:1px;height:1px;padding:0;margin:-1px;overflow:hidden;clip-path:inset(50%);white-space:nowrap}
.site-header-search input{width:100%;min-width:0;min-height:44px;padding:10px 12px;border:1px solid #48545b;border-radius:8px;background:#131b20;color:#f3eee4;font:inherit;font-size:16px}
.site-header-search input::placeholder{color:#a4afb5}
.site-header-search button{flex:0 0 auto;min-height:44px;padding:10px 14px;border:1px solid #d9a75d;border-radius:8px;background:#d9a75d;color:#111;font:inherit;font-size:13px;font-weight:700;cursor:pointer}
.site-header-search input:focus-visible,.site-header-search button:focus-visible{outline:2px solid #d9a75d;outline-offset:3px}
.site-header-with-search+main .person-hero,.site-header-with-search+main .cast-directory-intro{padding-top:47px}
@media(max-width:1100px){
 .site-header.site-header-with-search{grid-template-columns:auto minmax(0,1fr) auto;gap:10px 16px}
 .site-header-with-search .site-header-search{grid-column:1/-1;grid-row:2}
 .site-header-with-search>.back{grid-column:3;grid-row:1}
}
@media(max-width:600px){
 .site-header.site-header-with-search{grid-template-columns:minmax(0,1fr) auto;gap:8px;padding-block:12px}
 .site-header-with-search>.back{grid-column:2}
 .site-header-with-search nav.site-navigation{grid-column:1/-1;grid-row:3;width:100%}
 .site-header-with-search+main .person-hero,.site-header-with-search+main .cast-directory-intro{padding-top:28px}
}
