/* =============================================================================
   CPSFG website styles (official style)
   One system for colour, spacing, type, cards and shadows.
   Colours live in the tokens at the top, for light and dark mode.
   ============================================================================= */

/* ----- Font (self-hosted, never blocks the page) ----- */
@font-face {
  font-family: "Noto Sans";
  src: url("/assets/fonts/noto-sans.woff2") format("woff2");
  font-weight: 100 900;
  font-style: normal;
  font-display: swap;
}
/* Gujarati letters (used on the /gu pages and the language button). Only downloaded when needed. */
@font-face {
  font-family: "Noto Sans Gujarati";
  src: url("/assets/fonts/noto-sans-gujarati.woff2") format("woff2");
  font-weight: 100 900;
  font-style: normal;
  font-display: swap;
  unicode-range: U+0951-0952, U+0964-0965, U+0A80-0AFF, U+200C-200D, U+20B9, U+25CC, U+A830-A839;
}

/* ----- Design tokens ----- */
:root {
  --font-head: "Noto Sans", "Noto Sans Gujarati", "Segoe UI", system-ui, -apple-system, sans-serif;
  --font-body: "Noto Sans", "Noto Sans Gujarati", "Segoe UI", system-ui, -apple-system, sans-serif;

  --space-1: 4px;
  --space-2: 8px;
  --space-3: 12px;
  --space-4: 16px;
  --space-5: 24px;
  --space-6: 32px;
  --space-7: 48px;
  --space-8: 64px;
  --section-y: clamp(40px, 5vw, 64px);
  --gutter: 16px;
  --max: 1200px;
  --radius: 6px;
  --radius-sm: 6px;
  --head-h: 84px;
  --nav-h: 0px;
  --header-h: 76px;

  /* Light mode */
  --bg: #ffffff;
  --bg-tint: #f4f6fa;
  --sky: #e8f0fb;
  --surface: #ffffff;
  --surface-2: #f4f7fc;
  --text: #1b2536;
  --heading: #0a2f6b;
  --muted: #4a5870;
  --line: #d7e0ee;
  --input-border: #6b7a93;
  --primary: #1557c0;
  --primary-hover: #0f449a;
  --on-primary: #ffffff;
  --link: #1557c0;
  --link-hover: #0f449a;
  --util-bg: #0a2f6b;
  --nav-bg: #1557c0;
  --nav-active: #0a2f6b;
  --banner-bg: #0f3f8f;
  --caption-bg: #0a2f6b;
  --notice-bg: #0a2f6b;
  --footer-bg: #0a2f6b;
  --footer-bottom: #061f49;
  --on-dark: #ffffff;
  --on-dark-muted: #d3dff2;
  /* Accent: the orange from the CPSFG logo */
  --gold: #f0681c;
  --gold-hover: #f7853f;
  --on-gold: #051a3d;
  --focus: #1557c0;
  --focus-on-dark: #f7853f;
  --icon-bg: #e3edfc;
  --error: #b42318;
  --error-bg: #fef1f0;
  --success: #067647;
  --success-bg: #ecfdf3;
  --todo-bg: #fff6db;
  --todo-line: #a87b00;
  --todo-text: #563f00;
  --mark-bg: #ffe28a;
  --mark-text: #1b2536;
  --banner-empty: #b9cbe6;
  --photo-empty: #cfdcef;
  --art-panel: #0f3f8f;
  --art-lane-1: #2b64c4;
  --art-lane-2: #1f55b0;
  --art-ball: #bcd6ff;
  --shadow-sm: 0 1px 2px rgba(10, 47, 107, 0.06), 0 2px 8px rgba(10, 47, 107, 0.06);
  --shadow-md: 0 4px 10px rgba(10, 47, 107, 0.08), 0 10px 28px rgba(10, 47, 107, 0.12);
  color-scheme: light;
}

[data-theme="dark"] {
  --bg: #0a1426;
  --bg-tint: #0d192e;
  --sky: #0f1d36;
  --surface: #12213d;
  --surface-2: #172a4b;
  --text: #e9eff9;
  --heading: #eef3fb;
  --muted: #b3c1d8;
  --line: #2a4169;
  --input-border: #8195b8;
  --primary: #72a9ff;
  --primary-hover: #9cc2ff;
  --on-primary: #07111f;
  --link: #93bfff;
  --link-hover: #bcd7ff;
  --util-bg: #050d1c;
  --nav-bg: #133a78;
  --nav-active: #0a1f45;
  --banner-bg: #123567;
  --caption-bg: #081a3a;
  --notice-bg: #0f2a55;
  --footer-bg: #07122a;
  --footer-bottom: #040b1a;
  --focus: #93bfff;
  --icon-bg: #1d3560;
  --error: #ff9b90;
  --error-bg: #3a1714;
  --success: #74e0a8;
  --success-bg: #0f2e22;
  --todo-bg: #2b2410;
  --todo-line: #d9a520;
  --todo-text: #f6de98;
  --mark-bg: #6b5412;
  --mark-text: #fff5d6;
  --banner-empty: #1d3a66;
  --photo-empty: #1a3056;
  --art-panel: #123567;
  --art-lane-1: #1f4f99;
  --art-lane-2: #19427f;
  --art-ball: #93bfff;
  --shadow-sm: 0 1px 2px rgba(0, 0, 0, 0.35), 0 2px 8px rgba(0, 0, 0, 0.25);
  --shadow-md: 0 4px 12px rgba(0, 0, 0, 0.4), 0 10px 28px rgba(0, 0, 0, 0.35);
  color-scheme: dark;
}

@media (min-width: 768px) {
  :root { --gutter: 24px; --head-h: 116px; }
}
@media (min-width: 1000px) {
  :root { --nav-h: 50px; --header-h: 50px; }
}

/* ----- Base ----- */
*, *::before, *::after { box-sizing: border-box; }

html {
  -webkit-text-size-adjust: 100%;
  text-size-adjust: 100%;
  scroll-padding-top: calc(var(--header-h) + 16px);
}
@media (prefers-reduced-motion: no-preference) {
  html { scroll-behavior: smooth; }
}

body {
  margin: 0;
  background: var(--bg);
  color: var(--text);
  font-family: var(--font-body);
  font-size: 1rem;
  line-height: 1.6;
  overflow-wrap: break-word;
}

h1, h2, h3, h4 {
  font-family: var(--font-head);
  color: var(--heading);
  line-height: 1.25;
  margin: 0 0 var(--space-3);
  text-wrap: balance;
}
h1 { font-size: clamp(1.75rem, 1.3rem + 1.8vw, 2.5rem); font-weight: 700; }
h2 { font-size: clamp(1.35rem, 1.15rem + 0.9vw, 1.75rem); font-weight: 700; }
h3 { font-size: 1.12rem; font-weight: 650; }

p { margin: 0 0 var(--space-4); }
p:last-child { margin-bottom: 0; }
ul, ol { padding-left: 1.25rem; }
img { max-width: 100%; height: auto; display: block; }
address { font-style: normal; }
strong { font-weight: 650; }

a {
  color: var(--link);
  text-decoration-thickness: 1px;
  text-underline-offset: 0.18em;
}
a:hover { color: var(--link-hover); text-decoration-thickness: 2px; }

:focus-visible {
  outline: 3px solid var(--focus);
  outline-offset: 2px;
  border-radius: 3px;
}
main:focus { outline: none; }

.icon { width: 1.25em; height: 1.25em; flex: none; }

.container {
  width: 100%;
  max-width: calc(var(--max) + var(--gutter) * 2);
  margin-inline: auto;
  padding-inline: var(--gutter);
}

.visually-hidden {
  position: absolute !important;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0 0 0 0);
  clip-path: inset(50%);
  white-space: nowrap;
  border: 0;
}

/* ----- Buttons ----- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: var(--space-2);
  min-height: 44px;
  padding: 0.55rem 1.2rem;
  border: 2px solid transparent;
  border-radius: 4px;
  font-family: var(--font-head);
  font-size: 1rem;
  font-weight: 650;
  line-height: 1.2;
  text-align: center;
  text-decoration: none;
  cursor: pointer;
  transition: background-color 0.2s ease, border-color 0.2s ease, color 0.2s ease, transform 0.12s ease;
}
.btn:hover { text-decoration: none; }
.btn:active { transform: scale(0.97); }
.btn-sm { min-height: 40px; padding: 0.45rem 1rem; font-size: 0.95rem; }
.btn-lg { min-height: 50px; padding: 0.7rem 1.6rem; font-size: 1.05rem; }

.btn-primary { background: var(--primary); color: var(--on-primary); }
.btn-primary:hover { background: var(--primary-hover); color: var(--on-primary); }

.btn-donate { background: var(--gold); color: var(--on-gold); }
.btn-donate:hover { background: var(--gold-hover); color: var(--on-gold); }

.btn-outline { border-color: var(--primary); color: var(--link); background: transparent; }
.btn-outline:hover { background: var(--primary); color: var(--on-primary); }

.btn[disabled] { opacity: 0.7; cursor: progress; }

.actions { display: flex; flex-wrap: wrap; gap: var(--space-3); align-items: center; }

.icon-btn {
  flex: none;
  display: inline-grid;
  place-items: center;
  width: 44px;
  height: 44px;
  padding: 0;
  border: 1.5px solid var(--primary);
  border-radius: 4px;
  background: var(--surface);
  color: var(--link);
  cursor: pointer;
  transition: background-color 0.2s ease, transform 0.12s ease;
}
.icon-btn:hover { background: var(--surface-2); }
.icon-btn:active { transform: scale(0.94); }

/* ----- Skip link: hidden until someone presses Tab ----- */
.skip-link {
  position: absolute;
  left: var(--space-4);
  top: -100px;
  z-index: 100;
  padding: var(--space-3) var(--space-4);
  background: var(--gold);
  color: var(--on-gold);
  font-weight: 700;
  border-radius: var(--radius);
  text-decoration: none;
  box-shadow: var(--shadow-md);
}
.skip-link:focus { top: var(--space-2); color: var(--on-gold); outline: 3px solid var(--heading); outline-offset: 2px; }

