.ticker {
    overflow: hidden;
    white-space: nowrap;
}

.bhe-state-editing .ticker {
    overflow: visible;
}

.ticker-container {
    min-width: 100%;
    padding-top: 2rem;
    padding-bottom: 2rem;
    display: inline-block;
    box-sizing: border-box;
    text-align: center;
    animation: marquee 70s linear infinite;
    transition: animation-duration 0.3s;
}

.ticker:hover .ticker-container {
    animation-play-state: paused;
}

.bhe-state-editing .ticker-container {
    width: 100%;
    animation: none;
}

.bhe-state-editing .ticker-container--copy {
    display: none;
}

@keyframes marquee {
  0% {
    transform: translate(0, 0);
  }
  100% {
    transform: translate(-100%, 0);
  }
}
