.voe-video-box {
  max-width: 100%;
}

.voe-video-frame {
  position: relative;
  width: 100%;
  height: 100%;
  background-color: #0b0d10;
}

.voe-video-frame video,
.voe-video-frame img {
  display: block;
  width: 100%;
  height: 100%;
}

.voe-play-poster {
  position: relative;
  display: block;
  width: 100%;
  height: 100%;
  padding: 0;
  margin: 0;
  border: 0;
  background: #111827;
  cursor: pointer;
}

.voe-no-poster-bg {
  display: block;
  width: 100%;
  height: 100%;
  background: linear-gradient(135deg, #1e293b 0%, #0f172a 100%);
}

.voe-play-btn {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 60px;
  height: 60px;
  border-radius: 50%;
  background-color: rgba(0, 0, 0, 0.72);
  color: #ffffff;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 20px;
  line-height: 1;
  transition: transform 0.2s ease, opacity 0.2s ease;
}

.voe-play-poster:hover .voe-play-btn {
  transform: translate(-50%, -50%) scale(1.07);
}

.voe-placeholder {
  padding: 28px 16px;
  border: 1px dashed #8c939d;
  color: #555;
  background: #f9fafb;
  text-align: center;
}

.voe-editor-badge {
  position: absolute;
  top: 8px;
  right: 8px;
  padding: 4px 8px;
  font-size: 11px;
  line-height: 1.2;
  color: #fff;
  background: rgba(15, 23, 42, 0.8);
  border-radius: 4px;
  pointer-events: none;
  z-index: 3;
}

/* Carrusel de Videos Optimizado (CSS Scroll Snap nativo + ligero sin librerías pesadas) */
.voe-carousel {
  --voe-cols: 3;
  --voe-gap: 16px;
  position: relative;
  width: 100%;
}

.voe-carousel-viewport {
  position: relative;
  width: 100%;
  overflow: hidden;
}

.voe-carousel-track {
  display: flex;
  gap: var(--voe-gap);
  overflow-x: auto;
  scroll-snap-type: x mandatory;
  scroll-behavior: smooth;
  scrollbar-width: none;
  -ms-overflow-style: none;
}

.voe-carousel-track::-webkit-scrollbar {
  display: none;
}

.voe-carousel-slide {
  flex: 0 0 calc((100% - (var(--voe-gap) * (var(--voe-cols) - 1))) / var(--voe-cols));
  max-width: calc((100% - (var(--voe-gap) * (var(--voe-cols) - 1))) / var(--voe-cols));
  scroll-snap-align: start;
}

.voe-slide-caption {
  position: absolute;
  left: 10px;
  bottom: 44px;
  padding: 4px 10px;
  border-radius: 6px;
  background: rgba(0, 0, 0, 0.62);
  color: #fff;
  font-size: 12px;
  line-height: 1.3;
  pointer-events: none;
  z-index: 2;
}

.voe-nav-btn {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  width: 40px;
  height: 40px;
  border: 0;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  z-index: 5;
  font-size: 16px;
  transition: transform 0.18s ease, opacity 0.18s ease;
}

.voe-nav-btn:hover {
  transform: translateY(-50%) scale(1.06);
}

.voe-prev {
  left: 10px;
}

.voe-next {
  right: 10px;
}

.voe-carousel-dots {
  display: flex;
  justify-content: center;
  gap: 8px;
  margin-top: 12px;
}

.voe-dot {
  width: 9px;
  height: 9px;
  padding: 0;
  border: 0;
  border-radius: 999px;
  background-color: rgba(100, 116, 139, 0.38);
  cursor: pointer;
  transition: width 0.2s ease, background-color 0.2s ease;
}

.voe-dot.is-active {
  width: 22px;
}
