/* ========================================
   VIDEO & MEDIA PAGE
   ======================================== */

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

/* --- Filter tabs --- */
.video-filters {
    display: flex;
    justify-content: center;
    gap: 12px;
    margin-bottom: 48px;
    flex-wrap: wrap;
}

.video-filters__btn {
    padding: 10px 28px;
    border: 2px solid var(--color-secondary);
    border-radius: 6px;
    background: transparent;
    color: var(--color-secondary);
    font-family: var(--font-heading);
    font-size: 15px;
    font-weight: 600;
    cursor: pointer;
    transition: var(--transition);
}

.video-filters__btn:hover {
    background: var(--color-secondary);
    color: var(--color-white);
}

.video-filters__btn.active {
    background: var(--color-secondary);
    color: var(--color-white);
}

/* --- Video grid --- */
.video-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 40px;
}

/* --- Video card --- */
.video-card__player {
    position: relative;
    width: 100%;
    border-radius: var(--radius-lg);
    overflow: hidden;
    background: #000;
    aspect-ratio: 16 / 9;
}

.video-card__player iframe {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
}

/* --- Thumbnail with play button overlay --- */
.video-card__thumb {
    position: relative;
    width: 100%;
    height: 100%;
    cursor: pointer;
}

.video-card__thumb img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
    transition: transform 0.4s ease;
}

.video-card__thumb:hover img {
    transform: scale(1.03);
}

.video-card__play {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    background: none;
    border: none;
    cursor: pointer;
    opacity: 0.9;
    transition: opacity 0.3s ease, transform 0.3s ease;
    padding: 0;
}

.video-card__thumb:hover .video-card__play {
    opacity: 1;
    transform: translate(-50%, -50%) scale(1.1);
}

/* --- Title --- */
.video-card__title {
    margin-top: 16px;
    font-size: 17px;
    font-weight: 600;
    line-height: 1.4;
    color: var(--color-text);
}

/* --- Responsive --- */
@media (max-width: 768px) {
    .video-grid {
        grid-template-columns: 1fr;
        gap: 32px;
    }

    .video-filters {
        gap: 8px;
    }

    .video-filters__btn {
        padding: 8px 18px;
        font-size: 14px;
    }
}
