/* Source: theme/archive-review.php */
/* Основные стили страницы отзывов */
    .reviews-archive {
        max-width: 1200px;
        margin: 0 auto;
        padding: 2rem 1.5rem;
        font-family: 'Open Sans', sans-serif;
        color: #333;
    }

    .reviews-archive h1 {
        text-align: center;
        font-size: 2.2rem;
        margin-bottom: 2.5rem;
        color: #2c3e50;
        font-weight: 600;
        position: relative;
        padding-bottom: 1rem;
    }

    .reviews-archive h1:after {
        content: '';
        position: absolute;
        bottom: 0;
        left: 50%;
        transform: translateX(-50%);
        width: 80px;
        height: 3px;
        background: #e67e22;
    }

    /* Стили карточки отзыва */
    .review-item {
        background: #fff;
        border-radius: 10px;
        box-shadow: 0 3px 15px rgba(0, 0, 0, 0.08);
        padding: 2rem;
        margin-bottom: 2rem;
        transition: transform 0.3s ease, box-shadow 0.3s ease;
        border: 1px solid #e0e6ed;
    }

    .review-item:hover {
        transform: translateY(-5px);
        box-shadow: 0 8px 25px rgba(0, 0, 0, 0.12);
    }

    .review-item h2 {
        font-size: 1.5rem;
        margin: 0 0 1rem 0;
        color: #2c3e50;
        font-weight: 600;
    }

    .review-item h2 a {
        color: inherit;
        text-decoration: none;
        transition: color 0.3s ease;
    }

    .review-item h2 a:hover {
        color: #e67e22;
    }

    /* Мета-информация отзыва */
    .review-meta {
        display: grid;
        grid-template-columns: repeat(auto-fill, minmax(250px, 1fr));
        gap: 1rem;
        margin-bottom: 1.5rem;
        font-size: 0.95rem;
    }

    .review-meta p,
    .review-meta div {
        margin: 0;
        display: flex;
        flex-wrap: wrap;
        align-items: center;
    }

    .review-meta strong {
        margin-right: 0.5rem;
        font-weight: 600;
        color: #2c3e50;
    }

    .review-meta a {
        color: #3498db;
        text-decoration: none;
        transition: color 0.3s ease;
    }

    .review-meta a:hover {
        color: #e67e22;
        text-decoration: underline;
    }

    /* Рейтинг */
    [itemprop="reviewRating"] {
        color: #e67e22;
        font-weight: 700;
    }

    /* Текст отзыва */
    .review-excerpt {
        font-size: 1rem;
        line-height: 1.7;
        color: #4a5568;
        margin-top: 1.5rem;
    }

    .review-excerpt p {
        margin: 0 0 1rem 0;
    }

    /* Разделитель */
    .review-item hr {
        border: 0;
        height: 1px;
        background: #e0e6ed;
        margin: 1.5rem 0 0 0;
    }

    /* Пагинация */
    .pagination {
        text-align: center;
        margin-top: 3rem;
    }

    .pagination .page-numbers {
        display: inline-flex;
        align-items: center;
        justify-content: center;
        list-style: none;
        padding: 0;
        margin: 0;
    }

    .pagination .page-numbers li {
        margin: 0 0.3rem;
    }

    .pagination a,
    .pagination span {
        display: inline-block;
        padding: 0.5rem 1rem;
        min-width: 40px;
        text-align: center;
        border-radius: 5px;
        text-decoration: none;
        font-weight: 600;
        transition: all 0.3s ease;
    }

    .pagination a {
        color: #2c3e50;
        background: #f8f9fa;
        border: 1px solid #e0e6ed;
    }

    .pagination a:hover {
        background: #e67e22;
        color: white;
        border-color: #e67e22;
    }

    .pagination .current {
        background: #e67e22;
        color: white;
        border-color: #e67e22;
    }

    .review-rating-block {
    display: flex;
    align-items: center;
    gap: 0.4rem; /* расстояние между частями оценки */
    flex-wrap: nowrap; /* запрещает перенос строки внутри оценки */
}

