/*
Theme Name: GazetemRU
Theme URI: https://gazetemru.com/
Author: GazetemRU
Author URI: https://gazetemru.com/
Description: GazetemRU için özelleştirilmiş WordPress haber teması.
Version: 1.0.0
Requires at least: 6.2
Tested up to: 6.6
Requires PHP: 8.1
License: GNU General Public License v2 or later
License URI: https://www.gnu.org/licenses/gpl-2.0.html
Text Domain: gazetemru_custom
Tags: news, blog, magazine, responsive, rtl-language-support
*/



/* === Genel Reset === */
* {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

body {
  font-family: Helvetica, Arial, sans-serif;
  color: #333;
  background-color: #fff;
}

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

a {
  text-decoration: none;
  color: inherit;
}

/* === Kapsayıcı === */
.genelortala {
  width: 100%;
  max-width: 1170px;
  margin: 0 auto;
  padding: 0 15px;
}

/* === Banner Alanları === */
.reklam-banner {
  text-align: center;
  margin: 15px auto;
}
.reklam-banner img {
  width: 100%;
  max-width: 1170px;
  height: auto;
  display: block;
  margin: 0 auto;
  border-radius: 4px;
}

/* === Swiper Slider === */
.swiper {
  width: 100%;
  max-width: 1170px;
  height: 400px;
  margin: 20px auto;
  overflow: hidden;
  border-radius: 0px;
  position: relative;
}

.swiper-slide {
  position: relative;
  overflow: hidden;
}

.swiper-slide img {
  width: 100%;
  height: 400px;
  object-fit: cover;
}

/* === Manşet Slide İçerik === */
.manset-slide-icerik {
  display: flex;
  height: 400px;
  width: 100%;
  overflow: hidden;
  position: relative;
}

.manset-sol {
  flex: 6;
  position: relative;
  z-index: 1;
  overflow: hidden;
}
.manset-sol img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.manset-sag {
  flex: 4;
  background-color: #c90000;
  display: flex;
  justify-content: center;
  align-items: center;
  padding: 40px;
  clip-path: polygon(12% 0, 100% 0, 100% 100%, 0% 100%);
  z-index: 2;
  margin-left: -19%;
  position: relative;
}

.manset-sag h2 {
  font-family: "Georgia", serif;
  font-size: 32px;
  font-weight: 500;
  line-height: 1.4;
  color: #fff;
  text-align: left;
  margin-left: 80px;
  max-width: 85%;
}

/* === Sayfa Numaraları (Pagination) === */
.manset-sag .kategor_manset_numaralar {
  position: absolute;
  top: 20px;
  right: 25px;
  z-index: 99;
  display: flex;
  gap: 6px;
}

.kategor_manset_numaralar {
  display: flex;
  justify-content: flex-end;
  gap: 6px;
  margin-top: 15px;
  padding-right: 20px;
}

.kategor_manset_numaralar .swiper-pagination-bullet {
  background: rgba(255, 255, 255, 0.4);
  color: white;
  border-radius: 50%;
  width: 28px;
  height: 28px;
  display: flex;
  justify-content: center;
  align-items: center;
  font-weight: bold;
  font-size: 14px;
  font-family: Arial, sans-serif;
  opacity: 1;
  cursor: pointer;
  transition: background 0.3s ease, color 0.3s ease;
}

.kategor_manset_numaralar .swiper-pagination-bullet-active {
  background: white;
  color: #c90000;
  font-weight: bold;
}

/* === Responsive: Tablet (Orta Boy) === */
@media (max-width: 1024px) {
  .swiper,
  .swiper-slide img,
  .manset-slide-icerik {
    height: 350px;
  }
  .manset-sag h2 {
    font-size: 24px;
    padding: 20px;
  }
  .manset-sag .kategor_manset_numaralar {
    top: 15px;
    right: 20px;
  }
  .kategor_manset_numaralar .swiper-pagination-bullet {
    width: 24px;
    height: 24px;
    font-size: 12px;
  }
}

/* === Manşet Altı (3’lü kutular) === */
.manset-alt-blok {
  display: flex;
  justify-content: space-between;
  gap: 10px;
  margin: 20px 0;
}

.manset-haber-kutu {
  background-color: #003366;
  width: 32%;
  padding-bottom: 28px;
  box-sizing: border-box;
  border-radius: 0;
  overflow: hidden;
}

.manset-haber-kutu img {
  width: 100%;
  height: 200px;
  object-fit: cover;
  display: block;
}

.manset-haber-kutu h3 {
  font-family: "Georgia", serif;
  font-size: 25px;
  font-weight: 500;
  line-height: 1.3;
  color: #fff;
  text-align: left;
  margin: 14px 12px 0 12px;
}

/* === Responsive: Mobil (Max 768px) === */
@media screen and (max-width: 768px) {
  .swiper {
    margin-bottom: 0 !important;
    padding-bottom: 0 !important;
    position: relative;
    height: auto !important;
  }

  .kategori_manset_iki {
    position: relative !important;
  }

  .kategor_manset_numaralar {
    position: absolute !important;
    top: 10px !important;
    right: 10px !important;
    z-index: 50 !important;
    display: flex !important;
    gap: 6px !important;
    margin: 0 !important;
    padding: 0 !important;
  }

  .kategor_manset_numaralar .swiper-pagination-bullet {
    background: rgba(255, 255, 255, 0.4);
    color: white;
    border-radius: 50%;
    width: 24px;
    height: 24px;
    display: flex;
    justify-content: center;
    align-items: center;
    font-weight: bold;
    font-size: 13px;
    font-family: Arial, sans-serif;
    opacity: 1;
    cursor: pointer;
    transition: background 0.3s ease, color 0.3s ease;
  }

  .kategor_manset_numaralar .swiper-pagination-bullet-active {
    background: white;
    color: #c90000;
    font-weight: bold;
  }

  .manset-sag {
    display: none !important;
  }

  .manset-sol {
    flex: 1 1 100%;
    width: 100%;
    margin: 0;
  }

  .manset-slide-icerik {
    position: relative !important;
    display: block !important;
    height: auto !important;
    margin: 0 !important;
    padding: 0 !important;
  }

  .swiper-slide {
    position: relative;
    padding-bottom: 0 !important;
    margin-bottom: 0 !important;
    height: auto !important;
  }

  .swiper-slide img {
    height: 220px !important;
    object-fit: cover;
    display: block;
  }

  .slider-baslik-mobil {
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    background-color: rgba(201, 0, 0, 0.95);
    color: white;
    font-size: 16px;
    padding: 10px 15px;
    text-align: center;
    font-family: Georgia, serif;
    z-index: 10;
    margin: 0;
  }

  .manset-alt-blok {
    flex-wrap: wrap;
    gap: 10px;
    justify-content: center;
    margin-top: 20px !important;
  }

  .manset-haber-kutu {
    width: 48%;
    background-color: #003366;
    overflow: hidden;
    padding-bottom: 8px !important; /* Fazla boşluk düzeltildi */
  }

  .manset-haber-kutu:nth-child(3) {
    width: 100%;
    padding-bottom: 8px !important; /* Tekli kutu da düzeltildi */
  }

  .manset-haber-kutu img {
    width: 100%;
    height: 120px;
    object-fit: cover;
    display: block;
  }

  .manset-haber-kutu h3 {
    font-size: 15px;
    line-height: 1.3;
    margin: 6px 8px 0px 8px;
    color: #fff;
    font-family: Georgia, serif;
  }
}

@media screen and (max-width: 768px) {
  .kategor_manset_numaralar .swiper-pagination-bullet {
    width: 20px !important;
    height: 20px !important;
    font-size: 11px !important;
    margin: 0 0.5px !important; /* Aradaki boşluk minimum */
    background: rgba(0, 0, 0, 0.5) !important;
    color: #fff !important;
    border: 1px solid rgba(255, 255, 255, 0.4);
    opacity: 1 !important;
  }

  .kategor_manset_numaralar .swiper-pagination-bullet-active {
    background: #ffffff !important;
    color: #c90000 !important;
    border: 1px solid #c90000 !important;
  }
}




/* ======================================================================= */
/* ===================== ORTA BLOK (9–13. HABERLER) ====================== */
/* ======================================================================= */

.orta-blok-v3 {
  max-width: 1140px;
  margin: 0 auto 30px auto; /* Alt boşluk eklendi */
  padding: 20px 15px;
}


.grid-wrapper {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  grid-template-rows: auto auto;
  gap: 20px;
  grid-template-areas:
    "buyuk buyuk dar"
    "haber11 haber12 haber13";
}

/* Grid alan konumları */
.buyuk-haber { grid-area: buyuk; }
.dar-haber { grid-area: dar; }
.haber11 { grid-area: haber11; }
.haber12 { grid-area: haber12; }
.haber13 { grid-area: haber13; }

/* Kutu yapısı */
.orta-blok-v3 .haber {
  display: flex;
  flex-direction: column;
  height: 100%;
  background-color: #c90000;
  overflow: hidden;
  border: 0px solid #c90000;
}

/* Görsel alanı */
.orta-blok-v3 .haber-img {
  flex-shrink: 0;
  height: 200px;
  overflow: hidden;
}
.orta-blok-v3 .haber-img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

/* Yazı alanı */
.orta-blok-v3 .haber-yazi {
  flex-grow: 1;
  padding: 14px 12px;
  display: flex;
  align-items: center;
  background-color: transparent;
}
.orta-blok-v3 .haber-yazi h3 {
  font-family: "Georgia", serif;
  font-size: 25px;
  font-weight: 500;
  line-height: 1.3;
  color: #fff;
  margin: 0;
  text-align: left;
}

/* Özel görsel yükseklikleri (9–10 numaralı kutular) */
.buyuk-haber .haber-img {
  height: 380px;
}
.dar-haber .haber-img {
  height: 380px;
}

/* === Orta blok ile alt reklam (banner) arası boşluk düzeltme === */
.orta-banner {
  margin-top: 20px !important;
}

/* ======================================================================= */
/* ===================== ORTA BLOK (9–13. HABERLER) SON ================== */
/* ======================================================================= */

/* === ORTA BLOK – MASAÜSTÜ DÜZELTME (9–13. haberler) === */
@media screen and (min-width: 769px) {
  .orta-blok-v3 .grid-wrapper {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    grid-template-rows: auto auto;
    gap: 20px;
    grid-template-areas:
      "buyuk buyuk dar"
      "haber11 haber12 haber13";
  }

  .orta-blok-v3 .buyuk-haber { grid-area: buyuk; }
  .orta-blok-v3 .dar-haber { grid-area: dar; }
  .orta-blok-v3 .haber11 { grid-area: haber11; }
  .orta-blok-v3 .haber12 { grid-area: haber12; }
  .orta-blok-v3 .haber13 { grid-area: haber13; }

  .orta-blok-v3 .haber-grup {
    display: contents !important;
  }
}


/* =========================================================== */
/* === ORTA BLOK – MOBİL GÖRÜNÜM (YENİ – 9 ÜSTTE, ALTTA 2’ŞERLİ) === */
/* =========================================================== */
@media screen and (max-width: 768px) {
  .orta-blok-v3 .grid-wrapper {
    display: flex;
    flex-direction: column;
    gap: 12px;
  }

  .orta-blok-v3 .buyuk-haber {
    width: 100%;
  }

  .orta-blok-v3 .haber-grup {
    display: flex;
    justify-content: space-between;
    gap: 10px;
  }

  .orta-blok-v3 .haber-grup .haber {
    width: 49%;
    background-color: #001f1a;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    height: 300px; /* Sabit yükseklik */
    overflow: hidden;
    border: none;
  }

  .orta-blok-v3 .haber-img {
    flex-shrink: 0;
    height: 160px;
    overflow: hidden;
  }

  .orta-blok-v3 .haber-img img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
  }

  .orta-blok-v3 .haber-yazi {
    flex-grow: 1;
    display: block;
    padding: 12px 10px 8px 10px;
    background-color: transparent;
  }

  .orta-blok-v3 .haber-yazi h3 {
    font-size: 14px;
    font-family: Georgia, serif;
    line-height: 1.3;
    color: #fff;
    margin: 0;
  }
}

