/* ========================================================
   INFOBRAND TV & VIDEOS (MODULAR SCOPED STYLESHEET)
   Scoped under #video-page to guarantee zero style collisions.
   Standard Media Portal 1080px (Main 750px + Sidebar 300px + Gap 30px)
   ======================================================== */

#video-page {
    margin-top: 1.25rem;
    margin-bottom: 3.5rem;
}

#video-page.layout-two-column > .row {
    display: flex;
    flex-wrap: nowrap;
    gap: 30px;
    margin-left: 0;
    margin-right: 0;
}

#video-page .layout-main {
    flex: 1 1 0;
    min-width: 0;
    max-width: 750px;
    padding-left: 0;
    padding-right: 0;
}

#video-page .layout-sidebar {
    flex: 0 0 300px;
    width: 300px;
    padding-left: 0;
    padding-right: 0;
}

#video-page .sticky-sidebar {
    position: sticky;
    top: 24px;
    display: flex;
    flex-direction: column;
}

/* Breadcrumbs */
#video-page .video-breadcrumb {
    margin-bottom: 1rem;
}

#video-page .video-breadcrumb .breadcrumb {
    background: transparent !important;
    padding: 0 !important;
    margin: 0 !important;
    font-size: 0.8125rem;
    font-weight: 500;
    list-style: none;
    display: flex;
    flex-wrap: wrap;
    align-items: center;
}

#video-page .video-breadcrumb .breadcrumb-item + .breadcrumb-item::before {
    content: "/" !important;
    color: #94a3b8 !important;
    padding: 0 0.5rem !important;
}

#video-page .video-breadcrumb .breadcrumb-item a {
    color: #64748b;
    text-decoration: none;
    transition: color 0.15s ease;
}

#video-page .video-breadcrumb .breadcrumb-item a:hover {
    color: #ed1c24;
}

#video-page .video-breadcrumb .breadcrumb-item.active {
    color: #0f172a;
    font-weight: 600;
}

/* Header & Search */
#video-page .video-header {
    margin-bottom: 1.5rem;
    padding-bottom: 0.75rem;
    border-bottom: 2px solid #f1f5f9;
}

#video-page .video-header-bar {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 16px;
    flex-wrap: wrap;
}

#video-page .video-header-title-wrap {
    display: flex;
    flex-direction: column;
    gap: 4px;
}

#video-page .video-main-title {
    font-size: 1.4rem;
    font-weight: 700;
    line-height: 1.3;
    color: #0f172a;
    margin: 0;
    position: relative;
    padding-left: 12px;
}

#video-page .video-main-title::before {
    content: "";
    position: absolute;
    left: 0;
    top: 3px;
    bottom: 3px;
    width: 4px;
    border-radius: 2px;
    background: #ed1c24;
}

#video-page .video-search-result-desc {
    font-size: 0.84rem;
    color: #64748b;
    margin: 0;
    padding-left: 12px;
}

#video-page .video-header-search-form {
    position: relative;
    width: 260px;
    max-width: 100%;
}

#video-page .video-header-search-form input {
    width: 100%;
    padding: 8px 38px 8px 14px;
    border: 1px solid #cbd5e1;
    border-radius: 9999px;
    font-size: 0.84rem;
    background: #f8fafc;
    outline: none;
    color: #1e293b;
    transition: all 0.2s ease;
}

#video-page .video-header-search-form input:focus {
    border-color: #ed1c24;
    background: #ffffff;
    box-shadow: 0 0 0 3px rgba(237, 28, 36, 0.12);
}

#video-page .video-header-search-form button {
    position: absolute;
    right: 4px;
    top: 50%;
    transform: translateY(-50%);
    width: 30px;
    height: 30px;
    border-radius: 50%;
    border: none;
    background: transparent;
    color: #64748b;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 0.8125rem;
    transition: color 0.15s ease, background 0.15s ease;
}

#video-page .video-header-search-form button:hover {
    color: #ed1c24;
    background: #fee2e2;
}

