/* Compact homepage navigation, shared by every standard subpage. */
body.ace-subpage{padding-top:80px}
.ace-site-header{height:80px;background:#336699;border:0;box-shadow:none;overflow:visible;color:#fff}
.ace-site-header .ace-subhead-inner{padding:0 clamp(16px,3vw,48px);gap:56px}
.ace-site-header .ace-subhead-logo .ace-logo{height:40px;animation:ace-glitch-idle 4.5s steps(1,end) infinite}
.ace-site-header .ace-subhead-logo:hover .ace-logo{animation:ace-svg-glitch .45s steps(2,end) infinite}
.ace-site-header .ace-subhead-nav{display:flex;flex:1;min-width:0;margin:0;gap:30px}
.ace-site-header .ace-subhead-links{display:flex;flex-direction:row;gap:36px;width:auto}
.ace-site-header .ace-subhead-links a{font-size:18px;font-weight:800;letter-spacing:0;opacity:.75;padding:0;color:#fff;line-height:1.4}
.ace-site-header .ace-subhead-links a:hover,.ace-site-header .ace-subhead-links a:focus-visible{opacity:1;color:#fff}
.ace-site-header .ace-subhead-social{margin:0 0 0 auto;gap:24px}
.ace-site-header .ace-subhead-social a{font-size:14px;opacity:.55}
.ace-site-header .ace-subhead-social a:hover{opacity:1;color:#fff}
.ace-site-menu{display:none}
.ace-site-header a:focus-visible,.ace-site-menu:focus-visible{outline:2px solid #ffb42a;outline-offset:5px}
@media(max-width:1399px){.ace-site-header .ace-subhead-inner{gap:32px}.ace-site-header .ace-subhead-links{gap:24px}.ace-site-header .ace-subhead-social{gap:16px}}
@media(max-width:1199px){
 .ace-site-header .ace-subhead-inner{justify-content:space-between}
 .ace-site-header .ace-subhead-nav{position:fixed;top:80px;left:0;right:0;bottom:auto;height:auto;box-sizing:border-box;display:flex;flex-direction:column;align-items:flex-start;gap:24px;padding:24px;background:#336699;max-height:calc(100dvh - 80px);overflow:auto;box-shadow:0 12px 22px #142b4340}
 .ace-site-header[data-enhanced] .ace-subhead-nav{display:none}
 .ace-site-header[data-enhanced][data-open] .ace-subhead-nav{display:flex}
 .ace-site-header[data-enhanced] .ace-site-menu{display:flex;gap:12px;align-items:center;border:1px solid #ffffff55;border-radius:8px;padding:10px 14px;background:transparent;color:inherit;font:700 16px 'Open Sans',sans-serif;cursor:pointer}
 .ace-site-header .ace-subhead-links{flex-direction:column;align-items:flex-start;gap:0;width:100%}
 .ace-site-header .ace-subhead-links a{display:block;padding:10px 0;min-height:44px}
 .ace-site-header .ace-subhead-social{margin:0;gap:24px}
}
@media(prefers-reduced-motion:reduce){.ace-site-header .ace-subhead-logo .ace-logo,.ace-site-header .ace-subhead-logo:hover .ace-logo{animation:none}}

/* The homepage keeps its existing hero and sticky container. */
#topContainer .ace-home-header{position:absolute;top:auto;bottom:0;background:transparent;max-height:none}
.ace-home-header .ace-subhead-links a.anchor{margin:0;float:none;border:0}
@media(max-width:1199px){
 #topContainer .ace-home-header{position:fixed;top:0;bottom:auto;background:#336699}
 .ace-home-header .ace-subhead-nav{z-index:1001}
}
