/* ================================
   HABER SİTESİ STİL DOSYASI
   ================================ */

:root {
  --primary: #dc3545;
  --primary-dark: #c82333;
  --secondary: #343a40;
  --accent: #ffc107;
  --bg-light: #f5f5f5;
  --text-dark: #212529;
  --text-muted: #6c757d;
  --border: #e0e0e0;
  --shadow: 0 2px 8px rgba(0,0,0,0.08);
  --shadow-hover: 0 4px 16px rgba(0,0,0,0.12);
}

* { box-sizing: border-box; }
body {
  font-family: 'Inter', 'Plus Jakarta Sans', -apple-system, BlinkMacSystemFont, sans-serif;
  color: var(--text-dark);
  background: #fff;
  margin: 0;
  padding: 0;
  font-size: 15px;
  line-height: 1.6;
}

a { color: inherit; text-decoration: none; transition: color .2s; }
a:hover { color: var(--primary); }
img { max-width: 100%; height: auto; }

/* ================================
   ÜST BAR
   ================================ */
.top-bar {
  background: #1a1a1a;
  color: #fff;
  font-size: 12px;
  padding: 6px 0;
  border-bottom: 1px solid #333;
}
.top-bar a { color: #fff; opacity: .85; }
.top-bar a:hover { opacity: 1; color: var(--accent); }
.top-bar-menu ul { padding: 0; }
.top-bar-menu li { margin-right: 12px; }

/* ================================
   LOGO HEADER
   ================================ */
.site-header {
  padding: 14px 0;
  background: #fff;
  border-bottom: 1px solid var(--border);
}
.site-logo img { max-height: 90px; width: auto; object-fit: contain; }
.search-form {
  display: flex;
  background: var(--bg-light);
  border-radius: 30px;
  overflow: hidden;
}
.search-form input {
  flex: 1;
  border: none;
  background: transparent;
  padding: 10px 15px;
  outline: none;
}
.search-form button {
  background: var(--primary);
  color: #fff;
  border: none;
  padding: 0 18px;
  cursor: pointer;
}
.social-links { text-align: right; }
.social-links a {
  display: inline-flex;
  width: 30px; height: 30px;
  background: var(--bg-light);
  border-radius: 50%;
  align-items: center;
  justify-content: center;
  margin-left: 5px;
  color: var(--text-dark);
  transition: all .2s;
}
.social-links a:hover { background: var(--primary); color: #fff; }

/* ================================
   ANA MENÜ
   ================================ */
.main-menu {
  background: var(--primary);
  color: #fff;
  border-top: 3px solid var(--primary-dark);
  z-index: 1000;
}
.menu-list {
  list-style: none;
  padding: 0;
  margin: 0;
  display: flex;
  flex-wrap: wrap;
}
.menu-list li a {
  display: block;
  padding: 14px 16px;
  color: #fff;
  font-weight: 700;
  font-size: 13px;
  text-transform: uppercase;
  letter-spacing: .3px;
  border-right: 1px solid rgba(255,255,255,0.1);
  transition: background .2s;
}
.menu-list li a:hover, .menu-list li a.active {
  background: rgba(0,0,0,0.2);
  color: #fff;
}
.mobile-menu-toggle {
  background: var(--primary-dark);
  color: #fff;
  border: none;
  padding: 12px 20px;
  width: 100%;
  text-align: left;
  font-weight: 700;
}
@media (max-width: 991px) {
  .menu-list { 
    display: none; 
    flex-direction: column; 
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: var(--anaRenk, #dc3545);
    z-index: 9999;
    overflow-y: auto;
    -webkit-overflow-scrolling: touch;
    padding: 60px 0 30px;
    margin: 0;
    list-style: none;
  }
  .menu-list.open { 
    display: flex; 
  }
  .menu-list li {
    border-bottom: 1px solid rgba(255,255,255,0.15);
  }
  .menu-list li a {
    color: #fff !important;
    padding: 16px 24px !important;
    display: block;
    font-size: 15px;
    text-decoration: none;
  }
  .menu-list li a:hover, .menu-list li a:active, .menu-list li a.active {
    background: rgba(0,0,0,0.15) !important;
  }
  /* Mobil menü kapatma butonu */
  .menu-list::before {
    content: '✕';
    position: fixed;
    top: 15px;
    right: 20px;
    color: #fff;
    font-size: 28px;
    font-weight: 300;
    cursor: pointer;
    z-index: 10000;
    width: 40px;
    height: 40px;
    line-height: 40px;
    text-align: center;
    border-radius: 50%;
    background: rgba(0,0,0,0.2);
  }
  /* Mobilde scroll lock body */
  body.menu-open {
    overflow: hidden;
  }
}

/* ================================
   SON DAKİKA TICKER
   ================================ */
.son-dakika-ticker {
  background: #fff;
  border-bottom: 1px solid var(--border);
  padding: 8px 0;
  overflow: hidden;
}
.ticker-label {
  background: var(--primary);
  color: #fff;
  padding: 6px 14px;
  font-weight: 700;
  font-size: 13px;
  margin-right: 14px;
  border-radius: 3px;
  flex-shrink: 0;
}
.ticker-content {
  flex: 1;
  overflow: hidden;
  position: relative;
}
.ticker-content ul {
  display: flex;
  list-style: none;
  padding: 0;
  margin: 0;
  animation: tickerScroll 60s linear infinite;
}
.ticker-content li {
  white-space: nowrap;
  margin-right: 50px;
  font-size: 14px;
}
.ticker-content li strong { color: var(--primary); margin-right: 8px; }
@keyframes tickerScroll {
  0% { transform: translateX(0); }
  100% { transform: translateX(-50%); }
}

/* ================================
   MANŞET SLIDER
   ================================ */
.manset-bolum { background: var(--bg-light); }
.manset-slider .carousel-item img {
  width: 100%;
  height: 480px;
  object-fit: cover;
  border-radius: 8px;
}
.manset-icerik {
  position: absolute;
  bottom: 0; left: 0; right: 0;
  background: linear-gradient(transparent, rgba(0,0,0,0.85));
  color: #fff;
  padding: 80px 30px 30px;
  border-radius: 0 0 8px 8px;
}
.manset-icerik h2 { font-size: 28px; font-weight: 900; margin: 12px 0 8px; line-height: 1.2; }
.manset-icerik p { opacity: .9; margin: 0; }

.kategori-rozet {
  display: inline-block;
  background: var(--primary);
  color: #fff;
  padding: 3px 10px;
  font-size: 11px;
  font-weight: 700;
  text-transform: uppercase;
  border-radius: 3px;
  letter-spacing: .5px;
}

/* ================================
   MANŞET YAN HABERLER
   ================================ */
.manset-yan-haberler {
  display: flex;
  flex-direction: column;
  gap: 12px;
  height: 100%;
}
.yan-haber-item a { display: flex; gap: 12px; align-items: flex-start; }
.yan-haber-item img {
  width: 110px; height: 75px;
  object-fit: cover;
  border-radius: 6px;
  flex-shrink: 0;
}
.yan-haber-item h6 { font-size: 14px; margin: 5px 0 3px; line-height: 1.3; }
.yan-haber-item small { color: var(--text-muted); font-size: 11px; }

/* ================================
   BÖLÜM BAŞLIK
   ================================ */
.bolum-baslik {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin: 25px 0 20px;
  padding-bottom: 10px;
  border-bottom: 2px solid var(--primary);
}
.bolum-baslik h3 {
  margin: 0;
  font-size: 22px;
  font-weight: 800;
  text-transform: uppercase;
  color: var(--text-dark);
}
.bolum-baslik h3 i { color: var(--primary); margin-right: 8px; }
.bolum-baslik .tumu { font-size: 13px; color: var(--text-muted); }
.bolum-baslik .tumu:hover { color: var(--primary); }

/* ================================
   HABER KARTI (GENEL)
   ================================ */
.haber-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(220px, 1fr));
  gap: 18px;
}
.haber-kart {
  background: #fff;
  border-radius: 8px;
  overflow: hidden;
  box-shadow: var(--shadow);
  transition: all .2s;
}
.haber-kart:hover { box-shadow: var(--shadow-hover); transform: translateY(-3px); }
.haber-kart .haber-resim {
  position: relative;
  aspect-ratio: 16/10;
  overflow: hidden;
}
.haber-kart .haber-resim img {
  width: 100%; height: 100%;
  object-fit: cover;
  transition: transform .3s;
}
.haber-kart:hover .haber-resim img { transform: scale(1.05); }
.haber-kart .haber-resim .kategori-rozet {
  position: absolute;
  top: 10px; left: 10px;
}
.rozet-video {
  position: absolute;
  bottom: 10px; right: 10px;
  background: rgba(0,0,0,0.6);
  color: #fff;
  width: 30px; height: 30px;
  border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
}
.haber-kart .haber-icerik { padding: 14px; }
.haber-kart h4, .haber-kart h5 {
  font-size: 15px;
  font-weight: 700;
  line-height: 1.35;
  margin: 0 0 8px;
  color: var(--text-dark);
  display: -webkit-box;
  -webkit-line-clamp: 3;
  -webkit-box-orient: vertical;
  overflow: hidden;
}
.haber-meta {
  display: flex;
  gap: 12px;
  color: var(--text-muted);
  font-size: 12px;
}

.haber-kart-buyuk {
  background: #fff;
  border-radius: 8px;
  overflow: hidden;
  box-shadow: var(--shadow);
}
.haber-kart-buyuk .haber-resim {
  aspect-ratio: 4/3;
  position: relative;
  overflow: hidden;
}
.haber-kart-buyuk .haber-resim img { width: 100%; height: 100%; object-fit: cover; }
.haber-kart-buyuk .haber-resim .kategori-rozet { position: absolute; top: 10px; left: 10px; }
.haber-kart-buyuk .haber-icerik { padding: 14px; }
.haber-kart-buyuk h5 {
  font-size: 15px;
  font-weight: 700;
  margin: 0 0 6px;
  line-height: 1.3;
  display: -webkit-box;
  -webkit-line-clamp: 3;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

/* ================================
   YAZARLAR
   ================================ */
.yazarlar-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(230px, 1fr));
  gap: 18px;
}
.yazar-kart {
  display: flex;
  gap: 12px;
  padding: 14px;
  background: #fff;
  border-radius: 8px;
  box-shadow: var(--shadow);
}
.yazar-kart img {
  width: 60px; height: 60px;
  border-radius: 50%;
  object-fit: cover;
  flex-shrink: 0;
}
.yazar-kart .yazar-ad {
  font-weight: 700;
  font-size: 13px;
  color: var(--primary);
  display: block;
}
.yazar-kart small { color: var(--text-muted); font-size: 11px; }
.yazar-kart h5 {
  font-size: 14px;
  margin: 5px 0 0;
  line-height: 1.3;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

/* ================================
   GALERİ KART
   ================================ */
.galeri-kart, .video-kart {
  position: relative;
  display: block;
  border-radius: 8px;
  overflow: hidden;
  aspect-ratio: 4/3;
}
.galeri-kart img, .video-kart img {
  width: 100%; height: 100%; object-fit: cover;
  transition: transform .3s;
}
.galeri-kart:hover img, .video-kart:hover img { transform: scale(1.08); }
.galeri-overlay, .video-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(transparent 40%, rgba(0,0,0,0.85));
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  padding: 14px;
  color: #fff;
}
.galeri-overlay i, .video-overlay i {
  font-size: 36px;
  align-self: center;
  margin-bottom: auto;
  margin-top: 30%;
  opacity: .9;
}
.galeri-overlay h6, .video-overlay h6 {
  font-size: 14px;
  margin: 0;
  line-height: 1.3;
  font-weight: 700;
}

