/* ============================================================
   Rich Design - Blog liste sayfası düzeni (blog-fix.css)
   Mevcut şablonun üzerine yüklenir; kart düzenini modernleştirir.
   ============================================================ */

/* Üst boşluk (kaldırılan <br> yığını yerine kontrollü boşluk) */
.blog-page { padding-top: 48px; }

/* Grid: eşit yükseklikte kartlar */
.news-list .row {
  display: flex;
  flex-wrap: wrap;
  margin-left: -14px;
  margin-right: -14px;
}
.news-list .row > .col-md-4 {
  display: flex;
  padding: 0 14px 28px 14px;
  float: none;
}

/* Kart */
.news-list__item {
  display: flex !important;
  flex-direction: column;
  width: 100%;
  background: #fff;
  border: 1px solid #ececec;
  border-radius: 14px;
  overflow: hidden;
  text-decoration: none !important;
  transition: transform .22s ease, box-shadow .22s ease;
}
.news-list__item:hover {
  transform: translateY(-4px);
  box-shadow: 0 14px 34px rgba(0,0,0,.10);
}

/* Görsel: sabit oran, taşmayı kırp */
.news-list__item .boyutlandirma {
  width: 100%;
  aspect-ratio: 16 / 10;
  overflow: hidden;
  background: #111;
}
.news-list__item .boyutlandirma img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  transition: transform .35s ease;
}
.news-list__item:hover .boyutlandirma img { transform: scale(1.04); }

/* Metin alanı */
.news-list__item .text-w {
  display: flex;
  flex-direction: column;
  flex: 1 1 auto;
  padding: 20px 22px 24px 22px;
}
.news-list__item .author {
  font-size: 11px;
  font-weight: 700;
  letter-spacing: .14em;
  text-transform: uppercase;
  color: #f16522;
  margin-bottom: 10px;
}
.news-list__item .article-preview-title {
  font-size: 20px;
  line-height: 1.35;
  font-weight: 700;
  color: #14141f;
  margin: 0 0 10px 0;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
  min-height: 2.7em;
}
.news-list__item .description {
  font-size: 14.5px;
  line-height: 1.6;
  color: #6b6b76;
  margin: 0;
  display: -webkit-box;
  -webkit-line-clamp: 3;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

/* Sayfalama */
.news-list .pagination { float: none; }
.news-list [align="right"] { text-align: center !important; }
.pagination > li > a {
  border-radius: 10px !important;
  margin: 0 4px;
  color: #14141f;
  border: 1px solid #e5e5e5;
  padding: 9px 16px;
}
.pagination > li.active > a,
.pagination > li > a:hover {
  background: #f16522;
  border-color: #f16522;
  color: #fff;
}

/* "Daha Fazla Yükle" butonu */
.load-more { text-align: center; padding: 8px 0 56px 0; }

/* Mobil */
@media (max-width: 767px) {
  .news-list .row > .col-md-4 { width: 100%; }
  .blog-page { padding-top: 28px; }
}

/* ---- Revizyon: başlık boyutu + sayfalama kaldırma + load-more ---- */

/* Başlıklar (şablonun dev boyutunu ez) */
.news-list__item .article-preview-title,
.news-list__item .text-w h4 {
  font-size: 18px !important;
  line-height: 1.4 !important;
  font-weight: 700 !important;
  min-height: 0 !important;
  letter-spacing: 0 !important;
}
.news-list__item .description {
  font-size: 14px !important;
  line-height: 1.6 !important;
}
.news-list__item .author {
  font-size: 10.5px !important;
  letter-spacing: .12em !important;
}

/* Sayı sayfalaması tamamen gizli (eski cache ihtimaline karşı) */
.news-list .pagination,
.news-list [align="right"] { display: none !important; }

/* Daha Fazla Yükle - yüklenme durumu */
.load-more #loadMoreBtn.loading {
  opacity: .45;
  pointer-events: none;
}
.load-more #loadMoreBtn.loading .icon {
  animation: rd-spin 1s linear infinite;
  display: inline-block;
}
@keyframes rd-spin { to { transform: rotate(360deg); } }

/* ---- Abone Ol modalı düzeltmeleri ---- */
.modal-subscribe .modal-content {
  background: #fff !important;
  border-radius: 16px;
  padding: 36px 32px;
  box-shadow: 0 30px 80px rgba(0,0,0,.35);
}
.modal-subscribe h3 { color: #14141f; }
.form-subscribe .form-input {
  width: 100%;
  border: 1px solid #ddd !important;
  border-radius: 10px;
  padding: 12px 14px;
  font-size: 15px;
  color: #14141f;
  background: #fff;
}
.form-subscribe .form-label { color: #999; }
.form-subscribe input[type="checkbox"] {
  -webkit-appearance: checkbox !important;
  appearance: auto !important;
  opacity: 1 !important;
  position: static !important;
  width: 16px;
  height: 16px;
  margin-right: 8px;
  pointer-events: auto !important;
  cursor: pointer;
  accent-color: #f16522;
}
.form-subscribe .form-checkbox-label {
  color: #333;
  margin: 0 16px 8px 0;
  cursor: pointer;
  display: inline-flex;
  align-items: center;
}
.form-subscribe .form-error-text { color: #e0402a; font-size: 13px; margin-top: 6px; }
#subscribe-complete { display: none; text-align: center; color: #14141f; }
.modal-subscribe .close { z-index: 5; }


/* ---- Aktif kategori vurgusu ---- */
.blog-filter li.rd-kat-aktif a { color:#f16522 !important; font-weight:700; border-bottom:2px solid #f16522; padding-bottom:4px; }
