/* =================================================================
   HERO VARIANTS — alternative manşet düzenleri (default'a dokunmaz)
   CLS = 0: tüm görsel çerçeveleri aspect-ratio + width ile reserve.
   ================================================================= */

/* Varyant başlığı (karşılaştırma görünümü) */
.hero-variant-label {
  padding: 28px 0 0;
  background: var(--bg);
}
.hero-variant-label .container {
  border-top: 1px dashed var(--line-2);
  padding-top: 18px;
}
.hvl-title {
  font-family: var(--font-sans);
  font-size: 14px;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--ink-3);
  margin: 0;
  display: flex; align-items: center; gap: 12px;
}
.hvl-num {
  display: inline-flex; align-items: center; justify-content: center;
  width: 28px; height: 28px;
  background: oklch(92% 0.008 250);
  color: var(--ink-2);
  border-radius: 50%;
  font-size: 13px;
  font-weight: 800;
  letter-spacing: 0;
  flex-shrink: 0;
}
.hvl-num-active { background: var(--accent); color: #fff; font-size: 14px; }

/* ============================================================
   VARYANT 1 — Wide Banner (hba)
============================================================ */
.hba { padding: 16px 0 14px; }
.hba-wrap { max-width: var(--max); padding-left: var(--gutter); padding-right: var(--gutter); margin: 0 auto; }

.hba-frame {
  position: relative;
  width: 100%;
  aspect-ratio: 1200 / 360;
  border-radius: 6px;
  overflow: hidden;
  background: var(--ink);
  box-shadow: 0 1px 2px rgba(15,20,35,0.04), 0 18px 40px -22px rgba(15,20,35,0.22);
  user-select: none;
  -webkit-user-select: none;
  touch-action: pan-y;
  contain: layout paint;
}
.hba-frame img { -webkit-user-drag: none; user-drag: none; pointer-events: none; }
.hba-frame.is-dragging .hba-slide { transition: none !important; }

.hba-stack { position: absolute; inset: 0; }
.hba-slide {
  position: absolute; inset: 0;
  opacity: 0;
  transition: opacity 600ms cubic-bezier(.2,.8,.2,1);
  cursor: pointer;
  display: block;
}
.hba-slide.active { opacity: 1; z-index: 1; }
.hba-photo { position: absolute !important; inset: 0; width: 100%; height: 100%; aspect-ratio: auto !important; }

.hba-overlay { position: absolute; inset: 0; z-index: 2; pointer-events: none; }
.hba-grad {
  position: absolute; inset: 0;
  background: linear-gradient(90deg, rgba(0,0,0,0.62) 0%, rgba(0,0,0,0.25) 50%, rgba(0,0,0,0) 100%);
}
.hba-text {
  position: absolute; left: 86px; right: 32px; bottom: 26px;
  color: #fff;
  display: flex; flex-direction: column; gap: 8px;
  align-items: flex-start;
}
.hba-tag {
  background: var(--accent);
  color: #fff;
  font-size: 10px; font-weight: 800;
  letter-spacing: 0.14em; text-transform: uppercase;
  padding: 4px 9px; border-radius: 3px;
}
.hba-kicker {
  font-size: 11px; font-weight: 700;
  letter-spacing: 0.16em; text-transform: uppercase;
  color: rgba(255,255,255,0.85);
}
.hba-title {
  font-family: var(--font-sans);
  font-size: clamp(24px, 3vw, 40px);
  font-weight: 800;
  line-height: 1.04;
  letter-spacing: -0.028em;
  margin: 0;
  max-width: 72%;
  text-shadow: 0 4px 18px rgba(0,0,0,0.4);
  text-wrap: balance;
}

/* Sol dikey sayfalama — fazlası kaydırılır */
.hba-nav {
  position: absolute;
  top: 14px; bottom: 14px; left: 14px;
  z-index: 5;
  display: flex; flex-direction: column;
  gap: 6px;
  overflow-y: auto;
  scrollbar-width: none;
  padding: 2px 4px;
  scroll-behavior: smooth;
}
.hba-nav::-webkit-scrollbar { display: none; }
.hba-pill {
  flex: 0 0 auto;
  width: 28px; height: 28px;
  border-radius: 50%;
  border: 1.5px solid rgba(255,255,255,0.4);
  background: rgba(0,0,0,0.40);
  color: rgba(255,255,255,0.85);
  font-family: var(--font-sans);
  font-size: 12px;
  font-weight: 700;
  cursor: pointer;
  display: inline-flex; align-items: center; justify-content: center;
  transition: background .15s, color .15s, border-color .15s, transform .15s;
  padding: 0;
}
.hba-pill:hover { background: rgba(0,0,0,0.6); color: #fff; border-color: rgba(255,255,255,0.7); }
.hba-pill.on {
  background: oklch(82% 0.18 95);
  color: oklch(20% 0.08 30);
  border-color: oklch(82% 0.18 95);
  transform: scale(1.08);
  box-shadow: 0 4px 12px rgba(0,0,0,0.35);
}

/* ============================================================
   VARYANT 2 — Split Combo (hsc)
   Sol büyük cover kart + sağda 2 küçük (slider + statik)
============================================================ */
.hsc { padding: 16px 0 14px; }
.hsc-grid {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 420px;
  gap: 16px;
  align-items: start;
}
.hsc-main { min-width: 0; }
.hsc-side {
  display: flex; flex-direction: column;
  gap: 16px;
  min-width: 0;
}

/* === Sol büyük kart === */
.hsc-big {
  background: var(--ink);
  border-radius: 6px;
  overflow: hidden;
  box-shadow: 0 1px 2px rgba(15,20,35,0.04), 0 18px 40px -22px rgba(15,20,35,0.22);
}
.hsc-big-frame {
  position: relative;
  width: 100%;
  aspect-ratio: 750 / 560;
  background: var(--ink);
  overflow: hidden;
  user-select: none; -webkit-user-select: none;
  touch-action: pan-y;
  contain: layout paint;
}
.hsc-big-frame img { -webkit-user-drag: none; user-drag: none; pointer-events: none; }
.hsc-big-frame.is-dragging .hsc-big-slide { transition: none !important; }

.hsc-big-slide {
  position: absolute; inset: 0;
  opacity: 0;
  transition: opacity 600ms cubic-bezier(.2,.8,.2,1);
  cursor: pointer;
  display: block;
}
.hsc-big-slide.active { opacity: 1; z-index: 1; }
.hsc-big-photo { position: absolute !important; inset: 0; width: 100%; height: 100%; aspect-ratio: auto !important; }

.hsc-big-overlay { position: absolute; inset: 0; z-index: 2; pointer-events: none; }
.hsc-big-grad {
  position: absolute; inset: 0;
  background: linear-gradient(180deg, rgba(0,0,0,0.5) 0%, rgba(0,0,0,0) 45%, rgba(0,0,0,0.88) 100%);
}
.hsc-big-text {
  position: absolute; left: 32px; right: 32px; bottom: 56px;
  color: #fff;
  display: flex; flex-direction: column; gap: 8px;
  align-items: flex-start;
}
.hsc-big-tag {
  background: var(--accent);
  color: #fff;
  font-size: 11px; font-weight: 800;
  letter-spacing: 0.14em; text-transform: uppercase;
  padding: 5px 10px; border-radius: 3px;
}
.hsc-big-kicker {
  font-size: 11px; font-weight: 700;
  letter-spacing: 0.16em; text-transform: uppercase;
  color: rgba(255,255,255,0.85);
}
.hsc-big-title {
  font-family: var(--font-sans);
  font-size: clamp(24px, 3vw, 38px);
  font-weight: 800;
  line-height: 1.05;
  letter-spacing: -0.028em;
  margin: 0;
  text-shadow: 0 4px 18px rgba(0,0,0,0.45);
  text-wrap: balance;
}

/* Sol-alt köşede aktif sayfa rozeti */
.hsc-big-badge {
  position: absolute;
  left: 14px; bottom: 14px;
  z-index: 5;
  min-width: 32px; height: 32px;
  padding: 0 8px;
  border-radius: 50%;
  background: var(--accent);
  color: #fff;
  font-family: var(--font-mono);
  font-size: 12px;
  font-weight: 800;
  display: inline-flex; align-items: center; justify-content: center;
  box-shadow: 0 4px 12px rgba(0,0,0,0.4);
}

/* Alt yatay sayfa şeridi (1-20) — yatay kaydırılır */
.hsc-big-pages {
  display: flex;
  gap: 0;
  overflow-x: auto;
  scrollbar-width: none;
  background: oklch(18% 0.014 265);
  padding: 0;
  height: 36px;
  scroll-behavior: smooth;
}
.hsc-big-pages::-webkit-scrollbar { display: none; }
.hsc-page {
  flex: 0 0 auto;
  min-width: 36px;
  height: 36px;
  border: 0;
  background: transparent;
  color: rgba(255,255,255,0.62);
  font-family: var(--font-mono);
  font-size: 12px;
  font-weight: 600;
  cursor: pointer;
  transition: background .12s, color .12s;
  border-right: 1px solid rgba(255,255,255,0.06);
  display: inline-flex; align-items: center; justify-content: center;
  padding: 0 6px;
}
.hsc-page:hover { background: rgba(255,255,255,0.06); color: #fff; }
.hsc-page.on { background: oklch(28% 0.018 265); color: #fff; }

/* === Sağ üst: küçük slider === */
.hsc-sm {
  background: var(--ink);
  border-radius: 6px;
  overflow: hidden;
}
.hsc-sm-frame {
  position: relative;
  width: 100%;
  aspect-ratio: 420 / 280;
  overflow: hidden;
  background: var(--ink);
  user-select: none; -webkit-user-select: none;
  touch-action: pan-y;
  contain: layout paint;
}
.hsc-sm-frame img { -webkit-user-drag: none; user-drag: none; pointer-events: none; }
.hsc-sm-frame.is-dragging .hsc-sm-slide { transition: none !important; }

.hsc-sm-slide {
  position: absolute; inset: 0;
  opacity: 0;
  transition: opacity 500ms cubic-bezier(.2,.8,.2,1);
  display: block;
  cursor: pointer;
}
.hsc-sm-slide.active { opacity: 1; z-index: 1; }
.hsc-sm-photo { position: absolute !important; inset: 0; width: 100%; height: 100%; aspect-ratio: auto !important; }

.hsc-sm-foot {
  position: absolute; left: 0; right: 0; bottom: 0;
  z-index: 3;
  padding: 14px 16px 16px;
  background: linear-gradient(180deg, rgba(0,0,0,0) 0%, rgba(0,0,0,0.7) 35%, rgba(0,0,0,0.96) 100%);
  color: #fff;
  display: flex; flex-direction: column; gap: 6px;
  pointer-events: none;
}
.hsc-sm-eyebrow {
  font-size: 10.5px;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  background: oklch(82% 0.18 95);
  color: oklch(20% 0.08 30);
  align-self: flex-start;
  padding: 3px 7px;
  border-radius: 2px;
}
.hsc-sm-title {
  font-family: var(--font-sans);
  font-size: 18px;
  font-weight: 700;
  line-height: 1.12;
  letter-spacing: -0.022em;
  margin: 0;
  text-shadow: 0 4px 14px rgba(0,0,0,0.45);
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.hsc-sm-arr {
  position: absolute; top: 50%;
  transform: translateY(-50%);
  z-index: 4;
  width: 32px; height: 48px;
  background: rgba(255,255,255,0.92);
  border: 0;
  color: var(--ink);
  display: inline-flex; align-items: center; justify-content: center;
  cursor: pointer;
  border-radius: 2px;
  box-shadow: 0 2px 8px rgba(0,0,0,0.22);
  transition: background .15s, transform .15s;
}
.hsc-sm-arr:hover { background: #fff; transform: translateY(-50%) scale(1.05); }
.hsc-sm-arr.prev { left: 8px; }
.hsc-sm-arr.next { right: 8px; }

.hsc-sm-dots {
  display: flex; align-items: center; justify-content: center;
  gap: 6px;
  background: oklch(18% 0.014 265);
  padding: 10px 14px;
  min-height: 44px;
}
.hsc-dot {
  width: 8px; height: 8px;
  border-radius: 50%;
  background: rgba(255,255,255,0.32);
  border: 0;
  cursor: pointer;
  padding: 0;
  transition: background .15s, transform .15s;
  display: inline-flex; align-items: center; justify-content: center;
  flex-shrink: 0;
}
.hsc-dot:hover { background: rgba(255,255,255,0.6); }
.hsc-dot.on {
  width: 26px; height: 26px;
  background: transparent;
  border: 1.5px solid var(--accent);
  color: var(--accent);
  font-family: var(--font-sans);
  font-size: 11px;
  font-weight: 800;
}

/* === Sağ alt: statik küçük kart === */
.hsc-card {
  display: block;
  position: relative;
  background: var(--ink);
  border-radius: 6px;
  overflow: hidden;
  width: 100%;
  aspect-ratio: 420 / 260;
  contain: layout paint;
}
.hsc-card-photo {
  position: absolute !important; inset: 0;
  width: 100%; height: 100%;
  aspect-ratio: auto !important;
}
.hsc-card-foot {
  position: absolute; left: 0; right: 0; bottom: 0;
  background: var(--accent);
  color: #fff;
  padding: 14px 18px 16px;
}
.hsc-card-title {
  font-family: var(--font-sans);
  font-size: 17px;
  font-weight: 700;
  line-height: 1.18;
  letter-spacing: -0.018em;
  margin: 0;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

/* ============================================================
   RESPONSIVE
============================================================ */

/* Tablet: combo'da sağ tarafı altına al */
@media (max-width: 1100px) {
  .hsc-grid { grid-template-columns: 1fr; }
  .hsc-side { flex-direction: row; }
  .hsc-side > * { flex: 1 1 0; min-width: 0; }
  .hba-frame { aspect-ratio: 1200 / 420; }
  .hba-title { font-size: clamp(22px, 4vw, 36px); }
}

/* Mobil */
@media (max-width: 720px) {
  /* WIDE BANNER — daha kare oranlı, içerik düzgün sığsın */
  .hba { padding: 10px 0 12px; }
  .hba-frame { aspect-ratio: 4 / 3; border-radius: 4px; }
  .hba-text { left: 60px; right: 16px; bottom: 16px; }
  .hba-title { font-size: 20px; max-width: 92%; line-height: 1.08; }
  .hba-nav { top: 10px; bottom: 10px; left: 8px; gap: 5px; padding: 0 2px; }
  .hba-pill { width: 24px; height: 24px; font-size: 11px; border-width: 1px; }
  .hba-tag { font-size: 9.5px; padding: 3px 7px; }
  .hba-kicker { font-size: 10px; }

  /* COMBO — tek kolon, hepsi dikey */
  .hsc { padding: 10px 0 12px; }
  .hsc-grid { gap: 12px; grid-template-columns: 1fr; }
  .hsc-side { flex-direction: column; gap: 12px; }

  /* Büyük kart mobil ayarları */
  .hsc-big-frame { aspect-ratio: 4 / 3; }
  .hsc-big-text { left: 16px; right: 16px; bottom: 52px; gap: 6px; }
  .hsc-big-title { font-size: 20px; line-height: 1.08; }
  .hsc-big-tag { font-size: 10px; padding: 4px 8px; }
  .hsc-big-kicker { font-size: 10px; }
  .hsc-big-badge { min-width: 28px; height: 28px; font-size: 11px; left: 12px; bottom: 12px; }
  .hsc-big-pages { height: 32px; }
  .hsc-page { min-width: 30px; height: 32px; font-size: 11px; }

  /* Küçük slider mobil */
  .hsc-sm-frame { aspect-ratio: 16 / 10; }
  .hsc-sm-title { font-size: 16px; }
  .hsc-sm-foot { padding: 12px 14px 14px; }
  .hsc-sm-arr { width: 28px; height: 40px; }
  .hsc-sm-dots { padding: 8px 10px; min-height: 36px; gap: 5px; }
  .hsc-dot { width: 7px; height: 7px; }
  .hsc-dot.on { width: 22px; height: 22px; font-size: 10px; }

  /* Statik kart mobil */
  .hsc-card { aspect-ratio: 16 / 10; }
  .hsc-card-title { font-size: 15px; }
  .hsc-card-foot { padding: 11px 14px 13px; }
}

@media (max-width: 420px) {
  .hba-title { font-size: 18px; }
  .hsc-big-title { font-size: 18px; }
  .hsc-page { min-width: 26px; font-size: 10.5px; }
}
