
/*
 * Homepage entrance video overlay.
 * Sits behind the existing hero gradient/text (z-index: -2, inside the
 * .home-banner stacking context) so it visually replaces the static
 * background image without touching the existing banner markup/CSS.
 * Safe to remove: delete this file's <link>, the hero-video.js <script>,
 * and the .hero-video-wrapper div in public/index.php to fully revert.
 */
 .hero-video-wrapper {
	position: absolute;
	z-index: -2;
	overflow: hidden;
	opacity: 0;
	pointer-events: none;
	left: unset;
	right: 0;
	top: 0;
	bottom: 0;
	width: 100%;
	max-width: 980px;
	min-height: 556px;
}

.hero-video-wrapper.is-active {
    opacity: 1;
}

.hero-video-player {
    position: absolute;
    top: 0;
    left: unset;
    width: 100%;
    max-width: 100%;
    min-width: 100%;
    height: 100%;
    right: 0;
    bottom: 0;
}
.hero-video-player::after {
    content: "";
    position: absolute;
    width: 30%;
    height: 100%;
    top: 0;
    left: 0;
    background: linear-gradient(
        to right,
        #000000 0%,
        rgba(0, 0, 0, 0.8) 50%,
        rgba(0, 0, 0, 0.3) 75%,
        transparent 100%
    );
    z-index: 2;
    pointer-events: none;
}
.hero-video-player > div {
    aspect-ratio: 9 / 16;
    padding: 0px !important;
    width: 100%;
    height: 100%;
}


.hero-video-player iframe {
    width: 100%  !important;
    height: 100% !important;
    display: block;
    object-fit: cover;
}

.hero-sound-toggle {
    position: absolute;
    bottom: 20px;
    right: 20px;
    z-index: 2;
    display: block;
    align-items: center;
    gap: 8px;
    padding: 8px 14px;
    background: rgba(0, 0, 0, 0.55);
    color: #fff;
    border: 1px solid rgba(255, 255, 255, 0.4);
    border-radius: 999px;
    font-size: 13px;
    font-family: inherit;
    cursor: pointer;
    pointer-events: auto;
}

.hero-sound-toggle.is-visible {
    display: flex;
}

.hero-sound-toggle svg {
    flex-shrink: 0;
}

@media (min-width:1600px){
.hero-video-wrapper {
    max-width: 1040px;
    min-height: 586px;
}
}

@media (max-width:1024px){
.hero-video-wrapper {
max-width: calc(100% - 30px);
  min-height: 60vw;
z-index: 11;
left: 0;
right: 0;
margin: auto;
bottom: 0;
top: unset !important;
}
.home-banner.banner-style-1 {
  padding: 20px 20px !important;
}
}

@media (max-width: 767px) {
    .hero-video-wrapper {
        display: block;
    }
    .hero-sound-toggle {
        z-index: 9;
    }
    .hero-video-wrapper {
      max-width: calc(100% - 30px);
      min-height: 60vw;
      z-index: 11;
      left: 0;
      right: 0;
      margin: auto;
      bottom: 0;
      top: unset !important;
    }    
}
