/* ==========================================================================
   angolfoci.hu – az oldal egyetlen stíluslapja
   Mobile-first: az alapstílus a telefonra szól, a @media részek a nagyobb
   képernyőkre (640px = tablet, 1024px = asztali gép).
   A színek, betűk és méretek a :root változóiban vannak – ha valamit
   egységesen változtatni kell, ott elég.
   ========================================================================== */


/* ─── 1. Betűtípusok (saját szerverről, nem a Google-től) ───────────────── */

@font-face {
  font-family: "Barlow Condensed";
  font-style: normal;
  font-weight: 700;
  font-display: swap;
  src: url("../fonts/barlow-condensed-700-latin-ext.woff2") format("woff2");
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C4, U+2113, U+2C60-2C7F, U+A720-A7FF;
}
@font-face {
  font-family: "Barlow Condensed";
  font-style: normal;
  font-weight: 700;
  font-display: swap;
  src: url("../fonts/barlow-condensed-700-latin.woff2") format("woff2");
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}
/* A Public Sans „változó” betűtípus: egy fájl tartalmazza a 400–700 vastagságot. */
@font-face {
  font-family: "Public Sans";
  font-style: normal;
  font-weight: 400 700;
  font-display: swap;
  src: url("../fonts/public-sans-latin-ext.woff2") format("woff2");
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C4, U+2113, U+2C60-2C7F, U+A720-A7FF;
}
@font-face {
  font-family: "Public Sans";
  font-style: normal;
  font-weight: 400 700;
  font-display: swap;
  src: url("../fonts/public-sans-latin.woff2") format("woff2");
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}


/* ─── 2. Dizájn tokenek ─────────────────────────────────────────────────── */

:root {
  /* Színek */
  --bg: #F4F3EE;            /* krétafehér háttér */
  --surface: #FFFFFF;       /* kártyák */
  --surface-2: #FAFAF7;     /* eredménykártya háttér */
  --ink: #14181D;           /* szöveg, sötét sávok */
  --ink-2: #2E3338;         /* bevezető szöveg */
  --muted: #565B62;         /* másodlagos szöveg */
  --line: #D8D5CB;          /* elválasztók, keretek */
  --line-soft: #ECEAE3;     /* belső elválasztók */
  --accent: #0E6B3A;        /* gyepzöld kiemelőszín */
  --accent-dark: #0A4F2B;   /* link hover, csatorna-címke szöveg */
  --accent-soft: #E6EFE9;   /* csatorna-címke háttér */
  --note-bg: #FBEBD9;       /* Szerkesztő megjegyzése */
  --note-label: #8A3F09;
  --note-text: #3D2208;
  --loss: #A34A0B;          /* vereség, kiesőzóna */
  --draw: #D9D6CC;          /* döntetlen */
  --europa: #7FB89A;        /* Európa-liga zóna */

  /* Sötét sávok (hírlevél) */
  --dark-text: #F4F3EE;
  --dark-muted: #C9CCD1;
  --dark-input: #1F242B;

  /* Betűk */
  --font-display: "Barlow Condensed", "Arial Narrow", sans-serif;
  --font-body: "Public Sans", "Helvetica Neue", sans-serif;

  /* Méretek (mobil értékek – asztali gépen lent felülírjuk) */
  --fs-h1: 40px;
  --fs-h2: 28px;
  --fs-body: 16px;
  --fs-lead: 17px;
  --fs-kicker: 13px;

  /* Elrendezés */
  --content-max: 1200px;
  --gutter: 20px;           /* oldalsó padding mobilon */
  --radius: 16px;           /* kártyák */
  --radius-pill: 999px;     /* gombok, címkék */
  --tap: 44px;              /* legkisebb érintési célpont */
}

@media (min-width: 640px) {
  :root {
    --gutter: 32px;
    --fs-body: 17px;
    --fs-lead: 19px;
  }
}

@media (min-width: 1024px) {
  :root {
    --fs-h1: 62px;
    --fs-h2: 34px;
    --fs-lead: 20px;
  }
}


/* ─── 3. Alapok ─────────────────────────────────────────────────────────── */

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

/* A „hidden” attribútum mindig rejtsen el – akkor is, ha az elem stílusa (pl. .btn) mást mondana */
[hidden] { display: none !important; }

html {
  -webkit-text-size-adjust: 100%;
  text-size-adjust: 100%;
}

body {
  margin: 0;
  background: var(--bg);
  color: var(--ink);
  font-family: var(--font-body);
  font-size: var(--fs-body);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}

h1, h2, h3, h4 {
  margin: 0;
  font-family: var(--font-display);
  font-weight: 700;
  line-height: 1.05;
  letter-spacing: 0;
}

.h1, .h2, .h3 { margin: 0; font-family: var(--font-display); font-weight: 700; line-height: 1.05; }
h1, h2, h3, .h1, .h2, .h3 { overflow-wrap: break-word; }
h1, .h1 { font-size: var(--fs-h1); line-height: 1; }
h2, .h2 { font-size: var(--fs-h2); }
h3, .h3 { font-size: 24px; }

p { margin: 0 0 1em; }
p:last-child { margin-bottom: 0; }

a { color: var(--accent); text-underline-offset: 3px; }
a:hover { color: var(--accent-dark); }

/* Billentyűzetes navigáció: jól látható fókusz */
:focus-visible {
  outline: 3px solid var(--accent);
  outline-offset: 2px;
  border-radius: 4px;
}

/* Számok egyforma szélességgel (eredmény, tabella, időpont) */
.num, time, table { font-variant-numeric: tabular-nums; }