/* ========================================================
   INTERACTIVE 5-VIDEO HEADLINE SHOWCASE
   Big Screen (Left) + Vertical 5-Video Playlist (Right)
   ======================================================== */
#video-page .video-headline-showcase {
    margin-bottom: 2rem;
}

#video-page .headline-player-container {
    display: flex;
    flex-direction: row;
    gap: 0;
    background: #ffffff;
    border-radius: 12px;
    border: 1px solid #e2e8f0;
    overflow: hidden;
    box-shadow: 0 4px 16px rgba(0, 0, 0, 0.05);
}

/* Left Main Display */
#video-page .headline-main-display {
    flex: 1 1 0%;
    min-width: 0;
    display: flex;
    flex-direction: column;
    background: #ffffff;
}

#video-page .headline-screen-wrapper {
    position: relative;
    width: 100%;
}

#video-page .headline-video-frame {
    position: relative;
    width: 100%;
    aspect-ratio: 16 / 9;
    background: #0f172a;
    overflow: hidden;
    cursor: pointer;
}

#video-page .headline-video-frame img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
    transition: transform 0.3s ease;
}

#video-page .headline-video-frame:hover img {
    transform: scale(1.02);
}

#video-page .headline-video-frame iframe {
    width: 100%;
    height: 100%;
    border: none;
    display: block;
}

#video-page .headline-iframe-container {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 5;
    background: #000;
}

#video-page .headline-iframe-container iframe {
    width: 100%;
    height: 100%;
    border: none;
    display: block;
}

#video-page .headline-badge {
    position: absolute;
    top: 12px;
    left: 12px;
    background: #ed1c24;
    color: #ffffff;
    font-size: 0.6875rem;
    font-weight: 800;
    letter-spacing: 0.8px;
    padding: 4px 10px;
    border-radius: 5px;
    box-shadow: 0 2px 8px rgba(237, 28, 36, 0.4);
    z-index: 2;
    pointer-events: none;
}

#video-page .headline-main-play-btn {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 58px;
    height: 58px;
    background: rgba(237, 28, 36, 0.92);
    border: none;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #ffffff;
    font-size: 20px;
    padding-left: 3px;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.35), 0 0 0 5px rgba(255, 255, 255, 0.25);
    transition: transform 0.2s ease, background 0.2s ease, box-shadow 0.2s ease;
    cursor: pointer;
    z-index: 2;
}

#video-page .headline-video-frame:hover .headline-main-play-btn {
    transform: translate(-50%, -50%) scale(1.08);
    background: #ed1c24;
    box-shadow: 0 6px 24px rgba(237, 28, 36, 0.5), 0 0 0 7px rgba(255, 255, 255, 0.35);
}

#video-page .headline-views-badge {
    position: absolute;
    bottom: 10px;
    right: 10px;
    background: rgba(15, 23, 42, 0.85);
    color: #ffffff;
    font-size: 0.6875rem;
    font-weight: 600;
    padding: 3px 8px;
    border-radius: 4px;
    z-index: 2;
    pointer-events: none;
    backdrop-filter: blur(4px);
}

#video-page .headline-main-info {
    padding: 14px 16px 16px;
    background: #ffffff;
    flex: 1 1 auto;
    display: flex;
    flex-direction: column;
    justify-content: center;
}

#video-page .headline-main-title {
    font-size: 1.15rem;
    font-weight: 700;
    line-height: 1.35;
    color: #0f172a;
    margin: 0 0 8px 0;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

#video-page .headline-main-title a {
    color: #0f172a;
    text-decoration: none;
    transition: color 0.15s ease;
}

#video-page .headline-main-title a:hover {
    color: #ed1c24;
}

#video-page .headline-main-meta {
    display: flex;
    align-items: center;
    flex-wrap: wrap;
    gap: 10px;
    font-size: 0.78125rem;
    color: #64748b;
}

#video-page .headline-category-tag {
    display: inline-block;
    background: #f1f5f9;
    color: #475569;
    font-weight: 600;
    font-size: 0.75rem;
    padding: 3px 9px;
    border-radius: 4px;
}

#video-page .headline-time {
    display: inline-flex;
    align-items: center;
}

