/**
 * Watch Page – Israel.com Video Hub  v4.2
 * White-bg overrides + AP News layout + clean sidebar items.
 * Loaded AFTER israel-video-section.css.
 */

/* ======================================================================
   1. WHITE BACKGROUND — nuclear overrides
   ====================================================================== */
html body.watch-video-hub,
html body.watch-video-hub #main-wrapper,
html body.watch-video-hub .uc-mobile-menu-pusher,
html body.watch-video-hub .content-wrapper,
html body.watch-video-hub .site-content,
html body.watch-video-hub #content,
html body.watch-video-hub #primary,
html body.watch-video-hub main.watch-page {
    background: #fff !important;
    color: #111827 !important;
}

html body.watch-video-hub .israel-video-section.watch-section-block {
    background: #fff !important;
    padding: 0 !important;
    margin: 0 !important;
}

html body.watch-video-hub .israel-video-section-heading {
    color: #111827 !important;
    font-size: 28px !important;
}

html body.watch-video-hub .israel-video-accent-bar {
    background: #cc0000 !important;
    width: 48px;
    height: 4px;
}

html body.watch-video-hub .israel-video-nav {
    background: #fff !important;
    border: 1.5px solid #d1d5db !important;
}

html body.watch-video-hub .israel-video-nav svg {
    stroke: #6b7280 !important;
}

html body.watch-video-hub .israel-video-nav:hover:not(:disabled) {
    background: #cc0000 !important;
    border-color: #cc0000 !important;
}

html body.watch-video-hub .israel-video-nav:hover:not(:disabled) svg {
    stroke: #fff !important;
}

body.watch-video-hub .ap-short-stories {
    display: none !important;
}

/* ======================================================================
   2. CONTAINER
   ====================================================================== */
.watch-container {
    max-width: 1280px !important;
    margin: 0 auto;
    padding: 0 24px;
}

/* ======================================================================
   3. SECTION SPACING
   ====================================================================== */
.watch-section-block {
    border-top: 1px solid #e5e7eb;
}

.watch-section-block:first-of-type {
    border-top: none;
}

html body.watch-video-hub .watch-section-block .israel-video-section-header {
    padding-top: 40px !important;
    margin-bottom: 24px !important;
}

/* ======================================================================
   4. FEATURED + SIDEBAR  (AP News style)
   ====================================================================== */
.watch-feat-grid {
    display: grid !important;
    grid-template-columns: 1fr 340px !important;
    gap: 0 !important;
    padding-bottom: 36px;
}

.watch-feat-main {
    min-width: 0;
    padding-right: 28px;
}

/* Featured card: wide 16:9 */
.watch-feat-card.israel-video-card {
    flex: none !important;
    width: 100% !important;
    height: auto !important;
    border-radius: 10px !important;
}

.watch-feat-card .israel-video-card-media {
    width: 100% !important;
    height: auto !important;
    aspect-ratio: 16 / 9 !important;
    border-radius: 10px !important;
}

.watch-feat-title {
    font-size: 22px;
    font-weight: 700;
    line-height: 1.35;
    color: #111827;
    margin: 16px 0 8px;
}

.watch-feat-title a {
    color: inherit;
    text-decoration: none;
}

.watch-feat-title a:hover {
    color: #0033cc;
}

.watch-feat-desc {
    font-size: 15px;
    line-height: 1.6;
    color: #6b7280;
    margin: 0;
}

/* ======================================================================
   5. SIDEBAR ITEMS — clean simple design (no .israel-video-card)
   ====================================================================== */
.watch-feat-side {
    border-left: 1px solid #e5e7eb;
}

.watch-sidebar-item {
    display: flex;
    gap: 12px;
    padding: 14px 16px;
    text-decoration: none;
    color: inherit;
    border-bottom: 1px solid #f3f4f6;
    transition: background 0.15s;
    align-items: flex-start;
}

.watch-sidebar-item:first-child {
    padding-top: 0;
}

.watch-sidebar-item:last-child {
    border-bottom: none;
}

.watch-sidebar-item:hover {
    background: #f7f8fa;
}

.watch-sidebar-thumb {
    position: relative;
    width: 140px;
    min-width: 140px;
    aspect-ratio: 16 / 9;
    border-radius: 6px;
    overflow: hidden;
    flex-shrink: 0;
    background: #e5e7eb;
}

.watch-sidebar-thumb img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

.watch-sidebar-dur {
    position: absolute;
    bottom: 4px;
    right: 4px;
    background: rgba(0, 0, 0, 0.78);
    color: #fff;
    font-size: 11px;
    font-weight: 700;
    padding: 1px 5px;
    border-radius: 3px;
    letter-spacing: 0.3px;
}

