/* ======================= */
/*     GENEL VE BODY       */
/* ======================= */
body {
  font-family: 'Inter', sans-serif;
  background-color: #f9f9fb;
  color: #222;
  margin: 0;
  padding: 0;
  transition: opacity 0.2s ease;
  overflow-x: visible;
 
}
@media (max-width: 991.98px) {
  body {
    padding-top: 64px !important; /* sadece üst navbar yüksekliği */
  }
}

/* MASAÜSTÜ (üst navbar + alt navbar toplamı) */
@media (min-width: 992px) {
  body {
    padding-top: 128px !important; /* 112 yerine biraz daha fazla */
  }
}
body.loaded {
  opacity: 1;
}

/* === Fade-in Animasyonu === */
.fade-in {
  opacity: 0;
  transform: translateY(10px);
  transition: opacity 0.6s ease, transform 0.6s ease;
}
.fade-in.active {
  opacity: 1;
  transform: translateY(0);
}
.equal-height {
  display: flex;
  flex-direction: column;
  height: 100%;
}
@keyframes fadeInHighlight {
  from { background-color: #ffe082; }
  to { background-color: transparent; }
}
.yeni-haber {
  animation: fadeInHighlight 1.2s ease-out;
}
/* ============================= */
/*      TAKIM LOGOLARI BARİ     */
/* ============================= */
#takimLogolariSection {
  background: #fff;
  border-radius: 18px;
  padding: 1px 0 12px 0;
  width: 100%;
  box-shadow: 0 3px 20px #d32f2f07, 0 1.5px 5px #2221;
  scroll-behavior: smooth;
  display: flex;
  justify-content: center;
}

#takimLogolariContainer {
  display: flex;
  flex-direction: row;
  align-items: center;
  gap: 20px;
  padding: 0 12px;
  overflow-x: auto;
  overflow-y: hidden;
  max-width: 100%;
  
}

/* Her bir logo linki/kutusu */
.takim-logo-link {
  width: 68px;
  min-height: 84px;        /* Bunu width ile eşit yaparsan tam yuvarlak kutu olur */
  padding-bottom: 6px;
  
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: flex-start;
  text-decoration: none !important;
  border-radius: 50%;    /* DİKKAT: wrapper ile uyumlu olsun */

  box-shadow: 0 2px 10px #2221;
  transition: transform 0.2s ease, box-shadow 0.2s ease, border 0.2s;
  cursor: pointer;
  overflow: visible;
}

/* Logo içini saran wrapper (daire yapar) */
.takim-logo-img-wrapper {
  width: 54px;
  height: 54px;
  border-radius: 50%;
  background: #fff;
  border: 2.5px solid #eee;
  box-shadow: 0 2px 10px --renk-yesil;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-top: 5px;
  overflow: hidden;   /* EKLENDİ */
}

/* Logo resmi */
.takim-logo-img {
  width: 48px;
  height: 48px;
  object-fit: contain;
  border-radius: 50%;
  display: block;
  background: #fff;
}

/* Hover efekti logoya */
.takim-logo-img-wrapper:hover {
  transform: scale(1.15);
  box-shadow: 0 8px 26px #1976d269;
  border-color: #8ecf0b;
}

/* Logo resmi */
.takim-logo-img {
  width: 48px;
  height: 48px;
  object-fit: contain;
  border-radius: 50%;
  display: block;
}

/* Kısa ad */
.takim-logo-kisaad {
  font-size: 13px;
  font-weight: 600;
  color: #222;
  margin-top: 6px;
  text-align: center;
  letter-spacing: 0.02em;
  user-select: none;
  pointer-events: none;
  text-shadow: 0 1px 2px #fff7;
}

/* Hoverda kısa ad rengi değişsin */
.takim-logo-link:hover .takim-logo-kisaad {
  color: #2fd219;
  text-shadow: 0 2px 12px #1976d23b;
}

/* Mobil görünüm */
@media (max-width: 800px) {
  #takimLogolariContainer { gap: 18px !important; }
  .takim-logo-link {
    width: 54px;
    min-height: 84px; /* GÜNCELLENDİ: 70 → 84 */
  }
  
  .takim-logo-img-wrapper {
    width: 42px;
    height: 42px;
  }
  .takim-logo-img {
    width: 36px;
    height: 36px;
  }
  .takim-logo-kisaad {
    font-size: 11px;
    margin-top: 4px;
  }
}

/* ============================= */
/*        KATEGORİ MODÜLLERİ     */
/* ============================= */

