/*
Theme Name: CasinoVerdict
Theme URI: https://casinoverdict.example/
Author: CasinoVerdict
Description: Editorial review theme for casino comparison sites. Built for the CasinoVerdict Reviews plugin: weighted score cards, ranked top lists, comparison tables and player reviews. No external fonts or frameworks.
Version: 1.1.0
Requires at least: 6.5
Tested up to: 7.1
Requires PHP: 7.4
License: GPL-2.0-or-later
License URI: https://www.gnu.org/licenses/gpl-2.0.html
Text Domain: casinoverdict-theme
Tags: blog, two-columns, custom-menu, custom-logo, featured-images, translation-ready
*/

/* -------------------------------------------------------------------------
   1. Tokens
   ---------------------------------------------------------------------- */

:root {
	--ink: #0b1220;
	--ink-soft: #16233a;
	--ink-line: #22314c;
	--text: #1c2535;
	--muted: #5f6b7d;
	--paper: #ffffff;
	--mist: #f5f7fb;
	--mist-deep: #eef1f7;
	--line: #e3e8ef;
	--jade: #0d9b74;
	--jade-dark: #0a7a5b;
	--jade-wash: #e7f6f1;
	--amber: #e0a316;
	--amber-wash: #fdf4e0;
	--rose: #cf4436;
	--rose-wash: #fdeeec;

	--radius: 10px;
	--radius-lg: 14px;
	--shadow-sm: 0 1px 2px rgba(11, 18, 32, .06), 0 1px 3px rgba(11, 18, 32, .04);
	--shadow-md: 0 4px 16px rgba(11, 18, 32, .08);
	--wrap: 1180px;

	--serif: Georgia, "Iowan Old Style", "Times New Roman", serif;
	--sans: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
}

/* -------------------------------------------------------------------------
   2. Base
   ---------------------------------------------------------------------- */

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

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

body {
	background: var(--paper);
	color: var(--text);
	font-family: var(--sans);
	font-size: 16px;
	line-height: 1.65;
	margin: 0;
}

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

a {
	color: var(--jade-dark);
	text-decoration-thickness: 1px;
	text-underline-offset: 2px;
}

a:hover {
	color: var(--ink);
}

h1, h2, h3, h4 {
	color: var(--ink);
	font-family: var(--serif);
	font-weight: 700;
	line-height: 1.22;
	margin: 0 0 .6em;
}

h1 { font-size: clamp(1.9rem, 4vw, 2.6rem); }
h2 { font-size: clamp(1.4rem, 2.6vw, 1.85rem); }
h3 { font-size: 1.2rem; }

p, ul, ol, dl, table, figure {
	margin: 0 0 1.1rem;
}

table {
	border-collapse: collapse;
	width: 100%;
}

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

.screen-reader-text {
	border: 0;
	clip: rect(1px, 1px, 1px, 1px);
	clip-path: inset(50%);
	height: 1px;
	overflow: hidden;
	position: absolute !important;
	width: 1px;
	word-wrap: normal !important;
}

.skip-link:focus {
	background: var(--paper);
	clip: auto;
	clip-path: none;
	height: auto;
	left: 16px;
	padding: 10px 16px;
	top: 12px;
	width: auto;
	z-index: 100;
}

.section-heading {
	border-bottom: 2px solid var(--ink);
	display: inline-block;
	font-size: 1.35rem;
	margin: 0 0 1.1rem;
	padding-bottom: 6px;
}

/* -------------------------------------------------------------------------
   3. Buttons
   ---------------------------------------------------------------------- */

.cvd-btn {
	border: 1px solid transparent;
	border-radius: 8px;
	cursor: pointer;
	display: inline-block;
	font-family: var(--sans);
	font-size: .95rem;
	font-weight: 600;
	line-height: 1.2;
	padding: 11px 18px;
	text-align: center;
	text-decoration: none;
	transition: background-color .15s ease, color .15s ease, border-color .15s ease;
	white-space: nowrap;
}

.cvd-btn--primary {
	background: var(--jade);
	border-color: var(--jade);
	color: #fff;
}

.cvd-btn--primary:hover {
	background: var(--jade-dark);
	border-color: var(--jade-dark);
	color: #fff;
}

.cvd-btn--ghost {
	background: transparent;
	border-color: var(--line);
	color: var(--ink);
}

.cvd-btn--ghost:hover {
	background: var(--mist);
	border-color: var(--muted);
	color: var(--ink);
}

.cvd-btn--dark {
	background: var(--ink);
	border-color: var(--ink);
	color: #fff;
}

.cvd-btn--dark:hover {
	background: var(--ink-soft);
	color: #fff;
}

.cvd-btn--sm {
	font-size: .85rem;
	padding: 8px 14px;
}

.cvd-btn--block {
	display: block;
	width: 100%;
}

/* -------------------------------------------------------------------------
   4. Header
   ---------------------------------------------------------------------- */

.topbar {
	background: var(--ink);
	color: #c6d0de;
	font-size: .8rem;
}

.topbar__inner {
	align-items: center;
	display: flex;
	flex-wrap: wrap;
	gap: 8px 20px;
	justify-content: space-between;
	min-height: 36px;
}

.topbar p {
	margin: 0;
}

.topbar__badge {
	background: var(--amber);
	border-radius: 4px;
	color: #231a00;
	font-weight: 700;
	font-size: .72rem;
	margin-right: 8px;
	padding: 2px 6px;
}

.topbar__links {
	display: flex;
	gap: 18px;
}

.topbar__links a {
	color: #c6d0de;
	text-decoration: none;
}

.topbar__links a:hover {
	color: #fff;
	text-decoration: underline;
}

.masthead {
	background: var(--paper);
	border-bottom: 1px solid var(--line);
	position: sticky;
	top: 0;
	z-index: 40;
}

.masthead.is-stuck {
	box-shadow: var(--shadow-sm);
}

.masthead__inner {
	align-items: center;
	display: flex;
	gap: 20px;
	justify-content: space-between;
	min-height: 86px;
}

