/* Shared entrance motion. Content remains visible without JavaScript. */
@keyframes nd-block-fade-up {
  from {
    opacity: 0;
    translate: 0 24px;
  }
  to {
    opacity: 1;
    translate: 0 0;
  }
}

@media (prefers-reduced-motion: no-preference) {
  .nd-block-reveal {
    animation: nd-block-fade-up 1200ms cubic-bezier(0.22, 1, 0.36, 1) both;
    animation-delay: var(--nd-reveal-delay, 0ms);
  }

  /* Keyboard navigation must never wait for an entrance animation. */
  .nd-block-reveal:focus-within {
    animation: none;
  }
}

@media print {
  .nd-block-reveal {
    animation: none;
  }
}
