/* Additions to the original eBirth stylesheet (ebirth.css) for the static copy. */

/* Sections fade up as they scroll into view, as the React app did. Only with JS on, so nothing
   stays hidden without it, and they show after 2.5 s even if the observer never fires. */
.js [data-reveal] {
  opacity: 0;
  transform: translateY(50px);
  transition: opacity 0.7s ease-out, transform 0.7s ease-out;
  animation: ebirth-reveal-fallback 0s 2.5s forwards;
}
.js [data-reveal].is-in {
  opacity: 1;
  transform: none;
  animation: none;
}
@keyframes ebirth-reveal-fallback {
  to { opacity: 1; transform: none; }
}
@media (prefers-reduced-motion: reduce) {
  .js [data-reveal] { opacity: 1; transform: none; transition: none; animation: none; }
}

/* Mobile menu panel when open. */
[data-menu].is-open { max-height: 600px; opacity: 1; }

/* Small note under a course's price. */
.ebirth-batch-line { font-size: 0.8rem; color: rgb(255 255 255 / 0.65); }
.ebirth-batch-line.is-closed { color: #ffe178; }