/* ================================
   KATEGORİ BLOK
   ================================ */
.kategori-blok {
  background: #fff;
  border-radius: 8px;
  padding: 18px;
  box-shadow: var(--shadow);
}
.kategori-blok-baslik {
  display: flex;
  justify-content: space-between;
  align-items: center;
  border-left: 4px solid var(--primary);
  padding-left: 12px;
  margin-bottom: 14px;
}
.kategori-blok-baslik h4 {
  margin: 0;
  font-size: 18px;
  font-weight: 800;
}
.kategori-blok-baslik a { font-size: 12px; color: var(--text-muted); }
.kategori-buyuk-haber { display: block; margin-bottom: 12px; }
.kategori-buyuk-haber img {
  width: 100%;
  aspect-ratio: 16/9;
  object-fit: cover;
  border-radius: 6px;
  margin-bottom: 10px;
}
.kategori-buyuk-haber h5 {
  font-size: 15px;
  font-weight: 700;
  margin: 0 0 5px;
  line-height: 1.3;
}
.kategori-buyuk-haber small { color: var(--text-muted); font-size: 12px; }
.kategori-haber-list { list-style: none; padding: 0; margin: 0; }
.kategori-haber-list li {
  padding: 8px 0;
  border-bottom: 1px dashed var(--border);
  font-size: 14px;
}
.kategori-haber-list li:last-child { border: none; }
.kategori-haber-list a { color: var(--text-dark); }

/* ================================
   BURÇLAR
   ================================ */
.burclar-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(140px, 1fr));
  gap: 12px;
}
.burc-kart {
  background: #fff;
  border-radius: 8px;
  padding: 18px 10px;
  text-align: center;
  box-shadow: var(--shadow);
  transition: all .2s;
  display: block;
}
.burc-kart:hover { transform: translateY(-3px); box-shadow: var(--shadow-hover); color: var(--primary); }
.burc-kart i { font-size: 28px; color: var(--accent); margin-bottom: 8px; display: block; }
.burc-kart span { display: block; font-weight: 700; font-size: 14px; }
.burc-kart small { color: var(--text-muted); font-size: 11px; }

/* ================================
   TREND HABERLER
   ================================ */
.trend-yatay-list {
  list-style: none;
  padding: 0;
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
  gap: 12px;
}
.trend-yatay-list li {
  display: flex;
  align-items: center;
  background: #fff;
  border-radius: 6px;
  padding: 10px 14px;
  box-shadow: var(--shadow);
}
.trend-no {
  font-size: 28px;
  font-weight: 900;
  color: var(--primary);
  margin-right: 14px;
  min-width: 30px;
}

/* ================================
   SIDEBAR WIDGET'LARI
   ================================ */
.sidebar { padding-top: 25px; }
.widget {
  background: #fff;
  border-radius: 8px;
  padding: 18px;
  margin-bottom: 20px;
  box-shadow: var(--shadow);
}
.widget-title {
  font-size: 16px;
  font-weight: 800;
  text-transform: uppercase;
  margin: 0 0 14px;
  padding-bottom: 10px;
  border-bottom: 2px solid var(--primary);
}

