/* Shared EN/ZH Services, Cases and Blog typography. No layout or content changes. */
body.yx-editorial-type-page :is(article.entry > .entry-content, .case-detail-page, .blog-single-wrapper):not(:where(.custom-nav-module *, .bc-site-footer *)) {
    font-family: 'Poppins', 'Microsoft YaHei', 'Noto Sans SC', sans-serif;
    font-size: 18px;
    font-weight: 400;
    line-height: 1.8;
    letter-spacing: 0.1px;
    font-synthesis: none;
}
body.yx-editorial-type-page :is(article.entry > .entry-content, .case-detail-page, .blog-single-wrapper) :is(h1,h2,h3,h4,p,li,a,button,input,textarea,select,label,th,td,dt,dd,summary,figcaption,time):not(:where(.custom-nav-module *, .bc-site-footer *)) {
    font-family: 'Poppins', 'Microsoft YaHei', 'Noto Sans SC', sans-serif !important;
    letter-spacing: 0.1px !important;
}
body.yx-editorial-type-page :is(article.entry > .entry-content, .case-detail-page, .blog-single-wrapper) :is(h1,h2,h3,h4):not(:where(.custom-nav-module *, .bc-site-footer *)) {
    font-weight: 500 !important;
    line-height: 1.3 !important;
    text-shadow: none !important;
}
body.yx-editorial-type-page :is(article.entry > .entry-content, .case-detail-page, .blog-single-wrapper) h1:not(:where(.custom-nav-module *, .bc-site-footer *)) { font-size: 40px !important; overflow-wrap: anywhere; }
body.yx-editorial-type-page :is(article.entry > .entry-content, .case-detail-page, .blog-single-wrapper) h2:not(:where(.custom-nav-module *, .bc-site-footer *)) { font-size: 36px !important; }
body.yx-editorial-type-page :is(article.entry > .entry-content, .case-detail-page, .blog-single-wrapper) :is(h3,h4):not(:where(.custom-nav-module *, .bc-site-footer *)) { font-size: 24px !important; }
body.yx-editorial-type-page :is(article.entry > .entry-content, .case-detail-page, .blog-single-wrapper) :is(p,li):not(:where(.custom-nav-module *, .bc-site-footer *)) {
    font-size: 18px !important;
    font-weight: 400 !important;
    line-height: 1.8 !important;
}
body.yx-editorial-type-page :is(article.entry > .entry-content, .case-detail-page, .blog-single-wrapper) :is(strong,b,th):not(:where(.custom-nav-module *, .bc-site-footer *)) { font-weight: 500 !important; }

/* Standard light-background content uses the About gray; explicit theme colors stay. */
body.yx-editorial-type-page .blog-single-wrapper .entry-content > p:not(.has-text-color):not([style*="color"]),
body.yx-editorial-type-page .case-detail-page .case-section > p:not(.has-text-color):not([style*="color"]):not(:where(.custom-nav-module *, .bc-site-footer *)) { color: #454545 !important; }
body.yx-editorial-type-page .blog-single-wrapper .entry-title,
body.yx-editorial-type-page .blog-single-wrapper .entry-content > :is(h2,h3):not(.has-text-color):not([style*="color"]),
body.yx-editorial-type-page .case-detail-page .case-section > :is(h2,h3):not(.has-text-color):not([style*="color"]):not(:where(.custom-nav-module *, .bc-site-footer *)) { color: #424242 !important; }

/* Table data, dates, filters and secondary columns retain compact readable sizing. */
body.yx-editorial-type-page :is(article.entry > .entry-content, .case-detail-page, .blog-single-wrapper) :is(table,table p,table li,td,th,dt,dd):not(:where(.custom-nav-module *, .bc-site-footer *)) { font-size: 16px !important; line-height: 1.7 !important; }
body.yx-editorial-type-page :is(article.entry > .entry-content, .case-detail-page, .blog-single-wrapper) :is(.hero-meta,.hero-meta a,.breadcrumb,.breadcrumb a,.breadcrumb-minimal,.breadcrumb-minimal a,.blog-card__date,.blog-card__date time,.case-card__date,figcaption):not(:where(.custom-nav-module *, .bc-site-footer *)) { font-size: 14px !important; font-weight: 400 !important; line-height: 1.7 !important; }
body.yx-editorial-type-page :is(article.entry > .entry-content, .case-detail-page, .blog-single-wrapper) :is(.blog-category-filter__link,.blog-category-filter__link span):not(:where(.custom-nav-module *, .bc-site-footer *)) { font-size: 16px !important; font-weight: 500 !important; line-height: 1.5 !important; }
body.yx-editorial-type-page :is(article.entry > .entry-content, .case-detail-page, .blog-single-wrapper) :is(.blog-card__title a,.case-card__title a):not(:where(.custom-nav-module *, .bc-site-footer *)) { font-size: inherit !important; font-weight: 500 !important; line-height: inherit !important; }
body.yx-editorial-type-page :is(article.entry > .entry-content, .case-detail-page, .blog-single-wrapper) :is(.sticky-sidebar-outer, .case-content-right) :is(h2,h3,h4,.module-title):not(:where(.custom-nav-module *, .bc-site-footer *)) { font-size: 20px !important; line-height: 1.4 !important; }
body.yx-editorial-type-page :is(article.entry > .entry-content, .case-detail-page, .blog-single-wrapper) :is(.sticky-sidebar-outer, .case-content-right) :is(p,li,a):not(:where(.custom-nav-module *, .bc-site-footer *)) { font-size: 16px !important; line-height: 1.8 !important; }

body.yx-editorial-type-page :is(article.entry > .entry-content, .case-detail-page, .blog-single-wrapper) :is(.wp-block-button__link,.wp-element-button,.cta-btn,.btn,.button,.inquiry-module__submit,input[type="submit"],button[type="submit"]):not(:where(.custom-nav-module *, .bc-site-footer *)) {
    font-size: 18px !important;
    font-weight: 500 !important;
    line-height: 1.5 !important;
    text-shadow: none !important;
    -webkit-text-stroke: 0 !important;
    font-synthesis: none;
}
body.yx-editorial-type-page :is(article.entry > .entry-content, .case-detail-page, .blog-single-wrapper) :is(input:not([type="submit"]),textarea,select,label):not(:where(.custom-nav-module *, .bc-site-footer *)) { font-size: 16px !important; font-weight: 400 !important; line-height: 1.6 !important; }

@media(max-width:767px) {
    body.yx-editorial-type-page :is(article.entry > .entry-content, .case-detail-page, .blog-single-wrapper) h1:not(:where(.custom-nav-module *, .bc-site-footer *)) { font-size: 32px !important; }
    body.yx-editorial-type-page :is(article.entry > .entry-content, .case-detail-page, .blog-single-wrapper) h2:not(:where(.custom-nav-module *, .bc-site-footer *)) { font-size: 28px !important; }
    body.yx-editorial-type-page :is(article.entry > .entry-content, .case-detail-page, .blog-single-wrapper) :is(h3,h4):not(:where(.custom-nav-module *, .bc-site-footer *)) { font-size: 22px !important; }
    body.yx-editorial-type-page :is(article.entry > .entry-content, .case-detail-page, .blog-single-wrapper) :is(.sticky-sidebar-outer, .case-content-right) :is(h2,h3,h4,.module-title):not(:where(.custom-nav-module *, .bc-site-footer *)) { font-size: 20px !important; }
}
