/*
Theme Name: Muhasebe Rehberi Dark
Theme URI: https://muhaseberehberi.com.tr/
Author: Muhasebe Rehberi
Description: Muhasebe, vergi, SGK ve mevzuat içerikleri için koyu, erişilebilir ve içerik odaklı tema.
Version: 0.9.9
Requires at least: 6.4
Requires PHP: 7.4
Text Domain: muhasebe-rehberi-dark
*/

/* ==========================================================================
   MUHASEBE REHBERİ — KOYU TEMA TASARIM SİSTEMİ & STİLLERİ (TUR 2)
   Sade, Profesyonel, İçerik Odaklı ve Mobil Uyumlu Koyu Tema
   Sıfır Dış Bağımlılık (Sistem Font Yığını)
   ========================================================================== */

/* --- 1. TASARIM DEĞİŞKENLERİ (CSS TOKENS) --- */
:root {
  /* Renk Paleti - Ana Zemin ve Yüzeyler (Göz yormayan kömür/lacivert-siyah) */
  --bg-canvas: #070A0E;        /* Derin taban zemin */
  --bg-main: #0B0F14;          /* Ana gövde arka planı */
  --bg-surface: #121821;       /* Kart, menü ve form arka planları */
  --bg-surface-hover: #18202B; /* Hover ve vurgulu yüzeyler */
  --bg-surface-active: #202B3A;/* Aktif seçimler */
  --bg-elevated: #161F2C;      /* Çekmece ve açılır menüler */

  /* Tipografi Renkleri (Göz yormayan, yüksek kontrastlı - WCAG AA) */
  --text-primary: #F1F5F9;     /* Kırık beyaz - Ana okuma metni (parlamayan) */
  --text-secondary: #A0AEC0;   /* İkincil metinler - Kart açıklamaları ve özetler (okunaklı, açılmış) */
  --text-muted: #79889E;       /* Nötr gri - Yalnızca tarih, teknik meta ve üçüncül bilgiler */
  --text-inverse: #0B0F14;     /* Koyu zemin metni */

  /* Kontrollü Vurgu Renkleri (Sınırlı ve ölçülü kullanım) */
  --accent-gold: #E5B842;      /* Prestij altını - Ölçülü başlık/kelime vurgusu */
  --accent-gold-soft: rgba(229, 184, 66, 0.10);
  --accent-gold-border: rgba(229, 184, 66, 0.35);

  --accent-blue: #38BDF8;      /* Güven mavisi - Linkler ve etkileşim */
  --accent-blue-hover: #0EA5E9;
  --accent-blue-soft: rgba(56, 189, 248, 0.10);
  --accent-blue-border: rgba(56, 189, 248, 0.35);

  /* Durum ve Uyarı Renkleri (Hukuki/Mevzuat Bildirimleri) */
  --status-success: #10B981;
  --status-success-bg: rgba(16, 185, 129, 0.10);
  --status-success-border: rgba(16, 185, 129, 0.30);

  --status-warning: #F59E0B;
  --status-warning-bg: rgba(245, 158, 11, 0.10);
  --status-warning-border: rgba(245, 158, 11, 0.30);

  --status-danger: #EF4444;
  --status-danger-bg: rgba(239, 68, 68, 0.10);
  --status-danger-border: rgba(239, 68, 68, 0.30);

  --status-info: #0284C7;
  --status-info-bg: rgba(2, 132, 199, 0.10);
  --status-info-border: rgba(2, 132, 199, 0.30);

  /* Kenarlıklar (Düşük kontrastlı, ince çizgiler) */
  --border-subtle: #1E293B;
  --border-medium: #2B384E;
  --border-focus: #38BDF8;

  /* Tipografi - Sıfır Dış Bağımlılık: Yerel Sistem Fontları */
  --font-sans: system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
  --font-mono: ui-monospace, "Cascadia Mono", "Segoe UI Mono", Consolas, "SF Mono", Monaco, monospace;

  /* Hiyerarşi & Düzen */
  --container-max: 1180px;
  --container-narrow: 800px;
  --header-height: 64px;
  --radius-sm: 4px;
  --radius-md: 8px;
  --radius-lg: 12px;
  --transition: all 0.18s ease-in-out;
  --shadow-card: 0 4px 16px rgba(0, 0, 0, 0.35);
}

/* --- 2. TEMEL SIFIRLAMA & TAŞMA KORUMASI --- */
*, *::before, *::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html {
  font-size: 16px;
  scroll-behavior: smooth;
  -webkit-text-size-adjust: 100%;
  overflow-x: hidden;
}

body {
  background-color: var(--bg-main);
  color: var(--text-primary);
  font-family: var(--font-sans);
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  min-height: 100vh;
  display: flex;
  overflow-x: hidden;
  flex-direction: column;
}

img, svg, video {
  max-width: 100%;
  height: auto;
  display: block;
}

a {
  color: inherit;
  text-decoration: none;
  transition: var(--transition);
}

ul, ol {
  list-style: none;
}

button, input, select, textarea {
  font-family: inherit;
  font-size: inherit;
  color: inherit;
  border-radius: 0;
}

/* Odaklanma Erişilebilirliği (WCAG 2.1 AA) */
:focus-visible {
  outline: 2px solid var(--border-focus);
  outline-offset: 2px;
}

.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

/* --- 3. DÜZEN VE KONTEYNERLER --- */
.container {
  width: 100%;
  max-width: var(--container-max);
  margin: 0 auto;
  padding: 0 1.25rem;
  min-width: 0;
}

.container-narrow {
  width: 100%;
  max-width: var(--container-narrow);
  margin: 0 auto;
  padding: 0 1.25rem;
  min-width: 0;
}

.site-main {
  flex: 1 0 auto;
  width: 100%;
  min-width: 0;
}

/* --- 4. ÜST BİLGİ (HEADER) & SADE WORDMARK --- */
.site-header {
  background-color: rgba(18, 24, 33, 0.96);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  border-bottom: 1px solid var(--border-subtle);
  position: sticky;
  top: 0;
  z-index: 100;
  height: var(--header-height);
  display: flex;
  align-items: center;
  width: 100%;
  min-width: 0;
}

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  width: 100%;
  min-width: 0;
}

/* Tipografik Wordmark (Amblemsiz ve Emojisiz) */
.brand {
  display: inline-flex;
  flex-direction: column;
  justify-content: center;
  min-height: 44px;
  text-decoration: none;
  flex-shrink: 0;
  min-width: 0;
}

.brand-title {
  font-size: 1.15rem;
  font-weight: 800;
  letter-spacing: -0.01em;
  color: var(--text-primary);
  line-height: 1.15;
}

.brand-title .brand-accent {
  color: var(--accent-gold);
}

.brand-tagline {
  font-size: 0.72rem;
  color: var(--text-muted);
  font-weight: 500;
  letter-spacing: 0.02em;
  line-height: 1.2;
  margin-top: 2px;
}

@media (max-width: 480px) {
  .brand-tagline {
    display: none; /* Mobilde dikey alan tasarrufu */
  }
}

/* Masaüstü Navigasyon */
.nav-desktop {
  display: none;
}

@media (min-width: 992px) {
  .nav-desktop {
    display: flex;
    align-items: center;
    gap: 0.35rem;
  }

  .nav-link {
    padding: 0.45rem 0.8rem;
    font-size: 0.9rem;
    font-weight: 500;
    color: #CBD5E1;
    border-radius: var(--radius-sm);
    transition: var(--transition);
    min-height: 40px;
    display: inline-flex;
    align-items: center;
    border-bottom: 2px solid transparent;
  }

  .nav-link:hover {
    color: #F8FAFC;
    background-color: var(--bg-surface-hover);
  }

  .nav-link.active {
    color: #F1F5F9;
    background-color: rgba(229, 184, 66, 0.08);
    border-bottom-color: var(--accent-gold);
    font-weight: 600;
  }
}

