/* Ranking de Maratonas — estilo clean, cores 42 Maratonista (preto/dourado) + azul de destaque */

.rm-ranking-wrapper,
.rm-single-wrapper {
	--rm-gold: #ffc100;
	--rm-black: #171717;
	--rm-blue: #1749b0;
	--rm-gray-bg: #f4f5f7;
	--rm-border: #e5e7eb;
	--rm-text-muted: #6b7280;
	font-family: inherit;
	box-sizing: border-box;
}
.rm-ranking-wrapper *,
.rm-single-wrapper * {
	box-sizing: border-box;
}

.rm-ranking-wrapper {
	padding: 16px;
}

.rm-resumo-topo {
	display: flex;
	flex-wrap: wrap;
	justify-content: center;
	align-items: center;
	gap: 28px;
	margin-bottom: 20px;
}
.rm-resumo-item {
	display: flex;
	align-items: center;
	gap: 10px;
	white-space: nowrap;
	background: #fffaeb;
	border: 1px solid var(--rm-border);
	border-radius: 999px;
	padding: 10px 20px;
}
.rm-resumo-numero {
	font-size: 18px;
	font-weight: 800;
	color: var(--rm-black);
}
.rm-resumo-label {
	font-size: 13px;
	font-weight: 700;
	text-transform: uppercase;
	letter-spacing: 0.03em;
	color: #3f3f3f;
}

.rm-controles {
	display: flex;
	flex-direction: column;
	gap: 16px;
	margin-bottom: 20px;
}
.rm-topo-selecao {
	display: flex;
	flex-wrap: wrap;
	align-items: center;
	gap: 10px;
}

.rm-ano-selector {
	display: flex;
}
.rm-ano-pill {
	appearance: none;
	-webkit-appearance: none;
	background: #fff;
	border: 1px solid var(--rm-border);
	border-radius: 999px;
	padding: 8px 32px 8px 16px;
	font-size: 14px;
	font-weight: 700;
	color: var(--rm-black);
	cursor: pointer;
	background-image: url("data:image/svg+xml;charset=UTF-8,%3Csvg xmlns='http://www.w3.org/2000/svg' width='10' height='6'%3E%3Cpath d='M0 0l5 6 5-6z' fill='%23171717'/%3E%3C/svg%3E");
	background-repeat: no-repeat;
	background-position: right 14px center;
}

.rm-filtro-inteligente {
	display: flex;
	flex-direction: column;
	gap: 18px;
}
.rm-filtro-linha {
	display: flex;
	flex-wrap: wrap;
	align-items: center;
	gap: 10px;
}
.rm-filtro-titulo-pill {
	display: inline-block;
	background: var(--rm-black);
	color: var(--rm-gold);
	font-weight: 700;
	font-size: 12px;
	text-transform: uppercase;
	letter-spacing: 0.04em;
	padding: 5px 14px;
	border-radius: 999px;
	white-space: nowrap;
}
.rm-filtro-botoes {
	display: flex;
	flex-wrap: wrap;
	gap: 6px;
}
/* No desktop, o filtro "Por estado" fica em grade de 12 colunas — assim as duas
   linhas ficam visualmente equilibradas (a primeira não "esgota" no meio de um
   estado aleatório). No tablet/celular mantém o empilhamento natural por largura. */
@media (min-width: 783px) {
	.rm-filtro-botoes-estado {
		display: grid;
		grid-template-columns: repeat(12, max-content);
		gap: 6px;
	}
}
.rm-filtro-btn {
	display: inline-block;
	padding: 6px 12px;
	border-radius: 20px;
	border: 1px solid var(--rm-border);
	background: #fff;
	color: var(--rm-black);
	font-size: 13px;
	font-weight: 600;
	text-decoration: none !important;
	transition: background-color 0.15s ease, color 0.15s ease;
}
.rm-filtro-btn:hover {
	background: var(--rm-gold);
	border-color: var(--rm-gold);
}
.rm-filtro-btn.is-active {
	background: var(--rm-black);
	color: var(--rm-gold);
	border-color: var(--rm-black);
}
/* O botão "Todas BR" mantém sempre fundo preto/texto amarelo e é o único filtro com sublinhado. */
.rm-filtro-btn.rm-filtro-btn-todas,
.rm-filtro-btn.rm-filtro-btn-todas:hover {
	background: var(--rm-gold);
	color: var(--rm-black);
	border-color: var(--rm-gold);
	font-weight: 700;
	text-decoration: underline !important;
}