/* ============================================================= */
/* === MOBİL – ORTA BLOK KIRMIZI BAŞLIK YÜKSEKLİK SABİTLEME ==== */
/* ============================================================= */
@media screen and (max-width: 768px) {
  /* Tüm .haber kutuları aynı yükseklikte olacak */
  .orta-blok-v3 .haber-grup .haber {
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    height: 310px; /* Burayı istersen 280px – 320px arası ayarlayabiliriz */
  }

  /* Görsel zaten sabit boyda */
  .orta-blok-v3 .haber-img {
    flex-shrink: 0;
    height: 160px;
    overflow: hidden;
  }

  /* Yazı alanı, kalan boşluğu otomatik tamamlar */
  .orta-blok-v3 .haber-yazi {
    flex-grow: 1;
    display: flex;
    align-items: center;
    padding: 10px;
  }
}


/* =========================================================== */
/* === MOBİL BOŞLUK OPTİMİZASYONU – BANNER ve BLOK GEÇİŞLERİ === */
/* =========================================================== */
@media screen and (max-width: 768px) {
  /* Header altı ilk reklam banner */
  .reklam-banner:first-of-type {
    margin-top: 10px !important; /* Burasıı header ile ilk reklam arası */
    margin-bottom: 13px !important;
  }

  /* Slider (swiper) boşlukları */
  .swiper {
    margin-top: 0 !important;
    margin-bottom: 10px !important;
  }

  /* Slider sonrası reklam banner */
  .reklam-banner + .swiper {
    margin-top: 0 !important;
  }

  .swiper + .reklam-banner {
    margin-top: 10px !important; 
    margin-bottom: 10px !important;
  }

  /* Orta banner (orta blok üstü) */
  .orta-banner {
    margin-top: 10px !important;
    margin-bottom: 10px !important;
  }

  /* Orta blok genel */
  .orta-blok-v3 {
    padding-top: 4px !important; /* Burasıı orta blok ile ikinci reklam arası */
    padding-bottom: 10px !important;
    margin-top: 0 !important;
  }
}