/* Kategori başlığı */
#kategoriBaslik {
  font-size: 2rem;
  font-weight: 700;
  margin-bottom: 1.6rem;
  color: #2c3142;
  letter-spacing: .01em;
}

/* Pagination */
#kategoriSayfalama {
  margin-top: 22px;
  display: flex;
  justify-content: center;
  gap: 10px;
}
#kategoriSayfalama .btn {
  min-width: 36px;
  min-height: 36px;
  font-size: 1.13rem;
  font-weight: 600;
  border-radius: 9px;
  transition: background 0.13s, color 0.13s, box-shadow 0.13s;
  box-shadow: 0 2px 8px #0001;
}
#kategoriSayfalama .btn-danger {
  background: #8ecf0b;
  color: #fff;
  border: none;
}
#kategoriSayfalama .btn-outline-danger {
  border: 1.3px solid #d32f2f;
  color: #8ecf0b;
  background: #fff;
}
#kategoriSayfalama .btn-outline-danger:hover {
  background: #8ecf0b;
  color: #fff;
}

/* Scrollable kategori bar */
.kategori-scroll {
  display: flex;
  justify-content: center;
  align-items: center;
  flex-wrap: nowrap;
  overflow-x: auto;
  gap: 10px;
  padding-top: 8px !important;
  padding-bottom: 8px !important;
  margin: 0 auto 10px auto;
  scrollbar-width: thin;
  scrollbar-color: #1A73E8 #e9e9e9;
  -webkit-overflow-scrolling: touch;
}
.kategori-scroll::-webkit-scrollbar {
  height: 6px;
}
.kategori-scroll::-webkit-scrollbar-thumb {
  background: #1A73E8;
  border-radius: 6px;
}
.kategori-scroll::-webkit-scrollbar-track {
  background: #e9e9e9;
  border-radius: 6px;
}
@media (max-width: 800px) {
  .kategori-scroll {
    padding: 12px 0 10px 6px;
    gap: 6px;
    border-radius: 0;
    margin-bottom: 5px;
    box-shadow: none;
    border-bottom: 1px solid #eee;
  }
}

/* ============================= */
/*        HABER KARTLARI         */
/* ============================= */
/* === KATEGORİ BLOG CONTAINER === */
.kategori-main-container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 12px 40px 12px;
}

/* Sadece görsel düzenlemeler */
#kategoriBlogList .card {
  background: #fff;
  border-radius: 18px;
  box-shadow: 0 2px 14px #d32f2f13, 0 1.5px 4px #2221;
  overflow: hidden;
  display: flex;
  flex-direction: column;
  border: none;
  transition: box-shadow 0.22s, transform 0.16s;
  width: 100%;
  height: 100%;
  margin: 0;
}
#kategoriBlogList .card:hover {
  box-shadow: 0 8px 36px #d32f2f25, 0 3px 10px #0002;
  transform: translateY(-5px) scale(1.03);
}
#kategoriBlogList .card-img-top {
  width: 100%;
  height: 200px;
  object-fit: cover;
  object-position: center;
  background: #eaeaea;
  display: block;
  border-radius: 14px 14px 0 0;
}
#kategoriBlogList .card-body {
  padding: 18px 18px 10px 18px;
  display: flex;
  flex-direction: column;
  flex-grow: 1;
}
#kategoriBlogList .card-title {
  font-size: 1.13rem;
  font-weight: 700;
  margin-bottom: 9px;
  color: #1a1d22;
  line-height: 1.27;
  min-height: 2.6em;
  display: -webkit-box;
  -webkit-box-orient: vertical;
  overflow: hidden;
  -webkit-line-clamp: 2;
  line-clamp: 2;
  letter-spacing: .01em;
}
#kategoriBlogList .badge-list, #kategoriBlogList .haber-kart-badges {
  margin-bottom: 8px;
  display: flex;
  flex-wrap: wrap;
  gap: 5px 7px;
}
#kategoriBlogList .badge {
  background: #fff6f6 !important;
  color: #e23232 !important;
  border: 1px solid #ffdada;
  font-weight: 500;
  padding: 3px 11px;
  border-radius: 7px;
  font-size: 13px;
  margin: 0 !important;
  white-space: nowrap;
  box-shadow: 0 1.5px 8px #d32f2f13;
  letter-spacing: .02em;
}
#kategoriBlogList .card-text {
  font-size: 1.01rem;
  color: #454a5a;
  margin-bottom: 13px;
  min-height: 3.5em;
  max-height: 4.2em;
  display: -webkit-box;
  -webkit-box-orient: vertical;
  overflow: hidden;
  -webkit-line-clamp: 3;
  line-clamp: 3;
  line-height: 1.23;
}
#kategoriBlogList .card-footer {
  display: flex;
  align-items: center;
  gap: 7px;
  color: #b4b4b4;
  font-size: 0.98rem;
  font-weight: 500;
  margin-top: auto;
  padding-top: 8px;
  padding-bottom: 6px;
  background: none;
  border: none;
  opacity: .92;
}

