/*
 * CasinoBonuses.io theme stylesheet.
 * Deep green + gold system, Jost self-hosted, cbn- prefix throughout.
 */

/* ---------- Fonts ---------- */

@font-face {
	font-family: "Jost";
	font-style: normal;
	font-weight: 400;
	font-display: swap;
	src: url("../fonts/jost-400.woff2") format("woff2");
}
@font-face {
	font-family: "Jost";
	font-style: normal;
	font-weight: 500;
	font-display: swap;
	src: url("../fonts/jost-500.woff2") format("woff2");
}
@font-face {
	font-family: "Jost";
	font-style: normal;
	font-weight: 600;
	font-display: swap;
	src: url("../fonts/jost-600.woff2") format("woff2");
}
@font-face {
	font-family: "Jost";
	font-style: normal;
	font-weight: 700;
	font-display: swap;
	src: url("../fonts/jost-700.woff2") format("woff2");
}

/* ---------- Tokens ---------- */

:root {
	/* Plugin bridge: cb-bonuses reads these. */
	--cbio-primary: #074C3E;
	--cbio-accent: #FCB650;
	--cbio-ink: #222E48;
	--cbio-body: #404A60;
	--cbio-radius: 12px;
	--cbio-shadow: 0 6px 30px rgba(0, 0, 0, .04);

	/* Theme palette. */
	--cbn-primary: #074C3E;
	--cbn-primary-deep: #03211B;
	--cbn-gold: #FCB650;
	--cbn-blue: #2C6AC8;
	--cbn-grad: linear-gradient(90deg, #074C3E 0%, #FCB650 100%);
	--cbn-grad-rev: linear-gradient(90deg, #FCB650 0%, #074C3E 100%);

	--cbn-n0: #FFFFFF;
	--cbn-n10: #FAFAFB;
	--cbn-n20: #F5F6F7;
	--cbn-n30: #EBECEF;
	--cbn-n40: #DFE0E4;
	--cbn-n50: #C1C4CC;
	--cbn-n300: #798090;
	--cbn-n400: #5B6477;
	--cbn-n500: #404A60;
	--cbn-n600: #222E48;
	--cbn-n700: #13203B;

	--cbn-ink: #222E48;
	--cbn-body: #404A60;

	--cbn-radius-sm: 5px;
	--cbn-radius: 12px;
	--cbn-shadow: 0 6px 30px rgba(0, 0, 0, .04);
	--cbn-shadow-hover: 0 6px 30px rgba(0, 0, 0, .08);
	--cbn-border: 1px solid rgba(7, 76, 62, .10);

	--cbn-font: "Jost", "Segoe UI", "Helvetica Neue", Arial, sans-serif;
	--cbn-ease: cubic-bezier(.4, 0, .2, 1);
}

/* ---------- Base ---------- */

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

html {
	scroll-behavior: smooth;
	scroll-padding-top: 96px;
}

body {
	margin: 0;
	font-family: var(--cbn-font);
	font-size: 16px;
	line-height: 1.5;
	color: var(--cbn-body);
	background: var(--cbn-n0);
	-webkit-font-smoothing: antialiased;
}

h1, h2, h3, h4, h5, h6 {
	margin: 0 0 .5em;
	color: var(--cbn-ink);
	line-height: 1.2;
	font-weight: 600;
}

p {
	margin: 0 0 1em;
}

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

a {
	color: var(--cbn-primary);
	text-decoration: none;
	transition: color .25s var(--cbn-ease);
}

a:hover {
	color: var(--cbn-blue);
}

ul, ol {
	margin: 0 0 1em;
	padding-left: 1.25em;
}

.cbn-container {
	max-width: 1200px;
	margin: 0 auto;
	padding: 0 20px;
}

.cbn-section {
	padding: clamp(30px, 4.5vw, 52px) 0;
}

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

.cbn-skip-link {
	position: absolute;
	left: -9999px;
	top: 0;
	z-index: 200;
	padding: 12px 20px;
	background: var(--cbn-primary);
	color: var(--cbn-n0);
	border-radius: 0 0 var(--cbn-radius-sm) 0;
}

.cbn-skip-link:focus {
	left: 0;
	color: var(--cbn-n0);
}

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

.cbn-btn {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	gap: 8px;
	width: max-content;
	padding: 14px 28px;
	border: 1px solid transparent;
	border-radius: 32px;
	background: var(--cbn-primary);
	color: var(--cbn-n0);
	font-family: var(--cbn-font);
	font-size: 16px;
	font-weight: 600;
	line-height: 1.2;
	cursor: pointer;
	transition: background-color .3s var(--cbn-ease), color .3s var(--cbn-ease), border-color .3s var(--cbn-ease);
}

.cbn-btn:hover,
.cbn-btn:focus-visible {
	background: var(--cbn-gold);
	color: var(--cbn-n700);
}

.cbn-btn--alt {
	background: transparent;
	border-color: var(--cbn-primary);
	color: var(--cbn-primary);
}

.cbn-btn--alt:hover,
.cbn-btn--alt:focus-visible {
	background: var(--cbn-primary);
	border-color: var(--cbn-primary);
	color: var(--cbn-n0);
}

.cbn-btn--ghost {
	background: transparent;
	border-color: var(--cbn-gold);
	color: var(--cbn-gold);
}

.cbn-btn--ghost:hover,
.cbn-btn--ghost:focus-visible {
	background: var(--cbn-gold);
	color: var(--cbn-n700);
}

.cbn-btn-icon {
	flex: none;
	transition: transform .25s var(--cbn-ease);
}

.cbn-btn:hover .cbn-btn-icon,
.cbn-btn:focus-visible .cbn-btn-icon,
.cbn-textlink:hover .cbn-btn-icon {
	transform: translate(3px, -3px);
}

.cbn-btn-group {
	display: flex;
	flex-wrap: wrap;
	gap: 16px;
	margin-top: 36px;
}

.cbn-textlink {
	display: inline-flex;
	align-items: center;
	gap: 6px;
	font-weight: 600;
	color: var(--cbn-primary);
}

/* ---------- Eyebrow + section header ---------- */

.cbn-eyebrow {
	display: inline-flex;
	align-items: center;
	gap: 8px;
	padding: 6px 14px;
	border-radius: 32px;
	border: var(--cbn-border);
	background: rgba(7, 76, 62, .05);
	color: var(--cbn-primary);
	font-size: 14px;
	font-weight: 600;
	letter-spacing: .04em;
	text-transform: uppercase;
}

.cbn-eyebrow svg {
	color: var(--cbn-gold);
}

.cbn-section-head {
	max-width: 640px;
	margin: 0 auto clamp(16px, 2.5vw, 26px);
	text-align: center;
}

.cbn-section-head .cbn-eyebrow {
	margin-bottom: 16px;
}

.cbn-section-title {
	font-size: clamp(1.5rem, 2.8vw, 2.05rem);
	font-weight: 700;
}

.cbn-section-text {
	color: var(--cbn-n400);
	margin-bottom: 0;
}

.cbn-section-cta {
	margin-top: 40px;
	text-align: center;
}

.cbn-section-cta .cbn-btn {
	margin: 0 auto;
}

/* ---------- Topbar + header ---------- */

.cbn-topbar {
	background: var(--cbn-primary-deep);
	color: var(--cbn-n30);
}

.cbn-topbar-text {
	margin: 0;
	padding: 7px 0;
	font-size: 13px;
	text-align: center;
	letter-spacing: .02em;
}

.cbn-header {
	position: sticky;
	top: 0;
	z-index: 100;
	background: var(--cbn-n0);
	border-bottom: var(--cbn-border);
	box-shadow: var(--cbn-shadow);
}

.cbn-header-inner {
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 18px;
	min-height: 76px;
	position: relative;
}

.cbn-brand {
	display: inline-flex;
	align-items: center;
	flex: none;
}

.cbn-brand-word {
	font-size: 1.4rem;
	font-weight: 700;
	color: var(--cbn-primary);
	letter-spacing: -.01em;
}

.cbn-brand-tld {
	color: var(--cbn-gold);
}

.cbn-brand--footer .cbn-brand-word {
	color: var(--cbn-n0);
}

.cbn-nav {
	display: flex;
	align-items: center;
	gap: 28px;
}

.cbn-nav-list {
	display: flex;
	align-items: center;
	gap: 26px;
	margin: 0;
	padding: 0;
	list-style: none;
}

.cbn-nav-list a {
	display: inline-block;
	padding: 6px 0;
	color: var(--cbn-n600);
	font-weight: 500;
	background-image: linear-gradient(90deg, var(--cbn-gold), var(--cbn-gold));
	background-repeat: no-repeat;
	background-size: 0% 2px;
	background-position: left calc(100% - 2px);
	transition: background-size .3s var(--cbn-ease), color .25s var(--cbn-ease);
}

.cbn-nav-list a:hover,
.cbn-nav-list a:focus-visible,
.cbn-nav-list .current-menu-item > a {
	color: var(--cbn-primary);
	background-size: 100% 2px;
}

.cbn-nav-cta {
	padding: 10px 22px;
	font-size: 15px;
}

.cbn-nav-toggle {
	display: none;
}

.cbn-nav-burger {
	display: none;
	flex-direction: column;
	justify-content: center;
	gap: 5px;
	width: 44px;
	height: 44px;
	padding: 10px;
	border: var(--cbn-border);
	border-radius: var(--cbn-radius-sm);
	cursor: pointer;
}

.cbn-nav-burger-bar {
	display: block;
	height: 2px;
	width: 100%;
	background: var(--cbn-primary);
	border-radius: 2px;
}

/* ---------- Hero ---------- */

.cbn-hero {
	background:
		radial-gradient(720px 380px at 85% 8%, rgba(252, 182, 80, .16), transparent 60%),
		radial-gradient(560px 420px at 8% 96%, rgba(44, 106, 200, .12), transparent 55%),
		linear-gradient(160deg, var(--cbn-primary) 0%, var(--cbn-primary-deep) 78%);
	color: var(--cbn-n10);
	padding: clamp(36px, 5vw, 60px) 0;
	overflow: hidden;
}

.cbn-hero-grid {
	display: grid;
	grid-template-columns: minmax(0, 7fr) minmax(0, 5fr);
	gap: clamp(22px, 3vw, 40px);
	align-items: center;
}

.cbn-eyebrow--hero {
	border-color: rgba(252, 182, 80, .35);
	background: rgba(252, 182, 80, .08);
	color: var(--cbn-gold);
	margin-bottom: 20px;
}

.cbn-hero-title {
	font-size: clamp(2.2rem, 5vw, 3.75rem);
	font-weight: 700;
	color: var(--cbn-n0);
	margin-bottom: .4em;
}

.cbn-hero-text {
	font-size: 1.125rem;
	color: var(--cbn-n30);
	max-width: 34em;
}

.cbn-hero-visual {
	position: relative;
	display: flex;
	justify-content: center;
}

.cbn-mascot--hero {
	position: absolute;
	bottom: -22px;
	left: -64px;
	width: clamp(104px, 11vw, 148px);
	z-index: 2;
	filter: drop-shadow(0 10px 24px rgba(0, 0, 0, .28));
}

.cbn-hero-card {
	width: min(360px, 100%);
	background: var(--cbn-n0);
	border-radius: var(--cbn-radius);
	border: var(--cbn-border);
	box-shadow: 0 24px 60px rgba(0, 0, 0, .22);
	padding: 24px;
	color: var(--cbn-body);
}

.cbn-hero-card-label {
	font-size: 13px;
	font-weight: 600;
	letter-spacing: .05em;
	text-transform: uppercase;
	color: var(--cbn-n300);
}

.cbn-hero-card-score {
	display: flex;
	align-items: center;
	gap: 18px;
	padding: 14px 0 18px;
	border-bottom: 1px solid var(--cbn-n30);
}

.cbn-hero-card-rows {
	list-style: none;
	margin: 14px 0 0;
	padding: 0;
}

.cbn-hero-card-rows li {
	display: flex;
	justify-content: space-between;
	gap: 12px;
	padding: 7px 0;
	font-size: 15px;
}

.cbn-hero-card-rows span {
	color: var(--cbn-n400);
}

.cbn-hero-card-rows strong {
	color: var(--cbn-ink);
	font-weight: 600;
}

.cbn-hero-card-flag strong {
	color: #A94438;
}

/* ---------- Score dial + grade ---------- */

.cbn-dial {
	--cbn-score: 0;
	position: relative;
	width: 92px;
	height: 92px;
	border-radius: 50%;
	background: conic-gradient(var(--cbn-primary) calc(var(--cbn-score) * 1%), var(--cbn-n30) 0);
	display: flex;
	flex-direction: column;
	align-items: center;
	justify-content: center;
	flex: none;
}

.cbn-dial::before {
	content: "";
	position: absolute;
	inset: 8px;
	border-radius: 50%;
	background: var(--cbn-n0);
}

.cbn-dial-num {
	position: relative;
	font-size: 1.65rem;
	font-weight: 700;
	color: var(--cbn-ink);
	line-height: 1;
}

.cbn-dial-cap {
	position: relative;
	font-size: 11px;
	color: var(--cbn-n300);
	letter-spacing: .03em;
}

.cbn-grade {
	display: inline-flex;
	flex-direction: column;
	align-items: center;
	gap: 2px;
	min-width: 64px;
	padding: 10px 16px;
	border-radius: var(--cbn-radius);
	font-size: 1.5rem;
	font-weight: 700;
	line-height: 1;
}

.cbn-grade-label {
	font-size: 11px;
	font-weight: 600;
	letter-spacing: .06em;
	text-transform: uppercase;
	opacity: .75;
}

.cbn-grade--a { background: rgba(7, 76, 62, .10); color: var(--cbn-primary); }
.cbn-grade--b { background: rgba(44, 106, 200, .12); color: var(--cbn-blue); }
.cbn-grade--c { background: rgba(252, 182, 80, .18); color: #8A5A12; }
.cbn-grade--d { background: rgba(169, 68, 56, .12); color: #A94438; }
.cbn-grade--f { background: rgba(169, 68, 56, .18); color: #8B2F24; }

/* ---------- Logo marquee ---------- */

.cbn-logostrip {
	padding: 16px 0;
	background: var(--cbn-n10);
	border-bottom: var(--cbn-border);
}

.cbn-marquee {
	overflow: hidden;
	-webkit-mask-image: linear-gradient(90deg, transparent, #000 8%, #000 92%, transparent);
	mask-image: linear-gradient(90deg, transparent, #000 8%, #000 92%, transparent);
}

.cbn-marquee-track {
	display: flex;
	width: max-content;
	animation: cbn-marquee 32s linear infinite;
}

.cbn-marquee-group {
	display: flex;
	align-items: center;
	gap: 26px;
	padding: 0 28px;
	margin: 0;
	list-style: none;
}

.cbn-marquee-item {
	flex: none;
	display: flex;
	align-items: center;
	justify-content: center;
	min-width: 120px;
	filter: grayscale(1);
	opacity: .75;
	transition: filter .3s var(--cbn-ease), opacity .3s var(--cbn-ease);
}

.cbn-marquee-item:hover {
	filter: none;
	opacity: 1;
}

@keyframes cbn-marquee {
	to { transform: translateX(-50%); }
}

/* ---------- Why choose (numbered rail) ---------- */

.cbn-why-rail {
	list-style: none;
	margin: 0;
	padding: 0;
	max-width: 880px;
	margin-inline: auto;
	counter-reset: cbn-why;
}

.cbn-why-row {
	display: flex;
	align-items: flex-start;
	gap: 18px;
	padding: 28px 28px 28px 0;
	border-bottom: 1px solid var(--cbn-n30);
}

.cbn-why-row:last-child {
	border-bottom: 0;
}

.cbn-why-row--offset {
	margin-left: clamp(0px, 6vw, 72px);
	border-left: 3px solid var(--cbn-gold);
	padding-left: 25px;
}

.cbn-why-num {
	font-size: clamp(1.9rem, 3vw, 2.6rem);
	font-weight: 700;
	line-height: 1;
	color: transparent;
	-webkit-text-stroke: 1.5px var(--cbn-n50);
	flex: none;
	padding-top: 4px;
}

.cbn-why-icon {
	flex: none;
	display: flex;
	align-items: center;
	justify-content: center;
	width: 64px;
	height: 64px;
	border-radius: 50%;
	background: rgba(7, 76, 62, .06);
	color: var(--cbn-primary);
}

.cbn-why-title {
	font-size: 1.25rem;
	margin-bottom: .35em;
}

.cbn-why-body p {
	margin: 0;
	color: var(--cbn-n400);
}

/* ---------- How it works ---------- */

.cbn-how {
	background: var(--cbn-n10);
}

.cbn-steps {
	list-style: none;
	margin: 0;
	padding: 0;
	display: grid;
	grid-template-columns: repeat(4, minmax(0, 1fr));
	gap: 18px;
}

.cbn-step {
	background: var(--cbn-n0);
	border: var(--cbn-border);
	border-radius: var(--cbn-radius);
	box-shadow: var(--cbn-shadow);
	padding: 28px 24px;
	text-align: center;
	transition: box-shadow .3s var(--cbn-ease);
}

.cbn-step:hover {
	box-shadow: var(--cbn-shadow-hover);
}

.cbn-step-icon {
	position: relative;
	display: inline-flex;
	align-items: center;
	justify-content: center;
	width: 84px;
	height: 84px;
	border-radius: 50%;
	background: var(--cbn-n0);
	border: 1px solid var(--cbn-n40);
	color: var(--cbn-primary);
	margin-bottom: 18px;
}

.cbn-step-num {
	position: absolute;
	top: -6px;
	right: -6px;
	display: flex;
	align-items: center;
	justify-content: center;
	width: 28px;
	height: 28px;
	border-radius: 50%;
	background: var(--cbn-grad);
	color: var(--cbn-n0);
	font-size: 14px;
	font-weight: 700;
}

.cbn-step-title {
	font-size: 1.1rem;
	margin-bottom: .4em;
}

.cbn-step p {
	margin: 0;
	font-size: 15px;
	color: var(--cbn-n400);
}

/* ---------- Stat counters ---------- */

.cbn-stats {
	background:
		radial-gradient(640px 300px at 90% 0%, rgba(252, 182, 80, .14), transparent 60%),
		var(--cbn-primary);
	color: var(--cbn-n0);
	padding: clamp(48px, 7vw, 84px) 0;
}

.cbn-stats-row {
	display: grid;
	grid-template-columns: repeat(4, minmax(0, 1fr));
	gap: 32px 24px;
	text-align: center;
}

.cbn-stat-num {
	display: block;
	font-size: clamp(2.1rem, 4vw, 3rem);
	font-weight: 700;
	color: var(--cbn-gold);
	line-height: 1.1;
	font-variant-numeric: tabular-nums;
}

.cbn-stat-label {
	display: block;
	margin-top: 6px;
	color: var(--cbn-n30);
	font-size: 15px;
}

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

.cbn-calc-wrap {
	max-width: 720px;
	margin: 0 auto;
	background: var(--cbn-n10);
	border: var(--cbn-border);
	border-radius: var(--cbn-radius);
	box-shadow: var(--cbn-shadow);
	padding: clamp(16px, 2.5vw, 26px);
}

/* ---------- Guide cards ---------- */

.cbn-card {
	background: var(--cbn-n0);
	border: var(--cbn-border);
	border-radius: var(--cbn-radius);
	box-shadow: var(--cbn-shadow);
	transition: box-shadow .3s var(--cbn-ease);
}

.cbn-card:hover {
	box-shadow: var(--cbn-shadow-hover);
}

.cbn-guides-grid {
	display: grid;
	grid-template-columns: repeat(3, minmax(0, 1fr));
	gap: 18px;
}

.cbn-guide-card {
	display: flex;
	flex-direction: column;
	overflow: hidden;
}

.cbn-guide-card-media {
	display: block;
	aspect-ratio: 16 / 9;
	background: var(--cbn-n20);
}

.cbn-guide-card-media img {
	width: 100%;
	height: 100%;
	object-fit: cover;
	display: block;
}

.cbn-guide-card-placeholder {
	display: flex;
	align-items: center;
	justify-content: center;
	width: 100%;
	height: 100%;
	color: var(--cbn-primary);
	background:
		radial-gradient(340px 160px at 80% 10%, rgba(252, 182, 80, .22), transparent 60%),
		rgba(7, 76, 62, .07);
}

.cbn-guide-card-body {
	display: flex;
	flex-direction: column;
	align-items: flex-start;
	gap: 10px;
	padding: 22px;
	flex: 1;
}

.cbn-tag {
	display: inline-block;
	padding: 3px 12px;
	border-radius: 32px;
	background: rgba(44, 106, 200, .10);
	color: var(--cbn-blue);
	font-size: 13px;
	font-weight: 600;
	letter-spacing: .03em;
	text-transform: uppercase;
}

.cbn-guide-card-title {
	font-size: 1.15rem;
	margin: 0;
}

.cbn-guide-card-title a {
	color: var(--cbn-ink);
}

.cbn-guide-card-title a:hover {
	color: var(--cbn-primary);
}

.cbn-guide-card-excerpt {
	margin: 0;
	font-size: 15px;
	color: var(--cbn-n400);
}

.cbn-guide-card .cbn-textlink {
	margin-top: auto;
}

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

.cbn-faq {
	background: var(--cbn-n10);
}

.cbn-faq-list {
	max-width: 760px;
	margin: 0 auto;
	display: grid;
	gap: 14px;
}

.cbn-faq-item {
	background: var(--cbn-n0);
	border: var(--cbn-border);
	border-radius: var(--cbn-radius);
	box-shadow: var(--cbn-shadow);
	overflow: hidden;
}

.cbn-faq-summary {
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 16px;
	padding: 18px 22px;
	cursor: pointer;
	list-style: none;
}

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

.cbn-faq-q {
	margin: 0;
	font-size: 1.05rem;
	font-weight: 600;
	line-height: 1.35;
	color: var(--cbn-ink);
}

.cbn-faq-marker {
	position: relative;
	flex: none;
	width: 28px;
	height: 28px;
	border-radius: 50%;
	background: rgba(7, 76, 62, .07);
}

.cbn-faq-marker::before,
.cbn-faq-marker::after {
	content: "";
	position: absolute;
	top: 50%;
	left: 50%;
	width: 12px;
	height: 2px;
	background: var(--cbn-primary);
	transform: translate(-50%, -50%);
	transition: transform .25s var(--cbn-ease);
}

.cbn-faq-marker::after {
	transform: translate(-50%, -50%) rotate(90deg);
}

.cbn-faq-item[open] .cbn-faq-marker::after {
	transform: translate(-50%, -50%) rotate(0deg);
}

.cbn-faq-a {
	padding: 0 22px 20px;
	color: var(--cbn-n400);
}

.cbn-faq-a p:last-child {
	margin-bottom: 0;
}

/* ---------- Page heroes, breadcrumbs, filters ---------- */

.cbn-page-hero {
	background:
		radial-gradient(600px 280px at 92% 0%, rgba(252, 182, 80, .10), transparent 60%),
		var(--cbn-n10);
	border-bottom: var(--cbn-border);
	padding: clamp(24px, 3.5vw, 40px) 0;
}

.cbn-page-title {
	font-size: clamp(1.9rem, 4vw, 2.9rem);
	font-weight: 700;
	margin-bottom: .3em;
}

.cbn-page-intro {
	max-width: 46em;
	color: var(--cbn-n400);
	font-size: 1.06rem;
	margin-bottom: 0;
}

.cbn-breadcrumbs {
	font-size: 14px;
	color: var(--cbn-n300);
	margin-bottom: 14px;
}

.cbn-breadcrumbs a {
	color: var(--cbn-n400);
}

.cbn-breadcrumbs a:hover {
	color: var(--cbn-primary);
}

.cbn-filters {
	display: flex;
	flex-direction: column;
	gap: 14px;
	margin: 20px 0;
}

.cbn-filter-group {
	display: flex;
	align-items: baseline;
	flex-wrap: wrap;
	gap: 10px;
}

.cbn-filter-label {
	font-weight: 600;
	color: var(--cbn-ink);
	font-size: 15px;
	min-width: 92px;
}

.cbn-filter-list {
	display: flex;
	flex-wrap: wrap;
	gap: 8px;
	margin: 0;
	padding: 0;
	list-style: none;
}

.cbn-filter-pill {
	display: inline-block;
	padding: 6px 16px;
	border-radius: 32px;
	border: var(--cbn-border);
	background: var(--cbn-n0);
	color: var(--cbn-n500);
	font-size: 14px;
	font-weight: 500;
	transition: background-color .25s var(--cbn-ease), color .25s var(--cbn-ease);
}

.cbn-filter-pill:hover,
.cbn-filter-pill.is-current {
	background: var(--cbn-primary);
	color: var(--cbn-n0);
}

/* ---------- Bonus rows (theme fallback ranking) ---------- */

.cbn-bonus-rows {
	display: grid;
	gap: 18px;
	margin-bottom: 48px;
}

.cbn-bonus-row {
	display: grid;
	grid-template-columns: auto minmax(0, 1fr) auto auto;
	align-items: center;
	gap: 22px;
	padding: 20px 24px;
}

.cbn-logo-chip {
	display: flex;
	align-items: center;
	justify-content: center;
	width: 132px;
	height: 76px;
	flex: none;
	background: var(--cbn-n10);
	border: 1px solid var(--cbn-n30);
	border-radius: var(--cbn-radius-sm);
	overflow: hidden;
}

.cbn-logo-chip img {
	max-width: 112px;
	max-height: 60px;
	width: auto;
	height: auto;
	object-fit: contain;
}

.cbn-logo-chip-fallback {
	font-size: 1.8rem;
	font-weight: 700;
	color: var(--cbn-primary);
}

.cbn-bonus-row-title {
	font-size: 1.15rem;
	margin: 0 0 8px;
}

.cbn-bonus-row-title a {
	color: var(--cbn-ink);
}

.cbn-bonus-row-title a:hover {
	color: var(--cbn-primary);
}

.cbn-bonus-row-score {
	display: flex;
	align-items: center;
	gap: 14px;
}

.cbn-facts {
	display: flex;
	flex-wrap: wrap;
	gap: 8px 18px;
	margin: 0;
	padding: 0;
	list-style: none;
}

.cbn-fact {
	display: flex;
	flex-direction: column;
	gap: 1px;
}

.cbn-fact-label {
	font-size: 12px;
	letter-spacing: .05em;
	text-transform: uppercase;
	color: var(--cbn-n300);
}

.cbn-fact-value {
	font-weight: 600;
	color: var(--cbn-ink);
	font-size: 15px;
}

.cbn-empty {
	max-width: 640px;
	margin: 0 auto;
	text-align: center;
	color: var(--cbn-n400);
	background: var(--cbn-n10);
	border: var(--cbn-border);
	border-radius: var(--cbn-radius);
	padding: 20px;
}

/* ---------- Bonus review single ---------- */

.cbn-review-hero {
	background:
		radial-gradient(600px 280px at 92% 0%, rgba(252, 182, 80, .10), transparent 60%),
		var(--cbn-n10);
	border-bottom: var(--cbn-border);
	padding: clamp(24px, 3.5vw, 40px) 0;
}

.cbn-review-head {
	display: flex;
	align-items: center;
	flex-wrap: wrap;
	gap: 18px;
	margin-bottom: 24px;
}

.cbn-review-head-main {
	flex: 1;
	min-width: 240px;
}

.cbn-review-title {
	font-size: clamp(1.7rem, 3.6vw, 2.6rem);
	font-weight: 700;
	margin-bottom: .2em;
}

.cbn-review-casino {
	margin: 0;
	color: var(--cbn-n400);
}

.cbn-review-score {
	display: flex;
	align-items: center;
	gap: 16px;
}

.cbn-review-body {
	padding: clamp(22px, 3.5vw, 36px) 20px;
}

.cbn-review-gotchas {
	margin-bottom: 40px;
}

.cbn-compare-cta {
	margin-top: 56px;
	padding: clamp(18px, 3vw, 30px);
	border-radius: var(--cbn-radius);
	background:
		radial-gradient(520px 240px at 88% 0%, rgba(252, 182, 80, .18), transparent 60%),
		var(--cbn-primary);
	color: var(--cbn-n10);
	text-align: center;
}

.cbn-compare-cta-title {
	color: var(--cbn-n0);
	font-size: 1.5rem;
}

.cbn-compare-cta p {
	color: var(--cbn-n30);
	max-width: 40em;
	margin: 0 auto 20px;
}

.cbn-compare-cta .cbn-btn {
	background: var(--cbn-gold);
	color: var(--cbn-n700);
	margin: 0 auto;
}

.cbn-compare-cta .cbn-btn:hover,
.cbn-compare-cta .cbn-btn:focus-visible {
	background: var(--cbn-n0);
	color: var(--cbn-primary);
}

/* ---------- Prose (guides, pages, reviews) ---------- */

.cbn-prose {
	max-width: 70ch;
	margin: 0 auto;
	font-size: 1.06rem;
	line-height: 1.65;
}

.cbn-prose--guide {
	padding: clamp(24px, 3.5vw, 40px) 0;
}

.cbn-prose h2 {
	font-size: 1.6rem;
	margin-top: 1.6em;
}

.cbn-prose h3 {
	font-size: 1.25rem;
	margin-top: 1.4em;
}

.cbn-prose img {
	border-radius: var(--cbn-radius);
}

.cbn-prose a {
	text-decoration: underline;
	text-underline-offset: 2px;
}

.cbn-prose blockquote {
	margin: 1.4em 0;
	padding: 12px 22px;
	border-left: 3px solid var(--cbn-gold);
	background: var(--cbn-n10);
	border-radius: 0 var(--cbn-radius-sm) var(--cbn-radius-sm) 0;
	color: var(--cbn-n500);
}

.cbn-prose table {
	width: 100%;
	border-collapse: collapse;
	margin: 1.4em 0;
	font-size: .96em;
}

.cbn-prose th,
.cbn-prose td {
	border: 1px solid var(--cbn-n30);
	padding: 10px 14px;
	text-align: left;
}

.cbn-prose th {
	background: var(--cbn-n10);
	color: var(--cbn-ink);
}

/* ---------- Guide hero extras ---------- */

.cbn-guide-hero-inner {
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 22px;
}

.cbn-guide-meta {
	color: var(--cbn-n300);
	font-size: 14px;
	margin: 0;
}

.cbn-mascot--guide {
	width: clamp(90px, 10vw, 140px);
	flex: none;
}

.cbn-related {
	background: var(--cbn-n10);
}

.cbn-related-title {
	text-align: center;
	font-size: 1.6rem;
	margin-bottom: 36px;
}

/* ---------- 404 ---------- */

.cbn-404-inner {
	max-width: 640px;
	text-align: center;
	padding-top: clamp(56px, 8vw, 96px);
	padding-bottom: clamp(56px, 8vw, 96px);
}

.cbn-mascot--404 {
	width: clamp(110px, 14vw, 170px);
	margin-bottom: 16px;
}

.cbn-404-code {
	font-size: clamp(3.4rem, 9vw, 5.5rem);
	font-weight: 700;
	line-height: 1;
	margin: 0 0 8px;
	background: var(--cbn-grad);
	-webkit-background-clip: text;
	background-clip: text;
	color: transparent;
}

.cbn-404-title {
	font-size: clamp(1.6rem, 3.4vw, 2.2rem);
}

.cbn-404-text {
	color: var(--cbn-n400);
}

.cbn-404-search {
	max-width: 440px;
	margin: 28px auto;
}

.cbn-404-links {
	display: flex;
	justify-content: center;
	flex-wrap: wrap;
	gap: 14px;
	margin: 0;
	padding: 0;
	list-style: none;
}

/* ---------- Search form ---------- */

.cbn-searchform {
	display: flex;
	gap: 10px;
}

.cbn-searchform-input {
	flex: 1;
	min-width: 0;
	padding: 12px 18px;
	border: 1px solid var(--cbn-n40);
	border-radius: 32px;
	font-family: var(--cbn-font);
	font-size: 16px;
	color: var(--cbn-ink);
	background: var(--cbn-n0);
}

.cbn-searchform-input:focus {
	outline: 2px solid var(--cbn-primary);
	outline-offset: 1px;
	border-color: var(--cbn-primary);
}

.cbn-searchform-submit {
	padding: 12px 22px;
}

/* ---------- Pagination ---------- */

.cbn-front .navigation,
.navigation.pagination {
	margin: 26px 0 40px;
	text-align: center;
}

.nav-links {
	display: flex;
	justify-content: center;
	flex-wrap: wrap;
	gap: 8px;
}

.nav-links .page-numbers {
	display: inline-flex;
	align-items: center;
	min-height: 40px;
	padding: 6px 16px;
	border: var(--cbn-border);
	border-radius: 32px;
	color: var(--cbn-n500);
	font-weight: 500;
}

.nav-links .page-numbers.current,
.nav-links .page-numbers:hover {
	background: var(--cbn-primary);
	color: var(--cbn-n0);
}

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

.cbn-footer {
	background:
		radial-gradient(680px 320px at 90% 0%, rgba(252, 182, 80, .07), transparent 60%),
		var(--cbn-primary-deep);
	color: var(--cbn-n30);
	margin-top: 0;
}

.cbn-footer a {
	color: var(--cbn-n30);
}

.cbn-footer a:hover {
	color: var(--cbn-gold);
}

.cbn-footer-grid {
	display: grid;
	grid-template-columns: 1.4fr 1fr 1.2fr 1.2fr;
	gap: 26px;
	padding: clamp(26px, 4vw, 44px) 0;
}

.cbn-footer-about p {
	margin: 16px 0 0;
	font-size: 15px;
	color: var(--cbn-n50);
}

.cbn-footer-title {
	color: var(--cbn-n0);
	font-size: 1.05rem;
	letter-spacing: .03em;
	text-transform: uppercase;
	margin-bottom: 18px;
}

.cbn-footer-list {
	list-style: none;
	margin: 0;
	padding: 0;
	display: grid;
	gap: 10px;
	font-size: 15px;
}

.cbn-footer-note {
	font-size: 15px;
	color: var(--cbn-n50);
	margin: 0;
}

.cbn-footer-strip {
	border-top: 1px solid rgba(255, 255, 255, .08);
	padding: 24px 0 28px;
	font-size: 14px;
}

.cbn-footer-rg {
	color: var(--cbn-gold);
	font-weight: 500;
	margin-bottom: 6px;
}

.cbn-footer-disclosure {
	color: var(--cbn-n50);
	margin-bottom: 6px;
}

.cbn-footer-copy {
	color: var(--cbn-n50);
	margin: 0;
}

/* ---------- Responsive ---------- */

@media (max-width: 1023px) {
	.cbn-nav-burger {
		display: flex;
	}

	.cbn-nav {
		position: absolute;
		top: 100%;
		left: 0;
		right: 0;
		display: none;
		flex-direction: column;
		align-items: stretch;
		gap: 12px;
		background: var(--cbn-n0);
		border-bottom: var(--cbn-border);
		box-shadow: var(--cbn-shadow-hover);
		padding: 18px 20px 24px;
	}

	.cbn-nav-toggle:checked ~ .cbn-nav {
		display: flex;
	}

	.cbn-nav-list {
		flex-direction: column;
		align-items: stretch;
		gap: 4px;
	}

	.cbn-nav-list a {
		display: block;
		padding: 10px 4px;
	}

	.cbn-nav-cta {
		width: 100%;
	}

	.cbn-hero-grid {
		grid-template-columns: 1fr;
	}

	.cbn-hero-visual {
		justify-content: flex-start;
	}

	.cbn-mascot--hero {
		left: auto;
		right: -18px;
	}

	.cbn-steps {
		grid-template-columns: repeat(2, minmax(0, 1fr));
	}

	.cbn-stats-row {
		grid-template-columns: repeat(2, minmax(0, 1fr));
	}

	.cbn-guides-grid {
		grid-template-columns: repeat(2, minmax(0, 1fr));
	}

	.cbn-footer-grid {
		grid-template-columns: repeat(2, minmax(0, 1fr));
	}

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

	.cbn-bonus-row-score {
		grid-column: 1 / -1;
	}

	.cbn-bonus-row-cta {
		grid-column: 1 / -1;
		justify-self: start;
	}
}

@media (max-width: 639px) {
	.cbn-steps,
	.cbn-guides-grid,
	.cbn-footer-grid,
	.cbn-stats-row {
		grid-template-columns: 1fr;
	}

	.cbn-why-row {
		flex-wrap: wrap;
		padding-right: 0;
	}

	.cbn-why-row--offset {
		margin-left: 0;
	}

	.cbn-guide-hero-inner {
		flex-direction: column;
		align-items: flex-start;
	}

	.cbn-review-head {
		align-items: flex-start;
	}

	.cbn-searchform {
		flex-direction: column;
	}

	.cbn-searchform-submit {
		width: 100%;
	}
}

/* ---------- Reduced motion ---------- */

@media (prefers-reduced-motion: reduce) {
	html {
		scroll-behavior: auto;
	}

	*,
	*::before,
	*::after {
		animation-duration: .01ms !important;
		animation-iteration-count: 1 !important;
		transition-duration: .01ms !important;
	}

	.cbn-marquee-track {
		animation: none;
		flex-wrap: wrap;
		width: auto;
	}

	.cbn-marquee-group[aria-hidden="true"] {
		display: none;
	}
}

/* ---- Fine print ribbon (replaces the numbered why-rail) ---- */
.cbn-fineprint {
	padding-top: 0;
}

.cbn-fineprint-ribbon {
	position: relative;
	display: flex;
	align-items: center;
	gap: 22px;
	background: linear-gradient(90deg, #074C3E 0%, #3d7050 55%, #FCB650 130%);
	border-radius: 12px;
	padding: 22px 30px;
	color: #ffffff;
	overflow: hidden;
	box-shadow: 0 6px 30px rgba(7, 76, 62, 0.25);
}

.cbn-fineprint-ribbon::before {
	content: "";
	position: absolute;
	inset: 8px;
	border: 1px dashed rgba(255, 255, 255, 0.25);
	border-radius: 8px;
	pointer-events: none;
}

.cbn-fineprint-copy {
	flex: 1 1 auto;
	position: relative;
}

.cbn-fineprint-badge {
	display: inline-block;
	background: rgba(252, 182, 80, 0.18);
	border: 1px solid rgba(252, 182, 80, 0.55);
	color: #FCB650;
	font-size: 0.78rem;
	font-weight: 600;
	letter-spacing: 0.08em;
	text-transform: uppercase;
	border-radius: 999px;
	padding: 5px 14px;
	margin-bottom: 12px;
}

.cbn-fineprint-title {
	color: #ffffff;
	font-size: clamp(1.4rem, 3vw, 2rem);
	line-height: 1.2;
	margin: 0 0 8px;
}

.cbn-fineprint-text {
	color: rgba(255, 255, 255, 0.85);
	max-width: 60ch;
	margin: 0;
}

.cbn-fineprint-mascot {
	flex: 0 0 auto;
	width: 130px;
	height: auto;
	margin-bottom: -34px;
	filter: drop-shadow(0 6px 12px rgba(0, 0, 0, 0.25));
}

@media (max-width: 720px) {
	.cbn-fineprint-ribbon {
		flex-direction: column;
		text-align: center;
		padding: 28px 22px;
	}

	.cbn-fineprint-mascot {
		width: 96px;
		margin-bottom: -34px;
	}
}

/* ---- Public bonus checker section ---- */
.cbn-checker-wrap {
	position: relative;
	max-width: 820px;
	margin: 0 auto;
}

.cbn-checker-mascot {
	position: absolute;
	top: -58px;
	right: -30px;
	width: clamp(84px, 9vw, 118px);
	z-index: 2;
	transform: rotate(8deg);
	filter: drop-shadow(0 8px 18px rgba(0, 0, 0, 0.22));
}

@media (max-width: 960px) {
	.cbn-checker-mascot {
		display: none;
	}
}

/* ---- Guide hero featured illustration ---- */
.cbn-guide-hero-art {
	flex: 0 0 auto;
	width: min(300px, 36vw);
	height: auto;
	border-radius: 10px;
	border: var(--cbn-border);
	box-shadow: var(--cbn-shadow);
}

@media (max-width: 720px) {
	.cbn-guide-hero-art {
		width: 100%;
		max-width: 360px;
	}
}

/* ---- Tools band: checker + calculator side by side ---- */
.cbn-tools {
	background:
		radial-gradient(560px 320px at 10% 0%, rgba(252, 182, 80, .16), transparent 62%),
		radial-gradient(640px 360px at 94% 100%, rgba(7, 76, 62, .10), transparent 62%),
		linear-gradient(180deg, var(--cbn-n10) 0%, #f2f6f4 100%);
	border-top: var(--cbn-border);
	border-bottom: var(--cbn-border);
}

.cbn-tools-grid {
	display: grid;
	grid-template-columns: 1fr 1fr;
	gap: 22px;
	align-items: start;
}

.cbn-tools-col {
	position: relative;
	background: var(--cbn-n0);
	border: var(--cbn-border);
	border-radius: var(--cbn-radius);
	box-shadow: var(--cbn-shadow);
	padding: 24px 22px 22px;
	overflow: visible;
}

.cbn-tools-col::before {
	content: "";
	position: absolute;
	top: 0;
	left: 18px;
	right: 18px;
	height: 3px;
	border-radius: 0 0 3px 3px;
	background: var(--cbn-grad);
}

.cbn-tools-head {
	margin-bottom: 14px;
}

.cbn-tools-title {
	font-size: clamp(1.2rem, 1.8vw, 1.45rem);
	font-weight: 700;
	margin-bottom: 6px;
}

.cbn-tools-text {
	color: var(--cbn-n400);
	font-size: .95rem;
	margin-bottom: 0;
	max-width: 52ch;
}

/* Neutralize the standalone-section framing when nested in the tools band. */
.cbn-tools .cbn-checker-wrap,
.cbn-tools .cbn-calc-wrap {
	max-width: none;
	margin: 0;
}

.cbn-tools .cbn-calc-wrap {
	background: transparent;
	border: 0;
	box-shadow: none;
	padding: 0;
}

.cbn-tools .cbn-checker-mascot {
	top: -74px;
	right: -12px;
}

@media (max-width: 980px) {
	.cbn-tools-grid {
		grid-template-columns: 1fr;
	}
}

@media (max-width: 1120px) {
	.cbn-tools .cbn-checker-mascot {
		top: -60px;
		right: -8px;
		width: 72px;
	}
}

/* Compact fine-print ribbon inside the tools band */
.cbn-fineprint-ribbon--compact {
	margin-top: 18px;
	padding: 18px 20px;
	gap: 14px;
}

.cbn-fineprint-ribbon--compact .cbn-fineprint-title {
	font-size: 1.15rem;
	margin-bottom: 6px;
}

.cbn-fineprint-ribbon--compact .cbn-fineprint-text {
	font-size: .9rem;
}

.cbn-fineprint-ribbon--compact .cbn-fineprint-mascot {
	width: 84px;
	margin-bottom: -26px;
}

/* Keep the checker intro clear of the overlapping stopwatch mascot */
#checker .cbn-tools-head {
	padding-right: 118px;
}

@media (max-width: 720px) {
	#checker .cbn-tools-head {
		padding-right: 0;
	}
}

/* FAQ items whose summary carries no theme class (post-content FAQs on guides):
   give the bare <summary> the same treatment as .cbn-faq-summary and draw the
   plus/cross marker with a pseudo element since there is no marker span. */
.cbn-faq-item > summary:not(.cbn-faq-summary) {
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 16px;
	padding: 18px 22px;
	cursor: pointer;
	list-style: none;
}

.cbn-faq-item > summary:not(.cbn-faq-summary)::-webkit-details-marker {
	display: none;
}

.cbn-faq-item > summary:not(.cbn-faq-summary)::after {
	content: "+";
	flex: none;
	width: 28px;
	height: 28px;
	border-radius: 50%;
	background: rgba(7, 76, 62, .07);
	color: var(--cbn-primary);
	font-size: 19px;
	font-weight: 500;
	line-height: 28px;
	text-align: center;
	transition: transform .25s var(--cbn-ease);
}

.cbn-faq-item[open] > summary:not(.cbn-faq-summary)::after {
	transform: rotate(45deg);
}

@media (prefers-reduced-motion: reduce) {
	.cbn-faq-item > summary:not(.cbn-faq-summary)::after {
		transition: none;
	}
}

/* Post-content FAQ items need vertical rhythm between cards. */
.cbn-prose .cbn-faq-item,
.cbn-prose--guide .cbn-faq-item {
	margin: 0 0 12px;
}

/* Mobile: the sample score card (and its mascot) adds a screen of decoration
   before the content - hide the whole hero visual column. */
@media (max-width: 720px) {
	.cbn-hero-visual {
		display: none;
	}
}

/* SVG brand mark alignment */
.cbn-brand {
	gap: 10px;
}
.cbn-brand-mark {
	display: block;
	flex: none;
}

/* ============ Guide content blocks ============ */
/* Worked-example ledger card */
.cbn-example {
	margin: 26px 0;
	border: 1px solid rgba(7, 76, 62, .16);
	border-radius: 12px;
	background: #fff;
	box-shadow: var(--cbn-shadow);
	overflow: hidden;
}
.cbn-example__head {
	display: flex;
	align-items: center;
	gap: 9px;
	padding: 11px 20px;
	color: var(--cbn-primary);
	font-weight: 700;
	font-size: .95rem;
	letter-spacing: .01em;
	background: rgba(7, 76, 62, .06);
	border-bottom: 1px dashed rgba(7, 76, 62, .28);
}
.cbn-example__body {
	padding: 16px 20px 6px;
}
.cbn-example__body p { margin: 0 0 12px; }
.cbn-example__body strong { color: var(--cbn-ink); }
.cbn-example__body :is(ul, ol) { margin: 0 0 12px; }
.cbn-example__body code,
.cbn-example__body .cbn-num {
	font-variant-numeric: tabular-nums;
	font-weight: 700;
	color: var(--cbn-primary);
}

/* Key takeaway panel */
.cbn-takeaway {
	display: flex;
	gap: 16px;
	align-items: flex-start;
	margin: 26px 0;
	padding: 18px 22px;
	border-radius: 12px;
	background: linear-gradient(120deg, rgba(7, 76, 62, .08), rgba(252, 182, 80, .10));
	border: 1px solid rgba(7, 76, 62, .14);
}
.cbn-takeaway__badge { flex: none; color: var(--cbn-primary); line-height: 0; margin-top: 2px; }
.cbn-takeaway__label {
	display: block;
	font-size: .78rem;
	font-weight: 700;
	letter-spacing: .08em;
	text-transform: uppercase;
	color: var(--cbn-primary);
	margin-bottom: 4px;
}
.cbn-takeaway__body p { margin: 0; color: var(--cbn-ink); }

/* Topic figures */
.cbn-figure {
	margin: 24px 0;
	padding: 18px;
	border: var(--cbn-border);
	border-radius: 12px;
	background: var(--cbn-n10);
}
.cbn-figure svg { display: block; width: 100%; height: auto; }
.cbn-figure__cap {
	margin-top: 10px;
	text-align: center;
	font-size: .85rem;
	color: var(--cbn-n400);
}

/* Inline inner-link chip row */
.cbn-guide-links {
	margin: 26px 0;
	padding: 16px 20px;
	border-radius: 12px;
	border: var(--cbn-border);
	background: #fff;
}
.cbn-guide-links__label {
	display: block;
	font-size: .78rem;
	font-weight: 700;
	letter-spacing: .06em;
	text-transform: uppercase;
	color: var(--cbn-n400);
	margin-bottom: 10px;
}
.cbn-guide-links a {
	display: inline-flex;
	align-items: center;
	gap: 6px;
	margin: 0 8px 8px 0;
	padding: 7px 14px;
	border-radius: 999px;
	background: rgba(7, 76, 62, .06);
	color: var(--cbn-primary);
	font-weight: 600;
	font-size: .9rem;
	transition: background-color .2s var(--cbn-ease);
}
.cbn-guide-links a:hover { background: rgba(252, 182, 80, .28); }
