/* Video Page Specific Styles */

        .video-page-banner {

            background: var(--color-primary);

            padding: calc(68px + 5rem) 0 5rem;

            position: relative;

            overflow: hidden;

        }

        .video-page-banner::before {

            content: '';

            position: absolute;

            inset: 0;

            background: linear-gradient(135deg, rgba(174,218,31,0.08) 0%, rgba(0,31,71,0.96) 100%);

            z-index: 1;

        }

        .video-page-banner .container {

            position: relative;

            z-index: 2;

        }

        .video-banner-grid {

            display: grid;

            grid-template-columns: 1fr 1fr;

            gap: 3rem;

            align-items: center;

        }

        .video-banner-text {

            color: var(--color-text-light);

        }

        .video-banner-eyebrow {

            display: inline-block;

            font-family: var(--font-heading);

            font-size: 0.8rem;

            font-weight: 700;

            letter-spacing: 0.12em;

            text-transform: uppercase;

            color: var(--color-accent);

            margin-bottom: 1rem;

        }

        .video-banner-title {

            font-family: var(--font-heading);

            font-size: 3rem;

            font-weight: 800;

            color: var(--color-text-light);

            margin-bottom: 1rem;

            line-height: 1.1;

        }

        .video-banner-desc {

            font-size: 1.05rem;

            opacity: 0.8;

            line-height: 1.6;

            max-width: 480px;

            margin-bottom: 2rem;

        }

        .video-banner-image {

            border-radius: 12px;

            overflow: hidden;

            box-shadow: var(--shadow-lg);

            border: 1px solid rgba(174,218,31,0.15);

            position: relative;

        }

        .video-banner-image img {

            width: 100%;

            height: 100%;

            object-fit: cover;

            display: block;

        }

        .video-banner-image video {
            width: 100%;
            height: 100%;
            aspect-ratio: 16 / 9;
            object-fit: cover;
            display: block;
            background: #0a1628;
        }

        .video-play-overlay {

            position: absolute;

            inset: 0;

            display: flex;

            align-items: center;

            justify-content: center;

            background: rgba(0,31,71,0.3);

            transition: background 0.3s ease;

        }

        .video-banner-image:hover .video-play-overlay {

            background: rgba(0,31,71,0.5);

        }

        .video-play-btn {

            width: 72px;

            height: 72px;

            background: var(--color-accent);

            border-radius: 50%;

            display: flex;

            align-items: center;

            justify-content: center;

            color: var(--color-primary);

            transition: transform 0.3s ease, box-shadow 0.3s ease;

            box-shadow: 0 0 0 8px rgba(174,218,31,0.25);

        }

        .video-play-btn:hover {

            transform: scale(1.1);

            box-shadow: 0 0 0 12px rgba(174,218,31,0.35);

        }

        .video-play-btn svg {

            width: 28px;

            height: 28px;

            margin-left: 4px;

        }

        .video-breadcrumbs {

            display: flex;

            align-items: center;

            gap: 0.5rem;

            font-size: 0.85rem;

            color: rgba(255,255,255,0.6);

            margin-top: 1.5rem;

        }

        .video-breadcrumbs a { color: rgba(255,255,255,0.8); text-decoration: none; }

        .video-breadcrumbs a:hover { color: var(--color-accent); }



        /* Video Category Tabs */

        .video-tabs {

            display: flex;

            gap: 0.5rem;

            margin-bottom: 2.5rem;

            flex-wrap: wrap;

            justify-content: center;

        }

        .video-tab {

            padding: 0.6rem 1.35rem;

            background: var(--color-bg-light);

            border: 1.5px solid var(--color-border);

            font-family: var(--font-heading);

            font-size: 0.875rem;

            font-weight: 700;

            letter-spacing: 0.06em;

            text-transform: uppercase;

            color: var(--color-primary);

            border-radius: 2px;

            transition: var(--transition-fast);

            cursor: pointer;

        }

        .video-tab:hover, .video-tab.active {

            background: var(--color-accent);

            color: var(--color-primary);

            border-color: var(--color-accent);

            box-shadow: var(--shadow-sm);

        }



        /* Video Grid */

        .video-section {

            padding: 5rem 0;

        }

        .video-section-alt {

            background: var(--color-bg-light);

        }

        .video-grid {

            display: grid;

            grid-template-columns: repeat(3, 1fr);

            gap: 2rem;

        }

        .video-card {

            position: relative;

            background: var(--color-bg-white);

            border-radius: 12px;

            overflow: hidden;

            box-shadow: 0 4px 20px rgba(0,31,71,0.06);

            border: 1px solid var(--color-border);

            transition: transform 0.35s ease, box-shadow 0.35s ease;

            text-decoration: none;

            display: block;

        }

        .video-card:hover {

            transform: translateY(-5px);

            box-shadow: 0 20px 50px rgba(0,31,71,0.12);

            border-color: rgba(174,218,31,0.35);

        }

        .video-card-thumb {

            position: relative;

            height: 200px;

            overflow: hidden;

        }

        .video-card-thumb img {

            width: 100%;

            height: 100%;

            object-fit: cover;

            transition: transform 0.6s ease;

        }

        .video-card:hover .video-card-thumb img {

            transform: scale(1.06);

        }

        .video-card-play {

            position: absolute;

            inset: 0;

            display: flex;

            align-items: center;

            justify-content: center;

            background: rgba(0,31,71,0.25);

            transition: background 0.3s ease;

        }

        .video-card:hover .video-card-play {

            background: rgba(0,31,71,0.45);

        }

        .video-card-play-btn {

            width: 52px;

            height: 52px;

            background: var(--color-accent);

            border-radius: 50%;

            display: flex;

            align-items: center;

            justify-content: center;

            color: var(--color-primary);

            transition: transform 0.3s ease;

            box-shadow: 0 0 0 6px rgba(174,218,31,0.25);

        }

        .video-card:hover .video-card-play-btn {

            transform: scale(1.1);

        }

        .video-card-play-btn svg {

            width: 20px;

            height: 20px;

            margin-left: 3px;

        }

        .video-card-duration {

            position: absolute;

            bottom: 0.75rem;

            right: 0.75rem;

            background: rgba(0,31,71,0.85);

            color: #fff;

            font-size: 0.75rem;

            font-weight: 600;

            padding: 0.25rem 0.6rem;

            border-radius: 4px;

        }

        .video-card-body {

            padding: 1.5rem;

        }

        .video-card-category {

            font-family: var(--font-heading);

            font-size: 0.7rem;

            font-weight: 700;

            letter-spacing: 0.08em;

            text-transform: uppercase;

            color: var(--color-accent-hover);

            margin-bottom: 0.5rem;

        }

        .video-card-title {

            font-family: var(--font-heading);

            font-size: 1.1rem;

            font-weight: 700;

            color: var(--color-primary);

            line-height: 1.3;

            margin-bottom: 0.5rem;

        }

        .video-card-desc {

            font-size: 0.85rem;

            color: var(--color-text-muted);

            line-height: 1.5;

            display: -webkit-box;

            -webkit-line-clamp: 2;

            -webkit-box-orient: vertical;

            overflow: hidden;

        }



        /* Featured Video (Large) */

        .video-featured {

            grid-column: span 2;

            grid-row: span 2;

        }

        .video-featured .video-card-thumb {

            height: 100%;

            min-height: 300px;

        }

        .video-featured .video-card-body {

            position: absolute;

            bottom: 0;

            left: 0;

            right: 0;

            background: linear-gradient(transparent, rgba(0,31,71,0.95));

            color: #fff;

            padding: 2rem;

        }

        .video-featured .video-card-title {

            color: #fff;

            font-size: 1.5rem;

        }

        .video-featured .video-card-desc {

            color: rgba(255,255,255,0.8);

        }

        .video-featured .video-card-category {

            color: var(--color-accent);

        }



        /* Section Header */

        .video-section-header {

            text-align: center;

            margin-bottom: 3rem;

        }

        .video-section-subtitle {

            font-family: var(--font-heading);

            font-size: 0.8rem;

            font-weight: 700;

            letter-spacing: 0.12em;

            text-transform: uppercase;

            color: var(--color-accent-hover);

            margin-bottom: 0.75rem;

        }

        .video-section-title {

            font-family: var(--font-heading);

            font-size: 2.25rem;

            font-weight: 700;

            color: var(--color-primary);

            margin-bottom: 0.75rem;

        }

        .video-section-desc {

            font-size: 1rem;

            color: var(--color-text-muted);

            max-width: 600px;

            margin: 0 auto;

            line-height: 1.6;

        }



        @media (max-width: 991px) {

            .video-grid { grid-template-columns: repeat(2, 1fr); }

            .video-featured { grid-column: span 2; grid-row: span 1; }

            .video-featured .video-card-thumb { min-height: 220px; }

        }

        @media (max-width: 768px) {

            .video-banner-grid { grid-template-columns: 1fr; }

            .video-banner-title { font-size: 2rem; }

            .video-banner-image { display: none; }

            .video-grid { grid-template-columns: 1fr; }

            .video-featured { grid-column: span 1; }

            .video-section { padding: 3rem 0; }

        }



        /* Video Detail Page */

        .video-detail-hero {

            position: relative;

            width: 100%;

            background: #001f47;

            min-height: 620px;

            display: flex;

            align-items: center;

            justify-content: center;

            overflow: hidden;

        }

        .video-detail-hero iframe,

        .video-detail-hero video,

        .video-detail-hero > div,

        .video-detail-hero > span,

        .video-detail-hero > section {

            position: absolute;

            top: 0;

            left: 0;

            width: 100%;

            height: 100%;

            border: 0;

        }

        .video-detail-layout {

            display: flex;

            gap: 2rem;

            margin-top: 2.5rem;

            margin-bottom: 3rem;

        }

        .video-detail-left {

            flex: 1;

            min-width: 0;

            background: #fff;

            border: 1px solid #e8ecf0;

            border-radius: 12px;

            padding: 2rem;

            box-shadow: 0 4px 20px rgba(0,31,71,0.06);

        }

        .video-detail-left h2 {

            font-family: var(--font-heading);

            font-size: 1.15rem;

            font-weight: 700;

            color: var(--color-primary);

            margin: 0 0 1.2rem;

            text-transform: uppercase;

            letter-spacing: 0.04em;

        }

        .video-detail-left h2::after {

            content: '';

            display: block;

            width: 40px;

            height: 3px;

            background: var(--color-accent);

            margin-top: 0.5rem;

            border-radius: 2px;

        }

        .video-detail-left p {

            color: #555;

            line-height: 1.8;

            font-size: 0.95rem;

            margin-bottom: 1rem;

        }

        .video-detail-tags {

            display: flex;

            flex-wrap: wrap;

            gap: 0.5rem;

            margin-top: 1.5rem;

        }

        .video-detail-tag {

            display: inline-block;

            padding: 0.35rem 0.9rem;

            background: #f5f7fa;

            border: 1px solid #e0e4ea;

            border-radius: 20px;

            font-size: 0.8rem;

            color: #555;

        }

        .video-detail-right {

            flex: 0 0 360px;

            min-width: 300px;

        }

        .video-quote-box {

            background: #fff;

            border: 1px solid #e8ecf0;

            border-radius: 12px;

            padding: 1.8rem;

            box-shadow: 0 4px 20px rgba(0,31,71,0.06);

        }

        .video-quote-box h3 {

            font-family: var(--font-heading);

            font-size: 1rem;

            font-weight: 700;

            color: var(--color-primary);

            margin: 0 0 1.2rem;

            text-transform: uppercase;

            letter-spacing: 0.04em;

        }

        .video-quote-box h3::after {

            content: '';

            display: block;

            width: 40px;

            height: 3px;

            background: var(--color-accent);

            margin-top: 0.5rem;

            border-radius: 2px;

        }

        .video-quote-box input,

        .video-quote-box textarea {

            width: 100%;

            padding: 0.75rem 1rem;

            margin-bottom: 0.8rem;

            border: 1px solid #e0e4ea;

            border-radius: 8px;

            font-size: 0.9rem;

            color: #333;

            background: #f9fafb;

            outline: none;

        }

        .video-quote-box input:focus,

        .video-quote-box textarea:focus {

            border-color: var(--color-accent);

            background: #fff;

        }

        .video-quote-box textarea {

            min-height: 90px;

            resize: vertical;

        }

        .video-quote-box button {

            width: 100%;

            padding: 0.85rem;

            background: var(--color-accent);

            color: var(--color-primary);

            border: none;

            border-radius: 8px;

            font-weight: 700;

            font-size: 0.85rem;

            letter-spacing: 0.04em;

            text-transform: uppercase;

            cursor: pointer;

        }

        .video-quote-box button:hover {

            background: #9cc51a;

        }

        .video-detail-sidebar-block {

            background: #fff;

            border: 1px solid #e8ecf0;

            border-radius: 12px;

            padding: 1.5rem;

            margin-bottom: 1.5rem;

            box-shadow: 0 4px 20px rgba(0,31,71,0.06);

        }

        .video-detail-sidebar-block h3 {

            font-family: var(--font-heading);

            font-size: 1.1rem;

            font-weight: 700;

            color: var(--color-primary);

            margin: 0 0 1rem;

        }

        .video-detail-sidebar-list {

            list-style: none;

            padding: 0;

            margin: 0;

        }

        .video-detail-sidebar-list li {

            padding: 0.4rem 0;

            border-bottom: 1px solid #eee;

        }

        .video-detail-sidebar-list a {

            color: #001f47;

            text-decoration: none;

            font-size: 0.9rem;

        }

        .video-detail-sidebar-list a:hover {

            color: var(--color-accent-hover);

        }

        .video-detail-cta {

            background: #001f47;

            border-radius: 12px;

            padding: 1.5rem;

            text-align: center;

        }

        .video-detail-cta h4 {

            color: #fff;

            margin-bottom: 0.8rem;

            font-size: 1rem;

        }

        .video-detail-cta a {

            display: block;

            padding: 0.6rem;

            background: var(--color-accent);

            color: var(--color-primary);

            border-radius: 6px;

            text-decoration: none;

            font-weight: 700;

        }

        .video-detail-cta a:hover {

            background: #9cc51a;

        }

        @media (max-width: 991px) {

            .video-detail-layout { flex-direction: column; }

            .video-detail-right { flex: 1; width: 100%; }

            .video-detail-hero { min-height: 420px; }

        }

        @media (max-width: 768px) {

            .video-detail-hero { min-height: 320px; }

        }

