@font-face {
  font-family: "Noto Sans TC";
  src: url("/assets/fonts/noto-sans-tc.ttf") format("truetype");
  font-style: normal;
  font-weight: 100 900;
  font-display: swap;
}
/* Text widgets set their own family, including inline styles. Keep icons on
   their original fonts and apply the local CJK face to text controls only. */
html[lang="zh-Hant"] :is(p, a, label, input, button, textarea, select, h1, h2, h3, h4, h5, h6),
html[lang="zh-Hant"] :is(.qodef-menu-item-text, .qodef-m-text, .qodef-m-title, .qodef-e-title, .qodef-e-author-name, .qodef-m-title-text, .qodef-social-title, .qodef-m-nav-label) {
  font-family: "Noto Sans TC", sans-serif !important;
}
html[lang="zh-Hant"] body,
html[lang="zh-Hant"] h1,
html[lang="zh-Hant"] h2,
html[lang="zh-Hant"] h3,
html[lang="zh-Hant"] h4,
html[lang="zh-Hant"] h5,
html[lang="zh-Hant"] h6,
html[lang="zh-Hant"] input,
html[lang="zh-Hant"] button,
html[lang="zh-Hant"] textarea,
html[lang="zh-Hant"] .cky-consent-container,
html[lang="zh-Hant"] .cky-modal {
  font-family: "Noto Sans TC", sans-serif;
}
html[lang="zh-Hant"] .blue-prototype :is(.blue-intro__title, .blue-marquee),
html[lang="zh-Hant"] :is(.qodef-header-navigation, .qodef-fullscreen-menu, .qodef-page-footer) a,
html[lang="zh-Hant"] :is(.cky-consent-container, .cky-modal) *,
section[lang="zh-Hant"] {
  font-family: "Noto Sans TC", sans-serif;
}
html[lang="zh-Hant"] :is(h1, h2, h3, h4, h5, h6) {
  letter-spacing: .02em;
  overflow-wrap: anywhere;
}
html[lang="zh-Hant"] .qodef-blog :is(h1, h2, h3, h4, h5, h6) {
  line-height: 1.3 !important;
}
html[lang="zh-Hant"] :is(p, li) {
  line-height: 1.7;
}
@media (max-width: 1024px) {
  html[lang="zh-Hant"] .qodef-fullscreen-menu > ul > li > a {
    font-size: clamp(22px, 6.5vw, 40px);
    line-height: 1.5;
    min-height: 44px;
  }
}