/* Responsive optimize */
@media (max-width: 900px) {
  #kategoriBlogList .card-img-top { height: 130px; }
  #kategoriBlogList .card-body { padding: 13px 10px 7px 12px; }
}
@media (max-width: 600px) {
  #kategoriBlogList .card-img-top { height: 85px; }
  #kategoriBlogList .card { border-radius: 10px; }
  #kategoriBlogList .card-title { font-size: 1.01rem; min-height: 1.7em; max-height: 2.2em; }
  #kategoriBlogList .card-text { font-size: .95rem; min-height: 2em; max-height: 3.3em; }
}
#oneCikanSlider {
  width: 100%;
  max-width: 100%;
  margin: 0 auto;
  overflow: hidden;
  border-radius: 18px;
  background: #191919;
}

/* Slider içindeki img */
#oneCikanSlider .carousel-item img,
.slider-img {
  width: 100% !important;
  height: 540px !important;
  max-height: 540px !important;
  object-fit: cover !important;
  object-position:  center !important;
  border-radius: 18px;
  display: block;
}

@media (max-width: 991px) {
  #oneCikanSlider .carousel-item img,
  .slider-img {
    height: 200px !important;
    max-height: 200px !important;
    border-radius: 10px;
  }
}
@media (max-width: 575px) {
  #oneCikanSlider .carousel-item img,
  .slider-img {
    height: 120px !important;
    max-height: 120px !important;
    border-radius: 6px;
  }
}
.card-img-top, .haber-kart img, .haber-karti img {
  width: 100%;
  height: auto;
  object-fit: cover;
  display: block;
  border-radius: 8px;
}
/* ==== HABER DETAY ==== */
#haberDetayContainer {
  max-width: 960px;
  margin: 0 auto;
  padding: 0 12px 40px 12px;
}
.haber-detay-gorsel {
  width: 100% !important;
  height: auto;
  max-height: 420px;
  object-fit: cover;
  object-position: center;
  border-radius: 16px;
  box-shadow: 0 3px 20px #00000015;
  margin-bottom: 22px;
}
.haber-detay-icerik img {
  max-width: 100%;
  max-height: 500px !important;
  width: auto;
  height: auto;
  object-fit: contain;
  display: block;
  margin: 12px auto;
  border-radius: 12px;
  box-shadow: 0 3px 20px #0001;
}
.haber-detay-icerik img {
  max-width: 100%;
  max-height: 100%;
  width: auto;
  height: auto;
  object-fit: contain;
  display: block;
  margin: 12px auto;
  border-radius: 12px;
  box-shadow: 0 3px 20px #0001;
}

