/* haber-galeri.css — ferdi.fun haber karuseli + gün seçici + görseller */

/* Galeri sarmalayıcı */
.haber-galeri {
    max-width: 780px;
    margin: 0 auto;
}

/* Üst bilgi satırı: gün + "daha fazla" butonu */
.haber-galeri-ust {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
    flex-wrap: wrap;
    margin-bottom: 14px;
}
.haber-gun-bilgi {
    font-family: 'JetBrains Mono', monospace;
    font-size: 0.85rem;
    color: #60a5fa;
    font-weight: 600;
}
.haber-daha {
    padding: 7px 16px;
    font-size: 0.82rem;
    color: #94a3b8;
    background: rgba(255,255,255,0.04);
    border: 1px solid rgba(255,255,255,0.1);
    border-radius: 100px;
    cursor: pointer;
    transition: all 0.25s;
    font-family: 'Inter', sans-serif;
}
.haber-daha:hover {
    color: #e0e7f0;
    border-color: rgba(96,165,250,0.4);
}

/* Gün seçici (varsayılan gizli) */
.haber-gunler {
    display: none;
    flex-wrap: wrap;
    gap: 8px;
    margin-bottom: 16px;
    padding: 14px;
    background: rgba(255,255,255,0.03);
    border: 1px solid rgba(255,255,255,0.06);
    border-radius: 14px;
}
.haber-gunler.acik { display: flex; }
.haber-gun-chip {
    padding: 6px 13px;
    font-size: 0.8rem;
    color: #94a3b8;
    background: rgba(255,255,255,0.04);
    border: 1px solid rgba(255,255,255,0.08);
    border-radius: 100px;
    cursor: pointer;
    transition: all 0.2s;
    font-family: 'Inter', sans-serif;
}
.haber-gun-chip:hover { color: #e0e7f0; }
.haber-gun-chip.aktif {
    color: #fff;
    background: linear-gradient(135deg, rgba(37,99,235,0.35), rgba(124,58,237,0.35));
    border-color: rgba(96,165,250,0.5);
}
.haber-gun-chip .chip-sayi { color: #64748b; font-size: 0.72rem; }

/* Kart alanı — kaydırma için dokunmatik */
.haber-kart-alan {
    min-height: 260px;
    touch-action: pan-y;
    user-select: none;
}
.haber-kart-alan .news-card {
    opacity: 1;
    transform: none;
    transition: opacity 0.22s ease;
}
.haber-kart-alan .news-card.gecis { opacity: 0; }

/* Haber görseli */
.news-gorsel-kutu { margin: -28px -28px 18px; border-radius: 14px 14px 0 0; overflow: hidden; }
.news-gorsel {
    width: 100%;
    max-height: 260px;
    object-fit: cover;
    display: block;
}
.news-gorsel-kaynak {
    font-size: 0.68rem;
    color: #64748b;
    padding: 4px 28px 0;
}
.news-gorsel-kaynak a { color: #60a5fa; text-decoration: underline; text-underline-offset: 2px; }

/* Kontroller */
.haber-kontroller {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 16px;
    margin-top: 18px;
}
.haber-ok {
    width: 40px; height: 40px;
    display: inline-flex; align-items: center; justify-content: center;
    background: rgba(255,255,255,0.05);
    border: 1px solid rgba(255,255,255,0.1);
    border-radius: 50%;
    color: #e0e7f0;
    font-size: 0.95rem;
    cursor: pointer;
    transition: all 0.25s;
}
.haber-ok:hover {
    background: rgba(96,165,250,0.15);
    border-color: rgba(96,165,250,0.4);
}
.haber-sayfa {
    display: flex;
    align-items: center;
    gap: 6px;
    flex-wrap: wrap;
    justify-content: center;
}
.haber-sayfa-num {
    min-width: 32px; height: 32px;
    padding: 0 8px;
    display: inline-flex; align-items: center; justify-content: center;
    background: rgba(255,255,255,0.04);
    border: 1px solid rgba(255,255,255,0.08);
    border-radius: 8px;
    color: #94a3b8;
    font-family: 'JetBrains Mono', monospace;
    font-size: 0.8rem;
    cursor: pointer;
    transition: all 0.2s;
}
.haber-sayfa-num:hover { color: #e0e7f0; border-color: rgba(96,165,250,0.35); }
.haber-sayfa-num.aktif {
    color: #fff;
    background: linear-gradient(135deg, rgba(37,99,235,0.5), rgba(124,58,237,0.5));
    border-color: rgba(96,165,250,0.6);
}
.haber-sayfa-sayi {
    font-family: 'JetBrains Mono', monospace;
    font-size: 0.85rem;
    color: #64748b;
}
.haber-kaydir-ipucu {
    text-align: center;
    font-size: 0.72rem;
    color: #475569;
    margin-top: 8px;
}

@media (max-width: 640px) {
    .news-gorsel-kutu { margin: -20px -20px 14px; }
}
