* { box-sizing: border-box; }



.news-ticker {
  display: flex;
  align-items: stretch;
  margin-top: 28px;
  overflow: hidden;
  border-radius: 0px;
  background: #E4E8E9;
  color: #5A696B;
  box-shadow: 0 8px 24px rgba(0,0,0,.08);
}

.news-label {
  flex: 0 0 auto;
  display: flex;
  align-items: center;
  padding: 14px 20px;
  background: #5A696B;
color: #D3D9DA;
  font-weight: 600;
  position: relative;
  z-index: 2;
}

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

.ticker-track {
  display: flex;
  width: max-content;
  will-change: transform;
  animation: ticker-scroll 22s linear infinite;
}

.ticker-group {
  display: flex;
  align-items: center;
  gap: 48px;
  padding: 14px 24px;
}

.ticker-group span::after {
  content: "•";
  margin-left: 48px;
}

.ticker-group span:last-child::after { margin-left: 48px; }

.ticker-wrapper:hover .ticker-track,
.ticker-wrapper:focus-within .ticker-track {
  animation-play-state: paused;
}

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

.hint { color: #6b7280; font-size: 14px; }

@media (max-width: 600px) {
  .news-label { padding: 12px; font-size: 14px; }
  .ticker-group { padding-block: 12px; gap: 32px; }
  .ticker-group span::after { margin-left: 32px; }
}

@media (prefers-reduced-motion: reduce) {
  .ticker-wrapper { white-space: normal; }
  .ticker-track {
    width: 100%;
    animation: none;
    transform: none;
  }
  .ticker-group {
    flex-wrap: wrap;
    width: 100%;
  }
  .ticker-group[aria-hidden="true"] { display: none; }
}
