/* Loaded after style.css. Header-only rules replace the old mobile link row. */
.site-header .header-inner{display:grid;grid-template-columns:minmax(0,1fr) auto;align-items:center;gap:.65rem .75rem;padding-block:.8rem}
.site-header .home-logo{grid-column:1;grid-row:1;display:flex;align-items:center;width:7.15rem;max-width:100%;min-width:0;min-height:44px;margin:0}
.site-header .home-logo img{display:block;width:100%;max-width:100%;height:auto}
.site-header .header-actions{grid-column:2;grid-row:1;display:flex;align-items:center;justify-content:flex-end;gap:8px;min-width:0}
.site-header .accessibility-toggle,.site-header .menu-toggle{display:inline-flex;align-items:center;justify-content:center;flex:none;width:44px;height:44px;min-width:44px;min-height:44px;margin:0;padding:8px;border:1px solid currentColor;border-radius:50%;background:transparent;color:inherit;cursor:pointer}
.site-header .accessibility-toggle svg,.site-header .menu-toggle svg{display:block;flex:none;width:24px;height:24px;max-width:100%;fill:none;stroke:currentColor;stroke-width:1.8;stroke-linecap:round;stroke-linejoin:round}
.site-header .accessibility-toggle:hover,.site-header .menu-toggle:hover{background:var(--rose)}
.site-header .menu-toggle .menu-icon-close{display:none}
.site-header .menu-toggle[aria-expanded="true"] .menu-icon-open{display:none}
.site-header .menu-toggle[aria-expanded="true"] .menu-icon-close{display:block}
.site-header .header-menu{grid-column:1/-1;grid-row:2;display:flex;flex-direction:column;align-items:stretch;gap:1.1rem;min-width:0;max-width:100%;padding-top:.75rem;border-top:1px solid var(--line)}
.site-header .main-nav{grid-column:auto;grid-row:auto;order:0;display:flex;flex-direction:column;flex-wrap:nowrap;align-items:stretch;justify-content:flex-start;justify-self:stretch;gap:.125rem;flex-basis:auto;min-width:0;max-width:100%;margin:0;padding:0;border-top:0}
.site-header .main-nav a{display:flex;align-items:center;min-width:0;min-height:44px;max-width:100%;padding:.65rem 0;border-bottom:1px solid var(--line);font-size:1rem;line-height:1.4;overflow-wrap:anywhere}
.site-header .languages{grid-column:auto;grid-row:auto;justify-self:start;justify-content:flex-start;align-items:center;flex-wrap:wrap;gap:.25rem;min-width:0;max-width:100%}
.site-header .languages a{min-width:44px;min-height:44px;padding:.35rem;font-size:.875rem;line-height:1.2}

@media(min-width:58rem){
 /* One desktop row. Enlarged text uses the same compact disclosure as mobile. */
 .site-header:not([data-navigation="compact"]) .header-inner{grid-template-columns:auto minmax(0,1fr) auto auto;gap:.75rem;padding-block:1rem}
 .site-header:not([data-navigation="compact"]) .home-logo{grid-column:1;grid-row:1;width:7.65rem}
 .site-header:not([data-navigation="compact"]) .header-actions{grid-column:4;grid-row:1}
 .site-header:not([data-navigation="compact"]) .menu-toggle{display:none}
 .site-header:not([data-navigation="compact"]) .header-menu{display:contents}
 .site-header:not([data-navigation="compact"]) .main-nav{grid-column:2;grid-row:1;display:flex;flex-direction:row;flex-wrap:nowrap;justify-self:center;justify-content:center;align-items:center;gap:.65rem;padding:0;border-top:0}
 .site-header:not([data-navigation="compact"]) .main-nav a{flex:none;min-height:44px;padding:.3rem 0;border-bottom:0;font-size:.875rem;white-space:nowrap;overflow-wrap:normal}
 .site-header:not([data-navigation="compact"]) .languages{grid-column:3;grid-row:1;justify-self:end;flex-wrap:nowrap}
}

@media(forced-colors:active){
 .site-header .accessibility-toggle,.site-header .menu-toggle{border:2px solid ButtonText;background:ButtonFace;color:ButtonText}
}