.brand__link {
	align-items: center;
	color: var(--ink);
	display: inline-flex;
	gap: 10px;
	text-decoration: none;
}

.brand__logo {
	display: block;
	height: auto;
	max-width: 100%;
}

.custom-logo {
	display: block;
	max-height: 48px;
	width: auto;
}

.nav-toggle {
	background: transparent;
	border: 1px solid var(--line);
	border-radius: 8px;
	cursor: pointer;
	display: none;
	height: 42px;
	position: relative;
	width: 46px;
}

.nav-toggle__bars,
.nav-toggle__bars::before,
.nav-toggle__bars::after {
	background: var(--ink);
	border-radius: 2px;
	content: "";
	display: block;
	height: 2px;
	left: 50%;
	position: absolute;
	top: 50%;
	transform: translate(-50%, -50%);
	width: 20px;
}

.nav-toggle__bars::before { transform: translate(-50%, -8px); }
.nav-toggle__bars::after { transform: translate(-50%, 6px); }

.primary-nav {
	align-items: center;
	display: flex;
	gap: 24px;
	margin-left: auto;
}

.primary-nav__list {
	display: flex;
	flex-wrap: wrap;
	gap: 4px;
	list-style: none;
	margin: 0;
	padding: 0;
}

.primary-nav__list li {
	position: relative;
}

.primary-nav__list a {
	border-radius: 7px;
	color: var(--ink);
	display: block;
	font-size: .93rem;
	font-weight: 600;
	padding: 9px 12px;
	text-decoration: none;
}

.primary-nav__list a:hover,
.primary-nav__list .current-menu-item > a {
	background: var(--mist);
	color: var(--jade-dark);
}

.primary-nav__list .sub-menu {
	background: var(--paper);
	border: 1px solid var(--line);
	border-radius: var(--radius);
	box-shadow: var(--shadow-md);
	display: none;
	left: 0;
	list-style: none;
	margin: 0;
	min-width: 200px;
	padding: 6px;
	position: absolute;
	top: 100%;
	z-index: 50;
}

.primary-nav__list li:hover > .sub-menu,
.primary-nav__list li:focus-within > .sub-menu {
	display: block;
}

.searchform {
	display: flex;
	gap: 6px;
}

.searchform input[type="search"] {
	background: var(--mist);
	border: 1px solid var(--line);
	border-radius: 8px;
	font: inherit;
	font-size: .9rem;
	max-width: 190px;
	padding: 8px 12px;
}

.searchform input[type="search"]:focus {
	background: var(--paper);
	outline: 2px solid var(--jade);
	outline-offset: 1px;
}

.searchform__submit {
	background: var(--ink);
	border: 0;
	border-radius: 8px;
	color: #fff;
	cursor: pointer;
	padding: 0 12px;
}

/* -------------------------------------------------------------------------
   5. Breadcrumb
   ---------------------------------------------------------------------- */

.breadcrumb {
	background: var(--mist);
	border-bottom: 1px solid var(--line);
	font-size: .82rem;
}

.breadcrumb ol {
	display: flex;
	flex-wrap: wrap;
	gap: 6px;
	list-style: none;
	margin: 0;
	padding: 9px 0;
}

.breadcrumb li + li::before {
	color: var(--muted);
	content: "/";
	margin-right: 6px;
}

.breadcrumb a {
	color: var(--muted);
	text-decoration: none;
}

.breadcrumb a:hover {
	color: var(--ink);
	text-decoration: underline;
}

.breadcrumb span {
	color: var(--ink);
	font-weight: 600;
}

/* -------------------------------------------------------------------------
   6. Score and star primitives
   ---------------------------------------------------------------------- */

.cvd-score {
	align-items: baseline;
	background: var(--jade-wash);
	border: 1px solid rgba(13, 155, 116, .25);
	border-radius: 9px;
	color: var(--jade-dark);
	display: inline-flex;
	font-weight: 700;
	gap: 1px;
	line-height: 1;
	padding: 7px 10px;
}

.cvd-score__value {
	font-family: var(--serif);
	font-size: 1.15rem;
}

.cvd-score__max {
	font-size: .72rem;
	opacity: .75;
}

.cvd-score--large {
	border-radius: 12px;
	padding: 10px 14px;
}

.cvd-score--large .cvd-score__value {
	font-size: 1.9rem;
}

.cvd-score--large .cvd-score__max {
	font-size: .85rem;
}

.cvd-score--mid {
	background: var(--amber-wash);
	border-color: rgba(224, 163, 22, .3);
	color: #8a6208;
}

.cvd-score--low {
	background: var(--rose-wash);
	border-color: rgba(207, 68, 54, .25);
	color: #a3281c;
}

.cvd-score__label {
	color: var(--muted);
	display: block;
	font-size: .78rem;
	font-weight: 600;
	margin-top: 4px;
}

.cvd-stars {
	display: inline-block;
	line-height: 1;
	position: relative;
	white-space: nowrap;
}

.cvd-stars__track {
	color: #d3d9e3;
	letter-spacing: 1px;
}

.cvd-stars__fill {
	color: var(--amber);
	left: 0;
	letter-spacing: 1px;
	overflow: hidden;
	position: absolute;
	top: 0;
	white-space: nowrap;
}

.cvd-stars__count {
	color: var(--muted);
	font-size: .78rem;
	margin-left: 6px;
}

/* -------------------------------------------------------------------------
   7. Logo block
   ---------------------------------------------------------------------- */

.cvd-logo {
	align-items: center;
	background: var(--mist);
	border: 1px solid var(--line);
	border-radius: var(--radius);
	display: flex;
	flex: 0 0 auto;
	height: 68px;
	justify-content: center;
	overflow: hidden;
	text-decoration: none;
	width: 118px;
}

.cvd-logo__img {
	height: 100%;
	object-fit: contain;
	width: 100%;
}

.cvd-logo__mark {
	color: var(--ink);
	font-family: var(--serif);
	font-size: 1.5rem;
	font-weight: 700;
	letter-spacing: .02em;
}

