/**
 * Gutenberg Block Frontend Styles
 */
.wvr-reviews-block {
    padding: 20px;
    background: #f9f9f9;
    border-radius: 8px;
    margin: 20px 0;
}

.wvr-reviews-title {
    font-size: 24px;
    font-weight: bold;
    margin-bottom: 20px;
    color: #333;
    border-bottom: 2px solid #0073aa;
    padding-bottom: 10px;
}

.wvr-reviews-list {
    display: grid;
    gap: 15px;
}

.wvr-review-item {
    background: #fff;
    padding: 15px;
    border-radius: 6px;
    box-shadow: 0 2px 4px rgba(0,0,0,0.1);
    transition: box-shadow 0.3s ease;
}

.wvr-review-item:hover {
    box-shadow: 0 4px 8px rgba(0,0,0,0.15);
}

.wvr-review-author {
    font-size: 16px;
    font-weight: 600;
    color: #0073aa;
    margin-bottom: 8px;
}

.wvr-review-rating {
    margin-bottom: 8px;
}

.wvr-review-rating .star-rating {
    display: inline-block;
    position: relative;
    height: 1em;
    line-height: 1;
    font-size: 1em;
    width: 5.4em;
    font-family: star;
    font-weight: 400;
}

.wvr-review-rating .star-rating:before {
    content: "\73\73\73\73\73";
    color: #d3ced2;
    float: left;
    top: 0;
    left: 0;
    position: absolute;
    letter-spacing: 0.1em;
}

.wvr-review-rating .star-rating span {
    overflow: hidden;
    float: left;
    top: 0;
    left: 0;
    position: absolute;
    padding-top: 1.5em;
}

.wvr-review-rating .star-rating span:before {
    content: "\53\53\53\53\53";
    top: 0;
    position: absolute;
    left: 0;
    color: #ff9800;
    letter-spacing: 0.1em;
}

.wvr-review-date {
    font-size: 12px;
    color: #666;
    margin-bottom: 10px;
}

.wvr-review-content {
    font-size: 14px;
    line-height: 1.6;
    color: #333;
}

.wvr-review-content p {
    margin: 0;
}

.wvr-block-notice {
    padding: 15px;
    background: #fff3cd;
    border: 1px solid #ffc107;
    border-radius: 4px;
    color: #856404;
    text-align: center;
}

/* 响应式设计 */
@media (max-width: 768px) {
    .wvr-reviews-block {
        padding: 15px;
    }

    .wvr-reviews-title {
        font-size: 20px;
    }

    .wvr-review-item {
        padding: 12px;
    }
}


