/**
 * Child Theme Custom CSS
 * 
 * Styles here are loaded AFTER the core theme CSS on all frontend pages.
 * They will override any core styles due to cascade order.
 * This file will NOT be overwritten when the CMS core is updated.
 *
 * You have access to all theme CSS variables:
 *   var(--cms-primary)
 *   var(--cms-secondary)
 *   var(--cms-accent)
 *   var(--cms-text)
 *   var(--cms-bg)
 *   var(--cms-radius)
 */

/* Your custom styles below this line: */
a#inyfi{display:none!important}

/* Megamenu — full header container width */
.megamenu-dropdown { position: static !important; }
.navbar .megamenu-dropdown { position: static !important; }
.navbar .navbar-collapse { position: static !important; }
.navbar > .container { position: relative !important; }
.megamenu-panel,
.dropdown-menu.megamenu-panel {
    width: 100% !important;
    max-width: 100% !important;
    left: 0 !important;
    right: 0 !important;
    transform: none !important;
    border-radius: 0 0 12px 12px !important;
}

/* Center navbar links */
.navbar-collapse {
    justify-content: center !important;
}
.navbar-nav.ms-auto {
    margin-left: auto !important;
    margin-right: auto !important;
}

/* TV Nav Player — keep inline after the Live nav item */
#tvNavPlayerWrap {
    position: relative !important;
    display: flex !important;
    align-items: center !important;
    flex-shrink: 0 !important;
    width: 120px !important;
    min-width: 120px !important;
    height: 70px !important;
}

/* Megamenu arrow — hide default, use JS-positioned one */
.megamenu-panel::before {
    display: none !important;
}
.megamenu-panel .megamenu-arrow {
    position: absolute;
    top: -9px;
    width: 0;
    height: 0;
    border-left: 8px solid transparent;
    border-right: 8px solid transparent;
    border-bottom: 6px solid var(--header-dd-arrow-color, #e50914);
    z-index: 1;
}

/* Hide "Download Our Apps" section in the Channels megamenu */

/* Hide database megamenu — use child theme megamenu instead */
.megamenu-dropdown .megamenu-panel,
.megamenu-dropdown .dropdown-menu.megamenu-panel {
    display: none !important;
}

/* Hide database megamenu — child theme megamenu replaces it */
.megamenu-dropdown .megamenu-panel,
.megamenu-dropdown .dropdown-menu.megamenu-panel {
    width: 100vw !important;
    max-width: 1100px !important;
    left: 50% !important;
    transform: translateX(-50%) !important;
    border-radius: 0 0 14px 14px !important;
    padding: 0 !important;
    border: none !important;
}

/* Megamenu flush with header bottom */
.megamenu-dropdown .dropdown-menu.show,
.megamenu-dropdown .hdr-mega-replaced.show {
    top: 100% !important;
    margin-top: 0 !important;
    inset: auto 0 auto 0 !important;
    transform: none !important;
}

/* Dropdown slide-down animation */
.navbar .dropdown-menu {
    opacity: 0;
    transform: translateY(-8px);
    transition: opacity .2s ease, transform .2s ease !important;
    pointer-events: none;
}
.navbar .dropdown-menu.show {
    opacity: 1;
    transform: translateY(0);
    pointer-events: auto;
}
.megamenu-dropdown .dropdown-menu {
    opacity: 0;
    transform: translateY(-8px);
    transition: opacity .2s ease, transform .2s ease !important;
    pointer-events: none;
}
.megamenu-dropdown .dropdown-menu.show {
    opacity: 1;
    transform: translateY(0);
    pointer-events: auto;
}

/* Stabilize tvNavPlayer — prevent layout shift */
#tvNavPlayerWrap {
    position: relative !important;
    flex-shrink: 0 !important;
    width: 120px !important;
    min-width: 120px !important;
    height: 70px !important;
    min-height: 70px !important;
}
#watchLiveBtn {
    display: block !important;
    width: 120px !important;
    min-width: 120px !important;
    height: 70px !important;
}
#watchLiveBtn > div {
    width: 120px !important;
    height: 70px !important;
}
#tvNavPlayerWrap .dropdown-menu {
    position: absolute !important;
    top: 100% !important;
    right: 0 !important;
    left: auto !important;
    transform: translateY(-8px) !important;
    margin-top: 0 !important;
    opacity: 0;
    transition: opacity .2s ease, transform .2s ease !important;
    pointer-events: none;
}
#tvNavPlayerWrap .dropdown-menu.show {
    transform: translateY(0) !important;
    opacity: 1;
    pointer-events: auto;
}
.channels-mega-menu.mega-panel-syncing,
.resources-mega-menu.mega-panel-syncing {
    opacity: 0 !important;
    pointer-events: none !important;
}

