/* RevierGoogleReviews – Frontend Styles */

.rgr-reviews-wrapper {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
    gap: 20px;
    margin: 20px 0;
}

.rgr-review {
    background: #fff;
    border: 1px solid #e5e7eb;
    border-radius: 10px;
    padding: 18px 20px;
    box-shadow: 0 1px 4px rgba(0,0,0,.06);
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.rgr-review-header {
    display: flex;
    align-items: center;
    gap: 12px;
}

.rgr-avatar {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    object-fit: cover;
    flex-shrink: 0;
}

.rgr-avatar-placeholder {
    background: #4285f4;
    color: #fff;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 700;
    font-size: 16px;
}

.rgr-review-meta {
    display: flex;
    flex-direction: column;
    gap: 2px;
    min-width: 0;
}

.rgr-author {
    font-weight: 600;
    font-size: 14px;
    color: #111;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.rgr-date {
    font-size: 12px;
    color: #9ca3af;
}

.rgr-stars {
    display: flex;
    gap: 2px;
    line-height: 1;
}

.rgr-star        { font-size: 18px; line-height: 1; }
.rgr-star--filled { color: #f59e0b; }
.rgr-star--empty  { color: #d1d5db; }

.rgr-review-text {
    font-size: 14px;
    line-height: 1.6;
    color: #374151;
    margin: 0;
}

.rgr-source {
    font-size: 11px;
    color: #9ca3af;
    border-top: 1px solid #f3f4f6;
    padding-top: 8px;
    margin-top: 4px;
}

.rgr-error {
    color: #dc2626;
    background: #fef2f2;
    border: 1px solid #fecaca;
    padding: 10px 14px;
    border-radius: 6px;
}

.rgr-no-reviews {
    color: #6b7280;
    font-style: italic;
}

@media (max-width: 480px) {
    .rgr-reviews-wrapper { grid-template-columns: 1fr; }
}
