.testimonials {
    padding: var(--spacing-lg) 0;
}

.testimonials header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: var(--spacing-md);
}

.testimonials-heading {
    line-height: 2rem;
    font-weight: 100;
    font-family: var(--font-em);
}

.testimonials .header-line {
    border-top: 4px solid var(--color-primary-dark);
}

.testimonials-slide-show {
    margin-top: var(--spacing-lg);
    position: relative;
}

.testimonials-wrapper {
    display: flex;
    flex-wrap: wrap;
    gap: var(--spacing-sm);
    align-items: baseline;
    position: relative;
}

.testimonial-card {
    width: 100%;
    background-color: var(--color-primary-light);
    padding: var(--spacing-sm);
}

.testimonial-summary {
    margin-top: var(--spacing-sm);
    max-height: 200px;
    overflow-y: auto;
}

.testimonial-footer {
    display: flex;
    align-items: end;
    gap: 12px;
    margin-top: var(--spacing-sm);
}

.testimonial-image img {
    width: 48px;
    height: 48px;
    border-radius: 50%;
}

.testimonial-social-proof-stars {
    display: flex;
}

.testimonial-social-proof-stars img {
    width: 32px;
    height: 32px;
    object-fit: cover;
}

.testimonial-social-proof-text {
    color: var(--color-secondary-dark);
}

@media screen and (min-width: 640px) {

    .testimonial-card {
        width: calc(50% - var(--spacing-sm));
    }

}

@media screen and (min-width: 900px) {

    .testimonial-card {
        width: calc(33% - var(--spacing-sm));
    }

}

@media screen and (min-width: 1200px) {

    .testimonial-card {
        width: calc(25% - var(--spacing-sm));
    }

}