/* =========================================================
   VIDEOS PAGE
   Dedicated CSS for videos.html
========================================================= */


/* =========================================================
   PAGE
========================================================= */

.videos-page {
    width: 100%;
    padding: 10px 0 50px;
    box-sizing: border-box;
}

.videos-page-title {
    display: flex;
    align-items: center;
    justify-content: space-between;

    width: 100%;
    margin: 0 0 20px;
}

.videos-page-title h1 {
    margin: 0;

    font-size: 28px;
    line-height: 1.2;
    font-weight: 700;
}

.videos-page-title h1 i {
    margin-right: 8px;
}


/* =========================================================
   VIDEO CATEGORY BAR
========================================================= */

.video-category-bar {
    position: relative;

    width: auto;

    margin-bottom: 22px;
}


/* =========================================================
   MOBILE CATEGORY TOGGLE
========================================================= */

.video-category-toggle {
    display: none;

    align-items: center;
    justify-content: space-between;

    width: 100%;

    padding: 10px 13px;

    border: 1px solid #334155;
    border-radius: 6px;

    background: #17253d;
    color: #fff;

    font-family: "Poppins", sans-serif;
    font-size: 12px;
    font-weight: 600;

    cursor: pointer;

    box-sizing: border-box;
}

.video-category-toggle > span {
    display: flex;
    align-items: center;
    gap: 8px;
}

.video-category-toggle i {
    font-size: 11px;
}


/* =========================================================
   CATEGORY FILTERS - DESKTOP
========================================================= */

.video-filters {
    display: flex;
    align-items: center;

    width: 100%;

    gap: 0;

    padding: 0;
    margin: 0;

    background: transparent;

    overflow-x: auto;

    scrollbar-width: none;
}

.video-filters::-webkit-scrollbar {
    display: none;
}


/* =========================================================
   PRIMETIME NEWS - TOP HEADER
   LOGO + VIDEOS + LATEST NEWS + CATEGORIES
========================================================= */

.page-header {
    width: 100%;
    margin: 0;
    padding: 0;
    background: #ffffff;
    border-bottom: 1px solid #e5e7eb;
}

.top-header {
    width: 100%;
    max-width: 1200px;
    min-height: 70px;

    margin: 0 auto;
    padding: 8px 20px;

    display: flex;
    align-items: center;
    justify-content: space-between;

    box-sizing: border-box;
}


/* =========================================================
   LOGO
========================================================= */

.top-header .logo {
    display: flex;
    align-items: center;
    flex-shrink: 0;
}

.top-header .logo a {
    display: flex;
    align-items: center;

    text-decoration: none !important;
}

.top-header .logo img {
    display: block;

    width: auto;
    max-width: 180px;
    height: 52px;

    object-fit: contain;
}


/* =========================================================
   TOP NAVIGATION
========================================================= */

.top-navigation {
    display: flex;
    align-items: center;
    justify-content: flex-end;

    gap: 8px;

    margin-left: auto;
}


/* =========================================================
   NAVIGATION LINKS
========================================================= */

.top-navigation a {
    display: inline-flex;
    align-items: center;
    justify-content: center;

    padding: 10px 15px;

    color: #111827 !important;

    font-family: "Poppins", sans-serif;
    font-size: 14px;
    font-weight: 600;

    line-height: 1.2;

    text-decoration: none !important;

    border-radius: 5px;

    background: transparent;

    transition:
        background-color .2s ease,
        color .2s ease;
}


/* REMOVE UNDERLINE */

.top-navigation a,
.top-navigation a:hover,
.top-navigation a:focus,
.top-navigation a:active,
.top-header .logo a {
    text-decoration: none !important;
}


/* HOVER */

.top-navigation a:hover {
    background: #e00000 !important;
    color: #ffffff !important;
}


/* ACTIVE */

.top-navigation a.active {
    background: #e00000 !important;
    color: #ffffff !important;
}


