/* BestCasinos.ng - main stylesheet. Mobile first, no external fonts. */

:root {
	--ink: #13201a;
	--ink-soft: #46554d;
	--paper: #f6f4ee;
	--card: #ffffff;
	--line: #e0ddd2;
	--green: #0d3b2c;
	--green-2: #145c43;
	--green-soft: #e3efe8;
	--lime: #b7e34a;
	--gold: #f2b01e;
	--gold-ink: #3a2a00;
	--red-soft: #fdf0e6;
	--red-line: #e7a46b;
	--radius: 14px;
	--radius-sm: 8px;
	--shadow: 0 1px 2px rgba(13, 59, 44, .06), 0 6px 18px rgba(13, 59, 44, .06);
	--wrap: 1160px;
	--narrow: 760px;
	--font: system-ui, -apple-system, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
	--font-head: "Trebuchet MS", "Segoe UI", system-ui, sans-serif;
	--mono: ui-monospace, "SFMono-Regular", Consolas, "Liberation Mono", monospace;
}

*, *::before, *::after { box-sizing: border-box; }

html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }

body {
	margin: 0;
	background: var(--paper);
	color: var(--ink);
	font: 400 17px/1.65 var(--font);
	text-rendering: optimizeLegibility;
	overflow-x: hidden;
}

img, svg { max-width: 100%; height: auto; }

a { color: var(--green-2); text-decoration-thickness: 1px; text-underline-offset: 3px; }
a:hover { color: var(--green); text-decoration-thickness: 2px; }
a:focus-visible, button:focus-visible, input:focus-visible, summary:focus-visible {
	outline: 3px solid var(--gold);
	outline-offset: 2px;
	border-radius: 4px;
}

h1, h2, h3 { font-family: var(--font-head); line-height: 1.2; color: var(--green); letter-spacing: -.01em; }
h1 { font-size: clamp(1.8rem, 5.5vw, 2.8rem); margin: .2em 0 .35em; }
h2 { font-size: clamp(1.35rem, 3.6vw, 1.75rem); margin: 2em 0 .6em; }
h3 { font-size: 1.15rem; margin: 1.6em 0 .4em; }
p, ul, ol, table, blockquote { margin: 0 0 1.1em; }
ul, ol { padding-left: 1.3em; }
li { margin: .25em 0; }
strong { font-weight: 700; }
code { font-family: var(--mono); font-size: .92em; background: var(--green-soft); padding: .1em .4em; border-radius: 5px; }

.screen-reader-text {
	position: absolute !important;
	width: 1px; height: 1px;
	overflow: hidden; clip: rect(0 0 0 0);
	white-space: nowrap;
}

.skip-link {
	position: absolute; left: 12px; top: -60px; z-index: 100;
	background: var(--gold); color: var(--gold-ink); padding: 10px 14px; border-radius: var(--radius-sm); font-weight: 700;
}
.skip-link:focus { top: 12px; }

.wrap { width: 100%; max-width: var(--wrap); margin: 0 auto; padding: 0 16px; }
.wrap--narrow { max-width: var(--narrow); }

/* ----- Header ----- */

.site-header {
	position: sticky; top: 0; z-index: 50;
	background: var(--green);
	color: #fff;
	border-bottom: 3px solid var(--lime);
}
.site-header__inner { display: flex; align-items: center; justify-content: space-between; gap: 12px; min-height: 60px; flex-wrap: wrap; }

