:root {
    --site-font-family: "Noto Sans TC", "PingFang TC", "Microsoft JhengHei", sans-serif;
    --body-font-size: 16px;
    --body-line-height: 1.9;
}

body {
    font-family: var(--site-font-family);
}

button, input, optgroup, select, textarea {
    font-family: inherit;
}

body,
body article,
body .privacy-policy-container p,
body .about-description-txt,
body .about-block-box1-txt,
body .about-block-box2-left-txt,
body .about-block-box2-right-txt,
body .product-description-txt,
body .index-product-box-item-txt,
body .service-top-content-item,
body .meeting-detail-speaker-description,
body .article-list-li-text {
    font-size: var(--body-font-size);
    font-weight: 400;
    line-height: var(--body-line-height);
}

/* The news list reserves space for two lines of summary text. */
body .article-list-li-text {
    height: calc(2em * var(--body-line-height));
}

h1, h2, h3, h4, h5, h6,
body .index-title,
body .mobile-index-title,
body .index-news-tit,
body .index-download-title,
body .index-service-box-tit,
body .index-service-title1,
body .index-product-tit,
body .index-product-box-item-tit,
body .page-top-title-center,
body .about-tit,
body .about-tit-center,
body .about-block-box1-tit,
body .about-block-box2-left-tit,
body .about-block-box3-tit,
body .about-block4-tit,
body .about-block4-content-tit,
body .contact-title,
body .cl-page-title,
body .service-db-qa-title,
body .service-title,
body .service-list-other-tit,
body .privacy-policy-title {
    font-weight: 500;
}

/* The CMS can store a legacy font on individual text runs. */
article :is(p, div, span, a, li, strong, b, em, td, th, h1, h2, h3, h4, h5, h6)[style*="font-family" i],
article font[face] {
    font-family: var(--site-font-family) !important;
}

article :is(h1, h2, h3, h4, h5, h6),
article :is(h1, h2, h3, h4, h5, h6) :is(b, strong, span) {
    font-weight: 500 !important;
}
