/* Shared by every public route through style_seo_head().
   Keep the existing sizes, spacing and layouts; unify only the type family.
   Locale-specific stacks retain Japanese Mincho and Chinese Song-style glyphs. */
:root {
  --site-serif: "Hiragino Mincho ProN", "Yu Mincho", YuMincho, "Noto Serif JP", Georgia, serif;
}
html:lang(zh-Hant) {
  --site-serif: "Songti TC", "Noto Serif TC", "PMingLiU", "MingLiU", Georgia, serif;
}
html:lang(zh-Hans) {
  --site-serif: "Songti SC", "Noto Serif SC", "SimSun", Georgia, serif;
}
html:lang(en) {
  --site-serif: Georgia, "Times New Roman", serif;
}

/* Family-only priority also covers the legacy stylesheet loaded by app.js. */
html body {
  font-family: var(--site-serif) !important;
}
html body :is(h1, h2, h3, h4, h5, h6, button, input, select, option, textarea,
  .seo-languages, .seo-categories) {
  font-family: inherit !important;
}

/* The homepage keeps its approach anchor as well as the new About page link. */
.site-header .main-nav > a {
  white-space: nowrap;
}