.brand { display: inline-flex; align-items: center; gap: 10px; color: #fff; text-decoration: none; font-family: var(--font-head); font-weight: 800; font-size: 1.2rem; }
.brand:hover { color: #fff; }
.brand__mark {
	display: grid; place-items: center;
	width: 34px; height: 34px; border-radius: 10px;
	background: var(--lime); color: var(--green); font-size: 1.1rem;
	transform: rotate(-6deg);
}
.brand__tld { color: var(--lime); }

.nav-toggle {
	display: inline-flex; align-items: center; gap: 8px;
	background: transparent; color: #fff; border: 1px solid rgba(255, 255, 255, .35);
	border-radius: 999px; padding: 8px 14px; font: inherit; font-size: .95rem; cursor: pointer;
}
.nav-toggle__bars, .nav-toggle__bars::before, .nav-toggle__bars::after {
	display: block; width: 18px; height: 2px; background: currentColor; border-radius: 2px; position: relative; content: "";
}
.nav-toggle__bars::before { position: absolute; top: -6px; }
.nav-toggle__bars::after { position: absolute; top: 6px; }

.site-nav { display: none; width: 100%; padding: 4px 0 14px; }
.site-nav.is-open { display: block; }
.site-nav .menu { list-style: none; margin: 0; padding: 0; display: grid; gap: 2px; }
.site-nav a {
	display: block; padding: 10px 12px; color: #fff; text-decoration: none; border-radius: var(--radius-sm); font-weight: 600;
}
.site-nav a:hover, .site-nav .current-menu-item > a, .site-nav .current-page-ancestor > a { background: rgba(255, 255, 255, .1); color: var(--lime); }

/* ----- Page heads ----- */

.site-main { padding-bottom: 48px; }

.page-head { padding: 18px 0 8px; }
.page-head--band, .page-head--accent, .page-head--game, .page-head--review { padding: 18px 0 22px; margin-bottom: 24px; border-bottom: 1px solid var(--line); }
.page-head--band { background: linear-gradient(180deg, var(--green-soft), var(--paper)); }
.page-head--accent { background: linear-gradient(135deg, #fff5d9 0%, var(--paper) 70%); }
.page-head--game { background: radial-gradient(circle at 90% 0%, #e9f6c9 0, var(--paper) 55%); }
.page-head--review { background: var(--card); }

.eyebrow {
	display: inline-flex; align-items: center; gap: 8px;
	margin: 6px 0 0; font-size: .78rem; font-weight: 700; letter-spacing: .08em; text-transform: uppercase; color: var(--green-2);
}
.live-dot { width: 8px; height: 8px; border-radius: 50%; background: #2fb36b; box-shadow: 0 0 0 4px rgba(47, 179, 107, .2); }

.lead { font-size: 1.12rem; color: var(--ink-soft); max-width: 62ch; }

.meta-line { display: flex; flex-wrap: wrap; gap: 6px 16px; font-size: .85rem; color: var(--ink-soft); margin: 0 0 6px; }
.meta-line span + span::before { content: ""; display: inline-block; width: 4px; height: 4px; border-radius: 50%; background: var(--line); margin-right: 16px; vertical-align: middle; }

.crumbs ol { list-style: none; display: flex; flex-wrap: wrap; gap: 4px; margin: 0 0 6px; padding: 0; font-size: .84rem; color: var(--ink-soft); }
.crumbs li { margin: 0; }
.crumbs li + li::before { content: "/"; margin-right: 4px; color: #a9b0a9; }
.crumbs a { color: var(--ink-soft); text-decoration: none; }
.crumbs a:hover { color: var(--green); text-decoration: underline; }

/* ----- Hero (home) ----- */

.hero {
	background: var(--green);
	color: #eaf3ee;
	padding: 28px 0 30px;
	margin-bottom: 28px;
	position: relative;
	overflow: hidden;
}
.hero::after {
	content: ""; position: absolute; right: -80px; top: -80px; width: 260px; height: 260px; border-radius: 50%;
	border: 40px solid rgba(183, 227, 74, .12);
}
.hero .page-title { color: #fff; max-width: 20ch; }
.hero .eyebrow { color: var(--lime); }
.hero .lead { color: #cfe2d8; }
.hero .meta-line { color: #a9c6b7; }
.hero .meta-line span + span::before { background: #3d6b59; }

.hub-chips .menu { list-style: none; padding: 0; margin: 16px 0; display: flex; flex-wrap: wrap; gap: 8px; }
.hub-chips li { margin: 0; }
.hub-chips a {
	display: inline-block; padding: 7px 14px; border-radius: 999px; font-size: .92rem; font-weight: 600; text-decoration: none;
	background: var(--card); color: var(--green); border: 1px solid var(--line);
}
.hero .hub-chips a { background: rgba(255, 255, 255, .08); color: #fff; border-color: rgba(255, 255, 255, .2); }
.hub-chips a:hover { border-color: var(--lime); color: var(--green); background: var(--lime); }

/* ----- Content ----- */

.entry { background: var(--card); border: 1px solid var(--line); border-radius: var(--radius); padding: 20px 16px; box-shadow: var(--shadow); min-width: 0; }
.entry--plain { padding-top: 8px; }
.entry-content > :first-child { margin-top: 0; }
.entry-content h2 { scroll-margin-top: 80px; padding-top: .2em; }
.entry-content h2::before { content: ""; display: block; width: 36px; height: 4px; border-radius: 2px; background: var(--lime); margin-bottom: 10px; }
.entry-content blockquote {
	margin-left: 0; padding: 12px 16px; border-left: 4px solid var(--gold); background: #fffaf0; border-radius: 0 var(--radius-sm) var(--radius-sm) 0;
}
.entry-content ol > li::marker { font-weight: 700; color: var(--green-2); }

.rv-table-wrap { overflow-x: auto; -webkit-overflow-scrolling: touch; margin: 0 0 1.2em; }
.entry-content table, .rv-table { width: 100%; border-collapse: collapse; font-size: .95rem; }
.entry-content th, .entry-content td, .rv-table th, .rv-table td { padding: 10px 12px; border-bottom: 1px solid var(--line); text-align: left; vertical-align: top; }
.entry-content thead th, .rv-table thead th { background: var(--green-soft); color: var(--green); font-size: .82rem; text-transform: uppercase; letter-spacing: .04em; }
.entry-content > table { display: block; overflow-x: auto; }

.disclosure { font-size: .82rem; color: var(--ink-soft); margin: 0 0 12px; }
.method-link { font-size: .92rem; }

.notice { padding: 12px 14px 12px 44px; border-radius: var(--radius-sm); font-size: .93rem; position: relative; margin: 0 0 18px; }
.notice::before { position: absolute; left: 14px; top: 11px; font-weight: 800; }
.notice--info { background: var(--green-soft); border: 1px solid #c4dccf; }
.notice--info::before { content: "i"; color: var(--green-2); font-family: Georgia, serif; font-style: italic; font-size: 1.1rem; }
.notice--warn { background: var(--red-soft); border: 1px solid var(--red-line); }
.notice--warn::before { content: "!"; color: #b5571b; font-size: 1.05rem; }

.section-title { font-size: 1.3rem; margin: 32px 0 14px; }
.back-link { margin: 18px 0; font-weight: 600; }

/* ----- Buttons ----- */

.rv-btn {
	display: inline-flex; align-items: center; justify-content: center; gap: 6px;
	min-height: 44px; padding: 10px 18px; border-radius: 999px; border: 0;
	background: var(--green); color: #fff; font: 700 .95rem/1.2 var(--font); text-decoration: none; cursor: pointer; white-space: nowrap;
}
.rv-btn:hover { color: #fff; background: var(--green-2); text-decoration: none; }
.rv-btn--cta { background: var(--gold); color: var(--gold-ink); }
.rv-btn--cta:hover { background: #ffc43d; color: var(--gold-ink); }
.rv-btn--lg { min-height: 52px; padding: 12px 26px; font-size: 1.05rem; }
.rv-btn--ghost { background: transparent; color: var(--green); border: 1px solid var(--line); }
.rv-btn--ghost:hover { background: var(--green-soft); color: var(--green); }
.rv-cta-wrap { margin: 1.2em 0; }

.cta-strip {
	display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 10px;
	background: var(--green); color: #fff; border-radius: var(--radius); padding: 14px 16px; margin: 0 0 20px;
}
.cta-strip p { margin: 0; font-weight: 600; }

/* ----- Operators table ----- */
/* Cards by default; a real table when the block itself is at least 700px wide (container query),
   so the same markup stays a card list in the narrow sidebar of game pages. */

.rv-ops { container: rvops / inline-size; margin: 0 0 28px; }
.rv-ops .rv-table--ops { width: 100%; border-collapse: separate; border-spacing: 0; font-size: .95rem; margin: 0; }
.rv-ops .rv-table--ops caption { display: block; text-align: left; font: 800 1.2rem/1.3 var(--font-head); color: var(--green); padding: 0 0 12px; }
.rv-ops .rv-table--ops thead { display: none; }
.rv-ops .rv-table--ops tbody { display: block; }
.rv-ops .rv-table--ops tr {
	position: relative; display: grid; grid-template-columns: minmax(0, 1fr) auto;
	gap: 12px 12px; align-items: center;
	background: var(--card); border: 1px solid var(--line); border-radius: var(--radius);
	padding: 18px 14px 14px; margin: 0 0 14px; box-shadow: var(--shadow);
}
.rv-ops .rv-table--ops tr.rv-ops__row--top { border: 2px solid var(--gold); background: linear-gradient(180deg, #fffbef, var(--card) 60%); }
.rv-ops .rv-table--ops td { display: block; padding: 0; border: 0; vertical-align: middle; min-width: 0; }
.rv-ops .rv-table--ops td:empty { display: none; }
.rv-ops__pos { position: absolute; left: -8px; top: -10px; z-index: 1; }
.rv-ops__name { grid-column: 1; }
.rv-ops__rating { grid-column: 2; justify-self: end; }
.rv-ops__rating .rv-rate { align-items: flex-end; }
.rv-ops__bonus, .rv-ops__feat, .rv-ops .rv-table--ops td.rv-ops__cta { grid-column: 1 / -1; }

.rv-rank {
	display: inline-grid; place-items: center; width: 30px; height: 30px; border-radius: 50%;
	background: var(--green); color: #fff; font: 800 .9rem/1 var(--font-head);
	box-shadow: 0 2px 6px rgba(13, 59, 44, .18);
}
.rv-rank--1 { background: linear-gradient(135deg, #ffd65e, #e3a400); color: var(--gold-ink); box-shadow: 0 0 0 3px rgba(242, 176, 30, .28); }
.rv-rank--2 { background: linear-gradient(135deg, #f1f3f5, #b8bec5); color: #262b30; box-shadow: 0 0 0 3px rgba(150, 158, 166, .25); }
.rv-rank--3 { background: linear-gradient(135deg, #f2bf93, #b5703a); color: #3a1d06; box-shadow: 0 0 0 3px rgba(181, 112, 58, .22); }

.rv-ops__brand { display: flex; align-items: center; gap: 12px; min-width: 0; }
.rv-ops__id { display: flex; flex-direction: column; gap: 2px; min-width: 0; }
.rv-ops__title { font: 800 1.06rem/1.25 var(--font-head); color: var(--ink); overflow-wrap: anywhere; }
.rv-ops__review { font-size: .8rem; font-weight: 600; color: var(--green-2); text-decoration: none; white-space: nowrap; }
.rv-ops__review::after { content: " \203A"; }
.rv-ops__review:hover { text-decoration: underline; }

.rv-rate { display: inline-flex; flex-direction: column; align-items: flex-start; gap: 5px; }
.rv-rate__pill {
	display: inline-flex; align-items: baseline; gap: 1px; padding: 4px 9px; border-radius: 8px;
	background: var(--green); color: #fff; font: 800 1.08rem/1.1 var(--font-head); white-space: nowrap;
}
.rv-rate__pill small { font-size: .7rem; font-weight: 700; color: var(--lime); }
.rv-stars { position: relative; display: inline-block; font-size: .86rem; line-height: 1; letter-spacing: 1px; color: #dcd8cb; white-space: nowrap; }
.rv-stars::before { content: "\2605\2605\2605\2605\2605"; }
.rv-stars::after {
	content: "\2605\2605\2605\2605\2605"; position: absolute; left: 0; top: 0; overflow: hidden;
	width: calc(var(--rv-s, 0) * 10%); color: var(--gold);
}
.rv-stars--0 { --rv-s: 0; } .rv-stars--1 { --rv-s: 1; } .rv-stars--2 { --rv-s: 2; } .rv-stars--3 { --rv-s: 3; }
.rv-stars--4 { --rv-s: 4; } .rv-stars--5 { --rv-s: 5; } .rv-stars--6 { --rv-s: 6; } .rv-stars--7 { --rv-s: 7; }
.rv-stars--8 { --rv-s: 8; } .rv-stars--9 { --rv-s: 9; } .rv-stars--10 { --rv-s: 10; }

.rv-offer {
	display: flex; flex-direction: column; gap: 3px; padding: 10px 12px;
	border-radius: var(--radius-sm); background: linear-gradient(135deg, #fff9e6, #fff1c7);
	border: 1px solid #f1d98f; border-left: 4px solid var(--gold);
}
.rv-offer__text { font-weight: 700; color: var(--ink); line-height: 1.35; font-size: .95rem; }
.rv-offer__code { font-size: .82rem; color: var(--ink-soft); }
.rv-offer__code code { background: #fff; border: 1px dashed var(--gold); color: var(--ink); }
.rv-offer__tc { font-size: .7rem; color: var(--ink-soft); letter-spacing: .02em; }
.rv-muted { color: var(--ink-soft); font-size: .88rem; }

.rv-chips { list-style: none; margin: 0; padding: 0; display: flex; flex-wrap: wrap; gap: 6px; }
.rv-chips li {
	margin: 0; padding: 3px 10px; border-radius: 999px; background: var(--green-soft); color: var(--green);
	font-size: .78rem; font-weight: 600; line-height: 1.45; white-space: nowrap;
}

.rv-ops .rv-table--ops td.rv-ops__cta { display: flex; flex-direction: column; align-items: stretch; gap: 6px; }
.rv-ops__btn { width: 100%; }
.rv-ops__more { display: block; text-align: center; font-size: .8rem; font-weight: 600; color: var(--ink-soft); text-decoration: none; }
.rv-ops__more:hover { color: var(--green); text-decoration: underline; }
.rv-ops__note { font-size: .8rem; color: var(--ink-soft); margin: 4px 0 0; }

/* Older markup that may still be cached */
.rv-score { display: inline-block; background: var(--green-soft); color: var(--green); font-weight: 800; padding: 2px 8px; border-radius: 6px; font-size: .9rem; }
.rv-tags { list-style: none; padding: 0; margin: 4px 0 0; display: flex; flex-wrap: wrap; gap: 6px; }
.rv-tags li { margin: 0; font-size: .8rem; padding: 2px 8px; border-radius: 999px; background: #f1efe7; color: var(--ink-soft); }

@container rvops (min-width: 700px) {
	.rv-ops .rv-table--ops {
		display: table; background: var(--card); border: 1px solid var(--line); border-radius: var(--radius);
		overflow: hidden; box-shadow: var(--shadow);
	}
	.rv-ops .rv-table--ops caption { display: table-caption; }
	.rv-ops .rv-table--ops thead { display: table-header-group; }
	.rv-ops .rv-table--ops tbody { display: table-row-group; }
	.rv-ops .rv-table--ops thead th {
		padding: 10px 12px; background: var(--green-soft); color: var(--green); border-bottom: 1px solid var(--line);
		font-size: .74rem; font-weight: 800; text-transform: uppercase; letter-spacing: .06em; text-align: left; vertical-align: middle;
	}
	.rv-ops .rv-table--ops thead .rv-ops__pos-h { text-align: center; }
	.rv-ops .rv-table--ops tr { display: table-row; padding: 0; margin: 0; border: 0; border-radius: 0; box-shadow: none; background: transparent; }
	.rv-ops .rv-table--ops tr.rv-ops__row--top { border: 0; background: #fffbef; }
	.rv-ops .rv-table--ops tbody tr:hover { background: #fbfaf5; }
	.rv-ops .rv-table--ops tr.rv-ops__row--top:hover { background: #fff7df; }
	.rv-ops .rv-table--ops td { display: table-cell; padding: 16px 12px; border-bottom: 1px solid var(--line); }
	.rv-ops .rv-table--ops td:empty { display: table-cell; }
	.rv-ops .rv-table--ops tbody tr:last-child td { border-bottom: 0; }
	.rv-ops .rv-table--ops tr.rv-ops__row--top td:first-child { box-shadow: inset 4px 0 0 var(--gold); }
	.rv-ops__pos { position: static; width: 56px; text-align: center; }
	.rv-ops__name { min-width: 210px; }
	.rv-ops__rating { width: 120px; }
	.rv-ops__rating .rv-rate { align-items: flex-start; }
	.rv-ops__bonus { min-width: 190px; }
	.rv-ops__feat { width: 22%; }
	.rv-ops .rv-table--ops td.rv-ops__cta { display: table-cell; width: 160px; text-align: center; }
	.rv-ops__more { margin-top: 6px; }
}

@container rvops (min-width: 700px) and (max-width: 879px) {
	.rv-ops__feat, .rv-ops__feat-h { display: none !important; }
}

/* ----- Facts box ----- */

.rv-facts { background: var(--card); border: 1px solid var(--line); border-top: 4px solid var(--lime); border-radius: var(--radius); padding: 16px; box-shadow: var(--shadow); margin: 0 0 20px; }
.rv-facts__title { font: 800 1.05rem/1.3 var(--font-head); color: var(--green); margin: 0 0 10px; }
.rv-facts dl { margin: 0; }
.rv-facts__row { display: flex; justify-content: space-between; gap: 12px; padding: 7px 0; border-bottom: 1px dashed var(--line); font-size: .93rem; }
.rv-facts__row:last-child { border-bottom: 0; }
.rv-facts dt { color: var(--ink-soft); }
.rv-facts dd { margin: 0; font-weight: 700; text-align: right; }
.rv-facts__cta { margin: 12px 0 0; }
.rv-facts__cta .rv-btn { width: 100%; }

/* ----- Review head ----- */

.review-head { display: flex; align-items: flex-start; justify-content: space-between; gap: 16px; }
.review-head__text { min-width: 0; }
.score-badge {
	flex: 0 0 auto; display: grid; place-items: center; text-align: center;
	width: 86px; height: 86px; border-radius: 50%; background: var(--green); color: #fff; margin-top: 18px;
	box-shadow: 0 0 0 5px var(--lime);
}
.score-badge__value { font: 800 1.25rem/1 var(--font-head); }
.score-badge__label { font-size: .65rem; text-transform: uppercase; letter-spacing: .06em; color: var(--lime); margin-top: -18px; }
.review-cta { display: flex; flex-wrap: wrap; align-items: center; gap: 10px; margin: 12px 0 0; }
.review-cta__note { font-size: .8rem; color: var(--ink-soft); }

.layout-aside { display: grid; gap: 20px; }
.side { min-width: 0; }

/* ----- Daily feed ----- */

.rv-daily { border: 1px solid var(--line); border-radius: var(--radius); background: #fbfcf8; padding: 14px; margin: 0 0 1.4em; }
.rv-daily__title { font: 800 1.05rem/1.3 var(--font-head); color: var(--green); margin: 0 0 6px; }
.rv-daily__date { font-size: .88rem; font-weight: 700; color: var(--green-2); margin: 0 0 8px; }
.rv-daily__empty { margin: 0 0 8px; padding: 14px; text-align: center; border: 2px dashed #cfd9c9; border-radius: var(--radius-sm); color: var(--ink-soft); font-weight: 600; }
.rv-daily__stale { font-size: .85rem; color: #9a4b12; }
.rv-daily__note { font-size: .8rem; color: var(--ink-soft); margin: 8px 0 0; }
.rv-daily__result.is-won { color: #17803d; font-weight: 700; }
.rv-daily__result.is-lost { color: #b3261e; font-weight: 700; }
.rv-daily__pick { font-weight: 700; }

@media (max-width: 639px) {
	.rv-table--daily thead { display: none; }
	.rv-table--daily, .rv-table--daily tbody, .rv-table--daily tr, .rv-table--daily td { display: block; width: 100%; }
	.rv-table--daily tr { border-bottom: 1px solid var(--line); padding: 8px 0; }
	.rv-table--daily td { border: 0; padding: 2px 0; display: flex; justify-content: space-between; gap: 12px; }
	.rv-table--daily td::before { content: attr(data-label); color: var(--ink-soft); font-size: .82rem; }
	.rv-table--daily td:empty { display: none; }
}

/* ----- Cards ----- */

.rv-cards { list-style: none; padding: 0; margin: 0 0 1.4em; display: grid; gap: 10px; grid-template-columns: 1fr; }
.rv-card { margin: 0; }
.rv-card__link {
	display: flex; flex-direction: column; gap: 4px; height: 100%;
	padding: 14px 16px; background: var(--card); border: 1px solid var(--line); border-radius: var(--radius);
	text-decoration: none; color: var(--ink); transition: border-color .15s, transform .15s;
}
.rv-card__link:hover { border-color: var(--green-2); transform: translateY(-2px); color: var(--ink); }
.rv-card__title { font: 700 1.02rem/1.3 var(--font-head); color: var(--green); }
.rv-card__title::after { content: " \2192"; color: var(--green-2); }
.rv-card__text { font-size: .9rem; color: var(--ink-soft); }
.side .rv-cards { grid-template-columns: 1fr; }

/* ----- TOC ----- */

.rv-toc { background: var(--green-soft); border-radius: var(--radius); padding: 12px 16px; margin: 0 0 1.4em; }
.rv-toc__title { margin: 0; font-weight: 800; color: var(--green); display: flex; justify-content: space-between; align-items: center; }
.rv-toc__btn { all: unset; cursor: pointer; display: flex; width: 100%; justify-content: space-between; align-items: center; }
.rv-toc__btn::after { content: "+"; font-size: 1.2rem; }
.rv-toc__btn[aria-expanded="true"]::after { content: "-"; }
.rv-toc ol { margin: 8px 0 0; padding-left: 1.2em; font-size: .93rem; }
.rv-toc.is-collapsed ol { display: none; }
.rv-toc a { text-decoration: none; }
.rv-toc a.is-active { font-weight: 700; color: var(--green); }

/* ----- FAQ ----- */

.rv-faq { margin-top: 2em; }
.rv-faq__item { border: 1px solid var(--line); border-radius: var(--radius-sm); margin: 0 0 8px; background: #fdfcf9; }
.rv-faq__item summary { cursor: pointer; padding: 12px 40px 12px 14px; font-weight: 700; list-style: none; position: relative; }
.rv-faq__item summary::-webkit-details-marker { display: none; }
.rv-faq__item summary::after { content: "+"; position: absolute; right: 14px; top: 9px; font-size: 1.3rem; color: var(--green-2); }
.rv-faq__item[open] summary::after { content: "-"; }
.rv-faq__a { padding: 0 14px 4px; }

/* ----- Related ----- */

.rv-related { margin-top: 1.8em; padding: 16px; border-radius: var(--radius); background: var(--paper); border: 1px solid var(--line); }
.rv-related__title { font-weight: 800; color: var(--green); margin: 0 0 8px; }
.rv-related ul { list-style: none; padding: 0; margin: 0; display: flex; flex-wrap: wrap; gap: 8px; }
.rv-related li { margin: 0; }
.rv-related a { display: inline-block; padding: 6px 12px; border-radius: 999px; background: var(--card); border: 1px solid var(--line); text-decoration: none; font-size: .9rem; }
.rv-related a:hover { border-color: var(--green-2); }

/* ----- Calculator ----- */

.rv-calc { background: var(--card); border: 2px solid var(--green); border-radius: var(--radius); padding: 16px; margin: 0 0 24px; box-shadow: var(--shadow); }
.rv-calc__title { font: 800 1.15rem/1.3 var(--font-head); color: var(--green); margin: 0 0 12px; }
.rv-calc__subtitle { font-weight: 800; color: var(--green); margin: 0 0 8px; }
.rv-calc__grid { display: grid; gap: 12px; }
.rv-calc__legs { display: grid; gap: 8px; grid-template-columns: repeat(auto-fill, minmax(130px, 1fr)); }
.rv-calc label { display: flex; flex-direction: column; gap: 4px; font-size: .85rem; font-weight: 600; color: var(--ink-soft); }
.rv-calc input {
	font: 600 1.05rem/1.2 var(--font); padding: 10px 12px; border: 1px solid #cfd2c6; border-radius: var(--radius-sm); background: #fff; color: var(--ink); width: 100%;
}
.rv-calc input:focus { border-color: var(--green-2); }
.rv-calc__actions { display: flex; flex-wrap: wrap; gap: 8px; }
.rv-calc__out { display: grid; grid-template-columns: 1fr 1fr; gap: 8px; margin: 14px 0 0; }
.rv-calc__out div { background: var(--green-soft); border-radius: var(--radius-sm); padding: 10px 12px; }
.rv-calc__out dt { font-size: .78rem; color: var(--ink-soft); text-transform: uppercase; letter-spacing: .04em; }
.rv-calc__out dd { margin: 2px 0 0; font: 800 1.2rem/1.2 var(--font-head); color: var(--green); }
.rv-calc__convert { margin-top: 18px; padding-top: 14px; border-top: 1px dashed var(--line); }
.rv-calc__help { font-size: .8rem; color: var(--ink-soft); margin: 4px 0 0; }
.rv-calc__note { font-size: .8rem; color: var(--ink-soft); margin: 12px 0 0; }

/* ----- Footer ----- */

.site-footer { background: #0a2a20; color: #c5d6cd; padding: 28px 0 36px; font-size: .92rem; }
.site-footer a { color: #fff; }
.age-notice { display: flex; gap: 14px; align-items: flex-start; padding: 14px; border: 1px solid #24503f; border-radius: var(--radius); background: #0d3326; }
.age-notice p { margin: 0; }
.age-notice__text p + p { margin-top: 8px; }
.age-badge {
	flex: 0 0 auto; display: grid; place-items: center; width: 46px; height: 46px; border-radius: 50%;
	border: 3px solid #e2574c; color: #fff; font-weight: 800; font-size: .95rem;
}
.footer-nav .menu { list-style: none; padding: 0; margin: 20px 0; display: flex; flex-wrap: wrap; gap: 6px 18px; }
.footer-nav li { margin: 0; }
.footer-nav a { text-decoration: none; }
.footer-nav a:hover { text-decoration: underline; color: var(--lime); }
.footer-small { font-size: .8rem; color: #8fa99b; margin: 0 0 8px; }

/* ----- Images: site logo, operator logos, heroes, card images ----- */

.brand--logo { gap: 0; }
.brand__logo { display: block; height: 42px; width: auto; max-width: 240px; object-fit: contain; }
@media (max-width: 480px) { .brand__logo { height: 36px; max-width: 190px; } }

/* Operator logo tiles: fixed size, logo contained. Light logos on the brand green, dark and opaque ones on white. */
.rv-tile {
	display: inline-flex; align-items: center; justify-content: center; flex: 0 0 auto;
	box-sizing: border-box; overflow: hidden; vertical-align: middle;
	width: 72px; height: 44px; padding: 5px 7px; border-radius: 10px;
}
.rv-tile--md { width: 112px; height: 64px; padding: 8px 10px; border-radius: 12px; }
.rv-tile--lg { width: 136px; height: 76px; padding: 10px 12px; border-radius: 14px; }
.rv-tile--on-light { background: #fff; border: 1px solid var(--line); box-shadow: 0 1px 2px rgba(13, 59, 44, .05); }
.rv-tile--on-dark { background: var(--green); border: 1px solid var(--green); }
img.rv-tile__img { display: block; width: 100%; height: 100%; max-width: 100%; object-fit: contain; border-radius: 4px; }
.rv-tile--initials { font: 800 1.05rem/1 var(--font-head); letter-spacing: .03em; border: 0; }
.rv-tile--md.rv-tile--initials { font-size: 1.45rem; }
.rv-tile--lg.rv-tile--initials { font-size: 1.7rem; }
.rv-tile--p0 { background: var(--green); color: var(--lime); }
.rv-tile--p1 { background: var(--green-2); color: #fff; }
.rv-tile--p2 { background: var(--gold); color: var(--gold-ink); }
.rv-tile--p3 { background: var(--ink); color: var(--gold); }
.rv-tile--p4 { background: var(--lime); color: var(--green); }
.cta-strip .rv-tile--on-dark { border-color: rgba(255, 255, 255, .28); }
.cta-strip .rv-tile { margin-right: 4px; }
.cta-strip { justify-content: flex-start; }
.cta-strip .rv-btn { margin-left: auto; }
.rv-facts__head { display: flex; align-items: center; gap: 12px; margin: 0 0 12px; }
.rv-facts__head .rv-facts__title { margin: 0; }
.head-logo { margin: 10px 0 6px; }

.page-hero { margin: 0 0 24px; border-radius: var(--radius); overflow: hidden; background: var(--green-soft); }
.page-hero__img { display: block; width: 100%; height: auto; aspect-ratio: 5 / 2; object-fit: cover; }
.hero__grid { position: relative; z-index: 1; }
.hero__media { margin: 20px 0 0; border-radius: var(--radius); overflow: hidden; box-shadow: 0 10px 30px rgba(0, 0, 0, .25); }
.hero__media__img { display: block; width: 100%; height: auto; aspect-ratio: 5 / 2; object-fit: cover; }

.rv-card__media { display: block; margin: -14px -16px 8px; aspect-ratio: 16 / 9; overflow: hidden; border-radius: calc(var(--radius) - 1px) calc(var(--radius) - 1px) 0 0; background: var(--green-soft); }
.rv-card__img { display: block; width: 100%; height: 100%; object-fit: cover; }

@media (min-width: 900px) {
	.hero--media .hero__grid { display: grid; grid-template-columns: minmax(0, 1.1fr) minmax(0, 1fr); gap: 36px; align-items: center; }
	.hero--media .hero__media { margin: 0; }
}

/* ----- Wider screens ----- */

@media (min-width: 640px) {
	.entry { padding: 28px 30px; }
	.rv-cards { grid-template-columns: repeat(2, 1fr); }
	.rv-calc__grid { grid-template-columns: 2fr 1fr; align-items: end; }
	.rv-calc__actions { grid-row: 2; }
	.rv-calc__out { grid-template-columns: repeat(4, 1fr); }
}

@media (min-width: 900px) {
	body { font-size: 18px; }
	.nav-toggle { display: none; }
	.site-nav { display: block; width: auto; padding: 0; }
	.site-nav .menu { display: flex; flex-wrap: wrap; gap: 2px; justify-content: flex-end; }
	.site-nav a { padding: 8px 10px; font-size: .9rem; }
	.site-header__inner { flex-wrap: nowrap; }

	.hero { padding: 48px 0 44px; }

	.layout-aside { grid-template-columns: minmax(0, 1fr) 320px; align-items: start; gap: 28px; }
	.layout-aside .side { position: sticky; top: 84px; }

	.rv-cards { grid-template-columns: repeat(3, 1fr); }
}

@media (prefers-reduced-motion: reduce) {
	html { scroll-behavior: auto; }
	.rv-card__link { transition: none; }
}

@media print {
	.site-header, .site-footer, .rv-btn, .cta-strip, .nav-toggle { display: none !important; }
	body { background: #fff; }
	.entry { border: 0; box-shadow: none; }
}
