#hero {
  position: relative;
  overflow: hidden;
}

#hero:before {
  content: "";
  background: linear-gradient(
    270deg,
    rgba(0, 0, 0, 0) 2.2%,
    rgba(0, 0, 0, 0.14) 30.17%,
    rgba(0, 0, 0, 0.7) 97.61%
  );
  background-blend-mode: multiply, normal;
  position: absolute;
  left: 0;
  bottom: 0;
  height: 100%;
  width: 100%;
  z-index: 1;
  pointer-events: none;
}

#hero .splide__list > .splide__slide {
  width: 100%;
}

#hero .container.large-hero {
  min-height: 100vh;
  position: relative;
  z-index: 99;
  width: 100%;
  padding-bottom: var(--vert-spacing-4);
}

#hero .container.small-hero {
  position: relative;
  z-index: 99;
  width: 100%;
}

#hero .container > div {
  max-width: 40rem;
}

#hero .hero-content {
  position: relative;
  z-index: 9;
  max-width: 40rem;
}

#hero .bg-image {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  z-index: 0;
  height: 100%;
  width: 100%;
  object-fit: cover;
}

#hero video {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  z-index: -1;
}

#hero .button:hover {
  color: var(--color-white);
}

@media (max-width: 1000px) {
  #hero:before {
    background: linear-gradient(
      180deg,
      rgba(0, 0, 0, 0) 2.2%,
      rgba(0, 0, 0, 0.14) 0%,
      rgba(0, 0, 0, 0.7) 80%
    );
  }
}
