/* Banner container */
.announcement-banner {
  width: 100%;
  background-color: #111;
  color: #fff;
  overflow: hidden;
  white-space: nowrap;
  position: sticky;
  z-index: 1000;
}

/* Moving content */
.announcement-track {
  display: inline-flex;
  gap: 4rem;
  padding: 0.75rem 0;
  animation: scroll-right 15s linear infinite;
}

/* Text styling */
.announcement-track span {
  font-size: 0.95rem;
  font-weight: 500;
}
.announcement-banner:hover .announcement-track {
  animation-play-state: paused;
}

/* Animation */
@keyframes scroll-right {
  0% {
    transform: translateX(0%);
  }
  100% {
    transform: translateX(100%);
  }
}

/* Remove hyperlink styling inside banner */
.announcement-banner a {
  color: white;          /* same color as text */
  /* text-decoration: none;   remove underline */
}

/* Optional: subtle hover effect */
.announcement-banner a:hover {
  opacity: 0.85;
}