/* =========================================================
   DARK MODE
========================================================= */

html.dark-mode .page-header,
body.dark-mode .page-header {
    background: #071a35 !important;
    border-bottom-color: #263752 !important;
}

html.dark-mode .top-header,
body.dark-mode .top-header {
    background: transparent !important;
}

html.dark-mode .top-navigation a,
body.dark-mode .top-navigation a {
    color: #ffffff !important;
}

html.dark-mode .top-navigation a:hover,
body.dark-mode .top-navigation a:hover,
html.dark-mode .top-navigation a.active,
body.dark-mode .top-navigation a.active {
    background: #e00000 !important;
    color: #ffffff !important;
}


/* =========================================================
   MOBILE
========================================================= */

@media (max-width: 768px) {

    .page-header {
        width: 100%;
    }

    .top-header {
        width: 100%;
        min-height: 55px;

        padding: 6px 10px;

        gap: 8px;
    }


    /* LOGO */

    .top-header .logo img {
        max-width: 125px;
        height: 40px;
    }


    /* NAV */

    .top-navigation {
        gap: 2px;

        margin-left: auto;

        flex-shrink: 0;
    }


    .top-navigation a {
        padding: 7px 6px;

        font-size: 9px;

        border-radius: 4px;

        white-space: nowrap;
    }

}


/* =========================================================
   SMALL PHONES
========================================================= */

@media (max-width: 480px) {

    .top-header {
        min-height: 50px;
        padding: 5px 8px;
    }


    .top-header .logo img {
        max-width: 100px;
        height: 34px;
    }


    .top-navigation {
        gap: 1px;
    }


    .top-navigation a {
        padding: 6px 4px;

        font-size: 8px;
    }

}


/* =========================================================
   VERY SMALL PHONES
========================================================= */

@media (max-width: 360px) {

    .top-header {
        padding-left: 6px;
        padding-right: 6px;
    }


    .top-header .logo img {
        max-width: 85px;
        height: 30px;
    }


    .top-navigation a {
        padding: 5px 3px;

        font-size: 7px;
    }

}

/* =========================================================
   CATEGORY BUTTON
========================================================= */

.video-filter {
    appearance: none;
    -webkit-appearance: none;

    display: block;

    border: none;
    outline: none;

    background: transparent;
    color: #222;

    padding: 12px 16px;

    border-radius: 0;
    margin: 10;

    font-family: "Poppins", sans-serif;
    font-size: 23px;
    font-weight: 600;

    cursor: pointer;

    white-space: nowrap;

    text-decoration: none;

    transition:
        background .2s ease,
        color .2s ease;
}

.video-filter.active,
.video-filter:hover {
    background: #e00000;
    color: #fff;
}


/* =========================================================
   VIDEO GRID - DESKTOP
========================================================= */

.videos-grid {
    display: grid;

    width: 100%;

    grid-template-columns:
        repeat(3, minmax(0, 1fr));

    gap: 20px;

    margin: 0;
    padding: 0;

    box-sizing: border-box;
}


/* =========================================================
   VIDEO CARD
========================================================= */

.video-card {
    display: block;

    width: 100%;
    min-width: 0;

    margin: 0;
    padding: 0;

    border-radius: 7px;

    overflow: hidden;

    box-sizing: border-box;

    background: #fff;

    color: inherit;

    text-decoration: none;

    box-shadow:
        0 2px 7px rgba(0, 0, 0, .08);

    transition:
        transform .2s ease,
        box-shadow .2s ease;
}

.video-card:hover {
    transform: translateY(-3px);

    text-decoration: none;

    box-shadow:
        0 7px 20px rgba(0, 0, 0, .10);
}


/* =========================================================
   THUMBNAIL
========================================================= */

.video-thumbnail {
    position: relative;

    width: 100%;

    aspect-ratio: 16 / 9;

    overflow: hidden;

    background: #111827;
}

