/* =Slider with images
-------- */


.swiper-container {
    padding: 0;
    height: 816px;
    text-align: center;
    position: relative;
    background-color: white;
    color: #333;
    overflow: hidden;
    width: 100%;
    box-sizing: border-box;
}

.swiper__image-slider {
    width: 100%;
    height: 100%;
    background-color: #F2EAE7;
}

.swiper__image-slider .swiper-slide {
    font-size: 17px;
    color: white;
    -webkit-box-sizing: border-box;
    box-sizing: border-box;
    padding: 180px 0 0 0;
    background-size: cover;
    background-position: center;
    text-align: left;
}

.swiper__overlay {
    background-color: rgb(30 16 9 / 55%);
    position: absolute;
    width: 100%;
    top: 0;
    bottom: 0;
    z-index: -1;
}

.banner__swiper {
    z-index: 2;
    width: 74%;
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    color: white;
    margin-top: -50px;
}


.swiper__slide-text {
    text-align: center;
    max-width: 60%;
    margin: 0 auto;
}

.swiper__banner-label {
    font-size: 20px;
    line-height: 26px;
    padding: 10px 16px;
    width: 190px;
    min-height: 46px;
    text-transform: uppercase;
    background: #37302C;
    box-shadow: 0px 2px 4px 0px rgba(0, 0, 0, 0.20), 0px 1px 10px 0px rgba(0, 0, 0, 0.12), 0px 4px 5px 0px rgba(0, 0, 0, 0.14);
    margin: 0 auto;
}

.swiper__slide-caption {
    background-color: #37302C;
    color: white;
    text-align: center;
    position: absolute;
    left: 0;
    bottom: 0;
    width: 100%;
    height: 220px;
    padding: 0 18%;
}

.swiper__caption-text {
    overflow-y: auto;
    height: 100px;
    font-size: 26px;
    line-height: 36px;
    margin: 30px 0 5px;
}

.swiper__title {
    line-height: normal;
    font-size: 55px;
    margin: 12px 0;
    text-transform: uppercase;
    font-family: 'DMsans-b';
}

.swiper__subtitle {
    font-size: 24px;
    line-height: 32px;
    font-family: 'DMsans-sb';
}


.swiper-button-prev,
.swiper-button-next {
    border-radius: 50%;
    width: 48px;
    height: 48px;
    background-image: url('../images/home-page/slider/arrow-white.png');
    background-size: 18px;
    background-repeat: no-repeat;
    background-position: center;
}

.swiper-button-prev {
    transform: rotate(180deg);
    left: 31px;
    right: auto;
}

.swiper-button-next {
    transform: rotate(0deg);
    right: 31px;
    left: auto;
}

.swiper-button-next::after,
.swiper-button-prev::after {
    content: '';
}

@media screen and (max-width: 1024px) {
    .swiper-container {
        height: 660px;
    }

    .swiper__image-slider .swiper-slide {
        padding: 100px 0 0 0;
    }

    .swiper__title {
        font-size: 40px;
    }

    .swiper__slide-text {
        max-width: 100%;
    }

    .swiper-button-next,
    .swiper-button-prev {
        top: 43%;
    }

    .swiper__caption-text {
        font-size: 22px;
        line-height: 32px;
    }

    .swiper__slide-caption {
        padding: 0 20px;
    }
}


@media screen and (max-width: 480px) {

    /* slider section */
    .hero {
        height: 644px;
    }

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

    .swiper__title {
        font-size: 26px;
    }


    .swiper__slide-text {
        margin-top: 20px;
        height: 280px;
        overflow: hidden;
        overflow-y: auto;
        text-align: center;
    }

    .swiper__slide-caption {
        height: 242px;
    }

    .swiper__caption-text {
        font-size: 22px;
        line-height: 28px;
        height: 144px;
        margin: 19px 0 5px;
    }

    .swiper__title {
        font-size: 36px;
    }

    .swiper__subtitle {
        font-size: 18px;
        line-height: 24px;
    }

    .swiper__banner-label {
        font-size: 16px;
        line-height: 40px;
        padding: 0px 6px;
        width: 170px;
        min-height: 40px;
    }
}