@keyframes scroll {
  from {
    transform: translateX(0);
  }
  to {
    transform: translateX(-33.333%);
  }
}

@keyframes scroll {
  0% {
    transform: translateX(0px);
  }
  100% {
    transform: translateX(-33.333%);
  }
}

/* EC-NAV-088: Front-page fixed nav + min-h-screen hero (must be last in this file) */
body.front-page {
  padding-top: 0 !important;
}
body.front-page .site-main,
body.front-page .site-main #primary {
  margin-top: 0 !important;
  padding-top: 0 !important;
}
body.front-page .site-main #primary > section.min-h-screen:first-of-type,
body.front-page
  .site-main
  > div:first-of-type
  > section.min-h-screen:first-of-type {
  margin-top: calc(
    -1 * var(--wpconvert-header-bar-height, 4rem) -
      var(--wp-admin--admin-bar--height, 0px)
  ) !important;
}

/* EC-NAV-089: see root style.css — fixed nav under admin bar in Playground / logged-in front. */
body.admin-bar nav.fixed.top-0:not(#wpconvert-mobile-nav),
body.admin-bar nav.fixed[class*='top-0']:not(#wpconvert-mobile-nav) {
  top: var(--wp-admin--admin-bar--height, 32px) !important;
}

/* EC-BTN-104 + EC-NAV-121: Re-assert Tailwind light text on <button>/<a> CTAs.
   Uses class~= (whitespace-separated word match) instead of class*= (substring) so that
   hover:text-white, focus:text-white, group-hover:text-white etc. are NOT matched. */
button[class~='text-white/90'],
a[class~='text-white/90'] {
  color: rgba(255, 255, 255, 0.9);
}
button[class~='text-white/80'],
a[class~='text-white/80'] {
  color: rgba(255, 255, 255, 0.8);
}
button[class~='text-white/70'],
a[class~='text-white/70'] {
  color: rgba(255, 255, 255, 0.7);
}
button[class~='text-white/60'],
a[class~='text-white/60'] {
  color: rgba(255, 255, 255, 0.6);
}
button[class~='text-white/50'],
a[class~='text-white/50'] {
  color: rgba(255, 255, 255, 0.5);
}
button[class~='text-white/40'],
a[class~='text-white/40'] {
  color: rgba(255, 255, 255, 0.4);
}
button[class~='text-white'],
a[class~='text-white'] {
  --tw-text-opacity: 1;
  color: rgb(255 255 255 / var(--tw-text-opacity, 1));
}

/* EC-ANIM-008b / EC-ANIM-009: carousel-only override — scroll-reveal elements animate via IO in functions.php */
.scroll-fade-up:has([aria-roledescription='carousel']),
.scroll-fade-up:has([data-wpconvert-blog-filter-bar]),
.scroll-fade-left:has([aria-roledescription='carousel']),
.scroll-fade-right:has([aria-roledescription='carousel']),
.scroll-scale-in:has([aria-roledescription='carousel']) {
  opacity: 1 !important;
  transform: none !important;
}
