.testimonial-slider {
    width: 100%;
    margin: 0;
    position: relative;
    background-color: var(--bg-gray);
    padding: 26px 0 35px 0;
    position: relative;
}
.testimonial-slider::after {
    position: absolute;
    width: 80%;
    height: 2px;
    content: '';
    background-color: var(--red);
    bottom: 0;
}
.testimonial-slider-container {
    width: 100%;
    height: 100%;
    overflow-x: hidden;
}
.testimonial-slider-container > .wrapper-wide {
    display: flex;
    align-items: center;
    gap: 80px;
}
.testimonial-slider-container h2 {
    font-size: 48px;
    text-transform: uppercase;
    width: auto;
}
.testimonial-slider-container .h-line {
    height: 2px;
    width: auto;
    flex: 1;
    background-color: var(--red);
}
.item_testimonial-slider {
    height: auto !important;
    padding-top: 0;
    padding-bottom: 20px;
}

.testimonial-slider_testimonial {
    position: relative;
    width: 100%;
    height: 100%;
    display: flex;
    gap: 44px;
}
.testimonial-slider_img {
    position: relative;
    width: 203px;
    height: 255px;
    margin-left: 44px;
}
.testimonial-slider_img img {
    object-fit: cover;
    position: absolute;
    width: 100%;
    height: 100%;
    object-position: center;
}

.testimonial_slider-left {
    width: 70%;
    max-width: 740px;
}

.testimonial_slider-right {
    width: 30%;
    min-width: 300px;
    flex: 1;
}
.testimonial_slider-right .name-container {
    background-color: var(--red);
    padding: 44px 0 44px 44px;
    color: var(--white);
    margin-top: -25px;
    font-family: var(--primary-font);
}
.testimonial_slider-right .name-container .name {
    font-size: 25px;
    position: relative;
    display: flex;
    align-items: center;
    width: auto;
    text-transform: uppercase;
    gap: 20px;
}

.testimonial-slider-container .name-container .name .h-line-gray {
    height: 2px;
    width: auto;
    flex: 1;
    background-color: var(--dark);
}
.testimonial_slider-right .name-container .role {
    font-size: 17px;
    font-style: italic;
    padding: 10px 44px 0 0;
}

.testimonial_slider-left .quote {
    font-size: 60px;
    text-transform: uppercase;
    font-weight: 900;
    font-family: var(--primary-font);
    color: var(--blue);
    display: inline-block;
    line-height: 1;
    position: relative;
    padding: 20px 35px;
    margin: 70px 0 0 48px;
}
.testimonial_slider-left .quote:before {
    content: '';
    width: 14px;
    height: 50px;
    display: block;
    position: absolute;
    border-left: 2px solid var(--red);
    border-right: 2px solid var(--red);
    left: 0;
    top: 0;
}
.testimonial_slider-left .quote:after {
    content: '';
    width: 14px;
    height: 50px;
    display: block;
    position: absolute;
    border-left: 2px solid var(--red);
    border-right: 2px solid var(--red);
    right: 0;
    bottom: 0;
}

.testimonial_slider-left .description {
    font-family: var(--primary-font);
    font-size: 18px;
    font-weight: 400;
    line-height: 1.33;
    font-style: italic;
}

.swiper-testimonial-slider-pagination {
    bottom: 70px !important;
}
.swiper-testimonial-slider-pagination .swiper-pagination-bullet {
    width: 30px;
    height: 2px;
    margin: 0 5px !important;
    border: 0;
    background: var(--gray-86);
    opacity: 1;
    position: relative;
    border-radius: 0;
}
.swiper-testimonial-slider-pagination .swiper-pagination-bullet.swiper-pagination-bullet-active {
    background: var(--red);
    opacity: 1;
}
.swiper-testimonial-slider-pagination .swiper-pagination-bullet:before {
    position: absolute;
    top: -20px;
    left: 0;
    height: 40px;
    content: '';
    width: 100%;
}

@media screen and (max-width: 1239px) {
    .testimonial_slider-top .header {
        font-size: 60px;
    }
}

@media screen and (max-width: 1080px) {
    .testimonial_slider-left .quote {
        font-size: 40px;
        margin: 40px 0 0 0;
    }
    .testimonial_slider-left {
        width: 60%;
        max-width: 740px;
    }
}
@media screen and (max-width: 991px) {
    .testimonial-slider_testimonial {
        position: relative;
        width: 100%;
        height: auto;
        display: flex;
        gap: 24px;
        flex-wrap: wrap;
    }
    .testimonial_slider-left, .testimonial_slider-right {
        width: 100%;
        max-width: 100%;
    }
    .testimonial_slider-left .description {
        padding-right: 20px;
    }
    .testimonial_slider-left .quote {
        font-size: 32px;
        margin: 40px 0 0 0;
    }
    .testimonial-slider-swiper.swiper {
        padding-right: 0;
        padding-bottom: 40px;
        padding-top: 0px;
    }
    .testimonial-slider-container > .wrapper-wide {
        gap: 20px;
    }
    .testimonial-slider-container h2 {
        font-size: 38px;
    }
    .testimonial_slider-right .name-container .name {
        font-size: 21px;
    }
}

@media screen and (min-width: 992px) {
    .testimonial-slider-swiper.swiper {
        left: 0;
        position: static;
        box-sizing: border-box;
        width: calc((100vw + 100%) / 2);
        padding-right: 0;

        padding-bottom: 90px;
        padding-top: 30px;
    }
}

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

    .swiper-testimonial-slider-pagination {
        bottom: 10px !important;
    }
    .swiper-testimonial-slider-pagination .swiper-pagination-bullet {
        width: 25px;
        height: 2px;
    }
}