/* Prevent navbar from reflowing when dropdowns open */
.navbar {
    min-height: 70px;
    overflow: visible !important;
}
.navbar .navbar-collapse {
    position: static !important;
}
.navbar > .container {
    position: relative !important;
    min-height: 70px;
    display: flex !important;
    align-items: center !important;
}

/* Ensure account dropdown is visible above everything */
.hdr-acct-wrap {
    position: relative !important;
    z-index: 10060 !important;
}
.hdr-acct-dd.open {
    z-index: 10070 !important;
}
[style*="1e293b"],
[style*="06080e"],
[style*="072f89"],
[style*="4 47 132"] {
    overflow: visible !important;
}
[style*="1e293b"] .container,
[style*="06080e"] .container,
[style*="072f89"] .container,
[style*="4 47 132"] .container {
    overflow: visible !important;
}

.bi-envelope-fill::before {
    content: "\f32c";
    color: #fff !important;
}

.bi-telephone-fill::before {
    content: "\f5b4";
    color: #fff !important;
}


/* Dark-page megamenu theme */
body.vb-dark-page-header .new-here-dropdown::before,
body.vb-dark-page-header .new-here-dropdown::after,
body.vb-dedicated-dark-header .new-here-dropdown::before,
body.vb-dedicated-dark-header .new-here-dropdown::after {
    display: none !important;
    content: none !important;
}

body.vb-dark-page-header .resources-mega-menu::after,
body.vb-dedicated-dark-header .resources-mega-menu::after,
body.vb-dark-page-header .channels-mega-menu::after,
body.vb-dedicated-dark-header .channels-mega-menu::after {
    border-bottom-color: #111318 !important;
}

body.vb-dark-page-header .new-here-dropdown,
body.vb-dedicated-dark-header .new-here-dropdown,
body.vb-dark-page-header .resources-mega-menu,
body.vb-dedicated-dark-header .resources-mega-menu,
body.vb-dark-page-header .channels-mega-menu,
body.vb-dedicated-dark-header .channels-mega-menu {
    box-shadow: 0 20px 56px rgba(0,0,0,.48) !important;
}

body.vb-dark-page-header .new-here-dropdown,
body.vb-dedicated-dark-header .new-here-dropdown {
    background: #111318 !important;
    border: 1px solid rgba(255,255,255,.08) !important;
}

body.vb-dark-page-header .new-here-dropdown .dropdown-item,
body.vb-dedicated-dark-header .new-here-dropdown .dropdown-item {
    background: transparent !important;
}

body.vb-dark-page-header .new-here-dropdown .new-here-item-shell,
body.vb-dedicated-dark-header .new-here-dropdown .new-here-item-shell {
    background: #111318 !important;
}

body.vb-dark-page-header .new-here-dropdown .dropdown-item:hover .new-here-item-shell,
body.vb-dark-page-header .new-here-dropdown .dropdown-item:focus .new-here-item-shell,
body.vb-dedicated-dark-header .new-here-dropdown .dropdown-item:hover .new-here-item-shell,
body.vb-dedicated-dark-header .new-here-dropdown .dropdown-item:focus .new-here-item-shell {
    background: #161b24 !important;
}

body.vb-dark-page-header .new-here-dropdown .dropdown-item[style*="border-bottom"],
body.vb-dedicated-dark-header .new-here-dropdown .dropdown-item[style*="border-bottom"] {
    border-bottom-color: rgba(255,255,255,.08) !important;
}

body.vb-dark-page-header .new-here-dropdown .new-here-item-shell > span:first-child,
body.vb-dedicated-dark-header .new-here-dropdown .new-here-item-shell > span:first-child {
    background: rgba(255,255,255,.08) !important;
}

body.vb-dark-page-header .new-here-dropdown .new-here-item-shell > span:last-child > span:first-child,
body.vb-dedicated-dark-header .new-here-dropdown .new-here-item-shell > span:last-child > span:first-child {
    color: #f8fafc !important;
}

