.pulsetcm-news-ticker {
  --pulsetcm-news-ticker-duration: 20s;
  --pulsetcm-news-ticker-gap: 28px;
  position: relative;
  width: 100%;
}

.pulsetcm-news-ticker__viewport {
  overflow: hidden;
  width: 100%;
}

.pulsetcm-news-ticker__track {
  display: flex;
  flex-wrap: nowrap;
  align-items: center;
  gap: var(--pulsetcm-news-ticker-gap);
  width: max-content;
  animation-duration: var(--pulsetcm-news-ticker-duration);
  animation-timing-function: linear;
  animation-iteration-count: infinite;
  will-change: transform;
}

.pulsetcm-news-ticker__set {
  display: flex;
  flex-wrap: nowrap;
  align-items: center;
  gap: var(--pulsetcm-news-ticker-gap);
  flex: 0 0 auto;
}

.pulsetcm-news-ticker--left .pulsetcm-news-ticker__track {
  animation-name: pulsetcmNewsTickerLeft;
}

.pulsetcm-news-ticker--right .pulsetcm-news-ticker__track {
  animation-name: pulsetcmNewsTickerRight;
}

.pulsetcm-news-ticker--pause-on-hover:hover .pulsetcm-news-ticker__track {
  animation-play-state: paused;
}

.pulsetcm-news-ticker__item {
  display: inline-flex;
  align-items: center;
  flex-wrap: nowrap;
  gap: 8px;
  text-decoration: none;
  white-space: nowrap;
  color: inherit;
  flex: 0 0 auto;
}

.pulsetcm-news-ticker__item:visited,
.pulsetcm-news-ticker__item:hover,
.pulsetcm-news-ticker__item:focus {
  color: inherit;
}

.pulsetcm-news-ticker__item-icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 18px;
  height: 18px;
  flex: 0 0 auto;
}

.pulsetcm-news-ticker__item-icon img,
.pulsetcm-news-ticker__item-icon svg {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: contain;
}

.pulsetcm-news-ticker__item-icon i {
  font-size: 16px;
  line-height: 1;
}

.pulsetcm-news-ticker__item-text {
  white-space: nowrap;
}

@keyframes pulsetcmNewsTickerLeft {
  from {
    transform: translateX(0);
  }
  to {
    transform: translateX(-50%);
  }
}

@keyframes pulsetcmNewsTickerRight {
  from {
    transform: translateX(-50%);
  }
  to {
    transform: translateX(0);
  }
}
