
:root {
    --navy: #062b52;
    --green: #78c900;
    --lime: #a5e62b;
    --red: #e32635;
    --ink: #10243a;
    --muted: #63748a;
    --bg: #f5f8fb;
    --line: #dce6ef;
    --white: #fff;
    --max: 1200px
}

* {
    box-sizing: border-box
}

html {
    scroll-behavior: smooth
}

body {
    margin: 0;
    font-family: "Montserrat", sans-serif, Inter,Arial,sans-serif;
    color: var(--ink);
    background: var(--bg);
    line-height: 1.6
}

a {
    text-decoration: none;
    color: inherit
}

img {
    max-width: 100%;
    display: block
}

.container {
    width: min(var(--max),calc(100% - 36px));
    margin: auto
}

.header {
    position: sticky;
    top: 0;
    z-index: 100;
    background: rgba(3, 18, 35, .90);
    border-bottom: 1px solid rgba(165, 230, 43, .14);
    box-shadow: 0 10px 35px rgba(0, 0, 0, .16);
    backdrop-filter: blur(18px) saturate(150%);
    -webkit-backdrop-filter: blur(18px) saturate(150%);
}

.futuristic-header::before {
    content: "";
    position: absolute;
    inset: 0;
    pointer-events: none;
    background: linear-gradient(90deg, transparent, rgba(120,201,0,.035), transparent);
}

.nav-shell {
    min-height: 88px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 24px;
    position: relative;
}

.futuristic-brand {
    gap: 6px;
    position: relative;
    z-index: 2;
}

.brand-orbit {
    width: 60px;
    height: 60px;
    display: grid;
    place-items: center;
    position: relative;
    border: 1px solid rgba(165,230,43,.48);
    border-radius: 18px;
    background: linear-gradient(145deg, rgba(255,255,255,.12), rgba(255,255,255,.025));
    box-shadow: inset 0 0 18px rgba(165,230,43,.07), 0 0 24px rgba(120,201,0,.08);
}

.brand-orbit::before,
.brand-orbit::after {
    content: "";
    position: absolute;
    border: 1px solid rgba(165,230,43,.22);
    border-radius: 50%;
}
.brand-orbit::before { inset: -6px; }
.brand-orbit::after { inset: 7px; border-color: rgba(255,255,255,.10); }
.brand-orbit img { width: 48px; height: 48px; object-fit: contain; position: relative; z-index: 1; }

