.swiper-pagination {
    display: none;
}

.swiper.ecc-carousel {
    width: 100vw;
    min-height: calc(100vh + 1px);
}

.ecc-carousel .swiper-buttons {
    display: flex;
    align-items: center;
    justify-content: space-between;
    width: 95%;
    height: fit-content;
    position: relative;
    z-index: 3;
    left: 2.5%;
    transform: translateY(calc(-50vh - 75px));
}

.ecc-carousel .swiper-buttons .swiper-button-next,
.ecc-carousel .swiper-buttons .swiper-button-prev {
    width: 150px;
    height: 300px;
    display: flex !important;
    align-items: center;
    justify-content: center;
    box-sizing: content-box;
}

.ecc-carousel .swiper-buttons .swiper-button-next img,
.ecc-carousel .swiper-buttons .swiper-button-prev img {
    width: 100%;
    height: 100%;
}

.ecc-carousel .swiper-buttons .swiper-button-prev img {
    transform: rotate(180deg);
}
.ecc-carousel .swiper-buttons .swiper-button-next::after,
.ecc-carousel .swiper-buttons .swiper-button-prev::after {
    display: none;
}

.ecc-carousel .swiper-slide-content > :where(h1, h2, h3, h4, h5, h6) {
    text-align: center;
}

.ecc-carousel .swiper-wrapper {
    height: fit-content;
}

.ecc-carousel .swiper-wrapper .swiper-slide {
    display: flex;
    flex-direction: column;
    justify-content: flex-end;
    align-items: center;
    width: 100vw;
    height: auto;
    min-height: 100vh;
    position: relative;
    padding: 180px 0 20px;
}

.ecc-carousel .swiper-wrapper .swiper-slide::after {
    content: '';
    display: block;
    height: 100vh;
    width: 100vw;
    background: linear-gradient(180deg, #ffffff20 20%, var(--white));
    position: absolute;
    left: 0;
    bottom: 0;
}

.ecc-carousel .swiper-wrapper img {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100% !important;
    object-fit: cover;
    z-index: 0;
}

.ecc-carousel .swiper-slide-content {
    position: relative;
    z-index: 1;
    display: flex;
    flex-direction: column;
    justify-content: flex-end;
    align-items: center;
    text-align: left;
    padding: 20px;
    width: 75%;
    height: fit-content;
    gap: 30px;
}

.ecc-carousel .swiper-slide-content *:not(.elementor-button-text) {
    color: var(--black) !important;
}

@media screen and (max-width: 1440px) {
    .ecc-carousel .swiper-buttons .swiper-button-next,
    .ecc-carousel .swiper-buttons .swiper-button-prev {
        width: 100px;
        height: 200px;
    }
    .ecc-carousel .swiper-buttons {
        transform: translateY(-175px);
    }
}

@media screen and (max-width: 980px) {
    .ecc-carousel .swiper-buttons .swiper-button-next,
    .ecc-carousel .swiper-buttons .swiper-button-prev {
        width: 30px;
        height: 60px;
    }
    .ecc-carousel .swiper-buttons {
        display: flex;
        align-items: center;
        justify-content: space-between;
        width: 95%;
        height: fit-content;
        position: relative;
        z-index: 3;
        left: 2.5%;
        transform: translateY(-60px);
    }
}