/* Botão "Resetar filtro" — mesma função do "Todas BR", pensado para deixar
   bem claro pra quem ainda está se familiarizando com o sistema. */
.rm-filtro-btn-resetar {
	display: inline-flex;
	align-items: center;
	gap: 6px;
	background: var(--rm-gray-bg);
	color: var(--rm-blue);
	font-weight: 700;
	font-size: 13px;
	padding: 6px 14px;
	border-radius: 999px;
	border: 1px solid var(--rm-border);
	text-decoration: none;
	white-space: nowrap;
}
.rm-filtro-btn-resetar:hover {
	text-decoration: underline;
}

.rm-cards {
	display: flex;
	flex-direction: column;
	gap: 14px;
}

.rm-card {
	background: #fff;
	border: 1px solid var(--rm-border);
	border-radius: 12px;
	overflow: hidden;
	box-shadow: 0 1px 2px rgba(0, 0, 0, 0.04);
}

/* Usamos <div role="button"> em vez de <button> de propósito, para não herdar
   estilos globais de botão do tema (que causavam o layout quebrado e o hover vermelho). */
div.rm-card-summary {
	width: 100%;
	display: grid;
	grid-template-columns: auto 1fr auto;
	align-items: center;
	gap: 16px;
	padding: 18px 20px;
	background: #fff;
	border: none;
	cursor: pointer;
	text-align: left;
	font: inherit;
	color: inherit;
	transition: background-color 0.15s ease;
}

div.rm-card-summary:hover,
div.rm-card-summary:focus {
	background: #fffaeb; /* leve tom dourado ao passar o mouse, sem cobrir o texto */
	outline: 2px solid var(--rm-gold);
	outline-offset: -2px;
}

.rm-posicao {
	display: flex;
	flex-direction: column;
	align-items: center;
	min-width: 56px;
}
.rm-posicao-label {
	font-size: 11px;
	text-transform: uppercase;
	color: var(--rm-text-muted);
	letter-spacing: 0.04em;
	font-weight: 600;
}
.rm-posicao-numero {
	font-size: 22px;
	font-weight: 800;
	color: var(--rm-black);
}

.rm-resumo {
	display: flex;
	flex-direction: column;
	gap: 2px;
	min-width: 0;
}
.rm-nome-prova {
	font-size: 17px;
	color: var(--rm-blue);
}
.rm-meta-linha {
	font-size: 13px;
	color: var(--rm-text-muted);
}

.rm-finalistas-42k {
	display: flex;
	flex-direction: column;
	align-items: center;
	grid-row: 1;
	grid-column: 3;
}
.rm-finalistas-label {
	font-size: 11px;
	text-transform: uppercase;
	color: var(--rm-text-muted);
	letter-spacing: 0.04em;
	font-weight: 600;
}
.rm-finalistas-numero {
	font-size: 22px;
	font-weight: 800;
	color: var(--rm-black);
}

.rm-toggle-hint {
	grid-column: 1 / -1;
	font-size: 12px;
	color: #a5780e;
	margin-top: 4px;
}

div.rm-card-summary[aria-expanded="true"] .rm-toggle-hint::after {
	content: " (clique para fechar)";
}

.rm-card-details {
	padding: 20px;
	border-top: 1px solid var(--rm-border);
	background: var(--rm-gray-bg);
}
.rm-card-details[hidden] {
	display: none;
}

