/* Sportisa Association — public site styles */
:root {
  --ink: #0b1b33;
  --navy: #11284d;
  --navy-2: #1d3f73;
  --saffron: #ff7a1a;
  --saffron-d: #e0620a;
  --green: #15925f;
  --green-d: #0e7048;
  --sand: #f7f4ef;
  --paper: #ffffff;
  --muted: #5b6678;
  --line: #e4e7ee;
  --radius: 14px;
  --shadow: 0 1px 2px rgba(11, 27, 51, .06), 0 8px 28px rgba(11, 27, 51, .08);
  --display: "Barlow Condensed", "Arial Narrow", system-ui, sans-serif;
  --body: "Inter", system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body { margin: 0; font-family: var(--body); color: var(--ink); background: var(--paper); line-height: 1.65; font-size: 16.5px; }
img, svg { max-width: 100%; display: block; }
a { color: var(--navy-2); text-underline-offset: 3px; }
a:hover { color: var(--saffron-d); }
h1, h2, h3, h4 { font-family: var(--display); line-height: 1.08; letter-spacing: .005em; margin: 0 0 .5em; color: var(--ink); }
h1 { font-size: clamp(2.4rem, 5.5vw, 4.2rem); font-weight: 800; }
h2 { font-size: clamp(1.9rem, 3.6vw, 2.8rem); font-weight: 700; }
h3 { font-size: 1.5rem; font-weight: 700; }
p { margin: 0 0 1em; }
.container { width: min(1180px, 100% - 32px); margin-inline: auto; }
.narrow { width: min(780px, 100% - 32px); }
.center { text-align: center; }
.icon { width: 1.25em; height: 1.25em; flex: none; }
.skip { position: absolute; left: -999px; }
.skip:focus { left: 12px; top: 12px; z-index: 99; background: #fff; padding: 8px 14px; border-radius: 8px; }
:focus-visible { outline: 3px solid var(--saffron); outline-offset: 2px; }

.kicker { font-family: var(--display); font-weight: 700; text-transform: uppercase; letter-spacing: .16em; font-size: .95rem; color: var(--saffron-d); margin-bottom: .6rem; display: inline-flex; align-items: center; gap: .6rem; }
.kicker::before { content: ""; width: 26px; height: 3px; background: currentColor; border-radius: 2px; }
.center .kicker::before { display: none; }
.lead { font-size: 1.15rem; color: var(--muted); max-width: 62ch; }
.center .lead { margin-inline: auto; }
.display { font-size: clamp(2.6rem, 6vw, 4.6rem); }

/* Buttons */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: .55rem; font-family: var(--body); font-weight: 600; font-size: 1rem; padding: .85rem 1.4rem; border-radius: 999px; border: 2px solid transparent; text-decoration: none; cursor: pointer; transition: transform .15s ease, background .15s ease, color .15s ease, border-color .15s ease; line-height: 1.2; }
.btn:hover { transform: translateY(-1px); }
.btn .icon { width: 1.1em; height: 1.1em; }
.btn-primary { background: var(--saffron); color: #fff; }
.btn-primary:hover { background: var(--saffron-d); color: #fff; }
.btn-dark { background: var(--navy); color: #fff; }
.btn-dark:hover { background: var(--ink); color: #fff; }
.btn-ghost { border-color: rgba(255, 255, 255, .5); color: #fff; }
.btn-ghost:hover { border-color: #fff; color: #fff; background: rgba(255, 255, 255, .08); }
.btn-outline { border-color: var(--navy); color: var(--navy); }
.btn-outline:hover { background: var(--navy); color: #fff; }
.btn-sm { padding: .55rem 1.05rem; font-size: .92rem; }
.btn-block { width: 100%; }
.link-arrow { display: inline-flex; align-items: center; gap: .4rem; font-weight: 600; text-decoration: none; color: var(--navy-2); }
.link-arrow .icon { transition: transform .15s; width: 1.05em; height: 1.05em; }
.link-arrow:hover .icon { transform: translateX(3px); }

/* Announcement */
.announce { background: var(--ink); color: #fff; font-size: .92rem; }
.announce-inner { display: flex; align-items: center; justify-content: center; gap: .7rem; padding: .55rem 0; text-align: center; }
.announce a { color: #fff; text-decoration: none; font-weight: 500; }
.announce a:hover { color: #ffc28f; }
.pulse { width: 9px; height: 9px; border-radius: 50%; background: var(--saffron); box-shadow: 0 0 0 0 rgba(255, 122, 26, .7); animation: pulse 2s infinite; flex: none; }
@keyframes pulse { 70% { box-shadow: 0 0 0 10px rgba(255, 122, 26, 0); } 100% { box-shadow: 0 0 0 0 rgba(255, 122, 26, 0); } }

/* Header */
.site-header { position: sticky; top: 0; z-index: 40; background: rgba(255, 255, 255, .94); backdrop-filter: saturate(1.4) blur(10px); border-bottom: 1px solid var(--line); }
.header-inner { display: flex; align-items: center; justify-content: space-between; gap: 1rem; min-height: 74px; }
.brand { display: flex; align-items: center; gap: .7rem; text-decoration: none; color: var(--ink); }
.brand-mark { width: 44px; height: 44px; }
.brand-logo { max-height: 52px; width: auto; }
.brand-text { display: flex; flex-direction: column; line-height: 1; }
.brand-text strong { font-family: var(--display); font-size: 1.65rem; font-weight: 800; letter-spacing: .02em; text-transform: uppercase; }
.brand-text small { font-size: .72rem; letter-spacing: .22em; text-transform: uppercase; color: var(--muted); margin-top: 3px; font-weight: 600; }
.brand-light { color: #fff; }
.brand-light small { color: #9fb0cc; }
.site-nav { display: flex; align-items: center; gap: 1.2rem; }
.site-nav ul { list-style: none; margin: 0; padding: 0; display: flex; gap: .2rem; }
.site-nav ul a { display: block; padding: .5rem .7rem; text-decoration: none; color: var(--ink); font-weight: 500; font-size: .96rem; border-radius: 8px; }
.site-nav ul a:hover { background: var(--sand); color: var(--ink); }
.site-nav ul a.active { color: var(--saffron-d); }
.nav-toggle { display: none; background: none; border: 0; padding: .4rem; color: var(--ink); cursor: pointer; }
.nav-toggle .icon { width: 28px; height: 28px; }

@media (max-width: 1080px) {
  .nav-toggle { display: block; }
  .site-nav { position: fixed; inset: 0 0 0 auto; width: min(340px, 86vw); background: #fff; flex-direction: column; align-items: stretch; padding: 90px 22px 24px; box-shadow: -10px 0 40px rgba(0, 0, 0, .15); transform: translateX(105%); transition: transform .25s ease; z-index: 50; overflow-y: auto; }
  .site-nav.open { transform: none; }
  .site-nav ul { flex-direction: column; }
  .site-nav ul a { padding: .8rem .6rem; font-size: 1.05rem; border-bottom: 1px solid var(--line); border-radius: 0; }
  .nav-toggle[aria-expanded="true"] { position: relative; z-index: 60; }
  body.nav-open::after { content: ""; position: fixed; inset: 0; background: rgba(11, 27, 51, .4); z-index: 45; }
}

.notice { margin: 1rem 0; padding: .9rem 1.1rem; border-radius: 10px; font-weight: 500; }
.notice-success { background: #e7f6ef; color: #0b5a3a; border: 1px solid #bfe6d3; }
.notice-error { background: #fdecec; color: #8a1c1c; border: 1px solid #f5c2c2; }

/* Hero */
.hero { position: relative; background: var(--navy); color: #fff; overflow: hidden; isolation: isolate; }
.hero-bg { position: absolute; inset: 0; z-index: -1; }
.hero-bg img { width: 100%; height: 100%; object-fit: cover; }
.hero-bg::after { content: ""; position: absolute; inset: 0; background: linear-gradient(100deg, rgba(11, 27, 51, .95) 0%, rgba(11, 27, 51, .78) 50%, rgba(11, 27, 51, .45) 100%); }
.hero-lanes { position: absolute; right: -260px; bottom: -420px; width: 1100px; height: 1100px; z-index: -1; opacity: .9; pointer-events: none; }
.hero-inner { display: grid; grid-template-columns: 1.25fr .9fr; gap: 3rem; align-items: center; padding: clamp(3.5rem, 8vw, 6.5rem) 0; }
.hero .kicker { color: #ffb37a; }
.hero h1 { color: #fff; text-transform: uppercase; margin-bottom: .35em; }
.hero h1 em { font-style: normal; color: var(--saffron); }
.hero p.lead { color: #c9d4e6; }
.hero-actions { display: flex; flex-wrap: wrap; gap: .8rem; margin-top: 1.8rem; }
.event-card { background: rgba(255, 255, 255, .06); border: 1px solid rgba(255, 255, 255, .16); border-radius: 20px; padding: 1.6rem; backdrop-filter: blur(6px); }
.event-card .tag { display: inline-block; background: var(--saffron); color: #fff; font-weight: 700; font-size: .75rem; letter-spacing: .12em; text-transform: uppercase; padding: .3rem .7rem; border-radius: 999px; margin-bottom: 1rem; }
.event-card h2 { color: #fff; font-size: 2rem; text-transform: uppercase; }
.event-meta { list-style: none; padding: 0; margin: 0 0 1.2rem; display: grid; gap: .45rem; color: #d6deeb; }
.event-meta li { display: flex; align-items: center; gap: .55rem; }
.event-meta .icon { color: var(--saffron); }
.countdown { display: grid; grid-template-columns: repeat(4, 1fr); gap: .5rem; margin: 1.2rem 0 1.4rem; }
.countdown div { background: rgba(255, 255, 255, .08); border-radius: 12px; padding: .7rem .3rem; text-align: center; }
.countdown b { display: block; font-family: var(--display); font-size: 2.1rem; line-height: 1; font-weight: 800; color: #fff; font-variant-numeric: tabular-nums; }
.countdown span { font-size: .72rem; letter-spacing: .14em; text-transform: uppercase; color: #9fb0cc; }
.countdown.light div { background: var(--sand); }
.countdown.light b { color: var(--ink); }
.countdown.light span { color: var(--muted); }

@media (max-width: 900px) { .hero-inner { grid-template-columns: 1fr; gap: 2rem; } }

/* Stats */
.stats { background: var(--saffron); color: #fff; }
.stats-grid { display: grid; grid-template-columns: repeat(4, 1fr); }
.stat { padding: 1.6rem 1.2rem; border-left: 1px solid rgba(255, 255, 255, .28); }
.stat:first-child { border-left: 0; }
.stat b { display: block; font-family: var(--display); font-size: 2.5rem; font-weight: 800; line-height: 1; text-transform: uppercase; }
.stat span { font-size: .95rem; opacity: .95; }
@media (max-width: 760px) { .stats-grid { grid-template-columns: 1fr 1fr; } .stat:nth-child(3) { border-left: 0; } .stat { border-top: 1px solid rgba(255,255,255,.28); } .stat:nth-child(-n+2) { border-top: 0; } }

/* Sections */
.section { padding: clamp(3.5rem, 7vw, 6rem) 0; }
.section-sand { background: var(--sand); }
.section-dark { background: var(--ink); color: #d6deeb; }
.section-dark h2, .section-dark h3 { color: #fff; }
.section-head { display: flex; justify-content: space-between; align-items: flex-end; gap: 1.5rem; margin-bottom: 2.4rem; flex-wrap: wrap; }
.section-head h2 { margin: 0; max-width: 20ch; }
.split { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(2rem, 5vw, 4.5rem); align-items: center; }
.split .media-frame { border-radius: 22px; overflow: hidden; aspect-ratio: 4 / 3; box-shadow: var(--shadow); }
.split .media-frame > * { width: 100%; height: 100%; object-fit: cover; }
@media (max-width: 860px) { .split { grid-template-columns: 1fr; } }

/* Sport cards */
.grid { display: grid; gap: 1.4rem; }
.grid-3 { grid-template-columns: repeat(3, 1fr); }
.grid-2 { grid-template-columns: repeat(2, 1fr); }
@media (max-width: 960px) { .grid-3 { grid-template-columns: 1fr 1fr; } }
@media (max-width: 640px) { .grid-3, .grid-2 { grid-template-columns: 1fr; } }
.card { background: #fff; border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden; display: flex; flex-direction: column; transition: transform .2s ease, box-shadow .2s ease; text-decoration: none; color: inherit; }
a.card:hover { transform: translateY(-4px); box-shadow: var(--shadow); color: inherit; }
.card-media { aspect-ratio: 16 / 10; overflow: hidden; background: var(--sand); }
.card-media > * { width: 100%; height: 100%; object-fit: cover; transition: transform .4s ease; }
a.card:hover .card-media > * { transform: scale(1.04); }
.card-body { padding: 1.3rem 1.4rem 1.5rem; display: flex; flex-direction: column; flex: 1; }
.card-body h3 { margin-bottom: .35rem; }
.card-body p { color: var(--muted); font-size: .97rem; }
.card-body .link-arrow { margin-top: auto; }
.card-meta { font-size: .82rem; color: var(--muted); display: flex; gap: .8rem; flex-wrap: wrap; margin-bottom: .6rem; text-transform: uppercase; letter-spacing: .08em; font-weight: 600; }
.card-meta .cat { color: var(--saffron-d); }

.sport-card { position: relative; background: #fff; border: 1px solid var(--line); border-radius: var(--radius); padding: 1.6rem; text-decoration: none; color: inherit; transition: border-color .2s, transform .2s, box-shadow .2s; display: flex; flex-direction: column; }
.sport-card:hover { border-color: var(--saffron); transform: translateY(-3px); box-shadow: var(--shadow); color: inherit; }
.sport-icon { width: 58px; height: 58px; border-radius: 16px; background: #fff1e6; color: var(--saffron-d); display: grid; place-items: center; margin-bottom: 1.1rem; }
.sport-icon .icon { width: 32px; height: 32px; }
.sport-card:nth-child(3n+2) .sport-icon { background: #e6f5ee; color: var(--green); }
.sport-card:nth-child(3n+3) .sport-icon { background: #e8eef8; color: var(--navy-2); }
.sport-card h3 { font-size: 1.65rem; margin-bottom: .3rem; }
.sport-card p { color: var(--muted); font-size: .97rem; }
.sport-card .link-arrow { margin-top: auto; }

/* Inclusion */
.incl-card { border-radius: 20px; padding: clamp(1.6rem, 3vw, 2.4rem); color: #fff; position: relative; overflow: hidden; }
.incl-card h3 { color: #fff; font-size: 2rem; }
.incl-card p { color: rgba(255, 255, 255, .88); }
.incl-card .sport-icon { background: rgba(255, 255, 255, .14); color: #fff; }
.incl-para { background: linear-gradient(135deg, var(--green-d), var(--green)); }
.incl-students { background: linear-gradient(135deg, var(--navy), var(--navy-2)); }
.incl-card .link-arrow { color: #fff; }

/* CTA */
.cta { background: var(--saffron); color: #fff; border-radius: 26px; padding: clamp(2rem, 5vw, 3.6rem); display: grid; grid-template-columns: 1.6fr auto; gap: 2rem; align-items: center; position: relative; overflow: hidden; }
.cta h2 { color: #fff; text-transform: uppercase; margin-bottom: .3em; }
.cta p { color: #fff3e8; margin: 0; max-width: 56ch; }
.cta .btn-dark { white-space: nowrap; }
@media (max-width: 760px) { .cta { grid-template-columns: 1fr; } }

/* Page hero */
.page-hero { background: var(--navy); color: #fff; padding: clamp(3rem, 6vw, 4.8rem) 0; position: relative; overflow: hidden; isolation: isolate; }
.page-hero h1 { color: #fff; text-transform: uppercase; max-width: 22ch; }
.page-hero .lead { color: #c9d4e6; }
.page-hero .kicker { color: #ffb37a; }
.page-hero .hero-lanes { right: -380px; bottom: -560px; width: 1000px; height: 1000px; opacity: .6; }
.page-hero.has-image .hero-bg::after { background: linear-gradient(100deg, rgba(11,27,51,.92), rgba(11,27,51,.6)); }
.breadcrumbs { font-size: .88rem; color: #9fb0cc; margin-bottom: 1rem; }
.breadcrumbs a { color: #c9d4e6; text-decoration: none; }
.breadcrumbs a:hover { color: #fff; }

/* Content / prose */
.prose { font-size: 1.06rem; }
.prose > *:first-child { margin-top: 0; }
.prose h2 { font-size: 2rem; margin-top: 1.8em; }
.prose h3 { margin-top: 1.5em; }
.prose ul, .prose ol { padding-left: 1.3em; margin: 0 0 1.2em; }
.prose li { margin-bottom: .45em; }
.prose li::marker { color: var(--saffron); }
.prose img { border-radius: 12px; height: auto; margin: 1.5em 0; }
.prose blockquote { margin: 1.8em 0; padding: 1.2em 1.5em; border-left: 4px solid var(--saffron); background: var(--sand); border-radius: 0 12px 12px 0; font-family: var(--display); font-size: 1.6rem; line-height: 1.25; font-weight: 600; }
.prose blockquote p:last-child { margin: 0; }
.table-wrap { overflow-x: auto; margin: 1.2em 0 1.6em; border: 1px solid var(--line); border-radius: 12px; }
.prose table { width: 100%; border-collapse: collapse; font-size: .97rem; }
.prose th, .prose td { padding: .75rem 1rem; text-align: left; border-bottom: 1px solid var(--line); vertical-align: top; }
.prose tr:last-child th, .prose tr:last-child td { border-bottom: 0; }
.prose thead th { background: var(--navy); color: #fff; font-weight: 600; }
.prose tbody th { width: 34%; background: var(--sand); font-weight: 600; }
.prose iframe { max-width: 100%; border-radius: 12px; }

.layout-side { display: grid; grid-template-columns: minmax(0, 1fr) 340px; gap: clamp(2rem, 4vw, 3.5rem); align-items: start; }
@media (max-width: 960px) { .layout-side { grid-template-columns: 1fr; } }
.sidebar { position: sticky; top: 100px; display: grid; gap: 1.2rem; }
.side-box { border: 1px solid var(--line); border-radius: var(--radius); padding: 1.4rem; background: #fff; }
.side-box h3 { font-size: 1.35rem; }
.side-box ul { list-style: none; padding: 0; margin: 0; }
.side-box li { padding: .45rem 0; border-bottom: 1px solid var(--line); }
.side-box li:last-child { border-bottom: 0; }
.side-box li a { text-decoration: none; }
.facts { display: grid; gap: .9rem; margin-bottom: 1.2rem; }
.fact { display: flex; gap: .8rem; align-items: flex-start; }
.fact .icon { color: var(--saffron-d); margin-top: 3px; }
.fact small { display: block; color: var(--muted); font-size: .78rem; text-transform: uppercase; letter-spacing: .1em; font-weight: 600; }
.fact strong { font-weight: 600; }
.feature-media { border-radius: 18px; overflow: hidden; margin-bottom: 2rem; aspect-ratio: 16 / 8; }
.feature-media > * { width: 100%; height: 100%; object-fit: cover; }

/* Events list */
.event-row { display: grid; grid-template-columns: 110px 1fr auto; gap: 1.5rem; align-items: center; padding: 1.5rem; border: 1px solid var(--line); border-radius: var(--radius); text-decoration: none; color: inherit; background: #fff; transition: border-color .2s, box-shadow .2s; }
.event-row + .event-row { margin-top: 1rem; }
.event-row:hover { border-color: var(--saffron); box-shadow: var(--shadow); color: inherit; }
.date-badge { background: var(--navy); color: #fff; border-radius: 14px; text-align: center; padding: .8rem .4rem; font-family: var(--display); line-height: 1; }
.date-badge b { display: block; font-size: 2.6rem; font-weight: 800; }
.date-badge span { font-size: 1rem; letter-spacing: .14em; text-transform: uppercase; color: #ffb37a; }
.event-row h3 { margin-bottom: .25rem; }
.event-row p { margin: 0; color: var(--muted); }
.pill { display: inline-block; padding: .25rem .7rem; border-radius: 999px; font-size: .78rem; font-weight: 700; letter-spacing: .06em; text-transform: uppercase; background: #e6f5ee; color: var(--green-d); }
.pill-muted { background: #eef0f4; color: var(--muted); }
@media (max-width: 680px) { .event-row { grid-template-columns: 80px 1fr; } .event-row .btn { grid-column: 1 / -1; } .date-badge b { font-size: 2rem; } }

/* Forms */
.form-card { background: #fff; border: 1px solid var(--line); border-radius: 20px; padding: clamp(1.4rem, 3vw, 2.2rem); box-shadow: var(--shadow); }
.form-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 1rem 1.2rem; }
.form-grid .full { grid-column: 1 / -1; }
@media (max-width: 640px) { .form-grid { grid-template-columns: 1fr; } }
.field label { display: block; font-weight: 600; font-size: .92rem; margin-bottom: .35rem; }
.field .req { color: var(--saffron-d); }
.field input, .field select, .field textarea { width: 100%; font: inherit; font-size: 1rem; padding: .78rem .9rem; border: 1.5px solid #d4d9e3; border-radius: 10px; background: #fff; color: var(--ink); transition: border-color .15s, box-shadow .15s; }
.field textarea { min-height: 130px; resize: vertical; }
.field input:focus, .field select:focus, .field textarea:focus { outline: none; border-color: var(--navy-2); box-shadow: 0 0 0 4px rgba(29, 63, 115, .12); }
.check { display: flex; gap: .6rem; align-items: flex-start; font-size: .95rem; }
.check input { width: 18px; height: 18px; margin-top: 3px; accent-color: var(--saffron); flex: none; }
.hp { position: absolute !important; left: -9999px !important; }
.form-note { font-size: .85rem; color: var(--muted); }

/* Contact */
.contact-cards { display: grid; gap: 1rem; }
.contact-card { display: flex; gap: 1rem; padding: 1.2rem; border: 1px solid var(--line); border-radius: var(--radius); background: #fff; }
.contact-card .sport-icon { width: 48px; height: 48px; margin: 0; }
.contact-card .sport-icon .icon { width: 24px; height: 24px; }
.contact-card small { display: block; color: var(--muted); text-transform: uppercase; letter-spacing: .1em; font-size: .75rem; font-weight: 600; }
.map { border: 0; width: 100%; height: 340px; border-radius: 18px; margin-top: 1rem; }

/* Gallery */
.gallery-grid { columns: 3 280px; column-gap: 1rem; }
.gallery-item { break-inside: avoid; margin: 0 0 1rem; border-radius: 12px; overflow: hidden; cursor: zoom-in; position: relative; background: var(--sand); }
.gallery-item img { width: 100%; height: auto; transition: transform .4s; }
.gallery-item:hover img { transform: scale(1.03); }
.gallery-item figcaption { position: absolute; inset: auto 0 0 0; padding: 1.4rem .9rem .7rem; color: #fff; font-size: .9rem; background: linear-gradient(transparent, rgba(0, 0, 0, .7)); }
.filters { display: flex; gap: .5rem; flex-wrap: wrap; margin-bottom: 1.6rem; }
.filters a { padding: .45rem 1rem; border-radius: 999px; border: 1.5px solid var(--line); text-decoration: none; color: var(--ink); font-weight: 500; font-size: .92rem; }
.filters a.on, .filters a:hover { border-color: var(--navy); background: var(--navy); color: #fff; }
.lightbox { position: fixed; inset: 0; background: rgba(5, 12, 24, .92); z-index: 100; display: flex; flex-direction: column; align-items: center; justify-content: center; padding: 2rem; }
.lightbox[hidden] { display: none; }
.lightbox img { max-height: 82vh; max-width: 100%; border-radius: 10px; }
.lightbox p { color: #fff; margin-top: 1rem; }
.lightbox-close { position: absolute; top: 16px; right: 16px; background: rgba(255, 255, 255, .12); color: #fff; border: 0; border-radius: 50%; width: 46px; height: 46px; display: grid; place-items: center; cursor: pointer; }
.empty { text-align: center; padding: 3rem 1rem; border: 2px dashed var(--line); border-radius: 18px; color: var(--muted); }

/* Pagination */
.pagination { display: flex; gap: .4rem; justify-content: center; margin-top: 2.5rem; }
.pagination a, .pagination span { min-width: 42px; height: 42px; display: grid; place-items: center; border-radius: 10px; border: 1px solid var(--line); text-decoration: none; color: var(--ink); font-weight: 600; padding: 0 .6rem; }
.pagination .on { background: var(--navy); color: #fff; border-color: var(--navy); }

/* Post */
.post-meta { display: flex; gap: 1.2rem; flex-wrap: wrap; color: #c9d4e6; font-size: .95rem; }
.post-meta span { display: inline-flex; align-items: center; gap: .4rem; }
.share { display: flex; gap: .5rem; align-items: center; margin-top: 2.5rem; padding-top: 1.5rem; border-top: 1px solid var(--line); flex-wrap: wrap; }
.share a { padding: .4rem .9rem; border-radius: 999px; background: var(--sand); text-decoration: none; font-size: .9rem; font-weight: 600; color: var(--ink); }

/* Footer */
.site-footer { background: var(--ink); color: #b3c0d6; padding: 4rem 0 1.5rem; margin-top: 0; }
.footer-grid { display: grid; grid-template-columns: 1.6fr 1fr 1fr 1.3fr; gap: 2.5rem; }
.site-footer h3 { color: #fff; font-size: 1.25rem; text-transform: uppercase; letter-spacing: .06em; }
.site-footer ul { list-style: none; padding: 0; margin: 0; }
.site-footer li { margin-bottom: .55rem; }
.site-footer a { color: #b3c0d6; text-decoration: none; }
.site-footer a:hover { color: #fff; }
.footer-about p { margin-top: 1.2rem; max-width: 40ch; font-size: .95rem; }
.footer-about .reg { font-size: .85rem; color: #8193b1; }
.contact-list li { display: flex; gap: .6rem; align-items: flex-start; }
.contact-list .icon { color: var(--saffron); margin-top: 3px; }
.socials { display: flex; gap: .5rem; margin-top: 1rem; }
.socials a { width: 40px; height: 40px; border-radius: 50%; background: rgba(255, 255, 255, .08); display: grid; place-items: center; color: #fff; }
.socials a:hover { background: var(--saffron); }
.footer-bottom { display: flex; justify-content: space-between; gap: 1rem; flex-wrap: wrap; border-top: 1px solid rgba(255, 255, 255, .1); margin-top: 3rem; padding-top: 1.4rem; font-size: .88rem; }
@media (max-width: 900px) { .footer-grid { grid-template-columns: 1fr 1fr; } }
@media (max-width: 560px) { .footer-grid { grid-template-columns: 1fr; } }

/* Reveal on scroll */
.reveal { opacity: 0; transform: translateY(18px); transition: opacity .6s ease, transform .6s ease; }
.reveal.in { opacity: 1; transform: none; }
@media (prefers-reduced-motion: reduce) { .reveal { opacity: 1; transform: none; } * { animation: none !important; transition: none !important; } }

/* Online registration link cards */
.reg-links { display: grid; grid-template-columns: repeat(auto-fit, minmax(280px, 1fr)); gap: 1.4rem; }
.reg-links.one { max-width: 460px; margin-inline: auto; }
.reg-card { position: relative; background: #fff; border: 1px solid var(--line); border-top: 5px solid var(--saffron); border-radius: 18px; padding: 1.8rem 1.6rem 1.4rem; box-shadow: var(--shadow); display: flex; flex-direction: column; }
.reg-card:nth-child(2n) { border-top-color: var(--green); }
.reg-card:nth-child(2n) .sport-icon { background: #e6f5ee; color: var(--green); }
.reg-card h3 { font-size: 1.75rem; margin-bottom: .35rem; }
.reg-card p { color: var(--muted); flex: 1; }
.reg-card .btn { margin-top: .6rem; }
.reg-num { position: absolute; top: 1.1rem; right: 1.3rem; font-family: var(--display); font-weight: 800; font-size: 2.4rem; line-height: 1; color: #eef0f4; }
.reg-share { display: block; text-align: center; margin-top: .8rem; font-size: .9rem; font-weight: 600; color: var(--green-d); text-decoration: none; }
.reg-share:hover { text-decoration: underline; color: var(--green-d); }
.reg-tips { list-style: none; padding: 0; margin: 2rem auto 0; max-width: 640px; display: grid; gap: .5rem; color: var(--muted); font-size: .95rem; }
.reg-tips li { display: flex; gap: .55rem; align-items: flex-start; }
.reg-tips .icon { color: var(--green); margin-top: 3px; }

/* Poster registration cards */
.reg-links { align-items: start; }
.reg-card.has-poster { padding: 0; overflow: hidden; border-top-width: 0; }
.reg-card.has-poster .reg-body { padding: 1.3rem 1.4rem 1.4rem; display: flex; flex-direction: column; }
.reg-card.has-poster h3 { font-size: 1.6rem; }
.reg-poster { position: relative; display: block; background: var(--sand); overflow: hidden; }
.reg-poster img { width: 100%; height: auto; transition: transform .35s ease; }
.reg-poster:hover img, .reg-poster:focus-visible img { transform: scale(1.025); }
.reg-poster-cta { position: absolute; right: 12px; top: 12px; background: rgba(11, 27, 51, .88); color: #fff; font-weight: 700; font-size: .85rem; padding: .45rem .95rem; border-radius: 999px; white-space: nowrap; box-shadow: 0 6px 20px rgba(0, 0, 0, .25); transition: background .2s; }
.reg-poster:hover .reg-poster-cta { background: var(--saffron); }
@media (min-width: 760px) { .reg-links:has(.has-poster) { grid-template-columns: 1fr 1fr; } }

/* Event logo panels */
.event-logo { background: #fff; border-radius: 14px; padding: 12px 18px; display: inline-flex; align-items: center; justify-content: center; box-shadow: 0 6px 24px rgba(0, 0, 0, .18); }
.event-logo img { display: block; height: auto; width: 100%; }
.event-logo-hero { display: flex; width: min(340px, 100%); margin-bottom: 1.4rem; }
.event-logo-card { display: flex; width: 100%; max-width: 300px; margin-bottom: 1rem; padding: 10px 16px; }
.event-logo-row { width: 190px; padding: 6px 10px; margin-bottom: .5rem; box-shadow: none; border: 1px solid var(--line); border-radius: 10px; }
