/* ========== FEATURED VIDEO SECTION ========== */
.featured-video-section {
    padding: clamp(3rem, 8vh, 6rem) 0;
    background: #F5F1ED;
}

.featured-video-section .section-header {
    text-align: center;
    margin-bottom: clamp(2rem, 5vh, 3.5rem);
}

.featured-video-section .section-subtitle {
    max-width: 640px;
    margin: 1rem auto 0;
    color: var(--light-text);
    font-size: clamp(0.95rem, 2vw, 1.05rem);
}

/* Horizontal sliding row of portrait videos (swipe / scroll to see more) */
.video-grid {
    display: flex;
    flex-wrap: nowrap;
    justify-content: safe center;
    gap: clamp(1.25rem, 3vw, 2rem);
    padding: 0 1rem 1.25rem;
    overflow-x: auto;
    scroll-snap-type: x mandatory;
    -webkit-overflow-scrolling: touch;
    scroll-behavior: smooth;
    scrollbar-width: none;        /* Firefox — hide scrollbar */
    -ms-overflow-style: none;     /* IE/Edge — hide scrollbar */
}

/* Chrome / Safari — hide scrollbar */
.video-grid::-webkit-scrollbar {
    display: none;
}

.video-item {
    flex: 0 0 auto;
    width: 320px;
    max-width: 80vw;
    scroll-snap-align: center;
}

.video-caption {
    margin: 1rem 0 0;
    text-align: center;
    font-family: 'Great Vibes', cursive;
    font-size: 1.6rem;
    font-weight: 400;
    letter-spacing: 0.5px;
    color: #6A3E3F;
}

/* Legacy single-video container (kept for safety) */
.video-container {
    max-width: 420px;
    margin: 0 auto;
    padding: 0 1rem;
}

.video-wrapper {
    position: relative;
    width: 100%;
    aspect-ratio: 9 / 16;
    border-radius: 24px;
    overflow: hidden;
    box-shadow: 0 24px 60px rgba(15, 47, 115, 0.22);
    background: #0F2F73;
}

/* Video player fills the frame - using absolute positioning for consistency */
.video-player {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    border-radius: 24px;
    background: #000;
}

@media (max-width: 500px) {
    .video-wrapper {
        border-radius: 16px;
    }

    .video-player {
        border-radius: 16px;
    }
}