.rm-details-grid {
	display: grid;
	grid-template-columns: repeat(3, 1fr);
	gap: 12px;
}

.rm-detail-box {
	background: #fff;
	border: 1px solid var(--rm-border);
	border-radius: 10px;
	padding: 12px 14px;
	display: flex;
	flex-direction: column;
	gap: 4px;
}
.rm-detail-box-wide {
	grid-column: 1 / -1;
}

.rm-detail-label {
	font-size: 11px;
	text-transform: uppercase;
	letter-spacing: 0.06em;
	color: #333333;
	font-weight: 700;
	display: block;
}
.rm-campeao-nacionalidade {
	text-transform: none;
	letter-spacing: normal;
	font-weight: 400;
	font-size: 13px;
	font-family: 'Segoe UI', sans-serif;
}
.rm-inline-icon {
	display: inline-block;
	vertical-align: -4px;
	flex-shrink: 0;
	width: 18px !important;
	height: 18px !important;
	max-width: 18px;
	max-height: 18px;
	fill: none !important;
	stroke: currentColor !important;
}
.rm-inline-icon-lg {
	display: inline-block;
	vertical-align: -3px;
	flex-shrink: 0;
	width: 18px !important;
	height: 18px !important;
	max-width: 18px;
	max-height: 18px;
	fill: none !important;
	stroke: currentColor !important;
}
.rm-inline-icon-lg path {
	fill: none !important;
}
.rm-inline-icon-18 {
	display: inline-block;
	vertical-align: -4px;
	flex-shrink: 0;
	width: 18px !important;
	height: 18px !important;
	max-width: 18px;
	max-height: 18px;
	fill: none !important;
	stroke: currentColor !important;
}
.rm-inline-icon-18 path {
	fill: none !important;
}
.rm-inline-icon path {
	fill: none !important;
}
.rm-detail-value {
	font-size: 15px;
	color: var(--rm-black);
}
.rm-detail-hint {
	font-size: 12px;
	color: var(--rm-text-muted);
}
.rm-detail-hint a {
	color: var(--rm-blue);
	font-weight: 700;
	text-decoration: none;
}
.rm-detail-hint a:hover {
	text-decoration: underline;
}
.rm-detail-highlight {
	font-weight: 800;
	color: var(--rm-blue);
}
/* Total de finalistas: preto, fonte igual ao "Finalistas 42 Km" do cabeçalho, negrito mais leve */
.rm-total-finalistas-valor {
	color: var(--rm-black);
	font-weight: 700;
	font-size: 22px;
	letter-spacing: 0.01em;
}
.rm-highlight-big {
	font-size: 26px;
}

.rm-detail-tags {
	display: flex;
	flex-wrap: wrap;
	gap: 6px;
	margin-top: 2px;
}
.rm-tag {
	background: var(--rm-gray-bg);
	border: 1px solid var(--rm-border);
	border-radius: 20px;
	padding: 4px 10px;
	font-size: 13px;
	color: var(--rm-black);
}

.rm-campeoes-grid {
	display: grid;
	grid-template-columns: repeat(2, 1fr);
	gap: 12px;
	margin-top: 12px;
}
.rm-campeao {
	background: #fff;
	border-radius: 10px;
	padding: 12px 14px;
	display: flex;
	flex-direction: column;
	gap: 3px;
	border: 1px solid var(--rm-border);
}
.rm-campeao-masc {
	border-left: 4px solid var(--rm-blue);
}
.rm-campeao-fem {
	border-left: 4px solid #a5780e;
}
.rm-campeao-nome {
	font-weight: 600;
	font-size: 15px;
	color: var(--rm-black);
}
.rm-campeao-tempo {
	font-family: 'Segoe UI', sans-serif;
	color: var(--rm-black);
	font-weight: 500;
}

