/* Responsive card and grid fixes for mobile */
@media (max-width: 900px) {
    .news-grid, .honors-grid, .players-grid {
        grid-template-columns: 1fr 1fr !important;
        gap: 1.2rem !important;
    }
    .news-card, .honors-card, .player-card {
        min-width: 0 !important;
        max-width: 100% !important;
        width: 100% !important;
        margin: 0 auto 1.2rem auto !important;
    }
}

@media (max-width: 560px) {
    .news-grid, .honors-grid, .players-grid {
        grid-template-columns: 1fr !important;
        gap: 1rem !important;
    }
    .news-card, .honors-card, .player-card {
        min-width: 0 !important;
        max-width: 100% !important;
        width: 100% !important;
        margin: 0 auto 1rem auto !important;
        border-radius: 14px !important;
        box-shadow: 0 4px 12px rgba(0,0,0,0.07) !important;
    }
    .news-card h4, .honors-card h4, .player-card h4 {
        font-size: 1.08rem !important;
        word-break: break-word !important;
        text-align: center !important;
    }
    .news-card p, .honors-card p, .player-card p {
        font-size: 0.98rem !important;
        word-break: break-word !important;
        text-align: center !important;
    }
}
:root {
    --primary: #001f7a;
    --primary-dark: #00165a;
    --accent: #0b5cff;
    --bg: #f4f7ff;
    --surface: #ffffff;
    --text: #131722;
    --muted: #64748b;
    --border: #dbe4ff;
}

* { box-sizing: border-box; }

body {
    margin: 0;
    font-family: 'Inter', sans-serif;
    background: var(--bg);
    color: var(--text);
}

html {
    scroll-behavior: smooth;
}

.container {
    width: min(1120px, 92%);
    margin: 0 auto;
}

.site-header {
    position: sticky;
    top: 0;
    z-index: 999;
    background: var(--primary);
    backdrop-filter: blur(8px);
    border-bottom: none;
}

.navbar {
    height: 78px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 1rem;
}

.brand {
    display: inline-flex;
    align-items: center;
    gap: .85rem;
    text-decoration: none;
    color: #fff;
    min-width: max-content;
}

.brand-badge {
    width: 56px;
    height: 56px;
    border-radius: 14px;
    background: transparent;
    border: none;
    display: grid;
    place-items: center;
    overflow: hidden;
    box-shadow: none;
}

.brand-logo {
    width: 100%;
    height: 100%;
    object-fit: contain;
}

.brand-title {
    font-size: 1.06rem;
    font-weight: 800;
    line-height: 1.2;
    color: #fff;
}

.brand-sub {
    font-size: .72rem;
    color: rgba(255, 255, 255, 0.8);
    font-weight: 600;
}

.nav-links {
    list-style: none;
    margin: 0;
    padding: .4rem;
    display: flex;
    align-items: center;
    gap: .25rem;
    background: var(--surface);
    border: 1px solid var(--border);
    border-radius: 999px;
    box-shadow: 0 8px 20px rgba(0, 22, 90, 0.08);
}

.nav-links a {
    text-decoration: none;
    color: #334155;
    font-size: .9rem;
    font-weight: 600;
    padding: .6rem .95rem;
    border-radius: 999px;
    transition: .2s ease;
    display: inline-flex;
    align-items: center;
    gap: .4rem;
}

.nav-links a:hover,
.nav-links a.active {
    background: var(--primary);
    color: #fff;
}

.nav-actions {
    display: flex;
    align-items: center;
    gap: .6rem;
}

.btn {
    text-decoration: none;
    border-radius: 10px;
    padding: .62rem .95rem;
    font-size: .88rem;
    font-weight: 700;
    border: 1px solid transparent;
    display: inline-flex;
    align-items: center;
    gap: .45rem;
    transition: .2s ease;
}

.btn-outline {
    color: var(--primary);
    border-color: var(--border);
    background: #fff;
}

.btn-outline:hover { border-color: var(--primary); }

.btn-solid {
    background: var(--primary);
    color: #fff;
}

.btn-solid:hover { background: var(--primary-dark); }

.menu-toggle {
    width: 44px;
    height: 44px;
    border-radius: 10px;
    border: none;
    background: rgba(255, 255, 255, 0.16);
    color: #fff;
    font-size: 1rem;
    display: none;
    place-items: center;
    cursor: pointer;
}

.hero {
    padding: 4.3rem 0 3.8rem;
    min-height: calc(100vh - 78px);
    position: relative;
    isolation: isolate;
    display: flex;
    align-items: center;
    overflow: hidden;
    background:
        linear-gradient(120deg, rgba(3, 16, 68, 0.92) 0%, rgba(2, 18, 81, 0.88) 45%, rgba(5, 41, 118, 0.83) 100%),
        radial-gradient(circle at 16% 20%, rgba(69, 139, 255, 0.25) 0%, rgba(69, 139, 255, 0) 50%),
        radial-gradient(circle at 86% 18%, rgba(96, 164, 255, 0.23) 0%, rgba(96, 164, 255, 0) 44%);
}


.hero-slider {
    position: absolute;
    inset: 0;
    z-index: 0;
    width: 100%;
    height: 100%;
    overflow: hidden;
    background: #000;
}
.hero-slide {
    position: absolute;
    inset: 0;
    opacity: 0;
    transition: opacity 0.7s cubic-bezier(.4,0,.2,1);
    width: 100%;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    pointer-events: none;
}
.hero-slide.active {
    opacity: 1;
    pointer-events: auto;
}
.hero-slide img {
    width: 100%;
    height: auto;
    max-width: 100%;
    max-height: 100%;
    object-fit: cover;
    display: block;
    margin: 0 auto;
    object-fit: cover;
    border-radius: 0;
    box-shadow: none;
    border: none;
}
.hero-slider-btn {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    background: rgba(0,0,0,0.35);
    color: #fff;
    border: none;
    font-size: 2.2rem;
    border-radius: 50%;
    width: 44px;
    height: 44px;
    cursor: pointer;
    z-index: 2;
    transition: background 0.2s;
    display: flex;
    align-items: center;
    justify-content: center;
}
.hero-slider-btn:hover {
    background: rgba(0,0,0,0.6);
}
.hero-slider-btn.prev { left: 2.5%; }
.hero-slider-btn.next { right: 2.5%; }

/* Optional: slider dots/indicators */
.hero-slider-dots {
    position: absolute;
    left: 50%;
    bottom: 2.5%;
    transform: translateX(-50%);
    display: flex;
    gap: 8px;
    z-index: 3;
}
.hero-slider-dot {
    width: 12px;
    height: 12px;
    border-radius: 50%;
    background: rgba(255,255,255,0.5);
    border: none;
    cursor: pointer;
    transition: background 0.2s;
}
.hero-slider-dot.active {
    background: #fff;
}


.hero-bg-overlay {
    position: absolute;
    inset: 0;
    z-index: -1;
    background-image: url('../images/logo.png');
    background-repeat: no-repeat;
    background-size: min(40vw, 460px);
    background-position: right 6% center;
    opacity: .16;
    filter: saturate(1.2) contrast(1.1);
    pointer-events: none;
}

.hero-grid {
    display: grid;
    grid-template-columns: 1.1fr .9fr;
    gap: 1.6rem;
    align-items: stretch;
}

.hero-card,
.stats-card {
    background: rgba(255, 255, 255, 0.96);
    border: 1px solid rgba(219, 228, 255, 0.85);
    border-radius: 18px;
    box-shadow: 0 14px 28px rgba(0, 31, 122, 0.1);
    padding: 1.55rem;
    backdrop-filter: blur(3px);
}

.hero-kicker {
    color: var(--accent);
    font-size: .8rem;
    font-weight: 800;
    text-transform: uppercase;
    letter-spacing: .08em;
}

h1 {
    margin: .6rem 0 .8rem;
    font-size: clamp(1.8rem, 2.8vw, 2.7rem);
    line-height: 1.15;
}

.hero-copy {
    margin: 0;
    color: #475569;
    line-height: 1.6;
    max-width: 56ch;
}

.hero-badges {
    margin-top: 1rem;
    display: flex;
    flex-wrap: wrap;
    gap: .5rem;
}

.hero-badges span {
    background: #eef4ff;
    border: 1px solid #dce8ff;
    color: #1e3a8a;
    border-radius: 999px;
    padding: .32rem .68rem;
    font-size: .78rem;
    font-weight: 700;
    display: inline-flex;
    align-items: center;
    gap: .35rem;
}

.hero-badges i { color: var(--accent); }

.hero-points {
    list-style: none;
    margin: 1rem 0 0;
    padding: 0;
    display: grid;
    gap: .55rem;
}

.hero-points li {
    display: flex;
    align-items: center;
    gap: .5rem;
    color: #334155;
    font-size: .92rem;
}

.hero-points i {
    color: var(--accent);
}

.hero-actions {
    margin-top: 1.2rem;
    display: flex;
    gap: .7rem;
    flex-wrap: wrap;
}

.hero-highlight {
    margin-top: 1rem;
    border: 1px solid #dce8ff;
    border-radius: 14px;
    background: linear-gradient(145deg, #f6f9ff 0%, #eaf1ff 100%);
    padding: .9rem 1rem;
}

.hero-highlight-title {
    margin: 0;
    color: #0f172a;
    font-weight: 800;
    font-size: .94rem;
}

.hero-highlight-copy {
    margin: .35rem 0 .5rem;
    color: #475569;
    font-size: .88rem;
    line-height: 1.55;
}

.hero-highlight-link {
    color: var(--primary);
    text-decoration: none;
    font-weight: 700;
    font-size: .86rem;
    display: inline-flex;
    align-items: center;
    gap: .35rem;
}

.hero-highlight-link:hover {
    color: var(--accent);
}

.stats-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: .9rem;
}

.stat-item {
    background: #f8faff;
    border: 1px solid var(--border);
    border-radius: 12px;
    padding: .9rem;
}

.stat-value {
    font-size: 1.3rem;
    color: var(--primary);
    font-weight: 800;
}

.stat-label {
    margin-top: .2rem;
    color: var(--muted);
    font-size: .8rem;
    font-weight: 600;
}

.panel-title {
    margin: 0 0 .85rem;
    font-size: 1.05rem;
    color: #0f172a;
}

.mini-note {
    margin-top: .9rem;
    color: var(--muted);
    font-size: .84rem;
    font-weight: 500;
}

.section {
    padding: 4rem 0;
}

.section-header {
    max-width: 760px;
    margin-bottom: 1.4rem;
}

.section-kicker {
    margin: 0;
    color: var(--accent);
    text-transform: uppercase;
    font-size: .75rem;
    font-weight: 800;
    letter-spacing: .09em;
}

