.elementor-2687 .elementor-element.elementor-element-24949d8{--display:flex;--flex-direction:column;--container-widget-width:100%;--container-widget-height:initial;--container-widget-flex-grow:0;--container-widget-align-self:initial;--flex-wrap-mobile:wrap;}/* Start custom CSS for container, class: .elementor-element-24949d8 *//* =============================
   CONTENEDOR PRINCIPAL VIDEOS – SCI-FI BORDER
   ============================= */

.maincontent-videos {
  position: relative;
  padding: 32px 28px;
  border-radius: 28px;
  background: rgba(2, 3, 10, 0.96); /* fondo dark */
  color: #ffffff;
  overflow: hidden;
  z-index: 0;
}

/* Aro sci-fi alrededor del contenedor (DARK) */
.maincontent-videos::before {
  content: "";
  position: absolute;
  inset: -2px;
  padding: 2px;
  border-radius: inherit;

  background: linear-gradient(
    120deg,
    rgba(5, 8, 24, 1) 0%,
    #151540 15%,
    #1f35ff 32%,
    #ffffff 50%,      /* pulso blanco */
    #1f35ff 68%,
    #151540 85%,
    rgba(5, 8, 24, 1) 100%
  );

  background-size: 260% 260%;
  background-position: 0% 50%;
  pointer-events: none;

  -webkit-mask:
      linear-gradient(#000 0 0) content-box,
      linear-gradient(#000 0 0);
  -webkit-mask-composite: xor;
          mask-composite: exclude;

  z-index: -1;
  animation: neonBorderMove 2.4s linear infinite;
}

/* Light theme: fondo claro */
html[data-theme="light"] .maincontent-videos {
  background: rgba(245, 247, 251, 0.98);
  color: #111111;
}

/* Borde sci-fi pastel eléctrico en light */
html[data-theme="light"] .maincontent-videos::before {
  background: linear-gradient(
    120deg,
    rgba(240, 242, 255, 1) 0%,
    #d8ddff 15%,
    #7c88ff 32%,
    #ffffff 50%,
    #7c88ff 68%,
    #d8ddff 85%,
    rgba(240, 242, 255, 1) 100%
  );
  background-size: 260% 260%;
  background-position: 0% 50%;
}

/* Solo si no la tienes ya declarada en otro CSS */
@keyframes neonBorderMove {
  0%   { background-position: 0% 50%; }
  50%  { background-position: 100% 50%; }
  100% { background-position: 0% 50%; }
}/* End custom CSS */