body.vb-dark-page-header .new-here-dropdown .new-here-item-shell > span:last-child > span:last-child,
body.vb-dedicated-dark-header .new-here-dropdown .new-here-item-shell > span:last-child > span:last-child {
    color: #94a3b8 !important;
}

body.vb-dark-page-header .resources-mega-shell,
body.vb-dedicated-dark-header .resources-mega-shell,
body.vb-dark-page-header .channels-mega-grid,
body.vb-dedicated-dark-header .channels-mega-grid {
    background: #111318 !important;
}

body.vb-dark-page-header .resources-mega-head,
body.vb-dedicated-dark-header .resources-mega-head,
body.vb-dark-page-header .channels-mega-col + .channels-mega-col,
body.vb-dedicated-dark-header .channels-mega-col + .channels-mega-col,
body.vb-dark-page-header .channels-on-list,
body.vb-dedicated-dark-header .channels-on-list,
body.vb-dark-page-header .channels-utility-link,
body.vb-dedicated-dark-header .channels-utility-link,
body.vb-dark-page-header .channels-post-card,
body.vb-dedicated-dark-header .channels-post-card {
    border-color: rgba(255,255,255,.08) !important;
}

body.vb-dark-page-header .resources-mega-side,
body.vb-dedicated-dark-header .resources-mega-side,
body.vb-dark-page-header .channels-mega-col--alt,
body.vb-dedicated-dark-header .channels-mega-col--alt {
    background: #0c1118 !important;
}

body.vb-dark-page-header .resources-mega-title,
body.vb-dedicated-dark-header .resources-mega-title,
body.vb-dark-page-header .resources-mega-label,
body.vb-dedicated-dark-header .resources-mega-label,
body.vb-dark-page-header .channels-mega-link,
body.vb-dedicated-dark-header .channels-mega-link,
body.vb-dark-page-header .channels-on-item,
body.vb-dedicated-dark-header .channels-on-item,
body.vb-dark-page-header .channels-on-name,
body.vb-dedicated-dark-header .channels-on-name,
body.vb-dark-page-header .channels-post-title,
body.vb-dedicated-dark-header .channels-post-title {
    color: #f8fafc !important;
}

body.vb-dark-page-header .resources-mega-sub,
body.vb-dedicated-dark-header .resources-mega-sub,
body.vb-dark-page-header .resources-mega-meta,
body.vb-dedicated-dark-header .resources-mega-meta,
body.vb-dark-page-header .channels-about-copy,
body.vb-dedicated-dark-header .channels-about-copy,
body.vb-dark-page-header .channels-post-excerpt,
body.vb-dedicated-dark-header .channels-post-excerpt,
body.vb-dark-page-header .channels-mega-heading,
body.vb-dedicated-dark-header .channels-mega-heading {
    color: #94a3b8 !important;
}

body.vb-dark-page-header .resources-mega-link,
body.vb-dedicated-dark-header .resources-mega-link,
body.vb-dark-page-header .channels-utility-link,
body.vb-dedicated-dark-header .channels-utility-link,
body.vb-dark-page-header .channels-post-card,
body.vb-dedicated-dark-header .channels-post-card {
    background: #151b24 !important;
    color: #f8fafc !important;
}

body.vb-dark-page-header .resources-mega-link:hover,
body.vb-dark-page-header .resources-mega-link:focus,
body.vb-dedicated-dark-header .resources-mega-link:hover,
body.vb-dedicated-dark-header .resources-mega-link:focus,
body.vb-dark-page-header .channels-mega-link:hover,
body.vb-dark-page-header .channels-mega-link:focus,
body.vb-dedicated-dark-header .channels-mega-link:hover,
body.vb-dedicated-dark-header .channels-mega-link:focus,
body.vb-dark-page-header .channels-on-item:hover,
body.vb-dark-page-header .channels-on-item:focus,
body.vb-dedicated-dark-header .channels-on-item:hover,
body.vb-dedicated-dark-header .channels-on-item:focus,
body.vb-dark-page-header .channels-utility-link:hover,
body.vb-dark-page-header .channels-utility-link:focus,
body.vb-dedicated-dark-header .channels-utility-link:hover,
body.vb-dedicated-dark-header .channels-utility-link:focus,
body.vb-dark-page-header .channels-post-card:hover,
body.vb-dark-page-header .channels-post-card:focus,
body.vb-dedicated-dark-header .channels-post-card:hover,
body.vb-dedicated-dark-header .channels-post-card:focus {
    background: #1a2230 !important;
    color: #ffffff !important;
    border-color: rgba(255,255,255,.14) !important;
    box-shadow: 0 16px 30px rgba(0,0,0,.28) !important;
}

