/* =========================
   Customer Review (customer-review)
   ========================= */
.page-template-client {
    background: #F6F6F6;
}

.customer-review {
    position: relative;
    overflow: hidden;
    min-height: 640px;
}

.customer-review__heading {
    margin: 0;
    color: rgba(0, 71, 137, 1);
    margin-bottom: 75px;
}

/* Background */
.customer-review__bg {
    position: absolute;
    inset: 0;
    z-index: 0;
}

.customer-review__bg-image {
    width: 100%;
    height: 100%;
    -o-object-fit: cover;
       object-fit: cover;
    display: block;
}

.customer-review__bg-image--mobile {
    display: none;
}

/* Overlay */
.customer-review__overlay {
    position: relative;
    z-index: 1;
    min-height: inherit;
    padding-top: 109px;
    padding-bottom: 113px;
}

.customer-review__overlay::before {
    content: "";
    position: absolute;
    inset: 0;
    background: -webkit-gradient(linear, left bottom, left top, from(rgba(0, 0, 0, 0.2)), to(rgba(0, 0, 0, 0.2))), -webkit-gradient(linear, right top, left top, color-stop(50%, rgba(0, 0, 0, 0)), color-stop(104.79%, rgba(0, 0, 0, 0.4)));
    background: -o-linear-gradient(bottom, rgba(0, 0, 0, 0.2), rgba(0, 0, 0, 0.2)), -o-linear-gradient(right, rgba(0, 0, 0, 0) 50%, rgba(0, 0, 0, 0.4) 104.79%);
    background: linear-gradient(0deg, rgba(0, 0, 0, 0.2), rgba(0, 0, 0, 0.2)), linear-gradient(270deg, rgba(0, 0, 0, 0) 50%, rgba(0, 0, 0, 0.4) 104.79%);
    z-index: 0;
}

.customer-review__container {
    position: relative;
    z-index: 1;
    max-width: 100%;
    margin: 0 auto;
}

.title__breadcrumb .title__breadcrumb--text {
    margin: 0;
    margin-bottom: 16px;
    font-weight: 500;
}

/* Title */
.customer-review__title-block {
    width: 100%;
    display: -webkit-box;
    display: -ms-flexbox;
    display: flex;
    position: relative;
    -webkit-box-pack: justify;
        -ms-flex-pack: justify;
            justify-content: space-between;
    gap: 50px;
}

.customer-review__title {
    margin: 0;
    color: #fff;
    max-width: 776px;
    width: 100%;
    margin-bottom: 24px;
}

/* Swiper area */
.customer-review__slider--wrapper {
    max-width: 1252px;
    width: 100%;
    margin: 0 auto;
    position: relative;
}

.customer-review__slider {
    margin-top: 108px;
    position: relative;
}

/* Allow "peek" cards left/right */
.customer-review__slider.swiper {
    overflow: visible;
}

.customer-review__slider-wrapper {
    -webkit-box-align: stretch;
        -ms-flex-align: stretch;
            align-items: stretch;
}

.customer-review__slide:nth-child(3n+1) {
    margin-top: 0px;
}

.customer-review__slide:nth-child(3n+2) {
    margin-top: 100px;
}

.customer-review__slide:nth-child(3n+3) {
    margin-top: 30px;
}

/* Card */
.customer-review__card {
    background: #F6F6F6;
    border-radius: 20px;
    padding: 35px 40px 45px 40px;
    height: 100%;
}

/* Author */
.customer-review__author {
    margin-top: 30px;
}

.customer-review__author-name {
    font-weight: 500;
    margin-bottom: 2px;
}

/* Controls: top-right vertical */
.customer-review__controls {
    display: -webkit-box;
    display: -ms-flexbox;
    display: flex;
    -webkit-box-orient: vertical;
    -webkit-box-direction: normal;
        -ms-flex-direction: column;
            flex-direction: column;
    gap: 20px;
    position: absolute;
    right: 0;
    top: 0;
}