/* Üst Eylemler */
.header-actions {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  flex-shrink: 0;
}

/* Erişilebilir Arama Butonu */
.quick-search-btn {
  background-color: var(--bg-surface);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-sm);
  padding: 0.45rem 0.85rem;
  color: var(--text-secondary);
  font-size: 0.84rem;
  display: none;
  align-items: center;
  gap: 0.65rem;
  cursor: pointer;
  transition: var(--transition);
  min-height: 40px;
}

@media (min-width: 768px) {
  .quick-search-btn {
    display: inline-flex;
  }
}

.quick-search-btn:hover {
  border-color: var(--border-medium);
  background-color: var(--bg-surface-hover);
  color: var(--text-primary);
}

.quick-search-btn kbd {
  font-family: var(--font-mono);
  font-size: 0.68rem;
  background-color: var(--bg-main);
  border: 1px solid var(--border-medium);
  border-radius: 3px;
  padding: 1px 5px;
  color: var(--text-muted);
}

/* Mobil Menü Butonu (Min 44x44px dokunma hedefi & Rafine Çizgiler) */
.mobile-menu-toggle {
  background-color: var(--bg-surface);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-sm);
  width: 44px;
  height: 44px;
  min-width: 44px;
  min-height: 44px;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 4px;
  cursor: pointer;
  padding: 0;
  color: var(--text-primary);
  transition: var(--transition);
}

.mobile-menu-toggle:hover {
  background-color: var(--bg-surface-hover);
  border-color: var(--border-medium);
}

.mobile-menu-toggle span {
  display: block;
  width: 18px;
  height: 1.75px;
  background-color: var(--text-primary);
  border-radius: 1px;
  transition: var(--transition);
}

@media (min-width: 992px) {
  .mobile-menu-toggle {
    display: none;
  }
}

/* Mobil Çekmece Menü (Drawer) & Erişilebilirlik */
.mobile-nav-overlay {
  position: fixed;
  inset: 0;
  background-color: rgba(7, 10, 14, 0.8);
  backdrop-filter: blur(4px);
  z-index: 998;
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.2s ease, visibility 0.2s ease;
}

.mobile-nav-overlay.open {
  opacity: 1;
  visibility: visible;
}

.mobile-nav-drawer {
  position: fixed;
  top: 0;
  right: 0;
  width: 290px;
  max-width: 85vw;
  height: 100vh;
  background-color: var(--bg-surface);
  border-left: 1px solid var(--border-subtle);
  z-index: 999;
  padding: 1.25rem;
  display: flex;
  flex-direction: column;
  transform: translateX(105%);
  transition: transform 0.25s ease-out;
  overflow-y: auto;
  box-sizing: border-box;
}

.mobile-nav-drawer.open {
  transform: translateX(0);
}

.mobile-drawer-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 1.25rem;
  padding-bottom: 0.75rem;
  border-bottom: 1px solid var(--border-subtle);
}

.close-drawer-btn {
  background: none;
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-sm);
  color: var(--text-secondary);
  font-size: 1.5rem;
  cursor: pointer;
  line-height: 1;
  width: 44px;
  height: 44px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.close-drawer-btn:hover {
  color: var(--text-primary);
  border-color: var(--border-medium);
}

.mobile-nav-links {
  display: flex;
  flex-direction: column;
  gap: 0.35rem;
}

.mobile-nav-link {
  padding: 0.75rem 0.85rem;
  font-size: 0.95rem;
  font-weight: 500;
  color: var(--text-secondary);
  border-radius: var(--radius-sm);
  display: flex;
  align-items: center;
  justify-content: space-between;
  min-height: 44px;
}

.mobile-nav-link:hover, .mobile-nav-link.active {
  color: var(--text-primary);
  background-color: var(--bg-surface-hover);
}

.mobile-nav-link.active {
  color: var(--accent-gold);
  font-weight: 600;
  border-left: 3px solid var(--accent-gold);
}

.mobile-search-form {
  margin-bottom: 1.25rem;
}

.mobile-search-input {
  width: 100%;
  max-width: 100%;
  min-width: 0;
  box-sizing: border-box;
  background-color: var(--bg-main);
  border: 1px solid var(--border-medium);
  border-radius: var(--radius-sm);
  padding: 0.65rem 0.85rem;
  color: var(--text-primary);
  font-size: 0.9rem;
  min-height: 44px;
}

/* --- 5. TİPOGRAFİ & BAŞLIKLAR --- */
h1, h2, h3, h4, h5, h6 {
  color: var(--text-primary);
  font-weight: 700;
  line-height: 1.3;
  letter-spacing: -0.015em;
  overflow-wrap: break-word;
  word-break: break-word;
}

.section-header {
  margin-bottom: 1.5rem;
  display: flex;
  flex-direction: column;
  gap: 0.3rem;
  min-width: 0;
}

@media (min-width: 768px) {
  .section-header-row {
    flex-direction: row;
    align-items: flex-end;
    justify-content: space-between;
    gap: 1rem;
  }
}

.section-kicker {
  font-size: 0.75rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  color: var(--accent-gold);
  display: inline-block;
}

.section-title {
  font-size: 1.35rem;
  font-weight: 700;
  letter-spacing: -0.015em;
}

@media (min-width: 768px) {
  .section-title {
    font-size: 1.55rem;
  }
}

.section-subtitle {
  color: var(--text-secondary);
  font-size: 0.9rem;
  max-width: 600px;
}

.section-action-link {
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
  font-size: 0.85rem;
  font-weight: 600;
  color: var(--accent-blue);
  min-height: 44px;
}

.section-action-link:hover {
  color: var(--accent-blue-hover);
  text-decoration: underline;
}

/* Sade Rozetler (Aşırı süsten arındırılmış) */
.badge {
  display: inline-flex;
  align-items: center;
  padding: 0.2rem 0.55rem;
  border-radius: var(--radius-sm);
  font-size: 0.72rem;
  font-weight: 600;
  line-height: 1.2;
}

.badge-gold {
  background-color: var(--accent-gold-soft);
  color: var(--accent-gold);
  border: 1px solid var(--accent-gold-border);
}

.badge-teal, .badge-blue {
  background-color: var(--accent-blue-soft);
  color: var(--accent-blue);
  border: 1px solid var(--accent-blue-border);
}

.badge-muted {
  background-color: var(--bg-surface-hover);
  color: var(--text-secondary);
  border: 1px solid var(--border-subtle);
}

/* --- 6. SADELEŞTİRİLMİŞ HERO/GİRİŞ ALANI --- */
.hero-wrapper {
  background-color: var(--bg-surface);
  border-bottom: 1px solid var(--border-subtle);
  padding: 2.25rem 0 1.85rem;
  width: 100%;
  min-width: 0;
}

@media (min-width: 768px) {
  .hero-wrapper {
    padding: 3.5rem 0 2.85rem;
  }
}

.hero-content {
  text-align: center;
  max-width: 720px;
  margin: 0 auto;
  min-width: 0;
}

.hero-heading {
  font-size: 1.55rem;
  font-weight: 700;
  line-height: 1.25;
  letter-spacing: -0.02em;
  margin-bottom: 0.65rem;
  color: var(--text-primary);
}

@media (min-width: 768px) {
  .hero-heading {
    font-size: 2.15rem;
    margin-bottom: 0.75rem;
  }
}

.hero-desc {
  font-size: 0.95rem;
  color: var(--text-secondary);
  line-height: 1.55;
  margin-bottom: 1.35rem;
  max-width: 580px;
  margin-left: auto;
  margin-right: auto;
}

