/* [ultimas_maratonas_ticker] — faixa de rolagem contínua, estilo "ticker" de cotações */

.rm-ticker-wrapper {
	display: flex;
	align-items: stretch;
	background: #fffaeb;
	box-sizing: border-box;
}
.rm-ticker-wrapper * {
	box-sizing: border-box;
}

/* Etiqueta fixa — não rola junto com a lista, fica "grudada" na ponta esquerda. */
.rm-ticker-label {
	flex-shrink: 0;
	display: flex;
	align-items: center;
	background: #ffc100;
	color: #171717;
	font-family: 'Inter', sans-serif;
	font-weight: 700;
	font-size: 12px;
	text-transform: uppercase;
	letter-spacing: 0.03em;
	padding: 9px 16px;
	white-space: nowrap;
}

.rm-ticker-viewport {
	flex: 1;
	overflow: hidden;
	white-space: nowrap;
	min-width: 0;
}

.rm-ticker-track {
	display: inline-flex;
	width: max-content;
	animation: rm-ticker-scroll 55s linear infinite;
}

/* Pausa automática ao passar o mouse ou focar via teclado — sem botão visível de pausa. */
.rm-ticker-viewport:hover .rm-ticker-track,
.rm-ticker-viewport:focus-within .rm-ticker-track {
	animation-play-state: paused;
}

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

.rm-ticker-item {
	display: inline-flex;
	align-items: center;
	flex-shrink: 0;
	gap: 10px;
	padding: 10px 20px;
	border-right: 1px solid #e5e7eb;
	text-decoration: none;
	white-space: nowrap;
}

.rm-ticker-nome {
	font-family: 'Inter', sans-serif;
	font-weight: 600;
	color: #0a0a0a;
	font-size: 13px;
}

.rm-ticker-data {
	font-family: 'Inter', sans-serif;
	font-weight: 400;
	color: #1f221f;
	font-size: 12px;
}

.rm-ticker-finalistas {
	font-family: 'Inter', sans-serif;
	font-weight: 600;
	color: #cb1010;
	font-size: 13px;
}

/* Respeita quem prefere menos movimento na tela (acessibilidade) — a faixa fica parada,
   mas continua totalmente legível e clicável. */
@media (prefers-reduced-motion: reduce) {
	.rm-ticker-track {
		animation: none;
	}
}
