/* fixhaber2026 — bileşenler (v2, editoryal dil)
   İlkeler: beyaz zemin, hairline ayraçlar, keskin köşeler,
   kart kutusu yerine tipografi + boşluk hiyerarşisi. */

/* ========== ÜST SERVİS BANDI ========== */
.c-topbar {
  background: var(--color-ink);
  color: #B9C3D2;
  font-size: var(--text-xs);
  min-height: var(--topbar-h);
}
.c-topbar .container {
  display: flex;
  align-items: center;
  gap: var(--space-4);
  min-height: var(--topbar-h);
}
.c-topbar a:hover, .c-topbar a:focus-visible { color: #fff; }
.c-topbar-date { font-weight: 700; color: #fff; white-space: nowrap; letter-spacing: .02em; }
.c-topbar-weather { display: flex; align-items: center; gap: var(--space-1); white-space: nowrap; }
.c-ticker {
  display: flex;
  gap: var(--space-5);
  overflow: hidden;
  white-space: nowrap;
}
.c-ticker span { display: inline-flex; gap: 5px; text-transform: uppercase; letter-spacing: .03em; }
.c-ticker .up   { color: #6FDC9F; }
.c-ticker .down { color: #FF97A0; }
.c-topbar-links {
  margin-left: auto;
  display: flex;
  align-items: center;
  gap: var(--space-4);
  white-space: nowrap;
}
@media (max-width: 767px) {
  .c-ticker, .c-topbar-links .hide-sm { display: none; }
}
@media (max-width: 374px) {
  .c-topbar .container { gap: var(--space-2); padding-inline: var(--space-3); }
  .c-topbar-date { font-size: 0.6875rem; }
}

/* Tema anahtarı */
.c-theme-toggle {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  color: inherit;
  border: 1px solid rgb(255 255 255 / .22);
  border-radius: 2px;
  padding: 2px 10px;
  line-height: 1.6;
}
.c-theme-toggle:hover { border-color: rgb(255 255 255 / .6); }
.c-theme-toggle .icon-sun { display: none; }
[data-theme="dark"] .c-theme-toggle .icon-sun { display: inline; }
[data-theme="dark"] .c-theme-toggle .icon-moon { display: none; }

/* ========== HEADER ========== */
.c-header {
  background: var(--color-surface);
  border-bottom: var(--rule);
}
.c-header .container {
  display: flex;
  align-items: center;
  gap: var(--space-5);
  min-height: var(--header-h);
  padding-block: var(--space-4);
}
.c-logo { display: inline-flex; align-items: center; flex-shrink: 0; }
.c-logo svg { height: 38px; width: auto; }
.c-header-ad { flex: 1; display: none; }
@media (min-width: 1024px) { .c-header-ad { display: block; } }
.c-header-actions {
  margin-left: auto;
  display: flex;
  align-items: center;
  gap: var(--space-3);
}
.c-btn-live {
  display: inline-flex;
  align-items: center;
  gap: var(--space-2);
  background: var(--color-live);
  color: #fff;
  font-weight: 800;
  font-size: 0.8125rem;
  text-transform: uppercase;
  letter-spacing: .05em;
  padding: 10px 16px;
  border-radius: var(--radius-s);
  white-space: nowrap;
}
.c-btn-live:hover { background: var(--color-brand-dark); }
.c-live-dot {
  width: 8px; height: 8px;
  background: #fff;
  border-radius: 50%;
  animation: pulse 1.6s ease-in-out infinite;
}
@keyframes pulse { 0%,100% { opacity: 1; } 50% { opacity: .35; } }
.c-icon-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 42px; height: 42px;
  border-radius: var(--radius-s);
  border: 1px solid var(--color-border-strong);
  color: var(--color-text);
  background: var(--color-surface);
}
.c-icon-btn:hover { border-color: var(--color-text); }
.c-icon-btn svg { width: 20px; height: 20px; }
@media (max-width: 599px) {
  .c-btn-live span.txt { display: none; }
  .c-header .container { gap: var(--space-3); }
}
@media (max-width: 479px) {
  .c-header .container { gap: var(--space-2); min-height: 64px; padding-block: var(--space-3); }
  .c-logo svg { height: 28px; }
  .c-icon-btn { width: 38px; height: 38px; }
  .c-btn-live { padding: 9px 11px; }
  .c-header-actions { gap: var(--space-2); }
}

/* ========== ANA NAV ========== */
.c-nav {
  background: var(--color-surface);
  border-top: var(--rule);
  border-bottom: 3px solid var(--color-brand);
  position: sticky;
  top: 0;
  z-index: 100;
}
.c-nav .container { display: flex; align-items: center; }
.c-nav-list {
  display: flex;
  align-items: center;
  overflow-x: auto;
  scrollbar-width: none;
  flex: 1;
  min-width: 0;
}
.c-nav-list::-webkit-scrollbar { display: none; }
.c-nav-list a {
  display: block;
  padding: 14px var(--space-3);
  font-weight: 700;
  font-size: 0.8125rem;
  text-transform: uppercase;
  letter-spacing: .03em;
  white-space: nowrap;
}
.c-nav-list li:first-child a { padding-left: 0; }
.c-nav-list a:hover, .c-nav-list a:focus-visible { color: var(--color-brand); }
.c-nav-list a[aria-current="page"] { color: var(--color-brand); box-shadow: inset 0 -3px 0 var(--color-brand); }
.c-nav-more { position: relative; flex-shrink: 0; }
.c-nav-more > button {
  display: flex;
  align-items: center;
  gap: 4px;
  padding: 14px 0 14px var(--space-3);
  font-weight: 700;
  font-size: 0.8125rem;
  text-transform: uppercase;
  letter-spacing: .03em;
  color: var(--color-text);
}
.c-nav-more > button:hover { color: var(--color-brand); }
.c-nav-more-menu {
  position: absolute;
  right: 0;
  top: 100%;
  min-width: 220px;
  background: var(--color-surface);
  border: var(--rule);
  border-top: 3px solid var(--color-brand);
  box-shadow: var(--shadow-2);
  padding: var(--space-2) 0;
  display: none;
  z-index: 110;
}
.c-nav-more-menu a {
  display: block;
  padding: 10px var(--space-4);
  font-size: var(--text-sm);
  font-weight: 600;
}
.c-nav-more-menu a:hover { background: var(--color-surface-alt); color: var(--color-brand); }
.c-nav-more.is-open .c-nav-more-menu { display: block; }
@media (hover: hover) {
  .c-nav-more:hover .c-nav-more-menu,
  .c-nav-more:focus-within .c-nav-more-menu { display: block; }
}

/* Mobil menü çekmecesi */
.c-drawer { position: fixed; inset: 0; z-index: 150; display: none; }
.c-drawer.is-open { display: block; }
.c-drawer:target { display: block; }
.c-drawer-backdrop { position: absolute; inset: 0; background: rgb(8 13 22 / .6); }
.c-drawer-panel {
  position: absolute;
  top: 0; left: 0; bottom: 0;
  width: min(320px, 86vw);
  background: var(--color-surface);
  overflow-y: auto;
  padding: var(--space-4);
  box-shadow: var(--shadow-2);
  border-right: 3px solid var(--color-brand);
}
.c-drawer-panel .c-drawer-head {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: var(--space-4);
}
.c-drawer-head strong { text-transform: uppercase; letter-spacing: var(--tracking-wide); font-size: var(--text-sm); }
.c-drawer-panel nav a {
  display: block;
  padding: var(--space-3) var(--space-2);
  border-bottom: var(--rule);
  font-weight: 700;
  font-size: var(--text-sm);
}
.c-drawer-panel nav a:hover { color: var(--color-brand); }

/* ========== SON DAKİKA BANDI ========== */
.c-breaking {
  background: var(--color-breaking);
  color: #fff;
  overflow: hidden;
}
.c-breaking .container {
  display: flex;
  align-items: stretch;
  gap: 0;
  min-height: 44px;
}
.c-breaking-label {
  display: flex;
  align-items: center;
  gap: var(--space-2);
  font-weight: 800;
  font-size: 0.8125rem;
  text-transform: uppercase;
  letter-spacing: var(--tracking-wide);
  padding-right: var(--space-4);
  white-space: nowrap;
  flex-shrink: 0;
}
.c-breaking-items { flex: 1; min-width: 0; position: relative; }
.c-breaking-item {
  position: absolute;
  inset: 0;
  display: flex;
  align-items: center;
  gap: var(--space-3);
  opacity: 0;
  visibility: hidden;
  transition: opacity .4s ease;
  overflow: hidden;
}
.c-breaking-item.is-active { opacity: 1; visibility: visible; }
.c-breaking-item time {
  font-weight: 800;
  font-size: var(--text-sm);
  background: rgb(255 255 255 / .16);
  padding: 1px 8px;
  border-radius: var(--radius-s);
  flex-shrink: 0;
}
.c-breaking-item a {
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
  font-weight: 600;
  font-size: var(--text-sm);
}
.c-breaking-item a:hover { text-decoration: underline; }
.c-breaking-controls {
  display: flex;
  align-items: center;
  gap: var(--space-1);
  padding-left: var(--space-3);
  flex-shrink: 0;
}
.c-breaking-controls button {
  color: #fff;
  width: 30px; height: 30px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: var(--radius-s);
  border: 1px solid rgb(255 255 255 / .35);
}
.c-breaking-controls button:hover { background: rgb(255 255 255 / .15); }
@media (max-width: 599px) {
  .c-breaking-label { padding-right: var(--space-2); }
  .c-breaking-label .lbl { display: none; }
  .c-breaking-controls [data-breaking-prev],
  .c-breaking-controls [data-breaking-next] { display: none; }
}
.no-js .c-breaking-items { position: static; }
.no-js .c-breaking-item { position: static; opacity: 1; visibility: visible; }
.no-js .c-breaking-controls { display: none; }

/* ========== MANŞET (HERO) ========== */
.c-hero { display: grid; gap: var(--grid-gap); }
@media (min-width: 1024px) {
  .c-hero { grid-template-columns: 2fr 1fr; }
}
.c-hero-main { position: relative; overflow: hidden; border-radius: var(--radius-m); }
.c-hero-main img {
  width: 100%;
  aspect-ratio: var(--ratio-hero);
  object-fit: cover;
  transition: transform .5s ease;
}
.c-hero-main a:hover img { transform: scale(1.025); }
.c-hero-main .c-hero-caption {
  position: absolute;
  inset-inline: 0;
  bottom: 0;
  padding: var(--space-7) var(--space-5) var(--space-5);
  background: linear-gradient(to top, rgb(8 13 22 / .94) 20%, rgb(8 13 22 / .55) 60%, rgb(8 13 22 / 0));
  color: #fff;
}
.c-hero-caption .c-badge { margin-bottom: var(--space-3); }
.c-hero-caption h2, .c-hero-caption h1 {
  font-size: var(--text-hero);
  font-weight: 800;
  letter-spacing: var(--tracking-tight);
  line-height: 1.14;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
  text-shadow: 0 2px 14px rgb(0 0 0 / .35);
}
.c-hero-caption p {
  margin-top: var(--space-3);
  color: rgb(255 255 255 / .82);
  font-size: var(--text-sm);
  max-width: 62ch;
  display: none;
}
@media (min-width: 768px) {
  .c-hero-caption p { display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }
}
.c-hero-side {
  display: grid;
  gap: 0;
  grid-template-rows: repeat(4, 1fr);
}
@media (max-width: 1023px) { .c-hero-side { display: none; } }
.c-hero-side > article { border-bottom: var(--rule); }
.c-hero-side > article:last-child { border-bottom: 0; }
.c-hero-side .c-card--row { padding-block: var(--space-3); }
.c-hero-side .c-card--row:first-child { padding-top: 0; }
.c-hero-side .c-card--row .c-card-media { width: 128px; }

/* ========== ROZETLER ========== */
.c-badge {
  display: inline-block;
  font-size: 0.6875rem;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: var(--tracking-wide);
  padding: 4px 9px;
  border-radius: var(--radius-s);
  background: var(--color-brand);
  color: #fff;
}
.c-badge--live { background: var(--color-live); display: inline-flex; align-items: center; gap: 6px; }
.c-badge--ozel { background: var(--color-ink); }
.c-badge--video { background: var(--cat-teknoloji); }
.c-badge--foto { background: var(--cat-yasam); }
.c-badge--cat { background: var(--section-color, var(--color-brand)); }

/* ========== HABER KARTLARI — kutu değil, editoryal blok ========== */
.c-card {
  background: transparent;
  border: 0;
  display: flex;
  flex-direction: column;
  position: relative;
}
.c-card-media { position: relative; overflow: hidden; border-radius: var(--radius-s); }
.c-card-media img {
  width: 100%;
  aspect-ratio: var(--ratio-card);
  object-fit: cover;
  transition: transform .45s ease;
}
.c-card:hover .c-card-media img { transform: scale(1.03); }
.c-card-media .c-badge {
  position: absolute;
  left: 0;
  bottom: 0;
  border-radius: 0;
}
.c-card-media .c-media-meta {
  position: absolute;
  right: var(--space-2);
  bottom: var(--space-2);
  background: rgb(8 13 22 / .82);
  color: #fff;
  font-size: var(--text-xs);
  font-weight: 700;
  padding: 2px 8px;
  border-radius: var(--radius-s);
  display: inline-flex;
  align-items: center;
  gap: 4px;
}
.c-card-body {
  padding: var(--space-3) 0 0;
  display: flex;
  flex-direction: column;
  gap: var(--space-2);
  flex: 1;
}
.c-card-body h3 { font-size: 1.0625rem; line-height: 1.32; font-weight: 700; letter-spacing: -0.005em; }
.c-card-body h3 a::after { content: ""; position: absolute; inset: 0; }
.c-card:hover h3 { color: var(--color-brand); }
.c-card-body p { font-size: var(--text-sm); color: var(--color-text-muted); line-height: 1.55; }
.c-card-meta {
  margin-top: auto;
  display: flex;
  align-items: center;
  gap: var(--space-2);
  font-size: var(--text-xs);
  color: var(--color-text-muted);
}
.c-card-meta .cat {
  color: var(--section-color, var(--color-brand));
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: .04em;
}
.c-card-meta > * + *::before { content: "•"; color: var(--color-border-strong); margin-right: var(--space-2); }

/* Yatay küçük kart */
.c-card--row { flex-direction: row; gap: var(--space-3); }
.c-card--row .c-card-media { flex-shrink: 0; width: 148px; }
.c-card--row .c-card-media img { height: 100%; aspect-ratio: var(--ratio-card); object-fit: cover; }
.c-card--row .c-card-body { padding: 0; }
.c-card--row h3 { font-size: 0.9375rem; line-height: 1.35; }
@media (max-width: 374px) { .c-card--row .c-card-media { width: 112px; } }

/* Liste bağlamında kartlar arası hairline (dikey listeler) */
.card-list > .c-card { padding-block: var(--space-4); border-bottom: var(--rule); }
.card-list > .c-card:first-child { padding-top: 0; }
.card-list > .c-card:last-child { border-bottom: 0; }

/* Metin listesi kartı (çok okunanlar) */
.c-ranked { counter-reset: rank; }
.c-ranked li {
  counter-increment: rank;
  display: flex;
  gap: var(--space-3);
  padding: var(--space-3) 0;
  border-bottom: var(--rule);
  position: relative;
  align-items: baseline;
}
.c-ranked li:last-child { border-bottom: 0; }
.c-ranked li::before {
  content: counter(rank);
  font-size: 1.75rem;
  font-weight: 800;
  color: var(--color-brand);
  line-height: 1;
  min-width: 1.2em;
  font-variant-numeric: tabular-nums;
}
.c-ranked a { font-weight: 600; font-size: var(--text-sm); line-height: 1.45; }
.c-ranked a:hover { color: var(--color-brand); }

/* ========== BÖLÜM BAŞLIĞI — gazete dili ========== */
.c-section-head {
  display: flex;
  align-items: flex-end;
  gap: var(--space-3);
  margin-bottom: var(--space-4);
  border-bottom: var(--rule);
}
.c-section-head h2 {
  font-size: 1.0625rem;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: .04em;
  padding-bottom: var(--space-2);
  border-bottom: 3px solid var(--section-color, var(--color-brand));
  margin-bottom: -1px;
}
.c-section-head .more {
  margin-left: auto;
  font-size: var(--text-xs);
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: .04em;
  color: var(--color-text-muted);
  white-space: nowrap;
  padding-bottom: var(--space-2);
}
.c-section-head .more:hover { color: var(--section-color, var(--color-brand)); }

/* ========== SIDEBAR WIDGET — üst aksanlı yüzey ========== */
.c-widget {
  background: var(--color-surface-alt);
  border-top: 3px solid var(--section-color, var(--color-brand));
  padding: var(--space-4);
}
.c-widget + .c-widget, .side-col > * + * { margin-top: var(--space-5); }
.c-widget-title {
  font-size: 0.9375rem;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: .04em;
  margin-bottom: var(--space-3);
}

/* Piyasa tablosu */
.c-market-table td, .c-market-table th {
  padding: var(--space-2);
  font-size: var(--text-sm);
  border-bottom: var(--rule);
  text-align: right;
  font-variant-numeric: tabular-nums;
}
.c-market-table td:first-child, .c-market-table th:first-child { text-align: left; font-weight: 600; }
.c-market-table thead th {
  font-size: var(--text-xs);
  text-transform: uppercase;
  letter-spacing: .04em;
  color: var(--color-text-muted);
}
.c-market-table tr:last-child td { border-bottom: 0; }
.c-market-table .up { color: var(--color-success); font-weight: 700; }
.c-market-table .down { color: var(--color-danger); font-weight: 700; }
.c-market-table .up::before { content: "▲ "; font-size: .7em; }
.c-market-table .down::before { content: "▼ "; font-size: .7em; }

/* Hava widget */
.c-weather-now { display: flex; align-items: center; gap: var(--space-4); }
.c-weather-now .deg { font-size: 2.6rem; font-weight: 800; line-height: 1; letter-spacing: var(--tracking-tight); }
.c-weather-now .desc { color: var(--color-text-muted); font-size: var(--text-sm); }
.c-weather-days { display: grid; grid-template-columns: repeat(4, 1fr); gap: 1px; background: var(--color-border); margin-top: var(--space-4); text-align: center; }
.c-weather-days .d {
  background: var(--color-surface);
  padding: var(--space-2);
  font-size: var(--text-xs);
}
.c-weather-days .d strong { display: block; font-size: var(--text-sm); }

/* Namaz vakitleri */
.c-prayer { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1px; background: var(--color-border); }
.c-prayer .p {
  text-align: center;
  background: var(--color-surface);
  padding: var(--space-2);
  font-size: var(--text-xs);
  color: var(--color-text-muted);
}
.c-prayer .p strong { display: block; color: var(--color-text); font-size: var(--text-sm); font-variant-numeric: tabular-nums; }
.c-prayer .p.is-next { background: var(--color-ink); color: #AEB9C9; }
.c-prayer .p.is-next strong { color: #fff; }

/* Anket */
.c-poll fieldset { border: 0; padding: 0; }
.c-poll legend { font-weight: 800; margin-bottom: var(--space-3); }
.c-poll label {
  display: flex;
  align-items: center;
  gap: var(--space-2);
  padding: var(--space-2) var(--space-3);
  border: 1px solid var(--color-border-strong);
  background: var(--color-surface);
  border-radius: var(--radius-s);
  margin-bottom: var(--space-2);
  font-size: var(--text-sm);
  cursor: pointer;
}
.c-poll label:hover { border-color: var(--color-text); }

/* Bülten */
.c-newsletter { background: var(--color-ink); color: #B9C3D2; border-top-color: var(--color-brand); }
.c-newsletter .c-widget-title { color: #fff; }
.c-newsletter input[type="email"] {
  width: 100%;
  padding: var(--space-3);
  border-radius: var(--radius-s);
  border: 1px solid rgb(255 255 255 / .25);
  background: rgb(255 255 255 / .07);
  color: #fff;
  margin-bottom: var(--space-2);
}
.c-newsletter input::placeholder { color: #8D99AB; }

/* ========== BUTONLAR / FORM ========== */
.c-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: var(--space-2);
  font-weight: 800;
  font-size: 0.8125rem;
  text-transform: uppercase;
  letter-spacing: .04em;
  padding: 12px 22px;
  border-radius: var(--radius-s);
  background: var(--color-brand);
  color: #fff;
  border: 1px solid transparent;
  transition: background .15s ease;
}
.c-btn:hover { background: var(--color-brand-dark); }
.c-btn--ghost {
  background: transparent;
  color: var(--color-text);
  border-color: var(--color-border-strong);
}
.c-btn--ghost:hover { border-color: var(--color-text); background: transparent; }
.c-btn--block { width: 100%; }
.c-btn--sm { padding: 8px 14px; }

.c-field { margin-bottom: var(--space-4); }
.c-field label { display: block; font-weight: 700; font-size: var(--text-sm); margin-bottom: var(--space-1); }
.c-field input, .c-field textarea, .c-field select {
  width: 100%;
  padding: var(--space-3);
  border: 1px solid var(--color-border-strong);
  border-radius: var(--radius-s);
  background: var(--color-surface);
}
.c-field input:focus, .c-field textarea:focus, .c-field select:focus {
  outline: 2px solid var(--color-accent);
  outline-offset: 0;
  border-color: transparent;
}
.c-field .hint { font-size: var(--text-xs); color: var(--color-text-muted); margin-top: var(--space-1); }

/* ========== BREADCRUMB / SAYFALAMA ========== */
.c-breadcrumb {
  display: flex;
  flex-wrap: wrap;
  gap: var(--space-1);
  font-size: var(--text-xs);
  color: var(--color-text-muted);
  align-items: center;
}
.c-breadcrumb li { display: flex; align-items: center; gap: var(--space-1); }
.c-breadcrumb li + li::before { content: "/"; color: var(--color-border-strong); padding-inline: 3px; }
.c-breadcrumb a:hover { color: var(--color-brand); }

.c-pagination {
  display: flex;
  justify-content: center;
  gap: var(--space-1);
  margin-top: var(--space-6);
  flex-wrap: wrap;
}
.c-pagination a, .c-pagination span {
  min-width: 40px;
  height: 40px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding-inline: var(--space-2);
  border: var(--rule);
  border-radius: var(--radius-s);
  background: var(--color-surface);
  font-weight: 700;
  font-size: var(--text-sm);
  font-variant-numeric: tabular-nums;
}
.c-pagination a:hover { border-color: var(--color-text); }
.c-pagination .is-current { background: var(--color-ink); border-color: var(--color-ink); color: #fff; }

/* ========== HABER DETAY ========== */
.c-article { background: var(--color-surface); }
@media (min-width: 768px) { .c-article { padding-right: var(--space-5); } }
.c-article-head .c-breadcrumb { margin-bottom: var(--space-4); }
.c-article-head h1 {
  font-size: var(--text-2xl);
  letter-spacing: var(--tracking-tight);
  line-height: 1.16;
  margin-bottom: var(--space-4);
}
.c-article-spot {
  font-size: var(--text-lg);
  color: var(--color-text-muted);
  font-weight: 500;
  line-height: 1.55;
  border-left: 3px solid var(--color-brand);
  padding-left: var(--space-4);
  margin-bottom: var(--space-4);
}
.c-article-meta {
  display: flex;
  flex-wrap: wrap;
  gap: var(--space-2) var(--space-5);
  padding-block: var(--space-3);
  border-block: var(--rule);
  font-size: 0.8125rem;
  color: var(--color-text-muted);
  margin-bottom: var(--space-4);
}
.c-article-meta .author { display: flex; align-items: center; gap: var(--space-2); font-weight: 700; color: var(--color-text); }
.c-article-meta .author img { width: 28px; height: 28px; border-radius: 50%; object-fit: cover; }
.c-article-tools {
  display: flex;
  flex-wrap: wrap;
  gap: var(--space-2);
  margin-bottom: var(--space-5);
}
.c-article-tools button, .c-article-tools a {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: var(--text-xs);
  font-weight: 700;
  border: 1px solid var(--color-border-strong);
  border-radius: var(--radius-s);
  padding: 7px 13px;
  background: var(--color-surface);
}
.c-article-tools button:hover, .c-article-tools a:hover { border-color: var(--color-text); }
.c-article-tools button[aria-pressed="true"] { background: var(--color-ink); color: #fff; border-color: var(--color-ink); }
.c-article-figure img { width: 100%; aspect-ratio: var(--ratio-hero); object-fit: cover; border-radius: var(--radius-s); }
.c-article-figure figcaption {
  display: flex;
  justify-content: space-between;
  gap: var(--space-3);
  font-size: var(--text-xs);
  color: var(--color-text-muted);
  padding-top: var(--space-2);
  border-bottom: var(--rule);
  padding-bottom: var(--space-3);
}
.c-article .prose { margin-top: var(--space-5); }

/* İçindekiler */
.c-toc {
  background: var(--color-surface-alt);
  border-left: 3px solid var(--color-ink);
  padding: var(--space-4);
  margin-block: var(--space-5);
  font-size: var(--text-sm);
  max-width: 68ch;
}
.c-toc strong { display: block; margin-bottom: var(--space-2); text-transform: uppercase; font-size: var(--text-xs); letter-spacing: var(--tracking-wide); }
.c-toc a { color: var(--color-accent); display: block; padding-block: 3px; }
.c-toc a:hover { text-decoration: underline; }

/* Etiketler */
.c-tags { display: flex; flex-wrap: wrap; gap: var(--space-2); margin-top: var(--space-5); }
.c-tags a {
  font-size: var(--text-xs);
  font-weight: 700;
  background: var(--color-surface-alt);
  border: var(--rule);
  border-radius: var(--radius-s);
  padding: 6px 12px;
}
.c-tags a:hover { background: var(--color-ink); border-color: var(--color-ink); color: #fff; }

/* Güncelleme/düzeltme notu */
.c-update-note {
  background: color-mix(in srgb, var(--color-warning) 10%, var(--color-surface));
  border-left: 3px solid var(--color-warning);
  padding: var(--space-3) var(--space-4);
  font-size: var(--text-sm);
  margin-top: var(--space-5);
}

/* Önceki / sonraki */
.c-prevnext {
  display: grid;
  gap: var(--space-3);
  grid-template-columns: 1fr;
  margin-top: var(--space-5);
}
@media (min-width: 600px) { .c-prevnext { grid-template-columns: 1fr 1fr; } }
.c-prevnext a {
  border: var(--rule);
  border-radius: var(--radius-s);
  padding: var(--space-3) var(--space-4);
  font-size: var(--text-sm);
  font-weight: 600;
  background: var(--color-surface);
}
.c-prevnext a:hover { border-color: var(--color-text); }
.c-prevnext .dir {
  display: block;
  font-size: var(--text-xs);
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: .05em;
  color: var(--color-brand);
  margin-bottom: 2px;
}
.c-prevnext .next { text-align: right; }

/* Paylaşım çubuğu */
.c-share { display: flex; gap: var(--space-2); flex-wrap: wrap; }
.c-share a {
  width: 38px; height: 38px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: var(--radius-s);
  border: var(--rule);
  background: var(--color-surface);
}
.c-share a:hover { background: var(--color-ink); border-color: var(--color-ink); color: #fff; }
.c-share svg { width: 17px; height: 17px; }

/* ========== YORUMLAR ========== */
.c-comments { margin-top: var(--space-6); }
.c-comment {
  display: flex;
  gap: var(--space-3);
  padding-block: var(--space-4);
  border-bottom: var(--rule);
}
.c-comment-avatar {
  width: 40px; height: 40px;
  border-radius: 50%;
  background: var(--color-ink);
  color: #fff;
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 800;
  font-size: var(--text-sm);
  flex-shrink: 0;
}
.c-comment-body { flex: 1; min-width: 0; }
.c-comment-head { display: flex; flex-wrap: wrap; gap: var(--space-2) var(--space-3); align-items: baseline; }
.c-comment-head strong { font-size: var(--text-sm); }
.c-comment-head time { font-size: var(--text-xs); color: var(--color-text-muted); }
.c-comment-text { font-size: var(--text-sm); margin-top: var(--space-1); line-height: 1.6; }
.c-comment-actions { display: flex; gap: var(--space-3); margin-top: var(--space-2); font-size: var(--text-xs); }
.c-comment-actions button { color: var(--color-text-muted); font-weight: 700; display: inline-flex; gap: 4px; align-items: center; }
.c-comment-actions button:hover { color: var(--color-brand); }
.c-comment-actions button[aria-pressed="true"] { color: var(--color-brand); }
.c-comment--reply { margin-left: var(--space-6); border-bottom: 0; padding-top: 0; }

/* ========== GALERİ ========== */
.c-gallery-viewer { background: var(--color-ink); color: #fff; }
.c-gallery-stage { position: relative; }
.c-gallery-stage img { width: 100%; aspect-ratio: var(--ratio-hero); object-fit: cover; }
.c-gallery-counter {
  position: absolute;
  top: var(--space-3);
  right: var(--space-3);
  background: rgb(8 13 22 / .8);
  padding: 4px 12px;
  border-radius: var(--radius-s);
  font-size: var(--text-sm);
  font-weight: 800;
  font-variant-numeric: tabular-nums;
}
.c-gallery-navbtn {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  width: 46px; height: 46px;
  border-radius: var(--radius-s);
  background: rgb(8 13 22 / .65);
  color: #fff;
  font-size: 1.4rem;
  display: inline-flex;
  align-items: center;
  justify-content: center;
}
.c-gallery-navbtn:hover { background: var(--color-brand); }
.c-gallery-navbtn.prev { left: var(--space-3); }
.c-gallery-navbtn.next { right: var(--space-3); }
.c-gallery-caption { padding: var(--space-4); font-size: var(--text-sm); color: #C2CBD8; border-top: 1px solid rgb(255 255 255 / .08); }
.c-gallery-thumbs {
  display: grid;
  grid-auto-flow: column;
  grid-auto-columns: 96px;
  gap: var(--space-2);
  overflow-x: auto;
  padding: 0 var(--space-4) var(--space-4);
}
.c-gallery-thumbs button { border-radius: var(--radius-s); overflow: hidden; opacity: .5; border: 2px solid transparent; }
.c-gallery-thumbs button img { aspect-ratio: var(--ratio-card); object-fit: cover; }
.c-gallery-thumbs button.is-active { opacity: 1; border-color: var(--color-brand); }
.c-gallery-thumbs button:hover { opacity: 1; }

/* ========== VİDEO ========== */
.c-video-player { position: relative; overflow: hidden; background: #000; border-radius: var(--radius-s); }
.c-video-player img { width: 100%; aspect-ratio: var(--ratio-hero); object-fit: cover; opacity: .85; }
.c-video-play { position: absolute; inset: 0; display: flex; align-items: center; justify-content: center; }
.c-video-play .btn {
  width: 78px; height: 78px;
  border-radius: 50%;
  background: rgb(210 32 47 / .94);
  color: #fff;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  box-shadow: var(--shadow-2);
  transition: transform .15s ease;
}
.c-video-play .btn:hover { transform: scale(1.08); }
.c-video-play svg { width: 30px; height: 30px; margin-left: 4px; }

/* ========== SEÇİM MODÜLÜ ========== */
.c-election-bar { margin-bottom: var(--space-3); }
.c-election-bar .row { display: flex; justify-content: space-between; font-size: var(--text-sm); font-weight: 700; margin-bottom: 4px; }
.c-election-bar .row span:last-child { font-variant-numeric: tabular-nums; }
.c-election-bar .track { height: 12px; background: var(--color-surface-alt); overflow: hidden; }
.c-election-bar .fill { height: 100%; }
.c-election-cells { display: grid; grid-template-columns: repeat(auto-fit, minmax(140px, 1fr)); gap: var(--space-3); }
.c-election-cell {
  background: var(--color-surface);
  border: var(--rule);
  border-top: 4px solid var(--party, var(--color-brand));
  padding: var(--space-3);
  text-align: center;
}
.c-election-cell .pct { font-size: 1.75rem; font-weight: 800; font-variant-numeric: tabular-nums; letter-spacing: var(--tracking-tight); }
.c-election-cell .name { font-size: var(--text-xs); font-weight: 800; letter-spacing: .04em; color: var(--color-text-muted); }

/* ========== SKOR / SPOR ========== */
.c-score {
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  align-items: center;
  gap: var(--space-3);
  padding: var(--space-3) var(--space-4);
  border: var(--rule);
  border-top: 3px solid var(--cat-spor);
  background: var(--color-surface);
  font-size: var(--text-sm);
}
.c-score .team { display: flex; align-items: center; gap: var(--space-2); font-weight: 700; min-width: 0; }
.c-score .team span { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.c-score .team.away { justify-content: flex-end; }
.c-score .result {
  font-weight: 800;
  font-size: var(--text-lg);
  background: var(--color-ink);
  color: #fff;
  border-radius: var(--radius-s);
  padding: 2px 12px;
  white-space: nowrap;
  font-variant-numeric: tabular-nums;
}
.c-score .result.live { background: var(--color-live); }
.c-score-min { font-size: var(--text-xs); color: var(--color-live); font-weight: 800; text-align: center; margin-bottom: var(--space-1); letter-spacing: .04em; }

/* Puan durumu */
.c-standings td, .c-standings th {
  padding: var(--space-2);
  font-size: var(--text-sm);
  border-bottom: var(--rule);
  text-align: center;
  font-variant-numeric: tabular-nums;
}
.c-standings thead th { font-size: var(--text-xs); text-transform: uppercase; letter-spacing: .04em; color: var(--color-text-muted); }
.c-standings td:nth-child(2), .c-standings th:nth-child(2) { text-align: left; width: 100%; font-weight: 600; }
.c-standings tbody tr:hover { background: var(--color-surface); }
.c-standings .pos { font-weight: 800; }
.c-standings tr.up .pos { color: var(--color-success); }
.c-standings tr.down .pos { color: var(--color-danger); }

/* ========== ARAMA OVERLAY ========== */
.c-search-overlay {
  position: fixed;
  inset: 0;
  z-index: 160;
  background: rgb(8 13 22 / .66);
  display: none;
  align-items: flex-start;
  justify-content: center;
  padding: 11vh var(--space-4) var(--space-4);
}
.c-search-overlay.is-open, .c-search-overlay:target { display: flex; }
.c-search-box {
  width: min(680px, 100%);
  background: var(--color-surface);
  border-top: 4px solid var(--color-brand);
  box-shadow: var(--shadow-2);
  padding: var(--space-5);
}
.c-search-box form { display: flex; gap: var(--space-2); }
.c-search-box input[type="search"] {
  flex: 1;
  padding: var(--space-3) var(--space-4);
  border: 1px solid var(--color-border-strong);
  border-radius: var(--radius-s);
  font-size: var(--text-lg);
  min-width: 0;
}
.c-search-box input[type="search"]:focus { outline: 2px solid var(--color-accent); }
.c-search-popular { margin-top: var(--space-4); }
.c-search-popular strong { font-size: var(--text-xs); text-transform: uppercase; letter-spacing: var(--tracking-wide); color: var(--color-text-muted); }

/* ========== CANLI YAYIN ========== */
.c-live-stage { background: var(--color-ink); color: #fff; }
.c-live-stage .head {
  display: flex;
  align-items: center;
  gap: var(--space-3);
  padding: var(--space-3) var(--space-4);
  border-bottom: 1px solid rgb(255 255 255 / .1);
}
.c-liveblog { border-left: 2px solid var(--color-border); margin-left: var(--space-3); }
.c-liveblog-item { position: relative; padding: 0 0 var(--space-5) var(--space-5); }
.c-liveblog-item::before {
  content: "";
  position: absolute;
  left: -7px;
  top: 5px;
  width: 12px; height: 12px;
  border-radius: 50%;
  background: var(--color-surface);
  border: 3px solid var(--color-brand);
}
.c-liveblog-item.is-new::before { border-color: var(--color-live); background: var(--color-live); }
.c-liveblog-item time { font-size: var(--text-xs); font-weight: 800; color: var(--color-live); letter-spacing: .03em; }
.c-liveblog-item h3 { font-size: var(--text-base); margin-top: 2px; }
.c-liveblog-item p { font-size: var(--text-sm); color: var(--color-text-muted); margin-top: var(--space-1); }

/* ========== YAZARLAR ========== */
.c-author-card {
  background: var(--color-surface);
  border: var(--rule);
  border-top: 3px solid var(--color-ink);
  padding: var(--space-4);
  display: flex;
  gap: var(--space-4);
  align-items: flex-start;
  position: relative;
}
.c-author-card:hover { border-top-color: var(--color-brand); }
.c-author-card img { width: 64px; height: 64px; border-radius: 50%; object-fit: cover; flex-shrink: 0; }
.c-author-card .who strong { display: block; font-size: var(--text-base); }
.c-author-card .who .role {
  font-size: var(--text-xs);
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: .05em;
  color: var(--color-brand);
}
.c-author-card .title { font-size: var(--text-sm); font-weight: 600; margin-top: var(--space-2); color: var(--color-text-muted); }
.c-author-card .who a::after { content: ""; position: absolute; inset: 0; }
.c-author-card:hover .title { color: var(--color-text); }

/* ========== FOOTER ========== */
.c-footer { background: var(--color-ink); color: #9FABBC; margin-top: var(--space-8); border-top: 4px solid var(--color-brand); }
.c-footer a:hover { color: #fff; }
.c-footer-top { padding-block: var(--space-7); display: grid; gap: var(--space-6); grid-template-columns: 1fr; }
@media (min-width: 600px) { .c-footer-top { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 1024px) { .c-footer-top { grid-template-columns: 1.5fr repeat(3, 1fr); } }
.c-footer h3 {
  color: #fff;
  font-size: var(--text-xs);
  text-transform: uppercase;
  letter-spacing: var(--tracking-wide);
  margin-bottom: var(--space-4);
  padding-bottom: var(--space-2);
  border-bottom: 1px solid rgb(255 255 255 / .14);
}
.c-footer ul li { padding-block: 5px; font-size: var(--text-sm); }
.c-footer-brand svg { height: 34px; width: auto; }
.c-footer-brand p { font-size: var(--text-sm); margin-top: var(--space-4); max-width: 36ch; line-height: 1.7; }
.c-footer-social { display: flex; gap: var(--space-2); margin-top: var(--space-4); }
.c-footer-social a {
  width: 36px; height: 36px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: var(--radius-s);
  background: rgb(255 255 255 / .07);
}
.c-footer-social a:hover { background: var(--color-brand); color: #fff; }
.c-footer-bottom {
  border-top: 1px solid rgb(255 255 255 / .12);
  padding-block: var(--space-4);
  display: flex;
  flex-wrap: wrap;
  gap: var(--space-2) var(--space-5);
  justify-content: space-between;
  font-size: var(--text-xs);
}
.c-footer-bottom ul { display: flex; flex-wrap: wrap; gap: var(--space-4); }

/* ========== HATA SAYFALARI ========== */
.c-error {
  text-align: center;
  padding: var(--space-8) var(--space-4);
  max-width: 560px;
  margin-inline: auto;
}
.c-error .code {
  font-size: clamp(4.5rem, 11vw, 8rem);
  font-weight: 800;
  line-height: 1;
  color: var(--color-brand);
  letter-spacing: var(--tracking-tight);
}
.c-error h1 { margin-block: var(--space-3); }
.c-error p { color: var(--color-text-muted); margin-bottom: var(--space-5); }
.c-error .actions { display: flex; gap: var(--space-3); justify-content: center; flex-wrap: wrap; }

/* ========== UYARI KUTULARI ========== */
.c-alert {
  padding: var(--space-3) var(--space-4);
  font-size: var(--text-sm);
  border: var(--rule);
  border-left: 3px solid var(--color-border-strong);
  background: var(--color-surface-alt);
}
.c-alert--info { border-left-color: var(--color-accent); }
.c-alert--success { border-left-color: var(--color-success); }

/* ========== OKUMA İLERLEME ÇUBUĞU ========== */
.c-progress {
  position: fixed;
  top: 0; left: 0; right: 0;
  height: 3px;
  z-index: 200;
  background: transparent;
  pointer-events: none;
}
.c-progress span {
  display: block;
  height: 100%;
  width: 0;
  background: var(--color-brand);
  transition: width .1s linear;
}

/* ========== OKUMA SÜRESİ ROZETİ ========== */
.c-readtime {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  font-weight: 700;
  color: var(--color-text);
}
.c-readtime::before {
  content: "";
  width: 6px; height: 6px;
  border-radius: 50%;
  background: var(--color-brand);
}

/* ========== YAPIŞKAN HEADER (kaydırınca daralır) ========== */
.c-header { transition: min-height .2s ease; }
body.is-scrolled .c-header .container { min-height: 60px; padding-block: var(--space-2); }
body.is-scrolled .c-logo svg,
body.is-scrolled .c-logo img { height: 28px; }
body.is-scrolled .c-header-ad { display: none; }

/* ========== SEKMELİ KATEGORİ MODÜLÜ ========== */
.c-tabs-nav {
  display: flex;
  gap: 0;
  overflow-x: auto;
  scrollbar-width: none;
  border-bottom: var(--rule);
  margin-bottom: var(--space-5);
}
.c-tabs-nav::-webkit-scrollbar { display: none; }
.c-tabs-nav button {
  padding: 12px var(--space-4);
  font-weight: 800;
  font-size: 0.8125rem;
  text-transform: uppercase;
  letter-spacing: .04em;
  color: var(--color-text-muted);
  white-space: nowrap;
  border-bottom: 3px solid transparent;
  margin-bottom: -1px;
}
.c-tabs-nav button:first-child { padding-left: 0; }
.c-tabs-nav button:hover { color: var(--color-text); }
.c-tabs-nav button[aria-selected="true"] {
  color: var(--color-text);
  border-bottom-color: var(--section-color, var(--color-brand));
}
.c-tabs-panel-title {
  font-size: 0.9375rem;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: .04em;
  margin-bottom: var(--space-4);
  color: var(--section-color, var(--color-brand));
  display: none;
}
/* JS varken sekmeler: yalnız aktif panel görünür, panel başlıkları gizli */
.js .c-tabs-panel { display: none; }
.js .c-tabs-panel.is-active { display: block; }
/* JS yokken: tüm paneller alt alta, her birinin kendi başlığıyla */
.no-js .c-tabs-nav { display: none; }
.no-js .c-tabs-panel-title { display: block; }
.no-js .c-tabs-panel + .c-tabs-panel { margin-top: var(--space-6); }

/* ========== BAĞLANTI KOPYALANDI GERİ BİLDİRİMİ ========== */
.c-article-tools button.is-done {
  background: var(--color-success);
  border-color: var(--color-success);
  color: #fff;
}

/* ========== YAPIŞKAN PAYLAŞIM (masaüstü) ========== */
@media (min-width: 1200px) {
  .c-article { position: relative; }
  .c-share--sticky {
    position: sticky;
    top: calc(var(--nav-h) + var(--space-4));
    float: left;
    margin-left: -72px;
    flex-direction: column;
    width: 44px;
  }
}

/* ========== YAZAR KUTUSU (haber altı) ========== */
.c-author-box {
  display: flex;
  gap: var(--space-4);
  align-items: flex-start;
  background: var(--color-surface-alt);
  border-top: 3px solid var(--color-ink);
  padding: var(--space-4);
  margin-top: var(--space-5);
}
.c-author-box img { width: 56px; height: 56px; border-radius: 50%; object-fit: cover; flex-shrink: 0; }
.c-author-box .ad { font-weight: 800; }
.c-author-box .rol { font-size: var(--text-xs); font-weight: 800; text-transform: uppercase; letter-spacing: .05em; color: var(--color-brand); }
.c-author-box p { font-size: var(--text-sm); color: var(--color-text-muted); margin-top: var(--space-2); }

/* ========== GÖRSEL YÜKLENİRKEN ZEMİN (CLS + akıcılık) ========== */
.c-card-media, .c-article-figure, .c-hero-main { background: var(--color-surface-alt); }
