
:root {
  --oma-media-cream: #f2e9dc;
  --oma-media-forest: #46543c;
  --oma-media-deep: #202a24;
}

.oma-media-hero {
  position: relative;
  isolation: isolate;
  min-height: var(--oma-hero-height, 600px);
  overflow: hidden;
  background: var(--oma-media-deep);
  color: #fff;
}

.oma-media-hero__media,
.oma-media-hero__overlay {
  position: absolute;
  inset: 0;
}

.oma-media-hero__image {
  width: 100%;
  height: 100%;
  display: block;
  object-fit: cover;
  object-position: var(--oma-focal-x, 50%) var(--oma-focal-y, 50%);
  image-rendering: auto;
}

.oma-media-hero__overlay {
  z-index: 1;
  background:
    linear-gradient(90deg,
      rgba(19, 27, 23, .9) 0%,
      rgba(19, 27, 23, .7) 28%,
      rgba(19, 27, 23, .2) 58%,
      rgba(19, 27, 23, 0) 82%);
}

.oma-media-hero__content {
  position: relative;
  z-index: 2;
  display: flex;
  min-height: inherit;
  max-width: 1180px;
  margin: 0 auto;
  padding: clamp(44px, 7vw, 96px) clamp(24px, 6vw, 90px);
  flex-direction: column;
  justify-content: center;
  align-items: flex-start;
}

.oma-media-hero__eyebrow {
  margin: 0 0 18px;
  font-size: .78rem;
  font-weight: 800;
  letter-spacing: .18em;
}

.oma-media-hero h1 {
  max-width: 760px;
  margin: 0;
  color: #fff;
  font-family: Georgia, "Times New Roman", serif;
  font-size: clamp(4rem, 9vw, 7.4rem);
  font-weight: 400;
  line-height: .92;
  letter-spacing: -.045em;
}

.oma-media-hero__subtitle {
  max-width: 640px;
  margin: 24px 0 0;
  font-size: clamp(1.05rem, 1.8vw, 1.35rem);
  line-height: 1.65;
}

.oma-media-hero__link {
  margin-top: 28px;
  padding: 13px 20px;
  border: 1px solid rgba(255,255,255,.72);
  border-radius: 999px;
  color: #fff;
  text-decoration: none;
  font-weight: 700;
}

@media (max-width: 782px) {
  .oma-media-hero {
    min-height: var(--oma-hero-mobile-height, 460px);
  }

  .oma-media-hero__image {
    object-position: var(--oma-mobile-x, 50%) var(--oma-mobile-y, 50%);
  }

  .oma-media-hero__overlay {
    background:
      linear-gradient(180deg,
        rgba(19,27,23,.1) 0%,
        rgba(19,27,23,.25) 35%,
        rgba(19,27,23,.82) 78%,
        rgba(19,27,23,.92) 100%);
  }

  .oma-media-hero__content {
    justify-content: flex-end;
    padding-bottom: 42px;
  }

  .oma-media-hero h1 {
    font-size: clamp(3.3rem, 18vw, 5.5rem);
  }
}
