/* Section container */
.shorts-section {
  padding: 4rem 1rem;
  background-color: #f8f8f8;
}

/* Inner container to center content */
.shorts-container {
  max-width: 1200px;
  margin: 0 auto;
  text-align: center;
  padding: 0 16px;
}

/* Heading styles */
.shorts-heading {
  font-size: 2rem;
  margin-bottom: 2rem;
  font-weight: bold;
  color: #222;
}

/* Swiper slide layout */
.swiper-slide {
  display: flex;
  justify-content: center;
  align-items: center;
  padding: 0 8px;
  box-sizing: border-box;
}

.video-wrapper {
  position: relative;
  width: 100%;
  max-width: 280px; /* Limit width on small screens */
  aspect-ratio: 9 / 16;
  margin: 0 auto;
  background: #000;
  overflow: hidden;
  border-radius: 12px;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
  transition: transform 0.3s ease;
}

/* Scale up on tablets and desktops */
@media (min-width: 768px) {
  .video-wrapper {
    max-width: 360px;
  }
}

@media (min-width: 1024px) {
  .video-wrapper {
    max-width: 420px;
  }
}

@media (min-width: 1440px) {
  .video-wrapper {
    max-width: 480px;
  }
}

.video-wrapper iframe {
  position: absolute;
  width: 100%;
  height: 100%;
  border: 0;
}

/* Center swiper buttons vertically and push to the sides */
.swiper-button-prev,
.swiper-button-next {
  top: 50%;
  transform: translateY(-50%);
  width: 44px;
  height: 44px;
  background-color: rgba(255, 255, 255, 0.5);
  border-radius: 50%;
  box-shadow: 0 2px 6px rgba(0,0,0,0.2);
  color: #cc0000;
  z-index: 10;
}

.swiper-button-prev {
/*  left: -32px; */
}

.swiper-button-next {
/*  right: -32px; */
}

/* Move pagination dots below the carousel */
.swiper-pagination {
  position: relative;
  margin-top: 1rem;
  bottom: auto !important;
}

/* Optional: style the dots */
.swiper-pagination-bullet {
  background: #888;
  opacity: 0.6;
}

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