.full-width-image-testimonial {
    position: relative;
    z-index: 1;
}

.full-width-image-testimonial__bg {
    position: absolute;
    width: 100%;
    height: 100%;
    top: 0;
    left: 0;
    object-fit: cover;
    z-index: -1;
}

.full-width-image-testimonial::after {
    content: '';
    position: absolute;
    width: 100%;
    height: 100%;
    top: 0;
    left: 0;
    z-index: -1;
    background: var(--primary-color);
    opacity: 0.85;
}

.testimonial__heading .sub-title,
.testimonial__heading h2,
.testimonial__heading .btn-tertiary {
    color: var(--white);
}

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

.js-testimonials .slick-track {
    display: flex !important;
    justify-content: center;
}

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

.js-testimonials .slick-slide, 
.js-testimonials .testimonial-item {
    min-width: 324px;
}


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

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


.testimonial-item {
    padding: 20px 16px;
}

.testimonial__hover {
    position: absolute;
    bottom: 42px;
    width: 127px;
    height: 119px !important;
    right: 0;
}

.testimonial {
    border: 1px solid var(--light-blue);
    border-radius: 12px;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    text-decoration: none;
    height: 100%;
    padding: 20px 33px 20px 20px;
    color: var(--white);
    position: relative;
}

.testimonial__rate {
    font-size: 18px;
    color: var(--secondary-color);
    display: flex;
    gap: 8px;
    padding-bottom: 20px;
}

/* .testimonial__description {
    overflow: hidden;
    display: -webkit-box;
    -webkit-line-clamp: 8;
    line-clamp: 8;
    -webkit-box-orient: vertical;
} */

.testimonial__description {
    height: 205px !important;
    overflow-y: auto; /* Always show scrollbar */
    padding-right: 15px;
}

.testimonial__description::-webkit-scrollbar {
    background-color: var(--light-gray);
    padding: 2px;
    width: 12px;
    background: transparent;
}

.testimonial__description::-webkit-scrollbar-thumb {
    border-radius: 10px;
    background: var(--light-gray);
    border: 2px solid var(--primary-color);
}

.testimonial__description::-webkit-scrollbar-track {
    border-radius: 0;
    width: 5px;
    background:var(--primary-color);
    border-radius: 10px;
}


.testimonial__bottom {
    padding-top: 42px;
    color: #A7E9F1;
    font-size: 16px;
    font-weight: 700;
}

.js-testimonials .slick-next {
    right: 16px;
}

.js-testimonials .slick-prev {
    left: auto;
    right: 76px;
}

.js-testimonials ul.slick-dots {
    padding-right: 140px;
}

.full-width-image-testimonial ul.slick-dots li.slick-active button {
    background-color: #A7E9F1;
}

.testimonial-list {
    padding-top: 20px;
}

@media (min-width: 1200px) {
    .testimonial-item {
        padding: 39px 16px 30px;
    }

    .testimonial__heading {
        display: flex;
        justify-content: space-between;
        align-items: flex-end;
    }

    .testimonial__heading h2 {
        padding-bottom: 0;
    }

    .testimonial-list {
        padding-top: 39px;
    }

    .testimonial__heading .btn {
        margin-bottom: 5px;
    }
    
    .testimonial__description {
        line-height: 1.444em;
    }

    .testimonial__bottom {
        font-size: 20px;
    }

    .testimonial {
        padding: 20px 24px 20px 20px;
    }

    .testimonial:hover {
        background: var(--light-blue);
        border-color: var(--light-blue);
        color: var(--dark);
        transform: scale(1.05);
        box-shadow: 0 0 16px rgba(25,88,118,0.5);
    }

    .testimonial:hover .testimonial__bottom {
        color: var(--primary-color);
        transform: scale(0.95);
        font-size: 21px;
    }

    .testimonial:hover .testimonial__description,
    .testimonial:hover .testimonial__rate {
        transform: scale(0.95);
    }

    .testimonial__heading .btn-tertiary:hover {
        color: var(--light-blue);
        background: transparent;
    }

    .js-testimonials .slick-track {
        min-width: 1306px;
    }

    .js-testimonials .testimonial-item {
        max-width: 324px;
    }
}