.section-header h2,
.about-card h2,
.contact-card h2 {
    margin: .5rem 0 .6rem;
    font-size: clamp(1.4rem, 2.3vw, 2rem);
    color: #0f172a;
}

.section-header p,
.about-card p,
.contact-card p {
    margin: 0;
    color: #475569;
    line-height: 1.65;
}

.program-grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 1rem;
}

.program-card {
    background: #fff;
    border: 1px solid var(--border);
    border-radius: 16px;
    box-shadow: 0 10px 24px rgba(0, 31, 122, 0.08);
    padding: 1.25rem;
    transition: transform .25s ease, box-shadow .25s ease;
}

.program-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 16px 28px rgba(0, 31, 122, 0.14);
}

.program-icon {
    width: 46px;
    height: 46px;
    border-radius: 12px;
    background: rgba(11, 92, 255, 0.1);
    color: var(--accent);
    display: grid;
    place-items: center;
    font-size: 1.1rem;
    margin-bottom: .7rem;
}

.program-card h3 {
    margin: 0 0 .45rem;
    color: #0f172a;
    font-size: 1.05rem;
}

.program-card p { margin: 0; color: #475569; font-size: .92rem; line-height: 1.6; }

.section-about { background: #eff4ff; }

.about-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 1rem;
}

.about-card,
.about-points,
.contact-card,
.contact-form {
    background: #fff;
    border: 1px solid var(--border);
    border-radius: 16px;
    box-shadow: 0 10px 24px rgba(0, 31, 122, 0.08);
    padding: 1.25rem;
}

.about-card p + p {
    margin-top: .75rem;
}

.about-points {
    display: grid;
    gap: .8rem;
}

.about-item {
    display: grid;
    grid-template-columns: 38px 1fr;
    gap: .75rem;
    align-items: start;
    padding: .7rem;
    border: 1px solid #e7edff;
    border-radius: 12px;
    background: #f9fbff;
}

.about-item i {
    width: 38px;
    height: 38px;
    border-radius: 10px;
    display: grid;
    place-items: center;
    background: rgba(11, 92, 255, 0.12);
    color: var(--accent);
}

.about-item h4 {
    margin: .15rem 0 .25rem;
    font-size: .98rem;
    color: #0f172a;
}

.about-item p {
    margin: 0;
    font-size: .88rem;
    color: #475569;
    line-height: 1.55;
}

.gallery-grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: .9rem;
}

.gallery-card {
    background: #fff;
    border: 1px solid var(--border);
    border-radius: 14px;
    overflow: hidden;
    box-shadow: 0 8px 20px rgba(0, 31, 122, 0.08);
}

.gallery-card img {
    width: 100%;
    height: 190px;
    object-fit: cover;
    background: #f8fbff;
}

.gallery-card span {
    display: block;
    padding: .75rem .8rem;
    font-weight: 600;
    color: #0f172a;
    font-size: .9rem;
}

.section-contact {
    background: linear-gradient(180deg, #f4f7ff 0%, #e9f0ff 100%);
}

.contact-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 1rem;
}

.contact-list {
    list-style: none;
    margin: 1rem 0 0;
    padding: 0;
    display: grid;
    gap: .55rem;
}

.contact-list li {
    display: flex;
    gap: .55rem;
    color: #334155;
    align-items: center;
}

.contact-list i { color: var(--accent); }

.form-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: .7rem;
}

.form-group { display: grid; gap: .35rem; margin-bottom: .75rem; }

.form-group label {
    color: #334155;
    font-size: .86rem;
    font-weight: 600;
}

.form-group input,
.form-group textarea {
    width: 100%;
    border: 1px solid #dce5ff;
    border-radius: 10px;
    padding: .65rem .75rem;
    font-family: inherit;
    font-size: .9rem;
    color: #0f172a;
    background: #fff;
}

.form-group textarea {
    resize: vertical;
}