/* ----- Sun and moon switch (in the header, next to Donate) ----- */
.theme-toggle {
  display: inline-grid;
  place-items: center;
  flex: none;
  height: 44px;
  padding: 0 2px;
  border: 0;
  background: transparent;
  color: var(--text);
  cursor: pointer;
  border-radius: 999px;
}
.tt-track {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: space-between;
  width: 66px;
  height: 32px;
  padding: 0 8px;
  border: 1.5px solid var(--input-border);
  border-radius: 999px;
  background: var(--surface-2);
  transition: background-color 0.25s ease, border-color 0.25s ease;
}
.theme-toggle:hover .tt-track { border-color: var(--primary); }
.tt-side { width: 15px; height: 15px; color: var(--muted); }
.tt-knob {
  position: absolute;
  top: 2.5px;
  left: 3px;
  width: 24px;
  height: 24px;
  display: grid;
  place-items: center;
  border-radius: 50%;
  background: var(--gold);
  color: var(--on-gold);
  box-shadow: 0 1px 3px rgba(0, 0, 0, 0.3);
  transition: transform 0.25s ease, background-color 0.25s ease;
}
.tt-knob .icon { width: 15px; height: 15px; grid-area: 1 / 1; transition: opacity 0.2s ease, transform 0.25s ease; }
.tt-moon { opacity: 0; transform: rotate(-60deg); }
[data-theme="dark"] .tt-knob { transform: translateX(33px); background: #e9eff9; color: #0a2f6b; }
[data-theme="dark"] .tt-sun { opacity: 0; transform: rotate(60deg); }
[data-theme="dark"] .tt-moon { opacity: 1; transform: none; }
.theme-toggle:active .tt-knob { width: 28px; }
[data-theme="dark"] .theme-toggle:active .tt-knob { transform: translateX(29px); }
.theme-toggle:focus-visible { outline: 3px solid var(--focus); outline-offset: 1px; }
/* Small phones: a slimmer switch, so the name has room */
@media (max-width: 479px) {
  .tt-track { width: 52px; padding: 0 6px; }
  .tt-side { display: none; }
  [data-theme="dark"] .tt-knob { transform: translateX(20px); }
  [data-theme="dark"] .theme-toggle:active .tt-knob { transform: translateX(16px); }
}

/* ----- Header ----- */
.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  background: var(--bg);
  border-bottom: 1px solid var(--line);
}
@media (min-width: 1000px) {
  /* Logo row scrolls away, the blue menu bar stays at the top */
  .site-header { top: calc(-1 * var(--head-h)); border-bottom: 0; }
}
.head-inner { display: flex; align-items: center; gap: var(--space-3); height: var(--head-h); }
@media (max-width: 999px) {
  .head-inner { height: auto; min-height: var(--head-h); padding-block: var(--space-2); }
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: var(--space-3);
  margin-right: auto;
  color: var(--heading);
  text-decoration: none;
  min-width: 0;
}
.brand:hover { color: var(--heading); }
.brand-logo, .logo-slot { width: 60px; height: 60px; flex: none; }
.brand-logo { object-fit: contain; }
.logo-slot {
  display: grid;
  place-items: center;
  border: 2px dashed var(--input-border);
  border-radius: 50%;
  font-size: 0.62rem;
  font-weight: 600;
  line-height: 1.25;
  text-align: center;
  color: var(--muted);
}
.brand-text { display: flex; flex-direction: column; min-width: 0; }
.brand-name { font-family: var(--font-head); font-weight: 700; line-height: 1.2; font-size: 1.02rem; }
@media (min-width: 560px) {
  .brand-name { font-size: 1.25rem; }
}
@media (min-width: 768px) {
  .brand-logo, .logo-slot { width: 92px; height: 92px; }
  .logo-slot { font-size: 0.8rem; }
  .brand-name { font-size: 1.85rem; letter-spacing: -0.005em; }
}
@media (max-width: 479px) {
  .header-donate { display: none; }
}

/* Menu button: three lines that turn into an X */
.menu-icon { position: relative; width: 20px; height: 14px; display: block; }
.menu-icon span {
  position: absolute;
  left: 0;
  width: 100%;
  height: 2px;
  border-radius: 2px;
  background: currentColor;
  transition: transform 0.25s ease, opacity 0.2s ease, top 0.25s ease;
}
.menu-icon span:nth-child(1) { top: 0; }
.menu-icon span:nth-child(2) { top: 6px; }
.menu-icon span:nth-child(3) { top: 12px; }
.menu-toggle[aria-expanded="true"] .menu-icon span:nth-child(1) { top: 6px; transform: rotate(45deg); }
.menu-toggle[aria-expanded="true"] .menu-icon span:nth-child(2) { opacity: 0; }
.menu-toggle[aria-expanded="true"] .menu-icon span:nth-child(3) { top: 6px; transform: rotate(-45deg); }

/* Blue menu bar */
.nav-list { list-style: none; margin: 0 auto; }
.nav-list a { display: block; text-decoration: none; font-weight: 600; }

@media (max-width: 999px) {
  .main-nav {
    display: none;
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    max-height: calc(100vh - var(--head-h));
    overflow-y: auto;
    background: var(--surface);
    border-bottom: 1px solid var(--line);
    box-shadow: var(--shadow-md);
  }
  .nav-open .main-nav { display: block; animation: menu-in 0.22s ease; }
  .nav-list { padding-block: var(--space-2) var(--space-5); }
  .nav-list a { color: var(--text); padding: 0.8rem var(--space-3); font-size: 1.05rem; border-bottom: 1px solid var(--line); }
  .nav-list a:hover { color: var(--link-hover); background: var(--surface-2); }
  .nav-list a.is-active { color: var(--link); box-shadow: inset 4px 0 0 var(--primary); }
  .nav-list .nav-donate a.btn { display: inline-flex; margin-top: var(--space-4); border: 0; color: var(--on-gold); background: var(--gold); font-size: 1rem; }
  .nav-list .nav-donate a.btn:hover { background: var(--gold-hover); }
}
@keyframes menu-in {
  from { opacity: 0; transform: translateY(-8px); }
  to { opacity: 1; transform: none; }
}

@media (min-width: 1000px) {
  .menu-toggle { display: none; }
  .main-nav { --focus: var(--focus-on-dark); background: var(--nav-bg); }
  .nav-list { display: flex; white-space: nowrap; padding-block: 0; }
  .nav-list a { color: var(--on-dark); padding: 0 var(--space-4); line-height: var(--nav-h); font-size: 0.97rem; }
  .nav-list a:hover { background: var(--nav-active); color: var(--on-dark); }
  .nav-list a.is-active { background: var(--nav-active); box-shadow: inset 0 -3px 0 var(--gold); }
  .nav-list .nav-donate { display: none; }
}
@media (min-width: 1000px) and (max-width: 1099px) {
  .nav-list a { padding-inline: 0.8rem; font-size: 0.93rem; }
}

/* ----- Form controls ----- */
input, select, textarea {
  width: 100%;
  min-height: 48px;
  padding: 0.65rem 0.85rem;
  border: 1.5px solid var(--input-border);
  border-radius: var(--radius-sm);
  background: var(--surface);
  color: var(--text);
  font: inherit;
  font-size: 1rem;
}
textarea { min-height: 140px; resize: vertical; }
input::placeholder, textarea::placeholder { color: var(--muted); opacity: 1; }
input:focus-visible, select:focus-visible, textarea:focus-visible {
  outline: 3px solid var(--focus);
  outline-offset: 1px;
  border-color: var(--primary);
}
[aria-invalid="true"] { border-color: var(--error); }


/* ----- Placeholders (things still to be added) ----- */
.placeholder {
  border: 2px dashed var(--todo-line);
  background: var(--todo-bg);
  color: var(--todo-text);
  border-radius: var(--radius-sm);
  padding: var(--space-3) var(--space-4);
  margin-bottom: var(--space-5);
}
.placeholder-label { font-weight: 700; }
.placeholder-inline {
  color: var(--todo-text);
  background: var(--todo-bg);
  border: 1px dashed var(--todo-line);
  border-radius: 6px;
  padding: 0 var(--space-2);
  font-size: 0.92rem;
}

/* ----- Table ----- */
.table-wrap { overflow-x: auto; border: 1px solid var(--line); border-radius: var(--radius); background: var(--surface); box-shadow: var(--shadow-sm); }
table { width: 100%; border-collapse: collapse; }
th, td { text-align: left; vertical-align: top; padding: var(--space-4) var(--space-5); border-bottom: 1px solid var(--line); }
thead th { background: var(--surface-2); font-family: var(--font-head); font-weight: 600; }
tbody tr:last-child th, tbody tr:last-child td { border-bottom: 0; }
tbody th { font-family: var(--font-head); font-weight: 600; white-space: nowrap; }
@media (max-width: 480px) {
  th, td { padding: var(--space-3); }
  tbody th { white-space: normal; }
}

/* ----- Gallery ----- */
.chips { display: flex; flex-wrap: wrap; gap: var(--space-2); margin-bottom: var(--space-5); }
.chip {
  min-height: 44px;
  padding: 0.45rem 1.1rem;
  border: 1.5px solid var(--input-border);
  border-radius: 999px;
  background: var(--surface);
  color: var(--text);
  font: inherit;
  font-size: 0.97rem;
  font-weight: 500;
  cursor: pointer;
  transition: background-color 0.2s ease, color 0.2s ease, border-color 0.2s ease, transform 0.12s ease;
}
.chip:hover { border-color: var(--primary); }
.chip:active { transform: scale(0.96); }
.chip[aria-pressed="true"] { background: var(--primary); border-color: var(--primary); color: var(--on-primary); }

.photo-grid { display: grid; gap: var(--space-3); grid-template-columns: repeat(auto-fill, minmax(min(100%, 160px), 1fr)); }
@media (min-width: 768px) {
  .photo-grid { grid-template-columns: repeat(auto-fill, minmax(220px, 1fr)); }
}
.photo-btn {
  display: block;
  width: 100%;
  padding: 0;
  border: 0;
  border-radius: 12px;
  overflow: hidden;
  background: var(--surface-2);
  aspect-ratio: 4 / 3;
  cursor: zoom-in;
}
.photo-btn[hidden] { display: none; }
.photo-btn img { width: 100%; height: 100%; object-fit: cover; transition: opacity 0.2s ease; }
.photo-btn:hover img { opacity: 0.88; }

