/* Homepage layout contracts; artwork and palette colors remain theme-owned. */
body.studio-theme .studio-page :is(.studio-exact-section-head,.studio-exact-cinema-head,.studio-exact-spot-head){
  min-width:0;gap:12px;box-sizing:border-box;
}
body.studio-theme .studio-page :is(.studio-cine-actions,.studio-exact-buttons)>:is(a,button){min-height:44px!important}
body.studio-theme .studio-page :is(.studio-cine-arrow,.studio-exact-arrow){min-width:44px!important;min-height:44px!important}
body.studio-theme .studio-page :is(button,a):focus-visible{outline:2px solid var(--studio-color-link);outline-offset:3px}
/* The theme owns the six-card desktop carousel and the narrower touch layouts. */
body.studio-theme .studio-page .studio-exact-episode-rail{scroll-padding-inline:0;scrollbar-width:none}
body.studio-theme .studio-page .studio-exact-latest [data-studio-scroll]{width:44px;height:44px}
@media(max-width:900px){
  body.studio-theme .studio-page .studio-exact-hero-in{width:100%!important;max-width:100%;height:auto!important;min-height:0!important;box-sizing:border-box;grid-template-columns:minmax(0,1fr)!important;gap:18px!important;padding:22px 16px 86px!important}
  body.studio-theme .studio-page .studio-exact-mosaic{order:0!important;width:100%!important;max-width:660px;justify-self:center;margin:0;touch-action:pan-y pinch-zoom}
  body.studio-theme .studio-page .studio-exact-grid{--hero-spread:clamp(68px,22vw,145px);position:relative;display:block;height:clamp(220px,57vw,280px)!important;width:100%;perspective:none}
  body.studio-theme .studio-page .studio-exact-grid>[data-studio-slide]{position:absolute!important;inset:auto!important;left:50%!important;top:0!important;width:clamp(138px,38vw,190px)!important;height:100%!important;margin:0;opacity:0;visibility:hidden;pointer-events:none;transform:translateX(-50%) scale(.78)!important;border-radius:18px!important;transition:transform .32s ease,opacity .25s ease;z-index:0}
  body.studio-theme .studio-page .studio-exact-grid>[data-hero-position="previous"]{transform:translateX(calc(-50% - var(--hero-spread))) scale(.84) rotate(-7deg)!important;opacity:.62;visibility:visible;pointer-events:auto;z-index:1}
  body.studio-theme .studio-page .studio-exact-grid>[data-hero-position="next"]{transform:translateX(calc(-50% + var(--hero-spread))) scale(.84) rotate(7deg)!important;opacity:.62;visibility:visible;pointer-events:auto;z-index:1}
  body.studio-theme .studio-page .studio-exact-grid>[data-studio-slide].is-active{transform:translateX(-50%)!important;opacity:1;visibility:visible;pointer-events:auto;z-index:3;box-shadow:0 12px 38px #0005}
  body.studio-theme .studio-page .studio-exact-grid>[data-studio-slide] img{transform:none!important}
  body.studio-theme .studio-page .studio-exact-slide-copy{transform:none!important}
  body.studio-theme .studio-page .studio-exact-slide-copy strong{font-size:13px!important;line-height:1.5}
  body.studio-theme .studio-page .studio-exact-slide-copy em{font-size:10px!important}
  body.studio-theme .studio-page .studio-exact-slide-copy>span{font-size:10px!important;opacity:1}
  body.studio-theme .studio-page .studio-exact-slide-copy>small,body.studio-theme .studio-page .studio-exact-grid>[data-studio-slide]:not(.is-active) .studio-exact-slide-copy{display:none!important}
  body.studio-theme .studio-page :is(.studio-exact-mosaic-label,.studio-exact-flags,.studio-exact-kicker,.studio-exact-features){display:none!important}
  body.studio-theme .studio-page .studio-exact-copy{order:1!important;text-align:center!important;max-width:520px!important;justify-self:center}
  body.studio-theme .studio-page .studio-exact-copy h1{margin:0!important;padding:0!important;font-size:clamp(26px,6.8vw,36px)!important;line-height:1.35!important;text-align:center!important}
  body.studio-theme .studio-page .studio-exact-copy h1 span{width:auto!important;white-space:normal!important;padding:0!important}
  body.studio-theme .studio-page .studio-exact-copy>p{margin:12px auto 0!important;font-size:12px!important;line-height:1.8!important;max-width:430px}
  body.studio-theme .studio-page .studio-exact-buttons{display:flex!important;justify-content:center;gap:8px!important;margin-top:16px!important}
  body.studio-theme .studio-page .studio-exact-buttons>:is(a,button){flex:1;min-width:0;min-height:46px!important;padding:10px 8px!important;font-size:12px!important;line-height:1.5;white-space:nowrap}
  body.studio-theme .studio-page .studio-exact-arrow{top:auto!important;bottom:22px!important;transform:none!important}
  body.studio-theme .studio-page .studio-exact-arrow.prev{left:16px!important;right:auto!important}
  body.studio-theme .studio-page .studio-exact-arrow.next{right:16px!important;left:auto!important}
  body.studio-theme .studio-page .studio-exact-dots{bottom:42px!important;max-width:calc(100% - 136px)}
}
@media(max-width:820px){
  body.studio-theme .studio-page :is(.studio-exact-section-head,.studio-exact-cinema-head,.studio-exact-spot-head){
    display:flex!important;flex-direction:row!important;flex-wrap:wrap!important;align-items:center!important;justify-content:space-between;direction:inherit!important;
  }
  body.studio-theme .studio-page :is(.studio-exact-section-head,.studio-exact-cinema-head) button{min-width:44px;min-height:44px}
}
@media(max-width:680px){
  body.studio-theme .studio-page .studio-exact-copy>p{font-size:12px!important;line-height:1.8!important}
  body.studio-theme .studio-page .studio-exact-buttons>:is(a,button){font-size:12px!important}
  body.studio-theme .studio-page .studio-exact-arrow.prev{left:16px!important;right:auto!important}
  body.studio-theme .studio-page .studio-exact-arrow.next{right:16px!important;left:auto!important}
  body.studio-theme .studio-page .studio-exact-dots{max-width:calc(100% - 136px)}
  body.studio-theme .studio-page .studio-mood__head>div>h2{white-space:normal!important;line-height:1.4!important;overflow:visible!important;text-overflow:clip!important;max-width:100%!important}
  body.studio-theme .studio-page .studio-cine-copy{width:100%!important;max-width:430px!important}
  body.studio-theme .studio-page .studio-cine-copy>p{font-size:12px!important;line-height:1.8!important}
  body.studio-theme .studio-page .studio-cine-tagline{font-size:11px!important}
  body.studio-theme .studio-page .studio-cine-actions{max-width:340px}
  body.studio-theme .studio-page .studio-cine-actions>a{height:44px!important;font-size:12px!important}
  body.studio-theme .studio-page .studio-cine-dots{bottom:52px!important;max-width:calc(100% - 136px);gap:6px!important}
  body.studio-theme .studio-page .studio-cine-dots button{width:clamp(12px,4vw,24px)!important}
}
@media(max-width:360px){
  body.studio-theme .studio-page .studio-exact-buttons>:is(a,button){font-size:11px!important}
}
@media(prefers-reduced-motion:reduce){
  body.studio-theme .studio-page *{scroll-behavior:auto!important}
}
/* Original collection artwork with a real, bounded rail instead of hidden extra cards. */
body.studio-theme .studio-page .studio-original-collection{box-sizing:border-box;width:100%;max-width:1600px;margin-inline:auto;padding-inline:clamp(16px,4vw,60px)}
body.studio-theme .studio-page [data-studio-row]{overscroll-behavior-x:contain;scrollbar-width:none}
body.studio-theme .studio-page [data-studio-row]::-webkit-scrollbar{display:none}
body.studio-theme .studio-page .studio-original-rail{display:flex;gap:12px;overflow-x:auto;overflow-y:hidden;scroll-snap-type:x proximity;scroll-padding-inline:0;min-width:0;padding-block:12px 20px;height:clamp(340px,34vw,510px)}
body.studio-theme .studio-page .studio-original-rail>:is(button,a){display:block!important;box-sizing:border-box;flex:0 0 calc((100% - 48px)/6.35);min-width:0;scroll-snap-align:start;height:auto}
body.studio-theme .studio-page .studio-original-rail>:is(.is-active,.lead){flex-basis:calc((100% - 48px)/6.35 * 2.35)}
body.studio-theme .studio-page .studio-original-rail h3{white-space:normal;overflow-wrap:anywhere;line-height:1.5;font-size:16px}
body.studio-theme .studio-page .studio-original-rail .is-active h3,body.studio-theme .studio-page .studio-original-rail .lead h3{font-size:22px}
body.studio-theme .studio-page .studio-original-rail p{white-space:normal;line-height:1.5}
body.studio-theme .studio-page [data-studio-scroll]:disabled{opacity:.35;cursor:default;transform:none}
body.studio-theme .studio-page .studio-exact-episode .art>em{inset-inline-start:8px;inset-inline-end:auto;z-index:2}
body.studio-theme .studio-page .studio-exact-cta h2{font-size:22px;line-height:1.5}
@media(max-width:1100px){
 body.studio-theme .studio-page .studio-original-rail>:is(button,a),body.studio-theme .studio-page .studio-original-rail>:is(.is-active,.lead){flex-basis:calc((100% - 24px)/3);height:auto}
 body.studio-theme .studio-page .studio-original-rail h3,body.studio-theme .studio-page .studio-original-rail .is-active h3,body.studio-theme .studio-page .studio-original-rail .lead h3{font-size:18px}
 body.studio-theme .studio-page .studio-original-rail .studio-exact-premiere p,body.studio-theme .studio-page .studio-original-rail .studio-exact-premiere>div>span{opacity:1;max-height:none}
}
@media(max-width:600px){
 body.studio-theme .studio-page .studio-original-rail{height:410px}
 body.studio-theme .studio-page .studio-original-rail>:is(button,a),body.studio-theme .studio-page .studio-original-rail>:is(.is-active,.lead){flex-basis:76%;min-width:0}
 body.studio-theme .studio-page .studio-exact-cta h2{font-size:18px}
}
/* Retain the existing unavailable-image state after removing the design switcher. */
body.studio-theme .studio-page .vip-poster.is-image-error>img{visibility:hidden}
