@import url('https://fonts.googleapis.com/css2?family=Inter:wght@400;600;700&display=swap');

body {
  font-family: 'Inter', 'Gibson', Arial, sans-serif;
  background: #f5f7fa;
  margin: 0;
}

/* Başlık */
h1 {
  text-align: center;
  padding: 20px;
  font-size: 2rem;
  color: #00499c;
}

/* 🖼️ Slider */
.haber-slider {
  max-width: 1100px;
  margin: 40px auto 20px;
  position: relative;
}

.slider-gosterim {
  display: none;
  position: relative;
}

.slider-gosterim.active {
  display: block;
}

.slider-gosterim img {
  width: 100%;
  aspect-ratio: 16/9;
  object-fit: cover;
  border-radius: 12px;
  box-shadow: 0 4px 12px rgba(0,0,0,0.1);
}

.slider-caption {
  position: absolute;
  bottom: 20px;
  left: 20px;
  padding: 10px 15px;
  background: rgba(255,255,255,0.9);
  border-radius: 8px;
}

.slider-caption h2 {
  font-size: 1.25rem;
  margin: 0;
  color: #00499c;
}

.slider-caption .etiket {
  font-size: 0.75rem;
  background: #ffc107;
  padding: 4px 8px;
  border-radius: 10px;
  display: inline-block;
  margin-bottom: 5px;
}

/* Slider Navigation */
.haber-slider-menu {
  text-align: center;
  margin-top: 12px;
}

.slider-item {
  display: inline-block;
  width: 34px;
  height: 34px;
  margin: 5px;
  line-height: 34px;
  background: #eee;
  border-radius: 50%;
  cursor: pointer;
  transition: 0.3s;
}

.slider-item:hover {
  background: #00499c;
  color: #fff;
}

/* 📦 Haber Grid */
.haber-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 20px;
  padding: 20px;
  max-width: 1200px;
  margin: auto;
}

.haber-kutu {
  background: #fff;
  border-radius: 10px;
  box-shadow: 0 2px 5px rgba(0,0,0,0.08);
  overflow: hidden;
  transition: transform 0.2s ease;
  display: flex;
  flex-direction: column;
  height: 380px;
}

.haber-kutu:hover {
  transform: scale(1.02);
}

.haber-kutu img {
  width: 100%;
  aspect-ratio: 16/9;
  object-fit: cover;
  background-color: #eee;
}

.haber-icerik {
  padding: 15px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  flex-grow: 1;
}

.haber-icerik h2 {
  font-size: 18px;
  margin-bottom: 8px;
  color: #00499c;
  line-height: 1.3;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
  text-overflow: ellipsis;
  max-height: 48px;
}

.haber-icerik p {
  font-size: 14px;
  color: #555;
}

.haber-icerik span {
  margin-top: 10px;
  font-weight: 500;
  color: #007bff;
}

/* 🕊️ Vefatlar */
.vefatlar-blok {
  max-width: 1200px;
  margin: 40px auto;
  padding: 30px 20px;
  background: #fff;
  border-radius: 12px;
  box-shadow: 0 2px 5px rgba(0,0,0,0.08);
}

.vefatlar-header {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  margin-bottom: 25px;
}

.vefatlar-header h2 {
  font-size: 28px;
  font-weight: bold;
  color: #b10000;
  margin-bottom: 5px;
}

.vefatlar-header a {
  font-size: 14px;
  font-weight: 500;
  color: #333;
  text-decoration: none;
}

.vefat-wrapper {
  display: flex;
  gap: 20px;
  overflow-x: auto;
  padding-bottom: 10px;
}

.vefat-kutu {
  flex: 0 0 auto;
  width: 180px;
  padding: 10px;
  background: #f8f8f8;
  border-radius: 8px;
  box-shadow: 0 0 4px rgba(0,0,0,0.1);
  text-align: center;
}

.vefat-kutu:hover {
  transform: none;
  box-shadow: 0 0 4px rgba(0,0,0,0.15);
}

.vefat-kutu img {
  width: 100%;
  height: 120px;
  object-fit: cover;
  border-radius: 6px;
  background: #eee;
}

.vefat-kutu h3 {
  font-size: 15px;
  font-weight: bold;
  color: #222;
  margin-top: 8px;
}

/* 📚 Köşe Yazıları */
.yazarlar-blok {
  max-width: 1280px;
  margin: 50px auto;
  padding: 0 24px;
}

.bolum-baslik {
  font-size: 28px;
  font-weight: 700;
  color: #1e3a8a;
  border-left: 6px solid #fbbf24;
  padding-left: 12px;
  margin-bottom: 24px;
}

.swiper-slide .yazar-kutu {
  background: #fff;
  border-radius: 12px;
  box-shadow: 0 4px 8px rgba(0,0,0,0.06);
  transition: 0.3s;
  overflow: hidden;
  display: flex;
  flex-direction: column;
  text-decoration: none;
  color: #111827;
}

.yazar-kutu:hover {
  transform: scale(1.03);
  box-shadow: 0 6px 12px rgba(0,0,0,0.1);
}

.yazar-kutu img {
  width: 100%;
  height: 160px;
  object-fit: cover;
  background: #e5e7eb;
  border-radius: 12px 12px 0 0;
}

.yazar-bilgi {
  padding: 16px;
}

.yazar-bilgi h3 {
  font-size: 18px;
  color: #1e40af;
  margin-bottom: 6px;
}

.yazar-adi {
  font-size: 14px;
  color: #c00;
  font-style: italic;
  margin-bottom: 4px;
}

.yazi-tarih {
  font-size: 13px;
  color: #6b7280;
  margin-bottom: 8px;
}

.yazi-ozet {
  font-size: 14px;
  color: #374151;
  display: -webkit-box;
  -webkit-line-clamp: 3;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

/* 📱 Mobile */
@media (max-width: 600px) {
  .haber-icerik,
  .vefatlar-blok,
  .vefat-wrapper {
    padding-left: 10px;
    padding-right: 10px;
  }

  .slider-caption {
    font-size: 1rem;
    padding: 8px;
    left: 10px;
    right: 10px;
  }

  h1 {
    font-size: 22px;
    padding: 10px;
  }
}