/* =========================================================== */
/* === MOBİL – MANŞET ALTI VE ÜSTÜ REKLAM BANNER KENAR ve YÜKSEKLİK AYARI ======== */
/* =========================================================== */
@media screen and (max-width: 768px) {
  .reklam-banner img {
    border-radius: 0 !important;        /* Kenarları köşeli yapar */
    height: auto !important;            /* Önceki otomatik yapı bozulmasın */
    min-height: 40px !important;        /* Yüksekliği hafif artırır */
    object-fit: cover !important;
  }

  .reklam-banner {
    margin-top: 10px !important;        /* Banner blok üst boşluğu */
    margin-bottom: 10px !important;     /* Banner blok alt boşluğu */
  }
}


/* =========================================================== */
/* === ALT KUTULAR BLOĞU – 4’LÜ GEÇİŞ KUTULARI (MASAÜSTÜ + MOBİL) === */
/* =========================================================== */

.alt-kutular {
  max-width: 1140px;
  margin: 20px auto 30px auto;    /* Orta blok ile aradaki genel boşluk */
  padding: 0 15px;
}

.alt-kutular-wrapper {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 20px;
}

.kutucuk {
  width: calc(25% - 15px);           /* Masaüstü: 4 kutu */
  border: 2px solid #000;
  padding: 12px;
  text-align: center;
  text-decoration: none;
  color: #000;
  transition: all 0.3s ease;
  display: flex;
  justify-content: center;
  align-items: center;
  box-sizing: border-box;
  aspect-ratio: 4 / 5;                /* Kareden biraz uzun dikdörtgen */
}