.rm-curiosidade-box {
	background: #fff;
	border: 1px solid var(--rm-border);
	border-radius: 10px;
	padding: 12px 14px;
	margin-top: 12px;
}
.rm-curiosidade-box p {
	margin: 6px 0 0;
	font-size: 14px;
	color: var(--rm-black);
	line-height: 1.5;
}

.rm-nota-fpa-box {
	background: #fff;
	border: 1px solid var(--rm-border);
	border-left: 4px solid var(--rm-text-muted);
	border-radius: 10px;
	padding: 12px 14px;
	margin-top: 12px;
}
.rm-nota-fpa-valor {
	margin: 6px 0 8px;
	font-size: 15px;
	font-weight: 700;
}

.rm-nota-fpa-badge {
	display: inline-block;
	color: #fff;
	font-size: 11px;
	font-weight: 700;
	text-transform: uppercase;
	letter-spacing: 0.03em;
	padding: 3px 10px;
	border-radius: 999px;
	white-space: nowrap;
}
.rm-fpa-link-titulo {
	text-decoration: none;
	color: inherit;
}
.rm-fpa-link-titulo:hover {
	text-decoration: underline;
}

.rm-fpa-legenda {
	background: #fffaeb;
	border: 1px solid var(--rm-border);
	border-radius: 10px;
	padding: 14px 16px;
	margin-bottom: 16px;
}
.rm-fpa-legenda .rm-ct-subtitulo {
	margin: 0 0 10px;
}
.rm-fpa-legenda-itens {
	display: flex;
	flex-wrap: wrap;
	gap: 10px 20px;
}
.rm-fpa-legenda-item {
	display: inline-flex;
	align-items: center;
	gap: 6px;
	font-size: 13px;
	color: var(--rm-black);
}
.rm-fpa-legenda-dot {
	width: 10px;
	height: 10px;
	border-radius: 999px;
	flex-shrink: 0;
}

.rm-fpa-item-rodape {
	display: flex;
	flex-wrap: wrap;
	align-items: center;
	gap: 8px;
	margin-top: 6px;
}
.rm-fpa-item-local {
	font-size: 12px;
	color: var(--rm-black);
}

.rm-fpa-pendente-alerta {
	display: inline-flex;
	align-items: center;
	gap: 4px;
	font-size: 12px;
	font-weight: 700;
	color: var(--rm-black);
	background: var(--rm-gray-bg);
	border: 1px solid var(--rm-border);
	border-radius: 999px;
	padding: 3px 10px;
}
.rm-fpa-pendente-dias {
	color: #c0392b;
}
.rm-fpa-icone-ampulheta {
	flex-shrink: 0;
	width: 14px !important;
	height: 14px !important;
	max-width: 14px;
	max-height: 14px;
	fill: none !important;
	stroke: currentColor !important;
}
.rm-fpa-icone-ampulheta path {
	fill: none !important;
}
.rm-fpa-icone-urgente {
	flex-shrink: 0;
	width: 14px !important;
	height: 14px !important;
	max-width: 14px;
	max-height: 14px;
	fill: none !important;
	stroke: currentColor !important;
}
.rm-fpa-icone-urgente path,
.rm-fpa-icone-urgente circle {
	fill: none !important;
}

.rm-ver-pagina {
	display: inline-block;
	margin-top: 14px;
	font-weight: 700;
	color: var(--rm-blue);
	text-decoration: none;
}
.rm-ver-pagina:hover {
	text-decoration: underline;
}

.rm-empty {
	color: var(--rm-text-muted);
}

.rm-carregar-mais-wrapper {
	display: flex;
	justify-content: center;
	margin-top: 20px;
}
.rm-carregar-mais-btn {
	background: var(--rm-black);
	color: var(--rm-gold);
	font-weight: 700;
	font-size: 14px;
	border: none;
	border-radius: 999px;
	padding: 12px 28px;
	cursor: pointer;
	transition: opacity 0.15s ease;
}
.rm-carregar-mais-btn:hover {
	opacity: 0.85;
}
.rm-carregar-mais-btn:disabled {
	opacity: 0.6;
	cursor: default;
}

