/**
 * Nett Review Card Grid Styles
 */

/* Wrapper */
.nett-review-card-grid-wrapper {
    padding: 15px;
}

/* Grid - Mobile First */
.nett-review-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 24px;
}

/* Tablet: 2 columns */
@media (min-width: 768px) {
    .nett-review-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

/* Desktop: uses dynamic columns from widget setting */
@media (min-width: 1025px) {
    .nett-review-grid {
        grid-template-columns: repeat(3, 1fr);
    }
}

/* Card */
.nett-review-card {
    background-color: #ffffff;
    border-radius: 12px;
    padding: 24px;
    border: 1px solid #e5e7eb;
    border-bottom: 4px solid transparent;
    position: relative;
    transition: all 0.3s ease-in-out;
}

.nett-review-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 15px -3px rgba(0, 0, 0, 0.1), 0 4px 6px -2px rgba(0, 0, 0, 0.05);
}

.nett-review-card::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    height: 4px;
    background: linear-gradient(to right, #10b981, #3b82f6);
    border-radius: 0 0 8px 8px;
    opacity: 0;
    transition: opacity 0.3s ease;
}

.nett-review-card:hover::after {
    opacity: 1;
}

/* Quote Icon */
.nett-review-quote {
    color: #dbeafe;
    margin-bottom: 12px;
}

.nett-review-quote svg {
    width: 40px;
    height: 40px;
}

/* Rating Stars */
.nett-review-stars {
    display: flex;
    gap: 2px;
    margin-bottom: 16px;
}

.nett-review-stars svg {
    width: 18px;
    height: 18px;
}

.nett-review-stars svg.nett-star-filled {
    fill: #fbbf24;
    color: #fbbf24;
}

.nett-review-stars svg.nett-star-empty {
    fill: #e5e7eb;
    color: #e5e7eb;
}

/* Review Title */
.nett-review-title {
    font-size: 18px;
    font-weight: 600;
    color: #111827;
    margin: 0 0 12px 0;
}

/* Review Text */
.nett-review-text {
    font-size: 15px;
    font-style: italic;
    color: #4b5563;
    line-height: 1.7;
    margin: 0 0 20px 0;
}

/* Reviewer */
.nett-reviewer {
    display: flex;
    align-items: center;
    gap: 12px;
}

.nett-reviewer-avatar {
    width: 48px;
    height: 48px;
    border-radius: 50%;
    overflow: hidden;
    flex-shrink: 0;
}

.nett-reviewer-avatar img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.nett-reviewer-info {
    flex: 1;
    min-width: 0;
}

.nett-reviewer-name {
    font-size: 15px;
    font-weight: 600;
    color: #111827;
    margin-bottom: 2px;
}

.nett-reviewer-role {
    font-size: 13px;
    color: #6b7280;
}

/* Date */
.nett-review-date {
    font-size: 12px;
    color: #9ca3af;
    margin-top: 16px;
    padding-top: 16px;
    border-top: 1px solid #f3f4f6;
}

/* Mobile Responsive Enhancements */
@media (max-width: 767px) {
    .nett-review-card {
        padding: 20px;
    }
    
    .nett-review-text {
        font-size: 14px;
    }
    
    .nett-reviewer-avatar {
        width: 40px;
        height: 40px;
    }
}