.kutucuk:hover {
  background-color: #f2f2f2;
}

.kutuiçerik h4 {
  font-size: 16px;
  font-weight: bold;
  margin-top: 6px;
  color: #000;
}

.kutuiçerik p {
  font-size: 15px;
  margin: 0;
  font-weight: 500;
  color: #000;
}

/* === MOBİL GÖRÜNÜM – 2x2 DİZİLİM VE YÜKSEKLİK === */
@media screen and (max-width: 768px) {
  .kutucuk {
    width: calc(50% - 10px);         /* Mobil: 2 yan yana */
    aspect-ratio: 4 / 5;
  }

  .alt-kutular {
    margin-top: 10px !important;
    margin-bottom: 10px !important;
  }
}


/* ================================================================= */
/* === ALT KUTULAR – ÜSTTEKİ BANNER İLE OLAN BOŞLUK DÜZENLEYİCİ === */
/* === Bu kısım, reklam banner ile alt kutular arasındaki boşluğu === */
/* === hem masaüstü hem mobilde sıfırlar.                         === */
/* === Dilerseniz margin-top değerini değiştirerek boşluğu        === */
/* === artırabilir ya da azaltabilirsiniz.                        === */
/* ================================================================= */

.reklam-banner {
  margin-bottom: 0 !important;
  padding-bottom: 0 !important;
}

.reklam-banner img {
  margin-bottom: 0 !important;
  padding-bottom: 0 !important;
  display: block;
}

.reklam-banner + .alt-kutular {
  margin-top: 0 !important; /* ← Bu satır banner ile alt kutular arasını kontrol eder */
}

.alt-kutular {
  margin-top: 0 !important; /* ← Güvenlik için fazladan sıfırlama */
  padding-top: 0 !important;
}

.alt-kutular-wrapper {
  margin-top: 0 !important;
  padding-top: 0 !important;
}

/* =========================================================== */
/* === DÜNYA GÜNDEMİ BLOĞU (4x2 Masaüstü | 2x3 Mobil) ========= */
/* =========================================================== */

.dunya-gundemi-blok {
  max-width: 1140px;
  margin: 20px auto 30px auto;
  padding: 0 15px;
}

/* Başlık ve Turuncu Bant */
.dunya-gundemi-baslik {
  margin-bottom: 20px;
  position: relative;
}
.dunya-gundemi-baslik h2 {
  font-size: 28px;
  font-weight: bold;
  color: #e67300; /* Turuncu */
  margin-bottom: 8px;
  font-family: Georgia, serif;
}
.turuncu-bant {
  height: 6px;
  background-color: #e67300;
  width: 100%;
}

/* Kutular Genel */
.dunya-gundemi-kutular {
  display: flex;
  flex-wrap: wrap;
  gap: 20px;
  justify-content: space-between;
  margin-top: 10px;
}

/* Tek Kutu */
.dunya-kutu {
  width: calc(25% - 15px);
  display: flex;
  flex-direction: column;
  border: 2px solid #000;
  text-decoration: none;
  color: #000;
  transition: all 0.3s ease;
}
.dunya-kutu:hover {
  background-color: #f5f5f5;
}

.dunya-kutu-img img {
  width: 100%;
  height: 180px;
  object-fit: cover;
  display: block;
}

.dunya-kutu-baslik {
  padding: 10px;
  background-color: #fff;
}
.dunya-kutu-baslik h3 {
  font-size: 16px;
  font-weight: bold;
  color: #000;
  margin: 0;
  line-height: 1.3;
  font-family: Georgia, serif;
}

/* Reklam Banner */
.dunya-gundemi-reklam {
  margin-top: 20px;
  text-align: center;
}
.dunya-gundemi-reklam img {
  max-width: 100%;
  height: auto;
  display: block;
}

/* =================== MOBİL GÖRÜNÜM ====================== */
@media screen and (max-width: 768px) {
  .dunya-gundemi-blok {
    margin-top: 10px !important;
    margin-bottom: 20px !important;
  }

  .dunya-gundemi-baslik h2 {
    font-size: 22px;
    text-align: center;
  }

  .dunya-gundemi-kutular {
    gap: 12px;
    justify-content: center;
  }

  .dunya-kutu {
    width: calc(50% - 10px);
  }

  .dunya-kutu-img img {
    height: 140px;
  }

  .dunya-kutu-baslik h3 {
    font-size: 14px;
    text-align: center;
  }

  .turuncu-bant {
    width: 100%;
    height: 5px;
  }
}

/* ============================ */
/* === DÜNYA GÜNDEMİ BLOĞU ==== */
/* ============================ */

