/* Shared navigation owns its dimensions on every route and scroll position. */
:root { --site-header-height:64px; }
html body #site-header {
  position:fixed!important; inset:0 0 auto!important; z-index:1000; width:100%!important;
  height:var(--site-header-height)!important; min-height:var(--site-header-height)!important;
  padding:0!important; margin:0!important; display:flex; align-items:center;
  background:rgba(255,255,255,.97)!important; color:#192a3c;
  border:0!important; border-bottom:1px solid #e7ecf2!important; box-shadow:none!important;
  backdrop-filter:blur(16px)!important; -webkit-backdrop-filter:blur(16px)!important;
  transition:none!important; transform:none!important;
}
html body #site-header>.container {
  display:flex; align-items:center; justify-content:space-between; gap:24px;
  height:100%; width:100%!important; max-width:1320px!important; padding:0 40px!important; margin:0 auto!important;
}
html body #site-header .logo { flex:none; margin:0; padding:0; }
html body #site-header .logo>a { display:flex; align-items:center; gap:10px; min-height:44px; color:#192a3c!important; }
html body #site-header .logo img { display:block; width:36px!important; height:36px!important; margin:0!important; border-radius:9px; transform:none!important; }
html body #site-header .site-brand-name { font-size:20px!important; font-weight:650; line-height:1.2; letter-spacing:-.02em; color:#192a3c!important; white-space:nowrap; }
html body #site-header nav { display:flex; align-items:center; gap:12px; height:100%; }
html body #site-header .nav-links { display:flex; align-items:center; gap:4px; padding:0!important; margin:0!important; list-style:none; }
html body #site-header .nav-links li { margin:0!important; padding:0!important; }
html body #site-header .nav-links a {
  display:flex!important; align-items:center; justify-content:center; min-height:44px;
  padding:0 10px!important; margin:0!important; font:500 13px/1.4 -apple-system,BlinkMacSystemFont,'PingFang SC',sans-serif;
  color:#475569!important; white-space:nowrap; background:transparent!important; border:0; border-radius:0;
  text-decoration:none!important; transform:none!important; animation:none!important; position:relative;
}
html body #site-header .nav-links a::before { display:none!important; }
html body #site-header .nav-links a::after {
  content:''; display:block!important; position:absolute; left:10px!important; right:10px!important; bottom:4px!important;
  width:auto!important; height:2px!important; border-radius:2px; background:#386ce6!important;
  transform:none!important; opacity:0; transition:opacity .15s;
}
html body #site-header .nav-links a:hover,html body #site-header .nav-links a:not(.nav-cta)[aria-current="page"] { color:#2863dd!important; }
html body #site-header .nav-links a[aria-current="page"]::after { opacity:1; }
html body #site-header .nav-links a.nav-cta {
  min-height:36px; padding:0 17px!important; margin-left:10px!important; background:#386ce6!important;
  color:#fff!important; border-radius:10px; box-shadow:none!important;
}
html body #site-header .nav-links a.nav-cta::after { display:none!important; }
html body #site-header .lang-switcher { margin:0!important; }
html body #site-header .lang-switcher__trigger { min-height:44px; padding:0 10px!important; color:#475569!important; font-size:13px!important; background:transparent!important; }
html body #site-header .lang-switcher__option { min-height:40px; color:#475569!important; }
html body #site-header .lang-switcher__option.is-active { color:#2863dd!important; }
html body #site-header .hamburger { display:none!important; }
html body #site-header .nav-overlay { display:none!important; }
html body #site-header :where(a,button):focus-visible { outline:3px solid #386ce6!important; outline-offset:3px!important; }
@media(max-width:1200px) {
  html body #site-header>.container { padding:0 24px!important; gap:16px; }
  html body #site-header .nav-links {
    display:none!important; position:absolute!important; inset:calc(100% + 8px) 24px auto auto!important;
    width:min(360px,calc(100% - 48px))!important; height:auto!important; max-height:calc(100dvh - 88px);
    overflow-y:auto!important; flex-direction:column!important; align-items:stretch!important; gap:0;
    padding:10px!important; background:#fff!important; border:1px solid #e7ecf2!important; border-radius:16px!important;
    box-shadow:0 12px 36px #17203920!important; transform:none!important; animation:none!important; transition:none!important;
  }
  html body #site-header .nav-links.active { display:flex!important; }
  html body #site-header .nav-links::before,html body #site-header .nav-links::after { display:none!important; }
  html body #site-header .nav-links a { justify-content:flex-start; padding:10px 14px!important; border-radius:8px; font-size:14px; visibility:visible!important; opacity:1!important; }
  html body #site-header .nav-links a::after { display:none!important; }
  html body #site-header .nav-links a:not(.nav-cta)[aria-current="page"] { background:#eef4ff!important; }
  html body #site-header .nav-links a.nav-cta { justify-content:center; min-height:44px; margin:6px 0 0!important; }
  html body #site-header nav .hamburger {
    display:flex!important; visibility:visible!important; opacity:1!important; pointer-events:auto!important;
    width:44px!important; height:44px!important; padding:11px!important; flex:none; flex-direction:column;
    justify-content:center!important; gap:5px!important; position:relative!important;
    background:transparent!important; border:0!important; box-shadow:none!important; border-radius:10px!important;
    transform:none!important; animation:none!important;
  }
  html body #site-header nav .hamburger span { width:22px!important; height:2px!important; flex:none; margin:0!important; background:#475569!important; box-shadow:none!important; transform:none!important; opacity:1!important; }
  html body #site-header nav .hamburger::before,html body #site-header nav .hamburger::after,html body #site-header nav .hamburger span::before,html body #site-header nav .hamburger span::after { display:none!important; }
  html body #site-header nav .hamburger.active { background:#eef4ff!important; }
  html body #site-header nav .hamburger.active span:nth-child(1) { transform:translateY(7px) rotate(45deg)!important; }
  html body #site-header nav .hamburger.active span:nth-child(2) { opacity:0!important; }
  html body #site-header nav .hamburger.active span:nth-child(3) { transform:translateY(-7px) rotate(-45deg)!important; }
}
@media(max-width:480px) {
  html body #site-header>.container { padding:0 16px!important; gap:8px; }
  html body #site-header nav { gap:0; }
  html body #site-header .logo>a { gap:8px; }
  html body #site-header .logo img { width:30px!important; height:30px!important; }
  html body #site-header .site-brand-name { font-size:17px!important; }
  html[lang="en"] body #site-header .site-brand-name { font-size:13px!important; }
  html body #site-header .lang-switcher__trigger { padding-inline:6px!important; font-size:12px!important; }
  html body #site-header .nav-links { right:16px!important; width:calc(100% - 32px)!important; }
}
