/**
 * ============================================================================
 * HABERWEB PRO V3 - PREMIUM TEMPLATE & CORE STYLESHEET
 * ============================================================================
 * Bu stil dosyası mantıksal önem sırasına göre yapılandırılmış, optimize edilmiş,
 * mükerrer tanımlar temizlenmiş ve mobil uyumluluk kuralları en sona toplanmıştır.
 *
 * İÇİNDEKİLER:
 * 1.  SABİT TANIMLAMALAR, CSS DEĞİŞKENLERİ & TEMEL SIFIRLAMA (RESET)
 * 2.  HEADER, NAVİGASYON & ARAMA ALANI STİLLERİ
 * 3.  GÖVDE (LAYOUT), GRID & BÖLÜM (SECTION) MİMARİSİ
 * 4.  TEMEL KART (.card) MİMARİSİ & YARDIMCI (UTILITY) SINIFLAR
 * 5.  TICKER / SON DAKİKA AKIŞ BİLEŞENİ
 * 6.  KPI, İSTATİSTİK & DAĞILIM BİLEŞENLERİ
 * 7.  HABER KARTLARI (MANŞET, GRID, LİSTE, VİTRİN)
 * 8.  HABER DETAY SAYFASI & MAKALE STİLLERİ
 * 9.  SIDEBAR & YAN PANEL BİLEŞENLERİ (TREND, BÖLGE, ANKET VB.)
 * 10. KURUM BİLGİ KARTLARI, BELEDİYE SIRALAMA & ÖNİZLEME ALANLARI
 * 11. FOOTER (ALT BİLGİ) STİLLERİ
 * 12. ÖZEL ANİMASYONLAR (@keyframes)
 * 13. MOBİL UYUMLULUK KURALLARI (@media query - 991px, 768px, 640px)
 * ============================================================================
 */

/* ==========================================================================
   1. SABİT TANIMLAMALAR, CSS DEĞİŞKENLERİ & TEMEL SIFIRLAMA (RESET)
   ========================================================================== */

:root {
  --h-font: 'Outfit', 'Plus Jakarta Sans', system-ui, -apple-system, sans-serif;
  --h-font-mono: ui-monospace, SFMono-Regular, Menlo, Monaco, Consolas, monospace;
  /* Renk Paleti */
  --h-primary: var(--renk-birincil, #dc2626);
  --h-primary-hover: color-mix(in srgb, var(--h-primary) 85%, #000000);
  --h-primary-soft: color-mix(in srgb, var(--h-primary) 10%, #ffffff);
  --h-secondary: var(--renk-ikincil, #2563eb);
  --h-secondary-hover: color-mix(in srgb, var(--h-secondary) 85%, #000000);
  --h-secondary-soft: color-mix(in srgb, var(--h-secondary) 10%, #ffffff);
  --h-slate-900: #0f172a;
  --h-slate-800: #1e293b;
  --h-slate-700: #334155;
  --h-slate-600: #475569;
  --h-slate-500: #64748b;
  --h-slate-400: #94a3b8;
  --h-slate-300: #cbd5e1;
  --h-slate-200: #e2e8f0;
  --h-slate-100: #f1f5f9;
  --h-slate-50: #f8fafc;
  /* Standart Kutu (Card) Standartları */
  --card-radius: 14px;
  --card-radius-sm: 8px;
  --card-bg: #ffffff;
  --card-border: 1px solid var(--h-slate-200);
  --card-shadow: 0 1px 3px rgba(15, 23, 42, 0.04);
  --card-shadow-hover: 0 12px 24px -6px rgba(15, 23, 42, 0.08), 0 4px 8px -2px rgba(15, 23, 42, 0.03);
  --card-transition: all 0.2s cubic-bezier(0.16, 1, 0.3, 1);
}

::selection {
  background-color: var(--h-slate-200);
  color: var(--h-slate-900);
}

::-moz-selection {
  background-color: var(--h-slate-200);
  color: var(--h-slate-900);
}

/* ==========================================================================
   GLOBAL CUSTOM SCROLLBAR (Site Geneli Modern & İnce Kaydırma Çubuğu)
   ========================================================================== */
html,
body {
  scrollbar-width: thin;
  scrollbar-color: var(--h-slate-300) transparent;
}

::-webkit-scrollbar {
  width: 7px;
  height: 7px;
}

::-webkit-scrollbar-track {
  background: transparent;
}

::-webkit-scrollbar-thumb {
  background: var(--h-slate-300);
  border-radius: 999px;
  transition: background 0.15s ease;
}

::-webkit-scrollbar-thumb:hover {
  background: var(--h-slate-400);
}

::-webkit-scrollbar-corner {
  background: transparent;
}

body.page-app {
  margin: 0;
  padding: 0;
  font-family: var(--h-font);
  background-color: var(--h-slate-50);
  color: var(--h-slate-800);
  -webkit-font-smoothing: antialiased;
  min-height: 100vh;
  display: flex;
  flex-direction: column;
}

/* ==========================================================================
   2. HEADER, NAVİGASYON & ARAMA ALANI STİLLERİ
   ========================================================================== */

.card-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  padding: 16px 20px;
  border-bottom: 1px solid var(--h-slate-100);
  background-color: #ffffff;
}

.card-header-badge {
  font-size: 11px;
  font-weight: 600;
  padding: 3px 9px;
  border-radius: 12px;
  background-color: var(--h-slate-100);
  color: var(--h-slate-600);
  white-space: nowrap;
}

.card.card-header-bar {
  margin-bottom: 20px;
}

.card.card-header-bar .card-body {
  padding: 20px 24px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
}

.card-header-bar-main {
  display: flex;
  align-items: center;
  gap: 16px;
  flex: 1;
  min-width: 0;
}

.card-header-bar-icon {
  width: 48px;
  height: 48px;
  border-radius: 12px;
  background: linear-gradient(135deg, var(--h-slate-900) 0%, var(--h-slate-800) 100%);
  color: #ffffff;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  box-shadow: 0 4px 10px rgba(15, 23, 42, 0.15);
}

.card-header-bar-title {
  font-size: 24px;
  font-weight: 800;
  color: var(--h-slate-900);
  margin: 0;
  line-height: 1.2;
  letter-spacing: -0.02em;
}

.card-header-bar-desc {
  font-size: 13.5px;
  color: var(--h-slate-500);
  margin: 4px 0 0 0;
  line-height: 1.45;
}

.card-header-bar-stat {
  background: var(--h-slate-50);
  border: 1px solid var(--h-slate-200);
  border-radius: 10px;
  padding: 10px 22px;
  min-width: 110px;
  text-align: center;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.card-header-bar-stat--mobile-only {
  display: none;
}

.card-header-bar-stat-num {
  font-size: 26px;
  font-weight: 800;
  color: var(--h-slate-900);
  font-family: var(--h-font-mono);
  line-height: 1;
}

.card-header-bar-stat-subnum {
  font-size: 14px;
  font-weight: 700;
  color: var(--h-primary, #dc2626);
  margin-left: 2px;
  letter-spacing: -0.01em;
}

.card-header-bar-stat-label {
  font-size: 11px;
  color: var(--h-slate-500);
  font-weight: 600;
  margin-top: 4px;
  white-space: nowrap;
}

/* ── Konum Hero & Karşılaştırma Podyumu (card-header-bar--location) ── */
.card.card-header-bar--location {
  margin-bottom: 22px;
  overflow: hidden;
}

.card.card-header-bar--location .card-body {
  display: flex;
  flex-direction: column;
  gap: 16px;
  padding: 22px 24px;
}

.card-header-bar-top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  flex-wrap: wrap;
  width: 100%;
}

.card-header-bar .breadcrumb-nav {
  margin-top: 5px;
  margin-bottom: 0;
  font-size: 12.5px;
  display: flex;
  align-items: center;
  gap: 5px;
  flex-wrap: wrap;
}

.card-header-bar .breadcrumb-nav a {
  font-weight: 600;
  color: var(--h-slate-600);
}

.card-header-bar .breadcrumb-nav a:hover {
  color: var(--h-primary);
}

.card-header-bar .breadcrumb-nav .active {
  color: var(--h-primary);
  font-weight: 700;
}

.card-header-bar .breadcrumb-sep {
  display: inline-flex;
  align-items: center;
  color: var(--h-slate-400);
}

.location-stats-group {
  display: flex;
  align-items: center;
  gap: 10px;
  flex-shrink: 0;
  flex-wrap: wrap;
}

.location-podium-bar {
  padding-top: 14px;
  border-top: 1px solid var(--h-slate-100);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 14px;
  flex-wrap: wrap;
  width: 100%;
}

.location-podium-lead {
  display: flex;
  align-items: center;
  gap: 8px;
  flex-shrink: 0;
}

.location-podium-lead-icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 30px;
  height: 30px;
  border-radius: var(--card-radius-sm);
  background: var(--h-slate-100);
  color: #f59e0b;
}

.location-podium-lead-title {
  display: block;
  font-size: 12px;
  font-weight: 800;
  color: var(--h-slate-800);
  text-transform: uppercase;
  letter-spacing: 0.03em;
  line-height: 1.2;
}

.location-podium-lead-sub {
  display: block;
  font-size: 10.5px;
  font-weight: 500;
  color: var(--h-slate-400);
  margin-top: 2px;
}

.location-podium-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 10px;
  flex: 1;
  max-width: 820px;
}

.location-podium-item {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 8px;
  padding: 8px 12px;
  border-radius: var(--card-radius-sm);
  background: var(--h-slate-50);
  border: 1px solid var(--h-slate-200);
  text-decoration: none;
  transition: var(--card-transition);
}

.location-podium-item:hover {
  background: #ffffff;
  border-color: var(--h-slate-300);
  transform: translateY(-2px);
  box-shadow: var(--card-shadow);
}

.location-podium-left {
  display: flex;
  align-items: center;
  gap: 8px;
  min-width: 0;
}

.location-podium-icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 24px;
  height: 24px;
  border-radius: 6px;
  background: #ffffff;
  border: 1px solid var(--h-slate-200);
  flex-shrink: 0;
}

.location-podium-info {
  min-width: 0;
}

.location-podium-rank {
  display: block;
  font-size: 9.5px;
  font-weight: 800;
  text-transform: uppercase;
  line-height: 1;
  letter-spacing: 0.02em;
}

.location-podium-name {
  display: block;
  font-size: 12px;
  font-weight: 700;
  color: var(--h-slate-800);
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
  margin-top: 2px;
}

.location-podium-item:hover .location-podium-name {
  color: var(--h-primary);
}

.location-podium-badge {
  display: inline-flex;
  align-items: center;
  font-size: 10.5px;
  font-weight: 700;
  color: var(--h-slate-700);
  background: #ffffff;
  border: 1px solid var(--h-slate-200);
  padding: 2px 7px;
  border-radius: 6px;
  flex-shrink: 0;
  font-family: var(--h-font-mono);
}

/* 1. Altın, 2. Gümüş, 3. Bronz Özgün Aksanları */
.location-podium-item--gold {
  border-left: 3px solid #f59e0b;
}

.location-podium-item--gold .location-podium-icon {
  color: #d97706;
  border-color: rgba(245, 158, 11, 0.3);
  background: #fffdf5;
}

.location-podium-item--gold .location-podium-rank {
  color: #d97706;
}

.location-podium-item--silver {
  border-left: 3px solid #94a3b8;
}

.location-podium-item--silver .location-podium-icon {
  color: #64748b;
  border-color: rgba(148, 163, 184, 0.3);
  background: #f8fafc;
}

.location-podium-item--silver .location-podium-rank {
  color: #64748b;
}

.location-podium-item--bronze {
  border-left: 3px solid #ea580c;
}

.location-podium-item--bronze .location-podium-icon {
  color: #ea580c;
  border-color: rgba(234, 88, 12, 0.3);
  background: #fffaf5;
}

.location-podium-item--bronze .location-podium-rank {
  color: #ea580c;
}


.share-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 12px;
  padding-bottom: 10px;
  border-bottom: 1px solid var(--h-slate-200);
}

.share-header-title {
  font-size: 13.5px;
  font-weight: 700;
  color: var(--h-slate-900);
  display: flex;
  align-items: center;
  gap: 7px;
}

.card.card-sidebar .card-header {
  padding: 14px 18px;
}

.sidebar-menu-list,
.mobile-drawer-nav {
  display: flex;
  flex-direction: column;
  gap: 4px;
}

.sidebar-menu-link {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 9px 12px;
  border-radius: 7px;
  color: var(--h-slate-700);
  text-decoration: none;
  font-size: 13px;
  font-weight: 600;
  transition: all 0.15s ease;
}

.sidebar-menu-link:hover {
  background-color: var(--h-slate-100);
  color: var(--h-slate-900);
}

.sidebar-menu-link.active {
  background-color: color-mix(in srgb, var(--h-primary) 8%, #ffffff);
  color: var(--h-primary);
  font-weight: 700;
  border-left: 3px solid var(--h-primary);
  border-radius: 0 7px 7px 0;
}

/* Not: portal-nav-link:hover ve .active tanımları aşağıda (satır ~278) tam olarak tanımlanmıştır. */

.portal-header {
  position: relative;
  z-index: 100;
  pointer-events: none;
}

.portal-header.is-sticky {
  position: sticky;
  top: 0;
}

.portal-header-main {
  background-color: #ffffff;
  border-bottom: 1px solid var(--h-slate-200);
  box-shadow: 0 1px 3px rgba(15, 23, 42, 0.04);
  pointer-events: auto;
}

.portal-header-top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 14px 0;
  gap: 20px;
}

.portal-header-right {
  display: flex;
  align-items: center;
  gap: 12px;
  flex-shrink: 0;
}

.portal-nav {
  display: flex;
  align-items: center;
  gap: 4px;
}

.portal-nav-link {
  display: inline-flex;
  align-items: center;
  padding: 8px 14px;
  font-size: 15px;
  font-weight: 600;
  color: var(--h-slate-700);
  text-decoration: none;
  border-radius: 8px;
  transition: all 0.15s ease;
  line-height: 1.2;
}

.portal-nav-link:hover {
  background-color: var(--h-slate-100);
  color: var(--h-slate-900);
}

.portal-nav-link.active {
  background-color: var(--h-primary-soft);
  color: var(--h-primary);
  font-weight: 700;
}

.portal-search-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 38px;
  height: 38px;
  border-radius: 50%;
  background-color: var(--h-slate-50);
  border: 1px solid var(--h-slate-200);
  color: var(--h-slate-700);
  cursor: pointer;
  transition: all 0.15s ease;
  padding: 0;
  box-sizing: border-box;
  box-shadow: 0 1px 3px rgba(15, 23, 42, 0.04);
}

.portal-search-btn:hover {
  background-color: var(--h-slate-100);
  color: var(--h-primary);
  border-color: var(--h-slate-300);
  transform: translateY(-1px);
}

.portal-menu-toggle {
  display: none;
  align-items: center;
  justify-content: center;
  width: 38px;
  height: 38px;
  border-radius: 10px;
  background-color: var(--h-slate-50);
  border: 1px solid var(--h-slate-200);
  color: var(--h-slate-800);
  cursor: pointer;
  padding: 0;
  transition: all 0.15s ease;
}

.portal-menu-toggle:hover {
  background-color: var(--h-slate-100);
  color: var(--h-primary);
}

.portal-geo-toggle {
  display: none;
  align-items: center;
  justify-content: center;
  width: 38px;
  height: 38px;
  border-radius: 10px;
  background-color: var(--h-slate-50);
  border: 1px solid var(--h-slate-200);
  color: var(--h-slate-800);
  cursor: pointer;
  padding: 0;
  position: relative;
  transition: all 0.15s ease;
  box-shadow: 0 1px 3px rgba(15, 23, 42, 0.04);
}

.portal-geo-toggle:hover,
.portal-geo-toggle.is-active,
.portal-geo-toggle.has-active {
  background-color: #fef2f2;
  color: var(--renk-birincil, #dc2626);
  border-color: #fecaca;
}

.portal-geo-toggle-dot {
  position: absolute;
  top: 5px;
  right: 5px;
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background-color: var(--renk-birincil, #dc2626);
  border: 1.5px solid #ffffff;
}

.portal-header-bottom {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding: 9px 0;
  border-top: 1px solid var(--h-slate-100);
  position: relative;
}

.portal-search-overlay {
  position: fixed;
  inset: 0;
  background: rgba(15, 23, 42, 0.55);
  backdrop-filter: blur(4px);
  -webkit-backdrop-filter: blur(4px);
  z-index: 2000;
  display: flex;
  align-items: flex-start;
  justify-content: center;
  padding-top: 80px;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.2s ease;
}

.portal-search-overlay.open {
  opacity: 1;
  pointer-events: auto;
}

.portal-search-box {
  display: flex;
  align-items: center;
  gap: 12px;
  width: 100%;
  max-width: 680px;
  padding: 0 16px;
  box-sizing: border-box;
  transform: translateY(-12px);
  transition: transform 0.22s cubic-bezier(0.4, 0, 0.2, 1);
}

.portal-search-overlay.open .portal-search-box {
  transform: translateY(0);
}

.portal-search-form {
  flex: 1;
  display: flex;
  align-items: center;
  gap: 12px;
  background: #ffffff;
  border-radius: 50px;
  padding: 6px 6px 6px 20px;
  height: 54px;
  min-height: 54px;
  box-shadow: 0 20px 40px -8px rgba(15, 23, 42, 0.25);
  box-sizing: border-box;
}

.portal-search-form-icon,
.error-search-icon {
  color: var(--h-slate-400);
  flex-shrink: 0;
}

.portal-search-input {
  flex: 1;
  border: none;
  outline: none;
  font-size: 16px;
  font-weight: 500;
  color: var(--h-slate-900);
  font-family: var(--h-font);
  background: transparent;
  padding: 0;
  min-width: 0;
}

.portal-search-input::placeholder {
  color: var(--h-slate-400);
}

.portal-search-submit,
.error-search-submit {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  height: 42px;
  padding: 0 24px;
  border-radius: 40px;
  background: var(--h-primary);
  color: #ffffff;
  font-size: 15px;
  font-weight: 700;
  border: none;
  cursor: pointer;
  transition: background 0.15s ease;
  flex-shrink: 0;
}

.portal-search-submit:hover,
.error-search-submit:hover {
  background: var(--h-primary-hover);
}

.portal-search-close {
  width: 54px;
  height: 54px;
  min-width: 54px;
  border-radius: 50%;
  background: #ffffff;
  border: none;
  color: var(--h-slate-800);
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 10px 25px -4px rgba(15, 23, 42, 0.2);
  transition: all 0.15s ease;
  flex-shrink: 0;
  box-sizing: border-box;
}

.portal-search-close:hover {
  background: #ffffff;
  color: var(--h-primary);
  transform: scale(1.05);
}

.mobile-drawer-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding-bottom: 14px;
  border-bottom: 1px solid var(--h-slate-200);
  margin-bottom: 8px;
}

.portal-mobile-drawer .portal-nav-link {
  width: 100%;
  padding: 10px 14px;
  font-size: 15px;
  box-sizing: border-box;
}

.card.card-ranked-list .card-header {
  background: transparent;
  padding: 14px 18px;
  border-bottom: 1px solid var(--h-slate-100);
}

.sidebar-districts-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 12px;
  padding-bottom: 12px;
  border-bottom: 1px solid var(--h-slate-100);
}

.sidebar-districts-header-left {
  display: flex;
  align-items: center;
  gap: 10px;
}

.sidebar-districts-search {
  margin-bottom: 12px;
}

.district-search-input {
  width: 100%;
  height: 36px;
  padding: 8px 12px;
  font-size: 12.5px;
  line-height: 20px;
  font-family: inherit;
  border-radius: 8px;
  border: 1px solid var(--h-slate-200);
  background: #ffffff;
  color: var(--h-slate-900);
  outline: none;
  transition: all 0.15s ease;
  box-sizing: border-box;
}

.district-search-input::placeholder {
  color: var(--h-slate-400);
  font-size: 12.5px;
}

.district-search-input:focus {
  background: #ffffff;
  border-color: var(--h-primary);
  box-shadow: 0 0 0 3px rgba(220, 38, 38, 0.1);
}

.error-search-wrap {
  width: 100%;
  max-width: 580px;
  margin-bottom: 24px;
}

.error-search-form {
  width: 100%;
  display: flex;
  align-items: center;
  gap: 12px;
  background: #ffffff;
  border: 1px solid var(--h-slate-200);
  border-radius: 50px;
  padding: 6px 6px 6px 20px;
  height: 54px;
  min-height: 54px;
  box-sizing: border-box;
  box-shadow: 0 4px 14px rgba(15, 23, 42, 0.06);
  transition: all 0.15s ease;
}

.error-search-form--full {
  width: 100%;
}

.error-search-form:focus-within {
  border-color: var(--h-primary);
  box-shadow: 0 0 0 3px var(--h-primary-soft), 0 8px 24px rgba(15, 23, 42, 0.08);
}

.error-search-input {
  flex: 1;
  border: none;
  outline: none;
  background: transparent;
  font-family: var(--h-font);
  font-size: 16px;
  font-weight: 500;
  color: var(--h-slate-900);
  padding: 0;
  min-width: 0;
}

.error-search-input::placeholder {
  color: var(--h-slate-400);
}

.breadcrumb-nav {
  display: flex;
  align-items: center;
  gap: 6px;
  font-size: 12px;
  color: var(--h-slate-400);
  margin-bottom: 6px;
}

.breadcrumb-nav a {
  color: var(--h-slate-500);
  text-decoration: none;
  transition: color 0.15s ease;
}

.breadcrumb-nav a:hover {
  color: var(--h-slate-900);
}

.breadcrumb-nav .active {
  color: var(--h-slate-800);
  font-weight: 700;
}

/* ==========================================================================
   3. GÖVDE (LAYOUT), GRID & BÖLÜM (SECTION) MİMARİSİ
   ========================================================================== */

.main-content {
  flex: 1;
}

.portal-container {
  width: 100%;
  max-width: 1280px;
  margin: 0 auto;
  padding: 0 24px;
  box-sizing: border-box;
}

.card.section-head,
.section-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  margin-top: 0;
  margin-bottom: 20px;
  padding: 16px 20px;
  background: #ffffff;
  border: 1px solid var(--h-slate-200);
  border-radius: var(--card-radius);
  box-shadow: 0 1px 3px rgba(15, 23, 42, 0.04);
  box-sizing: border-box;
  flex-wrap: wrap;
}

