/* ============================================================================
   Taraftarium24 — Editorial sports media design system
   Direction: navy header authority + Turkish-red accent + broadcaster-trust green
   References: NTV Spor + beIN Sports + Fotomac (Turkish football data canon)
   Anti-pattern: pirate sites with dark+gold gradients and "İZLE" CTAs
   ============================================================================ */

/* ----- Design tokens ----- */
:root {
  /* Surfaces */
  --bg: #ffffff;
  --bg-alt: #f5f7fa;
  --bg-zebra: #fafbfc;
  --header-bg: #1d2a4a;
  --header-bg-scroll: #16213c;

  /* Text */
  --text: #1d1d1d;
  --text-muted: #6b7280;
  --text-inverse: #ffffff;
  --text-on-dark: rgba(255, 255, 255, 0.92);
  --text-on-dark-muted: rgba(255, 255, 255, 0.66);

  /* Brand accents */
  --accent-red: #e63946;     /* Turkish flag red — links, active tabs, #1 rank */
  --accent-red-dim: #b8222d;
  --accent-green: #0a8754;   /* broadcaster-trust green — CTAs, "where to watch" */
  --accent-green-dim: #066642;

  /* Standings rank-zone pills */
  --zone-ucl: #e63946;       /* top 4 — Champions League */
  --zone-uel: #2563eb;       /* 5-6 — Europa League */
  --zone-mid: #6b7280;       /* mid table */
  --zone-relegation: #7f1d1d;/* bottom 3 */

  /* Form indicator dots */
  --form-w: #0a8754;
  --form-l: #e63946;
  --form-d: #9ca3af;

  /* Borders + shadows */
  --border: #e5e7eb;
  --border-strong: #d1d5db;
  --shadow-sm: 0 1px 2px rgba(15, 23, 42, 0.06);
  --shadow-md: 0 4px 12px rgba(15, 23, 42, 0.08);
  --shadow-card: 0 1px 3px rgba(15, 23, 42, 0.04), 0 4px 16px rgba(15, 23, 42, 0.06);

  /* Spacing scale (4px base) */
  --s-1: 4px;
  --s-2: 8px;
  --s-3: 12px;
  --s-4: 16px;
  --s-5: 24px;
  --s-6: 32px;
  --s-7: 48px;
  --s-8: 64px;

  /* Type */
  --font-sans: "Inter", "Source Sans 3", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
  --font-num: "Inter", "Source Sans 3", -apple-system, BlinkMacSystemFont, sans-serif;

  /* Layout */
  --container: 1200px;
  --container-narrow: 760px;
  --header-h: 64px;
  --header-h-scroll: 48px;
  --radius-sm: 4px;
  --radius-md: 8px;
  --radius-lg: 12px;
}

