.service-hero {
  --service-hero-inline: clamp(1.25rem, 6.65vw, 7.1875rem);

  overflow: hidden;
  padding-block: 7.75rem clamp(4.5rem, 7vw, 7.5rem);
  background-color: var(--color-surface-subtle);
}

@media (min-width: 600px) {
  .service-hero {
    padding-top: 11.5rem;
  }
}

@media (min-width: 900px) {
  .service-hero {
    padding-top: clamp(12rem, 12.1vw, 13rem);
  }
}

/* Clear the two-row navigation when a page omits its redundant phone eyebrow. */
@media (max-width: 599px) {
  .service-hero.is-mobile-title-first {
    padding-top: calc(7.25rem + max(0.75rem, env(safe-area-inset-top)) + 2rem);
  }
}

.service-hero__inner {
  width: min(100%, 108rem);
  padding-inline: var(--service-hero-inline);
  margin-inline: auto;
}

@media (min-width: 1200px) {
  .service-hero__inner {
    padding-right: 0;
  }
}

.service-hero__copy {
  max-width: 88rem;
}

@media (min-width: 1200px) {
  .service-hero__copy {
    max-width: 82.3125rem;
    padding-right: 0;
    padding-left: min(9.85vw, 10.625rem);
  }
}

.service-hero__eyebrow {
  margin: 0 0 clamp(1.5rem, 3.2vw, 3rem);
  color: var(--color-text-default);
  font-size: 1.125rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  line-height: 1.3889;
  text-transform: uppercase;
}

@media (max-width: 599px) {
  .service-hero.is-mobile-title-first .service-hero__eyebrow {
    display: none;
  }
}

@media (min-width: 1200px) {
  .service-hero__eyebrow {
    margin-bottom: 2.125rem;
  }
}

.service-hero__title {
  max-width: 12ch;
  margin: 0;
  color: var(--color-interactive);
  font-size: clamp(3.25rem, 9.5vw, 7.5rem);
  font-weight: 300;
  letter-spacing: -0.055em;
  line-height: 0.96;
  text-wrap: balance;
}

.service-hero__summary {
  display: grid;
  max-width: 71.6875rem;
  margin-top: clamp(2rem, 4vw, 4rem);
  gap: 1.75rem;
}

@media (min-width: 600px) {
  .service-hero__summary {
    grid-template-columns: minmax(0, 1fr) auto;
    align-items: end;
    gap: clamp(2rem, 6vw, 6rem);
  }
}

@media (min-width: 1200px) {
  .service-hero__summary {
    grid-template-columns: minmax(0, 1fr) 17.125rem;
    gap: 1.1875rem;
  }
}

.service-hero__body {
  max-width: 53.375rem;
  margin: 0;
  color: var(--color-text-default);
  font-size: clamp(1.125rem, 1.75vw, 1.5rem);
  line-height: 1.45;
  text-wrap: pretty;
}

@media (min-width: 1200px) {
  .service-hero__summary {
    margin-top: 2.8125rem;
  }
}

.service-hero__cta {
  min-width: min(100%, 14.5rem);
}

@media (min-width: 600px) {
  .service-hero__cta {
    min-width: 14.5rem;
  }
}

@media (min-width: 1200px) {
  .service-hero__cta {
    width: 17.125rem;
  }
}

.service-hero__partners {
  display: grid;
  margin-top: clamp(2.5rem, 3vw, 3rem);
  gap: 1.5rem;
}

@media (min-width: 900px) {
  .service-hero__partners {
    grid-template-columns: minmax(8rem, 0.7fr) minmax(0, 4.3fr);
    align-items: center;
    gap: clamp(2rem, 5vw, 6rem);
  }
}

@media (min-width: 1200px) {
  .service-hero__partners {
    margin-right: var(--service-hero-inline);
    margin-left: min(9.85vw, 10.625rem);
  }
}

.service-hero__partners-heading {
  margin: 0;
  color: var(--color-text-muted);
  font-size: 1.125rem;
  font-weight: 700;
  letter-spacing: 0.04em;
  line-height: 1.3889;
  text-transform: uppercase;
}

.service-hero__partners-list {
  display: flex;
  align-items: center;
  padding: 0 0 0.5rem;
  margin: 0;
  gap: clamp(2rem, 7vw, 6.25rem);
  list-style: none;
  overflow-x: auto;
  scrollbar-width: none;
}

.service-hero__partners-list::-webkit-scrollbar {
  display: none;
}

.service-hero__partner {
  flex: 0 0 auto;
}

.service-hero__partner-link {
  display: block;
  border-radius: 0.25rem;
}

.service-hero__partner-logo {
  display: block;
  width: auto;
  max-width: clamp(5rem, 12vw, 8rem);
  height: auto;
  max-height: clamp(2rem, 4vw, 3rem);
  object-fit: contain;
}

.service-hero__media {
  position: relative;
  aspect-ratio: 16 / 10;
  margin: clamp(2rem, 3vw, 2.75rem) 0 0;
  overflow: hidden;
  border-radius: clamp(1.25rem, 2.35vw, 2.5rem);
  background-color: #d5e0d5;
}

@media (min-width: 900px) {
  .service-hero__media {
    aspect-ratio: 1694 / 789;
  }
}

@media (min-width: 1200px) {
  .service-hero__media {
    width: calc(100% + 5.0625rem);
    margin-top: 3.6875rem;
  }
}

.service-hero__image {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.service-hero--image-left .service-hero__image {
  object-position: left center;
}

.service-hero--image-center .service-hero__image {
  object-position: center;
}

.service-hero--image-right .service-hero__image {
  object-position: right center;
}

.service-hero.is-media-missing .service-hero__copy {
  max-width: 72rem;
}

/* Full historical notice titles retain their words at a readable article scale. */
.service-hero.is-procurement-notice .service-hero__title {
  font-size: clamp(1.5rem, 2.75vw, 2.5rem);
  overflow-wrap: normal;
}

.service-hero.is-document .service-hero__title {
  font-size: clamp(1.5rem, 2.75vw, 2.5rem);
  overflow-wrap: normal;
}