.oneri-card-link { display: block; }
.oneri-card-link .card { cursor: pointer; transition: box-shadow .15s, border .15s; }
.oneri-card-link:hover .card { box-shadow: 0 6px 24px #e73b2b22; border-color: #e73b2b; }
/* === Tüm kartlar için genel hover efekti === */
.card:hover {
  box-shadow: 0 8px 36px #d32f2f25, 0 3px 10px #0002 !important;
  transform: translateY(-5px) scale(1.03) !important;
  transition: box-shadow 0.22s, transform 0.16s;
}

.haber-detay-baslik {
  font-size: 2.2rem;
  font-weight: 800;
  line-height: 1.3;
  margin-bottom: 14px;
  color: #1a1d22;
}
.haber-detay-tarih {
  font-size: 0.98rem;
  font-weight: 500;
  color: #666;
  margin-bottom: 24px;
}
.haber-detay-icerik {
  font-size: 1.05rem;
  color: #333;
  line-height: 1.6;
  white-space: pre-wrap;
}
@media (max-width: 768px) {
  .haber-detay-baslik {
    font-size: 1.6rem;
  }
  .haber-detay-icerik {
    font-size: 1rem;
  }
}

/* ==== ETİKET LİSTESİ ==== */
.etiketler-container {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-top: 24px;
}
.etiket {
  background: #f0f0f0;
  color: #444;
  font-size: 0.94rem;
  padding: 6px 12px;
  border-radius: 6px;
  text-decoration: none;
  transition: all 0.2s;
}
.etiket:hover {
  background: #d32f2f;
  color: #fff;
}

/* ==== YORUM KUTUSU ==== */
.yorum-kutusu {
  margin-top: 40px;
}
.yorum-kutusu textarea {
  width: 100%;
  min-height: 100px;
  padding: 10px;
  font-size: 1rem;
  border-radius: 8px;
  border: 1px solid #ccc;
  resize: vertical;
}
.yorum-gonder-btn {
  margin-top: 10px;
  padding: 10px 18px;
  background: #d32f2f;
  color: #fff;
  border: none;
  border-radius: 8px;
  cursor: pointer;
  font-weight: 600;
  transition: background 0.2s;
}
.yorum-gonder-btn:hover {
  background: #b71c1c;
}
/* ==== FOOTER ==== */
footer {
  background: #1a1a1a;
  color: #ccc;
  padding: 40px 0 20px 0;
  font-size: 0.96rem;
}
footer a {
  color: #fff;
  text-decoration: none;
}
footer a:hover {
  text-decoration: underline;
}
.footer-links {
  display: flex;
  flex-wrap: wrap;
  gap: 16px;
  margin-top: 14px;
}
.footer-links a {
  color: #aaa;
  font-weight: 500;
}
.footer-links a:hover {
  color: #fff;
}

/* ==== YÜKLENİYOR ANİMASYONU ==== */
.yukleniyor {
  text-align: center;
  margin: 24px auto;
  color: #aaa;
  font-size: 1.1rem;
}
.spinner {
  border: 4px solid #f3f3f3;
  border-top: 4px solid #d32f2f;
  border-radius: 50%;
  width: 40px;
  height: 40px;
  animation: spin 1s linear infinite;
  margin: 0 auto 12px auto;
}
@keyframes spin {
  0% { transform: rotate(0deg); }
  100% { transform: rotate(360deg); }
}

/* ==== HATA KUTUSU ==== */
.hata-kutusu {
  background-color: #ffecec;
  color: #c00;
  border: 1px solid #f5c2c7;
  padding: 12px 16px;
  border-radius: 8px;
  font-size: 0.97rem;
  margin: 10px 0;
}

/* ==== GENEL KART YAPISI (eski) ==== */
.card-modern {
  background: #fff;
  border-radius: 14px;
  box-shadow: 0 2px 14px #0001;
  padding: 18px;
  margin-bottom: 20px;
  transition: box-shadow 0.2s;
}
.card-modern:hover {
  box-shadow: 0 4px 24px #0002;
}

/* ==== MODAL OVERLAY ==== */
.modal-arka-plan {
  position: fixed;
  top: 0; left: 0;
  width: 100vw;
  height: 100vh;
  background: rgba(0,0,0,0.5);
  display: none;
  align-items: center;
  justify-content: center;
  z-index: 5000;
}
.modal-icerik {
  background: #fff;
  padding: 20px;
  border-radius: 12px;
  max-width: 400px;
  width: 90%;
  box-shadow: 0 4px 20px #0003;
}

/* ==== KÜÇÜK BAŞLIKLAR / BAŞLIK ===== */
.kucuk-baslik {
  font-size: 1.13rem;
  font-weight: 700;
  color: #222;
  margin-bottom: 12px;
}


#oneCikanSlider {
  width: 100%;
  max-width: 100%;
  margin: 0 auto;
  overflow: hidden;
  border-radius: 18px;
  background: #191919;
}

/* Slider içindeki img */
#oneCikanSlider .carousel-item img,
.slider-img {
  width: 100% !important;
  height: 540px !important;
  max-height: 540px !important;
  object-fit: cover !important;
  object-position:  center !important;
  border-radius: 18px;
  display: block;
}

@media (max-width: 991px) {
  #oneCikanSlider .carousel-item img,
  .slider-img {
    height: 200px !important;
    max-height: 200px !important;
    border-radius: 10px;
  }
}
@media (max-width: 575px) {
  #oneCikanSlider .carousel-item img,
  .slider-img {
    height: 120px !important;
    max-height: 120px !important;
    border-radius: 6px;
  }
}

#sitefooter{
  margin-top: auto;
}
/* Modern Slider Kartı */
/* ============================== */
/*   SLIDER: GENEL TASARIM        */
/* ============================== */

