/* FlickupScore editorial marquee — the oversized lower-band typography loops continuously. */
.fs-news-feature {
  --fs-marquee-ink: rgba(255, 255, 255, .075);
}

/* Retire the old static pseudo-element watermark. */
.fs-news-feature::after {
  content: none;
  animation: none;
}

.fs-news-marquee {
  position: absolute;
  z-index: 0;
  left: -3.5%;
  right: -3.5%;
  bottom: 3px;
  height: clamp(78px, 10.5vw, 126px);
  overflow: hidden;
  pointer-events: none;
  transform: rotate(-6deg);
  transform-origin: left 58%;
  opacity: .95;
  -webkit-mask-image: linear-gradient(90deg, transparent 0, #000 2.5%, #000 97%, transparent 100%);
  mask-image: linear-gradient(90deg, transparent 0, #000 2.5%, #000 97%, transparent 100%);
}

.fs-news-marquee-track {
  display: flex;
  width: max-content;
  height: 100%;
  will-change: transform;
  animation: fs-news-marquee-loop 34s linear infinite;
}

.fs-news-marquee-group {
  display: flex;
  flex: 0 0 auto;
  align-items: center;
  gap: clamp(42px, 6vw, 88px);
  padding-right: clamp(42px, 6vw, 88px);
  white-space: nowrap;
}

.fs-news-marquee-group span {
  display: block;
  flex: 0 0 auto;
  color: var(--fs-marquee-ink);
  font-family: Impact, Haettenschweiler, "Arial Narrow Bold", sans-serif;
  font-size: clamp(42px, 6vw, 76px);
  font-weight: 1000;
  line-height: .82;
  letter-spacing: -.035em;
  text-transform: uppercase;
  white-space: nowrap;
}

/* Keep the editorial copy and CTA above the decorative moving type. */
.fs-news-feature > .fs-kicker,
.fs-news-feature > h2,
.fs-news-feature > p,
.fs-news-feature > .fs-button,
.fs-news-feature > .fs-news-number {
  z-index: 2;
}

@keyframes fs-news-marquee-loop {
  from { transform: translate3d(0, 0, 0); }
  to { transform: translate3d(-50%, 0, 0); }
}

@media (max-width: 760px) {
  .fs-news-marquee {
    left: -7%;
    right: -7%;
    bottom: 0;
    height: 82px;
    transform: rotate(-5deg);
  }

  .fs-news-marquee-track {
    animation-duration: 28s;
  }

  .fs-news-marquee-group span {
    font-size: clamp(38px, 10vw, 54px);
  }
}

@media (prefers-reduced-motion: reduce) {
  .fs-news-marquee-track {
    animation: none !important;
    transform: none !important;
  }
}
