section.hero {
    /* height: 50vw; */
    height: 81vh;
}

.hero__slide {
    background-position-x: 100% !important;
}

section {
    position: relative;
}

.hero__slider {
    height: 100%;
}

.hero__slide {
    background-size: cover;
    background-position: top;
    background-repeat: no-repeat;
    display: flex !important;
    align-items: center;
}

.hero__btn-wrapper .btn {
    max-width: 165px;
}

/* #admiral-kuznecov {
    background-image: url(../../img/projects/admiral-kuznetsov/hero-banner-l.jpg);
}

#formula-prestupleniya {
    background-image: url(../../img/projects/formula-prestupleniya/hero-banner-l.jpg);
} */

.hero__title {
    font-family: 'Bebas Neue';
    font-style: normal;
    font-weight: 500;
    font-size: clamp(90px, 20vw, 110px);
    line-height: 1;
    text-transform: uppercase;
    color: #FFFFFF;
    display: inline-block;
    text-shadow: 0 1px 12px #0000002e;
    max-width: 680px;
    transition: color .4s ease;
}

.hero__genre {
    font-style: normal;
    font-weight: 400;
    font-size: clamp(24px, 2.4rem, 32px);
    line-height: 1.2;
    color: #FFFFFF;
    max-width: 50%;
    display: flex;
    text-shadow: 0 1px 12px #0000002e;
    transition: color .4s ease;
}

.hero__content-container {
    max-width: 40dvw;
    /* margin-left: 22px; */
}

.hero__btn-wrapper {
    display: flex;
    flex-direction: row;
    flex-wrap: wrap;
    gap: 2.7rem;
}

.hero__social-icons {
    position: absolute;
    display: flex;
    flex-direction: column;
    right: calc((100vw - var(--content-wide-width)) / 2);
    /* top: calc(10% + 80px); */
    top: 160px;
    gap: 2.1rem;
    z-index: 2;
}

span.lang-switcher {
    font-style: normal;
    font-weight: 700;
    font-size: 17px;
    line-height: 21px;
    text-transform: uppercase;
    color: #FFFFFF;
    cursor: pointer;
}

.hero__content-container,
.hero__wrapper {
    transition: transform 1s ease-out, opacity 1s ease-out;
    will-change: transform, opacity;
}

.swiper-button-next.hero-next,
.swiper-button-prev.hero-prev {
    width: clamp(32px, 3.2rem, 50px);
    height: clamp(32px, 3.2rem, 50px);
    background: url(../img/buttons/slide-next-gray.svg);
    background-size: cover;
    background-repeat: no-repeat;
}

.swiper-button-prev.hero-prev {
    left: calc((100vw - var(--content-flex-width)) / 10);
}

.swiper-button-next.hero-next {
    right: calc((100vw - var(--content-flex-width)) / 10);
}

.swiper-button-prev.hero-prev {
    scale: -1;
}


.swiper-button-next.hero-next::after,
.swiper-button-prev.hero-prev:after {
    display: none;
}

#hero {
    z-index: 1;
}

.hero__pagination {
    display: none;
}


@media (max-width: 1681px) {
    section.hero {
        height: 81vh;
    }
}

@media (max-width: 1441px) {
    .hero__social-icons {
        right: calc((100vw + 3rem - var(--content-flex-width)) / 2);
    }

    .hero__title {
        font-size: 70px;
        width: 16.5ch;
        margin-top: 45px;
    }

    .hero__genre {
        font-size: 20px;
    }
}

@media (max-width: 1380px) {
    .hero__social-icons {
        right: calc((100vw + 3rem - var(--content-flex-width)) / 2);
    }
}

@media (min-width: 2000px) {
    .hero__title {
        font-size: clamp(90px, 14rem, 150px);
    }

    .podrobnee svg.play-white {
        width: 24px;
        height: 24px;
    }

    .hero__genre {
        font-size: clamp(20px, 7rem, 36px);
    }

    .hero__social-icons {
        position: absolute;
        display: flex;
        flex-direction: column;
        right: calc((100vw - 1800px) / 2);
        top: 15%;
        gap: 2.1rem;
        z-index: 2;
    }

    img.social__icon-img.anim-scale {
        width: 5rem;
        max-height: 3.3rem;
    }

    span.lang-switcher {
        font-size: 32px;
        line-height: 1.2;
    }

    .swiper-button-next.hero-next,
    .swiper-button-prev.hero-prev {
        width: clamp(36px, 7.35rem, 73.5px) !important;
        height: clamp(36px, 7.35rem, 73.5px) !important;
    }

    .swiper-button-prev.hero-prev {
        left: calc((100vw - 1800px) / 4);
    }

    .swiper-button-next.hero-next {
        right: calc((100vw - 1800px) / 4);
    }
}

