.banner {
    padding: var(--gap-s);
}

.banner__container {
    overflow: hidden;
}

/* CSS Swiper */
.banner .swiper {
    width: 100%;
    height: 100%;
}

.banner .swiper-slide {
    position: relative;
    text-align: start;
    display: flex;
    justify-content: center;
    align-items: center;
    width: 100%;
    height: initial;
    border-radius: var(--radius-clasic);
    overflow: hidden;
}

.banner .swiper-slide img {
    display: block;
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.banner-text {
    position: absolute;
    left: clamp(var(--gap-s), 5vw, var(--gap-xxl));
    z-index: 1;
    max-width: calc(100% - clamp(var(--gap-s), 5vw, var(--gap-xxl)) * 2);
}

.banner-text h1,
.banner-text h1 * {
    font-size: var(--font-h1-home);
}

.banner-text p {
    margin-top: 1rem;
}

.banner .swiper-slide::after {
    content: "";
    position: absolute;
    background: linear-gradient(360deg, rgba(0, 0, 0, 0.8) 0%, rgba(102, 102, 102, 0) 75.47%);
    bottom: 0;
    left: 0;
    z-index: 0;
    width: 100%;
    height: 100%;
    user-select: none;
    pointer-events: none;
}

.banner .swiper-pagination {
    width: calc(100% - (40px * 2 + var(--gap-s)));
    padding-left: calc(40px * 2 + var(--gap-s));
    z-index: 100;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: var(--gap-xs);
    padding-bottom: var(--padding-centered);
}

.banner .swiper-pagination span {
    position: relative;
    opacity: 1;
    background-color: var(--third-color);
}

.banner .swiper-pagination span {
    background-color: var(--third-color);
}

.banner .swiper-pagination .swiper-pagination-bullet {
    height: 10px;
    width: 10px;
}

.banner .swiper-pagination .swiper-pagination-bullet:before {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    transform-origin: center;
    transition: height .2s, width .2s;
    content: '';
    height: 100%;
    width: 100%;
    border-radius: 100px;
    border: 1px solid var(--third-color);
}

.banner .swiper-pagination .swiper-pagination-bullet:before {
    border: 1px solid var(--third-color);
}

.banner .swiper-pagination .swiper-pagination-bullet:hover:before {
    height: calc(100% + 8px);
    width: calc(100% + 8px);
}

.banner .swiper-pagination .swiper-pagination-bullet-active:before {
    height: calc(100% + 16px);
    width: calc(100% + 16px);
}

.banner .swiper-horizontal>.swiper-pagination-bullets .swiper-pagination-bullet,
.banner .swiper-pagination-horizontal.swiper-pagination-bullets .swiper-pagination-bullet {
    margin: 0 var(--swiper-pagination-bullet-horizontal-gap, 9px);
}

@media (min-width: 980px) {
    .banner .swiper-slide {
        aspect-ratio: 16 / 7;
    }
}

@media (max-width: 650px) and (max-width: 980px) {
    .banner .swiper-slide {
        aspect-ratio: 16 / 10;
    }
}

@media (min-width: 650px) {
    .banner-text {
        bottom: clamp(var(--gap-xl), 2.5vw, 90px);
    }
}

@media (max-width: 650px) {
    .banner .swiper-slide {
        aspect-ratio: 16 / 20;
    }

    .banner-text {
        bottom: clamp(var(--gap-xxl), 5.5vw, 90px);
    }
}

@media (max-width: 480px) {
    .banner .swiper-slide {
        aspect-ratio: 16 / 26;
    }

    /* .banner-text * {
        -webkit-hyphens: auto;
        -moz-hyphens: auto;
        -ms-hyphens: auto;
        hyphens: auto;
    } */
}
@media (max-width: 767px) {
    .banner-text h1,
    .banner-text h1 * {
        font-size: 30px;
    }
    .text-size-big, .text-size-big * {
        font-size: 30px;
        hyphens: none;
    }
}
@media (min-width: 768px) and (max-width: 1023px) {
    .banner .swiper-slide {
        height: auto;
        padding: 0 0 20px 0;
        justify-content: start;
        align-items: flex-start;
    }
    .banner .swiper-slide img {
        display: block;
        width: 100%;
        height: auto;
        object-fit: contain;
    }
    .banner-text {
        bottom: clamp(var(--gap-m), 10.1vw, 90px);
    }
    .banner .swiper-slide::after {
        background: linear-gradient(360deg, rgba(0, 0, 0, 1) 38%, rgba(102, 102, 102, 0) 78.47%);
    }
}