@media (min-width: 768px) {
  .hero-desc {
    font-size: 1.05rem;
    margin-bottom: 1.5rem;
  }
}

/* Hero Arama Kutusu (Ana İşlev - 360px Dengeli Sığma) */
.hero-search-form {
  max-width: 540px;
  margin: 0 auto 1.15rem;
  display: flex;
  gap: 0.45rem;
  width: 100%;
  min-width: 0;
}

.hero-search-input {
  flex: 1;
  min-width: 0;
  width: 100%;
  padding: 0.75rem 0.85rem;
  font-size: 0.92rem;
  background-color: var(--bg-main);
  border: 1px solid var(--border-medium);
  border-radius: var(--radius-sm);
  color: var(--text-primary);
  min-height: 46px;
  box-sizing: border-box;
}

@media (min-width: 640px) {
  .hero-search-input {
    padding: 0.75rem 1rem;
    font-size: 0.95rem;
  }
}

.hero-search-input:focus {
  border-color: var(--accent-blue);
  background-color: var(--bg-surface-hover);
  outline: none;
}

.hero-search-submit {
  background-color: var(--bg-surface-hover);
  border: 1px solid var(--border-medium);
  border-radius: var(--radius-sm);
  color: var(--text-primary);
  padding: 0.75rem 1.1rem;
  font-weight: 600;
  font-size: 0.88rem;
  cursor: pointer;
  transition: var(--transition);
  min-height: 46px;
  flex-shrink: 0;
}

@media (min-width: 640px) {
  .hero-search-submit {
    padding: 0.75rem 1.25rem;
    font-size: 0.9rem;
  }
}

.hero-search-submit:hover {
  background-color: var(--accent-blue-soft);
  border-color: var(--accent-blue);
  color: var(--accent-blue);
}

/* En Fazla 4 Gündem Bağlantısı (Ortalanmış ve Dengeli) */
.hero-agenda-links {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: center;
  gap: 0.45rem;
  font-size: 0.82rem;
  text-align: center;
}

.hero-agenda-label {
  color: var(--text-muted);
  font-weight: 500;
  margin-right: 0.25rem;
}

.hero-agenda-item {
  background-color: var(--bg-main);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-sm);
  padding: 0.45rem 0.75rem;
  color: var(--text-secondary);
  transition: var(--transition);
  min-height: 44px;
  display: inline-flex;
  align-items: center;
}

.hero-agenda-item:hover {
  color: var(--accent-blue);
  border-color: var(--border-medium);
}

/* --- 7. MEVZUAT BİLDİRİM & GÜNCEL GELİŞMELER BÖLÜMÜ --- */
.legislation-section {
  padding: 2.5rem 0;
  border-bottom: 1px solid var(--border-subtle);
  width: 100%;
  min-width: 0;
}

@media (min-width: 768px) {
  .legislation-section {
    padding: 3.75rem 0;
  }
}

.legislation-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 1.15rem;
  width: 100%;
  min-width: 0;
}

@media (min-width: 640px) {
  .legislation-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (min-width: 1024px) {
  .legislation-grid {
    grid-template-columns: repeat(4, 1fr);
  }
}

.legislation-card {
  background-color: var(--bg-surface);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-sm);
  padding: 1.25rem;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  transition: transform 0.18s ease, border-color 0.18s ease, background-color 0.18s ease, box-shadow 0.18s ease;
  position: relative;
  min-width: 0;
}

.legislation-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 3px;
  height: 100%;
  background-color: var(--border-medium);
}

.legislation-card:hover {
  background-color: var(--bg-surface-hover);
  border-color: var(--border-medium);
  transform: translateY(-2px);
  box-shadow: 0 4px 14px rgba(0, 0, 0, 0.22);
}

.legislation-card.featured::before {
  background-color: var(--accent-gold);
}

.legislation-meta-top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 0.5rem;
  margin-bottom: 0.65rem;
  font-size: 0.78rem;
}

.legislation-date {
  color: var(--text-muted);
  font-family: var(--font-mono);
  font-size: 0.78rem;
}

.legislation-title {
  font-size: 0.98rem;
  font-weight: 700;
  line-height: 1.35;
  margin-bottom: 0.55rem;
  color: var(--text-primary);
}

.legislation-title a:hover {
  color: var(--accent-blue);
}

.legislation-summary {
  font-size: 0.9rem;
  color: var(--text-secondary);
  line-height: 1.55;
  margin-bottom: 0.85rem;
  flex-grow: 1;
}

.legislation-footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-top: auto;
  padding-top: 0.75rem;
  border-top: 1px solid var(--border-subtle);
  font-size: 0.78rem;
  color: var(--text-muted);
  min-height: 44px;
}

.legislation-source {
  font-weight: 500;
  color: var(--text-secondary);
}

/* --- 8. MAKALE KARTLARI & İÇERİK BÖLÜMLERİ --- */
.content-section {
  padding: 2.5rem 0;
  border-bottom: 1px solid var(--border-subtle);
  width: 100%;
  min-width: 0;
}

@media (min-width: 768px) {
  .content-section {
    padding: 3.75rem 0;
  }
}

.article-grid-3 {
  display: grid;
  grid-template-columns: 1fr;
  gap: 1.25rem;
  width: 100%;
  min-width: 0;
}

@media (min-width: 640px) {
  .article-grid-3 {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (min-width: 1024px) {
  .article-grid-3 {
    grid-template-columns: repeat(3, 1fr);
  }
}

.article-card {
  background-color: var(--bg-surface);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-sm);
  padding: 1.25rem;
  display: flex;
  flex-direction: column;
  transition: transform 0.18s ease, border-color 0.18s ease, background-color 0.18s ease, box-shadow 0.18s ease;
  min-width: 0;
}

.article-card:hover {
  background-color: var(--bg-surface-hover);
  border-color: var(--border-medium);
  transform: translateY(-2px);
  box-shadow: 0 4px 14px rgba(0, 0, 0, 0.22);
}

.article-card-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 0.5rem;
  margin-bottom: 0.65rem;
}

.article-card-title {
  font-size: 1.05rem;
  font-weight: 700;
  line-height: 1.35;
  margin-bottom: 0.6rem;
  color: var(--text-primary);
}

.article-card-title a:hover {
  color: var(--accent-blue);
}

.article-card-excerpt {
  color: var(--text-secondary);
  font-size: 0.9rem;
  line-height: 1.55;
  margin-bottom: 1rem;
  flex-grow: 1;
}

.article-card-footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-top: auto;
  padding-top: 0.75rem;
  border-top: 1px solid var(--border-subtle);
  font-size: 0.78rem;
  color: var(--text-muted);
  min-height: 44px;
}

/* SGK / İstihdam Bölümü (İki Kolon) */
.split-feature-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 1.25rem;
  width: 100%;
  min-width: 0;
}

@media (min-width: 992px) {
  .split-feature-grid {
    grid-template-columns: 1.2fr 0.8fr;
  }
}

.feature-lead-card {
  background-color: var(--bg-surface);
  border: 1px solid var(--border-medium);
  border-radius: var(--radius-sm);
  padding: 1.5rem;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  transition: transform 0.18s ease, border-color 0.18s ease, background-color 0.18s ease, box-shadow 0.18s ease;
  min-width: 0;
}

.feature-lead-card:hover {
  border-color: var(--border-medium);
  transform: translateY(-2px);
  box-shadow: 0 4px 14px rgba(0, 0, 0, 0.22);
}

.feature-lead-title {
  font-size: 1.25rem;
  font-weight: 700;
  margin: 0.75rem 0;
  line-height: 1.35;
}

.feature-lead-title a:hover {
  color: var(--accent-blue);
}

.feature-lead-desc {
  font-size: 0.92rem;
  color: var(--text-secondary);
  margin-bottom: 1.25rem;
  line-height: 1.6;
}

