/* ==========================================================================
   XX. Sípmester Fesztivál – publikus oldal
   Színek a logóból: turulkék, arany szalag; tiszta fehér alap (a logó fehérre készült)
   ========================================================================== */

@font-face { font-family: "Cinzel"; src: url("../fonts/cinzel.woff2") format("woff2"); font-weight: 400 900; font-display: swap; }
@font-face { font-family: "Barlow"; src: url("../fonts/barlow-regular.woff2") format("woff2"); font-weight: 400; font-display: swap; }
@font-face { font-family: "Barlow"; src: url("../fonts/barlow-italic.woff2") format("woff2"); font-weight: 400; font-style: italic; font-display: swap; }
@font-face { font-family: "Barlow"; src: url("../fonts/barlow-medium.woff2") format("woff2"); font-weight: 500; font-display: swap; }
@font-face { font-family: "Barlow"; src: url("../fonts/barlow-semibold.woff2") format("woff2"); font-weight: 600; font-display: swap; }
@font-face { font-family: "Barlow Condensed"; src: url("../fonts/barlowcondensed-semibold.woff2") format("woff2"); font-weight: 600; font-display: swap; }
@font-face { font-family: "Barlow Condensed"; src: url("../fonts/barlowcondensed-bold.woff2") format("woff2"); font-weight: 700; font-display: swap; }

:root {
  --navy: #0B2745;        /* turul, felirat */
  --navy-2: #1E4775;      /* hullám világosabb kékje */
  --gold: #B47F3B;        /* szalag */
  --gold-l: #D9AE6B;      /* szalag fénye */
  --mist: #EEF2F7;        /* hideg, kékes sáv – nem krém */
  --line: #D6DDE6;
  --text: #1A2533;
  --muted: #5B6879;
  --live: #C62828;

  --serif: "Cinzel", "Trajan Pro", Georgia, serif;
  --sans: "Barlow", "Segoe UI", system-ui, sans-serif;
  --cond: "Barlow Condensed", "Arial Narrow", "Barlow", sans-serif;

  --wrap: 1120px;
  --gap: clamp(16px, 3vw, 32px);
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; }
body {
  margin: 0;
  font: 400 1.0625rem/1.6 var(--sans);
  color: var(--text);
  background: #fff;
  display: flex; flex-direction: column; min-height: 100vh;
}
main { flex: 1; }
img { max-width: 100%; height: auto; }
a { color: var(--navy-2); text-decoration-color: var(--gold-l); text-underline-offset: .18em; text-decoration-thickness: 1.5px; }
a:hover { color: var(--navy); text-decoration-color: var(--gold); }
:focus-visible { outline: 3px solid var(--gold); outline-offset: 2px; border-radius: 2px; }