/* Csak felolvasóprogramnak látszik */
.visually-hidden {
  position: absolute !important;
  width: 1px; height: 1px;
  padding: 0; margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

.skip-link {
  position: absolute;
  left: var(--gutter);
  top: -100px;
  z-index: 100;
  padding: 10px 16px;
  background: var(--ink);
  color: var(--dark-text);
  border-radius: var(--radius-pill);
}
.skip-link:focus { top: 12px; color: var(--dark-text); }

/* Ikonok (inline SVG, vonalas) */
.icon {
  width: 20px;
  height: 20px;
  flex: none;
  stroke: currentColor;
  stroke-width: 2;
  fill: none;
  stroke-linecap: round;
  stroke-linejoin: round;
}
.icon--sm { width: 16px; height: 16px; }


/* ─── 4. Elrendezés ─────────────────────────────────────────────────────── */

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

/* Csak függőleges térköz – a vízszintes padding a .wrap-é marad */
.section { padding-top: 40px; padding-bottom: 40px; }
.section--white {
  background: var(--surface);
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
}

@media (min-width: 1024px) {
  .section { padding-top: 64px; padding-bottom: 64px; }
}

/* Szekció fejléc: cím balra, „Összes …” link jobbra */
.section-head {
  display: flex;
  flex-wrap: wrap;
  align-items: flex-end;
  justify-content: space-between;
  gap: 8px 24px;
  margin-bottom: 24px;
}
.section-head p { margin: 6px 0 0; color: var(--muted); }

/* Két oszlop: tartalom + oldalsáv (mobilon egymás alatt) */
.with-sidebar {
  display: grid;
  gap: 40px;
}
@media (min-width: 1024px) {
  .with-sidebar { grid-template-columns: minmax(0, 1fr) 340px; gap: 56px; }
}

/* A rácselemek ne táguljanak a tartalmuk miatt (pl. széles táblázat mobilon) */
.with-sidebar > *, .two-col > * { min-width: 0; }

/* Két egyforma oszlop */
.two-col {
  display: grid;
  gap: 40px;
}
@media (min-width: 1024px) {
  .two-col { grid-template-columns: minmax(0, 1.4fr) minmax(0, 1fr); gap: 56px; }
}


/* ─── 5. Szöveg-elemek ──────────────────────────────────────────────────── */

/* Kicker: kis nagybetűs felirat a címek fölött */
.kicker {
  display: block;
  margin: 0 0 10px;
  color: var(--accent);
  font-family: var(--font-body);
  font-size: var(--fs-kicker);
  font-weight: 700;
  line-height: 1.3;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.lead {
  color: var(--ink-2);
  font-size: var(--fs-lead);
  line-height: 1.55;
}

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

/* Link nyíllal („Összes eredmény →”) */
.more-link {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  min-height: var(--tap);
  font-weight: 700;
  text-decoration: none;
}
.more-link:hover { text-decoration: underline; }

/* Hosszabb szöveges oldalak (Rólunk, Impresszum…) */
.prose { max-width: 760px; }
.prose h1 { margin-bottom: 24px; }
.prose h2 { margin: 40px 0 12px; }


/* ─── 6. Gombok és címkék ───────────────────────────────────────────────── */

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  min-height: var(--tap);
  padding: 10px 22px;
  border: 1.5px solid transparent;
  border-radius: var(--radius-pill);
  font-family: var(--font-body);
  font-size: 16px;
  font-weight: 700;
  line-height: 1.2;
  text-decoration: none;
  cursor: pointer;
  transition: background-color .15s, color .15s, border-color .15s;
}

.btn--primary { background: var(--accent); color: #fff; }
.btn--primary:hover { background: var(--accent-dark); color: #fff; }

.btn--secondary { background: transparent; color: var(--ink); border-color: var(--ink); }
.btn--secondary:hover { background: var(--ink); color: var(--bg); }

/* Kis gomb (pl. „Naptárba”) – az érintési célpont ettől még 44px marad */
.btn--sm { padding: 8px 14px; font-size: 14px; }

/* Kör alakú ikongomb (fordulóléptető) */
.btn--icon {
  width: var(--tap);
  padding: 0;
  background: var(--surface);
  color: var(--ink);
  border-color: var(--line);
}
.btn--icon:hover { border-color: var(--ink); color: var(--ink); }
.btn--icon[aria-disabled="true"] { opacity: .45; pointer-events: none; }

/* Gombcsoport (sorozatváltó) */
.btn-group { display: flex; flex-wrap: wrap; gap: 8px; }
.btn-group .btn[aria-pressed="true"] { background: var(--ink); color: var(--bg); border-color: var(--ink); }

/* Csatorna-címke: tévé ikon + csatornanév */
.channel {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 4px 12px;
  background: var(--accent-soft);
  color: var(--accent-dark);
  border-radius: var(--radius-pill);
  font-size: 14px;
  font-weight: 600;
  line-height: 1.3;
  white-space: nowrap;
}
.channel--unknown { background: var(--line-soft); color: var(--muted); }

/* Eredmény: fehér szám sötét címkén */
.score {
  display: inline-block;
  min-width: 64px;
  padding: 4px 10px;
  background: var(--ink);
  color: #fff;
  border-radius: 6px;
  font-family: var(--font-display);
  font-size: 24px;
  font-weight: 700;
  line-height: 1.1;
  text-align: center;
  font-variant-numeric: tabular-nums;
  white-space: nowrap;
}


/* ─── 7. Kártyák ────────────────────────────────────────────────────────── */

.card {
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 24px;
}
.card > h2, .card > h3 { margin-bottom: 8px; }

.card--dark {
  background: var(--ink);
  border-color: var(--ink);
  color: var(--dark-text);
}
.card--dark .muted, .card--dark p { color: var(--dark-muted); }
.card--dark a { color: var(--dark-text); }

/* Kártyarács (pl. korábbi összefoglalók) */
.card-grid {
  display: grid;
  gap: 16px;
  grid-template-columns: repeat(auto-fill, minmax(260px, 1fr));
}

/* Kattintható kártya: a címben lévő link „kiterjed” az egész kártyára */
.card--link { position: relative; transition: border-color .15s; }
.card--link:hover { border-color: var(--ink); }
.card--link a::after { content: ""; position: absolute; inset: 0; border-radius: var(--radius); }
.card--link a { color: var(--ink); text-decoration: none; }


/* ─── 8. Szerkesztő megjegyzése ─────────────────────────────────────────── */

.note {
  margin: 20px 0;
  padding: 16px 20px;
  background: var(--note-bg);
  color: var(--note-text);
  border-radius: 12px;
}
.note__label {
  display: block;
  margin-bottom: 6px;
  color: var(--note-label);
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}


/* ─── 9. Meccssor (időpont · csapatok · csatorna · naptár) ──────────────── */

.match-list { margin: 0; padding: 0; list-style: none; }

.match-row {
  display: grid;
  grid-template-columns: 56px minmax(0, 1fr);
  grid-template-areas:
    "time teams"
    "time extra";
  gap: 6px 14px;
  align-items: center;
  padding: 14px 0;
  border-bottom: 1px solid var(--line-soft);
}
.match-row:last-child { border-bottom: 0; }

.match-row__time {
  grid-area: time;
  align-self: start;
  padding-top: 2px;
  font-family: var(--font-display);
  font-size: 22px;
  font-weight: 700;
  line-height: 1;
}
.match-row__date { display: block; margin-top: 4px; color: var(--muted); font-family: var(--font-body); font-size: 12px; font-weight: 600; }
.match-row__teams { grid-area: teams; font-weight: 600; line-height: 1.35; }
.match-row__extra {
  grid-area: extra;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 8px;
}

@media (min-width: 640px) {
  .match-row {
    grid-template-columns: 64px minmax(0, 1fr) auto auto;
    grid-template-areas: "time teams extra extra";
  }
  .match-row__time { align-self: center; padding-top: 0; }
  .match-row__extra { justify-content: flex-end; }
}


/* ─── 10. Eredménykártya (hazai jobbra zárva · eredmény · vendég balra) ── */

.result-grid {
  display: grid;
  gap: 12px;
  /* min. 240px: így asztali gépen 4 oszlop lesz, és a hosszabb csapatnevek
     (pl. Nottingham, Sunderland) is kiférnek egy sorban */
  grid-template-columns: repeat(auto-fill, minmax(240px, 1fr));
  margin: 0;
  padding: 0;
  list-style: none;
}

.result-card {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto minmax(0, 1fr);
  align-items: center;
  gap: 8px;
  padding: 14px 10px;
  background: var(--surface-2);
  border: 1px solid var(--line);
  border-radius: 12px;
  font-weight: 600;
  line-height: 1.25;
}
/* A nevek csak szóköznél törhetnek (szó közben nem), ezért kicsit kisebb betűvel */
.result-card__home, .result-card__away { min-width: 0; font-size: 15px; }
.result-card__home { text-align: right; }
.result-card__away { text-align: left; }
.result-card .score { min-width: 52px; padding: 4px 8px; font-size: 21px; }


/* ─── 11. Táblázat (tabella) ────────────────────────────────────────────── */

/* Mobilon vízszintesen görgethető doboz */
.table-scroll {
  overflow-x: auto;
  -webkit-overflow-scrolling: touch;
}

.table {
  width: 100%;
  border-collapse: collapse;
  font-size: 15px;
}
.table th, .table td {
  padding: 10px 8px;
  border-bottom: 1px solid var(--line-soft);
  text-align: center;
  white-space: nowrap;
}
.table th {
  color: var(--muted);
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
}
.table th abbr { text-decoration: none; cursor: help; }
.table .t-left { text-align: left; }
.table .t-team { text-align: left; font-weight: 600; }
.table .t-points { font-weight: 700; }
.table tbody tr:last-child td, .table tbody tr:last-child th { border-bottom: 0; }

/* Helyezés + zónajelző sáv */
.pos { position: relative; padding-left: 14px !important; font-weight: 600; }
.pos::before {
  content: "";
  position: absolute;
  left: 0; top: 8px; bottom: 8px;
  width: 4px;
  border-radius: 2px;
  background: transparent;
}
.zone-top .pos::before { background: var(--accent); }
.zone-mid .pos::before { background: var(--europa); }
.zone-bottom .pos::before { background: var(--loss); }

/* Jelmagyarázat */
.legend { display: flex; flex-wrap: wrap; gap: 8px 20px; margin: 16px 0 0; padding: 0; list-style: none; font-size: 14px; color: var(--muted); }
.legend li { display: inline-flex; align-items: center; gap: 8px; }
.legend i { display: inline-block; width: 4px; height: 16px; border-radius: 2px; }
.legend .zone-top-swatch { background: var(--accent); }
.legend .zone-mid-swatch { background: var(--europa); }
.legend .zone-bottom-swatch { background: var(--loss); }

/* Forma-címkék: Gy / D / V */
.form { display: inline-flex; gap: 4px; }
.form-tag {
  display: inline-grid;
  place-items: center;
  width: 24px;
  height: 24px;
  border-radius: var(--radius-pill);
  font-size: 11px;
  font-weight: 700;
}
.form-tag--w { background: var(--accent); color: #fff; }
.form-tag--d { background: var(--draw); color: var(--ink); }
.form-tag--l { background: var(--loss); color: #fff; }


/* ─── 12. Fejléc és menü ────────────────────────────────────────────────── */

.site-header {
  background: var(--bg);
  border-bottom: 1px solid var(--line);
}

.site-header__inner {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 8px 24px;
  padding-top: 12px;
  padding-bottom: 12px;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  min-height: var(--tap);
  color: var(--ink);
  text-decoration: none;
}
.brand:hover { color: var(--ink); }
.brand__mark { width: 34px; height: 24px; color: var(--accent); }
.brand__name { font-family: var(--font-display); font-size: 28px; font-weight: 700; line-height: 1; }
.brand__name span { color: var(--accent); }
.brand-block { display: flex; flex-direction: column; }
.tagline { display: none; margin: 0; color: var(--muted); font-size: 14px; line-height: 1.3; }

/* Hamburger gomb – csak mobilon, és csak ha van JavaScript */
.nav-toggle {
  display: none;
  align-items: center;
  justify-content: center;
  width: var(--tap);
  height: var(--tap);
  padding: 0;
  background: transparent;
  color: var(--ink);
  border: 1.5px solid var(--line);
  border-radius: var(--radius-pill);
  cursor: pointer;
}
.nav-toggle .icon-close { display: none; }
.nav-toggle[aria-expanded="true"] .icon-open { display: none; }
.nav-toggle[aria-expanded="true"] .icon-close { display: block; }

/* Menü: JavaScript nélkül mindig látszik (a fejléc alatt, sorban) */
.site-nav { width: 100%; }
.site-nav ul {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 0 4px;
  margin: 0;
  padding: 0;
  list-style: none;
}
.site-nav a:not(.btn) {
  display: inline-flex;
  align-items: center;
  min-height: var(--tap);
  padding: 0 10px;
  color: var(--ink);
  font-size: 15px;
  font-weight: 600;
  text-decoration: none;
}
.site-nav a:not(.btn):hover { color: var(--accent); }
.site-nav a[aria-current="page"] {
  color: var(--accent);
  text-decoration: underline;
  text-decoration-thickness: 2px;
  text-underline-offset: 6px;
}
.site-nav .btn { margin-left: 6px; }

/* Mobil + JavaScript: hamburger, a menü lenyíló panelben */
@media (max-width: 1023px) {
  .js .nav-toggle { display: inline-flex; }
  .js .site-nav { display: none; }
  .js .site-nav.is-open {
    display: block;
    padding: 8px 0 16px;
    border-top: 1px solid var(--line);
  }
  .js .site-nav ul { flex-direction: column; align-items: stretch; gap: 2px; }
  .js .site-nav a:not(.btn) { padding: 0 4px; font-size: 17px; }
  .js .site-nav .btn { margin: 10px 0 0; }
}

@media (min-width: 640px) {
  .tagline { display: block; }
}

@media (min-width: 1024px) {
  .site-header__inner { flex-wrap: nowrap; padding-top: 18px; padding-bottom: 18px; }
  .site-nav { width: auto; }
  .site-nav ul { flex-wrap: nowrap; }
}


/* ─── 13. Morzsamenü ────────────────────────────────────────────────────── */

.breadcrumbs ol {
  display: flex;
  flex-wrap: wrap;
  gap: 4px 8px;
  margin: 0 0 24px;
  padding: 0;
  list-style: none;
  color: var(--muted);
  font-size: 14px;
}
.breadcrumbs li + li::before { content: "/"; margin-right: 8px; color: var(--line); }
.breadcrumbs a { color: var(--muted); }
.breadcrumbs a:hover { color: var(--accent); }


/* ─── 14. Hírlevél ──────────────────────────────────────────────────────── */

.newsletter {
  background: var(--ink);
  color: var(--dark-text);
}
.newsletter__inner {
  display: grid;
  gap: 24px;
  padding-top: 48px;
  padding-bottom: 48px;
}
.newsletter h2 { color: var(--dark-text); }
.newsletter p { margin-top: 8px; color: var(--dark-muted); }

@media (min-width: 1024px) {
  .newsletter__inner { grid-template-columns: 1fr 1fr; align-items: center; gap: 56px; }
}

/* ─── 15. Lábléc ────────────────────────────────────────────────────────── */

.site-footer {
  padding: 40px 0;
  border-top: 1px solid var(--line);
  color: var(--muted);
  font-size: 14px;
}
.site-footer__inner { display: grid; gap: 20px; }
.site-footer p { max-width: 640px; margin: 0; }
.site-footer ul { display: flex; flex-wrap: wrap; gap: 0 20px; margin: 0; padding: 0; list-style: none; }
.site-footer a { display: inline-flex; align-items: center; min-height: var(--tap); color: var(--ink); font-weight: 600; }
.site-footer a:hover { color: var(--accent); }

@media (min-width: 1024px) {
  .site-footer__inner { grid-template-columns: 1fr auto; align-items: center; }
}


/* ─── 16. Minta oldal (/minta/, csak fejlesztéskor) ─────────────────────── */

.styleguide-swatches { display: grid; gap: 10px; grid-template-columns: repeat(auto-fill, minmax(150px, 1fr)); }
.swatch { padding: 12px; border: 1px solid var(--line); border-radius: 12px; background: var(--surface); font-size: 13px; }
.swatch i { display: block; height: 48px; margin-bottom: 8px; border-radius: 8px; border: 1px solid var(--line-soft); }
.stack > * + * { margin-top: 16px; }


/* ─── 17. Főoldal ───────────────────────────────────────────────────────── */

.plain-list { margin: 0; padding: 0; list-style: none; }

.hero { display: grid; gap: 32px; }
.hero__main { max-width: 760px; }
.hero h1 { margin-bottom: 20px; }
.hero__lead { margin-bottom: 28px; }
.hero__actions { display: flex; flex-wrap: wrap; align-items: center; gap: 12px 20px; }

@media (min-width: 1024px) {
  .hero { grid-template-columns: minmax(0, 1.5fr) minmax(0, 1fr); gap: 56px; align-items: start; }
  .hero > *:only-child { grid-column: 1 / -1; }
}

/* „Ha csak egy perced van”: számozott lista nagy zöld számokkal */
.quick-card .h3 { margin-bottom: 4px; }
.quick-list {
  margin: 20px 0 0;
  padding: 0;
  list-style: none;
  counter-reset: quick;
}
.quick-list li {
  position: relative;
  padding: 14px 0 14px 48px;
  border-top: 1px solid var(--line-soft);
  counter-increment: quick;
  line-height: 1.45;
}
.quick-list li::before {
  content: counter(quick);
  position: absolute;
  left: 0;
  top: 10px;
  width: 36px;
  color: var(--accent);
  font-family: var(--font-display);
  font-size: 34px;
  font-weight: 700;
  line-height: 1;
  font-variant-numeric: tabular-nums;
}

/* A kártyák alatti „Teljes …” linkek */
.card + .more-link { margin-top: 8px; }
.card--table { padding: 8px 16px; }
.card-grid h3 { font-size: 24px; line-height: 1.1; margin-bottom: 8px; }


/* ─── 18. Heti összefoglaló oldal ───────────────────────────────────────── */

.preview-banner {
  margin: 0 0 24px;
  padding: 12px 18px;
  background: var(--note-bg);
  color: var(--note-text);
  border: 1px solid var(--note-label);
  border-radius: 12px;
}

.summary { max-width: 760px; min-width: 0; }
.summary__header h1 { margin-bottom: 16px; }
.summary__meta { margin-bottom: 24px; font-size: 14px; }
.summary__lead { font-size: 18px; }
@media (min-width: 1024px) { .summary__lead { font-size: 20px; } }

/* Gyorspontok: sima felsorolás zöld pöttyökkel */
.quick-card--inline { margin: 32px 0; }
.bullet-list { margin: 12px 0 0; padding: 0; list-style: none; }
.bullet-list li { position: relative; padding: 8px 0 8px 22px; line-height: 1.5; }
.bullet-list li::before {
  content: "";
  position: absolute;
  left: 2px; top: 17px;
  width: 8px; height: 8px;
  border-radius: 50%;
  background: var(--accent);
}

/* Tételek: nagy zöld sorszám balra, szöveg jobbra */
.items { margin: 48px 0 0; padding: 0; list-style: none; }
.item {
  display: grid;
  grid-template-columns: 44px minmax(0, 1fr);
  gap: 0 16px;
  padding: 32px 0;
  border-top: 1px solid var(--line);
  scroll-margin-top: 16px;   /* horgonyra ugráskor ne tapadjon a képernyő tetejére */
}
.item__num {
  color: var(--accent);
  font-family: var(--font-display);
  font-size: 44px;
  font-weight: 700;
  line-height: .9;
  font-variant-numeric: tabular-nums;
}
.item__title { margin-bottom: 12px; font-size: 26px; line-height: 1.1; }
.item__source { margin-top: 12px; color: var(--muted); font-size: 14px; }
.item .note { margin: 16px 0 0; }

@media (min-width: 640px) {
  .item { grid-template-columns: 64px minmax(0, 1fr); gap: 0 20px; }
  .item__num { font-size: 56px; }
  .item__title { font-size: 32px; }
}

.summary__block { margin-top: 48px; padding-top: 32px; border-top: 1px solid var(--line); }
.summary__block > h2 { margin-bottom: 20px; }

/* A forduló összes eredménye: kétoszlopos lista */
.results-list {
  display: grid;
  gap: 0 32px;
  margin: 0;
  padding: 0;
  list-style: none;
}
@media (min-width: 640px) { .results-list { grid-template-columns: 1fr 1fr; } }
.result-card--row {
  padding: 10px 0;
  background: transparent;
  border: 0;
  border-bottom: 1px solid var(--line-soft);
  border-radius: 0;
}

/* Mire figyelj a jövő héten */
.featured-grid { display: grid; gap: 16px; }
@media (min-width: 640px) { .featured-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); } }
.featured { display: flex; flex-direction: column; gap: 8px; padding: 20px; }
.featured__time {
  color: var(--accent);
  font-family: var(--font-display);
  font-size: 22px;
  font-weight: 700;
  line-height: 1;
}
.featured__match { font-size: 24px; line-height: 1.1; }
.featured p { margin: 0; }
.featured .small { margin-top: auto; }

/* Lapozás */
.summary__pager {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  margin-top: 48px;
  padding-top: 32px;
  border-top: 1px solid var(--line);
}

/* Oldalsáv: asztali gépen görgetéskor a helyén marad */
@media (min-width: 1024px) {
  .sidebar__sticky { position: sticky; top: 24px; }
}

/* Tartalomjegyzék */
.toc__list { margin: 12px 0 0; padding: 0; list-style: none; counter-reset: toc; }
.toc__list li { counter-increment: toc; border-top: 1px solid var(--line-soft); }
.toc__list a {
  display: flex;
  gap: 12px;
  align-items: baseline;
  min-height: var(--tap);
  padding: 10px 0;
  color: var(--ink);
  font-weight: 600;
  line-height: 1.35;
  text-decoration: none;
}
.toc__list a::before {
  content: counter(toc);
  min-width: 18px;
  color: var(--accent);
  font-family: var(--font-display);
  font-size: 20px;
  font-weight: 700;
}
.toc__list a:hover { color: var(--accent); }


/* ─── 19. Tabella oldal ─────────────────────────────────────────────────── */

/* Oldalfejléc: cím balra, (sorozatváltó vagy kereső) jobbra */
.page-head {
  display: flex;
  flex-wrap: wrap;
  align-items: flex-end;
  justify-content: space-between;
  gap: 16px 32px;
  margin-bottom: 28px;
}
.page-head h1 { margin-bottom: 8px; }
.page-head__meta { margin: 0; font-size: 15px; }

.table--full { min-width: 640px; }   /* mobilon ettől lesz vízszintesen görgethető */
.table--full th.t-team { color: var(--ink); font-size: 15px; font-weight: 600; letter-spacing: 0; text-transform: none; }
.table--full .form { vertical-align: middle; }
.table-scroll:focus-visible { outline-offset: 4px; }

.legend .form-tag { width: 22px; height: 22px; font-size: 10px; }

.info-cards {
  display: grid;
  gap: 16px;
  margin-top: 32px;
}
@media (min-width: 1024px) {
  .info-cards { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
.info-cards .card > .h3 { margin-bottom: 12px; }


/* ─── 20. Hírlevél-űrlap ────────────────────────────────────────────────── */

.nl-form { display: grid; gap: 14px; }
.nl-form label { font-size: 14px; font-weight: 600; }
.nl-form__field label { display: block; margin-bottom: 6px; }
.nl-form input[type="email"] {
  width: 100%;
  min-height: var(--tap);
  padding: 10px 18px;
  background: var(--surface);
  color: var(--ink);
  border: 1.5px solid var(--muted);
  border-radius: var(--radius-pill);
  font: inherit;
}
.nl-form input[aria-invalid="true"] { border-color: var(--loss); }

/* Hozzájárulás: a pipa és a felirat egy 44px magas, kattintható sorban */
.nl-form__consent { display: grid; grid-template-columns: auto 1fr; align-items: center; gap: 0 10px; }
.nl-form__consent input { width: 22px; height: 22px; margin: 0; accent-color: var(--accent); }
/* block + függőleges padding: 44px magas célterület, és a szóközök is megmaradnak a link előtt */
.nl-form__consent label { display: block; padding: 11px 0; line-height: 22px; font-weight: 500; }
.nl-form__consent .nl-form__error { grid-column: 1 / -1; }

.nl-form__error, .nl-form__general { margin: 6px 0 0; color: var(--loss); font-size: 14px; font-weight: 600; }
.nl-form__success { margin: 0; color: var(--accent-dark); font-weight: 700; }
.nl-form .btn { justify-self: start; }

/* Honeypot: a képernyőn kívül, embernek láthatatlan */
.nl-form__hp { position: absolute; left: -10000px; width: 1px; height: 1px; overflow: hidden; }

/* Sötét háttéren (hírlevél-sáv, sötét kártya) */
.nl-form--dark label, .nl-form--dark .nl-form__consent label { color: var(--dark-muted); }
.nl-form--dark a { color: var(--dark-text); }
.nl-form--dark input[type="email"] { background: var(--dark-input); color: var(--dark-text); border-color: var(--muted); }
.nl-form--dark input[type="email"]::placeholder { color: var(--dark-muted); }
.nl-form--dark .nl-form__error, .nl-form--dark .nl-form__general { color: #F2B98A; }
.nl-form--dark .nl-form__success { color: var(--dark-text); }

.nl-page__card { max-width: 520px; margin: 24px 0 32px; }


/* ─── 21. Hírlevél oldal ────────────────────────────────────────────────── */

.nl-hero {
  background: var(--surface);
  border-bottom: 1px solid var(--line);
}
.nl-hero__inner {
  display: grid;
  gap: 40px;
  padding-top: 48px;
  padding-bottom: 48px;
}
@media (min-width: 1024px) {
  .nl-hero__inner {
    grid-template-columns: minmax(0, 1.2fr) minmax(0, 1fr);
    gap: 72px;
    align-items: center;
    padding-top: 80px;
    padding-bottom: 80px;
  }
}
.nl-hero h1 { margin-bottom: 20px; }
.nl-hero .lead { max-width: 560px; }

/* Három előny ikonnal */
.nl-perks { display: grid; gap: 18px; margin: 32px 0 0; padding: 0; list-style: none; max-width: 560px; }
.nl-perks li { display: grid; grid-template-columns: 44px 1fr; gap: 14px; align-items: start; line-height: 1.5; }
.nl-perks__icon {
  display: grid;
  place-items: center;
  width: 44px;
  height: 44px;
  background: var(--accent-soft);
  color: var(--accent);
  border-radius: 12px;
}

/* Sötét feliratkozó kártya */
.nl-signup { padding: 28px; }
@media (min-width: 640px) { .nl-signup { padding: 36px; } }
.nl-signup .h3 { margin-bottom: 8px; color: var(--dark-text); font-size: 30px; }
.nl-signup > p { margin-bottom: 20px; }
.nl-signup .nl-form .btn { justify-self: stretch; }
@media (min-width: 640px) { .nl-signup .nl-form .btn { justify-self: start; } }
.nl-signup__note { margin: 20px 0 0 !important; padding-top: 16px; border-top: 1px solid #2E3338; font-size: 13px; }

/* „Így néz ki egy levél” előnézet */
.mail-preview {
  max-width: 720px;
  margin: 0;
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  box-shadow: 0 18px 40px -24px rgba(20, 24, 29, .35);
  overflow: hidden;
}
.mail-preview__bar { display: flex; gap: 6px; padding: 12px 16px; background: var(--line-soft); border-bottom: 1px solid var(--line); }
.mail-preview__bar i { width: 10px; height: 10px; border-radius: 50%; background: var(--line); }
.mail-preview__head { padding: 14px 24px; border-bottom: 1px solid var(--line-soft); font-size: 14px; }
.mail-preview__head p { margin: 2px 0; }
.mail-preview__body { padding: 24px; }
@media (min-width: 640px) { .mail-preview__body { padding: 32px 40px; } }
.mail-preview__lead { color: var(--ink-2); }
.mail-preview__body h3 { margin-top: 24px; font-size: 24px; }
.mail-preview__more { margin-top: 16px; color: var(--muted); font-style: italic; }

/* A hírlevél egyszerű állapotoldalai (megerősítve, leiratkozva, hibás link) */
.nl-page h1 { margin-bottom: 16px; }

.nl-status { max-width: 640px; margin: 0 auto; padding: 56px 0; text-align: center; }
@media (min-width: 1024px) { .nl-status { padding: 96px 0; } }
.nl-status__icon {
  display: inline-grid;
  place-items: center;
  width: 72px;
  height: 72px;
  margin-bottom: 24px;
  background: var(--accent-soft);
  color: var(--accent);
  border-radius: 50%;
}
.nl-status__icon .icon { width: 32px; height: 32px; }
.nl-status__icon--warn { background: var(--note-bg); color: var(--note-label); }
.nl-status h1 { margin-bottom: 16px; }
.nl-status .lead { margin-left: auto; margin-right: auto; }
.nl-status form, .nl-status .btn { margin-top: 8px; }
.nl-status__back { margin-top: 32px; }


/* ─── 22. Archívum ──────────────────────────────────────────────────────── */

.archive-search { width: 100%; max-width: 420px; }
.archive-search label { display: block; margin-bottom: 6px; font-size: 14px; font-weight: 600; }
.archive-search__row { display: flex; gap: 8px; }
.archive-search input[type="search"] {
  flex: 1 1 auto;
  min-width: 0;
  min-height: var(--tap);
  padding: 10px 18px;
  background: var(--surface);
  color: var(--ink);
  border: 1.5px solid var(--muted);
  border-radius: var(--radius-pill);
  font: inherit;
}

.archive-month { margin-top: 40px; }
.archive-month__title {
  padding-bottom: 10px;
  border-bottom: 2px solid var(--ink);
  font-size: 22px;
}
.archive-list { margin: 0; padding: 0; list-style: none; }
.archive-row {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 8px 24px;
  padding: 20px 0;
  border-bottom: 1px solid var(--line);
}
.archive-row .kicker { margin-bottom: 6px; }
.archive-row__title { font-size: 22px; line-height: 1.15; }
@media (min-width: 640px) { .archive-row__title { font-size: 26px; } }
.archive-row__title a { color: var(--ink); text-decoration: none; }
.archive-row__title a:hover { color: var(--accent); text-decoration: underline; }
.archive-row__date { flex: none; font-size: 14px; white-space: nowrap; }

.pager { display: flex; flex-wrap: wrap; align-items: center; justify-content: center; gap: 16px; margin-top: 40px; }


/* ─── 23. Rólunk ────────────────────────────────────────────────────────── */

.about-hero { background: var(--surface); border-bottom: 1px solid var(--line); }
.about-hero__inner { padding-top: 56px; padding-bottom: 56px; }
.about-hero__inner > * { max-width: 840px; }   /* balra igazítva, egy vonalban a lenti tartalommal */
@media (min-width: 1024px) { .about-hero__inner { padding-top: 88px; padding-bottom: 88px; } }
.about-hero h1 { margin-bottom: 20px; }

.about-grid { display: grid; gap: 48px; max-width: 840px; }
.about-block h2 { margin-bottom: 16px; }

.about-list { margin: 0; padding: 0; list-style: none; }
.about-list li { position: relative; padding: 10px 0 10px 26px; line-height: 1.55; }
.about-list li::before {
  content: "";
  position: absolute;
  left: 2px; top: 20px;
  width: 9px; height: 9px;
  border-radius: 50%;
  background: var(--accent);
}

.about-steps { display: grid; gap: 12px; margin: 0; padding: 0; list-style: none; }
@media (min-width: 640px) { .about-steps { grid-template-columns: 1fr 1fr; gap: 16px; } }
.about-steps li {
  display: grid;
  grid-template-columns: 44px 1fr;
  gap: 14px;
  align-items: start;
  padding: 20px;
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  line-height: 1.5;
}
.about-steps__num {
  color: var(--accent);
  font-family: var(--font-display);
  font-size: 40px;
  font-weight: 700;
  line-height: .9;
}


/* ─── 24. Hírlevél-űrlap a láblécben és a kártyán ──────────────────────── */

.site-footer__nl {
  display: grid;
  gap: 12px 32px;
  margin-bottom: 32px;
  padding-bottom: 32px;
  border-bottom: 1px solid var(--line);
}
@media (min-width: 1024px) {
  .site-footer__nl { grid-template-columns: minmax(0, 1fr) minmax(0, 1.2fr); align-items: start; }
}
.site-footer__nl-text { margin: 0; color: var(--ink-2); font-size: 15px; }

/* Kompakt (egysoros) változat: mező + gomb egy sorban, alatta a hozzájárulás */
.nl-form--compact {
  grid-template-columns: minmax(0, 1fr) auto;
  grid-template-areas:
    "general general"
    "field   button"
    "consent consent"
    "success success";
  gap: 4px 10px;
}
.nl-form--compact .nl-form__general { grid-area: general; }
.nl-form--compact .nl-form__field { grid-area: field; }
.nl-form--compact .nl-form__submit { grid-area: button; align-self: start; }
.nl-form--compact .nl-form__consent { grid-area: consent; }
.nl-form--compact .nl-form__success { grid-area: success; }
.nl-form--compact .nl-form__consent label { font-size: 14px; }

.nl-card .h3 { margin-bottom: 8px; color: var(--dark-text); }
.nl-card > p { margin-bottom: 16px; }
.nl-card .nl-form .btn { justify-self: stretch; }

/* Sikeres feliratkozás után (JavaScripttel) csak az üzenet marad látható */
.nl-form.is-done > *:not(.nl-form__success) { display: none; }
.nl-form.is-done .nl-form__success { font-size: 16px; }
.nl-form[aria-busy="true"] .nl-form__submit { opacity: .6; pointer-events: none; }


/* ─── 25. Jogi oldalak ──────────────────────────────────────────────────── */

/* Hiányzó adat jelzése (a .env-ben még nincs kitöltve) */
mark.todo { padding: 1px 6px; background: var(--note-bg); color: var(--note-label); border-radius: 4px; font-weight: 600; }

.legal { max-width: 760px; }
.legal h1 { margin-bottom: 12px; }
.legal__updated { margin-bottom: 32px; color: var(--muted); font-size: 14px; }
.legal h2 { margin: 40px 0 12px; font-size: 26px; }
.legal h3 { margin: 24px 0 8px; font-family: var(--font-body); font-size: 17px; font-weight: 700; }
.legal ul { padding-left: 22px; }
.legal li { margin: 6px 0; }
.legal dl { display: grid; grid-template-columns: minmax(0, 1fr); gap: 2px 24px; margin: 0; }
@media (min-width: 640px) { .legal dl { grid-template-columns: 220px minmax(0, 1fr); } }
.legal dt { color: var(--muted); font-size: 15px; }
.legal dd { margin: 0 0 10px; font-weight: 600; overflow-wrap: anywhere; }
.legal .table { font-size: 15px; }
.legal .table th, .legal .table td { white-space: normal; text-align: left; vertical-align: top; }


/* ─── 26. Süti-sáv ──────────────────────────────────────────────────────── */

.cookie-banner {
  position: fixed;
  left: 12px;
  right: 12px;
  bottom: 12px;
  z-index: 50;
  max-width: 720px;
  margin: 0 auto;
  background: var(--surface);
  color: var(--ink);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  box-shadow: 0 18px 48px -18px rgba(20, 24, 29, .45);
}
.cookie-banner[hidden] { display: none; }
.cookie-banner__inner { padding: 20px; max-height: 80vh; overflow-y: auto; }
@media (min-width: 640px) { .cookie-banner__inner { padding: 24px 28px; } }
.cookie-banner__title { margin-bottom: 8px; font-size: 24px; }
.cookie-banner p { font-size: 15px; line-height: 1.5; }
.cookie-banner__details { display: grid; gap: 4px; margin: 12px 0 4px; padding: 12px 16px; background: var(--surface-2); border-radius: 12px; }
.cookie-banner__details[hidden] { display: none; }
.cookie-option { display: grid; grid-template-columns: auto 1fr; gap: 10px; align-items: center; }
.cookie-option input { width: 22px; height: 22px; margin: 0; accent-color: var(--accent); }
.cookie-option label { padding: 11px 0; font-size: 15px; line-height: 1.4; }
.cookie-banner__actions { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 16px; }

/* Linknek látszó gomb (pl. „Süti-beállítások” a láblécben) */
.link-button {
  display: inline-flex;
  align-items: center;
  min-height: var(--tap);
  padding: 0;
  background: none;
  border: 0;
  color: var(--ink);
  font: inherit;
  font-weight: 600;
  text-decoration: underline;
  text-underline-offset: 3px;
  cursor: pointer;
}
.link-button:hover { color: var(--accent); }


/* ─── 27. Menetrend ─────────────────────────────────────────────────────── */

.md-stepper { display: flex; align-items: center; gap: 12px; }
.md-stepper__label { display: flex; flex-direction: column; align-items: center; min-width: 140px; line-height: 1.3; text-align: center; }
.md-stepper__label strong { font-family: var(--font-display); font-size: 22px; }
.md-stepper__label .muted { font-size: 14px; }
.md-back { margin: 0 0 12px; }

.day-card { padding: 8px 24px; margin-bottom: 16px; }
.day-card__title {
  margin: 0 -24px;
  padding: 14px 24px;
  border-bottom: 1px solid var(--line-soft);
  font-size: 20px;
}

/* Elhalasztott / félbeszakadt / folyamatban lévő meccs jelzése */
.status-tag {
  display: inline-block;
  padding: 4px 12px;
  background: var(--line-soft);
  color: var(--muted);
  border-radius: var(--radius-pill);
  font-size: 14px;
  font-weight: 600;
}
.status-tag--live { background: var(--accent-soft); color: var(--accent-dark); }