.feature-side-list {
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
  min-width: 0;
}

.compact-article-item {
  background-color: var(--bg-surface);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-sm);
  padding: 1rem;
  transition: var(--transition);
  min-width: 0;
}

.compact-article-item:hover {
  background-color: var(--bg-surface-hover);
  border-color: var(--border-medium);
}

.compact-article-title {
  font-size: 0.92rem;
  font-weight: 600;
  color: var(--text-primary);
  line-height: 1.35;
  margin-bottom: 0.3rem;
}

.compact-article-title a:hover {
  color: var(--accent-blue);
}

.compact-article-meta {
  font-size: 0.75rem;
  color: var(--text-muted);
}

/* --- 9. KATEGORİLER (TAMAMEN TİPOGRAFİK - EMOJİSİZ) --- */
.categories-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 0.85rem;
  width: 100%;
  min-width: 0;
}

@media (min-width: 480px) {
  .categories-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (min-width: 768px) {
  .categories-grid {
    grid-template-columns: repeat(3, 1fr);
  }
}

@media (min-width: 1024px) {
  .categories-grid {
    grid-template-columns: repeat(4, 1fr);
  }
}

.category-card {
  background-color: var(--bg-surface);
  border: 1px solid var(--border-subtle);
  border-left: 3px solid var(--border-medium);
  border-radius: var(--radius-sm);
  padding: 1.1rem 1.2rem;
  display: flex;
  flex-direction: column;
  justify-content: center;
  transition: transform 0.18s ease, border-color 0.18s ease, background-color 0.18s ease, box-shadow 0.18s ease;
  min-height: 84px;
  min-width: 0;
}

.category-card:hover {
  background-color: var(--bg-surface-hover);
  border-color: var(--border-medium);
  border-left-color: var(--accent-gold);
  transform: translateY(-2px);
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.2);
}

.category-info h3 {
  font-size: 0.95rem;
  font-weight: 700;
  margin-bottom: 0.25rem;
  color: var(--text-primary);
}

.category-info p {
  font-size: 0.78rem;
  color: var(--text-muted);
  line-height: 1.4;
  margin: 0;
}

.category-info .category-count {
  margin-top: 0.45rem;
  font-size: 0.72rem;
  font-weight: 600;
  color: var(--accent-gold);
}

/* --- 10. HESAPLAMA ARAÇLARI (GERİ PLANDA - EN FAZLA 3 ARAÇ) --- */
.tools-section {
  background-color: var(--bg-surface);
  border-bottom: 1px solid var(--border-subtle);
  padding: 2.5rem 0;
  width: 100%;
  min-width: 0;
}

@media (min-width: 768px) {
  .tools-section {
    padding: 3.75rem 0;
  }
}

.tools-container-box {
  background-color: var(--bg-main);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-sm);
  padding: 1.5rem;
  min-width: 0;
}

@media (min-width: 768px) {
  .tools-container-box {
    padding: 2rem;
  }
}

.tools-header-banner {
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
  margin-bottom: 1.5rem;
  padding-bottom: 1rem;
  border-bottom: 1px solid var(--border-subtle);
  min-width: 0;
}

@media (min-width: 768px) {
  .tools-header-banner {
    flex-direction: row;
    align-items: center;
    justify-content: space-between;
  }
}

.tools-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 1rem;
  margin-bottom: 1.5rem;
  width: 100%;
  min-width: 0;
}

@media (min-width: 768px) {
  .tools-grid {
    grid-template-columns: repeat(3, 1fr);
  }
}

.tool-card {
  background-color: var(--bg-surface);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-sm);
  padding: 1.25rem;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  transition: transform 0.18s ease, border-color 0.18s ease, background-color 0.18s ease, box-shadow 0.18s ease;
  min-width: 0;
}

.tool-card:hover {
  border-color: var(--border-medium);
  background-color: var(--bg-surface-hover);
  transform: translateY(-2px);
  box-shadow: 0 4px 14px rgba(0, 0, 0, 0.22);
}

.tool-card h3 {
  font-size: 1rem;
  font-weight: 700;
  margin-bottom: 0.4rem;
  color: var(--text-primary);
}

.tool-card h3 a:hover {
  color: var(--accent-blue);
}

.tool-card p {
  font-size: 0.82rem;
  color: var(--text-secondary);
  line-height: 1.5;
  margin-bottom: 1rem;
  flex-grow: 1;
}

.tool-card-cta {
  font-size: 0.82rem;
  font-weight: 600;
  color: var(--accent-blue);
  display: inline-flex;
  align-items: center;
  gap: 0.3rem;
  min-height: 44px;
}

.tools-footer-cta {
  text-align: center;
  padding-top: 1.25rem;
  border-top: 1px solid var(--border-subtle);
}

.btn-secondary {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  background-color: var(--bg-surface);
  border: 1px solid var(--border-medium);
  color: var(--text-primary);
  padding: 0.65rem 1.25rem;
  border-radius: var(--radius-sm);
  font-size: 0.88rem;
  font-weight: 600;
  min-height: 44px;
  cursor: pointer;
  transition: var(--transition);
}

.btn-secondary:hover {
  background-color: var(--bg-surface-hover);
  border-color: var(--accent-blue);
  color: var(--accent-blue);
}

/* --- 11. MAKALE DETAY SAYFASI (ARTICLE.HTML - TAŞMASIZ DÜZEN) --- */
.article-header-wrapper {
  background-color: var(--bg-surface);
  border-bottom: 1px solid var(--border-subtle);
  padding: 1.75rem 0 1.5rem;
  width: 100%;
  min-width: 0;
}

.breadcrumbs {
  display: flex;
  align-items: center;
  gap: 0.35rem 0.45rem;
  font-size: 0.8rem;
  color: var(--text-muted);
  margin-bottom: 0.75rem;
  flex-wrap: wrap;
  overflow-wrap: break-word;
}

.breadcrumbs a {
  display: inline-flex;
  align-items: center;
  min-height: 44px;
  color: inherit;
  padding: 0 0.25rem;
  border-radius: var(--radius-sm);
  transition: var(--transition);
}

.breadcrumbs a:hover {
  color: var(--accent-blue);
}

.breadcrumbs-sep,
.breadcrumbs-current {
  display: inline-flex;
  align-items: center;
  min-height: 44px;
}

.article-page-title {
  font-size: 1.5rem;
  font-weight: 700;
  line-height: 1.3;
  letter-spacing: -0.015em;
  margin-bottom: 1rem;
  color: var(--text-primary);
}

@media (min-width: 768px) {
  .article-page-title {
    font-size: 1.95rem;
  }
}

.article-meta-bar {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 0.5rem 0.75rem;
  font-size: 0.82rem;
  color: var(--text-secondary);
  padding-top: 0.85rem;
  border-top: 1px solid var(--border-subtle);
}

.article-meta-item {
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
  background-color: var(--bg-surface);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-sm);
  padding: 0.35rem 0.65rem;
  font-size: 0.78rem;
  line-height: 1.35;
}

@media (min-width: 768px) {
  .article-meta-item {
    background: transparent;
    border: none;
    padding: 0;
    font-size: 0.82rem;
  }
}

.article-meta-item strong {
  color: var(--text-primary);
}

/* Makale İki Kolon Düzeni (Mobilde Kesinlikle Tek Kolon ve Sığan Genişlik) */
.article-layout {
  display: grid;
  grid-template-columns: 1fr;
  gap: 2rem;
  padding: 2.25rem 0;
  width: 100%;
  max-width: 100%;
  min-width: 0;
}

@media (min-width: 1024px) {
  .article-layout {
    grid-template-columns: 260px 1fr;
    align-items: start;
  }
}