.video-thumbnail img {
    display: block;

    width: 100%;
    height: 100%;

    object-fit: cover;
}


/* =========================================================
   PLAY BUTTON
========================================================= */

.video-play {
    position: absolute;

    top: 50%;
    left: 50%;

    display: flex;

    align-items: center;
    justify-content: center;

    width: 46px;
    height: 46px;

    transform: translate(-50%, -50%);

    border-radius: 50%;

    background: rgba(220, 0, 0, .92);

    color: #fff;

    font-size: 18px;

    box-shadow:
        0 2px 8px rgba(0, 0, 0, .25);
}


/* =========================================================
   VIDEO CONTENT
========================================================= */

.video-content {
    display: block;

    padding: 12px;

    box-sizing: border-box;
}

.video-content h3 {
    margin: 0 0 7px;

    font-size: 15px;
    line-height: 1.35;

    font-weight: 600;

    color: #111827;
}


/* =========================================================
   VIDEO CATEGORY LABEL
========================================================= */

.video-category {
    display: inline-block;

    margin-bottom: 5px;

    font-size: 10px;
    line-height: 1.2;

    font-weight: 600;

    color: #e00000;

    text-transform: uppercase;
}


/* =========================================================
   VIDEO META
========================================================= */

.video-meta {
    display: flex;

    align-items: center;

    gap: 10px;

    font-size: 10px;

    color: #6b7280;

    opacity: .8;
}


/* =========================================================
   NO VIDEOS
========================================================= */

.no-videos {
    grid-column: 1 / -1;

    width: 100%;

    padding: 40px 20px;

    text-align: center;

    box-sizing: border-box;
}

.no-videos i {
    display: block;

    margin-bottom: 10px;

    font-size: 28px;

    opacity: .5;
}

.no-videos p {
    margin: 0;

    font-size: 13px;

    opacity: .7;
}


/* =========================================================
   DARK MODE
========================================================= */

html.dark-mode .video-filter,
body.dark-mode .video-filter {
    background: transparent;
    color: #fff;
}

html.dark-mode .video-filter.active,
html.dark-mode .video-filter:hover,
body.dark-mode .video-filter.active,
body.dark-mode .video-filter:hover {
    background: #e00000;
    color: #fff;
}

html.dark-mode .video-category-toggle,
body.dark-mode .video-category-toggle {
    background: #17253d;
    border-color: #334155;
    color: #fff;
}

html.dark-mode .video-card,
body.dark-mode .video-card {
    background: #1f2937;
}

html.dark-mode .video-content h3,
body.dark-mode .video-content h3 {
    color: #fff;
}

html.dark-mode .video-meta,
body.dark-mode .video-meta {
    color: #d1d5db;
}

html.dark-mode .video-category,
body.dark-mode .video-category {
    color: #ff4b4b;
}


/* =========================================================
   TABLET
   769px - 1024px
========================================================= */

@media (max-width: 1024px) and (min-width: 769px) {

    .videos-grid {
        grid-template-columns:
            repeat(2, minmax(0, 1fr));

        gap: 18px;
    }

    .videos-page-title h1 {
        font-size: 25px;
    }

    .video-content h3 {
        font-size: 14px;
    }
}


/* =========================================================
   MOBILE
   768px AND BELOW
========================================================= */