/* Piyasa */
.piyasa-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 10px;
}
.piyasa-item {
  background: var(--bg-light);
  padding: 10px;
  border-radius: 6px;
  text-align: center;
}
.piyasa-item .lbl { display: block; font-size: 11px; color: var(--text-muted); font-weight: 600; }
.piyasa-item .val { display: block; font-size: 16px; font-weight: 800; color: var(--text-dark); }
.piyasa-item small { font-size: 11px; }
.piyasa-item small.up { color: #28a745; }
.piyasa-item small.down { color: #dc3545; }

/* Hava */
.hava-content { text-align: center; padding: 10px 0; }
.hava-content .sehir { font-weight: 700; margin-bottom: 5px; }
.hava-content .derece { font-size: 36px; font-weight: 900; color: var(--primary); }
.hava-content .durum { color: var(--text-muted); }

/* Yazarlar widget */
.yazarlar-list .yazar-item {
  display: flex;
  gap: 10px;
  margin-bottom: 14px;
  padding-bottom: 14px;
  border-bottom: 1px dashed var(--border);
}
.yazarlar-list .yazar-item:last-child { border: none; padding: 0; margin: 0; }
.yazarlar-list .yazar-item img {
  width: 45px; height: 45px;
  border-radius: 50%;
  object-fit: cover;
  flex-shrink: 0;
}
.yazarlar-list .yazar-ad {
  font-size: 12px;
  font-weight: 700;
  color: var(--primary);
  display: block;
}
.yazarlar-list .yazi-baslik {
  font-size: 13px;
  font-weight: 600;
  display: block;
  line-height: 1.3;
}
.yazarlar-list small { color: var(--text-muted); font-size: 11px; }

/* Gündem */
.gundem-list .gundem-item {
  margin-bottom: 14px;
  padding-bottom: 14px;
  border-bottom: 1px dashed var(--border);
}
.gundem-list .gundem-item:last-child { border: none; padding: 0; margin: 0; }
.gundem-list .gundem-item a { display: flex; gap: 10px; }
.gundem-list .gundem-item img {
  width: 80px; height: 55px;
  border-radius: 4px;
  object-fit: cover;
  flex-shrink: 0;
}
.gundem-list .gundem-item h6 {
  font-size: 13px;
  margin: 4px 0 3px;
  line-height: 1.3;
}
.gundem-list .gundem-item small { color: var(--text-muted); font-size: 11px; }

/* Anket - Modern Düzen */
.widget-anket {
  background: #fff;
  border-radius: 12px;
  padding: 18px;
  box-shadow: 0 1px 3px rgba(0,0,0,.06);
}
.anket-soru { 
  font-weight: 700; 
  margin-bottom: 14px; 
  font-size: 14px;
  color: #1f2937;
  line-height: 1.4;
}
.anket-form { display: flex; flex-direction: column; gap: 8px; }
.anket-secenek {
  display: flex;
  align-items: center;
  gap: 10px;
  position: relative;
  padding: 10px 14px;
  background: #f3f4f6;
  border-radius: 8px;
  cursor: pointer;
  overflow: hidden;
  font-size: 13px;
  font-weight: 500;
  color: #374151;
  transition: background .2s;
  min-height: 40px;
}
.anket-secenek:hover { background: #e5e7eb; }

/* Dolgu çubuğu - en arkada (z-index:0) */
.anket-bar {
  position: absolute;
  inset: 0;
  background: linear-gradient(90deg, rgba(220, 53, 69, 0.20), rgba(220, 53, 69, 0.10));
  z-index: 0;
  transition: width .4s ease-out;
  border-radius: 8px;
  pointer-events: none;
}

/* Radio butonu - sağ tarafa hizalı */
.anket-secenek input[type="radio"] {
  position: relative;
  z-index: 2;
  margin: 0;
  margin-left: auto;
  flex-shrink: 0;
  width: 16px;
  height: 16px;
  accent-color: var(--primary, #dc3545);
  order: 3;
}

/* Seçenek metni - sol tarafta */
.anket-secenek > span {
  position: relative;
  z-index: 1;
  flex: 1;
  order: 1;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

/* Yüzde değeri - radio'dan önce */
.anket-yuzde {
  position: relative;
  z-index: 1;
  font-weight: 700;
  font-size: 13px;
  color: #dc3545;
  flex-shrink: 0;
  order: 2;
  margin: 0;
}

/* Oy Ver butonu modernize */
.anket-form button[type="submit"] {
  background: var(--primary, #dc3545);
  color: #fff;
  border: none;
  padding: 10px 18px;
  border-radius: 8px;
  font-weight: 600;
  font-size: 13px;
  cursor: pointer;
  margin-top: 8px;
  transition: all .2s;
}
.anket-form button[type="submit"]:hover {
  background: #b91c1c;
  transform: translateY(-1px);
  box-shadow: 0 4px 12px rgba(220,53,69,.3);
}
.anket-form small {
  font-size: 11px;
  color: #6b7280;
  margin-top: 6px;
}

/* Trend */
.trend-list { padding-left: 25px; }
.trend-list li { padding: 6px 0; font-size: 13px; }

/* Namaz */
.namaz-content { font-size: 13px; }
.namaz-content .vakit-satir {
  display: flex;
  justify-content: space-between;
  padding: 6px 0;
  border-bottom: 1px dashed var(--border);
}
.namaz-content .vakit-satir:last-child { border: none; }
.namaz-content .vakit-satir.aktif { font-weight: 800; color: var(--primary); }

/* Hızlı erişim */
.hizli-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 8px;
}
.hizli-grid a {
  background: var(--bg-light);
  padding: 14px 8px;
  border-radius: 6px;
  text-align: center;
  display: block;
  transition: all .2s;
}
.hizli-grid a:hover { background: var(--primary); color: #fff; }
.hizli-grid i { display: block; font-size: 20px; margin-bottom: 5px; }
.hizli-grid span { font-size: 11px; font-weight: 600; }

/* ================================
   YAN REKLAMLAR
   ================================ */
.yan-reklam {
  position: fixed;
  top: 200px;
  width: 160px;
  z-index: 100;
}
.yan-reklam-sol { left: 10px; }
.yan-reklam-sag { right: 10px; }

/* ================================
   FOOTER
   ================================ */
.site-footer {
  background: #1a1a1a;
  color: #c0c0c0;
  padding: 50px 0 20px;
  margin-top: 50px;
}
.site-footer h5 {
  color: #fff;
  font-size: 14px;
  font-weight: 800;
  margin-bottom: 18px;
  padding-bottom: 8px;
  border-bottom: 2px solid var(--primary);
  display: inline-block;
}
.footer-menu { list-style: none; padding: 0; }
.footer-menu li { padding: 5px 0; }
.footer-menu a { color: #c0c0c0; font-size: 13px; }
.footer-menu a:hover { color: var(--accent); padding-left: 5px; }
.footer-logo img { max-height: 80px; margin-bottom: 12px; filter: brightness(0) invert(1); opacity: .95; }
.footer-social { margin-top: 14px; }
.footer-social a {
  display: inline-flex;
  width: 32px; height: 32px;
  background: #2a2a2a;
  border-radius: 50%;
  align-items: center; justify-content: center;
  margin-right: 6px;
  color: #fff;
  transition: all .2s;
}
.footer-social a:hover { background: var(--primary); }
.copyright { font-size: 12px; opacity: .8; }

/* ================================
   WHATSAPP & SCROLL TOP
   ================================ */
.whatsapp-btn {
  position: fixed;
  bottom: 20px; left: 20px;
  width: 56px; height: 56px;
  background: #25d366;
  color: #fff;
  border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  font-size: 28px;
  box-shadow: 0 4px 12px rgba(0,0,0,0.3);
  z-index: 999;
  animation: pulse 2s infinite;
}
.whatsapp-btn:hover { color: #fff; transform: scale(1.1); }
@keyframes pulse {
  0%, 100% { box-shadow: 0 4px 12px rgba(37, 211, 102, 0.5); }
  50% { box-shadow: 0 4px 25px rgba(37, 211, 102, 0.8); }
}

.scroll-top {
  position: fixed;
  bottom: 20px; right: 20px;
  width: 48px; height: 48px;
  background: var(--primary);
  color: #fff;
  border-radius: 50%;
  display: none;
  align-items: center; justify-content: center;
  z-index: 999;
  text-decoration: none;
}
.scroll-top.show { display: flex; }
.scroll-top:hover { color: #fff; background: var(--primary-dark); }

/* ================================
   RESPONSIVE
   ================================ */
@media (max-width: 768px) {
  .manset-slider .carousel-item img { height: 250px; }
  .manset-icerik h2 { font-size: 18px; }
  .manset-icerik { padding: 60px 15px 15px; }
  .haber-grid { grid-template-columns: 1fr 1fr; gap: 10px; }
  .haber-kart h4, .haber-kart h5 { font-size: 13px; }
  .top-bar-menu li { margin-right: 8px; }
  .top-bar { font-size: 10px; }
  .site-logo img { max-height: 75px; }
  .yan-reklam { display: none !important; }
}

@media (max-width: 480px) {
  .haber-grid { grid-template-columns: 1fr; }
}

/* ================================
   HABER DETAY SAYFASI
   ================================ */
.haber-detay { background: #fff; padding: 30px 0; }
.haber-detay h1 { font-size: 32px; font-weight: 900; line-height: 1.2; margin-bottom: 15px; }
.haber-detay .haber-bilgi {
  display: flex;
  gap: 20px;
  align-items: center;
  padding: 15px 0;
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
  margin-bottom: 25px;
  color: var(--text-muted);
  font-size: 13px;
}
.haber-detay .ana-resim {
  width: 100%;
  border-radius: 8px;
  margin-bottom: 25px;
}
.haber-detay .ozet {
  font-size: 18px;
  font-weight: 600;
  color: var(--secondary);
  padding: 15px 20px;
  background: var(--bg-light);
  border-left: 4px solid var(--primary);
  margin-bottom: 25px;
  border-radius: 4px;
}
.haber-detay .icerik { font-size: 16px; line-height: 1.8; }
.haber-detay .icerik p { margin-bottom: 18px; }
.haber-detay .icerik h2, .haber-detay .icerik h3 { margin: 25px 0 15px; }
.haber-detay .icerik img { border-radius: 6px; margin: 15px 0; }

.paylas-butonlar {
  display: flex;
  gap: 8px;
  margin: 25px 0;
}
.paylas-butonlar a {
  flex: 1;
  text-align: center;
  padding: 10px;
  border-radius: 6px;
  color: #fff;
  font-size: 13px;
  font-weight: 600;
}
.paylas-fb { background: #1877f2; }
.paylas-tw { background: #1da1f2; }
.paylas-wa { background: #25d366; }
.paylas-ln { background: #0a66c2; }
.paylas-tg { background: #0088cc; }

.etiketler { margin: 20px 0; }
.etiketler a {
  display: inline-block;
  background: var(--bg-light);
  padding: 5px 12px;
  border-radius: 20px;
  font-size: 12px;
  margin: 3px;
}
.etiketler a:hover { background: var(--primary); color: #fff; }

/* Yorumlar */
.yorum-form {
  background: var(--bg-light);
  padding: 20px;
  border-radius: 8px;
  margin: 25px 0;
}
.yorum-listesi { margin-top: 25px; }
.yorum-item {
  padding: 15px 0;
  border-bottom: 1px solid var(--border);
}
.yorum-item .yazar { font-weight: 700; }
.yorum-item .tarih { color: var(--text-muted); font-size: 12px; }

/* ================================
   ADMIN STİL TEMELİ (admin panelde de kullanılabilir)
   ================================ */
.alert { padding: 12px 18px; border-radius: 6px; margin-bottom: 15px; }
.alert-success { background: #d4edda; color: #155724; border: 1px solid #c3e6cb; }
.alert-danger { background: #f8d7da; color: #721c24; border: 1px solid #f5c6cb; }
.alert-info { background: #d1ecf1; color: #0c5460; border: 1px solid #bee5eb; }
.alert-warning { background: #fff3cd; color: #856404; border: 1px solid #ffeeba; }

/* AdSense placeholder */
.reklam-alani {
  background: var(--bg-light);
  border: 1px dashed var(--border);
  padding: 20px;
  text-align: center;
  color: var(--text-muted);
  font-size: 12px;
  border-radius: 6px;
  margin: 15px 0;
}

/* ============================================
   PAKET 1: OKUMA KONFORU
   ============================================ */

/* CSS Değişkenleri - Light Mode */
:root {
  --bg-primary: #ffffff;
  --bg-secondary: #f8f9fa;
  --bg-card: #ffffff;
  --text-primary: #212529;
  --text-secondary: #6c757d;
  --text-muted: #adb5bd;
  --border: #dee2e6;
  --accent: #dc3545;
  --header-bg: #ffffff;
  --footer-bg: #1a1a1a;
  --shadow: rgba(0,0,0,0.08);
  --reading-font-size: 18px;
  --reading-font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
}

/* Dark Mode */
[data-theme="dark"] {
  --bg-primary: #1a1a1a;
  --bg-secondary: #242424;
  --bg-card: #2a2a2a;
  --text-primary: #e9ecef;
  --text-secondary: #adb5bd;
  --text-muted: #6c757d;
  --border: #3a3a3a;
  --header-bg: #1f1f1f;
  --footer-bg: #0d0d0d;
  --shadow: rgba(0,0,0,0.3);
}

[data-theme="dark"] body { background: var(--bg-primary); color: var(--text-primary); }
[data-theme="dark"] .haber-card, [data-theme="dark"] .sidebar-widget, [data-theme="dark"] .card,
[data-theme="dark"] .haber-detay { background: var(--bg-card); color: var(--text-primary); }
[data-theme="dark"] .navbar, [data-theme="dark"] .ust-bar { background: var(--header-bg) !important; }
[data-theme="dark"] a { color: #ff6b7a; }
[data-theme="dark"] .form-control, [data-theme="dark"] .form-select { background: var(--bg-secondary); color: var(--text-primary); border-color: var(--border); }
[data-theme="dark"] .text-muted { color: var(--text-secondary) !important; }
[data-theme="dark"] .bg-light { background: var(--bg-secondary) !important; }
[data-theme="dark"] .table { color: var(--text-primary); }

/* Tema toggle butonu */
.tema-toggle {
  background: transparent;
  border: 1px solid var(--border);
  color: var(--text-primary);
  width: 38px; height: 38px;
  border-radius: 50%;
  cursor: pointer;
  font-size: 16px;
  transition: all 0.3s;
}
.tema-toggle:hover { background: var(--bg-secondary); }
[data-theme="dark"] .tema-toggle .ay { display: none; }
[data-theme="light"] .tema-toggle .gunes, body:not([data-theme="dark"]) .tema-toggle .gunes { display: none; }

/* Scroll Progress Bar */
.scroll-progress {
  position: fixed;
  top: 0; left: 0;
  height: 3px;
  background: linear-gradient(90deg, #dc3545, #ff6b7a);
  z-index: 9999;
  width: 0%;
  transition: width 0.05s linear;
}

/* Sticky Header */
.sticky-header-aktif .navbar {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 1000;
  box-shadow: 0 2px 10px var(--shadow);
  animation: slideDown 0.3s;
}
@keyframes slideDown {
  from { transform: translateY(-100%); }
  to { transform: translateY(0); }
}

/* Yukarı Çık Butonu */
.yukari-cik {
  position: fixed;
  bottom: 30px; right: 30px;
  width: 50px; height: 50px;
  background: var(--accent);
  color: #fff;
  border: none;
  border-radius: 50%;
  font-size: 20px;
  cursor: pointer;
  box-shadow: 0 4px 15px rgba(220,53,69,0.4);
  opacity: 0;
  visibility: hidden;
  transition: all 0.3s;
  z-index: 999;
}
.yukari-cik.gorunur { opacity: 1; visibility: visible; }
.yukari-cik:hover { background: #c82333; transform: translateY(-3px); }

/* Breadcrumb */
.breadcrumb-nav {
  background: var(--bg-secondary);
  padding: 10px 0;
  margin-bottom: 20px;
  border-bottom: 1px solid var(--border);
}
.breadcrumb-nav ol {
  list-style: none;
  margin: 0; padding: 0;
  display: flex;
  flex-wrap: wrap;
  gap: 5px;
  font-size: 13px;
}
.breadcrumb-nav li:not(:last-child)::after {
  content: '›';
  margin-left: 5px;
  color: var(--text-muted);
}
.breadcrumb-nav a { color: var(--text-secondary); text-decoration: none; }
.breadcrumb-nav a:hover { color: var(--accent); }
.breadcrumb-nav li:last-child { color: var(--text-primary); }

/* Okuma Araç Çubuğu (Reading Toolbar) */
.okuma-bar {
  display: flex;
  gap: 8px;
  align-items: center;
  padding: 10px;
  background: var(--bg-secondary);
  border-radius: 8px;
  margin: 15px 0;
  flex-wrap: wrap;
}
.okuma-bar .btn-okuma {
  background: var(--bg-card);
  border: 1px solid var(--border);
  color: var(--text-primary);
  padding: 6px 12px;
  border-radius: 4px;
  font-size: 13px;
  cursor: pointer;
  transition: all 0.2s;
}
.okuma-bar .btn-okuma:hover, .okuma-bar .btn-okuma.aktif { background: var(--accent); color: #fff; border-color: var(--accent); }
.okuma-bar .ayirici { width: 1px; height: 24px; background: var(--border); }

/* Okuma süresi rozeti */
.okuma-suresi {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  padding: 4px 10px;
  background: var(--bg-secondary);
  border-radius: 20px;
  font-size: 12px;
  color: var(--text-secondary);
}

/* Yazı boyutu kontrolü - haber içeriği */
.haber-icerik {
  font-family: var(--reading-font-family);
  font-size: var(--reading-font-size);
  line-height: 1.8;
}
[data-font="serif"] .haber-icerik {
  font-family: Georgia, 'Times New Roman', serif;
}

/* Yan Floating Share Bar - DEVRE DIŞI (kullanıcı isteği) */
.yan-share-bar { display: none !important; }
.yan-share-bar-eski {
  position: fixed;
  left: 20px;
  top: 50%;
  transform: translateY(-50%);
  display: flex;
  flex-direction: column;
  gap: 8px;
  z-index: 100;
}
.yan-share-bar a {
  width: 42px; height: 42px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
  color: #fff;
  text-decoration: none;
  font-size: 16px;
  transition: all 0.3s;
  box-shadow: 0 2px 8px rgba(0,0,0,0.15);
}
.yan-share-bar a:hover { transform: scale(1.15); }
.yan-share-bar .sh-fb { background: #1877f2 !important; color: #fff !important; }
.yan-share-bar .sh-tw { background: #000 !important; color: #fff !important; }
.yan-share-bar .sh-wa { background: #25d366 !important; color: #fff !important; }
.yan-share-bar .sh-tg { background: #0088cc !important; color: #fff !important; }
.yan-share-bar .sh-li { background: #0a66c2 !important; color: #fff !important; }
.yan-share-bar .sh-mail { background: #6c757d !important; color: #fff !important; }
.yan-share-bar .sh-copy { background: #1f2937 !important; color: #fff !important; }
.yan-share-bar .sh-reddit { background: #ff4500 !important; color: #fff !important; }
@media (max-width: 991px) { .yan-share-bar { display: none; } }

/* Alt Mobile Share Bar */
.mobil-share-bar {
  position: fixed;
  bottom: 0; left: 0; right: 0;
  background: var(--bg-card);
  border-top: 1px solid var(--border);
  padding: 8px;
  display: none;
  gap: 6px;
  justify-content: space-around;
  z-index: 100;
  box-shadow: 0 -2px 10px var(--shadow);
}
.mobil-share-bar a {
  flex: 1;
  text-align: center;
  padding: 8px;
  color: var(--text-primary);
  text-decoration: none;
  font-size: 18px;
  border-radius: 6px;
}
.mobil-share-bar a:hover { background: var(--bg-secondary); }
@media (max-width: 991px) { .mobil-share-bar { display: flex; } body { padding-bottom: 60px; } }

/* Skeleton Loader */
.skeleton {
  background: linear-gradient(90deg, var(--bg-secondary) 25%, var(--border) 50%, var(--bg-secondary) 75%);
  background-size: 200% 100%;
  animation: skeleton-loading 1.5s infinite;
  border-radius: 4px;
}
@keyframes skeleton-loading {
  0% { background-position: 200% 0; }
  100% { background-position: -200% 0; }
}
.skeleton-card {
  background: var(--bg-card);
  border-radius: 8px;
  overflow: hidden;
  margin-bottom: 15px;
}
.skeleton-img { height: 180px; }
.skeleton-line { height: 12px; margin: 10px; }
.skeleton-line.kisa { width: 60%; }

/* "Yeni" / "Son Dakika" Rozetleri */
.yeni-badge {
  display: inline-block;
  background: linear-gradient(45deg, #28a745, #20c997);
  color: #fff;
  font-size: 10px;
  font-weight: 700;
  padding: 2px 8px;
  border-radius: 3px;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  vertical-align: middle;
  animation: pulse-yeni 2s infinite;
}
@keyframes pulse-yeni {
  0%,100% { box-shadow: 0 0 0 0 rgba(40,167,69,0.6); }
  50% { box-shadow: 0 0 0 6px rgba(40,167,69,0); }
}

/* Click to Tweet (cümle paylaşma) */
.tweet-popover {
  position: absolute;
  background: #1da1f2;
  color: #fff;
  padding: 8px 12px;
  border-radius: 6px;
  font-size: 13px;
  font-weight: 600;
  cursor: pointer;
  box-shadow: 0 4px 12px rgba(0,0,0,0.2);
  z-index: 1000;
  display: none;
}
.tweet-popover::before {
  content: '';
  position: absolute;
  bottom: -6px;
  left: 50%;
  transform: translateX(-50%);
  border: 6px solid transparent;
  border-top-color: #1da1f2;
  border-bottom: 0;
}

/* Görsel altyazı (caption) */
.haber-icerik figure { margin: 25px 0; text-align: center; }
.haber-icerik figure img { max-width: 100%; border-radius: 8px; }
.haber-icerik figcaption {
  font-size: 13px;
  color: var(--text-muted);
  font-style: italic;
  margin-top: 8px;
  padding: 0 15px;
}
.haber-icerik img { max-width: 100%; height: auto; border-radius: 8px; margin: 15px 0; }

/* Prev/Next Haber Navigation */
.haber-nav {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 15px;
  margin: 30px 0;
}
.haber-nav a {
  background: var(--bg-secondary);
  padding: 15px;
  border-radius: 8px;
  text-decoration: none;
  color: var(--text-primary);
  transition: all 0.3s;
  border: 1px solid var(--border);
}
.haber-nav a:hover { background: var(--bg-card); box-shadow: 0 4px 10px var(--shadow); }
.haber-nav .nav-yon { font-size: 11px; color: var(--text-muted); text-transform: uppercase; margin-bottom: 4px; }
.haber-nav .nav-baslik { font-weight: 600; font-size: 14px; line-height: 1.4; }
.haber-nav .next { text-align: right; }
@media (max-width: 575px) { .haber-nav { grid-template-columns: 1fr; } }

/* QR Modal */
.qr-modal-content { text-align: center; padding: 30px; }
.qr-modal-content img { max-width: 250px; border: 8px solid #fff; box-shadow: 0 0 20px var(--shadow); }

/* Cookie Consent Banner */
.cookie-banner {
  position: fixed;
  bottom: 0; left: 0; right: 0;
  background: var(--bg-card);
  border-top: 3px solid var(--accent);
  padding: 20px;
  z-index: 9998;
  box-shadow: 0 -5px 20px var(--shadow);
  display: none;
  flex-wrap: wrap;
  gap: 15px;
  align-items: center;
  justify-content: space-between;
}
.cookie-banner.gorunur { display: flex; }
.cookie-banner p { margin: 0; flex: 1; min-width: 250px; color: var(--text-primary); font-size: 14px; }
.cookie-banner .btn-grup { display: flex; gap: 8px; }
@media (max-width: 768px) {
  .cookie-banner { flex-direction: column; align-items: stretch; }
  .cookie-banner .btn-grup { justify-content: stretch; }
  .cookie-banner .btn-grup .btn { flex: 1; }
}

/* Print Stylesheet */
@media print {
  .navbar, .ust-bar, .sidebar, .footer, .haber-nav, .yan-share-bar, .mobil-share-bar,
  .okuma-bar, .yukari-cik, .cookie-banner, .reklam-slot, .tema-toggle, button {
    display: none !important;
  }
  body { background: #fff; color: #000; font-size: 12pt; }
  .haber-detay { box-shadow: none; }
  .haber-icerik { font-size: 12pt; line-height: 1.6; }
  a { color: #000; text-decoration: underline; }
  a[href]::after { content: " (" attr(href) ")"; font-size: 9pt; color: #555; }
  .haber-icerik img { max-width: 100%; page-break-inside: avoid; }
  h1, h2, h3 { page-break-after: avoid; }
}

/* Toast Notification (paylaşım sonrası) */
.toast-bildirim {
  position: fixed;
  bottom: 80px;
  left: 50%;
  transform: translateX(-50%) translateY(100px);
  background: #28a745;
  color: #fff;
  padding: 12px 24px;
  border-radius: 30px;
  font-size: 14px;
  font-weight: 600;
  box-shadow: 0 4px 20px rgba(0,0,0,0.2);
  opacity: 0;
  transition: all 0.3s;
  z-index: 10000;
}
.toast-bildirim.gorunur { opacity: 1; transform: translateX(-50%) translateY(0); }

/* TTS Player */
.tts-player {
  background: var(--bg-secondary);
  border-radius: 8px;
  padding: 12px 18px;
  margin: 15px 0;
  display: flex;
  align-items: center;
  gap: 12px;
}
.tts-player button {
  background: var(--accent);
  color: #fff;
  border: none;
  width: 36px; height: 36px;
  border-radius: 50%;
  cursor: pointer;
  font-size: 14px;
}
.tts-player .tts-info { font-size: 13px; color: var(--text-secondary); flex: 1; }

/* Lazy load fade in */
img[loading="lazy"] { transition: opacity 0.3s; }
img.loaded { opacity: 1; }

/* ============================================
   PAKET 2: ÜYE SİSTEMİ
   ============================================ */

/* Üye Form Kart (giriş, kayıt vs.) */
.uye-form-card {
  background: var(--bg-card);
  padding: 35px 30px;
  border-radius: 12px;
  box-shadow: 0 4px 20px var(--shadow);
  border: 1px solid var(--border);
}

.uye-form-card h2 { color: var(--text-primary); font-size: 26px; }

/* Şifre güçlülük çubuğu */
.sifre-guc {
  height: 6px;
  background: var(--border);
  border-radius: 3px;
  overflow: hidden;
}
.sifre-guc span {
  display: block;
  height: 100%;
  width: 0;
  transition: all 0.3s;
  color: #fff;
  text-align: center;
  font-size: 10px;
  line-height: 6px;
}

/* Üye Sidebar Menü */
.uye-sidebar {
  background: var(--bg-card);
  border-radius: 8px;
  padding: 20px;
  position: sticky;
  top: 80px;
  border: 1px solid var(--border);
}
.uye-avatar-big {
  width: 100px; height: 100px;
  border-radius: 50%;
  object-fit: cover;
  border: 3px solid var(--accent);
}
.uye-avatar-box { padding-bottom: 15px; border-bottom: 1px solid var(--border); margin-bottom: 15px; }

.uye-menu {
  list-style: none;
  padding: 0; margin: 0;
}
.uye-menu li { margin-bottom: 2px; }
.uye-menu a {
  display: block;
  padding: 10px 12px;
  color: var(--text-primary);
  text-decoration: none;
  border-radius: 6px;
  font-size: 14px;
  transition: all 0.2s;
}
.uye-menu a:hover { background: var(--bg-secondary); }
.uye-menu li.aktif a { background: var(--accent); color: #fff !important; }
.uye-menu i { width: 20px; }
.uye-menu .badge { float: right; margin-top: 2px; }

/* Stat Box (dashboard) */
.stat-box {
  color: #fff;
  padding: 20px;
  border-radius: 8px;
  text-align: center;
  position: relative;
}
.stat-box .sayi { font-size: 28px; font-weight: 900; line-height: 1; margin-top: 8px; }
.stat-box .metin { font-size: 13px; opacity: 0.9; margin-top: 4px; }
.stat-box i { font-size: 28px; opacity: 0.5; }

/* Haber Mini Kart (geçmiş, son okunan) */
.haber-mini-kart {
  display: block;
  background: var(--bg-secondary);
  border-radius: 8px;
  overflow: hidden;
  color: var(--text-primary);
  text-decoration: none;
  transition: all 0.2s;
  height: 100%;
}
.haber-mini-kart:hover { transform: translateY(-3px); box-shadow: 0 4px 12px var(--shadow); color: var(--text-primary); }
.haber-mini-kart img { width: 100%; height: 120px; object-fit: cover; }

/* Liste Grubu (geçmiş, bildirim) */
.liste-grup .liste-oge {
  display: flex;
  align-items: center;
  gap: 15px;
  padding: 12px;
  background: var(--bg-card);
  border-radius: 8px;
  margin-bottom: 8px;
  text-decoration: none;
  color: var(--text-primary);
  border: 1px solid var(--border);
  transition: all 0.2s;
}
.liste-grup .liste-oge:hover { background: var(--bg-secondary); transform: translateX(3px); }
.liste-grup .liste-oge img { width: 80px; height: 60px; object-fit: cover; border-radius: 4px; flex-shrink: 0; }

/* Bildirim Listesi */
.bildirim-listesi .bildirim-oge {
  display: flex;
  gap: 15px;
  padding: 15px;
  background: var(--bg-card);
  border-radius: 8px;
  margin-bottom: 8px;
  border-left: 4px solid var(--border);
  align-items: center;
}
.bildirim-listesi .bildirim-oge.yeni { border-left-color: var(--accent); background: var(--bg-secondary); }
.bildirim-listesi .bildirim-oge.okundu { opacity: 0.7; }
.bildirim-ikon {
  width: 45px; height: 45px;
  border-radius: 50%;
  background: var(--bg-secondary);
  display: flex; align-items: center; justify-content: center;
  font-size: 18px;
  color: var(--accent);
  flex-shrink: 0;
}
.bildirim-icerik { flex: 1; }

/* Yazar Mini Kart (takip listesi) */
.yazar-kart-mini {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: 8px;
  padding: 12px;
  display: flex;
  align-items: center;
  gap: 12px;
}
.yazar-kart-mini img { width: 50px; height: 50px; border-radius: 50%; object-fit: cover; }

/* Üye Genel Profil Kartı */
.uye-profil-kart {
  background: var(--bg-card);
  padding: 30px;
  border-radius: 12px;
  border: 1px solid var(--border);
  text-align: center;
}
.uye-profil-foto {
  width: 150px; height: 150px;
  border-radius: 50%;
  object-fit: cover;
  border: 4px solid var(--accent);
}

/* Yorum Kart (üye profilde) */
.yorum-kart {
  background: var(--bg-card);
  border: 1px solid var(--border);
  padding: 15px;
  border-radius: 8px;
  margin-bottom: 10px;
}

/* Favori, Okuma Listesi, Takip Et butonları (haber detayda) */
.aksiyon-butonlar {
  display: flex;
  gap: 8px;
  flex-wrap: wrap;
  margin: 15px 0;
}
.btn-aksiyon {
  background: var(--bg-secondary);
  border: 1px solid var(--border);
  color: var(--text-primary);
  padding: 8px 14px;
  border-radius: 20px;
  font-size: 13px;
  cursor: pointer;
  transition: all 0.2s;
  display: inline-flex;
  align-items: center;
  gap: 6px;
}
.btn-aksiyon:hover { background: var(--accent); color: #fff; border-color: var(--accent); }
.btn-aksiyon.aktif { background: var(--accent); color: #fff; border-color: var(--accent); }
.btn-aksiyon.aktif i { animation: tikla 0.3s; }
@keyframes tikla {
  0% { transform: scale(1); }
  50% { transform: scale(1.4); }
  100% { transform: scale(1); }
}

/* Üye dropdown (header'da) */
.uye-dropdown {
  position: relative;
}
.uye-dropdown-toggle {
  background: transparent;
  border: 2px solid var(--border);
  padding: 4px;
  border-radius: 50px;
  cursor: pointer;
  display: flex;
  align-items: center;
  gap: 8px;
}
.uye-dropdown-toggle img {
  width: 30px; height: 30px;
  border-radius: 50%;
  object-fit: cover;
}
.uye-dropdown-menu {
  position: absolute;
  top: calc(100% + 8px);
  right: 0;
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: 8px;
  box-shadow: 0 4px 20px var(--shadow);
  min-width: 220px;
  padding: 8px 0;
  display: none;
  z-index: 1000;
}
.uye-dropdown-menu.acik { display: block; }
.uye-dropdown-menu a {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 8px 16px;
  color: var(--text-primary);
  text-decoration: none;
  font-size: 14px;
}
.uye-dropdown-menu a:hover { background: var(--bg-secondary); }
.uye-dropdown-menu .ayirici-cizgi { height: 1px; background: var(--border); margin: 6px 0; }
.uye-dropdown-menu .bildirim-sayisi {
  background: var(--accent);
  color: #fff;
  font-size: 10px;
  padding: 2px 6px;
  border-radius: 10px;
  margin-left: auto;
}

/* Header'da giriş yap / kayıt butonları */
.giris-butonlari {
  display: flex;
  gap: 8px;
}
.giris-butonlari .btn-sm {
  font-size: 12px;
  padding: 6px 12px;
}

/* Sosyal Giriş Butonları */
.sosyal-giris .btn {
  font-weight: 500;
}
.sosyal-giris i {
  margin-right: 8px;
}

/* ============================================
   PAKET 3: YORUM & BİLDİRİM
   ============================================ */

/* Yorum item - geliştirilmiş */
.yorum-item {
  display: flex;
  gap: 12px;
  padding: 15px 0;
  border-bottom: 1px solid var(--border);
}
.yorum-avatar {
  width: 45px; height: 45px;
  border-radius: 50%;
  object-fit: cover;
  flex-shrink: 0;
  border: 1px solid var(--border);
}
.yorum-icerik-kutu { flex: 1; min-width: 0; }
.yorum-ust { display: flex; gap: 8px; align-items: center; flex-wrap: wrap; margin-bottom: 6px; font-size: 14px; }
.yorum-ust .yazar { color: var(--text-primary); }
.yorum-ust .yazar a { color: var(--accent); text-decoration: none; }
.yorum-metin {
  color: var(--text-primary);
  font-size: 14px;
  line-height: 1.6;
  word-wrap: break-word;
}
.yorum-aksiyon {
  display: flex;
  gap: 6px;
  margin-top: 8px;
  align-items: center;
  flex-wrap: wrap;
}
.yorum-aksiyon button {
  background: transparent;
  border: none;
  color: var(--text-secondary);
  font-size: 12px;
  padding: 4px 8px;
  border-radius: 4px;
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  gap: 4px;
  transition: all 0.15s;
}
.yorum-aksiyon button:hover { background: var(--bg-secondary); color: var(--text-primary); }
.yorum-aksiyon .yorum-oy.aktif { color: var(--accent); }
.yorum-aksiyon .yorum-oy.aktif[data-oy="begenmeme"] { color: #6c757d; }

/* Yorum cevap (nested) */
.yorum-cevap {
  margin-left: 30px;
  border-bottom: none;
  padding-top: 10px;
}
.kademe-1 { border-left: 2px solid var(--border); padding-left: 15px; }
.kademe-2 { border-left: 2px solid var(--accent); padding-left: 15px; opacity: 0.95; }
.kademe-3 { border-left: 2px dashed var(--border); padding-left: 15px; opacity: 0.9; }
.cevaplar-grup { margin-top: 5px; }

@media (max-width: 575px) {
  .yorum-cevap { margin-left: 15px; }
  .kademe-1, .kademe-2, .kademe-3 { padding-left: 10px; }
}

/* Yorum sıralama */
.yorum-sirala-grup { display: flex; gap: 4px; flex-wrap: wrap; }
.yorum-sirala-grup .btn-sm { font-size: 11px; padding: 4px 10px; }

/* Yanıt formu */
.yanit-form {
  background: var(--bg-secondary);
  padding: 10px;
  border-radius: 6px;
  margin-top: 8px;
}

/* Emoji Picker */
.emoji-picker-wrap { position: relative; display: inline-block; }
.emoji-paneli {
  position: absolute;
  bottom: calc(100% + 6px);
  left: 0;
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: 8px;
  box-shadow: 0 4px 12px var(--shadow);
  padding: 8px;
  display: grid;
  grid-template-columns: repeat(9, 1fr);
  gap: 4px;
  z-index: 100;
  min-width: 270px;
}
.emoji-paneli span {
  font-size: 20px;
  padding: 4px;
  cursor: pointer;
  border-radius: 4px;
  text-align: center;
  user-select: none;
}
.emoji-paneli span:hover { background: var(--bg-secondary); }

/* Yorum karakter sayacı */
.yorum-sayac { font-size: 11px; }

/* Exit Intent Modal */
.exit-modal-arka {
  position: fixed;
  inset: 0;
  background: rgba(0,0,0,0.75);
  z-index: 9999;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 20px;
  animation: fadeIn 0.3s;
}
.exit-modal {
  background: var(--bg-card);
  color: var(--text-primary);
  border-radius: 12px;
  padding: 35px 30px;
  max-width: 450px;
  width: 100%;
  text-align: center;
  position: relative;
  animation: zoomIn 0.4s;
}
.exit-modal h3 { font-size: 24px; margin: 15px 0; }
.exit-modal p { color: var(--text-secondary); margin-bottom: 20px; }
.exit-modal .exit-icon { font-size: 56px; margin-bottom: 10px; }
.exit-modal .exit-kapat {
  position: absolute;
  top: 10px; right: 14px;
  background: transparent;
  border: none;
  font-size: 30px;
  color: var(--text-muted);
  cursor: pointer;
  line-height: 1;
  width: 36px;
  height: 36px;
}
.exit-modal .exit-kapat:hover { color: var(--text-primary); }
@keyframes fadeIn { from { opacity: 0; } to { opacity: 1; } }
@keyframes zoomIn { from { transform: scale(0.8); opacity: 0; } to { transform: scale(1); opacity: 1; } }

/* Yorum sayısı badge (haber kartlarında) */
.yorum-sayi-badge {
  display: inline-flex;
  align-items: center;
  gap: 3px;
  font-size: 11px;
  color: var(--text-muted);
}

/* Push izin butonu */
.push-izin-iste {
  background: linear-gradient(45deg, #007bff, #0056b3);
  color: #fff;
  border: none;
  padding: 8px 14px;
  border-radius: 6px;
  font-size: 13px;
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  gap: 6px;
  margin: 10px 0;
  display: none;
}
.push-izin-iste:hover { transform: translateY(-1px); box-shadow: 0 4px 12px rgba(0,123,255,0.3); }

/* ============================================
   PAKET 4: AKILLI ÖNERİLER & ARAMA
   ============================================ */

/* Arama Formu - Modern */
.arama-formu { margin: 20px 0 14px; }
.arama-input-grup {
  position: relative;
  display: flex;
  gap: 0;
  border-radius: 12px;
  background: var(--bg-card);
  box-shadow: 0 4px 14px rgba(0,0,0,0.06);
  border: 2px solid transparent;
  transition: border-color 0.2s;
}
.arama-input-grup:focus-within { border-color: var(--accent); }

.arama-input {
  flex: 1;
  border: none;
  background: transparent;
  padding: 16px 18px;
  font-size: 16px;
  outline: none;
  color: var(--text-primary);
  border-radius: 12px 0 0 12px;
}
.arama-input::placeholder { color: var(--text-muted); }

.arama-btn-mic,
.arama-btn-go {
  border: none;
  background: transparent;
  padding: 0 16px;
  cursor: pointer;
  color: var(--text-secondary);
  font-size: 15px;
  transition: all 0.2s;
}
.arama-btn-mic:hover { color: var(--accent); }
.arama-btn-mic.aktif { color: #ef4444; animation: pulseRed 1s infinite; }
@keyframes pulseRed { 0%,100%{transform:scale(1)} 50%{transform:scale(1.15)} }

.arama-btn-go {
  background: var(--accent);
  color: #fff;
  padding: 0 22px;
  border-radius: 0 12px 12px 0;
  font-weight: 600;
}
.arama-btn-go:hover { background: #b91c1c; }

/* Autocomplete dropdown */
.arama-oneriler {
  position: absolute;
  top: calc(100% + 4px);
  left: 0; right: 0;
  background: var(--bg-card);
  border-radius: 12px;
  box-shadow: 0 10px 30px rgba(0,0,0,0.15);
  border: 1px solid var(--border);
  max-height: 380px;
  overflow-y: auto;
  z-index: 100;
}
.arama-oneriler a {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 11px 16px;
  color: var(--text-primary);
  text-decoration: none;
  font-size: 14px;
  border-bottom: 1px solid var(--border);
}
.arama-oneriler a:last-child { border-bottom: none; }
.arama-oneriler a:hover { background: var(--bg-secondary); color: var(--accent); }
.arama-oneriler a i { color: var(--text-muted); flex-shrink: 0; }

/* Filtre Çubuğu */
.arama-filtreler {
  display: flex;
  gap: 8px;
  flex-wrap: wrap;
  align-items: center;
}
.arama-filtreler select { 
  flex: 1; 
  min-width: 130px;
  max-width: 200px;
}

/* Trending Aramalar */
.trending-aramalar {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}
.trending-item {
  background: var(--bg-secondary);
  padding: 8px 14px;
  border-radius: 20px;
  font-size: 13px;
  color: var(--text-primary);
  text-decoration: none;
  border: 1px solid var(--border);
  transition: all 0.2s;
}
.trending-item:hover {
  background: var(--accent);
  color: #fff;
  border-color: transparent;
  transform: translateY(-1px);
}
.trending-item small { opacity: 0.7; font-size: 11px; }

/* Trend Haberler Widget */
.trend-list { list-style: none; padding: 0; margin: 0; counter-reset: trend; }
.trend-list li {
  display: flex;
  gap: 12px;
  padding: 10px 0;
  border-bottom: 1px solid var(--border);
  align-items: flex-start;
}
.trend-list li:last-child { border-bottom: none; }
.trend-numara {
  font-size: 22px;
  font-weight: 800;
  background: linear-gradient(180deg, #f97316, #dc2626);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  width: 28px;
  flex-shrink: 0;
  line-height: 1;
}
.trend-list a {
  text-decoration: none;
  color: var(--text-primary);
  display: block;
}
.trend-list a strong {
  display: block;
  font-size: 13px;
  font-weight: 600;
  line-height: 1.35;
  margin-bottom: 3px;
}
.trend-list a small { color: var(--text-muted); font-size: 11px; }
.trend-list a:hover strong { color: var(--accent); }

/* En çok yorumlanan widget */
.yorum-pop-list { list-style: none; padding: 0; margin: 0; }
.yorum-pop-list li { padding: 9px 0; border-bottom: 1px solid var(--border); }
.yorum-pop-list li:last-child { border-bottom: none; }
.yorum-pop-list a {
  text-decoration: none;
  color: var(--text-primary);
  display: flex;
  justify-content: space-between;
  gap: 10px;
  align-items: center;
}
.yorum-pop-list strong { font-size: 13px; font-weight: 500; line-height: 1.35; flex: 1; }
.yorum-pop-list a:hover strong { color: var(--accent); }
.yorum-pop-sayi {
  background: var(--accent);
  color: #fff;
  font-size: 11px;
  padding: 3px 9px;
  border-radius: 20px;
  white-space: nowrap;
  font-weight: 600;
}

/* Editörün Seçimleri */
.editor-secim-kart {
  display: flex;
  gap: 10px;
  padding: 10px 0;
  border-bottom: 1px solid var(--border);
  text-decoration: none;
  color: var(--text-primary);
}
.editor-secim-kart:last-child { border-bottom: none; }
.editor-secim-kart img {
  width: 75px; height: 55px;
  border-radius: 6px;
  object-fit: cover;
  flex-shrink: 0;
}
.editor-secim-kart h6 {
  font-size: 12.5px;
  margin: 4px 0 0;
  line-height: 1.4;
  font-weight: 600;
}
.editor-secim-kart:hover h6 { color: var(--accent); }
.editor-secim-kart .kategori-rozet {
  display: inline-block;
  color: #fff;
  font-size: 9.5px;
  padding: 1.5px 7px;
  border-radius: 3px;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  font-weight: 700;
}

/* Etiket Bulutu */
.etiket-bulutu {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
  line-height: 2;
}
.etiket-bulutu a {
  color: var(--text-secondary);
  text-decoration: none;
  padding: 3px 9px;
  border-radius: 14px;
  background: var(--bg-secondary);
  transition: all 0.2s;
  border: 1px solid transparent;
}
.etiket-bulutu a:hover {
  background: var(--accent);
  color: #fff;
  transform: translateY(-1px);
}

/* "Bunu da okuyun" widget */
.bunu-da-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(180px, 1fr));
  gap: 12px;
  margin-top: 20px;
}
.bunu-da-kart {
  text-decoration: none;
  color: inherit;
  border-radius: 10px;
  overflow: hidden;
  background: var(--bg-card);
  border: 1px solid var(--border);
  transition: all 0.2s;
  display: block;
}
.bunu-da-kart:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 20px rgba(0,0,0,0.08);
  color: inherit;
}
.bunu-da-kart img { width: 100%; height: 100px; object-fit: cover; }
.bunu-da-kart .ic { padding: 10px 12px; }
.bunu-da-kart h6 { font-size: 12.5px; margin: 0; line-height: 1.35; font-weight: 600; }

/* Yazarın diğer yazıları */
.yazardan-diger {
  margin-top: 24px;
  padding: 16px;
  background: var(--bg-secondary);
  border-radius: 10px;
  border-left: 3px solid var(--accent);
}
.yazardan-diger h5 { font-size: 14px; margin: 0 0 10px; font-weight: 700; }
.yazardan-diger ul { list-style: none; padding: 0; margin: 0; }
.yazardan-diger li { padding: 6px 0; border-bottom: 1px dashed var(--border); }
.yazardan-diger li:last-child { border-bottom: none; }
.yazardan-diger a {
  color: var(--text-primary);
  text-decoration: none;
  font-size: 13px;
}
.yazardan-diger a:hover { color: var(--accent); }

/* Daha fazla göster butonu */
.daha-fazla-btn {
  display: block;
  margin: 30px auto;
  padding: 12px 28px;
  background: var(--accent);
  color: #fff;
  border: none;
  border-radius: 10px;
  font-weight: 600;
  cursor: pointer;
  transition: all 0.2s;
}
.daha-fazla-btn:hover { background: #b91c1c; transform: translateY(-1px); box-shadow: 0 6px 14px rgba(220,38,38,0.3); }
.daha-fazla-btn:disabled { opacity: 0.6; cursor: not-allowed; }

/* Editörün seçimi stripe (anasayfa) */
.editor-stripe {
  background: linear-gradient(135deg, #fef3c7 0%, #fde68a 100%);
  border-radius: 14px;
  padding: 22px;
  margin: 30px 0;
}
.editor-stripe h3 {
  margin: 0 0 16px;
  font-size: 18px;
  font-weight: 800;
  color: #92400e;
  display: flex;
  align-items: center;
  gap: 10px;
}
.editor-stripe-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 14px;
}
.editor-stripe-kart {
  background: #fff;
  border-radius: 10px;
  overflow: hidden;
  text-decoration: none;
  color: inherit;
  transition: all 0.25s;
  display: block;
}
.editor-stripe-kart:hover { transform: translateY(-3px); box-shadow: 0 12px 24px rgba(0,0,0,0.1); color: inherit; }
.editor-stripe-kart img { width: 100%; height: 140px; object-fit: cover; }
.editor-stripe-kart .ic { padding: 14px; }
.editor-stripe-kart h5 { font-size: 14px; margin: 0; line-height: 1.4; font-weight: 700; }

@media (max-width: 575px) {
  .arama-input { font-size: 14px; padding: 12px 14px; }
  .arama-btn-go { padding: 0 14px; font-size: 13px; }
  .arama-btn-go span { display: none; }
  .arama-filtreler select { font-size: 12px; }
}

/* ============================================
   PAKET 5: GÖRSEL / PERFORMANS / PWA
   ============================================ */

/* Lazy loading fade-in efekti */
img[loading="lazy"] {
  opacity: 0;
  transition: opacity 0.4s ease;
}
img[loading="lazy"].loaded,
img[loading="lazy"][src]:not([data-src]) {
  opacity: 1;
}

/* Blur-up placeholder */
img.blur-up {
  filter: blur(8px);
  transition: filter 0.4s ease;
}
img.blur-up.loaded {
  filter: blur(0);
}

/* Reading Progress Bar */
.scroll-progress {
  position: fixed;
  top: 0;
  left: 0;
  height: 4px;
  width: 0;
  background: linear-gradient(90deg, #dc3545, #f97316, #fbbf24);
  z-index: 9998;
  transition: width 0.1s linear;
  box-shadow: 0 1px 4px rgba(220,38,38,0.4);
}

/* Sticky Sosyal Medya (Sol Tarafta) */
.sosyal-sticky {
  position: fixed;
  left: 12px;
  top: 50%;
  transform: translateY(-50%);
  display: flex;
  flex-direction: column;
  gap: 8px;
  z-index: 100;
}
.sosyal-sticky a,
.sosyal-sticky button {
  width: 42px;
  height: 42px;
  border-radius: 10px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #fff;
  text-decoration: none;
  border: none;
  cursor: pointer;
  font-size: 16px;
  transition: all 0.2s;
  box-shadow: 0 4px 10px rgba(0,0,0,0.1);
}
.sosyal-sticky a:hover,
.sosyal-sticky button:hover {
  transform: translateX(3px) scale(1.05);
  box-shadow: 0 6px 16px rgba(0,0,0,0.2);
}

@media (max-width: 991px) {
  .sosyal-sticky { display: none; }
}

/* Mobile Bottom Navigation */
.mobile-bottom-nav {
  display: none;
  position: fixed;
  bottom: 0;
  left: 0;
  right: 0;
  background: var(--bg-card, #fff);
  border-top: 1px solid var(--border, #e2e8f0);
  z-index: 1000;
  padding: 8px 0 calc(8px + env(safe-area-inset-bottom));
  box-shadow: 0 -2px 10px rgba(0,0,0,0.05);
}
.mobile-bottom-nav {
  display: none;
}
@media (max-width: 768px) {
  .mobile-bottom-nav {
    display: flex;
    justify-content: space-around;
  }
  body.has-bottom-nav {
    padding-bottom: 70px !important;
  }
}
.mb-nav-item {
  flex: 1;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 3px;
  padding: 6px 0;
  text-decoration: none;
  color: var(--text-muted, #94a3b8);
  font-size: 11px;
  font-weight: 500;
  transition: color 0.2s;
}
.mb-nav-item i {
  font-size: 20px;
}
.mb-nav-item.active,
.mb-nav-item:hover {
  color: var(--accent, #dc3545);
}

/* PWA Install Banner */
.pwa-install-banner {
  position: fixed;
  bottom: 16px;
  left: 16px;
  right: 16px;
  max-width: 480px;
  margin: 0 auto;
  background: linear-gradient(135deg, #6366f1, #8b5cf6);
  color: #fff;
  padding: 16px 18px;
  border-radius: 16px;
  display: flex;
  align-items: center;
  gap: 12px;
  z-index: 9999;
  box-shadow: 0 12px 30px rgba(99,102,241,0.4);
  transform: translateY(100px);
  opacity: 0;
  transition: all 0.4s cubic-bezier(0.34, 1.56, 0.64, 1);
}
.pwa-install-banner.aktif {
  transform: translateY(0);
  opacity: 1;
}
.pwa-icon {
  font-size: 36px;
  flex-shrink: 0;
}
.pwa-info { flex: 1; min-width: 0; }
.pwa-info strong { display: block; font-size: 14px; }
.pwa-info small { display: block; font-size: 11px; opacity: 0.9; margin-top: 2px; }
.pwa-actions { display: flex; gap: 6px; flex-shrink: 0; }
.pwa-yukle, .pwa-kapat {
  border: none;
  padding: 8px 14px;
  border-radius: 8px;
  font-size: 12px;
  font-weight: 600;
  cursor: pointer;
}
.pwa-yukle {
  background: #fff;
  color: #6366f1;
}
.pwa-kapat {
  background: rgba(255,255,255,0.2);
  color: #fff;
}

@media (max-width: 575px) {
  .pwa-install-banner { left: 10px; right: 10px; bottom: 78px; padding: 12px; }
  .pwa-icon { font-size: 28px; }
}

/* Bottom nav varken pwa banner yukarı kaydırılsın */
body.has-bottom-nav .pwa-install-banner {
  bottom: 78px;
}

/* Print Friendly */
@media print {
  header, nav, footer, aside, .sosyal-sticky, .mobile-bottom-nav,
  .scroll-progress, .pwa-install-banner, .reklam-alani, .widget,
  .yorum-listesi, .paylas-butonlar, [data-print] {
    display: none !important;
  }
  
  body {
    background: #fff !important;
    color: #000 !important;
    font-family: Georgia, serif !important;
    font-size: 12pt !important;
  }
  
  .haber-icerik, .yazi-icerik {
    max-width: 100% !important;
    margin: 0 !important;
    padding: 0 !important;
  }
  
  .haber-icerik h1 { font-size: 22pt !important; margin-bottom: 12pt !important; }
  .haber-icerik h2, .haber-icerik h3 { page-break-after: avoid; }
  .haber-icerik p { orphans: 3; widows: 3; line-height: 1.5; }
  
  a { color: #000 !important; text-decoration: underline !important; }
  a[href]:after { content: " (" attr(href) ")"; font-size: 9pt; color: #666; }
  
  img { max-width: 100% !important; page-break-inside: avoid; }
  
  .breadcrumb, .haber-meta { font-size: 9pt; color: #666; }
}

/* Skeleton screens (yükleme placeholderları) */
@keyframes skeleton-loading {
  0% { background-position: -200% 0; }
  100% { background-position: 200% 0; }
}
.skeleton {
  background: linear-gradient(90deg, #e2e8f0 25%, #f1f5f9 50%, #e2e8f0 75%);
  background-size: 200% 100%;
  animation: skeleton-loading 1.5s infinite;
  border-radius: 4px;
}

/* Auto-refresh manşet indicator */
.refreshing-indicator {
  position: fixed;
  top: 70px;
  right: 16px;
  background: rgba(0,0,0,0.85);
  color: #fff;
  padding: 8px 14px;
  border-radius: 20px;
  font-size: 12px;
  z-index: 9997;
  display: flex;
  align-items: center;
  gap: 6px;
}
.refreshing-indicator i {
  animation: spin 1s linear infinite;
}

/* Image responsive helpers */
img.responsive {
  width: 100%;
  height: auto;
  display: block;
}

/* Aspect ratio kutuları (CLS önler) */
.ar-16-9 { aspect-ratio: 16/9; }
.ar-4-3 { aspect-ratio: 4/3; }
.ar-1-1 { aspect-ratio: 1/1; }
.ar-21-9 { aspect-ratio: 21/9; }
.ar-16-9 img, .ar-4-3 img, .ar-1-1 img, .ar-21-9 img {
  width: 100%; height: 100%; object-fit: cover;
}

/* ================================
   MODERN BUTON SİSTEMİ - HEADER & FOOTER
   ================================ */

/* Header sağ tarafındaki aksiyon grubu - kendi col'da kal */
.header-aksiyonlar {
  display: flex;
  align-items: center;
  justify-content: flex-end;
  gap: 6px;
  margin-top: 10px;
  flex-wrap: wrap; /* Sığmazsa alt satıra geç */
  position: relative; /* Reklama girmesin */
  z-index: 2;
  max-width: 100%;
}

/* Sosyal ikonlar grubu */
.sosyal-grup {
  display: flex;
  align-items: center;
  gap: 4px;
}

/* Genel ikon buton (sosyal, tema, vs.) */
.ikon-btn {
  display: inline-flex !important;
  align-items: center;
  justify-content: center;
  width: 34px;
  height: 34px;
  border-radius: 50%;
  background: #f3f4f6;
  color: #4b5563;
  border: none;
  cursor: pointer;
  font-size: 14px;
  transition: all .2s ease;
  text-decoration: none !important;
  padding: 0;
  position: relative;
  flex-shrink: 0;
}
.ikon-btn:hover {
  transform: translateY(-2px);
  box-shadow: 0 4px 12px rgba(0,0,0,.12);
  text-decoration: none;
}

/* Sosyal brand renkleri */
.ikon-btn.facebook:hover { background: #1877f2; color: #fff; }
.ikon-btn.twitter:hover { background: #000; color: #fff; }
.ikon-btn.instagram:hover { 
  background: linear-gradient(45deg, #f09433, #e6683c, #dc2743, #cc2366, #bc1888);
  color: #fff;
}
.ikon-btn.youtube:hover { background: #ff0000; color: #fff; }
.ikon-btn.rss:hover { background: #f97316; color: #fff; }

/* Tema toggle özelleştirme */
.ikon-btn.tema-toggle {
  background: #f3f4f6;
  margin-left: 4px;
}
.ikon-btn.tema-toggle:hover { background: #1f2937; color: #fbbf24; }
.ikon-btn.tema-toggle .gunes { display: none; }
[data-theme="dark"] .ikon-btn.tema-toggle .ay { display: none; }
[data-theme="dark"] .ikon-btn.tema-toggle .gunes { display: inline-block; color: #fbbf24; }

/* Giriş/Kayıt butonları - kompakt modern */
.giris-butonlari {
  display: flex;
  align-items: center;
  gap: 6px;
  margin-left: 6px;
}
.btn-uye {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  height: 34px;
  padding: 0 14px;
  border-radius: 17px;
  font-size: 13px;
  font-weight: 600;
  text-decoration: none !important;
  white-space: nowrap;
  transition: all .2s ease;
  border: 1.5px solid transparent;
  line-height: 1;
}
.btn-uye.btn-giris {
  background: #fff;
  color: #374151;
  border-color: #d1d5db;
}
.btn-uye.btn-giris:hover {
  background: #f9fafb;
  border-color: #9ca3af;
  color: #111827;
}
.btn-uye.btn-kayit {
  background: var(--primary, #dc3545);
  color: #fff;
  border-color: var(--primary, #dc3545);
}
.btn-uye.btn-kayit:hover {
  background: #b91c1c;
  border-color: #b91c1c;
  color: #fff;
  transform: translateY(-1px);
  box-shadow: 0 4px 12px rgba(220,53,69,.3);
}

/* Üye dropdown butonu */
.uye-dropdown {
  position: relative;
  display: inline-block;
  margin-left: 4px;
}
.uye-dropdown-toggle {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  background: #f3f4f6;
  border: none;
  border-radius: 17px;
  padding: 2px 8px 2px 2px;
  height: 34px;
  cursor: pointer;
  transition: all .2s;
}
.uye-dropdown-toggle:hover { background: #e5e7eb; }
.uye-dropdown-toggle img {
  width: 30px;
  height: 30px;
  border-radius: 50%;
  object-fit: cover;
}
.uye-dropdown-toggle i {
  font-size: 10px;
  color: #6b7280;
}
.uye-dropdown-menu {
  display: none;
  position: absolute;
  right: 0;
  top: calc(100% + 8px);
  background: #fff;
  min-width: 240px;
  box-shadow: 0 10px 30px rgba(0,0,0,.15);
  border-radius: 12px;
  overflow: hidden;
  z-index: 1000;
}
.uye-dropdown-menu.acik { display: block; }
.uye-dropdown-menu .uye-bilgi {
  padding: 14px 18px;
  border-bottom: 1px solid #e5e7eb;
  background: #f9fafb;
}
.uye-dropdown-menu a {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 11px 18px;
  color: #374151;
  text-decoration: none;
  font-size: 14px;
  transition: background .15s;
}
.uye-dropdown-menu a:hover { background: #f3f4f6; color: #111827; }
.uye-dropdown-menu a i { width: 16px; text-align: center; color: #6b7280; }
.uye-dropdown-menu .cikis-link { color: #dc2626 !important; }
.uye-dropdown-menu .cikis-link i { color: #dc2626; }
.uye-dropdown-menu .ayirici-cizgi {
  height: 1px;
  background: #e5e7eb;
  margin: 4px 0;
}
.uye-dropdown-menu .bildirim-sayisi {
  margin-left: auto;
  background: #dc2626;
  color: #fff;
  font-size: 11px;
  padding: 2px 7px;
  border-radius: 10px;
  font-weight: 600;
}

/* Footer modern sosyal grup */
.footer-social {
  display: flex;
  gap: 8px;
  margin-top: 14px;
  flex-wrap: wrap;
}
.footer-social .ikon-btn {
  width: 38px;
  height: 38px;
  font-size: 15px;
  background: rgba(255,255,255,.08);
  color: rgba(255,255,255,.85);
}
.footer-social .ikon-btn:hover {
  background: rgba(255,255,255,.15);
}

/* Eski .social-links class'ını da modernize et */
.social-links {
  display: flex;
  align-items: center;
  gap: 4px;
  flex-wrap: nowrap;
}
.social-links a {
  width: 34px !important;
  height: 34px !important;
  background: #f3f4f6 !important;
  border-radius: 50% !important;
  color: #4b5563 !important;
  margin: 0 !important;
  transition: all .2s ease !important;
  display: inline-flex !important;
  align-items: center;
  justify-content: center;
  text-decoration: none !important;
}
.social-links a:hover {
  transform: translateY(-2px);
  box-shadow: 0 4px 12px rgba(0,0,0,.12);
}

/* Search form modern */
.search-form {
  display: flex;
  align-items: center;
  background: #fff;
  border: 1.5px solid #e5e7eb;
  border-radius: 22px;
  overflow: hidden;
  transition: all .2s;
  height: 40px;
}
.search-form:focus-within {
  border-color: var(--primary, #dc3545);
  box-shadow: 0 0 0 3px rgba(220,53,69,.1);
}
.search-form input {
  flex: 1;
  border: none;
  outline: none;
  padding: 0 14px;
  font-size: 14px;
  background: transparent;
  height: 100%;
}
.search-form button {
  background: var(--primary, #dc3545);
  border: none;
  color: #fff;
  width: 38px;
  height: 100%;
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
  margin: 2px;
  transition: background .2s;
}
.search-form button:hover {
  background: #b91c1c;
}

/* Mobile uyum */
@media (max-width: 991px) {
  .header-aksiyonlar {
    justify-content: center;
    flex-wrap: wrap;
  }
  .uye-dropdown-toggle img {
    width: 28px;
    height: 28px;
  }
}
@media (max-width: 480px) {
  .header-aksiyonlar {
    gap: 4px;
  }
  .ikon-btn {
    width: 32px;
    height: 32px;
    font-size: 13px;
  }
  .btn-uye {
    padding: 0 10px;
    font-size: 12px;
    height: 32px;
  }
}

/* Trend Liste - resimli modern */
.widget-trend .trend-list {
  list-style: none;
  padding: 0;
  margin: 0;
  counter-reset: trend;
}
.widget-trend .trend-list li {
  margin-bottom: 10px;
  border-bottom: 1px solid #f1f5f9;
  padding-bottom: 10px;
}
.widget-trend .trend-list li:last-child { border-bottom: none; }
.widget-trend .trend-item {
  display: flex;
  align-items: center;
  gap: 10px;
  text-decoration: none;
  color: #1f2937;
  transition: color .2s;
}
.widget-trend .trend-item:hover { color: var(--primary, #dc3545); }
.widget-trend .trend-no {
  background: linear-gradient(135deg, #dc3545, #ef4444);
  color: #fff;
  width: 26px;
  height: 26px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 800;
  font-size: 13px;
  flex-shrink: 0;
}
.widget-trend .trend-resim {
  width: 55px;
  height: 42px;
  object-fit: cover;
  border-radius: 6px;
  flex-shrink: 0;
}
.widget-trend .trend-baslik {
  font-size: 13px;
  font-weight: 500;
  line-height: 1.35;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

/* ================================
   MODERN PAYLAŞ BUTONLARI (Alt - haber detay)
   ================================ */
.paylas-butonlar-modern {
  margin: 28px 0 24px;
  padding: 20px;
  background: #f9fafb;
  border-radius: 14px;
  border: 1px solid #e5e7eb;
}
.paylas-label {
  display: flex;
  align-items: center;
  gap: 8px;
  font-weight: 700;
  font-size: 14px;
  color: #374151;
  margin-bottom: 14px;
  text-transform: uppercase;
  letter-spacing: .5px;
}
.paylas-label i { color: var(--primary, #dc3545); }

.paylas-butonlar-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(120px, 1fr));
  gap: 10px;
}

.paylas-btn-m {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 11px 16px;
  border: none;
  border-radius: 10px;
  font-size: 13px;
  font-weight: 600;
  color: #fff;
  cursor: pointer;
  transition: all .2s ease;
  white-space: nowrap;
  min-height: 42px;
  text-decoration: none;
  font-family: inherit;
}
.paylas-btn-m i { font-size: 15px; }
.paylas-btn-m:hover {
  transform: translateY(-2px);
  box-shadow: 0 6px 16px rgba(0,0,0,.15);
  color: #fff;
}

/* Brand renkleri - 2026 modern */
.paylas-btn-m.pbm-fb   { background: #1877f2; }
.paylas-btn-m.pbm-fb:hover { background: #0d65d9; }
.paylas-btn-m.pbm-x    { background: #000; }
.paylas-btn-m.pbm-x:hover { background: #1f2937; }
.paylas-btn-m.pbm-wa   { background: #25d366; }
.paylas-btn-m.pbm-wa:hover { background: #1da855; }
.paylas-btn-m.pbm-tg   { background: #229ed9; }
.paylas-btn-m.pbm-tg:hover { background: #1a85b8; }
.paylas-btn-m.pbm-ln   { background: #0a66c2; }
.paylas-btn-m.pbm-ln:hover { background: #084d96; }
.paylas-btn-m.pbm-mail { background: #6b7280; }
.paylas-btn-m.pbm-mail:hover { background: #4b5563; }
.paylas-btn-m.pbm-copy { background: #1f2937; }
.paylas-btn-m.pbm-copy:hover { background: #111827; }

/* RESPONSIVE - mobil */
@media (max-width: 768px) {
  .paylas-butonlar-modern {
    padding: 14px;
    margin: 20px 0 16px;
    border-radius: 12px;
  }
  .paylas-butonlar-grid {
    grid-template-columns: repeat(auto-fit, minmax(95px, 1fr));
    gap: 8px;
  }
  .paylas-btn-m {
    padding: 9px 10px;
    font-size: 12px;
    min-height: 38px;
    gap: 6px;
  }
  .paylas-btn-m i { font-size: 13px; }
}
@media (max-width: 480px) {
  /* Çok dar ekranda 2 sütun, kompakt */
  .paylas-butonlar-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 6px;
  }
  .paylas-btn-m {
    padding: 10px 8px;
    font-size: 12px;
  }
  /* Çok dar ekranda yazılar sadece kısaltıldı, ikonlar net görünür */
  .paylas-btn-m span { font-size: 11px; }
}

/* Eski "paylas-butonlar" class'ı varsa - eski CSS'i bastır */
.paylas-butonlar { display: none !important; }

/* ================================
   X (TWITTER) İCON FALLBACK
   Font Awesome bazı CDN cache durumlarında fa-x-twitter glyph'i göstermiyor.
   CSS ile garantili SVG mask fallback.
   ================================ */
.fab.fa-x-twitter {
  font-family: 'Font Awesome 6 Brands', sans-serif;
}
/* FA yüklenmediyse veya glyph yoksa, içine SVG koy */
.fab.fa-x-twitter::before {
  content: '\e61b'; /* FA 6.4+ x-twitter unicode */
}
/* Safe fallback - eğer hiç görünmüyorsa, mask ile SVG */
@supports (mask: url('')) {
  .fab.fa-x-twitter {
    display: inline-block;
    width: 1em;
    height: 1em;
    -webkit-mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 512 512'%3E%3Cpath fill='black' d='M389.2 48h70.6L305.6 224.2 487 464H345L233.7 318.6 106.5 464H35.8L200.7 275.5 26.8 48H172.4L272.9 180.9 389.2 48zM364.4 421.8h39.1L151.1 88h-42L364.4 421.8z'/%3E%3C/svg%3E") no-repeat center / contain;
    mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 512 512'%3E%3Cpath fill='black' d='M389.2 48h70.6L305.6 224.2 487 464H345L233.7 318.6 106.5 464H35.8L200.7 275.5 26.8 48H172.4L272.9 180.9 389.2 48zM364.4 421.8h39.1L151.1 88h-42L364.4 421.8z'/%3E%3C/svg%3E") no-repeat center / contain;
    background-color: currentColor;
    vertical-align: -.125em;
  }
  .fab.fa-x-twitter::before { content: none; }
}