/* İçindekiler (TOC) - Mobilde Varsayılan Kapalı Accordion, Masaüstünde Sticky */
.toc-sidebar {
  width: 100%;
  max-width: 100%;
  min-width: 0;
}

@media (min-width: 1024px) {
  .toc-sidebar {
    position: sticky;
    top: calc(var(--header-height) + 1.25rem);
    max-height: calc(100vh - var(--header-height) - 2.5rem);
    overflow-y: auto;
  }
}

.toc-card {
  background-color: var(--bg-surface);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-sm);
  padding: 0.85rem 1rem;
  width: 100%;
  max-width: 100%;
  min-width: 0;
  box-sizing: border-box;
}

@media (min-width: 1024px) {
  .toc-card {
    padding: 1.25rem;
  }
}

/* Mobil Accordion Butonu (Min 44px Dokunma Hedefi) */
.toc-toggle-btn {
  display: flex;
  align-items: center;
  justify-content: space-between;
  width: 100%;
  min-height: 44px;
  background: transparent;
  border: none;
  padding: 0.25rem 0;
  cursor: pointer;
  text-align: left;
}

.toc-toggle-title {
  font-size: 0.95rem;
  font-weight: 700;
  color: var(--accent-gold);
  letter-spacing: 0.01em;
}

.toc-toggle-chevron {
  display: inline-block;
  width: 8px;
  height: 8px;
  border-right: 2px solid var(--accent-gold);
  border-bottom: 2px solid var(--accent-gold);
  transform: rotate(45deg);
  transition: transform 0.2s ease;
  margin-right: 4px;
  flex-shrink: 0;
}

.toc-toggle-btn[aria-expanded="true"] .toc-toggle-chevron {
  transform: rotate(-135deg);
}

/* Accordion İçeriği (Mobilde Varsayılan Gizli, Açılınca Görünür) */
.toc-collapse-content {
  display: none;
  padding-top: 0.75rem;
  border-top: 1px solid var(--border-subtle);
  margin-top: 0.5rem;
}

.toc-collapse-content.is-open {
  display: block;
}

.toc-desktop-header {
  display: none;
}

@media (min-width: 1024px) {
  .toc-toggle-btn {
    display: none !important;
  }

  .toc-collapse-content {
    display: block !important;
    padding-top: 0 !important;
    border-top: none !important;
    margin-top: 0 !important;
  }

  .toc-desktop-header {
    display: block;
    font-size: 0.82rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    color: var(--accent-gold);
    margin-bottom: 0.75rem;
  }
}

.toc-list {
  display: flex;
  flex-direction: column;
  gap: 0.35rem;
  font-size: 0.86rem;
}

.toc-link {
  color: var(--text-secondary);
  line-height: 1.4;
  padding: 0.45rem 0.65rem;
  border-radius: 3px;
  border-left: 2px solid transparent;
  min-height: 44px;
  display: flex;
  align-items: center;
  overflow-wrap: break-word;
}

.toc-link:hover {
  color: var(--text-primary);
  background-color: var(--bg-surface-hover);
}

.toc-link.active {
  color: var(--accent-blue);
  border-left-color: var(--accent-blue);
  background-color: var(--accent-blue-soft);
  font-weight: 600;
}

.toc-sublink {
  padding-left: 1.25rem;
  font-size: 0.82rem;
  color: var(--text-muted);
}

/* Makale Gövdesi */
.article-body {
  width: 100%;
  max-width: 760px; /* 720-780px ideal satır uzunluğu */
  min-width: 0;
  font-size: 1.05rem;
  line-height: 1.75;
  color: #E2E8F0;
  overflow-wrap: break-word;
  word-break: break-word;
}

.article-lead {
  font-size: 1.1rem;
  line-height: 1.65;
  color: var(--text-primary);
  background-color: var(--bg-surface);
  border-left: 3px solid var(--accent-gold);
  padding: 1.25rem;
  border-radius: 0 var(--radius-sm) var(--radius-sm) 0;
  margin-bottom: 2rem;
  width: 100%;
  max-width: 100%;
  box-sizing: border-box;
}

.article-body h2 {
  font-size: 1.45rem;
  font-weight: 700;
  color: var(--text-primary);
  margin: 2.75rem 0 1rem;
  padding-top: 1.25rem;
  border-top: 1px solid var(--border-subtle);
  scroll-margin-top: calc(var(--header-height) + 1rem);
}

.article-body h2:first-of-type {
  border-top: none;
  margin-top: 0;
  padding-top: 0;
}

.article-body h3 {
  font-size: 1.15rem;
  font-weight: 600;
  color: var(--text-primary);
  margin: 1.75rem 0 0.75rem;
  padding-left: 0.75rem;
  border-left: 2px solid var(--border-medium);
  scroll-margin-top: calc(var(--header-height) + 1rem);
}

.article-body p {
  margin-bottom: 1.35rem;
}

.article-body ul, .article-body ol {
  margin: 0.75rem 0 1.35rem 1.25rem;
}

.article-body li {
  margin-bottom: 0.5rem;
}

.article-body strong {
  color: var(--text-primary);
  font-weight: 600;
}

.article-body a {
  color: var(--accent-blue);
  text-decoration: underline;
  text-underline-offset: 3px;
}

.article-body a:hover {
  color: var(--accent-blue-hover);
}

/* Sıkça Sorulan Sorular (Erişilebilir Akordiyon) */
.faq-section {
  margin: 2rem 0;
  width: 100%;
  min-width: 0;
}

.faq-list {
  display: flex;
  flex-direction: column;
  gap: 0.65rem;
  width: 100%;
  min-width: 0;
}

.faq-item {
  background-color: var(--bg-surface);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-sm);
  width: 100%;
  min-width: 0;
  box-sizing: border-box;
}

.faq-question {
  width: 100%;
  text-align: left;
  background: none;
  border: none;
  padding: 1rem 1.15rem;
  font-size: 0.96rem;
  font-weight: 600;
  color: var(--text-primary);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 0.75rem;
  cursor: pointer;
  min-height: 48px;
}

.faq-question:hover {
  background-color: var(--bg-surface-hover);
}

.faq-indicator {
  font-size: 0.8rem;
  color: var(--text-muted);
  transition: transform 0.2s ease;
  flex-shrink: 0;
}

.faq-question[aria-expanded="true"] .faq-indicator {
  transform: rotate(180deg);
  color: var(--accent-blue);
}

.faq-answer {
  padding: 0.75rem 1rem 1rem;
  font-size: 0.9rem;
  color: var(--text-secondary);
  line-height: 1.55;
  border-top: 1px solid var(--border-subtle);
}

/* Kaynaklar ve Yasal Uyarı */
.sources-box {
  background-color: var(--bg-surface);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-sm);
  padding: 1.25rem;
  margin: 2rem 0;
  width: 100%;
  box-sizing: border-box;
}

.sources-box h4 {
  font-size: 0.92rem;
  margin-bottom: 0.5rem;
  color: var(--accent-gold);
}

.sources-list {
  padding-left: 1.15rem;
  font-size: 0.84rem;
  color: var(--text-secondary);
}

.sources-list li {
  margin-bottom: 0.35rem;
}

.legal-disclaimer {
  background-color: var(--bg-canvas);
  border: 1px dashed var(--border-medium);
  border-radius: var(--radius-sm);
  padding: 1rem 1.15rem;
  font-size: 0.8rem;
  color: var(--text-muted);
  line-height: 1.55;
  margin: 2rem 0;
  width: 100%;
  box-sizing: border-box;
}

.legal-disclaimer strong {
  color: var(--text-secondary);
}