@media (max-width: 768px) {

    /* -----------------------------------------
       PAGE
    ----------------------------------------- */

    .videos-page {
        width: 100%;

        margin: 0;
        padding: 12px 0 30px;

        box-sizing: border-box;
    }


    /* -----------------------------------------
       TITLE
    ----------------------------------------- */

    .videos-page-title {
        width: auto;

        margin: 0 12px 12px;

        box-sizing: border-box;
    }

    .videos-page-title h1 {
        font-size: 20px;
        line-height: 1.2;
    }

    .videos-page-title h1 i {
        margin-right: 6px;
    }


    /* -----------------------------------------
       CATEGORY BAR
    ----------------------------------------- */

    .video-category-bar {
        position: relative;

        width: 200px;

        margin: 0 12px 14px;

        z-index: 5000;
    }


    /* -----------------------------------------
       CATEGORY TOGGLE
    ----------------------------------------- */

    .video-category-toggle {
        display: flex;

        align-items: center;
        justify-content: space-between;

        width: 100%;
        height: 40px;

        padding: 0 12px;

        border: 1px solid #d5dae1;
        border-radius: 7px;

        background: #fff;
        color: #17253d;

        font-size: 11px;

        box-sizing: border-box;
    }


    /* -----------------------------------------
       CATEGORY DROPDOWN
    ----------------------------------------- */

    .video-filters {
        display: none;

        position: absolute;

        top: calc(100% + 5px);
        left: 0;

        width: 100%;

        flex-direction: column;

        align-items: stretch;

        gap: 0;

        padding: 5px 0;
        margin: 0;

        background: #fff;

        border: 1px solid #e1e5ea;

        border-radius: 7px;

        overflow: hidden;

        box-shadow:
            0 8px 25px rgba(0, 0, 0, .18);

        z-index: 99999;

        box-sizing: border-box;
    }

    .video-category-bar.open .video-filters {
        display: flex;
    }


    /* -----------------------------------------
       MOBILE FILTER BUTTONS
    ----------------------------------------- */

    .video-filter {
        display: block;

        width: 100%;

        min-height: 38px;

        padding: 9px 12px;

        margin: 0;

        border: none;

        background: transparent;

        color: #374151;

        text-align: left;

        font-size: 10px;

        font-weight: 500;

        text-decoration: none;

        box-sizing: border-box;
    }

    .video-filter.active {
        background: #e00000;
        color: #fff;
        font-weight: 600;
    }

    .video-filter:hover {
        background: #f3f4f6;
        color: #111827;
    }

    .video-filter.active:hover {
        background: #e00000;
        color: #fff;
    }


.container{
    width: auto;
}


    /* -----------------------------------------
       VIDEO CARD
    ----------------------------------------- */

    .video-card {
        display: block;

        width: 100%;
        max-width: 100%;
        min-width: 0;

        margin: 0;
        padding: 0;

        border-radius: 7px;

        background: #fff;

        box-sizing: border-box;

        transform: none;

        box-shadow:
            0 2px 8px rgba(0, 0, 0, .08);

        transition: none;
    }

    .video-card:hover {
        transform: none;
    }


    /* -----------------------------------------
       THUMBNAIL
    ----------------------------------------- */

    .video-thumbnail {
        width: 100%;

        aspect-ratio: 16 / 9;

        overflow: hidden;

        box-sizing: border-box;
    }

    .video-thumbnail img {
        width: 100%;
        height: 100%;

        object-fit: cover;
    }


    /* -----------------------------------------
       PLAY BUTTON
    ----------------------------------------- */

    .video-play {
        width: 34px;
        height: 34px;

        font-size: 13px;
    }


    /* -----------------------------------------
       CONTENT
    ----------------------------------------- */

    .video-content {
        padding: 8px 10px 9px;
    }

    .video-category {
        display: block;

        margin: 0 0 3px;

        font-size: 7px;

        line-height: 1.2;
    }

    .video-content h3 {
        display: -webkit-box;

        -webkit-box-orient: vertical;
        -webkit-line-clamp: 2;

        overflow: hidden;

        margin: 0;

        font-size: 11px;

        line-height: 1.3;

        font-weight: 600;
    }

    .video-meta {
        display: flex;

        align-items: center;

        gap: 5px;

        margin-top: 4px;

        font-size: 7px;

        line-height: 1.2;
    }


    /* -----------------------------------------
       DARK MODE MOBILE
    ----------------------------------------- */

    html.dark-mode .video-category-toggle,
    body.dark-mode .video-category-toggle {
        background: #17253d;
        border-color: #334155;
        color: #fff;
    }

    html.dark-mode .video-filters,
    body.dark-mode .video-filters {
        background: #111827;

        border-color: #374151;
    }

    html.dark-mode .video-filter,
    body.dark-mode .video-filter {
        background: transparent;
        color: #fff;
    }

    html.dark-mode .video-filter:hover,
    body.dark-mode .video-filter:hover {
        background: #1f2937;
        color: #fff;
    }

    html.dark-mode .video-filter.active,
    body.dark-mode .video-filter.active {
        background: #e00000;
        color: #fff;
    }

    html.dark-mode .video-card,
    body.dark-mode .video-card {
        background: #1f2937;
    }

    html.dark-mode .video-content h3,
    body.dark-mode .video-content h3 {
        color: #fff;
    }

    html.dark-mode .video-meta,
    body.dark-mode .video-meta {
        color: #d1d5db;
    }
}


