/* Haberce — ortak stil dosyası (ana sayfa + haber sayfası) */

:root {
  --bg: #F4F3EF;
  --ink: #1B1B19;
  --ink-soft: #33322F;
  --muted: #5C5B56;
  --rule: #D6D4CC;
  --rule-strong: #1B1B19;
  --panel: #EBE8E0;
  --accent: #8E2A1F;

  --serif: 'Source Serif 4', Georgia, 'Times New Roman', serif;
  --sans: 'Public Sans', 'Helvetica Neue', Arial, sans-serif;
  --measure: 760px;
}

@media (prefers-color-scheme: dark) {
  :root {
    --bg: #161614;
    --ink: #ECEAE3;
    --ink-soft: #CFCDC6;
    --muted: #A19F97;
    --rule: #34332F;
    --rule-strong: #ECEAE3;
    --panel: #22211E;
    --accent: #E58A7C;
  }
}

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

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

body {
  margin: 0;
  background: var(--bg);
  color: var(--ink);
  font-family: var(--sans);
  font-size: 16px;
  line-height: 1.55;
  -webkit-font-smoothing: antialiased;
}

a { color: inherit; text-decoration: none; }
a:hover { color: var(--accent); }
a:focus-visible {
  outline: 2px solid var(--accent);
  outline-offset: 3px;
  border-radius: 2px;
}

.skip {
  position: absolute;
  left: -9999px;
}
.skip:focus {
  left: 16px;
  top: 16px;
  z-index: 10;
  padding: 8px 12px;
  background: var(--ink);
  color: var(--bg);
}

.wrap {
  max-width: var(--measure);
  margin: 0 auto;
  padding: 0 24px;
}

.kicker {
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.06em;
  text-transform: uppercase;
}

/* ---------- Ana sayfa: başlık ---------- */

.masthead {
  padding: 48px 0 20px;
  border-bottom: 2px solid var(--rule-strong);
}

.masthead-top {
  display: flex;
  justify-content: space-between;
  align-items: baseline;
  flex-wrap: wrap;
  gap: 16px;
}

.logo {
  margin: 0;
  font-family: var(--serif);
  font-weight: 700;
  font-size: 52px;
  line-height: 1;
  letter-spacing: -0.02em;
}

.masthead-meta {
  font-size: 13px;
  color: var(--muted);
}

.nav {
  display: flex;
  flex-wrap: wrap;
  gap: 4px;
  margin-top: 14px;
  font-size: 14px;
  font-weight: 500;
}

.nav a {
  padding: 10px 12px;
  color: var(--muted);
  border-bottom: 2px solid transparent;
}
.nav a:hover { color: var(--ink); }
.nav a[aria-current="page"] {
  color: var(--ink);
  border-bottom-color: var(--ink);
}

.notice {
  padding: 16px 0;
  border-bottom: 1px solid var(--rule);
  font-size: 14px;
  color: var(--muted);
}
.notice strong { color: var(--ink); font-weight: 600; }

/* ---------- Ana sayfa: olay listesi ---------- */

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

.item {
  position: relative;
  display: grid;
  grid-template-columns: 64px minmax(0, 1fr);
  gap: 20px;
  padding: 24px 0;
  border-bottom: 1px solid var(--rule);
}

.item-time {
  padding-top: 5px;
  font-size: 13px;
  color: var(--muted);
  font-variant-numeric: tabular-nums;
}

.item-body {
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.item-title {
  margin: 0;
  font-family: var(--serif);
  font-weight: 600;
  font-size: 23px;
  line-height: 1.25;
  text-wrap: pretty;
}

/* Satırın tamamı tıklanabilir */
.item-title a::after {
  content: "";
  position: absolute;
  inset: 0;
}
.item:hover .item-title a { color: var(--accent); }

.item-summary {
  margin: 0;
  font-size: 16px;
  line-height: 1.55;
  color: var(--ink-soft);
}

.item--lead { padding: 28px 0; }
.item--lead .item-title { font-size: 30px; line-height: 1.2; }
.item--lead .item-summary { font-size: 17px; color: var(--ink); }

.end {
  display: flex;
  flex-direction: column;
  gap: 6px;
  padding: 32px 0 56px;
  font-size: 14px;
  color: var(--muted);
}
.end-title {
  font-family: var(--serif);
  font-size: 20px;
  color: var(--ink);
}
.end a {
  text-decoration: underline;
  text-underline-offset: 3px;
}

/* ---------- Haber sayfası ---------- */

.bar {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 16px;
  padding: 18px 0;
  border-bottom: 2px solid var(--rule-strong);
}

.logo--small { font-size: 30px; }

.back {
  display: inline-flex;
  align-items: center;
  min-height: 44px;
  font-size: 14px;
  font-weight: 500;
  color: var(--muted);
}

.story { padding: 40px 0 8px; }

.story-meta {
  display: flex;
  flex-wrap: wrap;
  align-items: baseline;
  gap: 12px;
  font-size: 13px;
  color: var(--muted);
}
.story-meta .kicker { color: var(--ink); }

.story-title {
  margin: 14px 0 0;
  font-family: var(--serif);
  font-weight: 700;
  font-size: 44px;
  line-height: 1.12;
  letter-spacing: -0.015em;
  text-wrap: balance;
}

.story-lead {
  margin: 20px 0 32px;
  font-family: var(--serif);
  font-size: 22px;
  line-height: 1.45;
}

.section {
  padding: 28px 0;
  border-top: 1px solid var(--rule);
}

.section-title {
  margin: 0 0 16px;
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--muted);
}

.facts {
  display: flex;
  flex-direction: column;
  gap: 14px;
  margin: 0;
  padding: 0;
  list-style: none;
  counter-reset: fact;
}

.facts li {
  display: grid;
  grid-template-columns: 28px minmax(0, 1fr);
  gap: 8px;
  font-size: 18px;
  line-height: 1.55;
}

.facts li::before {
  counter-increment: fact;
  content: counter(fact);
  font-family: var(--serif);
  font-weight: 600;
  color: var(--accent);
}

.prose p {
  margin: 0 0 12px;
  font-size: 18px;
  line-height: 1.6;
}
.prose p:last-child { margin-bottom: 0; }

.unknown {
  margin: 0;
  padding: 16px 20px;
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 8px;
  background: var(--panel);
  font-size: 17px;
  line-height: 1.5;
}

.story-end {
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 8px 16px;
  padding: 24px 0 56px;
  border-top: 2px solid var(--rule-strong);
  font-size: 14px;
  color: var(--muted);
}
.story-end a.report {
  text-decoration: underline;
  text-underline-offset: 3px;
}

/* ---------- Telefon ---------- */

@media (max-width: 560px) {
  .wrap { padding: 0 18px; }
  .masthead { padding-top: 32px; }
  .logo { font-size: 40px; }
  .logo--small { font-size: 26px; }
  .nav {
    flex-wrap: nowrap;
    overflow-x: auto;
    scrollbar-width: none;
    margin-right: -18px;
  }
  .nav::-webkit-scrollbar { display: none; }
  .nav a { padding: 12px 10px; white-space: nowrap; }

  .item { grid-template-columns: 1fr; gap: 6px; }
  .item-time { padding-top: 0; }
  .item--lead .item-title { font-size: 26px; }
  .item-title { font-size: 21px; }

  .story { padding-top: 28px; }
  .story-title { font-size: 32px; }
  .story-lead { font-size: 19px; }
  .facts li, .prose p { font-size: 17px; }
}
