/* --- Reviews Page Specific Styles --- */

.reviews-page-header h1 {
    font-size: 2.5rem;
    color: #333;
    margin-bottom: 5px;
}

.reviews-page-header .lead {
    font-size: 1.1rem;
    color: #666;
}

/* Average Rating Summary Block */
.average-rating-summary {
    display: flex;
    align-items: center;
    gap: 15px;
    margin-top: 20px;
}

@media (max-width: 768px) {
    .average-rating-summary {
        flex-direction: row; /* Ensure it stays in one line */
        justify-content: space-between;
        align-items: center;
        gap: 10px;
        width: 100%;
    }
    .reviews-page-header h1 {
        font-size: 1.8rem; /* Smaller font on mobile */
    }
    .average-rating-summary .rating-visual i {
        font-size: 1.2rem; /* Smaller stars */
    }
    .average-rating-summary .rating-text strong {
        font-size: 1.2rem;
    }
    .review-card-full {
        padding: 15px; /* Reduce padding on mobile */
    }
    .review-card-full .review-header {
        flex-direction: column; /* Stack header items if needed, or keep row if small */
        align-items: flex-start;
        gap: 5px;
    }
}

.average-rating-summary .rating-visual i {
    font-size: 1.5rem; /* Larger stars for header */
}

.average-rating-summary .rating-text strong {
    font-size: 1.5rem;
    color: #FA5754; /* Occasor Red */
}

/* Full Review Card (Reuse or modify vendor-detail styles) */
.review-card-full {
    border: 1px solid #e0e0e0;
    border-radius: 12px;
    padding: 30px;
    margin-bottom: 25px;
    background-color: #ffffff;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.05);
}

.review-card-full .review-header {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    border-bottom: 1px solid #eee;
    padding-bottom: 15px;
    margin-bottom: 20px;
}

/* Ensure star colors are defined */
.review-card-full .full-star,
.review-card-full .half-star {
    color: gold; 
}
.review-card-full .empty-star {
    color: #ccc;
}
.container-reviews {
    margin: 0 auto;
    padding: 20px 15px;
}
/* --- CSS for the Vendor Name Link on Reviews Page --- */

.reviews-page-header h1 .vendor-name-link {
    color: #FA5754; /* Occasor primary red color */
    text-decoration: none;
    transition: color 0.3s ease;
}

.reviews-page-header h1 .vendor-name-link:hover {
    color: #e6443f; /* Slightly darker red on hover */
    text-decoration: underline;
}

.no-content-message {
    grid-column: 1 / -1; /* Make message span the entire grid width */
    display: block;
    width: 100%;
    text-align: left;
    padding: 15px;
    background-color: #fff0f0;
    border: 1px solid #fa5754;
    border-radius: 5px;
    color: #fa5754;
}