.reviews-wrapper {
    max-width: 900px;
    margin: 30px auto 0 auto;
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
    gap: 20px;
}

.review-card {
    background: #ffffff;
    border-radius: 14px;
    padding: 16px 18px;
    box-shadow: 0 12px 30px rgba(0,0,0,0.08);
    border: 1px solid #e5e7eb;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
}

.review-header {
    margin-bottom: 10px;
}

.review-instructor {
    display: flex;
    align-items: center;
    gap: 12px;
}

.review-avatar {
    width: 52px;
    height: 52px;
    border-radius: 999px;
    object-fit: cover;
    border: 2px solid #ffc94a;
}

.review-instructor-text {
    display: flex;
    flex-direction: column;
    gap: 2px;
}

.review-instructor-name {
    font-size: 15px;
    font-weight: 700;
    color: #1a2d41;
}

.review-stars {
    display: inline-flex;
    align-items: center;
    gap: 3px;
    font-size: 14px;
    color: #f59e0b;
}

    .review-stars i {
        font-size: 14px;
    }

.review-rating-number {
    margin-left: 4px;
    font-size: 13px;
    color: #6b7280;
}

.review-body {
    margin: 8px 0 10px 0;
    position: relative;
}

.review-text {
    font-size: 14px;
    color: #4b5563;
    line-height: 1.5;
    max-height: 4.5em;
    overflow: hidden;
    transition: max-height .2s ease;
}

    .review-text.expanded {
        max-height: none;
    }

.review-toggle {
    margin-top: 4px;
    padding: 0;
    border: 0;
    background: transparent;
    font-size: 13px;
    color: #1a2d41;
    font-weight: 600;
    cursor: pointer;
}

.review-footer {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-top: 6px;
    font-size: 12px;
    color: #6b7280;
}

.review-date {
    opacity: 0.9;
}

.review-member {
    background-color: #1a2d41;
    color: #fff3cd;
    padding: 4px 8px;
    border-radius: 999px;
    font-weight: 600;
    font-size: 11px;
    letter-spacing: 0.06em;
    text-transform: uppercase;
}

.no-reviews {
    max-width: 900px;
    margin: 30px auto 0 auto;
    text-align: center;
    font-size: 14px;
    color: #6b7280;
}
