/* ==========================================================================
   Θησέας Περιβολίων — design tokens
   The crest sets the rules: warm black and one gold. Content sits on warm
   paper so schedules and news stay easy to read; black is kept for the
   bands that carry the club's identity (header, heroes, footer).
   ========================================================================== */

:root {
  --ink:         #0D0C0A;
  --ink-2:       #181612;
  --ink-3:       #25221B;
  --on-ink:      #F5F0E4;
  --on-ink-muted:#A9A290;
  --ink-rule:    rgba(245, 240, 228, .12);

  --paper:       #F5F1E8;
  --card:        #FFFFFF;
  --sand:        #ECE5D5;
  --line:        #DED6C3;
  --fg:          #16140F;
  --muted:       #676150;

  --gold:        #ECB806;
  --gold-hover:  #FFC928;
  --gold-deep:   #C99A00;
  --gold-ink:    #7A5A00;   /* gold as text on paper, 4.5:1 or better */
  --on-gold:     #0D0C0A;

  /* Γύρος Περιβολιών keeps its own identity wherever it appears here: the
     slate, white, sky blue, Inter and mono of gyrosperivolion.gr (its
     colours since November 2026, from the race logo). */
  --race-bg:      #1E2A2E;
  --race-cream:   #EEF4F6;
  --race-sky:     #A5D3E2;
  --race-sky-hi:  #CFE6EE;
  --race-dim:     rgba(238, 244, 246, .74);
  --race-line:    rgba(238, 244, 246, .3);
  --race-display: "Inter", "Helvetica Neue", Arial, sans-serif;
  --race-mono:    "JetBrains Mono", ui-monospace, Consolas, "Courier New", monospace;

  --font: "Commissioner", "Segoe UI", system-ui, -apple-system, sans-serif;

  --radius:   14px;
  --radius-s: 9px;
  --shadow:   0 22px 48px -30px rgba(22, 20, 15, .45);
  --pad:      clamp(1rem, 4vw, 2.5rem);
  --maxw:     1200px;
  --nav-h:    72px;
  --topbar-h: 2.4rem;
  --meander-h: 9px;
}

/* ==========================================================================
   Base
   ========================================================================== */

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

html {
  -webkit-text-size-adjust: 100%;
  text-size-adjust: 100%;
  scroll-behavior: smooth;
}
html.lenis, html.lenis body { height: auto; }
html.lenis { scroll-behavior: auto; }
.lenis-stopped { overflow: hidden; }

body {
  margin: 0;
  background: var(--paper);
  color: var(--fg);
  font-family: var(--font);
  font-size: 1.0625rem;
  line-height: 1.6;
  font-variation-settings: "FLAR" 0;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}

img, svg { display: block; max-width: 100%; }
a { color: inherit; }
button, input, select, textarea { font: inherit; color: inherit; }
[hidden] { display: none !important; }

h1, h2, h3, h4 {
  margin: 0;
  font-weight: 800;
  line-height: 1.05;
  letter-spacing: -.01em;
  font-variation-settings: "FLAR" 100;
  text-wrap: balance;
}
p { margin: 0; }

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

.sr-only {
  position: absolute !important;
  width: 1px; height: 1px;
  overflow: hidden;
  clip: rect(0 0 0 0);
  white-space: nowrap;
}

.skip-link {
  position: absolute;
  left: 1rem; top: -4rem;
  z-index: 100;
  padding: .6rem 1rem;
  background: var(--gold);
  color: var(--on-gold);
  font-weight: 700;
  border-radius: var(--radius-s);
}
.skip-link:focus { top: 1rem; }

:focus-visible {
  outline: 3px solid var(--gold);
  outline-offset: 3px;
  border-radius: 4px;
}

.num { font-variant-numeric: tabular-nums; }

/* ==========================================================================
   Type helpers
   ========================================================================== */

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: .65rem;
  font-size: .8125rem;
  font-weight: 700;
  letter-spacing: .14em;
  text-transform: uppercase;
  color: var(--gold-ink);
}
.eyebrow::before {
  content: "";
  width: 1.75rem;
  height: 3px;
  background: currentColor;
  border-radius: 2px;
}
.on-ink .eyebrow, .eyebrow.on-ink { color: var(--gold); }

.h-xl { font-size: clamp(2.6rem, 6.4vw, 5.4rem); line-height: .96; text-transform: uppercase; }
/* The smallest phones: long single words (ΜΕΓΑΛΩΝΟΥΜΕ, ΒΑΘΜΟΛΟΓΙΕΣ) sized to
   the screen instead of running past it. */
@media (max-width: 380px) { .h-xl { font-size: 10.6vw; } }
.h-l  { font-size: clamp(2rem, 4.2vw, 3.4rem); text-transform: uppercase; }
.h-m  { font-size: clamp(1.45rem, 2.4vw, 1.9rem); }
.h-s  { font-size: 1.2rem; }

.lead { font-size: clamp(1.08rem, 1.6vw, 1.25rem); color: var(--muted); max-width: 42rem; }
.on-ink .lead { color: var(--on-ink-muted); }

.sect-head {
  display: flex;
  flex-wrap: wrap;
  align-items: end;
  justify-content: space-between;
  gap: 1rem 2rem;
  margin-bottom: clamp(1.5rem, 3vw, 2.5rem);
}
.sect-head > div { display: grid; gap: .75rem; }

.link-arrow {
  display: inline-flex;
  align-items: center;
  gap: .4rem;
  font-weight: 700;
  text-decoration: none;
  color: var(--gold-ink);
  white-space: nowrap;
}
.link-arrow::after { content: "→"; transition: transform .2s ease; }
.link-arrow:hover::after { transform: translateX(4px); }
.on-ink .link-arrow { color: var(--gold); }

/* ==========================================================================
   Sections
   ========================================================================== */

.sect { padding-block: clamp(3.5rem, 8vw, 6.5rem); }
.sect + .sect { border-top: 1px solid var(--line); }
.sect--sand { background: var(--sand); border-top: 0 !important; }
.sect--ink {
  background: var(--ink);
  color: var(--on-ink);
  border-top: 0 !important;
}

/* Every black band closes on two gold rules, a heavy one and a hairline,
   like the rim of the crest. (It was a Greek key strip until November 2026;
   the club found it too busy. The class kept its name.) */
.meander {
  height: var(--meander-h);
  background:
    linear-gradient(var(--gold), var(--gold)) 0 0 / 100% 3px no-repeat,
    linear-gradient(var(--gold), var(--gold)) 0 100% / 100% 1px no-repeat,
    var(--ink);
}

/* ==========================================================================
   Buttons and chips
   ========================================================================== */

/* Commissioner sets its lowercase low in the line box (ascent 16, descent 3
   per 19): pill labels looked a pixel or two below centre. --lift moves the
   text up by trading padding from top to bottom; icons beside it are moved
   back down so they stay centred on the pill. */
:root { --lift: .1em; }

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: .55rem;
  min-height: 3rem;
  padding: calc(.7rem - var(--lift)) 1.35rem calc(.7rem + var(--lift));
  border: 2px solid transparent;
  border-radius: 999px;
  font-weight: 700;
  font-size: 1rem;
  line-height: 1.1;
  text-decoration: none;
  cursor: pointer;
  transition: background-color .2s ease, color .2s ease, border-color .2s ease, transform .2s ease;
}
.btn:active { transform: translateY(1px); }
.btn > svg, .btn > img,
.chip > svg, .chip > img { translate: 0 var(--lift); }

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

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

.btn--ghost { border-color: currentColor; background: transparent; }
.btn--ghost:hover { background: var(--fg); color: var(--paper); border-color: var(--fg); }
.on-ink .btn--ghost:hover, .sect--ink .btn--ghost:hover { background: var(--on-ink); color: var(--ink); border-color: var(--on-ink); }

.btn-row { display: flex; flex-wrap: wrap; gap: .75rem; }

.chip {
  display: inline-flex;
  align-items: center;
  gap: .4rem;
  min-height: 2.5rem;
  padding: calc(.35rem - var(--lift)) 1rem calc(.35rem + var(--lift));
  border: 1.5px solid var(--line);
  border-radius: 999px;
  background: var(--card);
  color: var(--fg);
  font-weight: 700;
  font-size: .95rem;
  text-decoration: none;
  cursor: pointer;
  white-space: nowrap;
  transition: background-color .18s ease, border-color .18s ease, color .18s ease;
}
.chip:hover { border-color: var(--fg); }
.chip.is-active, .chip[aria-pressed="true"], .chip[aria-current="true"] {
  background: var(--ink);
  border-color: var(--ink);
  color: var(--gold);
}

.chips {
  display: flex;
  flex-wrap: wrap;
  gap: .5rem;
}

.label-tag {
  display: inline-flex;
  align-items: center;
  padding: calc(.15rem - var(--lift) / 2) .6rem calc(.15rem + var(--lift) / 2);
  border-radius: 999px;
  background: var(--sand);
  color: var(--muted);
  font-size: .78rem;
  font-weight: 700;
  letter-spacing: .04em;
  white-space: nowrap;
}
.label-tag--gold { background: var(--gold); color: var(--on-gold); }
.label-tag--ink  { background: var(--ink); color: var(--gold); }

/* Group badge: the Κ-code in the club's colours */
.badge {
  display: inline-grid;
  place-items: center;
  min-width: 2.9rem;
  height: 2.1rem;
  padding-inline: .5rem;
  border-radius: 8px;
  background: var(--ink);
  color: var(--gold);
  font-weight: 850;
  font-size: .98rem;
  font-variation-settings: "FLAR" 100;
  letter-spacing: .01em;
  white-space: nowrap;   /* «Κ10-2» stays on one line; the badge grows instead */
}

/* Photo placeholder until the club's photos arrive */
.ph {
  position: relative;
  overflow: hidden;
  background:
    repeating-linear-gradient(90deg, rgba(255,255,255,.045) 0 38px, transparent 38px 76px),
    linear-gradient(160deg, #3A3A2E, #1D1C16);
  color: rgba(245, 240, 228, .55);
}
.ph::after {
  content: attr(data-label);
  position: absolute;
  left: .9rem; bottom: .75rem;
  font-size: .75rem;
  font-weight: 600;
  letter-spacing: .08em;
  text-transform: uppercase;
}
.ph svg {
  position: absolute;
  inset: 50% auto auto 50%;
  width: 34px; height: 34px;
  transform: translate(-50%, -50%);
  opacity: .6;
}

.ph img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.ph--img { background: var(--ink-3); }
.ph--img::after { content: none; }
.ph--caption.ph--img::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 1;
  background: linear-gradient(to top, rgba(13, 12, 10, .75), transparent 55%);
}
.ph--caption.ph--img::after {
  content: attr(data-label);
  z-index: 2;
  color: #FFFFFF;
}

