/* ================================================================
   FutbolX — HABER DETAY SAYFASI (01.09.2026)
   Mozaik dilinde tam yeniden tasarım. Şablonun (pages/haber_detay.php)
   HTML'i değişmez; yalnız görünüm. fx-mozaik.css'ten SONRA yüklenir.
   ================================================================ */

/* ---------------- Sayfa kabuğu ---------------- */
.haberDetay{
  background:#fff; padding:34px 40px 40px; box-shadow:0 1px 2px rgba(11,11,13,.06);
  position:relative;
}
.haberDetay:before{
  content:""; position:absolute; top:0; left:0; right:0; height:4px;
  background:linear-gradient(90deg,var(--fxm-kr) 0%,var(--fxm-kr) 22%,var(--fxm-sy) 22%,var(--fxm-sy) 100%);
}

/* ---------------- Üst satır: kategori + okunma ---------------- */
.haberDetay #breadcrumbs.breadcrumbs{
  display:flex; align-items:center; justify-content:space-between; gap:16px;
  border:0 !important; padding:0 0 18px; margin:0;
}
.haberDetay #breadcrumbs a{
  display:inline-block; background:var(--fxm-kr); color:#fff !important;
  font-size:11px; font-weight:900; letter-spacing:.14em; text-transform:uppercase;
  padding:7px 14px; border-radius:0; text-decoration:none;
}
.haberDetay #breadcrumbs a:hover{ background:var(--fxm-sy); }
.haberDetay #breadcrumbs p{
  margin:0; font-size:12px; font-weight:700; color:var(--fxm-tx2);
  letter-spacing:.05em; white-space:nowrap;
}

/* ---------------- Başlık ---------------- */
.haberDetay h1{
  font-size:42px; line-height:1.12; font-weight:900; letter-spacing:-.03em;
  color:var(--fxm-sy); margin:0 0 18px;
}

/* ---------------- Spot (giriş paragrafı) ---------------- */
.haberDetay h1 + p{
  font-size:19px; line-height:1.62; color:#3a3f47; font-weight:500;
  margin:0 0 22px; padding-left:18px; border-left:4px solid var(--fxm-kr);
}

/* ---------------- Meta / tarih ---------------- */
.haberDetay .tarih{
  display:flex; align-items:center; justify-content:space-between; gap:18px;
  flex-wrap:wrap; padding:14px 0; margin:0 0 4px;
  border-top:1px solid var(--fxm-ln); border-bottom:1px solid var(--fxm-ln);
}
.haberDetay .tarih strong{
  font-size:12px; font-weight:800; letter-spacing:.08em; text-transform:uppercase;
  color:var(--fxm-tx2);
}
.haberDetay .tarih time{ color:var(--fxm-sy); }

/* ---------------- Kapak görseli ---------------- */
.haberDetay .position-relative.mb-10.mt-30{
  margin:24px 0 8px !important; position:relative; overflow:hidden;
}
.haberDetay .position-relative.mb-10.mt-30 img{
  width:100%; height:auto; display:block; border-radius:0;
}
.haberDetay .position-relative.mb-10.mt-30:after{
  content:""; position:absolute; left:0; bottom:0; width:96px; height:5px;
  background:var(--fxm-kr);
}

