/* === Core Styling === */

/* Position wrapper relative so arrows can sit absolutely */
.cybeem-carousel-wrapper {
  position: relative;
  overflow: hidden;
  width: 100%;
}

/* Arrows outside the visual carousel bounds */
.cybeem-carousel-wrapper .swiper-button-prev,
.cybeem-carousel-wrapper .swiper-button-next {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  z-index: 10;
  color: #f2e4cf!important;
}

.cybeem-carousel-wrapper .swiper-button-prev {
  left: 10px;
}

.cybeem-carousel-wrapper .swiper-button-next {
  right: 10px;
}

/* Carousel container layout */
.cybeem-carousel {
  width: 100%;
  box-sizing: border-box;
}

/* Slide layout reset */
.cybeem-carousel .swiper-slide {
  width: auto; /* Let Swiper control it */
  box-sizing: border-box;
  display: flex;
  flex-direction: column;
}

/* === Pagination (now outside carousel) === */
.cybeem-carousel-wrapper .swiper-pagination {
  margin-top: 1rem;
  text-align: center;
  position: static;
  display: block;
}

/* Active bullet color */
.swiper-pagination-bullet-active {
  background: #f2e4cf!important;
}

/* === Responsive Fixes === */

/* Smaller padding between slides on tablets/smaller screens */
@media (max-width: 767px) {
  .cybeem-carousel .swiper-slide {
    padding: 0 10px;
  }
}

/* Adjust navigation for very small screens */
@media (max-width: 480px) {
  .cybeem-carousel-wrapper .swiper-button-prev,
  .cybeem-carousel-wrapper .swiper-button-next {
    display: none; /* Hide arrows to save space */
  }

  .cybeem-carousel-wrapper .swiper-pagination {
    margin-top: 1rem;
  }
}