.content-main>.card.section-head:first-child,
.content-main>.section-head:first-child {
  margin-top: 0;
  margin-bottom: 0;
}

.section-head-main {
  display: flex;
  align-items: center;
  gap: 12px;
}

.section-head-pill {
  width: 6px;
  height: 26px;
  border-radius: 9999px;
  background-color: var(--h-primary);
  flex-shrink: 0;
}

.section-head-title {
  font-size: 20px;
  font-weight: 800;
  color: var(--h-slate-900);
  margin: 0;
  letter-spacing: -0.015em;
  line-height: 1.25;
}

.section-head-desc,
.section-head-sub {
  font-size: 12.5px;
  color: var(--h-slate-500);
  margin: 3px 0 0 0;
  font-weight: 400;
  line-height: 1.4;
}

/* section-head alt bileşenleri (static sayfalar için) */
.section-head-left {
  display: flex;
  align-items: center;
  gap: 12px;
}

.section-head-actions {
  display: flex;
  align-items: center;
  gap: 8px;
  flex-shrink: 0;
}

.share-actions-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 8px;
}

.coord-info-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 8px 0;
  border-bottom: 1px solid var(--h-slate-100);
  font-size: 12px;
  gap: 10px;
}

.coord-info-row.is-last {
  border-bottom: none;
  padding-bottom: 2px;
}

.info-row-block {
  display: flex;
  gap: 12px;
  margin-bottom: 14px;
  align-items: flex-start;
}

.info-row-icon {
  width: 32px;
  height: 32px;
  border-radius: 8px;
  background: var(--h-slate-100);
  color: var(--h-slate-700);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.info-row-body strong {
  display: block;
  font-size: 13px;
  font-weight: 700;
  color: var(--h-slate-900);
  margin-bottom: 2px;
}

.info-row-body span {
  font-size: 13px;
  color: var(--h-slate-600);
  line-height: 1.45;
}

.info-row-between {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 10px 0;
  border-top: 1px solid var(--h-slate-100);
  font-size: 13px;
  gap: 12px;
}

.info-row-label {
  display: flex;
  align-items: center;
  gap: 8px;
  color: var(--h-slate-600);
  font-weight: 600;
}

.info-row-label svg {
  color: var(--h-slate-400);
}

.info-row-value,
.info-row-link {
  font-weight: 700;
  color: var(--h-slate-900);
  text-decoration: none;
  transition: color 0.15s ease;
}

.info-row-link:hover {
  color: var(--h-primary);
}

/* ==========================================================================
   4. TEMEL KART (.card) MİMARİSİ & YARDIMCI (UTILITY) SINIFLAR
   ========================================================================== */

.page-wrap {
  padding: 20px 0 20px 0;
  width: 100%;
  box-sizing: border-box;
}

.content-grid {
  display: grid;
  grid-template-columns: minmax(0, 8fr) minmax(0, 4fr);
  gap: 20px;
  align-items: start;
}

.content-main {
  display: flex;
  flex-direction: column;
  gap: 20px;
  min-width: 0;
}

/* ==========================================================================
   Manşet Kartı ve Slider Stilleri (Saf Vanilla CSS - Kompakt & Detaylı)
   ========================================================================== */
.portal-manset-section {
  width: 100%;
  box-sizing: border-box;
}

.portal-manset-grid {
  display: grid;
  gap: 20px;
  align-items: stretch;
}

.portal-manset-grid.has-sidebar {
  grid-template-columns: minmax(0, 8fr) minmax(0, 4fr);
}

.portal-manset-grid.full-width {
  grid-template-columns: 1fr;
}

.portal-manset-main-col,
.portal-manset-side-col {
  min-width: 0;
}

.portal-manset-side-col {
  display: flex;
  flex-direction: column;
}

.portal-manset-side-col>.card,
.portal-manset-side-col .card-ranked-list {
  height: 100%;
}

.portal-manset-side-col .card-ranked-list .card-body {
  height: 100%;
  display: flex;
  flex-direction: column;
}

.portal-manset-side-col .rank-list-items {
  flex: 1;
  display: flex;
  flex-direction: column;
  justify-content: center;
}

@media (max-width: 992px) {
  .portal-manset-grid.has-sidebar {
    grid-template-columns: 1fr;
  }

  .portal-manset-side-col>.card,
  .portal-manset-side-col .card-ranked-list {
    height: auto;
  }
}

/* ── Manşet Ana Kartı ── */
.portal-manset-card {
  background-color: #ffffff;
  border: 1px solid var(--h-slate-200);
  border-radius: 14px;
  overflow: hidden;
  box-shadow: 0 1px 3px 0 rgba(15, 23, 42, 0.04);
  display: flex;
  flex-direction: column;
}

.portal-manset-viewport {
  position: relative;
  width: 100%;
}

.portal-manset-slides {
  position: relative;
  width: 100%;
  display: grid;
  grid-template-areas: "slide";
}

.portal-manset-slide {
  grid-area: slide;
  width: 100%;
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
  z-index: 1;
  transition: opacity 0.4s ease, visibility 0.4s ease;
}

.portal-manset-slide.is-prev {
  opacity: 1;
  visibility: visible;
  pointer-events: none;
  z-index: 1;
}

.portal-manset-slide.is-active {
  opacity: 1;
  visibility: visible;
  pointer-events: auto;
  z-index: 2;
}

/* ── 16:9 Ekran Alanı ── */
.manset-slide-screen {
  position: relative;
  width: 100%;
  aspect-ratio: 16 / 9;
  background-color: #020617;
  overflow: hidden;
  user-select: none;
}

.manset-slide-img-link {
  display: block;
  width: 100%;
  height: 100%;
}

.manset-slide-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
  display: block;
}

/* ── Sol Üst Rozetler ── */
.manset-badges {
  position: absolute;
  top: 14px;
  left: 14px;
  display: flex;
  align-items: center;
  gap: 8px;
  z-index: 10;
  pointer-events: none;
  flex-wrap: wrap;
}

.manset-badge-cat {
  background-color: var(--h-primary, #dc2626);
  color: #ffffff;
  padding: 4px 10px;
  border-radius: 4px;
  font-size: 11px;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.04em;
  line-height: 1.2;
  box-shadow: 0 1px 3px rgba(0, 0, 0, 0.2);
}

.manset-badge-mun {
  background-color: #000000;
  color: #ffffff;
  padding: 4px 10px;
  border-radius: 4px;
  font-size: 11px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.04em;
  line-height: 1.2;
  box-shadow: 0 1px 3px rgba(0, 0, 0, 0.2);
}

/* ── Sol & Sağ Ok Butonları (16:9 Resim Katmanı Üzerinde) ── */
.portal-manset-nav-layer {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  aspect-ratio: 16 / 9;
  pointer-events: none;
  z-index: 20;
}

.portal-manset-nav {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  width: 36px;
  height: 36px;
  border-radius: 50%;
  background: rgba(15, 23, 42, 0.65);
  border: 1px solid rgba(255, 255, 255, 0.2);
  color: #ffffff;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  pointer-events: auto;
  transition: background-color 0.15s ease, transform 0.15s ease;
}

.portal-manset-nav:hover {
  background: rgba(15, 23, 42, 0.95);
  transform: translateY(-50%) scale(1.05);
}

.portal-manset-nav.btn-prev {
  left: 14px;
}

.portal-manset-nav.btn-next {
  right: 14px;
}

/* ── V1: KOMPAKT GÖRÜNÜM KATMANI ── */
.manset-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(to top, rgba(15, 23, 42, 0.96) 0%, rgba(15, 23, 42, 0.82) 32%, rgba(15, 23, 42, 0.42) 55%, transparent 75%);
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  padding: 24px;
  color: #ffffff;
  z-index: 5;
  pointer-events: none;
}

.manset-overlay a,
.manset-overlay button {
  pointer-events: auto;
}

