/**
 * upcomer/offer-review-spotlight — detailed single-offer review.
 *
 * Shared "offer" design system: brand lockup (contained logo tile), rating
 * chip, bonus hero, single gold CTA. One cohesive card — header (intro +
 * action panel) then key-stats band, pros/cons, expert verdict, key features.
 * Sharp corners; accent is the theme's chip-tertiary brand gold. Pros/cons keep
 * their semantic green/red (not brand accents).
 *
 * The stats band and the pros/cons grid share the same box-shadow divider
 * technique so their middle dividers line up to the same pixel and a partial
 * last row / one-sided pros-cons never leaves a stray line in an empty track.
 */

.upcomer-block--offer-review-spotlight {
	--card: #FEFEFE;
	--inset: color-mix(in srgb, currentColor 4%, transparent);
	--line: color-mix(in srgb, currentColor 12%, transparent);
	--line-2: color-mix(in srgb, currentColor 7%, transparent);
	--ink-2: color-mix(in srgb, currentColor 62%, transparent);
	--ink-3: color-mix(in srgb, currentColor 52%, transparent);

	--accent: var(--wp--custom--chip--tertiary--enabled--color-fg--minimal, #A58C52);
	--on-accent: #171717;

	--pros: #0a7f5d; /* semantic green — not a brand accent */
	--cons: #c81e1e; /* semantic red */

	--logo-bg: var(--inset);

	--spotlight-content-max: calc(1px * var(--wp--custom--bottom-nav--container--desktop--max-width, 1200));

	color: #171717;
	padding-inline: 0;
	box-sizing: border-box;
}

.upcomer-block--offer-review-spotlight *,
.upcomer-block--offer-review-spotlight *::before,
.upcomer-block--offer-review-spotlight *::after {
	box-sizing: border-box;
}

.upcomer-block--offer-review-spotlight .upcomer-block__inner {
	max-width: var(--spotlight-content-max);
	margin-inline: auto;
}

@media (min-width: 992px) and (max-width: 1248px) {
	.upcomer-block--offer-review-spotlight .upcomer-block__inner {
		max-width: calc(1px * var(--wp--custom--bottom-nav--container--latpop--max-width, 1200));
	}
}

@media (max-width: 991px) {
	.upcomer-block--offer-review-spotlight .upcomer-block__inner {
		max-width: calc(1px * var(--wp--custom--bottom-nav--container--mobile--max-width, 720));
		padding-inline: 15px;
	}
}

.spot {
	container-type: inline-size;
	background: var(--card);
	border: 1px solid var(--line);
	box-shadow: 0 1px 2px rgba(23, 23, 23, 0.05), 0 8px 24px rgba(23, 23, 23, 0.06);
	overflow: hidden;
}

/* ---- Header: intro (left) + action panel (right) --------------------- */

.spot__head {
	display: grid;
	grid-template-columns: 1fr;
}

@container (min-width: 680px) {
	.spot__head {
		grid-template-columns: 1.5fr 1fr;
	}
}

.spot__intro {
	padding: clamp(1rem, 2.2cqi, 1.45rem);
	display: flex;
	flex-direction: column;
	gap: 0.7rem;
	min-width: 0;
}

.spot__brand {
	display: flex;
	align-items: center;
	gap: 0.9rem;
	min-width: 0;
}

.spot__logo {
	width: clamp(3.6rem, 7cqi, 4.6rem);
	aspect-ratio: 1;
	flex: none;
	display: grid;
	place-items: center;
	background: var(--logo-bg);
	overflow: hidden;
}

.spot__logo-img {
	width: 100%;
	height: 100%;
	object-fit: cover;
	display: block;
}

.spot__brandtext {
	display: flex;
	flex-direction: column;
	gap: 0.3rem;
	min-width: 0;
}

.spot__pill {
	align-self: flex-start;
	font-family: "Barlow", sans-serif;
	font-size: 0.64rem;
	font-weight: 700;
	text-transform: uppercase;
	letter-spacing: 0.1em;
	color: var(--accent);
	border: 1px solid var(--accent);
	padding: 0.15rem 0.5rem;
}

.spot__name {
	margin: 0;
	font-family: "Barlow Condensed", "Barlow", sans-serif;
	font-weight: 800;
	font-size: clamp(1.5rem, 3.2cqi, 2.05rem);
	line-height: 1.02;
	letter-spacing: -0.015em;
	color: inherit;
}

.spot__desc {
	margin: 0;
	font-family: "Barlow", sans-serif;
	color: var(--ink-2);
	max-width: 58ch;
	font-size: 0.95rem;
	line-height: 1.5;
	text-wrap: pretty;
}

/* Feature tags + payment methods fill the intro column. */
.spot__tags {
	display: flex;
	flex-wrap: wrap;
	gap: 0.4rem;
	margin: 0;
	padding: 0;
	list-style: none;
}

.spot__tags li {
	font-family: "Barlow", sans-serif;
	font-size: 0.72rem;
	font-weight: 600;
	color: var(--ink-2);
	background: var(--inset);
	border: 1px solid var(--line);
	padding: 0.26rem 0.58rem;
}

.spot__pay {
	display: flex;
	align-items: center;
	gap: 0.5rem 0.6rem;
	flex-wrap: wrap;
}

.spot__pay-label {
	font-family: "Barlow", sans-serif;
	font-size: 0.64rem;
	font-weight: 700;
	text-transform: uppercase;
	letter-spacing: 0.09em;
	color: var(--ink-3);
}

.spot__pay ul {
	display: flex;
	gap: 0.35rem;
	flex-wrap: wrap;
	margin: 0;
	padding: 0;
	list-style: none;
}

.spot__pay li {
	font-family: "Barlow", sans-serif;
	font-size: 0.62rem;
	font-weight: 700;
	letter-spacing: 0.02em;
	color: var(--ink-3);
	border: 1px solid var(--line);
	padding: 0.16rem 0.42rem;
	background: var(--card);
}

/* ---- Expand toggle + expanded body (in the intro) -------------------- */

.offer__expand-toggle {
	align-self: flex-start;
	margin-top: -0.1rem;
	background: transparent;
	border: none;
	font-family: "Barlow", sans-serif;
	font-weight: 600;
	font-size: 0.8125rem;
	text-transform: uppercase;
	letter-spacing: 0.08em;
	color: var(--accent);
	padding: 0.2rem 0;
	cursor: pointer;
	transition: color 180ms ease;
}

.offer__expand-toggle:hover {
	color: color-mix(in srgb, var(--accent) 80%, #000);
}

.offer__expand-toggle:focus-visible {
	outline: 2px solid var(--accent);
	outline-offset: 4px;
}

/* Modern reveal — grid-template-rows 0fr → 1fr. Falls back to instant reveal
   on older browsers because the [hidden] attribute is the source of truth. */
.offer__expanded {
	display: grid;
	grid-template-rows: 0fr;
	transition: grid-template-rows 240ms cubic-bezier(0.2, 0.6, 0.2, 1);
}

.offer__expanded[data-state="open"] {
	grid-template-rows: 1fr;
}

.offer__expanded-inner {
	min-height: 0;
	overflow: hidden;
	font-family: "Barlow", sans-serif;
	font-size: 0.95rem;
	line-height: 1.55;
	color: var(--ink-2);
}

.offer__expanded-inner > * {
	margin-block: 0 0.75rem;
}

.offer__expanded-inner > *:last-child {
	margin-bottom: 0;
}

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

/* ---- Action panel: score + bonus + CTA ------------------------------- */

.spot__action {
	padding: clamp(1rem, 2.2cqi, 1.45rem);
	border-top: 1px solid var(--line);
	display: flex;
	flex-direction: column;
	gap: 0.7rem;
	min-width: 0;
}

@container (min-width: 680px) {
	.spot__action {
		background: var(--inset);
		border-top: none;
		border-left: 1px solid var(--line);
		justify-content: center;
	}
}

.upcomer-block--offer-review-spotlight .o-eyebrow {
	margin: 0;
	font-family: "Barlow Condensed", "Barlow", sans-serif;
	font-weight: 700;
	text-transform: uppercase;
	letter-spacing: 0.14em;
	font-size: 0.66rem;
	color: var(--ink-3);
}

.spot__score {
	display: flex;
	flex-direction: column;
	gap: 0.1rem;
}

.spot__scoreval {
	display: flex;
	align-items: baseline;
	gap: 0.3rem;
	color: inherit;
}

.spot__scoreval b {
	font-family: "Barlow Condensed", "Barlow", sans-serif;
	font-weight: 800;
	font-size: clamp(2.1rem, 5.4cqi, 2.75rem);
	line-height: 0.85;
	letter-spacing: -0.02em;
	color: var(--accent);
}

.spot__scoreval i {
	font-style: normal;
	font-family: "Barlow Condensed", "Barlow", sans-serif;
	font-weight: 700;
	font-size: 1.05rem;
	color: var(--ink-3);
}

.spot__scoreval em {
	font-style: normal;
	display: inline-flex;
	margin-left: 0.1rem;
	align-self: center;
}

.spot__scoreval em svg {
	width: 1rem;
	height: 1rem;
	color: var(--accent);
}

.spot__hl {
	padding-block: 0.55rem;
	border-top: 1px solid var(--line-2);
	border-bottom: 1px solid var(--line-2);
}

.upcomer-block--offer-review-spotlight .o-bonus {
	display: block;
	min-width: 0;
}

.upcomer-block--offer-review-spotlight .o-bonus .o-eyebrow {
	margin-bottom: 0.18rem;
}

.upcomer-block--offer-review-spotlight .o-bonus__v {
	display: block;
	font-family: "Barlow Condensed", "Barlow", sans-serif;
	font-weight: 700;
	font-size: clamp(1.0625rem, 1.75cqi, 1.25rem);
	line-height: 1.2;
	letter-spacing: -0.01em;
	color: inherit;
}

/* Shared gold CTA — lock ink foreground across every link state. */
.upcomer-block--offer-review-spotlight .o-cta,
.upcomer-block--offer-review-spotlight .o-cta:link,
.upcomer-block--offer-review-spotlight .o-cta:visited,
.upcomer-block--offer-review-spotlight .o-cta:hover,
.upcomer-block--offer-review-spotlight .o-cta:focus,
.upcomer-block--offer-review-spotlight .o-cta:focus-visible,
.upcomer-block--offer-review-spotlight .o-cta:active {
	color: var(--on-accent);
	text-decoration: none;
}

.upcomer-block--offer-review-spotlight .o-cta {
	width: 100%;
	display: inline-flex;
	align-items: center;
	justify-content: center;
	gap: 0.45rem;
	background: var(--accent);
	font-family: "Barlow Condensed", "Barlow", sans-serif;
	font-weight: 700;
	text-transform: uppercase;
	letter-spacing: 0.05em;
	font-size: 1rem;
	line-height: 1;
	padding: 0.9rem 1.35rem;
	min-height: 3rem;
	border: none;
	cursor: pointer;
	transition: background-color 160ms ease, transform 100ms ease;
}

.upcomer-block--offer-review-spotlight .o-cta__arrow {
	width: 1rem;
	height: 1rem;
}

.upcomer-block--offer-review-spotlight .o-cta:hover {
	background: color-mix(in srgb, var(--accent) 82%, #000);
}

.upcomer-block--offer-review-spotlight .o-cta:focus-visible {
	background: color-mix(in srgb, var(--accent) 82%, #000);
	outline: 2px solid var(--accent);
	outline-offset: 3px;
}

.upcomer-block--offer-review-spotlight .o-cta:active {
	transform: translateY(1px);
}

.upcomer-block--offer-review-spotlight .o-fine {
	margin: 0;
	font-family: "Barlow", sans-serif;
	font-size: 0.66rem;
	color: var(--ink-3);
	letter-spacing: 0.02em;
}

.offer__cta-secondary,
.offer__cta-secondary:link,
.offer__cta-secondary:visited,
.offer__cta-secondary:hover,
.offer__cta-secondary:focus,
.offer__cta-secondary:active {
	color: var(--ink-2);
	text-decoration: none;
}

.offer__cta-secondary {
	align-self: flex-start;
	font-family: "Barlow", sans-serif;
	font-weight: 600;
	font-size: 0.8125rem;
	text-transform: uppercase;
	letter-spacing: 0.08em;
	padding: 0.375rem 0;
	border-bottom: 1px solid color-mix(in srgb, currentColor 30%, transparent);
}

/* ---- Key-stats band -------------------------------------------------- */

.spot__stats {
	display: grid;
	grid-template-columns: repeat(2, 1fr);
	gap: 0;
	border-top: 1px solid var(--line);
	overflow: hidden;
}

@container (min-width: 520px) {
	.spot__stats {
		grid-template-columns: repeat(auto-fit, minmax(120px, 1fr));
	}
}

/* Dividers are drawn as top/left box-shadows on the cells (outer ones clipped
   by the container's overflow:hidden). Unlike a gap + container-background,
   an uncovered track — a partial last row of stats — reads as card, not a
   stray line. */
.spot__stat {
	background: var(--card);
	box-shadow: -1px 0 0 0 var(--line), 0 -1px 0 0 var(--line);
	padding: clamp(0.7rem, 1.8cqi, 1rem) clamp(0.85rem, 2cqi, 1.2rem);
	display: flex;
	flex-direction: column;
	gap: 0.12rem;
	min-width: 0;
}

.spot__stat b {
	font-family: "Barlow Condensed", "Barlow", sans-serif;
	font-weight: 800;
	font-size: clamp(1.1rem, 2.4cqi, 1.4rem);
	line-height: 1;
	color: inherit;
	letter-spacing: -0.01em;
	font-variant-numeric: tabular-nums;
}

.spot__stat span {
	font-family: "Barlow", sans-serif;
	font-size: 0.66rem;
	font-weight: 600;
	text-transform: uppercase;
	letter-spacing: 0.06em;
	color: var(--ink-3);
}

/* ---- Pros / cons (same divider technique as .spot__stats) ------------ */

.spot__cols {
	display: grid;
	grid-template-columns: 1fr;
	gap: 0;
	border-top: 1px solid var(--line);
	overflow: hidden;
}

@container (min-width: 640px) {
	.spot__cols {
		grid-template-columns: 1fr 1fr;
	}
}

/* Same box-shadow divider technique as .spot__stats — the middle divider lines
   up to the same pixel, and a pros-only / cons-only offer leaves the empty
   track reading as card (no gray half-panel). */
.spot__col {
	background: var(--card);
	box-shadow: -1px 0 0 0 var(--line), 0 -1px 0 0 var(--line);
	padding: clamp(0.8rem, 1.9cqi, 1.1rem);
}

.spot__colh {
	margin: 0 0 0.7rem;
	display: inline-flex;
	align-items: center;
	gap: 0.4rem;
	font-family: "Barlow Condensed", "Barlow", sans-serif;
	font-weight: 700;
	text-transform: uppercase;
	letter-spacing: 0.08em;
	font-size: 0.82rem;
}

.spot__col--pros .spot__colh {
	color: var(--pros);
}

.spot__col--cons .spot__colh {
	color: var(--cons);
}

.spot__colh svg {
	width: 1.05rem;
	height: 1.05rem;
}

.spot__list {
	margin: 0;
	padding: 0;
	list-style: none;
	display: flex;
	flex-direction: column;
	gap: 0.5rem;
}

.spot__list li {
	position: relative;
	padding-left: 1.1rem;
	font-family: "Barlow", sans-serif;
	font-size: 0.9rem;
	color: var(--ink-2);
	line-height: 1.4;
}

.spot__list li::before {
	content: "";
	position: absolute;
	left: 0;
	top: 0.5rem;
	width: 0.5rem;
	height: 0.5rem;
	border-radius: 50%;
}

.spot__col--pros li::before {
	background: var(--pros);
}

.spot__col--cons li::before {
	background: var(--cons);
}

/* ---- Expert verdict (native <details>) ------------------------------- */

.spot__expert {
	border-top: 1px solid var(--line);
	background: var(--card);
}

.spot__expert-summary {
	cursor: pointer;
	list-style: none;
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 1rem;
	padding: clamp(0.875rem, 2cqi, 1.125rem) clamp(1rem, 2cqi, 1.25rem);
	font-family: "Barlow", sans-serif;
	font-weight: 700;
	font-size: 0.9375rem;
	color: inherit;
}

.spot__expert-summary::-webkit-details-marker {
	display: none;
}

.spot__expert-summary:focus-visible {
	outline: 2px solid var(--accent);
	outline-offset: -2px;
}

.spot__expert-summary-label {
	flex: 1;
	min-width: 0;
}

.spot__expert-chevron {
	width: 1rem;
	height: 1rem;
	flex-shrink: 0;
	color: var(--ink-3);
	transition: transform 180ms ease;
}

.spot__expert[open] .spot__expert-chevron {
	transform: rotate(180deg);
}

.spot__expert-body {
	padding: clamp(0.875rem, 2cqi, 1rem) clamp(1rem, 2cqi, 1.25rem) clamp(1rem, 2cqi, 1.25rem);
	font-family: "Barlow", sans-serif;
	font-size: 0.9375rem;
	line-height: 1.55;
	color: var(--ink-2);
	border-top: 1px solid var(--line-2);
}

.spot__expert-body > * {
	margin-block: 0 0.625rem;
}

.spot__expert-body > *:last-child {
	margin-bottom: 0;
}

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

/* ---- Key features ---------------------------------------------------- */

.spot__feat {
	padding: clamp(0.8rem, 1.9cqi, 1.1rem);
	border-top: 1px solid var(--line);
}

.spot__feat h4 {
	margin: 0 0 0.45rem;
	font-family: "Barlow Condensed", "Barlow", sans-serif;
	font-weight: 700;
	text-transform: uppercase;
	letter-spacing: 0.08em;
	font-size: 0.78rem;
	color: var(--ink-3);
}

.spot__featgrid {
	display: grid;
	grid-template-columns: 1fr;
	margin: 0;
}

@container (min-width: 640px) {
	.spot__featgrid {
		grid-template-columns: 1fr 1fr;
		column-gap: 2rem;
	}
}

.spot__featrow {
	display: flex;
	justify-content: space-between;
	gap: 1rem;
	align-items: baseline;
	padding-block: 0.45rem;
	border-bottom: 1px solid var(--line-2);
}

.spot__featrow dt {
	margin: 0;
	font-family: "Barlow", sans-serif;
	font-size: 0.82rem;
	color: var(--ink-3);
}

.spot__featrow dd {
	margin: 0;
	font-family: "Barlow Condensed", "Barlow", sans-serif;
	font-weight: 700;
	font-size: 0.95rem;
	color: inherit;
	text-align: right;
}

/* Responsible-gambling disclaimer (Admin CP → Global Content; per-block override). */
.upcomer-offer-disclaimer {
	margin: 1.5rem 0 0;
	padding-top: 1rem;
	border-top: 1px solid currentColor;
	font-family: "Barlow", sans-serif;
	font-size: 0.72rem;
	line-height: 1.5;
	letter-spacing: 0.02em;
	text-align: center;
	opacity: 0.55;
}