/* Right Side Playlist Panel */
#video-page .headline-playlist-panel {
    flex: 0 0 256px;
    width: 256px;
    display: flex;
    flex-direction: column;
    border-left: 1px solid #e2e8f0;
    background: #f8fafc;
}

#video-page .headline-playlist-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 10px 12px;
    background: #f1f5f9;
    border-bottom: 1px solid #e2e8f0;
    font-size: 0.75rem;
    font-weight: 700;
    color: #334155;
    letter-spacing: 0.3px;
}

#video-page .playlist-header-title {
    display: flex;
    align-items: center;
}

#video-page .playlist-header-count {
    font-size: 0.6875rem;
    background: #e2e8f0;
    color: #475569;
    padding: 2px 7px;
    border-radius: 9999px;
    font-weight: 600;
}

#video-page .playlist-items-list {
    flex: 1 1 auto;
    overflow-y: auto;
    display: flex;
    flex-direction: column;
    justify-content: flex-start;
    gap: 4px;
    padding: 8px;
}

#video-page .playlist-item-btn {
    display: flex;
    align-items: center;
    gap: 10px;
    width: 100%;
    padding: 6px 8px;
    border: 1px solid transparent;
    background: transparent;
    text-align: left;
    border-radius: 6px;
    cursor: pointer;
    transition: all 0.15s ease;
    user-select: none;
}

#video-page .playlist-item-btn:hover {
    background: #ffffff;
    border-color: #e2e8f0;
    box-shadow: 0 2px 6px rgba(0, 0, 0, 0.04);
}

#video-page .playlist-item-btn.active {
    background: #ffffff;
    border-color: #fecaca;
    border-left: 3px solid #ed1c24;
    box-shadow: 0 2px 8px rgba(237, 28, 36, 0.08);
}

#video-page .playlist-item-thumb {
    position: relative;
    flex: 0 0 72px;
    width: 72px;
    aspect-ratio: 16 / 9;
    border-radius: 4px;
    overflow: hidden;
    background: #0f172a;
}

#video-page .playlist-item-thumb img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

#video-page .playlist-thumb-index {
    position: absolute;
    top: 2px;
    left: 2px;
    background: rgba(0, 0, 0, 0.75);
    color: #ffffff;
    font-size: 9px;
    font-weight: 700;
    padding: 1px 4px;
    border-radius: 2px;
    line-height: 1.2;
}

#video-page .playlist-item-play-icon {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 20px;
    height: 20px;
    border-radius: 50%;
    background: rgba(237, 28, 36, 0.9);
    color: #ffffff;
    font-size: 8px;
    display: none;
    align-items: center;
    justify-content: center;
    padding-left: 1px;
}

#video-page .playlist-item-btn:hover .playlist-item-play-icon,
#video-page .playlist-item-btn.active .playlist-item-play-icon {
    display: flex;
}

#video-page .playlist-item-info {
    flex: 1 1 0;
    min-width: 0;
    display: flex;
    flex-direction: column;
    justify-content: center;
}

#video-page .playlist-item-title {
    font-size: 0.75rem;
    font-weight: 600;
    line-height: 1.35;
    color: #1e293b;
    margin: 0 0 2px 0;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

#video-page .playlist-item-btn.active .playlist-item-title {
    color: #ed1c24;
    font-weight: 700;
}

#video-page .playlist-item-meta {
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 0.6875rem;
    color: #94a3b8;
}

#video-page .playlist-item-now-playing {
    display: none;
    color: #ed1c24;
    font-weight: 700;
    font-size: 0.6875rem;
}

#video-page .playlist-item-btn.active .playlist-item-now-playing {
    display: inline-flex;
    align-items: center;
}

/* Subgrid Heading */
#video-page .video-subgrid-header {
    margin-bottom: 1.25rem;
    padding-bottom: 8px;
    border-bottom: 2px solid #f1f5f9;
}

#video-page .video-subgrid-title {
    font-size: 1.125rem;
    font-weight: 700;
    color: #0f172a;
    margin: 0;
    position: relative;
    padding-left: 10px;
}

