/* ============================================================
   newspapers.info.tr — ortak tasarım sistemi
   gazeteler.info.tr şablonundan uyarlanmıştır (GV Media)
   Tailwind YOK · harici font YOK · sistem fontları
   Renk: her sayfa <html style="--accent:..;--accent-deep:..">
   ile o dilin bayrak rengini alır.
   ============================================================ */

:root {
  /* Nötr taban (tüm dillerde sabit) */
  --bg: #f4f6fb;
  --surface: #fff;
  --border: #e2e8f4;
  --text: #1a2540;
  --muted: #5a6a8a;
  --radius: 10px;

  /* Vurgu (dil başına override edilir; varsayılan = İngilizce mavi) */
  --accent: #1d4ed8;
  --accent-deep: #0f1f4e;
  --accent-soft: color-mix(in srgb, var(--accent) 10%, #fff);
  --accent-lite: color-mix(in srgb, var(--accent) 55%, #fff);
  --accent-mid:  color-mix(in srgb, var(--accent) 45%, #fff);
}

* , *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; }
body {
  font-family: system-ui, -apple-system, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
  background: var(--bg); color: var(--text); line-height: 1.65; font-size: 15px;
}
img { max-width: 100%; height: auto; }
a { color: var(--accent); text-decoration: none; }

:lang(ja){font-family:"Noto Sans JP",system-ui,sans-serif;}
:lang(ko){font-family:"Noto Sans KR",system-ui,sans-serif;}
:lang(zh){font-family:"Noto Sans SC",system-ui,sans-serif;}
:lang(ar),:lang(he){font-family:"Segoe UI","Noto Naskh Arabic",system-ui,sans-serif;}

/* ── NAV ── */
.nav { background: var(--accent-deep); position: sticky; top: 0; z-index: 100; box-shadow: 0 2px 12px rgba(0,0,0,.25); }
.nav-inner { max-width: 1200px; margin: 0 auto; padding: 0 20px; display: flex; align-items: center; justify-content: space-between; gap: 12px; min-height: 56px; }
.logo { color: #fff; font-size: 1.2rem; font-weight: 800; text-decoration: none; white-space: nowrap; letter-spacing: -.3px; }
.logo span { color: var(--accent-lite); }
.nav-links { display: flex; align-items: center; gap: 2px; flex-wrap: wrap; }
.nav-links a { color: #d3ddf2; font-size: .78rem; text-decoration: none; padding: 6px 9px; border-radius: 6px; transition: background .15s, color .15s; white-space: nowrap; }
.nav-links a:hover { background: rgba(255,255,255,.12); color: #fff; }
.nav-links a.active { background: var(--accent); color: #fff; }

.lang-select { background: rgba(255,255,255,.1); color: #fff; border: 1px solid rgba(255,255,255,.25); border-radius: 6px; padding: 5px 8px; font-size: .78rem; max-width: 170px; }
.lang-select option { color: #111; }

.hamburger { display: none; background: none; border: none; color: #fff; font-size: 1.25rem; cursor: pointer; padding: 6px; }
.mob-menu { display: none; background: rgba(0,0,0,.25); padding: 8px 0; }
.mob-menu a { display: block; color: #d3ddf2; text-decoration: none; padding: 12px 24px; font-size: .9rem; border-bottom: 1px solid rgba(255,255,255,.06); }
.mob-menu a:hover { background: rgba(255,255,255,.05); color: #fff; }
.mob-menu.open { display: block; }
@media (max-width: 768px) { .nav-links { display: none; } .hamburger { display: block; } }

/* ── HERO ── */
header.hero { background: linear-gradient(135deg, var(--accent-deep) 0%, var(--accent) 100%); padding: 44px 20px 34px; text-align: center; color: #fff; }
.hero-badge { display: inline-block; background: rgba(255,255,255,.15); border: 1px solid rgba(255,255,255,.28); border-radius: 20px; font-size: .72rem; font-weight: 700; letter-spacing: .08em; text-transform: uppercase; padding: 4px 14px; color: #fff; margin-bottom: 16px; }
header.hero h1 { font-size: clamp(1.5rem, 4vw, 2.4rem); font-weight: 800; letter-spacing: -.5px; line-height: 1.2; }
.hero-alt { color: rgba(255,255,255,.82); font-size: .95rem; max-width: 620px; margin: 10px auto 0; }

/* ── STAT ŞERİDİ ── */
.stat-serit { background: var(--accent-deep); color: #fff; display: flex; justify-content: center; flex-wrap: wrap; }
.stat-item { padding: 14px 32px; text-align: center; border-right: 1px solid rgba(255,255,255,.12); }
.stat-item:last-child { border-right: none; }
.stat-n { font-size: 1.4rem; font-weight: 800; color: var(--accent-mid); line-height: 1; }
.stat-l { font-size: .65rem; text-transform: uppercase; letter-spacing: .08em; color: rgba(255,255,255,.6); margin-top: 2px; }
@media (max-width: 768px) { .stat-item { padding: 10px 16px; } }

/* ── ANA İÇERİK ── */
.main { max-width: 1200px; margin: 0 auto; padding: 20px 20px 60px; }
.crumbs { font-size: .82rem; color: var(--muted); padding: 4px 0 14px; line-height: 1.6; word-break: break-word; }
.crumbs a { color: var(--muted); }
.crumbs a:hover { color: var(--accent); }

.page-title { font-size: clamp(1.5rem, 3vw, 2rem); font-weight: 800; letter-spacing: -.4px; margin: 6px 0 8px; }
.page-lead { font-size: 1rem; color: var(--muted); max-width: 80ch; margin-bottom: 20px; }

section { margin-bottom: 32px; }
.section-header { display: flex; align-items: center; justify-content: space-between; margin-bottom: 14px; padding-bottom: 10px; border-bottom: 2px solid var(--border); flex-wrap: wrap; gap: 8px; }
.section-title-h { display: flex; align-items: center; gap: 10px; font-size: 1.05rem; font-weight: 800; color: var(--text); }
.section-dot { width: 10px; height: 10px; border-radius: 50%; background: var(--accent); flex-shrink: 0; }
.see-all { font-size: .78rem; color: var(--accent); font-weight: 600; white-space: nowrap; }
.see-all:hover { text-decoration: underline; }

/* ── KATEGORİ / KONU KARTLARI ── */
.kartlar { display: grid; grid-template-columns: repeat(auto-fill, minmax(280px, 1fr)); gap: 14px; }
.kart { background: var(--surface); border: 1px solid var(--border); border-radius: var(--radius); padding: 18px; display: flex; flex-direction: column; border-left: 3px solid var(--accent); transition: box-shadow .15s, transform .15s; }
.kart:hover { box-shadow: 0 6px 18px rgba(15,31,78,.10); transform: translateY(-2px); }
.kart h3, .kart h2 { font-size: 1.05rem; margin-bottom: 6px; }
.kart h3 a, .kart h2 a { color: var(--text); }
.kart:hover h3 a, .kart:hover h2 a { color: var(--accent); }
.kart p { font-size: .85rem; color: var(--muted); flex: 1; margin-bottom: 12px; line-height: 1.55; }
.kart .alt { display: flex; justify-content: space-between; align-items: center; flex-wrap: wrap; gap: 8px; }
.rozet { background: var(--accent-soft); color: var(--accent); padding: 3px 11px; border-radius: 999px; font-size: .72rem; font-weight: 700; }
.detay { color: var(--accent); font-weight: 600; font-size: .82rem; }
.detay:hover { text-decoration: underline; }

/* ── KAYNAK (dış link) LİSTESİ ── */
.gazete-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(250px, 1fr)); gap: 10px; }
.gazete-kart { background: var(--surface); border: 1px solid var(--border); border-radius: 12px; border-left: 4px solid var(--accent); transition: box-shadow .2s, transform .2s; }
.gazete-kart:hover { box-shadow: 0 8px 24px rgba(15,31,78,.12); transform: translateY(-2px); }
.gazete-link { display: flex; align-items: center; gap: 12px; padding: 13px 15px; text-decoration: none; }
.gazete-isim { flex: 1; font-weight: 700; color: var(--accent); font-size: .9rem; line-height: 1.4; }
.gazete-arrow { color: #cbd5e1; font-size: .72rem; }
.gazete-kart:hover .gazete-arrow { color: var(--accent); }

/* ── EDİTÖRYAL MAKALE KARTI + İMZA ── */
.makale-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(320px, 1fr)); gap: 20px; }
.makale-kart { position: relative; background: var(--surface); border: 1px solid var(--border); border-radius: 14px; padding: 24px 22px 22px; overflow: hidden; }
.makale-kart::before { content: ""; position: absolute; top: 0; left: 0; right: 0; height: 4px; background: linear-gradient(90deg, var(--accent), var(--accent-mid)); }
.makale-etiket { display: inline-flex; align-items: center; gap: 5px; font-size: .66rem; font-weight: 800; text-transform: uppercase; letter-spacing: .07em; color: var(--accent); background: var(--accent-soft); padding: 4px 11px; border-radius: 999px; margin-bottom: 12px; }
.makale-kart h2, .makale-kart h3 { font-size: 1.1rem; font-weight: 800; color: var(--text); margin-bottom: 14px; line-height: 1.38; }
.makale-byline { display: flex; align-items: center; gap: 9px; margin-bottom: 14px; padding-bottom: 14px; border-bottom: 1px solid var(--border); }
.yazar-avatar { flex-shrink: 0; width: 32px; height: 32px; border-radius: 50%; background: var(--accent); color: #fff; font-size: .7rem; font-weight: 800; display: flex; align-items: center; justify-content: center; }
.makale-byline-metin { font-size: .72rem; color: var(--muted); line-height: 1.4; }
.makale-byline-metin .yazar-adi { display: block; font-weight: 700; color: var(--accent); font-size: .8rem; margin-bottom: 1px; }
.makale-byline-metin .yazar-rol { color: var(--muted); font-weight: 600; }
.makale-byline-metin .ayrac { color: #cbd5e1; margin: 0 5px; }
.makale-kart p { font-size: .9rem; color: var(--text); line-height: 1.75; margin-bottom: 12px; }
.makale-kart p:last-of-type { margin-bottom: 0; }

/* Makale DETAY sayfası gövdesi */
.makale-govde { background: var(--surface); border: 1px solid var(--border); border-radius: 14px; padding: 30px 32px; }
.makale-govde h2 { font-size: 1.25rem; font-weight: 800; color: var(--accent-deep); margin: 26px 0 12px; padding-bottom: 8px; border-bottom: 2px solid var(--border); }
.makale-govde h2:first-of-type { margin-top: 6px; }
.makale-govde p { color: var(--text); line-height: 1.8; margin-bottom: 12px; max-width: 78ch; }
.makale-govde ul { list-style: none; margin: 6px 0 14px; }
.makale-govde li { position: relative; padding-left: 20px; margin: 6px 0; color: var(--text); }
.makale-govde li::before { content: ""; position: absolute; left: 4px; top: 9px; width: 6px; height: 6px; border-radius: 50%; background: var(--accent); }
.editor-notu { background: var(--accent-soft); border: 1px solid var(--border); border-left: 4px solid var(--accent); border-radius: 8px; padding: 12px 16px; margin-top: 20px; font-size: .8rem; color: var(--accent-deep); }

/* ── SSS ── */
.sss details { border: 1px solid var(--border); border-radius: 8px; margin-bottom: 10px; background: var(--surface); }
.sss summary { cursor: pointer; padding: 15px 16px; font-weight: 600; list-style: none; }
.sss summary::after { content: '+'; float: right; color: var(--accent); font-size: 1.2rem; }
.sss details[open] summary::after { content: '−'; }
.sss details p { padding: 0 16px 15px; color: var(--muted); }

/* ── FOOTER ── */
footer { background: var(--accent-deep); color: rgba(255,255,255,.62); padding: 40px 20px 24px; margin-top: 24px; }
footer .grid { max-width: 1200px; margin: 0 auto; display: grid; grid-template-columns: repeat(auto-fit, minmax(220px, 1fr)); gap: 32px; }
footer h3 { color: #fff; margin-bottom: 12px; font-size: .9rem; font-weight: 700; }
footer p { font-size: .82rem; line-height: 1.6; }
footer a { color: rgba(255,255,255,.62); text-decoration: none; display: block; font-size: .82rem; margin-bottom: 6px; }
footer a:hover { color: #fff; }
footer ul { list-style: none; }
.footer-social { display: flex; gap: 8px; margin-top: 6px; }
.footer-social a { display: inline-flex; align-items: center; justify-content: center; width: 34px; height: 34px; background: rgba(255,255,255,.1); border-radius: 8px; color: #fff; margin: 0; transition: background .15s; }
.footer-social a:hover { background: var(--accent); }
.telif { max-width: 1200px; margin: 28px auto 0; padding-top: 20px; border-top: 1px solid rgba(255,255,255,.12); text-align: center; font-size: .78rem; color: rgba(255,255,255,.5); }
.telif a { color: rgba(255,255,255,.5); display: inline; margin: 0 6px; }
.telif a:hover { color: #fff; }

/* ── RTL ── */
[dir="rtl"] .kart { border-left: none; border-right: 3px solid var(--accent); }
[dir="rtl"] .gazete-kart { border-left: none; border-right: 4px solid var(--accent); }
[dir="rtl"] .makale-govde li { padding-left: 0; padding-right: 20px; }
[dir="rtl"] .makale-govde li::before { left: auto; right: 4px; }
[dir="rtl"] .sss summary::after { float: left; }

/* ── RESPONSIVE ── */
@media (max-width: 600px) {
  .main { padding-left: 12px; padding-right: 12px; }
  section { margin-bottom: 22px; }
  .kartlar { grid-template-columns: 1fr; }
  .makale-grid { grid-template-columns: 1fr; }
  .makale-govde { padding: 20px 18px; }
  footer .grid { grid-template-columns: 1fr; gap: 22px; text-align: center; }
  .footer-social { justify-content: center; }
}
