/* ====== CANLI & ARŞİV GENEL ====== */
:root{
  --ahp-red:#dc2626;
  --ahp-dark:#0b0b0b;
  --ahp-soft:#f8fafc;
  --ahp-border:#e5e7eb;
}
.ahp-live-wrap { margin: 24px auto; }
.news-ticker { display:inline-block; animation: ahp-ticker 25s linear infinite; will-change: transform; }
@keyframes ahp-ticker { 0%{ transform:translateX(100%) } 100%{ transform:translateX(-100%) } }

/* Player */
.ahp-live-frame, .ahp-live-wrap iframe { display:block; width:100%; height:100%; }

/* Meta bar (kırmızı) */
.ahp-live-meta-bar{ background:var(--ahp-red); color:#fff; padding:12px 16px; display:flex; align-items:center; justify-content:space-between; }
.ahp-live-meta-bar .left{ display:flex; align-items:center; gap:12px; }
.ahp-live-meta-bar .right{ display:flex; align-items:center; gap:12px; font-size:14px; }
.ahp-dot{ width:8px; height:8px; background:#fff; border-radius:999px; display:inline-block; }

/* Kart/ızgara (geçmiş yayınlar) */
.ahp-card{ border:1px solid var(--ahp-border); border-radius:16px; overflow:hidden; background:#fff; transition:box-shadow .2s ease; }
.ahp-card:hover{ box-shadow:0 8px 24px rgba(0,0,0,.08); }
.ahp-card__link{ display:block; color:inherit; text-decoration:none; }
.ahp-thumb{ background:#e5e7eb; }
.ahp-thumb__img{ width:100%; height:100%; object-fit:cover; display:block; }
.ahp-card__body{ padding:16px; }
.ahp-tag{ display:inline-block; background:#ffcf00; color:#111; font-weight:700; border-radius:999px; padding:3px 8px; font-size:12px; margin-bottom:6px; }
.ahp-title{ font-weight:800; color:#111827; line-height:1.25; margin:4px 0; font-size:1rem; }
.ahp-excerpt{ font-size:.9rem; color:#4b5563; line-height:1.45; display:-webkit-box; -webkit-line-clamp:2; -webkit-box-orient:vertical; overflow:hidden; }
.ahp-empty{ background:var(--ahp-soft); border:1px dashed var(--ahp-border); padding:16px; border-radius:12px; }

/* Responsive küçük dokunuş */
@media (max-width: 640px){
  .news-ticker{ animation-duration: 35s; }
}

/* Home live block */
.ahp-home-live .aspect-video { position: relative; padding-bottom:56.25%; height:0; }
.ahp-home-live .aspect-video > iframe,
.ahp-home-live .aspect-video > video { position:absolute; inset:0; width:100%; height:100%; }