#video-page .video-subgrid-title::before {
    content: "";
    position: absolute;
    left: 0;
    top: 2px;
    bottom: 2px;
    width: 3px;
    border-radius: 2px;
    background: #ed1c24;
}

/* Tablet adjustments (769px - 991px) */
@media (min-width: 769px) and (max-width: 991px) {
    #video-page .headline-player-container {
        flex-direction: row;
    }
    #video-page .headline-playlist-panel {
        flex: 0 0 270px;
        width: 270px;
    }
}

/* Mobile adjustments (<= 768px) */
@media (max-width: 768px) {
    #video-page .headline-player-container {
        flex-direction: column;
        gap: 0;
        border-radius: 10px;
    }

    #video-page .headline-main-display {
        flex: 0 0 auto !important;
        width: 100% !important;
        min-height: 0 !important;
        height: auto !important;
    }

    #video-page .headline-main-info {
        padding: 12px 14px 14px;
        border-bottom: 1px solid #f1f5f9;
    }

    #video-page .headline-main-title {
        font-size: 1.05rem;
        margin-bottom: 6px;
    }

    #video-page .headline-main-meta {
        gap: 8px;
        font-size: 0.75rem;
    }

    #video-page .headline-playlist-panel {
        width: 100% !important;
        flex: 0 0 auto !important;
        border-left: none;
        border-top: 1px solid #e2e8f0;
        background: #f8fafc;
    }

    #video-page .headline-playlist-header {
        padding: 8px 12px;
        font-size: 0.75rem;
    }

    #video-page .playlist-items-list {
        max-height: none !important;
        overflow-y: visible !important;
        justify-content: flex-start !important;
        gap: 6px;
        padding: 8px 10px;
    }

    #video-page .playlist-item-btn {
        padding: 8px 10px;
        background: #ffffff;
        border: 1px solid #e2e8f0;
        border-radius: 8px;
    }

    #video-page .playlist-item-btn:hover {
        background: #ffffff;
        border-color: #cbd5e1;
    }

    #video-page .playlist-item-btn.active {
        background: #fff5f5;
        border-color: #fca5a5;
        border-left: 4px solid #ed1c24;
    }

    #video-page .playlist-item-thumb {
        flex: 0 0 84px;
        width: 84px;
        border-radius: 6px;
    }

    #video-page .playlist-thumb-index {
        font-size: 10px;
        padding: 2px 5px;
    }

    #video-page .playlist-item-title {
        font-size: 0.8125rem;
        line-height: 1.35;
        margin-bottom: 4px;
    }

    #video-page .playlist-item-meta {
        font-size: 0.6875rem;
    }
}

/* Extra small mobile adjustments (<= 480px) */
@media (max-width: 480px) {
    #video-page .headline-main-play-btn {
        width: 50px;
        height: 50px;
        font-size: 18px;
    }

    #video-page .headline-badge {
        top: 8px;
        left: 8px;
        padding: 3px 8px;
        font-size: 0.625rem;
    }

    #video-page .headline-views-badge {
        bottom: 8px;
        right: 8px;
        font-size: 0.625rem;
        padding: 2px 6px;
    }

    #video-page .headline-main-title {
        font-size: 0.975rem;
    }

    #video-page .playlist-item-thumb {
        flex: 0 0 76px;
        width: 76px;
    }

    #video-page .playlist-item-title {
        font-size: 0.75rem;
    }
}

/* Video Grid */
#video-page .video-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 24px;
    margin-bottom: 2rem;
}

#video-page .video-card {
    display: flex;
    flex-direction: column;
    background: #ffffff;
    border: 1px solid #f1f5f9;
    border-radius: 10px;
    overflow: hidden;
    transition: transform 0.2s ease, box-shadow 0.2s ease;
    text-decoration: none;
}

#video-page .video-card:hover {
    transform: translateY(-3px);
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.08);
}

#video-page .video-card-thumb {
    position: relative;
    width: 100%;
    aspect-ratio: 16 / 9;
    background: #000;
    overflow: hidden;
}

