/**
 * ana_sayfa.css
 * Sadece ana sayfa bileşenleri: üst slider + gündem + marketbar + orta kart slider + ana slider
 */
 
 
 /* ==================================================
   ANA SAYFA - SON HABERLER (HEADER ALTI)
   ================================================== */

.home-breaking{
  background:#e5e7eb;
  border-bottom:1px solid rgba(0,0,0,.08);
}

.home-breaking-wrap{
  display:flex;
  align-items:center;
  gap:14px;
  padding:10px 0;
}

.home-breaking-title{
  background:#dc3545;
  color:#fff;
  font-weight:900;
  padding:10px 18px;
  border-radius:10px 0px 10px 0px; 
  white-space:nowrap;
}

.home-breaking-marquee{
  flex:1;
  overflow:hidden;
}

.home-breaking-track{
  display:inline-flex;
  gap:40px;
  white-space:nowrap;
  animation:homeBreakingScroll 100s linear infinite;
}

.home-breaking:hover .home-breaking-track{
  animation-play-state:paused;
}

.home-breaking-item{
  display:inline-flex;
  gap:10px;
  font-weight:800;
  color:#111;
  text-decoration:none;
}

.home-breaking-item .time{
  color:#dc3545;
  font-weight:900;
}

.home-breaking-item:hover .text{
  text-decoration:underline;
  text-decoration-color:#dc3545;
  text-decoration-thickness:2px;
  
}

.home-breaking-more{
  color:#dc3545;
  font-weight:900;
  text-decoration:none;
  white-space:nowrap;
}

.home-breaking-more:hover{
  text-decoration:underline;
}

@keyframes homeBreakingScroll{
  from{ transform:translateX(0); }
  to{ transform:translateX(-50%); }
}

/* Mobil */
@media (max-width:768px){
  .home-breaking-title{
    padding:8px 12px;
    font-size:13px;
  }
  .home-breaking-item{
    font-size:13px;
  }
}
 
 

/* =========================
   ÜST SLIDER
   - Beyaz sağ panel kaldırıldı
   - Görsel tüm slide alanını kaplar
   - Sağdan ortaya doğru turkuaz damga gölgesi gelir
   - Başlık/içerik görsel üstünde kalır
   - Numaralar ve akış korunur
========================= */
.ust-slider{ position:relative; margin-bottom:30px; }
.ust-slider .carousel-item{ padding:5px 0; }

.ust-slider .ust-slide{
  position:relative;
  display:block;
  height:380px;
  border-radius:12px;
  overflow:hidden;
  background:#0b1220;
  box-shadow:0 16px 40px rgba(15, 23, 42, .18);
}

.ust-slider .ust-slide-image{
  position:relative;
  width:100%;
  height:100%;
  overflow:hidden;
  background:#e5e7eb;
}

.ust-slider .ust-slide-image a{
  display:block;
  width:100%;
  height:100%;
}

.ust-slider .ust-slide-image img{
  display:block;
  width:100%;
  height:100%;
  object-fit:cover;
  object-position:38% center;
}

.ust-slider .ust-slide-content{
  position:absolute;
  left:0;
  right:0;
  bottom:0;
  z-index:2;
  padding:86px 16px 18px;
  display:flex;
  flex-direction:column;
  justify-content:flex-end;
  align-items:flex-start;
  background:transparent;
}

.ust-slider .ust-slide-content::before{
  content:"";
  position:absolute;
  inset:0;
  background:linear-gradient(
    180deg,
    rgba(0,0,0,0) 0%,
    rgba(6, 92, 102, .16) 26%,
    rgba(8, 112, 123, .46) 56%,
    rgba(17, 196, 209, .88) 100%
  );
  pointer-events:none;
}

.ust-slider .ust-slide-content > *{
  position:relative;
  z-index:1;
}