.cvd-logo--hero {
	height: 86px;
	width: 148px;
}

.cvd-logo--card {
	height: 60px;
	width: 104px;
}

/* -------------------------------------------------------------------------
   8. Hero
   ---------------------------------------------------------------------- */

.hero {
	background: linear-gradient(170deg, var(--ink) 0%, #16263f 100%);
	color: #e9eef6;
	padding: 56px 0 50px;
}

.hero__inner {
	align-items: start;
	display: grid;
	gap: 36px;
	grid-template-columns: minmax(0, 1.5fr) minmax(0, 1fr);
}

/* Banner hero: the artwork carries the headline, so the coded hero below it is
   kept for narrow screens where the painted text would be unreadable. */
.hero--banner {
	padding: 0;
}

.hero__banner {
	margin: 0 auto;
	max-width: 1760px;
	position: relative;
}

.hero__banner img {
	display: block;
	height: auto;
	width: 100%;
}

.hero__hotspot {
	border-radius: 12px;
	display: block;
	height: 10.6%;
	position: absolute;
	top: 81.2%;
}

.hero__hotspot--primary {
	left: 4.19%;
	width: 20.3%;
}

.hero__hotspot--secondary {
	left: 25.7%;
	width: 11%;
}

.hero__hotspot:hover {
	background: rgba(255, 255, 255, .12);
}

.hero__hotspot:focus-visible {
	outline: 3px solid #ffffff;
	outline-offset: 3px;
}

/* On wide screens the artwork shows the headline, so only the H1 stays in the
   document, as screen reader text: the heading is kept for search engines and
   assistive technology without repeating it on screen. */
@media (min-width: 861px) {
	.hero--banner .hero__inner {
		display: block;
		gap: 0;
		padding: 0;
	}

	.hero--banner .hero__eyebrow,
	.hero--banner .hero__lead,
	.hero--banner .hero__actions,
	.hero--banner .hero__facts {
		display: none;
	}

	.hero--banner .hero__title {
		border: 0;
		clip-path: inset(50%);
		height: 1px;
		margin: 0;
		overflow: hidden;
		padding: 0;
		position: absolute;
		white-space: nowrap;
		width: 1px;
	}
}

@media (max-width: 860px) {
	.hero--banner .hero__banner {
		display: none;
	}

	.hero--banner {
		padding: 38px 0 34px;
	}
}

.hero__eyebrow {
	color: var(--amber);
	font-size: .78rem;
	font-weight: 700;
	letter-spacing: .09em;
	margin: 0 0 10px;
	text-transform: uppercase;
}

.hero__title {
	color: #fff;
	margin-bottom: .5em;
	max-width: 22ch;
}

.hero__lead {
	color: #c3cedd;
	font-size: 1.04rem;
	max-width: 62ch;
}

.hero__actions {
	display: flex;
	flex-wrap: wrap;
	gap: 10px;
	margin: 22px 0 0;
}

.hero__actions .cvd-btn--ghost {
	border-color: rgba(255, 255, 255, .28);
	color: #fff;
}

.hero__actions .cvd-btn--ghost:hover {
	background: rgba(255, 255, 255, .1);
	border-color: rgba(255, 255, 255, .5);
	color: #fff;
}

.hero__facts {
	background: rgba(255, 255, 255, .05);
	border: 1px solid rgba(255, 255, 255, .12);
	border-radius: var(--radius-lg);
	list-style: none;
	margin: 0;
	padding: 6px;
}

.hero__facts li {
	border-bottom: 1px solid rgba(255, 255, 255, .1);
	padding: 14px 16px;
}

.hero__facts li:last-child {
	border-bottom: 0;
}

.hero__facts strong {
	color: #fff;
	display: block;
	font-family: var(--serif);
	font-size: 1.1rem;
}

.hero__facts span {
	color: #9fb0c6;
	font-size: .86rem;
}

/* -------------------------------------------------------------------------
   9. Sections
   ---------------------------------------------------------------------- */

.section {
	padding: 52px 0;
}

.section--alt {
	background: var(--mist);
	border-top: 1px solid var(--line);
	border-bottom: 1px solid var(--line);
}

.section__head {
	margin-bottom: 26px;
	max-width: 70ch;
}

.section__title {
	margin-bottom: .25em;
}

.section__sub {
	color: var(--muted);
	margin: 0;
}

.section__more {
	margin: 22px 0 0;
}

.section__more a {
	font-weight: 600;
}

.cvd-shortcode-title {
	margin-top: 1.6em;
}

.notice-missing {
	background: var(--amber-wash);
	border: 1px solid rgba(224, 163, 22, .4);
	border-radius: var(--radius);
	margin: 24px 0;
	padding: 14px 16px;
}

/* -------------------------------------------------------------------------
   10. Top list
   ---------------------------------------------------------------------- */

.cvd-toplist {
	counter-reset: cvd;
	display: grid;
	gap: 12px;
	list-style: none;
	margin: 0;
	padding: 0;
}

.cvd-toplist__item {
	align-items: center;
	background: var(--paper);
	border: 1px solid var(--line);
	border-radius: var(--radius-lg);
	box-shadow: var(--shadow-sm);
	display: grid;
	gap: 18px;
	grid-template-columns: 34px 118px minmax(0, 1fr) 148px 160px;
	padding: 16px 18px;
	transition: box-shadow .15s ease, border-color .15s ease;
}

.cvd-toplist__item:hover {
	border-color: #ccd6e4;
	box-shadow: var(--shadow-md);
}

.cvd-toplist__rank {
	color: var(--muted);
	font-family: var(--serif);
	font-size: 1.5rem;
	font-weight: 700;
	text-align: center;
}

.cvd-toplist__item:nth-child(1) .cvd-toplist__rank,
.cvd-toplist__item:nth-child(2) .cvd-toplist__rank,
.cvd-toplist__item:nth-child(3) .cvd-toplist__rank {
	color: var(--amber);
}

.cvd-toplist__title {
	font-size: 1.2rem;
	margin: 0 0 4px;
}

.cvd-toplist__title a {
	color: var(--ink);
	text-decoration: none;
}

.cvd-toplist__title a:hover {
	color: var(--jade-dark);
	text-decoration: underline;
}

.cvd-toplist__bonus {
	color: var(--jade-dark);
	font-weight: 600;
	margin: 0 0 4px;
}

.cvd-toplist__meta {
	color: var(--muted);
	font-size: .86rem;
	margin: 0;
}

.cvd-toplist__score {
	text-align: center;
}

.cvd-toplist__players {
	display: block;
	margin-top: 8px;
	white-space: nowrap;
}

.cvd-toplist__actions {
	display: grid;
	gap: 8px;
}

/* -------------------------------------------------------------------------
   11. Comparison table
   ---------------------------------------------------------------------- */

.cvd-table-wrap {
	background: var(--paper);
	border: 1px solid var(--line);
	border-radius: var(--radius-lg);
	overflow-x: auto;
}

.cvd-table {
	font-size: .93rem;
	min-width: 760px;
}

.cvd-table th,
.cvd-table td {
	border-bottom: 1px solid var(--line);
	padding: 14px 16px;
	text-align: left;
	vertical-align: middle;
}

.cvd-table thead th {
	background: var(--mist);
	color: var(--muted);
	font-family: var(--sans);
	font-size: .78rem;
	font-weight: 700;
	letter-spacing: .05em;
	text-transform: uppercase;
	white-space: nowrap;
}

.cvd-table tbody tr:last-child th,
.cvd-table tbody tr:last-child td {
	border-bottom: 0;
}

.cvd-table tbody th {
	font-family: var(--serif);
	font-size: 1.02rem;
}

.cvd-table tbody th a {
	color: var(--ink);
	text-decoration: none;
}

.cvd-table tbody th a:hover {
	text-decoration: underline;
}

/* -------------------------------------------------------------------------
   12. Card grids
   ---------------------------------------------------------------------- */

.card-grid {
	display: grid;
	gap: 16px;
	grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
}

.casino-card {
	background: var(--paper);
	border: 1px solid var(--line);
	border-radius: var(--radius-lg);
	box-shadow: var(--shadow-sm);
	display: flex;
	flex-direction: column;
	padding: 18px;
}

.casino-card__head {
	align-items: flex-start;
	display: flex;
	justify-content: space-between;
	margin-bottom: 14px;
}

.casino-card__title {
	font-size: 1.15rem;
	margin: 0 0 6px;
}

.casino-card__title a {
	color: var(--ink);
	text-decoration: none;
}

.casino-card__title a:hover {
	color: var(--jade-dark);
	text-decoration: underline;
}

.casino-card__excerpt {
	color: var(--muted);
	font-size: .9rem;
}

.casino-card__facts {
	border-top: 1px solid var(--line);
	display: grid;
	gap: 2px 12px;
	grid-template-columns: auto 1fr;
	margin: 0 0 12px;
	padding-top: 12px;
}

.casino-card__facts dt {
	color: var(--muted);
	font-size: .82rem;
	font-weight: 600;
}

.casino-card__facts dd {
	font-size: .86rem;
	margin: 0;
}

.casino-card__players {
	margin: 0 0 12px;
}

.casino-card__actions {
	display: flex;
	gap: 8px;
	margin: auto 0 0;
}

.post-card {
	background: var(--paper);
	border: 1px solid var(--line);
	border-radius: var(--radius-lg);
	padding: 18px;
}

.post-card__date {
	color: var(--muted);
	font-size: .8rem;
	margin: 0 0 8px;
	text-transform: uppercase;
	letter-spacing: .05em;
}

.post-card__title {
	font-size: 1.12rem;
	margin: 0 0 8px;
}

.post-card__title a {
	color: var(--ink);
	text-decoration: none;
}

.post-card__title a:hover {
	text-decoration: underline;
}

.post-card__excerpt {
	color: var(--muted);
	font-size: .9rem;
	margin: 0;
}

/* -------------------------------------------------------------------------
   13. Method block
   ---------------------------------------------------------------------- */

.section--method {
	background: var(--ink);
	color: #dfe6ef;
}

.method {
	display: grid;
	gap: 36px;
	grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
}

.method__title {
	color: #fff;
}

.method p {
	color: #b9c5d6;
	max-width: 54ch;
}

.method__weights {
	list-style: none;
	margin: 0;
	padding: 0;
}

.method__weights li {
	align-items: center;
	display: grid;
	gap: 12px;
	grid-template-columns: minmax(130px, 200px) 1fr 44px;
	padding: 7px 0;
}

.method__label {
	color: #dfe6ef;
	font-size: .9rem;
}

.method__bar {
	background: rgba(255, 255, 255, .12);
	border-radius: 999px;
	display: block;
	height: 8px;
	overflow: hidden;
}

.method__bar span {
	background: var(--amber);
	border-radius: 999px;
	display: block;
	height: 100%;
}

.method__value {
	color: #fff;
	font-weight: 700;
	text-align: right;
}

/* -------------------------------------------------------------------------
   14. Listings and layout
   ---------------------------------------------------------------------- */

.listing {
	padding: 36px 16px 56px;
}

.listing__eyebrow {
	color: var(--muted);
	font-size: .8rem;
	font-weight: 700;
	letter-spacing: .08em;
	margin: 0 0 6px;
	text-transform: uppercase;
}

.listing__head {
	margin-bottom: 24px;
	max-width: 75ch;
}

.listing__title {
	margin-bottom: .35em;
}

.listing__lead {
	color: var(--muted);
	font-size: 1.02rem;
}

.listing__count {
	color: var(--muted);
	font-size: .85rem;
	font-weight: 600;
	margin: 0;
}

.listing__empty {
	background: var(--mist);
	border-radius: var(--radius);
	padding: 24px;
}

.listing__search {
	margin-bottom: 24px;
	max-width: 420px;
}

.listing__search .searchform input[type="search"] {
	max-width: none;
	width: 100%;
}

.layout {
	display: grid;
	gap: 40px;
	grid-template-columns: minmax(0, 1fr) 320px;
	padding: 36px 16px 56px;
}

.layout__main {
	min-width: 0;
}

/* -------------------------------------------------------------------------
   15. Filters
   ---------------------------------------------------------------------- */

.filters {
	background: var(--mist);
	border: 1px solid var(--line);
	border-radius: var(--radius-lg);
	margin-bottom: 24px;
	padding: 16px 18px;
}

.filters__row {
	display: flex;
	flex-wrap: wrap;
	gap: 14px 18px;
}

.filters__row--features {
	align-items: center;
	border-top: 1px solid var(--line);
	margin-top: 14px;
	padding-top: 14px;
}

.filters__field {
	display: flex;
	flex-direction: column;
	gap: 4px;
	margin: 0;
	min-width: 150px;
}

.filters__field label {
	color: var(--muted);
	font-size: .78rem;
	font-weight: 700;
	letter-spacing: .04em;
	text-transform: uppercase;
}

.filters select {
	background: var(--paper);
	border: 1px solid var(--line);
	border-radius: 8px;
	font: inherit;
	font-size: .9rem;
	padding: 8px 10px;
}

.filters__legend {
	color: var(--muted);
	font-size: .78rem;
	font-weight: 700;
	letter-spacing: .04em;
	text-transform: uppercase;
}

.filters__check {
	align-items: center;
	display: inline-flex;
	font-size: .9rem;
	gap: 6px;
}

.filters__reset {
	color: var(--muted);
	font-size: .86rem;
}

/* -------------------------------------------------------------------------
   16. Single review
   ---------------------------------------------------------------------- */

.review__hero {
	background: var(--mist);
	border-bottom: 1px solid var(--line);
	padding: 34px 0;
}

.review__hero-inner {
	align-items: center;
	display: grid;
	gap: 32px;
	grid-template-columns: minmax(0, 1fr) 360px;
}

.review__identity {
	align-items: flex-start;
	display: flex;
	gap: 20px;
}

.cvd-logo--hero {
	background: var(--paper);
}

.review__title {
	margin-bottom: .3em;
}

.review__byline {
	color: var(--muted);
	font-size: .88rem;
	margin: 0 0 12px;
}

.review__badges {
	display: flex;
	flex-wrap: wrap;
	gap: 6px;
	list-style: none;
	margin: 0;
	padding: 0;
}

.review__badges li {
	background: var(--paper);
	border: 1px solid var(--line);
	border-radius: 999px;
	color: var(--ink);
	font-size: .8rem;
	font-weight: 600;
	padding: 4px 11px;
}

.review__verdict-card {
	background: var(--paper);
	border: 1px solid var(--line);
	border-radius: var(--radius-lg);
	box-shadow: var(--shadow-md);
	padding: 20px;
}

.review__score {
	align-items: center;
	display: flex;
	gap: 12px;
	margin-bottom: 12px;
}

.review__score-label {
	font-family: var(--serif);
	font-size: 1.15rem;
	font-weight: 700;
}

.review__players {
	margin: 0 0 12px;
}

.review__verdict {
	font-size: .95rem;
	margin: 0 0 14px;
}

.review__bonus {
	background: var(--jade-wash);
	border-radius: var(--radius);
	margin: 0 0 14px;
	padding: 12px 14px;
}

.review__bonus-label {
	color: var(--jade-dark);
	display: block;
	font-size: .76rem;
	font-weight: 700;
	letter-spacing: .05em;
	text-transform: uppercase;
}

.review__bonus strong {
	color: var(--ink);
	font-family: var(--serif);
	font-size: 1.05rem;
}

.review__cta {
	margin: 0 0 10px;
}

.review__disclosure {
	color: var(--muted);
	font-size: .76rem;
	margin: 0;
}

.review__facts-strip {
	background: var(--ink);
	color: #dfe6ef;
}

.review__facts-strip dl {
	display: grid;
	gap: 0;
	grid-template-columns: repeat(auto-fit, minmax(150px, 1fr));
	margin: 0;
}

.review__facts-strip dl > div {
	border-right: 1px solid var(--ink-line);
	padding: 14px 16px;
}

.review__facts-strip dl > div:last-child {
	border-right: 0;
}

.review__facts-strip dt {
	color: #93a4bb;
	font-size: .76rem;
	letter-spacing: .05em;
	text-transform: uppercase;
}

.review__facts-strip dd {
	color: #fff;
	font-family: var(--serif);
	font-size: 1.02rem;
	margin: 2px 0 0;
}

.review__body {
	display: grid;
	gap: 40px;
	grid-template-columns: minmax(0, 1fr) 320px;
	padding: 36px 16px 56px;
}

.review__main {
	min-width: 0;
}

.review__jump {
	border-bottom: 1px solid var(--line);
	display: flex;
	flex-wrap: wrap;
	gap: 6px 18px;
	margin-bottom: 28px;
	padding-bottom: 12px;
}

.review__jump a {
	color: var(--muted);
	font-size: .88rem;
	font-weight: 600;
	text-decoration: none;
}

.review__jump a:hover {
	color: var(--ink);
	text-decoration: underline;
}

.proscons,
.scorecard,
.factsheet,
.review__content,
.player-reviews {
	margin-bottom: 40px;
}

.proscons__grid {
	display: grid;
	gap: 16px;
	grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
}

.proscons__col {
	border: 1px solid var(--line);
	border-radius: var(--radius-lg);
	padding: 18px;
}

.proscons__col h3 {
	font-size: 1.05rem;
	margin-bottom: .6em;
}

.proscons__col ul {
	list-style: none;
	margin: 0;
	padding: 0;
}

.proscons__col li {
	padding-left: 26px;
	position: relative;
}

.proscons__col li + li {
	margin-top: 8px;
}

.proscons__col--pro {
	background: var(--jade-wash);
	border-color: rgba(13, 155, 116, .25);
}

.proscons__col--pro li::before {
	color: var(--jade-dark);
	content: "✔";
	font-weight: 700;
	left: 0;
	position: absolute;
}

.proscons__col--con {
	background: var(--rose-wash);
	border-color: rgba(207, 68, 54, .22);
}

.proscons__col--con li::before {
	color: var(--rose);
	content: "✖";
	font-weight: 700;
	left: 0;
	position: absolute;
}

.scorecard__intro {
	color: var(--muted);
}

.scorecard__list {
	list-style: none;
	margin: 0;
	padding: 0;
}

.scorecard__row {
	align-items: center;
	border-bottom: 1px solid var(--line);
	display: grid;
	gap: 16px;
	grid-template-columns: minmax(150px, 240px) 1fr 44px;
	padding: 11px 0;
}

.scorecard__row:last-child {
	border-bottom: 0;
}

.scorecard__label {
	font-weight: 600;
}

.scorecard__weight {
	color: var(--muted);
	font-size: .78rem;
	font-weight: 600;
	margin-left: 6px;
}

.scorecard__bar {
	background: var(--mist-deep);
	border-radius: 999px;
	display: block;
	height: 9px;
	overflow: hidden;
}

.scorecard__fill {
	border-radius: 999px;
	display: block;
	height: 100%;
}

.scorecard__fill--high { background: var(--jade); }
.scorecard__fill--mid { background: var(--amber); }
.scorecard__fill--low { background: var(--rose); }

.scorecard__value {
	font-family: var(--serif);
	font-weight: 700;
	text-align: right;
}

.entry-content h2 {
	margin-top: 1.8em;
}

.entry-content h3 {
	margin-top: 1.5em;
}

.entry-content > *:first-child {
	margin-top: 0;
}

.entry-content ul,
.entry-content ol {
	padding-left: 22px;
}

.entry-content blockquote {
	border-left: 3px solid var(--jade);
	color: var(--muted);
	font-style: italic;
	margin: 1.4rem 0;
	padding: 2px 0 2px 18px;
}

.factsheet__table {
	border: 1px solid var(--line);
	border-radius: var(--radius);
	font-size: .94rem;
	overflow: hidden;
}

.factsheet__table th,
.factsheet__table td {
	border-bottom: 1px solid var(--line);
	padding: 11px 14px;
	text-align: left;
}

.factsheet__table tr:last-child th,
.factsheet__table tr:last-child td {
	border-bottom: 0;
}

.factsheet__table th {
	background: var(--mist);
	color: var(--muted);
	font-family: var(--sans);
	font-size: .85rem;
	font-weight: 700;
	width: 36%;
}

.chips {
	margin-bottom: 18px;
}

.chips__title {
	font-family: var(--sans);
	font-size: .82rem;
	font-weight: 700;
	letter-spacing: .05em;
	margin-bottom: 8px;
	text-transform: uppercase;
	color: var(--muted);
}

.chips__list {
	display: flex;
	flex-wrap: wrap;
	gap: 6px;
	list-style: none;
	margin: 0;
	padding: 0;
}

.chips__list a,
.chips__list span {
	background: var(--mist);
	border: 1px solid var(--line);
	border-radius: 7px;
	display: inline-block;
	font-size: .86rem;
	padding: 5px 11px;
	text-decoration: none;
}

.chips__list a {
	color: var(--ink);
}

.chips__list a:hover {
	background: var(--paper);
	border-color: var(--jade);
	color: var(--jade-dark);
}

.bonus-box {
	margin: 24px 0;
}

.bonus-box__title {
	font-size: 1.05rem;
}

.factsheet__restrictions {
	background: var(--amber-wash);
	border-radius: var(--radius);
	font-size: .9rem;
	padding: 12px 14px;
}

/* -------------------------------------------------------------------------
   17. Aside cards
   ---------------------------------------------------------------------- */

.review__aside,
.layout__aside {
	display: grid;
	gap: 18px;
	align-content: start;
}

.aside-card,
.widget {
	background: var(--paper);
	border: 1px solid var(--line);
	border-radius: var(--radius-lg);
	padding: 18px;
}

.aside-card__title,
.widget__title {
	font-size: 1.02rem;
	margin-bottom: .7em;
}

.aside-card--note {
	background: var(--mist);
}

.aside-card p {
	font-size: .9rem;
}

.aside-card__score {
	margin-bottom: 12px;
}

.aside-card__list {
	list-style: none;
	margin: 0 0 16px;
	padding: 0;
}

.aside-card__list li {
	border-bottom: 1px solid var(--line);
	display: flex;
	font-size: .9rem;
	gap: 10px;
	justify-content: space-between;
	padding: 8px 0;
}

.aside-card__list li:last-child {
	border-bottom: 0;
}

.aside-card__list span {
	color: var(--muted);
}

.aside-casinos {
	list-style: none;
	margin: 0 0 14px;
	padding: 0;
}

.aside-casinos li {
	align-items: center;
	border-bottom: 1px solid var(--line);
	display: flex;
	gap: 10px;
	justify-content: space-between;
	padding: 9px 0;
}

.aside-casinos li:last-child {
	border-bottom: 0;
}

.aside-casinos a {
	color: var(--ink);
	font-weight: 600;
	text-decoration: none;
}

.aside-casinos a:hover {
	color: var(--jade-dark);
	text-decoration: underline;
}

.aside-casinos--ranked {
	counter-reset: aside;
}

.aside-casinos--ranked li {
	counter-increment: aside;
}

.aside-casinos--ranked a::before {
	color: var(--muted);
	content: counter(aside) ". ";
	font-family: var(--serif);
}

.widget ul {
	list-style: none;
	margin: 0;
	padding: 0;
}

.widget li {
	border-bottom: 1px solid var(--line);
	padding: 7px 0;
}

.widget li:last-child {
	border-bottom: 0;
}

/* -------------------------------------------------------------------------
   18. Articles
   ---------------------------------------------------------------------- */

.article__head {
	margin-bottom: 24px;
}

.article__meta {
	color: var(--muted);
	font-size: .86rem;
}

.article__lead {
	color: var(--muted);
	font-size: 1.08rem;
}

.article__figure {
	margin: 0 0 26px;
}

.article__figure img {
	border-radius: var(--radius-lg);
}

.article__tags {
	border-top: 1px solid var(--line);
	color: var(--muted);
	font-size: .86rem;
	padding-top: 14px;
}

.post-list {
	display: grid;
	gap: 18px;
}

.post-row {
	border-bottom: 1px solid var(--line);
	display: grid;
	gap: 20px;
	grid-template-columns: 220px minmax(0, 1fr);
	padding-bottom: 18px;
}

.post-row:not(:has(.post-row__thumb)) {
	grid-template-columns: minmax(0, 1fr);
}

.post-row--casino {
	grid-template-columns: minmax(0, 1fr) auto;
}

.post-row__thumb img {
	border-radius: var(--radius);
}

.post-row__meta {
	color: var(--muted);
	font-size: .82rem;
	margin: 0 0 6px;
}

.post-row__title {
	font-size: 1.3rem;
	margin: 0 0 8px;
}

.post-row__title a {
	color: var(--ink);
	text-decoration: none;
}

.post-row__title a:hover {
	text-decoration: underline;
}

.post-row__excerpt {
	color: var(--muted);
	margin-bottom: 8px;
}

.post-row__more a {
	font-size: .9rem;
	font-weight: 600;
}

.post-nav {
	border-top: 1px solid var(--line);
	display: flex;
	gap: 20px;
	justify-content: space-between;
	margin: 30px 0;
	padding-top: 16px;
}

.post-nav__next {
	margin-left: auto;
	text-align: right;
}

.navigation.pagination {
	margin-top: 28px;
}

.nav-links {
	display: flex;
	flex-wrap: wrap;
	gap: 6px;
}

.page-numbers {
	border: 1px solid var(--line);
	border-radius: 8px;
	color: var(--ink);
	display: inline-block;
	font-size: .9rem;
	font-weight: 600;
	padding: 8px 13px;
	text-decoration: none;
}

.page-numbers:hover {
	background: var(--mist);
}

.page-numbers.current {
	background: var(--ink);
	border-color: var(--ink);
	color: #fff;
}

/* -------------------------------------------------------------------------
   19. Player reviews
   ---------------------------------------------------------------------- */

.comment-list {
	list-style: none;
	margin: 0 0 28px;
	padding: 0;
}

.comment-list .children {
	list-style: none;
	margin: 12px 0 0 28px;
	padding: 0;
}

.player-review {
	margin-bottom: 14px;
}

.player-review__body {
	background: var(--paper);
	border: 1px solid var(--line);
	border-radius: var(--radius-lg);
	padding: 16px 18px;
}

.player-review__head {
	align-items: center;
	display: flex;
	flex-wrap: wrap;
	gap: 10px;
	margin-bottom: 10px;
}

.player-review__img {
	border-radius: 50%;
	display: block;
}

.cvt-avatar {
	align-items: center;
	background: var(--mist-deep);
	border: 1px solid var(--line);
	border-radius: 50%;
	color: var(--muted);
	display: inline-flex;
	font-family: var(--serif);
	font-size: 1.05rem;
	font-weight: 700;
	justify-content: center;
}

.player-review__meta {
	display: flex;
	flex-direction: column;
	line-height: 1.3;
}

.player-review__author {
	font-size: .96rem;
}

.player-review__meta time {
	color: var(--muted);
	font-size: .8rem;
}

.player-review__rating {
	margin-left: auto;
}

.player-review__text p:last-child {
	margin-bottom: 0;
}

.player-review__pending {
	color: var(--amber);
	font-size: .85rem;
}

.player-review__foot {
	font-size: .85rem;
	margin-top: 8px;
}

.comments__empty,
.comments__closed {
	background: var(--mist);
	border-radius: var(--radius);
	color: var(--muted);
	padding: 16px 18px;
}

.comment-respond {
	background: var(--mist);
	border: 1px solid var(--line);
	border-radius: var(--radius-lg);
	margin-top: 24px;
	padding: 22px;
}

.comment-notes,
.comment-form-cookies-consent label {
	color: var(--muted);
	font-size: .88rem;
}

.comment-form p {
	margin-bottom: 14px;
}

.comment-form label {
	display: block;
	font-size: .86rem;
	font-weight: 600;
	margin-bottom: 4px;
}

.comment-form input[type="text"],
.comment-form input[type="email"],
.comment-form input[type="url"],
.comment-form textarea {
	background: var(--paper);
	border: 1px solid var(--line);
	border-radius: 8px;
	font: inherit;
	padding: 10px 12px;
	width: 100%;
}

.comment-form textarea {
	resize: vertical;
}

.comment-form input:focus,
.comment-form textarea:focus {
	border-color: var(--jade);
	outline: 2px solid rgba(13, 155, 116, .2);
	outline-offset: 0;
}

.comment-form-cookies-consent {
	align-items: center;
	display: flex;
	gap: 8px;
}

.comment-form-cookies-consent label {
	margin: 0;
}

.cvd-rating-field {
	align-items: center;
	display: flex;
	flex-wrap: wrap;
	gap: 10px;
}

.cvd-rating-field > label {
	margin: 0;
}

.cvd-rating-stars {
	direction: rtl;
	display: inline-flex;
	gap: 2px;
}

.cvd-rating-stars input {
	position: absolute;
	opacity: 0;
	pointer-events: none;
}

.cvd-rating-stars label {
	color: #d3d9e3;
	cursor: pointer;
	font-size: 1.6rem;
	line-height: 1;
	margin: 0;
	transition: color .1s ease;
}

.cvd-rating-stars label:hover,
.cvd-rating-stars label:hover ~ label,
.cvd-rating-stars input:checked ~ label {
	color: var(--amber);
}

.cvd-rating-stars input:focus-visible + label {
	outline: 2px solid var(--jade);
	outline-offset: 2px;
}

/* -------------------------------------------------------------------------
   20. Footer
   ---------------------------------------------------------------------- */

.site-footer {
	background: var(--ink);
	color: #b9c5d6;
	font-size: .92rem;
	margin-top: 10px;
	padding: 46px 0 28px;
}

.site-footer__grid {
	display: grid;
	gap: 36px;
	grid-template-columns: minmax(0, 1.6fr) minmax(0, 1fr) minmax(0, 1.4fr);
}

.brand__link--footer {
	color: #fff;
	margin-bottom: 12px;
}

.site-footer__tagline {
	color: #93a4bb;
}

.site-footer__disclosure {
	border-top: 1px solid var(--ink-line);
	font-size: .84rem;
	padding-top: 14px;
}

.site-footer__disclosure strong {
	color: #fff;
}

.site-footer__heading {
	color: #fff;
	font-size: .86rem;
	font-family: var(--sans);
	letter-spacing: .07em;
	margin-bottom: 1em;
	text-transform: uppercase;
}

.site-footer__list,
.site-footer ul {
	list-style: none;
	margin: 0;
	padding: 0;
}

.site-footer__list li,
.site-footer .widget li {
	border-bottom: 1px solid var(--ink-line);
	padding: 7px 0;
}

.site-footer a {
	color: #cbd6e4;
	text-decoration: none;
}

.site-footer a:hover {
	color: #fff;
	text-decoration: underline;
}

.site-footer .widget {
	background: transparent;
	border: 0;
	padding: 0;
}

.site-footer .widget__title {
	color: #fff;
	font-size: .86rem;
	font-family: var(--sans);
	letter-spacing: .07em;
	text-transform: uppercase;
}

.site-footer__note {
	color: #93a4bb;
	font-size: .86rem;
}

.site-footer__bottom {
	align-items: center;
	border-top: 1px solid var(--ink-line);
	display: flex;
	flex-wrap: wrap;
	gap: 10px 24px;
	justify-content: space-between;
	margin-top: 34px;
	padding-top: 18px;
}

.site-footer__bottom p {
	margin: 0;
	font-size: .84rem;
}

/* -------------------------------------------------------------------------
   21. Responsive
   ---------------------------------------------------------------------- */

@media (max-width: 1080px) {
	.cvd-toplist__item {
		grid-template-columns: 30px 100px minmax(0, 1fr) 100px;
		grid-template-areas:
			"rank logo body score"
			"actions actions actions actions";
	}

	.cvd-toplist__rank { grid-area: rank; }
	.cvd-toplist__item > .cvd-logo { grid-area: logo; }
	.cvd-toplist__body { grid-area: body; }
	.cvd-toplist__score { grid-area: score; }

	.cvd-toplist__actions {
		grid-area: actions;
		grid-template-columns: 1fr 1fr;
	}

	.layout,
	.review__body,
	.review__hero-inner,
	.method,
	.hero__inner {
		grid-template-columns: minmax(0, 1fr);
	}

	.site-footer__grid {
		grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
	}

	.hero__facts {
		display: grid;
		gap: 0;
		grid-template-columns: repeat(auto-fit, minmax(190px, 1fr));
	}
}

@media (max-width: 860px) {
	.nav-toggle {
		display: block;
		order: 3;
	}

	.primary-nav {
		display: none;
		flex-basis: 100%;
		flex-direction: column;
		align-items: stretch;
		gap: 12px;
		padding-bottom: 16px;
	}

	.primary-nav.is-open {
		display: flex;
	}

	.masthead__inner {
		flex-wrap: wrap;
	}

	.primary-nav__list {
		flex-direction: column;
		gap: 0;
	}

	.primary-nav__list li {
		border-bottom: 1px solid var(--line);
	}

	.primary-nav__list .sub-menu {
		border: 0;
		box-shadow: none;
		display: block;
		padding: 0 0 0 14px;
		position: static;
	}

	.searchform input[type="search"] {
		max-width: none;
		width: 100%;
	}

	.review__identity {
		flex-direction: column;
	}

	.post-row {
		grid-template-columns: minmax(0, 1fr);
	}

	.scorecard__row,
	.method__weights li {
		grid-template-columns: minmax(0, 1fr) 44px;
		grid-template-areas:
			"label value"
			"bar bar";
		gap: 6px 12px;
	}

	.scorecard__label,
	.method__label { grid-area: label; }
	.scorecard__value,
	.method__value { grid-area: value; }
	.scorecard__bar,
	.method__bar { grid-area: bar; }
}

@media (max-width: 640px) {
	.cvd-toplist__item {
		grid-template-columns: 28px minmax(0, 1fr) auto;
		grid-template-areas:
			"rank logo score"
			"body body body"
			"actions actions actions";
		gap: 12px;
	}

	.cvd-logo {
		height: 56px;
		width: 96px;
	}

	.cvd-logo--hero {
		height: 72px;
		width: 120px;
	}

	.hero {
		padding: 38px 0 34px;
	}

	.section {
		padding: 38px 0;
	}

	.site-footer__grid {
		grid-template-columns: minmax(0, 1fr);
	}

	.cvd-table {
		min-width: 0;
	}

	.cvd-table thead {
		display: none;
	}

	.cvd-table tbody tr {
		border-bottom: 1px solid var(--line);
		display: block;
		padding: 12px 0;
	}

	.cvd-table tbody th,
	.cvd-table tbody td {
		border: 0;
		display: flex;
		gap: 12px;
		justify-content: space-between;
		padding: 5px 16px;
	}

	.cvd-table tbody td::before {
		color: var(--muted);
		content: attr(data-label);
		font-size: .8rem;
		font-weight: 700;
		letter-spacing: .04em;
		text-transform: uppercase;
	}

	.review__facts-strip dl > div {
		border-bottom: 1px solid var(--ink-line);
		border-right: 0;
	}
}

@media (prefers-reduced-motion: reduce) {
	* {
		transition: none !important;
	}
}