.wrap { max-width: var(--wrap); margin: 0 auto; padding: 0 var(--gap); }
.muted { color: var(--muted); }
.visually-hidden { position: absolute !important; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.skip { position: absolute; left: -999px; top: 8px; background: var(--navy); color: #fff; padding: 8px 14px; z-index: 10; }
.skip:focus { left: 8px; }

/* ---------------------------------------------------------------- fejléc */
.site-header { background: #fff; }
.header-row { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 6px 24px; padding-top: 14px; padding-bottom: 6px; }
.brand { display: flex; align-items: center; gap: 14px; text-decoration: none; color: var(--navy); min-width: 0; flex: none; }
.brand img { width: auto; height: 52px; flex: none; }
.brand-text { display: flex; flex-direction: column; line-height: 1.15; min-width: 0; }
.brand-name { font: 600 1.25rem/1.15 var(--serif); letter-spacing: .01em; white-space: nowrap; }
.brand-sub { font-size: .875rem; color: var(--muted); margin-top: 3px; white-space: nowrap; }
/* a menü a cím mellett, ha elfér; ha nem, egész sorként a cím alá tördel (a main.js jelzi: .nav-below) */
.site-nav { flex: 0 1 auto; min-width: 0; }
.site-header.nav-below .site-nav { flex-basis: 100%; margin: 0 calc(-1 * var(--gap)); overflow-x: auto; scrollbar-width: none; }
.site-header.nav-below .site-nav::-webkit-scrollbar { display: none; }
.site-header.nav-below .site-nav ul { padding: 0 calc(var(--gap) - 12px); width: max-content; }

.site-nav ul { display: flex; gap: 4px; list-style: none; margin: 0; padding: 0; }
.site-nav a {
  display: block; padding: 8px 12px; font-weight: 500; color: var(--navy); text-decoration: none;
  border-bottom: 2px solid transparent;
}
.site-nav a:hover { border-bottom-color: var(--gold-l); }
.site-nav a[aria-current="page"] { border-bottom-color: var(--gold); }

/* a logó hullámszalagja a fejléc alján */
.ribbon { display: block; width: 100%; height: 26px; margin-top: 2px; }
.ribbon-navy { fill: var(--navy); }
.ribbon-gold { fill: var(--gold); }

@media (max-width: 860px) {
  .site-nav { flex-basis: 100%; margin: 0 calc(-1 * var(--gap)); overflow-x: auto; scrollbar-width: none; }
  .site-nav::-webkit-scrollbar { display: none; }
  .site-nav ul { padding: 0 calc(var(--gap) - 12px); width: max-content; }
}
@media (max-width: 860px) {
  .brand img { height: 44px; }
  .brand-name { font-size: 1.0625rem; }
  .ribbon { height: 18px; }
}

/* ---------------------------------------------------------------- kezdőlap */
.hero { padding: clamp(16px, 4vw, 40px) 0 clamp(28px, 5vw, 56px); }
.hero-inner { display: flex; flex-direction: column; align-items: center; text-align: center; }
.hero-logo { width: min(760px, 92vw); height: auto; }

.countdown { margin-top: clamp(12px, 3vw, 28px); }
.countdown-lead { margin: 0 0 4px; color: var(--muted); }
.countdown-units { display: flex; justify-content: center; gap: clamp(18px, 4vw, 44px); }
.cd { display: flex; align-items: baseline; gap: 6px; font: 600 1.125rem/1 var(--cond); color: var(--gold); }
.cd b {
  font: 700 clamp(2.75rem, 7vw, 4.25rem)/1 var(--cond); color: var(--navy);
  font-variant-numeric: tabular-nums lining-nums; letter-spacing: -.01em;
}
.countdown-done { font: 600 1.5rem var(--cond); color: var(--navy); margin: 8px 0 0; }

.home-grid {
  display: grid; grid-template-columns: minmax(0, 1.6fr) minmax(0, 1fr);
  gap: clamp(28px, 5vw, 64px); padding-bottom: 56px;
}
@media (max-width: 860px) { .home-grid { grid-template-columns: 1fr; } }

/* címsor arany vonallal – mint a logón a „2027” két oldalán */
.rule-title {
  display: flex; align-items: center; gap: 16px;
  font: 600 1.5rem/1.2 var(--serif); color: var(--navy); margin: 0 0 18px;
}
.rule-title::after { content: ""; flex: 1; height: 1.5px; background: linear-gradient(90deg, var(--gold), var(--gold-l) 60%, transparent); }
.more { font-weight: 600; }

/* ---------------------------------------------------------------- hírek */
.news-item { display: flex; gap: 20px; padding: 16px 0; border-top: 1px solid var(--line); }
.news-item:first-of-type { border-top: 0; padding-top: 0; }
.news-text { flex: 1; min-width: 0; }
.news-text p { margin: 0; }
.news-date { margin: 0 0 2px; font-size: .875rem; color: var(--muted); }
.news-title { margin: 0 0 6px; font: 600 1.25rem/1.3 var(--sans); }
.news-title a { color: var(--navy); text-decoration: none; }
.news-title a:hover { text-decoration: underline; text-decoration-color: var(--gold); }
.news-thumb { width: 132px; height: 92px; object-fit: cover; border-radius: 3px; flex: none; }
@media (max-width: 520px) { .news-thumb { width: 88px; height: 66px; } }
.news-hero { display: block; width: 100%; max-height: 460px; object-fit: cover; margin: 8px 0 24px; border-radius: 3px; }

.pager { display: flex; gap: 20px; align-items: center; margin-top: 24px; }

/* ---------------------------------------------------------------- időbeosztás */
.sched-day + .sched-day { margin-top: 22px; }
.sched-day-title { margin: 0 0 6px; font: 600 1.25rem/1.2 var(--cond); color: var(--navy); }
.sched-day-title span { color: var(--muted); font-weight: 600; margin-left: 6px; }
.sched-list { list-style: none; margin: 0; padding: 0; }
.sched-list li { display: grid; grid-template-columns: 6.5em 1fr; gap: 12px; padding: 7px 0; border-top: 1px solid var(--line); }
.sched-time { font: 600 1.0625rem/1.5 var(--cond); color: var(--navy); font-variant-numeric: tabular-nums; }
.sched-where { color: var(--muted); }
.schedule-compact .sched-list li { grid-template-columns: 5.5em 1fr; }

/* ---------------------------------------------------------------- tartalmi oldal */
.page { padding-top: clamp(20px, 4vw, 40px); padding-bottom: 64px; }
.page-title { font: 600 clamp(1.75rem, 4.2vw, 2.5rem)/1.15 var(--serif); color: var(--navy); margin: 0 0 18px; max-width: 30ch; }
.prose { max-width: 68ch; }
.prose h2 { font: 600 1.4rem/1.3 var(--sans); color: var(--navy); margin: 1.6em 0 .4em; }
.prose h3 { font: 600 1.15rem/1.3 var(--sans); color: var(--navy); margin: 1.4em 0 .3em; }
.prose h4 { font-size: 1rem; margin: 1.2em 0 .2em; }
.prose ul, .prose ol { padding-left: 1.4em; }
.prose li + li { margin-top: .25em; }
.prose blockquote { margin: 1.2em 0; padding: .2em 0 .2em 1em; border-left: 3px solid var(--gold); color: var(--muted); }
.prose table { border-collapse: collapse; width: 100%; margin: 1em 0; font-size: .95rem; display: block; overflow-x: auto; }
.prose th, .prose td { border-bottom: 1px solid var(--line); padding: 6px 10px; text-align: left; vertical-align: top; }
.prose th { color: var(--navy); }
.prose hr { border: 0; height: 1.5px; background: var(--gold-l); margin: 2em 0; }
.note { margin-top: 28px; font-size: .9375rem; }

.attachment { display: flex; align-items: baseline; gap: 12px; margin: 0 0 22px; }
.attachment a {
  display: inline-block; padding: 8px 16px; background: var(--navy); color: #fff; text-decoration: none;
  font-weight: 600; border-radius: 3px;
}
.attachment a:hover { background: var(--navy-2); color: #fff; }

.preview-note { background: #FBF3E4; border-left: 4px solid var(--gold); padding: 10px 14px; margin: 0 0 20px; }

/* ---------------------------------------------------------------- támogatók */
.sponsors { background: var(--mist); padding: 36px 0 44px; }
.sponsor-row { list-style: none; margin: 0; padding: 0; display: flex; flex-wrap: wrap; gap: 28px 44px; align-items: center; }
.sponsor img { display: block; max-height: 56px; width: auto; }
.sponsor-main img { max-height: 76px; }
.sponsor span { font-weight: 600; color: var(--navy); }

/* ---------------------------------------------------------------- lábléc */
.site-footer { background: var(--navy); color: #D7E0EB; border-top: 3px solid var(--gold); }
.footer-row { display: flex; justify-content: space-between; gap: 24px; flex-wrap: wrap; padding-top: 28px; padding-bottom: 32px; }
.footer-row p { margin: 0; }
.footer-name { font: 600 1.125rem var(--serif); color: #fff; margin-bottom: 4px !important; }
.footer-links { list-style: none; margin: 0; padding: 0; display: flex; gap: 8px 24px; flex-wrap: wrap; align-items: center; }
.site-footer a { color: #fff; text-decoration-color: var(--gold-l); }
.site-footer a:hover { color: var(--gold-l); }

@media (prefers-reduced-motion: reduce) { * { scroll-behavior: auto !important; transition: none !important; } }
@media print {
  .site-nav, .ribbon, .site-footer, .sponsors, .attachment { display: none; }
  body { font-size: 11pt; }
}

/* ---------------------------------------------------------------- csapatok */
.crest { display: inline-block; object-fit: contain; flex: none; }
.crest-badge {
  width: var(--s); height: var(--s); border-radius: 50%; display: inline-grid; place-items: center;
  background: var(--c1); color: var(--c2); border: 2px solid var(--c2); box-shadow: 0 0 0 1.5px var(--c1);
  font: 700 calc(var(--s) * .3)/1 var(--cond); letter-spacing: .02em;
}
.lead-p { color: var(--muted); max-width: 60ch; margin: -6px 0 24px; }
.team-grid { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(auto-fill, minmax(220px, 1fr)); gap: 0 28px; }
.team-grid a {
  display: flex; align-items: center; gap: 14px; padding: 12px 0; border-bottom: 1px solid var(--line);
  color: var(--navy); text-decoration: none; font-weight: 600;
}
.team-grid a:hover span { text-decoration: underline; text-decoration-color: var(--gold); }
.team-title { display: flex; align-items: center; gap: 18px; margin-bottom: 18px; }
.team-title .page-title { margin: 0; }
.roster { border-collapse: collapse; min-width: min(480px, 100%); }
.roster th { text-align: left; font: 600 .875rem var(--sans); color: var(--muted); padding: 6px 12px 6px 0; border-bottom: 1.5px solid var(--gold-l); }
.roster td { padding: 8px 12px 8px 0; border-bottom: 1px solid var(--line); }
.roster-no { font: 700 1.25rem/1 var(--cond); color: var(--navy); width: 3em; font-variant-numeric: tabular-nums; }

/* ---------------------------------------------------------------- menetrend */
.filter { display: flex; flex-wrap: wrap; gap: 12px 20px; margin: -4px 0 28px; }
.filter label { display: flex; flex-direction: column; gap: 4px; font-size: .875rem; color: var(--muted); }
.filter select { font: 500 1rem var(--sans); color: var(--navy); padding: 8px 10px; border: 1px solid var(--line); border-radius: 3px; background: #fff; min-width: 220px; }
.match-day + .match-day { margin-top: 40px; }
.day-date { font: 500 1rem var(--sans); color: var(--muted); }
.match-list { list-style: none; margin: 0; padding: 0; }
.mr {
  display: grid; grid-template-columns: 4.2em 7.5em minmax(0, 1fr) 6em minmax(0, 1fr);
  align-items: center; gap: 12px; padding: 10px 0; border-bottom: 1px solid var(--line);
}
.mr-time { font: 600 1.125rem/1 var(--cond); color: var(--navy); font-variant-numeric: tabular-nums; }
.mr-meta { font-size: .8125rem; color: var(--muted); line-height: 1.3; display: flex; flex-direction: column; }
.mr-tag { color: var(--gold); font-weight: 600; }
.mr-home, .mr-away { display: flex; align-items: center; gap: 10px; min-width: 0; font-weight: 600; color: var(--navy); }
.mr-home { flex-direction: row-reverse; text-align: right; }
.mr-name { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.mr-tbd { color: var(--muted); font-weight: 400; font-style: italic; }
.mr-score {
  display: flex; flex-wrap: wrap; justify-content: center; align-items: baseline; column-gap: 6px;
  font: 700 1.375rem/1 var(--cond); color: var(--navy); font-variant-numeric: tabular-nums; white-space: nowrap;
}
.mr-sep { font-style: normal; }
.mr-vs { color: var(--muted); font-weight: 600; }
.mr-pens { flex-basis: 100%; text-align: center; font: 600 .75rem var(--cond); color: var(--muted); margin-top: 3px; }
.mr-live .mr-hg, .mr-live .mr-ag, .mr-live .mr-sep { color: var(--live); }
.mr-livewrap { flex: 0 0 100%; text-align: center; margin-top: 4px; line-height: 1; }
.mr-livebadge { display: inline-block; font: 600 .6875rem/1 var(--sans); color: #fff; background: var(--live); border-radius: 2px; padding: 3px 6px; }
.mr-gala { background: linear-gradient(90deg, transparent, #FBF3E4 20%, #FBF3E4 80%, transparent); }

.mr-refs {
  grid-column: 3 / -1; margin-top: -4px; text-align: center; font-size: .8125rem; color: var(--muted);
  display: flex; flex-wrap: wrap; justify-content: center; gap: 2px 0;
}
.mr-role { color: var(--gold); font-weight: 600; }
.mr-refsep { display: inline-block; width: 1px; height: .9em; background: var(--line); margin: 0 10px; vertical-align: middle; align-self: center; }

.mr-gh, .mr-ga { font-size: .8125rem; color: var(--muted); margin-top: -6px; min-width: 0; }
.mr-gh { grid-column: 3; text-align: right; }
.mr-ga { grid-column: 5; }
.mr-gt { display: none; }
.mr-gh[hidden], .mr-ga[hidden] { display: none; }

/* telefonon: a két csapat egymás alatt, mellettük a gólok – így a hosszú megyenév is kifér */
@media (max-width: 700px) {
  .mr {
    grid-template-columns: 3.3em minmax(0, 1fr) auto;
    grid-template-areas: "time meta live" "time home hg" "time away ag" "time gh gh" "time ga ga" "time pens pens" "time refs refs";
    row-gap: 6px; column-gap: 10px; align-items: center;
  }
  .mr-time { grid-area: time; align-self: start; padding-top: 1px; }
  .mr-meta { grid-area: meta; flex-direction: row; gap: 0; }
  .mr-tag::before { content: ", "; color: var(--muted); font-weight: 400; }
  .mr-home { grid-area: home; flex-direction: row; text-align: left; }
  .mr-away { grid-area: away; }
  .mr-score { display: contents; }
  .mr-hg { grid-area: hg; text-align: right; font-size: 1.25rem; }
  .mr-ag { grid-area: ag; text-align: right; font-size: 1.25rem; }
  .mr-sep, .mr-vs { display: none; }
  .mr-pens { grid-area: pens; text-align: left; margin: 0; }
  .mr-gh { grid-area: gh; text-align: left; margin: 0; }
  .mr-ga { grid-area: ga; margin: 0; }
  .mr-gt { display: inline; color: var(--navy); font-weight: 600; }
  .mr-refs { grid-area: refs; grid-column: auto; justify-content: flex-start; text-align: left; margin-top: 0; gap: 0 12px; font-size: .78rem; }
  .mr-refsep { display: none; }
  .mr-livewrap { grid-area: live; margin: 0; text-align: right; }
  .mr-name { white-space: normal; }
  .mr-hwin .mr-away, .mr-hwin .mr-ag, .mr-awin .mr-home, .mr-awin .mr-hg { color: var(--muted); font-weight: 500; }
}

/* ---------------------------------------------------------------- tabella */
.group-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(min(100%, 460px), 1fr)); gap: 24px 48px; margin-bottom: 32px; }
.standings { width: 100%; border-collapse: collapse; font-variant-numeric: tabular-nums; }
.standings th { font: 600 .8125rem var(--sans); color: var(--muted); text-align: left; padding: 6px 6px; border-bottom: 1.5px solid var(--gold-l); }
.standings td { padding: 8px 6px; border-bottom: 1px solid var(--line); }
.st-n { text-align: center !important; width: 2.6em; }
.st-pos { width: 2em; color: var(--muted); }
.st-pts { font-weight: 700; color: var(--navy); }
.st-team { display: flex; align-items: center; gap: 8px; font-weight: 600; }
.st-team a { color: var(--navy); text-decoration: none; }
.st-team a:hover { text-decoration: underline; text-decoration-color: var(--gold); }
.st-tied td { background: #FBF3E4; }
.small-p { font-size: .875rem; margin-top: 8px; }
.team-matches-title { margin-top: 36px; }
@media (max-width: 520px) { .st-x { display: none; } }

/* ---------------------------------------------------------------- fotók */
.avatar { display: inline-block; vertical-align: middle; border-radius: 50%; object-fit: cover; flex: none; }
.avatar-ini { width: var(--s); height: var(--s); display: inline-grid; place-items: center; background: var(--mist); color: var(--navy);
  font: 600 calc(var(--s) * .38)/1 var(--sans); }
.roster-pic { width: 52px; }
.team-photo { display: block; width: 100%; max-height: 520px; object-fit: cover; border-radius: 3px; margin: 0 0 28px; }

/* ---------------------------------------------------------------- játékvezető személyes oldala */
.ref-head { display: flex; align-items: center; gap: 18px; margin-bottom: 20px; }
.ref-head .page-title { margin: 0; }
.ref-head .news-date { margin: 0; }
.ref-list { list-style: none; margin: 0 0 28px; padding: 0; }
.ref-list li { display: grid; grid-template-columns: 4em 1fr; gap: 12px; padding: 10px 0; border-bottom: 1px solid var(--line); }
.ref-time { font: 700 1.25rem/1.2 var(--cond); color: var(--navy); }
.ref-actions { display: flex; flex-wrap: wrap; gap: 16px 24px; align-items: center; margin: 8px 0 12px; }
.btn-confirm { font: 600 1.0625rem var(--sans); color: #fff; background: var(--navy); border: 0; border-radius: 3px; padding: 12px 22px; cursor: pointer; }
.btn-confirm:hover { background: var(--navy-2); }
.confirm-ok { background: #EAF4EA; border-left: 4px solid #2E7D32; padding: 10px 14px; }
.ref-rec { display: inline-block; margin-top: 6px; font-weight: 600; }

/* ---------------------------------------------------------------- élő sáv, statisztika */
.now-strip { padding-top: 8px; padding-bottom: 28px; }
.stat-tiles { display: flex; flex-wrap: wrap; gap: 12px 48px; margin: 0 0 32px; }
.stat-tiles div { display: flex; flex-direction: column; }
.stat-tiles b { font: 700 2.6rem/1 var(--cond); color: var(--navy); font-variant-numeric: tabular-nums; }
.stat-tiles span { color: var(--muted); font-size: .9375rem; }
.stat-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 420px), 1fr)); gap: 32px 56px; }
.scorers { list-style: none; margin: 0; padding: 0; }
.scorers li { display: grid; grid-template-columns: 2.2em auto 1fr auto; align-items: center; gap: 12px; padding: 8px 0; border-bottom: 1px solid var(--line); }
.sc-rank { color: var(--muted); font-variant-numeric: tabular-nums; }
.sc-name { font-weight: 600; color: var(--navy); line-height: 1.25; }
.sc-name .muted { font-weight: 400; font-size: .875rem; }
.sc-goals { font: 700 1.5rem/1 var(--cond); color: var(--navy); }

/* ---------------------------------------------------------------- végeredmény */
.podium { list-style: none; margin: 8px 0 36px; padding: 0; display: grid; grid-template-columns: repeat(3, 1fr); align-items: end; gap: 12px; max-width: 760px; }
.pod { display: flex; flex-direction: column; align-items: center; text-align: center; gap: 8px; }
.pod-name { font: 600 1.05rem/1.25 var(--sans); color: var(--navy); min-height: 2.5em; display: flex; align-items: flex-end; }
.pod-name a { color: inherit; text-decoration: none; }
.pod-step { width: 100%; display: grid; place-items: center; font: 700 2.4rem/1 var(--cond); color: #fff; background: var(--navy); border-top: 5px solid var(--gold); }
.pod-1 .pod-step { height: 130px; background: var(--gold); color: var(--navy); border-top-color: var(--navy); }
.pod-2 .pod-step { height: 96px; }
.pod-3 .pod-step { height: 70px; }
.final-list { list-style: none; margin: 0 0 28px; padding: 0; columns: 2 300px; column-gap: 40px; }
.final-list li { display: flex; align-items: center; gap: 12px; padding: 8px 0; border-bottom: 1px solid var(--line); break-inside: avoid; }
.final-list a { color: var(--navy); font-weight: 600; text-decoration: none; }
.fl-no { width: 2.2em; font: 700 1.15rem var(--cond); color: var(--muted); }

.awards { list-style: none; margin: 0 0 32px; padding: 0; display: grid; grid-template-columns: repeat(auto-fit, minmax(240px, 1fr)); gap: 16px 28px; }
.awards li { display: flex; align-items: center; gap: 14px; }
.awards li > span { display: flex; flex-direction: column; line-height: 1.3; }
.aw-lbl { font: 600 .8125rem var(--sans); color: var(--gold); text-transform: uppercase; letter-spacing: .06em; }
.awards strong { color: var(--navy); font-size: 1.05rem; }

/* ---------------------------------------------------------------- menetrend: nézetváltó, programpontok */
.mt-tools { display: flex; flex-wrap: wrap; align-items: flex-end; gap: 12px 28px; margin-bottom: 28px; }
.mt-tools .filter { margin: 0; }
.seg { display: inline-flex; border: 1px solid var(--line); border-radius: 6px; overflow: hidden; background: #fff; }
.seg a { padding: 8px 16px; color: var(--navy); text-decoration: none; font-weight: 500; border-right: 1px solid var(--line); }
.seg a:last-child { border-right: 0; }
.seg a[aria-current="page"] { background: var(--navy); color: #fff; }
.mt-intro { margin: 12px 0 8px; }
.prog-row { display: grid; grid-template-columns: 4.2em minmax(0, 1fr); align-items: center; gap: 0 12px; padding: 12px 0; border-bottom: 1px solid var(--line);
  background: linear-gradient(90deg, rgba(180, 127, 59, .09), rgba(180, 127, 59, 0) 70%); }
.prog-row .mr-time small { display: block; font-size: .8125rem; color: var(--muted); font-weight: 500; }
.prog-what { font-weight: 600; color: var(--gold); display: flex; flex-wrap: wrap; align-items: baseline; gap: 2px 12px; }
.prog-where { font-weight: 400; color: var(--muted); font-size: .9375rem; }
@media (max-width: 700px) { .prog-row { grid-template-columns: 3.3em minmax(0, 1fr); gap: 0 10px; } }
.prog-row > .mr-time { grid-area: auto; align-self: center; padding-top: 0; }
