/* ============================= */
/*      TAKIM LOGOLARI BARİ     */
/* ============================= */
#takimLogolariSection {

  background: #fff;
  border-radius: 18px;
  margin: 24px 0 22px 0;  /* üst: 12px boşluk eklendi */
  padding: 16px 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: 60px; 
  padding-bottom: 6px;
  background: #fff;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: flex-start;
  text-decoration: none !important;
  border-radius: 12px;
  border: 2px solid #f2f2f2;
  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 #d32f2f11;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: transform 0.14s, box-shadow 0.14s;
  margin-top: 5px;
}

/* Hover efekti logoya */
.takim-logo-img-wrapper:hover {
  transform: scale(1.15);
  box-shadow: 0 8px 26px #1976d269;
  border-color: #1976d2;
}

/* 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: #1976d2;
  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;
}
#kategoriBlogList {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 32px 20px;
  margin: 0 auto;
}

.kategori-card-col {
  flex: 0 1 360px;  /* Maksimum 360px, küçülebilir */
  display: flex;
}

.kategori-card {
  width: 100%;
  max-width: 360px;
  background: #fff;
  border-radius: 20px;
  box-shadow: 0 2px 14px #d32f2f13;
  display: flex;
  flex-direction: column;
}

/* 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 #8ecf0b;
  color: #333;
  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 === */
#kategoriBlogList {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
  gap: 32px 20px;
  margin: 0 auto;
}

.kategori-card-col {
  height: 100%;
  display: flex;
}

.kategori-card-link {
  width: 100%;
  height: 100%;
  text-decoration: none !important;
  color: inherit;
  display: flex;
}

.kategori-card {
  background: #fff;
  border-radius: 20px;
  box-shadow: 0 2px 14px #d32f2f13;
  display: flex;
  flex-direction: column;
  width: 100%;
  height: 100% !important;
  transition: box-shadow .2s, transform .14s;
  justify-content: flex-start; 
  overflow: hidden; /* Taşma olmasın */
}

.kategori-card:hover {
  box-shadow: 0 8px 36px #d32f2f25;
  transform: translateY(-5px) scale(1.03);
}

.kategori-card-img {
  width: 100%;
  height: 210px !important;         
  object-fit: cover;
  border-radius: 20px 20px 0 0;
  background: #eaeaea;
  display: block;
  margin-bottom: 0 !important;
}

.kategori-card-title {
 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;

}

@media (max-width: 600px) {
  #kategoriBlogList {
    grid-template-columns: 1fr !important;   /* Sadece 1 sütun */
    gap: 13px 0 !important;
  }
  .kategori-card-img {  height: 140px !important; }
  .kategori-card-title {     font-size: 1rem !important; padding: 0 9px 12px 9px !important;}
}

#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;
}
/* ============================== */
/*   SLIDER: GENEL TASARIM        */
/* ============================== */

.tv-slider-container {
  width: 100%;
  max-width: 820px;  /* masaüstü için ideal genişlik */
  margin: 62px auto 24px auto !important;
  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; }
}
#kategoriBanner {
  width: 100%;
  min-height: 80px;
  max-height: 220px;
  background: #f6f6f6;
  background-size: cover;
  background-position: center;
  border-radius: 18px;
  margin-bottom: 24px;
  box-shadow: 0 4px 24px #2222;
  display: none;  /* JS ile açılacak */
  transition: background 0.2s;
}
@media (max-width: 800px) {
  #kategoriBanner {
    min-height: 40px;
    border-radius: 8px;
    margin-bottom: 14px;
    max-height: 80px;
  }
}
