.hero-banner-swiper {
    position: relative;
}

.hero-banner-swiper .swiper {
    overflow: hidden;
}

.hero-banner-swiper .swiper-container-horizontal>.swiper-pagination-bullets .swiper-pagination-bullet {
    margin: 0 5px;
}

.hero-banner-swiper .swiper-container-horizontal>.swiper-pagination-bullets {
    display: flex;
    bottom: 70px;
    width: fit-content;
    left: unset;
    right: 100px;
}

.hero-banner-swiper .swiper-pagination {
    z-index: 4;
}

.hero-banner-swiper .swiper-pagination-bullet {
    width: 126px;
    height: 6px;
    border-radius: 10px;
    position: relative;
    overflow: hidden;
    background-color: white;
    opacity: 1;
}

.hero-banner-swiper .swiper-pagination-bullet::before {
    content: "";
    display: block;
    position: absolute;
    height: 100%;
    top: 0;
    right: 0;
    bottom: 0;
    left: 0;
}

.swiper-pagination-bullet-active::before {
    background-color: var( --wp--preset--color--green );
    animation: slide-progress 6s linear forwards;
}

.fix-time .swiper-pagination-bullet:first-of-type.swiper-pagination-bullet-active::before {
    animation: slide-progress 5s linear forwards;
}

.hero-banner-swiper .scroll-btn {
    position: absolute;
    bottom: 36px;
    left: 50%;
    z-index: 1;
    transform: translateX(-50%);
    background-color: white;
    border: 1px solid var(--wp--preset--color--light-grey);
    width: 48px;
    height: 48px;
    border-radius: 50%;
}

.hero-banner-swiper .scroll-btn svg {
    transform: translate(50%, 50%);
}

@keyframes slide-progress {
    0% {
        transform: translateX(-100%);
    }

    100% {
        transform: translateX(0);
    }
}

@media ( max-width: 700px ) {
    .hero-banner-swiper .scroll-btn {
        display: none;
    }

    .hero-banner-swiper .swiper-container-horizontal>.swiper-pagination-bullets {
        bottom: 20px;
        max-width: min( 340px , 100% - 20px );
        margin: 0 auto;
        right: 50%;
        transform: translateX(50%);
    }

    .hero-banner-swiper .swiper-pagination-bullet {
        width: calc( auto - 10px );
    }
}


.slide-container {
    position: relative;
    height: 0;
    padding-bottom: 40%;
}



@media ( max-width: 1900px ) {
    .hero-banner-swiper .slide-container {
        padding-bottom: 100svh;
    }

    .admin-bar .hero-banner-swiper .slide-container {
        padding-bottom: calc( 100svh - 32px );
    }
}

@media ( max-width: 782px ) {
    .admin-bar .hero-banner-swiper .slide-container {
        padding-bottom: calc( 100svh - 46px );
    }
}

.slide-container .slide-content {
    position: absolute;
    top: 0;
    z-index: 2;
    width: 100%;
    height: 100%;
    background-image: linear-gradient(to right, rgba( 255, 255, 255, 0.90 ) , rgba( 255, 255, 255, 0.22 ) );
}

.slide-container .slide-content .global-container-wide {
    display: flex;
    flex-direction: column;
    justify-content: center;
    height: 100%;
    width: calc( 100% - 80px);
}

@media ( max-width: 700px ) {
    .slide-container .slide-content .global-container-wide {
        width: calc( 100% - 40px);
    }

    .slide-container .slide-content {
        background-image: linear-gradient( transparent , rgba( 255, 255, 255, 0.80 ) );
    }
}


.slide-container .media {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.slide-container .media video::-webkit-media-controls {
    display: none !important;
    opacity: 0;
}

.slide-container .section-title-hero {
    margin-top: 0;
    margin-bottom: 24px;
    max-width: 720px;
}

.slide-buttons {
    height: fit-content;
    display: flex;
    flex-wrap: wrap;
}

.slide-buttons a {
    margin-bottom: 20px;
}

.slide-buttons a:first-of-type {
    margin-right: 16px;
}

@media screen and ( max-width: 700px ) {

    .slide-buttons {
        padding-bottom: 40px;
    }


    .slide-container .slide-content .global-container-wide {
        justify-content: flex-end;
    }

}


@media screen and ( min-width: 700px ) and ( max-height: 740px ) {

    .hero-banner-swiper {
        margin-top: 50px!important;
    }

    .hero-banner-swiper .section-tag {
       margin-bottom: 0;
    }

    .hero-banner-swiper .section-title-hero {
        font-size: 46px;
        line-height: 60px;
    }

    .hero-banner-swiper .swiper-container-horizontal>.swiper-pagination-bullets {
        bottom: 70px;
    }

    .hero-banner-swiper .main-btn {
        font-size: 16px;
        line-height: 18px;
        padding: 14px;
    }


}