/* ============================================================
   Video List Page (list_videos.html)
   ============================================================ */
.video-list-section {
    padding: 4rem 0 5rem;
    background: var(--color-bg-light);
}

.video-card-meta {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    margin-top: 0.75rem;
    font-size: 0.75rem;
    color: var(--color-text-muted);
    font-weight: 500;
}

.video-card-meta-item {
    display: inline-flex;
    align-items: center;
    gap: 0.3rem;
}

.video-card-meta-item svg {
    width: 13px;
    height: 13px;
    opacity: 0.6;
    flex-shrink: 0;
}

.video-empty {
    text-align: center;
    padding: 4rem 1rem;
    color: var(--color-text-muted);
}

.video-empty h3 {
    font-family: var(--font-heading);
    color: var(--color-primary);
    margin: 1rem 0 0.5rem;
}

/* ---- Pagination — phpcms pages() output (same design as blog) ---- */
.pagination {
    display: flex;
    justify-content: center;
    align-items: center;
    flex-wrap: wrap;
    gap: 0.4rem;
    margin: 2.5rem auto 0;
    padding-top: 2rem;
    border-top: 1px solid #e4ecf2;
    max-width: 900px;
    font-size: 0.85rem;
    color: #8a99ab;
}

.pagination a,
.pagination span {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-width: 38px;
    height: 38px;
    padding: 0 0.8rem;
    border: 1.5px solid #e4ecf2;
    border-radius: 8px;
    background: #fff;
    color: #2c3e50;
    font-weight: 600;
    text-decoration: none;
    transition: all 0.2s ease;
}

.pagination a:hover {
    border-color: #AEDA1F;
    color: #001F47;
    background: #f0f8d8;
}

.pagination span {
    background: #001F47;
    border-color: #001F47;
    color: #fff;
    font-weight: 700;
}

.pagination a:not([href]) {
    border: none;
    background: transparent;
    color: #8a99ab;
    font-weight: 500;
    cursor: default;
    padding: 0 0.4rem;
}

.pagination a:not([href]):hover {
    border: none;
    background: transparent;
    color: #8a99ab;
}

@media (max-width: 480px) {
    .pagination a,
    .pagination span {
        min-width: 32px;
        height: 32px;
        padding: 0 0.5rem;
        font-size: 0.78rem;
    }
}
