/* Encapsulamiento estricto para no romper la interfaz de WordPress */
.video-carousel-block {
  position: relative;
  max-width: 1000px;
  margin: 40px auto;
  padding: 0 45px;
  box-sizing: border-box;
}

.video-carousel-block * {
  box-sizing: border-box;
}

.video-carousel-block .myVideoSwiper {
  width: 100%;
  padding: 10px 0;
}

.video-carousel-block .video-card {
  position: relative;
  width: 100%;
  aspect-ratio: 9 / 16;
  border-radius: 20px;
  overflow: hidden;
  box-shadow: 0 6px 18px rgba(0, 0, 0, 0.1);
  background-color: #000000;
}

.video-carousel-block .video-card video {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.video-carousel-block .video-overlay-text {
  position: absolute;
  bottom: 0;
  left: 0;
  width: 100%;
  padding: 40px 18px 20px 18px;
  background: linear-gradient(to top, rgba(0, 0, 0, 0.85) 0%, rgba(0, 0, 0, 0.3) 60%, rgba(0, 0, 0, 0) 100%);
  color: #ffffff;
  z-index: 2;
  pointer-events: none;
}

.video-carousel-block .video-title {
  margin: 0 0 4px 0;
  font-size: 1.1rem;
  font-weight: 700;
  color: #ffffff;
  line-height: 1.2;
}

.video-carousel-block .video-subtitle {
  margin: 0;
  font-size: 0.85rem;
  font-weight: 400;
  color: #e2e8f0;
  line-height: 1.3;
}

.video-carousel-block .swiper-button-next,
.video-carousel-block .swiper-button-prev {
  background-color: #ff007a;
  color: #ffffff !important;
  width: 44px !important;
  height: 44px !important;
  border-radius: 50%;
  box-shadow: 0 4px 12px rgba(255, 0, 122, 0.35);
}

.video-carousel-block .swiper-button-next::after,
.video-carousel-block .swiper-button-prev::after {
  font-size: 16px !important;
  font-weight: bold;
}

.video-carousel-block .placeholder-text {
  text-align: center;
  padding: 20px;
  background: #f1f5f9;
  border: 1px dashed #cbd5e1;
  border-radius: 8px;
}