.brand-copy strong {
    display: block;
    color: #fff;
    font-size: 15px;
    line-height: 1.15;
    letter-spacing: 1px;
    font-weight: 900;
}
.brand-copy strong em { color: var(--lime); font-style: normal; }
.brand-copy span { display: block; margin-top: 5px; color: #91a8ba; font-size: 8px; font-weight: 900; letter-spacing: 3px; }
.brand-copy i { display: inline-block; width: 3px; height: 3px; margin: 0 4px 2px; border-radius: 50%; background: var(--lime); }

.futuristic-menu {
    display: flex;
    align-items: center;
    gap: 2px;
    position: relative;
    padding: 6px;
    border: 1px solid rgba(255,255,255,.08);
    border-radius: 16px;
    background: rgba(255,255,255,.035);
    box-shadow: inset 0 1px rgba(255,255,255,.05);
    display: flex;
    align-items: center; /* Vertically centers all children */
    justify-content: space-between; /* Spreads items horizontally (optional) */
}
.menu-glow { position: absolute; inset: 8px; border-radius: 12px; pointer-events: none; background: radial-gradient(circle at 50% 0, rgba(165,230,43,.08), transparent 55%); }

.nav-link {
    position: relative;
    z-index: 1;
    min-height: 50px;
    display: flex !important;
    align-items: center;
    gap: 7px;
    padding: 8px 11px;
    border-radius: 11px;
    color: #b9cad7 !important;
    font-size: 11px;
    font-weight: 800;
    white-space: nowrap;
    transition: color .25s ease, background .25s ease, transform .25s ease;
}
.nav-number { color: rgba(165,230,43,.55); font: 700 8px/1 monospace; }
.nav-arrow { opacity: 0; transform: translate(-3px, 3px); transition: .25s ease; color: var(--lime); }
.nav-link:hover, .nav-link.active { color: #fff; background: rgba(165,230,43,.09); }
.nav-link:hover { transform: translateY(-1px); }
.nav-link:hover .nav-arrow, .nav-link.active .nav-arrow { opacity: 1; transform: translate(0,0); }
.nav-link.active::after { content: ""; position: absolute; left: 12px; right: 12px; bottom: 3px; height: 2px; background: var(--lime); box-shadow: 0 0 10px var(--lime); border-radius: 2px; }

.nav-rank-cta {
    position: relative;
    z-index: 1;
    margin-left: 5px;
    padding: 11px 14px;
    border-radius: 11px;
    color: #082b4b;
    background: linear-gradient(135deg, var(--lime), #78c900);
    font-size: 10px;
    font-weight: 900;
    letter-spacing: .2px;
    box-shadow: 0 0 20px rgba(165,230,43,.18);
    white-space: nowrap;
}
.nav-rank-cta span { font-size: 7px; margin-right: 5px; padding: 2px 4px; border-radius: 4px; background: rgba(8,43,75,.18); }
.nav-rank-cta b { margin-left: 5px; }
.nav-rank-cta:hover { color: #061d32; transform: translateY(-1px); }

.menu-toggle { display: none; }

.hero {
    min-height: 560px;
    background: linear-gradient(90deg,rgba(3,28,54,.96),rgba(3,28,54,.45)),url('https://images.unsplash.com/photo-1622279457486-62dcc4a431d6?auto=format&fit=crop&w=1800&q=85') center/cover
}

.hero-inner {
    min-height: 560px;
    display: flex;
    align-items: center
}

.hero-copy {
    color: #fff;
    max-width: 680px
}

.eyebrow, .kicker {
    color: var(--lime);
    font-size: 12px;
    font-weight: 900;
    letter-spacing: 2px;
    text-transform: uppercase
}

.hero h1 {
    font-size: clamp(45px,6vw,74px);
    line-height: 1.03;
    margin: 12px 0
}

    .hero h1 span {
        color: var(--lime)
    }

.hero p {
    font-size: 17px;
    color: #e6f0f8
}

.hero-buttons {
    display: flex;
    gap: 12px;
    flex-wrap: wrap;
    margin-top: 25px
}

.tournament-strip {
    margin-top: -34px;
    position: relative;
    z-index: 3
}

.tournament-card {
    display: grid;
    grid-template-columns: 1.4fr 1fr 1fr auto;
    background: #fff;
    border-radius: 18px;
    overflow: hidden;
    box-shadow: 0 0 0 7px #f5f8fb;
    border: 2px solid #050a26;
}

.tour-main {
    background: linear-gradient(135deg,var(--navy),#0a4b79);
    color: #fff;
    padding: 22px
}

    .tour-main small {
        color: var(--lime);
        font-weight: 900
    }

    .tour-main h3 {
        margin: 5px 0;
        font-size: 22px;
        line-height: 1.25
    }

.tour-meta {
    padding: 20px;
    border-right: 1px solid var(--line);
    display: flex;
    gap: 10px;
    align-items: center
}

    .tour-meta b, .tour-meta span {
        display: block
    }

    .tour-meta b {
        color: var(--navy);
        font-size: 13px
    }

    .tour-meta span {
        font-size: 12px;
        color: var(--muted)
    }

.tour-cta {
    padding: 18px;
    display: flex;
    align-items: center
}

.section {
    padding: 70px 0
}

.section-head {
    display: flex;
    justify-content: space-between;
    align-items: end;
    gap: 20px;
    margin-bottom: 28px
}

    .section-head h2 {
        color: var(--navy);
        font-size: 35px;
        line-height: 1.1;
        margin: 5px 0
    }

    .section-head p {
        color: var(--muted);
        max-width: 650px
    }

.features {
    display: grid;
    grid-template-columns: repeat(5, 1fr);
    gap: 0.9rem;
    background: #fff;
    border: 1px solid #F44336;
    border-radius: 18px;
    overflow: hidden
}

.feature {
    text-align: center;
    padding: 25px 15px;
    border-right: 1px solid #e32635;
    display: flex;
    align-items: center;
    list-style: none;
}

    .feature:last-child {
        border: 0
    }

    .feature .ico {
        font-size: 27px;
        margin-bottom: 8px
    }

    .feature h3 {
        color: var(--navy);
        font-size: 16px;
        line-height: 1.2;
        margin: 5px
    }

    .feature p {
        font-size: 12px;
        color: var(--muted)
    }

.grid-3 {
    display: grid;
    grid-template-columns: repeat(3,1fr);
    gap: 20px
}

.grid-4 {
    display: grid;
    grid-template-columns: repeat(4,1fr);
    gap: 18px
}

.card {
    background: #fff;
    border: 1px solid var(--line);
    border-radius: 17px;
    overflow: hidden
}

.card-img {
    width: 100%;
    aspect-ratio: 16/9;
    object-fit: cover
}

.card-body {
    padding: 21px
}

.card h3 {
    color: var(--navy);
    line-height: 1.25;
    margin: 10px 0
}

.card p {
    color: var(--muted);
    font-size: 14px
}

.tag {
    background: #edf8d8;
    color: #477700;
    padding: 5px 10px;
    border-radius: 99px;
    font-size: 11px;
    font-weight: 800
}

.spotlight {
    display: grid;
    grid-template-columns: 1fr 1fr;
    background: linear-gradient(135deg,var(--navy),#0a4b79);
    border-radius: 20px;
    overflow: hidden;
    color: #fff
}

    .spotlight img {
        width: 100%;
        height: 100%;
        min-height: 360px;
        object-fit: cover
    }

.spotlight-copy {
    padding: 45px
}

    .spotlight-copy h2 {
        font-size: 37px;
        line-height: 1.1
    }

.stat-row {
    display: flex;
    gap: 35px;
    margin: 25px 0
}

.stat strong {
    display: block;
    font-size: 25px;
    color: var(--lime)
}

.stat span {
    font-size: 12px;
    color: #d4e3ef
}

.page-hero {
    background: linear-gradient(110deg,var(--navy),#0a4b79);
    color: #fff;
    padding: 70px 0
}

    .page-hero h1 {
        font-size: 50px;
        line-height: 1.05;
        margin: 10px 0
    }

    .page-hero p {
        color: #d8e6f1;
        max-width: 720px
    }

.breadcrumb {
    font-size: 13px;
    color: #bcd0df
}

    .breadcrumb a {
        color: #fff
    }

.table-wrap {
    background: #fff;
    border: 1px solid var(--line);
    border-radius: 17px;
    overflow: auto
}

table {
    width: 100%;
    border-collapse: collapse;
    min-width: 700px
}

th, td {
    padding: 15px 17px;
    text-align: left;
    border-bottom: 1px solid var(--line);
    font-size: 14px
}

th {
    background: #eef5fa;
    color: var(--navy);
    font-size: 12px;
    text-transform: uppercase
}

tr:last-child td {
    border: 0
}

.gallery {
    display: grid;
    grid-template-columns: repeat(4,1fr);
    gap: 14px;
}

    .gallery img {
        width: 100%;
        aspect-ratio: 1.15;
        object-fit: cover;
        border-radius: 14px;
        cursor: pointer;
    }

.filters {
    display: flex;
    gap: 10px;
    margin-bottom: 25px;
    flex-wrap: wrap;
}

.filter {
    border: 1px solid var(--line);
    background: #fff;
    border-radius: 99px;
    padding: 9px 16px;
    font-weight: 800;
    cursor: pointer;
}

    .filter.active {
        background: var(--navy);
        color: #fff;
    }

.contact-grid {
    display: grid;
    grid-template-columns: .8fr 1.2fr;
    gap: 24px;
}

.contact-list {
    display: grid;
    gap: 13px;
}

.contact-item, .form-card {
    background: #fff;
    border: 1px solid var(--line);
    border-radius: 16px;
    padding: 18px;
}

    .contact-item b {
        display: block;
        color: var(--navy);
    }

    .contact-item span {
        color: var(--muted);
        font-size: 14px;
    }

.form-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 15px;
}

.field {
    display: flex;
    flex-direction: column;
    gap: 6px;
}

    .field.full {
        grid-column: 1/-1;
    }

    .field label {
        font-weight: 800;
        color: var(--navy);
        font-size: 13px;
    }

    .field input, .field select, .field textarea {
        border: 1px solid var(--line);
        border-radius: 10px;
        padding: 12px;
    }

    .field textarea {
        min-height: 140px;
    }

.cta {
    background: linear-gradient(110deg,var(--navy),#0a4b79);
    border-radius: 20px;
    color: #fff;
    padding: 40px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 20px;
}

    .cta h2 {
        font-size: 32px;
        margin: 0;
    }

    .cta p {
        color: #d5e4ef;
    }

.footer {
    background: #031f3b;
    color: #c9d8e7;
    padding: 50px 0 18px;
}

.footer-grid {
    display: grid;
    grid-template-columns: 1.4fr 1fr 1fr 1fr;
    gap: 30px;
}

.footer h4 {
    color: #fff;
    margin-top: 0;
}

.footer a {
    display: block;
    font-size: 13px;
    margin: 7px 0;
}

.footer-bottom {
    border-top: 1px solid #ffffff20;
    margin-top: 30px;
    padding-top: 16px;
    font-size: 12px;
    display: flex;
    justify-content: space-between;
}

.toast {
    position: fixed;
    right: 20px;
    bottom: 20px;
    background: var(--navy);
    color: #fff;
    padding: 14px 18px;
    border-radius: 12px;
    display: none;
    z-index: 100
}


@media(max-width:1024px) {
    .futuristic-menu {
        display: none;
    }

    .futuristic-menu.open {
        display: flex;
        position: absolute;
        top: calc(100% + 10px);
        left: 0;
        right: 0;
        flex-direction: column;
        align-items: stretch;
        padding: 10px;
        border-radius: 20px;
        background: rgba(3,18,35,.97);
        border: 1px solid rgba(165,230,43,.18);
        box-shadow: 0 24px 55px rgba(0,0,0,.35);
        animation: menuIn .25s ease both;
    }

    .nav-link { min-height: 46px; padding: 10px 12px; }
    .nav-rank-cta { margin: 5px 0 0; text-align: center; padding: 12px; }

    .futuristic-toggle {
        display: flex;
        width: 48px;
        height: 48px;
        flex-direction: column;
        align-items: center;
        justify-content: center;
        gap: 5px;
        border: 1px solid rgba(165,230,43,.28);
        border-radius: 14px;
        background: rgba(255,255,255,.05);
        cursor: pointer;
        position: relative;
        z-index: 3;
    }
    .futuristic-toggle span { width: 19px; height: 2px; background: #dcecf6; border-radius: 2px; transition: .25s ease; }
    .futuristic-toggle[aria-expanded="true"] span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
    .futuristic-toggle[aria-expanded="true"] span:nth-child(2) { opacity: 0; }
    .futuristic-toggle[aria-expanded="true"] span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

    .nav-actions {
        display: none
    }

    .tournament-card, .spotlight, .contact-grid {
        grid-template-columns: 1fr
    }

    .tour-meta {
        border-top: 1px solid var(--line);
        border-right: 0
    }

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

    .feature {
        border-bottom: 1px solid var(--line);
        border-right: 1px solid var(--line)
    }

    .grid-3, .grid-4 {
        grid-template-columns: 1fr 1fr
    }

    .footer-grid {
        grid-template-columns: 1fr 1fr
    }
}

@media(max-width:560px) {
    .container {
        width: calc(100% - 24px)
    }

    .brand-copy strong { font-size: 11px; }
    .brand-copy span { font-size: 6px; letter-spacing: 2px; }
    .brand-orbit { width: 50px; height: 50px; border-radius: 14px; }
    .brand-orbit img { width: 40px; height: 40px; }

    .hero h1 {
        font-size: 43px
    }

    .hero {
        min-height: 530px
    }

    .hero-inner {
        min-height: 530px
    }

    .features, .grid-3, .grid-4, .form-grid, .gallery {
        grid-template-columns: 1fr;
    }

    .field.full {
        grid-column: auto;
    }

    .page-hero h1 {
        font-size: 39px;
    }

    .section {
        padding: 52px 0;
    }

    .cta {
        display: block;
        padding: 30px;
    }

        .cta .btn {
            margin-top: 10px;
        }

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

    .footer-bottom {
        display: block;
    }

        .footer-bottom span {
            display: block;
            margin-top: 8px;
        }
}

grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
gap: 16px;
/* OTA expanded website components */
.president-section {
    padding-top: 95px;
}

.president-card {
    display: grid;
    grid-template-columns: 360px 1fr;
    gap: 0;
    background: #fff;
    border: 1px solid var(--line);
    border-radius: 24px;
    overflow: hidden;
    box-shadow: 0 18px 45px #062b5210;
    border: 2px solid #050a26;
}

.president-photo {
    background: linear-gradient(145deg,#dfe7ed,#aebbc5);
    display: flex;
    align-items: end;
    justify-content: center;
    min-height: 450px;
}

    .president-photo img {
        width: 100%;
        height: 100%;
        object-fit: cover;
        object-position: center top;
    }

.president-copy {
    padding: 48px;
}

    .president-copy h2 {
        font-size: 40px;
        line-height: 1.15;
        color: var(--navy);
        margin: 10px 0 18px
    }

    .president-copy p {
        color: var(--muted);
        font-size: 16px
    }

.signature {
    margin: 25px 0
}

    .signature strong, .signature span {
        display: block
    }

    .signature strong {
        color: var(--navy);
        font-size: 17px
    }

    .signature span {
        color: var(--muted);
        font-size: 13px
    }

.section-soft {
    background: #edf4f8
}

.office-grid {
    display: grid;
    grid-template-columns: repeat(4,1fr);
    gap: 18px
}

.office-card {
    background: #fff;
    border: 1px solid var(--line);
    border-radius: 18px;
    padding: 24px;
    min-height: 215px
}

    .office-card h3 {
        font-size: 18px;
        line-height: 1.3;
        color: var(--navy)
    }

    .office-card p {
        font-size: 13px;
        color: var(--muted)
    }

.featured-office {
    padding: 0;
    overflow: hidden
}

    .featured-office img {
        width: 100%;
        height: 190px;
        object-fit: cover;
        object-position: center top
    }

    .featured-office > div {
        padding: 20px
    }

.ranking-level {
    background: #024b6e;
    border: 1px solid #888b9d;
    border-radius: 18px;
    padding: 26px;
    transition: .2s
}

    .ranking-level:hover {
        transform: translateY(-4px);
        box-shadow: 0 14px 35px #062b5212
    }

    .ranking-level span {
        display: inline-grid;
        place-items: center;
        width: 45px;
        height: 45px;
        border-radius: 50%;
        background: #ede283;
        color: #3F51B5;
        font-weight: 900;    
    }

    .ranking-level h3 {
        color: #f2f2f2;
        margin: 15px 0 6px
    }

    .ranking-level p {
        color: #c2c3c4;
        font-size: 14px
    }

.prose {
    display: grid;
    grid-template-columns: 1.3fr .7fr;
    gap: 45px
}

    .prose h2 {
        font-size: 40px;
        line-height: 1.15;
        color: var(--navy)
    }

    .prose p {
        color: var(--muted);
        font-size: 16px
    }

.info-panel {
    background: var(--navy);
    color: #fff;
    padding: 32px;
    border-radius: 20px
}

    .info-panel h3 {
        margin-top: 0
    }

    .info-panel li {
        margin: 10px 0;
        color: #d6e5f0
    }

.management-hero {
    display: grid;
    grid-template-columns: 280px 1fr;
    align-items: center;
    background: #fff;
    border: 1px solid var(--line);
    border-radius: 22px;
    overflow: hidden
}

    .management-hero img {
        width: 100%;
        height: 330px;
        object-fit: cover;
        object-position: center top
    }

    .management-hero > div {
        padding: 40px
    }

    .management-hero h2 {
        color: var(--navy);
        font-size: 34px;
        margin: 8px 0
    }

    .management-hero p, .note {
        color: var(--muted)
    }

.status {
    background: #edf8d8;
    color: #477700;
    border-radius: 99px;
    padding: 4px 10px;
    font-size: 11px;
    font-weight: 800
}

.club-card {
    background: #fff;
    border: 1px solid var(--line);
    border-radius: 20px;
    padding: 30px
}

.club-icon {
    font-size: 35px
}

.club-card h3 {
    color: var(--navy);
    margin: 15px 0 5px
}

.club-card p {
    margin: 0;
    color: var(--muted)
}

.club-card span {
    display: block;
    font-size: 12px;
    color: #477700;
    font-weight: 700;
    margin-top: 14px
}

.ranking-banner {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 25px;
    background: linear-gradient(135deg,var(--navy),#0a4b79);
    color: #fff;
    border-radius: 22px;
    padding: 40px
}

    .ranking-banner h2 {
        font-size: 34px;
        margin: 8px 0
    }

    .ranking-banner p {
        color: #d6e5f0;
        max-width: 700px
    }

.ranking-tabs {
    margin: 0
}

.ranking-note {
    margin-top: 18px;
    padding: 17px 20px;
    background: #fff6dc;
    border-left: 4px solid #d9a400;
    border-radius: 10px;
    color: #66531b;
    font-size: 13px
}

.registration-types {
    display: grid;
    grid-template-columns: repeat(4,1fr);
    gap: 18px
}

    .registration-types a {
        background: #fff;
        border: 1px solid var(--line);
        border-radius: 18px;
        padding: 24px
    }

        .registration-types a:hover {
            border-color: var(--green);
            transform: translateY(-3px)
        }

    .registration-types span {
        font-size: 30px
    }

    .registration-types h3 {
        margin: 12px 0 4px;
        color: var(--navy)
    }

    .registration-types p {
        margin: 0;
        color: var(--muted);
        font-size: 13px
    }

.text-link {
    color: #477700;
    font-weight: 800;
    font-size: 13px
}

@media(max-width:1024px) {
    .president-card, .prose {
        grid-template-columns: 1fr
    }

    .president-photo {
        min-height: 400px
    }

    .office-grid, .registration-types {
        grid-template-columns: 1fr 1fr
    }

    .management-hero {
        grid-template-columns: 1fr
    }

        .management-hero img {
            height: 400px
        }

    .ranking-banner {
        display: block
    }

        .ranking-banner .btn {
            margin-top: 15px
        }
}

@media(max-width:560px) {
    .president-copy {
        padding: 28px
    }

        .president-copy h2 {
            font-size: 30px
        }

    .office-grid, .registration-types {
        grid-template-columns: 1fr
    }

    .president-photo {
        min-height: 360px
    }

    .management-hero > div {
        padding: 25px
    }

    .prose h2 {
        font-size: 32px
    }
}


/* Updated OTA content */
.player-name-grid {
    display: grid;
    grid-template-columns: repeat(4,1fr);
    gap: 18px
}

.player-name-card {
    background: #fff;
    border: 1px solid var(--line);
    border-radius: 20px;
    padding: 28px;
    min-height: 190px;
    box-shadow: 0 12px 30px #062b520a
}

    .player-name-card span {
        display: inline-grid;
        place-items: center;
        width: 42px;
        height: 42px;
        border-radius: 50%;
        background: #edf8d8;
        color: #477700;
        font-weight: 900
    }

    .player-name-card h3 {
        color: var(--navy);
        font-size: 20px;
        line-height: 1.3;
        margin: 18px 0 6px
    }

    .player-name-card p {
        color: var(--muted);
        font-size: 13px;
        margin: 0
    }


.management-card {
    background: #fff;
    border: 1px solid var(--line);
    border-radius: 18px;
    padding: 26px
}

    .management-card span {
        display: block;
        color: #477700;
        font-size: 12px;
        font-weight: 900;
        text-transform: uppercase;
        letter-spacing: 1px;
        margin-bottom: 12px
    }

    .management-card h3 {
        font-size: 17px;
        line-height: 1.45;
        color: var(--navy);
        margin: 8px 0
    }

.member-list, .memory-list {
    display: grid;
    grid-template-columns: repeat(3,1fr);
    gap: 12px
}

    .member-list div, .memory-list div {
        background: #fff;
        border: 1px solid var(--line);
        border-radius: 14px;
        padding: 17px;
        font-weight: 700;
        color: var(--navy)
    }

    .memory-list div {
        background: #f7fafc;
        border-left: 4px solid var(--green)
    }

.academy-stats {
    display: grid;
    grid-template-columns: repeat(3,1fr);
    gap: 18px;
    margin-top: 32px
}

    .academy-stats > div {
        background: var(--navy);
        color: #fff;
        border-radius: 18px;
        padding: 28px
    }

    .academy-stats strong {
        display: block;
        font-size: 34px;
        color: var(--lime)
    }

    .academy-stats span {
        font-size: 14px
    }

.tournament-highlight {
    background: linear-gradient(135deg,var(--navy),#0a4b79);
    color: #fff;
    border-radius: 22px;
    padding: 42px
}

    .tournament-highlight h2 {
        font-size: 38px;
        line-height: 1.15;
        margin: 8px 0 15px
    }

    .tournament-highlight p {
        color: #d6e5f0;
        max-width: 850px
    }

@media(max-width:1024px) {
    .player-name-grid {
        grid-template-columns: 1fr 1fr
    }

    .management-grid {
        grid-template-columns: 1fr
    }

    .member-list, .memory-list {
        grid-template-columns: 1fr 1fr
    }

    .academy-stats {
        grid-template-columns: 1fr 1fr
    }
}

@media(max-width:560px) {
    .player-name-grid, .member-list, .memory-list, .academy-stats {
        grid-template-columns: 1fr
    }

    .tournament-highlight {
        padding: 28px
    }

        .tournament-highlight h2 {
            font-size: 30px
        }
}

/* Management member photographs */
.management-photo-grid {
    grid-template-columns: repeat(3,1fr);
    align-items: stretch
}

.management-photo-card {
    padding: 0;
    overflow: hidden;
    display: flex;
    flex-direction: column
}

    .management-photo-card img {
        width: 100%;
        height: 280px;
        object-fit: cover;
        object-position: center top;
        background: #edf2f5
    }

    .management-photo-card > div {
        padding: 22px 24px 26px;
        flex: 1
    }

    .management-photo-card h3 {
        font-size: 19px;
        margin: 8px 0 0
    }

    .management-photo-card span {
        margin-bottom: 10px
    }

@media(max-width:1024px) {
    .management-photo-grid {
        grid-template-columns: repeat(2,1fr)
    }
}

@media(max-width:560px) {
    .management-photo-grid {
        grid-template-columns: 1fr
    }

    .management-photo-card img {
        height: 330px
    }
}


/* Tournament & ranking organisation logos */
.ranking-logo-grid .ranking-logo-card {
    display: flex;
    flex-direction: column;
    align-items: flex-start
}

.logo-box {
    width: 100%;
    height: 110px;
    background: #fff;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 14px;
    border-radius: 14px;
    border: 1px solid var(--line);
    padding: 12px;
    overflow: hidden
}

    .logo-box img {
        max-height: 84px;
        max-width: 90%;
        width: auto;
        height: auto;
        object-fit: contain
    }

.ranking-logo-card h3 {
    margin-top: 4px
}

.brand img {
    object-fit: contain;
    background: #fff;
    border-radius: 50%;
    padding: 2px
}

@media(max-width:560px) {
    .logo-box {
        height: 125px
    }

        .logo-box img {
            max-height: 98px
        }
}

/* Odisha Tennis Talent — standardised professional player cards */
.talent-section {
    padding-top: 76px;
    padding-bottom: 86px;
    background: linear-gradient(180deg,#fff 0%,#f4f8fb 100%)
}

.talent-heading {
    margin-bottom: 42px
}

    .talent-heading p {
        max-width: 700px;
        color: var(--muted);
        margin: 10px 0 0
    }

.talent-group {
    margin-top: 34px
}

.boys-group {
    margin-top: 64px
}

.talent-group-title {
    display: flex;
    align-items: center;
    gap: 16px;
    margin-bottom: 22px
}

    .talent-group-title span {
        font-size: 24px;
        font-weight: 900;
        color: var(--navy);
        letter-spacing: -.4px
    }

    .talent-group-title div {
        height: 2px;
        flex: 1;
        background: linear-gradient(90deg,var(--green),transparent)
    }

.player-photo-grid {
    display: grid;
    grid-template-columns: repeat(4,minmax(0,1fr));
    gap: 22px
}

.player-photo-card {
    background: #fff;
    border: 1px solid #63748a;
    border-radius: 20px;
    overflow: hidden;
    box-shadow: 0 14px 35px rgba(6,43,82,.08);
    transition: transform .25s ease,box-shadow .25s ease;
    min-width: 0
}

    .player-photo-card:hover {
        transform: translateY(-6px);
        box-shadow: 0 20px 42px rgba(6,43,82,.16)
    }

.player-photo {
    position: relative;
    aspect-ratio: 4/5;
    overflow: hidden;
    background: #e9eef2
}

    .player-photo:after {
        content: "";
        position: absolute;
        inset: auto 0 0;
        height: 35%;
        background: linear-gradient(transparent,rgba(0,0,0,.18));
        pointer-events: none
    }

    .player-photo img {
        width: 100%;
        height: 100%;
        display: block;
        object-fit: cover;
        object-position: center;
        transition: transform .4s ease
    }

.player-photo-card:hover .player-photo img {
    transform: scale(1.035)
}

.player-info {
    padding: 18px 20px 21px;
    position: relative
}

.player-number {
    position: absolute;
    right: 18px;
    top: -24px;
    width: 48px;
    height: 48px;
    border-radius: 50%;
    display: grid;
    place-items: center;
    background: var(--green);
    color: #fff;
    border: 4px solid #fff;
    font-weight: 900;
    font-size: 13px;
    box-shadow: 0 6px 18px rgba(0,0,0,.14)
}

.player-info h3 {
    color: var(--navy);
    font-size: 19px;
    line-height: 1.25;
    margin: 0 50px 6px 0
}

.player-info p {
    margin: 0;
    color: var(--muted);
    font-size: 13px;
    font-weight: 600
}

@media(max-width:1000px) {
    .player-photo-grid {
        grid-template-columns: repeat(2,minmax(0,1fr));
        gap: 20px
    }
}

@media(max-width:560px) {
    .talent-section {
        padding-top: 54px;
        padding-bottom: 60px
    }

    .talent-heading {
        margin-bottom: 28px
    }

    .talent-group {
        margin-top: 26px
    }

    .boys-group {
        margin-top: 48px
    }

    .player-photo-grid {
        grid-template-columns: 1fr;
        gap: 18px
    }

    .player-photo {
        aspect-ratio: 4/5
    }

    .player-info h3 {
        font-size: 20px
    }

    .talent-group-title span {
        font-size: 22px
    }
}


/* Professional coaching team */
.coaching-section {
    background: linear-gradient(180deg,#fff 0%,#f4f8fb 100%)
}

.coaching-head {
    align-items: flex-end;
    margin-bottom: 34px
}

    .coaching-head h2 {
        margin-bottom: 10px
    }

    .coaching-head p {
        margin: 0;
        max-width: 720px
    }

.coach-total {
    min-width: 150px;
    background: linear-gradient(135deg,var(--navy),#0a4b79);
    border-radius: 18px;
    padding: 18px 24px;
    color: #fff;
    text-align: center;
    box-shadow: 0 14px 35px rgba(6,43,82,.14)
}

    .coach-total strong {
        display: block;
        font-size: 34px;
        line-height: 1;
        color: var(--lime)
    }

    .coach-total span {
        display: block;
        margin-top: 6px;
        font-size: 12px;
        font-weight: 800;
        letter-spacing: .8px;
        text-transform: uppercase
    }

.coach-photo-grid {
    display: grid;
    grid-template-columns: repeat(4,minmax(0,1fr));
    gap: 22px
}

.coach-photo-card {
    background: #fff;
    border: 1px solid var(--navy);
    border-radius: 20px;
    overflow: hidden;
    box-shadow: 0 14px 35px rgba(6,43,82,.08);
    transition: transform .25s ease,box-shadow .25s ease;
    min-width: 0
}

    .coach-photo-card:hover {
        transform: translateY(-6px);
        box-shadow: 0 22px 45px #0a4b79,
    }

.coach-photo {
    aspect-ratio: 4/5;
    overflow: hidden;
    background: #e8eef2;
    position: relative
}

    .coach-photo:after {
        content: "";
        position: absolute;
        inset: auto 0 0;
        height: 28%;
        background: linear-gradient(transparent,rgba(6,43,82,.18));
        pointer-events: none
    }

    .coach-photo img {
        width: 100%;
        height: 100%;
        object-fit: cover;
        object-position: center top;
        transition: transform .4s ease
    }

.coach-photo-card:hover .coach-photo img {
    transform: scale(1.035)
}

.coach-info {
    padding: 18px 20px 21px;
    border-top: 3px solid var(--green)
}

    .coach-info span {
        display: block;
        color: #477700;
        font-size: 11px;
        font-weight: 900;
        letter-spacing: 1.5px;
        text-transform: uppercase;
        margin-bottom: 5px
    }

    .coach-info h3 {
        margin: 0;
        color: var(--navy);
        font-size: 19px;
        line-height: 1.3
    }

@media(max-width:1000px) {
    .coach-photo-grid {
        grid-template-columns: repeat(2,minmax(0,1fr))
    }

    .coaching-head {
        align-items: flex-start
    }

    .coach-total {
        min-width: 135px
    }
}

@media(max-width:560px) {
    .coaching-head {
        display: block
    }

    .coach-total {
        display: inline-block;
        margin-top: 18px;
        min-width: 150px
    }

    .coach-photo-grid {
        grid-template-columns: 1fr;
        gap: 18px
    }

    .coach-photo {
        aspect-ratio: 4/5
    }

    .coach-info h3 {
        font-size: 20px
    }
}

/* 2025–2029 Management — unified professional portrait standard */
.management-standard-hero {
    border-radius: 24px;
    overflow: hidden;
    box-shadow: 0 18px 45px rgba(6,43,82,.10)
}

    .management-standard-hero > img {
        aspect-ratio: 4/5;
        height: 100%;
        min-height: 360px;
        object-fit: cover;
        object-position: center top;
        background: #edf2f5
    }

.management-standard-grid {
    grid-template-columns: repeat(3,minmax(0,1fr));
    gap: 24px
}

    .management-standard-grid .management-photo-card {
        border-radius: 20px;
        box-shadow: 0 14px 35px rgba(6,43,82,.08);
        transition: transform .25s ease,box-shadow .25s ease
    }

        .management-standard-grid .management-photo-card:hover {
            transform: translateY(-5px);
            box-shadow: 0 22px 45px rgba(6,43,82,.16)
        }

        .management-standard-grid .management-photo-card img {
            aspect-ratio: 4/5;
            height: auto;
            object-fit: cover;
            object-position: center top;
            display: block
        }

        .management-standard-grid .management-photo-card > div {
            border-top: 3px solid var(--green);
            padding: 20px 22px 24px
        }

        .management-standard-grid .management-photo-card span {
            color: #477700;
            font-size: 11px;
            font-weight: 900;
            letter-spacing: 1.4px;
            text-transform: uppercase
        }

        .management-standard-grid .management-photo-card h3 {
            font-size: 18px;
            line-height: 1.35
        }

@media(max-width:1024px) {
    .management-standard-grid {
        grid-template-columns: repeat(2,minmax(0,1fr))
    }

    .management-standard-hero > img {
        min-height: 0;
        max-height: none
    }
}

@media(max-width:560px) {
    .management-standard-grid {
        grid-template-columns: 1fr;
        gap: 18px
    }

        .management-standard-grid .management-photo-card img {
            aspect-ratio: 4/5
        }

    .management-standard-hero > img {
        aspect-ratio: 4/5
    }
}


/* =========================================================
   OTA MANAGEMENT 2025–2029 — PROFESSIONAL PORTRAIT SYSTEM
   4:5 images | 4 → 3 → 2 → 1 responsive grid
   ========================================================= */
.management-section {
    background: radial-gradient(circle at 10% 10%, rgba(120,201,0,.055), transparent 28%), linear-gradient(180deg,#ffffff 0%,#f4f8fb 100%);
    padding-top: 76px;
}

.management-hero-banner {
    position: relative;
    overflow: hidden;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 32px;
    padding: 48px 54px;
    border-radius: 28px;
    color: #fff;
    background: linear-gradient(110deg,rgba(4,38,72,.98),rgba(7,78,87,.90)), url('https://images.unsplash.com/photo-1622279457486-62dcc4a431d6?auto=format&fit=crop&w=1800&q=85') center/cover;
    box-shadow: 0 22px 55px rgba(6,43,82,.16);
}

    .management-hero-banner:after {
        content: "";
        position: absolute;
        width: 220px;
        height: 220px;
        border-radius: 50%;
        right: -65px;
        top: -85px;
        background: rgba(165,230,43,.14);
    }

.management-hero-copy {
    position: relative;
    z-index: 1;
    max-width: 800px
}

    .management-hero-copy h2 {
        font-size: clamp(32px,4vw,54px);
        line-height: 1.08;
        margin: 10px 0 12px;
        color: #fff
    }

        .management-hero-copy h2 span {
            color: var(--lime)
        }

    .management-hero-copy p {
        margin: 0;
        color: #dceaf3;
        max-width: 720px
    }

.management-year {
    position: relative;
    z-index: 1;
    flex: 0 0 132px;
    width: 132px;
    height: 132px;
    border-radius: 50%;
    display: grid;
    place-content: center;
    text-align: center;
    line-height: 1.05;
    border: 1px solid rgba(255,255,255,.35);
    background: rgba(255,255,255,.10);
    backdrop-filter: blur(10px);
    font-size: 22px;
    font-weight: 900;
    color: #fff;
}

    .management-year span {
        font-size: 11px;
        letter-spacing: 1.5px;
        color: var(--lime);
        text-transform: uppercase
    }

.management-section-heading {
    display: grid;
    grid-template-columns: 1fr auto 1fr;
    align-items: center;
    gap: 22px;
    margin: 58px 0 30px;
    text-align: center;
}

    .management-section-heading > div {
        max-width: 780px
    }

    .management-section-heading .kicker {
        color: #4f8500
    }

    .management-section-heading h2 {
        color: var(--navy);
        font-size: clamp(27px,3vw,38px);
        margin: 5px 0 6px;
        line-height: 1.12
    }

    .management-section-heading p {
        margin: 0;
        color: var(--muted);
        font-size: 14px
    }

.section-rule {
    height: 2px;
    background: linear-gradient(90deg,transparent,var(--green));
    min-width: 70px
}

.management-section-heading .section-rule:last-child {
    background: linear-gradient(90deg,var(--green),transparent)
}

.compact-heading {
    margin-top: 62px
}

.management-grid, .office-bearers-grid, .former-members-grid, .vice-president-grid, .executive-grid {
    grid-template-columns: repeat(4,1fr);
    display: grid;
    gap: 24px;
    align-items: stretch;
}

.management-card {
    min-width: 0;
    display: flex;
    flex-direction: column;
    overflow: hidden;
    background: #fff;
    border: 1px solid #dce6ef;
    border-radius: 20px;
    box-shadow: 0 12px 32px rgba(6,43,82,.075);
    transition: transform .24s ease,box-shadow .24s ease,border-color .24s ease;
}

    .management-card:hover {
        transform: translateY(-6px);
        box-shadow: 0 22px 46px rgba(6,43,82,.15);
        border-color: #c8d9e6
    }

.management-photo {
    position: relative;
    width: 100%;
    aspect-ratio: 4/5;
    overflow: hidden;
    background: #e9eff3
}

    .management-photo:after {
        content: "";
        position: absolute;
        inset: auto 0 0;
        height: 24%;
        background: linear-gradient(transparent,rgba(6,43,82,.20));
        pointer-events: none
    }

    .management-photo img {
        width: 100%;
        height: 100%;
        display: block;
        object-fit: cover;
        object-position: center top;
        transition: transform .42s ease;
        background: #edf2f5;
    }

.management-card:hover .management-photo img {
    transform: scale(1.035)
}

.management-card-body {
    min-height: 112px;
    padding: 17px 18px 20px;
    border-top: 3px solid var(--green);
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.role-badge {
    display: inline-flex;
    align-self: flex-start;
    align-items: center;
    color: #477700;
    font-size: 10px;
    font-weight: 900;
    letter-spacing: 1.3px;
    text-transform: uppercase;
    margin-bottom: 6px;
}

.management-card-body h3 {
    margin: 0;
    color: var(--navy);
    font-size: 17px;
    line-height: 1.3
}

.management-card-body p {
    margin: 4px 0 0;
    color: var(--muted);
    font-size: 13px;
    font-weight: 700
}

.featured-office-card {
    box-shadow: 0 16px 38px rgba(6,43,82,.10)
}

.photo-guide {
    margin-top: 50px;
    display: flex;
    gap: 20px;
    align-items: flex-start;
    padding: 25px 28px;
    border: 1px dashed #b9ccda;
    border-radius: 18px;
    background: #fff;
}

.photo-guide-icon {
    flex: 0 0 48px;
    width: 48px;
    height: 48px;
    border-radius: 14px;
    display: grid;
    place-items: center;
    background: #eaf7d8;
    color: #4c8700;
    font-size: 23px;
    font-weight: 900;
}

.photo-guide h3 {
    margin: 3px 0 6px;
    color: var(--navy);
    font-size: 20px
}

.photo-guide p {
    margin: 0;
    color: var(--muted);
    font-size: 13px;
    line-height: 1.7
}

.management-note {
    margin-top: 20px;
    padding: 15px 18px;
    border-radius: 14px;
    background: #eef7e4;
    color: #315400;
    display: flex;
    justify-content: center;
    gap: 10px;
    flex-wrap: wrap;
    text-align: center;
    font-size: 13px
}

    .management-note span {
        color: #52667a
    }

@media(max-width:1024px) {
    .office-bearers-grid, .vice-president-grid, .executive-grid, .former-members-grid, .management-grid {
        grid-template-columns: repeat(3,minmax(0,1fr));
        display: grid;
    }
}

@media(max-width:700px) {
    .management-hero-banner {
        padding: 38px 30px
    }

    .management-year {
        flex-basis: 105px;
        width: 105px;
        height: 105px;
        font-size: 18px
    }

    .office-bearers-grid, .vice-president-grid, .executive-grid, .former-members-grid, .management-grid {
        grid-template-columns: repeat(2,minmax(0,1fr));
        display: grid;
        gap: 18px
    }

    .management-section-heading {
        grid-template-columns: 1fr;
        gap: 10px
    }

        .management-section-heading .section-rule {
            display: none
        }
}

@media(max-width:560px) {
    .management-section {
        padding-top: 52px
    }

    .management-hero-banner {
        display: block;
        padding: 30px 22px;
        border-radius: 22px
    }

    .management-hero-copy h2 {
        font-size: 31px
    }

    .management-year {
        margin-top: 22px;
        width: 82px;
        height: 82px;
        font-size: 14px
    }

    .office-bearers-grid, .vice-president-grid, .executive-grid, .former-members-grid, .management-grid {
        grid-template-columns: 1fr;
        display: grid;
        gap: 17px
    }

    .management-photo {
        aspect-ratio: 4/5
    }

    .management-card-body {
        min-height: 104px;
        padding: 15px 17px 18px
    }

        .management-card-body h3 {
            font-size: 18px
        }

    .photo-guide {
        display: block;
        padding: 20px
    }

    .photo-guide-icon {
        margin-bottom: 13px
    }

    .management-note {
        font-size: 12px
    }
}


/* =========================================================
   OTA GALLERY — UNIFORM 4:5 PORTRAIT SYSTEM
   ========================================================= */
.gallery-page-hero {
    background: linear-gradient(110deg,rgba(6,43,82,.98),rgba(7,79,87,.94)),url('assets/gallery/centre-court.jpg') center/cover;
    position: relative;
    overflow: hidden
}

    .gallery-page-hero:after {
        content: "";
        position: absolute;
        width: 320px;
        height: 320px;
        border-radius: 50%;
        right: -100px;
        top: -150px;
        background: rgba(165,230,43,.12)
    }

    .gallery-page-hero .container {
        position: relative;
        z-index: 1
    }

.gallery-intro {
    display: flex;
    justify-content: space-between;
    align-items: end;
    gap: 28px;
    margin-bottom: 28px
}

    .gallery-intro h2 {
        font-size: clamp(30px,4vw,43px);
        line-height: 1.08;
        color: var(--navy);
        margin: 6px 0 9px
    }

    .gallery-intro p {
        color: var(--muted);
        max-width: 760px;
        margin: 0;
        font-size: 15px
    }

.gallery-count {
    min-width: 150px;
    padding: 18px 22px;
    border: 1px solid var(--line);
    border-radius: 18px;
    background: #fff;
    text-align: center;
    box-shadow: 0 10px 28px rgba(6,43,82,.06)
}

    .gallery-count strong {
        display: block;
        color: var(--navy);
        font-size: 30px;
        line-height: 1
    }

    .gallery-count span {
        display: block;
        color: var(--muted);
        font-size: 11px;
        font-weight: 900;
        text-transform: uppercase;
        letter-spacing: 1px;
        margin-top: 6px
    }

.gallery-filters {
    display: flex;
    gap: 9px;
    flex-wrap: wrap;
    margin: 0 0 30px;
    padding: 6px;
    background: #edf3f7;
    border-radius: 16px;
    width: max-content;
    max-width: 100%
}

.gallery-filter {
    border: 1px solid transparent;
    background: transparent;
    color: var(--navy);
    border-radius: 10px;
    padding: 10px 15px;
    font: inherit;
    font-size: 12px;
    font-weight: 900;
    cursor: pointer;
    transition: .2s ease
}

    .gallery-filter:hover {
        background: #fff;
        border-color: var(--line)
    }

    .gallery-filter.active {
        background: var(--navy);
        color: #fff;
        box-shadow: 0 7px 18px rgba(6,43,82,.15)
    }

.gallery-grid {
    display: grid;
    grid-template-columns: repeat(4,minmax(0,1fr));
    gap: 24px;
    align-items: start
}

.gallery-card {
    min-width: 0;
    background: #fff;
    border: 1px solid var(--line);
    border-radius: 20px;
    overflow: hidden;
    box-shadow: 0 11px 30px rgba(6,43,82,.065);
    transition: transform .25s ease,box-shadow .25s ease,border-color .25s ease;
    animation: galleryIn .35s ease both
}

    .gallery-card:hover {
        transform: translateY(-6px);
        box-shadow: 0 22px 46px rgba(6,43,82,.14);
        border-color: #c6d7e3
    }

.gallery-media {
    position: relative;
    width: 100%;
    display: block;
    padding: 0;
    border: 0;
    background: #e8eef2;
    cursor: zoom-in;
    aspect-ratio: 4/5;
    overflow: hidden
}

    .gallery-media img {
        width: 100%;
        height: 100%;
        object-fit: cover;
        object-position: center center;
        display: block;
        transition: transform .5s cubic-bezier(.2,.7,.2,1);
        background: #e9eef2
    }

.gallery-card:hover .gallery-media img {
    transform: scale(1.045)
}

.gallery-overlay {
    position: absolute;
    inset: 0;
    display: flex;
    align-items: flex-end;
    padding: 16px;
    background: linear-gradient(180deg,transparent 55%,rgba(3,25,48,.72));
    opacity: 0;
    transition: opacity .25s ease
}

.gallery-card:hover .gallery-overlay, .gallery-media:focus-visible .gallery-overlay {
    opacity: 1
}

.gallery-view {
    display: flex;
    align-items: center;
    gap: 8px;
    color: #fff;
    font-size: 12px;
    font-weight: 900;
    letter-spacing: .5px
}

    .gallery-view b {
        color: var(--lime);
        font-size: 18px
    }

.gallery-card-body {
    padding: 17px 18px 19px;
    border-top: 3px solid var(--green);
    min-height: 132px
}

.gallery-tag {
    color: #4d7d00;
    font-size: 10px;
    font-weight: 900;
    letter-spacing: 1.2px;
    text-transform: uppercase
}

.gallery-card h3 {
    color: var(--navy);
    font-size: 17px;
    line-height: 1.3;
    margin: 6px 0
}

.gallery-card p {
    color: var(--muted);
    font-size: 12px;
    line-height: 1.55;
    margin: 0
}

.gallery-lightbox {
    position: fixed;
    inset: 0;
    background: rgba(1,18,34,.91);
    z-index: 300;
    display: none;
    place-items: center;
    padding: 24px
}

    .gallery-lightbox.open {
        display: grid
    }

.lightbox-panel {
    position: relative;
    width: min(900px,96vw);
    max-height: 95vh;
    display: grid;
    grid-template-columns: minmax(260px,1fr) 290px;
    background: #fff;
    border-radius: 22px;
    overflow: hidden;
    box-shadow: 0 28px 90px rgba(0,0,0,.38)
}

    .lightbox-panel > img {
        width: 100%;
        height: min(88vh,780px);
        object-fit: contain;
        background: #edf2f5
    }

.lightbox-caption {
    padding: 35px 28px;
    align-self: center
}

    .lightbox-caption span {
        color: #568500;
        font-size: 10px;
        font-weight: 900;
        letter-spacing: 1.4px;
        text-transform: uppercase
    }

    .lightbox-caption h3 {
        color: var(--navy);
        font-size: 25px;
        line-height: 1.15;
        margin: 8px 0 10px
    }

    .lightbox-caption p {
        color: var(--muted);
        font-size: 13px;
        line-height: 1.65
    }

.lightbox-close {
    position: absolute;
    z-index: 2;
    right: 13px;
    top: 11px;
    width: 40px;
    height: 40px;
    border: 0;
    border-radius: 50%;
    background: rgba(6,43,82,.9);
    color: #fff;
    font-size: 28px;
    line-height: 1;
    cursor: pointer
}

    .lightbox-close:hover {
        background: var(--green);
        color: var(--navy)
    }

@keyframes galleryIn {
    from {
        opacity: 0;
        transform: translateY(8px)
    }

    to {
        opacity: 1;
        transform: none
    }
}

@media(max-width:1100px) {
    .gallery-grid {
        grid-template-columns: repeat(3,minmax(0,1fr))
    }
}

@media(max-width:800px) {
    .gallery-grid {
        grid-template-columns: repeat(2,minmax(0,1fr));
        gap: 18px
    }

    .gallery-intro {
        align-items: start
    }

    .lightbox-panel {
        grid-template-columns: 1fr;
        max-height: 94vh;
        overflow: auto
    }

        .lightbox-panel > img {
            height: 62vh;
            min-height: 360px
        }

    .lightbox-caption {
        padding: 20px 22px 25px
    }

    .gallery-filters {
        width: 100%
    }
}

@media(max-width:560px) {
    .gallery-section {
        padding-top: 48px
    }

    .gallery-intro {
        display: block
    }

    .gallery-count {
        margin-top: 18px;
        width: 100%;
        display: flex;
        align-items: center;
        justify-content: center;
        gap: 12px
    }

        .gallery-count strong {
            font-size: 25px
        }

        .gallery-count span {
            margin-top: 0
        }

    .gallery-filters {
        display: grid;
        grid-template-columns: 1fr 1fr;
        padding: 5px;
        gap: 5px
    }

    .gallery-filter {
        padding: 9px 7px;
        font-size: 11px
    }

    .gallery-grid {
        grid-template-columns: 1fr;
        gap: 17px
    }

    .gallery-card-body {
        min-height: 0;
        padding: 15px 17px 18px
    }

    .gallery-media {
        aspect-ratio: 4/5
    }

    .lightbox-panel {
        width: 96vw;
        border-radius: 17px
    }

        .lightbox-panel > img {
            height: 55vh;
            min-height: 290px
        }

    .lightbox-caption h3 {
        font-size: 21px
    }

    .gallery-page-hero {
        padding: 58px 0
    }
}


a {
    text-decoration: none !important;
}

@keyframes menuIn { from { opacity:0; transform: translateY(-8px) scale(.98); } to { opacity:1; transform:none; } }
