/* SEO heading clean-up (v6): some tags changed level, these rules keep the
   exact look they had before the change. */

/* Privacy policy: section titles are now <h2>, styled like the paragraphs they were */
.text-rich-text h2.privacy-heading {
  font: inherit;
  letter-spacing: inherit;
  text-transform: inherit;
  color: inherit;
  margin-top: 0;
  margin-bottom: 1rem;
}

/* Home + For brands: figure labels are now <p> (were <h3>) */
p.heading-style-h6 {
  font-family: var(--_typography---font-styles--heading);
}

/* About: the community statement is now a <p> (was <h2>) */
p.layout484_text {
  letter-spacing: -.0375rem;
}

/* Images now declare their real width/height so the browser reserves their
   space before they load (no layout shift). :where() keeps this at zero
   specificity: any class that sizes an image still wins, and images without
   a sized class keep their natural size exactly as before. */
:where(img:not(.navbar1_logo)) {
  width: auto;
  height: auto;
}

/* Service pages: one-word titles like "AMBASSADORS" are wider than a phone
   screen at the normal H1 size; scale them with the viewport instead. */
@media screen and (max-width: 767px) {
  .heading-style-h1.is-long-word {
    font-size: clamp(1.5rem, 7.5vw, 2.5rem);
  }
}

/* Laptops and landscape tablets (992–1279px): the figures block on For brands
   and the four steps on the home page were wider than the screen and caused
   a sideways scroll. */
@media screen and (min-width: 992px) and (max-width: 1279px) {
  /* same stacked layout as on tablets: text above, figures below */
  .stats13_content {
    grid-template-columns: 1fr;
  }
  .stats13_number {
    font-size: 4rem;
  }
  .layout298_list {
    grid-template-columns: 1fr 1fr;
  }
}