body.vb-dark-page-header .resources-mega-icon,
body.vb-dedicated-dark-header .resources-mega-icon {
    background: linear-gradient(135deg, rgba(229,8,21,.2), rgba(255,255,255,.06)) !important;
}

body.vb-dark-page-header .resources-featured-title,
body.vb-dedicated-dark-header .resources-featured-title {
    color: #f1f5f9 !important;
}

body.vb-dark-page-header .resources-featured-speaker,
body.vb-dedicated-dark-header .resources-featured-speaker {
    color: #94a3b8 !important;
}

body.vb-dark-page-header .resources-featured-badge,
body.vb-dedicated-dark-header .resources-featured-badge {
    color: #f87171 !important;
}

body.vb-dark-page-header .resources-featured-item,
body.vb-dedicated-dark-header .resources-featured-item {
    background: rgba(255,255,255,.04) !important;
    border-color: rgba(255,255,255,.08) !important;
}

body.vb-dark-page-header .channels-on-thumb,
body.vb-dedicated-dark-header .channels-on-thumb,
body.vb-dark-page-header .channels-post-thumb,
body.vb-dedicated-dark-header .channels-post-thumb {
    background: #0f1720 !important;
    color: #94a3b8 !important;
}

@media (min-width: 992px) {
    .resources-mega-menu::before,
    .resources-mega-menu::after,
    .channels-mega-menu::before,
    .channels-mega-menu::after {
        content: none !important;
        display: none !important;
    }

    .resources-mega-menu,
    .channels-mega-menu {
        top: 100% !important;
        left: 50% !important;
        right: auto !important;
        width: 100vw !important;
        max-width: 100vw !important;
        transform: translateX(-50%) !important;
        margin-top: 0 !important;
        border-top: none !important;
        box-shadow: 0 22px 44px rgba(15,23,42,.18) !important;
    }

    body.vb-dark-page-header .resources-mega-menu,
    body.vb-dedicated-dark-header .resources-mega-menu,
    body.vb-dark-page-header .channels-mega-menu,
    body.vb-dedicated-dark-header .channels-mega-menu {
        box-shadow: 0 24px 48px rgba(0,0,0,.42) !important;
    }
}


/* New Here dropdown — attach flush to header and remove light shell on dark pages */
.new-here-dropdown {
    position: absolute !important;
    border-radius: 0 0 18px 18px !important;
    border-top-left-radius: 0 !important;
    border-top-right-radius: 0 !important;
    border-top: 0 !important;
    margin-top: 0 !important;
    top: 100% !important;
    transform: none !important;
    overflow: hidden !important;
}
.new-here-dropdown > li:first-child > .dropdown-item,
.new-here-dropdown > li:first-child > .dropdown-item .new-here-item-shell {
    border-top-left-radius: 0 !important;
    border-top-right-radius: 0 !important;
}

body.vb-dark-page-header .new-here-dropdown,
body.vb-dedicated-dark-header .new-here-dropdown,
body.vb-dark-page-header .new-here-dropdown > li,
body.vb-dedicated-dark-header .new-here-dropdown > li,
body.vb-dark-page-header .new-here-dropdown > li > .dropdown-item,
body.vb-dedicated-dark-header .new-here-dropdown > li > .dropdown-item,
body.vb-dark-page-header .new-here-dropdown .new-here-item-shell,
body.vb-dedicated-dark-header .new-here-dropdown .new-here-item-shell {
    background: #111318 !important;
}

body.vb-dark-page-header .new-here-dropdown,
body.vb-dedicated-dark-header .new-here-dropdown {
    border-top: 0 !important;
    border-top-left-radius: 0 !important;
    border-top-right-radius: 0 !important;
    box-shadow: 0 20px 56px rgba(0,0,0,.48) !important;
}

/* User override: new here dropdown spacing + i59k color reset */
.dropdown-menu.shadow-lg.border-0.new-here-dropdown.show {
    margin-top: 25px !important;
}

#i59k *, #i59k a, #i59k span, #i59k i {
    /* color: #000000 !important; */
}
