/* The five-row board: one full-width row per operator, top to bottom.
   Loaded by Reward Rush Board after the theme stylesheet. Nothing here touches
   anything outside .rwr-board / .rwr-board-foot. */
.rwr-board-rows { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: minmax(0, 1fr); gap: 0; }
.rwr-entry { position: relative; display: flex; flex-direction: column; }
.rwr-row {
	display: grid;
	grid-template-columns: 62px minmax(0, 1fr) 226px 172px;
	grid-template-areas: "rank brand figures action" "rank terms figures action";
	align-items: center;
	column-gap: 24px;
	row-gap: 6px;
}
.rwr-rank { grid-area: rank; align-self: start; }
.rwr-brand { grid-area: brand; }
.rwr-terms { grid-area: terms; }
.rwr-figures { grid-area: figures; align-self: center; }
.rwr-action { grid-area: action; align-self: center; }

/* the two headline figures: large, tabular, never wrapped */
.rwr-figure-value { white-space: nowrap; }

/* the button is the one painted object in the row */
.rwr-cta {
	display: flex; align-items: center; justify-content: center;
	min-height: 52px; width: 100%; padding: 12px 16px;
	background: var(--rwr-accent); border: 2px solid var(--rwr-accent);
	color: #ffffff; font-size: 0.95rem; font-weight: 700; line-height: 1.15;
	letter-spacing: 0.04em; text-align: center; text-decoration: none;
	box-shadow: inset 0 -4px 0 rgba(0, 0, 0, 0.28);
	transition: background-color 140ms linear, transform 140ms linear, box-shadow 140ms linear;
}
.rwr-cta:hover, .rwr-cta:focus-visible { background: var(--rwr-ink); border-color: var(--rwr-ink); color: #ffffff; box-shadow: inset 0 -4px 0 rgba(255, 255, 255, 0.18); }
.rwr-cta:active { background: var(--rwr-accent-deep); border-color: var(--rwr-accent-deep); color: #ffffff; transform: translateY(1px); box-shadow: none; }
.rwr-smallprint { text-align: center; }

/* the short verb-led line above the brand, and the supplied offer line */
.rwr-brand-kicker { margin: 0 0 2px; font-weight: 700; font-size: 0.68rem; line-height: 1.3; letter-spacing: 0.12em; text-transform: uppercase; color: var(--rwr-accent-deep); }
.rwr-brand-offer { font-weight: 600; color: var(--rwr-ink); }

@media (max-width: 1180px) {
	.rwr-row { grid-template-columns: 52px minmax(0, 1fr) 196px 156px; column-gap: 18px; }
	.rwr-cta { font-size: 0.88rem; padding-inline: 12px; }
}

@media (max-width: 1000px) {
	.rwr-row {
		grid-template-columns: 52px minmax(0, 1fr) 168px;
		grid-template-areas: "rank brand action" "rank figures action" "rank terms action";
		align-items: start;
		row-gap: 10px;
	}
	.rwr-figures { align-self: start; }
	.rwr-action { align-self: center; }
}

@media (max-width: 620px) {
	.rwr-row {
		grid-template-columns: 40px minmax(0, 1fr);
		grid-template-areas: "rank brand" "figures figures" "terms terms" "action action";
		column-gap: 12px; row-gap: 10px;
	}
	.rwr-figures { padding-block: 2px; }
	.rwr-cta { min-height: 50px; }
}

@media (prefers-reduced-motion: reduce) {
	.rwr-cta { transition: none; }
}