.site-footer {
    position: relative;
    overflow: hidden;
    border-top: 3px solid #d7f36a;
    background:
        radial-gradient(ellipse at 12% 0, rgba(38, 77, 165, .28), transparent 38%),
        linear-gradient(135deg, #071346, #0b1c50 58%, #071346);
    color: #dbe6ff;
    padding: 3.2rem 0 1.25rem;
}

.footer-content {
    display: grid;
    grid-template-columns: minmax(0, 1.35fr) minmax(150px, .7fr) minmax(220px, 1fr);
    gap: clamp(2rem, 5vw, 5rem);
    padding-bottom: 2.4rem;
}

.footer-col h4 {
    margin: 0 0 1rem;
    font-size: .82rem;
    font-weight: 800;
    letter-spacing: .1em;
    color: #fff;
    text-transform: uppercase;
}

.footer-brand {
    display: inline-flex;
    align-items: center;
    gap: .8rem;
    color: #fff;
    text-decoration: none;
}

.footer-brand img {
    display: block;
    width: 48px;
    height: 48px;
    object-fit: contain;
}

.footer-brand strong,
.footer-brand small {
    display: block;
}

.footer-brand strong {
    font-size: 1rem;
    font-weight: 800;
}

.footer-brand small {
    margin-top: .18rem;
    color: #b7c7ed;
    font-size: .76rem;
    font-weight: 600;
}

.footer-about > p {
    max-width: 38ch;
    color: #b7c7ed;
    font-size: .9rem;
    line-height: 1.7;
}

.footer-about .footer-kicker {
    margin: 1.15rem 0 .35rem;
    color: #d7f36a;
    font-size: .72rem;
    font-weight: 800;
    letter-spacing: .08em;
    text-transform: uppercase;
}

.footer-cta {
    display: inline-flex;
    align-items: center;
    gap: .55rem;
    margin-top: 1rem;
    color: #e6f79f;
    font-size: .88rem;
    font-weight: 800;
    text-decoration: none;
}

.footer-cta i {
    transition: transform .2s ease;
}

.footer-cta:hover i {
    transform: translateX(4px);
}

.footer-col p,
.footer-col ul,
.footer-col li {
    margin: 0;
}

.footer-col ul {
    list-style: none;
    padding: 0;
    display: grid;
    gap: .7rem;
}

.footer-col a {
    color: #c4d2ef;
    text-decoration: none;
    font-size: .9rem;
    transition: color .2s ease;
}

.footer-col a:hover {
    color: #d7f36a;
}

.footer-contact p {
    display: flex;
    align-items: flex-start;
    gap: .7rem;
    margin-bottom: .85rem;
    color: #c4d2ef;
    font-size: .9rem;
    line-height: 1.5;
}

.footer-contact p i {
    flex: 0 0 16px;
    margin-top: .15rem;
    color: #d7f36a;
}

.footer-bottom {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 1rem;
    min-height: 66px;
    border-top: 1px solid rgba(219, 230, 255, .16);
    color: #aebfe4;
    font-size: .78rem;
}

.events-hero {
    padding-top: 3.2rem;
    padding-bottom: 2.4rem;
    background: radial-gradient(circle at 18% 20%, rgba(11, 92, 255, 0.14) 0%, rgba(11, 92, 255, 0) 46%), radial-gradient(circle at 85% 22%, rgba(0, 31, 122, 0.14) 0%, rgba(0, 31, 122, 0) 44%);
}

.events-hero-grid {
    display: grid;
    grid-template-columns: 1.15fr .85fr;
    gap: 1rem;
}

.events-hero-card,
.events-feature-card,
.events-card,
.events-empty {
    background: #fff;
    border: 1px solid var(--border);
    border-radius: 16px;
    box-shadow: 0 10px 24px rgba(0, 31, 122, 0.08);
    padding: 1.2rem;
}

.events-db-note {
    margin: .8rem 0 0;
    color: #334155;
    font-size: .88rem;
    display: inline-flex;
    align-items: center;
    gap: .45rem;
    background: #edf3ff;
    border: 1px solid #dbe8ff;
    border-radius: 999px;
    padding: .32rem .72rem;
}

.events-db-note i { color: var(--accent); }

.events-hero-stats {
    margin-top: 1rem;
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: .7rem;
}

.events-stat-item {
    background: #f6f9ff;
    border: 1px solid #dfe8ff;
    border-radius: 12px;
    padding: .7rem .8rem;
    display: grid;
    gap: .2rem;
}

.events-stat-value {
    font-size: 1.2rem;
    color: var(--primary);
    font-weight: 800;
}

.events-stat-label {
    color: var(--muted);
    font-size: .8rem;
}

.events-feature-card h3 {
    margin: 0 0 .55rem;
    color: var(--accent);
    font-size: .85rem;
    text-transform: uppercase;
    letter-spacing: .08em;
}

.events-feature-card h4 {
    margin: 0;
    color: #0f172a;
    font-size: 1.2rem;
}

.events-feature-card ul {
    list-style: none;
    margin: .9rem 0;
    padding: 0;
    display: grid;
    gap: .45rem;
}

.events-feature-card li {
    display: flex;
    gap: .5rem;
    align-items: center;
    color: #334155;
}

.events-feature-card i,
.events-meta i {
    color: var(--accent);
}

.events-feature-card p,
.events-card p {
    margin: 0;
    color: #475569;
    line-height: 1.6;
}

.events-list {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: .9rem;
}

.section-events-list {
    padding-top: 2.2rem;
}

.events-card-head {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: .8rem;
    margin-bottom: .65rem;
}

.events-card-head h3 {
    margin: 0;
    color: #0f172a;
    font-size: 1.07rem;
}

.events-card {
    transition: transform .22s ease, box-shadow .22s ease;
    border-left: 4px solid #dbe8ff;
}

.events-card:hover {
    transform: translateY(-3px);
    box-shadow: 0 14px 30px rgba(0, 31, 122, 0.12);
    border-left-color: var(--accent);
}

.events-status {
    background: #eaf1ff;
    color: var(--primary);
    border-radius: 999px;
    padding: .26rem .62rem;
    font-size: .75rem;
    font-weight: 700;
    white-space: nowrap;
}

.events-status-scheduled {
    background: #e6f6ff;
    color: #0369a1;
}

.events-status-completed {
    background: #e8f8ee;
    color: #166534;
}

.events-status-cancelled {
    background: #feecec;
    color: #b91c1c;
}

.events-meta {
    display: flex;
    flex-wrap: wrap;
    gap: .6rem 1rem;
    margin-bottom: .55rem;
    color: #334155;
    font-size: .86rem;
}

.events-meta span {
    display: inline-flex;
    align-items: center;
    gap: .35rem;
}

.events-empty {
    text-align: center;
    color: var(--muted);
    font-weight: 600;
    min-height: 120px;
    display: grid;
    place-items: center;
    gap: .4rem;
}

.events-empty i {
    font-size: 1.5rem;
    color: #94a3b8;
}

.events-note {
    margin-top: .9rem;
    color: #64748b;
    font-size: .9rem;
    background: #f2f6ff;
    border: 1px solid #dbe8ff;
    border-radius: 10px;
    padding: .65rem .8rem;
}

.events-ref-hero {
    padding-top: 3rem;
    padding-bottom: 1.2rem;
    background: #f7f9ff;
}

.events-ref-kicker {
    margin: 0;
    font-size: .8rem;
    font-weight: 800;
    text-transform: uppercase;
    letter-spacing: .08em;
    color: var(--accent);
}

.events-ref-title {
    margin: .45rem 0 .5rem;
    font-size: clamp(1.6rem, 2.4vw, 2.2rem);
    color: #111827;
}

.events-ref-subtitle {
    margin: 0;
    color: #475569;
    max-width: 66ch;
}

.events-ref-section {
    padding-top: 1.6rem;
    padding-bottom: 2rem;
}

.events-ref-past-wrap {
    background: #f8fbff;
}

.events-ref-block {
    background: #fff;
    border: 1px solid #e6ecff;
    border-radius: 16px;
    padding: 1.2rem;
    box-shadow: 0 10px 24px rgba(0, 31, 122, 0.06);
}

.events-ref-block h2 {
    margin: 0;
    color: #0f172a;
    font-size: 1.35rem;
}

.events-ref-intro {
    margin: .35rem 0 1rem;
    color: #64748b;
}

.events-ref-list {
    display: grid;
    gap: .85rem;
}

.events-ref-item {
    border: 1px solid #e8eeff;
    border-radius: 12px;
    background: #fff;
    padding: .9rem;
    display: grid;
    grid-template-columns: 190px 1fr;
    gap: .9rem;
}

.events-ref-date {
    border: 1px solid #dfe8ff;
    border-radius: 10px;
    background: #f4f8ff;
    color: #1e3a8a;
    padding: .65rem .75rem;
    display: inline-flex;
    align-items: center;
    gap: .5rem;
    font-weight: 700;
    font-size: .9rem;
    height: fit-content;
}

.events-ref-content h3 {
    margin: 0;
    color: #0f172a;
    font-size: 1.05rem;
}

.events-ref-content p {
    margin: .45rem 0 0;
    color: #475569;
    line-height: 1.58;
}

.events-ref-head {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: .6rem;
}

.events-ref-meta {
    font-size: .88rem;
    color: #334155;
}

.events-ref-meta i {
    color: var(--accent);
}

.events-ref-empty {
    border: 1px dashed #cfdcff;
    border-radius: 12px;
    padding: 1rem;
    color: #64748b;
    background: #f8faff;
    font-weight: 600;
    display: inline-flex;
    align-items: center;
    gap: .5rem;
}

.reveal {
    opacity: 0;
    transform: translateY(22px);
    transition: opacity .7s ease, transform .7s ease;
}

.reveal.visible {
    opacity: 1;
    transform: translateY(0);
}

.section-spacer {
    padding: 1rem 0 3rem;
}

.section-note {
    text-align: center;
    color: var(--muted);
    font-weight: 600;
    margin: 0;
}

@media (max-width: 1180px) {
    .brand-badge {
        width: 50px;
        height: 50px;
    }

    .nav-links {
        position: fixed;
        left: 0;
        right: 0;
        top: 78px;
        margin: 0 auto;
        width: min(92%, 500px);
        border-radius: 16px;
        display: grid;
        grid-template-columns: 1fr;
        gap: .3rem;
        padding: .65rem;
        transform: translateY(-16px);
        opacity: 0;
        visibility: hidden;
        pointer-events: none;
        transition: .2s ease;
    }

    .nav-links.open {
        transform: translateY(0);
        opacity: 1;
        visibility: visible;
        pointer-events: auto;
    }

    .nav-links a {
        justify-content: flex-start;
        border-radius: 10px;
    }

    .menu-toggle { display: grid; }

    .nav-actions .btn-outline { display: none; }
}

@media (max-width: 1020px) {
    .hero-grid { grid-template-columns: 1fr; }

    .hero {
        min-height: auto;
        padding: 3.4rem 0 3rem;
    }

    .hero-bg-overlay {
        background-size: min(56vw, 320px);
        background-position: center 18%;
        opacity: .12;
    }

    .program-grid,
    .gallery-grid,
    .about-grid,
    .contact-grid {
        grid-template-columns: 1fr 1fr;
    }

    .events-hero-grid {
        grid-template-columns: 1fr;
    }

    .events-list {
        grid-template-columns: 1fr;
    }

    .events-ref-item {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 560px) {
    .brand-badge {
        width: 44px;
        height: 44px;
        border-radius: 12px;
    }

    .brand-title { font-size: .92rem; }
    .brand-sub { display: none; }
    .btn-solid { padding: .6rem .82rem; font-size: .82rem; }
    .hero {
        padding-top: 2.8rem;
        padding-bottom: 2.8rem;
    }

    .hero-bg-overlay {
        background-size: 60vw;
        background-position: center 14%;
    }
    .stats-grid { grid-template-columns: 1fr; }

    .hero-points li { align-items: flex-start; }

    .hero-badges {
        gap: .4rem;
    }

    .hero-badges span {
        font-size: .74rem;
    }

    .program-grid,
    .gallery-grid,
    .about-grid,
    .contact-grid,
    .form-row {
        grid-template-columns: 1fr;
    }

    .events-hero-stats {
        grid-template-columns: 1fr;
    }

    .events-card-head {
        align-items: flex-start;
        flex-direction: column;
    }

    .events-feature-card .events-card-head {
        gap: .45rem;
    }

    .events-ref-block {
        padding: 1rem .85rem;
    }

    .section {
        padding: 3.25rem 0;
    }

    /* ensure hero images shrink on small screens */
    .hero-slide img {
        height: auto;
        max-height: 70vh;
    }
}

.home-page {
    --home-ink: #101b3d;
    --home-muted: #596781;
    --home-lime: #d7f36a;
}

.home-page .section {
    padding: clamp(3.5rem, 7vw, 6rem) 0;
}

.home-hero {
    position: relative;
    isolation: isolate;
    overflow: hidden;
    padding: clamp(3.5rem, 7vw, 6.5rem) 0 0;
    background:
        radial-gradient(ellipse at 82% 18%, rgba(215, 243, 106, .28), transparent 30%),
        linear-gradient(135deg, #f8faff 0%, #edf2ff 60%, #f5f8e9 100%);
}

.home-hero::before {
    position: absolute;
    z-index: -1;
    top: -13rem;
    right: -9rem;
    width: 34rem;
    height: 34rem;
    border: 1px solid rgba(0, 31, 122, .08);
    border-radius: 50%;
    content: "";
}

.home-hero-grid {
    display: grid;
    grid-template-columns: minmax(0, 1fr) minmax(0, .92fr);
    align-items: center;
    gap: clamp(2.5rem, 7vw, 6rem);
    padding-bottom: clamp(3rem, 6vw, 5rem);
}

.home-hero-copy {
    max-width: 620px;
}

.home-hero-kicker {
    display: inline-flex;
    align-items: center;
    gap: .55rem;
    margin: 0 0 1.1rem;
    color: var(--primary);
    font-size: .78rem;
    font-weight: 800;
    letter-spacing: .09em;
    text-transform: uppercase;
}

.home-hero-kicker i {
    color: #769d00;
}

.home-hero h1 {
    margin: 0;
    color: var(--home-ink);
    font-size: clamp(2.8rem, 4.5vw, 4.3rem);
    font-weight: 800;
    letter-spacing: -.055em;
    line-height: .99;
}

.home-hero h1 span {
    color: var(--primary);
}

.home-hero-description {
    max-width: 50ch;
    margin: 1.35rem 0 0;
    color: var(--home-muted);
    font-size: clamp(1rem, 1.5vw, 1.14rem);
    line-height: 1.75;
}

.home-hero-actions {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 1rem 1.35rem;
    margin-top: 1.8rem;
}

.home-primary-cta {
    min-height: 50px;
    padding: .8rem 1.15rem;
    border-radius: 12px;
    background: var(--primary);
    box-shadow: 0 10px 24px rgba(0, 31, 122, .2);
}

.home-primary-cta:hover {
    background: var(--primary-dark);
    transform: translateY(-2px);
}

.home-secondary-cta {
    color: var(--home-ink);
    font-size: .94rem;
    font-weight: 700;
    text-decoration: none;
}

.home-secondary-cta:hover {
    color: var(--accent);
}

.home-hero-note {
    display: flex;
    align-items: center;
    gap: .5rem;
    margin-top: 1.75rem;
    color: var(--home-muted);
    font-size: .87rem;
    font-weight: 600;
}

.home-hero-note i {
    color: #769d00;
}

.home-hero-visual {
    position: relative;
    min-width: 0;
    padding: 0 0 1.5rem 1.5rem;
}

.home-hero-visual::before {
    position: absolute;
    inset: 1.1rem 0 0 2.6rem;
    border: 1px solid rgba(0, 31, 122, .2);
    border-radius: 28px;
    content: "";
}

.home-hero-visual > img {
    position: relative;
    display: block;
    width: 100%;
    aspect-ratio: 1.18 / 1;
    border-radius: 24px;
    box-shadow: 0 24px 60px rgba(10, 25, 68, .2);
    object-fit: cover;
    object-position: center;
}

.home-hero-callout {
    position: absolute;
    right: -1rem;
    bottom: 0;
    display: flex;
    align-items: center;
    gap: .8rem;
    width: min(330px, 85%);
    padding: 1rem;
    border: 1px solid rgba(219, 228, 255, .9);
    border-radius: 16px;
    background: #fff;
    box-shadow: 0 14px 36px rgba(10, 25, 68, .16);
}

.home-callout-icon {
    display: grid;
    flex: 0 0 42px;
    width: 42px;
    height: 42px;
    place-items: center;
    border-radius: 12px;
    background: #eff6d9;
    color: #526e00;
}

.home-hero-callout strong,
.home-hero-callout small {
    display: block;
}

.home-hero-callout strong {
    color: var(--home-ink);
    font-size: .9rem;
}

.home-hero-callout small {
    margin-top: .2rem;
    color: var(--home-muted);
    font-size: .75rem;
    line-height: 1.45;
}

.home-pillars {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 1rem;
    padding-top: 1.3rem;
    padding-bottom: 1.3rem;
    border-top: 1px solid rgba(0, 31, 122, .12);
}

.home-pillars > div {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: .6rem;
    color: var(--home-ink);
    font-size: .86rem;
    font-weight: 700;
}

.home-pillars i {
    color: #688900;
}

.home-page .section-programs {
    background: #fff;
}

.home-page .program-grid {
    gap: 1.15rem;
    margin-top: 2rem;
}

.home-page .program-card {
    padding: 1.5rem;
    border-radius: 18px;
    box-shadow: 0 12px 30px rgba(0, 31, 122, .07);
}

.home-page .program-card .btn-link,
.home-news-card .btn-link {
    display: inline-flex;
    align-items: center;
    gap: .45rem;
    margin-top: 1rem;
    color: var(--primary);
    font-weight: 800;
    text-decoration: none;
}

.home-page .program-card .btn-link i,
.home-news-card .btn-link i {
    font-size: .78rem;
    transition: transform .2s ease;
}

.home-page .program-card .btn-link:hover i,
.home-news-card .btn-link:hover i {
    transform: translateX(3px);
}

.home-page .section-about {
    background: #eef3ff;
}

.home-news-grid {
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 1.2rem;
    align-items: stretch;
    margin-top: 2rem;
}

.home-news-card {
    display: flex;
    min-width: 0;
    flex-direction: column;
    overflow: hidden;
    border: 1px solid var(--border);
    border-radius: 18px;
    background: #fff;
    box-shadow: 0 10px 28px rgba(0, 31, 122, .08);
    text-align: left;
    transition: transform .22s ease, box-shadow .22s ease;
}

.home-news-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 18px 34px rgba(0, 31, 122, .13);
}

.home-news-image {
    overflow: hidden;
    background: #eef2fa;
}

.home-news-image img {
    display: block;
    width: 100%;
    height: 210px;
    object-fit: cover;
    transition: transform .35s ease;
}

.home-news-card:hover .home-news-image img {
    transform: scale(1.035);
}

.home-news-copy {
    display: flex;
    flex: 1;
    flex-direction: column;
    align-items: flex-start;
    padding: 1.25rem 1.3rem 1.35rem;
}

.home-news-copy h3 {
    margin: 0;
    color: var(--home-ink);
    font-size: 1.1rem;
    line-height: 1.35;
}

.home-news-copy p {
    margin: .65rem 0 0;
    color: var(--home-muted);
    font-size: .91rem;
    line-height: 1.6;
}

.home-news-copy .btn-link {
    margin-top: auto;
    padding: 1rem 0 0;
    border: 0;
}

.home-players-grid {
    grid-template-columns: repeat(auto-fit, minmax(150px, 1fr));
    gap: 1rem;
    margin-top: 2rem;
}

.home-player-card {
    min-width: 0;
    padding: 1.2rem .8rem;
    border: 1px solid var(--border);
    border-radius: 16px;
    background: #fff;
    box-shadow: 0 8px 22px rgba(0, 31, 122, .06);
    text-align: center;
    transition: transform .2s ease, box-shadow .2s ease;
}

.home-player-card:hover {
    transform: translateY(-3px);
    box-shadow: 0 14px 26px rgba(0, 31, 122, .12);
}

.home-player-card img {
    display: block;
    width: 104px;
    height: 104px;
    margin: 0 auto .8rem;
    border: 4px solid #eef3ff;
    border-radius: 50%;
    object-fit: cover;
}

.home-player-card h4 {
    overflow-wrap: anywhere;
    margin: 0;
    color: var(--home-ink);
    font-size: .92rem;
}

.home-honors-section {
    background: #fff;
}

.home-honors-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(230px, 1fr));
    gap: 1rem;
    margin-top: 2rem;
}

