/* Regional association sites (Shoqata Rajonale) — one stylesheet for every
   association and page. Base and shared components first; page-specific rules
   are scoped by the body class set in each view (page-home, page-news, …). */

/* ===================== tokens + base ===================== */
:root {
  --red: #DC0714;
  --red-dim: #A4050F;
  --bg: #16161A;
  --panel: #1E1E23;
  --panel-2: #26262C;
  --line: rgba(255,255,255,0.08);
  --text: #F4F4F5;
  --text-dim: #A1A1A8;
  --accent: #4A7FB5;
  --light-bg: #F4F4F5;
  --light-ink: #16161A;
  --light-dim: #6a6a72;
  --light-line: rgba(0,0,0,0.1);
  --radius: 14px;
  --gutter: 24px;
}

* { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; }
body {
  margin: 0;
  background: var(--bg);
  color: var(--text);
  font-family: "Inter Tight", system-ui, -apple-system, sans-serif;
  font-weight: 400;
  font-size: 16px;
  line-height: 1.6;
  font-variant-numeric: tabular-nums;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}
h1, h2, h3, h4, p, ul, ol, figure, blockquote, table, dl { margin: 0; }
ul.reset { list-style: none; padding: 0; }
a { color: inherit; text-decoration: none; }
img { display: block; max-width: 100%; }
table { border-collapse: collapse; }

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

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

/* ---- media wrapper ---- */
.media { display: block; position: relative; width: 100%; overflow: hidden; border-radius: var(--radius); background: var(--panel-2); }
.media > img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; object-position: center; display: block; }
.media--hero     { aspect-ratio: 21/9; border-radius: 0; }
.media--lead     { aspect-ratio: 16/9; }
.media--card     { aspect-ratio: 4/3; }
.media--portrait { aspect-ratio: 4/5; }
.media--square   { aspect-ratio: 1/1; }
/* duotone red-black treatment on photography */
.media--duotone > img { filter: grayscale(100%) contrast(1.06) brightness(0.95); }
.media--duotone::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(150deg, rgba(220,7,20,0.28), rgba(22,22,26,0.55));
  mix-blend-mode: multiply;
  pointer-events: none;
}

/* ---- layout primitives ---- */
.container { width: 100%; max-width: 1200px; margin-inline: auto; padding-inline: var(--gutter); }

.panel {
  background: var(--panel);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 28px;
}

.block { margin-top: 88px; }
.block--first { margin-top: 56px; }

.tag {
  display: inline-flex;
  align-items: center;
  font-size: 12px;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--accent);
  background: rgba(74,127,181,0.12);
  border: 1px solid rgba(74,127,181,0.3);
  border-radius: 999px;
  padding: 5px 12px;
  line-height: 1;
}

.section-head {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 16px;
  flex-wrap: wrap;
  margin-bottom: 24px;
}
.section-head h2 { font-size: 30px; font-weight: 400; letter-spacing: -0.02em; }

.link-red {
  color: var(--red);
  font-size: 14px;
  font-weight: 500;
  transition: color 120ms ease;
}
.link-red:hover { color: var(--red-dim); }
.link-red--arrow::after { content: " \2192"; }

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  border-radius: 999px;
  font-size: 14px;
  font-weight: 500;
  font-family: inherit;
  padding: 10px 22px;
  border: 1px solid var(--line);
  background: var(--panel-2);
  color: var(--text);
  cursor: pointer;
  transition: border-color 120ms ease, background 120ms ease;
}
.btn:hover { border-color: rgba(255,255,255,0.22); }
.btn--primary { background: var(--red); border-color: var(--red); color: #fff; }
.btn--primary:hover { background: var(--red-dim); border-color: var(--red-dim); }

.empty-panel { text-align: center; padding: 56px 28px; }
.empty-panel p { font-size: 18px; color: var(--text-dim); }
.empty-panel .empty-link { margin-top: 18px; display: inline-block; }
.empty-contact { margin-top: 18px; font-size: 15px; color: var(--text-dim); }
.empty-contact a { color: var(--red); }
.empty-contact a:hover { color: var(--red-dim); }

/* ===================== header ===================== */
.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  background: rgba(22,22,26,0.85);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  border-bottom: 1px solid var(--line);
}
.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  min-height: 72px;
  position: relative;
}
.brand { display: flex; align-items: center; gap: 14px; }
.brand-logo { max-height: 44px; width: auto; object-fit: contain; }
.brand-name { line-height: 1.2; }
.brand-name .n1 { display: block; font-size: 15px; font-weight: 600; letter-spacing: -0.01em; }
.brand-name .n2 { display: block; font-size: 13px; color: var(--text-dim); letter-spacing: 0.04em; }