/* --- 12. HESAPLAMA FORMLARI & MOTORU (TOOL-DETAIL) --- */
.tool-calculator-wrapper {
  background-color: var(--bg-surface);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-sm);
  padding: 1.25rem;
  margin: 1.5rem 0;
  width: 100%;
  max-width: 100%;
  min-width: 0;
  box-sizing: border-box;
}

@media (min-width: 768px) {
  .tool-calculator-wrapper {
    padding: 1.75rem;
  }
}

.calculator-form {
  display: flex;
  flex-direction: column;
  gap: 1.15rem;
  width: 100%;
  min-width: 0;
}

.calculator-form-2col {
  display: grid;
  grid-template-columns: 1fr;
  gap: 1.15rem;
  width: 100%;
  min-width: 0;
}

@media (min-width: 640px) {
  .calculator-form-2col {
    grid-template-columns: repeat(2, 1fr);
  }
}

.form-group {
  display: flex;
  flex-direction: column;
  gap: 0.35rem;
  width: 100%;
  max-width: 100%;
  min-width: 0;
  box-sizing: border-box;
}

.form-label {
  font-size: 0.85rem;
  font-weight: 600;
  color: var(--text-primary);
  overflow-wrap: break-word;
}

.form-label-hint {
  font-weight: 400;
  color: var(--text-muted);
  font-size: 0.74rem;
  display: block;
}

.form-input, .form-select {
  width: 100%;
  max-width: 100%;
  min-width: 0;
  box-sizing: border-box;
  background-color: var(--bg-main);
  border: 1px solid var(--border-medium);
  border-radius: var(--radius-sm);
  padding: 0.65rem 0.85rem;
  color: var(--text-primary);
  font-size: 0.95rem;
  min-height: 44px;
}

.form-input:focus, .form-select:focus {
  border-color: var(--accent-blue);
  background-color: var(--bg-surface-hover);
  outline: none;
}

.btn-primary {
  background-color: var(--accent-gold);
  color: #0B0F14;
  font-weight: 700;
  padding: 0.75rem 1.5rem;
  border: none;
  border-radius: var(--radius-sm);
  cursor: pointer;
  font-size: 0.95rem;
  min-height: 44px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  transition: var(--transition);
}

.btn-primary:hover {
  background-color: #F5C557;
}

.form-actions-row {
  display: flex;
  gap: 0.75rem;
  flex-wrap: wrap;
  width: 100%;
  min-width: 0;
}

.calc-results-panel {
  margin-top: 1.75rem;
  padding-top: 1.5rem;
  border-top: 1px solid var(--border-subtle);
  width: 100%;
  max-width: 100%;
  min-width: 0;
  box-sizing: border-box;
}

.calc-summary-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 0.85rem;
  margin-bottom: 1.25rem;
  width: 100%;
  min-width: 0;
}

@media (min-width: 600px) {
  .calc-summary-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (min-width: 900px) {
  .calc-summary-grid {
    grid-template-columns: repeat(3, 1fr);
  }
}

.calc-summary-card {
  background-color: var(--bg-main);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-sm);
  padding: 1rem;
  text-align: center;
  min-width: 0;
  box-sizing: border-box;
}

.calc-summary-card.highlight {
  border-color: var(--status-success-border);
  background-color: var(--status-success-bg);
}

.calc-summary-label {
  font-size: 0.78rem;
  color: var(--text-secondary);
  margin-bottom: 0.3rem;
}

.calc-summary-val {
  font-family: var(--font-mono);
  font-size: 1.25rem;
  font-weight: 700;
  color: var(--text-primary);
  overflow-wrap: break-word;
}

.calc-summary-card.highlight .calc-summary-val {
  color: var(--status-success);
}

/* --- 13. KATEGORİ & ARŞİV SAYFASI (CATEGORY.HTML) --- */
.category-hero {
  background-color: var(--bg-surface);
  border-bottom: 1px solid var(--border-subtle);
  padding: 2.25rem 0 1.75rem;
  width: 100%;
  min-width: 0;
}

.category-hero-title {
  font-size: 1.65rem;
  font-weight: 700;
  margin-bottom: 0.5rem;
}

.category-hero-desc {
  color: var(--text-secondary);
  font-size: 0.95rem;
  max-width: 680px;
  line-height: 1.55;
}

/* Çalışan Filtre Çipleri (Çok Seçimli / Sekmeli - Mobilde Temiz Kırılma) */
.category-filters-bar {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  flex-wrap: wrap;
  margin-top: 1.25rem;
  padding-top: 1rem;
  border-top: 1px solid var(--border-subtle);
}

.filter-chip {
  background-color: var(--bg-main);
  border: 1px solid var(--border-medium);
  border-radius: var(--radius-sm);
  padding: 0.45rem 0.85rem;
  font-size: 0.84rem;
  color: var(--text-secondary);
  font-weight: 500;
  cursor: pointer;
  transition: var(--transition);
  min-height: 44px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
}

.filter-chip:hover {
  color: var(--text-primary);
  border-color: var(--accent-blue);
  background-color: var(--bg-surface-hover);
}

.filter-chip[aria-pressed="true"], .filter-chip.active {
  background-color: rgba(229, 184, 66, 0.12);
  border-color: var(--accent-gold);
  color: #F1F5F9;
  font-weight: 600;
}

/* Sayfalama */
.pagination {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.4rem;
  margin: 2.5rem 0 1rem;
  flex-wrap: wrap;
}

.page-btn {
  min-width: 44px;
  height: 44px;
  padding: 0 0.5rem;
  border-radius: var(--radius-sm);
  background-color: var(--bg-surface);
  border: 1px solid var(--border-subtle);
  color: var(--text-secondary);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-size: 0.88rem;
  font-weight: 600;
  cursor: pointer;
  transition: var(--transition);
}

.page-btn:hover {
  background-color: var(--bg-surface-hover);
  color: var(--text-primary);
}

.page-btn.active {
  background-color: var(--accent-gold);
  color: #0B0F14;
  border-color: var(--accent-gold);
}

/* --- 14. ALT BİLGİ (FOOTER - DENGELİ KOLON VE HİYERARŞİ) --- */
.site-footer {
  background-color: var(--bg-canvas);
  border-top: 1px solid var(--border-subtle);
  padding: 3.5rem 0 2.25rem;
  color: var(--text-secondary);
  font-size: 0.88rem;
  margin-top: auto;
  width: 100%;
  min-width: 0;
}

.footer-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 2rem;
  margin-bottom: 2.25rem;
  width: 100%;
  min-width: 0;
}

@media (min-width: 640px) {
  .footer-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 2rem;
  }
}

@media (min-width: 1024px) {
  .footer-grid {
    grid-template-columns: 1.4fr 1fr 1fr;
    gap: 2.5rem;
  }
}

.footer-col h4 {
  font-size: 0.88rem;
  font-weight: 700;
  color: var(--text-primary);
  margin-bottom: 1.15rem;
  text-transform: uppercase;
  letter-spacing: 0.05em;
}

.footer-links {
  display: flex;
  flex-direction: column;
  gap: 0.45rem;
}

.footer-links a {
  color: var(--text-secondary);
  font-size: 0.86rem;
  min-height: 44px;
  display: inline-flex;
  align-items: center;
}

.footer-links a:hover {
  color: var(--accent-gold);
}

.footer-about p {
  color: var(--text-secondary);
  font-size: 0.86rem;
  line-height: 1.6;
  margin-top: 0.85rem;
}

.site-footer .legal-disclaimer {
  margin: 2rem 0 1.5rem;
  background-color: rgba(18, 24, 33, 0.6);
  border: 1px solid var(--border-subtle);
  border-left: 3px solid var(--border-medium);
}

.footer-bottom {
  padding-top: 1.5rem;
  border-top: 1px solid var(--border-subtle);
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
  align-items: center;
  justify-content: space-between;
  text-align: center;
  font-size: 0.78rem;
  color: var(--text-muted);
}