/* ----- Lightbox (always dark so photos stand out) ----- */
.lightbox {
  --focus: #f5c331;
  width: 100%;
  height: 100%;
  max-width: none;
  max-height: none;
  margin: 0;
  padding: 0;
  border: 0;
  background: #070d19;
  color: #ffffff;
  overflow: hidden;
}
.lightbox[open] { display: flex; flex-direction: column; animation: fade-in 0.2s ease; }
.lightbox::backdrop { background: rgba(7, 13, 25, 0.9); }
@keyframes fade-in { from { opacity: 0; } to { opacity: 1; } }
.lb-top { display: flex; align-items: center; justify-content: space-between; gap: var(--space-3); padding: var(--space-3) var(--space-4); }
.lb-count { margin: 0; font-size: 0.95rem; color: #d7e2f3; }
.lb-tools { display: flex; gap: var(--space-2); }
.lb-btn {
  display: inline-grid;
  place-items: center;
  width: 48px;
  height: 48px;
  padding: 0;
  border: 1px solid rgba(255, 255, 255, 0.3);
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.1);
  color: #ffffff;
  cursor: pointer;
  transition: background-color 0.2s ease, transform 0.12s ease;
}
.lb-btn:hover { background: rgba(255, 255, 255, 0.22); }
.lb-btn:active { transform: scale(0.92); }
.lb-btn[disabled] { opacity: 0.4; cursor: default; }
.lb-stage {
  flex: 1;
  min-height: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
  padding: 0 var(--space-4);
}
.lb-stage:focus-visible { outline-offset: -3px; }
.lb-stage.is-zoomed { overflow: auto; align-items: flex-start; justify-content: flex-start; cursor: grab; }
.lb-stage.is-dragging { cursor: grabbing; }
.lb-img { max-width: 100%; max-height: 100%; object-fit: contain; cursor: zoom-in; user-select: none; -webkit-user-drag: none; }
.lb-stage.is-zoomed .lb-img { flex: none; max-width: none; max-height: none; margin: auto; cursor: inherit; }
.lb-caption { min-height: 1.6em; margin: 0; padding: var(--space-3) var(--space-4) var(--space-4); text-align: center; color: #e6edf8; }
.lb-nav { position: absolute; top: 50%; transform: translateY(-50%); }
.lb-nav:active { transform: translateY(-50%) scale(0.92); }
.lb-prev { left: var(--space-3); }
.lb-next { right: var(--space-3); }
.lb-nav[hidden] { display: none; }

/* ----- Forms ----- */
.form { display: grid; gap: var(--space-4); }
.field { display: grid; gap: var(--space-2); }
.field label { font-weight: 600; }
.field-row { display: grid; gap: var(--space-4); }
@media (min-width: 640px) {
  .field-row { grid-template-columns: 1fr 1fr; }
}
.req { color: var(--error); }
.optional { font-weight: 400; color: var(--muted); }
.field-error { margin: 0; color: var(--error); font-size: 0.93rem; font-weight: 600; }
.form-note { margin: 0; color: var(--muted); font-size: 0.93rem; }
.form .btn { justify-self: start; }
.form-status:empty { display: none; }
.form-status { border-radius: var(--radius-sm); padding: var(--space-3) var(--space-4); font-weight: 600; }
.form-status.is-success { background: var(--success-bg); color: var(--success); border: 1px solid currentColor; }
.form-status.is-error { background: var(--error-bg); color: var(--error); border: 1px solid currentColor; }
.hp-field { position: absolute; left: -10000px; width: 1px; height: 1px; overflow: hidden; }
.form-layout { display: grid; gap: var(--space-6); }
@media (min-width: 960px) {
  .form-layout { grid-template-columns: 0.8fr 1.2fr; align-items: start; }
}
.form-title { margin-bottom: var(--space-5); }

/* ----- Contact ----- */
.contact-grid { display: grid; gap: var(--space-7); }
@media (min-width: 960px) {
  .contact-grid { grid-template-columns: 0.8fr 1.2fr; align-items: start; }
}
.contact-cards { display: grid; gap: var(--space-3); }
.contact-card {
  display: flex;
  align-items: flex-start;
  gap: var(--space-4);
  padding: var(--space-4) var(--space-5);
  color: var(--text);
  text-decoration: none;
}
a.contact-card { transition: border-color 0.2s ease, box-shadow 0.2s ease; }
a.contact-card:hover { color: var(--text); border-color: var(--primary); box-shadow: var(--shadow-md); }
.contact-card > .icon {
  width: 44px;
  height: 44px;
  padding: 10px;
  border-radius: 12px;
  background: var(--icon-bg);
  color: var(--link);
}
.contact-label { display: block; font-size: 0.85rem; font-weight: 600; letter-spacing: 0.04em; text-transform: uppercase; color: var(--muted); }
.map-wrap { aspect-ratio: 16 / 9; max-height: 440px; width: 100%; border-radius: var(--radius); overflow: hidden; border: 1px solid var(--line); background: var(--surface-2); margin-block: var(--space-5) var(--space-4); }
.map-wrap iframe { width: 100%; height: 100%; border: 0; display: block; }
@media (max-width: 599px) {
  .map-wrap { aspect-ratio: 4 / 3.4; }
}

/* ----- Donate ----- */
.donate-card .card-title { font-size: 1.4rem; }
.bank-list { margin: var(--space-4) 0 0; }
.bank-row {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: var(--space-2) var(--space-4);
  padding-block: var(--space-3);
  border-bottom: 1px solid var(--line);
}
.bank-row:last-child { border-bottom: 0; }
.bank-row dt { color: var(--muted); font-size: 0.95rem; }
.bank-row dd { margin: 0; display: flex; align-items: center; flex-wrap: wrap; gap: var(--space-3); }
.bank-value { font-weight: 650; font-variant-numeric: tabular-nums; letter-spacing: 0.02em; }
.copy-btn {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  min-height: 36px;
  padding: 0.3rem 0.8rem;
  border: 1.5px solid var(--input-border);
  border-radius: 999px;
  background: var(--surface);
  color: var(--text);
  font: inherit;
  font-size: 0.9rem;
  font-weight: 600;
  cursor: pointer;
  transition: background-color 0.2s ease, border-color 0.2s ease, transform 0.12s ease;
}
.copy-btn:hover { border-color: var(--primary); }
.copy-btn:active { transform: scale(0.95); }
.copy-btn .icon { width: 1.05em; height: 1.05em; }
.copy-btn .icon-check { display: none; }
.copy-btn.is-copied { border-color: var(--success); color: var(--success); background: var(--success-bg); }
.copy-btn.is-copied .icon-copy { display: none; }
.copy-btn.is-copied .icon-check { display: block; animation: pop 0.25s ease; }
@keyframes pop { from { transform: scale(0.5); } to { transform: none; } }
.rzp-form { margin-top: var(--space-4); }

/* ----- Blog post ----- */
.post .meta { margin-bottom: var(--space-5); }
.post-img { border-radius: var(--radius); margin-bottom: var(--space-6); width: 100%; }
.post h2 { font-size: 1.5rem; margin-top: var(--space-6); }
.back-link { margin-top: var(--space-7); }

mark { background: var(--mark-bg); color: var(--mark-text); border-radius: 3px; padding: 0 2px; }


/* ----- Floating buttons ----- */
.wa-float, .to-top {
  position: fixed;
  right: var(--space-4);
  z-index: 40;
  display: grid;
  place-items: center;
  border-radius: 50%;
  box-shadow: var(--shadow-md);
  transition: transform 0.12s ease, background-color 0.2s ease;
}
.wa-float {
  bottom: var(--space-4);
  width: 56px;
  height: 56px;
  background: #16804a;
  color: #ffffff;
}
.wa-float:hover { background: #106b3c; color: #ffffff; }
.wa-float .icon { width: 30px; height: 30px; }
.to-top {
  bottom: calc(var(--space-4) + 68px);
  width: 48px;
  height: 48px;
  padding: 0;
  border: 1px solid var(--line);
  background: var(--surface);
  color: var(--text);
  cursor: pointer;
}
.to-top[hidden] { display: none; }
.to-top:not([hidden]) { animation: fade-in 0.2s ease; }
.wa-float:active, .to-top:active { transform: scale(0.92); }

/* ----- Motion preferences ----- */
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
    scroll-behavior: auto !important;
  }
}

