/* ==========================================================================
   Haberler listesi (news.php) — 23 Eylül 2026 yeniden tasarım.
   home.css'in koyu tema değişkenleri üzerine kurulu (main.nav-home).
   ========================================================================== */

/* Kategori renkleri */
.nc-sivil  { --nc: var(--hb-blue-light); }
.nc-askeri { --nc: var(--hb-green); }
.nc-reg    { --nc: var(--hb-violet); }
.nc-tek    { --nc: #3fd0e0; }
.nc-dunya  { --nc: var(--hb-amber); }
.nc-gen    { --nc: #9fb6cc; }

.nc-tag { display: inline-flex; align-items: center; padding: 3px 9px; border-radius: 5px; background: rgba(159, 182, 204, .14); background: color-mix(in srgb, var(--nc, #9fb6cc) 16%, transparent); color: var(--nc, #9fb6cc); font-size: .64rem; font-weight: 800; letter-spacing: .05em; text-transform: uppercase; }

/* ---- Üst bölüm ---- */
.news-hero { padding: 44px 0 30px; }
.news-hero h1 { font-size: clamp(1.9rem, 3.6vw, 2.6rem); margin-bottom: 10px; }
.news-hero .home-lede { margin-bottom: 0; max-width: 600px; }
.news-hero-top { display: flex; flex-wrap: wrap; align-items: flex-end; justify-content: space-between; gap: 20px 24px; }
.news-stats b { font-size: 1.3rem; }

.news-search { display: flex; gap: 8px; margin-top: 24px; padding: 14px; border: 1px solid var(--hb-border-soft); border-radius: 12px; background: linear-gradient(145deg, rgba(10, 38, 65, .97), rgba(4, 24, 45, .97)); }
.news-search-in { flex: 1; min-width: 0; display: flex; align-items: center; gap: 10px; height: 48px; padding: 0 14px; border: 1px solid var(--hb-border-soft); border-radius: 8px; background: rgba(2, 16, 32, .6); }
.news-search-in:focus-within { border-color: var(--hb-blue-light); box-shadow: 0 0 0 3px rgba(79, 166, 255, .2); }
.news-search-in i { color: var(--hb-muted); }
.news-search-in input { flex: 1; min-width: 0; height: 100%; border: 0; outline: 0; background: transparent; color: #fff; font-weight: 600; font-size: .95rem; }
.news-search-in input::placeholder { color: #5d7a93; }
.news-search button { flex: 0 0 auto; height: 48px; padding: 0 22px; border: 0; border-radius: 8px; background: var(--hb-blue); color: #fff; font-weight: 800; }
.news-search button:hover { background: #2679da; }

.news-cats { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 14px; }
.news-cat { display: inline-flex; align-items: center; gap: 7px; padding: 7px 12px; border: 1px solid var(--hb-border-soft); border-radius: 999px; background: rgba(2, 16, 32, .35); color: #cfe2f2; font-size: .8rem; font-weight: 700; white-space: nowrap; }
.news-cat:hover { color: #fff; border-color: var(--nc, var(--hb-blue-light)); }
.news-cat small { color: var(--hb-muted-soft); font-weight: 700; }
.news-cat .nc-dot { width: 8px; height: 8px; border-radius: 50%; background: var(--nc); }
.news-cat.on { background: var(--hb-blue); border-color: var(--hb-blue); color: #fff; }
.news-cat.on small { color: #d6e8ff; }
.news-cat.on .nc-dot { background: #fff; }

/* ---- Gövde ---- */
.news-body { padding-bottom: 20px; }
.news-info { margin-top: 26px; padding: 12px 16px; border: 1px solid rgba(79, 166, 255, .3); border-radius: 9px; background: rgba(47, 139, 245, .1); color: #cfe2f2; font-size: .9rem; }
.news-info a { margin-left: 6px; color: var(--hb-blue-light); font-weight: 700; }
.news-empty { margin-top: 30px; padding: 30px; border: 1px dashed var(--hb-border-soft); border-radius: 10px; color: var(--hb-muted); text-align: center; }

.news-meta { display: flex; flex-wrap: wrap; align-items: center; gap: 12px; color: var(--hb-muted-soft); font-size: .74rem; font-weight: 600; }
.news-meta .rel { color: var(--hb-green); }

/* Manşet */
.news-lead { display: grid; grid-template-columns: minmax(0, 1.6fr) minmax(0, 1fr); gap: 16px; padding-top: 34px; }
.news-feature { position: relative; display: flex; flex-direction: column; justify-content: flex-end; min-height: 330px; padding: 26px; overflow: hidden; border: 1px solid var(--hb-border-soft); border-radius: 14px; background: radial-gradient(120% 90% at 100% 0%, rgba(47, 139, 245, .28), transparent 60%), linear-gradient(160deg, #0d2b4a, #061a2f); color: var(--hb-text); transition: border-color .15s ease; }
.news-feature:hover { color: var(--hb-text); border-color: var(--nc); }
.news-feature-ico { position: absolute; right: 22px; top: 14px; font-size: 7rem; line-height: 1; color: rgba(79, 166, 255, .10); pointer-events: none; }
.news-feature h2 { margin: 12px 0 10px; font-weight: 800; font-size: clamp(1.3rem, 2.4vw, 1.75rem); line-height: 1.3; color: #f7fbff; }
.news-feature:hover h2 { color: #fff; text-decoration: underline; text-decoration-thickness: 1px; text-underline-offset: 4px; }
.news-feature p { max-width: 620px; margin: 0 0 16px; color: #c3d3e3; }

.news-side { display: flex; flex-direction: column; overflow: hidden; border: 1px solid var(--hb-border); border-radius: 14px; background: var(--hb-card-soft); }
.news-side-h { display: flex; align-items: center; gap: 8px; padding: 12px 16px; border-bottom: 1px solid var(--hb-border); color: #cfe2f2; font-size: .72rem; font-weight: 800; letter-spacing: .06em; }
.news-si { display: grid; grid-template-columns: 50px minmax(0, 1fr); gap: 12px; padding: 13px 16px; border-bottom: 1px solid var(--hb-border); color: var(--hb-text); }
.news-si:last-child { border-bottom: 0; }
.news-si time { padding-top: 2px; color: var(--hb-blue-light); font-size: .82rem; font-weight: 800; }
.news-si h3 { margin: 0 0 5px; font-size: .88rem; font-weight: 700; line-height: 1.4; color: var(--hb-text); }
.news-si:hover h3 { color: var(--hb-blue-light); }

/* Gün grupları */
.news-day { padding-top: 34px; }
.news-day-h { display: flex; align-items: center; gap: 12px; margin-bottom: 16px; }
.news-day-h h2 { margin: 0; font-size: 1.05rem !important; font-weight: 800; color: #f7fbff; }
.news-day-h small { color: var(--hb-muted); font-weight: 600; }
.news-day-h .line { flex: 1; height: 1px; background: var(--hb-border); }

.news-card2 { position: relative; display: flex; flex-direction: column; height: 100%; padding: 18px 20px; border: 1px solid var(--hb-border); border-top: 3px solid var(--nc); border-radius: 10px; background: var(--hb-card-soft); transition: transform .15s ease, border-color .15s ease; }
.news-card2:hover { transform: translateY(-2px); border-color: var(--hb-border-soft); border-top-color: var(--nc); }
.nc-top { margin-bottom: 10px; }
.news-card2 h3 { margin: 0 0 8px; font-size: 1rem; font-weight: 800; line-height: 1.4; }
.news-card2 h3 a { color: #f7fbff; }
.news-card2:hover h3 a { color: #fff; }
.news-card2 p { flex: 1; margin: 0 0 12px; color: var(--hb-muted); font-size: .84rem; line-height: 1.55; }
.nc-tags { display: flex; flex-wrap: wrap; gap: 6px; margin-bottom: 12px; }
.nc-tags span { padding: 2px 8px; border: 1px solid var(--hb-border); border-radius: 5px; color: #b6ccdf; font-size: .68rem; }
.nc-foot { justify-content: space-between; padding-top: 10px; border-top: 1px solid var(--hb-border); }

/* Sayfalama */
.news-pager { display: flex; flex-wrap: wrap; justify-content: center; gap: 6px; margin: 34px 0 6px; }
.news-pager a, .news-pager span { display: inline-flex; align-items: center; justify-content: center; min-width: 40px; height: 40px; padding: 0 12px; border: 1px solid var(--hb-border-soft); border-radius: 8px; color: #cfe2f2; font-size: .85rem; font-weight: 700; }
.news-pager span { border-color: transparent; color: var(--hb-muted-soft); }
.news-pager a:hover { color: #fff; border-color: var(--hb-blue-light); }
.news-pager a.on { background: var(--hb-blue); border-color: var(--hb-blue); color: #fff; }

/* Takip kutusu */
.news-follow { display: flex; flex-wrap: wrap; align-items: center; gap: 16px; margin-top: 34px; padding: 18px 20px; border: 1px dashed var(--hb-border-soft); border-radius: 12px; color: var(--hb-muted); }
.news-follow > i { color: var(--hb-amber); font-size: 1.4rem; }
.news-follow b { color: var(--hb-text); }
.news-follow .btns { display: flex; flex-wrap: wrap; gap: 8px; margin-left: auto; }
.news-follow .btns a { display: inline-flex; align-items: center; gap: 6px; padding: 8px 14px; border: 1px solid var(--hb-border-soft); border-radius: 7px; color: #eaf3ff; font-size: .82rem; font-weight: 700; }
.news-follow .btns a:hover { border-color: var(--hb-blue-light); color: #fff; }

/* ---- Duyarlı ---- */
@media (max-width: 991px) {
    .news-lead { grid-template-columns: 1fr; }
}
@media (max-width: 575px) {
    .news-hero { padding: 30px 0 24px; }
    .news-stats { width: 100%; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 10px; }
    .news-search { padding: 10px; }
    .news-search-in input { font-size: 16px; }
    .news-search button { padding: 0 14px; }
    .news-cats { flex-wrap: nowrap; overflow-x: auto; padding-bottom: 6px; -webkit-overflow-scrolling: touch; scrollbar-width: thin; }
    .news-cat { flex: 0 0 auto; }
    .news-feature { min-height: 0; padding: 20px; }
    .news-feature-ico { font-size: 4.5rem; }
    .news-card2 { padding: 16px; }
    .news-follow .btns { margin-left: 0; width: 100%; }
}
