.elementor .cf-video-carousel{/* ==========================================================
 CHRONOS EXPERIENCE
 CARRUSEL DE VIDEOS
 ========================================================== */

.cf-video-carousel {
  width: 100%;
  overflow: hidden;
  position: relative;
}

.cf-video-track {
  display: flex;
  flex-direction: row;
  flex-wrap: nowrap !important;
  gap: 20px;
  width: max-content;
  flex-shrink: 0;
  align-items: stretch;
}

/* Cada flexbox que contiene un video */
.cf-video-track > .e-con,
.cf-video-track > .elementor-element {
  flex: 0 0 380px !important;
  width: 380px !important;
  min-width: 380px !important;
  max-width: 380px !important;
}

/* El video ocupa todo su contenedor */
.cf-video-track video {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
}\n}.elementor .cf-video-track{flex-wrap:nowrap;/* ==========================================================
 CHRONOS FANTASY
 CARRUSEL DE VIDEOS
 6 VIDEOS VISIBLES
 LOOP INFINITO
 ========================================================== */

/* CONTENEDOR EXTERIOR */
.cf-video-carousel {
  width: 100%;
  max-width: 100%;
  overflow: hidden !important;
  position: relative;
  display: block;
}

/* PISTA */
.cf-video-track {
  --cf-gap: 16px;

  display: flex !important;
  flex-direction: row !important;
  flex-wrap: nowrap !important;

  gap: var(--cf-gap) !important;

  width: max-content !important;
  max-width: none !important;

  flex-shrink: 0 !important;

  animation: none;
  will-change: transform;
}

/* ==========================================================
 CADA VIDEO
 ========================================================== */

.cf-video-track > .elementor-widget-video {
  flex: 0 0 calc(
      (100vw - (5 * var(--cf-gap))) / 6
  ) !important;

  width: calc(
      (100vw - (5 * var(--cf-gap))) / 6
  ) !important;

  min-width: calc(
      (100vw - (5 * var(--cf-gap))) / 6
  ) !important;

  max-width: calc(
      (100vw - (5 * var(--cf-gap))) / 6
  ) !important;

  margin: 0 !important;
}

/* VIDEO */
.cf-video-track video {
  display: block !important;
  width: 100% !important;
  height: auto !important;
  aspect-ratio: 16 / 9;
  object-fit: cover !important;
}

/* ==========================================================
 ANIMACIÓN
 La distancia real la calcula JavaScript
 ========================================================== */

.cf-video-track.cf-carousel-running {
  animation: cfInfiniteCarousel var(--cf-duration, 45s) linear infinite;
}

@keyframes cfInfiniteCarousel {

  from {
      transform: translate3d(0, 0, 0);
  }

  to {
      transform: translate3d(
          calc(-1 * var(--cf-distance)),
          0,
          0
      );
  }

}

/* ==========================================================
 TABLET
 ========================================================== */

@media (max-width: 1024px) {

  .cf-video-track > .elementor-widget-video {
      flex-basis: calc(
          (100vw - (3 * var(--cf-gap))) / 4
      ) !important;

      width: calc(
          (100vw - (3 * var(--cf-gap))) / 4
      ) !important;

      min-width: calc(
          (100vw - (3 * var(--cf-gap))) / 4
      ) !important;

      max-width: calc(
          (100vw - (3 * var(--cf-gap))) / 4
      ) !important;
  }

}

/* ==========================================================
 MÓVIL
 ========================================================== */

@media (max-width: 767px) {

  .cf-video-track {
      --cf-gap: 12px;
  }

  .cf-video-track > .elementor-widget-video {
      flex-basis: calc(
          (100vw - var(--cf-gap)) / 2
      ) !important;

      width: calc(
          (100vw - var(--cf-gap)) / 2
      ) !important;

      min-width: calc(
          (100vw - var(--cf-gap)) / 2
      ) !important;

      max-width: calc(
          (100vw - var(--cf-gap)) / 2
      ) !important;
  }

}

/* ==========================================================
 CHRONOS FANTASY
 CARRUSEL DE VIDEOS
 6 VIDEOS VISIBLES
 LOOP INFINITO
 ========================================================== */

.cf-video-carousel {
  width: 100% !important;
  max-width: 100% !important;
  overflow: hidden !important;
  position: relative !important;
}

/* PISTA */

.cf-video-track {
  --cf-gap: 16px;

  display: flex !important;
  flex-direction: row !important;
  flex-wrap: nowrap !important;

  gap: var(--cf-gap) !important;

  width: max-content !important;
  max-width: none !important;

  margin: 0 !important;
  padding: 0 !important;

  transform: translate3d(0, 0, 0);
  will-change: transform;

  transition: transform 0.8s ease-in-out;
}


/* ==========================================================
 CADA VIDEO
 ========================================================== */

.cf-video-track > .elementor-widget-video {
  flex: 0 0 var(--cf-video-width) !important;

  width: var(--cf-video-width) !important;
  min-width: var(--cf-video-width) !important;
  max-width: var(--cf-video-width) !important;

  margin: 0 !important;
  padding: 0 !important;
}


/* VIDEO */

.cf-video-track .elementor-video {
  display: block !important;

  width: 100% !important;
  height: auto !important;

  aspect-ratio: 16 / 9;

  object-fit: cover !important;
}


/* ==========================================================
 TABLET
 ========================================================== */

@media (max-width: 1024px) {

  .cf-video-track {
      --cf-gap: 14px;
  }

}


/* ==========================================================
 MÓVIL
 ========================================================== */

@media (max-width: 767px) {

  .cf-video-track {
      --cf-gap: 12px;
  }

}

/* ==========================================================
 CHRONOS FANTASY
 DRAG / TOUCH
 ========================================================== */

.cf-video-carousel {
  cursor: grab;
  user-select: none;
  -webkit-user-select: none;
}

.cf-video-carousel.is-dragging {
  cursor: grabbing;
}

/*
 * Importante para móviles:
 * permite deslizar horizontalmente el carrusel
 * sin bloquear el scroll vertical de la página.
 */
.cf-video-track {
  touch-action: pan-y;
}

/*
 * Evita que el navegador intente seleccionar
 * o arrastrar los videos como archivos.
 */
.cf-video-track video {
  pointer-events: none;
  user-select: none;
  -webkit-user-drag: none;
}\n}