/* ═══════════════════════════════════════
   AzSport — slider.css
   ═══════════════════════════════════════ */

.az-slider-wrap { display: flex; flex-direction: column; gap: 8px; }

/* ── Main Slider ── */
.az-slider {
  position: relative; border-radius: var(--az-radius-lg);
  overflow: hidden; height: 410px;
  background: #111; flex-shrink: 0;
}
.az-slide {
  position: absolute; inset: 0;
  opacity: 0; transition: opacity .5s ease; z-index: 0;
}
.az-slide.active { opacity: 1; z-index: 1; }

.az-slide img {
  width: 100%; height: 100%; object-fit: cover;
}
.az-card-ph-slide {
  width: 100%; height: 100%;
  display: flex; align-items: center; justify-content: center;
  font-size: 80px;
}

/* overlay gradient */
.az-hero-overlay {
  position: absolute; bottom: 0; left: 0; right: 0;
  background: linear-gradient(to top, rgba(0,0,0,.85) 0%, rgba(0,0,0,.3) 60%, transparent 100%);
  padding: 20px 18px 16px;
  z-index: 2;
}
.az-hero-title {
  font-size: 15px; font-weight: 800; color: #fff;
  line-height: 1.6; margin: 6px 0 6px;
  display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden;
  text-shadow: 0 1px 4px rgba(0,0,0,.4);
}
.az-hero-meta { font-size: 12px; color: rgba(255,255,255,.7); }

/* arrows */
.az-slider-arrow {
  position: absolute; top: 50%; transform: translateY(-50%);
  width: 38px; height: 38px; border-radius: 50%;
  background: rgba(255,255,255,.15); border: none; cursor: pointer;
  display: flex; align-items: center; justify-content: center;
  z-index: 10; backdrop-filter: blur(4px);
  transition: var(--az-trans);
}
.az-slider-arrow:hover { background: rgba(255,255,255,.3); transform: translateY(-50%) scale(1.05); }
.az-slider-prev { right: 12px; }
.az-slider-next { left:  12px; }
.az-slider-arrow svg { width: 18px; height: 18px; stroke: #fff; fill: none; stroke-width: 2.5; }

/* dots */
.az-slider-dots {
  position: absolute; bottom: 12px; left: 50%; transform: translateX(-50%);
  display: flex; gap: 6px; z-index: 10;
}
.az-dot-btn {
  width: 7px; height: 7px; border-radius: 99px;
  background: rgba(255,255,255,.4); cursor: pointer;
  transition: all .3s ease; border: none;
}
.az-dot-btn.active { background: #fff; width: 20px; }

/* ── Thumbnails ── */
.az-slider-thumbs {
  display: flex; gap: 8px; overflow-x: auto; padding-bottom: 2px;
  scrollbar-width: none;
}
.az-slider-thumbs::-webkit-scrollbar { display: none; }
.az-thumb {
  display: flex; gap: 8px; align-items: center;
  flex: 0 0 160px; min-width: 145px;
  background: var(--az-white); border-radius: var(--az-radius-sm);
  box-shadow: var(--az-shadow); overflow: hidden; cursor: pointer;
  border: 2px solid transparent; transition: var(--az-trans);
}
.az-thumb.active,
.az-thumb:hover { border-color: var(--az-primary); }
.az-thumb-img {
  width: 54px; height: 44px; flex-shrink: 0;
  display: flex; align-items: center; justify-content: center;
  font-size: 22px; object-fit: cover;
}
.az-thumb img { width: 54px; height: 44px; object-fit: cover; }
.az-thumb-body { padding: 5px 6px 5px 8px; min-width: 0; }
.az-thumb-cat { font-size: 10px; font-weight: 700; color: var(--az-primary); display: block; }
.az-thumb-body p {
  font-size: 11px; font-weight: 600; color: var(--az-dark);
  margin: 2px 0 0; line-height: 1.4;
  display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden;
}

/* ── Responsive ── */
@media (max-width: 991.98px) {
  .az-slider { height: 260px; }
  .az-thumb  { flex: 0 0 140px; min-width: 130px; }
}
@media (max-width: 767.98px) {
  .az-slider { height: 220px; }
  .az-hero-title { font-size: 13px; }
  .az-slider-arrow { width: 32px; height: 32px; }
  .az-slider-arrow svg { width: 14px; }
  .az-thumb { flex: 0 0 120px; min-width: 110px; }
}
@media (max-width: 479.98px) {
  .az-slider { height: 195px; }
  .az-thumb  { flex: 0 0 105px; min-width: 95px; }
}
