/* ============================================================
   HABERLER LISTESI (hl-) — 21.09.2026
   pages/haberler.php. Ana sayfa haber kartlari ve haber detay
   sayfasiyla ayni dil (koyu kart, kehribar vurgu).
   ============================================================ */

.hl-kap { width: 100%; max-width: 1200px; margin: 0 auto; padding: 0 20px; position: relative; }

/* --- UST --- */
.hl-ust { position: relative; overflow: hidden; margin-top: -132px; padding: 156px 0 28px;
    background: radial-gradient(60% 80% at 15% 0%, rgba(250,204,21,.10), transparent 60%),
                radial-gradient(50% 70% at 100% 20%, rgba(139,92,246,.08), transparent 60%), #08090C; }
.hl-ust-izgara { position: absolute; inset: 0; pointer-events: none; opacity: .55;
    background-image: linear-gradient(rgba(255,255,255,.035) 1px, transparent 1px), linear-gradient(90deg, rgba(255,255,255,.035) 1px, transparent 1px);
    background-size: 44px 44px; -webkit-mask-image: linear-gradient(180deg, #000, transparent 90%); mask-image: linear-gradient(180deg, #000, transparent 90%); }

.hl-iz { display: flex; align-items: center; gap: .5rem; font-size: .8rem; font-weight: 700; color: #64748B; margin-bottom: 1.2rem; }
.hl-iz a { color: #94A3B8; } .hl-iz a:hover { color: #FACC15; }
.hl-iz > i { font-size: .6rem; } .hl-iz span { color: #CBD5E1; }

.hl-ust-satir { display: flex; flex-wrap: wrap; align-items: flex-end; justify-content: space-between; gap: 1.5rem; margin-bottom: 1.75rem; }
.hl-baslik { font-family: 'Montserrat', sans-serif; font-weight: 900; font-size: clamp(2.2rem, 5vw, 3.4rem); line-height: 1.05; letter-spacing: -.02em; color: #fff; margin: 0 0 .6rem; }
.hl-baslik span { color: transparent; background: linear-gradient(180deg, #FEF08A, #FACC15); -webkit-background-clip: text; background-clip: text; }
.hl-alt { color: #94A3B8; font-size: 1.02rem; margin: 0; max-width: 34rem; }

.hl-ara { position: relative; width: min(100%, 340px); }
.hl-ara > i { position: absolute; left: 1rem; top: 50%; transform: translateY(-50%); color: #64748B; font-size: .9rem; pointer-events: none; }
.hl-ara input[type=search] { width: 100%; height: 48px; padding: 0 2.6rem 0 2.7rem; border-radius: .9rem; font: inherit; font-size: .92rem; color: #fff;
    background: rgba(17,19,26,.85); border: 1px solid rgba(255,255,255,.1); outline: none; transition: border-color .2s, box-shadow .2s; }
.hl-ara input[type=search]::-webkit-search-cancel-button { display: none; }
.hl-ara input[type=search]::placeholder { color: #475569; }
.hl-ara input[type=search]:focus { border-color: rgba(250,204,21,.55); box-shadow: 0 0 0 4px rgba(250,204,21,.12); }
.hl-ara-temizle { position: absolute; right: .5rem; top: 50%; transform: translateY(-50%); width: 32px; height: 32px; border-radius: .6rem; display: flex; align-items: center; justify-content: center; color: #94A3B8; }
.hl-ara-temizle:hover { color: #FACC15; background: rgba(255,255,255,.05); }

.hl-filtre { display: flex; gap: .5rem; overflow-x: auto; padding-bottom: 4px; scrollbar-width: none; }
.hl-filtre::-webkit-scrollbar { display: none; }
.hl-filtre-ogesi { flex-shrink: 0; display: inline-flex; align-items: center; gap: .5rem; height: 42px; padding: 0 1rem; border-radius: 999px;
    font-size: .86rem; font-weight: 800; color: #CBD5E1; background: rgba(17,19,26,.8); border: 1px solid rgba(255,255,255,.08); transition: color .2s, border-color .2s, background .2s; }
.hl-filtre-ogesi i { color: var(--k); font-size: .8rem; }
.hl-filtre-ogesi span { min-width: 22px; height: 22px; padding: 0 .4rem; border-radius: 999px; display: inline-flex; align-items: center; justify-content: center; font-size: .72rem; background: rgba(255,255,255,.07); color: #94A3B8; }
.hl-filtre-ogesi:hover { color: #fff; border-color: color-mix(in srgb, var(--k) 50%, transparent); }
.hl-filtre-ogesi.aktif { color: #fff; background: color-mix(in srgb, var(--k) 16%, #11131A); border-color: var(--k); box-shadow: 0 0 0 3px color-mix(in srgb, var(--k) 14%, transparent); }
.hl-filtre-ogesi.aktif span { background: var(--k); color: #0B0D13; }

/* --- GOVDE --- */
.hl-govde { background: #08090C; padding: 1.5rem 0 5rem; }
.hl-sonuc { color: #94A3B8; margin: 0 0 1.25rem; font-size: .95rem; }
.hl-sonuc b { color: #FACC15; }

.hl-meta { display: flex; flex-wrap: wrap; align-items: center; gap: .45rem .9rem; font-size: .78rem; font-weight: 700; color: #64748B; }
.hl-meta i { color: #FACC15; margin-right: .2rem; }
.hl-kat { display: inline-flex; align-items: center; padding: .28rem .65rem; border-radius: .5rem; font-size: .7rem; font-weight: 900; letter-spacing: .06em; text-transform: uppercase; color: #fff; background: var(--k); }

/* one cikan */
.hl-one { display: grid; grid-template-columns: 1fr; margin-bottom: 2rem; border-radius: 1.5rem; overflow: hidden; background: linear-gradient(180deg, #13151D, #0F1117);
    border: 1px solid rgba(250,204,21,.18); box-shadow: 0 30px 60px rgba(0,0,0,.4); transition: border-color .3s, transform .3s; }
.hl-one:hover { border-color: rgba(250,204,21,.45); transform: translateY(-3px); }
@media (min-width: 900px) { .hl-one { grid-template-columns: 1.15fr 1fr; } }
.hl-one-gorsel { position: relative; overflow: hidden; aspect-ratio: 16/10; }
@media (min-width: 900px) { .hl-one-gorsel { aspect-ratio: auto; min-height: 340px; } }
.hl-one-gorsel img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; transition: transform .7s; }
.hl-one:hover .hl-one-gorsel img { transform: scale(1.05); }
.hl-one-rozet { position: absolute; top: 16px; left: 16px; display: inline-flex; align-items: center; gap: .4rem; padding: .45rem .8rem; border-radius: .7rem; font-size: .74rem; font-weight: 900; letter-spacing: .06em;
    color: #1A1400; background: #FACC15; box-shadow: 0 3px 0 #A87F06, 0 10px 24px rgba(0,0,0,.4); }
.hl-one-yazi { display: flex; flex-direction: column; justify-content: center; gap: 1rem; padding: clamp(1.5rem, 3.5vw, 2.75rem); }
.hl-one-baslik { font-family: 'Montserrat', sans-serif; font-weight: 900; font-size: clamp(1.6rem, 3vw, 2.3rem); line-height: 1.12; color: #fff; margin: 0; transition: color .2s; }
.hl-one:hover .hl-one-baslik { color: #FDE68A; }
.hl-one-ozet { color: #94A3B8; line-height: 1.65; margin: 0; }
.hl-dugme { align-self: flex-start; display: inline-flex; align-items: center; gap: .55rem; margin-top: .4rem; padding: .8rem 1.3rem; border-radius: .85rem; font-weight: 900; font-size: .9rem;
    color: #1A1400; background: #FACC15; box-shadow: 0 4px 0 #A87F06; transition: transform .15s, filter .2s; }
.hl-one:hover .hl-dugme, .hl-dugme:hover { filter: brightness(1.05); }
.hl-dugme i { transition: transform .2s; }
.hl-one:hover .hl-dugme i { transform: translateX(3px); }

/* izgara */
.hl-izgara { display: grid; grid-template-columns: 1fr; gap: 1.4rem; }
@media (min-width: 640px) { .hl-izgara { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 1024px) { .hl-izgara { grid-template-columns: repeat(3, 1fr); } }
.hl-kart { display: flex; flex-direction: column; border-radius: 1.25rem; overflow: hidden; background: #11131A; border: 1px solid rgba(255,255,255,.06);
    transition: transform .3s, border-color .3s, box-shadow .3s; animation: hlBelir .55s cubic-bezier(.22,.61,.36,1) both; animation-delay: var(--gecikme, 0ms); }
@keyframes hlBelir { from { opacity: 0; transform: translateY(18px); } to { opacity: 1; transform: none; } }
.hl-kart:hover { transform: translateY(-6px); border-color: rgba(250,204,21,.35); box-shadow: 0 24px 48px rgba(0,0,0,.5); }
.hl-kart-gorsel { position: relative; aspect-ratio: 16/10; overflow: hidden; }
.hl-kart-gorsel img { width: 100%; height: 100%; object-fit: cover; transition: transform .6s; }
.hl-kart:hover .hl-kart-gorsel img { transform: scale(1.07); }
.hl-kat-ust { position: absolute; top: 12px; right: 12px; box-shadow: 0 6px 16px rgba(0,0,0,.4); }
.hl-kart-yazi { flex: 1; display: flex; flex-direction: column; gap: .55rem; padding: 1.1rem 1.2rem 1.25rem; }
.hl-kart-baslik { color: #fff; font-weight: 900; font-size: 1.08rem; line-height: 1.35; margin: 0; transition: color .2s; }
.hl-kart:hover .hl-kart-baslik { color: #FACC15; }
.hl-kart-ozet { color: #94A3B8; font-size: .9rem; line-height: 1.55; margin: 0; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }
.hl-oku { margin-top: auto; padding-top: .5rem; display: inline-flex; align-items: center; gap: .45rem; font-size: .84rem; font-weight: 800; color: #FACC15; }
.hl-oku i { transition: transform .2s; }
.hl-kart:hover .hl-oku i { transform: translateX(4px); }

/* bos durum */
.hl-bos { text-align: center; padding: 4rem 1.5rem; border-radius: 1.5rem; background: #0F1117; border: 1px dashed rgba(255,255,255,.12); }
.hl-bos > i { font-size: 2.6rem; color: #334155; margin-bottom: 1rem; }
.hl-bos h3 { color: #fff; font-weight: 900; font-size: 1.3rem; margin: 0 0 .5rem; }
.hl-bos p { color: #64748B; margin: 0 0 1.25rem; }
.hl-bos .hl-dugme { align-self: center; }

/* sayfalama */
.hl-sayfa { display: flex; flex-wrap: wrap; justify-content: center; gap: .45rem; margin-top: 2.5rem; }
.hl-sayfa a, .hl-sayfa span { min-width: 44px; height: 44px; padding: 0 .75rem; border-radius: .8rem; display: inline-flex; align-items: center; justify-content: center; font-weight: 800; font-size: .92rem; color: #CBD5E1; background: #11131A; border: 1px solid rgba(255,255,255,.08); transition: color .2s, border-color .2s; }
.hl-sayfa span { background: none; border: 0; color: #475569; }
.hl-sayfa a:hover { color: #FACC15; border-color: rgba(250,204,21,.4); }
.hl-sayfa a.aktif { color: #1A1400; background: #FACC15; border-color: transparent; box-shadow: 0 3px 0 #A87F06; }

@media (max-width: 768px) { .hl-ust { padding-top: 116px; } .hl-ara { width: 100%; } }
@media (prefers-reduced-motion: reduce) { .hl-kart { animation: none; } }
