.featured-testimonials-section {
    padding: 40px 0;
    background-color: #f8f9fa;
}

.section-title {
    text-align: center;
    margin-bottom: 30px;
    color: #333;
    font-size: 32px;
}

.testimonials-grid {
    display: grid;
    gap: 30px;
    padding: 0 20px;
    max-width: 1200px;
    margin: 0 auto;
}

.testimonial-card {
    background: white;
    border-radius: 8px;
    padding: 15px;
    box-shadow: 0 2px 4px rgba(0,0,0,0.1);
    height: 275px;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    overflow: hidden;
}

.testimonial-content {
    margin-bottom: 20px;
    flex: 1;
    overflow-y: auto;
}

.testimonial-content p {
    font-style: italic;
    color: #555;
    line-height: 1.6;
    margin: 0;
    font-size: 15px;
}

.testimonial-author {
    border-top: 1px solid #eee;
    padding-top: 15px;
}

.testimonial-author h4 {
    margin: 0;
    color: #333;
    font-size: 16px;
}

.testimonial-author p {
    margin: 5px 0 0;
    color: #666;
    font-size: 14px;
}

.testimonials-pagination {
    text-align: center;
    margin-top: 30px;
}

.testimonials-pagination .page-numbers {
    display: inline-flex;
    list-style: none;
    padding: 0;
    margin: 0;
}

.testimonials-pagination .page-numbers li {
    margin: 0 2px;
}

.testimonials-pagination .page-numbers a,
.testimonials-pagination .page-numbers span {
    display: -webkit-inline-box;
    display: -ms-inline-flexbox;
    display: inline-flex;
    -webkit-box-align: center;
    -ms-flex-align: center;
    align-items: center;
    -webkit-box-pack: center;
    -ms-flex-pack: center;
    justify-content: center;
    border: 1px solid #ddd;
    border-radius: 4px;
    color: #333;
    font-size: 0.8125rem;
    font-weight: 600;
    width: 2.125rem;
    height: 2.125rem;
    text-decoration: none;
    transition: all 0.3s ease;
}

.testimonials-pagination .page-numbers a:hover {
    background-color: #f8f9fa;
    border-color: #999;
}

.testimonials-pagination .page-numbers .current {
    background-color: var(--color-link);
    border-color: transparent;
    color: #fff;
}

@media (max-width: 992px) {
    .testimonials-grid {
        grid-template-columns: repeat(2, 1fr) !important;
        gap: 20px;
        padding: 0 20px;
    }
}

@media (max-width: 576px) {
    .testimonials-grid {
        grid-template-columns: 1fr !important;
        padding: 0 15px;
    }
    
    .testimonial-card {
        padding: 20px;
    }
} 