.dunya-gundemi-blok {
  max-width: 1140px;
  margin: 40px auto;
  padding: 0 15px;
  box-sizing: border-box;
  font-family: "Helvetica Neue", Helvetica, Arial, sans-serif;
}

.bolum-baslik {
  display: flex;
  align-items: center;
  margin-bottom: 15px;
}

.dunya-baslik {
  font-size: 28px;
  font-weight: 700;
  color: #000000;
  margin: 0;
  line-height: 1.2;
}

.baslik-bant {
  flex: 1;
  height: 12px;
  background-color: #000000;
  margin-left: 15px;
}

/* === HABER GRID === */
.dunya-grid {
  display: flex;
  flex-wrap: wrap;
  gap: 20px;
}

.dunya-haber-karti {
  flex: 1 1 calc(25% - 15px);
  text-decoration: none;
  color: #000;
  display: flex;
  flex-direction: column;
  justify-content: flex-start;
  background: #f7f7f7;
  box-sizing: border-box;
  transition: box-shadow 0.3s;
  border: none !important;
}

.dunya-haber-karti:hover {
  box-shadow: 0 0 8px rgba(0, 0, 0, 0.1);
}

.dunya-img {
  width: 100%;
  aspect-ratio: 16 / 10;
  overflow: hidden;
  border-radius: 0px;
}

.dunya-img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  border-radius: 0px;
}

/* === Başlık altı yazı === */
.dunya-baslik-kisa {
  font-size: 20px;
  font-weight: 600;
  margin-top: 8px;
  line-height: 1.3;
}

/* === Reklam Kutusunu Haberlerle Hiza === */
.dunya-reklam-hizali {
  margin-top: 30px;
  width: 100%;
}

.dunya-reklam-hizali img {
  width: 100%;
  max-width: 100%;
  height: auto;
  display: block;
  border: none !important;
}

/* === Mobil Düzenleme === */
@media screen and (max-width: 768px) {
  .dunya-haber-karti {
    flex: 1 1 calc(50% - 10px);
  }

  .dunya-gundemi-blok {
    margin: 25px auto;
    padding: 0 10px;
  }

  .dunya-baslik {
    font-size: 22px;
  }

  .dunya-baslik-kisa {
    font-size: 18px;
  }
	 .dunya-img {
    aspect-ratio: 16 / 11; /* mobilde biraz daha yüksek */
  }
}

/* ============================== */
/* === GAZETE MANŞET SLIDERI ==== */
/* ============================== */

.gx-manset-wrapper {
  max-width: 1140px;
  margin: 40px auto;
  padding: 0 15px;
}

.gx-manset-title {
  display: flex;
  align-items: center;
  margin-bottom: 15px;
}

.gx-manset-title h2 {
  font-size: 22px;
  font-weight: bold;
  margin: 0;
  color: #000;
}

.gx-manset-line {
  flex: 1;
  height: 4px;
  background: #000;
  margin-left: 15px;
}

.gx-manset-slider {
  overflow: hidden;
  position: relative;
}

.gx-manset-slider .swiper-slide {
  width: 160px !important;
  text-align: center;
}

.gx-manset-slider .swiper-slide img {
  width: 100%;
  height: auto;
  border-radius: 4px;
}

.gx-manset-slider .swiper-slide strong {
  display: block;
  font-size: 13px;
  margin-top: 6px;
  color: #222;
}

@media screen and (max-width: 768px) {
  .gx-manset-title h2 {
    font-size: 18px;
  }
  .gx-manset-slider .swiper-slide {
    width: 120px !important;
  }
}

/* --- Gazete Manşet Slider – Mobil uyum --- */

/* Görünmez kılan eski kural varsa bastır */
.gx-manset-wrapper,
.gx-manset-slider,
.gx-manset-slider img{
  display:block !important;
}

/* Küçük ekranlarda her slide sabit genişlik */
.gx-manset-slider .swiper-slide{
  width:130px !important;   /* tablette 130 px */
}
@media(max-width:576px){     /* telefon */
  .gx-manset-slider .swiper-slide{
    width:110px !important;
  }
}

/* Resim responsive */
.gx-manset-slider img{
  width:100%;
  height:auto;
  object-fit:cover;
  border-radius:4px;
}

/* =========================== */
/* ===  EKONOMİ GÜNDEMİ    === */
/* =========================== */

.ekonomi-gundemi-blok {
  max-width: 1140px;
  margin: 40px auto;
  padding: 0 15px;
  box-sizing: border-box;
  font-family: "Helvetica Neue", Helvetica, Arial, sans-serif;
}

/* — Başlık + bant — */
.ekonomi-baslik {
  font-size: 28px;
  font-weight: 700;
  color: #003399;           /* parlement mavisi */
  margin: 0;
  line-height: 1.2;
}
.ekonomi-gundemi-blok .baslik-bant {
  flex: 1;
  height: 12px;
  background: #003399;
  margin-left: 15px;
}

/* — HABER GRID: varsayılan (mobil–tablet) flex düzeni — */
.ekonomi-grid {
  display: flex;
  flex-wrap: wrap;
  gap: 20px;
}

