/* ==========================================================================
   Nera Attribution Page (page-templates/nera-marketing-attribution.php)
   Pseudo-element and state-based styles that have no Tailwind equivalent.
   All colours reference CSS variables so they flex with brand preset changes.
   ========================================================================== */

/* Hero badge — pulsing dot via ::before pseudo-element */
.nera-attr-badge::before {
  content: '';
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--color-primary);
  flex-shrink: 0;
  animation: nera-attr-pulse-dot 2s ease-in-out infinite;
}

@keyframes nera-attr-pulse-dot {
  0%, 100% { opacity: 1; transform: scale(1); }
  50%       { opacity: 0.4; transform: scale(0.75); }
}

/* Pillar card — accent top-border that sweeps in on hover */
.nera-attr-pillar::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 3px;
  background: var(--color-primary);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 0.3s ease;
}

.nera-attr-pillar:hover::before {
  transform: scaleX(1);
}

/* FAQ accordion — icon and open/close state handled by AlpineJS :class bindings.
   Only the SVG transition lives here (animation property, no @apply equivalent). */
.nera-attr-faq-icon svg {
  transition: transform 0.2s ease;
}

/* ==========================================================================
   End Nera Attribution Page styles
   ========================================================================== */

