.ticker {
  background: var(--caution-yellow);
  color: var(--caution-text);
  border-top: 1px solid rgba(0, 0, 0, 0.2);
  border-bottom: 1px solid rgba(0, 0, 0, 0.28);
  overflow: hidden;
}

.ticker-inner {
  height: var(--ticker-height);
  display: flex;
  align-items: center;
  overflow: hidden;
}

.ticker-link {
  width: 100%;
  color: inherit;
  text-decoration: none;
  cursor: pointer;
}

.ticker-track {
  display: inline-flex;
  align-items: center;
  gap: 28px;
  width: max-content;
  white-space: nowrap;
  animation: ticker 22s linear infinite;
  animation-direction: reverse;
  will-change: transform;
}

.ticker-group {
  display: inline-flex;
  align-items: center;
  gap: 28px;
  padding-right: 28px;
}

.ticker-item {
  font-size: 12px;
  letter-spacing: 2px;
  text-transform: uppercase;
  font-weight: 600;
  white-space: nowrap;
  text-shadow: none;
}


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

@media (prefers-reduced-motion: reduce) {
  .ticker-track {
    animation: none;
    transform: translateX(0);
  }
}
