/* Language controls share the typography and spacing of the existing site. */
.language-switch {
  appearance: none;
  border: 0;
  background: none;
  color: inherit;
  font: inherit;
  cursor: pointer;
  padding: 6px 0;
  white-space: nowrap;
  text-decoration: none;
}
.language-switch:focus-visible { outline: 2px solid currentColor; outline-offset: 6px; }
.footer-editions { margin-top: 30px; }
.footer-editions a:focus-visible { outline: 2px solid white; outline-offset: 4px; }
.intro-language-switch {
  position: absolute;
  z-index: 6;
  right: var(--page-gutter, 4vw);
  bottom: 82px;
  min-height: 36px;
  font-size: 13px;
  letter-spacing: .04em;
  text-shadow: 0 1px 5px rgba(0,0,0,.6);
}
html:lang(zh-CN) { --font-sans: Arial, "PingFang SC", "Microsoft YaHei", sans-serif; }
html:lang(zh-CN) .home-intro-copy h2 { font-family: "Songti SC", "Noto Serif SC", "SimSun", serif; line-height: 1.4; }
@media (max-width: 640px) {
  .intro-language-switch { bottom: 100px; right: 24px; }
}
/* Legal links wrap naturally instead of exposing a horizontal scrollbar. */
.site-footer .footer-legal { flex-wrap: wrap; overflow-x: visible; }
.site-footer .footer-legal p { min-width: 0; flex: 1 1 480px; }