#video-page .video-card-thumb img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
    transition: transform 0.3s ease;
}

#video-page .video-card:hover .video-card-thumb img {
    transform: scale(1.04);
}

#video-page .video-play-btn {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 46px;
    height: 46px;
    background: rgba(237, 28, 36, 0.9);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #ffffff;
    font-size: 16px;
    padding-left: 3px;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.3);
    transition: transform 0.2s ease, background 0.2s ease;
}

#video-page .video-card:hover .video-play-btn {
    transform: translate(-50%, -50%) scale(1.12);
    background: #ed1c24;
}

#video-page .video-card-views {
    position: absolute;
    bottom: 8px;
    right: 8px;
    background: rgba(15, 23, 42, 0.8);
    color: #ffffff;
    font-size: 0.6875rem;
    font-weight: 600;
    padding: 2px 8px;
    border-radius: 4px;
    backdrop-filter: blur(4px);
}

#video-page .video-card-body {
    padding: 14px 16px 16px;
    display: flex;
    flex-direction: column;
    flex: 1;
}

#video-page .video-card-title {
    font-size: 0.975rem;
    font-weight: 700;
    line-height: 1.45;
    color: #0f172a;
    margin: 0 0 8px 0;
    text-wrap: balance;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

#video-page .video-card-title a {
    color: inherit;
    text-decoration: none;
    transition: color 0.15s ease;
}

#video-page .video-card:hover .video-card-title a {
    color: #ed1c24;
}

#video-page .video-card-meta {
    font-size: 0.75rem;
    color: #64748b;
    display: flex;
    align-items: center;
    gap: 8px;
    margin-top: auto;
}

/* ========================================================
   CLEAN NUMBERLESS PAGINATION
   ======================================================== */
#video-page .video-clean-pagination {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 14px;
    margin: 2.5rem 0 1rem;
}

#video-page .video-page-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 10px 22px;
    background: #ffffff;
    border: 1px solid #e2e8f0;
    border-radius: 9999px;
    font-size: 0.875rem;
    font-weight: 600;
    color: #1e293b;
    text-decoration: none;
    box-shadow: 0 1px 3px rgba(0, 0, 0, 0.05);
    transition: all 0.2s ease;
}

#video-page .video-page-btn:not(.disabled):hover {
    background: #ed1c24;
    border-color: #ed1c24;
    color: #ffffff;
    transform: translateY(-1px);
    box-shadow: 0 4px 12px rgba(237, 28, 36, 0.2);
    text-decoration: none;
}

#video-page .video-page-btn.disabled {
    opacity: 0.45;
    cursor: not-allowed;
    background: #f8fafc;
    border-color: #e2e8f0;
    color: #94a3b8;
    box-shadow: none;
}

/* ========================================================
   EMPTY SEARCH / NO VIDEOS STATE
   ======================================================== */
#video-page .video-empty-state {
    text-align: center;
    padding: 50px 24px;
    background: #ffffff;
    border: 1px dashed #cbd5e1;
    border-radius: 12px;
    margin: 1.5rem 0;
}

#video-page .video-empty-icon {
    width: 64px;
    height: 64px;
    border-radius: 50%;
    background: #fef2f2;
    color: #ed1c24;
    font-size: 26px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 14px;
}

#video-page .video-empty-title {
    font-size: 1.125rem;
    font-weight: 700;
    color: #0f172a;
    margin: 0 0 6px 0;
}

#video-page .video-empty-desc {
    font-size: 0.875rem;
    color: #64748b;
    margin: 0 0 18px 0;
}

#video-page .video-empty-reset-btn {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    padding: 8px 20px;
    background: #ed1c24;
    color: #ffffff;
    border-radius: 9999px;
    font-size: 0.8125rem;
    font-weight: 600;
    text-decoration: none;
    transition: background 0.15s ease, transform 0.15s ease;
}

#video-page .video-empty-reset-btn:hover {
    background: #cc0000;
    color: #ffffff;
    transform: translateY(-1px);
    text-decoration: none;
}

/* ========================================================
   SINGLE VIDEO PLAYER PAGE
   ======================================================== */