.watch-sidebar-title {
    font-size: 14px;
    font-weight: 600;
    line-height: 1.45;
    color: #374151;
    margin: 0;
    display: -webkit-box;
    -webkit-line-clamp: 3;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.watch-sidebar-item:hover .watch-sidebar-title {
    color: #0033cc;
}

/* ======================================================================
   6. CARD GRID — "More Videos"
   ====================================================================== */
.watch-more-section.israel-video-section.watch-section-block {
    background: #f7f8fa !important;
    padding-bottom: 12px !important;
}

.watch-card-grid {
    display: grid !important;
    grid-template-columns: repeat(auto-fill, minmax(220px, 1fr)) !important;
    gap: 16px !important;
    padding-bottom: 36px;
}

.watch-card-grid .israel-video-card {
    width: 100% !important;
    flex: none !important;
    height: 340px !important;
}

.watch-card-grid .israel-video-card .israel-video-card-media {
    width: 100% !important;
    height: 100% !important;
    border-radius: 12px !important;
}

/* ======================================================================
   7. PAGINATION
   ====================================================================== */
.watch-pagination {
    padding: 32px 0 48px;
    text-align: center;
    border-top: 1px solid #e5e7eb;
    background: #fff;
}

.watch-pagination ul {
    list-style: none;
    display: inline-flex;
    gap: 4px;
    padding: 0;
    margin: 0;
}

.watch-pagination li { display: inline-block; }

.watch-pagination a,
.watch-pagination span {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-width: 38px;
    height: 38px;
    padding: 0 12px;
    border-radius: 6px;
    font-size: 13px;
    font-weight: 600;
    text-decoration: none;
    border: 1px solid #d1d5db;
    color: #374151;
    background: #fff;
    transition: all 0.12s;
}

.watch-pagination a:hover,
.watch-pagination .current {
    background: #cc0000;
    color: #fff;
    border-color: #cc0000;
}

/* ======================================================================
   8. EMPTY STATE
   ====================================================================== */
.watch-empty {
    padding: 80px 0;
    background: #fff;
}

.watch-empty-inner {
    text-align: center;
    max-width: 400px;
    margin: 0 auto;
}

.watch-empty-inner svg { margin-bottom: 16px; }

.watch-empty-inner h2 {
    font-size: 22px;
    font-weight: 700;
    color: #111827;
    margin: 0 0 8px;
}

.watch-empty-inner p {
    font-size: 14px;
    color: #6b7280;
    line-height: 1.65;
    margin: 0 0 20px;
}

.watch-empty-btn {
    display: inline-block;
    background: #0033cc;
    color: #fff;
    padding: 10px 22px;
    border-radius: 6px;
    text-decoration: none;
    font-weight: 600;
    font-size: 13px;
}

.watch-empty-btn:hover {
    background: #0044ee;
    color: #fff;
}

/* ======================================================================
   9. RESPONSIVE — ≤1080px
   ====================================================================== */
@media (max-width: 1080px) {
    .watch-feat-grid {
        grid-template-columns: 1fr 300px !important;
    }

    .watch-sidebar-thumb {
        width: 120px;
        min-width: 120px;
    }

    html body.watch-video-hub .watch-section-block .israel-video-section-heading {
        font-size: 24px !important;
    }
}

/* ≤860px */
@media (max-width: 860px) {
    .watch-feat-grid {
        grid-template-columns: 1fr !important;
    }

    .watch-feat-main {
        padding-right: 0;
    }

    .watch-feat-side {
        border-left: none;
        border-top: 1px solid #e5e7eb;
        padding-top: 8px;
        margin-top: 16px;
    }

    .watch-card-grid {
        grid-template-columns: repeat(auto-fill, minmax(180px, 1fr)) !important;
        gap: 12px !important;
    }

    .watch-card-grid .israel-video-card {
        height: 300px !important;
    }

    html body.watch-video-hub .watch-section-block .israel-video-section-heading {
        font-size: 20px !important;
    }
}

/* ≤640px */
@media (max-width: 640px) {
    .watch-container { padding: 0 16px; }

    html body.watch-video-hub .watch-section-block .israel-video-section-header {
        padding-top: 28px !important;
        margin-bottom: 16px !important;
    }

    html body.watch-video-hub .watch-section-block .israel-video-section-heading {
        font-size: 18px !important;
    }

    .watch-sidebar-thumb {
        width: 100px;
        min-width: 100px;
    }

    .watch-sidebar-title {
        font-size: 13px;
        -webkit-line-clamp: 2;
    }

    .watch-feat-title { font-size: 18px; }
    .watch-feat-desc { font-size: 13px; }

    .watch-card-grid {
        grid-template-columns: 1fr 1fr !important;
        gap: 10px !important;
    }

    .watch-card-grid .israel-video-card {
        height: 260px !important;
    }
}

/* ≤480px */
@media (max-width: 480px) {
    html body.watch-video-hub .watch-section-block .israel-video-section-heading {
        font-size: 16px !important;
    }

    .watch-card-grid .israel-video-card {
        height: 230px !important;
    }

    .watch-sidebar-thumb {
        width: 90px;
        min-width: 90px;
    }

    .watch-sidebar-title {
        font-size: 12px;
    }
}
