/* Reviews / customer testimonials page
 *
 * Mobile-first: single-column card stack at small viewports, expanding to a
 * multi-column responsive grid at the 768px and 1024px breakpoints. Matches the
 * theme's existing card conventions (white surface, #e2e2e2 border, 8px radius,
 * subtle shadow) and brand blue (#2c6fb3).
 */

.reviews-page {
    max-width: 1100px;
    margin: 0 auto;
    padding: 2rem 1rem 3rem;
}

/* Hero / header */
.reviews-hero {
    text-align: center;
    margin-bottom: 2.5rem;
}

.reviews-hero__title {
    margin: 0 0 0.75rem;
    font-size: 2rem;
    line-height: 1.2;
    color: #1f2933;
}

.reviews-hero__subtitle {
    max-width: 640px;
    margin: 0 auto;
    color: #555;
    font-size: 1.05rem;
    line-height: 1.6;
}

.reviews-hero__summary {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    margin: 1.25rem 0 0;
    color: #444;
    font-weight: 600;
}

.reviews-hero__summary-text {
    font-size: 0.95rem;
}

/* Star rating */
.review-card__stars,
.reviews-hero__summary .review-card__stars {
    display: inline-flex;
    gap: 0.1rem;
    line-height: 1;
    font-size: 1.05rem;
}

.review-card__star {
    color: #c9ccd1;
}

.review-card__star.is-filled {
    color: #f5a623;
}

/* Review grid */
.reviews-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 1.5rem;
}

@media (min-width: 768px) {
    .reviews-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .reviews-hero__title {
        font-size: 2.5rem;
    }
}

@media (min-width: 1024px) {
    .reviews-grid {
        grid-template-columns: repeat(3, 1fr);
    }
}

/* Review card */
.review-card {
    display: flex;
    flex-direction: column;
    height: 100%;
    padding: 1.5rem;
    background: #fff;
    border: 1px solid #e2e2e2;
    border-radius: 8px;
    box-shadow: 0 1px 3px rgba(0, 0, 0, 0.08);
}

.review-card__header {
    display: flex;
    align-items: center;
    gap: 0.85rem;
    margin-bottom: 1rem;
}

.review-card__avatar {
    flex: 0 0 auto;
    width: 56px;
    height: 56px;
    border-radius: 50%;
    overflow: hidden;
    background: #2c6fb3;
    display: flex;
    align-items: center;
    justify-content: center;
}

.review-card__photo {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

.review-card__initials {
    color: #fff;
    font-weight: 700;
    font-size: 1.1rem;
    letter-spacing: 0.02em;
}

.review-card__identity {
    min-width: 0;
}

.review-card__name {
    margin: 0 0 0.25rem;
    font-weight: 600;
    color: #1f2933;
}

.review-card__text {
    margin: 0;
    flex: 1 1 auto;
    color: #444;
    line-height: 1.6;
}

.review-card__text p {
    margin: 0;
}

.review-card__footer {
    margin-top: 1.25rem;
    padding-top: 0.85rem;
    border-top: 1px solid #eee;
}

.review-card__date {
    font-size: 0.85rem;
    color: #777;
}

/* Empty state */
.reviews-empty {
    text-align: center;
    color: #666;
    padding: 3rem 0;
}