.rm-inscricao-box {
	background: #fffaeb;
}

/* Botão-cápsula para links que saem do site (inscrição, resultado da cronometragem) —
   borda arredondada completa e respiro generoso, para dar leveza visual ao ícone de link externo. */
.rm-link-pill {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	gap: 8px;
	white-space: nowrap;
	border: 1px solid var(--rm-border);
	border-radius: 999px;
	background: #fff;
	color: var(--rm-black);
	font-weight: 600;
	font-size: 14px;
	padding: 8px 16px;
	text-decoration: none;
	transition: background-color 0.15s ease, border-color 0.15s ease;
}
.rm-link-pill:hover {
	background: var(--rm-gray-bg);
	border-color: var(--rm-blue);
	text-decoration: none;
}
.rm-link-pill-small {
	font-size: 12px;
	padding: 5px 12px;
	gap: 6px;
	margin-top: 4px;
}

.rm-cronometragem-link,
.rm-detail-hint a.rm-cronometragem-link {
	display: inline-flex;
	align-items: center;
	gap: 4px;
	color: var(--rm-blue);
	font-weight: 400 !important;
	text-decoration: none;
}
.rm-cronometragem-link:hover {
	text-decoration: underline;
}

.rm-external-icon {
	flex-shrink: 0;
	width: 16px !important;
	height: 16px !important;
	max-width: 16px;
	max-height: 16px;
	fill: none !important;
	stroke: currentColor !important;
}
.rm-external-icon path,
.rm-external-icon polyline,
.rm-external-icon line {
	fill: none !important;
}
.rm-detail-hint {
	display: block;
}

.rm-percentual-linha {
	display: flex;
	flex-direction: column;
	align-items: center;
	gap: 2px;
	margin-top: 4px;
}
.rm-percentual-pill {
	background: var(--rm-gray-bg);
	color: var(--rm-black);
	font-weight: 700;
	font-size: 12px;
	padding: 2px 10px;
	border-radius: 999px;
	white-space: nowrap;
}
.rm-percentual-texto {
	font-size: 12px;
	color: var(--rm-text-muted);
	white-space: nowrap;
}

.rm-prova-imagem {
	margin-bottom: 14px;
}
.rm-prova-imagem img {
	width: 100%;
	height: auto;
	display: block;
	border-radius: 10px;
}
.rm-prova-imagem-single img {
	border-radius: 14px;
}

/* ---- Shortcode [campeoes_temporada] ---- */

.rm-ct-colunas {
	display: grid;
	grid-template-columns: 1fr 1fr;
	gap: 0 32px;
}

.rm-ct-secao {
	margin-top: 32px;
	padding-top: 24px;
	border-top: 2px dashed var(--rm-border);
}
.rm-ct-colunas .rm-ct-secao:nth-child(-n+2) {
	margin-top: 20px;
	border-top: none;
	padding-top: 0;
}
.rm-ct-titulo {
	font-size: 22px;
	color: var(--rm-black);
	margin: 0 0 12px;
	display: flex;
	align-items: center;
	gap: 8px;
}
.rm-ct-subtitulo {
	font-size: 15px;
	text-transform: uppercase;
	letter-spacing: 0.04em;
	color: var(--rm-black);
	margin: 20px 0 10px;
}

