/* Language links inherit each original page's theme. Content uses original CSS. */
.language-switcher { display:inline-flex; flex-shrink:0; align-items:center; gap:10px; font-family:inherit; line-height:1.4; }
.language-switcher a { display:inline-flex; align-items:center; min-height:36px; color:inherit; font-size:12px; letter-spacing:normal; text-transform:none; text-decoration:none; white-space:nowrap; }
.language-switcher a[aria-current="page"] { color:var(--cobalt, var(--gold, currentColor)); text-decoration:underline; text-underline-offset:5px; }
.language-switcher a:hover { color:var(--cobalt, var(--gold, currentColor)); }
.language-switcher a:focus-visible { outline:2px solid currentColor; outline-offset:3px; }
@media(max-width:1200px) {
  .nav__links, body > nav .nav-links, body > nav .nav-cta { display:none; }
  .nav__burger, body > nav .mobile-toggle, .nav__mobile { display:flex; }
  body > nav .nav-links.active { display:flex; flex-direction:column; gap:0; position:absolute; top:100%; bottom:auto; left:0; right:0; width:100%; max-height:70vh; overflow-y:auto; margin:0; align-items:stretch; justify-content:flex-start; transform:none; background:var(--bone, var(--midnight)); border-bottom:1px solid var(--rule, var(--gold)); list-style:none; z-index:1000; }
  body > nav .nav-links.active li { width:100%; }
  body > nav .nav-links.active a { display:block; padding:14px 5%; }
}
@media(max-width:600px) {
  .nav__inner, body > nav { gap:8px; }
  .language-switcher { gap:6px; }
  .language-switcher a { font-size:11px; }
}
@media(max-width:340px) {
  .nav__inner, body > nav { flex-wrap:wrap; }
  .nav__inner { height:auto; padding-block:10px; }
  .nav__logo, body > nav .logo { order:1; }
  .nav__burger, body > nav .mobile-toggle { order:2; }
  .language-switcher { order:3; flex-basis:100%; justify-content:center; }
}

/* Keep the original headline size; allow CJK glyphs to clear adjacent lines. */
html[lang="zh-Hans"] .hero__h1, html[lang="ko"] .hero__h1 { line-height:1.08; }
