.vsc-slider-wrapper {
  max-width: 100%;
  margin: 2rem auto;
  padding: 0 1rem;
  overflow: hidden;
}
.vsc-thumb img {
  width: 100%;
  height: auto%;
  object-fit: cover;
  display: block;
  border-radius: 8px;
  transition: transform 0.3s ease;
}
.vsc-thumb:hover img {
  transform: scale(1.03);
}
#vsc-popup {
  position: fixed !important;
  top: 0;
  left: 0;
  height: 100vh;
  width: 100vw;
  display: none;
  justify-content: center;
  align-items: center;
  background: rgba(0,0,0,0.8);
  z-index: 99999;
}

.vsc-popup-inner {
  position: fixed;
  top: 10%; left: 50%;
  transform: translate(-50%, -50%);
  width: 90%;
  max-width: 800px;
  background: #000;
}
.vsc-popup-inner iframe,
.vsc-popup-inner video {
  width: 100%;
  height: auto;
  aspect-ratio: 16 / 9;
  object-fit: cover;
  display: block;
  margin: 0;
  padding: 0;
  border: none;
}
.vsc-close {
  position: absolute;
  top: 10px;
  right: 15px;
  font-size: 2rem;
  color: #fff;
  cursor: pointer;
  z-index: 99999;
}

.swiper-slide {
  box-sizing: border-box;
  padding: 10px;
  margin: 0;
}
.vsc-iframe {
  height: auto; /* atau coba juga auto, tergantung konten */
  min-height: 600px;
}

/* Dot style */
.swiper-pagination-bullet {
  background: #ffffff !important;
  opacity: 0.6;
}
.swiper-pagination-bullet-active {
  background: #aa0000 !important;
  opacity: 1 !important;
}

/* Responsive fix */
@media (min-width: 1025px) {
  .swiper-slide { width: 25% !important; }
}
@media (max-width: 1024px) {
  .swiper-slide { width: 33.333% !important; }
}
@media (max-width: 768px) {
  .swiper-slide { width: 50% !important; }
}
@media (max-width: 480px) {
  .swiper-slide { width: 100% !important; }
}

/* Fix bottom spacing */
iframe {
  margin-bottom: 0 !important;
  padding-bottom: 0 !important;
  display: block;
}