.primary-nav ul { display: flex; align-items: center; gap: 4px; list-style: none; margin: 0; padding: 0; }
.primary-nav a {
  display: block;
  font-size: 14px;
  color: var(--text-dim);
  padding: 8px 12px;
  border-bottom: 2px solid transparent;
  transition: color 120ms ease, border-color 120ms ease;
}
.primary-nav a:hover { color: var(--text); }
.primary-nav a[aria-current="page"] { color: var(--text); border-bottom-color: var(--accent); }

.nav-toggle {
  display: none;
  align-items: center;
  gap: 8px;
  background: var(--panel-2);
  border: 1px solid var(--line);
  color: var(--text);
  border-radius: 999px;
  padding: 8px 16px;
  font-size: 14px;
  font-family: inherit;
  cursor: pointer;
}
.nav-toggle .bars { display: inline-flex; flex-direction: column; gap: 3px; }
.nav-toggle .bars span { width: 16px; height: 2px; background: currentColor; }

/* ===================== page title block ===================== */
.page-head { padding-top: 96px; }
.breadcrumb { font-size: 13px; color: var(--text-dim); }
.breadcrumb a { transition: color 120ms ease; }
.breadcrumb a:hover { color: var(--text); }
.page-title {
  margin-top: 20px;
  font-size: 56px;
  font-weight: 300;
  letter-spacing: -0.02em;
  line-height: 1.05;
}
.title-rule { width: 80px; height: 2px; background: var(--red); margin-top: 20px; }
.page-desc { margin-top: 20px; font-size: 17px; color: var(--text-dim); max-width: 68ch; }

/* ===================== footer ===================== */
.site-footer {
  background: var(--bg);
  border-top: 1px solid var(--line);
  padding-block: 56px 32px;
  margin-top: 88px;
}
.footer-grid { display: grid; grid-template-columns: 1.4fr 1fr 1fr; gap: 40px; }
.footer-logo { max-height: 44px; width: auto; object-fit: contain; margin-bottom: 18px; }
.footer-contact p { font-size: 14px; color: var(--text-dim); line-height: 1.7; }
.footer-contact a:hover { color: var(--text); }
.footer-col h4 {
  font-size: 13px;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--text-dim);
  margin: 0 0 16px;
  font-weight: 500;
}
.footer-links { display: flex; flex-direction: column; gap: 10px; list-style: none; margin: 0; padding: 0; }
.footer-links a { font-size: 14px; color: var(--text-dim); transition: color 120ms ease; }
.footer-links a:hover { color: var(--text); }
.fshf a { display: inline-flex; flex-direction: column; gap: 10px; color: var(--text-dim); transition: color 120ms ease; }
.fshf a:hover { color: var(--text); }
.fshf-mark { font-size: 22px; font-weight: 700; letter-spacing: 0.04em; color: var(--text); }
.footer-bottom {
  margin-top: 44px;
  padding-top: 24px;
  border-top: 1px solid var(--line);
  font-size: 13px;
  color: var(--text-dim);
}

/* ===================== light reading band (shared) ===================== */
.light-band {
  background: var(--light-bg);
  color: var(--light-ink);
  margin-top: 88px;
  padding-block: 80px;
}
.prose { max-width: 68ch; }
.prose > * + * { margin-top: 1.2em; }
.prose p, .prose li { font-size: 17px; line-height: 1.7; }
.prose h2 { font-size: 24px; font-weight: 500; letter-spacing: -0.01em; margin-top: 1.8em; }
.prose h3 { font-size: 19px; font-weight: 600; margin-top: 1.4em; }
.prose a { color: var(--red); text-decoration: underline; text-underline-offset: 2px; transition: color 120ms ease; }
.prose a:hover { color: var(--red-dim); }
.prose blockquote { border-left: 2px solid var(--red); padding-left: 20px; font-size: 19px; line-height: 1.6; color: #333; }
.prose ul, .prose ol { padding-left: 1.3em; }
.prose li + li { margin-top: 0.4em; }
.prose img { border-radius: var(--radius); width: 100%; height: auto; }
.prose figcaption { font-size: 13px; color: var(--light-dim); margin-top: 10px; }
.prose table { width: 100%; font-size: 15px; font-variant-numeric: tabular-nums; }
.prose th, .prose td { text-align: left; padding: 12px 14px; border-bottom: 1px solid var(--light-line); }
.prose th { font-size: 12px; font-weight: 600; letter-spacing: 0.06em; text-transform: uppercase; color: var(--light-dim); }
.prose tbody tr:last-child td { border-bottom: 0; }
.prose iframe { width: 100%; aspect-ratio: 16/9; height: auto; border: 0; border-radius: var(--radius); }
.prose--compact p, .prose--compact li { font-size: 16px; line-height: 1.6; }
.prose--compact blockquote { font-size: 18px; }

/* ===================== homepage ===================== */
.page-home .section-head h2 { font-weight: 300; }
.page-home :focus-visible { outline-color: var(--accent); }

.hero { position: relative; min-height: 72vh; display: flex; align-items: flex-end; overflow: hidden; }
.hero--plain { min-height: 48vh; }
.hero-media { position: absolute; inset: 0; height: 100%; }
.hero-media > img { filter: grayscale(100%) contrast(1.08) brightness(0.92); }
.hero-media::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(140deg, rgba(220,7,20,0.55), rgba(22,22,26,0.9));
  mix-blend-mode: multiply;
}
.hero-fade {
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(22,22,26,0) 35%, rgba(22,22,26,0.55) 70%, rgba(22,22,26,0.92) 90%, #16161A 100%);
  pointer-events: none;
}
.hero-inner { position: relative; z-index: 2; width: 100%; padding-bottom: 96px; padding-top: 80px; }
.hero-copy { max-width: 760px; }
.hero .tag { font-size: 13px; padding: 6px 14px; }
.hero-title { margin-top: 20px; font-size: 76px; font-weight: 300; line-height: 1.02; letter-spacing: -0.02em; }
.hero-title .elb { font-weight: 500; }
.hero-desc { margin-top: 22px; font-size: 18px; color: var(--text-dim); max-width: 620px; }

