/*
 * Shared section-heading contract.
 *
 * Deliberately scoped to content blocks: homepage/inner-page banners and the
 * News detail template keep their own heading systems.
 */
body:not(.single-news) :where(
  .after-sales-service,
  .category-gateway,
  .client-access,
  .company-story,
  .contact-details,
  .corporate-culture,
  .factory-gallery,
  .factory-proof,
  .latest-products,
  .news-preview,
  .oem-advantages,
  .oem-capabilities,
  .oem-craft,
  .oem-customization,
  .oem-intro,
  .product-centre__header,
  .product-detail__recommendation-marketing,
  .aib-inquiry__form-head,
  .aib-inquiry__inner
) .section-label,
body:not(.single-news):not(.home) :where(.oem-pathway, .project-enquiry) .section-label,
.editor-styles-wrapper :where(
  .after-sales-service,
  .category-gateway,
  .client-access,
  .company-story,
  .contact-details,
  .corporate-culture,
  .factory-gallery,
  .factory-proof,
  .latest-products,
  .news-preview,
  .oem-advantages,
  .oem-capabilities,
  .oem-craft,
  .oem-customization,
  .oem-intro
) .section-label {
  color: var(--c-coral) !important;
  font-size: 13px !important;
  font-weight: 700 !important;
  line-height: 1.4 !important;
  letter-spacing: .13em !important;
  text-transform: uppercase !important;
}

body:not(.single-news) :where(
  .after-sales-service,
  .category-gateway,
  .client-access,
  .company-story,
  .contact-details,
  .corporate-culture,
  .factory-gallery,
  .factory-proof,
  .latest-products,
  .news-preview,
  .oem-advantages,
  .oem-capabilities,
  .oem-craft,
  .oem-customization,
  .oem-intro,
  .product-centre__header,
  .product-detail__recommendation-marketing,
  .aib-inquiry__form-head,
  .aib-inquiry__inner
) .section-label::before,
body:not(.single-news):not(.home) :where(.oem-pathway, .project-enquiry) .section-label::before,
.editor-styles-wrapper :where(
  .after-sales-service,
  .category-gateway,
  .client-access,
  .company-story,
  .contact-details,
  .corporate-culture,
  .factory-gallery,
  .factory-proof,
  .latest-products,
  .news-preview,
  .oem-advantages,
  .oem-capabilities,
  .oem-craft,
  .oem-customization,
  .oem-intro
) .section-label::before {
  width: 26px !important;
  height: 2px !important;
  flex-basis: 26px !important;
  border-radius: 999px !important;
  background: currentColor !important;
}

body:not(.single-news) :where(
  .after-sales-service,
  .category-gateway,
  .client-access,
  .company-story,
  .contact-details,
  .corporate-culture,
  .factory-gallery,
  .factory-proof,
  .latest-products,
  .news-preview,
  .oem-advantages,
  .oem-capabilities,
  .oem-craft,
  .oem-customization,
  .oem-intro,
  .product-centre__header,
  .product-detail__recommendation-marketing,
  .aib-inquiry__form-head,
  .aib-inquiry__inner
) .section-title,
body:not(.single-news):not(.home) :where(.oem-pathway, .project-enquiry) .section-title,
.editor-styles-wrapper :where(
  .after-sales-service,
  .category-gateway,
  .client-access,
  .company-story,
  .contact-details,
  .corporate-culture,
  .factory-gallery,
  .factory-proof,
  .latest-products,
  .news-preview,
  .oem-advantages,
  .oem-capabilities,
  .oem-craft,
  .oem-customization,
  .oem-intro
) .section-title {
  margin: .18em 0 .35em !important;
  color: var(--c-ink) !important;
  font-size: var(--display-title-size) !important;
  font-weight: 600 !important;
  line-height: 1.05 !important;
  letter-spacing: -.035em !important;
  background: none !important;
  -webkit-background-clip: border-box !important;
  background-clip: border-box !important;
  -webkit-text-fill-color: currentColor !important;
}

body:not(.single-news) :where(
  .after-sales-service,
  .category-gateway,
  .client-access,
  .company-story,
  .contact-details,
  .corporate-culture,
  .factory-gallery,
  .factory-proof,
  .latest-products,
  .news-preview,
  .oem-advantages,
  .oem-capabilities,
  .oem-craft,
  .oem-customization,
  .oem-intro,
  .product-centre__header,
  .product-detail__recommendation-marketing,
  .aib-inquiry__form-head,
  .aib-inquiry__inner
) .section-title__part,
body:not(.single-news):not(.home) :where(.oem-pathway, .project-enquiry) .section-title__part,
.editor-styles-wrapper :where(
  .after-sales-service,
  .category-gateway,
  .client-access,
  .company-story,
  .contact-details,
  .corporate-culture,
  .factory-gallery,
  .factory-proof,
  .latest-products,
  .news-preview,
  .oem-advantages,
  .oem-capabilities,
  .oem-craft,
  .oem-customization,
  .oem-intro
) .section-title__part {
  color: var(--section-title-color, inherit) !important;
  -webkit-text-fill-color: currentColor !important;
}

@media (max-width: 1024px) {
  :where(
    .section-sub,
    .section-title + p,
    .section-title + [class$="__body"] > p,
    .section-title + [class$="__copy"] > p,
    .category-gateway__meta > p,
    .personal-info__hero p,
    .product-detail__intro p,
    .aib-inner-banner p
  ) {
    font-size: 14px !important;
  }
}

@media (max-width: 720px) {
  :where(
    .section-sub,
    .section-title + p,
    .section-title + [class$="__body"] > p,
    .section-title + [class$="__copy"] > p,
    .category-gateway__meta > p,
    .personal-info__hero p,
    .product-detail__intro p,
    .aib-inner-banner p
  ) {
    font-size: 12px !important;
  }
}
