.hero h1.hero-headline-slider {
  position: relative !important;
  overflow: hidden !important;
  display: block !important;
  width: 100% !important;
  min-height: 3.05em !important;
}

.hero-headline-track {
  position: relative !important;
  display: block !important;
  width: 100% !important;
  min-height: 3.05em !important;
  animation: none !important;
}

.hero-headline-slide {
  position: absolute !important;
  inset: 0 !important;
  display: flex !important;
  align-items: center !important;
  justify-content: center !important;
  width: 100% !important;
  text-align: center !important;
  line-height: .98 !important;
  opacity: 0;
  transform: translateY(10px) scale(.98);
  will-change: opacity, transform;
}

.hero-headline-slide:first-child {
  animation: heroHeadlineFirst 8s ease-in-out infinite !important;
}

.hero-headline-slide:nth-child(2) {
  animation: heroHeadlineSecond 8s ease-in-out infinite !important;
}

.hero-headline-slide.is-short {
  font-size: .86em !important;
  line-height: 1.02 !important;
  padding: 0 .05em !important;
}

@keyframes heroHeadlineFirst {
  0%, 42% {
    opacity: 1;
    transform: translateY(0) scale(1);
  }

  50%, 92% {
    opacity: 0;
    transform: translateY(-10px) scale(.98);
  }

  100% {
    opacity: 1;
    transform: translateY(0) scale(1);
  }
}

@keyframes heroHeadlineSecond {
  0%, 42% {
    opacity: 0;
    transform: translateY(10px) scale(.98);
  }

  50%, 92% {
    opacity: 1;
    transform: translateY(0) scale(1);
  }

  100% {
    opacity: 0;
    transform: translateY(-10px) scale(.98);
  }
}

@media (max-width: 380px) {
  .hero h1.hero-headline-slider,
  .hero-headline-track {
    min-height: 3.15em !important;
  }

  .hero-headline-slide.is-short {
    font-size: .78em !important;
  }
}