.ust-slider .ust-category-badge{
  display:inline-block;
  align-self:flex-start;
  padding:6px 14px;
  font-size:12px;
  font-weight:700;
  line-height:1.1;
  text-transform:uppercase;
  border-radius:12px 0 12px 0;
  margin-bottom:10px;
  color:#fff;
  max-width:100%;
  white-space:nowrap;
  overflow:hidden;
  text-overflow:ellipsis;
  background:var(--badge-bg, #dc3545);
  box-shadow:0 6px 18px rgba(0,0,0,.22);
  transition:background-color .2s ease, color .2s ease, opacity .2s ease;
}

.ust-slider .ust-category-badge:hover{
  background:#606060;
  color:#fff;
}

.ust-slider .ust-slide-title{
  width:100%;
  margin:0 0 10px;
}

.ust-slider .ust-slide-title a{
  display:-webkit-box;
  -webkit-line-clamp:3;
  -webkit-box-orient:vertical;
  overflow:hidden;

  color:#fff;
  text-decoration:none;
  font-size:clamp(20px, 5vw, 26px);
  font-weight:900;
  line-height:1.14;

  text-shadow:
    0 2px 0 rgba(0,0,0,.96),
    1px 0 0 rgba(0,0,0,.92),
    -1px 0 0 rgba(0,0,0,.92),
    0 -1px 0 rgba(0,0,0,.92),
    0 1px 0 rgba(0,0,0,.92),
    0 0 10px rgba(0,0,0,.42);
}

/* Damga görünümüne yakın: ilk satır sarı */
.ust-slider .ust-slide-title a::first-line{
  color:#ffdd00;
}

.ust-slider .ust-slide-title a:hover{
  color:#fff;
  text-decoration:none;
}

.ust-slider .ust-slide-excerpt{
  width:100%;
  margin:0 0 10px;

  color:rgba(255,255,255,.98);
  font-size:14px;
  line-height:1.48;

  text-shadow:0 1px 6px rgba(0,0,0,.35);

  display:-webkit-box;
  -webkit-line-clamp:3;
  -webkit-box-orient:vertical;
  overflow:hidden;
}

.ust-slider .ust-slide-meta{
  font-size:12px;
  color:rgba(255,255,255,.94);
  text-shadow:0 1px 4px rgba(0,0,0,.35);
}

/* Dikey numaralar */
.ust-slider .ust-slider-indicators.ust-slider-indicators--numbers.ust-slider-indicators--vertical{
  position:absolute;
  top:14px;
  left:6px;
  z-index:50;
  display:flex;
  flex-direction:column;
  gap:8px;
}

.ust-slider .ust-slider-indicators.ust-slider-indicators--numbers button{
  position:relative;
  width:22px;
  height:22px;
  border-radius:10px;
  border:1px solid #e5e7eb;
  background:rgba(255,255,255,.95);
  padding:0;
  font-size:13px;
  font-weight:800;
  color:#111827;
  display:inline-flex;
  align-items:center;
  justify-content:center;
  cursor:pointer;
  line-height:1;
  transition:all .2s ease;
}

.ust-slider .ust-slider-indicators.ust-slider-indicators--numbers button.active{
  border-color:var(--primary-color);
  color:var(--primary-color);
  background:rgba(255,255,255,.98);
}

/* SADECE MOBİL: aktif olan sayı, diğerleri nokta */
@media (max-width: 767.98px){
  .ust-slider .ust-slide{
    height:auto;
    aspect-ratio:900 / 1120;
    min-height:420px;
  }

  .ust-slider .ust-slide-image,
  .ust-slider .ust-slide-image a,
  .ust-slider .ust-slide-image picture{
    display:block;
    width:100%;
    height:100%;
  }

  .ust-slider .ust-slide-image img{
    width:100%;
    height:100%;
    object-fit:cover;
    object-position:center top;
  }

  .ust-slider .ust-slide-content{
    padding:82px 14px 16px;
  }

  .ust-slider .ust-slider-indicators.ust-slider-indicators--numbers.ust-slider-indicators--vertical{
    top:12px;
    left:8px;
    gap:6px;
  }

  .ust-slider .ust-slider-indicators.ust-slider-indicators--numbers button{
    width:12px;
    height:12px;
    min-width:12px;
    min-height:12px;
    border-radius:999px;
    border:0;
    background:rgba(255,255,255,.45);
    color:transparent;
    font-size:0;
    box-shadow:0 0 0 1px rgba(15,23,42,.14);
    overflow:hidden;
  }

  .ust-slider .ust-slider-indicators.ust-slider-indicators--numbers button::after{
    content:'';
    width:6px;
    height:6px;
    border-radius:999px;
    background:#ffffff;
    opacity:.95;
  }

  .ust-slider .ust-slider-indicators.ust-slider-indicators--numbers button.active{
    width:22px;
    height:22px;
    min-width:22px;
    min-height:22px;
    border-radius:10px;
    border:1px solid var(--primary-color);
    background:rgba(255,255,255,.98);
    color:var(--primary-color);
    font-size:13px;
    box-shadow:none;
  }

  .ust-slider .ust-slider-indicators.ust-slider-indicators--numbers button.active::after{
    display:none;
  }
}

/* bootstrap carousel animasyon kapatma (projene uyumlu kalsın) */
#ustSlider .carousel-item,
#ustSlider .carousel-item-next,
#ustSlider .carousel-item-prev,
#ustSlider .carousel-item.active,
#ustSlider .carousel-item-start,
#ustSlider .carousel-item-end{
  transition:none !important;
  transform:none !important;
}

@media (min-width:768px){
  .ust-slider .ust-slide{
    height:320px;
  }

  .ust-slider .ust-slide-content{
    top:0;
    left:auto;
    right:0;
    bottom:0;
    width:min(52%, 500px);
    padding:26px 30px 24px 112px;
    justify-content:center;
  }

  .ust-slider .ust-slide-content::before{
    background:linear-gradient(
      270deg,
      rgba(20, 207, 220, .96) 0%,
      rgba(16, 176, 189, .90) 25%,
      rgba(12, 138, 151, .72) 50%,
      rgba(8, 88, 98, .40) 74%,
      rgba(0,0,0,0) 100%
    );
  }

  .ust-slider .ust-category-badge{
    max-width:44%;
    padding:6px 18px;
    font-size:13px;
    margin-bottom:12px;
  }

  .ust-slider .ust-slide-title a{
    font-size:clamp(20px, 2.2vw, 30px);
    line-height:1.12;
  }

  .ust-slider .ust-slide-excerpt{
    font-size:clamp(12px, 1.15vw, 15px);
    -webkit-line-clamp:2;
    margin-bottom:12px;
  }

  .ust-slider .ust-slide-meta{
    font-size:13px;
  }
}

/* =========================
   GÜNDEM WIDGET
========================= */
#gundemWidget{
  border-radius:14px;
  border:1px solid rgba(15,23,42,.08);
  background:#fff;
  overflow:hidden;
  position:sticky;
  top:90px;
  z-index:50;
}
#gundemWidget .gundem-list{ padding:6px 0; }
#gundemWidget .gundem-row{
  display:grid;
  grid-template-columns:30px 1fr auto;
  gap:10px;
  align-items:center;
  padding:10px 12px;
  color:#111827;
  border-bottom:1px solid rgba(15,23,42,.08);
}
#gundemWidget .gundem-row:last-child{ border-bottom:0; }
#gundemWidget .gundem-no{
  width:25px; height:25px;
  border-radius:6px 0 6px 0;
  background:var(--primary-color);
  color:#fff;
  display:inline-flex;
  align-items:center;
  justify-content:center;
  font-weight:900;
  font-size:12px;
}
#gundemWidget .gundem-title{
  font-weight:800;
  font-size:15px;
  white-space:nowrap;
  overflow:hidden;
  text-overflow:ellipsis;
}
#gundemWidget .gundem-thumb{
  display:none;
  width:98px; height:58px;
  border-radius:12px;
  overflow:hidden;
  background:#0b1220;
}
#gundemWidget .gundem-thumb img{ width:100%; height:100%; object-fit:cover; }
#gundemWidget .gundem-row.is-active{ background:rgba(91,127,52,.08); }
#gundemWidget .gundem-row.is-active .gundem-no{ background:#606060; }
#gundemWidget .gundem-row.is-active .gundem-title{
  white-space:normal;
  display:-webkit-box;
  -webkit-line-clamp:2;
  -webkit-box-orient:vertical;
  overflow:hidden;
  line-height:1.2;
  color:var(--primary-color);
  font-weight:900;
}
#gundemWidget .gundem-row.is-active .gundem-thumb{ display:block; }

