/* =============================================================================
   WIKI — statik sayfa biçimleri
   main.css'teki değişkenleri ve navbar'ı miras alır; burada yalnızca statik
   üreticinin ürettiği sayfalara ait bloklar tanımlıdır.
   ============================================================================= */

body.wiki {
  background: var(--bg-primary);
  color: var(--text-primary);
  font-family: 'Poppins', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
  margin: 0;
}

.w-ana { padding: 28px 0 64px; }
.w-sar { width: 100%; max-width: var(--container-max, 1320px); margin: 0 auto; padding-inline: 20px; box-sizing: border-box; }

/* ----------------------------------------------------------------- kırıntı */
.w-kirinti {
  font-size: 13px; color: var(--text-tertiary);
  display: flex; flex-wrap: wrap; align-items: center; gap: 6px;
  margin-bottom: 18px;
}
.w-kirinti a { color: var(--text-secondary); text-decoration: none; }
.w-kirinti a:hover { color: var(--accent-blue); text-decoration: underline; }
.w-kirinti i { font-style: normal; opacity: .45; }

/* ----------------------------------------------------------------- başlık */
.w-bas {
  background: var(--bg-card);
  border: 1px solid var(--border-subtle);
  border-left: 3px solid var(--accent-blue);
  padding: 26px 28px;
  margin-bottom: 22px;
}
.w-bas h1 {
  font-family: 'Montserrat', sans-serif; font-weight: 800;
  font-size: clamp(24px, 3.6vw, 38px); line-height: 1.15;
  margin: 0 0 10px; letter-spacing: -.5px; text-transform: uppercase;
}
.w-bas--genis h1 { text-transform: none; }
.w-ust { margin: 0 0 8px; font-size: 13px; letter-spacing: .08em; text-transform: uppercase; }
.w-ust a { color: var(--accent-blue); text-decoration: none; font-weight: 600; }
.w-ust a:hover { text-decoration: underline; }
.w-ozet { margin: 0; font-size: 16px; line-height: 1.7; color: var(--text-secondary); max-width: 78ch; }

