.video-hero-wrapper {
  position: relative;
}

.hero-video {
  width: 100%;
  height: auto; /* Let the video dictate the height */
}

.hero-video video {
  width: 100%;
  height: auto; /* Ensure the video scales proportionally */
  object-fit: cover; /* Make sure the video fills the container without distorting its aspect ratio */
}

/* Remove fixed heights for responsiveness */
@media screen and (min-width: 768px) {
  .hero-video.desktop-height-fullscreen {
    height: auto; /* Adjust based on video size */
  }
}

@media screen and (max-width: 767px) {
  .hero-video.mobile-height-fullscreen {
    height: auto; /* Adjust based on video size */
  }
}
.video-link {
  display: block;
  position: relative;
}

.video-link .hero-video--media {
  position: relative;
}

.video-link::after {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  z-index: 1;
  cursor: pointer;
}