.manset-cat {
  color: var(--h-primary, #dc2626);
  font-size: 12px;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  margin-bottom: 6px;
}

.manset-title {
  margin: 0 0 8px 0;
  font-size: 23px;
  font-weight: 800;
  line-height: 1.28;
  letter-spacing: -0.02em;
}

.manset-title a {
  color: #ffffff;
  text-decoration: none;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.manset-title a:hover {
  text-decoration: underline;
}

.manset-spot {
  font-size: 13.5px;
  line-height: 1.45;
  color: rgba(255, 255, 255, 0.88);
  margin: 0 0 14px 0;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.manset-meta {
  display: flex;
  align-items: center;
  justify-content: space-between;
  font-size: 12.5px;
  color: rgba(255, 255, 255, 0.75);
  padding-top: 12px;
  border-top: 1px solid rgba(255, 255, 255, 0.15);
}

.manset-more {
  color: #ffffff;
  text-decoration: none;
  font-weight: 700;
  display: inline-flex;
  align-items: center;
  gap: 5px;
  transition: color 0.15s ease;
}

.manset-more:hover {
  color: var(--h-primary, #dc2626);
}

/* ── V2: DETAYLI GÖRÜNÜM GÖVDESİ ── */
.manset-slide-body {
  background-color: #ffffff;
  padding: 20px 24px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  gap: 10px;
}

.manset-body-title {
  margin: 0 0 8px 0;
  font-size: 22px;
  font-weight: 800;
  line-height: 1.35;
  letter-spacing: -0.02em;
  height: calc(1.35em * 2);
  overflow: hidden;
}

.manset-body-title a {
  color: var(--h-slate-900, #0f172a);
  text-decoration: none;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
  height: 100%;
  transition: color 0.15s ease;
}

.manset-body-title a:hover {
  color: var(--h-primary, #dc2626);
}

.manset-body-spot {
  margin: 0 0 12px 0;
  font-size: 13.5px;
  color: var(--h-slate-600, #475569);
  line-height: 1.5;
  height: calc(1.5em * 2);
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.manset-body-meta {
  display: flex;
  align-items: center;
  justify-content: space-between;
  font-size: 12.5px;
  color: var(--h-slate-500, #64748b);
  padding-top: 12px;
  border-top: 1px solid var(--h-slate-100, #f1f5f9);
}

.manset-body-more {
  color: var(--h-slate-900, #0f172a);
  text-decoration: none;
  font-weight: 700;
  display: inline-flex;
  align-items: center;
  gap: 5px;
  transition: color 0.15s ease;
}

.manset-body-more:hover {
  color: var(--h-primary, #dc2626);
}

/* ── Alt Sekmeler (1 - N Numaralı Tabs) ── */
.portal-manset-tabs {
  display: flex;
  width: 100%;
  background-color: #ffffff;
  border-top: 1px solid var(--h-slate-200);
  overflow-x: auto;
  scrollbar-width: none;
}

.portal-manset-tabs::-webkit-scrollbar {
  display: none;
}

.portal-manset-tab {
  flex: 1;
  min-width: 80px;
  padding: 12px 8px;
  background: transparent;
  border: none;
  border-right: 1px solid var(--h-slate-200);
  cursor: pointer;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 3px;
  position: relative;
  transition: background-color 0.15s ease;
  text-align: center;
}

.portal-manset-tab:last-child {
  border-right: none;
}

.portal-manset-tab:hover {
  background-color: var(--h-slate-50);
}

.portal-manset-tab.is-active {
  background-color: #ffffff;
}

/* Aktif Sekmenin Üst Kenarındaki Kırmızı Çizgi */
.portal-manset-tab.is-active::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 2.5px;
  background-color: var(--h-primary, #dc2626);
}

.portal-manset-tab-num {
  font-size: 11px;
  font-weight: 700;
  color: var(--h-slate-500);
  line-height: 1;
  transition: color 0.15s ease;
}

.portal-manset-tab.is-active .portal-manset-tab-num {
  color: var(--h-primary, #dc2626);
  font-weight: 800;
}

.portal-manset-tab-label {
  font-size: 14px;
  font-weight: 600;
  color: var(--h-slate-700);
  line-height: 1.25;
  max-width: 100%;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
  transition: color 0.15s ease;
}

.portal-manset-tab.is-active .portal-manset-tab-label {
  color: var(--h-slate-900);
  font-weight: 800;
}

@media (max-width: 768px) {
  .portal-manset-section {
    padding: 12px 0 20px 0;
  }

  .manset-overlay {
    padding: 16px;
  }

  .manset-title {
    font-size: 18px;
    margin-bottom: 6px;
  }

  .manset-spot {
    font-size: 12.5px;
    margin-bottom: 10px;
    -webkit-line-clamp: 2;
  }

  .manset-slide-body {
    padding: 16px;
  }

  .manset-body-title {
    font-size: 17px;
  }

  .portal-manset-tab {
    min-width: 70px;
    padding: 10px 6px;
  }

  .portal-manset-tab-label {
    font-size: 13px;
  }

  .portal-manset-nav {
    width: 32px;
    height: 32px;
  }
}




.banner-area {
  width: 100%;
  overflow: hidden;
  border-radius: var(--card-radius);
}

.banner-header_alti {
  margin-top: 20px;
}


.banner-link {
  display: block;
  width: 100%;
  text-decoration: none;
  line-height: 0;
  transition: opacity 0.2s ease;
}

.banner-link:hover {
  opacity: 0.94;
}

.banner-img {
  width: 100%;
  height: auto;
  display: block;
  border-radius: var(--card-radius);
  object-fit: cover;
}

.card {
  background-color: var(--card-bg);
  border: var(--card-border);
  border-radius: var(--card-radius);
  box-shadow: var(--card-shadow);
  overflow: hidden;
  position: relative;
  transition: var(--card-transition);
  box-sizing: border-box;
}

.card-title {
  margin: 0;
  font-size: 14.5px;
  font-weight: 700;
  color: var(--h-slate-900);
  display: inline-flex;
  align-items: center;
  gap: 8px;
  line-height: 1.3;
}

.card-title-icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  color: var(--h-primary);
  flex-shrink: 0;
}

.card-body {
  padding: 20px;
  box-sizing: border-box;
}

.card.card-accent {
  border-top: 3.5px solid var(--h-primary);
  box-shadow: 0 4px 14px -3px rgba(15, 23, 42, 0.05);
}

.card.card-subbox {
  background-color: var(--h-slate-50);
  border: 1px solid var(--h-slate-200);
  border-radius: 10px;
  box-shadow: none;
  padding: 16px 20px;
  box-sizing: border-box;
}

.btn-pill {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 8px 14px;
  border-radius: 8px;
  font-size: 12.5px;
  font-weight: 600;
  text-decoration: none;
  cursor: pointer;
  transition: all 0.15s ease;
  border: 1px solid transparent;
}

.btn-pill-primary {
  background: var(--h-primary);
  color: #ffffff;
}

.btn-pill-primary:hover {
  background: var(--h-primary-hover);
}

.btn-pill-outline {
  background: #ffffff;
  border-color: var(--h-slate-200);
  color: var(--h-slate-700);
}

.btn-pill-outline:hover {
  background: var(--h-slate-100);
  color: var(--h-slate-900);
}

.btn-pill-dark {
  background: var(--h-slate-900);
  color: #ffffff;
}

.btn-pill-dark:hover {
  background: #000000;
  color: #ffffff;
}

.btn-pill-dark-soft {
  background: var(--h-slate-800);
  color: #ffffff;
}

.btn-pill-dark-soft:hover {
  background: var(--h-slate-900);
  color: #ffffff;
}

.btn-pill-count {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 2px 7px;
  border-radius: 999px;
  font-size: 11px;
  font-weight: 700;
  line-height: 1.1;
  background: rgba(255, 255, 255, 0.22);
  color: #ffffff;
  margin-left: 2px;
}

.btn-pill-outline .btn-pill-count {
  background: var(--h-slate-100);
  color: var(--h-slate-600);
}

.badge-cat-pill {
  padding: 4px 10px;
  background-color: var(--h-slate-900);
  color: #ffffff;
  border-radius: 6px;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.04em;
  text-decoration: none;
}

.font-controls {
  display: flex;
  align-items: center;
  gap: 6px;
}

.font-controls-label {
  font-size: 12px;
  font-weight: 600;
  color: var(--h-slate-500);
}

.btn-font {
  width: 28px;
  height: 28px;
  border-radius: 6px;
  border: 1px solid var(--h-slate-200);
  background: #ffffff;
  color: var(--h-slate-700);
  font-weight: 700;
  font-size: 12px;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: all 0.15s ease;
}

.btn-font:hover {
  background: var(--h-slate-100);
  color: var(--h-slate-900);
}

.rich-content {
  font-size: 16.5px;
  line-height: 1.8;
  color: var(--h-slate-700);
}

.rich-content p {
  margin: 0 0 18px 0;
}

.rich-content ul {
  list-style: none;
  padding: 0;
  margin: 0 0 20px 0;
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.rich-content ul li {
  position: relative;
  padding-left: 20px;
  line-height: 1.75;
  color: var(--h-slate-700);
}

.rich-content ul li::before {
  content: "";
  position: absolute;
  left: 4px;
  top: 11px;
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background-color: var(--h-primary);
}

.rich-content ol {
  padding-left: 22px;
  margin: 0 0 20px 0;
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.rich-content ol li {
  line-height: 1.75;
  color: var(--h-slate-700);
  padding-left: 4px;
}

.rich-content ol li::marker {
  color: var(--h-primary);
  font-weight: 700;
}

.rich-content strong,
.rich-content b {
  color: var(--h-slate-900);
  font-weight: 700;
}

.rich-content h2,
.rich-content h3,
.rich-content h4 {
  color: var(--h-slate-900);
  font-weight: 800;
  margin: 28px 0 14px 0;
  line-height: 1.3;
}

.rich-content h2 {
  font-size: 21px;
  border-left: 3.5px solid var(--h-primary);
  padding-left: 12px;
}

.rich-content blockquote {
  margin: 20px 0;
  padding: 14px 20px;
  border-left: 4px solid var(--h-primary);
  background-color: var(--h-slate-50);
  border-radius: 0 10px 10px 0;
  font-style: italic;
  color: var(--h-slate-800);
}

.rich-content a {
  color: var(--h-primary);
  text-decoration: underline;
  text-underline-offset: 3px;
  font-weight: 600;
  transition: color 0.15s ease;
}

.rich-content a:hover {
  color: var(--h-primary-hover);
}

.rich-content table {
  width: 100%;
  border-collapse: separate;
  border-spacing: 0;
  margin: 20px 0 28px 0;
  font-size: 14.5px;
  line-height: 1.6;
  border: 1px solid var(--h-slate-200);
  border-radius: var(--card-radius-sm);
  overflow: hidden;
  box-shadow: 0 1px 3px rgba(15, 23, 42, 0.03);
}

.rich-content table thead th {
  background-color: var(--h-slate-100);
  color: var(--h-slate-900);
  font-weight: 700;
  border-bottom: 2px solid var(--h-slate-200);
}

.rich-content table th {
  background-color: var(--h-slate-50);
  color: var(--h-slate-900);
  text-align: left;
  padding: 12px 18px;
  font-weight: 700;
  border-bottom: 1px solid var(--h-slate-200);
  border-right: 1px solid var(--h-slate-200);
  vertical-align: middle;
}

.rich-content table td {
  padding: 12px 18px;
  color: var(--h-slate-700);
  border-bottom: 1px solid var(--h-slate-200);
  border-right: 1px solid var(--h-slate-200);
  vertical-align: middle;
  background-color: #ffffff;
  transition: background-color 0.15s ease;
}

.rich-content table th:last-child,
.rich-content table td:last-child {
  border-right: none;
}

.rich-content table tr:last-child th,
.rich-content table tr:last-child td {
  border-bottom: none;
}

.rich-content table tbody tr:nth-child(even) td {
  background-color: #fbfcfd;
}

.rich-content table tbody tr:hover td {
  background-color: var(--h-slate-50);
}

.rich-content table tbody tr:hover th {
  background-color: var(--h-slate-100);
}

/* .share-subbox → Kaldırıldı. Şablonda .mt-24 utility kullanılmaktadır. */

.share-label {
  font-size: 12px;
  font-weight: 600;
  color: var(--h-slate-500);
}

.share-buttons-group {
  display: flex;
  gap: 8px;
  flex-wrap: wrap;
}

.btn-share-x {
  background-color: #0f172a;
  color: #ffffff;
}

.btn-share-x:hover {
  background-color: #000000;
}

.btn-share-wa {
  background-color: #059669;
  color: #ffffff;
}

.btn-share-wa:hover {
  background-color: #047857;
}

.btn-share-fb {
  background-color: #2563eb;
  color: #ffffff;
}

.btn-share-fb:hover {
  background-color: #1d4ed8;
}

.share-buttons-group .btn-pill svg {
  width: 14px;
  height: 14px;
  flex-shrink: 0;
  display: inline-block;
  vertical-align: middle;
}

.tag-badge,
.tag-pill {
  background-color: var(--h-slate-50);
  border: 1px solid var(--h-slate-200);
  border-radius: 7px;
  padding: 5px 12px;
  font-size: 12.5px;
  font-weight: 600;
  color: var(--h-slate-700);
  text-decoration: none;
  transition: all 0.15s ease;
}

.tag-badge:hover,
.tag-pill:hover {
  background-color: var(--h-slate-100);
  color: var(--h-slate-900);
  border-color: var(--h-slate-300);
}

.card.card-subbox.pagination-bar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-top: 0;
  padding: 12px 18px;
  flex-wrap: wrap;
  gap: 12px;
  background: #ffffff;
}

.pagination-info {
  font-size: 12.5px;
  color: var(--h-slate-500);
}

.pagination-info strong {
  color: var(--h-slate-800);
  font-weight: 700;
}

.pagination-list {
  display: flex;
  align-items: center;
  gap: 5px;
  list-style: none;
  margin: 0;
  padding: 0;
}

.pagination-link {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 32px;
  height: 32px;
  padding: 0 8px;
  border-radius: 7px;
  background: #ffffff;
  border: 1px solid var(--h-slate-200);
  color: var(--h-slate-700);
  font-size: 12.5px;
  font-weight: 600;
  text-decoration: none;
  transition: all 0.15s ease;
}

.pagination-link:hover:not(.disabled):not(.active) {
  background: var(--h-slate-100);
  color: var(--h-slate-900);
  border-color: var(--h-slate-300);
}

.pagination-link.active {
  background: var(--h-primary);
  border-color: var(--h-primary);
  color: #ffffff;
  font-weight: 700;
}

.pagination-link.disabled {
  color: var(--h-slate-300);
  background: var(--h-slate-50);
  cursor: not-allowed;
  border-color: var(--h-slate-200);
}

.pagination-ellipsis {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 24px;
  height: 32px;
  color: var(--h-slate-400);
  font-weight: 700;
  font-size: 12px;
}

.card-btn-full {
  width: 100%;
  justify-content: center;
  box-sizing: border-box;
}

.rank-hash {
  color: var(--h-slate-400);
}

.portal-brand-text {
  font-size: 26px;
  font-weight: 800;
  color: var(--h-slate-900);
  text-decoration: none;
}

.portal-brand-text span {
  color: var(--h-primary);
}

.portal-cat-link {
  color: var(--h-slate-600);
  text-decoration: none;
  font-weight: 600;
}

.portal-cat-link:hover {
  color: var(--h-primary);
}

.portal-brand {
  display: inline-flex;
  align-items: center;
  text-decoration: none;
  flex-shrink: 0;
  padding: 4px 0;
}

.portal-brand-img {
  height: 52px;
  max-width: 260px;
  width: auto;
  object-fit: contain;
  display: block;
  transition: opacity 0.2s ease;
}

.portal-brand:hover .portal-brand-img {
  opacity: 0.92;
}

.portal-custom-btn,
.custombtn,
.portal-live-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  height: 38px;
  padding: 0 18px;
  font-size: 14px;
  font-weight: 600;
  color: var(--h-slate-700);
  background-color: var(--h-slate-50);
  border: 1px solid var(--h-slate-200);
  border-radius: 999px;
  text-decoration: none;
  cursor: pointer;
  box-shadow: 0 1px 3px rgba(15, 23, 42, 0.04);
  transition: all 0.15s ease;
  line-height: 1;
  box-sizing: border-box;
  margin-left: 4px;
}

.portal-custom-btn:hover,
.custombtn:hover,
.portal-live-btn:hover {
  background-color: var(--h-slate-100);
  color: var(--h-primary);
  border-color: var(--h-slate-300);
  transform: translateY(-1px);
  box-shadow: 0 3px 8px rgba(15, 23, 42, 0.06);
}

.portal-categories-wrapper {
  display: flex;
  align-items: center;
  flex: 1;
  min-width: 0;
  gap: 22px;
  position: relative;
}

.portal-categories {
  display: flex;
  align-items: center;
  gap: 22px;
  white-space: nowrap;
  min-width: 0;
  flex-shrink: 1;
  overflow: hidden;
}

.portal-cat-all,
.portal-cat-link {
  font-size: 14.5px;
  font-weight: 600;
  color: var(--h-slate-700);
  text-decoration: none;
  transition: color 0.15s ease;
  flex-shrink: 0;
  cursor: pointer;
  line-height: 1.4;
  padding: 2px 0;
}

.portal-cat-all:hover,
.portal-cat-link:hover {
  color: var(--h-primary);
}

.portal-cat-all.active,
.portal-cat-link.active {
  color: var(--h-primary);
  font-weight: 700;
}

.portal-cats-more {
  position: relative;
  display: inline-flex;
  align-items: center;
  flex-shrink: 0;
}

.portal-cats-more-btn {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  padding: 2px 0;
  font-size: 14.5px;
  font-weight: 600;
  color: var(--h-slate-700);
  background: transparent;
  border: none;
  cursor: pointer;
  transition: color 0.15s ease;
  font-family: inherit;
  white-space: nowrap;
  line-height: 1.4;
}

.portal-cats-more-btn:hover,
.portal-cats-more:hover .portal-cats-more-btn,
.portal-cats-more.open .portal-cats-more-btn {
  color: var(--h-primary);
}

.portal-cats-more-btn svg {
  transition: transform 0.2s ease, color 0.15s ease;
  color: var(--h-slate-400);
}

.portal-cats-more:hover .portal-cats-more-btn svg,
.portal-cats-more.open .portal-cats-more-btn svg {
  transform: rotate(180deg);
  color: var(--h-primary);
}

.portal-cats-dropdown {
  position: absolute;
  top: calc(100% + 8px);
  left: 0;
  min-width: 200px;
  background: #ffffff;
  border: 1px solid var(--h-slate-200);
  border-radius: 12px;
  box-shadow: 0 12px 28px -6px rgba(15, 23, 42, 0.15);
  padding: 8px;
  z-index: 1050;
  display: none;
  opacity: 0;
  transform: translateY(-4px);
  transition: opacity 0.18s ease, transform 0.18s ease;
}

.portal-cats-more:hover .portal-cats-dropdown,
.portal-cats-more.open .portal-cats-dropdown {
  display: block;
  opacity: 1;
  transform: translateY(0);
}

.portal-dropdown-cat-link {
  display: block;
  padding: 8px 12px;
  border-radius: 8px;
  font-size: 14px;
  font-weight: 500;
  color: var(--h-slate-800);
  text-decoration: none;
  transition: all 0.15s ease;
}

.portal-dropdown-cat-link:hover {
  background: var(--h-slate-100);
  color: var(--h-primary);
}

.portal-date {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 13.5px;
  font-weight: 400;
  color: var(--h-slate-500);
  white-space: nowrap;
  flex-shrink: 0;
  padding-left: 16px;
  border-left: 1px solid var(--h-slate-200);
  user-select: none;
}

.portal-date svg {
  color: var(--h-slate-400);
  flex-shrink: 0;
}

.portal-mobile-backdrop {
  display: none;
  position: fixed;
  inset: 0;
  background: rgba(15, 23, 42, 0.5);
  backdrop-filter: blur(2px);
  z-index: 1040;
  opacity: 0;
  transition: opacity 0.25s ease;
}

.portal-mobile-backdrop.open {
  display: block;
  opacity: 1;
}

.portal-mobile-drawer {
  position: fixed;
  top: 0;
  right: 0;
  bottom: 0;
  width: 320px;
  max-width: 85vw;
  background: #ffffff;
  box-shadow: none;
  z-index: 1050;
  display: flex;
  flex-direction: column;
  padding: 20px;
  gap: 8px;
  overflow-y: auto;
  transform: translateX(100%);
  visibility: hidden;
  transition: transform 0.25s cubic-bezier(0.4, 0, 0.2, 1), visibility 0.25s, box-shadow 0.25s;
}

.portal-mobile-drawer.open {
  transform: translateX(0);
  visibility: visible;
  box-shadow: -8px 0 25px -4px rgba(15, 23, 42, 0.15);
}

.mobile-drawer-title {
  font-size: 18px;
  font-weight: 800;
  color: var(--h-slate-900);
}

.mobile-drawer-close {
  width: 36px;
  height: 36px;
  border-radius: 8px;
  border: none;
  background: var(--h-slate-100);
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--h-slate-800);
  transition: all 0.15s ease;
}

.mobile-drawer-close:hover {
  background: var(--h-slate-200);
  color: var(--h-primary);
}

.mobile-drawer-divider {
  height: 1px;
  background: var(--h-slate-200);
  margin: 12px 0 8px 0;
}

.mobile-drawer-subtitle {
  font-size: 11px;
  font-weight: 800;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--h-slate-400);
  padding: 4px 14px;
}

.mobile-drawer-categories {
  display: flex;
  flex-direction: column;
  gap: 2px;
}

.mobile-cat-link {
  display: block;
  padding: 8px 14px;
  font-size: 14.5px;
  font-weight: 500;
  color: var(--h-slate-700);
  text-decoration: none;
  border-radius: 8px;
  transition: all 0.15s ease;
}

.mobile-cat-link:hover {
  background: var(--h-slate-100);
  color: var(--h-primary);
}

.card.card-ranked-list {
  display: flex;
  flex-direction: column;
  overflow: hidden;
}

.card.card-ranked-list .card-body {
  padding: 0;
  display: flex;
  flex-direction: column;
}

.rank-lead-item {
  display: flex;
  flex-direction: column;
  text-decoration: none;
  color: inherit;
  border-bottom: 1px solid var(--h-slate-100);
  position: relative;
  overflow: hidden;
}

.rank-lead-thumb {
  width: 100%;
  aspect-ratio: 16 / 9;
  position: relative;
  overflow: hidden;
  background-color: var(--h-slate-100);
}

.rank-lead-thumb img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  transition: transform 0.3s ease;
}

.rank-lead-item:hover .rank-lead-thumb img {
  transform: scale(1.04);
}

.rank-lead-badges {
  position: absolute;
  top: 10px;
  left: 10px;
  display: flex;
  align-items: center;
  gap: 6px;
  z-index: 2;
}

.rank-lead-num {
  width: 26px;
  height: 26px;
  border-radius: 7px;
  background: var(--h-primary);
  color: #ffffff;
  font-size: 13px;
  font-weight: 800;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 2px 6px rgba(0, 0, 0, 0.25);
}

.rank-lead-mun {
  padding: 4px 8px;
  border-radius: 6px;
  background: rgba(15, 23, 42, 0.82);
  backdrop-filter: blur(4px);
  color: #ffffff;
  font-size: 11px;
  font-weight: 700;
}

.rank-lead-content {
  padding: 14px 18px 16px 18px;
  display: flex;
  flex-direction: column;
  gap: 6px;
}

.rank-lead-meta {
  display: flex;
  align-items: center;
  gap: 6px;
  font-size: 11.5px;
  color: var(--h-slate-400);
  font-weight: 400;
}

.rank-lead-cat {
  color: var(--h-primary);
  font-weight: 700;
}

.rank-lead-title {
  margin: 0;
  font-size: 15px;
  font-weight: 700;
  color: var(--h-slate-900);
  line-height: 1.35;
  transition: color 0.15s ease;
}

.rank-lead-item:hover .rank-lead-title {
  color: var(--h-primary);
}

.rank-lead-spot {
  margin: 0;
  font-size: 12.5px;
  color: var(--h-slate-500);
  line-height: 1.45;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.rank-list-items {
  display: flex;
  flex-direction: column;
}

.rank-sub-item {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  padding: 12px 18px;
  text-decoration: none;
  color: inherit;
  border-bottom: 1px solid var(--h-slate-100);
  transition: background-color 0.15s ease;
}

.rank-sub-item:last-child {
  border-bottom: none;
}

.rank-sub-item:hover {
  background-color: var(--h-slate-50);
}

.rank-sub-num {
  width: 24px;
  height: 24px;
  border-radius: 6px;
  background: var(--h-primary);
  color: #ffffff;
  font-size: 12px;
  font-weight: 800;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  margin-top: 1px;
  transition: all 0.15s ease;
}

.rank-sub-item:hover .rank-sub-num {
  background: var(--h-primary-hover);
  color: #ffffff;
}

.rank-sub-body {
  flex: 1;
  min-width: 0;
  display: flex;
  flex-direction: column;
  gap: 4px;
}

.rank-sub-meta {
  display: flex;
  align-items: center;
  gap: 6px;
  font-size: 11px;
  color: var(--h-slate-400);
  font-weight: 400;
}

.rank-sub-mun {
  color: var(--h-slate-900);
  font-weight: 500;
}

.rank-sub-title {
  margin: 0;
  font-size: 13.5px;
  font-weight: 600;
  color: var(--h-slate-800);
  line-height: 1.35;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
  transition: color 0.15s ease;
}

.rank-sub-item:hover .rank-sub-title {
  color: var(--h-primary);
}

.card.card-contact {
  display: flex;
  flex-direction: column;
}

.contact-form-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 16px;
  margin-bottom: 16px;
}

.contact-form-full {
  grid-column: 1 / -1;
}

.form-group {
  display: flex;
  flex-direction: column;
  gap: 7px;
}

.form-label {
  display: block;
  font-size: 13.5px;
  font-weight: 700;
  color: var(--h-slate-800);
  margin: 0;
  line-height: 1.25;
}

.form-req {
  color: var(--h-primary);
  font-weight: 700;
}

.form-input {
  display: block;
  width: 100%;
  height: 44px;
  padding: 10px 14px;
  border-radius: var(--card-radius-sm);
  border: 1px solid var(--h-slate-200);
  background: #ffffff;
  color: var(--h-slate-900);
  font-family: inherit;
  font-size: 14px;
  outline: none;
  box-sizing: border-box;
  transition: all 0.15s ease;
}

.form-input:focus {
  background: #ffffff;
  border-color: var(--h-primary);
  box-shadow: 0 0 0 3px var(--h-primary-soft);
}

.form-input::placeholder,
.contact-textarea::placeholder {
  color: var(--h-slate-400);
}

.contact-textarea {
  display: block;
  width: 100%;
  min-height: 130px;
  padding: 12px 14px;
  border-radius: var(--card-radius-sm);
  border: 1px solid var(--h-slate-200);
  background: #ffffff;
  color: var(--h-slate-900);
  font-family: inherit;
  font-size: 14px;
  outline: none;
  box-sizing: border-box;
  resize: vertical;
  transition: all 0.15s ease;
}

.contact-textarea:focus {
  background: #ffffff;
  border-color: var(--h-primary);
  box-shadow: 0 0 0 3px var(--h-primary-soft);
}

.contact-privacy-check {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  font-size: 13px;
  color: var(--h-slate-600);
  line-height: 1.4;
  cursor: pointer;
  user-select: none;
  margin-top: 4px;
}

.contact-privacy-check input[type="checkbox"] {
  margin-top: 3px;
  width: 16px;
  height: 16px;
  accent-color: var(--h-primary);
  cursor: pointer;
}

.coord-info-block {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  padding-bottom: 11px;
  border-bottom: 1px solid var(--h-slate-100);
  margin-bottom: 3px;
}

.coord-info-icon {
  color: var(--h-slate-400);
  display: inline-flex;
  margin-top: 2px;
  flex-shrink: 0;
}

.coord-info-content {
  min-width: 0;
}

.coord-info-title {
  display: block;
  font-size: 12px;
  font-weight: 700;
  color: var(--h-slate-900);
  line-height: 1.3;
}

.coord-info-desc {
  display: block;
  font-size: 11.5px;
  color: var(--h-slate-500);
  line-height: 1.45;
  margin-top: 2px;
}

.coord-info-label {
  display: flex;
  align-items: center;
  gap: 7px;
  color: var(--h-slate-500);
  font-size: 11.5px;
}

.coord-info-label svg {
  color: var(--h-slate-400);
  flex-shrink: 0;
}

.coord-info-val {
  font-size: 12px;
  font-weight: 700;
  color: var(--h-slate-900);
  text-align: right;
  white-space: nowrap;
}

.coord-info-mono {
  font-family: var(--h-font-mono);
  font-size: 11px;
  color: var(--h-slate-700);
  font-weight: 500;
}

.coord-info-link {
  font-size: 11.5px;
  font-weight: 700;
  color: var(--h-secondary);
  text-decoration: none;
  transition: color 0.15s ease;
}

.coord-info-link:hover {
  text-decoration: underline;
  color: var(--h-secondary-hover);
}

.social-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 8px;
}

.social-link {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 8px 12px;
  border-radius: 8px;
  background: var(--h-slate-50);
  border: 1px solid var(--h-slate-200);
  font-size: 12.5px;
  font-weight: 600;
  color: var(--h-slate-700);
  text-decoration: none;
  transition: all 0.15s ease;
}

.social-link:hover {
  background: var(--h-primary-soft);
  border-color: var(--h-primary);
  color: var(--h-primary);
  transform: translateY(-1px);
}

.badge-district-count {
  padding: 3px 8px;
  border-radius: 12px;
  background: var(--h-slate-100);
  color: var(--h-slate-700);
  font-size: 11px;
  font-weight: 600;
}

.district-item {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 6px 10px;
  min-height: 34px;
  min-width: 0;
  width: 100%;
  background: var(--h-slate-50);
  border: 1px solid var(--h-slate-100);
  border-radius: 7px;
  color: var(--h-slate-700);
  text-decoration: none;
  font-size: 12px;
  font-weight: 500;
  transition: all 0.15s ease;
  box-sizing: border-box;
}

.district-item:hover {
  background: #fee2e2;
  border-color: transparent;
  color: var(--h-primary);
  transform: translateY(-1px);
}

.district-item.is-current {
  background: #fee2e2;
  border: 1px solid transparent;
  color: var(--h-primary);
  font-weight: 700;
}

.district-item.is-current:hover {
  background: #fecaca;
  border: 1px solid transparent;
  color: var(--h-primary-hover);
}

.district-item.is-current .district-badge {
  background: var(--h-primary);
  color: #ffffff;
}

.district-name {
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
  padding-right: 4px;
  flex: 1;
  min-width: 0;
}

.district-badge {
  padding: 2px 7px;
  border-radius: 10px;
  background: var(--h-slate-200);
  color: var(--h-slate-700);
  font-size: 11px;
  font-weight: 700;
  line-height: 1;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.card.card-404 {
  text-align: center;
  padding: 56px 24px;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  max-width: 760px;
  margin: 0 auto;
  box-sizing: border-box;
}

.error-badge-404 {
  font-size: 96px;
  font-weight: 900;
  line-height: 1;
  letter-spacing: -0.04em;
  background: linear-gradient(135deg, var(--h-slate-900) 0%, var(--h-primary) 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  margin-bottom: 8px;
  user-select: none;
}

.error-title {
  margin: 0 0 10px 0;
  font-size: 26px;
  font-weight: 800;
  color: var(--h-slate-900);
}

.error-desc {
  margin: 0 0 24px 0;
  font-size: 15px;
  color: var(--h-slate-600);
  max-width: 520px;
  line-height: 1.5;
}

.error-actions {
  display: flex;
  align-items: center;
  gap: 12px;
  flex-wrap: wrap;
  justify-content: center;
}

.error-suggested {
  margin-top: 32px;
  padding-top: 24px;
  border-top: 1px solid var(--h-slate-100);
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-wrap: wrap;
  gap: 8px;
}

.error-suggested-label {
  font-size: 12px;
  font-weight: 700;
  color: var(--h-slate-400);
  text-transform: uppercase;
  letter-spacing: 0.05em;
  margin-right: 4px;
}

.card.card-category-breakdown {
  margin-bottom: 24px;
}

.card.card-category-breakdown .card-body {
  padding: 18px 20px;
}

.cat-breakdown-bar {
  width: 100%;
  height: 10px;
  border-radius: 999px;
  background: var(--h-slate-100);
  overflow: hidden;
  display: flex;
  margin-bottom: 14px;
}

.seg-w-35 {
  width: 35%;
}

.seg-w-25 {
  width: 25%;
}

.seg-w-18 {
  width: 18%;
}

.seg-w-12 {
  width: 12%;
}

.seg-w-10 {
  width: 10%;
}

.seg-emerald {
  background-color: #059669;
}

.seg-blue {
  background-color: #2563eb;
}

.seg-red {
  background-color: #dc2626;
}

.seg-amber {
  background-color: #d97706;
}

.seg-purple {
  background-color: #7c3aed;
}

.cat-breakdown-pills {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 12px 18px;
}

.cat-pill-item {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: 12px;
  color: var(--h-slate-700);
  font-weight: 500;
}

.cat-pill-item strong {
  color: var(--h-slate-900);
}

.cat-pill-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  flex-shrink: 0;
}

.dot-emerald {
  background-color: #059669;
}

.dot-blue {
  background-color: #2563eb;
}

.dot-red {
  background-color: #dc2626;
}

.dot-amber {
  background-color: #d97706;
}

.dot-purple {
  background-color: #7c3aed;
}

.rank-pos {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 20px;
  height: 20px;
  border-radius: 5px;
  background: var(--h-slate-100);
  color: var(--h-slate-600);
  font-size: 11px;
  font-weight: 700;
  margin-right: 6px;
  flex-shrink: 0;
}

.rank-pos.pos-top {
  background: var(--h-primary-soft);
  color: var(--h-primary);
}

/* ==========================================================================
   YARDIMCI (UTILITY) SINIFLAR
   ========================================================================== */

/* --- Display --- */
.d-block {
  display: block !important;
}

.d-flex {
  display: flex !important;
}

.d-inline-flex {
  display: inline-flex !important;
}

.d-none,
.is-hidden {
  display: none !important;
}

/* --- Flexbox --- */
.flex-col {
  flex-direction: column !important;
}

.flex-wrap {
  flex-wrap: wrap !important;
}

.items-center {
  align-items: center !important;
}

.items-start {
  align-items: flex-start !important;
}

.justify-center {
  justify-content: center !important;
}

.justify-between {
  justify-content: space-between !important;
}

.flex-1 {
  flex: 1 1 0% !important;
}

.flex-shrink-0 {
  flex-shrink: 0 !important;
}

.min-w-0 {
  min-width: 0 !important;
}

/* --- Gap --- */
.gap-4 {
  gap: 4px !important;
}

.gap-6 {
  gap: 6px !important;
}

.gap-8 {
  gap: 8px !important;
}

.gap-10 {
  gap: 10px !important;
}

.gap-12 {
  gap: 12px !important;
}

.gap-16 {
  gap: 16px !important;
}

.gap-20 {
  gap: 20px !important;
}

/* --- Padding --- */
.p-0 {
  padding: 0 !important;
}

.p-10 {
  padding: 10px !important;
}

.p-15 {
  padding: 15px !important;
}

.p-20 {
  padding: 20px !important;
}

.px-0 {
  padding-left: 0 !important;
  padding-right: 0 !important;
}

.pt-0 {
  padding-top: 0 !important;
}

.pb-0 {
  padding-bottom: 0 !important;
}

/* --- Margin --- */
.m-0 {
  margin: 0 !important;
}

.mt-0 {
  margin-top: 0 !important;
}

.mt-10 {
  margin-top: 10px !important;
}

.mt-12 {
  margin-top: 12px !important;
}

.mt-15 {
  margin-top: 15px !important;
}

.mt-20 {
  margin-top: 20px !important;
}

.mt-24 {
  margin-top: 24px !important;
}

.mb-0 {
  margin-bottom: 0 !important;
}

.mb-10 {
  margin-bottom: 10px !important;
}

.mb-15 {
  margin-bottom: 15px !important;
}

.mb-20 {
  margin-bottom: 20px !important;
}

.mb-24 {
  margin-bottom: 24px !important;
}

/* --- Boyutlar --- */
.w-full {
  width: 100% !important;
}

.h-full {
  height: 100% !important;
}

/* --- Arka Plan --- */
.bg-white {
  background-color: #ffffff !important;
}

.bg-light {
  background-color: var(--h-slate-50) !important;
}

.bg-primary {
  background-color: var(--h-primary) !important;
}

.bg-primary-soft {
  background-color: var(--h-primary-soft) !important;
}

/* --- Kenarılık --- */
.border-none {
  border: none !important;
}

.border-subtle {
  border: 1px solid var(--h-slate-200) !important;
}

.border-t {
  border-top: 1px solid var(--h-slate-200) !important;
}

.border-b {
  border-bottom: 1px solid var(--h-slate-200) !important;
}

.border-t-light {
  border-top: 1px solid var(--h-slate-100) !important;
}

.border-b-light {
  border-bottom: 1px solid var(--h-slate-100) !important;
}

/* --- Border Radius --- */
.rounded-sm {
  border-radius: 4px !important;
}

.rounded-md {
  border-radius: 8px !important;
}

.rounded-lg {
  border-radius: 12px !important;
}

.rounded-full {
  border-radius: 9999px !important;
}

/* --- Gölge --- */
.shadow-none {
  box-shadow: none !important;
}

.shadow-sm {
  box-shadow: 0 1px 3px rgba(0, 0, 0, 0.06) !important;
}

/* --- Konum & Taşma --- */
.relative {
  position: relative !important;
}

.overflow-hidden {
  overflow: hidden !important;
}

/* --- Tipografi --- */
.text-xs {
  font-size: 11px !important;
}

.text-sm {
  font-size: 12.5px !important;
}

.text-base {
  font-size: 14px !important;
}

.text-lg {
  font-size: 16px !important;
}

.text-center {
  text-align: center !important;
}

.text-right {
  text-align: right !important;
}

.uppercase {
  text-transform: uppercase !important;
}

.font-medium {
  font-weight: 500 !important;
}

.font-semibold {
  font-weight: 600 !important;
}

.font-bold {
  font-weight: 700 !important;
}

.font-extrabold {
  font-weight: 800 !important;
}

.whitespace-nowrap {
  white-space: nowrap !important;
}

/* --- Renk --- */
.text-primary {
  color: var(--h-primary) !important;
}

.text-secondary {
  color: var(--h-secondary) !important;
}

.text-muted {
  color: var(--h-slate-500) !important;
}

.text-dark {
  color: var(--h-slate-900) !important;
}

/* --- Metin Kırpma (Text Truncation) --- */
.text-ellipsis {
  white-space: nowrap !important;
  overflow: hidden !important;
  text-overflow: ellipsis !important;
}

.line-clamp-1 {
  display: -webkit-box !important;
  -webkit-line-clamp: 1;
  -webkit-box-orient: vertical;
  overflow: hidden !important;
}

.line-clamp-2 {
  display: -webkit-box !important;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden !important;
}

.line-clamp-3 {
  display: -webkit-box !important;
  -webkit-line-clamp: 3;
  -webkit-box-orient: vertical;
  overflow: hidden !important;
}

/* --- Etkileşim & Diğer --- */
.cursor-pointer {
  cursor: pointer !important;
}

.select-none {
  user-select: none !important;
}

.pointer-events-none {
  pointer-events: none !important;
}

.transition {
  transition: all 0.15s ease !important;
}

/* --- Erişilebilirlik --- */
.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;
}

/* ==========================================================================
   5. TICKER / SON DAKİKA AKIŞ BİLEŞENİ
   ========================================================================== */

.ticker-section {
  padding: 16px 0 0 0;
  width: 100%;
  box-sizing: border-box;
}

.card.card-ticker {
  display: flex;
  align-items: center;
  background: #ffffff;
  border: 1px solid var(--h-slate-200);
  border-radius: var(--card-radius);
  padding: 6px 14px 6px 6px;
  gap: 14px;
  box-shadow: 0 2px 6px -1px rgba(15, 23, 42, 0.04);
}

.ticker-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: linear-gradient(135deg, #dc2626 0%, #b91c1c 100%);
  color: #ffffff;
  font-size: 11.5px;
  font-weight: 800;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  padding: 8px 14px;
  border-radius: 9px;
  flex-shrink: 0;
  box-shadow: 0 2px 8px rgba(220, 38, 38, 0.25);
}

.ticker-pulse-dot {
  width: 7px;
  height: 7px;
  background-color: #ffffff;
  border-radius: 50%;
  animation: tickerPulse 1.6s infinite ease-out;
}

.ticker-viewport {
  flex: 1;
  min-width: 0;
  overflow: hidden;
  position: relative;
  mask-image: linear-gradient(to right, transparent, black 16px, black calc(100% - 16px), transparent);
  -webkit-mask-image: linear-gradient(to right, transparent, black 16px, black calc(100% - 16px), transparent);
}

.ticker-track {
  display: inline-flex;
  align-items: center;
  white-space: nowrap;
  animation: ticker-slide 90s linear infinite;
  will-change: transform;
}

.ticker-track:hover {
  animation-play-state: paused;
}

.ticker-item {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 4px 0;
  margin-right: 32px;
  color: var(--h-slate-800);
  text-decoration: none;
  font-size: 13.5px;
  white-space: nowrap;
  transition: color 0.15s ease;
}

.ticker-item:hover {
  color: var(--h-primary);
}

.ticker-time {
  font-size: 13.5px;
  font-weight: 700;
  color: var(--h-primary);
  font-variant-numeric: tabular-nums;
  flex-shrink: 0;
}

.ticker-mun {
  font-weight: 700;
  color: var(--h-slate-900);
  transition: color 0.15s ease;
}

.ticker-item:hover .ticker-mun {
  color: var(--h-primary);
}

.ticker-title {
  color: var(--h-slate-700);
  transition: color 0.15s ease;
}

/* ==========================================================================
   6. KPI, İSTATİSTİK & DAĞILIM BİLEŞENLERİ
   ========================================================================== */

.sidebar-kurum-top {
  display: flex;
  align-items: center;
  gap: 12px;
  padding-bottom: 12px;
  margin-bottom: 12px;
  border-bottom: 1px solid var(--h-slate-200);
}

.sidebar-kurum-avatar {
  width: 44px;
  height: 44px;
  border-radius: 10px;
  background: var(--h-slate-900);
  color: #ffffff;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 20px;
  flex-shrink: 0;
}

.sidebar-kurum-name {
  font-size: 14.5px;
  font-weight: 800;
  color: var(--h-slate-900);
  margin: 0 0 2px 0;
  line-height: 1.3;
}

.sidebar-kurum-loc {
  font-size: 12px;
  color: var(--h-slate-500);
  display: flex;
  align-items: center;
  gap: 4px;
}

.sidebar-kurum-desc {
  font-size: 12.5px;
  line-height: 1.55;
  color: var(--h-slate-600);
  margin: 0;
}

.stat-grid-3 {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 8px;
  margin: 14px 0;
}

.stat-box {
  background: var(--h-slate-50);
  border: 1px solid var(--h-slate-100);
  border-radius: 8px;
  padding: 8px 4px;
  text-align: center;
  transition: all 0.15s ease;
}

.stat-box:hover {
  background: #ffffff;
  border-color: var(--h-slate-200);
  box-shadow: 0 2px 6px rgba(15, 23, 42, 0.04);
}

.stat-box-val {
  font-size: 15px;
  font-weight: 800;
  color: var(--h-slate-900);
  font-family: var(--h-font-mono);
  line-height: 1.2;
}

.stat-box-unit {
  font-size: 10px;
  color: var(--h-slate-400);
}

.stat-box-label {
  font-size: 9.5px;
  font-weight: 600;
  color: var(--h-slate-500);
  text-transform: uppercase;
  letter-spacing: 0.03em;
  margin-top: 3px;
}

.sidebar-info-rows {
  display: flex;
  flex-direction: column;
  gap: 6px;
  margin-top: 12px;
}

.sidebar-info-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  background: var(--h-slate-50);
  border: 1px solid var(--h-slate-100);
  border-radius: 8px;
  padding: 6px 10px;
  font-size: 12px;
  transition: all 0.15s ease;
}

.sidebar-info-row:hover {
  background: var(--h-slate-100);
  border-color: var(--h-slate-200);
}

.sidebar-info-label {
  display: flex;
  align-items: center;
  gap: 6px;
  color: var(--h-slate-600);
  font-weight: 500;
}

.sidebar-info-val {
  font-weight: 700;
  color: var(--h-slate-800);
  text-decoration: none;
}

.sidebar-val-badge {
  font-size: 11px;
  font-weight: 700;
  background: #ffffff;
  border: 1px solid var(--h-slate-200);
  color: var(--h-slate-800);
  padding: 3px 8px;
  border-radius: 6px;
  flex-shrink: 0;
  box-shadow: 0 1px 2px rgba(15, 23, 42, 0.04);
}

.sidebar-info-link {
  color: var(--h-secondary);
}

/* .sidebar-action-wrap → Kaldırıldı. Şablonda .mt-15 utility kullanılmaktadır. */

.card.sidebar-tabs-card {
  overflow: hidden;
}

.sidebar-news-tabs-header {
  display: flex;
  background: var(--h-slate-100);
  padding: 5px;
  gap: 4px;
  border-bottom: 1px solid var(--h-slate-200);
}

.sidebar-tabs-bar {
  display: flex;
  background: var(--h-slate-100);
  padding: 4px;
  gap: 4px;
  border-radius: 9px;
  margin-bottom: 12px;
}

.sidebar-tab-btn {
  flex: 1;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
  padding: 7px 10px;
  border: none;
  background: transparent;
  font-size: 12px;
  font-weight: 600;
  color: var(--h-slate-600);
  border-radius: 7px;
  cursor: pointer;
  transition: all 0.15s ease;
}

.sidebar-tab-btn.active {
  background: #ffffff;
  color: var(--h-primary);
  font-weight: 700;
  box-shadow: 0 1px 2px rgba(15, 23, 42, 0.08);
}

.sidebar-news-rows {
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.sidebar-news-rows.is-hidden {
  display: none;
}

.sidebar-news-row {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 6px 4px;
  border-radius: 8px;
  text-decoration: none;
  color: inherit;
  transition: all 0.15s ease;
}

.sidebar-news-row:hover {
  background: var(--h-slate-50);
}

.sidebar-news-thumb {
  width: 60px;
  height: 60px;
  border-radius: 9px;
  object-fit: cover;
  flex-shrink: 0;
}

.sidebar-news-info {
  flex: 1;
  min-width: 0;
  display: flex;
  flex-direction: column;
}

.sidebar-news-row-title {
  font-size: 13.5px;
  font-weight: 700;
  color: var(--h-slate-900);
  line-height: 1.35;
  margin: 0 0 5px 0;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
  transition: color 0.15s ease;
}

.sidebar-news-row:hover .sidebar-news-row-title {
  color: var(--h-primary);
}

.sidebar-news-row-date {
  font-size: 12px;
  color: var(--h-slate-400);
  font-weight: 500;
  display: flex;
  align-items: center;
  gap: 6px;
}

.sidebar-rank-list {
  display: flex;
  flex-direction: column;
  gap: 6px;
}

.sidebar-rank-item {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 8px 10px;
  border-radius: 8px;
  background: var(--h-slate-50);
  border: 1px solid var(--h-slate-100);
  text-decoration: none;
  transition: all 0.15s ease;
  font-size: 12.5px;
}

.sidebar-rank-item:hover,
.sidebar-rank-item.active {
  background: var(--h-slate-100);
  border-color: var(--h-slate-200);
  color: var(--h-slate-900);
}

.sidebar-rank-item:hover .sidebar-rank-name,
.sidebar-rank-item.active .sidebar-rank-name {
  color: var(--h-primary);
}

.sidebar-rank-item.active {
  background: #ffffff;
  border-left: 3px solid var(--h-primary);
  box-shadow: 0 1px 3px rgba(0, 0, 0, 0.05);
}

.sidebar-rank-name {
  font-weight: 600;
  color: var(--h-slate-800);
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.sidebar-rank-count {
  font-size: 10.5px;
  font-weight: 700;
  background: #ffffff;
  border: 1px solid var(--h-slate-200);
  color: var(--h-slate-700);
  padding: 2px 7px;
  border-radius: 6px;
  flex-shrink: 0;
}

.sidebar-ad-card {
  background: #ffffff;
  border: 1px dashed var(--h-slate-300);
  border-radius: var(--card-radius);
  padding: 24px 16px;
  text-align: center;
  color: var(--h-slate-400);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 4px;
  text-decoration: none;
  cursor: pointer;
  transition: all 0.15s ease;
}

.sidebar-ad-card:hover {
  background: var(--h-slate-50);
  border-color: var(--h-slate-400);
}

.sidebar-ad-card:hover .sidebar-ad-tag {
  color: var(--h-primary);
}

.sidebar-ad-tag {
  font-size: 11px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  color: var(--h-slate-500);
}

.sidebar-ad-desc {
  font-size: 12px;
  color: var(--h-slate-400);
}

.sidebar-ad-card.banner-sidebar {
  min-height: 160px;
}

.sidebar-ad-card.banner-header_alti {
  min-height: 90px;
}

.sidebar-ad-card.banner-haber_ici {
  min-height: 100px;
}

.sidebar-ad-card.sidebar-ad-media {
  padding: 0;
  overflow: hidden;
  border-style: solid;
}

.sidebar-ad-card.sidebar-ad-media a,
.sidebar-ad-card.sidebar-ad-media img {
  display: block;
  width: 100%;
  border-radius: inherit;
}

.sidebar-empty-text {
  font-size: 12px;
  color: var(--h-slate-400);
  padding: 8px 0;
}


.sidebar-districts-card {
  padding: 16px;
  border-radius: 14px;
  box-sizing: border-box;
}

.sidebar-districts-icon {
  width: 34px;
  height: 34px;
  border-radius: 8px;
  background: #fee2e2;
  color: var(--h-primary);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.sidebar-districts-title {
  font-size: 13.5px;
  font-weight: 700;
  color: var(--h-slate-900);
  margin: 0;
  line-height: 1.25;
}

.sidebar-districts-sub {
  font-size: 11px;
  color: var(--h-slate-500);
  font-weight: 500;
  display: block;
  margin-top: 2px;
}

.sidebar-districts-list {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 6px;
  max-height: 320px;
  overflow-y: auto;
  overflow-x: hidden;
  padding-right: 6px;
  scrollbar-width: thin;
  scrollbar-color: var(--h-slate-300) transparent;
}

.sidebar-districts-list::-webkit-scrollbar {
  width: 5px;
}

.sidebar-districts-list::-webkit-scrollbar-track {
  background: transparent;
  border-radius: 999px;
}

.sidebar-districts-list::-webkit-scrollbar-thumb {
  background: var(--h-slate-300);
  border-radius: 999px;
}

.sidebar-districts-list::-webkit-scrollbar-thumb:hover {
  background: var(--h-slate-400);
}

.kpi-stat-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 16px;
  margin-bottom: 18px;
  width: 100%;
  box-sizing: border-box;
}

.card.card-kpi {
  display: flex;
  flex-direction: column;
  justify-content: space-between;
}

.card.card-kpi .card-body {
  padding: 16px 20px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  min-height: 110px;
  box-sizing: border-box;
}

.card-kpi-top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 8px;
  margin-bottom: 8px;
}

.card-kpi-label {
  font-size: 11px;
  font-weight: 700;
  color: var(--h-slate-500);
  text-transform: uppercase;
  letter-spacing: 0.05em;
}

.card-kpi-icon {
  width: 30px;
  height: 30px;
  border-radius: 8px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.card-kpi-icon.icon-blue {
  background: #eff6ff;
  color: #2563eb;
}

.card-kpi-icon.icon-amber {
  background: #fefce8;
  color: #ca8a04;
}

.card-kpi-icon.icon-emerald {
  background: #ecfdf5;
  color: #059669;
}

.card-kpi-icon.icon-purple {
  background: #faf5ff;
  color: #9333ea;
}

.card-kpi-val {
  font-size: 18px;
  font-weight: 800;
  color: var(--h-slate-900);
  letter-spacing: -0.02em;
  line-height: 1.2;
}

.card-kpi-unit {
  font-size: 12px;
  font-weight: 600;
  color: var(--h-slate-400);
  margin-left: 2px;
}

.card-kpi-sub {
  font-size: 11.5px;
  color: var(--h-slate-500);
  margin-top: 4px;
  display: flex;
  align-items: center;
  gap: 6px;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.kpi-trend {
  display: inline-flex;
  align-items: center;
  gap: 3px;
  font-size: 11px;
  font-weight: 700;
  padding: 1px 6px;
  border-radius: 4px;
  line-height: 1.4;
  flex-shrink: 0;
}

.kpi-trend.trend-up {
  background: #ecfdf5;
  color: #059669;
}

.kpi-trend.trend-down {
  background: #fef2f2;
  color: #dc2626;
}

.kpi-trend.trend-neutral {
  background: var(--h-slate-100);
  color: var(--h-slate-600);
}

.kpi-trend.trend-blue {
  background: #eff6ff;
  color: #2563eb;
}

.kpi-trend.trend-amber {
  background: #fefce8;
  color: #ca8a04;
}

.kpi-trend.trend-purple {
  background: #faf5ff;
  color: #9333ea;
}

.kpi-trend.trend-emerald {
  background: #ecfdf5;
  color: #059669;
}

/* ─────────────────────────────────────────────────────────────
   İSTATİSTİK PORTALI — TEK KALIP MODÜLER STİL MİMARİSİ
   ───────────────────────────────────────────────────────────── */

/* Grid & Kolon Yerleşim Mimarisi (%50-%50, %66-%33, %70-%30, Harita) */
.stat-grid-50-50 {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 24px;
  margin-top: 24px;
}

.stat-grid-66-33 {
  display: grid;
  grid-template-columns: 2fr 1fr;
  gap: 24px;
  margin-top: 24px;
}

.stat-grid-70-30 {
  display: grid;
  grid-template-columns: 7fr 3fr;
  gap: 24px;
  margin-top: 24px;
}

.stat-grid-map {
  display: grid;
  grid-template-columns: 1fr 340px;
  gap: 20px;
  align-items: start;
}

/* Standart Kutu (Card), Başlık & Rozet (Badge) Mimarisi */
.stat-card {
  margin-top: 24px;
}

.stat-grid-50-50 > .stat-card,
.stat-grid-66-33 > .stat-card,
.stat-grid-70-30 > .stat-card {
  margin-top: 0;
}

.stat-card-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 12px;
  padding: 18px 24px;
  border-bottom: 1px solid var(--h-slate-200);
  background: #ffffff;
}

.stat-card-title-wrap {
  display: flex;
  align-items: center;
  gap: 12px;
}

.stat-card-pill {
  width: 4px;
  height: 28px;
  background: var(--h-primary);
  border-radius: 2px;
  flex-shrink: 0;
}

.stat-card-title {
  font-size: 17px;
  font-weight: 800;
  color: var(--h-slate-900);
  margin: 0;
  line-height: 1.2;
}

.stat-card-desc {
  font-size: 12.5px;
  color: var(--h-slate-500);
  margin: 3px 0 0 0;
}

.stat-card-badge {
  display: inline-flex;
  align-items: center;
  font-size: 11.5px;
  font-weight: 600;
  color: var(--h-slate-600);
  background: var(--h-slate-100);
  border: 1px solid var(--h-slate-200);
  padding: 5px 12px;
  border-radius: 9999px;
  white-space: nowrap;
}

.stat-card-body {
  padding: 24px;
}

/* Standart Tablo Sistemi (.stat-table, .stat-table-wrap, .stat-rank-badge) */
.stat-table-wrap {
  width: 100%;
  overflow-x: auto;
  border: 1px solid var(--h-slate-200);
  border-radius: 12px;
  background: #ffffff;
}

.stat-table-wrap.is-scrollable {
  max-height: 480px;
  overflow-y: auto;
  scroll-behavior: smooth;
  scrollbar-width: thin;
  scrollbar-color: var(--h-slate-300) var(--h-slate-50);
}

.stat-table-wrap.is-scrollable thead th {
  position: sticky;
  top: 0;
  z-index: 5;
  background: var(--h-slate-50);
  box-shadow: 0 1px 3px rgba(15, 23, 42, 0.05);
}

.stat-table-wrap.is-scrollable::-webkit-scrollbar {
  width: 6px;
  height: 6px;
}

.stat-table-wrap.is-scrollable::-webkit-scrollbar-track {
  background: var(--h-slate-50);
  border-radius: 4px;
}

.stat-table-wrap.is-scrollable::-webkit-scrollbar-thumb {
  background: var(--h-slate-300);
  border-radius: 4px;
}

.stat-table-wrap.is-scrollable::-webkit-scrollbar-thumb:hover {
  background: var(--h-slate-400);
}

.stat-table {
  width: 100%;
  border-collapse: collapse;
  font-size: 13px;
  text-align: left;
  white-space: nowrap;
}

.stat-table th {
  background: var(--h-slate-50);
  color: var(--h-slate-600);
  font-size: 11px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.04em;
  padding: 12px 16px;
  border-bottom: 1px solid var(--h-slate-200);
}

.stat-table td {
  padding: 12px 16px;
  border-bottom: 1px solid var(--h-slate-100);
  color: var(--h-slate-700);
  vertical-align: middle;
}

.stat-table tbody tr:last-child td {
  border-bottom: none;
}

.stat-table tbody tr:hover td {
  background: var(--h-slate-50);
}

.stat-table th.is-center,
.stat-table td.is-center {
  text-align: center;
}

.stat-table th.is-right,
.stat-table td.is-right {
  text-align: right;
}

.stat-col-rank { width: 50px; }
.stat-col-rank-lg { width: 60px; }
.stat-col-num { width: 120px; }
.stat-col-count { width: 110px; }
.stat-col-bar { width: 180px; }
.stat-col-time { width: 65px; }
.stat-col-loc { width: 180px; }
.stat-col-cat { width: 140px; }

.stat-count-highlight {
  color: var(--h-primary);
  font-weight: 700;
  font-size: 13px;
}

.stat-table-empty {
  text-align: center;
  color: var(--h-slate-400);
  padding: 24px;
  font-size: 13px;
}

/* Sıralama Rozetleri */
.stat-rank-badge {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 24px;
  height: 24px;
  border-radius: 6px;
  font-weight: 800;
  font-size: 11px;
  flex-shrink: 0;
}

.stat-rank-1 {
  background: #fef3c7;
  color: #b45309;
  border: 1px solid #fde68a;
}

.stat-rank-2 {
  background: var(--h-slate-100);
  color: var(--h-slate-600);
  border: 1px solid var(--h-slate-300);
}

.stat-rank-3 {
  background: #ffedd5;
  color: #c2410c;
  border: 1px solid #fed7aa;
}

.stat-rank-normal {
  background: #ffffff;
  color: var(--h-slate-500);
  border: 1px solid var(--h-slate-200);
}

/* Kurum & Şehir Link/Etiketleri */
.stat-mun-link {
  font-weight: 700;
  color: var(--h-slate-900);
  text-decoration: none;
  transition: color 0.15s ease;
}

.stat-mun-link:hover {
  color: var(--h-primary);
}

.stat-city-tag {
  display: inline-block;
  background: var(--h-slate-100);
  color: var(--h-slate-500);
  font-size: 10px;
  font-weight: 600;
  padding: 1px 6px;
  border-radius: 4px;
  margin-left: 6px;
}

/* Hacim Göstergesi */
.stat-bar-wrap {
  display: flex;
  align-items: center;
  gap: 10px;
}

.stat-bar-pct {
  font-size: 11px;
  font-weight: 700;
  color: var(--h-slate-600);
  min-width: 36px;
  text-align: right;
}

.stat-bar-track {
  width: 130px;
  height: 8px;
  background: var(--h-slate-100);
  border-radius: 4px;
  overflow: hidden;
  position: relative;
}

.stat-bar-fill {
  height: 100%;
  border-radius: 4px;
  background: linear-gradient(to right, #f87171, var(--h-primary));
  transition: width 0.3s ease;
}

/* Akış & Haber Tablosu Elemanları (En Son Haberler) */
.stat-news-time {
  color: var(--h-primary);
  font-weight: 800;
  font-size: 13px;
}

.stat-news-title {
  color: var(--h-slate-800);
  text-decoration: none;
  font-weight: 500;
  transition: color 0.15s ease;
  white-space: normal;
  display: -webkit-box;
  -webkit-line-clamp: 1;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.stat-news-title:hover {
  color: var(--h-primary);
}

.stat-news-location {
  color: var(--h-slate-500);
  font-size: 12px;
}

.stat-news-cat {
  display: inline-block;
  background: #ffffff;
  border: 1px solid var(--h-slate-200);
  color: var(--h-slate-700);
  font-size: 11px;
  font-weight: 600;
  padding: 4px 12px;
  border-radius: 6px;
  white-space: nowrap;
  text-decoration: none;
  transition: all 0.15s ease;
}

.stat-news-cat:hover {
  border-color: var(--h-slate-300);
  color: var(--h-slate-900);
  background: var(--h-slate-50);
}

/* Yardımcı Hücre Sınıfları */
.stat-count-bold { color: var(--h-slate-800); }
.stat-zero-text { color: var(--h-slate-400); }
.stat-empty-text { color: var(--h-slate-400); font-size: 13px; }

/* İnteraktif Türkiye Haritası & İl Karnesi */
.map-legend {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 11.5px;
  font-weight: 600;
  color: var(--h-slate-600);
  background: var(--h-slate-50);
  padding: 6px 12px;
  border-radius: 8px;
  border: 1px solid var(--h-slate-200);
}

.map-legend-bar {
  width: 100px;
  height: 8px;
  border-radius: 4px;
  background: linear-gradient(to right, #fee2e2, #fca5a5, #f87171, #ef4444, var(--h-primary));
}

.map-legend-item {
  display: inline-flex;
  align-items: center;
  gap: 5px;
}

.map-legend-dot {
  width: 10px;
  height: 10px;
  border-radius: 2px;
  background: #e2e8f0;
  border: 1px solid #cbd5e1;
  display: inline-block;
}

.map-legend-sep {
  color: var(--h-slate-300);
}

.map-canvas-wrap {
  background: var(--h-slate-50);
  border: 1px solid var(--h-slate-200);
  border-radius: 12px;
  padding: 16px;
  position: relative;
  overflow: hidden;
  min-height: 440px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.map-svg {
  width: 100%;
  height: auto;
  max-height: 480px;
  display: block;
  user-select: none;
  shape-rendering: geometricPrecision;
  filter: drop-shadow(0 2px 8px rgba(15, 23, 42, 0.03));
}

.map-svg path {
  cursor: pointer;
  stroke: rgba(220, 38, 38, 0.22);
  stroke-width: 0.85;
  stroke-linecap: round;
  stroke-linejoin: round;
  paint-order: fill stroke;
  vector-effect: non-scaling-stroke;
  shape-rendering: geometricPrecision;
  transition: fill 0.2s ease, stroke 0.15s ease, stroke-width 0.15s ease, filter 0.15s ease;
}

.map-svg path:hover {
  stroke: var(--h-primary) !important;
  stroke-width: 1.9 !important;
  filter: brightness(0.92);
}

.map-svg path.is-empty {
  fill: var(--h-slate-200);
  stroke: var(--h-slate-300);
}

.map-svg path.is-empty:hover {
  fill: var(--h-slate-300) !important;
  stroke: var(--h-slate-400) !important;
  filter: none !important;
}

.map-svg path.is-active,
.map-svg path.is-active:hover,
.map-svg path.is-empty.is-active,
.map-svg path.is-empty.is-active:hover {
  fill: var(--h-slate-800) !important;
  stroke: none !important;
  stroke-width: 0 !important;
  filter: drop-shadow(0 2px 6px rgba(15, 23, 42, 0.28)) !important;
  opacity: 1 !important;
}

.map-hover-stroke {
  pointer-events: none;
  fill: none !important;
  stroke: var(--h-primary) !important;
  stroke-width: 2.2 !important;
  stroke-linecap: round;
  stroke-linejoin: round;
  display: none;
}

.map-svg circle {
  display: none;
}

/* İl Karnesi Kartı */
.prov-card {
  background: #ffffff;
  border: 1px solid var(--h-slate-200);
  border-radius: 12px;
  padding: 20px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  gap: 16px;
}

.prov-header {
  display: flex;
  align-items: center;
  gap: 12px;
  padding-bottom: 14px;
  border-bottom: 1px solid var(--h-slate-100);
}

.prov-plaka {
  font-size: 16px;
  font-weight: 800;
  color: #ffffff;
  background: var(--h-slate-800);
  padding: 4px 8px;
  border-radius: 6px;
  line-height: 1;
}

.prov-name {
  font-size: 20px;
  font-weight: 800;
  color: var(--h-slate-900);
  margin: 0;
  line-height: 1.1;
}

.prov-region {
  font-size: 12px;
  color: var(--h-slate-500);
  margin: 3px 0 0 0;
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 4px;
}

.prov-type-tag {
  color: var(--h-primary);
  font-weight: 700;
  font-size: 11.5px;
}

.prov-stats-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 10px;
  margin-top: 14px;
}

.prov-stat-highlight {
  color: var(--h-primary);
}

.prov-districts-wrap {
  margin-top: 16px;
}

.prov-actions-wrap {
  margin-top: 18px;
}

.prov-stat-box {
  background: var(--h-slate-50);
  border: 1px solid var(--h-slate-200);
  border-radius: 8px;
  padding: 10px 12px;
}

.prov-stat-label {
  font-size: 11px;
  font-weight: 700;
  color: var(--h-slate-500);
  text-transform: uppercase;
  letter-spacing: 0.03em;
}

.prov-stat-val {
  font-size: 20px;
  font-weight: 800;
  color: var(--h-slate-900);
  margin-top: 2px;
}

.prov-section-subtitle {
  font-size: 11.5px;
  font-weight: 700;
  text-transform: uppercase;
  color: var(--h-slate-500);
  letter-spacing: 0.04em;
  margin: 0 0 8px 0;
}

.prov-link-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  width: 100%;
  padding: 10px 14px;
  background: var(--h-slate-900);
  color: #ffffff;
  border-radius: 8px;
  font-size: 13px;
  font-weight: 700;
  text-decoration: none;
  transition: background 0.15s ease, transform 0.1s ease;
  box-sizing: border-box;
}

.prov-link-btn:hover {
  background: var(--h-primary);
  color: #ffffff;
}

/* Harita Tooltip */
.map-tooltip {
  position: fixed;
  z-index: 9999;
  display: none;
  pointer-events: none;
  background: rgba(15, 23, 42, 0.94);
  color: #ffffff;
  backdrop-filter: blur(8px);
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: 8px;
  padding: 8px 12px;
  font-size: 12px;
  box-shadow: 0 10px 25px -5px rgba(0, 0, 0, 0.3);
  transform: translate(-50%, -125%);
  transition: opacity 0.1s ease;
  min-width: 140px;
}

.map-tt-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.15);
  padding-bottom: 5px;
  margin-bottom: 5px;
}

.map-tt-city {
  font-weight: 800;
  font-size: 13px;
  display: flex;
  align-items: center;
  gap: 6px;
}

.map-tt-plaka {
  background: var(--h-primary);
  color: #ffffff;
  font-size: 10px;
  padding: 1px 5px;
  border-radius: 3px;
}

.map-tt-region {
  font-size: 11px;
  color: var(--h-slate-300);
}

.map-tt-row {
  display: flex;
  justify-content: space-between;
  gap: 8px;
  font-size: 11px;
  color: var(--h-slate-200);
  margin-top: 2px;
}

/* 24 Saatlik Haber Servis Saatleri Grafiği */
.hourly-chart-box {
  background: #ffffff;
  border: 1px solid var(--h-slate-200);
  border-radius: 12px;
  padding: 18px 14px 12px 14px;
}

.hourly-bars-row {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  height: 180px;
  gap: 3px;
}

.hourly-bar-col {
  flex: 1;
  min-width: 0;
  height: 100%;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  align-items: center;
  cursor: pointer;
}

.hourly-bar {
  width: 100%;
  max-width: 22px;
  border-radius: 4px 4px 0 0;
  background: var(--h-slate-300);
  transition: all 0.2s ease;
}

.hourly-bar-col:hover .hourly-bar,
.hourly-bar:hover {
  background: var(--h-slate-900);
}

.hourly-bar.is-peak {
  background: var(--h-primary);
}

.hourly-bar-lbl {
  font-size: 9px;
  color: var(--h-slate-400);
  margin-top: 6px;
  font-weight: 600;
  text-align: center;
  user-select: none;
}

/* Öne Çıkan Haber Konuları (Etiketler) */
.trend-tags-wrap {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  align-content: flex-start;
  padding-top: 6px;
}

.trend-tag-pill {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 12px;
  border-radius: 8px;
  text-decoration: none;
  transition: all 0.2s ease;
}

.trend-tag-pill:hover {
  transform: translateY(-1px);
}

.trend-tag-pill.is-highlight {
  background: #fef2f2;
  border: 1px solid #fecaca;
  color: var(--h-primary);
  font-weight: 700;
  padding: 8px 14px;
}

.trend-tag-pill.is-highlight:hover {
  background: #fee2e2;
}

.trend-tag-pill.is-normal {
  background: #ffffff;
  border: 1px solid var(--h-slate-200);
  color: var(--h-slate-700);
  font-weight: 600;
  padding: 6px 12px;
}

.trend-tag-pill.is-normal:hover {
  border-color: var(--h-slate-300);
  background: var(--h-slate-50);
  color: var(--h-slate-900);
}

/* 7 Coğrafi Bölge Haber Dağılımı */
.region-stat-list {
  display: flex;
  flex-direction: column;
  gap: 4px;
}

.region-stat-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 9px 12px;
  border-radius: 8px;
  text-decoration: none;
  transition: all 0.15s ease;
}

.region-stat-row:hover {
  background: var(--h-slate-50);
}

.region-rank-num {
  width: 22px;
  height: 22px;
  border-radius: 6px;
  background: var(--h-slate-900);
  color: #ffffff;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-size: 11px;
  font-weight: 800;
  flex-shrink: 0;
}

.region-title-text {
  font-weight: 700;
  color: var(--h-slate-900);
  font-size: 13px;
}

.region-sub-text {
  font-size: 11px;
  color: var(--h-slate-500);
  margin-top: 1px;
}

.region-val-count {
  font-weight: 800;
  color: var(--h-slate-900);
  font-size: 13px;
  text-align: right;
}

.region-val-share {
  font-size: 10px;
  color: var(--h-slate-400);
  text-align: right;
}

.region-stat-main {
  display: flex;
  align-items: center;
  gap: 12px;
}

.region-stat-meta {
  display: flex;
  align-items: center;
  gap: 14px;
}

.region-stat-arrow {
  color: var(--h-slate-400);
}

/* ==========================================================================
   7. HABER KARTLARI (MANŞET, GRID, LİSTE, VİTRİN)
   ========================================================================== */

.card.card-interactive:hover,
.card.card-news-grid:hover,
.card.card-news-list:hover {
  box-shadow: var(--card-shadow-hover);
  border-color: var(--h-slate-300);
}

.news-grid-wrap {
  display: grid;
  gap: 18px;
}

.news-grid-wrap.cols-2 {
  grid-template-columns: repeat(2, minmax(0, 1fr));
}

.news-grid-wrap.cols-3 {
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

.news-grid-wrap.cols-4 {
  grid-template-columns: repeat(4, minmax(0, 1fr));
}

.news-grid-ad,
.news-grid-wrap>.banner-area,
.news-grid-wrap>.sidebar-ad-card {
  grid-column: 1 / -1;
  width: 100%;
}

.card.card-news-grid {
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  height: 100%;
}

.card-news-thumb {
  position: relative;
  width: 100%;
  aspect-ratio: 16 / 10;
  background-color: var(--h-slate-100);
  overflow: hidden;
  display: block;
}

.card-news-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  transition: transform 0.35s ease;
}

.card.card-news-grid:hover .card-news-img,
.card.card-news-list:hover .card-news-img {
  transform: scale(1.04);
}

.card-news-loc-badge {
  position: absolute;
  bottom: 8px;
  left: 8px;
  background-color: #ffffff;
  color: #000000;
  font-size: 11px;
  font-weight: 600;
  padding: 3px 8px;
  border-radius: 6px;
  display: inline-flex;
  align-items: center;
  gap: 5px;
  z-index: 2;
  box-shadow: 0 2px 6px rgba(0, 0, 0, 0.12);
}

.card-news-loc-badge svg {
  color: var(--h-primary);
  flex-shrink: 0;
}

.card.card-news-grid .card-body {
  padding: 14px 16px;
  display: flex;
  flex-direction: column;
  gap: 8px;
  flex: 1;
}

.card-news-meta {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 8px;
  font-size: 11.5px;
  color: var(--h-slate-400);
}

.card-news-mun {
  font-weight: 500;
  color: var(--h-slate-900);
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.card-news-date {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  white-space: nowrap;
}

.card-news-title {
  font-size: 15px;
  font-weight: 700;
  color: var(--h-slate-900);
  line-height: 1.35;
  margin: 0;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.card-news-title a {
  color: inherit;
  text-decoration: none;
  transition: color 0.15s ease;
}

.card.card-news-grid:hover .card-news-title a,
.card.card-news-list:hover .card-news-title a {
  color: var(--h-primary);
}

.card-news-spot {
  font-size: 12.5px;
  color: var(--h-slate-600);
  line-height: 1.5;
  margin: 0;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.card-news-cat-badge {
  font-size: 11px;
  font-weight: 700;
  color: var(--h-slate-600);
  background-color: #ffffff;
  border: 1px solid var(--h-slate-200);
  padding: 3px 8px;
  border-radius: 6px;
}

.card-news-hit {
  font-size: 11.5px;
  font-weight: 600;
  color: var(--h-slate-400);
  display: inline-flex;
  align-items: center;
  gap: 4px;
}

.card-news-btn {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  font-size: 11.5px;
  font-weight: 700;
  color: var(--h-slate-700);
  text-decoration: none;
  transition: all 0.15s ease;
}

.card-news-btn:hover {
  color: var(--h-primary);
  transform: translateX(2px);
}

.news-list-wrap {
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.card.card-news-list {
  display: flex;
  flex-direction: row;
  align-items: stretch;
}

.card.card-news-list .card-news-thumb {
  width: 260px;
  min-width: 260px;
  aspect-ratio: auto;
  height: auto;
}

.card.card-news-list .card-news-content {
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  flex: 1;
  min-width: 0;
}

.card.card-news-list .card-body {
  padding: 16px 20px;
  display: flex;
  flex-direction: column;
  gap: 8px;
  flex: 1;
}

.card.card-news-list .card-news-title {
  font-size: 16.5px;
}

.card.card-news-list .card-news-spot {
  font-size: 13px;
  -webkit-line-clamp: 3;
}

/* ==========================================================================
   8. HABER DETAY SAYFASI & MAKALE STİLLERİ
   ========================================================================== */

.card.card-article .card-body {
  padding: 32px 36px;
}

.article-title {
  font-size: 28px;
  font-weight: 800;
  color: var(--h-slate-900);
  line-height: 1.25;
  letter-spacing: -0.02em;
  margin: 0 0 14px 0;
}

.article-spot {
  font-size: 20px;
  line-height: 1.55;
  color: var(--h-slate-600);
  margin: 0 0 20px 0;
}

.article-featured-media {
  margin: 0 0 20px 0;
  border-radius: 12px;
  overflow: hidden;
  background-color: var(--h-slate-100);
}

.article-featured-img {
  width: 100%;
  height: auto;
  display: block;
}

.article-reading-bar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  padding: 12px 0;
  border-top: 1px solid var(--h-slate-100);
  border-bottom: 1px solid var(--h-slate-100);
  margin-bottom: 24px;
  font-size: 13px;
  color: var(--h-slate-500);
}

.article-reading-left {
  display: flex;
  align-items: center;
  gap: 16px;
}

.article-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-top: 24px;
  padding-top: 18px;
  border-top: 1px solid var(--h-slate-100);
}

/* .comment-subbox → Kaldırıldı. Şablonda .mt-24 utility kullanılmaktadır. */

.comment-title {
  margin: 0 0 14px 0;
  font-size: 16px;
  font-weight: 800;
  color: var(--h-slate-900);
  display: flex;
  align-items: center;
  gap: 8px;
}

.comment-form {
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.comment-grid-2 {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
}

/* Not: Yorum formu giriş alanları için form-input ve contact-textarea sınıfları
   kullanılmaktadır. comment-input / comment-textarea artık kullanılmıyor. */

.comment-security-note {
  font-size: 11.5px;
  color: var(--h-slate-500);
  display: flex;
  align-items: center;
  gap: 5px;
}

.btn-comment-submit {
  padding: 9px 20px;
}

.comments-list {
  display: flex;
  flex-direction: column;
  gap: 10px;
  margin-top: 16px;
  border-top: 1px solid var(--h-slate-200);
  padding-top: 16px;
}

.card.card-subbox.comment-item {
  padding: 14px 16px;
  background: #ffffff;
  border: 1px solid var(--h-slate-200);
  border-radius: 8px;
}

.comment-item-top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 6px;
}

.comment-author-wrap {
  display: flex;
  align-items: center;
  gap: 8px;
}

.comment-avatar {
  width: 26px;
  height: 26px;
  border-radius: 50%;
  background: var(--h-slate-200);
  color: var(--h-slate-700);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 11px;
  font-weight: 700;
}

.comment-author-name {
  font-size: 13px;
  font-weight: 700;
  color: var(--h-slate-900);
}

.comment-time {
  font-size: 11px;
  color: var(--h-slate-400);
}

.comment-text {
  font-size: 13px;
  color: var(--h-slate-700);
  line-height: 1.5;
  margin: 0;
}

/* ==========================================================================
   9. SIDEBAR & YAN PANEL BİLEŞENLERİ (TREND, BÖLGE, ANKET VB.)
   ========================================================================== */

.content-sidebar {
  display: flex;
  flex-direction: column;
  gap: 20px;
  position: sticky;
  top: 170px;
  min-width: 0;
}

.card.card-sidebar {
  border-radius: var(--card-radius);
}

.card.card-sidebar .card-body {
  padding: 16px 18px;
}

/* ==========================================================================
   10. KURUM BİLGİ KARTLARI, BELEDİYE SIRALAMA & ÖNİZLEME ALANLARI
   ========================================================================== */

.institution-band {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  background: var(--h-slate-50);
  border: 1px solid var(--h-slate-200);
  border-radius: 12px;
  padding: 14px 18px;
  margin-bottom: 20px;
}

.institution-band-left {
  display: flex;
  align-items: center;
  gap: 12px;
}

.institution-band-icon {
  width: 40px;
  height: 40px;
  border-radius: 10px;
  background: var(--h-slate-900);
  color: #ffffff;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.institution-band-name {
  font-size: 15px;
  font-weight: 800;
  color: var(--h-slate-900);
  margin: 0 0 2px 0;
}

.institution-band-name a {
  color: inherit;
  text-decoration: none;
  transition: color 0.15s ease;
}

.institution-band-name a:hover {
  color: var(--h-primary);
}

.institution-band-sub {
  font-size: 12px;
  color: var(--h-slate-500);
  display: flex;
  align-items: center;
  gap: 6px;
}

.institution-band-sub .icon-location-red {
  color: var(--h-primary);
  flex-shrink: 0;
}

.institution-band-actions {
  display: flex;
  align-items: center;
  gap: 8px;
}

.share-preview-card {
  background: #ffffff;
  border: 1px solid var(--h-slate-200);
  border-radius: 8px;
  margin-bottom: 12px;
  overflow: hidden;
}

.share-preview-body {
  display: flex;
  gap: 14px;
  padding: 12px;
  align-items: center;
}

.share-preview-thumb {
  width: 100px;
  height: 70px;
  border-radius: 7px;
  object-fit: cover;
  flex-shrink: 0;
}

.share-preview-info {
  flex: 1;
  min-width: 0;
}

.share-preview-domain {
  font-size: 11px;
  color: var(--h-slate-400);
  font-family: var(--h-font-mono);
}

.share-preview-title {
  font-size: 13.5px;
  font-weight: 700;
  color: var(--h-slate-900);
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
  margin: 2px 0;
}

.share-preview-text {
  font-size: 12px;
  color: var(--h-slate-500);
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
  margin: 0;
}

.contact-map-preview {
  width: 100%;
  aspect-ratio: 16 / 9;
  border-radius: 10px;
  overflow: hidden;
  border: 1px solid var(--h-slate-200);
  background: var(--h-slate-100);
  position: relative;
  margin-top: 12px;
}

.contact-map-preview iframe {
  width: 100%;
  height: 100%;
  border: none;
  display: block;
}

.static-preview-wrap {
  margin-top: 36px;
  margin-bottom: 24px;
  width: 100%;
}

/* ==========================================================================
   11. FOOTER (ALT BİLGİ) STİLLERİ
   ========================================================================== */

.card-footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  padding: 12px 20px;
  border-top: 1px solid var(--h-slate-100);
  background-color: var(--h-slate-50);
}

.card-footer-meta {
  display: flex;
  align-items: center;
  gap: 8px;
}

.card.card-news-grid .card-footer,
.card.card-news-list .card-footer {
  padding: 10px 16px;
}

.comment-footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 10px;
}

.portal-footer {
  background-color: #ffffff;
  border-top: 1px solid var(--h-slate-200);
  padding-top: 24px;
  box-sizing: border-box;
  width: 100%;
}

.footer-top-bar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding-bottom: 24px;
  border-bottom: 1px solid var(--h-slate-100);
  gap: 20px;
  flex-wrap: wrap;
}

.footer-brand-wrap {
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.footer-brand {
  display: inline-block;
  text-decoration: none;
  line-height: 0;
}

.footer-brand-img {
  height: 44px;
  max-width: 240px;
  width: auto;
  object-fit: contain;
  display: block;
  transition: opacity 0.2s ease;
}

.footer-brand:hover .footer-brand-img {
  opacity: 0.92;
}

.footer-social-group {
  display: flex;
  align-items: center;
  gap: 8px;
  flex-wrap: wrap;
}

.footer-social-btn {
  width: 36px;
  height: 36px;
  border-radius: 9px;
  background-color: var(--h-slate-50);
  border: 1px solid var(--h-slate-200);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  color: var(--h-slate-600);
  text-decoration: none;
  transition: all 0.15s ease;
}

.footer-social-btn:hover {
  background-color: var(--h-primary);
  border-color: var(--h-primary);
  color: #ffffff;
  transform: translateY(-2px);
}

.footer-bottom-bar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 24px 0;
  font-size: 13px;
  color: var(--h-slate-500);
  flex-wrap: wrap;
  gap: 16px;
}

.footer-copy-text {
  margin: 0;
}

.footer-legal-links {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 8px 18px;
}

.footer-legal-link {
  color: var(--h-slate-500);
  text-decoration: none;
  white-space: nowrap;
  transition: color 0.15s ease;
}

.footer-legal-link:hover {
  color: var(--h-slate-800);
  text-decoration: underline;
}

/* ==========================================================================
   12. ÖZEL ANİMASYONLAR (@keyframes)
   ========================================================================== */

@keyframes tickerPulse {
  0% {
    transform: scale(0.9);
    opacity: 1;
  }

  50% {
    transform: scale(1.6);
    opacity: 0.4;
  }

  100% {
    transform: scale(0.9);
    opacity: 1;
  }
}

@keyframes ticker-slide {
  0% {
    transform: translateX(0);
  }

  100% {
    transform: translateX(-50%);
  }
}

/* ==========================================================================
   13. MOBİL UYUMLULUK KURALLARI (@media - EN SONDA KONSOLİDE EDİLMİŞTİR)
   ========================================================================== */

/* --- Tablet & Küçük Ekranlar (max-width: 991px) --- */
@media (max-width: 991px) {
  .content-grid {
    grid-template-columns: 1fr;
  }

  .content-sidebar {
    position: static;
  }

  .news-grid-wrap.cols-4,
  .news-grid-wrap.cols-3 {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .portal-nav {
    display: none;
  }

  .portal-menu-toggle {
    display: inline-flex;
  }

  .portal-geo-toggle {
    display: inline-flex;
  }

  .portal-header-bottom {
    display: none;
  }

  .kpi-stat-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .stat-grid-50-50,
  .stat-grid-66-33,
  .stat-grid-70-30,
  .stat-grid-map {
    grid-template-columns: 1fr;
  }

  .map-canvas-wrap {
    min-height: 320px;
  }

}

/* --- Mobil Yatay & Standart Telefonlar (max-width: 768px) --- */
@media (max-width: 768px) {
  .portal-brand-img {
    height: 40px;
    max-width: 200px;
  }

  .footer-brand-img {
    height: 38px;
    max-width: 180px;
  }

  .footer-bottom-bar {
    flex-direction: column;
    align-items: flex-start;
    gap: 12px;
  }
}

/* --- Kompakt Telefonlar (max-width: 640px) --- */
@media (max-width: 640px) {
  .card.card-ticker {
    flex-direction: column;
    align-items: stretch;
    padding: 10px;
  }

  .ticker-badge {
    align-self: flex-start;
  }

  /* Mobil Arama Overlay Hizalama */
  .portal-search-overlay {
    padding-top: 20px;
    padding-left: 12px;
    padding-right: 12px;
    box-sizing: border-box;
  }

  .portal-search-box {
    padding: 0;
    gap: 8px;
    width: 100%;
    max-width: 100%;
  }

  .portal-search-form {
    height: 48px;
    min-height: 48px;
    padding: 4px 4px 4px 14px;
    gap: 8px;
  }

  .portal-search-input {
    font-size: 14px;
  }

  .portal-search-submit {
    height: 40px;
    padding: 0 16px;
    font-size: 13.5px;
  }

  .portal-search-close {
    width: 48px;
    height: 48px;
    min-width: 48px;
  }

  .news-grid-wrap.cols-2,
  .news-grid-wrap.cols-4,
  .news-grid-wrap.cols-3 {
    grid-template-columns: 1fr;
  }

  .card.card-news-list {
    flex-direction: column;
  }

  .card.card-news-list .card-news-thumb {
    width: 100%;
    min-width: 100%;
    aspect-ratio: 16 / 10;
  }

  .card.card-header-bar .card-body {
    flex-direction: column;
    align-items: stretch;
  }

  .location-stats-group {
    display: flex;
    width: 100%;
    gap: 8px;
    flex-wrap: nowrap;
  }

  .location-stats-group .card-header-bar-stat {
    flex: 1;
    min-width: 0;
    padding: 8px 6px;
    margin-top: 0;
  }

  .card-header-bar-stat--desktop-only {
    display: none !important;
  }

  .card-header-bar-stat--mobile-only {
    display: flex !important;
  }

  .card-header-bar-stat-subnum {
    font-size: 11px;
  }

  .card-header-bar-stat {
    margin-top: 8px;
  }

  .location-podium-bar {
    flex-direction: column;
    align-items: stretch;
  }

  .location-podium-grid {
    grid-template-columns: 1fr;
    max-width: 100%;
  }

  .card.card-article .card-body {
    padding: 20px 16px;
  }

  .article-title {
    font-size: 22px;
  }

  .article-spot {
    font-size: 15px;
  }

  .institution-band {
    flex-direction: column;
    align-items: stretch;
  }

  .institution-band-actions {
    width: 100%;
    justify-content: space-between;
  }

  .comment-grid-2 {
    grid-template-columns: 1fr;
  }

  .comment-footer {
    flex-direction: column;
    align-items: stretch;
  }

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

  .contact-form-grid {
    grid-template-columns: 1fr;
  }

  .error-badge-404 {
    font-size: 72px;
  }

  .error-title {
    font-size: 22px;
  }

  .card.card-404 {
    padding: 36px 16px;
  }

  .kpi-stat-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 10px;
  }

  .card.card-kpi .card-body {
    padding: 12px 14px;
    min-height: auto;
  }

  .card-kpi-label {
    font-size: 10px;
  }

  .card-kpi-val {
    font-size: 16px;
  }

  .stat-card-header {
    padding: 14px 16px;
  }

  .stat-card-body {
    padding: 16px;
  }

  .stat-card-title {
    font-size: 15px;
  }

  .stat-card-desc {
    font-size: 12px;
  }

  .hourly-bars-row {
    height: 140px;
  }

  .rich-content table {
    display: block;
    overflow-x: auto;
    -webkit-overflow-scrolling: touch;
  }

  .rich-content table th,
  .rich-content table td {
    padding: 10px 12px;
    font-size: 13.5px;
  }

}

/* ─────────────────────────────────────────────────────────────
   ── HEADER HIZLI KONUM & BELEDİYE GEZİNME KONSOLU
   ───────────────────────────────────────────────────────────── */
.portal-header-geo-bar {
  position: relative;
  z-index: 60;
  width: 100%;
  pointer-events: auto;
  margin-top: 1px;
}

.portal-header-geo-dock {
  --geo-h: 42px;
  background: #ffffff;
  border: 1px solid var(--h-slate-200, #cbd5e1);
  border-top: none;
  border-radius: 0 0 16px 16px;
  box-shadow: 0 14px 30px -6px rgba(15, 23, 42, 0.1), 0 4px 10px -2px rgba(15, 23, 42, 0.04);
  padding: 10px;
  display: flex;
  align-items: center;
  gap: 10px;
  margin-top: -1px;
  margin-bottom: 12px;
  box-sizing: border-box;
}

.portal-header-geo-badge {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: var(--geo-h);
  height: var(--geo-h);
  background: linear-gradient(135deg, #fef2f2 0%, #fee2e2 100%);
  color: var(--renk-birincil, #dc2626);
  border: 1.5px solid #fecaca;
  border-radius: 9px;
  flex-shrink: 0;
  box-shadow: 0 1px 3px rgba(220, 38, 38, 0.08);
}

.portal-header-geo-selects {
  display: flex;
  align-items: center;
  gap: 10px;
  flex: 1;
  min-width: 0;
}

.header-geo-field {
  position: relative;
  flex: 1;
  min-width: 130px;
}

.header-geo-trigger {
  width: 100%;
  height: var(--geo-h);
  padding: 0 12px 0 14px;
  background-color: #f8fafc;
  color: var(--h-slate-800, #1e293b);
  border: 1.5px solid var(--h-slate-300, #cbd5e1);
  border-radius: 9px;
  font-size: 13px;
  font-weight: 600;
  font-family: inherit;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 8px;
  cursor: pointer;
  transition: all 0.2s cubic-bezier(0.16, 1, 0.3, 1);
  box-sizing: border-box;
  text-align: left;
  box-shadow: 0 1px 2px rgba(15, 23, 42, 0.04);
}

.header-geo-trigger:hover:not(:disabled) {
  border-color: #64748b;
  background-color: #ffffff;
  box-shadow: 0 2px 6px rgba(15, 23, 42, 0.08);
}

.header-geo-field.is-open .header-geo-trigger {
  border-color: #334155;
  background-color: #ffffff;
  box-shadow: 0 0 0 3px rgba(15, 23, 42, 0.08);
}

.header-geo-trigger:disabled {
  background-color: #f8fafc;
  color: #94a3b8;
  border-color: #e2e8f0;
  cursor: not-allowed;
  opacity: 0.75;
  box-shadow: none;
}

.header-geo-field.is-selected .header-geo-trigger {
  background-color: #ffffff;
  border-color: #1e293b;
  color: #0f172a;
  font-weight: 700;
  padding-right: 36px;
  box-shadow: 0 1px 4px rgba(15, 23, 42, 0.08);
}

.header-geo-clear-btn {
  position: absolute;
  right: 10px;
  top: 50%;
  transform: translateY(-50%);
  width: 22px;
  height: 22px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
  color: #64748b;
  text-decoration: none;
  transition: all 0.15s ease;
  z-index: 5;
}

.header-geo-clear-btn:hover {
  background-color: #fee2e2;
  color: #dc2626;
  transform: translateY(-50%) scale(1.1);
}

.header-geo-trigger-label {
  display: flex;
  align-items: center;
  gap: 8px;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
  flex: 1;
}

.header-geo-active-dot {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background-color: var(--renk-birincil, #dc2626);
  flex-shrink: 0;
  box-shadow: 0 0 0 2px rgba(220, 38, 38, 0.2);
}

.header-geo-arrow {
  color: #64748b;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  transition: transform 0.2s cubic-bezier(0.16, 1, 0.3, 1), color 0.2s ease;
}

.header-geo-field.is-open .header-geo-arrow {
  transform: rotate(180deg);
  color: #0f172a;
}

.header-geo-dropdown {
  position: absolute;
  top: calc(100% + 6px);
  left: 0;
  width: 100%;
  min-width: 200px;
  background: #ffffff;
  border: 1px solid var(--h-slate-200, #cbd5e1);
  border-radius: 12px;
  box-shadow: 0 18px 40px -6px rgba(15, 23, 42, 0.16), 0 6px 14px -2px rgba(15, 23, 42, 0.08);
  z-index: 200;
  padding: 6px;
  box-sizing: border-box;
  display: none;
  animation: headerDropdownPop 0.16s cubic-bezier(0.16, 1, 0.3, 1) forwards;
}

@keyframes headerDropdownPop {
  from {
    opacity: 0;
    transform: translateY(-6px) scale(0.98);
  }

  to {
    opacity: 1;
    transform: translateY(0) scale(1);
  }
}

.header-geo-field.is-open .header-geo-dropdown {
  display: block;
}

.header-geo-search {
  position: relative;
  padding: 4px;
  border-bottom: 1px solid #f1f5f9;
  margin-bottom: 4px;
}

.header-geo-search-icon {
  position: absolute;
  left: 12px;
  top: 50%;
  transform: translateY(-50%);
  color: #94a3b8;
  pointer-events: none;
  display: flex;
}

.header-geo-search-input {
  width: 100%;
  height: 34px;
  padding: 0 10px 0 30px;
  background: #f8fafc;
  border: 1.5px solid #e2e8f0;
  border-radius: 7px;
  font-size: 12px;
  font-weight: 500;
  font-family: inherit;
  color: #0f172a;
  outline: none;
  box-sizing: border-box;
  transition: all 0.15s ease;
}

.header-geo-search-input:focus {
  background: #ffffff;
  border-color: #64748b;
  box-shadow: 0 0 0 2px rgba(15, 23, 42, 0.06);
}

.header-geo-list {
  max-height: 340px;
  overflow-y: auto;
  display: flex;
  flex-direction: column;
  gap: 2px;
  padding: 2px;
  scrollbar-width: thin;
  scrollbar-color: #cbd5e1 transparent;
}

.header-geo-list::-webkit-scrollbar {
  width: 5px;
}

.header-geo-list::-webkit-scrollbar-thumb {
  background: #cbd5e1;
  border-radius: 3px;
}

.header-geo-item {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 8px;
  padding: 8px 10px;
  border-radius: 7px;
  text-decoration: none;
  font-size: 13px;
  font-weight: 500;
  color: #334155;
  transition: all 0.12s ease;
}

.header-geo-item:hover,
.header-geo-item.is-focused {
  background-color: #f1f5f9;
  color: #0f172a;
  padding-left: 12px;
}

.header-geo-item.is-active {
  background-color: #f1f5f9;
  color: var(--renk-birincil, #dc2626);
  font-weight: 700;
}

.header-geo-item-name {
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
  flex: 1;
}

.header-geo-item-check {
  color: var(--renk-birincil, #dc2626);
  display: flex;
  flex-shrink: 0;
}

.header-geo-empty {
  padding: 12px 10px;
  font-size: 12px;
  color: #94a3b8;
  text-align: center;
}

.portal-header-geo-reset {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  height: var(--geo-h);
  padding: 0 14px;
  font-size: 11.5px;
  font-weight: 700;
  color: var(--h-slate-600, #475569);
  background: #ffffff;
  border: 1.5px solid var(--h-slate-200, #cbd5e1);
  border-radius: 9px;
  text-decoration: none;
  white-space: nowrap;
  flex-shrink: 0;
  box-sizing: border-box;
  box-shadow: 0 1px 3px rgba(15, 23, 42, 0.04);
  transition: all 0.2s ease;
}

.portal-header-geo-reset:hover {
  color: #ffffff;
  border-color: var(--renk-birincil, #dc2626);
  background: var(--renk-birincil, #dc2626);
}

.portal-header-geo-actions {
  display: contents;
}

.portal-header-geo-apply {
  display: none;
}

@media (max-width: 991px) {
  .portal-header-geo-bar {
    display: none;
  }

  .portal-header-geo-bar.is-mobile-open {
    display: block;
    animation: geoBarSlideDown 0.22s cubic-bezier(0.16, 1, 0.3, 1) forwards;
  }

  .portal-header-geo-dock {
    --geo-h: 38px;
    flex-wrap: wrap;
    padding: 8px;
    gap: 8px;
    border-radius: 0 0 14px 14px;
    box-shadow: 0 14px 28px -4px rgba(15, 23, 42, 0.18);
  }

  .portal-header-geo-badge {
    display: none;
  }

  .portal-header-geo-selects {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    width: 100%;
    gap: 8px;
  }

  .header-geo-trigger {
    font-size: 12.5px;
  }

  .header-geo-dropdown {
    width: 100%;
    max-width: 100%;
  }

  .portal-header-geo-actions {
    display: flex;
    align-items: center;
    gap: 8px;
    width: 100%;
    margin-top: 2px;
  }

  .portal-header-geo-reset {
    flex: 1;
    height: var(--geo-h, 38px);
    justify-content: center;
    font-size: 12.5px;
  }

  .portal-header-geo-apply {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 6px;
    flex: 2;
    height: var(--geo-h, 38px);
    padding: 0 16px;
    background: #f1f5f9;
    color: #94a3b8;
    border: 1.5px solid #e2e8f0;
    border-radius: 9px;
    font-size: 13px;
    font-weight: 700;
    font-family: inherit;
    cursor: not-allowed;
    transition: all 0.2s cubic-bezier(0.16, 1, 0.3, 1);
    white-space: nowrap;
    box-sizing: border-box;
  }

  .portal-header-geo-apply:not([disabled]),
  .portal-header-geo-apply.is-ready {
    background: var(--renk-birincil, #dc2626);
    color: #ffffff;
    border-color: var(--renk-birincil, #dc2626);
    cursor: pointer;
    box-shadow: 0 4px 12px rgba(220, 38, 38, 0.28);
  }

  .portal-header-geo-apply:not([disabled]):active,
  .portal-header-geo-apply.is-ready:active {
    transform: scale(0.98);
  }
}

@keyframes geoBarSlideDown {
  from {
    opacity: 0;
    transform: translateY(-8px);
  }

  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@media (max-width: 575px) {
  .portal-header-geo-selects {
    grid-template-columns: 1fr;
  }

  .portal-header-geo-reset {
    width: 100%;
    justify-content: center;
  }
}