.testimonials {
    padding: 48px 0;
}

.testimonials__left {
    padding-bottom: 29px;
    text-align: center;
}

.testimonials__left h2 {
    padding-bottom: 0;
}

.js-testimonial {
    margin: 0 -16px;
    padding-bottom: 64px;
    display: flex;
    align-items: stretch;
    flex-wrap: wrap;
}

.testimonial-item {
    padding: 27px 16px 0 16px;
}

.testimonial {
    margin: 0 0 0 27px;
    background: rgba(193,179,221,0.23);
    border-radius: 0 50px 0px 0;
    padding: 58px 31px 32px;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    text-decoration: none;
    height: 100%;
    position: relative;
}




.js-testimonial .slick-slide:nth-child(odd) .testimonial {
    border-radius: 0 0px 50px 0;
}

.testimonial__details {
    padding-bottom: 20px;
    position: relative;
}

.testimonial__bottom {
    padding-top: 8px;
    position: relative;
}

.testimonial__details::before {
    content: '';
    position: absolute;
    width: 98px;
    height: 4px;
    background: #8885C4;
    bottom:  0;
    left: 0;
}

.testimonial__author {
    padding-bottom: 8px;
    font-size: 16px;
    line-height: 1.5em;
    color: #192846;
}

.testimonial__logo {
    height: 38px !important;
}
.testimonial__logo img {
    object-fit: contain;
    width: auto;
    height: 100%;
}

.js-testimonial .slick-track {
    display: flex !important;
}

.js-testimonial .slick-slide {
    height: inherit !important;
}

.js-testimonial .slick-slide div {
    height: 100%;
}

.js-testimonial .slick-slide .testimonial div {
    height: auto;
}

.testimonial::before {
    content: '\e90b';
    font-family: 'icomoon';
    color: #192846;
    font-size: 66px;
    position: absolute;
    top: -27px;
    left: -27px;
    line-height: 1em;
}

.cta-text + .testimonials,
.testimonials + .quick-form__wrapper {
    padding-top: 0;
} 

.testimonial__description .js-readmore-ctm {
    background: none;
    border: none;
    border-bottom: 1px solid #8885C4;
    font-weight: normal;
}

.js-testimonial-full {
    display: none;
}

@media (min-width: 768px) {

    .testimonials__left {
        padding-bottom: 48px;
    }
    
    .testimonials__right {
        margin-right: -52px;
        margin-left: -27px;
    }
    
    .testimonial {
        padding: 58px 32px 32px;
        width: 374px;
    }

    .testimonial__logo {
        height: 48px !important;
    }

    .js-testimonial .slick-prev {
        left: 43px;
        margin-left: 0;
    }

    .js-testimonial .slick-next {
        right: 0;
        left: 97px;
        margin-right: 0;
    }
    
}


@media (min-width: 1200px) {

    .testimonials {
        padding: 96px 0;
    }

    .testimonials__flex {
        display: flex;
        flex-wrap: wrap;
        margin-right: -83px;
    }

    .testimonials__left {
        padding-bottom: 0;
        padding-top: 60px;
        text-align: left;
        width: 507px;
    }
    
    .testimonials__right {
        margin-right: 0;
        margin-left: 0;
        width: calc(100% - 507px);
        padding-left: 33px;
    }

    .testimonial-item {
        padding: 42px 16px 0 16px;
    }
    
    .testimonial {
        margin: 0 0 0 42px;
        border-radius: 0 100px 0px 0;
        padding: 77px 32px 32px;
        width: 388px;
    }


    .testimonial::after {
        width: 113px;
        height: 90px;
        top: -42px;
        left: -42px;
    }

    .js-testimonial {
        padding-bottom: 0;
    }
    
    
    .js-testimonial .slick-slide:nth-child(odd) .testimonial {
        border-radius: 0 0px 100px 0;
    }

    .testimonial__logo {
        height: 69px !important;
    }

    .js-testimonial .slick-arrow {
        bottom: 100px;
    }

    .js-testimonial .slick-prev {
        left: -527px;
    }

    .js-testimonial .slick-next {
        left: -455px;
    }

    .testimonial__details {
        padding-bottom: 36px;
    }
    
}


@media (min-width: 1600px) {
    .testimonial::before {
        content: '\e90b';
        font-family: 'icomoon';
        color: #192846;
        font-size: 66px;
        position: absolute;
        top: -27px;
        left: -27px;
        line-height: 1em;
    }

    .testimonial::after {
        display: none;
    }

    .testimonials__left {
        padding-top: 60px;
        width: 728px;
    }
    
    .testimonials__right {
        width: calc(100% - 728px);
        padding-left: 15px;
    }

    .testimonial-item {
        padding: 88px 16px 0 16px;
    }
    
    .testimonial {
        margin: 0 0 0 60px;
        border-radius: 0 150px 0px 0;
        padding: 84px 32px 32px 32px;
        width: 575px;
    }

    .testimonial::before {
        font-size: 173px;
        top: -88px;
        left: -60px;
    }
    
    
    .js-testimonial .slick-slide:nth-child(odd) .testimonial {
        border-radius: 0 0px 150px 0;
    }

    .testimonial__logo {
        height: auto !important;
    }

    .js-testimonial .slick-arrow {
        bottom: 125px;
    }

    .js-testimonial .slick-prev {
        left: -728px;
    }

    .js-testimonial .slick-next {
        left: -656px;
    }

    .testimonial__bottom {
        display: flex;
        align-items: center;
        flex-direction: row-reverse;
        gap: 41px;
        padding-top: 5px;
    }

    .testimonial__logo {
        width: 100px;
        margin-right: 0;
    }

    .testimonial__logo img {
        max-width: 100%;
    }

    .testimonial__author {
        font-size: 22px;
        width: calc(100% - 216px);
        padding: 0 12px 0 0;
        margin-right: auto;
    }

    .testimonial__description {
        font-size: 26px;
    }
    
    .testimonial__description .js-readmore-ctm {
        font-size: 24px;
    }
}