.quicklinks { position: relative; z-index: 5; margin-top: -32px; }
.quicklinks ul { display: flex; flex-wrap: wrap; gap: 12px; list-style: none; margin: 0; padding: 0; }
.quicklinks a {
  display: inline-flex;
  align-items: center;
  font-size: 14px;
  font-weight: 500;
  padding: 12px 24px;
  border-radius: 999px;
  background: var(--panel);
  border: 1px solid var(--line);
  box-shadow: 0 10px 30px rgba(0,0,0,0.35);
  transition: border-color 120ms ease, background 120ms ease;
}
.quicklinks a:hover { border-color: rgba(255,255,255,0.22); background: var(--panel-2); }

.comp-grid { display: grid; grid-template-columns: 1.3fr 1fr; }
.comp-standings { padding-right: 28px; }
.comp-results { padding-left: 28px; border-left: 1px solid var(--line); }
.comp-sub { font-size: 13px; letter-spacing: 0.06em; text-transform: uppercase; color: var(--text-dim); margin-bottom: 14px; }

.standings-mini { width: 100%; }
.standings-mini th {
  text-align: left;
  font-size: 12px;
  font-weight: 500;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--text-dim);
  padding: 10px 12px;
  border-bottom: 1px solid var(--line);
}
.standings-mini td { padding: 13px 12px; border-bottom: 1px solid var(--line); font-size: 15px; }
.standings-mini tbody tr:last-child td { border-bottom: 0; }
.standings-mini .col-num { text-align: right; }
.standings-mini .pts { font-weight: 600; }
.standings-mini .pos { width: 2em; color: var(--text-dim); font-weight: 600; }
.standings-mini tr.pos-1 { background: rgba(220,7,20,0.08); }
.standings-mini tr.pos-1 .pos { color: var(--red); }
.standings-mini tr.pos-1 td:first-child { position: relative; }
.standings-mini tr.pos-1 td:first-child::before {
  content: "";
  position: absolute;
  left: 0; top: 0; bottom: 0;
  width: 3px;
  background: var(--red);
}

.results { display: flex; flex-direction: column; gap: 4px; list-style: none; margin: 0; padding: 0; }
.result {
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  align-items: center;
  gap: 14px;
  padding: 14px 0;
  border-bottom: 1px solid var(--line);
}
.result:last-child { border-bottom: 0; }
.result .team { font-size: 15px; }
.result .home { text-align: right; }
.result .score {
  font-size: 24px;
  font-weight: 500;
  letter-spacing: -0.01em;
  white-space: nowrap;
  padding: 2px 12px;
  border-radius: 8px;
  background: var(--panel-2);
}

.news-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.news-card {
  background: var(--panel);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  overflow: hidden;
  display: flex;
  flex-direction: column;
  transition: border-color 120ms ease;
}
.news-card:hover { border-color: rgba(255,255,255,0.2); }
.news-card .media { border-radius: 0; }
.news-card .news-body { padding: 20px; display: flex; flex-direction: column; gap: 10px; flex: 1; }
.news-card h3 { font-size: 18px; font-weight: 500; line-height: 1.35; letter-spacing: -0.01em; }
.news-card .date { font-size: 13px; color: var(--text-dim); margin-top: auto; }

