/* ============================================================
   REKLAM ALANLARI + MANŞET SLIDER (1-10)
   Admin > Reklamlar modülüne bağlı çalışır.
============================================================ */

/* ---------- Reklam: "Reklam Ver" boş yer tutucu ---------- */
.reklam-alani { display: block; }
.reklam-bos {
  display: flex; align-items: center; justify-content: center;
  background: repeating-linear-gradient(45deg,#f3f4f6,#f3f4f6 12px,#eceef1 12px,#eceef1 24px);
  border: 1px dashed #cfd4da;
  border-radius: 10px;
  color: #8a93a0; text-decoration: none;
  transition: border-color .2s, color .2s, background .2s;
  min-height: 90px;
}
.reklam-bos:hover { border-color: var(--eh-orange, #f97316); color: var(--eh-orange, #f97316); background: #fff7ed; }
.reklam-bos-ic { display: flex; flex-direction: column; align-items: center; gap: 4px; text-align: center; padding: 12px; }
.reklam-bos-ic i { font-size: 22px; opacity: .8; }
.reklam-bos-ic strong { font-weight: 800; font-size: 14px; letter-spacing: .3px; }
.reklam-bos-ic small { font-size: 11px; opacity: .7; }

/* ---------- Sağ / Sol sabit reklam rayları (160x605) ---------- */
.reklam-ray {
  position: fixed;
  top: 140px;
  width: 160px;
  z-index: 40;
  display: none; /* dar ekranda gizli, geniş ekranda açılır */
}
.reklam-ray.sol { left: 16px; }
.reklam-ray.sag { right: 16px; }
.reklam-ray .reklam-alani,
.reklam-ray .reklam-bos { width: 160px; min-height: 605px; }
.reklam-ray .reklam-bos { writing-mode: horizontal-tb; }

/* İçeriğe yetecek kadar geniş ekranlarda rayları göster
   (eh-wrap 1340px + iki tarafta ~180px boşluk) */
@media (min-width: 1700px) {
  .reklam-ray { display: block; }
}

/* ---------- Mobil reklam alanı ---------- */
.reklam-mobil { display: none; margin: 12px auto; text-align: center; }
.reklam-mobil .reklam-alani,
.reklam-mobil .reklam-bos { margin: 0 auto; min-height: 100px; max-width: 336px; }
@media (max-width: 991px) {
  .reklam-mobil { display: block; }
}

/* ---------- Header (logo yanı) reklam ---------- */
.site-header .reklam-alani,
.site-header .reklam-bos { min-height: 90px; }

/* ============================================================
   MANŞET SLIDER (1-10)
============================================================ */
.eh-manset { padding: 22px 0 8px; }
.eh-manset-slider {
  position: relative;
  display: grid;
  grid-template-columns: 64px 1fr;
  gap: 14px;
  align-items: stretch;
}

/* Sol numara listesi 1..10 */
.eh-manset-nav {
  display: flex; flex-direction: column; gap: 6px;
  background: var(--eh-ink, #0a0a0a);
  border-radius: 14px; padding: 8px 6px;
}
.eh-manset-nav button {
  appearance: none; border: 0; cursor: pointer;
  background: transparent; color: #9aa3b2;
  font-family: var(--eh-display, system-ui); font-weight: 800; font-size: 16px;
  height: 100%; min-height: 38px; border-radius: 9px;
  transition: background .2s, color .2s;
}
.eh-manset-nav button:hover { color: #fff; }
.eh-manset-nav button.aktif { background: var(--eh-orange, #f97316); color: #fff; }

/* Slaytlar */
.eh-manset-sahne { position: relative; border-radius: 16px; overflow: hidden; min-height: 460px; background: #111; }
.eh-manset-slayt {
  position: absolute; inset: 0;
  opacity: 0; visibility: hidden;
  transition: opacity .5s ease;
}
.eh-manset-slayt.aktif { opacity: 1; visibility: visible; }
.eh-manset-slayt img { width: 100%; height: 100%; object-fit: cover; display: block; }
.eh-manset-slayt::after {
  content: ""; position: absolute; inset: 0;
  background: linear-gradient(to top, rgba(0,0,0,.82) 0%, rgba(0,0,0,.35) 45%, rgba(0,0,0,0) 70%);
}
.eh-manset-icerik {
  position: absolute; left: 0; right: 0; bottom: 0; z-index: 2;
  padding: 28px 32px; color: #fff;
}
.eh-manset-kat {
  display: inline-block; background: var(--eh-orange, #f97316); color: #fff;
  font-weight: 800; font-size: 12px; letter-spacing: .5px; text-transform: uppercase;
  padding: 5px 12px; border-radius: 6px; margin-bottom: 12px;
}
.eh-manset-baslik {
  font-family: var(--eh-display, system-ui); font-weight: 800;
  font-size: clamp(22px, 3.2vw, 40px); line-height: 1.12; margin: 0 0 10px;
  max-width: 760px; text-shadow: 0 2px 18px rgba(0,0,0,.4);
}
.eh-manset-meta { font-size: 13px; opacity: .9; display: flex; gap: 16px; }

/* Ok düğmeleri */
.eh-manset-ok {
  position: absolute; top: 50%; transform: translateY(-50%); z-index: 3;
  width: 44px; height: 44px; border-radius: 50%; border: 0; cursor: pointer;
  background: rgba(255,255,255,.18); color: #fff; backdrop-filter: blur(4px);
  font-size: 16px; transition: background .2s;
}
.eh-manset-ok:hover { background: var(--eh-orange, #f97316); }
.eh-manset-ok.onceki { left: 14px; }
.eh-manset-ok.sonraki { right: 14px; }

@media (max-width: 575px) {
  .eh-manset-slider { grid-template-columns: 1fr; }
  .eh-manset-nav { flex-direction: row; flex-wrap: wrap; order: 2; }
  .eh-manset-nav button { min-height: 34px; flex: 1 1 16%; }
  .eh-manset-sahne { order: 1; min-height: 320px; }
  .eh-manset-icerik { padding: 18px; }
}

/* ============================================================
   ANASAYFA: GÜNCEL kartlar + piyasa şeridi + hızlı erişim
============================================================ */

/* GÜNCEL kartlar (slider üstü 4 kart) */
.eh-guncel-kartlar { padding: 18px 0 4px; }
.eh-gk-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px; }
.eh-gk-kart { background:#fff; border:1px solid var(--eh-border,#e7e5e0); border-radius:12px; overflow:hidden; text-decoration:none; color:inherit; display:flex; flex-direction:column; transition:box-shadow .2s, transform .2s; }
.eh-gk-kart:hover { box-shadow:0 8px 24px rgba(0,0,0,.10); transform:translateY(-2px); }
.eh-gk-resim { position:relative; aspect-ratio:16/10; overflow:hidden; }
.eh-gk-resim img { width:100%; height:100%; object-fit:cover; }
.eh-gk-kat { position:absolute; top:10px; left:10px; background:#e11d48; color:#fff; font-size:11px; font-weight:800; letter-spacing:.4px; padding:4px 10px; border-radius:5px; }
.eh-gk-icerik { padding:12px 14px 16px; }
.eh-gk-tarih { font-size:12px; color:var(--eh-text-mute,#9ca3af); display:inline-flex; align-items:center; gap:5px; }
.eh-gk-baslik { font-family:var(--eh-display,system-ui); font-weight:700; font-size:15px; line-height:1.3; margin:6px 0 0; display:-webkit-box; -webkit-line-clamp:2; -webkit-box-orient:vertical; overflow:hidden; }

/* Slider: 3 kolon (numara | sahne | yan liste) */
.eh-manset-slider { grid-template-columns: 64px minmax(0,1fr) 320px; }
.eh-manset-yan { display:flex; flex-direction:column; gap:10px; }
.eh-my-kart { display:flex; gap:10px; background:#fff; border:1px solid var(--eh-border,#e7e5e0); border-radius:10px; overflow:hidden; text-decoration:none; color:inherit; flex:1; transition:box-shadow .2s; }
.eh-my-kart:hover { box-shadow:0 4px 14px rgba(0,0,0,.08); }
.eh-my-resim { flex:0 0 96px; }
.eh-my-resim img { width:96px; height:100%; object-fit:cover; }
.eh-my-icerik { padding:8px 10px; display:flex; flex-direction:column; }
.eh-my-kat { font-size:10px; font-weight:800; letter-spacing:.4px; color:#e11d48; }
.eh-my-tarih { font-size:11px; color:var(--eh-text-mute,#9ca3af); margin:1px 0 2px; }
.eh-my-baslik { font-size:13px; font-weight:700; line-height:1.3; margin:0; display:-webkit-box; -webkit-line-clamp:3; -webkit-box-orient:vertical; overflow:hidden; }

/* Piyasa şeridi */
.eh-piyasa-serit { padding: 16px 0 4px; }
.eh-ps-bar { background:#fff; border:1px solid var(--eh-border,#e7e5e0); border-radius:12px; padding:12px 18px; display:flex; align-items:center; gap:10px; flex-wrap:wrap; box-shadow:0 1px 2px rgba(0,0,0,.04); }
.eh-ps-oge { display:flex; align-items:center; gap:10px; padding:6px 16px; text-decoration:none; color:var(--eh-text,#111); border-right:1px solid var(--eh-border,#eee); flex:1 1 auto; min-width:170px; }
.eh-ps-ikon { width:34px; height:34px; border-radius:8px; background:var(--eh-cream,#f5f1e8); color:var(--eh-orange,#f97316); display:flex; align-items:center; justify-content:center; }
.eh-ps-bilgi { display:flex; flex-direction:column; line-height:1.2; }
.eh-ps-bilgi b { font-size:11px; color:var(--eh-text-mute,#9ca3af); font-weight:700; letter-spacing:.3px; }
.eh-ps-bilgi span { font-size:16px; font-weight:800; }
.eh-ps-deg { font-size:12px; font-weight:700; margin-left:auto; }
.eh-ps-deg.text-success { color:#16a34a !important; }
.eh-ps-deg.text-danger { color:#dc2626 !important; }
.eh-ps-hava { display:flex; align-items:center; gap:8px; padding:6px 18px; font-weight:800; color:var(--eh-text,#111); }
.eh-ps-hava i { color:var(--eh-orange,#f97316); font-size:18px; }
.eh-ps-hava .sehir { font-size:12px; color:var(--eh-text-mute,#9ca3af); font-weight:700; }

/* Hızlı erişim kutuları */
.eh-hizli { padding: 14px 0 8px; }
.eh-hizli-grid { display:grid; grid-template-columns:repeat(6,1fr); gap:14px; }
.eh-hizli-kart { position:relative; aspect-ratio:16/11; border-radius:14px; overflow:hidden; display:flex; flex-direction:column; justify-content:flex-end; padding:16px; text-decoration:none; color:#fff; background:var(--eh-grad-ink,linear-gradient(135deg,#1f2937,#0a0a0a)); transition:transform .2s; }
.eh-hizli-kart::after { content:""; position:absolute; inset:0; background:linear-gradient(to top, rgba(0,0,0,.55), rgba(0,0,0,.1)); }
.eh-hizli-kart:hover { transform:translateY(-3px); }
.eh-hizli-kart i { position:absolute; top:14px; right:14px; font-size:22px; opacity:.9; z-index:1; }
.eh-hizli-kart .ust { position:relative; z-index:1; font-size:13px; font-weight:600; opacity:.9; }
.eh-hizli-kart .alt { position:relative; z-index:1; font-size:18px; font-weight:800; font-family:var(--eh-display,system-ui); }
.eh-hizli-kart:nth-child(1){ background:linear-gradient(135deg,#065f46,#022c22); }
.eh-hizli-kart:nth-child(2){ background:linear-gradient(135deg,#1e40af,#0c1e5e); }
.eh-hizli-kart:nth-child(3){ background:linear-gradient(135deg,#b45309,#7c2d12); }
.eh-hizli-kart:nth-child(4){ background:linear-gradient(135deg,#6d28d9,#3b0764); }
.eh-hizli-kart:nth-child(5){ background:linear-gradient(135deg,#be123c,#831843); }
.eh-hizli-kart:nth-child(6){ background:linear-gradient(135deg,#0f766e,#134e4a); }

/* Duyarlı */
@media (max-width: 991px) {
  .eh-manset-slider { grid-template-columns: 64px minmax(0,1fr); }
  .eh-manset-yan { display:none; }
  .eh-gk-grid { grid-template-columns: repeat(2,1fr); }
  .eh-hizli-grid { grid-template-columns: repeat(3,1fr); }
  .eh-ps-oge { min-width:140px; border-right:0; }
}
@media (max-width: 575px) {
  .eh-gk-grid { grid-template-columns: 1fr 1fr; gap:10px; }
  .eh-hizli-grid { grid-template-columns: repeat(2,1fr); }
  .eh-ps-hava { width:100%; justify-content:center; }
}

/* ============================================================
   ANASAYFA: EsnafSosyal çağrı bandı
============================================================ */
.eh-sosyal-cta { padding: 20px 0; }
.eh-sc-inner {
  display: flex; align-items: center; justify-content: space-between; gap: 24px; flex-wrap: wrap;
  background: var(--eh-grad-ink, linear-gradient(135deg,#1f2937,#0a0a0a));
  border-radius: 18px; padding: 28px 32px; color: #fff; position: relative; overflow: hidden;
}
.eh-sc-inner::after {
  content: ""; position: absolute; right: -40px; top: -40px; width: 220px; height: 220px;
  background: radial-gradient(circle, rgba(249,115,22,.35), transparent 70%); pointer-events: none;
}
.eh-sc-rozet {
  display: inline-flex; align-items: center; gap: 8px; background: var(--eh-orange, #f97316);
  color: #fff; font-weight: 800; font-size: 12px; letter-spacing: .5px; text-transform: uppercase;
  padding: 6px 14px; border-radius: 999px;
}
.eh-sc-baslik { font-family: var(--eh-display, system-ui); font-weight: 800; font-size: clamp(22px, 3vw, 32px); margin: 12px 0 6px; }
.eh-sc-baslik em { color: var(--eh-orange-light, #fb923c); font-style: normal; }
.eh-sc-metin { margin: 0; opacity: .85; font-size: 15px; max-width: 560px; }
.eh-sc-sag { display: flex; gap: 12px; flex-wrap: wrap; }
.eh-sc-btn {
  display: inline-flex; align-items: center; gap: 8px; border-radius: 999px; padding: 12px 24px;
  font-weight: 700; font-size: 15px; text-decoration: none; transition: transform .15s, background .2s;
}
.eh-sc-btn.dolu { background: var(--eh-orange, #f97316); color: #fff; }
.eh-sc-btn.dolu:hover { background: var(--eh-orange-light, #fb923c); transform: translateY(-2px); }
.eh-sc-btn.bos { background: rgba(255,255,255,.12); color: #fff; border: 1px solid rgba(255,255,255,.25); }
.eh-sc-btn.bos:hover { background: rgba(255,255,255,.2); }
@media (max-width: 575px) {
  .eh-sc-inner { padding: 22px; }
  .eh-sc-sag { width: 100%; }
  .eh-sc-btn { flex: 1; justify-content: center; }
}

/* ============================================================
   HEADER DÜZENLEMELERİ (kullanıcı isteği - 18 Haziran)
============================================================ */
/* Üst bölümü küçült + logo yüksekliğini azalt */
.site-header { padding: 6px 0 !important; z-index: 1030 !important; }
.site-logo img { max-height: 46px !important; }

/* Profil menüsü, alttaki menü çubuğunun ÜSTÜNDE kalsın */
.uye-dropdown-menu { z-index: 1100 !important; }

/* Header'daki 4'lü demo reklam kutuları */
.header-demo-kutular { display: flex; gap: 8px; justify-content: center; flex-wrap: wrap; }
.header-demo-kutu {
  flex: 1 1 0; min-width: 110px; height: 70px;
  border: 1px dashed #cbd5e1; border-radius: 8px;
  display: flex; align-items: center; justify-content: center;
  text-align: center; font-size: 12px; color: #94a3b8; background: #f8fafc;
}

/* Header EsnafSosyal butonu (sosyal ikonların yerine) */
.header-es-btn {
  display: inline-flex; align-items: center; gap: 7px;
  background: var(--eh-orange, #f97316); color: #fff !important;
  padding: 8px 16px; border-radius: 999px;
  font-weight: 700; font-size: 13px; text-decoration: none; white-space: nowrap;
}
.header-es-btn:hover { opacity: .92; color: #fff !important; }

/* GÜNCEL demo kutu (haber azken boşluğu doldurur) */
.eh-gk-demo { opacity: .65; pointer-events: none; }
.eh-gk-demo .eh-gk-kat { background: #94a3b8 !important; }
.eh-gk-demo .eh-gk-resim img { filter: grayscale(.4); }

/* Header reklam alanını minimal yap (demo kutu çok yer kaplıyordu) */
.site-header .reklam-alani {
  padding: 0 !important;
  min-height: 0 !important;
  background: transparent !important;
  border: none !important;
  border-radius: 0 !important;
}
.site-header .reklam-alani > div {
  padding: 8px 12px !important;
  font-size: 12px !important;
  background: #f6f7f9 !important;
  border: 1px dashed #d8dde3 !important;
  border-radius: 6px !important;
  color: #9aa3ad !important;
}
.site-header { padding: 4px 0 !important; }

/* ============================================================
   YAN REKLAM RAYLARINI DAHA GENİŞ ARALIKTA GÖSTER
   (admin'den side_left_160 / side_right_160 eklenince ya da boşken
    "Reklam Ver" yer tutucusu sağ/solda görünür)
============================================================ */
@media (min-width: 1500px) {
  .reklam-ray { display: block !important; }
}
/* 1500-1699px arası: rayların içeriğe binmemesi için içeriği daralt */
@media (min-width: 1500px) and (max-width: 1699px) {
  .eh-wrap { max-width: 1120px !important; }
  .container, .container-lg, .container-xl, .container-xxl { max-width: 1120px !important; }
}

/* ============================================================
   MOBİL MANŞET DÜZELTMESİ
   (numara kutusunun uzun siyah sütun olması / slaytın sıkışması)
   Not: Dosyanın SONUNDA olmalı ki önceki grid kuralларını ezsin.
============================================================ */
@media (max-width: 575px) {
  .eh-manset-slider {
    display: flex !important;
    flex-direction: column !important;
    grid-template-columns: none !important;
    gap: 10px !important;
  }
  .eh-manset-sahne {
    order: 1 !important;
    width: 100% !important;
    min-height: 240px !important;
  }
  .eh-manset-nav {
    order: 2 !important;
    flex-direction: row !important;
    flex-wrap: nowrap !important;
    justify-content: space-between !important;
    gap: 6px !important;
    padding: 8px !important;
    overflow-x: auto !important;
  }
  .eh-manset-nav button {
    height: 40px !important;
    min-height: 40px !important;
    flex: 1 1 0 !important;
    font-size: 15px !important;
  }
  .eh-manset-yan { display: none !important; }
  .eh-manset-icerik { padding: 16px !important; }
  .eh-manset-baslik { font-size: 20px !important; line-height: 1.18 !important; }
}

/* (Pasif bölümler artık Admin > Anasayfa Düzeni'nden yönetilir) */

/* Köşe Yazarları — Son Dakika altı kayan şerit (isim + yazı başlığı) */
.eh-yazar-serit { margin: 0 0 6px; }
.eh-yazar-serit .eh-wrap { padding-top: 0; padding-bottom: 0; }
.eh-yk-bar { display: flex; align-items: stretch; background: var(--eh-ink,#0d0f14); border-radius: 8px; overflow: hidden; }
.eh-yk-etiket { background: var(--eh-orange,#f97316); color: #0d0f14; padding: 9px 24px 9px 16px; font-weight: 800; font-size: 12px; letter-spacing: .12em; display: inline-flex; align-items: center; gap: 8px; white-space: nowrap; clip-path: polygon(0 0, calc(100% - 14px) 0, 100% 100%, 0 100%); }
.eh-yk-icerik { flex: 1; overflow: hidden; padding: 9px 0 9px 14px; }
.eh-yk-track { display: inline-flex; gap: 46px; white-space: nowrap; animation: ehYazarKay 38s linear infinite; }
.eh-yk-track:hover { animation-play-state: paused; }
.eh-yk-item { display: inline-flex; align-items: center; gap: 9px; text-decoration: none; }
.eh-yk-ad { color: var(--eh-orange-light,#fb923c); font-weight: 800; font-size: 13px; }
.eh-yk-ad::after { content: "—"; color: rgba(255,255,255,.4); margin-left: 9px; }
.eh-yk-baslik { color: #fff; font-weight: 600; font-size: 13px; }
.eh-yk-item:hover .eh-yk-baslik { color: var(--eh-orange-light,#fb923c); }
@keyframes ehYazarKay { from { transform: translateX(0); } to { transform: translateX(-50%); } }
/* ============================================================
   ÜST BAR = PİYASA + HAVA ŞERİDİ (en tepe) + FOOTER KURUMSAL LİNKLER
============================================================ */
.top-bar-piyasa { background: transparent !important; padding: 6px 0 !important; }
.top-bar-piyasa .eh-ps-bar { margin: 0; }
.eh-ps-tarih { color: var(--eh-text-mute,#9ca3af); font-weight: 700; font-size: 12px; padding-left: 6px; white-space: nowrap; }
@media (max-width: 991px) {
  .top-bar-piyasa .eh-ps-bar { flex-wrap: nowrap; overflow-x: auto; -webkit-overflow-scrolling: touch; }
  .top-bar-piyasa .eh-ps-oge { flex: 0 0 auto; min-width: auto; }
}

/* Footer kurumsal (büyük harf) link şeridi */
.footer-kurumsal { display: flex; flex-wrap: wrap; gap: 6px 22px; justify-content: center; padding: 4px 0 2px; }
.footer-kurumsal a { color: rgba(255,255,255,.78); text-transform: uppercase; font-size: 12px; font-weight: 700; letter-spacing: .3px; text-decoration: none; }
.footer-kurumsal a:hover { color: var(--eh-orange,#f97316); }

/* Video Haberler — editorial düzen (Esnaftan Haberler gibi) + oynat düğmeleri */
.eh-video-editorial .eh-ed-buyuk .resim,
.eh-video-editorial .eh-ed-kucuk-resim { position: relative; }
.eh-vd-play { position: absolute; inset: 0; display: flex; align-items: center; justify-content: center; }
.eh-vd-play i { width: 60px; height: 60px; border-radius: 50%; background: var(--eh-orange,#f97316); color: #fff; display: flex; align-items: center; justify-content: center; font-size: 20px; box-shadow: 0 6px 18px rgba(0,0,0,.35); transition: transform .2s; }
.eh-video-editorial .eh-ed-buyuk:hover .eh-vd-play i { transform: scale(1.08); }
.eh-vd-play-mini { position: absolute; left: 8px; bottom: 8px; width: 26px; height: 26px; border-radius: 50%; background: rgba(249,115,22,.95); color: #fff; display: flex; align-items: center; justify-content: center; font-size: 11px; }
.eh-video-editorial .eh-video-sure { position: absolute; right: 8px; bottom: 8px; background: rgba(0,0,0,.7); color: #fff; font-size: 12px; padding: 2px 8px; border-radius: 6px; }

/* Foto Galeri — anasayfada daha minimal (kısa, sıkı) */
[data-modul="foto"] { padding-top: 8px !important; padding-bottom: 8px !important; }
[data-modul="foto"] .eh-galeri-grid { grid-template-rows: 132px 132px !important; gap: 8px !important; }
[data-modul="foto"] .eh-gl-item { border-radius: 12px; }
[data-modul="foto"] .eh-gl-baslik { font-size: 13px; }
@media (max-width: 575px) {
  [data-modul="foto"] .eh-galeri-grid { grid-template-rows: 120px 120px !important; }
}

/* ============================================================
   PİYASALAR — logonun üstünde slim top bar
============================================================ */
.eh-piyasa-top { padding: 7px 0 !important; border-top: 0 !important; }
.eh-piyasa-top .eh-piyasa-baslik { font-size: 15px; }
@media (max-width: 575px) {
  .eh-piyasa-top { padding: 6px 0 !important; }
  .eh-piyasa-top .eh-piyasa-grid { gap: 12px; }
  .eh-piyasa-top .eh-piyasa-baslik { font-size: 13px; }
}

/* YAZARLAR şeridi — Son Dakika'nın hemen altı, üst/alt boşluk yok */
.eh-son-dakika { margin-bottom: 0 !important; }
.eh-yazar-serit { margin: 0 !important; }
.eh-akis > .eh-yazar-serit { margin-top: 0 !important; margin-bottom: 0 !important; }
.eh-yazar-serit .eh-wrap { padding-top: 0 !important; padding-bottom: 0 !important; }
.eh-yk-bar { border-radius: 0; }

/* Yazarlar bandı tam genişlik, Son Dakika tarzı — arka plan band'da, bar şeffaf */
.eh-yazar-serit { background: var(--eh-ink,#0d0f14); }
.eh-yazar-serit .eh-yk-bar { background: transparent; border-radius: 0; }

/* Yazarlar bandı: section dolgusu yok (siyah boşluk kalkar), Son Dakika'ya bitişik */
.eh-yazar-serit { padding: 0 !important; margin: 0 !important; }
.eh-yazar-serit::before { display: none !important; }
.eh-son-dakika { margin-bottom: 0 !important; }

/* Manşet ok düğmeleri: mobilde üst köşelere al (başlık/rozet üstüne binmesin) */
@media (max-width: 575px) {
  .eh-manset-ok { top: 12px !important; transform: none !important; width: 38px !important; height: 38px !important; font-size: 14px !important; background: rgba(0,0,0,.45) !important; }
  .eh-manset-ok.onceki { left: 10px !important; }
  .eh-manset-ok.sonraki { right: 10px !important; }
}

/* ============================================================
   VIDEO HABERLER — daha minimal / kompakt (Esnaftan Haberler'i etkilemez)
============================================================ */
.eh-video-editorial { padding-top: 20px !important; padding-bottom: 20px !important; }
.eh-video-editorial .eh-editorial-grid { gap: 16px; }
.eh-video-editorial .eh-ed-buyuk .resim { aspect-ratio: 16 / 9 !important; border-radius: 14px; margin-bottom: 10px; }
.eh-video-editorial .eh-ed-baslik { font-size: 19px !important; margin-bottom: 6px; }
.eh-video-editorial .eh-ed-ozet { display: none; }
.eh-video-editorial .eh-ed-meta { font-size: 12px; gap: 12px; }
.eh-video-editorial .eh-vd-play i { width: 46px; height: 46px; font-size: 16px; }
.eh-video-editorial .eh-ed-kucuk { padding: 8px 0; }
.eh-video-editorial .eh-ed-kucuk-resim { width: 92px; height: 60px; }
.eh-video-editorial .eh-ed-list h3 { font-size: 15px; }
@media (max-width: 575px) {
  .eh-video-editorial .eh-ed-baslik { font-size: 17px !important; }
}

/* Piyasa üst bar — değişim rozetleri (canlı renk: main.js text-success/danger ekler) */
.eh-piyasa-top .eh-piyasa-deg { font-weight: 700; font-size: 12px; padding: 1px 7px; border-radius: 999px; background: #eef0f2; color: #6b7280; }
.eh-piyasa-top .eh-piyasa-deg.text-success { background: #e8f5ec; color: #1a7f4b !important; }
.eh-piyasa-top .eh-piyasa-deg.text-danger { background: #fdecec; color: #c0392b !important; }

/* ============================================================
   SERİ İLANLAR — sahibinden tarzı modül
============================================================ */
.si-main { padding: 24px 0 44px; }
.si-ust { display: flex; justify-content: space-between; align-items: center; gap: 12px; flex-wrap: wrap; margin-bottom: 16px; }
.si-ust h1 { font-size: 1.6rem; margin: 0; }
.si-ilan-ver { background: var(--eh-orange,#f97316); color: #fff; padding: 10px 18px; border-radius: 10px; text-decoration: none; font-weight: 700; }
.si-ilan-ver:hover { filter: brightness(.95); color: #fff; }
.si-arama { display: flex; gap: 8px; margin-bottom: 18px; }
.si-arama input { flex: 1; padding: 12px 14px; border: 1px solid #e5e7eb; border-radius: 10px; font-size: 15px; }
.si-arama button { background: var(--eh-ink,#0d0f14); color: #fff; border: 0; border-radius: 10px; padding: 0 22px; font-weight: 700; cursor: pointer; }
.si-duzen { display: grid; grid-template-columns: 260px 1fr; gap: 20px; align-items: start; }
.si-kutu { background: #fff; border: 1px solid #eef0f2; border-radius: 14px; padding: 14px 16px; margin-bottom: 16px; }
.si-kutu h3 { font-size: 13px; text-transform: uppercase; letter-spacing: .04em; color: #6b7280; margin: 0 0 10px; }
.si-kat { list-style: none; margin: 0; padding: 0; }
.si-kat li a { display: flex; justify-content: space-between; align-items: center; gap: 8px; padding: 8px 10px; border-radius: 8px; text-decoration: none; color: #374151; font-size: 14px; }
.si-kat li a:hover { background: #f8f9fa; }
.si-kat li a.aktif { background: var(--eh-orange,#f97316); color: #fff; font-weight: 700; }
.si-kat li a > span:last-child { background: rgba(0,0,0,.06); border-radius: 999px; padding: 1px 8px; font-size: 12px; }
.si-kat li a.aktif > span:last-child { background: rgba(255,255,255,.25); }
.si-kutu label { display: block; font-size: 13px; color: #6b7280; margin: 10px 0 4px; }
.si-kutu select, .si-fiyat input { width: 100%; padding: 9px 10px; border: 1px solid #e5e7eb; border-radius: 8px; box-sizing: border-box; }
.si-fiyat { display: flex; gap: 8px; }
.si-filtre-btn { width: 100%; margin-top: 12px; background: var(--eh-ink,#0d0f14); color: #fff; border: 0; border-radius: 8px; padding: 10px; font-weight: 700; cursor: pointer; }
.si-temizle { display: block; text-align: center; margin-top: 8px; font-size: 13px; color: #ef4444; }
.si-bar { display: flex; justify-content: space-between; align-items: center; flex-wrap: wrap; gap: 10px; margin-bottom: 14px; }
.si-sirala { display: flex; gap: 6px; align-items: center; font-size: 13px; color: #6b7280; }
.si-sirala a { text-decoration: none; color: #374151; padding: 4px 10px; border: 1px solid #e5e7eb; border-radius: 999px; }
.si-sirala a.aktif { background: var(--eh-ink,#0d0f14); color: #fff; border-color: var(--eh-ink,#0d0f14); }
.si-liste { display: grid; grid-template-columns: repeat(auto-fill, minmax(210px, 1fr)); gap: 14px; }
.si-ilan { display: flex; flex-direction: column; background: #fff; border: 1px solid #eef0f2; border-radius: 14px; overflow: hidden; text-decoration: none; color: inherit; transition: box-shadow .2s, transform .2s; }
.si-ilan:hover { box-shadow: 0 8px 24px rgba(0,0,0,.08); transform: translateY(-2px); }
.si-resim { aspect-ratio: 4/3; background: #f1f3f5; display: flex; align-items: center; justify-content: center; overflow: hidden; }
.si-resim img { width: 100%; height: 100%; object-fit: cover; }
.si-resim-yok { color: #cbd1d8; font-size: 30px; }
.si-bilgi { padding: 12px 14px; display: flex; flex-direction: column; gap: 6px; }
.si-kat-rozet { align-self: flex-start; background: #fff7ed; color: #c2410c; font-size: 11px; font-weight: 700; padding: 2px 8px; border-radius: 6px; }
.si-bilgi h4 { font-size: 15px; margin: 0; line-height: 1.3; color: var(--eh-ink,#0d0f14); }
.si-fiyat-etiket { font-size: 18px; font-weight: 800; color: var(--eh-orange,#f97316); }
.si-meta { display: flex; flex-wrap: wrap; gap: 10px; font-size: 12px; color: #9ca3af; }
.si-sayfalama { display: flex; gap: 6px; justify-content: center; margin-top: 24px; flex-wrap: wrap; }
.si-sayfalama a { padding: 8px 13px; border: 1px solid #e5e7eb; border-radius: 8px; text-decoration: none; color: #374151; }
.si-sayfalama a.aktif { background: var(--eh-orange,#f97316); color: #fff; border-color: var(--eh-orange,#f97316); }
.si-bos { text-align: center; padding: 48px 0; color: #9ca3af; }
.si-bos i { font-size: 46px; display: block; margin-bottom: 12px; }
.si-bos a { color: var(--eh-orange,#f97316); }
/* Detay */
.si-detay { display: grid; grid-template-columns: 1fr 340px; gap: 22px; align-items: start; }
.si-detay-resim { aspect-ratio: 16/10; background: #f1f3f5; border-radius: 16px; overflow: hidden; display: flex; align-items: center; justify-content: center; }
.si-detay-resim img { width: 100%; height: 100%; object-fit: cover; }
.si-detay-aciklama { margin-top: 18px; }
.si-detay-aciklama h2 { font-size: 18px; }
.si-detay-aciklama p { color: #374151; line-height: 1.7; }
.si-detay-yan { background: #fff; border: 1px solid #eef0f2; border-radius: 16px; padding: 18px; position: sticky; top: 90px; }
.si-detay-yan h1 { font-size: 20px; margin: 8px 0 10px; }
.si-detay-fiyat { font-size: 26px; font-weight: 800; color: var(--eh-orange,#f97316); margin-bottom: 12px; }
.si-detay-meta { list-style: none; margin: 0 0 14px; padding: 0; }
.si-detay-meta li { display: flex; align-items: center; gap: 8px; color: #6b7280; font-size: 14px; padding: 4px 0; }
.si-satici { border-top: 1px solid #eef0f2; padding-top: 14px; }
.si-satici-ad { font-weight: 700; margin-bottom: 10px; }
.si-tel-btn, .si-tel-link { display: inline-flex; align-items: center; gap: 8px; width: 100%; justify-content: center; background: #16a34a; color: #fff; border: 0; border-radius: 10px; padding: 12px; font-weight: 700; cursor: pointer; text-decoration: none; box-sizing: border-box; }
.si-benzer { margin-top: 30px; }
.si-benzer h2 { font-size: 18px; margin-bottom: 12px; }
@media (max-width: 900px) {
  .si-duzen { grid-template-columns: 1fr; }
  .si-detay { grid-template-columns: 1fr; }
  .si-detay-yan { position: static; }
}

/* ============================================================
   ÜYE VİTRİNİ — public ürün/hizmet (uv-) + panel yönetim (ud-)
============================================================ */
.uv-bolum { margin-top: 18px; padding: 20px 22px; }
.uv-baslik { font-size: 19px; font-weight: 800; margin: 0 0 16px; display: flex; align-items: center; gap: 10px; }
.uv-baslik i { color: var(--eh-orange,#f97316); }
/* Hizmetler */
.uv-hizmet-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(240px, 1fr)); gap: 14px; }
.uv-hizmet { display: flex; gap: 14px; align-items: flex-start; padding: 14px 16px; border: 1px solid #eef0f2; border-radius: 14px; background: #fff; transition: box-shadow .2s, transform .2s; }
.uv-hizmet:hover { box-shadow: 0 8px 22px rgba(0,0,0,.07); transform: translateY(-2px); }
.uv-hizmet-ikon { flex: 0 0 46px; width: 46px; height: 46px; border-radius: 12px; display: flex; align-items: center; justify-content: center; font-size: 20px; color: #fff; background: linear-gradient(135deg, var(--eh-orange,#f97316), #fb923c); }
.uv-hizmet-yazi strong { display: block; font-size: 15px; }
.uv-hizmet-yazi p { margin: 4px 0 0; font-size: 13px; color: #6b7280; line-height: 1.5; }
/* Ürünler */
.uv-urun-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(210px, 1fr)); gap: 16px; }
.uv-urun { display: flex; flex-direction: column; border: 1px solid #eef0f2; border-radius: 16px; overflow: hidden; background: #fff; transition: box-shadow .2s, transform .2s; }
.uv-urun:hover { box-shadow: 0 12px 28px rgba(0,0,0,.10); transform: translateY(-3px); }
.uv-urun-foto { aspect-ratio: 1/1; background: #f1f3f5; display: flex; align-items: center; justify-content: center; overflow: hidden; }
.uv-urun-foto img { width: 100%; height: 100%; object-fit: cover; }
.uv-foto-yok { font-size: 38px; color: #cbd1d8; }
.uv-urun-govde { padding: 12px 14px; display: flex; flex-direction: column; gap: 6px; flex: 1; }
.uv-urun-ad { font-size: 15px; line-height: 1.3; }
.uv-urun-aciklama { font-size: 13px; color: #6b7280; margin: 0; line-height: 1.45; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }
.uv-urun-alt { margin-top: auto; display: flex; align-items: center; justify-content: space-between; gap: 8px; padding-top: 6px; }
.uv-urun-fiyat { font-size: 17px; font-weight: 800; color: var(--eh-orange,#f97316); }
.uv-urun-btn { font-size: 12px; font-weight: 700; padding: 7px 12px; border-radius: 999px; background: var(--eh-ink,#0d0f14); color: #fff !important; text-decoration: none; white-space: nowrap; }
.uv-urun-btn.wa { background: #16a34a; }
.uv-bos-ipucu { margin-top: 18px; padding: 22px; display: flex; align-items: center; gap: 16px; flex-wrap: wrap; border: 2px dashed #e5e7eb; }
.uv-bos-ipucu > i { font-size: 32px; color: var(--eh-orange,#f97316); }
.uv-bos-ipucu div { flex: 1; min-width: 200px; }
/* Panel yönetim listesi */
.ud-liste { display: flex; flex-direction: column; gap: 10px; margin-bottom: 8px; }
.ud-item { display: flex; align-items: center; gap: 12px; padding: 10px 12px; border: 1px solid #eef0f2; border-radius: 12px; background: #fff; }
.ud-thumb { flex: 0 0 50px; width: 50px; height: 50px; border-radius: 10px; overflow: hidden; background: #f1f3f5; display: flex; align-items: center; justify-content: center; color: #9aa3ad; }
.ud-thumb img { width: 100%; height: 100%; object-fit: cover; }
.ud-thumb.ud-ikon { background: linear-gradient(135deg, var(--eh-orange,#f97316), #fb923c); color: #fff; font-size: 20px; }
.ud-bilgi { flex: 1; min-width: 0; }
.ud-bilgi strong { display: block; }
.ud-fiyat { font-size: 13px; color: var(--eh-orange,#f97316); font-weight: 700; }
.ud-sil { background: #fff; border: 1px solid #fecaca; color: #ef4444; width: 38px; height: 38px; border-radius: 10px; cursor: pointer; }
.ud-sil:hover { background: #ef4444; color: #fff; }
@media (max-width: 575px) { .uv-bolum { padding: 16px; } .uv-urun-grid { grid-template-columns: repeat(auto-fill, minmax(150px, 1fr)); } }