/* Prototype notice */
.proto-note {
  position: fixed;
  left: 1rem; bottom: 1rem;
  z-index: 60;
  padding: .45rem .85rem;
  border-radius: 999px;
  background: rgba(13, 12, 10, .88);
  color: var(--on-ink);
  font-size: .78rem;
  font-weight: 600;
  box-shadow: var(--shadow);
  pointer-events: none;
}
.proto-note b { color: var(--gold); }

/* ==========================================================================
   Announcement bar
   ========================================================================== */

.topbar {
  background: var(--gold);
  color: var(--on-gold);
  font-size: .9rem;
  font-weight: 600;
}
.topbar .shell {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  min-height: var(--topbar-h);
}
.topbar a { text-decoration: none; }
.topbar__msg { display: inline-flex; gap: .5rem; align-items: center; }
.topbar__msg strong { font-weight: 800; }
.topbar__msg::after { content: "→"; transition: transform .2s ease; }
.topbar__msg:hover::after { transform: translateX(4px); }
.topbar__side { display: flex; align-items: center; gap: 1.25rem; }
.topbar__side a:hover { text-decoration: underline; }

/* On desktop the club's profiles sit in the bar, so the menu row keeps its
   room; below 1280px they live in the open menu instead. */
.topbar-socials { display: none; }
@media (min-width: 1280px) {
  .topbar-socials {
    display: flex;
    align-items: center;
    gap: .15rem;
    margin-right: -.4rem;
    padding-left: 1rem;
    border-left: 1px solid rgba(13, 12, 10, .25);
  }
  .topbar-socials a {
    display: grid;
    place-items: center;
    width: 1.9rem;
    height: 1.9rem;
    border-radius: 50%;
    color: var(--on-gold);
    transition: background-color .18s ease, color .18s ease;
  }
  .topbar .topbar-socials a:hover,
  .topbar .topbar-socials a:focus-visible { background: var(--on-gold); color: var(--gold); text-decoration: none; }
  .topbar-socials svg { width: 16px; height: 16px; }
  body:not(.no-topbar) .nav-socials { display: none; }
}

/* Two phones and an email: the email makes way first on narrower screens. */
@media (max-width: 1100px) {
  .topbar__side a[href^="mailto:"] { display: none; }
}
@media (max-width: 760px) {
  .topbar__side { display: none; }
  .topbar .shell { justify-content: center; text-align: center; }
}
/* Small phones: the message flows as one sentence instead of three columns. */
@media (max-width: 420px) {
  .topbar__msg { display: block; padding-block: .35rem; }
  .topbar__msg::after { display: inline-block; margin-left: .4rem; }
}

/* ==========================================================================
   Site navigation
   ========================================================================== */

.site-nav {
  position: sticky;
  top: 0;
  z-index: 50;
  background: var(--ink);
  color: var(--on-ink);
  border-bottom: 1px solid var(--ink-rule);
}
.admin-bar .site-nav { top: 32px; }
@media (max-width: 782px) { .admin-bar .site-nav { top: 46px; } }

/* Where the menu ends while it sticks: everything else that sticks is placed
   from here, so it never runs under the menu, also with the WordPress
   toolbar of a logged-in editor above it. */
:root { --stick: calc(var(--nav-h) + 1px); }
.admin-bar { --stick: calc(var(--nav-h) + 1px + 32px); }
@media (max-width: 782px) { .admin-bar { --stick: calc(var(--nav-h) + 1px + 46px); } }
@media (max-width: 600px) { .admin-bar { --stick: calc(var(--nav-h) + 1px); } }
@media (max-width: 600px) { .admin-bar .site-nav { top: 0; } }

.nav-inner {
  display: flex;
  align-items: center;
  gap: 1.5rem;
  height: var(--nav-h);
}

.brand {
  display: flex;
  align-items: center;
  gap: .75rem;
  margin-right: auto;
  text-decoration: none;
  color: var(--on-ink);
}
.brand img {
  width: 44px;
  height: 52px;
  object-fit: contain;
}
.brand__text { display: grid; line-height: 1; }
.brand__name {
  font-size: 1.4rem;
  font-weight: 850;
  letter-spacing: .07em;
  font-variation-settings: "FLAR" 100;
}
.brand__sub {
  margin-top: .3rem;
  font-size: .66rem;
  font-weight: 600;
  letter-spacing: .2em;
  color: var(--on-ink-muted);
}

.site-nav .nav-links {
  display: flex;
  align-items: center;
  gap: 1.35rem;
}
.site-nav .nav-links ul {
  display: flex;
  gap: 1.35rem;
  margin: 0;
  padding: 0;
  list-style: none;
}
.site-nav .nav-links ul a {
  position: relative;
  display: block;
  padding-block: .5rem;
  font-size: .9rem;
  font-weight: 650;
  letter-spacing: .05em;
  text-transform: uppercase;
  text-decoration: none;
  color: var(--on-ink);
  transition: color .18s ease;
}
.site-nav .nav-links ul a::after {
  content: "";
  position: absolute;
  left: 0; right: 0; bottom: 0;
  height: 3px;
  border-radius: 2px;
  background: var(--gold);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform .22s ease;
}
.site-nav .nav-links ul a:hover { color: var(--gold); }
.site-nav .nav-links ul a[aria-current="page"]::after,
.site-nav .nav-links ul a:hover::after { transform: scaleX(1); }

/* The club's profiles, as small icons between the menu and the race. */
.nav-socials { display: flex; align-items: center; gap: .1rem; margin-inline: -.35rem; }
.nav-socials a {
  display: grid;
  place-items: center;
  width: 2.2rem;
  height: 2.2rem;
  border-radius: 50%;
  color: var(--on-ink-muted);
  transition: color .18s ease;
}
.nav-socials a:hover,
.nav-socials a:focus-visible { color: var(--gold); }
.nav-socials svg { width: 18px; height: 18px; }

/* The race keeps its own identity: white with its ringed mark in slate,
   turning the sky blue of its logo under the pointer. */
.btn-race {
  display: inline-flex;
  align-items: center;
  gap: .55rem;
  min-height: 2.6rem;
  padding: .3rem 1rem .3rem .45rem;
  border: 1px solid var(--race-cream);
  border-radius: 999px;
  background: var(--race-cream);
  color: var(--race-bg);
  font-size: .88rem;
  font-weight: 700;
  text-decoration: none;
  white-space: nowrap;
  transition: border-color .2s ease, background-color .2s ease, color .2s ease;
}
.btn-race img { width: 26px; height: 26px; }
.btn-race span[aria-hidden] { opacity: .7; }
.btn-race:hover,
.btn-race:focus-visible { border-color: var(--race-sky); background: var(--race-sky); }

.nav-toggle {
  display: none;
  place-items: center;
  width: 44px;
  height: 44px;
  margin-right: -6px;
  border: 0;
  border-radius: 10px;
  background: transparent;
  color: var(--on-ink);
  cursor: pointer;
}
.nav-toggle span,
.nav-toggle span::before,
.nav-toggle span::after {
  display: block;
  width: 22px;
  height: 2px;
  border-radius: 2px;
  background: currentColor;
  transition: transform .25s ease, opacity .2s ease;
}
.nav-toggle span { position: relative; }
.nav-toggle span::before,
.nav-toggle span::after { content: ""; position: absolute; left: 0; }
.nav-toggle span::before { top: -7px; }
.nav-toggle span::after  { top: 7px; }
.site-nav.is-open .nav-toggle span { background: transparent; }
.site-nav.is-open .nav-toggle span::before { transform: translateY(7px) rotate(45deg); }
.site-nav.is-open .nav-toggle span::after  { transform: translateY(-7px) rotate(-45deg); }

/* Seven entries, the profiles and the race fit one row from 1280px; up to
   1440px the row is set a little tighter. The brand never gives way. */
.brand,
.btn-race { flex-shrink: 0; }
@media (max-width: 1439px) {
  .site-nav .nav-links,
  .site-nav .nav-links ul { gap: 1rem; }
  .site-nav .nav-links ul a { font-size: .84rem; letter-spacing: .04em; }
}

@media (max-width: 1279px) {
  .nav-toggle { display: grid; }

  .site-nav .nav-links {
    position: absolute;
    top: 100%;
    left: 0; right: 0;
    display: grid;
    gap: 1.25rem;
    padding: 1rem var(--pad) 1.75rem;
    background: var(--ink);
    border-bottom: 1px solid var(--ink-rule);
    box-shadow: 0 30px 40px -20px rgba(0, 0, 0, .6);
    max-height: calc(100dvh - var(--nav-h));
    overflow-y: auto;
    opacity: 0;
    visibility: hidden;
    transform: translateY(-8px);
    transition: opacity .22s ease, transform .22s ease, visibility 0s linear .22s;
  }
  .site-nav.is-open .nav-links {
    opacity: 1;
    visibility: visible;
    transform: none;
    transition: opacity .22s ease, transform .22s ease;
  }
  .site-nav .nav-links ul { display: grid; gap: 0; }
  .site-nav .nav-links ul a {
    padding-block: .85rem;
    font-size: 1.15rem;
    border-bottom: 1px solid var(--ink-rule);
  }
  .site-nav .nav-links ul a::after { display: none; }
  .site-nav .nav-links ul a[aria-current="page"] { color: var(--gold); }
  .btn-race { justify-self: start; }

  /* In the open menu: a row of round buttons a thumb can hit. */
  .nav-socials { gap: .5rem; margin-inline: 0; }
  .nav-socials a { width: 2.75rem; height: 2.75rem; border: 1px solid var(--ink-rule); color: var(--on-ink); }
}

@media (max-width: 420px) {
  .brand__name { font-size: 1.2rem; }
  .brand img { width: 38px; height: 45px; }
}