.tv-slider-container {
  width: 100%;
  max-width: 1020px;  /* masaüstü için ideal genişlik */
  margin: 12px auto 24px auto;
  background: #fff;
  border-radius: 22px;
  box-shadow: 0 4px 16px rgba(0,0,0,0.07);
  overflow: visible;  /* Taşma olmasın */
  display: block;
}

.tv-slider-card {
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 22px;
  background: none;
  overflow: visible;
  min-height: 440px;
  height: 300px;
  position: relative;
}

/* Slider görseli */
#tvSliderLink {
  display: block;
  width: 100%;
  height: 100%;
  border-radius: 22px;
  overflow: hidden;
  position: relative;
}

.tv-slider-img {
  width: 100%;
  height: 500px;
  object-fit: cover;
  object-position: center;
  border-radius: 22px;
  background: #23273a;
  transition: filter 0.2s;
  display: block;
  aspect-ratio: 16/9;
}

.tv-slider-overlay {
  position: absolute;
  left: 0; right: 0; bottom: 0;
  width: 100%;
  background: linear-gradient(0deg, #23273ae0 68%, #23273a0c 98%, transparent 100%);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: flex-end;
  padding-bottom: 32px;
  pointer-events: none;
}

.tv-slider-title {
  color: #fff;
  font-size: 2rem;
  font-weight: 900;
  text-align: center;
  text-shadow: 1px 1px 3px rgba(0,0,0,0.5);
  margin-bottom: 0;
  line-height: 1.13;
  letter-spacing: .01em;
  max-width: 92%;
  word-break: break-word;
  pointer-events: auto;
  filter: drop-shadow(0 2px 8px #2227);
  padding-bottom: 0;
}

/* Oklar */
.tv-slider-arrow {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  background: rgba(34,37,55,0.85);
  color: #fff;
  font-size: 2.2rem;
  border: none;
  outline: none;
  cursor: pointer;
  z-index: 2;
  width: 40px;
  height: 60px;
  border-radius: 9px;
  transition: background 0.19s, color 0.15s, box-shadow 0.19s;
  box-shadow: 0 4px 20px #0002;
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0.92;
}
.tv-slider-arrow.left { left: 8px; }
.tv-slider-arrow.right { right: 8px; }
.tv-slider-arrow:hover, .tv-slider-arrow:focus {
  background: #e3283a;
  color: #fff;
  opacity: 1;
}

/* Pagination */
.tv-slider-pagination {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 0;
  padding: 10px 0 10px 0;
  background: none;
  margin-top: 0;
}
.tv-slider-pagination button {
  border: none;
  background: none;
  color: #23273a;
  padding: 7px 12px;
  font-size: 1.1rem;
  border-radius: 7px;
  cursor: pointer;
  font-weight: 500;
  margin: 0 3px;
  transition: color 0.14s, background 0.15s;
  outline: none;
}
.tv-slider-pagination button.active {
  background: #e3283a;
  color: #fff;
  font-weight: bold;
}

/* === MOBİL (max 600px) === */
@media (max-width: 600px) {
  .tv-slider-container {
    max-width: 100vw;
      border-radius: 12px;
    margin: 10px 0;
  }
  .tv-slider-card,
  #tvSliderLink,
  .tv-slider-img {
    min-height: 380px !important;
    height: 380px !important;   /* İstersen 200-240px de yapabilirsin */
    border-radius: 12px !important;
  }
  .tv-slider-title {
    font-size: 1.01rem;
    padding-bottom: 0;
  }
  .tv-slider-arrow {
    width: 28px;
    height: 38px;
    font-size: 1.1rem;
    border-radius: 5px;
    left: 2px;
    right: 2px;
  }
  .tv-slider-arrow.left { left: 2px; right: auto; }
  .tv-slider-arrow.right { right: 2px; left: auto; }
}

/* ======================= */
/*    BADGE / ETİKETLER    */
/* ======================= */
.badge, .etiket {
  display: inline-block !important;
  padding: 3px 10px;
  font-size: 12px;
  border-radius: 6px;
  margin-bottom: 0;
  margin-right: 2px;
  background-color: #5e6472 !important;
  color: #fff !important;
  font-weight: 500;
  letter-spacing: 0.01em;
  box-shadow: 0 1px 4px rgba(94,100,114,0.09);
}
.etiket-badge .badge-count {
  background: rgba(255,255,255,0.15);
  border-radius: 1em;
  padding: 0.08em 0.7em;
  font-size: 0.93em;
  margin-left: 0.3em;
  color: #ffc107;
  font-weight: 700;
  display: inline-block;
}
#populerEtiketlerKutusu {
  display: flex !important;
  flex-direction: row !important;
  flex-wrap: nowrap;
  overflow-x: auto;
  gap: 10px;
  padding: 10px 0;
  scrollbar-width: thin;
  scrollbar-color: #ccc transparent;
}

#populerEtiketlerKutusu::-webkit-scrollbar {
  height: 6px;
}

