/* Typography only. Sizes, spacing, colours, content and layout are preserved. */
:root{--rd-font-latin:Arial,Helvetica,sans-serif;--rd-font-ui:"RD Web Hei",Arial,Helvetica,sans-serif;--rd-font-prose:"RD Web Fangsong",serif}
html:lang(zh) body{font-family:var(--rd-font-ui)}
html:lang(en) body{font-family:var(--rd-font-latin)}
html:lang(zh) .entry-content :where(p,li,blockquote,figcaption){font-family:var(--rd-font-prose)}
html:lang(zh) :is(h1,h2,h3,h4,h5,h6,.site-header,.site-footer,.main-navigation,.mobile-navigation,button,input,select,textarea,.wp-block-button,.wp-block-kadence-advancedbtn,.rd-catalog-kicker,.rd-hero-kicker,.rd-card-link,.rd-product-title){font-family:var(--rd-font-ui)}
html:lang(en) :is(h1,h2,h3,h4,h5,h6,.site-header,.site-footer,.main-navigation,.mobile-navigation,button,input,select,textarea){font-family:var(--rd-font-latin)}
/* Explicit block font selections remain editable; data cells and controls are always clear sans. */
html:lang(zh) :is(.site-header,.main-navigation,.mobile-navigation,table,.wp-block-button,.wp-block-kadence-advancedbtn,button) :is(p,span,a,li,th,td){font-family:var(--rd-font-ui)!important}
html:lang(en) :is(table,.site-header,.main-navigation,.mobile-navigation,.wp-block-button,.wp-block-kadence-advancedbtn,button) :is(p,span,a,li,th,td){font-family:var(--rd-font-latin)!important}
.editor-styles-wrapper .rd-font-cn-body{font-family:var(--rd-font-prose)}
.editor-styles-wrapper .rd-font-cn-ui,.editor-styles-wrapper table{font-family:var(--rd-font-ui)}
.editor-styles-wrapper .rd-font-latin{font-family:var(--rd-font-latin)}
/* Theme dropdowns and archive cards had legacy !important font declarations. */
html:lang(zh) body #masthead .header-navigation .header-menu-container a,
html:lang(zh) body #archive-container .entry-title,
html:lang(zh) body #archive-container .entry-title a,
html:lang(zh) body :is(button,input,select,textarea,label,.wp-block-button__link,.rd-card-link,.rd-pl-sidebar a,.rd-dlnav-ul a){font-family:var(--rd-font-ui)!important}
html:lang(en) body #masthead .header-navigation .header-menu-container a,
html:lang(en) body #archive-container .entry-title,
html:lang(en) body #archive-container .entry-title a,
html:lang(en) body :is(button,input,select,textarea,label,.wp-block-button__link,.rd-card-link,.rd-pl-sidebar a,.rd-dlnav-ul a){font-family:var(--rd-font-latin)!important}
html:lang(zh) body #archive-container .entry-summary,
html:lang(zh) body #archive-container .entry-summary p{font-family:var(--rd-font-prose)!important}
html:lang(en) body #archive-container .entry-summary,
html:lang(en) body #archive-container .entry-summary p{font-family:var(--rd-font-latin)!important}
