/**
 * Review Card Fix
 * This file specifically fixes review card layout issues
 */

/* Review card fixes for desktop */
@media (min-width: 769px) {
    /* Latest reviews grid */
    .latest-reviews .reviews-grid {
        display: grid;
        grid-template-columns: repeat(2, 1fr);
        gap: 30px;
    }
    
    /* Review card */
    .review-card {
        display: flex;
        flex-direction: column;
        height: 100%;
        background-color: #ffffff;
        border-radius: 8px;
        overflow: hidden;
        box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
        transition: all 0.3s ease;
        border: 1px solid #e0e0e0;
    }
    
    .review-card:hover {
        transform: translateY(-5px);
        box-shadow: 0 15px 30px rgba(0, 0, 0, 0.1);
    }
    
    /* Review header */
    .review-header {
        padding: 20px;
        border-bottom: 1px solid #e0e0e0;
        background-color: #a7ced3;
    }
    
    /* Reviewer info */
    .reviewer-info {
        display: flex;
        align-items: center;
    }
    
    .reviewer-avatar,
    .avatar-placeholder {
        width: 60px;
        height: 60px;
        border-radius: 50%;
        margin-right: 15px;
        overflow: hidden;
    }
    
    .reviewer-avatar img {
        width: 100%;
        height: 100%;
        object-fit: cover;
    }
    
    .avatar-placeholder {
        background-color: #4a80f0;
        color: #ffffff;
        display: flex;
        align-items: center;
        justify-content: center;
        font-size: 24px;
        font-weight: 700;
    }
    
    .reviewer-info h4 {
        font-size: 18px;
        margin-bottom: 5px;
        color: #000000;
    }
    
    .reviewer-badge {
        display: inline-block;
        background-color: #28a745;
        color: #ffffff;
        padding: 2px 8px;
        border-radius: 10px;
        font-size: 12px;
        margin-bottom: 5px;
    }
    
    .reviewer-type {
        font-size: 14px;
        color: #666666;
    }
    
    /* Review content */
    .review-content {
        padding: 20px;
        flex: 1;
		color: #f0ffff;
    }
    
    .review-content h3 {
        font-size: 1.3rem;
        margin-bottom: 5px;
        color: #333333;
    }
    
    .review-date {
        font-size: 14px;
        color: #081488;
        margin-bottom: 15px;
    }
    
    .review-text {
        color: #333333;
        font-size: 15px;
        line-height: 1.6;
        margin-bottom: 20px;
    }
    
    /* Review pros-cons */
    .review-pros-cons {
        display: grid;
        grid-template-columns: 1fr 1fr;
        gap: 20px;
        margin-top: 20px;
        background-color: #f5f5f5;
        padding: 15px;
        border-radius: 8px;
    }
    
    .review-pros h5,
    .review-cons h5 {
        font-size: 16px;
        margin-bottom: 10px;
        color: #333333;
    }
    
    .review-pros ul,
    .review-cons ul {
        padding-left: 20px;
    }
    
    .review-pros li,
    .review-cons li {
        font-size: 14px;
        margin-bottom: 5px;
        color: #333333;
    }
    
    /* Review footer */
    .review-footer {
        padding: 15px 20px;
        background-color: #f9f9f9;
        display: flex;
        justify-content: space-between;
        align-items: center;
        border-top: 1px solid #e0e0e0;
    }
    
    .review-likes {
        font-weight: 600;
        color: #4a80f0;
    }
    
    .review-report {
        font-size: 14px;
        color: #666666;
    }
}