.testimonials__wrapper {
    padding: 0 22px;
}

.testimonials__heading {
    text-align: center;
    margin: 0 0 5px;
}

.testimonials__heading h2 span {
    color: var(--primary-color);
}

.testimonials__heading .btn-tertiary {
    transition: all ease-in-out 0.2s;
    color: var(--secondary-color);
    font-size: 20px;
}

.testimonial-slide-item {
    background: #fff;
    border-radius: 15px;
    padding: 25px 25px 30px;
    box-shadow: 0 4px 20px rgba(51, 51, 51, 0.2);
}

.testimonial-slider .slick-list {
    margin: 0 -22px;
    padding: 20px 0;
}

.testimonial-slider .slick-slide {
    margin: 0 22px;
}

.testimonial-slide-item__title {
    position: relative;
    padding-right: 20px;
    font-size: 16px;
    color: var(--paragraph-color);
    font-weight: 400;
    font-style: italic;
}

.testimonial-google-icon {
    position: absolute;
    right: 0;
    top: 0;
    transform: none;
}

.testimonial-slide-review {
    margin: 0 0 15px;
}

.testimonial-slide-item__description p {
    line-height: 1.375em;
}

.testimonial-slide-item__description {
    max-height: 135px;
    overflow: auto;
    padding-right: 23px;
    margin: 0 0 16px;
}

.testimonial-slider {
    padding: 0 0 63px;
}

.testimonial-slide-item__description::-webkit-scrollbar {
    width: 7px;
}

.testimonial-slide-item__description::-webkit-scrollbar-track {
    background-color: #D8D8D8;
    -webkit-border-radius: 20px;
    border-radius: 20px;
}

.testimonial-slide-item__description::-webkit-scrollbar-thumb {
    -webkit-border-radius: 20px;
    border-radius: 20px;
    background: #818181;
}

.fx-accordion.bg-light-blue + .bg-light-blue {
    padding-top: 0;
}

@media(min-width: 768px) {
    .testimonials__heading {
        text-align: left;
        margin: 0 0 5px;
        padding-right: 32%;
    }

    .testimonials__wrapper {
        padding: 0 52px;
    }

    .testimonial-slider .slick-arrow {
        bottom: unset;
        right: 0;
        left: unset;
        transform: unset;
        top: -32px;
    }

    .testimonial-slider .slick-prev {
        margin-left: 0;
        margin-right: 68px;
    }

    .testimonial-slider .slick-slide {
        margin: 0 16px;
    }

    .testimonial-slider .slick-list {
        margin: 0 -16px;
    }

    .testimonial-slide-item {
        box-shadow: 0 4px 16px rgba(51, 51, 51, 0.2);
    }

    .testimonial-slider {
        padding: 0;
        margin-bottom: -20px;
    }
}

@media(min-width: 1200px) {
    .testimonial-slider.fx-slider .fx-slide {
        display: block;
    }

    .testimonials__heading {
        position: absolute;
        width: 645px;
        left: 50%;
        top: 163px;
        transform: translate(-50%, 0);
        padding: 0 0 0 190px;
        z-index: 1;
    }

    .testimonials__wrapper {
        position: relative;
        height: 547px;
        max-width: 1677px;
        margin: 0 auto;
        width: 95%;
        padding: 0;
    }

    .testimonial-slide {
        width: 350px;
        position: absolute;
        z-index: 1;
    }

    .testimonial-slide:first-child {
        left: 20px;
        top: 0;
    }

    .testimonial-slide:nth-child(2) {
        left: 0;
        bottom: 39px;
    }

    .testimonial-slide:nth-child(3) {
        top: 39px;
        right: 27px;
    }

    .testimonial-slide:nth-child(4) {
        bottom: 0;
        right: 0;
    }

    .testimonial-man-image {
        position: absolute;
        left: -107px;
        top: -58px;
        z-index: -1;
        width: 420px;
    }

    .testimonials__heading h2 span {
        font-size: 120px;
        display: block;
        letter-spacing: -0.02em;
    }

    .testimonials__heading h2 {
        font-size: 35px;
        line-height: 1.9em;
        margin: 0;
    }

    .testimonial-slide-item__description {
        max-height: 112px;
        padding-right: 17px;
    }

    .testimonials__heading .btn-tertiary:hover {
        color: var(--primary-color);
    }
    
    .testimonials__heading .btn-tertiary:hover:after {
        background-color: var(--primary-color);
    }
}

@media(min-width: 1600px) {
    .testimonial-slide:first-child {
        left: 120px;
    }

    .testimonial-slide:nth-child(3) {
        right: 127px;
    }

    .testimonials__heading h2 {
        font-size: 44px;
        line-height: 1.9em;
        margin: 0;
    }

    .testimonials__heading h2 span {
        font-size: 125px;
        display: block;
        letter-spacing: -0.02em;
    }

    .testimonial-slide {
        width: 385px;
    }

    .testimonials__heading {
        width: 740px;
        padding: 0 0 0 220px;
    }

    .testimonial-man-image {
        left: -150px;
        top: -69px;
        width: auto;
    }
}