/* Hyperlaz ticker — fix version */
.hyperlaz-ticker {
  --ticker-bg: #111;
  --ticker-fg: #fff;
  --ticker-height: 44px;
  --ticker-duration: 24s;
  --ticker-gap: 48px;

  display: block;
  width: 100%;
  height: var(--ticker-height);
  overflow: hidden;
  background: var(--ticker-bg);
  color: var(--ticker-fg);
  position: relative;
  z-index: 10;
  box-sizing: border-box;
}

.hyperlaz-ticker,
.hyperlaz-ticker * {
  box-sizing: border-box;
}

.hyperlaz-ticker__track {
  display: flex;
  width: max-content;
  height: 100%;
  animation: hyperlaz-ticker-scroll var(--ticker-duration) linear infinite;
  will-change: transform;
}

.hyperlaz-ticker__group {
  display: flex;
  flex: 0 0 auto;
  align-items: center;
  justify-content: space-around;
  gap: var(--ticker-gap);
  padding-right: var(--ticker-gap);
  white-space: nowrap;
}

.hyperlaz-ticker__item {
  display: inline-flex;
  flex: 0 0 auto;
  align-items: center;
  gap: 18px;
  height: 100%;
  white-space: nowrap;
  color: inherit;
  font-family: inherit;
  font-size: 12px;
  font-weight: 700;
  letter-spacing: .12em;
  line-height: 1;
  text-transform: uppercase;
}

.hyperlaz-ticker__item b {
  font-size: 16px;
  font-weight: 400;
}

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

@media (hover: hover) {
  .hyperlaz-ticker:hover .hyperlaz-ticker__track {
    animation-play-state: paused;
  }
}

@media (max-width: 600px) {
  .hyperlaz-ticker {
    --ticker-height: 40px;
    --ticker-duration: 20s;
    --ticker-gap: 28px;
  }

  .hyperlaz-ticker__item {
    font-size: 11px;
  }
}

/* Respect reduced-motion preferences while keeping all announcements visible. */
@media (prefers-reduced-motion: reduce) {
  .hyperlaz-ticker {
    height: auto;
    min-height: var(--ticker-height);
    overflow: visible;
  }

  .hyperlaz-ticker__track {
    animation: none;
    width: 100%;
    height: auto;
    display: block;
  }

  .hyperlaz-ticker__group {
    flex-wrap: wrap;
    justify-content: center;
    white-space: normal;
    padding: 8px 12px;
  }

  .hyperlaz-ticker__group[aria-hidden="true"] {
    display: none;
  }

  .hyperlaz-ticker__item {
    min-height: 28px;
  }
}
