/* ── MEMORIAL DAY TICKER ── */

.ticker-bar {
  overflow: hidden;
  position: relative;
  display: flex;
  align-items: center;
}

.ticker-bar.ticker-memorial {
  height: 42px;
  background: linear-gradient(90deg, #b22234 0%, #b22234 50%, #1a3a82 50%, #1a3a82 100%);
  background-size: 200% 100%;
  animation: ticker-memorial-bg 12s linear infinite;
  border-top: 1px solid rgba(255,255,255,0.1);
  border-bottom: 2px solid #ffffff;
  box-shadow: 0 0 24px rgba(178,34,52,0.25);
}

@keyframes ticker-memorial-bg {
  0%   { background-position: 0% 0%; }
  100% { background-position: 200% 0%; }
}

/* Flex row, content fills from the start, max-content ensures no shrinking */
.ticker-track {
  display: flex;
  flex-wrap: nowrap;
  white-space: nowrap;
  width: max-content;
  animation: ticker-scroll 40s linear infinite;
}

.ticker-track > * {
  flex-shrink: 0;
}

/* SEAMLESS LOOP: content is duplicated 2x, so -50% lands on identical content */
@keyframes ticker-scroll {
  0%   { transform: translateX(0); }
  100% { transform: translateX(-50%); }
}

/* HEADLINE — serif, larger */
.ticker-memorial .ticker-headline {
  font-family: 'DM Serif Display', 'Awesome Serif', Georgia, serif;
  font-size: 16px;
  font-weight: 400;
  color: #ffffff;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  text-shadow: 0 1px 2px rgba(0,0,0,0.35);
  padding: 0 28px;
}

/* CTA — bordered pill */
.ticker-memorial .ticker-cta {
  font-size: 12px;
  font-weight: 700;
  color: #ffffff;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  padding: 4px 14px;
  border: 1px solid rgba(255,255,255,0.45);
  border-radius: 2px;
  margin: 0 12px;
}

/* TWINKLING STARS */
.ticker-memorial .ticker-star {
  color: rgba(255,255,255,0.9);
  font-size: 14px;
  padding: 0 6px;
  text-shadow: 0 0 8px rgba(255,255,255,0.6);
  animation: ticker-star-twinkle 2.4s ease-in-out infinite;
}
.ticker-memorial .ticker-star:nth-child(4n)   { animation-delay: 0.6s; }
.ticker-memorial .ticker-star:nth-child(4n+1) { animation-delay: 1.2s; }
.ticker-memorial .ticker-star:nth-child(4n+2) { animation-delay: 1.8s; }

@keyframes ticker-star-twinkle {
  0%, 100% { opacity: 0.5; transform: scale(0.9); }
  50%      { opacity: 1;   transform: scale(1.15); }
}