.rm-ct-top7 {
	display: flex;
	flex-direction: column;
	gap: 6px;
}
.rm-ct-top7-item {
	display: flex;
	align-items: center;
	gap: 14px;
	background: #fff;
	border: 1px solid var(--rm-border);
	border-radius: 10px;
	padding: 10px 16px;
}
.rm-ct-top7-posicao {
	font-weight: 800;
	color: var(--rm-black);
	background: #fffaeb;
	border-radius: 999px;
	min-width: 34px;
	height: 34px;
	display: flex;
	align-items: center;
	justify-content: center;
	flex-shrink: 0;
}
.rm-ct-top7-info {
	display: flex;
	flex-direction: column;
	flex-grow: 1;
	min-width: 0;
}
.rm-ct-top7-nome {
	font-size: 15px;
	color: var(--rm-black);
}
.rm-ct-top7-prova a {
	font-size: 12px;
	color: var(--rm-blue);
	text-decoration: none;
}
.rm-ct-top7-prova a:hover {
	text-decoration: underline;
}
.rm-ct-top7-tempo {
	display: inline-flex;
	align-items: center;
	gap: 6px;
	background: var(--rm-gray-bg);
	color: var(--rm-black);
	font-family: 'Segoe UI', sans-serif;
	font-weight: 400;
	font-size: 15px;
	letter-spacing: 0.6px;
	padding: 4px 12px;
	border-radius: 999px;
	white-space: nowrap;
}
.rm-ct-top7-tempo .rm-inline-icon {
	color: var(--rm-black);
}

.rm-ct-campeoes {
	display: flex;
	flex-direction: column;
	gap: 10px;
}
.rm-ct-campeao-card {
	background: #fff;
	border: 1px solid var(--rm-border);
	border-radius: 10px;
	padding: 14px 16px;
}
.rm-ct-campeao-topo {
	display: flex;
	align-items: center;
	flex-wrap: wrap;
	gap: 8px;
	margin-bottom: 8px;
}
.rm-ct-campeao-nome {
	font-size: 16px;
	color: var(--rm-black);
}
.rm-ct-badge-vitorias {
	background: var(--rm-black);
	color: var(--rm-gold);
	font-size: 11px;
	font-weight: 700;
	text-transform: uppercase;
	padding: 3px 10px;
	border-radius: 999px;
}
.rm-ct-campeao-provas {
	display: flex;
	flex-wrap: wrap;
	gap: 6px;
}
.rm-ct-campeao-provas a {
	color: inherit;
	text-decoration: none;
}
.rm-ct-campeao-provas a:hover {
	text-decoration: underline;
}

/* ---- Shortcode [permit_selos] ---- */

.rm-ps-lista {
	display: flex;
	flex-direction: column;
	gap: 6px;
}
.rm-ps-item {
	background: #fff;
	border: 1px solid var(--rm-border);
	border-radius: 10px;
	padding: 12px 16px;
	display: flex;
	flex-direction: column;
	gap: 4px;
}
.rm-ps-badge {
	display: inline-block;
	width: fit-content;
	font-size: 11px;
	font-weight: 700;
	text-transform: uppercase;
	letter-spacing: 0.03em;
	padding: 3px 10px;
	border-radius: 999px;
	background: var(--rm-gray-bg);
	color: var(--rm-black);
}
.rm-ps-badge-ouro,
.rm-ps-badge-gold {
	background: #fff4d6;
}
.rm-ps-badge-prata {
	background: #eef0f2;
}
.rm-ps-badge-platinum {
	background: #eef2ff;
}
.rm-ps-badge-elite {
	background: #ffe9e0;
}
.rm-ps-badge-road-race {
	background: #e8f7ee;
}
.rm-ps-nome {
	font-weight: 700;
	color: var(--rm-blue);
	text-decoration: none;
	font-size: 15px;
}
.rm-ps-nome:hover {
	text-decoration: underline;
}
.rm-ps-local {
	font-size: 12px;
	color: var(--rm-text-muted);
}

/* ---- Provas futuras / Próximas Maratonas ---- */

.rm-badge-futura {
	display: inline-block;
	background: var(--rm-blue);
	color: #fff;
	font-size: 11px;
	font-weight: 700;
	text-transform: uppercase;
	letter-spacing: 0.03em;
	padding: 4px 10px;
	border-radius: 20px;
	white-space: nowrap;
}

.rm-card-futura {
	border-style: dashed;
	border-color: var(--rm-blue);
	background: #fafbff;
}
.rm-card-futura div.rm-card-summary {
	background: transparent;
}

