/* AWX Micro GSAP Motions frontend styles - override nel tema se serve */

.awx-sticky{
  position: sticky;
  top: var(--awx-sticky-top, 96px);
  align-self: flex-start;
  z-index: 2;
}

/* --- Nuovi preset (v1.5.x) --- */

/* Clip-wipe: performance hint */
[data-awx-motion-preset="clip-wipe"]{
  will-change: clip-path, transform;
}

/* Underline draw: non tocca il markup, disegna una linea via pseudo-element */
[data-awx-motion-preset="underline"]{
  position: relative;
}
[data-awx-motion-preset="underline"]::after{
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  bottom: -0.08em;
  height: 0.14em;
  background: currentColor;
  opacity: 0.22;
  border-radius: 999px;
  transform-origin: left;
  transform: scaleX(var(--awx-underline-scale, 0));
  pointer-events: none;
}

/* se un parent ha overflow:hidden/auto, sticky può non funzionare: è un limite CSS */
