/* =========================================================
   BLOG DUAL VIDEO SLIDER (16:9 RESPONSIVE, ZERO LAG)
========================================================= */

.blog-video-slider-wrap {
    width: 100%;
    max-width: 820px;
    margin: 48px auto;
    box-sizing: border-box;
}

.video-slider-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 14px;
}

.video-slider-badge {
    font-family: "JetBrains Mono", monospace;
    font-size: 10px;
    font-weight: 700;
    letter-spacing: 0.18em;
    color: var(--accent, #b9d6c7);
}

.video-nav-arrows {
    display: flex;
    gap: 8px;
}

.slider-arrow-btn {
    background: rgba(255, 255, 255, 0.04);
    border: 1px solid rgba(255, 255, 255, 0.12);
    color: var(--text, #f1f0e9);
    width: 34px;
    height: 34px;
    border-radius: 50%;
    display: grid;
    place-items: center;
    cursor: pointer;
    font-size: 13px;
    transition: background 0.2s ease, border-color 0.2s ease, transform 0.2s ease;
}

.slider-arrow-btn:hover {
    background: rgba(255, 255, 255, 0.1);
    border-color: rgba(255, 255, 255, 0.25);
    transform: scale(1.05);
}

/* Horizontal Track with Native Scroll-Snap */
.video-slider-track {
    display: flex;
    overflow-x: auto;
    scroll-snap-type: x mandatory;
    scroll-behavior: smooth;
    gap: 24px;
    scrollbar-width: none; /* Firefox */
    -ms-overflow-style: none; /* IE/Edge */
    border-radius: 14px;
}

.video-slider-track::-webkit-scrollbar {
    display: none; /* Chrome, Safari, Opera */
}

.video-slide-item {
    flex: 0 0 100%;
    width: 100%;
    scroll-snap-align: center;
    box-sizing: border-box;
}

/* 16:9 Responsive Aspect Ratio Box */
.video-responsive-box {
    position: relative;
    width: 100%;
    padding-bottom: 56.25%; /* 16:9 ratio */
    height: 0;
    overflow: hidden;
    border-radius: 14px;
    background: #020508;
    border: 1px solid rgba(255, 255, 255, 0.08);
    box-shadow: 0 16px 40px rgba(0, 0, 0, 0.6);
}

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

.video-caption {
    margin: 10px 0 0;
    font-family: "DM Sans", sans-serif;
    font-size: 12.5px;
    color: rgba(241, 240, 233, 0.55);
    text-align: center;
}

/* Dot Navigation */
.slider-dots {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 8px;
    margin-top: 14px;
}

.slider-dot {
    width: 6px;
    height: 6px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.2);
    transition: width 0.25s ease, background 0.25s ease;
    cursor: pointer;
}

.slider-dot.active {
    width: 18px;
    border-radius: 4px;
    background: var(--accent, #b9d6c7);
}

@media (max-width: 600px) {
    .blog-video-slider-wrap {
        margin: 36px auto;
    }
}