/*
Theme Name: Kırşehir Güncel ESH
Description: Ensonhaber mimarisinde, Yoast SEO uyumlu, native manşet sistemli ve admin panelli haber teması.
Version: 1.0.0
Text Domain: kg-esh
*/

:root {
  --kg-red: #e30613;
  --kg-red-hover: #c20510;
  --kg-bg: #ffffff;
  --kg-surface: #f8f9fa;
  --kg-surface-alt: #f1f5f9;
  --kg-text: #111827;
  --kg-text-muted: #4b5563;
  --kg-border: #e5e7eb;
  --kg-navy: #131f33;
  --kg-navy-dark: #0b111c;
  --kg-finance-bg: #0e4d82;
  --kg-radius: 6px;
  --kg-container: 1200px;
  --kg-font: 'Inter', -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
}

[data-theme="dark"] {
  --kg-bg: #0f172a;
  --kg-surface: #1e293b;
  --kg-surface-alt: #273549;
  --kg-text: #f8fafc;
  --kg-text-muted: #94a3b8;
  --kg-border: #334155;
}

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

html, body {
  margin: 0;
  padding: 0;
  max-width: 100%;
  overflow-x: clip;
  background-color: var(--kg-bg);
  color: var(--kg-text);
  font-family: var(--kg-font);
  font-size: 15px;
  line-height: 1.5;
  -webkit-font-smoothing: antialiased;
}

a {
  color: inherit;
  text-decoration: none;
  transition: color .18s ease, opacity .18s ease;
}

img {
  max-width: 100%;
  height: auto;
  display: block;
}

.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  border: 0;
}

.esh-container {
  width: 100%;
  max-width: var(--kg-container);
  margin: 0 auto;
  padding: 0 16px;
}

/* ==================== HEADER — 3 KATMAN ==================== */
.esh-header {
  background: var(--kg-bg);
  border-bottom: 1px solid var(--kg-border);
  position: relative;
  z-index: 900;
}