@media (min-width: 2550px) and (min-height: 1080px) {
    .hero__social-icons {
        top: 20%;
    }
}

@media (min-width: 3000px) {
    .hero__social-icons {
        right: calc((100vw - 2000px) / 2);
    }

    .hero__social-icons {
        top: 320px !important;
    }
}

@media (min-width: 3800px) {

    .hero__social-icons {
        right: calc((100vw - 2500px) / 2);
    }

    .swiper-button-next.hero-next {
        right: calc((100vw - 2500px) / 6);
    }

    .swiper-button-prev.hero-prev {
        left: calc((100vw - 2500px) / 6);
    }

    .hero__title {
        font-size: 170px;
    }

    .hero__genre {
        font-size: 50px;
    }

    img.social__icon-img.anim-scale {
        width: 8rem;
        max-height: 5.3rem;
    }

    span.lang-switcher {
        font-size: 50px;
        line-height: 1.2;
    }

    .hero__social-icons {
        gap: 4rem;
    }
}

@media (max-width: 1750px) and (max-height: 800px) {
    .hero__title {
        font-size: 70px;
    }
}

@media (max-width: 1200px) {
    .swiper-button-next.hero-next {
        right: 2vw !important;
    }

    .swiper-button-next.hero-prev {
        left: 2vw !important;
    }
}

@media (orientation: portrait) {
    #admiral-kuznecov {
        background-image: url(../../img/projects/admiral-kuznetsov/hero-banner-xs.jpg);
    }

    /* 
    #formula-prestupleniya {
        background-image: url(../../img/projects/formula-prestupleniya/hero-banner-xs.jpg);
    } */

    .overlap {
        position: unset !important;
    }

    section.hero {
        aspect-ratio: 100 / 107;
        max-height: 100vh;
        height: fit-content !important;
    }

    .hero__pagination {
        display: block;
    }

    .hero__title {
        font-size: 4.8rem;
        font-weight: 400 !important;
        max-width: 100vw;
        justify-content: center;
        display: flex;
        text-align: center;
        width: 100%;
    }

    span.hero__genre {
        font-size: 1.4rem;
        max-width: 100vw;
        justify-content: center;
        display: flex;
    }

    .hero__content-container {
        max-width: 100vw;
    }

    span.swiper-pagination-bullet {
        width: 3.7rem;
        border-radius: 0;
        height: 1px;
        background: #fff;
    }

    .hero__pagination .swiper-pagination-bullet {
        opacity: .2 !important;
    }

    .hero__pagination .swiper-pagination-bullet-active {
        opacity: 1 !important;
    }

    .projects__slider .section-title {
        transition: opacity 0.3s ease, color 0.3s ease;
    }

    .hero-prev,
    .hero-next {
        display: none !important;
    }


    .hero__content-container {
        margin: 0;
    }

    .hero__content.content-wide-width {
        max-width: calc(100vw - 8.87vw * 2);
    }

    .hero__content.content-wide-width {
        position: absolute;
        left: 0;
        right: 0;
        bottom: 15%;
    }

    .hero__btn-wrapper {
        justify-content: center;
        gap: 1.3rem;
    }

    .hero__pagination .swiper-pagination-bullets-dynamic .swiper-pagination-bullet-active-prev-prev,
    .hero__pagination.swiper-pagination-bullets-dynamic .swiper-pagination-bullet-active-prev,
    .hero__pagination span.swiper-pagination-bullet.swiper-pagination-bullet-active-next-next,
    .hero__pagination span.swiper-pagination-bullet.swiper-pagination-bullet-active-next {
        transform: scale(1) !important;
    }

    .hero__pagination.swiper-pagination.swiper-pagination-bullets.swiper-pagination-horizontal.swiper-pagination-bullets-dynamic {
        width: 100vw !important;
    }

    .hero__btn-wrapper {
        justify-content: center;
        gap: 1.3rem;
        flex-direction: column;
        align-items: center;
    }

    .hero__pagination.swiper-pagination.swiper-pagination-bullets.swiper-pagination-horizontal {
        top: 90%;
    }

    .hero__btn-wrapper .dark {
        display: none;
    }

    .hero__btn-wrapper .open-video {
        max-width: 130px;
    }

    .swiper-button-next.hero-next {
        right: 2vw !important;
    }

    .swiper-button-next.hero-prev {
        left: 2vw !important;
    }
}

@media (max-width: 400px) {
    .hero__title {
        font-size: 36px;
    }

    .hero__content-container {
        top: 80% !important;
    }
}