/* Keep the homepage hero on the black-overlay variant at every breakpoint. */
#page-home.wa-home .wa-home-hero {
  isolation: isolate !important;
  background: #080605 !important;
}

#page-home.wa-home .wa-home-hero::after {
  content: "" !important;
  position: absolute !important;
  inset: 0 !important;
  z-index: 1 !important;
  display: block !important;
  border-radius: inherit !important;
  background: linear-gradient(90deg,
    rgba(8, 6, 5, .92) 0%,
    rgba(8, 6, 5, .84) 31%,
    rgba(8, 6, 5, .64) 50%,
    rgba(8, 6, 5, .24) 72%,
    rgba(8, 6, 5, 0) 100%) !important;
}

#page-home.wa-home .wa-home-hero .wa-home-hero-media {
  z-index: 0 !important;
  background-color: #080605 !important;
  background-image: url("/assets/home-template-hero.webp.w800.webp") !important;
  background-position: center 30% !important;
  background-size: cover !important;
  background-repeat: no-repeat !important;
  -webkit-mask-image: none !important;
  mask-image: none !important;
}

#page-home.wa-home .wa-home-hero > .container,
#page-home.wa-home .wa-home-hero .hero-content {
  position: relative !important;
  z-index: 2 !important;
}

/* Keep desktop and tablet hero copy crisp over the darkened photo. */
@media (min-width: 769px) {
  html body #page-home.wa-home .wa-home-hero .hero-title {
    color: #fff !important;
    -webkit-text-fill-color: #fff !important;
    text-shadow: 0 2px 8px rgba(0, 0, 0, .32) !important;
  }

  html body #page-home.wa-home .wa-home-hero .hero-title span {
    color: #f15a24 !important;
    -webkit-text-fill-color: #f15a24 !important;
    text-shadow: 0 2px 8px rgba(0, 0, 0, .32) !important;
  }

  html body #page-home.wa-home .wa-home-hero .hero-desc,
  html body #page-home.wa-home .wa-home-hero .wa-hero-points li {
    color: #fff !important;
    -webkit-text-fill-color: #fff !important;
    text-shadow: 0 1px 3px rgba(0, 0, 0, .72) !important;
  }

  html body #page-home.wa-home .wa-home-hero .hero-badge {
    text-shadow: 0 1px 4px rgba(0, 0, 0, .55) !important;
  }

  html body #page-home.wa-home .wa-home-hero .wa-dark-button:nth-of-type(1) {
    border: 1.5px solid rgba(255, 255, 255, .94) !important;
    background: linear-gradient(135deg, #e45a16 0%, #bf390b 100%) !important;
    color: #fff !important;
    -webkit-text-fill-color: #fff !important;
    box-shadow: 0 10px 24px rgba(0, 0, 0, .48), inset 0 1px 0 rgba(255, 255, 255, .24) !important;
  }

  html body #page-home.wa-home .wa-home-hero button.wa-choice-secondary {
    border: 1.5px solid rgba(255, 255, 255, .96) !important;
    background: #f7f2ec !important;
    color: #17120f !important;
    -webkit-text-fill-color: #17120f !important;
    box-shadow: 0 8px 20px rgba(0, 0, 0, .4) !important;
  }

  html body #page-home.wa-home .wa-home-hero button.wa-choice-secondary:hover {
    background: #fff !important;
  }
}

@media (max-width: 480px) {
  #page-home.wa-home .wa-home-hero .wa-home-hero-media {
    background-image: url("/assets/home-template-hero.webp.w400.webp") !important;
  }
}