.home-honor-card {
    display: flex;
    min-height: 116px;
    align-items: center;
    gap: 1rem;
    padding: 1rem;
    border: 1px solid var(--border);
    border-radius: 16px;
    background: #f9fbff;
}

.home-honor-card img {
    flex: 0 0 76px;
    width: 76px;
    height: 76px;
    border-radius: 12px;
    object-fit: cover;
}

.home-honor-card span {
    color: #688900;
    font-size: .76rem;
    font-weight: 800;
    letter-spacing: .06em;
}

.home-honor-card h3 {
    margin: .25rem 0 0;
    color: var(--home-ink);
    font-size: 1rem;
    line-height: 1.35;
}

.home-page .section-gallery {
    background: #f2f5fc;
}

.home-gallery-grid {
    gap: 1rem;
    margin-top: 2rem;
}

.home-gallery-card {
    padding: 0;
}

.home-gallery-card img {
    height: 230px;
    transition: transform .3s ease;
}

.home-gallery-card:hover img {
    transform: scale(1.03);
}

.home-page .section-contact {
    background: linear-gradient(145deg, #eaf0ff, #f8faff);
}

.home-contact-grid {
    gap: 1.2rem;
}

.home-contact-grid .contact-card,
.home-contact-grid .contact-form {
    padding: clamp(1.2rem, 3vw, 2rem);
    border-radius: 18px;
}

.home-empty-state {
    grid-column: 1 / -1;
    margin: 0;
    padding: 1.4rem;
    border: 1px dashed #cbd6ef;
    border-radius: 14px;
    color: var(--home-muted);
    text-align: center;
}

.home-intro-section {
    padding: clamp(2.5rem, 5vw, 4rem) 0;
    background: #fff;
}

.home-intro-grid {
    display: grid;
    grid-template-columns: minmax(0, .8fr) minmax(0, 1.2fr);
    align-items: center;
    gap: 2rem;
}

.home-intro-grid h2 {
    margin: .45rem 0 0;
    color: var(--home-ink);
    font-size: clamp(1.5rem, 3vw, 2.2rem);
    line-height: 1.2;
}

.home-intro-grid > p {
    margin: 0;
    color: var(--home-muted);
    font-size: 1rem;
    line-height: 1.75;
}

.home-shortcuts {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: .8rem;
    margin-top: 2rem;
}

.home-shortcuts a {
    display: grid;
    grid-template-columns: auto minmax(0, 1fr) auto;
    align-items: center;
    gap: .7rem;
    min-height: 70px;
    padding: .8rem;
    border: 1px solid #e1e8f5;
    border-radius: 12px;
    background: #f9fbff;
    color: var(--home-ink);
    font-size: .85rem;
    font-weight: 750;
    text-decoration: none;
    transition: transform .2s ease, border-color .2s ease, box-shadow .2s ease;
}

.home-shortcuts a:hover {
    transform: translateY(-2px);
    border-color: #b6c8ef;
    box-shadow: 0 10px 24px rgba(0, 31, 122, .08);
}

.home-shortcuts a > i:first-child {
    color: #688900;
    font-size: 1.05rem;
}

.home-shortcuts a > i:last-child {
    color: #71809b;
    font-size: .8rem;
}

.home-featured-event {
    padding: 0 0 clamp(2.5rem, 5vw, 4rem);
    background: #fff;
}

.home-event-card {
    display: grid;
    grid-template-columns: minmax(0, 1fr) auto;
    align-items: center;
    gap: 2rem;
    padding: clamp(1.3rem, 3vw, 2.3rem);
    border: 1px solid rgba(215, 243, 106, .28);
    border-radius: 20px;
    background:
        radial-gradient(circle at 90% 15%, rgba(215, 243, 106, .13), transparent 32%),
        linear-gradient(120deg, #071346, #102d80);
    box-shadow: 0 16px 38px rgba(7, 19, 70, .14);
    color: #fff;
}

.home-event-copy .section-kicker {
    color: #d7f36a;
}

.home-event-copy h2 {
    margin: .55rem 0;
    font-size: clamp(1.5rem, 3vw, 2.1rem);
}

.home-event-copy > p:not(.section-kicker) {
    max-width: 62ch;
    margin: 0;
    color: #d1dcf4;
    line-height: 1.65;
}

.home-event-meta {
    display: flex;
    flex-wrap: wrap;
    gap: .6rem 1.2rem;
    margin-top: 1rem;
    color: #e3ebff;
    font-size: .86rem;
}

.home-event-meta span {
    display: inline-flex;
    align-items: center;
    gap: .45rem;
}

.home-event-meta i {
    color: #d7f36a;
}

.home-event-action {
    display: grid;
    justify-items: start;
    gap: .8rem;
}

.home-event-countdown,
.camp-countdown {
    margin: 0;
    color: #e6f79f;
    font-size: 1.1rem;
    font-weight: 800;
}

.home-event-action .btn-solid {
    background: #d7f36a;
    color: #101b3d;
}

.home-event-action .btn-solid:hover {
    background: #e6f79f;
}

.home-whatsapp-link {
    display: inline-flex;
    align-items: center;
    gap: .45rem;
    margin-top: .9rem;
    color: #17613a;
    font-weight: 800;
    text-decoration: none;
}

.home-whatsapp-link:hover {
    text-decoration: underline;
}

.academy-overview,
.academy-people-section {
    background: #f7f9fd;
}

.academy-overview-grid,
.initiative-card-grid,
.initiative-detail-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 1rem;
}

.academy-info-card,
.initiative-card,
.camp-learning-card,
.camp-event-card {
    min-width: 0;
    padding: clamp(1.2rem, 3vw, 1.8rem);
    border: 1px solid #e1e8f5;
    border-radius: 16px;
    background: #fff;
    box-shadow: 0 10px 26px rgba(0, 31, 122, .06);
}

.academy-info-card h2,
.initiative-card h2,
.camp-learning-card h2,
.camp-event-card h2 {
    margin: .85rem 0 .55rem;
    color: #101b3d;
    font-size: 1.2rem;
}

.academy-info-card p,
.initiative-card p,
.camp-event-card > p {
    margin: 0;
    color: #596781;
    line-height: 1.7;
}

.academy-info-icon {
    display: grid;
    width: 44px;
    height: 44px;
    place-items: center;
    border-radius: 13px;
    background: #edf3d8;
    color: #526e00;
}

.academy-development-note {
    margin-top: 2rem;
    padding: clamp(1.5rem, 4vw, 2.5rem);
    border-radius: 18px;
    background: linear-gradient(120deg, #071346, #102d80);
    color: #fff;
}

.academy-development-note .section-kicker {
    color: #d7f36a;
}

.academy-development-note h2 {
    margin: .5rem 0;
}

.academy-development-note p:not(.section-kicker) {
    max-width: 70ch;
    color: #d1dcf4;
    line-height: 1.7;
}

.academy-category {
    margin-top: 1.5rem;
}

.academy-category > h3 {
    margin: 0 0 .75rem;
    color: #102d80;
}

.academy-profile-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(245px, 1fr));
    gap: .9rem;
}

.academy-profile-card {
    display: flex;
    min-width: 0;
    align-items: flex-start;
    gap: .85rem;
    padding: 1rem;
    border: 1px solid #e1e8f5;
    border-radius: 14px;
    background: #fff;
}