/* ==========================================================================
   Inner page header
   ========================================================================== */

.page-head {
  position: relative;
  overflow: hidden;
  background: var(--ink);
  color: var(--on-ink);
  padding-block: clamp(3rem, 7vw, 5.5rem) clamp(2.5rem, 6vw, 4.5rem);
}
.page-head .shell { position: relative; display: grid; gap: 1.1rem; }
.page-head .lead { color: var(--on-ink-muted); }
/* On the black header the eyebrow takes the bright gold; the dark gold is
   for paper and read at 3:1 here. */
.page-head .eyebrow { color: var(--gold); }
.page-head__crest {
  position: absolute;
  right: max(var(--pad), calc((100vw - var(--maxw)) / 2));
  top: 50%;
  width: clamp(160px, 22vw, 300px);
  transform: translateY(-50%);
  opacity: .16;
  pointer-events: none;
}
@media (max-width: 760px) { .page-head__crest { display: none; } }

.crumbs {
  display: flex;
  flex-wrap: wrap;
  gap: .4rem;
  margin: 0;
  padding: 0;
  list-style: none;
  font-size: .85rem;
  color: var(--on-ink-muted);
}
.crumbs li + li::before { content: "/"; margin-right: .4rem; opacity: .5; }
.crumbs a { text-decoration: none; }
.crumbs a:hover { color: var(--gold); }

/* ==========================================================================
   Footer
   ========================================================================== */

.site-foot {
  background: var(--ink);
  color: var(--on-ink);
}
.foot-grid {
  display: grid;
  grid-template-columns: 1.3fr 1fr 1fr 1.2fr;
  gap: 2.5rem;
  padding-block: clamp(3rem, 6vw, 4.5rem);
}
.foot-brand { display: grid; gap: 1rem; align-content: start; }
.foot-brand p { color: var(--on-ink-muted); max-width: 22rem; }

.foot-col h2 {
  margin-bottom: 1rem;
  font-size: .8rem;
  font-weight: 700;
  letter-spacing: .16em;
  text-transform: uppercase;
  color: var(--gold);
}
.foot-col ul { display: grid; gap: .55rem; margin: 0; padding: 0; list-style: none; }
.foot-col a { text-decoration: none; color: var(--on-ink); }
.foot-col a:hover { color: var(--gold); }
.foot-col address { font-style: normal; display: grid; gap: .55rem; color: var(--on-ink-muted); }
.foot-col address a { color: var(--on-ink); }

.foot-groups { display: flex; flex-wrap: wrap; gap: .4rem; }
/* The cell grows with the name (Κ10-1, Ανδρικό, Τερματοφύλακες) and never
   narrows below it. */
.foot-groups a {
  display: grid;
  place-items: center;
  flex: none;
  min-width: 3rem;
  height: 2.3rem;
  padding-inline: .6rem;
  white-space: nowrap;
  border: 1px solid var(--ink-rule);
  border-radius: 8px;
  font-weight: 800;
  font-variation-settings: "FLAR" 100;
}
.foot-groups a:hover { border-color: var(--gold); }

.socials { display: flex; gap: .5rem; }
.socials a {
  display: grid;
  place-items: center;
  width: 2.5rem;
  height: 2.5rem;
  border: 1px solid var(--ink-rule);
  border-radius: 50%;
  color: var(--on-ink);
  transition: border-color .2s ease, color .2s ease;
}
.socials a:hover { border-color: var(--gold); color: var(--gold); }
.socials svg { width: 18px; height: 18px; }

.foot-bottom {
  border-top: 1px solid var(--ink-rule);
  font-size: .88rem;
  color: var(--on-ink-muted);
}
.foot-bottom .shell {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: .75rem 1.5rem;
  min-height: 4rem;
  padding-block: 1rem;
}
.foot-links { display: flex; flex-wrap: wrap; gap: .5rem 1.5rem; }
.foot-bottom a { text-decoration: none; }
.foot-bottom a:hover { color: var(--on-ink); text-decoration: underline; text-underline-offset: .25em; }
.foot-credit b { font-weight: 700; color: var(--on-ink); }

@media (max-width: 960px) {
  .foot-grid { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 560px) {
  .foot-grid { grid-template-columns: 1fr; gap: 2rem; }
}

/* ==========================================================================
   Hero
   ========================================================================== */

.hero {
  position: relative;
  overflow: hidden;
  background:
    radial-gradient(circle at 76% 42%, rgba(236, 184, 6, .17), transparent 38%),
    var(--ink);
  color: var(--on-ink);
}
.hero__grid {
  display: grid;
  grid-template-columns: 1.15fr .85fr;
  align-items: center;
  gap: clamp(2rem, 5vw, 4rem);
  padding-block: clamp(3rem, 7vw, 5.5rem) clamp(3rem, 6vw, 4.5rem);
}
.hero__copy { display: grid; gap: 1.4rem; justify-items: start; }
.hero h1 span { color: var(--gold); }
.hero .lead { color: var(--on-ink-muted); }

/* With a video the picture fills the hero behind the text, darkened from the
   left where the text sits, and the crest steps aside. */
.hero.has-video { background: var(--ink); }
.hero__video { position: absolute; inset: 0; }
.hero__video video { width: 100%; height: 100%; object-fit: cover; }

/* A YouTube video: its still until it plays, then the player, sized to cover
   the hero like the video file (container units) and a little larger, so the
   player's own title and logo fall outside the frame. It never takes clicks. */
.hero__video--yt { overflow: hidden; container-type: size; }
.hero__yt-poster { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.hero__video--yt iframe {
  position: absolute;
  top: 50%;
  left: 50%;
  width: max(100cqw, 177.78cqh);
  height: max(56.25cqw, 100cqh);
  border: 0;
  translate: -50% -50%;
  scale: 1.18;
  opacity: 0;
  pointer-events: none;
  transition: opacity .8s ease;
}
.hero__video--yt.is-playing iframe { opacity: 1; }
.hero__video::after {
  content: "";
  position: absolute;
  inset: 0;
  background:
    linear-gradient(90deg, rgba(13, 12, 10, .9) 0%, rgba(13, 12, 10, .62) 48%, rgba(13, 12, 10, .3) 100%),
    linear-gradient(to bottom, rgba(13, 12, 10, .35), rgba(13, 12, 10, 0) 30%, rgba(13, 12, 10, .55));
}
.hero.has-video .hero__grid { position: relative; }
.hero.has-video .lead { color: rgba(245, 240, 228, .86); }
.hero__toggle {
  position: absolute;
  z-index: 2;
  right: var(--pad);
  bottom: 1.25rem;
  display: grid;
  place-items: center;
  width: 2.75rem;
  height: 2.75rem;
  padding: 0;
  border: 1px solid rgba(245, 240, 228, .35);
  border-radius: 50%;
  background: rgba(13, 12, 10, .55);
  color: var(--on-ink);
  cursor: pointer;
  transition: border-color .2s ease, background-color .2s ease;
}
.hero__toggle:hover { border-color: var(--gold); background: rgba(13, 12, 10, .8); }
.hero__toggle:focus-visible { outline: 3px solid var(--gold); outline-offset: 3px; }
.hero__toggle svg { width: 1.1rem; height: 1.1rem; fill: currentColor; }
.hero__toggle-play,
.hero__toggle.is-paused .hero__toggle-pause { display: none; }
.hero__toggle.is-paused .hero__toggle-play { display: block; }
@media (max-width: 900px) {
  .hero__video::after { background: linear-gradient(to bottom, rgba(13, 12, 10, .55), rgba(13, 12, 10, .72) 55%, rgba(13, 12, 10, .92)); }
}

.hero__facts {
  display: flex;
  flex-wrap: wrap;
  gap: 1rem 2.25rem;
  margin: .75rem 0 0;
  padding-top: 1.4rem;
  border-top: 1px solid var(--ink-rule);
}
.hero__facts div { display: grid; gap: .1rem; }
.hero__facts dt { order: 2; font-size: .85rem; color: var(--on-ink-muted); }
.hero__facts dd {
  order: 1;
  margin: 0;
  font-size: 1.75rem;
  font-weight: 850;
  line-height: 1.1;
  color: var(--on-ink);
  font-variation-settings: "FLAR" 100;
}

.hero__art { position: relative; display: grid; justify-items: center; }
.hero__crest {
  width: min(100%, 360px);
  height: auto;
  filter: drop-shadow(0 30px 60px rgba(236, 184, 6, .12));
}

.next-card {
  position: relative;
  width: min(100%, 400px);
  margin-top: -2.5rem;
  padding: 1.1rem 1.25rem 1.2rem;
  border: 1px solid var(--ink-rule);
  border-radius: var(--radius);
  background: rgba(24, 22, 18, .92);
  backdrop-filter: blur(6px);
  box-shadow: 0 24px 50px -24px rgba(0, 0, 0, .8);
}
.next-card__top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: .75rem;
  margin-bottom: .75rem;
  font-size: .78rem;
  font-weight: 700;
  letter-spacing: .12em;
  text-transform: uppercase;
  color: var(--gold);
}
.next-card__teams {
  display: flex;
  align-items: center;
  gap: .6rem;
  font-size: 1.2rem;
  font-weight: 800;
  line-height: 1.2;
  font-variation-settings: "FLAR" 100;
}
.next-card__teams .vs { font-size: .8rem; font-weight: 600; color: var(--on-ink-muted); }
.next-card__meta {
  display: flex;
  flex-wrap: wrap;
  gap: .25rem 1rem;
  margin-top: .55rem;
  font-size: .92rem;
  color: var(--on-ink-muted);
}
.next-card__count { color: var(--on-ink); font-weight: 700; }

@media (max-width: 900px) {
  .hero__grid { grid-template-columns: minmax(0, 1fr); }
  .hero__art { justify-items: stretch; }
  .hero__crest { display: none; }   /* the crest already sits in the nav bar */
  .next-card { width: 100%; margin-top: 0; }
}

/* On desktop the hero fills what is left of the first screen under the
   announcement bar and the nav, so the meander sits on the bottom edge. */
@media (min-width: 901px) {
  .hero {
    display: grid;
    align-items: center;
    min-height: calc(100vh - var(--topbar-h) - var(--nav-h) - 1px - var(--meander-h));
    min-height: calc(100svh - var(--topbar-h) - var(--nav-h) - 1px - var(--meander-h));
  }
  .admin-bar .hero {
    min-height: calc(100vh - 32px - var(--topbar-h) - var(--nav-h) - 1px - var(--meander-h));
    min-height: calc(100svh - 32px - var(--topbar-h) - var(--nav-h) - 1px - var(--meander-h));
  }
}

/* Shorter laptop screens: the same hero, a little tighter, so it still fits
   the first screen instead of spilling past it. */
@media (min-width: 901px) and (max-height: 860px) {
  .hero__grid { padding-block: 2rem; gap: 2rem; }
  .hero__copy { gap: 1.1rem; }
  .hero .h-xl { font-size: clamp(2.6rem, 5.2vw, 4.4rem); }
  .hero__facts { margin-top: .25rem; padding-top: 1rem; }
  .hero__crest { width: min(100%, 250px); }
}

/* ==========================================================================
   Group finder: birth year → τμήμα
   ========================================================================== */

.finder {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: clamp(1.5rem, 4vw, 3.5rem);
  align-items: start;
}
.finder__ask { display: grid; gap: 1rem; }
.finder__years { margin-top: .5rem; }
.finder__years .chip { min-width: 4.4rem; justify-content: center; }

.finder__result {
  min-height: 100%;
  padding: clamp(1.25rem, 3vw, 2rem);
  border-radius: var(--radius);
  background: var(--ink);
  color: var(--on-ink);
  box-shadow: var(--shadow);
}
.finder__empty {
  display: grid;
  place-content: center;
  gap: .5rem;
  min-height: 15rem;
  text-align: center;
  color: var(--on-ink-muted);
}
.finder__empty strong { color: var(--on-ink); font-size: 1.2rem; }
.finder__head { display: flex; align-items: center; gap: 1rem; margin-bottom: 1.1rem; }
.finder__code {
  font-size: 4rem;
  font-weight: 900;
  line-height: .9;
  color: var(--gold);
  font-variation-settings: "FLAR" 100;
}
.finder__head p { color: var(--on-ink-muted); }
.finder__head p strong { display: block; color: var(--on-ink); font-size: 1.15rem; }
.finder__sessions {
  display: grid;
  gap: .1rem;
  margin: 0 0 1.25rem;
  padding: 0;
  list-style: none;
}
.finder__sessions li {
  display: grid;
  grid-template-columns: 7.5rem auto 1fr;
  gap: .75rem;
  padding-block: .55rem;
  border-bottom: 1px solid var(--ink-rule);
}
.finder__sessions li span:last-child { text-align: right; color: var(--on-ink-muted); }
/* A birth year with two squads (Κ10-1, Κ10-2) lists both. */
.finder__group + .finder__group { margin-top: 1.5rem; padding-top: 1.5rem; border-top: 1px solid var(--ink-rule); }
.finder__note { margin-top: 1.25rem; font-size: .92rem; color: var(--on-ink-muted); }

@media (max-width: 860px) {
  .finder { grid-template-columns: 1fr; }
  .finder__empty { min-height: 9rem; }
}
@media (max-width: 420px) {
  .finder__sessions li { grid-template-columns: 6.2rem auto 1fr; gap: .5rem; font-size: .95rem; }
}

/* ==========================================================================
   Home: the men's team and the academies, side by side under the hero
   ========================================================================== */

.sect--tight { padding-block: clamp(2.5rem, 5vw, 3.75rem); }

.teams__grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: clamp(1rem, 2.5vw, 1.5rem);
  align-items: stretch;
}
.team-card {
  --card-pad: clamp(1.5rem, 3.5vw, 2.5rem);
  position: relative;
  display: grid;
  align-content: start;
  gap: 1rem;
  padding: var(--card-pad);
  border-radius: var(--radius);
  overflow: hidden;
}
.team-card .h-l { font-size: clamp(1.9rem, 3.4vw, 2.8rem); line-height: 1; }
.team-card p { max-width: 34rem; }

