/* Two long, identical groups form a mathematically seamless loop. */
.ticker {
	position: relative;
	z-index: 6;
	width: 100%;
	overflow: hidden;
	white-space: nowrap;
	background: var(--yellow);
	color: #111;
	border-block: 2px solid #111;
	font: 700 clamp(.72rem, 1.3vw, 1.05rem)/1 'DM Mono', monospace;
}

.ticker div {
	animation: none;
}

.ticker-track {
	display: flex !important;
	width: max-content;
	gap: 0 !important;
	padding: 0 !important;
	will-change: transform;
	animation: ticker-loop 78s linear infinite !important;
}

.ticker-group {
	display: flex !important;
	flex: none;
	align-items: center;
	gap: clamp(17px, 1.8vw, 29px) !important;
	min-width: max-content;
	padding: 12px clamp(17px, 1.8vw, 29px) 12px 0 !important;
}

.ticker-group span {
	white-space: nowrap;
}

.ticker-group b {
	font-size: .78em;
}

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

@media (max-width: 760px) {
	.ticker-track { animation-duration: 44s !important; }
	.ticker-group { padding-block: 10px !important; }
}

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