/* Shared Chinese section-title introductions; English is synchronized separately. */
body:not(.locale-en) .section-heading-inline > p {
  text-align: right !important;
  justify-self: end;
  margin-inline-start: auto !important;
}

@media (min-width: 1101px) {
  body:not(.locale-en) .section-heading-inline:has(> p) {
    display: flex !important;
    flex-wrap: wrap;
    align-items: flex-end;
    justify-content: space-between;
    gap: 20px 32px !important;
    max-width: none;
  }
  body:not(.locale-en) .section-heading-inline > p {
    flex: 0 0 auto;
    width: max-content !important;
    max-width: 100% !important;
    margin-block: 0 !important;
    /* An exceptionally long introduction may exceed even the full container. */
    white-space: normal;
    text-wrap: wrap;
  }
  body:not(.locale-en) .section-heading-inline > p br { display: none; }
}

/* Homepage chapter titles follow the approved Products heading scale. */
body[data-page="home"] :is(#product-matrix,#technology,#solutions,#projects) :is(.home-page-heading,.home-product-cards-heading) h2 {
  font-size:clamp(36px,3.5vw,56px);
  line-height:1.2;
  font-weight:650;
  letter-spacing:normal;
  margin-block:0;
}
