.service-hero {
  padding: 0;
}

.service-hero-grid {
  --service-hero-background: #edf2fc;
  display: grid;
  grid-template-columns: minmax(0, 1.08fr) minmax(0, 1fr);
  width: min(1460px, calc(100% - 56px));
  margin-inline: auto;
  overflow: hidden;
  background: var(--service-hero-background);
}

.service-hero-media {
  position: relative;
  min-height: 325px;
}

.service-hero-media img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.service-hero-media::after {
  position: absolute;
  inset: 0;
  pointer-events: none;
  content: "";
  background: linear-gradient(to right, transparent 62%, var(--service-hero-background) 100%);
}

.service-hero-media--panorama img {
  object-position: left center;
}

.service-hero-copy {
  align-self: center;
  padding: clamp(24px, 4vw, 54px);
}

.service-hero-copy h1 {
  font-size: clamp(2rem, 3.65vw, 4rem);
  line-height: 1.05;
}

@media (max-width: 900px) {
  .service-hero-grid {
    grid-template-columns: minmax(0, 1fr);
    width: calc(100% - 20px);
  }

  .service-hero-media {
    min-height: 0;
    aspect-ratio: 1.65;
  }

  .service-hero-media::after {
    background: linear-gradient(to bottom, transparent 76%, var(--service-hero-background) 100%);
  }

  .service-hero-copy {
    padding: 20px 16px 24px;
  }
}