.review-rating-block .rating-value,
.review-rating-block .rating-separator,
.review-rating-block .rating-max {
    white-space: nowrap; /* дополнительно запрещает разрыв строки */
}


    /* Адаптивные стили */
    @media (max-width: 992px) {
        .reviews-archive {
            padding: 1.5rem;
        }
        
        .review-item {
            padding: 1.5rem;
        }
    }

    @media (max-width: 768px) {
        .reviews-archive h1 {
            font-size: 1.8rem;
            margin-bottom: 2rem;
        }
        
        .review-meta {
            grid-template-columns: 1fr;
            gap: 0.8rem;
        }
        
        .review-item h2 {
            font-size: 1.3rem;
        }
    }

    @media (max-width: 576px) {
        .reviews-archive {
            padding: 1rem;
        }
        
        .reviews-archive h1 {
            font-size: 1.5rem;
            padding-bottom: 0.8rem;
        }
        
        .review-item {
            padding: 1.2rem;
        }
        
        .review-meta p,
        .review-meta div {
            font-size: 0.9rem;
        }
        
        .review-excerpt {
            font-size: 0.95rem;
        }
        
        .pagination a,
        .pagination span {
            padding: 0.4rem 0.8rem;
            min-width: 35px;
        }
    }

    @media (max-width: 400px) {
        .pagination .page-numbers li {
            margin: 0 0.1rem;
        }
        
        .pagination a,
        .pagination span {
            padding: 0.3rem 0.6rem;
            min-width: 30px;
        }
    }

/* Source: theme/single-review.php */
/* Основные стили страницы отзыва */
    .review-single {
        max-width: 800px;
        margin: 0 auto;
        padding: 2rem 1.5rem;
        font-family: 'Open Sans', sans-serif;
        color: #333;
        line-height: 1.6;
    }

    /* Заголовок отзыва */
    .review-single h1 {
        font-size: 2rem;
        color: #2c3e50;
        margin-bottom: 1.5rem;
        font-weight: 600;
        text-align: center;
        position: relative;
        padding-bottom: 1rem;
    }

    .review-single h1:after {
        content: '';
        position: absolute;
        bottom: 0;
        left: 50%;
        transform: translateX(-50%);
        width: 80px;
        height: 3px;
        background: #e67e22;
    }

    /* Основное содержимое отзыва */
    .review-content {
        background: #fff;
        border-radius: 10px;
        padding: 2rem;
        margin-bottom: 2rem;
        box-shadow: 0 3px 15px rgba(0, 0, 0, 0.08);
        border: 1px solid #e0e6ed;
    }

    .review-content p {
        margin-bottom: 1.5rem;
        font-size: 1rem;
        color: #4a5568;
    }

    .review-content p:last-child {
        margin-bottom: 0;
    }

    /* Мета-информация отзыва */
    .review-single p,
    .review-single div {
        margin: 0 0 1.2rem 0;
        padding: 0.8rem 1.5rem;
        background: #f8f9fa;
        border-radius: 8px;
        font-size: 0.95rem;
    }

    .review-single strong {
        color: #2c3e50;
        font-weight: 600;
        margin-right: 0.5rem;
    }

    /* Оценка */
    [itemprop="reviewRating"] {
        color: #e67e22;
        font-weight: 700;
    }

    /* Ссылки */
    .review-single a {
        color: #3498db;
        text-decoration: none;
        transition: color 0.3s ease;
    }

    .review-single a:hover {
        color: #e67e22;
        text-decoration: underline;
    }

    /* Адаптивные стили */
    @media (max-width: 768px) {
        .review-single {
            padding: 1.5rem;
        }
        
        .review-single h1 {
            font-size: 1.7rem;
            padding-bottom: 0.8rem;
        }
        
        .review-content {
            padding: 1.5rem;
        }
        
        .review-single p,
        .review-single div {
            padding: 0.7rem 1.2rem;
        }
    }

    @media (max-width: 576px) {
        .review-single {
            padding: 1rem;
        }
        
        .review-single h1 {
            font-size: 1.5rem;
            margin-bottom: 1.2rem;
        }
        
        .review-content {
            padding: 1.2rem;
        }
        
        .review-content p {
            font-size: 0.95rem;
        }
        
        .review-single p,
        .review-single div {
            padding: 0.6rem 1rem;
            font-size: 0.9rem;
        }
    }

    @media (max-width: 400px) {
        .review-single h1 {
            font-size: 1.3rem;
        }
        
        .review-content {
            padding: 1rem;
        }
    }