.team-card--men {
  background:
    radial-gradient(circle at 90% 12%, rgba(236, 184, 6, .18), transparent 45%),
    var(--ink);
  color: var(--on-ink);
  box-shadow: var(--shadow);
}
.team-card--men p { color: var(--on-ink-muted); }
/* Without a team photo the crest sits in the corner as a watermark. */
.team-card__crest {
  position: absolute;
  right: -3.5rem;
  bottom: -5.5rem;
  width: clamp(190px, 21vw, 270px);
  height: auto;
  opacity: .08;
  pointer-events: none;
}
.team-card__photo {
  margin: calc(var(--card-pad) * -1) calc(var(--card-pad) * -1) .25rem;
  aspect-ratio: 16 / 9;
  overflow: hidden;
}
/* Team photos: faces sit in the upper part of the frame. */
.team-card__photo img { width: 100%; height: 100%; object-fit: cover; object-position: 50% 30%; }
.team-card__body { position: relative; display: grid; gap: 1rem; align-content: start; }
.team-card__facts {
  display: flex;
  flex-wrap: wrap;
  gap: .9rem 2.25rem;
  margin: .25rem 0 0;
  padding-top: 1rem;
  border-top: 1px solid var(--ink-rule);
}
.team-card__facts div { display: grid; gap: .1rem; align-content: start; }
.team-card__facts dt { font-size: .75rem; font-weight: 700; letter-spacing: .12em; text-transform: uppercase; color: var(--gold); }
.team-card__facts dd { margin: 0; font-weight: 700; }
.team-card__next {
  display: grid;
  gap: .1rem;
  padding: .8rem 1rem;
  border-radius: 10px;
  background: rgba(245, 240, 228, .06);
  font-size: .95rem;
  color: var(--on-ink-muted);
}
.team-card__next span { font-size: .72rem; font-weight: 700; letter-spacing: .12em; text-transform: uppercase; color: var(--gold); }
.team-card__next b { color: var(--on-ink); }
.team-card .btn-row { margin-top: .5rem; }

.team-card--academy { background: var(--card); border: 1px solid var(--line); }
.team-card--academy p { color: var(--muted); }
.team-card--academy .chips { display: flex; flex-wrap: wrap; gap: .5rem; }
.team-card--academy .link-arrow { justify-self: start; margin-top: .25rem; }
.chip--code { min-width: 3.6rem; justify-content: center; font-size: 1rem; font-variation-settings: "FLAR" 100; }

@media (max-width: 900px) {
  .teams__grid { grid-template-columns: minmax(0, 1fr); }
}

/* ==========================================================================
   Weekly schedule
   ========================================================================== */

.week-tools { margin-bottom: 1.25rem; }

.week {
  display: grid;
  grid-template-columns: repeat(6, minmax(0, 1fr));
  gap: .6rem;
}
/* One column that never grows past the day: a long day name with the
   «Σήμερα» tag wraps instead of pushing the slots out of the box. */
.week__day {
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  gap: .45rem;
  align-content: start;
  padding: .6rem;
  border-radius: var(--radius);
  background: var(--card);
  border: 1px solid var(--line);
}
.week__day.is-today { border-color: var(--gold-deep); box-shadow: inset 0 0 0 1px var(--gold-deep); }
.week__name {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: .3rem .4rem;
  padding: .25rem .35rem .5rem;
  font-weight: 800;
  font-size: .9rem;
  letter-spacing: .08em;
  text-transform: uppercase;
  font-variation-settings: "FLAR" 100;
}
/* Group first, on its own line, then the time and the ground: a long group
   name (Κ10-2, Ανδρικό, Τερματοφύλακες) never squeezes the time. */
.slot {
  display: grid;
  justify-items: start;
  gap: .3rem;
  padding: .6rem .65rem;
  border-radius: 10px;
  background: var(--paper);
  transition: opacity .2s ease, background-color .2s ease;
}
.slot__time { font-weight: 700; font-size: .95rem; font-variant-numeric: tabular-nums; white-space: nowrap; }
.slot__venue { font-size: .8rem; color: var(--muted); }
.slot .badge { min-width: 2.6rem; height: 1.7rem; font-size: .85rem; }
.slot.is-dim { opacity: .28; }
.slot.is-hit { background: #FFF6D6; }
.week__none { padding: .6rem .35rem; font-size: .88rem; color: var(--muted); }

@media (max-width: 1000px) {
  .week {
    grid-template-columns: none;
    grid-auto-flow: column;
    grid-auto-columns: minmax(210px, 42%);
    overflow-x: auto;
    scroll-snap-type: x mandatory;
    padding-bottom: .5rem;
    margin-inline: calc(var(--pad) * -1);
    padding-inline: var(--pad);
    scroll-padding-inline: var(--pad);
  }
  .week__day { scroll-snap-align: start; }
}
@media (max-width: 560px) {
  .week { grid-auto-columns: 78%; }
  .week-tools .chips { flex-wrap: nowrap; overflow-x: auto; margin-inline: calc(var(--pad) * -1); padding-inline: var(--pad); padding-bottom: .25rem; }
  .week-tools .chip { flex: none; }
}

/* ==========================================================================
   Fixtures and results
   ========================================================================== */

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

.fixtures { display: grid; gap: .6rem; margin: 0; padding: 0; list-style: none; }
.fixture {
  display: grid;
  grid-template-columns: 4.6rem 1fr auto;
  align-items: center;
  gap: 1rem;
  padding: .85rem 1.1rem .85rem .85rem;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--card);
}
.fixture__date {
  display: grid;
  justify-items: center;
  padding-block: .35rem;
  border-radius: 10px;
  background: var(--ink);
  color: var(--on-ink);
  line-height: 1;
}
.fixture__date b { font-size: 1.6rem; font-weight: 850; font-variation-settings: "FLAR" 100; }
.fixture__date span { margin-top: .2rem; font-size: .7rem; font-weight: 700; letter-spacing: .1em; color: var(--gold); }
.fixture__date small { margin-top: .15rem; font-size: .68rem; color: var(--on-ink-muted); }
.fixture__main { display: grid; gap: .3rem; min-width: 0; }
.fixture__comp { display: flex; flex-wrap: wrap; align-items: center; gap: .5rem; font-size: .85rem; color: var(--muted); }
.fixture__teams { font-weight: 650; line-height: 1.25; }
.fixture__teams b { font-weight: 850; }
.fixture__teams .vs { margin-inline: .1rem; color: var(--muted); font-weight: 500; font-size: .85rem; }
.fixture__side { display: grid; justify-items: end; gap: .25rem; text-align: right; }
.fixture__time { font-size: 1.2rem; font-weight: 800; font-variant-numeric: tabular-nums; }
.fixture__venue { font-size: .82rem; color: var(--muted); max-width: 11rem; }

