/*
 * style.css
 * WebFixy Reviews Advanced Plugin
 */

.webfixy-reviews-grid {
    display: grid;
    /* Default: 1 column for mobile */
    grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
    gap: 20px;
}

/* Desktop layout: 3 columns for screens wider than 768px */
@media (min-width: 768px) {
    .webfixy-reviews-grid {
        grid-template-columns: repeat(3, 1fr);
    }
}

/* Hide reviews initially for "Load More" functionality */
.webfixy-review-card.hidden-review {
    display: none;
}

.webfixy-review-card {
    background: #fff;
    border: 1px solid #eee;
    border-radius: 10px;
    padding: 20px;
    box-shadow: 0 2px 8px rgba(0,0,0,0.05);
    display: flex;
    flex-direction: column;
}

.webfixy-review-card .review-header {
    display: flex;
    align-items: flex-start;
    gap: 15px;
    margin-bottom: 15px;
}

.webfixy-review-card .avatar {
    width: 60px;
    height: 60px;
    border-radius: 50%;
    color: #fff;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: bold;
    font-size: 24px;
    flex-shrink: 0;
}

.webfixy-review-card .review-meta-container {
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.webfixy-review-card .review-name {
    font-size: 18px;
    font-weight: bold;
    color: #333;
    margin-bottom: 2px;
}

.webfixy-review-card .review-meta {
    font-size: 14px;
    color: #666;
    margin-bottom: 5px;
}

.webfixy-review-card .review-rating {
    color: #f5b50a;
    font-size: 18px;
    letter-spacing: 2px;
}

.webfixy-review-card .review-title {
    margin: 0 0 5px;
    font-size: 18px;
    font-weight: bold;
}

.webfixy-review-card .review-description {
    font-size: 15px;
    color: #333;
    line-height: 1.6;
}

/* "Load More" button styles */
.load-more-container {
    text-align: center;
    margin-top: 30px;
}

.webfixy-load-more-btn {
    background-color: #0073aa;
    color: #fff;
    border: none;
    padding: 12px 25px;
    border-radius: 5px;
    cursor: pointer;
    font-size: 16px;
    font-weight: bold;
    transition: background-color 0.3s ease;
}

.webfixy-load-more-btn:hover {
    background-color: #005f88;
}
