/* ==========================================================
   TRAFIK VE HUKUK PLATFORMU - ULTRA MODERN & SLICK STYLESHEET
   PRESTIJLI TASARIM, CANLI RENKLER, KUSURSUZ MOBIL DUYARLILIK
   0 SVG, 0 EMOJI, YUKSEK KONTRAST, SIFIR TASMA
   ========================================================== */

:root {
  /* Zeminler */
  --bg-body: #f8fafc;
  --bg-surface: #ffffff;
  --bg-subtle: #f1f5f9;
  --bg-card: #ffffff;
  --border-light: #e2e8f0;
  --border-color: #cbd5e1;
  --border-strong: #94a3b8;

  /* Tipografi */
  --text-main: #0f172a;
  --text-sub: #1e293b;
  --text-muted: #64748b;
  --text-light: #94a3b8;

  /* Canlı & Prestijli Kurumsal Renkler */
  --primary-blue: #0284c7;
  --primary-blue-dark: #0369a1;
  --primary-blue-gradient: linear-gradient(135deg, #0284c7 0%, #0369a1 100%);
  --primary-blue-soft: #f0f9ff;
  --primary-blue-border: #bae6fd;

  --navy-legal: #1e3a8a;
  --navy-legal-dark: #172554;
  --navy-legal-gradient: linear-gradient(135deg, #1e3a8a 0%, #0f172a 100%);
  --navy-legal-soft: #eff6ff;
  --navy-legal-border: #bfdbfe;

  --emerald-green: #15803d;
  --emerald-green-dark: #166534;
  --emerald-green-soft: #f0fdf4;
  --emerald-green-border: #bbf7d0;

  --ruby-red: #dc2626;
  --ruby-red-dark: #b91c1c;
  --ruby-red-soft: #fef2f2;
  --ruby-red-border: #fecaca;

  --amber-gold: #d97706;
  --amber-gold-soft: #fffbeb;
  --amber-gold-border: #fde68a;

  /* Köşeler ve Gölgeler */
  --radius-sm: 6px;
  --radius-md: 10px;
  --radius-lg: 16px;
  --radius-xl: 24px;

  --shadow-sm: 0 1px 3px rgba(0, 0, 0, 0.06), 0 1px 2px rgba(0, 0, 0, 0.04);
  --shadow-md: 0 4px 12px rgba(15, 23, 42, 0.08);
  --shadow-lg: 0 10px 25px -3px rgba(15, 23, 42, 0.1), 0 4px 6px -4px rgba(15, 23, 42, 0.05);
  --shadow-hover: 0 14px 30px rgba(2, 132, 199, 0.15);

  --font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
}

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

html, body {
  width: 100%;
  min-height: 100vh;
  margin: 0;
  padding: 0;
  font-family: var(--font-family);
  background-color: var(--bg-body);
  color: var(--text-main);
  line-height: 1.5;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
  display: flex;
  flex-direction: column;
}

.site-main {
  flex: 1 0 auto;
  width: 100%;
}

a {
  color: var(--primary-blue);
  text-decoration: none;
  transition: all 0.2s ease;
}

a:hover {
  color: var(--navy-legal);
  text-decoration: underline;
}

/* ================= GENEL CONTAINER ================= */
.container {
  width: 100%;
  max-width: 1320px;
  margin-left: auto;
  margin-right: auto;
  padding-left: 1.25rem;
  padding-right: 1.25rem;
}

/* ================= ULTRA MODERN SITE HEADER (SABİT / STICKY) ================= */
.site-header {
  position: -webkit-sticky;
  position: sticky;
  top: 0;
  left: 0;
  right: 0;
  width: 100%;
  z-index: 1000;
  background: rgba(255, 255, 255, 0.96);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  border-bottom: 2px solid var(--border-light);
  box-shadow: 0 2px 10px rgba(15, 23, 42, 0.05);
  transition: all 0.25s ease;
}

.site-header .header-inner {
  display: flex;
  justify-content: space-between;
  align-items: center;
  min-height: 94px;
  padding-top: 0.65rem;
  padding-bottom: 0.65rem;
  gap: 1.5rem;
}

/* Logo & Marka */
.site-header .logo-brand {
  display: inline-flex;
  align-items: center;
  text-decoration: none !important;
  flex-shrink: 0;
  transition: transform 0.2s ease, opacity 0.2s ease;
}

.site-header .logo-brand:hover {
  opacity: 0.92;
  transform: translateY(-1px);
}

.site-header .site-logo-img {
  height: 80px;
  max-height: 80px;
  width: auto;
  object-fit: contain;
  display: block;
}

/* Gezinme Linkleri (Masaüstü) */
.site-header .nav-links {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.6rem;
  flex-wrap: nowrap;
}

.site-header .nav-links a {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0.6rem 1.1rem;
  font-size: 0.925rem;
  font-weight: 700;
  color: var(--text-sub);
  background-color: transparent;
  border: 1px solid transparent;
  border-radius: var(--radius-sm);
  text-decoration: none !important;
  transition: all 0.2s ease;
  white-space: nowrap;
  letter-spacing: -0.01em;
}

.site-header .nav-links a:hover {
  color: var(--primary-blue-dark);
  background-color: var(--primary-blue-soft);
  border-color: var(--primary-blue-border);
}

.site-header .nav-links a.active {
  color: #ffffff;
  background-color: var(--primary-blue);
  border-color: var(--primary-blue-dark);
  box-shadow: 0 2px 6px rgba(2, 132, 199, 0.25);
}

/* Mobil & Tablet Uyumluluğu */
@media (max-width: 900px) {
  .site-header .header-inner {
    flex-direction: column;
    align-items: stretch;
    min-height: auto;
    padding-top: 0.65rem;
    padding-bottom: 0.65rem;
    gap: 0.65rem;
  }

  .site-header .logo-brand {
    justify-content: center;
    width: 100%;
  }

  .site-header .site-logo-img {
    height: 60px;
    max-height: 60px;
  }

  .site-header .nav-links {
    width: 100%;
    overflow-x: auto;
    -webkit-overflow-scrolling: touch;
    padding-bottom: 0.25rem;
    gap: 0.4rem;
    justify-content: center;
    scrollbar-width: none; /* Firefox */
  }

  .site-header .nav-links::-webkit-scrollbar {
    display: none; /* Chrome, Safari, Edge */
  }

  .site-header .nav-links a {
    padding: 0.5rem 0.85rem;
    font-size: 0.85rem;
    background-color: var(--bg-subtle);
    border-color: var(--border-light);
    flex-shrink: 0;
  }
}


/* ================= FULLSCREEN SPLIT PORTAL (INDEX.PHP) ================= */
.fullscreen-portal-body {
  margin: 0;
  padding: 0;
  overflow: hidden;
  height: 100vh;
  width: 100vw;
  background-color: #0f172a;
}

.full-height-portal {
  display: flex;
  width: 100vw;
  height: 100vh;
  position: relative;
  overflow: hidden;
}

.split-panel {
  flex: 1;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  padding: 3rem 2.5rem;
  text-align: center;
  position: relative;
  text-decoration: none !important;
  transition: all 0.35s cubic-bezier(0.16, 1, 0.3, 1);
  cursor: pointer;
}

.split-panel-traffic {
  background: linear-gradient(145deg, #0284c7 0%, #0369a1 40%, #075985 100%);
  color: #ffffff;
  border-right: 2px solid rgba(255, 255, 255, 0.2);
}

.split-panel-traffic:hover {
  flex: 1.08;
  background: linear-gradient(145deg, #0369a1 0%, #0284c7 50%, #0284c7 100%);
}

.split-panel-legal {
  background: linear-gradient(145deg, #1e3a8a 0%, #1e40af 40%, #0f172a 100%);
  color: #ffffff;
  border-left: 2px solid rgba(255, 255, 255, 0.2);
}

.split-panel-legal:hover {
  flex: 1.08;
  background: linear-gradient(145deg, #1e40af 0%, #1e3a8a 50%, #172554 100%);
}

.split-panel-content {
  max-width: 520px;
  display: flex;
  flex-direction: column;
  align-items: center;
  z-index: 2;
}

.split-panel-tag {
  display: inline-block;
  font-size: 0.825rem;
  font-weight: 800;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  padding: 0.4rem 1rem;
  border-radius: 30px;
  margin-bottom: 1.5rem;
  background: rgba(255, 255, 255, 0.18);
  color: #ffffff;
  border: 1px solid rgba(255, 255, 255, 0.35);
  backdrop-filter: blur(8px);
}

.split-panel-title {
  font-size: 3rem;
  font-weight: 900;
  letter-spacing: -0.02em;
  margin-bottom: 1rem;
  color: #ffffff;
  line-height: 1.1;
  text-shadow: 0 3px 10px rgba(0, 0, 0, 0.2);
}

.split-panel-desc {
  font-size: 1.15rem;
  color: #f1f5f9;
  line-height: 1.6;
  margin-bottom: 2.25rem;
  opacity: 0.95;
}

.split-btn-wrapper {
  margin-top: auto;
}

.split-panel-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-size: 1.05rem;
  font-weight: 800;
  padding: 1rem 2.25rem;
  border-radius: var(--radius-md);
  color: #0f172a;
  background-color: #ffffff;
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.2);
  transition: transform 0.2s ease, box-shadow 0.2s ease, background-color 0.2s ease;
  white-space: nowrap;
}

.split-panel:hover .split-panel-btn {
  transform: translateY(-3px) scale(1.03);
  box-shadow: 0 12px 25px rgba(0, 0, 0, 0.3);
  background-color: #f8fafc;
}

.split-divider-badge {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  background: #ffffff;
  color: #0f172a;
  border: 3px solid #0284c7;
  padding: 0.65rem 1.4rem;
  font-weight: 900;
  font-size: 1rem;
  border-radius: 50px;
  box-shadow: 0 10px 25px rgba(0, 0, 0, 0.35);
  z-index: 10;
  pointer-events: none;
  white-space: nowrap;
}

@media (max-width: 900px) {
  .fullscreen-portal-body {
    overflow-y: auto;
    height: auto;
  }
  .full-height-portal {
    flex-direction: column;
    height: auto;
    min-height: 100vh;
  }
  .split-panel {
    padding: 3.5rem 1.5rem;
    border-right: none;
    border-left: none;
    border-bottom: 2px solid rgba(255, 255, 255, 0.2);
  }
  .split-panel:hover {
    flex: 1;
  }
  .split-panel-title {
    font-size: 2.25rem;
  }
  .split-panel-desc {
    font-size: 1rem;
  }
  .split-divider-badge {
    display: none;
  }
}

/* ================= GENEL CONTAINER ================= */
.container {
  width: 100%;
  max-width: 1360px;
  margin-left: auto;
  margin-right: auto;
  padding-left: 1.25rem;
  padding-right: 1.25rem;
}

/* ================= HEADER (SABİT / STICKY & LOGO) ================= */
.site-header {
  background: #ffffff;
  border-bottom: 2px solid var(--border-color);
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.06);
  position: sticky;
  top: 0;
  left: 0;
  right: 0;
  width: 100%;
  z-index: 999;
}

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0.65rem 0;
  gap: 1rem;
}

.logo-brand {
  display: inline-flex;
  align-items: center;
  text-decoration: none !important;
}

.site-logo-img {
  height: 44px;
  width: auto;
  max-width: 240px;
  object-fit: contain;
  display: block;
}

.nav-links {
  display: flex;
  align-items: center;
  justify-content: center;
  list-style: none;
  gap: 0.75rem;
}

.nav-links a {
  font-weight: 750;
  font-size: 0.925rem;
  color: var(--text-sub);
  padding: 0.45rem 0.85rem;
  border-radius: var(--radius-sm);
  border: 1px solid transparent;
  transition: all 0.15s ease;
  white-space: nowrap;
}

.nav-links a:hover {
  background-color: var(--bg-subtle);
  color: var(--navy-legal);
  border-color: var(--border-color);
  text-decoration: none;
}

@media (max-width: 768px) {
  .header-inner {
    padding: 0.5rem 0;
    flex-wrap: wrap;
    justify-content: center;
    gap: 0.5rem;
  }

  .site-logo-img {
    height: 38px;
  }

  .nav-links {
    width: 100%;
    justify-content: center;
    gap: 0.35rem;
    overflow-x: auto;
    padding-bottom: 0.25rem;
  }

  .nav-links a {
    font-size: 0.825rem;
    padding: 0.35rem 0.55rem;
  }
}

/* ================= GELİŞMİŞ TRAFİK MADDELERİ REHBERİ TASARIMI ================= */
.rehber-hero-banner {
  background-color: #0f172a;
  background-image: 
    linear-gradient(135deg, rgba(20, 40, 95, 0.58) 0%, rgba(3, 105, 161, 0.50) 100%),
    url('../arkaplan.jpg');
  background-size: cover;
  background-position: center center;
  background-repeat: no-repeat;
  color: #ffffff;
  border-radius: var(--radius-xl);
  min-height: 300px;
  padding: 4.5rem 3.5rem;
  margin-top: 1.5rem;
  margin-bottom: 2rem;
  box-shadow: 0 12px 35px rgba(15, 23, 42, 0.15);
  position: relative;
  overflow: hidden;
  border: 1px solid rgba(255, 255, 255, 0.2);
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: flex-start;
}

.rehber-hero-banner.rehber-hero-banner-law {
  background-image: 
    linear-gradient(135deg, rgba(15, 23, 42, 0.78) 0%, rgba(30, 41, 59, 0.70) 50%, rgba(51, 65, 85, 0.55) 100%),
    url('../hukukarkaplan.jpg');
  background-position: center 35%;
}

.rehber-hero-tag {
  display: inline-block;
  background: rgba(255, 255, 255, 0.22);
  color: #ffffff;
  font-size: 0.875rem;
  font-weight: 850;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  padding: 0.5rem 1.25rem;
  border-radius: 30px;
  border: 1.5px solid rgba(255, 255, 255, 0.4);
  margin-bottom: 1.25rem;
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
}

.rehber-hero-title {
  color: #ffffff;
  font-size: 3rem;
  font-weight: 950;
  margin-bottom: 0;
  line-height: 1.15;
  letter-spacing: -0.025em;
  text-shadow: 0 3px 14px rgba(0, 0, 0, 0.55);
}

.rehber-hero-desc {
  font-size: 1.1rem;
  color: #e2e8f0;
  max-width: 820px;
  line-height: 1.6;
  margin-bottom: 1.5rem;
}

/* 4'lü İstatistik Matrisi */
.hero-stats-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
  gap: 1rem;
  margin-top: 1.5rem;
}

.hero-stat-card {
  background: rgba(255, 255, 255, 0.12);
  backdrop-filter: blur(10px);
  border: 1px solid rgba(255, 255, 255, 0.25);
  border-radius: var(--radius-md);
  padding: 1rem 1.25rem;
  color: #ffffff;
}

.hero-stat-label {
  font-size: 0.775rem;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  color: #cbd5e1;
  font-weight: 700;
}

.hero-stat-val {
  font-size: 1.6rem;
  font-weight: 900;
  color: #ffffff;
  margin-top: 0.25rem;
}

/* ================= ULTRA LÜKS VE MODERN ARAMA & FİLTRE KONSOLU ================= */
.search-console-card {
  background: #ffffff;
  border-radius: var(--radius-xl);
  padding: 1.5rem 1.75rem;
  margin-bottom: 2.25rem;
  box-shadow: 0 10px 30px -5px rgba(15, 23, 42, 0.08), 0 0 0 1px rgba(226, 232, 240, 0.85);
  border: 1px solid var(--border-light);
  position: relative;
}

.search-console-form {
  display: flex;
  flex-direction: column;
}

/* 1. Yekpare Ana Arama Barı (Spotlight & Lüks İç Butonlu Tasarım) */
.console-main-bar {
  display: flex;
  align-items: center;
  background-color: #ffffff;
  border: 2px solid var(--border-color);
  border-radius: 18px;
  padding: 6px 8px 6px 1.75rem;
  box-shadow: 0 4px 20px rgba(15, 23, 42, 0.06);
  transition: all 0.25s ease;
  position: relative;
}

.console-main-bar:hover {
  border-color: #94a3b8;
}

.console-main-bar:focus-within {
  border-color: var(--primary-blue);
  box-shadow: 0 0 0 4px rgba(2, 132, 199, 0.16), 0 8px 25px rgba(15, 23, 42, 0.08);
  transform: translateY(-1px);
}

.console-search-input {
  flex: 1;
  height: 56px;
  padding: 0 1rem 0 0;
  font-size: 1.15rem;
  font-weight: 550;
  color: var(--text-main);
  border: none;
  outline: none;
  background: transparent;
  font-family: inherit;
  letter-spacing: -0.01em;
}

.console-search-input::placeholder {
  color: var(--text-light);
  font-weight: 400;
  font-size: 1.05rem;
}

.console-search-btn {
  border: none;
  outline: none;
  background: linear-gradient(135deg, #0284c7 0%, #0369a1 100%);
  color: #ffffff;
  height: 52px;
  padding: 0 2.25rem;
  font-size: 1.05rem;
  font-weight: 800;
  border-radius: 12px;
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  transition: all 0.2s ease;
  white-space: nowrap;
  font-family: inherit;
  letter-spacing: -0.01em;
  flex-shrink: 0;
  box-shadow: 0 2px 8px rgba(2, 132, 199, 0.3);
}

.console-search-btn:hover {
  background: linear-gradient(135deg, #0369a1 0%, #075985 100%);
  box-shadow: 0 4px 14px rgba(2, 132, 199, 0.45);
  transform: translateY(-1px);
}

.console-search-btn:active {
  transform: translateY(0);
}


/* 2. Alt Filtre ve Sayaç Çubuğu */
.console-sub-bar {
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 0.85rem;
  margin-top: 1.15rem;
  padding-top: 1rem;
  border-top: 1px solid var(--border-light);
}

.console-filters-left {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  flex-wrap: wrap;
}

.console-select {
  height: 40px;
  padding: 0 1rem;
  font-size: 0.875rem;
  font-weight: 650;
  color: var(--text-sub);
  background-color: var(--bg-subtle);
  border: 1px solid var(--border-color);
  border-radius: var(--radius-sm);
  outline: none;
  cursor: pointer;
  font-family: inherit;
  transition: all 0.15s ease;
}

.console-select:hover {
  background-color: #ffffff;
  border-color: var(--primary-blue);
  color: var(--primary-blue-dark);
}

.console-select:focus {
  border-color: var(--primary-blue);
  box-shadow: 0 0 0 2px rgba(2, 132, 199, 0.15);
}

.console-reset-link {
  font-size: 0.825rem;
  font-weight: 750;
  color: var(--ruby-red);
  background-color: var(--ruby-red-soft);
  border: 1px solid var(--ruby-red-border);
  padding: 0.45rem 0.85rem;
  border-radius: var(--radius-sm);
  text-decoration: none !important;
  display: inline-flex;
  align-items: center;
  transition: all 0.15s ease;
}

.console-reset-link:hover {
  background-color: var(--ruby-red);
  color: #ffffff;
}

.console-stats-right {
  display: flex;
  align-items: center;
}

.console-count-badge {
  font-size: 0.85rem;
  color: var(--text-sub);
  background-color: var(--primary-blue-soft);
  border: 1px solid var(--primary-blue-border);
  padding: 0.4rem 0.95rem;
  border-radius: 20px;
  font-weight: 600;
  letter-spacing: -0.01em;
}

.console-count-badge strong {
  color: var(--navy-legal);
  font-weight: 850;
}

/* 3. Hızlı Kategori Çipleri */
.console-chips-wrapper {
  display: flex;
  align-items: center;
  gap: 0.65rem;
  margin-top: 1rem;
  padding-top: 0.85rem;
  border-top: 1px dashed var(--border-color);
}

.console-chips-label {
  font-size: 0.775rem;
  font-weight: 850;
  color: var(--text-muted);
  text-transform: uppercase;
  letter-spacing: 0.06em;
  flex-shrink: 0;
}

.console-chips-list {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 0.45rem;
}

.console-chip {
  display: inline-flex;
  align-items: center;
  padding: 0.38rem 0.85rem;
  font-size: 0.825rem;
  font-weight: 700;
  color: var(--text-sub);
  background-color: #ffffff;
  border: 1px solid var(--border-color);
  border-radius: 20px;
  text-decoration: none !important;
  transition: all 0.15s ease;
}

.console-chip:hover {
  background-color: var(--navy-legal);
  color: #ffffff;
  border-color: var(--navy-legal);
  transform: translateY(-1px);
  box-shadow: var(--shadow-sm);
}

.console-chip.active {
  background-color: var(--primary-blue);
  color: #ffffff;
  border-color: var(--primary-blue-dark);
  box-shadow: 0 2px 6px rgba(2, 132, 199, 0.3);
}

/* ================= 1. TABLO GÖRÜNÜMÜ (DESKTOP İÇİN GELİŞMİŞ) ================= */
.official-table-wrapper {
  background-color: #ffffff;
  border: 1px solid var(--border-color);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-md);
  overflow: hidden;
  margin-bottom: 3rem;
}

.table-responsive {
  width: 100%;
  overflow-x: auto;
  -webkit-overflow-scrolling: touch;
}

.egm-official-table {
  width: 100%;
  border-collapse: separate;
  border-spacing: 0;
  font-size: 0.9rem;
  text-align: left;
}

.egm-official-table thead th {
  background: linear-gradient(180deg, #1e3a8a 0%, #172554 100%);
  color: #ffffff;
  font-weight: 800;
  padding: 1.15rem 0.95rem;
  border-bottom: 2px solid var(--primary-blue);
  border-right: 1px solid rgba(255, 255, 255, 0.12);
  line-height: 1.35;
  letter-spacing: 0.02em;
  position: sticky;
  top: 0;
  z-index: 5;
}

.egm-official-table thead th:last-child {
  border-right: none;
}

.egm-official-table tbody td {
  padding: 1.15rem 0.95rem;
  border-bottom: 1px solid var(--border-light);
  border-right: 1px solid var(--border-light);
  color: var(--text-sub);
  vertical-align: top;
  transition: all 0.15s ease;
}

.egm-official-table tbody td:last-child {
  border-right: none;
}

/* Madde Satırı Full Beyaz, Full Belirgin Gri Sıralaması (Satır Bazlı Zebra) */

/* Tek Numaralı Madde Satırları (1, 3, 5, 7, 9...): Komple Full Beyaz */
.egm-official-table tbody tr:nth-child(odd) td {
  background-color: #ffffff !important;
  border-right: 1px solid #cbd5e1;
  border-bottom: 1px solid #cbd5e1;
}

/* Çift Numaralı Madde Satırları (2, 4, 6, 8, 10...): Komple Full Belirgin Gri */
.egm-official-table tbody tr:nth-child(even) td {
  background-color: #e2e8f0 !important;
  border-right: 1px solid #cbd5e1;
  border-bottom: 1px solid #cbd5e1;
}

.egm-official-table tbody td:last-child {
  border-right: none;
}

/* Satır Hover Durumu */
.egm-official-table tbody tr:hover td {
  background-color: #cbd5e1 !important;
}

/* Tablo Sütun Hücre Detayları */
.badge-article-code {
  background-color: #dbeafe;
  color: var(--navy-legal);
  padding: 0.35rem 0.65rem;
  border-radius: var(--radius-sm);
  border: 1px solid var(--navy-legal-border);
  font-weight: 850;
  font-size: 0.925rem;
  display: inline-block;
  white-space: nowrap;
}

.badge-article-code:hover {
  background-color: var(--navy-legal);
  color: #ffffff;
  text-decoration: none;
}

.topic-title-cell {
  font-family: system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Inter", "Helvetica Neue", Arial, sans-serif;
  font-weight: 750;
  color: #0f172a;
  font-size: 0.965rem;
  margin-bottom: 0.45rem;
  line-height: 1.55;
  letter-spacing: -0.015em;
}

.topic-desc-cell {
  font-family: system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
  font-size: 0.825rem;
  color: var(--text-muted);
  background-color: #f1f5f9;
  padding: 0.45rem 0.65rem;
  border-radius: 6px;
  line-height: 1.45;
}

/* Kimlere Uygulanacağı Sütunu - Genişletilmiş Sabit Ebat (195px) */
.egm-official-table th:nth-child(3),
.egm-official-table td:nth-child(3),
.target-audience-cell {
  width: 195px !important;
  min-width: 185px !important;
  max-width: 210px !important;
  white-space: normal !important;
  word-break: normal !important;
  overflow-wrap: break-word !important;
}

.read-more-link {
  display: inline-flex;
  align-items: center;
  font-size: 0.8rem !important;
  font-weight: 800 !important;
  color: var(--primary-blue, #0284c7) !important;
  background-color: var(--primary-blue-soft, #f0f9ff);
  border: 1px solid var(--primary-blue-border, #bae6fd);
  padding: 0.15rem 0.5rem;
  border-radius: 6px;
  margin-left: 0.35rem;
  text-decoration: none !important;
  transition: all 0.15s ease;
  vertical-align: middle;
  white-space: nowrap;
}

.read-more-link:hover {
  background-color: var(--primary-blue, #0284c7) !important;
  color: #ffffff !important;
  border-color: var(--primary-blue-dark, #0369a1) !important;
  box-shadow: 0 2px 6px rgba(2, 132, 199, 0.25);
  transform: translateY(-1px);
}


.audience-pill {
  display: block;
  background-color: #ffffff;
  color: var(--navy-legal);
  border: 1px solid #cbd5e1;
  padding: 0.45rem 0.7rem;
  border-radius: var(--radius-sm);
  font-size: 0.85rem;
  font-weight: 750;
  line-height: 1.4;
  white-space: normal !important;
  word-break: normal !important;
  overflow-wrap: break-word !important;
  text-align: left;
  box-shadow: 0 1px 2px rgba(0, 0, 0, 0.03);
}

.egm-official-table tbody tr:nth-child(odd) .audience-pill {
  background-color: #f8fafc;
}

.egm-official-table tbody tr:nth-child(even) .audience-pill {
  background-color: #ffffff;
}

.egm-official-table tbody tr:nth-child(odd) .topic-desc-cell {
  background-color: #f1f5f9;
}

.egm-official-table tbody tr:nth-child(even) .topic-desc-cell {
  background-color: #ffffff;
}

.price-full-cell {
  font-weight: 900;
  color: var(--ruby-red);
  font-size: 1.15rem;
  display: block;
  letter-spacing: -0.01em;
}

.price-discount-cell {
  font-weight: 850;
  color: var(--emerald-green);
  font-size: 0.95rem;
  display: block;
  margin-top: 0.2rem;
}

.price-note-cell {
  font-size: 0.725rem;
  color: var(--text-muted);
  display: block;
  margin-top: 0.1rem;
}

.points-pill {
  display: inline-block;
  background-color: #e0f2fe;
  color: #0369a1;
  border: 1px solid #7dd3fc;
  font-weight: 850;
  font-size: 0.9rem;
  padding: 0.25rem 0.6rem;
  border-radius: 20px;
}

.btn-detail-pill {
  display: inline-block;
  background: var(--navy-legal);
  color: #ffffff !important;
  font-size: 0.8rem;
  font-weight: 750;
  padding: 0.35rem 0.75rem;
  border-radius: 20px;
  white-space: nowrap;
  box-shadow: var(--shadow-sm);
  transition: all 0.15s ease;
}

.btn-detail-pill:hover {
  background: var(--navy-legal-dark);
  text-decoration: none;
  transform: translateY(-1px);
}

.read-more-link {
  color: var(--primary-blue) !important;
  font-weight: 800;
  text-decoration: underline !important;
  display: inline;
  margin-left: 0.25rem;
  font-size: 0.85em;
  transition: color 0.15s ease;
}

.read-more-link:hover {
  color: var(--navy-legal) !important;
}

/* ================= 2. MODERN KART GÖRÜNÜMÜ (MOBİLDE VE KART MODUNDA KUSURSUZ) ================= */
.fines-cards-container {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(360px, 1fr));
  gap: 1.5rem;
  margin-bottom: 3rem;
}

@media (max-width: 640px) {
  .fines-cards-container {
    grid-template-columns: 1fr;
    gap: 1rem;
  }
}

/* ================= 2. MOBİL VE KART İÇİN ZEBRA TABLO DÜZENİ ================= */
.fines-cards-container {
  display: flex;
  flex-direction: column;
  gap: 1.25rem;
  margin-bottom: 3rem;
}

.mobile-article-table-card {
  background-color: #ffffff;
  border: 1px solid #cbd5e1;
  border-radius: var(--radius-md);
  box-shadow: 0 2px 6px rgba(0, 0, 0, 0.04);
  overflow: hidden;
  transition: border-color 0.2s ease, box-shadow 0.2s ease;
}

.mobile-article-table-card:hover {
  border-color: var(--primary-blue);
  box-shadow: var(--shadow-md);
}

.mobile-table-header {
  background: linear-gradient(180deg, #1e3a8a 0%, #172554 100%);
  padding: 0.75rem 1rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 0.5rem;
}

.egm-mobile-table {
  width: 100%;
  border-collapse: collapse;
  font-size: 0.875rem;
}

/* Sol Başlık Sütunu: Belirgin Gri */
.egm-mobile-table tbody tr:nth-child(odd) th {
  width: 32%;
  background-color: #e2e8f0 !important;
  color: #0f172a;
  font-weight: 800;
  padding: 0.75rem 0.85rem;
  border-right: 1px solid #cbd5e1;
  border-bottom: 1px solid #cbd5e1;
  text-align: left;
  vertical-align: top;
  font-size: 0.8rem;
  text-transform: uppercase;
  letter-spacing: 0.02em;
}

.egm-mobile-table tbody tr:nth-child(even) th {
  width: 32%;
  background-color: #cbd5e1 !important;
  color: #0f172a;
  font-weight: 800;
  padding: 0.75rem 0.85rem;
  border-right: 1px solid #94a3b8;
  border-bottom: 1px solid #cbd5e1;
  text-align: left;
  vertical-align: top;
  font-size: 0.8rem;
  text-transform: uppercase;
  letter-spacing: 0.02em;
}

/* Sağ Değer Sütunu: Tek Satırlar Beyaz, Çift Satırlar Açık Gri */
.egm-mobile-table tbody tr:nth-child(odd) td {
  background-color: #ffffff !important;
  color: #1e293b;
  padding: 0.75rem 0.85rem;
  border-bottom: 1px solid #cbd5e1;
  vertical-align: top;
  line-height: 1.45;
}

.egm-mobile-table tbody tr:nth-child(even) td {
  background-color: #f1f5f9 !important;
  color: #1e293b;
  padding: 0.75rem 0.85rem;
  border-bottom: 1px solid #cbd5e1;
  vertical-align: top;
  line-height: 1.45;
}

.egm-mobile-table tbody tr:last-child th,
.egm-mobile-table tbody tr:last-child td {
  border-bottom: none;
}

/* ================= MOBİL DUYARLILIK (ZERO OVERFLOW GARANTİLİ) ================= */
@media (max-width: 991px) {
  .rehber-hero-banner {
    padding: 1.75rem 1.25rem;
  }
  .rehber-hero-title {
    font-size: 1.75rem;
  }
  .hero-stats-grid {
    grid-template-columns: repeat(2, 1fr);
  }
  
  /* Arama & Filtre Konsolu Mobil Tasarımı */
  .search-console-card {
    padding: 1.15rem 1rem;
    border-radius: var(--radius-lg);
    margin-bottom: 1.5rem;
  }

  .console-main-bar {
    flex-direction: column;
    padding: 6px;
    border-radius: 14px;
    gap: 6px;
  }

  .console-search-input {
    width: 100%;
    height: 52px;
    padding: 0 1rem;
    font-size: 1.05rem;
    border-bottom: 1px solid var(--border-light);
  }

  .console-search-btn {
    height: 48px;
    width: 100%;
    justify-content: center;
    font-size: 1rem;
    border-radius: 10px;
  }

  .console-sub-bar {
    flex-direction: column;
    align-items: stretch;
    gap: 0.65rem;
    margin-top: 0.85rem;
    padding-top: 0.75rem;
  }

  .console-filters-left {
    flex-direction: column;
    width: 100%;
    gap: 0.5rem;
  }

  .console-select {
    width: 100%;
    height: 44px;
    font-size: 0.875rem;
    background-color: var(--bg-subtle);
  }

  .console-reset-link {
    width: 100%;
    justify-content: center;
    height: 40px;
    text-align: center;
  }

  .console-stats-right {
    width: 100%;
    justify-content: center;
  }

  .console-count-badge {
    width: 100%;
    text-align: center;
    display: block;
  }

  .console-chips-wrapper {
    margin-top: 0.75rem;
    padding-top: 0.65rem;
  }

  .console-chips-label {
    display: none;
  }

  .console-chips-list {
    flex-wrap: nowrap;
    overflow-x: auto;
    -webkit-overflow-scrolling: touch;
    scrollbar-width: none;
    gap: 0.4rem;
    padding-bottom: 0.25rem;
  }

  .console-chips-list::-webkit-scrollbar {
    display: none;
  }

  .console-chip {
    flex-shrink: 0;
    white-space: nowrap;
    padding: 0.42rem 0.85rem;
  }
  
  /* Mobilde tablo yerine otomatik modern kart görünümüne geçiş */
  .desktop-table-view {
    display: none !important;
  }
  .fines-cards-container {
    display: grid !important;
  }
}

@media (min-width: 992px) {
  /* Masaüstünde varsayılan olarak tablo gösterilir, butonla değiştirilebilir */
  .view-cards-active .desktop-table-view {
    display: none !important;
  }
  .view-cards-active .fines-cards-container {
    display: grid !important;
  }

  .view-table-active .desktop-table-view {
    display: block !important;
  }
  .view-table-active .fines-cards-container {
    display: none !important;
  }
}

/* ================= ROZETLER ================= */
.badge {
  display: inline-block;
  padding: 0.3rem 0.65rem;
  font-size: 0.775rem;
  font-weight: 800;
  border-radius: 4px;
  text-align: center;
  white-space: nowrap;
}

.badge-danger {
  background-color: var(--ruby-red-soft);
  color: var(--ruby-red);
  border: 1px solid var(--ruby-red-border);
}

.badge-success {
  background-color: var(--emerald-green-soft);
  color: var(--emerald-green);
  border: 1px solid var(--emerald-green-border);
}

.badge-warning {
  background-color: var(--amber-gold-soft);
  color: var(--amber-gold);
  border: 1px solid var(--amber-gold-border);
}

.badge-neutral {
  background-color: var(--bg-subtle);
  color: var(--text-sub);
  border: 1px solid var(--border-color);
}

/* ================= BUTONLAR ================= */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0.75rem 1.4rem;
  font-size: 0.95rem;
  font-weight: 800;
  border-radius: var(--radius-md);
  border: none;
  cursor: pointer;
  text-decoration: none;
  transition: all 0.2s ease;
}

.btn-primary {
  background: var(--primary-blue-gradient);
  color: #ffffff;
  box-shadow: var(--shadow-sm);
}

.btn-primary:hover {
  background: linear-gradient(135deg, #0369a1 0%, #075985 100%);
  color: #ffffff;
  transform: translateY(-1px);
}

.btn-secondary {
  background-color: var(--bg-subtle);
  color: var(--text-sub);
  border: 1px solid var(--border-color);
}

.btn-secondary:hover {
  background-color: var(--border-color);
}

/* ================= CEZA DETAY TABLOSU (KONTRASTLI GRİ-BEYAZ ZEBRA) ================= */
.detail-table-card {
  background: #ffffff;
  border: 1px solid #cbd5e1;
  border-radius: var(--radius-md);
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.05);
  margin-bottom: 2rem;
  overflow: hidden;
}

.detail-table-card-header {
  background: linear-gradient(180deg, #1e3a8a 0%, #172554 100%);
  color: #ffffff;
  padding: 1.25rem 1.5rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 0.75rem;
}

.detail-table-card-title {
  color: #ffffff;
  font-size: 1.25rem;
  font-weight: 850;
  margin: 0;
}

.egm-detail-table {
  width: 100%;
  border-collapse: collapse;
  font-size: 0.95rem;
}

/* Sol Sütun: Alan Adı (Koyu Belirgin Gri - Asla Beyaz Değil) */
.egm-detail-table tbody tr:nth-child(odd) th {
  width: 28%;
  background-color: #e2e8f0 !important;
  color: #0f172a;
  font-weight: 850;
  padding: 1.15rem 1.25rem;
  border-right: 2px solid #cbd5e1;
  border-bottom: 1px solid #cbd5e1;
  text-align: left;
  vertical-align: top;
  font-size: 0.875rem;
  text-transform: uppercase;
  letter-spacing: 0.02em;
}

.egm-detail-table tbody tr:nth-child(even) th {
  width: 28%;
  background-color: #cbd5e1 !important;
  color: #0f172a;
  font-weight: 850;
  padding: 1.15rem 1.25rem;
  border-right: 2px solid #94a3b8;
  border-bottom: 1px solid #94a3b8;
  text-align: left;
  vertical-align: top;
  font-size: 0.875rem;
  text-transform: uppercase;
  letter-spacing: 0.02em;
}

/* Sağ Sütun: Değerler (Zebra: Beyaz ve Belirgin Açık Gri) */
.egm-detail-table tbody tr:nth-child(odd) td {
  background-color: #ffffff !important;
  color: #1e293b;
  padding: 1.15rem 1.35rem;
  border-bottom: 1px solid #cbd5e1;
  vertical-align: top;
  line-height: 1.6;
}

.egm-detail-table tbody tr:nth-child(even) td {
  background-color: #f1f5f9 !important;
  color: #1e293b;
  padding: 1.15rem 1.35rem;
  border-bottom: 1px solid #cbd5e1;
  vertical-align: top;
  line-height: 1.6;
}

/* Satır Hover */
.egm-detail-table tbody tr:hover th,
.egm-detail-table tbody tr:hover td {
  filter: brightness(0.97);
}

@media (max-width: 768px) {
  .egm-detail-table tbody tr th,
  .egm-detail-table tbody tr td {
    display: block;
    width: 100% !important;
    border-right: none;
  }
  .egm-detail-table tbody tr th {
    padding-bottom: 0.45rem;
    border-bottom: none;
  }
  .egm-detail-table tbody tr td {
    padding-top: 0.45rem;
    padding-bottom: 1.15rem;
  }
}

/* ================= PRESTİJLİ BREADCRUMB (EKMEK KIRINTISI) ================= */
.site-breadcrumb {
  display: flex;
  align-items: center;
  width: 100%;
  background: #ffffff;
  border: 1px solid var(--border-light);
  border-radius: var(--radius-md);
  padding: 0.75rem 1.25rem;
  margin-bottom: 1.5rem;
  box-shadow: 0 2px 8px rgba(15, 23, 42, 0.04);
  gap: 0.5rem;
  flex-wrap: wrap;
  box-sizing: border-box;
}

.breadcrumb-link {
  color: var(--primary-blue);
  font-weight: 700;
  font-size: 0.85rem;
  text-decoration: none !important;
  padding: 0.2rem 0.5rem;
  border-radius: 6px;
  transition: all 0.15s ease;
  white-space: nowrap;
}

.breadcrumb-link:hover {
  background-color: var(--primary-blue-soft);
  color: var(--primary-blue-dark);
}

.breadcrumb-separator {
  color: var(--border-strong);
  font-size: 0.85rem;
  user-select: none;
  flex-shrink: 0;
}

.breadcrumb-current {
  display: inline-flex;
  align-items: center;
  background: var(--navy-legal-soft);
  color: var(--navy-legal);
  border: 1px solid var(--navy-legal-border);
  font-weight: 850;
  font-size: 0.825rem;
  padding: 0.2rem 0.65rem;
  border-radius: 6px;
  white-space: nowrap;
}

@media (max-width: 768px) {
  .site-breadcrumb {
    width: 100%;
    flex-wrap: nowrap;
    overflow: hidden;
    padding: 0.5rem 0.65rem;
    gap: 0.25rem;
    font-size: clamp(0.68rem, 2.7vw, 0.85rem);
  }
  .breadcrumb-link {
    font-size: inherit;
    padding: 0.15rem 0.35rem;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
    min-width: 0;
    flex-shrink: 1;
  }
  .breadcrumb-separator {
    font-size: inherit;
    flex-shrink: 0;
  }
  .breadcrumb-current {
    font-size: inherit;
    padding: 0.15rem 0.45rem;
    white-space: nowrap;
    flex-shrink: 0;
  }
}

/* Detay Sayfası Gezinme & Aksiyon Butonları */
.detail-nav-actions {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 1rem;
  margin-bottom: 2.5rem;
  flex-wrap: wrap;
}

.detail-nav-prev-next {
  display: flex;
  gap: 0.65rem;
  align-items: center;
}

.detail-nav-main-btns {
  display: flex;
  gap: 0.65rem;
  align-items: center;
  flex-wrap: wrap;
}

@media (max-width: 768px) {
  .detail-nav-actions {
    flex-direction: column;
    gap: 0.75rem;
    margin-bottom: 2rem;
  }

  .detail-nav-actions .btn {
    width: 100%;
    text-align: center;
    justify-content: center;
    padding: 0.75rem 1rem;
    font-size: 0.925rem;
  }

  .detail-nav-prev-next {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 0.65rem;
    width: 100%;
    order: 2;
  }

  .detail-nav-main-btns {
    display: flex;
    flex-direction: column;
    width: 100%;
    order: 1;
    gap: 0.65rem;
  }
}

/* ================= ULTRA MODERN & GELİŞMİŞ FOOTER (0 SVG, 0 EMOJI) ================= */
.site-footer {
  margin-top: auto;
  background-color: #ffffff;
  border-top: 2px solid var(--border-light);
  padding: 3.5rem 0 1.75rem 0;
  color: var(--text-sub);
  position: relative;
  box-shadow: 0 -4px 20px rgba(15, 23, 42, 0.03);
}

.footer-container {
  width: 100%;
}

.footer-grid {
  display: grid;
  grid-template-columns: 1.8fr 1fr 1fr 1.2fr;
  gap: 2.5rem;
  margin-bottom: 2.5rem;
}

.footer-col {
  display: flex;
  flex-direction: column;
}

.footer-logo-link {
  display: inline-flex;
  align-items: center;
  margin-bottom: 0.75rem;
  text-decoration: none !important;
}

.footer-logo-img {
  height: 52px;
  max-height: 52px;
  width: auto;
  object-fit: contain;
  display: block;
}

.footer-brand-desc {
  font-size: 0.875rem;
  color: var(--text-muted);
  line-height: 1.65;
  margin-bottom: 1.15rem;
  max-width: 380px;
}

.footer-status-pill {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  font-size: 0.775rem;
  font-weight: 750;
  color: var(--emerald-green-dark);
  background-color: var(--emerald-green-soft);
  border: 1px solid var(--emerald-green-border);
  padding: 0.35rem 0.85rem;
  border-radius: 20px;
  width: fit-content;
}

.status-indicator {
  display: inline-block;
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background-color: var(--emerald-green);
  box-shadow: 0 0 0 2px rgba(22, 101, 52, 0.2);
}

.footer-col-title {
  font-size: 0.925rem;
  font-weight: 850;
  color: var(--navy-legal);
  margin-bottom: 1.15rem;
  text-transform: uppercase;
  letter-spacing: 0.05em;
}

.footer-nav-list {
  list-style: none;
  padding: 0;
  margin: 0;
  display: flex;
  flex-direction: column;
  gap: 0.7rem;
}

.footer-nav-list a {
  font-size: 0.875rem;
  color: var(--text-sub);
  text-decoration: none !important;
  font-weight: 600;
  display: inline-block;
  transition: all 0.15s ease;
}

.footer-nav-list a:hover {
  color: var(--primary-blue);
  transform: translateX(3px);
}

.footer-nav-list span {
  font-size: 0.85rem;
  color: var(--text-muted);
  font-weight: 500;
}

.footer-notice-text {
  font-size: 0.825rem;
  color: var(--text-muted);
  line-height: 1.65;
}

/* Alt Telif Çubuğu */
.footer-bottom-bar {
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 1rem;
  padding-top: 1.5rem;
  border-top: 1px solid var(--border-light);
  font-size: 0.825rem;
  color: var(--text-muted);
}

.footer-copyright strong {
  color: var(--navy-legal);
  font-weight: 750;
}

.footer-meta-info {
  font-size: 0.8rem;
  color: var(--text-light);
  font-weight: 600;
}

/* Footer Mobil Duyarlılık */
@media (max-width: 991px) {
  .site-footer {
    padding: 2.5rem 0 1.5rem 0;
  }

  .footer-grid {
    grid-template-columns: 1fr;
    gap: 2rem;
    margin-bottom: 2rem;
  }

  .footer-col-brand {
    align-items: flex-start;
  }

  .footer-brand-desc {
    max-width: 100%;
  }

  .footer-bottom-bar {
    flex-direction: column;
    text-align: center;
    gap: 0.65rem;
  }
}

/* ================= TRAFİK CEZALARI YORUM VE YANIT SİSTEMİ ================= */
.fine-comments-section {
  margin-top: 3rem;
  padding-top: 2rem;
  border-top: 2px solid var(--border-light);
}

.comments-section-header {
  margin-bottom: 1.75rem;
}

.comments-header-left {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  margin-bottom: 0.35rem;
  flex-wrap: wrap;
}

.comments-header-title {
  font-size: 1.45rem;
  font-weight: 850;
  color: var(--navy-legal);
  margin: 0;
  letter-spacing: -0.02em;
}

.comments-badge {
  display: inline-flex;
  align-items: center;
  background: var(--navy-legal-soft);
  color: var(--navy-legal);
  border: 1px solid var(--navy-legal-border);
  font-size: 0.8rem;
  font-weight: 800;
  padding: 0.2rem 0.65rem;
  border-radius: 9999px;
}

.comments-header-desc {
  font-size: 0.925rem;
  color: var(--text-sub);
  margin: 0;
  line-height: 1.5;
}

/* Yeni Yorum Yapma Kartı */
.comment-form-card {
  background: #ffffff;
  border: 1px solid var(--border-color);
  border-radius: var(--radius-lg);
  padding: 1.75rem;
  margin-bottom: 2.25rem;
  box-shadow: 0 4px 16px rgba(15, 23, 42, 0.04);
}

.comment-form-card-title {
  font-size: 1.1rem;
  font-weight: 800;
  color: var(--navy-legal);
  margin-top: 0;
  margin-bottom: 1.25rem;
  padding-bottom: 0.75rem;
  border-bottom: 1px solid var(--border-light);
}

.comment-form-group {
  margin-bottom: 1.25rem;
}

.comment-form-group label {
  display: block;
  font-size: 0.875rem;
  font-weight: 750;
  color: var(--navy-legal);
  margin-bottom: 0.45rem;
  letter-spacing: -0.01em;
}

.text-danger {
  color: var(--danger-red, #dc2626) !important;
  font-weight: 800;
}

.comment-form-row {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 1rem;
}

/* Genel ve Yorum Form Giriş Alanları (Inputs & Textarea) */
.form-control {
  display: block;
  width: 100%;
  padding: 0.65rem 0.95rem;
  font-size: 0.925rem;
  font-family: inherit;
  font-weight: 500;
  line-height: 1.5;
  color: var(--text-main, #0f172a);
  background-color: #ffffff;
  background-clip: padding-box;
  border: 1.5px solid var(--border-color, #cbd5e1);
  border-radius: var(--radius-sm, 6px);
  box-shadow: inset 0 1px 2px rgba(15, 23, 42, 0.04);
  transition: border-color 0.15s ease-in-out, box-shadow 0.15s ease-in-out;
  box-sizing: border-box;
}

.form-control:focus {
  color: var(--text-main, #0f172a);
  background-color: #ffffff;
  border-color: var(--primary-blue, #0284c7);
  outline: 0;
  box-shadow: 0 0 0 3px rgba(2, 132, 199, 0.15);
}

.form-control::placeholder {
  color: #94a3b8;
  font-weight: 400;
}

.form-control-sm {
  padding: 0.45rem 0.75rem;
  font-size: 0.85rem;
  border-radius: 5px;
}

.comment-label-wrap {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 0.45rem;
}

.comment-label-wrap label {
  margin-bottom: 0;
}

.comment-char-counter {
  font-size: 0.8rem;
  color: var(--text-light, #64748b);
  font-weight: 600;
}

.comment-textarea {
  resize: vertical;
  min-height: 95px;
  line-height: 1.5;
  font-size: 0.925rem;
}

.comment-submit-wrap {
  display: flex;
  justify-content: flex-end;
  margin-top: 0.5rem;
}

/* Yorum Listesi ve Kartları */
.comments-stream {
  display: flex;
  flex-direction: column;
  gap: 1.25rem;
}

.comments-empty-box {
  background: #f8fafc;
  border: 1px dashed var(--border-strong);
  border-radius: var(--radius-md);
  padding: 2.5rem 1.5rem;
  text-align: center;
}

.comment-card {
  background: #ffffff;
  border: 1px solid var(--border-color);
  border-radius: var(--radius-md);
  padding: 1.25rem 1.4rem;
  box-shadow: 0 2px 8px rgba(15, 23, 42, 0.03);
  transition: border-color 0.2s ease;
}

.comment-card:hover {
  border-color: #cbd5e1;
}

.comment-card-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 0.75rem;
}

.comment-user-info {
  display: flex;
  align-items: center;
  gap: 0.75rem;
}

.comment-avatar {
  width: 36px;
  height: 36px;
  border-radius: 50%;
  background: var(--navy-legal-soft);
  color: var(--navy-legal);
  font-weight: 850;
  font-size: 0.95rem;
  display: flex;
  align-items: center;
  justify-content: center;
  border: 1px solid var(--navy-legal-border);
  flex-shrink: 0;
}

.comment-user-name {
  font-size: 0.95rem;
  font-weight: 800;
  color: var(--navy-legal);
  line-height: 1.2;
}

.comment-date {
  font-size: 0.775rem;
  color: var(--text-light);
  font-weight: 500;
  margin-top: 0.15rem;
}

.btn-reply-toggle {
  background: transparent;
  border: none;
  color: var(--primary-blue);
  font-size: 0.85rem;
  font-weight: 750;
  cursor: pointer;
  padding: 0.25rem 0.5rem;
  border-radius: 4px;
  transition: all 0.15s ease;
}

.btn-reply-toggle:hover {
  background: var(--primary-blue-soft);
  color: var(--primary-blue-dark);
}

/* Yorum İçeriği ve 50 Karakter Devamını Oku */
.comment-content-body {
  font-size: 0.925rem;
  color: #334155;
  line-height: 1.6;
  word-break: break-word;
}

.btn-read-toggle {
  background: transparent;
  border: none;
  color: var(--primary-blue);
  font-weight: 750;
  font-size: 0.85rem;
  cursor: pointer;
  padding: 0 0.25rem;
  text-decoration: underline;
  display: inline-block;
  transition: color 0.15s ease;
}

.btn-read-toggle:hover {
  color: var(--primary-blue-dark);
}

/* Yanıt Formu */
.reply-form-container {
  margin-top: 1rem;
  padding: 1rem;
  background: #f8fafc;
  border: 1px solid var(--border-light);
  border-radius: var(--radius-sm);
}

.reply-form-top {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 0.75rem;
}

.reply-targeting-text {
  font-size: 0.825rem;
  color: var(--navy-legal);
}

.btn-cancel-reply {
  background: transparent;
  border: none;
  color: var(--danger-red);
  font-size: 0.8rem;
  font-weight: 700;
  cursor: pointer;
  padding: 0;
}

.btn-cancel-reply:hover {
  text-decoration: underline;
}

/* Yanıtlar Hiyerarşisi (Nested Replies) */
.replies-nested-list {
  margin-top: 1rem;
  margin-left: 2rem;
  padding-left: 1rem;
  border-left: 2px solid #e2e8f0;
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
}

.reply-card {
  background: #f8fafc;
  border: 1px solid var(--border-light);
  border-radius: var(--radius-sm);
  padding: 0.85rem 1rem;
}

.reply-avatar-icon {
  width: 28px;
  height: 28px;
  font-size: 0.8rem;
  background: #e2e8f0;
  color: #475569;
  border-color: #cbd5e1;
}

.reply-badge-pill {
  display: inline-block;
  font-size: 0.675rem;
  font-weight: 800;
  background: #e2e8f0;
  color: #475569;
  padding: 0.1rem 0.4rem;
  border-radius: 4px;
  margin-left: 0.35rem;
  vertical-align: middle;
}

.reply-content-body {
  font-size: 0.885rem;
}

/* Yorumlar Mobil Uyumluluk */
@media (max-width: 768px) {
  .fine-comments-section {
    margin-top: 2rem;
    padding-top: 1.5rem;
  }

  .comment-form-card {
    padding: 1.15rem;
  }

  .comment-card {
    padding: 1rem;
  }

  .replies-nested-list {
    margin-left: 0.75rem;
    padding-left: 0.65rem;
  }

  .comment-submit-wrap {
    justify-content: stretch;
  }

  .comment-submit-wrap .btn {
    width: 100%;
  }
}

/* ================= REKLAM & BANNER ALANLARI ================= */
.ad-container {
  width: 100%;
  text-align: center;
  margin: 1.25rem auto;
  max-width: 1200px;
  overflow: hidden;
  display: flex;
  justify-content: center;
  align-items: center;
}

.ad-container ins.adsbygoogle {
  margin: 0 auto;
}

.ad-header_top {
  margin-top: 1rem;
  margin-bottom: 1rem;
  padding: 0 1rem;
}

.ad-footer_bottom {
  margin-top: 2rem;
  margin-bottom: 2rem;
  padding: 0 1rem;
}

/* Ana Sayfa (Index) Reklamsızlık Garantisi */
body.fullscreen-portal-body .ad-container,
body.fullscreen-portal-body ins.adsbygoogle,
body.fullscreen-portal-body .google-auto-placed {
  display: none !important;
  visibility: hidden !important;
  height: 0 !important;
  pointer-events: none !important;
}

.ad-content_middle {
  margin: 1.75rem auto;
  padding: 1rem 0;
  border-top: 1px dashed var(--border-light);
  border-bottom: 1px dashed var(--border-light);
}

.ad-table_middle {
  margin: 1.25rem auto;
  padding: 0.5rem 0;
}
