/* The photo supports the headline on wide screens and follows it on narrow screens. */
body[data-web-style] .landing-hero {
  position: relative;
  isolation: isolate;
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  align-items: center;
  min-height: clamp(310px, 33vw, 420px);
  gap: 0;
  padding: 0;
  overflow: hidden;
  border: 1px solid #dce5ea;
  border-radius: 4px;
  background: #edf3f6;
}

.landing-hero .landing-copy {
  z-index: 1;
  container-type: inline-size;
  width: min(100%, 565px);
  padding: clamp(24px, 4vw, 55px);
}

body[data-web-style] .landing-hero .landing-copy h1 {
  width: auto;
  max-width: none;
  margin: 0 0 14px;
  text-wrap: initial;
  font-size: clamp(32px, 13cqi, 68px);
}

body[data-web-style] .landing-hero .landing-copy p {
  max-width: 39ch;
  margin: 0;
  color: #365166;
  line-height: 1.65;
}

.landing-hero-media {
  position: absolute;
  inset: 0 0 0 33%;
  margin: 0;
}

.landing-hero-media img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: var(--hero-focus, center);
}

.landing-hero-media::after {
  position: absolute;
  inset: 0;
  content: "";
  background: linear-gradient(90deg, #edf3f6, rgb(237 243 246 / .72) 24%, rgb(237 243 246 / .12) 58%, transparent 76%);
}

.pd-intro.landing-hero {
  --hero-focus: 73% 52%;
  margin-bottom: clamp(18px, 2vw, 28px);
}
.sl-directory-intro { --hero-focus: 94% 52%; }
.cc-intro { --hero-focus: 58% 58%; }
.fs-hero { --hero-focus: 76% 44%; }

.landing-hero .landing-actions {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 12px 20px;
  margin-top: 20px;
}

.landing-hero .landing-actions > a {
  display: inline-flex;
  align-items: center;
  min-height: 44px;
  margin: 0;
}

body[data-web-style] .fs-hero.landing-section {
  padding: 26px 0 28px;
  background: transparent;
  border-bottom: 0;
}

@media (min-width: 741px) {
  .sl-directory-intro .landing-hero-media { inset-inline-start: 0; }

  .sl-directory-intro .landing-hero-media::after {
    background: linear-gradient(90deg, rgb(237 243 246 / .69), rgb(237 243 246 / .32) 32%, transparent 47%);
  }
}

@media (max-width: 740px) {
  body[data-web-style] .landing-hero { min-height: 0; }

  .landing-hero .landing-copy {
    width: auto;
    padding: 22px 19px 18px;
  }

  .landing-hero-media {
    position: relative;
    inset: auto;
    height: clamp(160px, 48vw, 290px);
  }

  .landing-hero-media::after {
    background: linear-gradient(#edf3f6, transparent 30%);
  }
}
