.section-hero--services {
  --hero-image: url("/digest/assets/technology/center/endoscopy-exam-room.webp");
  --hero-image-position: 37% 58%;
}
.section-hero--diseases {
  --hero-image: url("/digest/assets/section-heroes/digestive-encyclopedia.webp");
  --hero-image-position: right center;
}
.section-hero--knowledge {
  --hero-image: url("/digest/assets/section-heroes/health-questions.webp");
  --hero-image-position: right center;
}

.section-hero {
  position: relative;
  isolation: isolate;
  display: grid;
  align-content: center;
  min-height: clamp(290px, 26vw, 390px);
  color: #fff;
  background: #10364f;
}
.section-hero::before {
  content: "";
  position: absolute;
  z-index: -1;
  inset: 0 0 0 36%;
  background:
    linear-gradient(90deg, #10364f, rgba(16, 54, 79, .87) 12%, rgba(16, 54, 79, .32) 36%, rgba(16, 54, 79, .05) 73%),
    var(--hero-image) var(--hero-image-position) / cover no-repeat;
}
.section-hero h1,
.section-hero p {
  max-width: min(48%, 560px);
}
.section-hero .search {
  max-width: min(52%, 570px);
}

.section-hero--services .services-prep-callout {
  margin-top: 20px;
  padding-left: 14px;
  border-left: 3px solid #ffd585;
}
.services-prep-callout strong {
  display: block;
  color: #fff;
  font-size: clamp(22px, 2.2vw, 34px);
  line-height: 1.1;
  font-weight: 800;
}
.services-prep-callout strong span {
  color: #ffd585;
  font-size: 1.4em;
}
.section-hero--services .services-prep-callout p {
  margin-top: 6px;
  font-size: 14px;
}

@media (max-width: 720px) {
  .section-hero {
    display: block;
    min-height: 0;
    padding: 28px 0 0;
  }
  .section-hero::before {
    display: none;
  }
  .section-hero::after {
    content: "";
    display: block;
    margin-top: 18px;
    aspect-ratio: 2.4;
    background:
      linear-gradient(180deg, #10364f, transparent 25%),
      var(--hero-image) var(--hero-image-position) / cover no-repeat;
  }
  .section-hero h1,
  .section-hero p,
  .section-hero .search {
    max-width: none;
  }
}
