/* Shared section labels, matching the career page at every screen width. */
:root body #main .eyebrow {
  font-family: Onest, Arial, sans-serif;
  font-size: 12px;
  line-height: 18px;
  font-weight: 500;
  letter-spacing: 0.13em;
  text-transform: uppercase;
  color: var(--red);
}

/* One shared heading rhythm; individual sections retain their outer spacing. */
:root body #main .eyebrow:has(+ :is(h1, h2, h3)) {
  margin: 0 0 20px;
  padding: 0;
  text-align: left;
  text-indent: 0;
  transform: translateX(var(--heading-optical-offset, 0px));
}
:root body #main .eyebrow + :is(h1, h2, h3) {
  margin-top: 0;
  margin-left: 0;
  margin-right: 0;
  padding-left: 0;
  text-align: left;
  text-indent: 0;
}
/* The homepage label occupies a separate grid row: avoid adding a second gap. */
:root body #main .home-overview {
  row-gap: 0;
}
/* Keep the contact photo aligned with its adjacent headline. */
:root body #main .contact-intro-with-photo .contact-machine {
  margin-top: 38px;
}
@media (max-width: 760px) {
  :root body #main .home-overview > div:last-child {
    margin-top: 20px;
  }
  :root body #main .contact-intro-with-photo .contact-machine {
    margin-top: 0;
  }
}
