/* Videos page */


.videos-hero-bg {
    background-image: url('images/slide3.png');
}

.videos-section {
    padding: 80px 0 100px;
 
 
}

.videos-section-header {
    text-align: center;
    max-width: 720px;
    margin: 0 auto 50px;
}

.videos-section-header .section-subtitle {
    color: var(--primary-purple, #8E3090);
}

.videos-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 24px;
}

.video-card {
    display: flex;
    flex-direction: column;
    gap: 14px;
}

.video-embed {
    position: relative;
    width: 100%;
    padding-bottom: 56.25%;
    height: 0;
    overflow: hidden;
    border-radius: 12px;
    background: #000;
    box-shadow: 0 4px 16px rgba(0, 0, 0, 0.12);
}

.video-thumb {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    padding: 0;
    border: none;
    background: #000;
    cursor: pointer;
    border-radius: 12px;
    overflow: hidden;
}

.video-thumb img {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

.video-thumb-play {
    position: absolute;
    left: 50%;
    top: 50%;
    transform: translate(-50%, -50%);
    width: 64px;
    height: 64px;
    border-radius: 50%;
    background: rgba(142, 48, 144, 0.92);
    color: #fff;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.4);
    transition: transform 0.2s, background 0.2s;
    pointer-events: none;
}

.video-thumb:hover .video-thumb-play,
.video-thumb:focus-visible .video-thumb-play {
    transform: translate(-50%, -50%) scale(1.08);
    background: #8E3090;
}

.video-thumb-play svg {
    width: 28px;
    height: 28px;
    margin-left: 3px;
}

.video-thumb:focus-visible {
    outline: 2px solid #8E3090;
    outline-offset: 2px;
}

.video-card-title {
    font-size: 16px;
    font-weight: 600;
    color: #FFF;
    line-height: 1.4;
    margin: 0;
}

@media (max-width: 968px) {
    .videos-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 20px;
    }

    .videos-section {
        padding: 60px 0 80px;
    }
}

@media (max-width: 576px) {
    .videos-grid {
        grid-template-columns: 1fr;
    }
}