.score {
  display: inline-flex;
  align-items: center;
  gap: .35rem;
  padding: .2rem .7rem;
  border-radius: 8px;
  background: var(--ink);
  color: var(--on-ink);
  font-size: 1.15rem;
  font-weight: 850;
  font-variant-numeric: tabular-nums;
}
.score--w { background: var(--gold); color: var(--on-gold); }
.score--d { background: var(--sand); color: var(--fg); }
.result-note { font-size: .78rem; font-weight: 700; color: var(--muted); }

.fixture--compact { grid-template-columns: 3.8rem 1fr auto; gap: .75rem; }
.fixture--compact .fixture__date b { font-size: 1.3rem; }

@media (max-width: 900px) { .fixtures--grid { grid-template-columns: minmax(0, 1fr); } }
@media (max-width: 520px) {
  .fixture, .fixture--compact { grid-template-columns: 3.6rem 1fr; gap: .75rem; padding: .75rem; }
  .fixture__side { grid-column: 2; justify-items: start; text-align: left; grid-auto-flow: column; justify-content: start; align-items: center; gap: .75rem; }
  .fixture__time { font-size: 1rem; }
  .fixture__date b { font-size: 1.3rem; }
}

/* ==========================================================================
   News
   ========================================================================== */

.news-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: clamp(1rem, 2.5vw, 1.75rem);
}
.news-card { display: grid; gap: .85rem; align-content: start; text-decoration: none; }
.news-card .ph { aspect-ratio: 16 / 10; border-radius: var(--radius); transition: transform .35s ease; }
.news-card:hover .ph { transform: scale(1.015); }
.news-card__meta { display: flex; flex-wrap: wrap; align-items: center; gap: .6rem; font-size: .85rem; color: var(--muted); }
.news-card h3 { font-size: 1.3rem; line-height: 1.2; transition: color .2s ease; }
.news-card:hover h3 { color: var(--gold-ink); }
.news-card p { color: var(--muted); font-size: .98rem; }

