﻿
:root {
    --navy: #0D1F4E;
    --navy-mid: #162B6B;
    --red: #C0272D;
    --gold: #D4A843;
    --white: #FFFFFF;
    --off-white: #F4F6FB;
    --border: #E5E7EB;
    --text-dark: #111827;
    --text-mid: #374151;
    --text-muted: #6B7280;
    --shadow-sm: 0 2px 12px rgba(13,31,78,0.08);
    --shadow-md: 0 8px 32px rgba(13,31,78,0.16);
}

.av-page {
    font-family: 'Segoe UI', sans-serif;
    background: var(--off-white);
    color: var(--text-dark);
}

/* ── Section Shell ── */
.av-section {
    padding: 64px 40px;
    max-width: 1200px;
    margin: 0 auto;
}

/* ── Section Header ── */
.av-sec-label {
    font-size: 11px;
    font-weight: 700;
    letter-spacing: 2.5px;
    text-transform: uppercase;
    color: var(--red);
    margin-bottom: 6px;
}

.av-sec-title {
    font-size: clamp(24px, 3vw, 34px);
    font-weight: 800;
    color: var(--navy);
    line-height: 1.15;
    margin-bottom: 8px;
}

    .av-sec-title span {
        color: var(--red);
    }

.av-sec-desc {
    font-size: 14px;
    color: var(--text-muted);
    max-width: 480px;
    line-height: 1.7;
    margin-bottom: 10px;
}

.av-bar {
    display: flex;
    align-items: center;
    gap: 10px;
    margin-bottom: 36px;
    margin-top: 12px;
}

.av-bar-r {
    width: 44px;
    height: 4px;
    background: var(--red);
    border-radius: 2px;
}

.av-bar-g {
    width: 22px;
    height: 4px;
    background: var(--gold);
    border-radius: 2px;
}

/* ══════════════════════════════
       SECTION 1 — VIDEOS
    ══════════════════════════════ */
.av-video-bg {
    background: #fff;
    border-bottom: 1px solid var(--border);
}

.av-video-grid {
    display: grid;
    grid-template-columns: 1.6fr 1fr;
    gap: 28px;
}

.av-vcard {
    background: var(--white);
    border-radius: 16px;
    overflow: hidden;
    box-shadow: var(--shadow-sm);
    border: 1px solid var(--border);
    transition: transform .28s, box-shadow .28s;
}

    .av-vcard:hover {
        transform: translateY(-5px);
        box-shadow: var(--shadow-md);
    }

.av-video-stack {
    display: flex;
    flex-direction: column;
    gap: 28px;
}

/* Thumb */
.av-vthumb {
    position: relative;
    width: 100%;
    padding-top: 54%;
    background: linear-gradient(135deg, var(--navy) 0%, var(--navy-mid) 100%);
    overflow: hidden;
}

    .av-vthumb video,
    .av-vthumb iframe {
        position: absolute;
        inset: 0;
        width: 100%;
        height: 100%;
        object-fit: cover;
        border: none;
    }

.av-vthumb-ph {
    position: absolute;
    inset: 0;
    display: flex;
    align-items: center;
    justify-content: center;
}

.av-play {
    width: 58px;
    height: 58px;
    border-radius: 50%;
    background: var(--red);
    border: none;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 0 0 14px rgba(192,39,45,0.18);
    transition: transform .2s, box-shadow .2s;
}

    .av-play:hover {
        transform: scale(1.12);
        box-shadow: 0 0 0 20px rgba(192,39,45,0.10);
    }

.av-vdur {
    position: absolute;
    bottom: 10px;
    right: 12px;
    background: rgba(0,0,0,0.62);
    color: #fff;
    font-size: 11px;
    font-weight: 600;
    padding: 3px 8px;
    border-radius: 4px;
}

.av-vlabel {
    position: absolute;
    top: 12px;
    left: 12px;
    background: var(--red);
    color: #fff;
    font-size: 10px;
    font-weight: 700;
    letter-spacing: 1.4px;
    text-transform: uppercase;
    padding: 4px 11px;
    border-radius: 5px;
}

.av-vinfo {
    padding: 22px 26px 26px;
}

.av-vname {
    font-size: 16px;
    font-weight: 800;
    color: var(--navy);
    margin-bottom: 4px;
}

.av-featured .av-vname {
    font-size: 20px;
}

.av-vmeta {
    font-size: 12px;
    color: var(--text-muted);
    margin-bottom: 11px;
}