/* ----- Reset + base ----- */
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; }
body {
  margin: 0;
  font-family: var(--font-sans);
  font-size: 15px;
  line-height: 1.6;
  color: var(--text);
  background: var(--bg);
  font-feature-settings: "kern", "liga";
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

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

img, picture, svg { display: block; max-width: 100%; height: auto; }
button { font: inherit; cursor: pointer; border: 0; background: transparent; padding: 0; color: inherit; }

/* Tabular numerals for tables + score widgets */
.tabnum, .standings td, .fixture-time {
  font-variant-numeric: tabular-nums;
  font-feature-settings: "tnum";
}

/* ----- Typography ----- */
h1, h2, h3, h4 { font-weight: 700; line-height: 1.2; letter-spacing: -0.015em; margin: 0 0 var(--s-4); color: var(--text); }
h1 { font-size: 36px; letter-spacing: -0.02em; }
h2 { font-size: 26px; margin-top: var(--s-7); }
h3 { font-size: 20px; margin-top: var(--s-6); }
h4 { font-size: 16px; margin-top: var(--s-5); }
@media (max-width: 720px) {
  h1 { font-size: 28px; }
  h2 { font-size: 22px; }
  h3 { font-size: 18px; }
}

p { margin: 0 0 var(--s-4); }
p.lede { font-size: 18px; color: var(--text-muted); line-height: 1.55; max-width: 60ch; }

ul, ol { margin: 0 0 var(--s-4); padding-left: var(--s-5); }
li { margin: var(--s-1) 0; }

hr { border: 0; border-top: 1px solid var(--border); margin: var(--s-6) 0; }

blockquote {
  margin: var(--s-5) 0;
  padding: var(--s-3) var(--s-5);
  border-left: 3px solid var(--accent-red);
  background: var(--bg-alt);
  color: var(--text);
  font-size: 15px;
}

code {
  font-family: ui-monospace, "SF Mono", "Cascadia Mono", monospace;
  font-size: 0.9em;
  background: var(--bg-alt);
  padding: 2px 6px;
  border-radius: var(--radius-sm);
}

/* ----- Layout primitives ----- */
.container { max-width: var(--container); margin: 0 auto; padding: 0 var(--s-5); }
.container-narrow { max-width: var(--container-narrow); margin: 0 auto; padding: 0 var(--s-5); }
@media (max-width: 720px) {
  .container, .container-narrow { padding: 0 var(--s-4); }
}

/* ----- Header ----- */
.site-header {
  background: var(--header-bg);
  color: var(--text-on-dark);
  position: sticky;
  top: 0;
  z-index: 100;
  height: var(--header-h);
  display: flex;
  align-items: center;
  border-bottom: 3px solid var(--accent-red);
  transition: height 0.18s ease, background 0.18s ease;
}
.site-header.scrolled { height: var(--header-h-scroll); background: var(--header-bg-scroll); }
.site-header .container { display: flex; align-items: center; gap: var(--s-5); width: 100%; }

.site-logo {
  font-size: 18px;
  font-weight: 800;
  letter-spacing: -0.01em;
  color: var(--text-inverse);
  text-decoration: none;
  white-space: nowrap;
}
.site-logo:hover { text-decoration: none; color: var(--text-inverse); }
.site-logo .logo-mark {
  display: inline-block;
  width: 8px;
  height: 18px;
  background: var(--accent-red);
  margin-right: var(--s-2);
  vertical-align: -3px;
}

.site-nav { display: flex; gap: var(--s-4); margin-left: auto; align-items: center; }
.site-nav a {
  color: var(--text-on-dark);
  font-size: 14px;
  font-weight: 500;
  padding: var(--s-2) var(--s-3);
  border-radius: var(--radius-sm);
  text-decoration: none;
  transition: color 0.15s, background 0.15s;
}
.site-nav a:hover { color: var(--text-inverse); background: rgba(255, 255, 255, 0.08); text-decoration: none; }
.site-nav a.active { color: var(--accent-red); }

.nav-toggle {
  display: none;
  width: 40px;
  height: 40px;
  margin-left: auto;
  border-radius: var(--radius-sm);
  align-items: center;
  justify-content: center;
}
.nav-toggle:hover { background: rgba(255, 255, 255, 0.08); }
.nav-toggle span { display: block; width: 22px; height: 2px; background: var(--text-inverse); margin: 4px 0; transition: transform 0.18s; }

@media (max-width: 860px) {
  .nav-toggle { display: flex; flex-direction: column; }
  .site-nav {
    display: none;
    position: absolute;
    top: var(--header-h);
    right: 0;
    left: 0;
    background: var(--header-bg);
    flex-direction: column;
    gap: 0;
    padding: var(--s-3) 0;
    margin-left: 0;
    border-bottom: 3px solid var(--accent-red);
  }
  .site-nav.open { display: flex; }
  .site-nav a { padding: var(--s-3) var(--s-5); border-radius: 0; width: 100%; min-height: 44px; display: flex; align-items: center; }
}

/* ----- Legal disclaimer banner (overrides shared partial styling) ----- */
.legal-disclaimer {
  background: #fff8f0;
  border-bottom: 1px solid #f5d7c0;
  padding: var(--s-3) 0;
}
.disclaimer-content {
  max-width: var(--container);
  margin: 0 auto;
  padding: 0 var(--s-5);
  display: flex;
  align-items: center;
  gap: var(--s-3);
  font-size: 13px;
  color: #7c4a16;
}
.disclaimer-content::before {
  content: "i";
  flex-shrink: 0;
  width: 20px;
  height: 20px;
  border-radius: 50%;
  background: var(--accent-red);
  color: #fff;
  font-style: italic;
  font-weight: 700;
  font-size: 12px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
}
.disclaimer-text { flex: 1; margin: 0; line-height: 1.5; text-align: left; }
.disclaimer-text strong { color: var(--text); }
.disclaimer-text a { color: var(--accent-red-dim); text-decoration: underline; }
.disclaimer-dismiss {
  flex-shrink: 0;
  width: 28px;
  height: 28px;
  border-radius: 50%;
  border: 1px solid #d4b89a;
  color: #7c4a16;
  font-size: 18px;
  line-height: 1;
  background: transparent;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  opacity: 0.7;
  transition: opacity 0.15s;
}
.disclaimer-dismiss:hover { opacity: 1; }
@media (max-width: 720px) {
  .disclaimer-content { gap: var(--s-2); }
  .disclaimer-content::before { width: 18px; height: 18px; font-size: 11px; }
  .disclaimer-text { font-size: 12px; line-height: 1.45; }
}

/* ----- Breadcrumb ----- */
.breadcrumb {
  font-size: 13px;
  color: var(--text-muted);
  padding: var(--s-3) 0;
  border-bottom: 1px solid var(--border);
}
.breadcrumb ol { display: flex; flex-wrap: wrap; gap: var(--s-2); list-style: none; padding: 0; margin: 0; }
.breadcrumb li { margin: 0; display: flex; align-items: center; gap: var(--s-2); }
.breadcrumb li:not(:last-child)::after { content: "›"; color: var(--text-muted); opacity: 0.6; }
.breadcrumb a { color: var(--text-muted); text-decoration: none; }
.breadcrumb a:hover { color: var(--accent-red); text-decoration: underline; }
.breadcrumb li:last-child { color: var(--text); font-weight: 500; }

/* ----- Sub-tab pill row (under breadcrumb on data pages) ----- */
.sub-tabs {
  display: flex;
  gap: var(--s-1);
  overflow-x: auto;
  padding: var(--s-3) 0;
  border-bottom: 1px solid var(--border);
  scrollbar-width: none;
}
.sub-tabs::-webkit-scrollbar { display: none; }
.sub-tabs a {
  flex-shrink: 0;
  padding: var(--s-2) var(--s-3);
  font-size: 13px;
  font-weight: 600;
  color: var(--text-muted);
  text-decoration: none;
  border-radius: var(--radius-sm);
  border-bottom: 2px solid transparent;
  margin-bottom: -1px;
  transition: color 0.15s, border-color 0.15s;
}
.sub-tabs a:hover { color: var(--text); text-decoration: none; }
.sub-tabs a.active { color: var(--accent-red); border-bottom-color: var(--accent-red); }

/* ----- Article / single page ----- */
.article-page {
  padding: var(--s-6) 0 var(--s-7);
}

/* Hero image (top of inner pages) — responsive picture, gentle rounded corners,
   subtle navy bottom border to anchor with the design palette. */
.article-hero {
  margin: 0 0 var(--s-6);
  border-radius: var(--radius-lg);
  overflow: hidden;
  background: var(--bg-alt);
  aspect-ratio: 1200 / 630;
  position: relative;
  box-shadow: var(--shadow-card);
}
.article-hero img,
.article-hero picture {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.article-hero::after {
  content: "";
  position: absolute;
  inset: auto 0 0 0;
  height: 4px;
  background: linear-gradient(90deg, var(--accent-red) 0%, var(--accent-red) 60%, var(--header-bg) 60%, var(--header-bg) 100%);
}
@media (max-width: 720px) {
  .article-hero { border-radius: var(--radius-md); margin-bottom: var(--s-4); }
}
.article-page .article-meta {
  font-size: 13px;
  color: var(--text-muted);
  display: flex;
  gap: var(--s-3);
  margin-bottom: var(--s-3);
  align-items: center;
  flex-wrap: wrap;
}
.article-page .article-meta time { font-variant-numeric: tabular-nums; }
.article-page .article-meta .author { font-weight: 600; color: var(--text); }
.article-page .article-subtitle {
  font-size: 18px;
  color: var(--text-muted);
  line-height: 1.55;
  max-width: 60ch;
  margin: 0 0 var(--s-5);
}
.article-page .content {
  max-width: 720px;
}
.article-page .content > * + * { margin-top: var(--s-4); }
.article-page .content h2 { margin-top: var(--s-7); padding-top: var(--s-2); border-top: 1px solid var(--border); }
.article-page .content h3 { margin-top: var(--s-6); }
.article-page .content table {
  border-collapse: collapse;
  width: 100%;
  margin: var(--s-4) 0;
  font-size: 14px;
}
.article-page .content th, .article-page .content td {
  border-bottom: 1px solid var(--border);
  padding: var(--s-3);
  text-align: left;
}
.article-page .content th {
  background: var(--bg-alt);
  font-weight: 600;
  font-size: 13px;
}

/* ----- Hero band (homepage) ----- */
.hero-band {
  padding: var(--s-6) 0;
  background: var(--bg-alt);
  border-bottom: 1px solid var(--border);
}
.hero-band h1 { margin: 0 0 var(--s-3); }
.hero-band .lede { margin: 0; max-width: 60ch; font-size: 17px; color: var(--text-muted); }

/* ----- Two-column homepage layout (60/40) ----- */
.split {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: var(--s-6);
  padding: var(--s-6) 0;
}
.split > .main { min-width: 0; }
.split > .aside { min-width: 0; }
@media (min-width: 1024px) {
  .split { grid-template-columns: 3fr 2fr; }
}
@media (max-width: 860px) {
  .split { grid-template-columns: 1fr; gap: var(--s-5); }
}

.section-title {
  font-size: 14px;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--text-muted);
  font-weight: 700;
  margin: 0 0 var(--s-4);
  padding-bottom: var(--s-2);
  border-bottom: 2px solid var(--text);
  display: flex;
  align-items: center;
  justify-content: space-between;
}
.section-title a {
  font-size: 12px;
  font-weight: 600;
  color: var(--accent-red);
  text-transform: none;
  letter-spacing: 0;
}

/* ----- Standings table (signature component) ----- */
.standings { width: 100%; border-collapse: collapse; font-size: 14px; background: var(--bg); }
.standings thead th {
  background: var(--header-bg);
  color: var(--text-on-dark);
  font-weight: 600;
  font-size: 11px;
  text-transform: uppercase;
  letter-spacing: 0.04em;
  padding: var(--s-2) var(--s-2);
  text-align: center;
  position: sticky;
  top: var(--header-h);
  z-index: 5;
}
.standings thead th.col-team { text-align: left; padding-left: var(--s-3); }
.standings tbody tr {
  border-bottom: 1px solid var(--border);
  transition: background 0.12s;
}
.standings tbody tr:hover { background: var(--bg-alt); }
.standings td { padding: var(--s-2) var(--s-2); text-align: center; vertical-align: middle; }
.standings td.col-rank { width: 36px; padding-left: var(--s-3); }
.standings td.col-team { text-align: left; min-width: 150px; padding-left: 0; }
.standings td.col-pts { font-weight: 700; }
.standings td.col-form { padding-right: var(--s-3); }
.standings .team-link {
  display: inline-flex;
  align-items: center;
  gap: var(--s-2);
  color: var(--text);
  text-decoration: none;
  font-weight: 500;
}
.standings .team-link:hover { color: var(--accent-red); text-decoration: none; }
.standings .team-crest {
  width: 20px;
  height: 20px;
  flex-shrink: 0;
  border-radius: 2px;
  background: var(--bg-alt);
  display: inline-block;
}

/* Rank pills — by competition zone */
.rank-pill {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 22px;
  height: 22px;
  border-radius: 50%;
  font-size: 12px;
  font-weight: 700;
  color: #fff;
  background: var(--zone-mid);
  font-variant-numeric: tabular-nums;
}
.rank-pill.zone-ucl { background: var(--zone-ucl); }
.rank-pill.zone-uel { background: var(--zone-uel); }
.rank-pill.zone-relegation { background: var(--zone-relegation); }
.rank-pill.zone-mid { background: var(--zone-mid); color: #fff; }

/* Form dots row */
.form-dots { display: inline-flex; gap: 3px; }
.form-dots .dot {
  width: 10px;
  height: 10px;
  border-radius: 50%;
  display: inline-block;
  background: var(--form-d);
}
.form-dots .dot.w { background: var(--form-w); }
.form-dots .dot.l { background: var(--form-l); }

/* Mobile: collapse standings to rank/team/pts only */
@media (max-width: 720px) {
  .standings .col-o, .standings .col-g, .standings .col-b, .standings .col-m,
  .standings .col-a, .standings .col-y, .standings .col-av { display: none; }
  .standings thead th { font-size: 10px; }
}

/* Mini standings (homepage aside) */
.standings-mini { width: 100%; border-collapse: collapse; font-size: 14px; }
.standings-mini td { padding: var(--s-2); border-bottom: 1px solid var(--border); }
.standings-mini td.col-rank { width: 32px; }
.standings-mini td.col-pts { text-align: right; font-weight: 700; width: 36px; }
.standings-mini .team-link { display: inline-flex; align-items: center; gap: var(--s-2); color: var(--text); text-decoration: none; font-weight: 500; }
.standings-mini .team-link:hover { color: var(--accent-red); }

/* ----- Fixture cards (homepage main) ----- */
.fixture-grid {
  display: grid;
  gap: var(--s-3);
  grid-template-columns: 1fr;
}
@media (min-width: 540px) { .fixture-grid { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 1024px) { .fixture-grid { grid-template-columns: 1fr; } }

.fixture-card {
  background: var(--bg);
  border: 1px solid var(--border);
  border-radius: var(--radius-md);
  padding: var(--s-3) var(--s-4);
  display: flex;
  align-items: center;
  gap: var(--s-3);
  transition: border-color 0.15s, transform 0.15s, box-shadow 0.15s;
}
.fixture-card:hover { border-color: var(--accent-red); box-shadow: var(--shadow-sm); transform: translateY(-1px); }
.fixture-card .fixture-time {
  font-weight: 700;
  font-size: 13px;
  color: var(--text);
  min-width: 64px;
  display: flex;
  flex-direction: column;
  align-items: center;
  border-right: 1px solid var(--border);
  padding-right: var(--s-3);
}
.fixture-card .fixture-time .day { font-size: 11px; color: var(--text-muted); text-transform: uppercase; letter-spacing: 0.04em; font-weight: 600; }
.fixture-card .teams { flex: 1; display: flex; flex-direction: column; gap: 4px; min-width: 0; }
.fixture-card .team { display: flex; align-items: center; gap: var(--s-2); font-weight: 500; font-size: 14px; }
.fixture-card .team .team-crest { width: 18px; height: 18px; flex-shrink: 0; }
.fixture-card .broadcaster {
  font-size: 12px;
  font-weight: 600;
  color: var(--accent-green);
  white-space: nowrap;
  background: rgba(10, 135, 84, 0.08);
  padding: 4px 8px;
  border-radius: var(--radius-sm);
}

/* ----- Broadcaster guide cards ----- */
.broadcaster-grid {
  display: grid;
  gap: var(--s-4);
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  margin: var(--s-4) 0 var(--s-6);
}
.broadcaster-card {
  background: var(--bg);
  border: 1px solid var(--border);
  border-radius: var(--radius-md);
  padding: var(--s-5);
  display: flex;
  flex-direction: column;
  gap: var(--s-3);
  transition: border-color 0.15s, box-shadow 0.15s, transform 0.15s;
}
.broadcaster-card:hover { border-color: var(--accent-green); box-shadow: var(--shadow-sm); transform: translateY(-1px); }
.broadcaster-card .name {
  font-size: 16px;
  font-weight: 700;
  color: var(--text);
  margin: 0;
}
.broadcaster-card .tagline {
  font-size: 13px;
  color: var(--text-muted);
  margin: 0;
  line-height: 1.5;
}
.broadcaster-card .carries {
  font-size: 12px;
  color: var(--text);
  margin: 0;
  padding: 0;
  list-style: none;
}
.broadcaster-card .carries li {
  padding: 4px 0;
  border-top: 1px dashed var(--border);
  margin: 0;
  display: flex;
  justify-content: space-between;
  gap: var(--s-2);
}
.broadcaster-card .carries .label { color: var(--text-muted); }
.broadcaster-card .carries .value { font-weight: 600; color: var(--text); }
.broadcaster-card .cta {
  margin-top: auto;
  padding-top: var(--s-3);
  font-size: 13px;
  font-weight: 600;
  color: var(--accent-green);
  text-decoration: none;
}
.broadcaster-card .cta:hover { color: var(--accent-green-dim); text-decoration: underline; }

/* ----- News rail (latest haberler) ----- */
.news-rail { padding: var(--s-6) 0; background: var(--bg-alt); border-top: 1px solid var(--border); }
.news-rail h2 { margin-top: 0; }
.news-list {
  display: grid;
  gap: var(--s-4);
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  list-style: none;
  padding: 0;
  margin: 0;
}
.news-list li { margin: 0; }
.news-card {
  display: flex;
  flex-direction: column;
  gap: var(--s-2);
  padding: var(--s-4);
  background: var(--bg);
  border: 1px solid var(--border);
  border-radius: var(--radius-md);
  height: 100%;
  text-decoration: none;
  transition: border-color 0.15s, transform 0.15s, box-shadow 0.15s;
}
.news-card:hover { border-color: var(--accent-red); box-shadow: var(--shadow-sm); transform: translateY(-1px); text-decoration: none; }
.news-card .news-title {
  font-size: 16px;
  font-weight: 700;
  color: var(--text);
  line-height: 1.35;
  margin: 0;
}
.news-card .news-desc {
  font-size: 13px;
  color: var(--text-muted);
  line-height: 1.5;
  margin: 0;
  display: -webkit-box;
  -webkit-line-clamp: 3;
  -webkit-box-orient: vertical;
  overflow: hidden;
}
.news-card .news-meta {
  font-size: 12px;
  color: var(--text-muted);
  font-variant-numeric: tabular-nums;
}

/* ----- Section list (list.html — broadcaster, team, news indexes) ----- */
.section-list {
  display: grid;
  gap: var(--s-3);
  list-style: none;
  padding: 0;
  margin: var(--s-4) 0;
}
.section-list li { margin: 0; }
.section-list a {
  display: block;
  padding: var(--s-3) var(--s-4);
  border: 1px solid var(--border);
  border-radius: var(--radius-md);
  background: var(--bg);
  color: var(--text);
  text-decoration: none;
  font-weight: 500;
  transition: border-color 0.15s, transform 0.15s;
}
.section-list a:hover {
  border-color: var(--accent-red);
  transform: translateY(-1px);
  text-decoration: none;
}
.section-list .item-title { font-weight: 700; font-size: 16px; margin: 0 0 4px; }
.section-list .item-desc { font-size: 13px; color: var(--text-muted); margin: 0; }

/* ----- Soccer-widget container -----
   The widget is a Lit web component with its own Shadow DOM styling — we can't
   reach inside it. Just give it breathing room and a subtle frame so it feels
   "of" the page rather than a foreign embed. No border (the widget already has
   its own card) — just spacing + min-height to prevent layout shift while the
   web component boots. */
soccer-widget {
  display: block;
  margin: var(--s-4) 0;
  min-height: 320px;
  border-radius: var(--radius-md);
  overflow: hidden;
}
/* While the widget is loading or returns no fixtures, keep the container empty
   instead of showing a misleading "0px" collapse. */
soccer-widget:not(:defined) {
  display: block;
  background: var(--bg-alt);
  min-height: 320px;
  border-radius: var(--radius-md);
  position: relative;
}
soccer-widget:not(:defined)::before {
  content: "Maçlar yükleniyor…";
  position: absolute;
  inset: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--text-muted);
  font-size: 14px;
}
.soccer-widget-fallback {
  padding: var(--s-4);
  font-size: 14px;
}
.soccer-widget-fallback h3 { margin: 0 0 var(--s-3); font-size: 14px; }
.soccer-widget-fallback ul { list-style: none; padding: 0; margin: 0; }
.soccer-widget-fallback .fixture { display: flex; gap: var(--s-3); padding: var(--s-2) 0; border-bottom: 1px solid var(--border); font-size: 13px; }
.soccer-widget-fallback .fixture:last-child { border-bottom: 0; }
.soccer-widget-fallback time { font-variant-numeric: tabular-nums; color: var(--text-muted); }
.soccer-widget-fallback .league { color: var(--text-muted); margin-left: auto; }

/* ----- Footer ----- */
.site-footer {
  background: var(--header-bg);
  color: var(--text-on-dark);
  padding: var(--s-6) 0 var(--s-5);
  margin-top: var(--s-7);
  font-size: 14px;
}
.site-footer .footer-grid {
  display: grid;
  gap: var(--s-5);
  grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
  margin-bottom: var(--s-5);
}
.site-footer h4 {
  color: var(--text-inverse);
  font-size: 12px;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  margin: 0 0 var(--s-3);
}
.site-footer ul { list-style: none; padding: 0; margin: 0; }
.site-footer li { margin: var(--s-2) 0; }
.site-footer a { color: var(--text-on-dark-muted); font-size: 13px; text-decoration: none; transition: color 0.15s; }
.site-footer a:hover { color: var(--text-inverse); text-decoration: none; }
.site-footer .footer-bottom {
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  padding-top: var(--s-4);
  font-size: 12px;
  color: var(--text-on-dark-muted);
  display: flex;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: var(--s-3);
}
.site-footer .footer-bottom .pledge {
  font-size: 11px;
  background: rgba(10, 135, 84, 0.18);
  color: #6ee7b7;
  padding: 4px 10px;
  border-radius: var(--radius-sm);
  font-weight: 600;
  letter-spacing: 0.02em;
}

/* ----- Related pages (cross-link aside above FAQ) ----- */
.related-pages {
  border-top: 1px solid var(--border);
  padding-top: var(--s-5);
  margin-top: var(--s-6);
}
.related-pages h2 { margin: 0 0 var(--s-4); font-size: 22px; }
.related-list {
  list-style: none;
  padding: 0;
  margin: 0;
  display: grid;
  gap: var(--s-3);
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
}
.related-card {
  position: relative;
  background: var(--bg);
  border: 1px solid var(--border);
  border-radius: var(--radius-md);
  padding: var(--s-3) var(--s-4);
  transition: border-color 0.15s, transform 0.15s, box-shadow 0.15s;
}
.related-card:hover {
  border-color: var(--accent-red);
  transform: translateY(-1px);
  box-shadow: var(--shadow-sm);
}
.related-kind {
  display: inline-block;
  font-size: 10px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--text-muted);
  background: var(--bg-alt);
  padding: 2px 6px;
  border-radius: var(--radius-sm);
  margin-bottom: var(--s-2);
}
.related-card--yayıncı .related-kind { color: var(--accent-green); background: rgba(10, 135, 84, 0.1); }
.related-card--takım   .related-kind { color: var(--accent-red);   background: rgba(230, 57, 70, 0.1); }
.related-card--haber   .related-kind { color: #5a4a16;             background: #fff8f0; }
.related-card--yarışma .related-kind { color: var(--accent-red);   background: rgba(230, 57, 70, 0.1); }
.related-link {
  display: block;
  color: var(--text);
  text-decoration: none;
}
.related-link:hover { text-decoration: none; }
.related-title {
  display: block;
  font-weight: 700;
  font-size: 15px;
  line-height: 1.35;
  color: var(--text);
  margin-bottom: 4px;
}
.related-card:hover .related-title { color: var(--accent-red); }
.related-label {
  display: block;
  font-size: 13px;
  color: var(--text-muted);
  line-height: 1.45;
}

/* ----- FAQ block (used at end of single pages) ----- */
.faq-block {
  border-top: 1px solid var(--border);
  padding-top: var(--s-5);
  margin-top: var(--s-6);
}
.faq-block h2 { margin-top: 0; }
.faq-block details {
  border-bottom: 1px solid var(--border);
  padding: var(--s-3) 0;
}
.faq-block details summary {
  cursor: pointer;
  font-weight: 600;
  font-size: 15px;
  color: var(--text);
  padding: var(--s-2) 0;
  list-style: none;
  display: flex;
  justify-content: space-between;
  align-items: center;
}
.faq-block details summary::-webkit-details-marker { display: none; }
.faq-block details summary::after {
  content: "+";
  color: var(--text-muted);
  font-size: 20px;
  font-weight: 400;
  transition: transform 0.2s;
}
.faq-block details[open] summary::after { content: "−"; }
.faq-block details p { padding: 0 0 var(--s-3); margin: 0; color: var(--text-muted); font-size: 14px; line-height: 1.55; }

/* ----- Touch targets ----- */
@media (max-width: 720px) {
  a, button { min-height: 44px; }
  .site-nav a, .sub-tabs a, .breadcrumb a { min-height: 44px; display: inline-flex; align-items: center; }
}

/* ----- Print ----- */
@media print {
  .site-header, .site-footer, .legal-disclaimer, soccer-widget, .nav-toggle { display: none !important; }
  body { color: #000; background: #fff; }
  a { color: inherit; text-decoration: none; }
}