@media (max-width:991.98px){
  #gundemWidget{ position:static; top:auto; }
}

/* =========================
   MARKETBAR
========================= */
.marketbar{
  display:grid;
  grid-template-columns:repeat(4, 1fr);
  border-radius:10px;
  overflow:hidden;
  border:1px solid rgba(15,23,42,.12);
  background:#fff;
  min-height:56px;
}
.marketbar-item{
  display:grid;
  grid-template-columns:92px 1fr;
  border-right:1px solid rgba(15,23,42,.12);
}
.marketbar-item:last-child{ border-right:0; }
.marketbar-tag{
  background:#163a5f;
  color:#fff;
  font-weight:900;
  font-size:12px;
  display:flex;
  align-items:center;
  justify-content:center;
  gap:6px;
  clip-path:polygon(0 0, 88% 0, 100% 50%, 88% 100%, 0 100%);
  padding-left:10px;
  padding-right:16px;
}
.marketbar-data{
  display:flex;
  flex-direction:column;
  justify-content:center;
  gap:3px;
  padding:6px 10px;
  min-width:0;
}
.marketbar-val{
  font-weight:900;
  font-size:15px;
  color:#111827;
  text-align:center;
  white-space:nowrap;
  overflow:hidden;
  text-overflow:ellipsis;
}
.marketbar-pct{
  font-weight:900;
  font-size:12px;
  text-align:center;
  white-space:nowrap;
  overflow:hidden;
  text-overflow:ellipsis;
}
.marketbar-pct.up{ color:#198754; }
.marketbar-pct.down{ color:var(--primary-color); }

@media (max-width:991.98px){
  .marketbar{ grid-template-columns:1fr 1fr; }
  .marketbar-item:nth-child(2){ border-right:0; }
}
@media (max-width:575.98px){
  .marketbar{ grid-template-columns:1fr; }
  .marketbar-item{ border-right:0; border-bottom:1px solid rgba(15,23,42,.12); }
  .marketbar-item:last-child{ border-bottom:0; }
}


/* =========================================================
   ORTA KART SLIDER (5 KART GÖRÜNÜR - DAMGALI GÖRSEL)
   ========================================================= */

.orta-kart-slider-wrap{
  width: 100%;
  margin: 10px 0 34px;
}

.orta-kart-slider-header{
  display: none;
  margin: 0 0 8px;
}
.orta-kart-slider-title{
  font-size: 16px;
  font-weight: 800;
  margin: 0;
}

.orta-kart-slider{
  position: relative;
  width: 100%;
}

.orta-viewport{
  width: 100%;
  overflow: hidden;
  padding: 0;
}

.orta-track{
  display: flex;
  flex-wrap: nowrap;
  align-items: stretch;
  gap: 16px;
  will-change: transform;
  transition: transform 420ms ease;
  padding: 0;
  transform: translateX(0);
}

/* Desktop: 5 kart */
.orta-card{
  flex: 0 0 calc((100% - (16px * 4)) / 5);
  min-width: 0;
}

.orta-card-link{
  display: block;
  height: 100%;
  border-radius: 16px;
  overflow: hidden;
  background: #0b1220;
  border: 1px solid rgba(15,23,42,.10);
  box-shadow: 0 8px 24px rgba(15,23,42,.10);
  transition: transform .18s ease, box-shadow .18s ease;
}
.orta-card-link:hover{
  transform: translateY(-3px);
  box-shadow: 0 14px 30px rgba(15,23,42,.16);
}

.orta-card-img{
  width: 100%;
  aspect-ratio: 4 / 3;
  background: #0b1220;
  overflow: hidden;
}
.orta-card-img img{
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center 38%;
  display: block;
}

/* Alt beyaz başlık alanı artık yok */
.orta-card-body{
  display: none;
}
.orta-card-title{
  display: none;
}

.orta-prev,
.orta-next{
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  width: 40px;
  height: 40px;
  border-radius: 999px;
  border: 1px solid rgba(255,255,255,.18);
  background: rgba(17,24,39,.58);
  color: #fff;
  display: grid;
  place-items: center;
  z-index: 10;
  cursor: pointer;
  transition: background .15s ease, transform .15s ease;
}
.orta-prev:hover,
.orta-next:hover{
  background: rgba(17,24,39,.78);
  transform: translateY(-50%) scale(1.03);
}
.orta-prev{ left: 10px; }
.orta-next{ right: 10px; }

.orta-prev i,
.orta-next i{
  font-size: 14px;
}

/* 1200 altı: 4 kart */
@media (max-width: 1200px){
  .orta-track{ gap: 14px; }
  .orta-card{ flex-basis: calc((100% - (14px * 3)) / 4); }
}

/* 768 altı: 2 kart */
@media (max-width: 768px){
  .orta-track{ gap: 12px; }
  .orta-card{ flex-basis: calc((100% - 12px) / 2); }
  .orta-prev{ left: 8px; }
  .orta-next{ right: 8px; }
}

/* 480 altı: 1 kart */
@media (max-width: 480px){
  .orta-card{ flex-basis: 100%; }
}

/* =========================
   ANA SLIDER
========================= */
.ana-slider-wrap{ margin:18px 0; width:100%; max-width:100%; }
.ana-slider{ position:relative; overflow:hidden; width:100%; }
.ana-slider-track{ display:flex; width:100%; transition:transform .45s ease; will-change:transform; }

.ana-slide{
  flex:0 0 100%;
  display:flex;
  align-items:stretch;
  width:100%;
  height:560px;
}
.ana-slide-image{
  flex:0 0 68%;
  background:#e9ecef;
  height:100%;
  overflow:hidden;
}
.ana-slide-image img{
  width:100%;
  height:100%;
  object-fit:cover;
  filter:none !important;
  transform:none !important;
  opacity:1 !important;
}
.ana-slide-content{
  flex:1;
  padding:34px 34px 82px;
  display:flex;
  flex-direction:column;
  justify-content:center;
  gap:12px;
}
.ana-slide-category{
  display:inline-flex;
  width:fit-content;
  padding:7px 12px;
  border-radius: 12px 0 12px 0;
  color:#fff;
  font-weight:700;
  font-size:13px;
  background: var(--badge-ag, #dc3545);
  transition: background-color .2s ease, color .2s ease, opacity .2s ease;
}


.ana-slide-category:hover{
    background:#606060;
    color:#fff;
}

.ana-slide-title{
  margin:0;
  font-weight:900;
  font-size:40px;
  line-height:1.08; /* 1.03 çok sıkı, kırpılmayı artırır */


}

/* ✅ Clamp'i linke uygula (WebKit kırpılma bug'ı azalır) */
.ana-slide-title a{
  display:-webkit-box;
  -webkit-box-orient:vertical;
  -webkit-line-clamp:6;   /* kaç satır */
  overflow:hidden;

  /* görünüm */
  color:inherit;
  text-decoration:none;

  /* font clipping'e karşı küçük iç boşluk */
  padding-bottom:3px;

  /* doğal kırılım */
  word-break: normal;
  overflow-wrap: break-word;
  hyphens: auto;
}

.ana-slide-title a:hover{ color:var(--primary-color); }
.ana-slide-excerpt{
  margin:0;
  color:#374151;
  font-size:15px;
  line-height:1.6;
  display:-webkit-box;
  -webkit-line-clamp:10;
  -webkit-box-orient:vertical;
  overflow:hidden;
}

.ana-slider-arrow{
  position:absolute;
  top:50%;
  transform:translateY(-50%);
  width:44px;
  height:44px;
  border:0;
  border-radius:999px;
  background:rgba(17,24,39,.55);
  color:#fff;
  font-size:26px;
  cursor:pointer;
  z-index:10;
  display:inline-flex;
  align-items:center;
  justify-content:center;
}
.ana-prev{ left:14px; }
.ana-next{ right:14px; }
.ana-slider-arrow:hover{ background:rgba(17,24,39,.70); }

.ana-slider-pagination{
  position:absolute;
  left:50px;
  bottom:12px;
  display:flex;
  gap:8px;
  z-index:11;
  max-width:calc(100% - 28px);
  overflow-x:auto;
  padding:4px 2px;
  scrollbar-width:none;
}
.ana-slider-pagination::-webkit-scrollbar{ display:none; }

.ana-slider-page{
  width:30px;
  height:30px;
  border:0;
  cursor:pointer;
  background:#606060;
  color:#fff;
  font-weight:900;
  font-size:14px;
  border-radius:10px 0 10px 0;
  opacity:.45;
  display:inline-flex;
  align-items:center;
  justify-content:center;
}
.ana-slider-page.active{ opacity:1; background:var(--primary-color); }

@media (max-width:991.98px){
  .ana-slide{ flex-direction:column; height:auto; }
  .ana-slide-image{ flex:none; height:340px; }
  .ana-slide-content{ padding:18px 18px 70px; }
  .ana-slide-title{ font-size:30px; }
  .ana-slide-excerpt{ -webkit-line-clamp:4; }
}

@media (max-width:767.98px){
  .ana-slider-wrap{
    display:none !important;
  }
}

/* =========================================================
   YAZARLAR (Ana slider altı) - Kartlar
   Not: Başlık stili artık global.css içinde (section-title + section-iconbox)
========================================================= */

/* Ana slider ile arayı kıs (global .section padding'i yerine) */
.section--yazarlar{
  padding-top:14px;
  padding-bottom:18px;
}

/* Grid */
.yazar-strip-track{
  display:grid;
  grid-template-columns:repeat(4, minmax(0, 1fr));
  gap:14px;
}

/* Kart */
.yazar-card{
  display:flex;
  gap:12px;
  align-items:flex-start;
  background:#fff;
  border:1px solid #e5e7eb;
  padding:0;              /* görsel sol-üstte boşluk kalmasın */
  min-height:150px;
}

/* Sol blok: görsel + 2 kelime biyografi */
.yazar-left{
  flex:0 0 92px;
  display:flex;
  flex-direction:column;
  gap:8px;
  padding:12px 0 12px 12px;
}

/* Görsel */
.yazar-photo{
  width:76px;
  height:76px;
  display:block;
  overflow:hidden;
  background:#f3f4f6;
}
.yazar-photo img{
  width:100%;
  height:100%;
  object-fit:cover;
  display:block;
}

/* Biyografi (2 satır, her satır 1 kelime) */
.yazar-bio2{
  display:flex;
  flex-direction:column;
  gap:2px;
}
.yazar-bio2 span{
  display:block;
  font-size:12px;
  font-weight:700;
  color:#6b7280;
  line-height:1.1;
  white-space:nowrap;
  overflow:hidden;
  text-overflow:ellipsis;
}

/* Sağ blok */
.yazar-right{
  flex:1;
  min-width:0;
  padding:12px 12px 12px 0;
}

/* Yazar adı */
.yazar-name{
  display:inline-block;
  font-size:15px;
  font-weight:900;
  color:#111827;
  text-decoration:none;
  line-height:1.2;
}
.yazar-name:hover{ color:#dc2626; }



/* =========================================================
   YAZARLAR - Kırmızı çizgi + orta "yamuk"
   İstenen: yamuk ÇİZGİ ile aynı kalınlıkta, sağ/sol uçları sivri,
   yamuk ile çizgi arasında küçük boşluk hissi.
   Ölçüleri buradan ayarla.
========================================================= */
:root{
  --yazar-line-h: 3px;      /* çizgi kalınlığı */
  --yazar-notch-w: 18px;    /* orta parça genişliği */
  --yazar-notch-gap: 6px;   /* orta parça ile çizgiler arası boşluk */
  --yazar-tip: 8px;         /* sivrilme miktarı (uç üçgen) */
}

/* Çizgi alanı (kart içinde sağ/sol 3px boşluk) */
.yazar-line{
  position:relative;
  height:var(--yazar-line-h);
  margin:8px 3px 10px;      /* ✅ sağ/sol 3px */
  display:flex;
  align-items:center;
  justify-content:center;
}

/* Sol ve sağ çizgi segmentleri */
.yazar-line::before,
.yazar-line::after{
  content:'';
  height:var(--yazar-line-h);
  background:#dc2626;
  flex:1;
}

/* Sol segment: yamuğa bakan ucu sivri */
.yazar-line::before{
  margin-right:calc(var(--yazar-notch-w) / 2 + var(--yazar-notch-gap));
  clip-path:polygon(
    0 0,
    calc(100% - var(--yazar-tip)) 0,
    100% 50%,
    calc(100% - var(--yazar-tip)) 100%,
    0 100%
  );
}

/* Sağ segment: yamuğa bakan ucu sivri */
.yazar-line::after{
  margin-left:calc(var(--yazar-notch-w) / 2 + var(--yazar-notch-gap));
  clip-path:polygon(
    var(--yazar-tip) 0,
    100% 0,
    100% 100%,
    var(--yazar-tip) 100%,
    0 50%
  );
}

/* Orta parça: ÇİZGİ ile aynı kalınlık + iki ucu sivri */
.yazar-notch{
  position:absolute;
  left:50%;
  top:50%;
  transform:translate(-50%, -50%);
  width:var(--yazar-notch-w);
  height:var(--yazar-line-h);   /* ✅ aynı kalınlık */
  background:#dc2626;

  /* iki uç sivri (diğer çizgi uçları gibi) */
  clip-path:polygon(
    0 50%,
    var(--yazar-tip) 0,
    calc(100% - var(--yazar-tip)) 0,
    100% 50%,
    calc(100% - var(--yazar-tip)) 100%,
    var(--yazar-tip) 100%
  );
}


/* Başlık (max 2 satır) */
.yazar-title{
  margin:0 0 6px;
  font-size:14px;
  font-weight:800;
  line-height:1.25;
}
.yazar-title a{
  color:#111827;
  text-decoration:none;
  display:-webkit-box;
  -webkit-line-clamp:2;
  -webkit-box-orient:vertical;
  overflow:hidden;
}
.yazar-title a:hover{ color:#dc2626; }

/* Özet (max 3 satır) */
.yazar-excerpt{
  margin:0;
  color:#6b7280;
  font-size:13px;
  line-height:1.45;
  display:-webkit-box;
  -webkit-line-clamp:1;
  -webkit-box-orient:vertical;
  overflow:hidden;
}

/* yazarlar slider */


.yazar-slider-wrapper{
  position:relative;
  width:100%;
  padding:0 44px;          /* oklar içeride kalsın, kesilmesin */
}

.yazar-slider-viewport{
  overflow:hidden;
  width:100%;
}


/* Slider track (tek satır, 4 kart) */
.yazar-strip-track{
  display:flex;
  flex-wrap:nowrap;
  gap:14px;                 /* mevcut tasarımdaki boşluk korunur */
  will-change:transform;
  transform:translate3d(0,0,0);
  backface-visibility: hidden;
}


/* 4 kart: (100% - 3*14px) / 4 */
.section--yazarlar .yazar-card{
  flex:0 0 calc((100% - 42px) / 4);
  max-width:calc((100% - 42px) / 4);
}


/* Oklar container içine alınır */
.yazar-nav {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  width: 38px;
  height: 38px;
  border: none;
  background: #fff;
  cursor: pointer;
  z-index: 50;
  box-shadow: 0 2px 8px rgba(0,0,0,0.25);
}

#yazarPrev { left: 0; }
#yazarNext { right: 0; }


/* =========================================================
   RESPONSIVE
========================================================= */
@media (max-width: 992px){
  /* 2 kart: (100% - 1*14px) / 2 */
  .section--yazarlar .yazar-card{
    flex:0 0 calc((100% - 14px) / 2);
    max-width:calc((100% - 14px) / 2);
  }
}
@media (max-width: 576px){
  /* 1 kart */
  .section--yazarlar .yazar-card{
    flex:0 0 100%;
    max-width:100%;
  }
  .yazar-card{ min-height:unset; }
}



/* =========================
   RESMİ İLANLAR EK-2
========================= */

.ek1-resmi-ilanlar{
  position: relative;
  margin: 16px 0 26px;
}

.ek1-section-title{
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 12px;
  margin: 0 0 -1px;
  position: relative;
  z-index: 2;
}

.ek1-title-line{
  height: 1px;
  flex: 1 1 auto;
  background: linear-gradient(90deg, transparent, rgba(148,163,184,.55), rgba(148,163,184,.55));
}

.ek1-title-line:last-child{
  background: linear-gradient(90deg, #dfe3e8, #dfe3e8, transparent);
}

.ek1-title-badge{
  position: relative;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 34px;
  padding: 7px 22px 10px;
  border-radius: 999px;
  background: #ffffff;
  border: 1px solid #e2e8f0;
  box-shadow: 0 8px 22px rgba(15, 23, 42, .08);
  color: #111827;
  font-size: 15px;
  font-weight: 900;
  line-height: 1;
  white-space: nowrap;
}

.ek1-title-badge::after{
  content: "";
  position: absolute;
  left: 50%;
  bottom: 5px;
  width: 72%;
  height: 3px;
  border-radius: 999px;
  background: var(--ek1-renk, #d50000);
  transform: translateX(-50%);
  box-shadow: 0 4px 10px color-mix(in srgb, var(--ek1-renk, #d50000) 28%, transparent);
}

.ek1-bar{
  margin: 0;
  padding: 16px 0 12px;
  border-top: 1px solid #e2e2e2;
  border-bottom: 1px solid #e2e2e2;

  display: flex;
  align-items: center;
  gap: 14px;
  background:
    linear-gradient(180deg, rgba(248,250,252,.72), rgba(255,255,255,0));
}

.ek1-item{
  flex: 1 1 0;
  min-width: 0;
  display: flex;
  align-items: center;
  gap: 10px;
  text-decoration: none;
  color: inherit;
  padding: 4px 0;
  transition: transform .16s ease, opacity .16s ease;
}

.ek1-item:hover{
  color: inherit;
  text-decoration: none;
  transform: translateY(-1px);
}

.ek1-img{
  position: relative;
  width: 130px;
  height: 90px;
  border-radius: 6px;
  overflow: hidden;
  background: #f2f2f2;
  flex-shrink: 0;
  box-shadow: 0 8px 18px rgba(15, 23, 42, .08);
}

.ek1-img img{
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.ek1-badge{
  position: absolute;
  top: 1px;
  left: 1px;
  background: #d50000;
  color: #fff;
  font-size: 9px;
  font-weight: 800;
  padding: 3px 5px;
  border-radius:5px 0 5px 0;
  line-height: 1;
  text-transform: uppercase;
}

.ek1-title{
  font-size: 18px;
  font-weight: 800;
  line-height: 1.2;
  max-height: 2.4em;
  overflow: hidden;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
}

.ek1-item:hover .ek1-title{
  color: #d50000;
}

.ek1-sep{
  width: 3px;
  height: 44px;
  background: #d50000;
  border-radius: 2px;
  flex-shrink: 0;
}

.ek1-sep--inside{
  margin-left: 2px;
  margin-right: 2px;
}

.ek1-sep--between{
  opacity: .95;
}

/* Responsive */
@media (max-width: 900px){
  .ek1-resmi-ilanlar{
    margin: 16px 0 24px;
  }

  .ek1-section-title{
    gap: 8px;
  }

  .ek1-title-badge{
    font-size: 14px;
    padding: 7px 14px;
  }

  .ek1-bar{
    flex-direction: column;
    align-items: stretch;
    gap: 10px;
    padding: 14px 0;
  }

  .ek1-sep{
    display: none;
  }

  .ek1-item{
    padding: 6px 0;
  }
}

@media (max-width: 576px){
  .ek1-title-line{
    min-width: 18px;
  }

  .ek1-title-badge{
    font-size: 13px;
    padding: 7px 12px;
  }

  .ek1-img{
    width: 112px;
    height: 76px;
  }

  .ek1-title{
    font-size: 16px;
  }
}

/* ==========================================================
   SLIDER GÖRSEL ERTELEME DESTEK
   Gerçek görsel yüklenene kadar boş alan tasarımı bozmasın.
   ========================================================== */

img[data-defer-img="1"]{
  background:linear-gradient(135deg,#eef2f7,#f8fafc);
}

picture source[data-defer-img="1"] + img[data-defer-img="1"]{
  background:linear-gradient(135deg,#eef2f7,#f8fafc);
}

/* =========================
   ANA SAYFA - VIDEO GALERİ BLOĞU
   ========================= */

.home-videogallery{
  margin-top:20px;
}

.vg-wrap{
  display:grid;
  grid-template-columns:2fr 1fr;
  gap:14px;
}

.vg-feature{
  display:block;
  border-radius:22px;
  overflow:hidden;
  background:#fff;
  box-shadow:0 18px 52px rgba(15,23,42,.12);
  text-decoration:none;
  color:inherit;
  border:1px solid rgba(17,24,39,.08);
}

.vg-feature__media{
  position:relative;
  aspect-ratio:16/9;
  background:#111827;
}

.vg-feature__media img{
  width:100%;
  height:100%;
  object-fit:cover;
  display:block;
  transform:scale(1.02);
  transition:transform .3s ease;
}

.vg-feature:hover .vg-feature__media img{
  transform:scale(1.08);
}

.vg-play{
  position:absolute;
  left:16px;
  bottom:16px;
  width:72px;
  height:72px;
  display:grid;
  place-items:center;
  z-index:3;
  pointer-events:none;
  filter:drop-shadow(0 12px 24px rgba(0,0,0,.30));
}

.vg-play img{
  width:100%;
  height:100%;
  object-fit:contain;
  display:block;
}

.vg-feature__meta{
  position:relative;
  margin-top:-18px;
  padding:18px 18px 17px;
  background:rgba(255,255,255,.96);
  border-radius:20px 20px 0 0;
  box-shadow:0 -10px 26px rgba(15,23,42,.08);
  z-index:4;
}

.vg-title{
  font-weight:900;
  font-size:18px;
  line-height:1.25;
  color:#111827;
}

.vg-desc{
  margin-top:7px;
  color:#64748b;
  font-weight:750;
  font-size:14px;
  line-height:1.55;
  display:-webkit-box;
  -webkit-line-clamp:2;
  -webkit-box-orient:vertical;
  overflow:hidden;
}

.vg-desc p{
  margin:0;
}

.vg-list{
  display:flex;
  flex-direction:column;
  gap:10px;
}

.vg-row{
  display:grid;
  grid-template-columns:96px 1fr;
  gap:10px;
  align-items:center;
  padding:10px;
  border-radius:18px;
  background:rgba(255,255,255,.94);
  border:1px solid rgba(17,24,39,.09);
  box-shadow:0 14px 36px rgba(15,23,42,.08);
  text-decoration:none;
  color:inherit;
  backdrop-filter:blur(8px);
  transition:transform .15s ease, box-shadow .15s ease;
}

.vg-row:hover{
  transform:translateY(-1px);
  box-shadow:0 18px 44px rgba(0,0,0,.10);
}

.vg-row__thumb{
  position:relative;
  width:96px;
  height:64px;
  border-radius:12px;
  overflow:hidden;
  background:#111827;
}

.vg-row__thumb img{
  width:100%;
  height:100%;
  object-fit:cover;
  display:block;
}

.vg-row__play{
  position:absolute;
  left:8px;
  bottom:8px;
  width:38px;
  height:38px;
  display:grid;
  place-items:center;
  z-index:3;
  pointer-events:none;
  filter:drop-shadow(0 8px 16px rgba(0,0,0,.28));
}

.vg-row__play img{
  width:100%;
  height:100%;
  object-fit:contain;
  display:block;
}

.vg-row__title{
  font-weight:800;
  line-height:1.25;
  font-size:14px;
  color:#111827;
  display:-webkit-box;
  -webkit-line-clamp:2;
  -webkit-box-orient:vertical;
  overflow:hidden;
}

@media (max-width: 992px){
  .vg-wrap{
    grid-template-columns:1fr;
  }
}
@media (max-width: 768px){
  .vg-play{
    width:58px;
    height:58px;
    left:12px;
    bottom:12px;
  }

  .vg-row__play{
    width:32px;
    height:32px;
    left:7px;
    bottom:7px;
  }
}

/* =========================
   Video Galeri özel başlık düzeni
   ========================= */

.home-videogallery .section-title{
  border-bottom:0 !important;
  padding-bottom:0 !important;
  margin-bottom:18px;
}

.home-videogallery .section-title::before,
.home-videogallery .section-title::after,
.home-videogallery .section-title h2::before,
.home-videogallery .section-title h2::after{
  display:none !important;
  content:none !important;
}

.home-videogallery .section-title h2{
  border-bottom:0 !important;
  padding-bottom:0 !important;
}

.home-videogallery .section-title h2::after{
  display:none !important;
}

/* =========================
   Ana sayfa Video Galeri arka plan tasarımı
   ========================= */

.home-videogallery{
  position:relative;
  margin-top:26px;
  margin-bottom:30px;
  padding:26px 24px 28px;
  border-radius:28px;
  overflow:hidden;
  background:
    radial-gradient(circle at 8% 14%, rgba(225,29,46,.14), transparent 34%),
    radial-gradient(circle at 90% 12%, rgba(37,99,235,.12), transparent 32%),
    radial-gradient(circle at 68% 92%, rgba(14,165,233,.09), transparent 38%),
    linear-gradient(135deg, rgba(255,250,251,.98), rgba(246,250,255,.96) 52%, rgba(255,255,255,.98));
  border:1px solid rgba(225,29,46,.09);
  box-shadow:
    0 22px 60px rgba(15,23,42,.07),
    inset 0 1px 0 rgba(255,255,255,.80);
}

.home-videogallery::before{
  content:"";
  position:absolute;
  inset:0;
  pointer-events:none;
  background:
    linear-gradient(135deg, rgba(255,255,255,.36), transparent 48%),
    radial-gradient(circle at 18% 84%, rgba(255,255,255,.42), transparent 34%);
  opacity:.55;
}
.home-videogallery::after{
  content:"";
  position:absolute;
  right:-90px;
  bottom:-110px;
  width:320px;
  height:320px;
  border-radius:50%;
  background:
    radial-gradient(circle, rgba(225,29,46,.12), rgba(225,29,46,.05) 44%, transparent 72%);
  pointer-events:none;
}

.home-videogallery .section-title{
  position:relative;
}


.home-videogallery > *{
  position:relative;
  z-index:2;
}

.home-videogallery .section-title h2{
  box-shadow:none !important;
}

.home-videogallery .section-title h2 span,
.home-videogallery .section-title h2 .section-iconbox{
  box-shadow:none !important;
}

/* ==========================================================
   ANA SAYFA VIDEO GALERI - FOTO GALERI ILE UYUMLU ÖLÇÜ/TASARIM
   ========================================================== */

.home-videogallery{
  max-width:100%;
  margin:25px 0 31px;
  padding:25px 25px 27px;
  border-radius:25px;
}

/* Başlık alanını Foto Galeri gibi yap */
.home-videogallery .vg-head{
  display:flex;
  align-items:center;
  justify-content:space-between;
  gap:10px;
  border-bottom:0 !important;
  padding-bottom:0 !important;
  margin-bottom:24px;
}

.home-videogallery .vg-head::before,
.home-videogallery .vg-head::after,
.home-videogallery .vg-head h2::before,
.home-videogallery .vg-head h2::after{
  display:none !important;
  content:none !important;
}

.vg-head-left{
  display:flex;
  align-items:center;
  gap:12px;
}

.vg-title-icon{
  width:38px;
  height:38px;
  border-radius:14px;
  display:grid;
  place-items:center;
  background:linear-gradient(135deg,#e11d2e,#f97316);
  color:#fff;
  box-shadow:0 14px 30px rgba(225,29,46,.20);
  flex:0 0 auto;
}

.vg-title-icon i{
  font-size:15px;
  margin-left:2px;
}

.home-videogallery .vg-head h2{
  margin:0 !important;
  padding:0 !important;
  border:0 !important;
  box-shadow:none !important;
  color:#111827;
  font-size:30px;
  font-weight:950;
  letter-spacing:-.03em;
  line-height:1.1;
}

/* Tümü butonu Foto Galeri'deki gibi kapsüllü */
.vg-more{
  display:inline-flex;
  align-items:center;
  gap:6px;
  color:#e11d2e;
  text-decoration:none;
  font-weight:900;
  font-size:12px;
  padding:11px 16px;
  border-radius:999px;
  background:rgba(255,255,255,.72);
  border:1px solid rgba(225,29,46,.13);
  box-shadow:0 12px 28px rgba(15,23,42,.06);
  transition:background .18s ease, transform .18s ease, color .18s ease;
}

.vg-more:hover{
  background:rgba(255,255,255,.96);
  color:#b91c1c;
  transform:translateX(2px);
}

/* İçerik genişliğini Foto Galeri gibi dengeli yap */
.home-videogallery .vg-wrap{
  width:100%;
  max-width:1180px;
  margin:0 auto;
  display:grid;
  grid-template-columns:minmax(0, 1.45fr) minmax(330px, .72fr);
  gap:24px;
  align-items:stretch;
}

/* Büyük video kartını Foto Galeri kart genişliğine yaklaştır */
.home-videogallery .vg-feature{
  border-radius:22px;
  overflow:hidden;
  min-height:0;
  height:100%;
  box-shadow:0 18px 46px rgba(15,23,42,.11);
}

/* Görsel fazla uzun durmasın */
.home-videogallery .vg-feature__media{
  aspect-ratio:16/9;
  max-height:470px;
  border-radius:22px 22px 0 0;
  overflow:hidden;
}

/* Metin kutusu yumuşak, foto galeri kart hissinde */
.home-videogallery .vg-feature__meta{
  margin-top:-16px;
  min-height:110px;
  border-radius:22px 22px 0 0;
  padding:18px 20px 19px;
  background:rgba(255,255,255,.96);
  box-shadow:0 -10px 26px rgba(15,23,42,.08);
  position:relative;
  z-index:4;
}

/* Başlık/metin dengesi */
.home-videogallery .vg-title{
  font-size:20px;
  line-height:1.22;
  font-weight:950;
  color:#111827;
}

.home-videogallery .vg-desc{
  margin-top:8px;
  font-size:14px;
  line-height:1.55;
  color:#64748b;
  font-weight:750;
  -webkit-line-clamp:2;
}

/* Sağ listeyi Foto Galeri sağ kolon genişliğine yaklaştır */
.home-videogallery .vg-list{
  gap:14px;
  align-self:stretch;
}

/* Sağdaki video satırları daha kompakt ve şık */
.home-videogallery .vg-row{
  grid-template-columns:104px minmax(0,1fr);
  min-height:86px;
  padding:12px;
  border-radius:20px;
  background:rgba(255,255,255,.94);
  border:1px solid rgba(15,23,42,.08);
  box-shadow:0 14px 34px rgba(15,23,42,.075);
}

/* Sağ küçük görseller */
.home-videogallery .vg-row__thumb{
  width:104px;
  height:62px;
  border-radius:13px;
}

/* Sağdaki başlık */
.home-videogallery .vg-row__title{
  font-size:15px;
  line-height:1.28;
  font-weight:900;
  color:#111827;
}

/* play.png büyük kartta fazla devleşmesin */
.home-videogallery .vg-play{
  width:68px;
  height:68px;
  left:18px;
  bottom:96px;
}

/* sağ küçük kartlardaki play.png ölçüsü */
.home-videogallery .vg-row__play{
  width:38px;
  height:38px;
  left:8px;
  bottom:8px;
}

/* Büyük ekranda foto galeri gibi daha kontrollü yükseklik */
@media (min-width:1200px){
  .home-videogallery .vg-wrap{
    max-width:1160px;
  }

  .home-videogallery .vg-feature__media{
    max-height:455px;
  }
}

/* Tablet */
@media (max-width:992px){
  .home-videogallery{
    padding:24px 18px 26px;
  }

  .home-videogallery .vg-wrap{
    grid-template-columns:1fr;
    max-width:100%;
  }

  .home-videogallery .vg-feature__media{
    max-height:none;
  }

  .home-videogallery .vg-play{
    bottom:92px;
  }
}

/* Mobil */
@media (max-width:640px){
  .home-videogallery .vg-head{
    align-items:flex-start;
  }

  .home-videogallery .vg-head h2{
    font-size:24px;
  }

  .vg-title-icon{
    width:38px;
    height:38px;
    border-radius:13px;
  }

  .vg-more{
    padding:9px 13px;
    font-size:14px;
  }

  .home-videogallery .vg-row{
    grid-template-columns:96px minmax(0,1fr);
  }

  .home-videogallery .vg-row__thumb{
    width:96px;
    height:58px;
  }

  .home-videogallery .vg-play{
    width:58px;
    height:58px;
    left:14px;
    bottom:88px;
  }
}

/* Video Galeri büyük kart başlık ve açıklama düzeni */
.home-videogallery .vg-title{
  font-size:25px !important;
  line-height:1.25 !important;
  font-weight:950 !important;
}

.home-videogallery .vg-desc{
  font-size:15px !important;
  line-height:1.55 !important;
  -webkit-line-clamp:3 !important;
  max-height:calc(1.55em * 4) !important;
}
.home-videogallery .vg-feature__meta{
  min-height:150px !important;
  padding-bottom:15px !important;
}