/* Announcement Bar - Ticker continuo */
.announcement-bar {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 44px;
  background: #ff2d2d;
  z-index: 9999;
  overflow: hidden;
  display: flex;
  align-items: center;
}

.announcement-bar__track {
  display: flex;
  white-space: nowrap;
  animation: ticker-scroll 18s linear infinite;
}

.announcement-bar__item {
  display: inline-flex;
  align-items: center;
  gap: 0.35em;
  padding: 0 3rem;
  color: #fff;
  font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
  font-size: 0.95rem;
  font-weight: 600;
  letter-spacing: 0.02em;
  line-height: 44px;
  user-select: none;
}

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

/* Offset page content so it doesn't hide behind the bar */
body {
  padding-top: 44px;
}

/* Responsive */
@media (max-width: 640px) {
  .announcement-bar {
    height: 40px;
  }

  .announcement-bar__item {
    font-size: 0.85rem;
    padding: 0 2rem;
    line-height: 40px;
  }

  body {
    padding-top: 40px;
  }
}
