/* Shared masthead geometry only; edition colours and page layouts stay separate. */
.site-header.wrap,.masthead{width:100%;height:87px;min-height:87px;margin-inline:0;padding:0 max(32px,calc((100% - 1328px)/2));display:flex;align-items:center}
.site-header.wrap{position:relative;z-index:20}
:is(.site-header,.masthead) .brand{display:flex;align-items:center;gap:13px;flex-shrink:0}
:is(.site-header,.masthead) .wordmark{display:flex;font:700 36px/1 Arial,Helvetica,sans-serif;letter-spacing:-.15em}
:is(.site-header,.masthead) .wordmark>*{font:inherit;letter-spacing:inherit}
:is(.site-header,.masthead) :is(.brand-name,.brand-caption){display:block;font:10px/1.1 "Courier New",monospace;letter-spacing:.08em}
/* The pill retains the same white/black split on either masthead. */
.brand-cluster{display:flex;align-items:center;gap:25px;flex-shrink:0}
.edition-switch{display:inline-flex;flex-shrink:0;border:1px solid #888b82;border-radius:999px;isolation:isolate;line-height:1}
.edition-switch .edition-choice{display:inline-flex;align-items:center;justify-content:center;gap:6px;min-width:58px;min-height:36px;padding:0 11px;font:700 11px/1 "Courier New",monospace;letter-spacing:.02em;text-decoration:none;position:relative;touch-action:manipulation}
.edition-switch .edition-lite{background:#fff;color:#111;border-radius:999px 0 0 999px}
.edition-switch .edition-max{background:#111;color:#fff;border-radius:0 999px 999px 0}
.edition-choice::before{content:"";width:4px;height:4px;border-radius:50%;background:currentColor;opacity:0;flex-shrink:0}
.edition-choice[aria-current=true]::before{opacity:1}
.edition-choice:hover{text-decoration:underline;text-underline-offset:4px}
.edition-choice:focus-visible{outline:3px solid #6184ff;outline-offset:3px;z-index:2}
@media(max-width:1100px){.brand-cluster{gap:18px}}
@media(max-width:800px){
 .site-header.wrap,.masthead{height:76px;min-height:76px;padding-inline:17px}
 :is(.site-header,.masthead) .wordmark{font-size:32px}
 :is(.site-header,.masthead) :is(.brand-name,.brand-caption){display:none}
 .site-header .nav-links{top:100%;padding:18px 17px}
 .brand-cluster{gap:13px}
 .edition-switch .edition-choice{min-width:49px;min-height:44px;padding:0 8px;font-size:10px;gap:5px}
}
@media(max-width:700px){
 .masthead{gap:10px}
 .masthead nav{gap:11px}
 .masthead .motion-control{padding-left:8px}
}
@media(max-width:370px){
 .site-header.wrap,.masthead{padding-inline:12px}
 .masthead{gap:8px}
 .brand-cluster{gap:8px}
 .masthead nav{gap:8px}
 :is(.site-header,.masthead) .wordmark{font-size:29px}
 .edition-switch .edition-choice{min-width:45px;padding:0 6px}
}