.clubs-row { display: grid; grid-template-columns: repeat(8, 1fr); gap: 16px; list-style: none; margin: 0; padding: 0; }
.club {
  background: var(--panel-2);
  border: 1px solid var(--line);
  filter: grayscale(100%);
  opacity: 0.68;
  transition: filter 120ms ease, opacity 120ms ease, border-color 120ms ease;
}
.club:hover, .club:focus-within { filter: grayscale(0%); opacity: 1; border-color: rgba(255,255,255,0.2); }
.club > img { object-fit: contain; padding: 14%; }
.crest {
  position: absolute;
  inset: 0;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 4px;
  background: radial-gradient(120% 120% at 50% 0%, rgba(220,7,20,0.18), transparent 60%), var(--panel-2);
}
.crest .mono { font-size: 22px; font-weight: 600; letter-spacing: 0.02em; color: var(--text); }
.crest .shield {
  width: 26px; height: 30px;
  border: 2px solid var(--line);
  border-radius: 4px 4px 14px 14px / 4px 4px 20px 20px;
}

.home-light {
  margin-top: 88px;
  background: var(--light-bg);
  color: #1b1b1f;
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
  padding-block: 72px;
}
.home-light + .site-footer { margin-top: 0; }
.home-light h2 { font-weight: 300; font-size: 30px; letter-spacing: -0.02em; }
.light-grid { display: grid; grid-template-columns: 1.4fr 1fr; gap: 56px; align-items: start; }
.light-grid > :only-child { grid-column: 1 / -1; }
.home-light .sub { font-size: 13px; letter-spacing: 0.06em; text-transform: uppercase; color: var(--light-dim); margin-bottom: 16px; }
.docs { display: flex; flex-direction: column; list-style: none; margin: 0; padding: 0; }
.doc { display: flex; align-items: center; gap: 18px; padding: 16px 0; border-top: 1px solid var(--light-line); }
.doc:last-child { border-bottom: 1px solid var(--light-line); }
.doc-type {
  flex: none;
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.04em;
  color: #fff;
  background: #1b1b1f;
  border-radius: 6px;
  padding: 6px 9px;
  min-width: 52px;
  text-align: center;
}
.doc .doc-info { flex: 1; min-width: 0; }
.doc-name { display: block; font-size: 16px; font-weight: 500; }
.doc .doc-meta { display: block; font-size: 13px; color: var(--light-dim); margin-top: 0; }
.btn-dl {
  flex: none;
  border-radius: 999px;
  border: 1px solid rgba(0,0,0,0.18);
  color: #1b1b1f;
  font-size: 14px;
  font-weight: 500;
  padding: 8px 18px;
  transition: border-color 120ms ease, background 120ms ease;
}
.btn-dl:hover { background: rgba(0,0,0,0.05); border-color: rgba(0,0,0,0.35); }
.contact-list .row { padding: 14px 0; border-top: 1px solid var(--light-line); }
.contact-list .row:first-of-type { border-top: 0; padding-top: 0; }
.contact-list dt { font-size: 12px; letter-spacing: 0.06em; text-transform: uppercase; color: var(--light-dim); margin-bottom: 4px; }
.contact-list dd { margin: 0; font-size: 17px; }
.contact-list a:hover { color: var(--red-dim); }

/* ===================== static page (Historiku, Futbolli i vajzave …) ===================== */
.milestones .row {
  display: grid;
  grid-template-columns: 140px 1fr;
  gap: 24px;
  align-items: baseline;
  padding: 22px 0;
  border-top: 1px solid var(--line);
}
.milestones .row:first-child { border-top: 0; padding-top: 0; }
.milestones .row:last-child { padding-bottom: 0; }
.milestones .year { font-size: 32px; font-weight: 300; letter-spacing: -0.02em; color: var(--accent); }
.milestones .event { font-size: 16px; color: var(--text); }

.content-grid { display: grid; grid-template-columns: 2fr 1fr; gap: 56px; align-items: start; }
.aside h2 {
  font-size: 13px;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--light-dim);
  margin-bottom: 8px;
  font-weight: 600;
}
.aside-row {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 12px;
  padding: 16px 0;
  border-top: 1px solid var(--light-line);
  font-size: 16px;
  color: var(--light-ink);
  transition: color 120ms ease;
}
.aside-row:last-child { border-bottom: 1px solid var(--light-line); }
.aside-row:hover { color: var(--red-dim); }
.aside-row .kind { flex: none; font-size: 12px; letter-spacing: 0.04em; color: var(--light-dim); }