/* ---------------- Gövde metni ---------------- */
.haberDetay p{ font-size:17.5px; line-height:1.82; color:#23272e; margin:0 0 22px; }
.haberDetay p strong, .haberDetay p b{ color:var(--fxm-sy); font-weight:800; }
.haberDetay a.etiket-link{
  color:var(--fxm-kr); font-weight:700; text-decoration:none;
  border-bottom:1px solid rgba(229,9,30,.35);
}
.haberDetay a.etiket-link:hover{ background:rgba(229,9,30,.07); }
.haberDetay h2, .haberDetay h3, .haberDetay h4{
  font-weight:900; letter-spacing:-.02em; color:var(--fxm-sy); margin:30px 0 14px;
}
.haberDetay h2{ font-size:26px; } .haberDetay h3{ font-size:21px; }
.haberDetay blockquote{
  margin:26px 0; padding:20px 24px; background:var(--fxm-gr);
  border-left:5px solid var(--fxm-kr); font-size:19px; line-height:1.6; font-weight:600;
}
.haberDetay img{ max-width:100%; height:auto; }
.haberDetay ul:not(.item-inline):not(.social-default), .haberDetay ol{ margin:0 0 22px 20px; }
.haberDetay ul:not(.item-inline):not(.social-default) li, .haberDetay ol li{
  font-size:17px; line-height:1.75; margin-bottom:8px;
}

/* ---------------- Paylaşım ---------------- */
.haberDetay .post-share-area{
  background:var(--fxm-sy) !important; box-shadow:none !important; border-radius:0 !important;
  padding:16px 20px !important; margin:32px 0 !important; position:relative;
}
.haberDetay .post-share-area:before{
  content:"PAYLAŞ"; position:absolute; left:20px; top:50%; transform:translateY(-50%);
  color:#6d727b; font-size:11px; font-weight:900; letter-spacing:.16em;
}
.haberDetay .post-share-area ul.social-default{
  display:flex; gap:8px; justify-content:flex-end; margin:0; padding:0; list-style:none;
}
.haberDetay .post-share-area ul.social-default li{ margin:0 !important; }
.haberDetay .post-share-area ul.social-default a{
  display:flex; align-items:center; justify-content:center;
  width:42px; height:42px; border-radius:0 !important;
  background:rgba(255,255,255,.08) !important; color:#fff !important;
  border:1px solid rgba(255,255,255,.16) !important; transition:.2s;
}
.haberDetay .post-share-area ul.social-default a i{ color:#fff !important; font-size:15px; }
.haberDetay .post-share-area a.facebook:hover{ background:#1877f2 !important; border-color:#1877f2 !important; }
.haberDetay .post-share-area a.twitter:hover{ background:#000 !important; border-color:#fff !important; }
.haberDetay .post-share-area a.pinterest:hover{ background:#e60023 !important; border-color:#e60023 !important; }
.haberDetay .post-share-area a.linkedin:hover{ background:#0a66c2 !important; border-color:#0a66c2 !important; }
.haberDetay .post-share-area a.whatsapp:hover{ background:#25d366 !important; border-color:#25d366 !important; }

/* ---------------- Tepkiler ---------------- */
.haberDetay .emoji-box{
  background:var(--fxm-gr); padding:22px 18px 18px; margin:0 0 30px;
  border-top:3px solid var(--fxm-sy); display:flex; flex-wrap:wrap;
  justify-content:center; gap:10px; position:relative;
}
.haberDetay .emoji-box .emoji{
  background:#fff; padding:12px 10px 10px; min-width:96px; text-align:center;
  border:1px solid var(--fxm-ln); cursor:pointer; transition:.2s;
}
.haberDetay .emoji-box .emoji:hover{
  border-color:var(--fxm-kr); transform:translateY(-3px);
  box-shadow:0 10px 22px rgba(11,11,13,.10);
}
.haberDetay .emoji-box .emoji-icon{ width:34px; height:34px; }
.haberDetay .emoji-box .emoji-count{
  font-size:12px; font-weight:900; color:var(--fxm-kr); margin-top:4px;
}
.haberDetay .emoji-box .emoji-text{
  font-size:11px; font-weight:800; letter-spacing:.06em; text-transform:uppercase;
  color:var(--fxm-tx2); margin-top:5px;
}

/* ---------------- Etiketler ---------------- */
.haberDetay ul.blog-tags{
  display:flex; flex-wrap:wrap; gap:7px; margin:0 0 34px; padding:0; list-style:none;
}
.haberDetay ul.blog-tags li{ margin:0 !important; }
.haberDetay ul.blog-tags li:first-child a,
.haberDetay ul.blog-tags li:first-child span,
.haberDetay ul.blog-tags > li:first-child{
  background:var(--fxm-sy) !important; color:#fff !important;
}
.haberDetay ul.blog-tags a{
  display:inline-block; padding:7px 12px; background:#fff; color:var(--fxm-sy) !important;
  border:1px solid var(--fxm-ln); border-radius:0 !important;
  font-size:12px; font-weight:700; text-decoration:none; transition:.18s;
}
.haberDetay ul.blog-tags a:hover{
  background:var(--fxm-kr); color:#fff !important; border-color:var(--fxm-kr);
}

/* ---------------- Yorumlar ---------------- */
.haberDetay h2.title-semibold-dark{
  font-size:22px !important; font-weight:900 !important; text-transform:uppercase;
  letter-spacing:-.01em; border:0 !important; padding:0 0 12px !important;
  margin:34px 0 20px !important; position:relative;
}
.haberDetay h2.title-semibold-dark:after{
  content:""; position:absolute; left:0; bottom:0; width:56px; height:3px; background:var(--fxm-kr);
}
.haberDetay input[type=text], .haberDetay input[type=email], .haberDetay textarea{
  width:100%; border:1px solid var(--fxm-ln) !important; border-radius:0 !important;
  padding:13px 14px; font-size:15px; background:#fff; transition:.18s; outline:none;
}
.haberDetay input[type=text]:focus, .haberDetay input[type=email]:focus, .haberDetay textarea:focus{
  border-color:var(--fxm-sy) !important; box-shadow:0 0 0 3px rgba(11,11,13,.06);
}
.haberDetay button[type=submit], .haberDetay .btn{
  background:var(--fxm-sy) !important; color:#fff !important; border:0 !important;
  border-radius:0 !important; font-weight:900; letter-spacing:.1em; text-transform:uppercase;
  padding:14px 26px; font-size:12px;
}
.haberDetay button[type=submit]:hover, .haberDetay .btn:hover{ background:var(--fxm-kr) !important; }
.haberDetay .alert, .haberDetay .alert-info{
  background:var(--fxm-gr) !important; border:0 !important; border-left:4px solid var(--fxm-kr) !important;
  border-radius:0 !important; color:var(--fxm-sy) !important; font-size:14px;
}

/* ---------------- Kenar çubuğu ---------------- */
.ne-sidebar .sidebar-box{ background:#fff; box-shadow:0 1px 2px rgba(11,11,13,.06); margin-bottom:16px; }
.ne-sidebar .sidebar-box .topic-border{ margin:0 !important; }
.ne-sidebar .sidebar-box .g-ads{ padding:0; }
.ne-sidebar .sidebar-box .row{ padding:14px 14px 4px; margin:0; }
.ne-sidebar .sidebar-box .mb30-list{ padding:0 14px; }

/* servis kutucukları (Canlı Borsa / Nöbetçi / Namaz / Trafik) */
.ne-sidebar .sidebar-box a[class*="bg-"], .ne-sidebar .servis-kutu{ border-radius:0 !important; }

@media(max-width:991px){
  .haberDetay{ padding:22px 18px 26px; }
  .haberDetay h1{ font-size:28px; }
  .haberDetay h1 + p{ font-size:17px; }
  .haberDetay p{ font-size:16.5px; line-height:1.75; }
  .haberDetay .post-share-area:before{ display:none; }
  .haberDetay .post-share-area ul.social-default{ justify-content:center; }
}

/* ---------------- Okuma ilerleme çubuğu ---------------- */
#fx-okuma{
  position:fixed; top:0; left:0; height:3px; width:0; z-index:99998;
  background:linear-gradient(90deg,var(--fxm-kr),#ff6a00); transition:width .1s linear;
}

/* ---- Düzeltmeler (ekran görüntüsüyle yakalandı) ---- */
/* Kategori rozetinin ::before/::after'ı temadan MAVİ geliyordu */
.haberDetay #breadcrumbs a:before,
.haberDetay #breadcrumbs a:after{
  background:transparent !important; display:none !important;
}
/* Tepkiler: 6 kutu tek satıra sığmayıp sonuncusu alta düşüyordu */
.haberDetay .emoji-box{
  display:grid !important; grid-template-columns:repeat(6,1fr); gap:8px;
}
.haberDetay .emoji-box .emoji{ min-width:0; }
@media(max-width:767px){
  .haberDetay .emoji-box{ grid-template-columns:repeat(3,1fr); }
}

/* Tepki sayacı tema tarafından mutlak konumlanıp ikonun üstüne biniyordu */
.haberDetay .emoji-box .emoji-inner{ position:static !important; }
.haberDetay .emoji-box .emoji-count{
  position:static !important; top:auto !important; right:auto !important;
  display:block; background:transparent !important; width:auto !important;
  height:auto !important; line-height:1.2 !important; border-radius:0 !important;
}

/* ================================================================
   KENAR ÇUBUĞU — düzen onarımı (01.09.2026)
   Sorunlar: (1) reklamı olmayan `sidebar-box` kutuları 4px'lik boş
   şerit bırakıyordu, (2) bölüm başlığı tam genişlik değildi, sağında
   beyaz boşluk kalıyordu, (3) "Çok Okunanlar" satırlarında küçük
   görsel kutudan taşıyordu.
   ================================================================ */

/* (1) İçi boş reklam kutuları gizlensin */
.ne-sidebar .sidebar-box > .g-ads:empty{ display:none !important; }
.ne-sidebar .sidebar-box:not(:has(img)):not(:has(iframe)):not(:has(.topic-border)):not(:has(a)){
  display:none !important;
}

/* (2) Bölüm başlığı: tam genişlik siyah blok + kırmızı taban */
.ne-sidebar .sidebar-box .topic-border{ margin:0 !important; }
.ne-sidebar .sidebar-box .topic-border:after{ display:none !important; }
.ne-sidebar .sidebar-box .topic-box-lg{
  display:block !important; width:100% !important; text-align:left;
  padding:13px 16px !important; margin:0 !important; font-size:13px !important;
}

/* (3) Manşet haberleri ızgarası */
.ne-sidebar .sidebar-box > .row{ padding:14px 10px 4px !important; margin:0 !important; }
.ne-sidebar .sidebar-box > .row > [class*="col-"]{ padding:0 5px; margin-bottom:14px; }
.ne-sidebar .sidebar-box .title-medium-dark{ font-size:13.5px !important; line-height:1.35 !important; }

/* (4) Çok okunanlar: yatay satır, sabit küçük görsel */
.ne-sidebar .sidebar-box .mb30-list{
  padding:12px 16px !important; margin:0 !important; background:#fff !important;
  border-bottom:1px solid var(--fxm-ln);
}
.ne-sidebar .sidebar-box .mb30-list:last-child{ border-bottom:0; }
.ne-sidebar .sidebar-box .mb30-list .media{
  display:flex !important; gap:12px; align-items:flex-start;
}
.ne-sidebar .sidebar-box .mb30-list .media > a{
  flex:0 0 92px !important; width:92px !important; max-width:92px;
  overflow:hidden; display:block;
}
.ne-sidebar .sidebar-box .mb30-list .media > a img{
  width:92px !important; height:62px !important; object-fit:cover;
  display:block; aspect-ratio:auto !important;
}
.ne-sidebar .sidebar-box .mb30-list .media-body{ flex:1 1 auto; min-width:0; padding:0 !important; }
.ne-sidebar .sidebar-box .mb30-list .post-date-dark ul{ margin:0 0 5px !important; padding:0; list-style:none; }
.ne-sidebar .sidebar-box .mb30-list .post-date-dark li{ font-size:11px !important; color:var(--fxm-tx2) !important; }
.ne-sidebar .sidebar-box .mb30-list .post-date-dark i{ color:var(--fxm-kr) !important; }
.ne-sidebar .sidebar-box .mb30-list h3{ font-size:13.5px !important; line-height:1.38 !important; }

/* (5) Servis kutucukları: eşit ızgara, sert köşe */
.ne-sidebar .sidebar-box .row.servis, .ne-sidebar .sidebar-box a[class*="servis"]{ border-radius:0 !important; }

/* ================================================================
   SONRAKİ HABER (sonsuz kaydırma) — tekrarlayan kabuk gizlenir
   Uç nokta her haberi KENDİ breadcrumb'ı ve TÜM kenar çubuğuyla
   gönderiyor; bu yüzden sayfa baştan üretiliyormuş gibi görünüyordu.
   ================================================================ */
#sonraki-haber-container .breadcrumbs-area{ display:none !important; }
#sonraki-haber-container .ne-sidebar{ display:none !important; }
#sonraki-haber-container .col-lg-8{ flex:0 0 100% !important; max-width:100% !important; }
#sonraki-haber-container section{ padding-top:0 !important; }
#sonraki-haber-container .container{ padding-left:0 !important; padding-right:0 !important; max-width:100% !important; }

/* Ayraç bilerek sessiz: kalın kırmızı blok yerine ince çizgi + küçük etiket */
.fx-sonraki-ayrac{
  display:flex; align-items:center; gap:12px; margin:46px 0 22px;
}
.fx-sonraki-ayrac:before, .fx-sonraki-ayrac:after{
  content:""; flex:1; height:1px; background:var(--fxm-ln);
}
.fx-sonraki-ayrac span{
  display:inline-flex; align-items:center; gap:7px;
  font-size:10px; font-weight:800; letter-spacing:.18em;
  color:var(--fxm-tx2); background:transparent; padding:0; white-space:nowrap;
  text-transform:uppercase;
}
.fx-sonraki-ayrac span:before{
  content:""; width:5px; height:5px; background:var(--fxm-kr); border-radius:50%;
}
.fx-sonraki-yukleniyor{ text-align:center; padding:22px 0; color:var(--fxm-ln); font-size:18px; }

/* Eklenen haberde `.row` negatif kenar boşluğu + `.container` sıfırlaması
   yatay taşma yapıyordu */
#sonraki-haber-container .container{ padding-left:15px !important; padding-right:15px !important; }
#sonraki-haber-container .row{ margin-left:0 !important; margin-right:0 !important; }
#sonraki-haber-container .col-lg-8{ padding-left:0 !important; padding-right:0 !important; }