/* — Kart gövdesi — */
.ekonomi-haber-karti {
  flex: 1 1 calc(25% - 15px);      /* masaüstü grid’e geçince flex iptal olacak */
  display: flex;
  flex-direction: column;
  background: #f7f7f7;
  color: #000;
  text-decoration: none;
  box-sizing: border-box;
  transition: box-shadow .3s;
  border: none !important;
}
.ekonomi-haber-karti:hover { box-shadow: 0 0 8px rgba(0,0,0,.1); }

/* — Görsel — */
.ekonomi-img        { width: 100%; aspect-ratio: 16/10; overflow: hidden; }
.ekonomi-img img    { width: 100%; height: 100%; object-fit: cover; display: block; }

/* — Başlık — */
.ekonomi-baslik-kisa { font-size: 20px; font-weight: 600; margin-top: 8px; line-height: 1.3; }

/* — Reklam hizası — */
.ekonomi-reklam-hizali     { margin-top: 30px; width: 100%; }
.ekonomi-reklam-hizali img { width: 100%; height: auto; display: block; border: none !important; }

/* ---------------------------------------------------------- */
/* ===  MOBİL / TABLET  (≤ 768 px) – 1 büyük + 6 küçük   === */
/* ---------------------------------------------------------- */
@media screen and (max-width: 768px) {

  /* Blok kenar boşluk & başlık boyutu */
  .ekonomi-gundemi-blok { margin: 25px auto; padding: 0 10px; }
  .ekonomi-baslik       { font-size: 22px; }
  .ekonomi-baslik-kisa  { font-size: 18px; }

  /* Büyük kart (ilk haber) tam genişlik */
  .ekonomi-buyuk-haber{
    flex: 0 0 100% !important;   /* tek satırda tam genişlik */
    width: 100% !important;
  }
  .ekonomi-buyuk-haber .ekonomi-img{
    height: 220px;               /* sabit yükseklik */
    aspect-ratio: unset;         /* oran kısıtı kaldırıldı */
  }
  .ekonomi-buyuk-haber .ekonomi-ozet{
    font-size: 14px;
    line-height: 1.4;
    margin-top: 4px;
  }

  /* Küçük kartlar: iki sütun – sadece başlık */
  .ekonomi-haber-karti:not(.ekonomi-buyuk-haber){
    flex: 1 1 calc(50% - 10px);
  }
  .ekonomi-haber-karti:not(.ekonomi-buyuk-haber) .ekonomi-ozet{
    display: none !important;
  }

  /* Küçük kart görsel oranı biraz daha yüksek */
  .ekonomi-img { aspect-ratio: 16/11; }
}

/* ---------------------------------------------------------- */
/* ===  MASAÜSTÜ  (≥ 769 px) – 1 büyük + 8 küçük grid    === */
/* ---------------------------------------------------------- */
@media screen and (min-width: 769px) {

  /* Grid düzeni */
  .ekonomi-grid{
    display: grid !important;        /* flex’i geçersiz kılar */
    grid-template-columns: repeat(4, 1fr);
    gap: 20px;
    grid-auto-flow: dense;           /* boşluk doldur */
  }

  /* Büyük kart (ilk haber) 2×2 yer kaplar */
  .ekonomi-buyuk-haber           { grid-column: span 2; grid-row: span 2; }
  .ekonomi-buyuk-haber .ekonomi-img{ height: 380px; }

  /* Büyük kart başlık + özet tipografisi */
  .ekonomi-buyuk-haber .ekonomi-baslik-kisa{
    font-size: 28px;
    font-weight: 700;
    color: #c90000;                 /* kırmızı vurgu */
    margin-top: 16px;
    line-height: 1.3;
  }
  .ekonomi-buyuk-haber .ekonomi-ozet{
    font-size: 17px;
    line-height: 1.45;
    color: #333;
    margin-top: 6px;
  }

  /* Küçük kart başlık boyutu */
  .ekonomi-haber-karti:not(.ekonomi-buyuk-haber) .ekonomi-baslik-kisa{
    font-size: 18px;
    font-weight: 600;
    margin-top: 8px;
  }

  /* Flex genişlik kuralını sıfırla – grid’e bırak */
  .ekonomi-haber-karti { flex: unset; }
}



/* =========================== */
/* ===   YEREL GÜNDEMİ     === */
/* =========================== */

.yerel-gundemi-blok {
  max-width: 1140px;
  margin: 40px auto;
  padding: 0 15px;
  box-sizing: border-box;
  font-family: "Helvetica Neue", Helvetica, Arial, sans-serif;
}

/* başlık + bant */
.yerel-baslik {
  font-size: 28px;
  font-weight: 700;
  color: #A9A9A9;            /* koyuya yakın orta gri */
  margin: 0;
  line-height: 1.2;
}
.yerel-gundemi-blok .baslik-bant {
  flex: 1;
  height: 12px;
  background-color: #A9A9A9; /* aynı gri */
  margin-left: 15px;
}

/* === HABER GRID === */
.yerel-grid {
  display: flex;
  flex-wrap: wrap;
  gap: 20px;
}

.yerel-haber-karti {
  flex: 1 1 calc(25% - 15px);
  text-decoration: none;
  color: #000;
  display: flex;
  flex-direction: column;
  justify-content: flex-start;
  background: #f7f7f7;
  box-sizing: border-box;
  transition: box-shadow 0.3s;
  border: none !important;
}
.yerel-haber-karti:hover {
  box-shadow: 0 0 8px rgba(0, 0, 0, 0.1);
}

