.home-hero .home-hero-slide,
.marquee-hire-hero .marquee-hire-hero-slide {
  opacity: 0;
  animation-fill-mode: both;
  animation-iteration-count: infinite;
  animation-timing-function: ease-in-out;
}

.home-hero--1 .home-hero-slide,
.marquee-hire-hero--1 .marquee-hire-hero-slide { opacity: 1; }

.home-hero--2 .home-hero-slide,
.marquee-hire-hero--2 .marquee-hire-hero-slide {
  animation-duration: 12s;
  animation-name: ndm-hero-fade-two;
}

.home-hero--2 .home-hero-slide:nth-child(1),
.marquee-hire-hero--2 .marquee-hire-hero-slide:nth-child(1) { animation-delay: 0s; }

.home-hero--2 .home-hero-slide:nth-child(2),
.marquee-hire-hero--2 .marquee-hire-hero-slide:nth-child(2) { animation-delay: 6s; }

.home-hero--3 .home-hero-slide,
.marquee-hire-hero--3 .marquee-hire-hero-slide {
  animation-duration: 12s;
  animation-name: ndm-hero-fade-three;
}

.home-hero--3 .home-hero-slide:nth-child(1),
.marquee-hire-hero--3 .marquee-hire-hero-slide:nth-child(1) { animation-delay: 0s; }

.home-hero--3 .home-hero-slide:nth-child(2),
.marquee-hire-hero--3 .marquee-hire-hero-slide:nth-child(2) { animation-delay: 4s; }

.home-hero--3 .home-hero-slide:nth-child(3),
.marquee-hire-hero--3 .marquee-hire-hero-slide:nth-child(3) { animation-delay: 8s; }

@keyframes ndm-hero-fade-two {
  0%, 45% { opacity: 1; }
  50%, 95% { opacity: 0; }
  100% { opacity: 1; }
}

@keyframes ndm-hero-fade-three {
  0%, 27% { opacity: 1; }
  33%, 94% { opacity: 0; }
  100% { opacity: 1; }
}

@media (prefers-reduced-motion: reduce) {
  .home-hero .home-hero-slide,
  .marquee-hire-hero .marquee-hire-hero-slide { animation: none; }

  .home-hero .home-hero-slide:not(:first-child),
  .marquee-hire-hero .marquee-hire-hero-slide:not(:first-child) { display: none; }

  .home-hero .home-hero-slide:first-child,
  .marquee-hire-hero .marquee-hire-hero-slide:first-child { opacity: 1; }
}