@media (min-width: 768px) {
  .footer-bottom {
    flex-direction: row;
    text-align: left;
  }
}

.footer-legal-bar {
  display: flex;
  gap: 0.5rem 1rem;
  flex-wrap: wrap;
  justify-content: center;
  align-items: center;
}

.footer-legal-bar a,
.site-footer a {
  color: var(--text-secondary);
  font-size: 0.78rem;
  display: inline-flex;
  align-items: center;
  min-height: 44px;
  padding: 0 0.4rem;
  border-radius: var(--radius-sm);
  transition: var(--transition);
}

.footer-legal-bar a:hover,
.site-footer a:hover {
  color: var(--accent-gold);
}

.footer-legal-item {
  color: var(--text-muted);
  font-size: 0.78rem;
  display: inline-flex;
  align-items: center;
  min-height: 44px;
  gap: 0.35rem;
  cursor: default;
  user-select: none;
  pointer-events: none;
}

.footer-legal-item small {
  color: var(--text-muted);
  opacity: 0.75;
}
/* WordPress uyarlama katmanı */
.desktop-menu,
.desktop-menu > li { display: flex; align-items: center; gap: 0.05rem; margin: 0; padding: 0; list-style: none; }
.desktop-menu > li > a { display: flex; align-items: center; min-height: 44px; padding: 0.45rem 0.48rem; color: var(--text-secondary); font-size: 0.8rem; font-weight: 650; line-height: 1.2; white-space: nowrap; border-radius: 8px; }
.desktop-menu > li > a:hover,
.desktop-menu > .current-menu-item > a,
.desktop-menu > .current-menu-ancestor > a { color: var(--text-primary); background: var(--bg-surface-hover); }
.footer-links.menu { display: block; }
.footer-links li { list-style: none; margin: 0.45rem 0; }
.footer-mail { display: inline-block; margin-top: 0.8rem; color: var(--accent-blue); }
.footer-brand-block p { max-width: 38ch; color: var(--text-secondary); }
.footer-disclaimer { margin-top: 2rem; padding: 1rem 0; color: var(--text-muted); font-size: 0.82rem; border-top: 1px solid var(--border-subtle); border-bottom: 1px solid var(--border-subtle); }
.archive-shell,
.page-shell,
.not-found-section { padding-top: 2.5rem; padding-bottom: 4rem; }
.section-tinted { background: rgba(18, 24, 33, 0.4); }
.empty-state { max-width: 760px; margin: 2rem auto; padding: 3rem 1.5rem; text-align: center; background: var(--bg-surface); border: 1px solid var(--border-subtle); border-radius: 16px; }
.empty-state .hero-search-form { margin: 1.5rem auto; }
.article-featured-image { margin: 0 0 2rem; }
.article-featured-image img { width: 100%; height: auto; border-radius: 14px; }
.article-source-note { margin-top: 2.5rem; padding: 1rem 1.1rem; color: var(--text-secondary); background: var(--bg-surface-hover); border-left: 3px solid var(--accent-gold); border-radius: 8px; }
.article-body ul { list-style: disc; padding-left: 1.4rem; }
.article-body ol { list-style: decimal; padding-left: 1.4rem; }
.article-body li { margin: 0.45rem 0; }
.article-body blockquote { margin: 1.5rem 0; padding: 0.8rem 1.2rem; color: var(--text-secondary); border-left: 3px solid var(--accent-blue); background: var(--bg-surface); }
.article-body table { width: 100%; border-collapse: collapse; }
.article-body th,
.article-body td { padding: 0.75rem; border: 1px solid var(--border-subtle); text-align: left; }
.article-body a { color: var(--accent-blue); text-decoration-thickness: 1px; text-underline-offset: 3px; }
.page-body { max-width: 850px; margin: 0 auto; }
.nav-links { display: flex; justify-content: center; gap: 0.35rem; flex-wrap: wrap; margin-top: 2rem; }
.nav-links .page-numbers { display: inline-flex; align-items: center; justify-content: center; min-width: 44px; min-height: 44px; padding: 0.4rem; border: 1px solid var(--border-subtle); border-radius: 8px; }
.nav-links .current { color: var(--bg-main); background: var(--accent-gold); border-color: var(--accent-gold); }
.post-navigation { margin-top: 2.5rem; padding-top: 1.5rem; border-top: 1px solid var(--border-subtle); }
.post-navigation .nav-links { justify-content: space-between; }
.post-navigation a { display: grid; gap: 0.25rem; max-width: 300px; }
.post-navigation span { color: var(--text-muted); font-size: 0.78rem; }
.tools-directory { margin-bottom: 2rem; }
.tool-status { display: block; margin-top: 0.8rem; color: var(--text-muted); font-size: 0.8rem; }
.tools-intro .mr-grid { display: grid !important; grid-template-columns: repeat(3, minmax(0, 1fr)) !important; gap: 1rem !important; margin: 2rem 0 !important; }
.tools-intro .mr-kart { display: flex !important; flex-direction: column !important; min-height: 190px !important; padding: 1.25rem !important; color: var(--text-primary) !important; text-decoration: none !important; background: var(--bg-surface) !important; border: 1px solid var(--border-subtle) !important; border-radius: 12px !important; box-shadow: none !important; transition: border-color 0.2s ease, transform 0.2s ease !important; }
.tools-intro .mr-kart:hover { border-color: var(--accent-blue-border) !important; transform: translateY(-2px); }
.tools-intro .mr-ikon { display: none !important; }
.tools-intro .mr-kart h3 { margin: 0 0 0.65rem !important; color: var(--text-primary) !important; font-size: 1.02rem !important; line-height: 1.4 !important; }
.tools-intro .mr-kart p { margin: 0 !important; color: var(--text-secondary) !important; font-size: 0.88rem !important; line-height: 1.65 !important; }
@media (max-width: 900px) { .tools-intro .mr-grid { grid-template-columns: repeat(2, minmax(0, 1fr)) !important; } }
@media (max-width: 600px) { .tools-intro .mr-grid { grid-template-columns: 1fr !important; } .tools-intro .mr-kart { min-height: 0 !important; } }
.wp-caption,
.wp-caption img,
.wp-block-image img { max-width: 100%; height: auto; }
.alignwide { width: min(1100px, calc(100vw - 2rem)); max-width: none; margin-left: 50%; transform: translateX(-50%); }
.alignfull { width: 100vw; max-width: none; margin-left: 50%; transform: translateX(-50%); }
.screen-reader-text { position: absolute !important; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0, 0, 0, 0); white-space: nowrap; border: 0; }
.screen-reader-text:focus { top: 8px; left: 8px; z-index: 100000; width: auto; height: auto; padding: 0.8rem 1rem; margin: 0; clip: auto; background: var(--bg-surface); color: var(--text-primary); }
.admin-bar .site-header { top: 32px; }
.mobile-nav-menu { margin: 0; padding: 0; list-style: none; }
.mobile-nav-menu li { margin: 0; list-style: none; }
.mobile-nav-menu a { display: flex; align-items: center; justify-content: space-between; min-height: 48px; padding: 0.75rem 0; color: var(--text-primary); border-bottom: 1px solid var(--border-subtle); }
.mobile-nav-menu .current-menu-item > a { color: var(--accent-gold); }
.article-layout.no-toc { display: block; }
.article-layout.no-toc .article-body { max-width: 840px; margin-inline: auto; }

/* Hesaplama araçları — ortak premium koyu form sistemi */
.article-body.page-body .mr-arac {
  width: 100% !important;
  max-width: 900px !important;
  margin: 0 auto !important;
  color: var(--text-primary) !important;
  font-size: 1rem !important;
}

