/* =============================================================================
   Testimonials & Reviews Styles
   Erik Korte Theme - Testimonials
   ========================================================================== */

/* Testimonials Header */
.testimonials-header {
    display: flex;
    justify-content: flex-end;
    align-items: center;
}

/* Testimonials Container - Grid Layout */
.testimonials {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 2rem;
    margin-bottom: 3rem;
}

/* Individual Testimonial Card */
.testimonial {
    display: flex;
    flex-direction: column;
    padding: 1rem;
    background: #ffffff;
    border: 1px solid #e0e0e0;
    border-radius: 8px;
    height: 100%;
}

/* Testimonial Image Section */
.testimonial-item-left {
    margin-bottom: 1rem;
}

.testimonial-item-image img {
    height: 200px;
    width: 100%;
    object-fit: cover;
    border-radius: 4px;
}

/* Testimonial Content Section */
.testimonial-item-right {
    flex: 1;
    display: flex;
    flex-direction: column;
}

.testimonial-item-content {
    display: flex;
    flex-direction: column;
    height: 100%;
}

.testimonial-item-content .post-title {
    margin-bottom: 1rem;
}

.testimonial-item-content .entry-title {
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
    margin: 0;
    font-size: 1.25rem;
}

.testim__entry-date {
    font-size: 0.875rem;
    color: #666;
    font-weight: 400;
}

.testimonial-item-content .entry-title .light {
    font-weight: 600;
    color: #333;
}

.testimonial-item-content .post-text {
    color: #555;
    line-height: 1.6;
    flex: 1;
}

/* Testimonials Footer */
.testim__footer {
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 1.5rem;
    padding-top: 2rem;
    margin-top: 2rem;
    border-top: 1px solid #e0e0e0;
}

/* No Testimonials Message */
.no-testimonials {
    text-align: center;
    padding: 3rem 1rem;
    color: #666;
    font-size: 1.125rem;
}

/* Responsive Grid */
@media (max-width: 1200px) {
    .testimonials {
        grid-template-columns: repeat(3, 1fr);
    }
}

@media (max-width: 992px) {
    .testimonials {
        grid-template-columns: repeat(2, 1fr);
        gap: 1.5rem;
    }
}

@media (max-width: 576px) {
    .testimonials {
        grid-template-columns: 1fr;
        gap: 1.5rem;
    }

    .testimonial {
        padding: 1.25rem;
    }

    .testimonial-item-image img {
        height: 150px;
    }

    .testim__footer {
        flex-direction: column;
        text-align: center;
    }
}