/* =========================================================
   SMALL PHONES
   480px AND BELOW
========================================================= */

@media (max-width: 480px) {

    .videos-page {
        padding: 10px 0 25px;
    }


    /* TITLE */

    .videos-page-title {
        margin-left: 10px;
        margin-right: 10px;
        margin-bottom: 10px;
    }

    .videos-page-title h1 {
        font-size: 18px;
    }


    /* CATEGORY */

    .video-category-bar {
        margin-left: 10px;
        margin-right: 10px;
        margin-bottom: 12px;
    }

    .video-category-toggle {
        height: 38px;

        padding: 0 11px;

        font-size: 10px;
    }


    /* -----------------------------------------
       FULL WIDTH MOBILE GRID
    ----------------------------------------- */

    .videos-grid {
        width: 100%;

        grid-template-columns: minmax(0, 1fr);

        gap: 10px;

        padding-left: 10px;
        padding-right: 10px;
    }


    /* CARD */

    .video-card {
        width: 100%;

        max-width: 100%;

        border-radius: 6px;
    }


    /* THUMBNAIL */

    .video-thumbnail {
        width: 100%;

        aspect-ratio: 16 / 9;
    }


    /* PLAY */

    .video-play {
        width: 30px;
        height: 30px;

        font-size: 11px;
    }


    /* CONTENT */

    .video-content {
        padding: 7px 9px 8px;
    }

    .video-category {
        font-size: 7px;

        margin-bottom: 3px;
    }

    .video-content h3 {
        font-size: 11px;

        line-height: 1.3;
    }

    .video-meta {
        font-size: 7px;

        gap: 4px;

        margin-top: 3px;
    }
}


/* =========================================================
   EXTRA SMALL PHONES
   360px AND BELOW
========================================================= */

@media (max-width: 360px) {

    .videos-page-title h1 {
        font-size: 17px;
    }

    .videos-grid {
        padding-left: 8px;
        padding-right: 8px;

        gap: 9px;
    }

    .video-category-bar {
        margin-left: 8px;
        margin-right: 8px;
    }

    .video-content {
        padding: 6px 8px 7px;
    }

    .video-category {
        font-size: 6.5px;
    }

    .video-content h3 {
        font-size: 10px;
        line-height: 1.3;
    }

    .video-meta {
        font-size: 6.5px;
    }
}

/* =========================================================
   MOBILE - TIGHT SPACING
========================================================= */

@media (max-width: 768px) {

    .videos-grid {
        padding-left: 18px !important;
        padding-right: 18px !important;

        gap: 6px !important;
    }

    .video-card {
        max-width: 430px !important;
    }

    .video-content {
        padding: 5px 7px !important;
    }

    .video-category {
        margin-bottom: 2px !important;
    }

    .video-meta {
        margin-top: 2px !important;
    }
}


/* =========================================================
   SMALL PHONE
========================================================= */

