/* Round 67: accessible header dropdowns on every page */
.nav.nav-long .t-dd-btn:focus-visible{
  outline:2px solid #C9A6FF;
  outline-offset:3px;
  border-radius:8px;
}
.nav.nav-long .t-dd-panel{
  top:100%;
  margin:0;
  /* JS toggles .is-open; hover/focus are handled in script so aria-expanded stays in sync */
  display:none;
}
.nav.nav-long .t-dd:hover .t-dd-panel,
.nav.nav-long .t-dd:focus-within .t-dd-panel{display:none;}
.nav.nav-long .t-dd.is-open .t-dd-panel{display:block;}
/* Invisible bridge so the pointer can move from the button into the panel */
.nav.nav-long .t-dd-panel::before{
  content:"";
  position:absolute;
  left:0;right:0;
  bottom:100%;
  height:12px;
}
.nav.nav-long .t-dd-panel a:focus-visible{
  outline:2px solid #8B5CF6;
  outline-offset:-2px;
  background:#F5F0FB;
}
.nav.nav-long .t-dd-btn[aria-expanded="true"]{color:#fff;}

/* Phone burger: comfortable tap targets, clear focus */
.t-burger:focus-visible,
.t-menu .t-close:focus-visible{
  outline:2px solid #8B5CF6;
  outline-offset:3px;
}
.t-menu .t-row{min-height:56px;}
.t-menu .t-sub a{
  min-height:52px;
  display:flex;
  align-items:center;
}
.t-menu .t-sub a:focus-visible{
  outline:2px solid #8B5CF6;
  outline-offset:-2px;
  background:#F5F0FB;
}
.t-menu .t-row[data-sub][aria-expanded="true"]{background:#FAF8FC;}

/* Same sticky header on landing pages (replaces slim lp-header) */
body.lp-page .header{position:sticky;top:0;z-index:40;}
body.lp-page .notice{position:relative;z-index:41;}

/* Keep the full desktop bar on one line at 1280px */
@media (min-width:1280px){
  .pc-touches .header .nav.nav-long{display:flex!important;align-items:center;flex-wrap:nowrap;gap:0 8px;}
  .nav.nav-long .t-dd-btn{padding:8px 8px;white-space:nowrap;}
  .nav.nav-long > a{white-space:nowrap;}
  .nav.nav-long > a.btn{margin-left:8px;padding:8px 16px;flex:none;}
}


/* Round 78 — film grid override (must beat r59 2-col overlap of .is-phone clips) */
body.pc-touches .cx-films,
.cx-film-sec .cx-films,
.cx-films{
  display:grid;
  gap:2.2rem 1.5rem;
}
@media (min-width:900px){
  body.pc-touches .cx-films,
  .cx-film-sec .cx-films,
  .cx-films{
    grid-template-columns:repeat(3,minmax(0,1fr));
    align-items:start;
  }
  body.pc-touches .cx-films .cx-clip.is-phone,
  body.pc-touches .cx-films .cx-clip.is-pass,
  body.pc-touches .cx-films .cx-clip.is-desk,
  .cx-films .cx-clip.is-phone,
  .cx-films .cx-clip.is-pass,
  .cx-films .cx-clip.is-desk{
    grid-column:auto;
    grid-row:auto;
    max-width:none;
    margin:0;
  }
  body.pc-touches .cx-films .cx-clip.is-desk,
  body.pc-touches .cx-films .cx-film-featured,
  .cx-films .cx-clip.is-desk,
  .cx-films .cx-film-featured{
    grid-column:1/-1;
    max-width:960px;
    margin-left:auto;
    margin-right:auto;
    width:100%;
  }
}
/* Captions stay readable on the light hybrid pages */
body.pc-touches .cx-films .cx-clip h3,
body.cx-page .cx-films .cx-clip h3,
.cx-film-sec .cx-clip h3{
  color:var(--hy-ink,#101828)!important;
  margin:.85rem 0 .25rem;
  text-align:center;
}
body.pc-touches .cx-films .cx-clip p,
body.cx-page .cx-films .cx-clip p,
.cx-film-sec .cx-clip p,
body.pc-touches .cx-films .cx-clip p.cx-ph-caption,
.cx-film-sec .cx-ph-caption{
  color:var(--hy-body,#3A4458)!important;
  text-align:center;
}


/* Round 79 — video size on small screens + Full screen control */
.cx-ph-video,
.cx-ph-video video,
.cx-film video,
.cx-ph-filled video{
  width:100%;
  height:auto;
  max-width:100%;
  display:block;
}
.cx-fs-wrap{
  margin:.7rem 0 0;
  text-align:center;
}
.cx-fs-btn{
  appearance:none;
  background:transparent;
  border:1px solid #C4B5FD;
  color:#5B21B6;
  font:600 0.9rem/1.2 system-ui,-apple-system,Segoe UI,sans-serif;
  padding:.45rem .85rem;
  border-radius:999px;
  cursor:pointer;
}
.cx-fs-btn:hover,
.cx-fs-btn:focus-visible{
  background:#F5F0FF;
  border-color:#8B5CF6;
  color:#4C1D95;
  outline:2px solid #8B5CF6;
  outline-offset:2px;
}
@media (max-width:480px){
  .cx-fs-btn{ font-size:1rem; padding:.55rem 1rem; }
}
