/* === HOMEPAGE SLIDERS === */

.hp-section {
  overflow: visible;
}

.swiper {
  overflow: hidden;
  width: 100%;
}

.swiper-wrapper {
  align-items: stretch;
}

.swiper-slide {
  box-sizing: border-box;
}

.hp-card {
  width: 280px;
  min-height: 260px;
  padding: 10px;
  border-radius: 14px;
  box-shadow: 0 6px 20px rgba(0,0,0,.08);
  background: #fff;
}

.hp-card img,
.hp-card video,
.hp-card iframe {
  width: 100%;
  height: 180px;
  object-fit: cover;
  border-radius: 12px;
}

.hp-actions {
  margin-top: 8px;
  display: flex;
  gap: 6px;
  flex-wrap: wrap;
}

.hp-title-text {
  font-weight: 600;
  font-size: 1rem;
  line-height: 1.2;
  max-height: 2.4em;
  overflow: hidden;
}

.hp-summary {
  font-size: .85rem;
  color: #666;
  max-height: 3.6em;
  overflow: hidden;
}

.swiper-button-next,
.swiper-button-prev {
  color: #000;
  background: rgba(255,255,255,.9);
  border-radius: 50%;
  width: 38px;
  height: 38px;
}

/* === SWIPER FIXES === */

.swiper {
  width: 100%;
  overflow: hidden;
}

.swiper-wrapper {
  display: flex;
}

.swiper-slide {
  width: 300px;
  flex-shrink: 0;
}

.hp-card {
  width: 100%;
}

.swiper-button-prev,
.swiper-button-next {
  top: 50%;
  transform: translateY(-50%);
  background: rgba(255,255,255,.9);
  width: 38px;
  height: 38px;
  border-radius: 50%;
}

/* =========================
   🔒 HARD SWIPER OVERRIDES
   ========================= */

.swiper,
.swiper * {
  box-sizing: border-box;
}

.swiper {
  width: 100%;
  overflow: hidden !important;
}

.swiper-wrapper {
  display: flex !important;
  flex-wrap: nowrap !important;
  align-items: stretch;
}

.swiper-slide {
  flex-shrink: 0 !important;
  width: 300px !important;
  height: auto;
}

.hp-card {
  width: 100% !important;
  max-width: 300px;
}

/* Kill AdminLTE / Bootstrap interference */
.row .swiper-wrapper,
.row .swiper-slide {
  flex-wrap: nowrap !important;
}

/* ===============================
   Interaction buttons + counters
   =============================== */

.interact-btn {
  position: relative;
  display: flex;
  align-items: center;
  gap: 6px;
}

.interact-btn .count {
  background: #f1f1f1;
  border-radius: 10px;
  padding: 1px 6px;
  font-size: 0.7rem;
  color: #333;
}

.interact-btn.btn-outline-primary .count { background:#e7f1ff; }
.interact-btn.btn-outline-danger .count  { background:#fdeaea; }
.interact-btn.btn-outline-success .count { background:#e8f8ef; }
.interact-btn.btn-outline-info .count    { background:#e9f6fb; }