.av-vexcerpt {
    font-size: 13px;
    color: var(--text-mid);
    line-height: 1.7;
    display: -webkit-box;
    -webkit-line-clamp: 3;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.av-featured .av-vexcerpt {
    font-size: 14px;
    -webkit-line-clamp: 4;
}

.av-wbtn {
    display: inline-flex;
    align-items: center;
    gap: 7px;
    margin-top: 16px;
    background: var(--navy);
    color: var(--white);
    font-size: 13px;
    font-weight: 600;
    padding: 9px 20px;
    border-radius: 8px;
    border: none;
    cursor: pointer;
    text-decoration: none;
    transition: background .2s;
}

    .av-wbtn:hover {
        background: var(--red);
        color: #fff;
    }

/* ══════════════════════════════
       SECTION 2 — GALLERY
    ══════════════════════════════ */
.av-gallery-bg {
    background: var(--off-white);
}

.av-tabs {
    display: flex;
    gap: 10px;
    flex-wrap: wrap;
    margin-bottom: 30px;
}

.av-tab {
    padding: 7px 18px;
    border-radius: 100px;
    border: 1.5px solid var(--border);
    background: transparent;
    font-size: 13px;
    font-weight: 600;
    color: var(--text-muted);
    cursor: pointer;
    transition: all .2s;
}

    .av-tab.active, .av-tab:hover {
        background: var(--navy);
        color: var(--white);
        border-color: var(--navy);
    }

.av-gallery-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr); /* 3 images */
    gap: 16px;
}

.av-gitem {
    position: relative;
    width: 100%;
    aspect-ratio: 1 / 1; /* same frame (square) */
    border-radius: 14px;
    overflow: hidden;
    background: linear-gradient(135deg, #162B6B, #0D1F4E);
    cursor: pointer;
}


    .av-gitem:nth-child(1) {
        grid-column: span 2;
        grid-row: span 2;
    }

    .av-gitem:nth-child(4) {
        grid-column: span 2;
    }

    .av-gitem img {
        width: 100%;
        height: 100%;
        object-fit: cover;
        display: block;
        transition: transform .3s ease;
    }

    .av-gitem:hover img {
        transform: scale(1.05); /* reduce from 1.07 */
    }

.av-gph {
    width: 100%;
    height: 100%;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 8px;
    color: rgba(255,255,255,0.22);
    font-size: 12px;
}

.av-goverlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(to top, rgba(13,31,78,0.82) 0%, transparent 55%);
    opacity: 0;
    transition: opacity .3s;
    display: flex;
    flex-direction: column;
    justify-content: flex-end;
    padding: 16px;
}

.av-gitem:hover .av-goverlay {
    opacity: 1;
}

.av-gcap {
    color: #fff;
    font-size: 13px;
    font-weight: 600;
    line-height: 1.4;
}

.av-gbatch {
    color: var(--gold);
    font-size: 11px;
    margin-top: 3px;
}

/* Lightbox */
.av-lb {
    display: none;
    position: fixed;
    inset: 0;
    background: rgba(0,0,0,0.9);
    z-index: 9999;
    overflow-y: auto; /* ✅ allow scroll */
    padding: 40px 20px;
}

    .av-lb.open {
        display: flex;
        justify-content: center;
        align-items: flex-start; /* ✅ top align for scroll */
    }

.av-lb-in {
    position: relative;
    max-width: 900px;
    width: 100%;
}

    .av-lb-in img {
        width: 100%;
        height: auto;
        max-height: 90vh; /* ✅ prevent overflow */
        object-fit: contain;
    }

.av-lb-x {
    position: absolute;
    top: 12px;
    right: 12px;
    background: var(--red);
    border: none;
    color: #fff;
    width: 34px;
    height: 34px;
    border-radius: 50%;
    font-size: 18px;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
}

/* Reveal */
.av-reveal {
    opacity: 0;
    transform: translateY(22px);
    transition: opacity .6s, transform .6s;
}

    .av-reveal.in {
        opacity: 1;
        transform: translateY(0);
    }

/* Responsive */
@media(max-width:900px) {
    .av-video-grid {
        grid-template-columns: 1fr;
    }

    .av-gallery-grid {
        grid-template-columns: repeat(2,1fr);
        grid-auto-rows: 160px;
    }
    /* .av-gitem:nth-child(1) { grid-column: span 2; }
        .av-gitem:nth-child(4) { grid-column: span 1; }*/
}

@media(max-width:540px) {
    .av-section {
        padding: 44px 16px;
    }

    .av-gallery-grid {
        grid-auto-rows: 130px;
        overflow: hidden;
    }
}