.academy-profile-card img {
    flex: 0 0 68px;
    width: 68px;
    height: 68px;
    border-radius: 50%;
    background: #eef2fa;
    object-fit: cover;
}

.academy-profile-card h3,
.academy-profile-card h4 {
    margin: .15rem 0 .3rem;
    color: #101b3d;
    font-size: 1rem;
}

.academy-profile-card p {
    margin: .25rem 0 0;
    color: #596781;
    font-size: .86rem;
    line-height: 1.55;
    overflow-wrap: anywhere;
}

.academy-profile-card .academy-profile-role {
    color: #526e00;
    font-weight: 750;
}

.academy-empty {
    margin: 0;
    padding: .9rem 1rem;
    border: 1px dashed #cbd6ef;
    border-radius: 12px;
    color: #596781;
}

.academy-month-section {
    background: #fff;
}

.camp-detail-grid {
    display: grid;
    grid-template-columns: minmax(0, 1fr) minmax(0, .9fr);
    gap: 1.2rem;
}

.camp-event-card {
    border-color: #dce5f6;
}

.camp-event-image {
    display: block;
    width: 100%;
    max-height: 320px;
    margin: .8rem 0 1rem;
    border-radius: 12px;
    aspect-ratio: 16 / 9;
    object-fit: cover;
}

.camp-event-card > p {
    display: flex;
    align-items: flex-start;
    gap: .6rem;
    margin: .7rem 0;
}

.camp-event-card > p i {
    flex: 0 0 18px;
    margin-top: .25rem;
    color: #688900;
}

.camp-event-card .camp-countdown {
    color: #526e00;
}

.camp-learning-card ul {
    display: grid;
    gap: .85rem;
    margin: 1.2rem 0;
    padding: 0;
    list-style: none;
}

.camp-learning-card li {
    display: flex;
    align-items: flex-start;
    gap: .6rem;
    color: #34445e;
}

.camp-learning-card li i {
    margin-top: .2rem;
    color: #688900;
}

.camp-learning-card .camp-eligibility {
    padding-top: 1rem;
    border-top: 1px solid #e8edf5;
    color: #596781;
}

.camp-gallery-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(190px, 1fr));
    gap: .85rem;
}

.camp-gallery-grid figure {
    overflow: hidden;
    margin: 0;
    border: 1px solid #e1e8f5;
    border-radius: 14px;
    background: #fff;
}

.camp-gallery-grid img {
    display: block;
    width: 100%;
    height: 175px;
    object-fit: cover;
}

.camp-gallery-grid figcaption {
    padding: .7rem .8rem;
    color: #596781;
    font-size: .84rem;
}

.initiative-card-grid {
    grid-template-columns: repeat(3, minmax(0, 1fr));
}

.initiative-card {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
}

.initiative-card .btn-link {
    margin-top: auto;
    padding-top: 1.2rem;
}

.initiative-detail-grid {
    grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
}

.program-highlights {
    display: grid;
    gap: .45rem;
    margin: .9rem 0 0;
    padding: 0;
    color: #596781;
    font-size: .86rem;
    list-style: none;
}

.program-highlights li::before {
    margin-right: .5rem;
    color: #688900;
    content: "\2713";
    font-weight: 800;
}

.programs-pathway-card .programs-pathway-link {
    align-self: flex-start;
    margin-top: 1.2rem;
}

.registration-layout {
    display: grid;
    grid-template-columns: minmax(0, 1.35fr) minmax(240px, .65fr);
    align-items: start;
    gap: 1.2rem;
}

.registration-form,
.registration-aside {
    min-width: 0;
    padding: clamp(1.2rem, 3vw, 2rem);
    border: 1px solid #e1e8f5;
    border-radius: 16px;
    background: #fff;
    box-shadow: 0 10px 26px rgba(0, 31, 122, .06);
}

.registration-form {
    display: grid;
    gap: 1rem;
}

.registration-form-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 1rem;
}

.registration-type-options,
.registration-category-fieldset {
    min-width: 0;
    margin: 0;
    padding: 1rem;
    border: 1px solid #d6deea;
    border-radius: 10px;
}

.registration-type-options {
    display: flex;
    flex-wrap: wrap;
    gap: .75rem 1.25rem;
}

.registration-type-options legend,
.registration-category-fieldset legend {
    padding: 0 .35rem;
    color: #233e77;
    font-weight: 700;
}

.registration-type-options label {
    display: inline-flex;
    align-items: center;
    gap: .45rem;
    color: #34445e;
}

.registration-category-grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: .75rem;
}

.registration-category-fieldset small {
    display: block;
    margin-top: .75rem;
    color: #596781;
}

[data-registration-fields][hidden] {
    display: none;
}

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

.registration-form .website-content-field {
    display: grid;
    align-content: start;
    gap: .4rem;
    min-width: 0;
    color: #34445e;
    font-size: .84rem;
    font-weight: 700;
}

.registration-form .website-content-field input,
.registration-form .website-content-field select,
.registration-form .website-content-field textarea {
    box-sizing: border-box;
    width: 100%;
    min-height: 44px;
    padding: .65rem .75rem;
    border: 1px solid #d6deea;
    border-radius: 8px;
    background: #fbfcff;
    color: #17243b;
    font: inherit;
    font-weight: 400;
}

.registration-form .website-content-field textarea {
    min-height: 100px;
    resize: vertical;
}

.registration-consent {
    display: flex;
    align-items: flex-start;
    gap: .6rem;
    color: #596781;
    font-size: .84rem;
    line-height: 1.55;
}

.registration-consent input {
    flex: 0 0 auto;
    margin-top: .2rem;
}

.registration-form .btn {
    justify-self: start;
    min-height: 46px;
    cursor: pointer;
}

.registration-form .btn:disabled {
    opacity: .6;
    cursor: not-allowed;
}

.registration-message {
    margin: 0;
    padding: .8rem 1rem;
    border: 1px solid #b6e4cc;
    border-radius: 9px;
    background: #effaf4;
    color: #17613a;
    line-height: 1.5;
}

.registration-error {
    border-color: #f1c2c7;
    background: #fff4f4;
    color: #a3202e;
}

.registration-honeypot {
    position: absolute;
    width: 1px;
    height: 1px;
    overflow: hidden;
    clip: rect(0, 0, 0, 0);
    white-space: nowrap;
}