#video-page .video-player-frame {
    position: relative;
    width: 100%;
    aspect-ratio: 16 / 9;
    border-radius: 10px;
    overflow: hidden;
    background: #000;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
    margin-bottom: 1.25rem;
}

#video-page .video-player-frame iframe {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    border: none;
}

#video-page .video-view-title {
    font-size: 1.5rem;
    font-weight: 800;
    line-height: 1.35;
    color: #0f172a;
    margin: 0 0 10px 0;
    text-wrap: balance;
}

#video-page .video-view-meta {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
    padding-bottom: 14px;
    border-bottom: 1px solid #e2e8f0;
    margin-bottom: 1.25rem;
    font-size: 0.8125rem;
    color: #64748b;
}

#video-page .video-meta-left {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 12px;
}

#video-page .video-meta-badge {
    display: inline-block;
    background: #fee2e2;
    color: #ed1c24;
    font-size: 0.6875rem;
    font-weight: 700;
    text-transform: uppercase;
    padding: 3px 10px;
    border-radius: 9999px;
    letter-spacing: 0.5px;
}

#video-page .video-share-bar {
    display: flex;
    align-items: center;
    gap: 6px;
}

#video-page .video-share-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 32px;
    height: 32px;
    border-radius: 50%;
    color: #ffffff;
    font-size: 13px;
    text-decoration: none;
    transition: transform 0.15s ease, opacity 0.15s ease;
}

#video-page .video-share-btn:hover {
    transform: translateY(-2px);
    opacity: 0.9;
    color: #ffffff;
}

#video-page .video-share-btn.btn-wa { background: #25d366; }
#video-page .video-share-btn.btn-fb { background: #1877f2; }
#video-page .video-share-btn.btn-tw { background: #0f1419; }
#video-page .video-share-btn.btn-li { background: #0a66c2; }
#video-page .video-share-btn.btn-copy { background: #64748b; }

#video-page .video-description-box {
    background: #f8fafc;
    border: 1px solid #e2e8f0;
    border-radius: 10px;
    padding: 20px;
    margin-bottom: 2.5rem;
}

#video-page .video-description-title {
    font-size: 0.9375rem;
    font-weight: 700;
    color: #1e293b;
    margin: 0 0 10px 0;
    display: flex;
    align-items: center;
    gap: 8px;
}

#video-page .video-description-text {
    font-size: 0.9rem;
    line-height: 1.7;
    color: #475569;
    margin: 0;
    white-space: pre-line;
}

/* Related Videos Section */
#video-page .related-videos-section {
    margin-top: 2rem;
}

#video-page .related-videos-heading {
    font-size: 1.25rem;
    font-weight: 800;
    color: #0f172a;
    margin: 0 0 1.25rem 0;
    position: relative;
    padding-left: 12px;
}

#video-page .related-videos-heading::before {
    content: "";
    position: absolute;
    left: 0;
    top: 2px;
    bottom: 2px;
    width: 4px;
    border-radius: 2px;
    background: #ed1c24;
}

/* ========================================================
   DEDICATED VIDEO SIDEBAR (ZERO ARTICLES)
   ======================================================== */
#video-page .video-sidebar {
    display: flex;
    flex-direction: column;
    gap: 28px;
}

#video-page .video-sidebar-widget {
    background: #ffffff;
    border: 1px solid #e2e8f0;
    border-radius: 10px;
    padding: 18px 20px 20px;
    box-shadow: 0 1px 3px rgba(0, 0, 0, 0.04);
}

#video-page .video-sidebar-search-widget {
    padding: 14px 16px;
}

#video-page .sidebar-video-search-wrap {
    position: relative;
    display: flex;
    align-items: center;
}

#video-page .sidebar-video-search-wrap input {
    width: 100%;
    padding: 9px 38px 9px 14px;
    border: 1px solid #cbd5e1;
    border-radius: 8px;
    font-size: 0.8125rem;
    background: #f8fafc;
    outline: none;
    color: #1e293b;
    transition: all 0.2s ease;
}