/* Use Swiper button classes but style with our BEM class */
.customer-review__control.swiper-button-next .customer-review__control-icon,
.customer-review__control.swiper-button-prev .customer-review__control-icon {
    content: '';
    width: 15px;
    height: 12px;
    background: url('../../assets/images/arrow.svg');
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    -ms-flex-negative: 0;
        flex-shrink: 0;
}

.customer-review__control.swiper-button-prev {
    -webkit-box-ordinal-group: 3;
        -ms-flex-order: 2;
            order: 2;
}

.customer-review__control.swiper-button-next .customer-review__control-icon {
    -webkit-transform: scaleX(-1);
        -ms-transform: scaleX(-1);
            transform: scaleX(-1);
}

.customer-review__control.swiper-button-next,
.customer-review__control.swiper-button-prev {
    position: static;
    margin: 0;
    width: 60px;
    height: 60px;
    border-radius: 100%;
    border: 0;
    cursor: pointer;
    display: -webkit-inline-box;
    display: -ms-inline-flexbox;
    display: inline-flex;
    -webkit-box-align: center;
        -ms-flex-align: center;
            align-items: center;
    -webkit-box-pack: center;
        -ms-flex-pack: center;
            justify-content: center;

    background: #fff;
    -webkit-box-shadow: none;
            box-shadow: none;
}

/* Remove Swiper default pseudo arrows */
.customer-review__control.swiper-button-next::after,
.customer-review__control.swiper-button-prev::after {
    display: none;
    content: "";
}

.customer-review__control-icon {
    color: #0d121c;
    font-size: 18px;
    line-height: 1;
}

/* Disabled state */
.customer-review__control.swiper-button-disabled {
    opacity: 0.3;
    cursor: default;
    -webkit-box-shadow: none;
            box-shadow: none;
}

.customer-review__control:not(.swiper-button-disabled):hover {
    background: rgba(255, 255, 255, 0.75);
}

/* Fallback spacing if you didn't set spaceBetween in Swiper JS */
.customer-review__slider-wrapper>.customer-review__slide {
    margin-right: 22px;
}
.customer-review__bg-image--mobile {
    display: none;
}
/* Responsive */

@media (max-width: 991px) {
    .customer-review__title {
        max-width: 100%;
        padding-right: 100px;
    }
}

@media (max-width: 767.98px) {
    .customer-review__heading {
        font-size: 24px;
        line-height: 34px;
        letter-spacing: 0;
        margin-bottom: 58px;
    }

    .customer-review__bg-image--desktop {
        display: none;
    }
    
    .customer-review__bg-image--mobile {
        display: block;
    }

    .customer-review__title {
        padding-right: 0;
        font-size: 24px;
        line-height: 34px;
        letter-spacing: 0;
    }
    
    .customer-review__bg-image--desktop {
        display: none;
    }

    .customer-review__bg-image--mobile {
        display: block;
    }
    
    .customer-review {
        min-height: 560px;
    }

    .customer-review__controls {
        top: 0;
        position: static;
        -webkit-box-orient: horizontal;
        -webkit-box-direction: normal;
            -ms-flex-direction: row;
                flex-direction: row;
        -webkit-box-pack: center;
            -ms-flex-pack: center;
                justify-content: center;
        gap: 30px;
    }

    .customer-review__control.swiper-button-prev {
        -webkit-box-ordinal-group: 1;
            -ms-flex-order: 0;
                order: 0
    }

    .customer-review__slide:nth-child(3n+2),
    .customer-review__slide:nth-child(3n+3) {
        margin-top: 0;
    }

    .customer-review__slider.swiper {
        overflow: hidden;
        margin: 25px 0 52px;
    }

    .customer-review__slide .customer-review__quote {
        font-size: 15px;
        line-height: 22px;
    }

    .customer-review__overlay {
        padding-top: 103px;
        padding-bottom: 207px;
    }

    .customer-review__card {
        padding: 25px 30px 30px 30px;
    }

    .customer-review__author {
        margin-top: 16px;
    }

}

@media (max-width: 480px) {
    .customer-review__control.swiper-button-next,
    .customer-review__control.swiper-button-prev {
        width: 48px;
        height: 48px;
    }
}