.w-etiketler { display: flex; flex-wrap: wrap; gap: 8px; margin: 14px 0 0; }
.w-etiketler span {
  font-size: 11.5px; font-weight: 600; letter-spacing: .06em; text-transform: uppercase;
  background: var(--bg-elevated); border: 1px solid var(--border-subtle);
  color: var(--text-secondary); padding: 5px 11px;
}
.w-etiketler .w-aktif { background: rgba(0,230,118,.10); border-color: rgba(0,230,118,.35); color: #00994F; }
.w-etiketler .w-pasif { background: rgba(255,109,0,.10); border-color: rgba(255,109,0,.32); color: #B24B00; }

/* ----------------------------------------------------------------- blok */
.w-blok {
  background: var(--bg-card);
  border: 1px solid var(--border-subtle);
  padding: 24px 28px;
  margin-bottom: 18px;
}
.w-blok h2 {
  font-family: 'Montserrat', sans-serif; font-weight: 800;
  font-size: 19px; margin: 0 0 14px; letter-spacing: -.2px;
}
.w-blok h3 {
  font-size: 15.5px; font-weight: 700; margin: 22px 0 10px;
  padding-bottom: 8px; border-bottom: 1px solid var(--border-subtle);
}
.w-blok h3:first-child { margin-top: 0; }
.w-blok p { margin: 0 0 12px; font-size: 15.5px; line-height: 1.75; color: var(--text-secondary); max-width: 80ch; }
.w-blok p:last-child { margin-bottom: 0; }
.w-blok a { color: var(--accent-blue); }

.w-uyari {
  background: var(--accent-blue-glow);
  border-left: 3px solid var(--accent-blue);
  padding: 13px 16px; font-size: 14.5px !important; line-height: 1.65 !important;
}

/* ----------------------------------------------------------------- tablo */
.w-tablo { width: 100%; border-collapse: collapse; font-size: 15px; }
.w-tablo th, .w-tablo td { padding: 11px 14px; border-bottom: 1px solid var(--border-subtle); text-align: left; vertical-align: top; }
.w-tablo th { width: 240px; font-weight: 600; color: var(--text-secondary); background: var(--bg-elevated); }
.w-tablo tr:last-child th, .w-tablo tr:last-child td { border-bottom: 0; }

/* ----------------------------------------------------------------- listeler */
.w-liste { margin: 0; padding: 0; list-style: none; }
.w-liste li {
  padding: 9px 0; border-bottom: 1px solid var(--border-subtle);
  font-size: 15px; line-height: 1.6; color: var(--text-secondary);
}
.w-liste li:last-child { border-bottom: 0; }
.w-liste a { font-weight: 600; text-decoration: none; }
.w-liste a:hover { text-decoration: underline; }
.w-liste--iki { display: grid; grid-template-columns: repeat(auto-fit, minmax(260px, 1fr)); gap: 0 26px; }

/* ----------------------------------------------------------------- kutular */
.w-kutular { display: grid; grid-template-columns: repeat(auto-fill, minmax(208px, 1fr)); gap: 12px; }
.w-kutu {
  display: block; text-decoration: none; padding: 14px 16px;
  background: var(--bg-elevated); border: 1px solid var(--border-subtle);
  transition: border-color .15s, box-shadow .15s, transform .15s;
}
.w-kutu:hover { border-color: var(--accent-blue); box-shadow: var(--neon-blue); transform: translateY(-1px); }
.w-kutu b { display: block; font-size: 14.5px; color: var(--text-primary); line-height: 1.3; }
.w-kutu span { display: block; font-size: 12.5px; color: var(--text-tertiary); margin-top: 3px; }

/* ----------------------------------------------------------------- çağrı */
.w-cta {
  background: linear-gradient(135deg, #0B2A4A 0%, #123A63 100%);
  color: #fff; padding: 28px; margin-top: 22px;
}
.w-cta h2 { font-family: 'Montserrat', sans-serif; font-weight: 800; font-size: 20px; margin: 0 0 10px; color: #fff; }
.w-cta p { margin: 0 0 14px; font-size: 15.5px; line-height: 1.7; color: #C3D8EC; max-width: 74ch; }
.w-cta-btn { display: flex; flex-wrap: wrap; gap: 10px; margin: 0; }
.w-cta-btn a {
  display: inline-block; padding: 11px 20px; font-weight: 700; font-size: 15px;
  text-decoration: none; background: #fff; color: #0B2A4A;
}
.w-cta-btn a + a { background: transparent; color: #fff; border: 1px solid rgba(255,255,255,.4); }
.w-cta-btn a:hover { opacity: .9; }

/* ----------------------------------------------------------------- alt */
.w-alt { background: #0F1419; color: #8899A6; padding: 30px 0; margin-top: 40px; }
.w-alt p { margin: 0 0 8px; font-size: 14px; line-height: 1.7; }
.w-alt strong { color: #fff; }
.w-alt a { color: #4DA3FF; }
.w-alt-not { font-size: 12.5px !important; opacity: .8; max-width: 82ch; }

/* ----------------------------------------------------------------- dar ekran */
@media (max-width: 720px) {
  .w-ana { padding-top: 18px; }
  .w-sar { padding-inline: 14px; }
  .w-bas, .w-blok { padding: 18px 16px; }
  .w-cta { padding: 20px 16px; }
  .w-tablo th { width: 42%; }
  .w-tablo th, .w-tablo td { padding: 9px 10px; font-size: 14px; }
  .w-kutular { grid-template-columns: repeat(auto-fill, minmax(150px, 1fr)); gap: 8px; }
  .w-cta-btn a { flex: 1 1 100%; text-align: center; }
}
