.seo-header-inner { width:min(1320px,calc(100% - 48px)); max-width:none; }
.seo-nav { gap:18px; margin-left:auto; }
.seo-nav a { display:inline-flex; align-items:center; justify-content:center; min-height:44px; padding:8px 0; font-size:13px; font-weight:400; line-height:1.4; white-space:nowrap; }
.seo-header-cta { display:inline-flex; align-items:center; justify-content:center; gap:7px; min-height:44px; padding:11px 17px; border-radius:10px; background:var(--gold,#e7b961); color:#102e42; text-decoration:none; font-size:13px; font-weight:800; white-space:nowrap; }
.seo-header-cta:hover,.seo-header-cta:focus-visible { transform:translateY(-1px); }
.seo-menu { display:none; position:relative; }
.seo-menu summary { list-style:none; display:grid; place-items:center; min-width:44px; min-height:44px; border:1px solid var(--line,#294153); border-radius:10px; cursor:pointer; font-size:20px; }
.seo-menu summary::-webkit-details-marker { display:none; }
.seo-menu-panel { position:absolute; top:calc(100% + 10px); right:0; z-index:30; width:min(310px,calc(100vw - 32px)); padding:12px; border:1px solid var(--line,#294153); border-radius:14px; background:var(--surface,#0c2639); box-shadow:0 18px 48px #0003; }
.seo-menu-panel a { display:block; padding:12px 14px; border-radius:9px; color:var(--ink,#f4f3ee); text-decoration:none; font-size:14px; font-weight:700; }
.seo-menu-panel a:hover,.seo-menu-panel a:focus-visible { background:var(--surface-hover,#123249); }
.seo-menu-panel .seo-menu-cta { margin-top:8px; background:var(--gold,#e7b961); color:#102e42; text-align:center; }

/* Match the homepage header's compact desktop range before collapsing. */
@media(max-width:1200px) and (min-width:1101px) {
  .seo-header-inner { gap:12px; padding-inline:0; }
  .seo-brand img { width:48px; height:48px; }
  .seo-brand strong { font-size:13px; }
  .seo-brand small { font-size:8px; }
  .seo-nav { gap:12px; }
  .seo-nav a { font-size:12px; }
  .seo-header-cta { padding-inline:14px; font-size:12px; }
  .seo-header .theme-toggle { min-width:66px; }
}

/* The homepage switches to its hamburger at 1100px; SEO pages now do the same. */
@media(max-width:1100px) {
  .seo-nav { display:none; }
  .seo-menu { display:block; }
}
@media(max-width:760px) {
  .seo-header-inner { width:calc(100% - 32px); min-height:68px; flex-wrap:nowrap; padding:0; }
  .seo-header-cta { display:none; }
  .seo-brand { flex:1; }
}
