.carousel-header {
  display: grid;
  grid-template-columns: 1fr auto;
  align-items: center;
  margin-bottom: 1rem;
}

.carousel-header h2 {
  font-size: 1.5rem;
  margin: 0;
}

.miami-carousel-wrapper {
  position: relative;
  width: 100%;
  overflow: visible;
}

.miami-carousel {
  position: relative;
  overflow: visible;
  padding-top: 0;
}

/* ✅ ARROWS aligned top-right, side by side */
/* 🔧 Remove default blue Swiper arrow styles completely */
.swiper-button-next,
.swiper-button-prev {
  color: transparent; /* Hide default blue arrows */
  background-color: #fff;
  width: 36px;
  height: 36px;
  border-radius: 50%;
  background-position: center;
  background-repeat: no-repeat;
  background-size: 16px 16px;
  border: 1px solid #ccc;       /* ✅ Add 1px grey border */
  box-shadow: none !important;  /* ✅ Remove shadow */
  top: 25px;
  z-index: 10;
}


/* ✅ Custom arrow icons */
.swiper-button-next {
  background-image: url('/wp-content/plugins/miami-forward/assets/icons/arrow-right.svg');
  right: 0;
}

.swiper-button-prev {
  background-image: url('/wp-content/plugins/miami-forward/assets/icons/arrow-left.svg');
  right: 50px;
  left: auto; /* Override default Swiper left positioning */
}

/* Optional: hide when disabled */
.swiper-button-disabled {
  opacity: 0.3;
  cursor: not-allowed;
}



/* Fix for card layout inside Swiper */
.swiper-wrapper {
  align-items: stretch;
}

.swiper-slide {
  height: auto;
  display: flex;
  flex-direction: column;
}

/* Button styles */
.view-all-btn {
  display: inline-block;
  padding: 0.5em 1em;
  border: 1px solid #ccc;
  border-radius: 9999px;
  font-weight: 600;
  text-decoration: none;
  transition: all 0.3s ease;
}

.view-all-btn:hover {
  background: #000;
  color: #fff;
  border-color: #000;
}


/* ✅ Responsive spacing for mobile */
@media (max-width: 768px) {
  .carousel-header {
    grid-template-columns: 1fr;
    row-gap: 0.5rem;
  }
  .swiper-button-next,
.swiper-button-prev {
    display:none;
  }
}
