﻿/* İçerik listesi (haber) görünümleri: Manşet, Kayan haber bandı, Mozaik. Öneki "hn-". Renkler tema paletinden; özel CSS gerekmez. */
.hn { --pv-wrap: 1280px; --pv-gutter: 24px; --hn-a: var(--mud-palette-primary, #1d4ed8); --hn-b: var(--mud-palette-secondary, #e11d48); padding: clamp(32px, 5vw, 64px) 0; }
.hn-header { margin-bottom: clamp(16px, 3vw, 28px); }
.hn-h2 { margin: 0 0 10px; font-size: clamp(1.8rem, 3.4vw, 2.8rem); line-height: 1.1; letter-spacing: -.03em; font-weight: 900; color: var(--pv-ink, #0b1020); }
.hn-sub { margin: 0; max-width: 40em; font-size: 1.05rem; line-height: 1.6; color: color-mix(in srgb, var(--pv-ink, #0b1020) 70%, transparent); }
.hn-date { display: inline-flex; align-items: center; gap: 8px; font-size: .74rem; font-weight: 800; letter-spacing: .06em; text-transform: uppercase; }
.hn-new { padding: 2px 9px; border-radius: 999px; font-size: .66rem; font-style: normal; font-weight: 800; letter-spacing: .06em; color: #fff; background: var(--hn-b); }
.hn-noimg { display: block; width: 100%; height: 100%; background: linear-gradient(135deg, color-mix(in srgb, var(--hn-a) 55%, #fff), color-mix(in srgb, var(--hn-b) 50%, #fff)); }
.hn-all { margin-top: 22px; text-align: center; }
.hn-btn { display: inline-flex; align-items: center; min-height: 46px; padding: 0 26px; border-radius: 999px; font-weight: 800; text-decoration: none; color: var(--hn-a); border: 2px solid var(--hn-a); transition: transform .2s; }
.hn-btn:hover { transform: translateY(-2px); }

/* Manşet */
.hn-hgrid { display: grid; grid-template-columns: minmax(0, 1.35fr) minmax(0, 1fr); gap: 22px; }
.hn-lead { position: relative; display: block; min-height: 420px; overflow: hidden; border-radius: 24px; color: #fff; text-decoration: none; box-shadow: 0 30px 60px -34px rgba(20,30,60,.6); }
.hn-lead img, .hn-lead .hn-noimg { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; transition: transform .6s ease; }
.hn-lead:hover img { transform: scale(1.05); }
.hn-lead-body { position: absolute; inset: auto 0 0 0; padding: 60px 26px 26px; background: linear-gradient(transparent, rgba(0,0,0,.78)); }
.hn-lead-body h3 { margin: 8px 0 6px; font-size: clamp(1.4rem, 2.6vw, 2.1rem); line-height: 1.15; letter-spacing: -.02em; font-weight: 900; }
.hn-lead-body p { margin: 0; max-width: 40em; font-size: .98rem; line-height: 1.55; opacity: .92; }
.hn-list { display: flex; flex-direction: column; gap: 12px; margin: 0; padding: 0; list-style: none; }
.hn-list a { display: flex; align-items: center; gap: 14px; padding: 12px; border-radius: 18px; text-decoration: none; color: inherit; background: #fff; border: 1px solid color-mix(in srgb, var(--hn-a) 12%, #fff); transition: transform .2s, box-shadow .2s; }
.hn-list a:hover { transform: translateX(4px); box-shadow: 0 16px 30px -20px rgba(20,30,60,.5); }
.hn-list img { flex: none; width: 84px; height: 84px; border-radius: 14px; object-fit: cover; }
.hn-li-body { display: flex; flex-direction: column; gap: 4px; min-width: 0; }
.hn-li-body .hn-date { color: var(--hn-a); } .hn-li-body b { font-size: 1rem; line-height: 1.3; color: var(--pv-ink, #0b1020); }

/* Kayan haber bandı */
.hn-ticker { padding: 0; }
.hn-tk { display: flex; align-items: stretch; background: var(--hn-a); color: #fff; overflow: hidden; }
.hn-tk-label { display: inline-flex; align-items: center; gap: 9px; flex: none; padding: 0 22px; font-size: .8rem; font-weight: 900; letter-spacing: .1em; text-transform: uppercase; background: var(--hn-b); }
.hn-tk-label i { width: 9px; height: 9px; border-radius: 50%; background: #fff; animation: hn-live 1.4s ease-in-out infinite; }
.hn-tk-view { flex: 1; min-width: 0; overflow: hidden; }
.hn-tk-track { display: flex; width: max-content; padding: 14px 0; animation: hn-run var(--hn-dur, 40s) linear infinite; }
.hn-tk-view:hover .hn-tk-track { animation-play-state: paused; }
.hn-tk-set { display: flex; align-items: center; gap: 22px; padding-right: 22px; white-space: nowrap; }
.hn-tk-set a { display: inline-flex; align-items: center; gap: 9px; color: #fff; text-decoration: none; font-weight: 700; }
.hn-tk-set a:hover span { text-decoration: underline; }
.hn-tk-set time { font-size: .72rem; font-weight: 800; letter-spacing: .06em; text-transform: uppercase; opacity: .75; }
.hn-tk-set b { opacity: .45; font-weight: 400; }
.hn-ticker .hn-new { background: #fff; color: var(--hn-b); }
.hn-tk-all { flex: none; display: inline-flex; align-items: center; padding: 0 20px; font-size: .82rem; font-weight: 800; color: #fff; text-decoration: none; background: rgba(0,0,0,.18); }

/* Mozaik */
.hn-mgrid { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); grid-auto-rows: 210px; gap: 14px; }
.hn-tile { position: relative; display: block; overflow: hidden; border-radius: 20px; color: #fff; text-decoration: none; }
.hn-t0 { grid-column: span 2; grid-row: span 2; } .hn-t1 { grid-column: span 2; }
.hn-tile img, .hn-tile .hn-noimg { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; transition: transform .6s ease; }
.hn-tile:hover img { transform: scale(1.08); }
.hn-tile-cap { position: absolute; inset: auto 0 0 0; display: flex; flex-direction: column; gap: 5px; padding: 50px 16px 16px; background: linear-gradient(transparent, rgba(0,0,0,.75)); }
.hn-tile-cap b { font-size: 1rem; line-height: 1.25; font-weight: 800; } .hn-t0 .hn-tile-cap b { font-size: clamp(1.3rem, 2.4vw, 1.9rem); }

@keyframes hn-run { to { transform: translateX(-50%); } }
@keyframes hn-live { 0%, 100% { opacity: 1; scale: 1; } 50% { opacity: .35; scale: .7; } }
@media (max-width: 900px) { .hn-hgrid { grid-template-columns: 1fr; } .hn-lead { min-height: 320px; } .hn-mgrid { grid-template-columns: repeat(2, minmax(0, 1fr)); } .hn-t0 { grid-column: span 2; } .hn-t1 { grid-column: span 2; grid-row: span 1; } }
@media (max-width: 520px) { .hn-tk-label { padding: 0 12px; } .hn-tk-all { display: none; } .hn-mgrid { grid-auto-rows: 170px; } }
@media (prefers-reduced-motion: reduce) { .hn-tk-track, .hn-tk-label i { animation: none; } .hn-tk-view { overflow-x: auto; } }
