/* Feature cards (Live Sports … New and fast search) start a little faded and offset, then ease into place each
   time they scroll into view: from below when scrolling down, from above when scrolling back up
   (assets/reveal.js). User-approved motion exception, scoped to these cards: see design-system/DESIGN.md
   "Elevation & Depth". Without JavaScript, with reduced motion, or when printing they are simply there. */
@media screen and (scripting: enabled) and (prefers-reduced-motion: no-preference) {
  #features .card {
    opacity: .16;
    transform: translate3d(0, calc(var(--vx-reveal-y, 30) * var(--vx-unit, 1px)), 0) scale(.97);
  }
  /* reveal.js never ran (blocked or failed): show the cards anyway after a moment */
  html:not(.vx-reveal) #features .card { animation: vx-reveal-failsafe 1.4s ease 3s forwards; }
  html.vx-reveal #features .card {
    transition:
      opacity 1.4s cubic-bezier(.22, .61, .36, 1) var(--vx-reveal-delay, 0ms),
      transform 1.7s cubic-bezier(.16, 1, .3, 1) var(--vx-reveal-delay, 0ms),
      color var(--vx-duration) var(--vx-ease), background-color var(--vx-duration) var(--vx-ease),
      border-color var(--vx-duration) var(--vx-ease), box-shadow var(--vx-duration) var(--vx-ease);
  }
  /* Off screen again: back to the faded look at once, ready for the next entrance. */
  html.vx-reveal #features .card.is-reset { transition: none; }
  html.vx-reveal #features .card.is-shown { opacity: 1; transform: none; }
}
@keyframes vx-reveal-failsafe { to { opacity: 1; transform: none; } }