@media (max-width: 960px) { .news-grid { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 600px) { .news-grid { grid-template-columns: 1fr; } }

/* ==========================================================================
   Γύρος Περιβολιών band, in the race's own identity (gyrosperivolion.gr):
   slate, white and sky blue, heavy uppercase Inter and mono labels, over the
   start line
   ========================================================================== */

.race-band {
  position: relative;
  isolation: isolate;
  overflow: hidden;
  background: #000000;
  color: var(--race-cream);
}
.race-band__media { position: absolute; inset: 0; z-index: -1; }
.race-band__media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: 50% 38%;
  filter: brightness(.72) contrast(1.05) saturate(.8);
}
.race-band__media::after {
  content: "";
  position: absolute;
  inset: 0;
  background:
    linear-gradient(90deg, rgba(0, 0, 0, .9) 0%, rgba(0, 0, 0, .66) 48%, rgba(0, 0, 0, .3) 100%),
    linear-gradient(to bottom, rgba(0, 0, 0, .45), rgba(0, 0, 0, 0) 38%, rgba(0, 0, 0, .8));
}
.race-band__inner {
  display: grid;
  gap: clamp(1.25rem, 3vw, 2rem);
  padding-block: clamp(3.5rem, 8vw, 6.5rem);
}
.race-band__top {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: .5rem 1.1rem;
  font-family: var(--race-mono);
  font-size: .72rem;
  font-weight: 500;
  text-transform: uppercase;
  letter-spacing: .17em;
  color: var(--race-dim);
}
.race-band__top img { width: 40px; height: 40px; margin-right: .25rem; }
.race-band__top span + span::before { content: "/"; margin-right: 1.1rem; opacity: .5; }
.race-band h2 {
  font-family: var(--race-display);
  font-size: clamp(3rem, 10.5vw, 8.75rem);
  font-weight: 900;
  line-height: .9;
  letter-spacing: -.035em;
  text-transform: uppercase;
  font-variation-settings: normal;
  color: var(--race-cream);
}
.race-band__foot {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 1.25rem 2.5rem;
  padding-top: clamp(1.1rem, 2.5vw, 1.6rem);
  border-top: 1px solid var(--race-line);
}
.race-count { display: flex; align-items: baseline; gap: .7rem; }
.race-count b {
  font-family: var(--race-mono);
  font-size: clamp(2rem, 4vw, 2.8rem);
  font-weight: 500;
  line-height: 1;
  letter-spacing: -.02em;
  font-variant-numeric: tabular-nums;
}
.race-count span,
.race-band__routes li {
  font-family: var(--race-mono);
  font-size: .64rem;
  text-transform: uppercase;
  letter-spacing: .16em;
}
.race-count span { color: var(--race-dim); }
.race-band__routes { display: flex; flex-wrap: wrap; gap: .5rem .7rem; margin: 0; padding: 0; list-style: none; }
.race-band__routes li {
  display: inline-flex;
  align-items: center;
  gap: .5rem;
  padding: .42rem .9rem;
  border: 1px solid var(--race-line);
  border-radius: 999px;
}
.race-dot { width: 7px; height: 7px; border-radius: 50%; }
.race-dot--10 { background: #F5C518; }
.race-dot--5 { background: #6BB6E8; }
.race-dot--1 { background: #8FC47C; }
.race-band__cta {
  display: inline-flex;
  align-items: center;
  gap: .7rem;
  margin-left: auto;
  padding: .95rem 1.6rem;
  border-radius: 999px;
  background: var(--race-sky);
  color: var(--race-bg);
  font-family: var(--race-mono);
  font-size: .72rem;
  font-weight: 500;
  text-transform: uppercase;
  letter-spacing: .15em;
  text-decoration: none;
  transition: background-color .25s ease;
}
.race-band__cta:hover { background: var(--race-sky-hi); }

@media (max-width: 760px) {
  .race-band__media::after {
    background: linear-gradient(to bottom, rgba(0, 0, 0, .7), rgba(0, 0, 0, .55) 45%, rgba(0, 0, 0, .9));
  }
  .race-band__top span + span::before { display: none; }
  .race-band__top span + span { flex-basis: 100%; }
  .race-band__cta { margin-left: 0; }
}

/* ==========================================================================
   Home: Αθλητικός Όμιλος Περιβολίων
   ========================================================================== */

.aop__grid {
  display: grid;
  grid-template-columns: auto minmax(0, 1fr) minmax(0, 1.2fr);
  align-items: center;
  gap: clamp(1.5rem, 4vw, 3.5rem);
}
.aop__crest {
  width: clamp(130px, 14vw, 190px);
  height: auto;
  filter: drop-shadow(0 18px 30px rgba(22, 20, 15, .18));
}
.aop__text { display: grid; gap: .7rem; }
.aop__text p { color: var(--muted); }
.aop__board {
  padding: 1.4rem 1.5rem;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--card);
}
.aop__board h3 {
  margin-bottom: .9rem;
  font-size: .78rem;
  letter-spacing: .14em;
  text-transform: uppercase;
  color: var(--gold-ink);
}
.aop__people { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: .75rem 1.5rem; margin: 0; }
.aop__people div { display: grid; align-content: start; gap: .05rem; }
.aop__people dt { font-size: .8rem; color: var(--muted); }
.aop__people dd { margin: 0; font-weight: 700; line-height: 1.3; }
.aop__board small { display: block; margin-top: 1rem; font-size: .82rem; color: var(--muted); }

@media (max-width: 1000px) {
  .aop__grid { grid-template-columns: auto minmax(0, 1fr); }
  .aop__board { grid-column: 1 / -1; }
}
@media (max-width: 560px) {
  .aop__grid { grid-template-columns: minmax(0, 1fr); }
  .aop__crest { width: 120px; }
}
@media (max-width: 440px) {
  .aop__people { grid-template-columns: minmax(0, 1fr); }
}

/* ==========================================================================
   Photos strip, sponsors, join CTA
   ========================================================================== */

.photo-strip {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  grid-auto-rows: clamp(120px, 15vw, 190px);
  gap: .6rem;
}
.photo-strip a { position: relative; display: block; border-radius: var(--radius-s); overflow: hidden; text-decoration: none; }
.photo-strip a .ph { position: absolute; inset: 0; transition: transform .4s ease; }
.photo-strip a:hover .ph { transform: scale(1.04); }
.photo-strip a:first-child { grid-column: span 2; grid-row: span 2; }
@media (max-width: 640px) {
  .photo-strip { grid-template-columns: repeat(2, 1fr); grid-auto-rows: 120px; }
  .photo-strip a:nth-child(n+6) { display: none; }
}

.sponsors {
  display: grid;
  grid-template-columns: repeat(6, 1fr);
  gap: .75rem;
}
.sponsor {
  display: grid;
  place-items: center;
  aspect-ratio: 3 / 2;
  border: 1px dashed var(--line);
  border-radius: var(--radius-s);
  background: var(--card);
  font-size: .8rem;
  font-weight: 600;
  color: var(--muted);
  text-align: center;
  padding: .5rem;
}
@media (max-width: 860px) { .sponsors { grid-template-columns: repeat(3, 1fr); } }

.cta-join {
  background: var(--gold);
  color: var(--on-gold);
}
.cta-join__grid {
  display: grid;
  grid-template-columns: 1.2fr auto;
  align-items: center;
  gap: 1.5rem 3rem;
  padding-block: clamp(2.75rem, 6vw, 4.25rem);
}
.cta-join h2 { font-size: clamp(2rem, 4.6vw, 3.6rem); text-transform: uppercase; line-height: .98; }
.cta-join p { margin-top: .75rem; max-width: 36rem; font-size: 1.1rem; }
.cta-join .btn--ghost:hover { background: var(--ink); color: var(--on-ink); border-color: var(--ink); }
@media (max-width: 760px) { .cta-join__grid { grid-template-columns: 1fr; } }

/* ==========================================================================
   Τμήματα
   ========================================================================== */

.group-nav {
  position: sticky;
  top: calc(var(--stick) - 1px);
  z-index: 40;
  background: rgba(245, 241, 232, .94);
  backdrop-filter: blur(8px);
  border-bottom: 1px solid var(--line);
}

.group-nav .shell { display: flex; align-items: center; gap: 1rem; min-height: 4rem; }
.group-nav__label { font-size: .8rem; font-weight: 700; letter-spacing: .12em; text-transform: uppercase; color: var(--muted); white-space: nowrap; }
.group-nav .chips { flex-wrap: nowrap; overflow-x: auto; padding-block: .6rem; scrollbar-width: none; }
.group-nav .chips::-webkit-scrollbar { display: none; }
.group-nav .chip { flex: none; min-width: 3.6rem; justify-content: center; font-size: 1rem; font-variation-settings: "FLAR" 100; }
@media (max-width: 640px) { .group-nav__label { display: none; } }
.group-nav .chip--wide { margin-left: .5rem; font-variation-settings: normal; }

.group-sect {
  padding-block: clamp(3rem, 7vw, 5.5rem);
  border-top: 1px solid var(--line);
}
.group-sect:nth-of-type(even) { background: var(--sand); }
.group-sect__grid {
  display: grid;
  grid-template-columns: .85fr 1.15fr;
  gap: clamp(1.75rem, 5vw, 4.5rem);
  align-items: start;
}
.group-sect__id { display: grid; gap: 1.25rem; }
.group-code {
  font-size: clamp(5.5rem, 13vw, 10rem);
  font-weight: 900;
  line-height: .8;
  letter-spacing: -.02em;
  font-variation-settings: "FLAR" 100;
}
.group-code::after {
  content: "";
  display: block;
  width: 4.5rem;
  height: 6px;
  margin-top: 1.1rem;
  border-radius: 3px;
  background: var(--gold);
}
.group-code--long {
  font-size: clamp(2.4rem, 5.5vw, 4.5rem);
  letter-spacing: 0;
  line-height: 1;
}
.group-code--long::after { margin-top: .8rem; }
/* «Τερματοφύλακες» is a long word: smaller again, so it stays in its column. */
.group-code--longer { font-size: clamp(2rem, 4vw, 3.4rem); }

.group-facts { display: grid; grid-template-columns: 1fr 1fr; gap: .85rem 1.5rem; margin: 0; }
.group-facts div { display: grid; gap: .1rem; align-content: start; }
.group-facts dt { font-size: .8rem; font-weight: 600; letter-spacing: .06em; text-transform: uppercase; color: var(--muted); }
.group-facts dd { margin: 0; font-size: 1.15rem; font-weight: 750; }

.group-sect__body { display: grid; gap: 1.5rem; }
.group-sect__body > p { font-size: 1.12rem; }

.coach {
  display: flex;
  align-items: center;
  gap: 1rem;
  padding: 1rem 1.1rem;
  border: 1px solid var(--line);
  border-left: 4px solid var(--gold);
  border-radius: var(--radius);
  background: var(--card);
}
.coach { flex-wrap: wrap; }
.coach small { display: block; font-size: .82rem; color: var(--muted); }
.coach .link-arrow { margin-left: auto; font-size: .92rem; }
.coach strong { font-size: 1.1rem; }

.sessions {
  width: 100%;
  border-collapse: collapse;
  font-size: 1rem;
}
.sessions caption { text-align: left; margin-bottom: .5rem; font-size: .8rem; font-weight: 700; letter-spacing: .12em; text-transform: uppercase; color: var(--muted); }
.sessions th, .sessions td { padding: .7rem .5rem; border-bottom: 1px solid var(--line); text-align: left; }
.sessions th { font-weight: 750; }
.sessions td.num { font-weight: 700; }
.sessions td:last-child { color: var(--muted); text-align: right; }

@media (max-width: 860px) {
  .group-sect__grid { grid-template-columns: 1fr; }
  .group-sect__id { grid-template-columns: auto 1fr; align-items: end; gap: 1.5rem; }
  .group-code::after { margin-top: .8rem; }
}
@media (max-width: 460px) {
  .group-sect__id { grid-template-columns: 1fr; }
  .sessions th, .sessions td { padding-inline: .25rem; font-size: .95rem; }
}

/* ==========================================================================
   Τμήματα: programme note
   ========================================================================== */

.note {
  display: flex;
  gap: .75rem;
  align-items: start;
  margin-top: 1.25rem;
  padding: 1rem 1.1rem;
  border-radius: var(--radius);
  background: #FFF6D6;
  font-size: .95rem;
}
.note strong { white-space: nowrap; }

/* ==========================================================================
   Βαθμολογίες και αγώνες
   ========================================================================== */

.filter-bar { display: flex; flex-wrap: wrap; align-items: center; gap: .75rem 1rem; margin-bottom: 1.75rem; }
.filter-bar__label { font-size: .8rem; font-weight: 700; letter-spacing: .12em; text-transform: uppercase; color: var(--muted); }
.empty { padding: 1.5rem; border: 1px dashed var(--line); border-radius: var(--radius); color: var(--muted); text-align: center; }
@media (max-width: 560px) {
  .filter-bar .chips { flex-wrap: nowrap; overflow-x: auto; width: calc(100% + 2 * var(--pad)); margin-inline: calc(var(--pad) * -1); padding-inline: var(--pad); padding-bottom: .25rem; }
}

.leagues { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 1rem; align-items: start; }
.league { border: 1px solid var(--line); border-radius: var(--radius); background: var(--card); overflow: hidden; }
.league__head { display: flex; align-items: center; gap: .85rem; padding: 1rem 1.15rem; border-bottom: 1px solid var(--line); }
.league__head h3 { font-size: 1.08rem; line-height: 1.2; }
.league__head small { display: block; margin-top: .15rem; font-size: .82rem; color: var(--muted); }
.league__table { overflow-x: auto; }
.standings { width: 100%; border-collapse: collapse; font-size: .95rem; font-variant-numeric: tabular-nums; }
.standings th, .standings td { padding: .6rem .45rem; text-align: center; white-space: nowrap; }
.standings th { font-size: .72rem; font-weight: 700; letter-spacing: .08em; text-transform: uppercase; color: var(--muted); }
.standings td { border-top: 1px solid var(--line); }
.standings .pos { width: 2.75rem; padding-left: 1.15rem; text-align: left; color: var(--muted); font-weight: 700; }
.standings .team { text-align: left; font-weight: 600; white-space: normal; }
.standings .goals { color: var(--muted); }
.standings .pts { padding-right: 1.15rem; font-weight: 850; }
.standings tr.is-us td { background: #FFF6D6; font-weight: 800; }
.standings tr.is-us .pos { color: var(--gold-ink); box-shadow: inset 4px 0 0 var(--gold); }
.league__note { padding: .8rem 1.15rem; border-top: 1px solid var(--line); background: var(--paper); font-size: .85rem; color: var(--muted); }
@media (max-width: 960px) { .leagues { grid-template-columns: minmax(0, 1fr); } }
@media (max-width: 520px) {
  .standings .wdl { display: none; }
  .standings th, .standings td { padding-inline: .35rem; }
}

/* ==========================================================================
   Νέα
   ========================================================================== */

.news-feature {
  display: grid;
  grid-template-columns: 1.2fr 1fr;
  gap: clamp(1.25rem, 4vw, 3rem);
  align-items: center;
  margin-bottom: clamp(2.5rem, 5vw, 4rem);
  text-decoration: none;
}
.news-feature .ph { aspect-ratio: 16 / 10; border-radius: var(--radius); }
.news-feature h2 { font-size: clamp(1.7rem, 3.4vw, 2.6rem); margin-block: .75rem; transition: color .2s ease; }
.news-feature:hover h2 { color: var(--gold-ink); }
.news-feature p { color: var(--muted); font-size: 1.08rem; }
@media (max-width: 760px) { .news-feature { grid-template-columns: 1fr; } }

.article { max-width: 46rem; margin-inline: auto; }
.article__cover { aspect-ratio: 16 / 9; border-radius: var(--radius); margin-bottom: 2rem; }
.prose { display: grid; gap: 1.15rem; font-size: 1.12rem; line-height: 1.7; }
.prose h2 { margin-top: 1rem; font-size: 1.55rem; }
.prose ul { margin: 0; padding-left: 1.25rem; display: grid; gap: .4rem; }
.prose li::marker { color: var(--gold-deep); }
.article__foot { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 1rem; margin-top: 2.5rem; padding-top: 1.5rem; border-top: 1px solid var(--line); }

/* ==========================================================================
   Φωτογραφίες
   ========================================================================== */

.albums { display: grid; grid-template-columns: repeat(3, 1fr); gap: clamp(1rem, 2.5vw, 1.5rem); }
.album { display: grid; gap: .7rem; text-decoration: none; }
.album__cover { position: relative; aspect-ratio: 4 / 3; border-radius: var(--radius); overflow: hidden; }
.album__cover .ph { position: absolute; inset: 0; transition: transform .4s ease; }
.album:hover .album__cover .ph { transform: scale(1.03); }
.album__count {
  position: absolute;
  right: .75rem; top: .75rem;
  padding: .2rem .6rem;
  border-radius: 999px;
  background: rgba(13, 12, 10, .8);
  color: var(--on-ink);
  font-size: .78rem;
  font-weight: 700;
}
.album h2 { font-size: 1.2rem; }
.album p { font-size: .9rem; color: var(--muted); }
@media (max-width: 900px) { .albums { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 520px) { .albums { grid-template-columns: 1fr; } }

/* ==========================================================================
   Ο Σύλλογος
   ========================================================================== */

.story { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(1.5rem, 5vw, 4rem); align-items: start; }
.story__text { display: grid; gap: 1.1rem; }
.story__text p { font-size: 1.1rem; }
/* The club's text bolds many names and scores; at a lighter weight they mark
   the facts without turning the page into a wall of black. */
.story__text strong { font-weight: 650; color: var(--fg); }
.story .ph { aspect-ratio: 5 / 4; border-radius: var(--radius); }
/* Without a photo the text runs as one comfortable column. */
.story--single { grid-template-columns: minmax(0, 46rem); }
/* The page's photo in its own shape; on wide screens it stays in view
   while the full story is read. */
.story__photo { display: grid; gap: .5rem; margin: 0; }
.story__photo .ph--img { aspect-ratio: auto; }
.story__photo .ph--img img { position: static; height: auto; }
.story__photo figcaption { font-size: .88rem; font-weight: 650; color: var(--muted); }
@media (min-width: 861px) { .story__photo { position: sticky; top: calc(var(--stick) + 2.5rem); } }
.story__more summary {
  display: inline-flex;
  align-items: center;
  gap: .5rem;
  margin-top: .25rem;
  font-weight: 800;
  color: var(--gold-ink);
  cursor: pointer;
  list-style: none;
}
.story__more summary::-webkit-details-marker { display: none; }
.story__more summary::after { content: "↓"; transition: transform .2s ease; }
.story__more[open] summary::after { transform: rotate(180deg); }
.story__more summary:hover { color: var(--fg); }
.story__more summary:focus-visible { outline: 3px solid var(--gold); outline-offset: 4px; border-radius: 4px; }
.story__close,
.story__more[open] .story__open { display: none; }
.story__more[open] .story__close { display: inline; }
.story__more[open] summary { order: 2; }
.story__more[open] { display: flex; flex-direction: column; }
.story__rest { display: grid; gap: 1.1rem; margin-bottom: 1.1rem; }
.story__more.is-moving .story__rest { overflow: hidden; }
@media (max-width: 860px) { .story { grid-template-columns: 1fr; } }

/* Ιστορία: the history in four numbers. */
.honours {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 1rem;
  margin: 0;
}
.honours div {
  display: grid;
  gap: .35rem;
  align-content: start;
  padding: 1.25rem 1.35rem;
  border-top: 4px solid var(--gold);
  border-radius: var(--radius-s);
  background: var(--card);
}
.honours dt { order: 2; font-weight: 700; line-height: 1.3; color: var(--muted); }
.honours dd {
  order: 1;
  margin: 0;
  font-size: clamp(2.4rem, 5vw, 3.4rem);
  font-weight: 900;
  line-height: 1;
  font-variation-settings: "FLAR" 100;
  font-variant-numeric: tabular-nums;
}
@media (max-width: 760px) { .honours { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
/* Two numbers side by side on the narrowest phones: «1960» still fits. */
@media (max-width: 400px) {
  .honours { gap: .75rem; }
  .honours div { padding: 1rem; }
  .honours dd { font-size: 2.1rem; }
}

.timeline { position: relative; display: grid; gap: 0; margin: 0; padding: 0; list-style: none; }
.timeline::before {
  content: "";
  position: absolute;
  left: 9.75rem; top: .6rem; bottom: .6rem;
  width: 2px;
  background: linear-gradient(var(--gold), rgba(236, 184, 6, .15));
}
/* The year column fits a season too («1991–92»). */
.timeline li { position: relative; display: grid; grid-template-columns: 8.5rem 1fr; gap: 2.5rem; padding-block: 1.1rem; }
.timeline li::before {
  content: "";
  position: absolute;
  left: calc(9.75rem - 6px); top: 1.55rem;
  width: 14px; height: 14px;
  border-radius: 50%;
  background: var(--ink);
  border: 3px solid var(--gold);
}
.timeline__year { font-size: 1.75rem; font-weight: 900; line-height: 1.1; color: var(--gold); text-align: right; white-space: nowrap; font-variation-settings: "FLAR" 100; font-variant-numeric: tabular-nums; }
.timeline h3 { font-size: 1.25rem; margin-bottom: .3rem; }
.timeline p { color: var(--on-ink-muted); max-width: 40rem; }
@media (max-width: 560px) {
  .timeline::before { left: .45rem; }
  .timeline li { grid-template-columns: 1fr; gap: .35rem; padding-left: 2rem; }
  .timeline li::before { left: 0; top: 1.3rem; }
  .timeline__year { text-align: left; font-size: 1.6rem; }
}

/* Από το αρχείο: rows of equal height that keep every photo whole and in
   order. Each item grows in proportion to its width-to-height ratio (--r). */
.archive-grid { display: flex; flex-wrap: wrap; gap: 1rem; margin: 0; padding: 0; list-style: none; }
.archive-grid::after { content: ""; flex: 10000 1 0; } /* the last row keeps its height */
.archive-grid li { flex: var(--r) 1 calc(var(--r) * 12rem); min-width: 0; }
.archive-grid figure { display: grid; gap: .5rem; margin: 0; }
.archive-grid a { display: block; aspect-ratio: var(--r); overflow: hidden; border-radius: var(--radius-s); background: var(--sand); }
.archive-grid img { width: 100%; height: 100%; object-fit: cover; transition: transform .6s cubic-bezier(.2, .7, .2, 1); }
.archive-grid a:hover img,
.archive-grid a:focus-visible img { transform: scale(1.04); }
.archive-grid figcaption { font-size: .88rem; font-weight: 650; line-height: 1.35; color: var(--muted); }
@media (max-width: 560px) {
  .archive-grid { gap: .65rem; }
  .archive-grid li { flex-basis: calc(var(--r) * 8.5rem); }
}
@media (prefers-reduced-motion: reduce) { .archive-grid img { transition: none; } }

.values { display: grid; grid-template-columns: repeat(4, 1fr); gap: 1rem; counter-reset: v; }
.value { padding: 1.4rem; border-radius: var(--radius); background: var(--card); border: 1px solid var(--line); counter-increment: v; }
.value::before {
  content: "0" counter(v);
  display: block;
  margin-bottom: .9rem;
  font-size: .85rem;
  font-weight: 800;
  letter-spacing: .1em;
  color: var(--gold-ink);
}
.value h3 { font-size: 1.2rem; margin-bottom: .45rem; }
.value p { color: var(--muted); font-size: .98rem; }
@media (max-width: 960px) { .values { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 520px) { .values { grid-template-columns: 1fr; } }

.people { display: grid; grid-template-columns: repeat(4, 1fr); gap: .75rem; }
.person { display: flex; align-items: center; gap: .85rem; padding: .9rem 1.1rem; border-radius: var(--radius); background: var(--card); border: 1px solid var(--line); border-left: 4px solid var(--gold); }
.person small { display: block; font-size: .78rem; font-weight: 700; letter-spacing: .06em; text-transform: uppercase; color: var(--gold-ink); }
.person strong { font-weight: 700; }
.people__note { margin-top: 1rem; font-size: .88rem; color: var(--muted); }
/* Διοίκηση: the ΑΟΠ crest beside its heading. */
/* A board heading with the club's crest beside it (Θησέας, Α.Ο. Περιβολίων).
   Sized by height, so the shield and the round crest look the same size. */
.sect-head .crest-head { display: flex; align-items: center; gap: 1.1rem; }
.crest-head img { flex: none; width: auto; height: clamp(70px, 8.5vw, 96px); }
@media (max-width: 960px) { .people { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 520px) { .people { grid-template-columns: 1fr; } }

/* Προπονητικό τιμ με βιογραφικά */
.coach-cards {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 1rem;
}
.coach-card {
  display: grid;
  gap: .75rem;
  align-content: start;
  padding: 1.35rem 1.5rem;
  border: 1px solid var(--line);
  border-left: 4px solid var(--gold);
  border-radius: var(--radius);
  background: var(--card);
  scroll-margin-top: calc(var(--nav-h) + 2rem);
}
.coach-card h3 { font-size: 1.35rem; }
.coach-card header small { display: block; margin-top: .2rem; font-size: .85rem; font-weight: 700; letter-spacing: .04em; color: var(--gold-ink); }
.coach-card__groups { display: flex; flex-wrap: wrap; gap: .35rem; }
.coach-card p { color: var(--muted); }
@media (max-width: 860px) { .coach-cards { grid-template-columns: minmax(0, 1fr); } }

/* The portrait sits beside the text; without one, the initials hold its place
   so every card lines up. */
.coach-card {
  grid-template-columns: 7.5rem minmax(0, 1fr);
  grid-template-areas: "photo body";
  column-gap: 1.35rem;
}
.coach-card__photo {
  grid-area: photo;
  display: grid;
  place-items: center;
  aspect-ratio: 4 / 5;
  overflow: hidden;
  border-radius: 10px;
  background: var(--ink);
}
.coach-card__photo img { width: 100%; height: 100%; object-fit: cover; object-position: 50% 20%; }
.coach-card__initials { font-size: 2rem; font-weight: 900; color: var(--gold); font-variation-settings: "FLAR" 100; }
.coach-card__body { grid-area: body; display: grid; gap: .75rem; align-content: start; }
.coach-card__bio { display: grid; gap: .75rem; }

/* Phones: name and groups next to the photo, the biography underneath at
   full width instead of in a thin column. */
@media (max-width: 560px) {
  .coach-card {
    grid-template-columns: 5.25rem minmax(0, 1fr);
    grid-template-areas: "photo head" "photo groups" "bio bio";
    row-gap: .6rem;
    padding: 1.1rem 1.15rem;
  }
  .coach-card__body { display: contents; }
  .coach-card header { grid-area: head; align-self: end; }
  .coach-card__groups { grid-area: groups; align-self: start; }
  .coach-card__bio { grid-area: bio; margin-top: .35rem; }
  .coach-card h3 { font-size: 1.2rem; }
  .coach-card__initials { font-size: 1.5rem; }
}

/* The coach of a group, on Τμήματα, with a small round portrait. */
.coach__photo {
  flex: none;
  display: grid;
  place-items: center;
  width: 3.25rem;
  height: 3.25rem;
  overflow: hidden;
  border-radius: 50%;
  background: var(--ink);
}
.coach__photo img { width: 100%; height: 100%; object-fit: cover; object-position: 50% 18%; }
.coach__photo span { font-size: 1rem; font-weight: 900; color: var(--gold); font-variation-settings: "FLAR" 100; }

/* ==========================================================================
   Επικοινωνία
   ========================================================================== */

.contact-grid { display: grid; grid-template-columns: 1.25fr .85fr; gap: clamp(1.5rem, 5vw, 4rem); align-items: start; }
@media (max-width: 900px) { .contact-grid { grid-template-columns: 1fr; } }

.form {
  display: grid;
  gap: 1.1rem;
  padding: clamp(1.25rem, 3.5vw, 2.25rem);
  border-radius: var(--radius);
  background: var(--card);
  border: 1px solid var(--line);
  box-shadow: var(--shadow);
}
.form__row { display: grid; grid-template-columns: 1fr 1fr; gap: 1.1rem; }
@media (max-width: 560px) { .form__row { grid-template-columns: 1fr; } }

.field { display: grid; gap: .4rem; }
.field label, .field legend { font-size: .9rem; font-weight: 700; }
.field label span:not(.chip) { font-weight: 500; color: var(--muted); }
.field input, .field select, .field textarea {
  width: 100%;
  min-height: 3rem;
  padding: .65rem .9rem;
  border: 1.5px solid var(--line);
  border-radius: 10px;
  background: var(--paper);
  font-size: 1rem;
  transition: border-color .18s ease, background-color .18s ease, box-shadow .18s ease;
}
.field textarea { min-height: 8rem; resize: vertical; }
.field input:focus, .field select:focus, .field textarea:focus {
  outline: none;
  border-color: var(--ink);
  background: var(--card);
  box-shadow: 0 0 0 3px rgba(236, 184, 6, .45);
}
.field--topics { border: 0; margin: 0; padding: 0; }
.field--topics .chips { margin-top: .4rem; }
/* The radio stays in the page for the keyboard but takes no room: at the
   width of its field it stretched the page sideways. */
.field--topics input { position: absolute; width: 1px; height: 1px; opacity: 0; pointer-events: none; }
.field--topics input:checked + span { background: var(--ink); border-color: var(--ink); color: var(--gold); }
.field--topics input:focus-visible + span { outline: 3px solid var(--gold); outline-offset: 2px; }

.group-hint {
  display: grid;
  gap: .7rem;
  padding: .8rem 1rem;
  border-radius: 10px;
  background: var(--ink);
  color: var(--on-ink);
  font-size: .95rem;
}
.group-hint__row { display: flex; align-items: center; gap: .9rem; }
.group-hint .badge { background: var(--gold); color: var(--on-gold); }
.group-hint small { display: block; color: var(--on-ink-muted); font-size: .85rem; }

.consent { display: flex; gap: .6rem; align-items: start; font-size: .9rem; color: var(--muted); }
.consent input { width: 1.2rem; height: 1.2rem; margin-top: .15rem; accent-color: var(--ink); }
.consent a { color: var(--fg); text-underline-offset: 3px; }
.form__foot { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 1rem; }
/* Google's reCAPTCHA badge, bottom right on Επικοινωνία, above the page. */
.grecaptcha-badge { z-index: 45; }
.form__status { font-weight: 600; }

/* Required fields carry an asterisk; the note under the form explains it. */
.form .req,
.form .field label span.req { margin-left: .2rem; color: #B42318; font-weight: 800; }
.form__req { margin: -.25rem 0 0; font-size: .85rem; color: var(--muted); }
.form__status.is-ok { color: #2F6B2A; }

.aside { display: grid; gap: 1rem; }
.info-card { display: grid; gap: .9rem; padding: 1.4rem; border-radius: var(--radius); background: var(--ink); color: var(--on-ink); }
.info-card h2 { font-size: .8rem; letter-spacing: .14em; text-transform: uppercase; color: var(--gold); }
.info-list { display: grid; gap: .8rem; margin: 0; padding: 0; list-style: none; }
.info-list li { display: flex; gap: .75rem; align-items: start; }
.info-list svg { flex: none; width: 20px; height: 20px; margin-top: .2rem; color: var(--gold); }
.info-list a { text-decoration: none; font-weight: 650; }
.info-list div > a { display: block; }
.info-list a:hover { color: var(--gold); }
.info-list small { display: block; color: var(--on-ink-muted); font-size: .85rem; }

.faq { display: grid; gap: .6rem; max-width: 52rem; }
.faq details { border: 1px solid var(--line); border-radius: var(--radius); background: var(--card); overflow: hidden; }
.faq summary {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  padding: 1.05rem 1.25rem;
  font-weight: 750;
  font-size: 1.05rem;
  cursor: pointer;
  list-style: none;
}
.faq summary::-webkit-details-marker { display: none; }
/* The plus is drawn with two bars, so it sits exactly in the middle of the
   circle; turned 45° it becomes the close cross. */
.faq summary::after {
  content: "";
  flex: none;
  width: 2rem;
  height: 2rem;
  border-radius: 50%;
  background:
    linear-gradient(currentColor, currentColor) center / 12px 2px no-repeat,
    linear-gradient(currentColor, currentColor) center / 2px 12px no-repeat;
  background-color: var(--sand);
  transition: transform .3s ease, background-color .2s ease;
}
.faq details[open]:not(.js-faq) summary::after,
.faq details.is-open summary::after { transform: rotate(45deg); background-color: var(--gold); }
.faq .faq__a { padding: 0 1.25rem 1.2rem; color: var(--muted); }

/* ==========================================================================
   Small additions
   ========================================================================== */

.match-block + .match-block { margin-top: clamp(2.5rem, 5vw, 4rem); }
.match-block__lead { max-width: 44rem; margin: -.75rem 0 1.25rem; color: var(--muted); }
/* A fixture without a date shows its round where the day would be. */
.fixture__date--round b { font-size: 1.35rem; }
.group-sect { scroll-margin-top: calc(var(--nav-h) + 4.5rem); }
.news-grid > [data-category] { display: grid; }
.article-head-title { max-width: 52rem; }
.sect--ink .timeline + p { margin-top: 1.5rem; font-size: .85rem; color: var(--on-ink-muted); }

/* ==========================================================================
   Συχνές ερωτήσεις
   ========================================================================== */

/* The questions, and beside them whom to ask instead. */
.faq-page { display: grid; gap: 2rem; align-items: start; }
.faq-more p { color: var(--on-ink-muted); }
.faq-more .btn { justify-self: start; }

@media (min-width: 900px) {
  .faq-page { grid-template-columns: minmax(0, 1fr) 20rem; gap: 3.5rem; }
  .faq-more { position: sticky; top: calc(var(--stick) + 2.5rem); }
}

/* On Επικοινωνία, one line that leads to them. */
.faq-link p {
  display: flex;
  flex-wrap: wrap;
  align-items: baseline;
  gap: .4rem 1rem;
  font-size: 1.1rem;
  font-weight: 600;
}

/* ==========================================================================
   WordPress output
   Markup that comes from WordPress rather than from the templates: editor
   content, galleries, pagination, and states the static prototype lacks.
   ========================================================================== */

.screen-reader-text {
  position: absolute !important;
  width: 1px; height: 1px;
  overflow: hidden;
  clip: rect(0 0 0 0);
  white-space: nowrap;
}

/* Without the announcement bar the hero still fills the first screen. */
@media (min-width: 901px) {
  .no-topbar .hero {
    min-height: calc(100vh - var(--nav-h) - 1px - var(--meander-h));
    min-height: calc(100svh - var(--nav-h) - 1px - var(--meander-h));
  }
  .admin-bar.no-topbar .hero {
    min-height: calc(100vh - 32px - var(--nav-h) - 1px - var(--meander-h));
    min-height: calc(100svh - 32px - var(--nav-h) - 1px - var(--meander-h));
  }
}

/* Honeypot field of the contact form */
.hp {
  position: absolute !important;
  left: -9999px;
  width: 1px;
  height: 1px;
  overflow: hidden;
}

.form__status.is-err { color: #B32D2E; }

/* Sponsor logos */
a.sponsor { text-decoration: none; transition: border-color .2s ease; }
a.sponsor:hover { border-color: var(--fg); }
.sponsor.has-logo { border-style: solid; }
.sponsor.has-logo img {
  width: auto;
  height: auto;
  max-width: 80%;
  max-height: 70%;
  object-fit: contain;
}

/* Editor content */
.prose > :first-child { margin-top: 0; }
.prose a { color: var(--gold-ink); text-underline-offset: 3px; }
.prose h3 { margin-top: .75rem; font-size: 1.25rem; }
.prose ol { margin: 0; padding-left: 1.4rem; display: grid; gap: .4rem; }
.prose img { height: auto; border-radius: var(--radius-s); }
.prose blockquote {
  margin: 0;
  padding: .25rem 0 .25rem 1.25rem;
  border-left: 4px solid var(--gold);
  font-size: 1.2rem;
  font-weight: 600;
}
.prose .wp-caption { max-width: 100%; }
.prose .wp-caption-text { margin-top: .4rem; font-size: .88rem; color: var(--muted); }
.prose .alignleft { float: left; margin: .3rem 1.5rem 1rem 0; }
.prose .alignright { float: right; margin: .3rem 0 1rem 1.5rem; }
.prose .aligncenter { display: block; margin-inline: auto; }
@media (max-width: 560px) {
  .prose .alignleft, .prose .alignright { float: none; margin: 0 0 1rem; }
}

/* Album galleries */
.album-gallery { max-width: none; }
.gallery {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(220px, 1fr));
  gap: .6rem;
  margin: 0 0 1.5rem;
}
.gallery-item { margin: 0; }
.gallery-icon a { display: block; border-radius: var(--radius-s); overflow: hidden; }
.gallery-icon img {
  display: block;
  width: 100%;
  height: auto;
  aspect-ratio: 1;
  object-fit: cover;
  border-radius: 0;
  transition: transform .35s ease;
}
.gallery-icon a:hover img { transform: scale(1.04); }
.gallery-caption { margin-top: .35rem; font-size: .85rem; color: var(--muted); }
@media (max-width: 520px) {
  .gallery { grid-template-columns: repeat(2, 1fr); gap: .4rem; }
}

/* Pagination */
.pagination { margin-top: clamp(2rem, 5vw, 3.5rem); }
.pagination .nav-links {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: .5rem;
}
.page-numbers {
  display: inline-grid;
  place-items: center;
  min-width: 2.75rem;
  height: 2.75rem;
  padding: 0 .95rem;
  border: 1.5px solid var(--line);
  border-radius: 999px;
  background: var(--card);
  color: var(--fg);
  font-weight: 700;
  text-decoration: none;
}
a.page-numbers:hover { border-color: var(--fg); }
.page-numbers.current { background: var(--ink); border-color: var(--ink); color: var(--gold); }
.page-numbers.dots { border: 0; background: none; }

/* Filter chips that are links (news categories) */
a.chip.is-active { color: var(--gold); }