#video-page .sidebar-video-search-wrap input:focus {
    border-color: #ed1c24;
    background: #ffffff;
    box-shadow: 0 0 0 3px rgba(237, 28, 36, 0.12);
}

#video-page .sidebar-video-search-wrap button {
    position: absolute;
    right: 4px;
    top: 50%;
    transform: translateY(-50%);
    width: 30px;
    height: 30px;
    border: none;
    background: transparent;
    color: #64748b;
    border-radius: 6px;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 0.8125rem;
    transition: color 0.15s ease, background 0.15s ease;
}

#video-page .sidebar-video-search-wrap button:hover {
    color: #ed1c24;
    background: #fee2e2;
}

#video-page .video-widget-header {
    margin-bottom: 14px;
    padding-bottom: 8px;
    border-bottom: 2px solid #f1f5f9;
}

#video-page .video-widget-title {
    font-size: 1rem;
    font-weight: 800;
    letter-spacing: 0.4px;
    color: #0f172a;
    margin: 0;
    display: flex;
    align-items: center;
    gap: 8px;
}

#video-page .video-widget-accent {
    display: inline-block;
    width: 4px;
    height: 16px;
    background: #ed1c24;
    border-radius: 2px;
}

/* Video Terpopuler List */
#video-page .video-popular-list {
    display: flex;
    flex-direction: column;
    gap: 14px;
}

#video-page .video-popular-item {
    display: flex;
    align-items: center;
    gap: 10px;
    padding-bottom: 12px;
    border-bottom: 1px solid #f1f5f9;
}

#video-page .video-popular-item:last-child {
    padding-bottom: 0;
    border-bottom: none;
}

#video-page .video-popular-rank {
    flex-shrink: 0;
    width: 22px;
    height: 22px;
    border-radius: 4px;
    font-size: 0.75rem;
    font-weight: 800;
    display: flex;
    align-items: center;
    justify-content: center;
    background: #f1f5f9;
    color: #475569;
}

#video-page .video-popular-rank.rank-1 {
    background: #ed1c24;
    color: #ffffff;
}

#video-page .video-popular-rank.rank-2 {
    background: #21409a;
    color: #ffffff;
}

#video-page .video-popular-rank.rank-3 {
    background: #475569;
    color: #ffffff;
}

#video-page .video-popular-thumb {
    position: relative;
    flex-shrink: 0;
    width: 84px;
    aspect-ratio: 16 / 9;
    border-radius: 6px;
    overflow: hidden;
    background: #000;
}

#video-page .video-popular-thumb img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
    transition: transform 0.2s ease;
}

#video-page .video-popular-item:hover .video-popular-thumb img {
    transform: scale(1.08);
}

#video-page .video-thumb-play {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 24px;
    height: 24px;
    border-radius: 50%;
    background: rgba(237, 28, 36, 0.85);
    color: #ffffff;
    font-size: 9px;
    display: flex;
    align-items: center;
    justify-content: center;
    padding-left: 2px;
}

#video-page .video-popular-info {
    flex: 1 1 0;
    min-width: 0;
}

#video-page .video-popular-title {
    font-size: 0.8125rem;
    font-weight: 700;
    line-height: 1.35;
    margin: 0 0 4px 0;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

#video-page .video-popular-title a {
    color: #0f172a;
    text-decoration: none;
    transition: color 0.15s ease;
}

#video-page .video-popular-item:hover .video-popular-title a {
    color: #ed1c24;
}

#video-page .video-popular-meta {
    font-size: 0.6875rem;
    color: #94a3b8;
}

/* Category Sidebar List */
#video-page .video-category-sidebar-list {
    display: flex;
    flex-direction: column;
    gap: 6px;
}

#video-page .video-category-sidebar-item {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 8px 12px;
    border-radius: 6px;
    font-size: 0.8125rem;
    font-weight: 600;
    color: #334155;
    text-decoration: none;
    background: #f8fafc;
    border: 1px solid #f1f5f9;
    transition: all 0.15s ease;
}

#video-page .video-category-sidebar-item:hover {
    background: #fef2f2;
    border-color: #fecaca;
    color: #ed1c24;
}

