.testimonials {
    background-color: var(--color-primary-light);
}

.testimonial-showcase {
    flex-direction: column;
    gap: 60px;
    margin-top: 24px;
}


.testimonial-photo-wrapper img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.testimonial-text {
    margin-top: var(--spacing-lg);
    max-height: 440px;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
}

.testimonial-text > img {
    width: 48px;
    height: 48px;
    margin-right: auto;
}

.testimonial-quote {
    margin: var(--spacing-md) 0;
    height: 20%;
}

.testimonial {
    height: 70%;
    overflow-y: auto;
}

.testimonial-author-image img {
    width: 48px;
    height: 48px;
}

.testimonial-social-proof-text {
    font-weight: bold;
}

.testimonial-social-proof-stars {
    display: flex;
}

.testimonial-social-proof-stars img {
    width: 24px;
    height: 24px;
    object-fit: cover;
}

.testimonials-wrapper {
    margin-top: var(--spacing-lg);
    position: relative;
}

.testimonials-col {
    width: 100%;
}

.testimonial-card {
    background-color: var(--color-secondary-light);
    padding: var(--spacing-x-lg) var(--spacing-lg);
    margin-top: var(--spacing-md);
}

.testimonial-card:first-child {
    margin-top: 0;
}

.testimonial-image {
    width: 100%;
    height: 240px;
    align-items: center;
    display: flex;
}

.testimonial-image img {
    max-width: 240px;
    margin: 0 auto;
    height: 100%;
    object-fit: cover;
    border: solid 4px var(--color-primary-dark);
    border-radius: var(--spacing-sm);
}

.testimonial-heading {
    color: var(--color-secondary-dark);
    line-height: var(--spacing-md);
}

.testimonial-summary {
    margin: var(--spacing-sm) 0 var(--spacing-md);
    font-style: italic;
}

@media screen and (min-width: 850px) {

    .testimonial-showcase {
        display: flex;
        align-items: center;
        flex-direction: row;
    }

    .testimonial-showcase>* {
        width: 50%;
        height: 440px;
    }

    .testimonial-text {
        margin-top: 0;
    }

    .testimonial-quote {
        margin: 0;
    }


    .testimonials-wrapper {
        margin-top: var(--spacing-lg);
        display: flex;
        gap: var(--spacing-md);
    }
    
    .testimonials-col {
        width: 33%;
    }

}