/* Shared text family for the modern site. Classic fonts remain the fallbacks. */
html[data-site-ui='modern'] {
  --site-font-family: 'Microsoft YaHei', '微软雅黑', Arial, sans-serif;
}

html[data-site-ui='modern'] body,
html[data-site-ui='modern'] button,
html[data-site-ui='modern'] input,
html[data-site-ui='modern'] select,
html[data-site-ui='modern'] textarea {
  font-family: var(--site-font-family);
}

/* Imported article markup can carry inline font choices. Points are outside
   this body and keep their existing KaiTi family. Icon font rules stay intact. */
html[data-site-ui='modern'] .news-article-body,
html[data-site-ui='modern'] .news-article-body * {
  font-family: var(--site-font-family) !important;
}
