/* Taraftar Haber · temel ve sayfa düzeni */

*, *::before, *::after { box-sizing: border-box; }
[hidden] { display: none !important; }
html { -webkit-text-size-adjust: 100%; }
body {
  margin: 0;
  font-family: var(--font);
  font-size: var(--fs-base);
  line-height: 1.5;
  color: var(--ink);
  background: var(--bg);
  -webkit-font-smoothing: antialiased;
  font-variant-numeric: tabular-nums; /* scores, minutes and tables line up without a monospace face */
}
img { display: block; max-width: 100%; height: auto; }
a { color: inherit; text-decoration: none; }
a:hover { color: var(--primary); }
h1, h2, h3, h4, p, ul, ol, figure { margin: 0; }
ul, ol { padding: 0; list-style: none; }
button { font: inherit; color: inherit; background: none; border: 0; padding: 0; cursor: pointer; }
:focus-visible { outline: 2px solid var(--primary); outline-offset: 2px; }

.wrap { max-width: var(--wrap); margin: 0 auto; padding: 0 var(--gutter); }
.sr-only { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }

/* Sayfa iskeleti: ana sütun + sağ kolon */
.layout {
  display: grid;
  gap: var(--s-6);
  grid-template-columns: minmax(0, 1fr);
  padding-block: var(--s-6) var(--s-7);
}
@media (min-width: 1024px) {
  .layout { grid-template-columns: minmax(0, 1fr) 340px; gap: var(--s-6); }
}
.main > * + * { margin-top: var(--s-7); }
.rail > * + * { margin-top: var(--s-6); }

/* Bölüm başlığı */
.section-head {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: var(--s-3);
  padding-bottom: var(--s-2);
  margin-bottom: var(--s-4);
  border-bottom: 3px solid var(--ink);
}
.section-head h2 {
  font-size: var(--fs-lg);
  font-weight: 800;
  letter-spacing: -0.01em; /* kept: negative tracking tightens large display type; not a label */
  line-height: 1.2;
}
.section-head h2 .dot {
  display: inline-block;
  width: 10px; height: 10px;
  margin-right: 8px;
  border-radius: 2px;
  background: var(--primary);
  vertical-align: 1px;
}
/* Başlık yanındaki bağlantılar (Maç merkezi, Tümü, …) bağlantı olduğu belli olsun: marka rengi + ok (2026-10-19 toplantısı) */
.section-head a {
  font-size: var(--fs-sm);
  font-weight: 700;
  color: var(--primary);
  white-space: nowrap;
}
.section-head a::after { content: " →"; }
.section-head a:hover { text-decoration: underline; text-underline-offset: 3px; }
/* Başlığın kendisi bağlantıysa (ana sayfa bloğu kategorinin haber listesine gider) başlık gibi durur. */
.section-head h2 a { font-size: inherit; font-weight: inherit; color: inherit; white-space: inherit; }
.section-head h2 a::after { content: none; }
.section-head h2 a:hover { color: var(--primary); text-decoration: none; }
/* Haber bloklarının altındaki "Tüm haberler" ve branş sayfasının son haberler listesi */
.tum-haberler { margin-top: var(--s-4); text-align: right; }
.tum-haberler a { font-size: var(--fs-sm); font-weight: 700; color: var(--primary); }
.tum-haberler a::after { content: " →"; }
.tum-haberler a:hover { text-decoration: underline; text-underline-offset: 3px; }

.grid-2 { display: grid; gap: var(--s-6); grid-template-columns: minmax(0, 1fr); }
.grid-3 { display: grid; gap: var(--s-4); grid-template-columns: minmax(0, 1fr); }
.grid-4 { display: grid; gap: var(--s-4); grid-template-columns: repeat(2, minmax(0, 1fr)); }
@media (min-width: 640px) {
  .grid-3 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (min-width: 768px) {
  .grid-2 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .grid-3 { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .grid-4 { grid-template-columns: repeat(4, minmax(0, 1fr)); }
}