/* KATMAN 1 */
.esh-header-top {
  height: 64px;
  display: flex;
  align-items: center;
  background: var(--kg-bg);
  border-bottom: 1px solid var(--kg-border);
}
.esh-header-top-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  min-width: 0;
}
.esh-logo {
  display: inline-flex;
  align-items: center;
  gap: 9px;
  min-width: 0;
  font-weight: 900;
  font-size: 22px;
  letter-spacing: -0.6px;
  line-height: 1;
}
.esh-logo img { max-height: 38px; width: auto; }
.esh-logo-box {
  background: var(--kg-red);
  color: #ffffff;
  padding: 5px 8px;
  border-radius: 5px;
  font-size: 18px;
  line-height: 1;
}
.esh-logo-text {
  color: var(--kg-text);
  white-space: nowrap;
}
.esh-header-actions {
  display: flex;
  align-items: center;
  gap: 6px;
  color: var(--kg-text);
  flex-shrink: 0;
}
.esh-action-btn {
  appearance: none;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
  height: 36px;
  padding: 0 10px;
  border: 0;
  border-radius: 10px;
  background: transparent;
  color: var(--kg-text);
  font: inherit;
  font-size: 13px;
  font-weight: 600;
  line-height: 1;
  cursor: pointer;
  white-space: nowrap;
  transition: background .2s ease, color .2s ease;
}
.esh-action-btn:hover { color: var(--kg-red); background: var(--kg-surface); }
.esh-icon { width: 18px; height: 18px; display: block; flex: 0 0 auto; }
.esh-action-label { display: inline-block; }
.esh-live-btn { color: #DC2626; font-weight: 700; }
.esh-live-btn:hover { color: #DC2626; }
.esh-live-dot {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: #DC2626;
  flex: 0 0 auto;
  animation: eshLivePulse 1.8s ease-out infinite;
}
@keyframes eshLivePulse {
  0% { box-shadow: 0 0 0 0 rgba(220, 38, 38, .55); }
  70% { box-shadow: 0 0 0 7px rgba(220, 38, 38, 0); }
  100% { box-shadow: 0 0 0 0 rgba(220, 38, 38, 0); }
}
.esh-icon-sun { display: none; }
.esh-icon-moon { display: block; }
[data-theme="dark"] .esh-icon-moon { display: none; }
[data-theme="dark"] .esh-icon-sun { display: block; }
.esh-menu-toggle {
  appearance: none;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 38px;
  height: 38px;
  padding: 0;
  border: 0;
  border-radius: 10px;
  background: transparent;
  color: var(--kg-text);
  cursor: pointer;
  flex-shrink: 0;
  transition: background .2s ease, color .2s ease;
}
.esh-menu-toggle:hover { color: var(--kg-red); background: var(--kg-surface); }

/* KATMAN 2 + 3 WRAPPER */
.esh-nav-wrap {
  position: relative;
  z-index: 999;
  background: var(--kg-bg);
  border-bottom: 1px solid var(--kg-border);
  transition: background .25s ease, box-shadow .25s ease, backdrop-filter .25s ease;
}
.esh-header.kg-is-sticky .esh-nav-wrap { position: sticky; top: 0; }
.esh-header.is-scrolled .esh-nav-wrap {
  background: rgba(255, 255, 255, .94);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  box-shadow: 0 4px 20px rgba(0, 0, 0, .06);
}
body.admin-bar .esh-header.kg-is-sticky .esh-nav-wrap { top: 32px; }

/* KATMAN 2 */
.esh-nav-bar {
  height: 48px;
  display: flex;
  align-items: center;
  background: var(--kg-bg);
}
.esh-nav-inner { display: flex; align-items: center; min-width: 0; }
.esh-primary-nav { min-width: 0; flex: 1; }
.esh-primary-menu {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  align-items: center;
  flex-wrap: nowrap;
  gap: 2px;
  width: 100%;
  overflow-x: auto;
  overflow-y: hidden;
  scrollbar-width: none;
  -webkit-overflow-scrolling: touch;
}
.esh-primary-menu::-webkit-scrollbar { display: none; }
.esh-primary-menu li { margin: 0; flex: 0 0 auto; }
.esh-primary-menu li a {
  position: relative;
  display: inline-flex;
  align-items: center;
  height: 48px;
  padding: 0 12px;
  color: #0F172A;
  font-size: 14px;
  font-weight: 700;
  letter-spacing: -0.2px;
  line-height: 1;
  white-space: nowrap;
  text-transform: none;
  transition: color .2s ease;
}
.esh-primary-menu li a::after {
  content: "";
  position: absolute;
  left: 12px;
  right: 12px;
  bottom: 0;
  height: 3px;
  border-radius: 3px 3px 0 0;
  background: #DC2626;
  transform: scaleX(0);
  transform-origin: center;
  transition: transform .25s cubic-bezier(.22, 1, .36, 1);
}
.esh-primary-menu li a:hover,
.esh-primary-menu li.current-menu-item > a { color: #DC2626; }
.esh-primary-menu li a:hover::after,
.esh-primary-menu li.current-menu-item > a::after { transform: scaleX(1); }

/* KATMAN 3 */
.esh-secondary-bar {
  height: 38px;
  display: flex;
  align-items: center;
  background: #F8FAFC;
  border-top: 1px solid #E2E8F0;
  border-bottom: 1px solid #E2E8F0;
}
.esh-secondary-inner { display: flex; align-items: center; min-width: 0; }
.esh-secondary-menu {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  align-items: center;
  flex-wrap: nowrap;
  gap: 18px;
  height: 38px;
  width: 100%;
  overflow-x: auto;
  overflow-y: hidden;
  scrollbar-width: none;
  -webkit-overflow-scrolling: touch;
}
.esh-secondary-menu::-webkit-scrollbar { display: none; }
.esh-secondary-menu li { margin: 0; flex: 0 0 auto; }
.esh-secondary-menu li a {
  position: relative;
  display: inline-flex;
  align-items: center;
  height: 38px;
  color: #475569;
  font-size: 12.5px;
  font-weight: 500;
  line-height: 1;
  white-space: nowrap;
  transition: color .2s ease;
}
.esh-secondary-menu li a::after {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  height: 2px;
  background: #0F172A;
  transform: scaleX(0);
  transform-origin: center;
  transition: transform .25s cubic-bezier(.22, 1, .36, 1);
}
.esh-secondary-menu li a:hover,
.esh-secondary-menu li.current-menu-item > a { color: #0F172A; }
.esh-secondary-menu li a:hover::after,
.esh-secondary-menu li.current-menu-item > a::after { transform: scaleX(1); }

/* DARK MODE */
[data-theme="dark"] .esh-header,
[data-theme="dark"] .esh-header-top,
[data-theme="dark"] .esh-nav-wrap,
[data-theme="dark"] .esh-nav-bar { background: #0F172A; border-color: #1E293B; }
[data-theme="dark"] .esh-secondary-bar { background: #0F172A; border-color: #1E293B; }
[data-theme="dark"] .esh-primary-menu li a { color: #F8FAFC; }
[data-theme="dark"] .esh-primary-menu li a:hover,
[data-theme="dark"] .esh-primary-menu li.current-menu-item > a { color: #DC2626; }
[data-theme="dark"] .esh-secondary-menu li a { color: #94A3B8; }
[data-theme="dark"] .esh-secondary-menu li a:hover,
[data-theme="dark"] .esh-secondary-menu li.current-menu-item > a { color: #F8FAFC; }
[data-theme="dark"] .esh-secondary-menu li a::after { background: #DC2626; }
[data-theme="dark"] .esh-header.is-scrolled .esh-nav-wrap { background: rgba(15, 23, 42, .94); }
[data-theme="dark"] .esh-action-btn { color: #E2E8F0; }
[data-theme="dark"] .esh-action-btn:hover { color: #FFFFFF; background: #1E293B; }

@media (max-width: 782px) {
  body.admin-bar .esh-header.kg-is-sticky .esh-nav-wrap { top: 46px; }
}
@media (max-width: 768px) {
  .esh-header-top { height: 64px; }
  .esh-header-actions { gap: 2px; }
  .esh-action-btn { height: 34px; padding: 0 7px; }
  .esh-action-label { display: none; }
  .esh-hide-mobile { display: none !important; }
  .esh-logo { font-size: 18px; gap: 7px; }
  .esh-logo-box { font-size: 15px; padding: 4px 7px; }
  .esh-primary-menu li a { font-size: 13px; padding: 0 10px; }
  .esh-primary-menu li a::after { left: 10px; right: 10px; }
  .esh-secondary-menu { gap: 14px; }
}
@media (prefers-reduced-motion: reduce) {
  .esh-live-dot { animation: none; }
  .esh-primary-menu li a::after,
  .esh-secondary-menu li a::after { transition: none; }
}

/* ==================== REKLAM ALANLARI ==================== */
.esh-ad-slot {
  width: 100%;
  margin: 18px 0;
  display: flex;
  justify-content: center;
  align-items: center;
  overflow: hidden;
  text-align: center;
}

/* ==================== HERO / MANŞET ALANI ==================== */
.esh-hero-section {
  padding-top: 18px;
  padding-bottom: 18px;
}

.esh-hero-grid {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 340px;
  gap: 16px;
  align-items: stretch;
}

/* Sol Ana Manşet Slider */
.esh-main-slider {
  position: relative;
  background: #000;
  border-radius: 4px;
  overflow: hidden;
  display: flex;
  flex-direction: column;
}

.esh-main-slides {
  position: relative;
  width: 100%;
  aspect-ratio: 16 / 9.2;
  overflow: hidden;
}

.esh-main-slide {
  position: absolute;
  inset: 0;
  opacity: 0;
  pointer-events: none;
  transition: opacity .25s ease;
}

.esh-main-slide.is-active {
  opacity: 1;
  pointer-events: auto;
  z-index: 2;
}

.esh-main-slide img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.esh-main-slide-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(to top, rgba(0,0,0,0.88) 0%, rgba(0,0,0,0.28) 45%, rgba(0,0,0,0) 75%);
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  padding: 24px 26px;
}

.esh-slide-cat {
  display: inline-block;
  align-self: flex-start;
  background: var(--kg-red);
  color: #fff;
  font-size: 11px;
  font-weight: 800;
  text-transform: uppercase;
  padding: 3px 8px;
  border-radius: 3px;
  margin-bottom: 8px;
}

.esh-main-slide-title {
  margin: 0;
  color: #ffffff;
  font-size: 28px;
  font-weight: 900;
  line-height: 1.18;
  text-shadow: 0 2px 10px rgba(0,0,0,0.6);
}

.esh-slider-numbers {
  display: flex;
  align-items: stretch;
  background: #111111;
  height: 36px;
  overflow-x: auto;
  scrollbar-width: none;
}

.esh-slider-num {
  flex: 1;
  min-width: 30px;
  border: none;
  border-right: 1px solid rgba(255,255,255,0.08);
  background: transparent;
  color: #e5e7eb;
  font-size: 12px;
  font-weight: 700;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 0;
  transition: background .15s ease;
}

.esh-slider-num:hover,
.esh-slider-num.is-active {
  background: var(--kg-red);
  color: #ffffff;
}

/* Sağ Yan Manşet Slider */
.esh-side-slider {
  position: relative;
  background: #111;
  border-radius: 4px;
  overflow: hidden;
  display: flex;
  flex-direction: column;
}

.esh-side-slides {
  position: relative;
  flex: 1;
  min-height: 360px;
  overflow: hidden;
}

.esh-side-slide {
  position: absolute;
  inset: 0;
  opacity: 0;
  pointer-events: none;
  transition: opacity .25s ease;
}

.esh-side-slide.is-active {
  opacity: 1;
  pointer-events: auto;
  z-index: 2;
}

.esh-side-slide img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.esh-side-slide-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(to top, rgba(0,0,0,0.92) 0%, rgba(0,0,0,0.35) 50%, rgba(0,0,0,0) 80%);
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  padding: 18px;
}

.esh-side-slide-title {
  margin: 0;
  color: #ffffff;
  font-size: 20px;
  font-weight: 800;
  line-height: 1.25;
}

.esh-side-controls {
  height: 36px;
  background: #111111;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0 10px;
}

.esh-side-arrow {
  background: transparent;
  border: none;
  color: #ffffff;
  font-size: 16px;
  cursor: pointer;
  padding: 4px 8px;
}

.esh-side-dots {
  display: flex;
  align-items: center;
  gap: 6px;
}

.esh-side-dot {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  border: none;
  padding: 0;
  background: rgba(255,255,255,0.35);
  cursor: pointer;
}

.esh-side-dot.is-active {
  background: var(--kg-red);
  transform: scale(1.2);
}

/* ==================== MANŞET ALTI 4'LÜ GRİD ==================== */
.esh-sub-hero-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 16px;
  margin-top: 18px;
}

.esh-card {
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.esh-card-thumb {
  position: relative;
  width: 100%;
  aspect-ratio: 16 / 9.5;
  overflow: hidden;
  border-radius: 4px;
  background: var(--kg-surface-alt);
}

.esh-card-thumb img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform .3s ease;
}

.esh-card:hover .esh-card-thumb img {
  transform: scale(1.04);
}

.esh-card-title {
  margin: 0;
  font-size: 15px;
  font-weight: 700;
  line-height: 1.35;
  color: var(--kg-text);
  display: -webkit-box;
  -webkit-line-clamp: 3;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.esh-card:hover .esh-card-title {
  color: var(--kg-red);
}

.esh-card-excerpt {
  margin: 0;
  font-size: 13.5px;
  color: var(--kg-text-muted);
  line-height: 1.5;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

/* ==================== PİYASA / FİNANS BANDI ==================== */
.esh-finance-wrap {
  margin: 22px 0 32px;
}

.esh-finance-bar {
  background: var(--kg-finance-bg);
  color: #ffffff;
  border-radius: 4px;
  padding: 12px 20px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  overflow-x: auto;
  scrollbar-width: none;
}

.esh-finance-brand {
  font-weight: 800;
  font-size: 14px;
  letter-spacing: 0.6px;
  white-space: nowrap;
  padding-right: 16px;
  border-right: 1px solid rgba(255,255,255,0.2);
}

.esh-finance-items {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex: 1;
  gap: 20px;
}

.esh-finance-item {
  display: flex;
  flex-direction: column;
  white-space: nowrap;
}

.esh-f-label {
  font-size: 10px;
  opacity: 0.8;
  font-weight: 700;
}

.esh-f-val {
  font-size: 15px;
  font-weight: 800;
  line-height: 1.2;
}

.esh-f-diff {
  font-size: 11px;
  font-weight: 700;
}

.esh-f-up { color: #4ade80; }
.esh-f-down { color: #f87171; }

/* ==================== BÖLÜM BAŞLIKLARI ==================== */
.esh-section {
  padding: 28px 0;
}

.esh-section-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 18px;
}

.esh-section-title {
  margin: 0;
  font-size: 20px;
  font-weight: 800;
  position: relative;
  padding-bottom: 8px;
}

.esh-section-title::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: 0;
  width: 42px;
  height: 3px;
  background: var(--kg-red);
}

.esh-section-more {
  font-size: 13px;
  font-weight: 700;
  color: var(--kg-text-muted);
}

.esh-section-more:hover {
  color: var(--kg-red);
}

/* ==================== SPOR BLOĞU (FULL-BLEED KOYU LACİVERT) ==================== */
.esh-sport-band {
  width: 100%;
  background: var(--kg-navy);
  color: #ffffff;
  padding: 36px 0 42px;
  margin: 12px 0;
}

.esh-sport-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 20px;
  gap: 12px;
}

.esh-sport-title-group {
  display: flex;
  align-items: center;
  gap: 12px;
}

.esh-sport-logo {
  font-size: 20px;
  font-weight: 900;
  letter-spacing: -0.3px;
  border-bottom: 2px solid #ffffff;
  padding-bottom: 2px;
}

.esh-sport-badge {
  background: #2563eb;
  color: #ffffff;
  font-size: 12px;
  font-weight: 700;
  padding: 5px 12px;
  border-radius: 4px;
}

.esh-sport-grid {
  display: grid;
  grid-template-columns: 1.15fr 1fr;
  gap: 20px;
  align-items: start;
}

.esh-sport-slider {
  position: relative;
}

.esh-sport-slides {
  position: relative;
  width: 100%;
  aspect-ratio: 16 / 10.2;
  border-radius: 4px;
  overflow: hidden;
  background: #0b111c;
}

.esh-sport-slide {
  position: absolute;
  inset: 0;
  opacity: 0;
  pointer-events: none;
  transition: opacity .25s ease;
}

.esh-sport-slide.is-active {
  opacity: 1;
  pointer-events: auto;
  z-index: 2;
}

.esh-sport-slide img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.esh-sport-slide-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(to top, rgba(0,0,0,0.9) 0%, rgba(0,0,0,0.15) 55%, transparent 100%);
  display: flex;
  align-items: flex-end;
  padding: 20px;
}

.esh-sport-slide-title {
  margin: 0;
  color: #ffffff;
  font-size: 22px;
  font-weight: 900;
  line-height: 1.25;
}

.esh-sport-arrow {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  z-index: 5;
  background: rgba(0,0,0,0.45);
  color: #fff;
  border: none;
  width: 36px;
  height: 44px;
  font-size: 20px;
  cursor: pointer;
}

.esh-sport-arrow.prev { left: 0; border-radius: 0 4px 4px 0; }
.esh-sport-arrow.next { right: 0; border-radius: 4px 0 0 4px; }

.esh-sport-dots {
  display: flex;
  justify-content: center;
  gap: 8px;
  margin-top: 12px;
}

.esh-sport-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  border: none;
  background: rgba(255,255,255,0.3);
  cursor: pointer;
  padding: 0;
}

.esh-sport-dot.is-active {
  background: #22c55e;
}

.esh-sport-cards {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 16px;
}

.esh-sport-band .esh-card-title {
  color: #f8fafc;
  font-size: 14px;
}

.esh-sport-band .esh-card:hover .esh-card-title {
  color: #38bdf8;
}

/* ==================== ASİMETRİK MAGAZİN BLOĞU (1+4) ==================== */
.esh-asym-grid {
  display: grid;
  grid-template-columns: 1fr 1.35fr;
  gap: 20px;
  align-items: start;
}

.esh-asym-featured .esh-card-thumb {
  aspect-ratio: 4 / 3;
}

.esh-asym-featured .esh-card-title {
  font-size: 22px;
  font-weight: 800;
  line-height: 1.25;
}

.esh-asym-side-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 16px;
}

/* ==================== YAŞAM / LIFE BLOĞU (25% - 50% - 25%) ==================== */
.esh-life-grid {
  display: grid;
  grid-template-columns: 1fr 2fr 1fr;
  gap: 20px;
  align-items: start;
}

.esh-life-col {
  display: flex;
  flex-direction: column;
  gap: 18px;
}

.esh-life-center .esh-card-thumb {
  aspect-ratio: 16 / 10;
}

.esh-life-center .esh-card-title {
  font-size: 22px;
  font-weight: 800;
}

/* ==================== GÖZDEN KAÇMASIN (3x2 GRİD) ==================== */
.esh-grid-3 {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 20px;
}

/* ==================== HABER DETAY (SINGLE) ==================== */
.esh-single-layout {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 320px;
  gap: 32px;
  padding: 24px 0 48px;
}

.esh-breadcrumb {
  font-size: 13px;
  color: var(--kg-text-muted);
  margin-bottom: 14px;
}

.esh-breadcrumb a:hover {
  color: var(--kg-red);
}

.esh-single-title {
  margin: 8px 0 14px;
  font-size: 32px;
  font-weight: 900;
  line-height: 1.22;
}

.esh-single-spot {
  font-size: 18px;
  font-weight: 500;
  color: var(--kg-text-muted);
  line-height: 1.5;
  margin-bottom: 18px;
}

.esh-single-meta {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 14px;
  font-size: 13px;
  color: var(--kg-text-muted);
  padding: 12px 0;
  border-top: 1px solid var(--kg-border);
  border-bottom: 1px solid var(--kg-border);
  margin-bottom: 20px;
}

.esh-single-featured {
  margin-bottom: 22px;
  border-radius: 6px;
  overflow: hidden;
}

.esh-single-featured img {
  width: 100%;
  aspect-ratio: 16 / 9;
  object-fit: cover;
}

.esh-single-content {
  font-size: 17px;
  line-height: 1.75;
}

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

.esh-single-content h2,
.esh-single-content h3 {
  margin: 26px 0 12px;
  line-height: 1.3;
}

.esh-sidebar-box {
  background: var(--kg-surface);
  border: 1px solid var(--kg-border);
  border-radius: 6px;
  padding: 16px;
  margin-bottom: 22px;
}

.esh-sidebar-title {
  margin: 0 0 14px;
  font-size: 16px;
  font-weight: 800;
  padding-left: 10px;
  border-left: 3px solid var(--kg-red);
}

.esh-sidebar-list {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.esh-sidebar-item {
  display: flex;
  gap: 10px;
  align-items: flex-start;
  padding-bottom: 12px;
  border-bottom: 1px solid var(--kg-border);
}

.esh-sidebar-item:last-child {
  border-bottom: none;
  padding-bottom: 0;
}

.esh-sidebar-num {
  color: var(--kg-red);
  font-weight: 900;
  font-size: 18px;
  line-height: 1.1;
  min-width: 20px;
}

.esh-sidebar-item a {
  font-size: 14px;
  font-weight: 700;
  line-height: 1.35;
}

.esh-sidebar-item a:hover {
  color: var(--kg-red);
}

/* ==================== MODERN FOOTER (KH) ==================== */
.kh-footer {
    background-color: #f3f4f6;
    color: #1f2937;
    border-top: 1px solid #e5e7eb;
    margin-top: 48px;
    font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
    font-size: 14px;
    line-height: 1.5;
}
.kh-footer-container { max-width: 1240px; margin: 0 auto; padding: 36px 20px 28px; }
.kh-footer img { max-height: 44px; width: auto; display: block; }
.kh-footer a { text-decoration: none; }

.kh-footer-top {
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 16px;
    padding-bottom: 24px;
    border-bottom: 1px solid #e5e7eb;
}
.kh-footer-brand { display: flex; align-items: center; flex-wrap: wrap; gap: 18px; }
.kh-footer-logo { display: inline-flex; align-items: center; gap: 8px; text-decoration: none; }
.kh-logo-badge {
    background-color: #dc2626;
    color: #ffffff;
    font-weight: 800;
    font-size: 16px;
    padding: 4px 8px;
    border-radius: 4px;
    letter-spacing: -0.5px;
}
.kh-logo-text { font-size: 20px; font-weight: 800; color: #dc2626; letter-spacing: -0.5px; }
.kh-logo-text span { color: #4b5563; font-weight: 700; }
.kh-footer-copy { font-size: 13px; color: #6b7280; }
.kh-footer-top-links { display: flex; align-items: center; flex-wrap: wrap; gap: 10px; font-size: 13px; font-weight: 500; }
.kh-footer-top-links a { color: #111827; text-decoration: none; transition: color 0.2s ease; }
.kh-footer-top-links a:hover { color: #dc2626; }
.kh-footer-top-links .kh-dot { color: #9ca3af; }

.kh-footer-grid {
    display: grid;
    grid-template-columns: repeat(6, 1fr);
    gap: 24px;
    padding: 28px 0;
    border-bottom: 1px solid #e5e7eb;
}
.kh-footer-title { font-size: 14px; font-weight: 700; color: #111827; margin: 0 0 14px 0; }
.kh-footer-list { list-style: none; margin: 0; padding: 0; display: flex; flex-direction: column; gap: 9px; }
.kh-footer-list a { color: #374151; text-decoration: none; font-size: 13.5px; transition: color 0.15s ease; }
.kh-footer-list a:hover { color: #dc2626; text-decoration: underline; }

.kh-footer-social-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 32px;
    padding: 28px 0;
    border-bottom: 1px solid #e5e7eb;
    align-items: start;
}
.kh-sub-title { font-size: 12.5px; font-weight: 700; color: #111827; letter-spacing: 0.4px; margin: 0 0 14px 0; text-transform: uppercase; }
.kh-social-icons { display: flex; flex-wrap: wrap; gap: 12px; }
.kh-soc {
    width: 36px;
    height: 36px;
    border-radius: 50%;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    color: #ffffff;
    transition: transform 0.2s ease, opacity 0.2s ease;
}
.kh-soc:hover { transform: translateY(-2px); opacity: 0.9; color: #ffffff; }
.kh-soc svg { width: 18px; height: 18px; }
.kh-fb { background-color: #1877f2; }
.kh-x  { background-color: #111827; }
.kh-ig { background: linear-gradient(45deg, #f09433 0%, #e6683c 25%, #dc2743 50%, #cc2366 75%, #bc1888 100%); }
.kh-yt { background-color: #ff0000; }
.kh-wa { background-color: #25d366; }
.kh-tg { background-color: #0088cc; }
.kh-rss { background-color: #f97316; }

.kh-store-buttons { display: flex; flex-wrap: wrap; gap: 12px; margin-bottom: 14px; }
.kh-store-btn {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    padding: 7px 14px;
    border: 1px solid #d1d5db;
    border-radius: 8px;
    background-color: #ffffff;
    color: #111827;
    text-decoration: none;
    transition: border-color 0.2s ease, box-shadow 0.2s ease;
}
.kh-store-btn:hover { border-color: #9ca3af; box-shadow: 0 2px 6px rgba(0, 0, 0, 0.06); color: #111827; }
.kh-store-btn svg { width: 22px; height: 22px; color: #111827; }
.kh-store-btn span { display: flex; flex-direction: column; line-height: 1.15; }
.kh-store-btn small { font-size: 10px; color: #6b7280; }
.kh-store-btn strong { font-size: 13px; font-weight: 700; }
.kh-footer-desc { font-size: 13px; color: #4b5563; margin: 0; max-width: 480px; }

.kh-footer-legal {
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 14px;
    padding: 20px 0;
    border-bottom: 1px solid #e5e7eb;
}
.kh-footer-legal a { font-size: 13px; color: #374151; text-decoration: none; transition: color 0.2s ease; }
.kh-footer-legal a:hover { color: #dc2626; }

.kh-footer-bottom { text-align: center; padding-top: 22px; }
.kh-bottom-strong { font-size: 13.5px; font-weight: 700; color: #111827; margin: 0 0 6px 0; }
.kh-bottom-links { font-size: 13px; font-weight: 600; color: #374151; margin: 0 0 10px 0; }
.kh-bottom-links a { color: #111827; text-decoration: none; margin: 0 4px; }
.kh-bottom-links a:hover { color: #dc2626; }
.kh-bottom-meta { font-size: 12px; color: #6b7280; margin: 0; }

@media (max-width: 1024px) {
    .kh-footer-grid { grid-template-columns: repeat(3, 1fr); }
}
@media (max-width: 768px) {
    .kh-footer-top { flex-direction: column; align-items: flex-start; }
    .kh-footer-grid { grid-template-columns: repeat(2, 1fr); gap: 20px; }
    .kh-footer-social-row { grid-template-columns: 1fr; gap: 24px; }
    .kh-footer-legal { justify-content: flex-start; gap: 12px 18px; }
}
@media (max-width: 520px) {
    .kh-footer-grid { grid-template-columns: 1fr; }
    .kh-footer-container { padding-left: 16px; padding-right: 16px; }
}

/* ==================== MODAL & DRAWER ==================== */
.esh-modal-backdrop {
  position: fixed;
  inset: 0;
  background: rgba(0,0,0,0.65);
  z-index: 1200;
  display: none;
  align-items: center;
  justify-content: center;
  padding: 16px;
}

.esh-modal-backdrop.is-open {
  display: flex;
}

.esh-search-box {
  background: var(--kg-bg);
  width: 100%;
  max-width: 560px;
  padding: 24px;
  border-radius: 8px;
  position: relative;
}

.esh-search-form {
  display: flex;
  gap: 8px;
}

.esh-search-form input {
  flex: 1;
  padding: 12px 14px;
  border: 1px solid var(--kg-border);
  border-radius: 6px;
  background: var(--kg-surface);
  color: var(--kg-text);
  font-size: 15px;
}

.esh-search-form button {
  background: var(--kg-red);
  color: #fff;
  border: none;
  padding: 0 20px;
  border-radius: 6px;
  font-weight: 700;
  cursor: pointer;
}

.esh-drawer {
  position: fixed;
  top: 0;
  right: -320px;
  width: 300px;
  max-width: 85vw;
  height: 100vh;
  background: var(--kg-bg);
  z-index: 1300;
  box-shadow: -4px 0 24px rgba(0,0,0,0.25);
  transition: right .25s ease;
  padding: 20px;
  overflow-y: auto;
}

.esh-drawer.is-open {
  right: 0;
}

.esh-drawer-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding-bottom: 14px;
  border-bottom: 1px solid var(--kg-border);
  margin-bottom: 16px;
}

.esh-drawer-menu {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.esh-drawer-menu a {
  display: block;
  padding: 8px 0;
  font-weight: 700;
  border-bottom: 1px solid var(--kg-border);
}

/* ==================== RESPONSIVE ==================== */
@media (max-width: 1024px) {
  .esh-hero-grid {
    grid-template-columns: 1fr;
  }
  .esh-side-slides {
    min-height: 280px;
  }
  .esh-sub-hero-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
  .esh-sport-grid,
  .esh-asym-grid,
  .esh-life-grid,
  .esh-single-layout {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 640px) {
  .esh-main-slide-title {
    font-size: 20px;
  }
  .esh-grid-3,
  .esh-sport-cards,
  .esh-asym-side-grid {
    grid-template-columns: 1fr;
  }
  .esh-header-actions .esh-hide-mobile {
    display: none;
  }
  .esh-single-title {
    font-size: 24px;
  }
}

/* ==================== SON DAKİKA ==================== */
.esh-breaking { padding: 28px 0 10px; }
.esh-breaking .esh-cat-head { margin-bottom: 18px; }
.esh-breaking-grid {
    display: grid;
    grid-template-columns: 1.18fr 1fr;
    gap: 24px;
    align-items: start;
}
.esh-breaking-main-link {
    display: block;
    overflow: hidden;
    background: #ffffff;
    border: 1px solid #e5e7eb;
    border-radius: 14px;
    color: inherit;
    text-decoration: none;
    transition: box-shadow .2s ease, transform .2s ease;
}
.esh-breaking-main-link:hover {
    box-shadow: 0 10px 30px rgba(15, 23, 42, .08);
    transform: translateY(-2px);
}
.esh-breaking-main-thumb img {
    display: block;
    width: 100%;
    aspect-ratio: 16 / 9;
    object-fit: cover;
}
.esh-breaking-main-body { padding: 16px 18px 18px; }
.esh-breaking-cat {
    display: inline-block;
    margin-bottom: 8px;
    color: #DC2626;
    font-size: 11px;
    font-weight: 800;
    letter-spacing: .4px;
    text-transform: uppercase;
}
.esh-breaking-main-title {
    margin: 0 0 8px;
    color: #111827;
    font-size: 22px;
    line-height: 1.25;
    font-weight: 800;
    transition: color .2s ease;
}
.esh-breaking-main-link:hover .esh-breaking-main-title { color: #DC2626; }
.esh-breaking-main-excerpt {
    margin: 0 0 10px;
    color: #4b5563;
    font-size: 14px;
    line-height: 1.5;
}
.esh-breaking-time { color: #9ca3af; font-size: 12px; font-weight: 600; }
.esh-breaking-list { display: flex; flex-direction: column; gap: 10px; }
.esh-breaking-item-link {
    display: grid;
    grid-template-columns: 96px 1fr;
    gap: 12px;
    align-items: center;
    padding: 8px;
    border-radius: 12px;
    color: inherit;
    text-decoration: none;
    transition: background .2s ease;
}
.esh-breaking-item-link:hover { background: #f9fafb; }
.esh-breaking-item-thumb img {
    display: block;
    width: 96px;
    height: 68px;
    object-fit: cover;
    border-radius: 8px;
}
.esh-breaking-item-body { min-width: 0; }
.esh-breaking-item-title {
    margin: 0 0 4px;
    color: #111827;
    font-size: 14px;
    font-weight: 700;
    line-height: 1.35;
    transition: color .2s ease;
}
.esh-breaking-item-link:hover .esh-breaking-item-title { color: #DC2626; }
.esh-breaking-item .esh-breaking-cat { margin-bottom: 4px; font-size: 10px; }
.esh-breaking-item time { color: #9ca3af; font-size: 11px; }

@media (max-width: 900px) {
    .esh-breaking-grid { grid-template-columns: 1fr; }
    .esh-breaking-list { display: grid; grid-template-columns: 1fr 1fr; }
}
@media (max-width: 600px) {
    .esh-breaking-list { grid-template-columns: 1fr; }
    .esh-breaking-main-title { font-size: 19px; }
    .esh-breaking-main-body { padding: 14px; }
}

/* ==================== SON DAKİKA — MODERN ==================== */
.esh-breaking {
    padding: 30px 0 34px;
    background: linear-gradient(180deg, #fff7f7 0%, #ffffff 65%);
    border-top: 1px solid #fee2e2;
    border-bottom: 1px solid #fee2e2;
}
.esh-breaking .esh-cat-head { margin-bottom: 20px; }
.esh-breaking-grid { gap: 26px; grid-template-columns: 1.2fr 1fr; }
.esh-breaking-main-link {
    border: 1px solid #fee2e2;
    border-radius: 16px;
    box-shadow: 0 8px 24px rgba(220, 38, 38, .05);
}
.esh-breaking-main-body { padding: 18px 20px 20px; }
.esh-breaking-cat {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    margin-bottom: 10px;
    padding: 4px 9px;
    border-radius: 999px;
    background: #fee2e2;
    color: #b91c1c;
    font-size: 10.5px;
    font-weight: 800;
    letter-spacing: .4px;
}
.esh-breaking-main-title {
    margin-bottom: 10px;
    font-size: 23px;
    line-height: 1.22;
    letter-spacing: -.3px;
}
.esh-breaking-main-excerpt { font-size: 14px; color: #4b5563; }
.esh-breaking-time { display: inline-flex; align-items: center; gap: 6px; color: #9ca3af; font-size: 12px; }
.esh-breaking-time::before {
    content: "";
    width: 5px;
    height: 5px;
    border-radius: 50%;
    background: #dc2626;
    flex: 0 0 auto;
}
.esh-breaking-list {
    gap: 0;
    border-top: 1px solid #fee2e2;
    border-bottom: 1px solid #fee2e2;
    border-radius: 12px;
    overflow: hidden;
    background: rgba(255, 255, 255, .65);
}
.esh-breaking-item { border-bottom: 1px solid #fee2e2; }
.esh-breaking-item:last-child { border-bottom: 0; }
.esh-breaking-item-link {
    padding: 10px 12px;
    border-radius: 0;
    grid-template-columns: 92px 1fr;
}
.esh-breaking-item-link:hover { background: #fff1f2; }
.esh-breaking-item-thumb img { width: 92px; height: 64px; border-radius: 7px; }
.esh-breaking-item-no {
    display: inline-block;
    margin-right: 6px;
    color: #dc2626;
    font-size: 10.5px;
    font-weight: 800;
    letter-spacing: .5px;
    vertical-align: 1px;
}
.esh-breaking-item .esh-breaking-cat {
    background: transparent;
    padding: 0;
    margin-bottom: 4px;
    color: #b91c1c;
    font-size: 10px;
}
.esh-breaking-item-title { font-size: 14px; line-height: 1.35; }

@media (max-width: 900px) {
    .esh-breaking-grid { grid-template-columns: 1fr; }
    .esh-breaking-list { display: grid; grid-template-columns: 1fr 1fr; }
    .esh-breaking-item:nth-child(odd) { border-right: 1px solid #fee2e2; }
}
@media (max-width: 600px) {
    .esh-breaking-list { grid-template-columns: 1fr; }
    .esh-breaking-item:nth-child(odd) { border-right: 0; }
    .esh-breaking-main-title { font-size: 19px; }
    .esh-breaking-main-body { padding: 14px; }
}

/* ==================== DARK MODE OKUNABİLİRLİK ==================== */
[data-theme="dark"] .esh-section-title { color: #F8FAFC; }
[data-theme="dark"] .esh-card-title,
[data-theme="dark"] .esh-card-title a { color: #F8FAFC; }
[data-theme="dark"] .esh-card-excerpt { color: #94A3B8; }
[data-theme="dark"] .esh-card-thumb { background: #1E293B; }

[data-theme="dark"] .esh-breaking {
  background: linear-gradient(180deg, #1E1B2E 0%, #0F172A 70%);
  border-color: #1E293B;
}
[data-theme="dark"] .esh-breaking-main-link,
[data-theme="dark"] .esh-breaking-list {
  background: #0F172A;
  border-color: #1E293B;
}
[data-theme="dark"] .esh-breaking-main-title,
[data-theme="dark"] .esh-breaking-item-title { color: #F8FAFC; }
[data-theme="dark"] .esh-breaking-main-excerpt,
[data-theme="dark"] .esh-breaking-time,
[data-theme="dark"] .esh-breaking-item time { color: #94A3B8; }
[data-theme="dark"] .esh-breaking-cat { background: #3F1D24; color: #FCA5A5; }
[data-theme="dark"] .esh-breaking-item .esh-breaking-cat { background: transparent; color: #FCA5A5; }
[data-theme="dark"] .esh-breaking-item-link:hover { background: #1E293B; }

[data-theme="dark"] .kh-footer {
  background: #0F172A;
  color: #E2E8F0;
  border-color: #1E293B;
}
[data-theme="dark"] .kh-footer-top,
[data-theme="dark"] .kh-footer-grid,
[data-theme="dark"] .kh-footer-social-row,
[data-theme="dark"] .kh-footer-legal { border-color: #1E293B; }
[data-theme="dark"] .kh-footer-title,
[data-theme="dark"] .kh-sub-title,
[data-theme="dark"] .kh-bottom-strong,
[data-theme="dark"] .kh-bottom-links a,
[data-theme="dark"] .kh-footer-top-links a,
[data-theme="dark"] .kh-logo-text { color: #F8FAFC; }
[data-theme="dark"] .kh-logo-text span { color: #CBD5E1; }
[data-theme="dark"] .kh-footer-list a,
[data-theme="dark"] .kh-footer-legal a,
[data-theme="dark"] .kh-footer-desc,
[data-theme="dark"] .kh-bottom-meta,
[data-theme="dark"] .kh-footer-copy { color: #94A3B8; }
[data-theme="dark"] .kh-store-btn {
  background: #0F172A;
  border-color: #334155;
  color: #F8FAFC;
}
[data-theme="dark"] .kh-store-btn svg { color: #F8FAFC; }
[data-theme="dark"] .kh-store-btn small { color: #94A3B8; }
[data-theme="dark"] .kh-footer { border-top-color: #1E293B; }