.rm-proximas-wrapper {
	margin-top: 36px;
	padding-top: 24px;
	border-top: 2px dashed var(--rm-border);
}
.rm-proximas-titulo {
	font-size: 20px;
	color: var(--rm-black);
	margin: 0 0 4px;
	display: flex;
	align-items: center;
	gap: 8px;
}
.rm-proximas-subtitulo {
	font-size: 13px;
	color: var(--rm-text-muted);
	margin: 0 0 16px;
}

.rm-ano-divisor {
	font-size: 20px;
	color: var(--rm-black);
	margin: 28px 0 14px;
	padding-top: 20px;
	border-top: 2px dashed var(--rm-border);
	display: flex;
	align-items: center;
	gap: 8px;
}
.rm-cards > .rm-ano-divisor:first-child {
	margin-top: 24px;
	padding-top: 0;
	border-top: none;
}

/* ---- Página própria da prova (single) ---- */

.rm-single-wrapper {
	max-width: 900px;
	margin: 0 auto;
	padding: 30px 20px 60px;
}
.rm-single-title {
	font-size: 28px;
	margin-bottom: 6px;
	color: var(--rm-black);
}
.rm-single-subtitle {
	color: var(--rm-text-muted);
	margin-bottom: 20px;
}

.rm-single-details {
	border-radius: 14px;
	margin-bottom: 30px;
	padding: 20px;
	background: var(--rm-gray-bg);
	border: 1px solid var(--rm-border);
}
.rm-finalistas-destaque {
	display: grid;
	grid-template-columns: repeat(2, 1fr);
	gap: 12px;
	margin-bottom: 16px;
}
.rm-destaque-box {
	background: #fff;
	border: 1px solid var(--rm-border);
	border-radius: 10px;
	padding: 16px;
	text-align: center;
}
.rm-destaque-box .rm-detail-highlight {
	color: var(--rm-blue);
}

.rm-editorial-content {
	line-height: 1.7;
	font-size: 16px;
	color: var(--rm-black);
}

.rm-voltar-wrapper {
	margin-top: 40px;
	text-align: center;
}
.rm-voltar-btn {
	display: inline-block;
	padding: 12px 24px;
	background: var(--rm-black);
	color: var(--rm-gold);
	border-radius: 8px;
	text-decoration: none;
	font-weight: 700;
}
.rm-voltar-btn:hover {
	background: var(--rm-gold);
	color: var(--rm-black);
}

/* ---- Responsivo ---- */

/* Tablets também ficam em coluna única (só notebook/desktop em diante ganha 2 colunas) — breakpoint próprio, não mexe nos outros componentes. */
@media (max-width: 1024px) {
	.rm-ct-colunas {
		grid-template-columns: 1fr;
	}
	.rm-ct-colunas .rm-ct-secao:nth-child(-n+2) {
		margin-top: 32px;
		border-top: 2px dashed var(--rm-border);
		padding-top: 24px;
	}
	.rm-ct-colunas .rm-ct-secao:first-child {
		margin-top: 20px;
		border-top: none;
		padding-top: 0;
	}
}

@media (max-width: 782px) {
	.rm-resumo-topo {
		flex-direction: column;
		align-items: center;
		gap: 12px;
	}
	.rm-controles {
		flex-direction: column;
		align-items: flex-start;
	}
	div.rm-card-summary {
		grid-template-columns: auto 1fr;
		grid-template-rows: auto auto;
	}
	.rm-finalistas-42k {
		grid-row: 1;
		grid-column: 2;
		align-items: center;
		justify-self: end;
	}
	.rm-resumo {
		grid-row: 2;
		grid-column: 1 / -1;
	}
	.rm-details-grid {
		grid-template-columns: 1fr;
	}
	.rm-campeoes-grid,
	.rm-finalistas-destaque {
		grid-template-columns: 1fr;
	}
	.rm-highlight-big {
		font-size: 22px;
	}
}
