/*
Theme Name: Argex Haber Pro
Description: Haber teması – ana slider + canlı yayın stilleri (güncel)
*/

/* ===============================
   1) HERO / SLIDER
   =============================== */
.ahp-hero{
  position: relative;
  background:#0b1b4a;              /* koyu mavi taban */
  border-radius: 18px;              /* rounded-2xl */
  overflow: hidden;
  box-shadow: 0 12px 28px rgba(0,0,0,.10);
  isolation: isolate;
}

/* Yükseklik sınıfları (functions->ayar: 360–800 arası) */
.ahp-hero--h360{height:360px}
.ahp-hero--h400{height:400px}
.ahp-hero--h440{height:440px}
.ahp-hero--h480{height:480px}
.ahp-hero--h520{height:520px}
.ahp-hero--h560{height:560px}
.ahp-hero--h600{height:600px}
.ahp-hero--h640{height:640px}
.ahp-hero--h680{height:680px}
.ahp-hero--h720{height:720px}
.ahp-hero--h760{height:760px}
.ahp-hero--h800{height:800px}

.ahp-hero__track{ position:relative; height:100%; }

.ahp-hero__slide{
  position:absolute; inset:0; display:grid;
  opacity:0; transition:opacity .55s ease;
}
.ahp-hero__slide[aria-hidden="false"]{ opacity:1; z-index:2; }

/* Arka plan (görsel / renk / video ortak) */
.ahp-hero__bg{
  position:absolute; inset:0; width:100%; height:100%;
  object-fit:cover; background-size:cover; background-position:center;
  z-index:0;
}

/* Soldan sağa koyu → açık mavi overlay */
.ahp-hero__overlay{
  position:absolute; inset:0; z-index:1;
  background:
    linear-gradient(90deg, rgba(7,24,77,.88) 0%, rgba(13,61,133,.55) 55%, rgba(0,0,0,0) 85%),
    radial-gradient(60% 80% at 0% 0%, rgba(255,255,255,.08), rgba(255,255,255,0) 60%);
  pointer-events:none; /* tıklamayı engellemesin */
}

/* İçerik */
.ahp-hero__content{
  position:relative; z-index:3;
  height:100%; display:flex; flex-direction:column; justify-content:center;
  color:#fff; padding:28px 26px; max-width:min(780px, 90%);
}
@media (min-width: 768px){ .ahp-hero__content{ padding:42px 48px; } }

/* Üst meta (rozet + zaman) */
.ahp-hero__meta{ display:flex; align-items:center; gap:.9rem; margin-bottom:.35rem; opacity:.95; font-size:13px; }
.ahp-hero__badge{
  display:inline-flex; align-items:center; gap:.5ch;
  padding:6px 12px; border-radius:999px;
  font-weight:800; letter-spacing:.02em; text-transform:uppercase;
  color:#dbeafe; background:rgba(56,101,246,.28);
  box-shadow:inset 0 0 0 1px rgba(255,255,255,.18);
  -webkit-backdrop-filter: blur(4px); backdrop-filter: blur(4px);
}
.ahp-hero__time{ color:#c7d2fe; }

/* Başlık / özet */
.ahp-hero__title{
  font-weight:900; letter-spacing:-.015em;
  line-height:1.05; margin:.25em 0 .45em;
  font-size: clamp(24px, 5vw, 46px);  /* mobil → masaüstü */
}
.ahp-hero__excerpt{
  font-size: clamp(14px, 2.1vw, 18px);
  color:#dbeafe; max-width: 60ch;
}

/* ——— Yalnızca “Devamını Oku” butonu ——— */
.ahp-hero__btn{
  display:inline-block; margin-top:14px;
  background:#fff; color:#0f172a; text-decoration:none;
  padding:12px 20px; border-radius:12px; font-weight:700;
  box-shadow:0 10px 24px rgba(0,0,0,.12);
  transition: transform .15s ease, box-shadow .15s ease, background .15s ease;
}
.ahp-hero__btn:hover{ transform: translateY(-1px); box-shadow:0 14px 28px rgba(0,0,0,.16); }
.ahp-hero__btn:active{ transform: translateY(0); }

/* Oklar – yuvarlak, blur, tıklanabilir */
.ahp-hero__nav{
  position:absolute; top:50%; transform:translateY(-50%);
  width:44px; height:44px; border-radius:999px; border:0;
  background: rgba(255,255,255,.18); color:#fff;
  display:grid; place-items:center; cursor:pointer; user-select:none;
  backdrop-filter: blur(6px);
  box-shadow: 0 6px 16px rgba(0,0,0,.18);
  transition: background .2s ease, transform .2s ease, opacity .2s ease;
  z-index:5;                                   /* overlay üstünde */
}
.ahp-hero__prev{ left:16px; }
.ahp-hero__next{ right:16px; }
.ahp-hero__nav:hover{ background: rgba(255,255,255,.26); transform: translateY(-50%) scale(1.05); }
.ahp-hero__nav:active{ transform: translateY(-50%) scale(.98); }
.ahp-hero__nav:focus-visible{ outline:2px solid #fff; outline-offset:2px; }

/* Noktalar – ortada, aktif büyüsün */
.ahp-hero__dots{
  position:absolute; left:0; right:0; bottom:16px;
  display:flex; justify-content:center; gap:10px; z-index:4;
}
.ahp-hero__dots button{
  width:9px; height:9px; border-radius:999px; border:0; cursor:pointer;
  background:#d1d5db; opacity:.55;
  transition: transform .18s ease, opacity .18s ease, background .18s ease;
}
.ahp-hero__dots button.is-active{ opacity:1; background:#93c5fd; transform:scale(1.15); }

/* Responsive tipografi */
@media (max-width:1024px){
  .ahp-hero__title{ font-size:32px; }
  .ahp-hero__content{ padding:22px; }
}
@media (max-width:640px){
  .ahp-hero__title{ font-size:24px; }
  .ahp-hero__excerpt{ display:none; }
  .ahp-hero__nav{ width:40px; height:40px; }
}

/* ===============================
   2) CANLI BLOK (üst seviye)
   =============================== */
.ahp-live-meta-bar{
  display:flex;align-items:center;justify-content:space-between;
  padding:10px 14px;color:#fff;
  background: linear-gradient(90deg, rgba(255,255,255,.06), rgba(255,255,255,0));
}
.ahp-live-meta-bar .left{ display:flex;align-items:center;gap:10px; }
.ahp-live-meta-bar .right{ display:flex;align-items:center;gap:8px; }
.ahp-dot{
  display:inline-block;width:8px;height:8px;border-radius:999px;background:#ef4444;
  box-shadow:0 0 0 3px rgba(239,68,68,.25); animation:ahp-pulse 1.5s infinite;
}
@keyframes ahp-pulse{ 0%{transform:scale(1)} 50%{transform:scale(1.25)} 100%{transform:scale(1)} }

/* ===============================
   3) Kart grid (geçmiş yayınlar)
   =============================== */
.ahp-card{background:#fff;border-radius:12px;overflow:hidden;border:1px solid rgba(0,0,0,.06)}
.ahp-card__body{padding:12px 12px 14px}
.ahp-title{font-weight:800;line-height:1.2;margin:6px 0}
.ahp-tag{display:inline-block;font-size:11px;font-weight:700;background:#f3f4f6;color:#374151;border-radius:999px;padding:4px 8px;margin-bottom:6px}
.ahp-excerpt{font-size:14px;color:#6b7280}
