.testimonial-block {
    margin: 60px 0;
}

.testimonial-block h1,
.testimonial-block h2,
.testimonial-block h3 {
    margin-bottom: 1rem;
    margin-top: 0;
}

.testimonial-block h2 {
    font-size: 1.75rem;
}

.testimonial-block .testimonial-description {
    font-size: 1.1rem;
    line-height: 1.6;
    color: #717171;
    font-weight: 400;
}

.testimonial-block .row {
    margin-top: 32px;
    row-gap: 46px;
    display: flex;
    flex-wrap: wrap;
    align-items: stretch;
}

.testimonial-card {
    display: flex;
    flex-direction: column;
    justify-content: flex-start;
    align-items: flex-start;
    padding: 1.5rem;
    border: 1px solid #D1D1D6;
    border-radius: 1rem;
    gap: 8px;
    height: 100%;
}
.testimonial-header {
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    align-items: flex-start;
    gap: 15px;
    width: 100%;
}
.testimonial-source {
    font-size: 1rem;
    padding: 5px 20px;
    border-radius: 4px;
    font-weight: 400;
}
.testimonial-source strong {
    color: inherit;
}
.testimonial-rating {
    display: flex;
    flex-direction: row;
    align-items: center;
    gap: 4px;

}
.testimonial-quote {
    margin: 0;
    padding-top: 7px;
    padding-bottom: 15px;
    border-bottom: 1px solid #D1D1D6;
}
.testimonial-quote p {
    margin: 0;
    line-height: 1.5;
    font-size: 1rem;
    color: #000;
    font-weight: 400;
}

.testimonial-author {
    width: 100%;
}

.testimonial-author strong {
    padding-block: 8px;
    font-size: 1rem;
    line-height: 1.5;
    font-weight: 600;
    color: #000;
}

@media (max-width: 991px) {
    .testimonial-card {
        margin-bottom: 20px;
    }

    .testimonial-block .row {
        row-gap: 25px;
    }
}
