.banner-video-module {
  position: relative;
  width: 100vw;
  margin-left: calc(-50vw + 50%);
  overflow: hidden;
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 400px;
}

.banner-video-module[style*="height: auto"] {
  min-height: 500px;
}

/* Background container */
.banner-background {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  z-index: 0;
}

/* Video background */
.banner-background .video-wrapper {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  z-index: 0;
  overflow: hidden;
}

.banner-background .video-wrapper .hs-video-widget,
.banner-background .video-wrapper .hs-video-container,
.banner-background .video-wrapper .hs-video-wrapper,
.banner-background .video-wrapper > div,
.banner-background .video-wrapper * {
  position: absolute !important;
  top: 0 !important;
  left: 0 !important;
  width: 100% !important;
  height: 100% !important;
  max-width: none !important;
  max-height: none !important;
  margin: 0 !important;
  padding: 0 !important;
  padding-bottom: 0 !important;
}

.banner-background .video-wrapper video,
.banner-background .video-wrapper .vidyard-player-container,
.banner-background .video-wrapper iframe {
  position: absolute !important;
  top: 50% !important;
  left: 50% !important;
  transform: translate(-50%, -50%) scale(1.5) !important;
  width: 100% !important;
  height: 100% !important;
  min-width: 150% !important;
  min-height: 150% !important;
  max-width: none !important;
  max-height: none !important;
  object-fit: cover !important;
  z-index: 0 !important;
  pointer-events: none !important;
}

.banner-background .video-wrapper iframe video {
  object-fit: cover !important;
  width: 100% !important;
  height: 100% !important;
}

/* Video.js specific overrides */
.banner-background .video-wrapper .video-js.vjs-fill,
.banner-background .video-wrapper .video-js .vjs-tech {
  width: fit-content !important;
}

@media (max-width: 768px) {
  .banner-background .video-wrapper video,
  .banner-background .video-wrapper iframe {
    width: 100vw !important;
    height: 100% !important;
    min-height: 700px !important;
  }
}

/* Image background */
.banner-image {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  z-index: 0;
}

/* Overlay */
.banner-overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0, 0, 0, 0.3);
  z-index: 1;
}

/* Content */
.banner-content {
  position: relative;
  z-index: 2;
  max-width: 1200px;
  padding: 80px 1rem;
  text-align: left;
  color: #ffffff;
  margin: 0 auto;
  width: 100%;
}

.banner-text {
  margin-bottom: 30px;
}

.banner-text h1,
.banner-text h2,
.banner-text h3,
.banner-text h4,
.banner-text h5,
.banner-text h6 {
  color: #ffffff;
  margin-bottom: 15px;
}

.banner-text p {
  color: #ffffff;
  margin-bottom: 10px;
}

/* Button */
.banner-button-wrapper {
  margin-top: 30px;
  margin-right: 30px;
}

.banner-video-module .hs-button {
  display: inline-block;
  text-decoration: none;
  cursor: pointer;
}

.banner-button-otr {
    display: flex;
    flex-wrap: wrap;
}

/* Responsive */
@media (max-width: 768px) {
  .banner-video-module {
    min-height: 600px;
  }
  .banner-video-module[style*="height: auto"] {
    min-height: 700px;
  }
  .banner-video-module,
  .banner-background {
    background-color: transparent !important;
  }
  .banner-content {
    padding: 60px 1rem;
  }
  .banner-button {
    padding: 12px 28px;
    font-size: 14px;
  }
