/* =====================================================
   Horizon Magazine Manager — hmm-slider
   Swiper.js editorial slider
   ===================================================== */

.hmm-slider {
  --hmm-radius: 8px;
  width: 100%;
  position: relative;
}

.hmm-slider .swiper { border-radius: var(--hmm-radius); overflow: hidden; }

/* Navigation arrows */
.hmm-slider .swiper-button-next,
.hmm-slider .swiper-button-prev {
  width: 40px;
  height: 40px;
  background: rgba(0,0,0,.55);
  border-radius: 50%;
  color: #fff;
  transition: background 0.2s ease;
}
.hmm-slider .swiper-button-next:hover,
.hmm-slider .swiper-button-prev:hover { background: var(--hmm-accent); }
.hmm-slider .swiper-button-next::after,
.hmm-slider .swiper-button-prev::after { font-size: 14px; font-weight: 700; }

/* Pagination */
.hmm-slider .swiper-pagination-bullet { background: rgba(255,255,255,.6); }
.hmm-slider .swiper-pagination-bullet-active { background: var(--hmm-accent); }

/* Card dans slider */
.hmm-slider .hmm-hero__card {
  border-radius: 0;
  height: var(--hmm-hero-h, 480px);
  flex: none !important;
  width: 100% !important;
}
.hmm-slider .hmm-hero__card .hmm-img-wrap {
  height: 100% !important;
  width: 100% !important;
  aspect-ratio: unset !important;
}
.hmm-slider .hmm-hero__card .hmm-img {
  height: 100% !important;
  width: 100% !important;
  object-fit: cover !important;
}
.hmm-slider .swiper-slide {
  width: 100% !important;
  flex-shrink: 0 !important;
  height: auto;
}
.hmm-slider .swiper-wrapper {
  display: flex !important;
  flex-wrap: nowrap !important;
  will-change: transform;
}
.hmm-slider .swiper {
  overflow: hidden !important;
  width: 100%;
  position: relative;
}

/* Vertical slider */
.hmm-slider--vertical .swiper { height: 400px; }
