/* Homepage hierarchy: the four official Source Han Sans faces defined in site-fonts.css. */
.xinocler-home {
  --site-font: var(--cn-font);
  --primary-font: var(--site-font);
  --alt-font: var(--site-font);
  --bs-body-font-family: var(--site-font);
  font-family: var(--site-font);
  --home-type-title-weight: 300;
  --home-type-body-weight: 300;
  font-weight: var(--home-type-body-weight);
  font-kerning: normal;
  text-rendering: optimizeLegibility;
  -webkit-font-smoothing: antialiased;
}

.xinocler-home .navbar .navbar-nav .nav-link,
.xinocler-home .header-button .btn,
.xinocler-home .xinocler-hero-actions .btn {
  font-weight: 400;
  letter-spacing: var(--tracking-control);
}

.xinocler-home header .header-button .btn {
  font-size: 12px;
  font-weight: var(--type-normal) !important;
}

.xinocler-home .xinocler-video-hero .xinocler-bilingual-title {
  font-weight: var(--home-type-title-weight) !important;
  letter-spacing: 0 !important;
  text-shadow: 0 2px 18px rgb(0 0 0 / 32%);
}

.xinocler-home .xinocler-video-hero .hero-title-cn {
  font-size: clamp(30px, 2.8vw, 40px);
  font-weight: var(--home-type-title-weight);
  line-height: 1.35;
  letter-spacing: .065em;
  padding-left: .065em;
}

.xinocler-home .xinocler-video-hero .hero-title-en {
  font-size: clamp(16px, 1.4vw, 20px);
  font-weight: 400 !important;
  line-height: 1.3;
  letter-spacing: .01em;
  opacity: .94;
  margin-top: 1px;
}

.xinocler-home .hero-title-en + .hero-title-cn { margin-top: 22px; }
.xinocler-home .xinocler-video-hero .hero-translation {
  position: relative;
  top: 28px;
  width: max-content;
  max-width: 100%;
  margin-inline: auto;
  font-size: clamp(24px, 2.2vw, 31px) !important;
  font-weight: 700 !important;
  line-height: 1.25;
  letter-spacing: .005em;
  font-kerning: normal;
  text-wrap: balance;
  opacity: 1;
  margin-top: 22px;
  text-shadow: 0 2px 16px rgb(0 0 0 / 25%);
}

.xinocler-home .xinocler-editorial .xinocler-mission :is(h2,h3) {
  font-weight: 400 !important;
  letter-spacing: .015em !important;
  line-height: 1.4;
}
.xinocler-home .xinocler-editorial .xinocler-mission-cn {
  font-weight: 400;
  line-height: 1.9;
  letter-spacing: .025em;
}
.xinocler-home .xinocler-mission-en {
  font-style: normal;
  font-weight: 350;
  font-size: 12px;
  line-height: 1.85;
  letter-spacing: .015em;
}
.xinocler-home .company-description {
  font-weight: 300;
  line-height: 1.95;
  letter-spacing: var(--tracking-body);
}

.xinocler-home .solutions-heading h2,
.xinocler-home .homepage-product-directory .product-directory-heading h2,
.xinocler-home .news-editorial-heading h2 {
  font-weight: var(--home-type-title-weight) !important;
  letter-spacing: var(--tracking-heading);
  line-height: 1.55;
}
.xinocler-home .news-editorial-feature h3,
.xinocler-home .news-editorial-brief h3,
.xinocler-home .capabilities-heading :is(h2,h3) {
  font-weight: var(--home-type-title-weight) !important;
  letter-spacing: var(--tracking-heading) !important;
}
.xinocler-home .capability-entry :is(h3,h4),
.xinocler-home .homepage-product-directory .directory-product-body h2 {
  font-weight: var(--home-type-title-weight);
  letter-spacing: var(--tracking-heading);
}
.xinocler-home .xinocler-contact-invitation h2 {
  font-weight: 400;
  line-height: 1.4;
  letter-spacing: .04em !important;
}

@media (max-width: 575px) {
  .xinocler-home .xinocler-video-hero .hero-title-cn {
    font-size: clamp(25px, 6.7vw, 30px);
    letter-spacing: .045em;
    padding-left: .03em;
    line-height: 1.4;
  }
  .xinocler-home .xinocler-video-hero .hero-title-en {
    max-width: 31em;
    font-size: clamp(14px, 3.7vw, 16px);
    margin: 1px auto 0;
    line-height: 1.3;
    letter-spacing: 0;
  }
  .xinocler-home .xinocler-video-hero .hero-translation {
    font-size: clamp(24.5px, 6.7vw, 30px) !important;
    line-height: 1.3;
    margin-top: 18px;
  }
  .xinocler-home .hero-title-en + .hero-title-cn { margin-top: 18px; }
}

/* Reset template utility weights before applying the four-face hierarchy. */
.xinocler-home :is(h1,h2,h3,h4,h5,h6,p,a,span,small,div,figcaption,address,li,button,input,select,textarea):not([data-site-header] *,[data-site-footer] *) {
  font-family: var(--cn-font) !important;
  font-weight: 300 !important;
  font-style: normal;
}
.xinocler-home :is(.nav-link,.btn,label,.capability-entry :is(h3,h4),.directory-product-body h2,.news-editorial-feature h3,.news-editorial-brief h3,.feature-box-content span) {
  font-weight: 400 !important;
}
.xinocler-home :is(.company-eyebrow,.news-editorial-meta,.news-editorial-eyebrow,.product-directory-eyebrow,.directory-product-category,.directory-product-sku,.home-screen-topic,.home-screen-next small,.contact-invitation-eyebrow) {
  font-weight: 350 !important;
}
.xinocler-home :is(b,strong) { font-weight: 700 !important; }
.xinocler-home :is(.company-description,.xinocler-mission-cn,.capability-entry p,.directory-product-body p,.news-editorial-copy p,.contact-invitation-description) {
  font-size: 14px;
  line-height: 1.85;
}
.xinocler-home .site-footer-columns :is(p,a,address) { font-size: 13px; line-height: 1.85; }
.xinocler-home .site-footer-columns h2 { font-size: 14px; font-weight: 400 !important; }
.xinocler-home .capability-entry :is(h3,h4) { font-size: 16px; }
.xinocler-home .home-screen-solutions .xinocler-domain-heading :is(h2,h3).text-white.fw-600 { font-weight: 300 !important; }

/* Chinese hero emphasis; the English brand statement uses the same real Bold face above. */
.xinocler-home .xinocler-video-hero .hero-title-cn { font-weight: 700 !important; }

.xinocler-home .home-screen-updates .news-editorial-copy h3 {
  line-height: 1.45;
}
.xinocler-home .home-screen-updates .news-editorial-copy p {
  font-size: 11px;
  line-height: 1.6;
}

.xinocler-home .xinocler-contact-invitation .contact-invitation-description {
  line-height: 1.6;
}


.xinocler-home .site-footer-navigation-links {
  display:grid;
  gap:7px;
}
@media (max-width:575px) {
  .xinocler-home .site-footer-navigation-links {
    display:flex;
    flex-wrap:wrap;
    gap:6px 16px;
  }
}

.xinocler-home .home-screen-updates .news-editorial-heading h2,
.xinocler-home .home-screen-company .capability-entry :is(h3,h4) {
  letter-spacing: var(--tracking-heading);
}
.xinocler-home .navbar .navbar-nav .dropdown-menu li a {
  letter-spacing: var(--tracking-control);
}