@media (max-width: 480px) {

    .videos-grid {
        padding-left: 14px !important;
        padding-right: 14px !important;

        gap: 5px !important;
    }

    .video-card {
        max-width: 380px !important;
    }

    .video-content {
        padding: 5px 7px !important;
    }
}


/* =========================================================
   VERY SMALL PHONE
========================================================= */

@media (max-width: 360px) {

    .videos-grid {
        padding-left: 12px !important;
        padding-right: 12px !important;

        gap: 5px !important;
    }
}

/* =====================================================
   LATEST NEWS — LIGHT MODE TEXT FIX
===================================================== */




body.light-mode .top-navigation a:hover {
    color: #e53935 !important;
}

body.light-mode .latest-news-page-title h1 {
    color: #081a3b !important;
}

body.light-mode .latest-news-page-title h1 i {
    color: #e53935 !important;
}

body.light-mode .latest-filter {
    color: #081a3b !important;
}

body.light-mode .latest-filter.active {
    color: #fff !important;
    background: #e53935 !important;
}

body.light-mode .latest-category-toggle {
    color: #081a3b !important;
}

body.light-mode .latest-category-toggle i {
    color: #081a3b !important;
}


/* =========================================================
   LATEST NEWS - HEADER NAV LIGHT/DARK MODE FIX
========================================================= */

/* LIGHT MODE */
body.light-mode .page-header {
    background: #ffffff !important;
}

body.light-mode .top-navigation a:hover {
    color: #ef2b2d !important;
}

/* DARK MODE */
body.dark-mode .page-header {
    background: #0f1b2d !important;
}

body.dark-mode .top-navigation a {
    color: #ffffff !important;
    opacity: 1 !important;
    visibility: visible !important;
}

body.dark-mode .top-navigation a:hover {
    color: #ff4b4b !important;
}

/* =====================================================
   LATEST NEWS - NAVIGATION THEME FIX
   ===================================================== */

/* LIGHT MODE */
body.light-mode .page-header .top-navigation a,
body.light-mode .page-header .top-navigation a:visited,
body:not(.dark-mode) .page-header .top-navigation a,
body:not(.dark-mode) .page-header .top-navigation a:visited {
    color: white !important;
    background-color: #081a3b;
    opacity: 1 !important;
    visibility: visible !important;
    text-shadow: none !important;
}

/* LIGHT MODE HOVER */
body.light-mode .page-header .top-navigation a:hover,
body:not(.dark-mode) .page-header .top-navigation a:hover {
    color: #ef2b2d !important;
}

/* DARK MODE */
body.dark-mode .page-header .top-navigation a,
body.dark-mode .page-header .top-navigation a:visited {
    color: #ffffff !important;
    opacity: 1 !important;
    visibility: visible !important;
    text-shadow: none !important;
}

/* DARK MODE HOVER */
body.dark-mode .page-header .top-navigation a:hover {
    color: #ef2b2d !important;
}

/* =========================================
   TOP HEADER — SAME COLOR IN ALL MODES
========================================= */

.container.top-header {
    background: #081a3b !important;
    color: #ffffff !important;
}

/* Light Mode */
body.light-mode .container.top-header {
    background: #081a3b !important;
    color: #ffffff !important;
}

/* Dark Mode */
body.dark-mode .container.top-header {
    background: #081a3b !important;
    color: #ffffff !important;
}

/* Navigation text */
.container.top-header .top-navigation a,
body.light-mode .container.top-header .top-navigation a,
body.dark-mode .container.top-header .top-navigation a {
    color: #ffffff !important;
    opacity: 1 !important;
    visibility: visible !important;
}

/* Logo/header area */
.container.top-header .logo {
    background: transparent !important;
}

.typeBadge,
.categoryBadge,
.video-category,
.category{
    color:#ffffff !important;
    background:#ef0000 !important;
    opacity:1 !important;
    visibility:visible !important;
}