/* Container for the Swiper */
.swiper-container {
  width: 100%;
  max-width: 100vw;
  height: auto;
  max-height: 85vh; /* Control height on all screens */
  overflow: hidden;
  position: relative;
}

/* Wrapper and Slide Flexbox */
.swiper-wrapper {
  display: flex;
}

/* Individual slide: allow flexible height */
.swiper-slide {
  flex-shrink: 0;
  width: 100%;
}

/* Image scaling cleanly */
.swiper-slide img {
  width: 100%;
  height: auto;
  object-fit: cover;
  aspect-ratio: 16 / 7;
  display: block;
  max-height: 85vh;
}

/* Arrows */
.swiper-button-next,
.swiper-button-prev {
  position: absolute;
  top: 50%;
  width: 40px;
  height: 40px;
  transform: translateY(-50%);
  background: rgba(255, 255, 255, 0.7);
  border-radius: 50%;
  z-index: 10;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 20px;
  color: #000;
}

.swiper-button-next::after,
.swiper-button-prev::after {
  content: '';
  width: 15px;
  height: 15px;
  border: solid #000;
  border-width: 0 3px 3px 0;
}

.swiper-button-next::after {
  transform: rotate(-45deg);
}

.swiper-button-prev::after {
  transform: rotate(135deg);
}

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

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

/* Pagination inside the image, avoid gap below */
.swiper-pagination {
  position: absolute;
  bottom: 10px;
  left: 0;
  right: 0;
  display: flex;
  justify-content: center;
  z-index: 10;
  gap: 6px;
}

.swiper-pagination-bullet {
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: #fff;
  opacity: 0.5;
  transition: opacity 0.3s ease;
}

.swiper-pagination-bullet-active {
  opacity: 1;
}

/* Mobile tweaks */
@media (max-width: 768px) {
  .swiper-slide img {
    aspect-ratio: 3 / 2;
  }
}	  