.registration-aside {
    background: linear-gradient(145deg, #071346, #102d80);
    color: #fff;
}

.registration-aside h2 {
    margin: 0 0 .7rem;
    font-size: 1.25rem;
}

.registration-aside p {
    color: #d1dcf4;
    font-size: .9rem;
    line-height: 1.65;
}

.registration-aside a:not(.btn) {
    color: #e6f79f;
    font-weight: 750;
}

.registration-aside .btn-solid {
    background: #d7f36a;
    color: #101b3d;
}

.footer-social-group {
    display: flex;
    align-items: center;
    gap: .8rem;
    color: #c4d2ef;
}

.footer-social-group > span {
    font-size: .78rem;
    font-weight: 700;
}

.footer-social {
    display: flex;
    align-items: center;
    gap: .55rem;
}

.footer-social a {
    display: grid;
    width: 36px;
    height: 36px;
    place-items: center;
    border: 1px solid rgba(255, 255, 255, .2);
    border-radius: 50%;
    color: #fff;
    text-decoration: none;
    transition: background .2s ease, border-color .2s ease;
}

.footer-social a:hover {
    border-color: #d7f36a;
    background: rgba(215, 243, 106, .16);
}

.footer-bottom {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 1rem;
}

.footer-bottom p {
    margin: 0;
}

@media (max-width: 820px) {
    .home-shortcuts {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

    .initiative-card-grid {
        grid-template-columns: 1fr 1fr;
    }

    .camp-detail-grid {
        grid-template-columns: 1fr;
    }

    .home-hero-grid {
        grid-template-columns: 1fr 1fr;
        gap: 2rem;
    }

    .home-hero h1 {
        font-size: clamp(2.5rem, 6vw, 3.8rem);
    }

    .home-hero-callout {
        right: -.5rem;
    }

    .home-news-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }
}

@media (max-width: 620px) {
    .registration-layout,
    .registration-form-grid {
        grid-template-columns: 1fr;
    }

    .registration-category-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

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

    .home-intro-grid {
        grid-template-columns: 1fr;
        gap: .8rem;
    }

    .home-shortcuts {
        grid-template-columns: 1fr;
    }

    .home-event-card {
        grid-template-columns: 1fr;
        gap: 1.25rem;
    }

    .home-event-meta {
        display: grid;
    }

    .academy-overview-grid,
    .initiative-card-grid {
        grid-template-columns: 1fr;
    }

    .footer-content {
        grid-template-columns: 1fr;
        gap: 1.8rem;
        padding-bottom: 1.8rem;
    }

    .footer-social-group {
        flex-direction: column;
        gap: .6rem;
    }

    .footer-bottom {
        justify-content: center;
        padding-top: 1rem;
        padding-bottom: .3rem;
    }

    .footer-bottom p {
        max-width: 42ch;
        line-height: 1.55;
    }

    .home-hero {
        padding-top: 3rem;
    }

    .home-hero-grid {
        grid-template-columns: 1fr;
        gap: 2.5rem;
    }

    .home-hero h1 {
        font-size: clamp(2.7rem, 12vw, 4rem);
    }

    .home-hero-visual {
        width: calc(100% - .5rem);
        margin-left: auto;
        padding-left: .7rem;
    }

    .home-hero-visual::before {
        inset: .7rem 0 0 1.4rem;
    }

    .home-hero-visual > img {
        aspect-ratio: 1.18 / .95;
    }

    .home-hero-callout {
        right: -.35rem;
        width: min(310px, 88%);
    }

    .home-pillars {
        grid-template-columns: 1fr;
        gap: .85rem;
        padding-top: 1.1rem;
        padding-bottom: 1.1rem;
    }

    .home-pillars > div {
        justify-content: flex-start;
    }

    .home-news-grid {
        grid-template-columns: 1fr;
    }

    .home-news-image img {
        height: 220px;
    }

    .footer-bottom {
        flex-direction: column;
        text-align: center;
    }
}

@media (prefers-reduced-motion: reduce) {
    .home-page *,
    .home-page *::before,
    .home-page *::after {
        scroll-behavior: auto !important;
        transition-duration: .01ms !important;
        animation-duration: .01ms !important;
    }
}

@media (max-width: 1180px) {
    .home-shortcuts {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

    .initiative-card-grid {
        grid-template-columns: 1fr 1fr;
    }

    .camp-detail-grid {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 620px) {
    .home-intro-grid {
        grid-template-columns: 1fr;
        gap: .8rem;
    }

    .home-shortcuts {
        grid-template-columns: 1fr;
    }

    .home-event-card {
        grid-template-columns: 1fr;
        gap: 1.25rem;
    }

    .home-event-meta {
        display: grid;
    }

    .academy-overview-grid,
    .initiative-card-grid {
        grid-template-columns: 1fr;
    }

    .footer-content {
        grid-template-columns: 1fr;
        gap: 1.8rem;
        padding-bottom: 1.8rem;
    }

    .footer-social-group {
        flex-direction: column;
        gap: .6rem;
    }

    .footer-bottom {
        justify-content: center;
        padding-top: 1rem;
        padding-bottom: .3rem;
    }

    .footer-bottom p {
        max-width: 42ch;
        line-height: 1.55;
    }
}

.gallery-feature {
    display: grid;
    grid-column: 1 / -1;
    grid-template-columns: minmax(0, 1.35fr) minmax(260px, .65fr);
    align-items: stretch;
    margin: 0;
    border-radius: 18px;
    background: #fff;
}

.gallery-feature img {
    width: 100%;
    height: 360px !important;
    object-fit: cover;
}

.gallery-feature figcaption {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    justify-content: center;
    padding: clamp(1.25rem, 3vw, 2.2rem);
}

.gallery-feature figcaption > span,
.home-gallery-card figcaption > span,
.programs-gallery-card figcaption > span {
    color: #688900;
    font-size: .72rem;
    font-weight: 800;
    letter-spacing: .09em;
    text-transform: uppercase;
}

.gallery-feature figcaption h3,
.home-gallery-card figcaption h3,
.programs-gallery-card figcaption h3 {
    margin: .55rem 0 0;
    color: #101b3d;
    font-size: clamp(1.35rem, 2vw, 1.8rem);
    letter-spacing: -.025em;
    line-height: 1.2;
}

.gallery-feature figcaption p,
.home-gallery-card figcaption p,
.programs-gallery-card figcaption p {
    margin: .7rem 0 0;
    color: #596781;
    font-size: .92rem;
    line-height: 1.65;
}

.gallery-page .gallery-feature:nth-child(7n + 1) {
    grid-column: 1 / -1;
}

.gallery-page .gallery-grid > .gallery-feature:nth-child(7n + 1) {
    grid-column: 1 / -1;
}

.gallery-page .gallery-feature img {
    height: 360px !important;
}

.home-gallery-grid,
.programs-gallery-grid {
    grid-template-columns: 1fr;
}

.home-gallery-card,
.programs-gallery-card {
    display: grid;
    grid-template-columns: minmax(0, 1.35fr) minmax(260px, .65fr);
    align-items: stretch;
    margin: 0;
    padding: 0;
    border-radius: 18px;
    background: #fff;
}

.home-gallery-card img,
.programs-gallery-card img {
    height: 340px;
    border-radius: 0;
    object-fit: cover;
}

.home-gallery-card figcaption,
.programs-gallery-card figcaption {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    justify-content: center;
    padding: clamp(1.25rem, 3vw, 2.2rem);
}

.home-gallery-card figcaption a {
    display: inline-flex;
    align-items: center;
    gap: .5rem;
    margin-top: 1.1rem;
    color: var(--primary);
    font-size: .86rem;
    font-weight: 800;
    text-decoration: none;
}

.home-gallery-card figcaption a:hover {
    color: var(--accent);
}

.home-gallery-card figcaption a i {
    font-size: .75rem;
    transition: transform .2s ease;
}

.home-gallery-card figcaption a:hover i {
    transform: translateX(3px);
}

.gallery-page .gallery-feature figcaption {
    background:
        radial-gradient(circle at 100% 0, rgba(80, 119, 205, .35), transparent 35%),
        linear-gradient(145deg, #071346, #102d80);
}

.gallery-page .gallery-feature figcaption > span {
    color: #d7f36a;
}

.gallery-page .gallery-feature figcaption h3 {
    color: #fff;
}

.gallery-page .gallery-feature figcaption p {
    color: rgba(255, 255, 255, .75);
}

@media (max-width: 700px) {
    .gallery-feature,
    .home-gallery-card,
    .programs-gallery-card {
        grid-template-columns: 1fr;
    }

    .gallery-feature img,
    .gallery-page .gallery-feature img,
    .home-gallery-card img,
    .programs-gallery-card img {
        height: 240px !important;
    }

    .gallery-feature figcaption,
    .home-gallery-card figcaption,
    .programs-gallery-card figcaption {
        padding: 1.25rem;
    }
}

.programs-pathways {
    background: #fff;
}

.programs-pathways .section-header {
    max-width: 680px;
}

.programs-pathway-grid {
    gap: 1.15rem;
    margin-top: 2rem;
}

.programs-pathway-card {
    display: flex;
    min-height: 290px;
    flex-direction: column;
    padding: 1.4rem;
    border-radius: 18px;
    box-shadow: 0 12px 30px rgba(0, 31, 122, .07);
    scroll-margin-top: 100px;
}

.programs-card-top {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: .7rem;
    margin-bottom: 1.25rem;
}

.programs-stage-number {
    color: #688900;
    font-size: .7rem;
    font-weight: 800;
    letter-spacing: .07em;
}

.programs-age-badge {
    padding: .35rem .65rem;
    border: 1px solid #dfe8ff;
    border-radius: 999px;
    background: #f3f6ff;
    color: var(--primary);
    font-size: .78rem;
    font-weight: 800;
}

.programs-pathway-card .program-icon {
    width: 50px;
    height: 50px;
    margin-bottom: .9rem;
    border-radius: 14px;
}

.programs-pathway-card h3 {
    margin-bottom: .55rem;
    font-size: 1.25rem;
}

.programs-pathway-card p {
    line-height: 1.7;
}

.programs-pathway-link {
    display: inline-flex;
    align-items: center;
    gap: .5rem;
    margin-top: auto;
    padding-top: 1.2rem;
    color: var(--primary);
    font-size: .86rem;
    font-weight: 800;
    text-decoration: none;
}

.programs-pathway-link i {
    font-size: .76rem;
    transition: transform .2s ease;
}

.programs-pathway-link:hover i {
    transform: translateX(3px);
}

.programs-page .section-about {
    background: #eef3ff;
}

.programs-page .about-card,
.programs-page .about-points {
    border-radius: 18px;
}

.programs-page .section-gallery {
    background: #f2f5fc;
}

.programs-gallery-grid {
    gap: 1rem;
    margin-top: 2rem;
}

.programs-gallery-card {
    padding: 0;
}

.programs-gallery-card img {
    height: 230px;
    transition: transform .3s ease;
}

.programs-gallery-card:hover img {
    transform: scale(1.03);
}

.programs-intro {
    position: relative;
    overflow: hidden;
    padding: clamp(2.5rem, 5vw, 4.5rem) 0;
    background:
        radial-gradient(circle at 88% 20%, rgba(80, 119, 205, .35), transparent 28%),
        linear-gradient(120deg, #071346, #102d80);
    color: #fff;
}

.programs-intro::after {
    position: absolute;
    right: -9rem;
    bottom: -16rem;
    width: 35rem;
    height: 35rem;
    border: 1px solid rgba(255, 255, 255, .1);
    border-radius: 50%;
    content: "";
    pointer-events: none;
}

.programs-intro-grid {
    position: relative;
    z-index: 1;
    display: grid;
    grid-template-columns: minmax(0, 1fr) minmax(300px, .7fr);
    align-items: center;
    gap: clamp(2rem, 6vw, 5rem);
}

.programs-intro-kicker {
    display: inline-flex;
    align-items: center;
    gap: .55rem;
    margin: 0 0 .85rem;
    color: #d7f36a;
    font-size: .76rem;
    font-weight: 800;
    letter-spacing: .1em;
    text-transform: uppercase;
}

.programs-intro h1 {
    margin: 0;
    color: #fff;
    font-size: clamp(2.2rem, 4.5vw, 3.8rem);
    letter-spacing: -.045em;
    line-height: 1.05;
}

.programs-intro-grid > div > p:last-child {
    max-width: 58ch;
    margin: 1rem 0 0;
    color: rgba(255, 255, 255, .78);
    font-size: 1rem;
    line-height: 1.7;
}

.programs-quick-nav {
    display: grid;
    gap: .4rem;
    padding: 1.1rem;
    border: 1px solid rgba(255, 255, 255, .19);
    border-radius: 16px;
    background: rgba(3, 14, 55, .28);
}

.programs-quick-nav > span {
    padding: 0 .6rem .45rem;
    color: rgba(255, 255, 255, .62);
    font-size: .68rem;
    font-weight: 800;
    letter-spacing: .1em;
    text-transform: uppercase;
}

.programs-quick-nav a {
    display: grid;
    grid-template-columns: 2rem 1fr auto 1rem;
    align-items: center;
    gap: .55rem;
    min-height: 44px;
    padding: .45rem .6rem;
    border-radius: 9px;
    color: #fff;
    font-size: .86rem;
    font-weight: 700;
    text-decoration: none;
    transition: background .2s ease;
}

.programs-quick-nav a:hover {
    background: rgba(255, 255, 255, .1);
}

.programs-quick-nav a > span {
    color: #d7f36a;
    font-size: .76rem;
}

.programs-quick-nav a strong {
    color: rgba(255, 255, 255, .68);
    font-size: .75rem;
}

.programs-quick-nav a i {
    color: rgba(255, 255, 255, .55);
    font-size: .7rem;
}

.programs-pathways {
    background: #f7f9ff;
}

.programs-pathway-grid {
    grid-template-columns: 1fr;
    gap: .8rem;
    margin-top: 2rem;
}

.programs-pathway-card {
    display: grid;
    grid-template-columns: 74px minmax(0, 1fr) auto;
    min-height: 0;
    align-items: center;
    gap: 1.2rem;
    padding: 1.2rem 1.4rem;
    border-radius: 14px;
    box-shadow: 0 6px 18px rgba(0, 31, 122, .06);
    scroll-margin-top: 100px;
    transition: border-color .2s ease, box-shadow .2s ease, transform .2s ease;
}

.programs-pathway-card:hover {
    transform: translateX(3px);
    border-color: #b7c8f2;
    box-shadow: 0 12px 26px rgba(0, 31, 122, .1);
}

.programs-stage-index {
    position: relative;
    display: grid;
    width: 64px;
    height: 64px;
    place-items: center;
    border-radius: 14px;
    background: #eef3ff;
    color: var(--primary);
}

.programs-stage-index > span {
    position: absolute;
    top: .3rem;
    left: .45rem;
    color: #6984c7;
    font-size: .62rem;
    font-weight: 800;
}

.programs-stage-index > i {
    font-size: 1.25rem;
}

.programs-stage-content {
    min-width: 0;
}

.programs-card-top {
    display: flex;
    align-items: center;
    gap: .8rem;
    margin-bottom: .2rem;
}

.programs-stage-number {
    color: #688900;
    font-size: .66rem;
    font-weight: 800;
    letter-spacing: .08em;
}

.programs-age-badge {
    padding: .25rem .55rem;
    border: 1px solid #dfe8ff;
    border-radius: 999px;
    background: #f3f6ff;
    color: var(--primary);
    font-size: .72rem;
    font-weight: 800;
}

.programs-pathway-card h3 {
    margin: .25rem 0;
    color: #0f172a;
    font-size: 1.16rem;
}

.programs-pathway-card p {
    margin: 0;
    color: #475569;
    font-size: .9rem;
    line-height: 1.55;
}

.programs-pathway-link {
    display: inline-flex;
    align-items: center;
    gap: .5rem;
    padding: .65rem .85rem;
    border: 1px solid #dbe4ff;
    border-radius: 9px;
    color: var(--primary);
    font-size: .8rem;
    font-weight: 800;
    text-decoration: none;
    white-space: nowrap;
}

.programs-pathway-link:hover {
    border-color: var(--primary);
    background: #f5f8ff;
}

.programs-pathway-link i {
    font-size: .7rem;
    transition: transform .2s ease;
}

.programs-pathway-link:hover i {
    transform: translateX(3px);
}

@media (max-width: 720px) {
    .programs-intro-grid {
        grid-template-columns: 1fr;
        gap: 1.6rem;
    }

    .programs-pathway-card {
        grid-template-columns: 58px minmax(0, 1fr);
        gap: .85rem;
        padding: 1rem;
    }

    .programs-stage-index {
        width: 54px;
        height: 54px;
    }

    .programs-pathway-link {
        grid-column: 2;
        justify-self: start;
        margin-top: .15rem;
    }
}

@media (max-width: 420px) {
    .programs-quick-nav {
        padding: .7rem;
    }

    .programs-quick-nav a {
        grid-template-columns: 1.5rem 1fr auto .8rem;
        gap: .35rem;
        font-size: .8rem;
    }

    .programs-card-top {
        flex-wrap: wrap;
        gap: .4rem;
    }
}

.site-header {
    background: rgba(0, 31, 122, .97);
    box-shadow: 0 3px 16px rgba(4, 17, 58, .12);
}

.site-header .navbar {
    min-height: 78px;
}

.site-header .brand:focus-visible,
.site-header .nav-links a:focus-visible,
.site-header .nav-actions a:focus-visible,
.menu-toggle:focus-visible,
.site-footer a:focus-visible,
.programs-page a:focus-visible,
.about-page a:focus-visible,
.events-page a:focus-visible,
.gallery-page a:focus-visible,
.contact-page a:focus-visible,
.news-article-page a:focus-visible {
    outline: 3px solid #d7f36a;
    outline-offset: 3px;
}

.login-page a:focus-visible,
.login-page button:focus-visible {
    outline: 3px solid #769d00;
    outline-offset: 3px;
}

.site-page-intro {
    position: relative;
    overflow: hidden;
    padding: clamp(3rem, 6vw, 5rem) 0;
    background:
        radial-gradient(circle at 88% 18%, rgba(80, 119, 205, .3), transparent 26%),
        linear-gradient(120deg, #071346, #102d80);
    color: #fff;
}

.site-page-intro::after {
    position: absolute;
    right: -9rem;
    bottom: -16rem;
    width: 35rem;
    height: 35rem;
    border: 1px solid rgba(255, 255, 255, .1);
    border-radius: 50%;
    content: "";
    pointer-events: none;
}

.site-page-intro-inner {
    position: relative;
    z-index: 1;
}

.site-page-kicker {
    display: inline-flex;
    align-items: center;
    gap: .55rem;
    margin: 0 0 .85rem;
    color: #d7f36a;
    font-size: .76rem;
    font-weight: 800;
    letter-spacing: .1em;
    text-transform: uppercase;
}

.site-page-title {
    max-width: 20ch;
    margin: 0;
    color: #fff;
    font-size: clamp(2.2rem, 4.5vw, 3.8rem);
    font-weight: 800;
    letter-spacing: -.045em;
    line-height: 1.05;
}

.site-page-lead {
    max-width: 64ch;
    margin: 1rem 0 0;
    color: rgba(255, 255, 255, .78);
    font-size: 1rem;
    line-height: 1.7;
}

.about-page .section-about {
    background: #f3f6fd;
}

.about-page .about-grid {
    gap: 1.2rem;
}

.about-page .about-card,
.about-page .about-points {
    padding: clamp(1.3rem, 3vw, 2rem);
    border-radius: 18px;
    box-shadow: 0 14px 34px rgba(0, 31, 122, .07);
}

.about-page .about-card h2 {
    max-width: 18ch;
    font-size: clamp(1.65rem, 3vw, 2.25rem);
    line-height: 1.16;
}

.about-page .about-item {
    padding: .9rem;
    border-color: #e6ecf8;
    background: #fbfcff;
}

.about-page main > .section:last-child {
    background: #fff;
}

.about-page .program-grid {
    margin-top: 1.5rem;
}

.about-page .program-card {
    min-height: 185px;
    border-radius: 16px;
}

.events-page .events-ref-section {
    padding-top: 2rem;
    padding-bottom: 2rem;
    background: #f6f8fc;
}

.events-page .events-ref-past-wrap {
    background: #edf2fb;
}

.events-page .events-ref-block {
    padding: clamp(1rem, 3vw, 1.7rem);
    border-color: #e0e7f2;
    border-radius: 18px;
    box-shadow: 0 12px 30px rgba(14, 33, 75, .06);
}

.events-page .events-ref-block h2 {
    display: flex;
    align-items: center;
    gap: .65rem;
    font-size: 1.35rem;
}

.events-page .events-ref-block h2 i {
    color: #688900;
    font-size: 1.05rem;
}

.events-page .events-ref-item {
    grid-template-columns: 170px minmax(0, 1fr);
    gap: 1.1rem;
    padding: 1rem;
    border-color: #e5eaf2;
    border-radius: 14px;
    box-shadow: 0 4px 12px rgba(14, 33, 75, .035);
    transition: border-color .2s ease, box-shadow .2s ease, transform .2s ease;
}

.events-page .events-ref-item:hover {
    transform: translateY(-2px);
    border-color: #c6d2e7;
    box-shadow: 0 10px 24px rgba(14, 33, 75, .08);
}

.events-page .events-ref-date {
    border-color: #e0e7f2;
    border-radius: 11px;
    background: #f5f7fb;
    color: #233e77;
}

.events-page .events-ref-head h3 {
    font-size: 1.08rem;
}

.events-page .events-ref-meta {
    color: #475569;
    line-height: 1.6;
}

.events-page .events-ref-empty {
    display: flex;
    min-height: 110px;
    justify-content: center;
    border-color: #d6deeb;
    background: #fafbfe;
}

.events-page .events-note {
    margin-top: 1rem;
    border-color: #e0e7f2;
    background: #f7f9fc;
}

.gallery-page .section-gallery {
    background: #f4f6fb;
}

.gallery-page .gallery-grid {
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 1rem;
    margin-top: 1.7rem;
}

.gallery-page .gallery-photo {
    position: relative;
    min-width: 0;
    margin: 0;
    border-color: #e1e7f2;
    border-radius: 14px;
    box-shadow: 0 8px 20px rgba(14, 33, 75, .07);
}

.gallery-page .gallery-photo img {
    display: block;
    height: 220px;
    transition: transform .35s ease;
}

.gallery-page .gallery-photo:hover img {
    transform: scale(1.04);
}

.gallery-page .gallery-photo:nth-child(7n + 1) {
    grid-column: span 2;
}

.gallery-page .gallery-photo:nth-child(7n + 1) img {
    height: 290px;
}

.contact-page .section-contact {
    padding-top: clamp(2.5rem, 5vw, 4rem);
    padding-bottom: clamp(2.5rem, 5vw, 4rem);
    background: #f4f6fb;
}

.contact-page .contact-grid {
    grid-template-columns: minmax(260px, .8fr) minmax(0, 1.2fr);
    align-items: stretch;
    gap: 1.2rem;
}

.contact-page .contact-card,
.contact-page .contact-form {
    padding: clamp(1.3rem, 3vw, 2rem);
    border-color: #e3e8f1;
    border-radius: 18px;
    box-shadow: 0 12px 32px rgba(14, 33, 75, .07);
}

.contact-page .contact-card {
    background:
        radial-gradient(circle at 100% 0, rgba(80, 119, 205, .35), transparent 36%),
        linear-gradient(145deg, #071346, #102d80);
    color: #fff;
}

.contact-page .contact-card .section-kicker {
    color: #d7f36a;
}

.contact-page .contact-card h2 {
    color: #fff;
    font-size: clamp(1.55rem, 2.7vw, 2rem);
    line-height: 1.2;
}

.contact-page .contact-card > p:not(.section-kicker) {
    color: rgba(255, 255, 255, .75);
}

.contact-page .contact-list {
    gap: .7rem;
    margin-top: 1.5rem;
}

.contact-page .contact-list li {
    min-width: 0;
    padding: .75rem;
    border: 1px solid rgba(255, 255, 255, .15);
    border-radius: 11px;
    background: rgba(255, 255, 255, .07);
    color: #fff;
}

.contact-page .contact-list i {
    flex: 0 0 18px;
    color: #d7f36a;
}

.contact-page .contact-list a {
    min-width: 0;
    color: #fff;
    overflow-wrap: anywhere;
    text-decoration: none;
}

.contact-page .contact-list a:hover {
    text-decoration: underline;
}

.contact-page .contact-form {
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.contact-page .form-group {
    gap: .45rem;
    margin-bottom: .9rem;
}

.contact-page .form-group label {
    color: #24314c;
    font-size: .82rem;
    font-weight: 700;
}

.contact-page .form-group input,
.contact-page .form-group textarea {
    min-height: 46px;
    border-color: #dce3ef;
    border-radius: 9px;
    background: #fbfcff;
    transition: border-color .2s ease, box-shadow .2s ease;
}

.contact-page .form-group textarea {
    min-height: 132px;
}

.contact-page .form-group input:focus,
.contact-page .form-group textarea:focus {
    border-color: #4667b1;
    outline: 0;
    box-shadow: 0 0 0 3px rgba(70, 103, 177, .12);
}

.contact-page .contact-form .btn {
    align-self: flex-start;
    min-height: 44px;
    cursor: pointer;
}

.news-article-page {
    background: #f4f6fb;
}

.news-article-page .section-news-article {
    padding: clamp(2rem, 5vw, 4rem) 0;
}

.news-article-container {
    max-width: 900px;
}

.news-article-card {
    overflow: hidden;
    border: 1px solid #e1e7f2;
    border-radius: 18px;
    background: #fff;
    box-shadow: 0 16px 40px rgba(14, 33, 75, .08);
}

.news-article-image {
    display: grid;
    min-height: 220px;
    max-height: 460px;
    place-items: center;
    overflow: hidden;
    background: #e9edf5;
}

.news-article-image img {
    display: block;
    width: 100%;
    max-height: 460px;
    object-fit: cover;
}

.news-article-body {
    max-width: 760px;
    margin: 0 auto;
    padding: clamp(1.3rem, 4vw, 3rem);
}

.news-article-date {
    display: flex;
    align-items: center;
    gap: .45rem;
    margin: 0 0 .85rem;
    color: #526484;
    font-size: .82rem;
    font-weight: 700;
}

.news-article-date i {
    color: #688900;
}

.news-article-body h1 {
    margin: 0;
    color: #101b3d;
    font-size: clamp(1.8rem, 4vw, 2.8rem);
    letter-spacing: -.035em;
    line-height: 1.15;
    overflow-wrap: anywhere;
}

.news-article-content {
    margin-top: 1.4rem;
    color: #3e4b62;
    font-size: 1rem;
    line-height: 1.85;
    overflow-wrap: anywhere;
}

.news-article-actions {
    display: flex;
    align-items: center;
    gap: .65rem;
    margin-top: 1.8rem;
    padding-top: 1rem;
    border-top: 1px solid #e8ecf3;
}

.news-action-button,
.news-share-option {
    display: inline-flex;
    align-items: center;
    gap: .5rem;
    min-height: 40px;
    padding: .55rem .8rem;
    border: 1px solid #e0e6f0;
    border-radius: 9px;
    background: #fff;
    color: #263757;
    font: inherit;
    font-size: .84rem;
    font-weight: 700;
    cursor: pointer;
}

.news-action-button:hover,
.news-share-option:hover {
    border-color: #b9c8e3;
    background: #f6f8fc;
}

.news-share {
    position: relative;
}

.news-share-options {
    position: absolute;
    z-index: 5;
    bottom: calc(100% + .5rem);
    left: 0;
    display: grid;
    min-width: 175px;
    gap: .35rem;
    padding: .5rem;
    border: 1px solid #e1e7f2;
    border-radius: 12px;
    background: #fff;
    box-shadow: 0 12px 30px rgba(14, 33, 75, .14);
}

.news-share-options[hidden] {
    display: none;
}

.news-share-option {
    width: 100%;
    border-color: transparent;
    text-align: left;
}

.related-news {
    margin-top: 2.5rem;
}

.related-news-heading {
    display: flex;
    align-items: end;
    justify-content: space-between;
    margin-bottom: 1rem;
}

.related-news-heading h2 {
    margin: .35rem 0 0;
    color: #101b3d;
    font-size: 1.5rem;
}

.related-news-grid {
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 1rem;
}

.related-news-card {
    display: flex;
    min-width: 0;
    flex-direction: column;
    overflow: hidden;
    border: 1px solid #e1e7f2;
    border-radius: 14px;
    background: #fff;
    box-shadow: 0 8px 20px rgba(14, 33, 75, .06);
}

.related-news-image {
    display: grid;
    height: 150px;
    place-items: center;
    overflow: hidden;
    background: #edf1f8;
    color: #91a0b7;
    font-size: 2rem;
}

.related-news-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.related-news-copy {
    display: flex;
    flex: 1;
    flex-direction: column;
    align-items: flex-start;
    padding: 1rem;
}

.related-news-copy h3 {
    margin: 0;
    color: #172541;
    font-size: 1rem;
    line-height: 1.4;
}

.related-news-copy p {
    color: #596781;
    font-size: .86rem;
    line-height: 1.55;
}

.related-news-copy .btn-link {
    margin-top: auto;
    padding: .5rem 0 0;
    color: var(--primary);
    text-decoration: none;
}

.news-empty-state,
.news-not-found {
    padding: 1.5rem;
    border: 1px dashed #cbd6e8;
    border-radius: 14px;
    color: #596781;
    text-align: center;
}

.news-not-found {
    margin-top: 2rem;
    background: #fff;
}

.news-not-found > i {
    color: #8192ae;
    font-size: 2rem;
}

.news-not-found h1 {
    color: #101b3d;
}

.login-page {
    min-height: 100vh;
    background:
        radial-gradient(circle at 15% 15%, rgba(215, 243, 106, .12), transparent 25%),
        radial-gradient(circle at 85% 85%, rgba(54, 95, 190, .35), transparent 32%),
        linear-gradient(140deg, #071346, #102d80);
}

.login-shell {
    display: grid;
    min-height: 100vh;
    place-items: center;
    padding: 1.5rem;
}

.login-container {
    width: min(100%, 430px);
    padding: clamp(1.5rem, 5vw, 2.5rem);
    border: 1px solid rgba(255, 255, 255, .7);
    border-radius: 20px;
    background: #fff;
    box-shadow: 0 28px 80px rgba(0, 0, 0, .24);
}

.login-brand {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: .7rem;
    color: #10214b;
    font-size: .92rem;
    font-weight: 800;
    text-decoration: none;
}

.login-brand img {
    width: 52px;
    height: 52px;
    object-fit: contain;
}

.login-brand small {
    display: block;
    margin-top: .15rem;
    color: #66738a;
    font-size: .72rem;
    font-weight: 600;
}

.login-title {
    margin-top: 1.7rem;
    color: #101b3d;
    font-size: 1.65rem;
    font-weight: 800;
    letter-spacing: -.03em;
    text-align: center;
}

.login-description {
    margin: .45rem 0 1.5rem;
    color: #66738a;
    font-size: .9rem;
    text-align: center;
}

.login-error {
    display: flex;
    align-items: center;
    gap: .55rem;
    margin-bottom: 1rem;
    padding: .7rem .8rem;
    border: 1px solid #fecaca;
    border-radius: 9px;
    background: #fff1f2;
    color: #b42332;
    font-size: .86rem;
    font-weight: 600;
}

.login-container form {
    display: grid;
    gap: .9rem;
}

.login-container .input-group {
    display: grid;
    gap: .4rem;
    margin: 0;
}

.login-container .input-group label {
    color: #283650;
    font-size: .82rem;
    font-weight: 700;
}

.login-input-wrap {
    position: relative;
}

.login-input-wrap > i {
    position: absolute;
    top: 50%;
    left: .9rem;
    color: #8290a8;
    font-size: .9rem;
    pointer-events: none;
    transform: translateY(-50%);
}

.login-input-wrap input {
    width: 100%;
    height: 48px;
    padding: 0 2.8rem;
    border: 1px solid #d8dfeb;
    border-radius: 9px;
    background: #fbfcff;
    color: #172541;
    font: inherit;
    font-size: .9rem;
}

.login-input-wrap input:focus {
    border-color: #4667b1;
    outline: 0;
    box-shadow: 0 0 0 3px rgba(70, 103, 177, .12);
}

.login-password-toggle {
    position: absolute;
    top: 50%;
    right: .55rem;
    display: grid;
    width: 34px;
    height: 34px;
    place-items: center;
    border: 0;
    border-radius: 7px;
    background: transparent;
    color: #66738a;
    cursor: pointer;
    transform: translateY(-50%);
}

.login-password-toggle:hover {
    background: #edf1f8;
}

.login-btn {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: .55rem;
    width: 100%;
    min-height: 48px;
    margin-top: .25rem;
    border: 0;
    border-radius: 9px;
    background: var(--primary);
    box-shadow: 0 8px 18px rgba(0, 31, 122, .18);
    color: #fff;
    font: inherit;
    font-size: .92rem;
    font-weight: 800;
    cursor: pointer;
    transition: background .2s ease, transform .2s ease;
}

.login-btn:hover {
    transform: translateY(-1px);
    background: var(--primary-dark);
}

.login-back-link {
    display: flex;
    justify-content: center;
    gap: .45rem;
    margin-top: 1.2rem;
    color: #425675;
    font-size: .82rem;
    font-weight: 600;
    text-decoration: none;
}

.login-back-link:hover {
    color: var(--primary);
}

.login-container .footer {
    margin-top: 1.5rem;
    padding-top: 1rem;
    border-top: 1px solid #edf0f5;
    color: #8490a4;
    font-size: .76rem;
    text-align: center;
}

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

    .contact-page .contact-grid {
        grid-template-columns: 1fr;
    }

    .related-news-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }
}

@media (max-width: 560px) {
    .site-page-intro {
        padding: 2.6rem 0;
    }

    .site-page-title {
        font-size: clamp(2rem, 10vw, 3rem);
    }

    .events-page .events-ref-item {
        grid-template-columns: 1fr;
        gap: .7rem;
    }

    .events-page .events-ref-date {
        width: fit-content;
    }

    .events-page .events-ref-head {
        align-items: flex-start;
        flex-direction: column;
    }

    .gallery-page .gallery-grid {
        gap: .65rem;
    }

    .gallery-page .gallery-photo:nth-child(7n + 1) {
        grid-column: span 2;
    }

    .gallery-page .gallery-photo img {
        height: 155px;
    }

    .gallery-page .gallery-photo:nth-child(7n + 1) img {
        height: 210px;
    }

    .contact-page .form-row {
        grid-template-columns: 1fr;
        gap: 0;
    }

    .related-news-grid {
        grid-template-columns: 1fr;
    }

    .news-article-page .section-news-article {
        padding: 1.3rem 0 2rem;
    }

    .news-article-card {
        border-radius: 13px;
    }

    .news-article-image {
        min-height: 170px;
        max-height: 280px;
    }

    .news-article-image img {
        max-height: 280px;
    }

    .news-article-body {
        padding: 1.2rem;
    }

    .news-article-content {
        font-size: .95rem;
    }
}

@media (prefers-reduced-motion: reduce) {
    .about-page *,
    .events-page *,
    .gallery-page *,
    .contact-page *,
    .news-article-page *,
    .login-page *,
    .about-page *::before,
    .events-page *::before,
    .gallery-page *::before,
    .contact-page *::before,
    .news-article-page *::before,
    .login-page *::before,
    .about-page *::after,
    .events-page *::after,
    .gallery-page *::after,
    .contact-page *::after,
    .news-article-page *::after,
    .login-page *::after {
        scroll-behavior: auto !important;
        transition-duration: .01ms !important;
        animation-duration: .01ms !important;
    }
}
