.c-home-video-banner {
  position: relative;
  width: 100%;
  aspect-ratio: 16 / 9;
  overflow: hidden
}

.c-home-video-banner:after {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  height: 35%;
  background: linear-gradient(to top, var(--color-primary) 0%, rgba(0, 104, 51, 0) 70%);
  pointer-events: none
}

.c-home-video-banner_rail {
  padding-top: 2rem;
  position: absolute;
  top: var(--header-height);
  left: 0;
  z-index: 1;
  color: var(--color-primary);
  pointer-events: none
}

.c-home-video-banner_track {
  width: max-content;
  animation: home-banner-rail 40s linear infinite
}

@keyframes home-banner-rail {
  to {
    transform: translateX(-50%)
  }
}

@media(prefers-reduced-motion: reduce) {
  .c-home-video-banner_track {
    animation: none
  }
}

.c-home-video-banner + .c-hero-home .c-hero-home_inner {
  min-height: 0;
  padding-top: var(--grid-gutter)
}

@media(max-width: 699px) {
  .c-home-video-banner {
    aspect-ratio: 4 / 5
  }
}

.c-home-video-banner_link {
  display: block;
  width: 100%;
  height: 100%;
  cursor: pointer
}

.c-home-video-banner_video {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover
}