.yerel-img {
  width: 100%;
  aspect-ratio: 16 / 10;
  overflow: hidden;
}
.yerel-img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

/* başlık altı */
.yerel-baslik-kisa {
  font-size: 20px;
  font-weight: 600;
  margin-top: 8px;
  line-height: 1.3;
}

/* reklam hizası */
.yerel-reklam-hizali {
  margin-top: 30px;
  width: 100%;
}
.yerel-reklam-hizali img {
  width: 100%;
  max-width: 100%;
  height: auto;
  display: block;
  border: none !important;
}

/* === Mobil === */
@media screen and (max-width: 768px) {
  .yerel-haber-karti { flex: 1 1 calc(50% - 10px); }
  .yerel-gundemi-blok { margin: 25px auto; padding: 0 10px; }
  .yerel-baslik { font-size: 22px; }
  .yerel-baslik-kisa { font-size: 18px; }
  .yerel-img { aspect-ratio: 16 / 11; }
}

/* =========================== */
/* ===    GÜNDEM BLOĞU     === */
/* =========================== */

.gundem-gundemi-blok{
  max-width:1140px;margin:40px auto;padding:0 15px;box-sizing:border-box;
  font-family:"Helvetica Neue",Helvetica,Arial,sans-serif;
}

/* başlık + şerit */
.gundem-baslik{font-size:28px;font-weight:700;color:#c90000;margin:0;line-height:1.2;}
.gundem-gundemi-blok .baslik-bant{flex:1;height:12px;background:#c90000;margin-left:15px;}

/* grid */
.gundem-grid{display:flex;flex-wrap:wrap;gap:20px;}

.gundem-haber-karti{
  flex:1 1 calc(25% - 15px);display:flex;flex-direction:column;
  text-decoration:none;color:#000;background:#f7f7f7;transition:box-shadow .3s;border:none!important;
}
.gundem-haber-karti:hover{box-shadow:0 0 8px rgba(0,0,0,.1);}

.gundem-img{width:100%;aspect-ratio:16/10;overflow:hidden;}
.gundem-img img{width:100%;height:100%;object-fit:cover;display:block;}

.gundem-baslik-kisa{font-size:20px;font-weight:600;margin-top:8px;line-height:1.3;}

.gundem-reklam-hizali{margin-top:30px;width:100%;}
.gundem-reklam-hizali img{width:100%;height:auto;display:block;border:none!important;}

/* Mobil */
@media(max-width:768px){
  .gundem-haber-karti{flex:1 1 calc(50% - 10px);}
  .gundem-gundemi-blok{margin:25px auto;padding:0 10px;}
  .gundem-baslik{font-size:22px;}
  .gundem-baslik-kisa{font-size:18px;}
  .gundem-img{aspect-ratio:16/11;}
}

/* === Köşe Yazarı Kutusu Özel Stil === */
.kutucuk.kutu1.hover-yazar-kutusu {
  background: #fff;
  border: 1px solid #ddd;
  transition: all 0.3s ease;
  display: flex;
  align-items: center;
  justify-content: center;
}

.kutu1 .yazar-kutu-icerik {
  display: flex;
  flex-direction: column;
  align-items: center;
  padding: 20px 10px;
  text-align: center;
}

.kutu1 .yazar-gorsel-wrapper {
  width: 100px;
  height: 100px;
  border-radius: 50%;
  overflow: hidden;
  border: 3px solid #c90000;
  box-shadow: 0 0 8px rgba(0, 0, 0, 0.1);
  margin-bottom: 12px;
  transition: transform 0.3s ease;
}

.kutu1 .yazar-gorsel-wrapper img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.kutu1 .yazar-adi {
  font-weight: 600;
  font-size: 16px;
  color: #222;
  margin: 0 0 5px 0;
}

.kutu1 .son-yazi-baslik {
  font-size: 14px;
  color: #555;
  line-height: 1.4;
  margin: 0;
}

.kutucuk.kutu1.hover-yazar-kutusu:hover {
  box-shadow: 0 0 15px rgba(201, 0, 0, 0.2);
  transform: translateY(-3px);
}

.kutu1 .yazar-gorsel-wrapper:hover {
  transform: scale(1.05);
}

/* ================================
   EKONOMİ KATEGORİSİ SAYFA AYARLARI
   ================================ */

/* 1) Slayt sağ blok: kırmızı → lacivert (manset alanı) */
.ekonomi-sayfa .manset-sag {
  background-color: #003366 !important;  /* lacivert */
}

/* Slayt numaralandırma aktif renkte tutarlılık */
.ekonomi-sayfa .kategor_manset_numaralar .swiper-pagination-bullet-active {
  color: #003366 !important;
}

/* 2) Hemen alttaki siyah şeritleri kaldır (sadece başlık kalsın) */
.ekonomi-sayfa .baslik-bant,
.ekonomi-sayfa .gx-manset-line {
  background: transparent !important;
  display: none !important;
}

/* 3) Başlık yazıları siyah olsun */
.ekonomi-sayfa .manset-haber-kutu h3 {
  color: #000 !important;
}

/* Ekonomi büyük kart başlığı (şablonda varsa kırmızı yerine siyah) */
.ekonomi-sayfa .ekonomi-buyuk-haber .ekonomi-baslik-kisa {
  color: #000 !important;
}

/* (İhtiyat) Başlık üzerinde zemin kullanan bir rozet/etiket varsa, zemin kaldır */
.ekonomi-sayfa .etiket, 
.ekonomi-sayfa .manset-haber-kutu .etiket {
  background: transparent !important;
  color: #000 !important;
}

/* ================================
   YEREL KATEGORİSİ SAYFA AYARLARI
   ================================ */

/* 1) Slayt sağ blok rengi: kırmızı → #e28743 (Yerel rengi) */
.yerel-sayfa .manset-sag {
  background-color: #e28743 !important;
}

/* 2) Swiper numaralandırma aktif renk hizası */
.yerel-sayfa .kategor_manset_numaralar .swiper-pagination-bullet-active {
  color: #e28743 !important;
  border-color: #e28743 !important;
}
.yerel-sayfa .kategor_manset_numaralar .swiper-pagination-bullet {
  border-color: #e28743 !important;
}

/* 3) (Mobil başlık bandı kullanan varyantlar için emniyet)
   Şablon içi inline stiliniz zaten var; yine de güvenlik için: */
.yerel-sayfa .slider-baslik-mobil {
  background-color: #e28743 !important;
}



/* === MERKEZÎ: MOBİL MANŞET BAŞLIK BANDI – SİYAH %70 OPak === */
:root{
  --mob-manset-h: 290px;   /* slayt görsel yüksekliği */
  --mob-title-h: 78px;     /* başlık bandı yüksekliği */
  --mob-title-lines: 3;    /* 2 veya 3 satır */
}

@media (max-width:768px){

  /* Görsel yüksekliği */
  body section.manset-mobile[id^="manset-mobile-"] .slide img{
    height: var(--mob-manset-h) !important;
    width: 100% !important;
    object-fit: cover !important;
  }

  /* Başlık bandı – siyah, %70 opak */
  body section.manset-mobile[id^="manset-mobile-"]:not(#x) .slider-baslik-mobil{
    position: absolute !important;
    left: 0; right: 0; bottom: 0;
    height: var(--mob-title-h) !important;
    box-sizing: border-box !important;
    padding: 10px 12px !important;
    display: -webkit-box !important;
    -webkit-box-orient: vertical !important;
    -webkit-line-clamp: var(--mob-title-lines) !important;
    overflow: hidden !important;
    text-overflow: ellipsis;
    line-height: 1.25 !important;
    color: #fff !important;

    background: rgba(0,0,0,0.7) !important; /* SİYAH + %70 opak */
  }
}




/* ================================
   ANA SAYFA • MOBİL • SLAYT BAŞLIK PUNTOSU
   ================================ */
@media (max-width: 768px){
  /* Mobil slayt (dinamik ID'li manset-mobile) */
  .home section.manset-mobile[id^="manset-mobile-"] .slider-baslik-mobil{
    font-size: clamp(18px, 4.8vw, 22px) !important;
  }

  /* wp_is_mobile() ile masaüstü bloğu içinde basılmış başlık varsa */
  .home .manset-desktop .slider-baslik-mobil{
    font-size: clamp(18px, 4.8vw, 22px) !important;
  }
}


/* === Foto Galeri Rozeti === */ 
.gr-fg-badge { position: absolute; top: 6px; right: 2px; 
background: rgba(255, 255, 255, 0.1); 
color: #d40000; 
font-weight: 700; font-size: 12px; 
padding: 4px 10px; 
border: 0px solid #d40000; 
border-radius: 6px; 
z-index: 20; 
display: inline-flex; align-items: center; gap: 5px; box-shadow: 0 1px 3px rgba(0,0,0,0.2); } .gr-fg-badge .gr-fg-icon::before { content: "📷"; } .haber-img, .post-thumbnail, .manset-haber-kutu a, .manset-sol a, .manset-mobile .slide { position: relative; display: block; }



/* =========================================== */
/* === EKONOMİ ÜSTÜ REKLAM BOYUT AYARLAMASI === */
/* =========================================== */

.reklam-blok.ekonomi-ustu-reklam {
  max-width: 1140px;
  margin: 20px auto;
  text-align: center;
  padding: 0 15px;
}

.reklam-blok.ekonomi-ustu-reklam img {
  width: 100%;
  max-width: 1170px;
  height: auto;
  max-height: 250px;   /* diğer banner’larla aynı yükseklik */
  object-fit: cover;
  border-radius: 4px;  /* diğer banner köşeleriyle aynı */
  display: block;
  margin: 0 auto;
}

/* Mobil görünümde orantılı küçültme */
@media screen and (max-width: 768px) {
  .reklam-blok.ekonomi-ustu-reklam {
    margin: 10px auto;
    padding: 0 10px;
  }

  .reklam-blok.ekonomi-ustu-reklam img {
    max-height: 120px;
    border-radius: 0;
  }
}
