/* The header language menu uses visible, clickable language names on every device. */
.site-header { gap:20px; }
.site-header .primary-nav { margin-right:0; gap:24px; }
.header-language { position:relative; flex:none; width:83px; height:44px; color:var(--text-light); }
.header-language-toggle { position:relative; display:flex; align-items:center; justify-content:center; gap:6px; width:100%; height:44px; margin:0; padding:0 9px; border:1px solid #ffffff30; border-radius:999px; background:#ffffff05; color:inherit; font:500 11px/1 var(--font-text); cursor:pointer; }
.header-language-toggle>svg { width:16px; height:16px; flex:none; fill:none; stroke:currentColor; stroke-width:1.4; pointer-events:none; }
.header-language-toggle>svg.header-language-chevron { width:12px; height:12px; transition:transform .18s; }
.header-language-toggle[aria-expanded="true"]>.header-language-chevron { transform:rotate(180deg); }
.header-language-toggle:hover { border-color:var(--brand-highlight); background:#8833ff18; }
.header-language-toggle:focus-visible { border-color:var(--brand-primary); outline:2px solid var(--brand-highlight); outline-offset:3px; }
.header-language-menu { position:absolute; z-index:30; top:calc(100% + 10px); right:0; width:176px; padding:6px; border:1px solid #974cff65; border-radius:15px; background:var(--brand-night); box-shadow:0 14px 35px #0006; }
.header-language-menu[hidden] { display:none; }
.header-language-option { display:flex; align-items:center; justify-content:space-between; gap:12px; width:100%; min-height:44px; padding:10px 12px; border:0; border-radius:10px; background:transparent; color:var(--text-light); font:500 13px/1.4 var(--font-text); text-align:left; cursor:pointer; }
.header-language-option:hover,
.header-language-option:focus-visible { background:#8833ff20; outline:2px solid var(--brand-primary); outline-offset:-2px; }
.header-language-option[aria-checked="true"] { color:#fff; background:var(--brand-primary); }
.header-language-option>svg { width:15px; height:15px; fill:none; stroke:currentColor; stroke-width:2; opacity:0; }
.header-language-option[aria-checked="true"]>svg { opacity:1; }
.header-language-label { position:absolute; width:1px; height:1px; padding:0; margin:-1px; overflow:hidden; clip-path:inset(50%); white-space:nowrap; border:0; }
@media(max-width:1000px) {
  .site-header .header-language { margin-left:auto; }
  .site-header .header-cta { margin-left:0; }
  .site-header .menu-toggle { width:44px; height:44px; flex:none; }
  .site-header .primary-nav { gap:0; }
}
@media(max-width:700px) {
  .site-header { gap:6px; }
  .site-header>.brand { width:96px; }
  .site-header .header-language { width:65px; }
  .header-language-toggle { padding-inline:6px; gap:4px; font-size:10px; }
  .header-language-toggle>svg { width:14px; height:14px; }
  .header-language-toggle>svg.header-language-chevron { width:10px; height:10px; }
  .site-header .header-cta { min-height:44px; padding:9px 11px; font-size:11px; white-space:nowrap; }
  .site-header .header-cta>span { display:none; }
}
@media(max-width:380px) {
  .site-header { display:grid; grid-template-columns:minmax(0,1fr) auto; grid-template-rows:44px 44px; gap:6px 12px; height:114px; padding-block:9px; }
  .site-header>.brand { grid-column:1; grid-row:1; width:112px; }
  .site-header .header-language { grid-column:2; grid-row:1; width:74px; justify-self:end; }
  .site-header .header-cta { grid-column:1; grid-row:2; justify-self:start; padding-inline:16px; font-size:12px; }
  .site-header .menu-toggle { grid-column:2; grid-row:2; justify-self:end; }
  .site-header .primary-nav { top:108px; }
}
