/* Review Grid Premium Styles */
.sa-review-grid-wrapper {
    padding: 20px 0;
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
}

.sa-review-grid {
    column-gap: 24px;
    width: 100%;
}

.sa-review-card {
    break-inside: avoid;
    margin-bottom: 24px;
    background: #FFFFFF;
    border: 1px solid #EAEAEA;
    border-radius: 16px;
    padding: 20px;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.04);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    display: flex;
    flex-direction: column;
}

.sa-hidden-review {
    display: none;
}

.sa-review-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.08);
}

.sa-review-header {
    display: flex;
    align-items: center;
    gap: 12px;
    margin-bottom: 20px;
}

.sa-avatar img {
    width: 48px;
    height: 48px;
    border-radius: 50% !important;
    object-fit: cover !important;
    border: 2px solid #F3F4F6 !important;

}

.sa-avatar.sa-small img {
    width: 48px;
    height: 48px;
    border-radius: 50%;
    object-fit: cover !important;
    border: 2px solid #F3F4F6 !important;

}

.sa-user-info {
    flex: 1;
}

.sa-user-name {
    font-family: 'Poppins', sans-serif;
    font-weight: 600;
    font-size: 16px;
    color: #2B354E;
    line-height: 1.2;
}

.sa-course-name {
    font-size: 13px;
    color: #6B7280;
    margin-top: 4px;
    line-height: 1.3;
}

.sa-course-name a {
    font-family: 'Poppins';
    color: #6B7280;
    text-decoration: none;
    transition: color 0.2s;
     display: -webkit-box;
     -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.sa-course-name a:hover {
    color: #F84874;
}

.sa-video-container {
    position: relative;
    border-radius: 5px;
    overflow: hidden;
    aspect-ratio: 16/9;
    cursor: pointer;
    margin-bottom: 20px;
}

.sa-video-placeholder {
    width: 100%;
    height: 100%;
    background-size: cover;
    background-position: center;
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
}

.sa-video-overlay {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    padding: 15px;
    background: linear-gradient(180deg, rgba(0, 0, 0, 0.6) 0%, transparent 100%);
    color: #fff;
    pointer-events: none;
}

.sa-video-title {
    font-weight: 600;
    font-size: 14px;
}

.sa-play-button {
    width: 60px;
    height: 60px;
    background: #FF0000;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 4px 15px rgba(255, 0, 0, 0.4);
    transition: transform 0.2s;
}

.sa-play-button svg {
    width: 30px;
    height: 30px;
    margin-left: 4px;
}

.sa-video-container:hover .sa-play-button {
    transform: scale(1.1);
}

.sa-review-content {
    margin-bottom: 20px;
}

.sa-review-title {
    font-family: 'Poppins';
    font-weight: 600;
    font-size: 15px;
    color: #2B354E;
    margin: 0 0 12px 0;
    line-height: 1.3;
}

.sa-review-text {
    font-family: 'Poppins';
    font-size: 14px;
    color: #4B5563;
    line-height: 1.6;
    overflow: hidden;
    display: -webkit-box;
    -webkit-line-clamp: 6;
    -webkit-box-orient: vertical;
    transition: all 0.3s ease;
}

.sa-review-text.expanded {
    -webkit-line-clamp: initial;
}

.sa-show-more {
    color: #374151;
    font-size: 13px;
    font-weight: 600;
    margin-top: 10px;
    cursor: pointer;
    display: flex;
    align-items: center;
    gap: 5px;
}

.sa-show-more:hover {
    color: #111827;
}

.sa-review-footer {
    margin-top: auto;
}

.sa-rating-source {
    display: flex;
    justify-content: flex-end;
    align-items: center;
    border-top: 1px solid #F3F4F6;
    padding-top: 16px;
    gap: 8px;
}


.sa-stars { display: flex; gap: 2px; }
.sa-trust-link {
    font-size: 12px;
    font-weight: 600;
    color: #374151;
    text-decoration: none;
    display: flex;
    align-items: center;
    gap: 4px;
}

.sa-trust-link:hover {
    text-decoration: underline;
}

.sa-grid-footer {
    display: flex;
    justify-content: center;
    margin-top: 40px;
}

.sa-see-more-btn {
    background: linear-gradient(90deg, #FF5A8D 0%, #FF4B6B 100%);
    color: white;
    padding: 16px 32px;
    border-radius: 12px;
    font-weight: 700;
    text-decoration: none;
    display: flex;
    align-items: center;
    gap: 10px;
    box-shadow: 0 4px 15px rgba(255, 75, 107, 0.3);
    transition: transform 0.2s, box-shadow 0.2s;
    border: none;
    cursor: pointer;
}

.sa-see-more-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(255, 75, 107, 0.4);
}

@media (max-width: 1024px) {
    .sa-review-grid {
        column-count: 2 !important;
    }
}

@media (max-width: 768px) {
    .sa-review-grid {
        column-count: 1 !important;
    }
}