/* ===================== news article ===================== */
.article-head { padding-top: 96px; }
.article-head .tag { margin-top: 20px; }
.article-headline { margin-top: 16px; font-size: 40px; font-weight: 300; letter-spacing: -0.02em; line-height: 1.1; max-width: 20ch; }
.headline-rule { width: 80px; height: 2px; background: var(--red); margin-top: 20px; }
.article-date { margin-top: 18px; font-size: 13px; color: var(--text-dim); }
.lead-figure { margin-top: 36px; }
.lead-figure figcaption { font-size: 13px; color: var(--text-dim); margin-top: 10px; }
.lead-figure .media > img { filter: grayscale(100%) contrast(1.06) brightness(0.96); }
.lead-figure .media::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(150deg, rgba(220,7,20,0.22), rgba(22,22,26,0.42));
  mix-blend-mode: multiply;
  pointer-events: none;
}
.page-article .light-band { margin-top: 48px; }
.article-summary { font-size: 19px; line-height: 1.6; color: #333; }
.share { margin-top: 2em; }
.btn-share {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  border-radius: 999px;
  font-size: 15px;
  font-weight: 500;
  padding: 12px 24px;
  border: 1px solid rgba(0,0,0,0.18);
  background: #1b1b1f;
  color: #fff;
  transition: background 120ms ease;
}
.prose a.btn-share { color: #fff; text-decoration: none; }
.btn-share:hover { background: #000; }
.btn-share .fb-glyph { font-weight: 700; font-size: 17px; line-height: 1; }
.related-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.related-panel {
  background: var(--panel);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 28px;
  display: flex;
  flex-direction: column;
  gap: 12px;
  transition: border-color 120ms ease;
}
.related-panel:hover { border-color: rgba(255,255,255,0.2); }
.related-panel h3 { font-size: 18px; font-weight: 600; line-height: 1.35; letter-spacing: -0.01em; }
.related-panel .date { font-size: 13px; color: var(--text-dim); margin-top: auto; }

/* ===================== organigrama ===================== */
.leaders { display: grid; grid-template-columns: repeat(2, 1fr); gap: 24px; }
.leader { display: grid; grid-template-columns: 160px 1fr; gap: 24px; align-items: start; }
.leader .media { width: 160px; }
.portrait-initials {
  position: absolute;
  inset: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  background: radial-gradient(120% 120% at 50% 0%, rgba(74,127,181,0.12), transparent 60%), var(--panel-2);
  font-size: 32px;
  font-weight: 300;
  letter-spacing: 0.02em;
  color: var(--text);
}
.leader-body { min-width: 0; }
.leader-body h3 { font-size: 26px; font-weight: 400; letter-spacing: -0.01em; line-height: 1.2; }
.leader-body .tag { margin-top: 12px; }
.leader-contact { margin-top: 18px; display: flex; flex-direction: column; gap: 8px; }
.leader-contact a { font-size: 16px; color: var(--text); overflow-wrap: anywhere; transition: color 120ms ease; }
.leader-contact a:hover { color: var(--accent); }
.leader-contact .label { font-size: 13px; color: var(--text-dim); margin-right: 8px; }
.committees .row {
  display: grid;
  grid-template-columns: 1fr 2fr;
  gap: 24px;
  padding: 22px 0;
  border-top: 1px solid var(--line);
  align-items: baseline;
}
.committees .row:first-child { border-top: 0; padding-top: 0; }
.committees .row:last-child { padding-bottom: 0; }
.committees .com-name { font-size: 18px; font-weight: 600; letter-spacing: -0.01em; }
.committees .com-members { font-size: 16px; color: var(--text); }
.committees .role { color: var(--text-dim); }

/* ===================== documents ===================== */
.featured {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 28px;
  flex-wrap: wrap;
  border-left: 2px solid var(--red);
}
.featured .doc-main { flex: 1; min-width: 0; }
.featured .eyebrow { font-size: 12px; letter-spacing: 0.06em; text-transform: uppercase; color: var(--text-dim); margin-bottom: 12px; }
.featured h2 { font-size: 26px; font-weight: 400; letter-spacing: -0.01em; line-height: 1.25; }
.featured .meta { margin-top: 10px; font-size: 13px; color: var(--text-dim); }
.featured .btn { flex: none; }
.cat { margin-top: 56px; }
.cat:first-child { margin-top: 0; }
.cat h2 { font-size: 30px; font-weight: 400; letter-spacing: -0.02em; margin-bottom: 20px; }
.doc-row { display: flex; align-items: center; gap: 20px; padding: 20px 0; border-top: 1px solid var(--line); }
.doc-row:first-child { border-top: 0; padding-top: 0; }
.doc-row:last-child { padding-bottom: 0; }
.doc-row .doc-info { flex: 1; min-width: 0; }
.doc-title { font-size: 18px; font-weight: 600; letter-spacing: -0.01em; }
.doc-meta { font-size: 13px; color: var(--text-dim); margin-top: 4px; }
.doc-actions { flex: none; display: flex; align-items: center; gap: 16px; }
.link-dl { color: var(--red); font-size: 14px; font-weight: 500; transition: color 120ms ease; }
.link-dl:hover { color: var(--red-dim); }

/* ===================== news list ===================== */
.lead { display: grid; grid-template-columns: 55% 45%; overflow: hidden; padding: 0; transition: border-color 120ms ease; }
.lead:hover { border-color: rgba(255,255,255,0.2); }
.lead .media { border-radius: 0; height: 100%; }
.lead .media--lead { aspect-ratio: auto; min-height: 280px; }
.lead--text { grid-template-columns: 1fr; }
.lead-body { padding: 36px; display: flex; flex-direction: column; align-items: flex-start; gap: 14px; justify-content: center; }
.lead-body h2 { font-size: 26px; font-weight: 400; letter-spacing: -0.01em; line-height: 1.25; }
.date { font-size: 13px; color: var(--text-dim); }
.lead-body .extract { font-size: 16px; color: var(--text-dim); max-width: 68ch; }
.page-news .news-grid { margin-top: 20px; }
.news-panel {
  background: var(--panel);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  overflow: hidden;
  display: flex;
  flex-direction: column;
  transition: border-color 120ms ease;
}
.news-panel:hover { border-color: rgba(255,255,255,0.2); }
.news-panel .media { border-radius: 0; }
.news-panel .body { padding: 28px; display: flex; flex-direction: column; gap: 10px; flex: 1; }
.news-panel h3 { font-size: 18px; font-weight: 600; line-height: 1.35; letter-spacing: -0.01em; }
.news-panel .extract {
  font-size: 15px;
  color: var(--text-dim);
  display: -webkit-box;
  -webkit-line-clamp: 1;
  -webkit-box-orient: vertical;
  overflow: hidden;
}
.news-panel .date { margin-top: auto; }
.pagination { margin-top: 48px; display: flex; gap: 10px; justify-content: center; flex-wrap: wrap; }
.pagination a {
  min-width: 44px;
  height: 44px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0 14px;
  border-radius: 999px;
  border: 1px solid var(--line);
  background: var(--panel);
  font-size: 15px;
  transition: border-color 120ms ease, background 120ms ease;
}
.pagination a:hover { border-color: rgba(255,255,255,0.22); background: var(--panel-2); }
.pagination [aria-current="page"] { background: var(--red); border-color: var(--red); color: #fff; font-weight: 600; }

/* ===================== competitions ===================== */
.comp-tabs { display: flex; flex-wrap: wrap; gap: 8px; margin-bottom: 32px; }
.comp-tab {
  display: inline-block;
  padding: 10px 20px;
  font-size: 14px;
  font-weight: 500;
  font-family: inherit;
  border-radius: 999px;
  background: var(--panel-2);
  border: 1px solid var(--line);
  color: var(--text-dim);
  cursor: pointer;
  transition: background 120ms ease, color 120ms ease, border-color 120ms ease;
}
.comp-tab:hover { color: var(--text); }
.comp-tab[aria-selected="true"] { background: var(--red); border-color: var(--red); color: #fff; }
.comp-section { margin-bottom: 88px; }
.comp-section:last-of-type { margin-bottom: 0; }
.section-heading { font-size: 30px; font-weight: 400; margin-bottom: 24px; }
.standings-wrapper { overflow-x: auto; -webkit-overflow-scrolling: touch; }
.standings { width: 100%; min-width: 800px; font-size: 14px; }
.standings th, .standings td { padding: 14px 12px; text-align: left; border-bottom: 1px solid var(--line); white-space: nowrap; }
.standings th { font-size: 12px; font-weight: 500; color: var(--text-dim); text-transform: uppercase; letter-spacing: 0.04em; }
.standings td { font-size: 16px; }
.standings .col-pos { width: 50px; text-align: center; }
.standings .col-team { min-width: 180px; position: sticky; left: 0; background: var(--panel); z-index: 1; }
.standings .col-num { width: 60px; text-align: center; }
.standings .col-pts { font-weight: 600; }
.standings tbody tr:last-child td { border-bottom: none; }
.standings .row-pos-1 { background: rgba(220,7,20,0.08); }
.standings .row-pos-1 .col-team { background: #2a1d21; }
.standings .row-pos-1 .pos-num { color: var(--red); font-weight: 600; }
.team-cell { display: flex; align-items: center; gap: 12px; }
.team-crest { width: 22px; height: 22px; border-radius: 4px; flex-shrink: 0; object-fit: contain; }
.team-crest.placeholder {
  display: flex;
  align-items: center;
  justify-content: center;
  background: var(--panel-2);
  font-size: 11px;
  font-weight: 600;
  color: var(--text-dim);
}
.missing-value { color: var(--text-dim); }
.match-list { display: flex; flex-direction: column; }
.match-row {
  display: grid;
  grid-template-columns: 140px 1fr;
  gap: 24px;
  padding: 18px 0;
  border-bottom: 1px solid var(--line);
  align-items: center;
}
.match-row:last-child { border-bottom: none; }
.match-meta { font-size: 13px; color: var(--text-dim); }
.match-meta .date, .match-meta .time { display: block; }
.match-content { text-align: center; }
.match-teams { display: flex; align-items: center; justify-content: center; gap: 16px; }
.match-team { display: flex; align-items: center; gap: 10px; font-size: 18px; }
.match-team.home { flex-direction: row-reverse; text-align: right; }
.match-vs { font-size: 14px; color: var(--text-dim); min-width: 30px; text-align: center; }
.match-score { font-size: 24px; font-weight: 600; min-width: 70px; text-align: center; }
.match-venue { font-size: 13px; color: var(--text-dim); text-align: center; margin-top: 8px; }
.update-stamp { font-size: 13px; color: var(--text-dim); margin-top: 48px; }
.empty-message { font-size: 17px; color: var(--text-dim); padding: 48px 28px; text-align: center; }

/* ===================== contact ===================== */
.contact-panel { margin-top: 48px; }
.contact-phone {
  display: inline-block;
  font-size: 40px;
  font-weight: 300;
  letter-spacing: -0.02em;
  line-height: 1.1;
  transition: color 120ms ease;
}
.contact-phone:hover { color: var(--red); }
.contact-email { display: block; width: fit-content; margin-top: 14px; font-size: 22px; color: var(--text); overflow-wrap: anywhere; transition: color 120ms ease; }
.contact-email:hover { color: var(--accent); }
.contact-meta { margin-top: 22px; font-size: 16px; color: var(--text-dim); line-height: 1.7; }
.contact-meta .line { display: block; }
.page-contact .block { margin-top: 48px; }
.map-figure figcaption { font-size: 13px; color: var(--text-dim); margin-top: 10px; }
.map-placeholder {
  position: absolute;
  inset: 0;
  background:
    linear-gradient(rgba(22,22,26,0.35), rgba(22,22,26,0.55)),
    repeating-linear-gradient(0deg, transparent 0 38px, rgba(255,255,255,0.04) 38px 39px),
    repeating-linear-gradient(90deg, transparent 0 38px, rgba(255,255,255,0.04) 38px 39px),
    var(--panel-2);
  display: flex;
  align-items: center;
  justify-content: center;
}
.map-pin { display: flex; flex-direction: column; align-items: center; gap: 10px; color: var(--text); text-align: center; padding: 0 20px; }
.map-pin .dot { width: 16px; height: 16px; border-radius: 50%; background: var(--red); box-shadow: 0 0 0 6px rgba(220,7,20,0.18); }
.map-pin .where { font-size: 15px; }
.map-pin .sub { font-size: 13px; color: var(--accent); }
a.map-link:hover .sub { text-decoration: underline; }
.form-panel { width: 60%; }
.form-row { display: flex; flex-direction: column; gap: 6px; }
.form-row + .form-row { margin-top: 18px; }
.form-row label { font-size: 13px; color: var(--text-dim); }
.form-row input,
.form-row textarea {
  background: var(--panel-2);
  border: 1px solid var(--line);
  border-radius: 8px;
  color: var(--text);
  font-family: inherit;
  font-size: 16px;
  padding: 12px 14px;
  transition: border-color 120ms ease;
}
.form-row input:hover,
.form-row textarea:hover { border-color: rgba(255,255,255,0.22); }
.form-row textarea { min-height: 120px; resize: vertical; }
.form-row.has-error input,
.form-row.has-error textarea { border-color: var(--red); }
.field-error { font-size: 13px; color: var(--red); margin-top: 2px; }
.form-trap { position: absolute; left: -10000px; width: 1px; height: 1px; overflow: hidden; }
.btn-submit {
  margin-top: 24px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 999px;
  font-size: 15px;
  font-weight: 500;
  font-family: inherit;
  padding: 12px 26px;
  border: 1px solid var(--red);
  background: var(--red);
  color: #fff;
  cursor: pointer;
  transition: background 120ms ease, border-color 120ms ease;
}
.btn-submit:hover { background: var(--red-dim); border-color: var(--red-dim); }
.form-success h3 { font-size: 22px; font-weight: 500; letter-spacing: -0.01em; }
.form-alert {
  margin-bottom: 20px;
  padding: 14px 16px;
  border: 1px solid var(--red);
  border-radius: 8px;
  background: rgba(220,7,20,0.08);
  color: var(--text);
  font-size: 15px;
}
.form-alert a { color: var(--red); white-space: nowrap; }
.form-alert a:hover { color: var(--red-dim); }

/* ===================== 404 ===================== */
.page-notfound { min-height: 100vh; display: flex; flex-direction: column; }
.page-notfound .site-footer { margin-top: 0; }
.main-area { flex: 1; display: flex; align-items: center; padding-block: 48px; }
.not-found-panel { width: 66.666%; }
.not-found-title { font-size: 56px; font-weight: 300; letter-spacing: -0.02em; line-height: 1.1; }
.not-found-desc { margin-top: 16px; font-size: 17px; color: var(--text-dim); }
.escape-links { margin-top: 32px; list-style: none; padding: 0; }
.escape-links li { border-top: 1px solid var(--line); }
.escape-links li:last-child { border-bottom: 1px solid var(--line); }
.escape-links a { display: block; padding: 14px 0; font-size: 18px; font-weight: 500; transition: color 120ms ease; }
.escape-links a:hover { color: var(--red); }
.not-found-contact { margin-top: 28px; font-size: 16px; color: var(--text-dim); }
.not-found-contact a { transition: color 120ms ease; }
.not-found-contact a:hover { color: var(--text); }

/* ===================== responsive ===================== */
@media (max-width: 1024px) {
  .clubs-row { grid-template-columns: repeat(4, 1fr); }
}

@media (max-width: 900px) {
  .nav-toggle { display: inline-flex; }
  .primary-nav {
    position: absolute;
    left: 0; right: 0; top: 100%;
    background: rgba(22,22,26,0.97);
    backdrop-filter: blur(14px);
    -webkit-backdrop-filter: blur(14px);
    border-bottom: 1px solid var(--line);
    display: none;
  }
  .primary-nav.is-open { display: block; }
  .primary-nav ul { flex-direction: column; align-items: stretch; gap: 0; padding: 8px var(--gutter) 16px; }
  .primary-nav a { padding: 12px 4px; border-bottom: 1px solid var(--line); }
  .primary-nav a[aria-current="page"] { border-bottom-color: var(--accent); }

  .page-head, .article-head { padding-top: 56px; }
  .page-title { font-size: 44px; }
  .article-headline { font-size: 32px; }

  .block { margin-top: 48px; }
  .light-band { margin-top: 48px; padding-block: 56px; }
  .site-footer { margin-top: 48px; }
  .footer-grid { grid-template-columns: 1fr; gap: 32px; }

  .media--hero { aspect-ratio: 4/3; }
  .hero-title { font-size: 48px; }
  .hero-inner { padding-bottom: 72px; }
  .comp-grid { grid-template-columns: 1fr; }
  .comp-standings { padding-right: 0; padding-bottom: 28px; }
  .comp-results { padding-left: 0; padding-top: 28px; border-left: 0; border-top: 1px solid var(--line); }
  .news-grid, .related-grid { grid-template-columns: 1fr; }
  .page-news .news-grid { grid-template-columns: repeat(2, 1fr); }
  .home-light { margin-top: 48px; }
  .light-grid { grid-template-columns: 1fr; gap: 40px; }

  .content-grid { grid-template-columns: 1fr; gap: 48px; }
  .leaders { grid-template-columns: 1fr; }
  .featured { align-items: flex-start; }
  .featured .btn { width: 100%; }
  .lead { grid-template-columns: 1fr; }
  .lead .media--lead { aspect-ratio: 16/9; min-height: 0; }
  .lead-body { padding: 28px; }

  .section-heading { font-size: 24px; }
  .comp-section { margin-bottom: 48px; }
  .match-row { grid-template-columns: 1fr; gap: 12px; }
  .match-meta { text-align: center; }
  .match-meta .date, .match-meta .time { display: inline; }
  .match-meta .time::before { content: " · "; }

  .contact-phone { font-size: 34px; }
  .form-panel { width: 100%; }
  .not-found-panel { width: 100%; }
  .not-found-title { font-size: 40px; }
}

@media (max-width: 600px) {
  .match-teams { flex-direction: column; gap: 8px; }
  .match-team, .match-team.home { flex-direction: row; text-align: left; }
  .match-vs, .match-score { min-width: auto; }
}

@media (max-width: 560px) {
  .clubs-row { grid-template-columns: repeat(3, 1fr); }
  .doc { flex-wrap: wrap; }
  .doc .btn-dl { margin-left: auto; }
  .doc-row { flex-wrap: wrap; }
  .doc-actions { width: 100%; justify-content: space-between; }
  .milestones .row { grid-template-columns: 1fr; gap: 4px; }
  .leader { grid-template-columns: 120px 1fr; gap: 18px; }
  .leader .media { width: 120px; }
  .committees .row { grid-template-columns: 1fr; gap: 6px; }
  .page-news .news-grid { grid-template-columns: 1fr; }
}

@media (max-width: 400px) {
  :root { --gutter: 16px; }
  .panel { padding: 20px; }
  .page-title { font-size: 38px; }
  .article-headline { font-size: 28px; }
  .section-head h2, .home-light h2, .cat h2 { font-size: 26px; }
  .hero-title { font-size: 40px; }
  .clubs-row { grid-template-columns: repeat(2, 1fr); }
  .result { gap: 8px; }
  .result .score { font-size: 20px; padding: 2px 8px; }
  .milestones .year { font-size: 28px; }
  .leader-body h3 { font-size: 22px; }
  .featured h2, .lead-body h2 { font-size: 22px; }
  .contact-phone { font-size: 30px; }
  .not-found-title { font-size: 34px; }
}

@media (prefers-reduced-motion: reduce) {
  * { transition: none !important; }
}
