.rl-testimonial-card {
    background: #ffffff;
    border-radius: 32px;
    padding: 40px;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    height: 100%;
    box-shadow: 0 10px 30px rgba(0,0,0,0.05);
    transition: transform 0.3s ease;
    border: 1px solid rgba(0,0,0,0.05);
    min-height: 280px;
}

.rl-testimonial-card:hover {
    transform: translateY(-5px);
}

.rl-testimonial-header {
    display: flex;
    align-items: flex-start;
    gap: 20px;
    margin-bottom: 25px;
}

.rl-testimonial-avatar {
    width: 80px;
    height: 80px;
    flex-shrink: 0;
    overflow: hidden;
    background: #f0f0f0;
}

.rl-testimonial-avatar.shape-circle {
    border-radius: 50%;
}

.rl-testimonial-avatar.shape-rounded {
    border-radius: 12px;
}

.rl-testimonial-avatar img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.rl-testimonial-quote {
    font-family: 'Inter Display', sans-serif;
    font-size: 18px;
    font-weight: 700;
    line-height: 1.3;
    color: #000000;
    margin: 0;
}

.rl-testimonial-footer {
    margin-top: auto;
}

.rl-testimonial-action-row {
    display: flex;
    align-items: center;
    gap: 15px;
    margin-top: 20px;
}

.rl-testimonial-play-btn {
    width: 44px;
    height: 44px;
    background: #ffffff;
    border: 1.5px solid #000000;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: all 0.2s ease;
    padding-left: 3px; /* visual center for play triangle */
}

.rl-testimonial-play-btn:hover {
    background: #000000;
}

.rl-testimonial-play-btn:hover svg {
    fill: #ffffff;
}

.rl-testimonial-play-btn svg {
    width: 14px;
    height: 14px;
    fill: #000000;
    transition: fill 0.2s ease;
}

.rl-testimonial-separator {
    flex-grow: 1;
    height: 1px;
    background: #000000;
    opacity: 1;
}

.rl-testimonial-company {
    font-family: 'Inter Display', sans-serif;
    font-size: 11px;
    font-weight: 500;
    text-transform: capitalize;
    color: #444444;
    white-space: nowrap;
}

/* Grid Layout */
.rl-testimonial-list {
    display: grid;
    gap: 20px;
}

@media (min-width: 768px) {
    .rl-testimonial-list.columns-2 {
        grid-template-columns: repeat(2, 1fr);
    }
    .rl-testimonial-list.columns-3 {
        grid-template-columns: repeat(3, 1fr);
    }
}

@media (max-width: 767px) {
    .rl-testimonial-list {
        grid-template-columns: 1fr;
    }
    .rl-testimonial-card {
        padding: 30px;
    }
}

/* Video Modal Styling */
#rl-video-modal-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.9);
    display: none;
    align-items: center;
    justify-content: center;
    z-index: 999999;
    backdrop-filter: blur(5px);
}

#rl-video-modal-content {
    position: relative;
    width: 90%;
    max-width: 1000px;
    aspect-ratio: 16 / 9;
    background: #000;
}

#rl-video-modal-close {
    position: absolute;
    top: -40px;
    right: 0;
    color: #fff;
    font-size: 30px;
    cursor: pointer;
    line-height: 1;
}

#rl-video-modal-iframe {
    width: 100%;
    height: 100%;
    border: none;
}
