/* Approved typography, 2026-11-28. Deliberately no geometry, color or image overrides. */
@font-face {
  font-family: 'Wanshun Inter';
  src: url('fonts/Inter.ttf') format('truetype');
  font-weight: 100 900;
  font-style: normal;
  font-display: swap;
}
@font-face {
  font-family: 'Wanshun Mono';
  src: url('fonts/JetBrainsMono.ttf') format('truetype');
  font-weight: 100 800;
  font-style: normal;
  font-display: swap;
}
body.ws-type-approved {
  --ws-approved-sans: 'Wanshun Inter', 'Noto Sans SC', 'Source Han Sans SC', 'Microsoft YaHei', Arial, sans-serif;
  font-family: var(--ws-approved-sans);
  font-weight: 400;
  font-optical-sizing: auto;
}
/* Do not apply to every span/i: icon fonts and WP admin toolbar must remain intact. */
.ws-type-approved :is(.ws-header,.ws-footer,#main-content,.ws-floating-actions,.wsc-cookie),
.ws-type-approved :is(.ws-form,.wpcf7,.ws-inquiry-panel) :is(input,select,textarea,button),
.ws-type-approved :is(.ws-btn,.ws-header-quote,.ws-video-filter,.ws-video-card-watch,.ws-hero-index button) {
  font-family: var(--ws-approved-sans);
}
.ws-type-approved :is(h1,h2,h3,h4,h5,h6,p,li,th,td,label,.ws-btn,.ws-primary-nav a) {
  -webkit-hyphens: none;
  hyphens: none;
}

/* Navigation: retain existing menu items, language controls and responsive widths. */
.ws-type-approved .ws-header img[src*="/wanshun-b2b/assets/images/wanshun-logo.svg"] { content: url('wanshun-brand-light.svg'); }
.ws-type-approved .ws-footer img[src*="/wanshun-b2b/assets/images/wanshun-logo.svg"] { content: url('wanshun-brand-dark.svg'); }
.ws-type-approved .ws-primary-nav > ul > li > a {
  font-weight: 420;
  line-height: 1.30;
  letter-spacing: -.15px;
  text-transform: none;
}
.ws-type-approved .ws-primary-nav > ul > li:nth-child(2) > a { letter-spacing: -.25px; }
.ws-type-approved .ws-primary-nav > ul > li:nth-child(3) > a { letter-spacing: 0; }
.ws-type-approved .ws-primary-nav > ul > li:nth-child(4) > a { letter-spacing: -.1px; }
.ws-type-approved .ws-header-quote { font-weight: 450; line-height: 1.3; letter-spacing: -.15px; text-transform: none; }
.ws-type-approved .ws-languages :is(a,span) { font-weight: 500; line-height: 1.35; letter-spacing: 0; }
.ws-type-approved .ws-topbar { font-weight: 400; line-height: 1.4; letter-spacing: 0; }
.ws-type-approved .ws-mega-category { font-weight: 500 !important; line-height: 1.32; letter-spacing: -.1px; }
.ws-type-approved .ws-mega-child { font-weight: 450 !important; line-height: 1.36; letter-spacing: 0; }
.ws-type-approved .ws-mega-panel > p { font-weight: 500; line-height: 1.3; letter-spacing: .025em; text-transform: none; }

/* Hero: 650 instead of black/extra-bold; retain the current slide text and images. */
.ws-type-approved .ws-hero-v14 h1 { font-size: clamp(36px, 4vw, 53px); font-weight: 650; line-height: 1.08; letter-spacing: -3px; text-transform: none; }
.ws-type-approved .ws-hero-v14 .ws-eyebrow { font-weight: 400; line-height: 1.25; letter-spacing: .04em; }
.ws-type-approved .ws-hero-v14 p { font-weight: 400; line-height: 1.4; letter-spacing: 0; }
.ws-type-approved .ws-hero-v14 .ws-btn { font-weight: 500; line-height: 1.2; letter-spacing: 0; text-transform: none; }
.ws-type-approved .ws-hero-index button strong { font-weight: 500; line-height: 1.2; letter-spacing: -.4px; }
.ws-type-approved .ws-hero-index button span { font-weight: 450; line-height: 1.28; letter-spacing: 0; }
.ws-type-approved .ws-hero-counter { font-weight: 450; letter-spacing: 0; }

/* Different editorial treatments for different sections, not a global heading recipe. */
.ws-type-approved .ws-section-intro h2 { font-weight: 600; line-height: 1.15; letter-spacing: -.8px; }
.ws-type-approved .ws-about-copy h2 { font-weight: 600; line-height: 1.12; letter-spacing: -.65px; }
.ws-type-approved .ws-market-copy h2 { font-weight: 600; line-height: 1.18; letter-spacing: -.45px; }
.ws-type-approved .ws-inquiry-copy h2 { font-weight: 600; line-height: 1.16; letter-spacing: -.55px; }
.ws-type-approved .ws-page-hero h1 { font-weight: 650; line-height: 1.11; letter-spacing: -1.4px; }
.ws-type-approved .ws-page-head h1 { font-weight: 650; line-height: 1.12; letter-spacing: -1.3px; }
.ws-type-approved .ws-page-head p { font-weight: 400; line-height: 1.42; letter-spacing: 0; }
.ws-type-approved .ws-contact-hero h1 { font-weight: 650; line-height: 1.13; letter-spacing: -1.6px; }
.ws-type-approved .ws-video-hero h1 { font-weight: 650; line-height: 1.10; letter-spacing: -1.25px; }
.ws-type-approved .ws-eyebrow { font-weight: 500; line-height: 1.3; letter-spacing: .035em; text-transform: none; }
.ws-type-approved :is(.ws-section-intro,.ws-about-copy,.ws-market-copy,.ws-inquiry-copy) p {
  font-weight: 400; line-height: 1.45; letter-spacing: 0;
}
.ws-type-approved :is(.ws-contact-hero,.ws-video-hero,.ws-page-hero) p { font-weight: 400; line-height: 1.42; letter-spacing: 0; }
.ws-type-approved .ws-about-copy li { font-weight: 400; line-height: 1.46; letter-spacing: 0; }

/* Product cards, supporting cards and product detail each keep their own rhythm. */
.ws-type-approved .ws-product-card h3 { font-weight: 600; line-height: 1.22; letter-spacing: -.35px; }
.ws-type-approved .ws-card-body p { font-weight: 400; line-height: 1.4; letter-spacing: 0; }
.ws-type-approved .ws-card-meta { font-weight: 500; line-height: 1.33; letter-spacing: .015em; text-transform: none; }
.ws-type-approved .ws-category-card :is(h2,h3,strong) { font-weight: 550; line-height: 1.24; letter-spacing: -.2px; }
.ws-type-approved .ws-case-card h3 { font-weight: 550; line-height: 1.27; letter-spacing: -.15px; }
.ws-type-approved .ws-resource-card h3 { font-weight: 550; line-height: 1.3; letter-spacing: -.3px; }
.ws-type-approved .ws-process-grid h3 { font-weight: 550; line-height: 1.26; letter-spacing: -.2px; }
.ws-type-approved :is(.ws-process-grid,.ws-case-card,.ws-resource-card) p { font-weight: 400; line-height: 1.43; letter-spacing: 0; }
.ws-type-approved .ws-product-summary h1 { font-weight: 600; line-height: 1.12; letter-spacing: -.5px; }
.ws-type-approved .ws-product-summary .ws-lead { font-weight: 400; line-height: 1.4; letter-spacing: 0; }
.ws-type-approved .ws-product-badges span { font-weight: 500; line-height: 1.33; letter-spacing: 0; text-transform: none; }
.ws-type-approved .ws-product-tabs h2 { font-weight: 550; line-height: 1.21; letter-spacing: -.35px; }
.ws-type-approved .ws-spec-table { font-family: var(--ws-approved-sans); }
.ws-type-approved .ws-spec-table th { font-weight: 500; line-height: 1.33; letter-spacing: 0; }
.ws-type-approved .ws-spec-table td { font-weight: 400; line-height: 1.35; letter-spacing: 0; }
.ws-type-approved .ws-spec-table td.ws-type-number { font-family: 'Wanshun Mono',var(--ws-approved-sans); font-weight: 400; line-height: 1.36; }
.ws-type-approved .ws-spec-notice { font-weight: 400; line-height: 1.44; letter-spacing: 0; }
.ws-type-approved .ws-custom-spec-content { font-family: var(--ws-approved-sans); font-weight: 400; line-height: 1.5; letter-spacing: 0; }

/* Long-form copy and forms. */
.ws-type-approved :is(.ws-entry,.ws-insight-content) { font-family: var(--ws-approved-sans); font-weight: 400; }
.ws-type-approved :is(.ws-entry,.ws-insight-content) p { line-height: 1.5; letter-spacing: 0; }
.ws-type-approved :is(.ws-entry,.ws-insight-content) li { line-height: 1.48; letter-spacing: 0; }
.ws-type-approved :is(.ws-entry,.ws-insight-content) h2 { font-weight: 600; line-height: 1.23; letter-spacing: -.45px; }
.ws-type-approved :is(.ws-entry,.ws-insight-content) h3 { font-weight: 550; line-height: 1.28; letter-spacing: -.15px; }
.ws-type-approved :is(.ws-entry,.ws-insight-content) h4 { font-weight: 500; line-height: 1.32; letter-spacing: 0; }
.ws-type-approved .ws-insight-card h2 { font-weight: 600; line-height: 1.26; letter-spacing: -.3px; }
.ws-type-approved .ws-insight-meta { font-weight: 450; line-height: 1.32; letter-spacing: .015em; text-transform: none; }
.ws-type-approved .ws-inquiry-panel h2 { font-weight: 600; line-height: 1.22; letter-spacing: -.4px; }
.ws-type-approved :is(.ws-form,.wpcf7) label { font-weight: 500; line-height: 1.35; letter-spacing: 0; }
.ws-type-approved :is(.ws-form,.wpcf7) :is(input,select,textarea) { font-weight: 400; line-height: 1.4; letter-spacing: 0; }
.ws-type-approved .ws-btn { font-weight: 500; line-height: 1.25; letter-spacing: 0; text-transform: none; }
.ws-type-approved .ws-text-link { font-weight: 500; line-height: 1.35; letter-spacing: 0; }
.ws-type-approved .ws-faq summary { font-weight: 500; line-height: 1.38; letter-spacing: -.1px; }
.ws-type-approved .ws-faq p { font-weight: 400; line-height: 1.48; letter-spacing: 0; }
.ws-type-approved .ws-pagination { font-weight: 450; line-height: 1.3; letter-spacing: 0; }

/* Video, contact, footer and floating labels. Existing icons remain untouched. */
.ws-type-approved .ws-video-card-body h2 { font-weight: 600; line-height: 1.24; letter-spacing: -.25px; }
.ws-type-approved .ws-video-card-body p { font-weight: 400; line-height: 1.42; letter-spacing: 0; }
.ws-type-approved .ws-video-filter { font-weight: 450; line-height: 1.3; letter-spacing: 0; }
.ws-type-approved .ws-video-card-watch { font-weight: 500; line-height: 1.26; letter-spacing: 0; }
.ws-type-approved .ws-video-card-details { font-weight: 450; letter-spacing: 0; }
.ws-type-approved .ws-contact-method small { font-weight: 500; line-height: 1.32; letter-spacing: .025em; text-transform: none; }
.ws-type-approved .ws-contact-method strong { font-weight: 500; line-height: 1.28; letter-spacing: -.1px; }
.ws-type-approved .ws-contact-method em { font-weight: 400; line-height: 1.4; letter-spacing: 0; }
.ws-type-approved .ws-contact-promise h2 { font-weight: 550; line-height: 1.25; letter-spacing: -.25px; }
.ws-type-approved .ws-contact-promise li { font-weight: 400; line-height: 1.45; letter-spacing: 0; }
.ws-type-approved .ws-footer h3 { font-weight: 550; line-height: 1.25; letter-spacing: -.1px; }
.ws-type-approved .ws-footer p { font-weight: 400; line-height: 1.45; letter-spacing: 0; }
.ws-type-approved .ws-footer li { font-weight: 400; line-height: 1.4; letter-spacing: 0; }
.ws-type-approved .ws-footer-kicker { font-weight: 500; line-height: 1.3; letter-spacing: .04em; text-transform: none; }
.ws-type-approved .ws-footer-contact-links small { font-weight: 400; line-height: 1.33; letter-spacing: .02em; text-transform: none; }
.ws-type-approved .ws-footer-contact-links strong { font-weight: 450; line-height: 1.3; letter-spacing: 0; }
.ws-type-approved .ws-footer-bottom { font-weight: 400; line-height: 1.3; letter-spacing: 0; }
.ws-type-approved .ws-float-label { font-weight: 500; line-height: 1.25; letter-spacing: 0; }
.ws-type-approved .wsc-cookie { font-weight: 400; line-height: 1.45; letter-spacing: 0; }
.ws-type-approved .wsc-cookie button { font-family: var(--ws-approved-sans); font-weight: 500; line-height: 1.3; letter-spacing: 0; }

/* Exact editorial breaks only on known desktop English headings. */
.ws-type-approved .ws-type-break { display: none; }
@media (min-width: 1100px) { .ws-type-approved .ws-type-break { display: initial; } }
@media (max-width: 760px) {
  .ws-type-approved .ws-hero-v14 h1 { letter-spacing: -1.2px; line-height: 1.1; }
  .ws-type-approved .ws-contact-hero h1 { letter-spacing: -.6px; line-height: 1.15; }
  .ws-type-approved .ws-video-hero h1 { letter-spacing: -.5px; line-height: 1.12; }
  .ws-type-approved .ws-product-summary h1 { letter-spacing: -.3px; line-height: 1.14; }
}
/* Latin spacing rules must not compress Chinese or separate Arabic joining. */
.ws-type-approved :is(h1,h2,h3,h4,p,a,button,span,small,strong):lang(zh) { letter-spacing: normal; }
.ws-type-approved :is(h1,h2,h3,h4,p,a,button,span,small,strong):lang(ar) { letter-spacing: normal; }
.ws-type-approved :is(h1,h2,h3,h4):lang(zh) { line-height: 1.3; }
.ws-type-approved :is(h1,h2,h3,h4):lang(ar) { line-height: 1.4; }
