/* start */
.news-ticker {
  display: flex;
  gap: 1rem;
  height: 40px;
  max-width: 90%;
}
.news-ticker-label {
  white-space: nowrap;
  font-weight: 600;
  display: flex;
  align-items: center;
  padding: 0 10px;
  position: relative;
}
.news-ticker-label::after {
  content: "";
  position: absolute;
  right: -20px;
  border: 10px solid transparent;
  
}
.headlines {
  list-style: none;
  padding-right: 10px;
  width: 100%;
  height: 100%;
  overflow: hidden;
  position: relative;
}
.headlines li {
  position: absolute;
  left: 0;
  height: 100%;
  width: 100%;
  line-height: 40px;
  clip-path: polygon(0 0, 0 0, 0 100%, 0 100%);
  transition: all 1s ease-in-out;
}
.headlines li.active {
  clip-path: polygon(0 0, 100% 0, 100% 100%, 0 100%);
}