.banner-area.banner-style-one,
.banner-area.banner-style-one .banner-fade,
.banner-area.banner-style-one .swiper-wrapper,
.banner-area.banner-style-one .swiper-slide {
    min-height: 520px;
}

.banner-fade:not(.swiper-initialized) .swiper-slide:not(:first-child) {
    display: none;
}

.hero-media,
.hero-media img {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
}

.hero-media img {
    object-fit: cover;
}

.banner-area.banner-style-one .swiper-slide > .container {
    position: relative;
    z-index: 2;
}

.background-video {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    z-index: 0;
    opacity: 0;
    transition: opacity 0.3s ease;
}

.video-slide {
    position: relative;
    overflow: hidden;
    background-color: #111;
    background-position: center;
    background-size: cover;
}

.video-slide::before {
    content: '';
    position: absolute;
    inset: 0;
    background: rgba(0, 0, 0, 0.3);
    z-index: 1;
}

.video-slide .container {
    position: relative;
    z-index: 2;
}

@media (min-width: 1800px) {
    .banner-area.banner-style-one,
    .banner-area.banner-style-one .banner-fade,
    .banner-area.banner-style-one .swiper-wrapper,
    .banner-area.banner-style-one .swiper-slide {
        min-height: 680px;
    }
}

@media (max-width: 767px) {
    .banner-area.banner-style-one,
    .banner-area.banner-style-one .banner-fade,
    .banner-area.banner-style-one .swiper-wrapper,
    .banner-area.banner-style-one .swiper-slide {
        min-height: 430px;
    }
}

@media (prefers-reduced-motion: reduce) {
    .background-video {
        display: none;
    }
}
