.news-ticker {
  display: flex;
  gap: 1rem;
  height: 40px;
  background: 0 0;
  max-width: 100%;
  margin: 0 auto
}
@media (max-width:600px) {
  .news-ticker {
    height: 60px
  }
}
.label {
  white-space: nowrap;
  background: #8b0000;
  color: #fff;
  font-weight: 400;
  display: flex;
  align-items: center;
  padding: 0 10px;
  position: relative
}
.label::after {
  content: "";
  position: absolute;
  right: -20px;
  border: 10px solid transparent;
  border-left-color: #8b0000
}
.headlines {
  list-style: none;
  padding-right: 10px;
  width: 100%;
  height: 100%;
  overflow: hidden;
  position: relative
}
.headlines li {
  color: #fff;
  position: absolute;
  left: 20px;
  height: 100%;
  width: 100%;
  line-height: 1.2;
  padding: 10px 0;
  clip-path: polygon(0 0,0 0,0 100%,0 100%);
  transition: 3s ease-in-out
}
.headlines li.active {
  clip-path: polygon(0 0,100% 0,100% 100%,0 100%)
}
li a {
  text-decoration: none;
  color: #2f4f4f
}
