/******* Do not edit this file *******
Woody Code Snippets CSS and JS
Saved: Jan 18 2026 | 08:39:59 */
/* === ELECTRIC BORDER FOR GUTENBERG IMAGES === */
.wp-block-image.image-style-animated {
  position: relative;
  display: block;
  max-width: 600px;
  margin-bottom: 1.5rem;
  border-radius: 18px;
  overflow: visible;
}

/* Image */
.wp-block-image.image-style-animated img {
  display: block;
  max-width: auto;	
  width: auto;
  height: auto;
  border-radius: 16px;
  position: relative;
  z-index: 3;
}

/* Animated border */
.wp-block-image.image-style-animated::before {
  content: "";
  position: absolute;
  inset: -8px; /* agranda el borde */
  border-radius: 22px;
  background: linear-gradient(
    90deg,
    #9aff00,
    #5400ff,
    #9aff00,
    #5400ff
  );
  background-size: 300% 300%;
  animation: electric-border 4s linear infinite;
  z-index: 2;
  pointer-events: none;
}

/* Glow */
.wp-block-image.image-style-animated::after {
  content: "";
  position: absolute;
  inset: -13px; /* glow más amplio */
  border-radius: 26px;
  background: linear-gradient(
    90deg,
    #9aff00,
    #5400ff,
    #9aff00
  );
  background-size: 300% 300%;
  animation: electric-border 4s linear infinite;
  z-index: 1;
  pointer-events: none;
}

/* Animation */
@keyframes electric-border {
  0% { background-position: 0% 50%; }
  50% { background-position: 100% 50%; }
  100% { background-position: 0% 50%; }
}

