.all-posts-wrapper { font-family: 'Montserrat', sans-serif; background-color: #ffffff; color: #0f172a; }
    
/* Hero Bölümü - Diğer Sayfalarla Uyumlu */
.posts-hero { 
    padding: 50px 20px; 
    text-align: center; 
    background-image: linear-gradient(rgba(15, 23, 42, 0.85), rgba(15, 23, 42, 0.98)), url('https://www.ayzweb.com.tr/wp-content/uploads/2026/02/hero-gorseli.webp'); 
    background-size: cover; 
    background-position: center; 
    background-attachment: fixed; 
    color: #ffffff; 
    border-bottom: 5px solid #e30a17; /* Kırmızı alt çizgi eklendi */
}

/* Başlık Boyutu ve Rengi Düzeltildi */
.posts-hero h1 { 
    font-size: clamp(32px, 5vw, 48px); 
    font-weight: 800; 
    margin-bottom: 20px; 
    color: #ffffff; /* Başlık tamamen beyaz yapıldı */
}

/* ✅ OKUNURLUK (çok az iyileştirme) */
.posts-hero p { 
    max-width: 700px; 
    margin: 0 auto; 
    font-size: 18px; 
    color: #cbd5e1; 
}

.posts-container { max-width: 1300px; margin: 0 auto; padding: 40px 20px; }

.posts-filter-bar { display: flex; justify-content: space-between; align-items: center; gap: 20px; margin-bottom: 40px; flex-wrap: wrap; }
.category-filters { display: flex; gap: 10px; flex-wrap: wrap; }
.filter-tag { padding: 8px 18px; border-radius: 30px; background: #f8fafc; border: 1px solid #eee; text-decoration: none; color: #64748b; font-size: 13px; font-weight: 700; transition: 0.3s; }
.filter-tag:hover, .filter-tag.active { background: #e30a17; color: #fff; border-color: #e30a17; }

.posts-main-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(320px, 1fr)); gap: 30px; }

.post-item-card { background: #ffffff; border: 1px solid #eee; border-radius: 20px; overflow: hidden; transition: 0.4s; display: flex; flex-direction: column; text-decoration: none; color: inherit; box-shadow: 0 4px 15px rgba(0,0,0,0.03); }
.post-item-card:hover { transform: translateY(-8px); border-color: #e30a17; box-shadow: 0 10px 30px rgba(227, 10, 23, 0.08); }

.post-item-img { position: relative; height: 200px; overflow: hidden; }
.post-item-img img { width: 100%; height: 100%; object-fit: cover; transition: 0.5s; }
.post-item-card:hover .post-item-img img { transform: scale(1.1); }

.video-badge { position: absolute; inset: 0; background: rgba(0,0,0,0.2); display: flex; align-items: center; justify-content: center; font-size: 30px; color: #fff; opacity: 0.8; }

.post-item-info { padding: 25px; flex-grow: 1; }
.post-item-tag { color: #e30a17; font-size: 11px; font-weight: 800; text-transform: uppercase; letter-spacing: 1px; margin-bottom: 10px; display: block; }
.post-item-info h3 { font-size: 19px; margin: 0 0 12px; line-height: 1.4; color: #0f172a; font-weight: 800; }
.post-item-info p { font-size: 14px; color: #64748b; line-height: 1.6; margin: 0; }

.post-item-meta { padding: 15px 25px; border-top: 1px solid #f1f5f9; font-size: 12px; color: #94a3b8; display: flex; justify-content: space-between; align-items: center; }
.post-item-meta span i { color: #e30a17; margin-right: 5px; }

/* Pagination Stilleri */
.posts-pagination { display: flex; justify-content: center; gap: 10px; margin-top: 60px; }
.posts-pagination .page-numbers { width: 45px; height: 45px; border: 1px solid #eee; border-radius: 12px; display: flex; align-items: center; justify-content: center; text-decoration: none; color: #0f172a; font-weight: 700; transition: 0.3s; background: #fff; }
.posts-pagination .page-numbers:hover, .posts-pagination .page-numbers.current { background: #e30a17; color: #fff; border-color: #e30a17; }

.footer-separator { width: 100%; height: 1px; background: #eee; margin-top: 60px; }

/* ✅ iOS/Android performans: fixed arka planı mobilde kapat */
@media (max-width: 900px){
  .posts-hero{ background-attachment: scroll; }
}

/* ✅ KLAVYE ODAK (erişilebilirlik) */
.filter-tag:focus-visible,
.posts-pagination .page-numbers:focus-visible,
.post-item-card:focus-visible{
  outline: 3px solid rgba(227,10,23,.55);
  outline-offset: 3px;
}