#populerEtiketlerKutusu::-webkit-scrollbar-thumb {
  background-color: #999;
  border-radius: 4px;
}



#populerEtiketlerKutusu::-webkit-scrollbar {
  height: 6px;
}
#populerEtiketlerKutusu::-webkit-scrollbar-thumb {
  background: #ccc;
  border-radius: 4px;
}

#populerEtiketlerKutusu {
  display: flex;
  flex-wrap: nowrap; /* alt alta atmasın */
  overflow-x: auto;   /* yatay scroll */
  overflow-y: hidden;
  gap: 10px;
  padding: 10px 0;
  scrollbar-width: thin;
  scrollbar-color: #ccc transparent;
}

#populerEtiketlerKutusu::-webkit-scrollbar {
  height: 6px;
}

#populerEtiketlerKutusu::-webkit-scrollbar-thumb {
  background-color: #999;
  border-radius: 4px;
}

.etiket-badge {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  white-space: nowrap;
  padding: 6px 12px;
  border-radius: 20px;
  background-color: #2e3d55;
  color: #fff;
  font-size: 14px;
  height: auto;
  width: auto;
  flex-shrink: 0;
}

@media (max-width: 600px) {
  .etiket-badge {
    font-size: 0.85rem;
    padding: 0.18em 0.75em;
  }
}
#populerEtiketlerKutusu a {
  font-size: 12px;
  background: #46546c;
  color: #fff;
  padding: 7px 18px;
  border-radius: 20px;
  text-decoration: none;
  font-weight: 500;
  display: inline-flex;
  align-items: center;
  white-space: nowrap;
  transition: background .2s;
}
#populerEtiketlerKutusu a:hover {
  background: #263047;
}
#populerEtiketlerKutusu .count {
  background: #fff3;
  color: #fff;
  margin-left: 7px;
  padding: 0 8px;
  border-radius: 10px;
  font-size: 13px;
}
.etiket.gundem,
.etiket.saglik,
.etiket.futbol,
.etiket.ekonomi,
.etiket.genel {
  background-color: #D32F2F !important;
}
#blog-list {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(340px, 1fr));
  gap: 30px 24px;
}
.col-md-6, .col-lg-4 {
  display: flex;
  flex-direction: column;
  height: 100%;      /* Mutlaka olmalı */
}
.haber-karti {
  display: flex;
  flex-direction: column;
  justify-content: flex-end;   /* başlık aşağıda dursun */
  height: 100%;                /* grid hücresini tamamen kaplasın */
  min-height: 320px;           /* isteğe göre */
  background: #fff;
  border-radius: 20px;
  box-shadow: 0 2px 14px #d32f2f13;
  transition: box-shadow .2s, transform .16s;
}
.haber-karti:hover {
  box-shadow: 0 8px 36px #d32f2f25;
  transform: translateY(-5px) scale(1.03);
}

.haber-karti-img {
  width: 100%;
  height: 210px !important;         /* ya da 200-220px arası sabit bir değer */
  object-fit: cover;
  border-radius: 20px 20px 0 0;
  flex-shrink: 0;
  background: #eaeaea;
  display: block;
}
.haber-karti-baslik {
  font-size: 19px;
  font-weight: 700;
  color: #222;
  margin: 0;
  padding: 14px 16px 16px 16px;
  line-height: 1.22;
  min-height: 2.5em;
  flex-grow: 1;
  display: flex;
  align-items: flex-end; /* BAŞLIK ALTA YAPIŞIR */
}
@media (max-width: 900px) {
  .haber-karti-baslik { font-size: 1rem; min-height: 2em; }
}
@media (max-width: 600px) {
  .haber-karti-baslik { font-size: .98rem; min-height: 1.3em; }
}

.haber-karti .px-3 { padding-left: 18px !important; padding-right: 18px !important; }
.haber-karti .pb-3 { padding-bottom: 15px !important; }