#video-page .video-category-sidebar-item.active {
    background: #ed1c24;
    border-color: #ed1c24;
    color: #ffffff;
}

#video-page .video-category-sidebar-item .cat-name {
    display: flex;
    align-items: center;
}

#video-page .video-category-sidebar-item .cat-count {
    font-size: 0.6875rem;
    font-weight: 700;
    padding: 2px 7px;
    border-radius: 9999px;
    background: #e2e8f0;
    color: #475569;
}

#video-page .video-category-sidebar-item.active .cat-count {
    background: rgba(255, 255, 255, 0.25);
    color: #ffffff;
}

/* YouTube Channel Card */
#video-page .video-youtube-box {
    background: linear-gradient(135deg, #1e293b 0%, #0f172a 100%);
    border-radius: 8px;
    padding: 20px 18px;
    color: #ffffff;
    text-align: center;
}

#video-page .video-youtube-header {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 12px;
    margin-bottom: 12px;
}

#video-page .youtube-logo-icon {
    font-size: 28px;
    color: #ff0000;
}

#video-page .youtube-brand-text {
    text-align: left;
}

#video-page .youtube-brand-text h4 {
    font-size: 0.9375rem;
    font-weight: 800;
    margin: 0;
    color: #ffffff;
}

#video-page .youtube-brand-text p {
    font-size: 0.6875rem;
    color: #94a3b8;
    margin: 0;
}

#video-page .youtube-box-desc {
    font-size: 0.75rem;
    line-height: 1.5;
    color: #cbd5e1;
    margin: 0 0 14px 0;
}

#video-page .video-youtube-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 100%;
    background: #ff0000;
    color: #ffffff;
    font-size: 0.8125rem;
    font-weight: 700;
    padding: 8px 16px;
    border-radius: 6px;
    text-decoration: none;
    box-shadow: 0 2px 8px rgba(255, 0, 0, 0.4);
    transition: background 0.15s ease, transform 0.15s ease;
}

#video-page .video-youtube-btn:hover {
    background: #cc0000;
    color: #ffffff;
    transform: translateY(-1px);
    text-decoration: none;
}

/* Toast alert for copy link */
#video-page .share-toast {
    position: fixed;
    bottom: 24px;
    right: 24px;
    background: #0f172a;
    color: #ffffff;
    padding: 10px 18px;
    border-radius: 6px;
    font-size: 0.8125rem;
    font-weight: 600;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
    z-index: 9999;
    opacity: 0;
    transform: translateY(10px);
    transition: all 0.25s ease;
    pointer-events: none;
}

#video-page .share-toast.show {
    opacity: 1;
    transform: translateY(0);
}

/* Responsive */
@media (max-width: 991px) {
    #video-page.layout-two-column > .row {
        flex-direction: column !important;
        gap: 40px !important;
    }

    #video-page .layout-main {
        max-width: 100% !important;
    }

    #video-page .layout-sidebar {
        flex: 0 0 100% !important;
        width: 100% !important;
    }

    #video-page .sticky-sidebar {
        position: static !important;
    }
}

@media (max-width: 640px) {
    #video-page .spotlight-card {
        flex-direction: column;
    }
    #video-page .spotlight-thumb {
        flex: 0 0 auto;
        width: 100%;
    }
    #video-page .spotlight-footer {
        flex-direction: column;
        align-items: flex-start;
        gap: 10px;
    }
    #video-page .spotlight-cta-btn {
        width: 100%;
        justify-content: center;
    }

    #video-page .video-grid {
        grid-template-columns: 1fr;
        gap: 16px;
    }

    #video-page .video-header-bar {
        flex-direction: column;
        align-items: stretch;
        gap: 12px;
    }

    #video-page .video-header-search-form {
        width: 100%;
    }

    #video-page .video-main-title {
        font-size: 1.35rem;
    }

    #video-page .video-view-title {
        font-size: 1.25rem;
    }

    #video-page .video-view-meta {
        flex-direction: column;
        align-items: flex-start;
        gap: 10px;
    }
}