.article-body.page-body .mr-arac .mr-form {
  position: relative;
  isolation: isolate;
  margin: 1.75rem 0 !important;
  padding: clamp(1.25rem, 3vw, 2rem) !important;
  overflow: hidden;
  color: var(--text-primary) !important;
  background:
    radial-gradient(circle at 100% 0, rgba(56, 189, 248, 0.09), transparent 34%),
    linear-gradient(145deg, #151d28 0%, #101720 100%) !important;
  border: 1px solid #2a394b !important;
  border-radius: 18px !important;
  box-shadow: 0 22px 55px rgba(0, 0, 0, 0.28), inset 0 1px 0 rgba(255, 255, 255, 0.035) !important;
}

.article-body.page-body .mr-arac .mr-form::before {
  content: "";
  position: absolute;
  inset: 0 auto 0 0;
  z-index: -1;
  width: 3px;
  background: linear-gradient(180deg, var(--accent-gold), var(--accent-blue));
}

.article-body.page-body .mr-arac label {
  display: block !important;
  margin: 0.95rem 0 0.42rem !important;
  color: var(--text-primary) !important;
  font-size: 0.92rem !important;
  font-weight: 700 !important;
  line-height: 1.45 !important;
}

.article-body.page-body .mr-arac .mr-form > label:first-child {
  margin-top: 0 !important;
}

.article-body.page-body .mr-arac input:not([type="radio"]):not([type="checkbox"]),
.article-body.page-body .mr-arac select,
.article-body.page-body .mr-arac textarea {
  width: 100% !important;
  max-width: none !important;
  min-height: 52px !important;
  padding: 0.78rem 0.95rem !important;
  color: var(--text-primary) !important;
  color-scheme: dark;
  background: #0b1119 !important;
  border: 1px solid #34445a !important;
  border-radius: 10px !important;
  box-shadow: inset 0 1px 2px rgba(0, 0, 0, 0.28) !important;
  font: inherit !important;
  transition: border-color 0.18s ease, box-shadow 0.18s ease, background-color 0.18s ease !important;
}

.article-body.page-body .mr-arac input::placeholder,
.article-body.page-body .mr-arac textarea::placeholder {
  color: #8290a4 !important;
  opacity: 1 !important;
}

.article-body.page-body .mr-arac select option {
  color: var(--text-primary);
  background: #101720;
}

.article-body.page-body .mr-arac input:not([type="radio"]):not([type="checkbox"]):focus,
.article-body.page-body .mr-arac select:focus,
.article-body.page-body .mr-arac textarea:focus {
  outline: none !important;
  background: #0e1621 !important;
  border-color: var(--accent-blue) !important;
  box-shadow: 0 0 0 3px rgba(56, 189, 248, 0.17), inset 0 1px 2px rgba(0, 0, 0, 0.24) !important;
}

.article-body.page-body .mr-arac input[type="radio"],
.article-body.page-body .mr-arac input[type="checkbox"] {
  width: 19px !important;
  height: 19px !important;
  min-height: 0 !important;
  margin: 0 0.45rem 0 0 !important;
  accent-color: var(--accent-blue);
  vertical-align: -3px;
}

.article-body.page-body .mr-arac .mr-radio {
  margin: 0.85rem 0 !important;
  padding: 0.85rem 1rem !important;
  color: var(--text-secondary) !important;
  background: rgba(7, 10, 14, 0.38) !important;
  border: 1px solid var(--border-subtle) !important;
  border-radius: 10px !important;
}

.article-body.page-body .mr-arac .mr-radio label {
  display: inline !important;
  margin: 0 1.1rem 0 0 !important;
  color: var(--text-secondary) !important;
  font-weight: 600 !important;
}

.article-body.page-body .mr-arac button {
  min-height: 50px !important;
  margin-top: 1.15rem !important;
  padding: 0.75rem 1.45rem !important;
  color: #07101a !important;
  background: linear-gradient(135deg, #67d3fa 0%, #38bdf8 58%, #22a9df 100%) !important;
  border: 1px solid rgba(125, 211, 252, 0.62) !important;
  border-radius: 10px !important;
  box-shadow: 0 9px 24px rgba(14, 165, 233, 0.22) !important;
  font: inherit !important;
  font-weight: 800 !important;
  cursor: pointer;
  transition: transform 0.18s ease, box-shadow 0.18s ease, filter 0.18s ease !important;
}

.article-body.page-body .mr-arac button:hover {
  filter: brightness(1.06);
  transform: translateY(-1px);
  box-shadow: 0 12px 28px rgba(14, 165, 233, 0.3) !important;
}

.article-body.page-body .mr-arac button:focus-visible {
  outline: 3px solid rgba(229, 184, 66, 0.55) !important;
  outline-offset: 3px !important;
}

.article-body.page-body .mr-arac table {
  width: 100% !important;
  margin: 1.35rem 0 !important;
  overflow: hidden;
  color: var(--text-secondary) !important;
  background: #0e151e !important;
  border: 1px solid #2a394b !important;
  border-collapse: separate !important;
  border-spacing: 0 !important;
  border-radius: 12px !important;
}

.article-body.page-body .mr-arac th,
.article-body.page-body .mr-arac td {
  padding: 0.78rem 0.9rem !important;
  color: var(--text-secondary) !important;
  background: transparent !important;
  border: 0 !important;
  border-bottom: 1px solid var(--border-subtle) !important;
}

.article-body.page-body .mr-arac th {
  color: var(--text-primary) !important;
  background: #182230 !important;
  font-weight: 750 !important;
}

.article-body.page-body .mr-arac tr:last-child > * {
  border-bottom: 0 !important;
}

.article-body.page-body .mr-arac .mr-not,
.article-body.page-body .mr-arac small {
  color: var(--text-muted) !important;
  line-height: 1.65 !important;
}

.article-body.page-body .mr-arac .mr-uyari,
.article-body.page-body .mr-arac .mr-ozet,
.article-body.page-body .mr-arac .mr-toplam,
.article-body.page-body .mr-arac .mr-vurgu,
.article-body.page-body .mr-arac .mr-kkeg {
  margin: 1rem 0 !important;
  padding: 0.9rem 1rem !important;
  color: var(--text-primary) !important;
  background: rgba(229, 184, 66, 0.08) !important;
  border: 1px solid rgba(229, 184, 66, 0.28) !important;
  border-radius: 10px !important;
}

.article-body.page-body .mr-arac .mr-ozet,
.article-body.page-body .mr-arac .mr-toplam,
.article-body.page-body .mr-arac .mr-vurgu {
  background: rgba(34, 197, 94, 0.08) !important;
  border-color: rgba(74, 222, 128, 0.28) !important;
}

.article-body.page-body .mr-arac .mr-kkeg {
  background: rgba(248, 113, 113, 0.08) !important;
  border-color: rgba(248, 113, 113, 0.28) !important;
}

.article-body.page-body .mr-arac input:-webkit-autofill,
.article-body.page-body .mr-arac input:-webkit-autofill:hover,
.article-body.page-body .mr-arac input:-webkit-autofill:focus {
  -webkit-text-fill-color: #f1f5f9 !important;
  -webkit-box-shadow: 0 0 0 1000px #0b1119 inset !important;
  caret-color: #f1f5f9;
}

@media (max-width: 600px) {
  .article-body.page-body .mr-arac .mr-form {
    margin-inline: -0.15rem !important;
    padding: 1.15rem !important;
    border-radius: 14px !important;
  }

  .article-body.page-body .mr-arac button {
    width: 100% !important;
  }

  .article-body.page-body .mr-arac table {
    display: block !important;
    overflow-x: auto !important;
    white-space: nowrap;
    -webkit-overflow-scrolling: touch;
  }
}
@media (max-width: 782px) { .admin-bar .site-header { top: 46px; } }
