/* css/car-expert-reviews.css */

.expert-reviews-section {
    padding: 60px 0;
    background: var(--bg-color);
}

.expert-grid {
    display: grid;
    grid-template-columns: 2fr 1fr;
    gap: 40px;
}

.main-review-feed {
    display: flex;
    flex-direction: column;
    gap: 30px;
}

.expert-card {
    background: var(--surface-color);
    border: 1px solid var(--border-color);
    border-radius: var(--radius-lg);
    overflow: hidden;
    display: flex;
    transition: var(--transition);
}

.expert-card:hover {
    transform: translateY(-5px);
    border-color: var(--primary-color);
    box-shadow: var(--shadow-md);
}

.expert-card img {
    width: 320px;
    height: 220px;
    object-fit: cover;
}

.expert-content {
    padding: 25px;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
}

.expert-meta {
    font-size: 12px;
    color: var(--text-light);
    margin-bottom: 10px;
}

.expert-meta span {
    color: var(--primary-color);
    font-weight: 600;
}

.expert-content h3 {
    font-size: 20px;
    font-weight: 600;
    color: var(--text-main);
    margin-bottom: 10px;
}

.expert-content p {
    font-size: 14px;
    color: var(--text-muted);
    line-height: 1.6;
    margin-bottom: 15px;
}

.expert-rating-score {
    display: flex;
    align-items: center;
    gap: 15px;
}

.score-num {
    background: var(--primary-color);
    color: var(--text-on-primary, #000);
    padding: 4px 10px;
    border-radius: 4px;
    font-weight: 700;
    font-size: 14px;
}

.sidebar-popular-reviews {
    background: var(--surface-color);
    border: 1px solid var(--border-color);
    border-radius: var(--radius-lg);
    padding: 25px;
    height: fit-content;
}

.sidebar-popular-reviews h3 {
    font-size: 18px;
    font-weight: 700;
    margin-bottom: 20px;
    color: var(--text-main);
    border-bottom: 2px solid var(--border-color);
    padding-bottom: 10px;
}

.sidebar-item {
    display: flex;
    gap: 15px;
    margin-bottom: 20px;
}

.sidebar-item img {
    width: 80px;
    height: 60px;
    object-fit: cover;
    border-radius: var(--radius-sm);
}

.sidebar-item-info h4 {
    font-size: 14px;
    font-weight: 600;
    color: var(--text-main);
    margin-bottom: 5px;
}

.sidebar-item-info span {
    font-size: 12px;
    color: var(--primary-color);
    font-weight: 600;
}

@media (max-width: 992px) {
    .expert-grid {
        grid-template-columns: 1fr;
    }
    .expert-card {
        flex-direction: column;
    }
    .expert-card img {
        width: 100%;
        height: 200px;
    }
}