/* ----- Print ----- */
@media print {
  .site-header, .wa-float, .to-top, .map-wrap, .site-footer .btn { display: none !important; }
  body { color: #000; background: #fff; }
}

/* ----- Home banner ----- */
.banner { background: var(--sky); padding-top: var(--space-5); }
.slider { position: relative; border-radius: var(--radius); overflow: hidden; background: var(--banner-empty); }
.slides { position: relative; }
/* Banner photos are 1920 x 800, so this shape shows each whole photo on every screen */
.slide { width: 100%; aspect-ratio: 12 / 5; object-fit: cover; display: block; }
.slide[hidden] { display: none; }
.slide.is-current { animation: fade-in 0.35s ease; }
.slide-empty { background: var(--banner-empty); }
.banner-caption {
  --focus: var(--focus-on-dark);
  position: absolute;
  z-index: 1;
  left: 0;
  right: 0;
  bottom: 0;
  /* The fade lives behind the caption, so it always covers the text */
  padding: 64px var(--space-6) var(--space-5);
  background: linear-gradient(to bottom, rgba(10, 47, 107, 0) 0, rgba(10, 47, 107, 0.88) 56px, rgba(8, 36, 84, 0.95) 100%);
  color: var(--on-dark);
}
.banner-caption h1 { color: var(--on-dark); margin-bottom: var(--space-1); font-size: clamp(1.3rem, 0.95rem + 1.4vw, 1.9rem); line-height: 1.2; }
.banner-caption p { color: #e3ecfa; margin: 0; max-width: 62ch; font-size: clamp(0.92rem, 0.88rem + 0.2vw, 1rem); }
@media (max-width: 599px) {
  .slide { aspect-ratio: auto; height: 300px; }
  .banner-caption {
    padding: 40px var(--space-4) var(--space-4);
    background: linear-gradient(to bottom, rgba(10, 47, 107, 0) 0, rgba(10, 47, 107, 0.9) 34px, rgba(8, 36, 84, 0.95) 100%);
  }
}
/* Larger screens: a taller banner and a slim text strip along the bottom */
@media (min-width: 700px) {
  .banner-caption {
    padding: 48px var(--space-6) var(--space-5);
    background: linear-gradient(to bottom, rgba(10, 47, 107, 0) 0, rgba(10, 47, 107, 0.88) 40px, rgba(8, 36, 84, 0.95) 100%);
  }
  .banner-caption h1, .banner-caption p { max-width: 980px; }
}

.slider-controls { display: flex; justify-content: center; align-items: center; gap: var(--space-2); padding-top: var(--space-3); }
.slider-btn {
  display: inline-grid;
  place-items: center;
  width: 40px;
  height: 40px;
  padding: 0;
  border: 1.5px solid var(--primary);
  border-radius: 50%;
  background: var(--surface);
  color: var(--link);
  cursor: pointer;
  transition: background-color 0.2s ease, transform 0.12s ease;
}
.slider-btn:hover { background: var(--surface-2); }
.slider-btn:active { transform: scale(0.92); }
.dot {
  width: 24px;
  height: 24px;
  padding: 0;
  border: 0;
  background: transparent;
  cursor: pointer;
  display: inline-grid;
  place-items: center;
}
.dot::before { content: ""; width: 11px; height: 11px; border-radius: 50%; background: var(--input-border); transition: transform 0.2s ease, background-color 0.2s ease; }
.dot[aria-current="true"]::before { background: var(--primary); transform: scale(1.3); }

.notice-bar {
  --focus: var(--focus-on-dark);
  display: flex;
  align-items: stretch;
  flex-wrap: wrap;
  margin-top: var(--space-4);
  border-radius: var(--radius);
  overflow: hidden;
  background: var(--notice-bg);
  color: var(--on-dark);
}
.notice-label {
  display: flex;
  align-items: center;
  margin: 0;
  padding: var(--space-3) var(--space-5);
  background: var(--gold);
  color: var(--on-gold);
  font-size: 1rem;
  font-weight: 700;
}
.notice-text, .notice-ticker { flex: 1; margin: 0; padding: var(--space-3) var(--space-5); display: flex; flex-wrap: wrap; gap: 0 var(--space-3); align-items: center; }
.notice-text time { font-weight: 700; }
.notice-bar a { color: var(--on-dark); }
.notice-all { display: inline-flex; align-items: center; gap: 6px; padding: var(--space-3) var(--space-5); font-weight: 650; white-space: nowrap; }
@media (max-width: 699px) {
  .notice-label { width: 100%; }
  .notice-all { padding-top: 0; }
}

/* ----- Page header (inner pages) ----- */
.page-hero { background: var(--sky); border-bottom: 1px solid var(--line); padding-block: clamp(24px, 4vw, 44px); }
.page-hero h1 { margin-bottom: var(--space-2); }
.page-hero h1::after { content: ""; display: block; width: 56px; height: 4px; background: var(--gold); margin-top: var(--space-3); }
.page-hero .lead { color: var(--muted); margin: var(--space-3) 0 0; }
.lead { font-size: clamp(1.02rem, 0.98rem + 0.2vw, 1.12rem); max-width: 70ch; }

.breadcrumbs ol {
  display: flex;
  flex-wrap: wrap;
  gap: var(--space-2);
  list-style: none;
  margin: 0 0 var(--space-3);
  padding: 0;
  font-size: 0.9rem;
  color: var(--muted);
}
.breadcrumbs li + li::before { content: "\203A"; margin-right: var(--space-2); }
.breadcrumbs a { color: var(--link); }

/* ----- Sections ----- */
.section { padding-block: var(--section-y); }
.section-tint { background: var(--bg-tint); }
.section-title { display: flex; flex-wrap: wrap; align-items: flex-end; justify-content: space-between; gap: var(--space-2) var(--space-4); margin-bottom: var(--space-5); }
.section-title h2 { margin: 0; }
.section-title h2::after { content: ""; display: block; width: 56px; height: 4px; background: var(--gold); margin-top: var(--space-2); }
.view-all, .read-more { display: inline-flex; align-items: center; gap: 6px; font-weight: 650; }
.view-all { margin-bottom: 6px; }
.view-all .icon, .read-more .icon { width: 1.05em; height: 1.05em; }
.section-link { margin-top: var(--space-5); }
.after-grid { margin-top: var(--space-7); }
.empty { color: var(--muted); }
.empty-box { margin: 0; padding: var(--space-5); border: 1px dashed var(--input-border); border-radius: var(--radius); background: var(--surface); color: var(--muted); }
.note { color: var(--muted); font-size: 0.95rem; margin-top: var(--space-4); }

.prose { max-width: 75ch; }
.prose h2 { margin-top: var(--space-7); }
.prose > h2:first-child, .prose > .placeholder:first-child + h2 { margin-top: 0; }
.prose > .placeholder:first-child { margin-top: 0; }
.prose + .grid, .prose + .table-wrap, .prose + .people, .prose + .empty { margin-top: var(--space-4); }
.grid + .prose, .table-wrap + .note + .prose, .people + .prose, .placeholder + .prose { margin-top: var(--space-7); }

/* ----- Welcome and office bearers ----- */
.welcome { display: grid; gap: var(--space-6); align-items: start; }
@media (min-width: 900px) {
  .welcome { grid-template-columns: 1.3fr 1fr; gap: var(--space-7); }
}
.welcome p { max-width: 68ch; }
.people { display: grid; gap: var(--space-3); }
.people-grid { grid-template-columns: repeat(auto-fill, minmax(min(100%, 280px), 1fr)); }
.person { display: flex; align-items: center; gap: var(--space-4); background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius); padding: var(--space-4); }
.person-photo { width: 72px; height: 72px; border-radius: 50%; flex: none; object-fit: cover; background: var(--icon-bg); color: var(--link); display: grid; place-items: center; }
.person-photo .icon { width: 32px; height: 32px; }
.person-name { margin: 0; font-weight: 700; color: var(--heading); }
.person-role { margin: 0; color: var(--muted); font-size: 0.95rem; }

/* ----- Grids ----- */
.grid { display: grid; gap: var(--space-5); list-style: none; margin: 0; padding: 0; }
.grid-auto { grid-template-columns: repeat(auto-fill, minmax(min(100%, 230px), 1fr)); }
.grid-4 { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: var(--space-4); }
@media (min-width: 700px) {
  .grid-2 { grid-template-columns: repeat(2, 1fr); }
  .grid-3 { grid-template-columns: repeat(2, 1fr); }
}
@media (min-width: 1000px) {
  .grid-3 { grid-template-columns: repeat(3, 1fr); }
  .grid-4 { grid-template-columns: repeat(4, 1fr); gap: var(--space-5); }
}
@media (max-width: 359px) {
  .grid-4 { grid-template-columns: 1fr; }
}
.stack { display: grid; gap: var(--space-5); }
.two-col { display: grid; gap: var(--space-7); }
@media (min-width: 900px) {
  .two-col { grid-template-columns: 1fr 1fr; gap: var(--space-6); }
}

/* ----- Cards (one system everywhere) ----- */
.card {
  position: relative;
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: var(--space-5);
}
.card-title { font-size: 1.12rem; margin-bottom: var(--space-2); }
.card-title a { color: var(--heading); text-decoration: none; }
.card:has(.stretched) { transition: box-shadow 0.2s ease, border-color 0.2s ease; }
.card:has(.stretched):hover { border-color: var(--primary); box-shadow: var(--shadow-md); }
.card:has(.stretched):hover .card-title a { color: var(--link); text-decoration: underline; }
.stretched::after { content: ""; position: absolute; inset: 0; border-radius: var(--radius); }
.card:has(.stretched:focus-visible) { outline: 3px solid var(--focus); outline-offset: 2px; }
.stretched:focus-visible { outline: none; }
.card p { color: var(--muted); }
.meta { display: flex; align-items: center; gap: var(--space-2); color: var(--muted); font-size: 0.92rem; margin-bottom: var(--space-2); }

.quick-card { border-top: 4px solid var(--primary); padding: var(--space-4) var(--space-4) var(--space-5); }
.quick-card p { margin: 0; font-size: 0.9rem; }
.quick-icon { display: inline-grid; place-items: center; width: 52px; height: 52px; margin-bottom: var(--space-3); border-radius: 50%; background: var(--sky); color: var(--link); transition: background-color 0.2s ease, color 0.2s ease; }
.quick-icon .icon { width: 26px; height: 26px; }
.quick-card:hover .quick-icon { background: var(--gold); color: var(--on-gold); }
.quick-card .card-title { font-size: 1.06rem; margin-bottom: 2px; }
.quick-num {
  display: inline-grid;
  place-items: center;
  width: 44px;
  height: 44px;
  margin-bottom: var(--space-3);
  border-radius: 8px;
  background: var(--sky);
  color: var(--link);
  font-weight: 700;
  font-size: 1.05rem;
}
.feature-icon {
  display: inline-grid;
  place-items: center;
  width: 48px;
  height: 48px;
  border-radius: 8px;
  background: var(--icon-bg);
  color: var(--link);
  margin-bottom: var(--space-3);
}
.feature-icon .icon { width: 24px; height: 24px; }

.post-card { padding: 0; overflow: hidden; display: flex; flex-direction: column; }
.post-card .card-body { padding: var(--space-4) var(--space-5) var(--space-5); }
.card-img { width: 100%; aspect-ratio: 16 / 9; object-fit: cover; background: var(--icon-bg); }
.card-img-empty { background: var(--photo-empty); }
.post-date { margin: 0 0 4px; font-size: 0.85rem; font-weight: 650; color: var(--link); }
.post-card .card-title { font-size: 1.02rem; }
.post-card .card-title a { color: var(--text); }

/* Lists in a box: events, sports links */
.list-box { list-style: none; margin: 0; padding: 0; background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius); }
.list-box > li { border-bottom: 1px solid var(--line); }
.list-box > li:last-child { border-bottom: 0; }
.list-row { display: flex; gap: var(--space-4); align-items: flex-start; padding: var(--space-4); }
.date-box { flex: none; width: 64px; margin: 0; padding: 6px 0; text-align: center; border-radius: var(--radius); background: var(--sky); border: 1px solid var(--line); line-height: 1.1; }
.db-day { display: block; font-size: 1.45rem; font-weight: 700; color: var(--heading); }
.db-month { display: block; font-size: 0.75rem; font-weight: 600; text-transform: uppercase; color: var(--muted); }
.row-title { font-size: 1.05rem; margin: 0 0 2px; }
.row-meta, .row-details { margin: 0; color: var(--muted); font-size: 0.95rem; }
.link-list a { display: flex; align-items: center; gap: var(--space-2); padding: var(--space-4); color: var(--text); text-decoration: none; font-weight: 500; transition: background-color 0.2s ease; }
.link-list a .icon { color: var(--link); width: 1.1em; height: 1.1em; }
.link-list a:hover { background: var(--surface-2); color: var(--link); text-decoration: underline; }

/* Donate band */
.section-band-wrap { padding-top: 0; }
.band {
  --focus: var(--focus-on-dark);
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: var(--space-4) var(--space-6);
  padding: var(--space-6);
  border-radius: var(--radius);
  background: var(--nav-bg);
  color: var(--on-dark);
}
.band h2 { color: var(--on-dark); margin-bottom: var(--space-2); }
.band p { color: var(--on-dark-muted); margin: 0; }
.section-tint + .section-band-wrap { padding-top: var(--section-y); }

.steps { counter-reset: step; }
.step-card { counter-increment: step; padding-left: calc(var(--space-5) + 44px); }
.step-card::before {
  content: counter(step);
  position: absolute;
  left: var(--space-5);
  top: var(--space-5);
  width: 32px;
  height: 32px;
  display: grid;
  place-items: center;
  border-radius: 50%;
  background: var(--primary);
  color: var(--on-primary);
  font-weight: 700;
  font-size: 0.95rem;
}

/* Sports page */
.sport-details { display: grid; gap: var(--space-5); }
.sport-detail {
  display: grid;
  overflow: hidden;
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  scroll-margin-top: calc(var(--header-h) + 16px);
}
@media (min-width: 760px) {
  .sport-detail { grid-template-columns: minmax(220px, 0.8fr) 2fr; }
}
.sd-media { aspect-ratio: 16 / 10; background: var(--nav-bg); }
@media (min-width: 760px) {
  .sd-media { aspect-ratio: auto; min-height: 200px; }
}
.sd-media img { width: 100%; height: 100%; object-fit: cover; }
.sd-media-icon, .sport-media-icon { display: grid; place-items: center; color: #ffffff; background: linear-gradient(135deg, #0a2f6b, #1557c0); }
.sd-media-icon .icon { width: 72px; height: 72px; stroke-width: 1.4; }
.sd-body { padding: var(--space-5) var(--space-6) var(--space-6); }
.sd-num { margin: 0 0 var(--space-1); font-size: 0.95rem; font-weight: 700; color: var(--link); letter-spacing: 0.05em; }
.sd-name { margin: 0 0 var(--space-3); font-size: 1.5rem; }
.sd-text { margin: 0; max-width: 65ch; }

.sitemap-list { list-style: none; margin: 0; padding: 0; display: grid; gap: var(--space-2); }

/* ----- Partner logos ----- */
.section-partners .section-title { justify-content: center; text-align: center; }
.section-partners .section-title h2::after { margin-inline: auto; }
.partners { list-style: none; margin: 0; padding: 0; display: flex; flex-wrap: wrap; justify-content: center; gap: var(--space-4); }
.partner { width: 240px; height: 150px; display: grid; place-items: center; background: #ffffff; border: 1px solid var(--line); border-radius: var(--radius); transition: border-color 0.2s ease, box-shadow 0.2s ease; }
.partner:has(a):hover { border-color: var(--primary); box-shadow: var(--shadow-md); }
.partner a { display: grid; place-items: center; width: 100%; height: 100%; padding: var(--space-3); border-radius: var(--radius); }
.partner a:focus-visible { outline-offset: 3px; }
.partner img { max-height: 122px; max-width: 100%; width: auto; object-fit: contain; }
.partner-empty { background: var(--surface); border: 1.5px dashed var(--input-border); color: var(--muted); font-size: 0.8rem; text-align: center; line-height: 1.35; }
@media (max-width: 479px) {
  .partner { width: calc(50% - var(--space-2)); height: 130px; }
  .partner img { max-height: 104px; }
}

/* ----- Footer ----- */
.site-footer { --focus: var(--focus-on-dark); background: var(--footer-bg); color: var(--on-dark-muted); font-size: 0.93rem; }
.footer-cols { display: grid; gap: var(--space-6); padding-block: var(--space-7) var(--space-6); }
@media (min-width: 800px) {
  .footer-cols { grid-template-columns: 1.4fr 1fr 1fr; }
}
.footer-title { color: var(--on-dark); font-size: 1rem; font-weight: 700; margin: 0 0 var(--space-3); }
.footer-contact { display: grid; gap: var(--space-2); }
.contact-line { display: flex; gap: var(--space-3); align-items: flex-start; margin: 0; }
.contact-line .icon { margin-top: 0.2em; color: var(--gold); }
.footer-links ul { list-style: none; margin: 0; padding: 0; display: grid; gap: 6px; }
.footer-links a { text-decoration: none; }
.footer-links a:hover { text-decoration: underline; }
.site-footer a { color: var(--on-dark); }
.site-footer a:hover { color: #ffb37f; }
.footer-social { list-style: none; margin: var(--space-4) 0 0; padding: 0; display: flex; flex-wrap: wrap; gap: var(--space-4); }
.footer-policies { border-top: 1px solid rgba(255, 255, 255, 0.2); }
.footer-policies ul { list-style: none; margin: 0 auto; padding-block: var(--space-4); display: flex; flex-wrap: wrap; justify-content: center; gap: 4px 0; }
.footer-policies li { display: flex; align-items: center; }
.footer-policies li + li::before { content: "|"; margin-inline: var(--space-3); color: var(--on-dark-muted); }
.footer-policies a { text-decoration: none; }
.footer-policies a:hover { text-decoration: underline; }
.footer-bottom { background: var(--footer-bottom); font-size: 0.85rem; }
.footer-bottom-inner { display: flex; flex-wrap: wrap; justify-content: space-between; gap: var(--space-2) var(--space-5); padding-block: var(--space-3) calc(var(--space-3) + 72px); }
.footer-bottom-inner p { margin: 0; }
@media (min-width: 768px) {
  .footer-bottom-inner { padding-bottom: var(--space-3); }
}

/* ----- Policy pages ----- */
.policy h2 { font-size: 1.25rem; margin-top: var(--space-6); }
.policy > h2:first-child { margin-top: 0; }

/* ----- Scrolling notifications ----- */
.notice-ticker { min-width: 0; overflow: hidden; padding: var(--space-3) 0; margin-inline: var(--space-4) 0; display: block; }
.ticker-track { display: flex; width: max-content; }
.ticker-group { display: flex; flex: none; margin: 0; padding: 0; list-style: none; }
.ticker-item { display: flex; align-items: center; gap: var(--space-3); white-space: nowrap; padding-right: var(--space-7); font-weight: 600; letter-spacing: 0.01em; }
.ticker-item::after { content: ""; width: 8px; height: 8px; margin-left: var(--space-7); border-radius: 50%; background: var(--gold); flex: none; }
.ticker-item time { font-weight: 700; color: var(--gold); }
.notice-ticker.is-moving .ticker-track { animation: ticker var(--ticker-time, 20s) linear infinite; }
.notice-ticker.is-moving:hover .ticker-track,
.notice-ticker.is-moving:focus-within .ticker-track,
.notice-bar.is-paused .ticker-track { animation-play-state: paused; }
@keyframes ticker { from { transform: translateX(0); } to { transform: translateX(calc(-1 * var(--ticker-shift, 50%))); } }
.ticker-toggle {
  align-self: center;
  display: inline-grid;
  place-items: center;
  width: 36px;
  height: 36px;
  margin-left: var(--space-3);
  padding: 0;
  border: 1.5px solid rgba(255, 255, 255, 0.6);
  border-radius: 50%;
  background: transparent;
  color: var(--on-dark);
  cursor: pointer;
  transition: background-color 0.2s ease, transform 0.12s ease;
}
.ticker-toggle:hover { background: rgba(255, 255, 255, 0.15); }
.ticker-toggle:active { transform: scale(0.92); }
.ticker-toggle[hidden] { display: none; }
.ticker-toggle .icon { width: 16px; height: 16px; }
.ticker-toggle .icon-play, .notice-bar.is-paused .ticker-toggle .icon-pause { display: none; }
.notice-bar.is-paused .ticker-toggle .icon-play { display: block; }
@media (max-width: 699px) {
  .notice-ticker { flex: 1 1 0; min-width: 0; margin-left: var(--space-5); }
  .ticker-toggle { margin-right: var(--space-4); }
  .notice-all { width: 100%; }
}
/* Visitors who ask for less motion get a still list instead */
@media (prefers-reduced-motion: reduce) {
  .notice-ticker.is-moving .ticker-track { animation: none; }
  .ticker-track { width: auto; flex-wrap: wrap; }
  .ticker-group { flex-wrap: wrap; }
  .ticker-group[aria-hidden="true"] { display: none; }
  .ticker-item { white-space: normal; }
}

/* ----- Affiliation callout ----- */
.callout { border-left: 4px solid var(--gold); background: var(--sky); padding: var(--space-4) var(--space-5); font-size: 1.08rem; font-weight: 600; color: var(--heading); border-radius: 0; }

/* ----- Classification page ----- */
.framework { max-width: 75ch; margin-bottom: var(--space-6); font-weight: 500; }
.class-cards { display: grid; gap: var(--space-5); }
.class-card {
  background: var(--surface);
  border: 1px solid var(--line);
  border-left: 5px solid var(--primary);
  border-radius: 0 var(--radius) var(--radius) 0;
  padding: var(--space-5) var(--space-5) var(--space-6);
}
@media (min-width: 768px) {
  .class-card { padding: var(--space-6) var(--space-7) var(--space-6) var(--space-6); }
}
.class-card h2 { font-size: 1.4rem; }
.class-card h3 { font-size: 1.1rem; margin-top: var(--space-5); }
.class-card > p { max-width: 75ch; }
.cp-profiles { list-style: none; margin: var(--space-4) 0 0; padding: 0; display: grid; gap: var(--space-2); }
@media (min-width: 800px) {
  .cp-profiles { grid-template-columns: 1fr 1fr; gap: var(--space-2) var(--space-6); }
}
.cp-profiles li { display: flex; align-items: baseline; gap: var(--space-3); padding: var(--space-2) 0; border-bottom: 1px solid var(--line); }
.cp-code { flex: none; min-width: 3.4rem; padding: 2px 8px; border-radius: 4px; background: var(--sky); color: var(--heading); font-weight: 700; font-size: 0.9rem; text-align: center; }
.tick-list { list-style: none; margin: var(--space-3) 0 var(--space-4); padding: 0; display: grid; gap: var(--space-2); }
.tick-list li { display: flex; align-items: flex-start; gap: var(--space-3); font-weight: 600; }
.tick-list .tick { margin-top: 0.15em; padding: 3px; width: 1.4em; height: 1.4em; border-radius: 50%; background: var(--success-bg); color: var(--success); }
.levels { list-style: none; margin: var(--space-3) 0 0; padding: 0; display: grid; gap: var(--space-3); }
@media (min-width: 700px) {
  .levels { grid-template-columns: repeat(3, 1fr); }
}
.level { display: flex; align-items: center; gap: var(--space-3); padding: var(--space-3) var(--space-4); border: 1px solid var(--line); border-radius: var(--radius); background: var(--surface-2); line-height: 1.4; }
.level-letter { flex: none; display: grid; place-items: center; width: 42px; height: 42px; border-radius: 50%; background: var(--primary); color: var(--on-primary); font-weight: 700; font-size: 1.15rem; }

/* Banner pause and play button */
.slider-play .icon { width: 16px; height: 16px; }
.slider-play .icon-play, .banner.is-paused .slider-play .icon-pause { display: none; }
.banner.is-paused .slider-play .icon-play { display: block; }
.slider-play[hidden] { display: none; }

/* =============================================================================
   Premium touches
   ============================================================================= */

/* A deep navy section for variety (Quick Links) */
.section-navy { --focus: var(--focus-on-dark); background: var(--nav-active); }
[data-theme="dark"] .section-navy { background: #0d2247; }
.section-navy .section-title h2 { color: #ffffff; }
.section-navy .quick-card { border-top-color: var(--gold); }

/* Cards lift gently when pointed at */
.card:has(.stretched) { transition: transform 0.2s ease, box-shadow 0.2s ease, border-color 0.2s ease; }
.card:has(.stretched):hover { transform: translateY(-4px); }
.photo-btn img { transition: transform 0.35s ease, opacity 0.2s ease; }
.photo-btn:hover img { transform: scale(1.04); opacity: 1; }

/* Sports cards on the home page */
.sport-cards { list-style: none; margin: 0; padding: 0; display: grid; gap: var(--space-3); grid-template-columns: repeat(2, minmax(0, 1fr)); }
@media (min-width: 600px) {
  .sport-cards { gap: var(--space-5); grid-template-columns: repeat(auto-fill, minmax(210px, 1fr)); }
}
@media (max-width: 599px) {
  .sport-cards .sport-card-body { padding: var(--space-3) var(--space-3) var(--space-4); }
  .sport-cards .card-title { font-size: 1rem; }
  .sport-cards .sport-media-icon .icon { width: 48px; height: 48px; }
}
.sport-card { padding: 0; overflow: hidden; display: flex; flex-direction: column; }
.sport-media { aspect-ratio: 4 / 3; background: var(--nav-bg); overflow: hidden; }
.sport-media img { width: 100%; height: 100%; object-fit: cover; transition: transform 0.35s ease; }
.sport-card:hover .sport-media img { transform: scale(1.05); }
.sport-media-icon .icon { width: 64px; height: 64px; stroke-width: 1.4; transition: transform 0.35s ease; }
.sport-card:hover .sport-media-icon .icon { transform: scale(1.08); }
.sport-card-body { padding: var(--space-4) var(--space-5) var(--space-5); }
.sport-card-body p { margin: 0; font-size: 0.93rem; }

/* Gallery strip on the home page: one large photo and five smaller ones */
.mosaic { display: grid; gap: var(--space-3); grid-template-columns: repeat(2, 1fr); }
.mosaic .photo-btn { aspect-ratio: 4 / 3; border-radius: var(--radius); }
.mosaic .photo-btn:first-child { grid-column: span 2; aspect-ratio: 16 / 9; }
@media (min-width: 800px) {
  .mosaic { grid-template-columns: repeat(4, 1fr); }
  .mosaic .photo-btn:first-child { grid-row: span 2; aspect-ratio: auto; }
}

/* Donate band with a photo behind it */
.band.has-photo { position: relative; overflow: hidden; isolation: isolate; padding: var(--space-8) var(--space-6); }
.band-photo { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; object-position: center 30%; z-index: -2; }
.band.has-photo::before { content: ""; position: absolute; inset: 0; z-index: -1; background: linear-gradient(90deg, rgba(8, 36, 84, 0.94) 0, rgba(8, 36, 84, 0.9) 640px, rgba(8, 36, 84, 0.45) 100%); }
@media (max-width: 899px) {
  /* On narrower screens the text covers most of the band, so the shade stays strong */
  .band.has-photo::before { background: rgba(8, 36, 84, 0.88); }
}
.band.has-photo h2 { font-size: clamp(1.5rem, 1.2rem + 1.2vw, 2.1rem); }
.band-text { max-width: 620px; }
@media (max-width: 599px) {
  .band.has-photo { padding: var(--space-7) var(--space-5); }
}

/* Logo in the footer */
.footer-logo { width: 88px; height: 88px; margin-bottom: var(--space-4); border-radius: 50%; background: #ffffff; }

/* =====================================================================
   UI/UX round (October 2026)
   ===================================================================== */

/* Header name on two even lines */
.bn-line { white-space: nowrap; }
@media (max-width: 767px) {
  .bn-line { display: block; }
  .brand { gap: var(--space-2); }
  .brand-logo, .logo-slot { width: 52px; height: 52px; }
}
@media (max-width: 379px) {
  .brand-name { font-size: 0.92rem; }
  .brand-logo, .logo-slot { width: 46px; height: 46px; }
}

/* Short intro under the banner photos */
.banner-intro {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: var(--space-3) var(--space-5);
  margin-top: var(--space-4);
}
.bi-text { flex: 1 1 420px; min-width: 0; }
.banner-intro h1 { font-size: clamp(1.25rem, 1rem + 1vw, 1.75rem); line-height: 1.25; margin: 0 0 var(--space-1); }
.banner-intro p { margin: 0; color: var(--muted); }
.bi-actions { display: flex; flex-wrap: wrap; gap: var(--space-3); }
@media (max-width: 599px) {
  .bi-actions { width: 100%; }
  .bi-actions .btn { flex: 1 1 0; }
}

/* Notifications: one slim row on phones */
@media (max-width: 699px) {
  .notice-bar { flex-wrap: nowrap; align-items: center; }
  .notice-label { width: auto; flex: none; align-self: stretch; padding: 0 var(--space-3); font-size: 0.88rem; }
  .notice-ticker { margin-left: var(--space-3); }
  .ticker-toggle { margin: 0 0 0 var(--space-2); flex: none; }
  .notice-all { width: auto; flex: none; justify-content: center; min-width: 44px; min-height: 44px; padding: 0 var(--space-2); }
  .notice-all .na-text { display: none; }
}

/* Get Involved */
.involve-grid { grid-template-columns: 1fr; }
@media (min-width: 760px) {
  .involve-grid { grid-template-columns: repeat(3, 1fr); gap: var(--space-4); }
}
.involve-card { display: flex; flex-direction: column; border-top: 4px solid var(--gold); }
.involve-card p { margin: 0 0 var(--space-4); }
.involve-links { list-style: none; margin: auto 0 0; padding: 0; display: flex; flex-wrap: wrap; gap: var(--space-2) var(--space-5); }
.involve-links a { display: inline-flex; align-items: center; gap: 6px; min-height: 32px; font-weight: 650; }
.involve-links .icon { width: 16px; height: 16px; transition: transform 0.2s ease; }
.involve-links a:hover .icon { transform: translateX(3px); }

/* Sports on the home page: matching tiles */
.sport-tiles { list-style: none; margin: 0; padding: 0; display: grid; gap: var(--space-3); grid-template-columns: 1fr; }
@media (min-width: 600px) {
  .sport-tiles { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: var(--space-4); }
}
@media (min-width: 1000px) {
  .sport-tiles { grid-template-columns: repeat(5, minmax(0, 1fr)); }
}
.sport-tile { display: flex; align-items: flex-start; gap: var(--space-4); padding: var(--space-4); }
.sport-tile p { margin: 0; font-size: 0.92rem; color: var(--muted); }
.sport-tile .card-title { font-size: 1.04rem; margin-bottom: 2px; }
.st-icon { display: grid; place-items: center; flex: none; width: 56px; height: 56px; border-radius: 50%; background: var(--sky); color: var(--link); transition: background-color 0.2s ease, color 0.2s ease; }
.st-icon .icon { width: 30px; height: 30px; stroke-width: 1.6; }
.sport-tile:hover .st-icon { background: var(--gold); color: var(--on-gold); }
@media (min-width: 1000px) {
  .sport-tile { flex-direction: column; gap: var(--space-3); padding: var(--space-5) var(--space-4); }
}
@media (min-width: 600px) and (max-width: 999px) {
  /* five tiles in two columns: the last one spans the row instead of sitting alone */
  .sport-tiles > li:last-child:nth-child(odd) { grid-column: 1 / -1; }
}

/* WhatsApp and back-to-top buttons: smaller and tucked into the corner on phones */
@media (max-width: 699px) {
  .wa-float, .to-top { right: var(--space-3); }
  .wa-float { bottom: var(--space-3); width: 48px; height: 48px; }
  .wa-float .icon { width: 26px; height: 26px; }
  .to-top { bottom: calc(var(--space-3) + 58px); width: 44px; height: 44px; }
}
@media (max-width: 699px) {
  .wa-float, .to-top { transition: transform 0.25s ease, opacity 0.25s ease, background-color 0.2s ease; }
  .floats-away .wa-float, .floats-away .to-top { transform: translateY(130px); opacity: 0; pointer-events: none; }
}

/* Notifications label: bell icon on narrow phones so the scrolling text has room */
.nl-icon { display: none; }
@media (max-width: 479px) {
  .notice-label .nl-text { position: absolute; width: 1px; height: 1px; margin: -1px; padding: 0; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0; }
  .nl-icon { display: grid; place-items: center; }
  .nl-icon .icon { width: 22px; height: 22px; }
  .notice-label { min-width: 48px; justify-content: center; }
}

/* Very small phones: keep the name clear of the theme switch */
@media (max-width: 359px) {
  .head-inner { gap: var(--space-2); }
  .brand-name { font-size: 0.8rem; }
  .bn-line { white-space: normal; }
  .brand-logo, .logo-slot { width: 40px; height: 40px; }
}

/* Footer on phones: policy links in two tidy columns, and copyright kept clear of the corner buttons */
@media (max-width: 599px) {
  .footer-policies ul { display: grid; grid-template-columns: 1fr 1fr; gap: var(--space-2) var(--space-4); justify-content: stretch; }
  .footer-policies li + li::before { content: none; }
  .footer-policies a { display: inline-flex; align-items: center; min-height: 32px; }
}
@media (max-width: 767px) {
  .footer-bottom-inner { padding-right: calc(var(--space-3) + 60px); }
}


/* =====================================================================
   Language button (English / Gujarati), next to the dark mode switch
   ===================================================================== */
.lang-switch {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  flex: none;
  min-height: 34px;
  padding: 0 12px 0 9px;
  border: 1.5px solid var(--input-border);
  border-radius: 999px;
  background: var(--surface-2);
  color: var(--heading);
  font-size: 0.9rem;
  font-weight: 650;
  line-height: 1;
  text-decoration: none;
  white-space: nowrap;
  transition: border-color 0.2s ease, background-color 0.2s ease;
}
.lang-switch:hover { border-color: var(--primary); color: var(--heading); }
.lang-switch .icon { width: 18px; height: 18px; color: var(--link); }
.lang-switch .ls-short { display: none; }
@media (max-width: 559px) {
  .lang-switch { min-height: 32px; padding: 0 9px 0 7px; gap: 4px; }
  .lang-switch .ls-full { position: absolute; width: 1px; height: 1px; margin: -1px; padding: 0; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0; }
  .lang-switch .ls-short { display: inline; }
  .lang-switch .icon { width: 16px; height: 16px; }
}

/* Gujarati pages: a little more room between lines for the script */
:lang(gu) body, body:lang(gu) { line-height: 1.75; }
:lang(gu) h1, :lang(gu) h2, :lang(gu) h3 { line-height: 1.4; letter-spacing: 0; }
:lang(gu) .brand-name { line-height: 1.3; }

/* Header with the language button: the name wraps instead of running under the buttons */
@media (max-width: 1099px) {
  .bn-line { white-space: normal; }
}
@media (min-width: 768px) and (max-width: 1099px) {
  .brand-name { font-size: 1.4rem; }
  .brand-logo, .logo-slot { width: 76px; height: 76px; }
}
@media (max-width: 559px) {
  .head-inner { gap: var(--space-2); }
  .brand-logo, .logo-slot { width: 46px; height: 46px; }
  .brand-name { font-size: 0.9rem; }
  .lang-switch { min-width: 40px; justify-content: center; padding: 0 10px; }
  .lang-switch .icon { display: none; }
}
@media (max-width: 399px) {
  .brand-name { font-size: 0.84rem; }
}
@media (max-width: 359px) {
  .brand-logo, .logo-slot { width: 40px; height: 40px; }
  .brand-name { font-size: 0.8rem; }
}
@media (max-width: 559px) {
  .bn-line { display: inline; }
  .brand-name { text-wrap: balance; }
}
@media (min-width: 560px) and (max-width: 767px) {
  .brand-name { font-size: 1.08rem; text-wrap: balance; }
  .bn-line { display: inline; }
  .brand-logo, .logo-slot { width: 60px; height: 60px; }
}
.header-donate { white-space: nowrap; flex: none; }

/* Phones: a little less space between header items, so the name has room */
.brand-name { overflow-wrap: normal; word-break: normal; hyphens: none; }
@media (max-width: 559px) {
  .head-inner { gap: 6px; }
  .brand { gap: 6px; }
  .tt-track { width: 46px; }
  [data-theme="dark"] .tt-knob { transform: translateX(14px); }
  [data-theme="dark"] .theme-toggle:active .tt-knob { transform: translateX(10px); }
}
@media (min-width: 560px) and (max-width: 767px) { .brand-name { font-size: 0.98rem; } }

/* =====================================================================
   Team profiles: bigger cards with a large photo on top
   ===================================================================== */
.person {
  flex-direction: column;
  justify-content: flex-start;
  text-align: center;
  gap: var(--space-3);
  padding: var(--space-5) var(--space-4);
  border-top: 4px solid var(--gold);
}
.person-photo { width: 128px; height: 128px; box-shadow: 0 0 0 4px var(--surface), 0 0 0 6px var(--line); }
.person-photo .icon { width: 56px; height: 56px; stroke-width: 1.5; }
.person-name { font-size: 1.12rem; line-height: 1.3; }
.person-role { font-size: 0.98rem; font-weight: 600; color: var(--link); margin-top: 4px; }
.people-grid { grid-template-columns: repeat(auto-fill, minmax(min(100%, 230px), 1fr)); gap: var(--space-4); }

/* Home page: President, Vice President and Secretary side by side */
.welcome .people { grid-template-columns: repeat(3, minmax(0, 1fr)); gap: var(--space-4); }
@media (min-width: 1000px) {
  .welcome { grid-template-columns: 1fr 1.3fr; }
  .welcome .person-photo { width: 116px; height: 116px; }
}

/* Phones: photo beside the name, so three profiles do not make the page very long */
@media (max-width: 599px) {
  .welcome .people, .people-grid { grid-template-columns: 1fr; gap: var(--space-3); }
  .person { flex-direction: row; text-align: left; gap: var(--space-4); padding: var(--space-4); border-top-width: 1px; border-left: 4px solid var(--gold); }
  .person-photo, .welcome .person-photo { width: 92px; height: 92px; }
  .person-photo .icon { width: 42px; height: 42px; }
  .person-name { font-size: 1.08rem; }
}

/* Home page sports: six sports in two rows of three on computers */
@media (min-width: 1000px) {
  .sport-tiles { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .sport-tile { flex-direction: row; align-items: center; gap: var(--space-4); padding: var(--space-4) var(--space-5); }
}

/* Events: undated events and their buttons (entry form, online registration) */
.date-box-tba { display: grid; place-items: center; min-height: 58px; color: var(--link); }
.date-box-tba .icon { width: 28px; height: 28px; }
.row-details { margin-top: var(--space-2); max-width: 75ch; }
.row-links { display: flex; flex-wrap: wrap; gap: var(--space-3); margin: var(--space-4) 0 0; }
.row-links .btn { display: inline-flex; align-items: center; gap: 8px; }
.row-links .btn .icon { width: 18px; height: 18px; }
@media (max-width: 479px) {
  .row-links .btn { flex: 1 1 100%; justify-content: center; }
}

/* Event logo on the right (white card so it also sits well in dark mode) */
.event-body { flex: 1 1 auto; min-width: 0; }
.event-logo { flex: none; width: 150px; margin: 0 0 0 auto; padding: 10px; background: #fff; border: 1px solid var(--line); border-radius: var(--radius); }
.event-logo img { display: block; width: 100%; height: auto; }
@media (max-width: 599px) {
  .event-row.has-logo { flex-direction: column; }
  .event-row.has-logo .event-logo { order: -1; width: 120px; margin: 0; }
}

/* Event logo: centred beside the text, logo centred inside its white box */
.event-row.has-logo { align-items: center; }
.event-logo {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 160px;
  padding: 12px;
  align-self: center;
}
.event-logo img { width: 100%; height: auto; margin: 0 auto; }
@media (max-width: 599px) {
  .event-row.has-logo { align-items: stretch; }
  .event-row.has-logo .event-logo { align-self: center; width: 140px; margin: 0 auto var(--space-2); }
}

/* Banner: no arrows or dots, just a small pause button in the corner of the photo */
.slider .slider-play {
  position: absolute;
  right: 12px;
  bottom: 12px;
  z-index: 2;
  display: grid;
  place-items: center;
  width: 40px;
  height: 40px;
  padding: 0;
  border: 1.5px solid rgba(255, 255, 255, 0.75);
  border-radius: 50%;
  background: rgba(5, 18, 45, 0.78);
  color: #ffffff;
  cursor: pointer;
  transition: background-color 0.2s ease;
}
.slider .slider-play:hover { background: rgba(5, 18, 45, 0.95); }
.slider .slider-play:focus-visible { outline: 3px solid #ffffff; outline-offset: 2px; box-shadow: 0 0 0 6px #0a2f6b; }
.slider .slider-play[hidden] { display: none; }
@media (max-width: 599px) {
  .slider .slider-play { right: 8px; bottom: 8px; width: 36px; height: 36px; }
}

/* =====================================================================
   PREMIUM ROUND (October 2026)
   ===================================================================== */

/* 1. Full-width banner: the photo runs edge to edge under the menu */
.banner { padding-top: 0; }
.slider-full { border-radius: 0; }
.slider-full .slide { aspect-ratio: auto; height: clamp(300px, 41.6vw, 640px); }
.slider-full::after {
  /* a soft fade at the bottom edge, so the photo settles into the page */
  content: "";
  position: absolute;
  inset: auto 0 0 0;
  height: 70px;
  background: linear-gradient(to bottom, rgba(5, 18, 45, 0), rgba(5, 18, 45, 0.28));
  pointer-events: none;
}
.slider-full .slider-play { right: max(12px, calc((100vw - var(--max)) / 2 + var(--gutter))); bottom: 14px; }
.banner-intro { margin-top: var(--space-5); }
@media (max-width: 599px) {
  .slider-full .slide { height: 260px; }
}

/* 2. Inner pages: an event photo behind the page title, under a dark blue shade */
.page-hero.has-photo {
  --focus: var(--focus-on-dark);
  position: relative;
  overflow: hidden;
  background: #0a2f6b;
  border-bottom: 0;
  padding-block: clamp(44px, 7vw, 96px);
  color: #ffffff;
}
.page-hero.has-photo .ph-img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.page-hero.has-photo::before {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(90deg, rgba(5, 18, 45, 0.93) 0%, rgba(5, 18, 45, 0.86) 50%, rgba(5, 18, 45, 0.55) 100%);
}
.page-hero.has-photo .container { position: relative; z-index: 1; }
.page-hero.has-photo h1 { color: #ffffff; }
.page-hero.has-photo .lead { color: #e6eefb; }
.page-hero.has-photo .breadcrumbs ol { color: #d3dff2; }
.page-hero.has-photo .breadcrumbs a { color: #ffffff; }
.page-hero.has-photo a { color: #ffffff; }
@media (max-width: 699px) {
  .page-hero.has-photo::before { background: rgba(5, 18, 45, 0.86); }
}
.page-hero.has-photo .ph-img { z-index: 0; }
.page-hero.has-photo::before { z-index: 1; }
.page-hero.has-photo .container { z-index: 2; }
.page-hero.has-photo::before { background: linear-gradient(90deg, rgba(5, 18, 45, 0.95) 0%, rgba(5, 18, 45, 0.9) 55%, rgba(5, 18, 45, 0.62) 100%); }
@media (max-width: 699px) { .page-hero.has-photo::before { background: rgba(5, 18, 45, 0.9); } }
.page-hero.has-photo .breadcrumbs ol { color: #ffffff; }

/* 3. Home page photo feature (replaces the three Get Involved cards) */
.section-feature { padding-block: 0; overflow: hidden; }
.feature { display: grid; align-items: stretch; }
.feature-media { position: relative; min-height: 260px; margin-inline: calc(-1 * var(--gutter)); }
.feature-media img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.feature-body { padding: var(--space-6) 0 var(--space-7); }
.feature-eyebrow { margin: 0 0 var(--space-2); font-size: 0.85rem; font-weight: 700; letter-spacing: 0.08em; text-transform: uppercase; color: #ffb37f; }
.section-feature h2 { color: #ffffff; font-size: clamp(1.6rem, 1.2rem + 1.6vw, 2.4rem); margin: 0 0 var(--space-3); }
.feature-meta { display: flex; align-items: center; gap: var(--space-2); margin: 0 0 var(--space-3); color: #d3dff2; font-weight: 600; }
.feature-meta .icon { width: 18px; height: 18px; color: #ffb37f; }
.feature-text { margin: 0 0 var(--space-5); color: #e6eefb; font-size: 1.05rem; max-width: 52ch; }
.feature-actions { display: flex; flex-wrap: wrap; align-items: center; gap: var(--space-3) var(--space-4); }
.btn-light { background: #ffffff; color: #0a2f6b; }
.btn-light:hover { background: #e3edfc; color: #0a2f6b; }
.feature-actions .btn .icon { width: 18px; height: 18px; }
.feature-more { display: inline-flex; align-items: center; gap: 6px; color: #ffffff; font-weight: 650; }
.feature-more .icon { width: 1.05em; height: 1.05em; }
@media (min-width: 900px) {
  .feature { grid-template-columns: 1fr 1fr; min-height: 440px; }
  .feature-media { margin: 0; margin-left: calc(-1 * max(var(--gutter), (100vw - var(--max)) / 2 + var(--gutter))); }
  .feature-body { align-self: center; padding: var(--space-7) 0 var(--space-7) clamp(32px, 5vw, 72px); }
}
@media (max-width: 599px) {
  .feature-actions .btn { flex: 1 1 100%; }
}

/* 4. Lighter, slimmer notifications bar */
.notice-bar {
  --focus: var(--primary);
  align-items: center;
  min-height: 48px;
  background: var(--surface);
  color: var(--text);
  border: 1px solid var(--line);
  box-shadow: var(--shadow-sm);
}
.notice-label {
  align-self: stretch;
  gap: var(--space-2);
  padding: 0 var(--space-4);
  background: transparent;
  color: var(--heading);
  font-size: 0.92rem;
  border-right: 1px solid var(--line);
}
.notice-label .nl-icon { display: inline-grid; place-items: center; width: 28px; height: 28px; border-radius: 50%; background: var(--gold); color: var(--on-gold); }
.notice-label .nl-icon .icon { width: 16px; height: 16px; }
.notice-text, .notice-ticker { padding-block: var(--space-2); }
.notice-bar a { color: var(--link); }
.notice-bar a:hover { color: var(--link-hover); }
.ticker-item { font-size: 0.95rem; font-weight: 600; letter-spacing: 0; }
.ticker-item time { color: var(--primary); }
.notice-all { padding-block: var(--space-2); font-size: 0.95rem; }
.ticker-toggle { width: 32px; height: 32px; border-color: var(--input-border); color: var(--text); }
.ticker-toggle:hover { background: var(--surface-2); }
@media (max-width: 699px) {
  .notice-label { width: auto; border-right: 1px solid var(--line); padding: 0 var(--space-3); }
  .notice-bar { flex-wrap: nowrap; }
}

/* 7. Phone action bar: Call, WhatsApp, Donate */
.action-bar { display: none; }
@media (max-width: 699px) {
  .action-bar {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 6px;
    position: fixed;
    left: 0; right: 0; bottom: 0;
    z-index: 60;
    padding: 6px 8px calc(6px + env(safe-area-inset-bottom, 0px));
    background: var(--surface);
    border-top: 1px solid var(--line);
    box-shadow: 0 -4px 18px rgba(10, 47, 107, 0.12);
  }
  .ab-item {
    display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 2px;
    min-height: 52px; border-radius: 10px;
    font-size: 0.8rem; font-weight: 700; line-height: 1.2;
    color: var(--heading); text-decoration: none;
  }
  .ab-item .icon { width: 22px; height: 22px; }
  .ab-item:hover, .ab-item[aria-current="page"] { background: var(--surface-2); }
  .ab-wa .icon { color: #128c4b; }
  [data-theme="dark"] .ab-wa .icon { color: #4fd18b; }
  .ab-donate, .ab-donate:hover, .ab-donate[aria-current="page"] { background: var(--gold); color: var(--on-gold); }
  .ab-donate:active, .ab-item:active { transform: scale(0.96); }
  body { padding-bottom: calc(64px + env(safe-area-inset-bottom, 0px)); }
  .wa-float { display: none !important; }
  .to-top { bottom: calc(76px + env(safe-area-inset-bottom, 0px)); }
}
@media print { .action-bar { display: none !important; } body { padding-bottom: 0; } }

/* 5. Gentle motion, only for people who have not asked for less of it */
@media (prefers-reduced-motion: no-preference) {
  .reveal { opacity: 0; transform: translateY(18px); transition: opacity 0.6s ease, transform 0.6s ease; }
  .reveal.is-in { opacity: 1; transform: none; }
  .sport-tile, .person { transition: transform 0.2s ease, box-shadow 0.2s ease; }
  .sport-tile:hover, .person:hover { transform: translateY(-3px); box-shadow: var(--shadow-md); }
  .feature-media { overflow: hidden; }
  .feature-media img { transition: transform 6s ease; }
  .section-feature:hover .feature-media img { transform: scale(1.04); }
}
@media print { .reveal { opacity: 1 !important; transform: none !important; } }
picture { display: contents; }

/* =====================================================================
   Header tidy-up: language + dark mode together in the corner,
   Donate at the far right of the blue menu bar
   ===================================================================== */
.header-tools {
  display: flex;
  align-items: center;
  gap: 4px;
  flex: none;
  padding: 4px;
  border: 1px solid var(--line);
  border-radius: 999px;
  background: var(--surface-2);
}
.header-tools .lang-switch {
  min-height: 34px;
  border: 0;
  background: var(--surface);
  box-shadow: var(--shadow-sm);
}
.header-tools .lang-switch:hover { background: var(--surface); color: var(--link-hover); box-shadow: 0 0 0 1.5px var(--primary); }
.header-tools .theme-toggle { height: 34px; padding: 0; }
.header-tools .tt-track { height: 30px; border-width: 1px; background: var(--surface); }
.header-tools .tt-knob { top: 2px; }

/* Desktop: Donate lives in the menu bar */
@media (min-width: 1000px) {
  .header-donate { display: none; }
  .nav-list { align-items: center; }
  .nav-list .nav-donate { display: flex; align-items: center; margin-left: auto; padding-left: var(--space-4); }
  .nav-list .nav-donate a.btn {
    display: inline-flex; align-items: center; gap: 8px;
    min-height: 38px; padding: 0 20px;
    border: 0; border-radius: 999px;
    line-height: 1.2; font-size: 0.97rem; font-weight: 700;
    background: var(--gold); color: var(--on-gold);
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.18);
    transition: background-color 0.2s ease, transform 0.15s ease;
  }
  .nav-list .nav-donate a.btn .icon { width: 17px; height: 17px; }
  .nav-list .nav-donate a.btn:hover { background: var(--gold-hover); color: var(--on-gold); transform: translateY(-1px); }
  .nav-list .nav-donate a.btn[aria-current="page"] { box-shadow: 0 0 0 2px #ffffff; }
}
@media (min-width: 1000px) and (max-width: 1099px) {
  .nav-list .nav-donate a.btn { padding: 0 14px; font-size: 0.93rem; }
  .nav-list .nav-donate a.btn .icon { display: none; }
}
/* Phones already have Donate in the bottom action bar */
@media (max-width: 699px) {
  .header-donate { display: none; }
}
.nav-list .nav-donate a.btn .icon { width: 17px; height: 17px; }
@media (max-width: 559px) {
  .header-tools { padding: 3px; gap: 3px; }
  .header-tools .lang-switch { min-height: 30px; }
  .header-tools .theme-toggle { height: 30px; }
  .header-tools .tt-track { height: 26px; }
  .header-tools .tt-knob { width: 20px; height: 20px; top: 2px; }
  [data-theme="dark"] .header-tools .tt-knob { transform: translateX(16px); }
}
