/*
 * Site chrome: header, hero, containers, offer bar, footer.
 * Tokens come from content.css defaults + inline html:root overrides.
 */

.fp-container {
	max-width: var(--fp-container);
	margin-inline: auto;
	padding-inline: clamp(1.1rem, 4vw, 2rem);
}

/* Content frame: hard geometry on the container (pasted CSS cannot escape). */
.fp-container-page {
	max-width: var(--fp-content);
	margin-inline: auto;
	padding-inline: clamp(1.1rem, 4vw, 2rem);
	padding-block: 0.5rem 3rem;
	overflow-x: clip;
}

.fp-container-page--narrow {
	max-width: var(--fp-narrow);
}

.skip-link {
	position: absolute;
	left: -9999px;
}

.skip-link:focus {
	left: 1rem;
	top: 1rem;
	z-index: 200;
	background: var(--fp-card);
	padding: 0.5rem 1rem;
}

/* --- Header --- */

.fp-header {
	background: var(--fp-chrome);
	color: var(--fp-chrome-text);
	border-bottom: 3px solid var(--fp-highlight);
}

.fp-header__inner {
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 1rem;
	min-height: 68px;
	padding-block: 0.5rem;
}

.fp-header__brand .custom-logo {
	display: block;
	max-height: 44px;
	max-width: 220px;
	width: auto;
	height: auto;
	object-fit: contain;
}

.fp-header__name {
	font-family: var(--fp-font-heading);
	font-size: 1.3rem;
	font-weight: 700;
	color: inherit;
	text-decoration: none;
}

.fp-nav {
	overflow-x: auto;
	scrollbar-width: none;
	padding: 4px;
	margin: -4px;
}

.fp-menu {
	display: flex;
	gap: 0.35rem;
	list-style: none;
	margin: 0;
	padding: 0;
	white-space: nowrap;
}

.fp-menu a {
	display: inline-block;
	padding: 0.4em 0.95em;
	border-radius: 8px;
	color: inherit;
	text-decoration: none;
	background: rgba(128, 128, 128, 0.16);
	border: 1px solid rgba(128, 128, 128, 0.3);
	transition: background-color 0.15s ease, border-color 0.15s ease;
}

@supports (color: color-mix(in oklab, #000, #fff)) {
	.fp-menu a {
		background: color-mix(in oklab, currentColor 9%, transparent);
		border-color: color-mix(in oklab, currentColor 24%, transparent);
	}
}

.fp-menu a:hover {
	background: rgba(128, 128, 128, 0.3);
}

@supports (color: color-mix(in oklab, #000, #fff)) {
	.fp-menu a:hover {
		background: color-mix(in oklab, currentColor 18%, transparent);
	}
}

.fp-menu .current-menu-item > a,
.fp-menu .current_page_item > a {
	background: var(--fp-highlight);
	border-color: var(--fp-highlight);
	color: var(--fp-chrome);
}

.fp-header__actions {
	display: flex;
	align-items: center;
	gap: 0.6rem;
}

.fp-search-toggle {
	display: grid;
	place-items: center;
	width: 2.3rem;
	height: 2.3rem;
	border: 1px solid rgba(128, 128, 128, 0.35);
	border-radius: 8px;
	background: transparent;
	color: inherit;
	cursor: pointer;
}

.fp-btn--login {
	background: var(--fp-highlight);
	color: var(--fp-chrome);
	padding: 0.55em 1.2em;
}

.fp-burger {
	display: none;
	flex-direction: column;
	gap: 4px;
	background: transparent;
	border: 0;
	padding: 6px;
	cursor: pointer;
}

.fp-burger span {
	width: 22px;
	height: 2px;
	background: currentColor;
	color: inherit;
	transition: transform 0.2s ease, opacity 0.2s ease;
}

@media (max-width: 860px) {
	.fp-burger {
		display: flex;
	}

	.fp-nav {
		display: none;
		position: absolute;
		left: 0;
		right: 0;
		top: 100%;
		background: var(--fp-chrome);
		border-bottom: 3px solid var(--fp-highlight);
		padding: 0.75rem clamp(1.1rem, 4vw, 2rem) 1rem;
		z-index: 90;
	}

	.fp-header {
		position: relative;
	}

	.fp-nav.is-open {
		display: block;
	}

	.fp-menu {
		flex-direction: column;
		white-space: normal;
	}
}

/* --- Search modal --- */

.fp-search {
	position: fixed;
	inset: 0;
	z-index: 120;
	display: grid;
	place-items: start center;
	padding: 15vh 1rem 0;
}

.fp-search[hidden] {
	display: none;
}

.fp-search__backdrop {
	position: absolute;
	inset: 0;
	background: rgba(20, 18, 12, 0.55);
}

.fp-search__dialog {
	position: relative;
	width: 100%;
	max-width: 34rem;
	background: var(--fp-card);
	border-radius: var(--fp-radius);
	box-shadow: var(--fp-shadow);
	padding: 1.25rem 1.5rem;
}

.fp-search__dialog form {
	display: flex;
	gap: 0.6rem;
}

.fp-search__dialog input[type='search'] {
	flex: 1;
	border: 1px solid var(--fp-line);
	border-radius: 8px;
	padding: 0.6em 0.9em;
	font: inherit;
}

.fp-search__close {
	position: absolute;
	top: 0.4rem;
	right: 0.55rem;
	border: 0;
	background: transparent;
	font-size: 1.3rem;
	cursor: pointer;
	color: var(--fp-muted);
}

/* --- Hero --- */

.fp-hero {
	background:
		radial-gradient(70% 100% at 15% 0%, color-mix(in oklab, var(--fp-accent) 12%, var(--fp-paper)) 0%, transparent 60%),
		var(--fp-paper);
	border-bottom: 1px solid var(--fp-line);
}

.fp-hero--image {
	background-size: cover;
	background-position: center;
	position: relative;
}

.fp-hero--image::before {
	content: '';
	position: absolute;
	inset: 0;
	background: rgba(20, 18, 12, 0.55);
}

.fp-hero--image .fp-hero__inner {
	position: relative;
	color: #fff;
}

.fp-hero__inner {
	padding-block: clamp(2.2rem, 6vw, 4rem);
	max-width: var(--fp-container);
}

.fp-hero__kicker {
	margin: 0 0 0.9rem;
	font-weight: 700;
	font-size: 0.95rem;
	letter-spacing: 0.04em;
	text-transform: uppercase;
	color: var(--fp-accent);
}

.fp-hero--image .fp-hero__kicker {
	color: var(--fp-highlight);
}

/* Marquee opt-in: fade ONLY when the kicker actually scrolls. */
.fp-hero__kicker.fp-marquee,
.fp-hero__kicker:has(.fp-marquee) {
	overflow: hidden;
	white-space: nowrap;
	-webkit-mask-image: linear-gradient(90deg, transparent, #000 8%, #000 92%, transparent);
	mask-image: linear-gradient(90deg, transparent, #000 8%, #000 92%, transparent);
}

.fp-hero__title {
	margin: 0 0 0.5rem;
	max-width: 24ch;
	font-size: clamp(2.1rem, 5vw, 3.2rem);
}

.fp-hero__lead {
	margin: 0 0 1.75rem;
	max-width: 52ch;
	font-size: 1.15rem;
	color: var(--fp-muted);
}

.fp-hero--image .fp-hero__lead {
	color: rgba(255, 255, 255, 0.85);
}

/* CTA cards: white plates, icon + text + arrow chip. */
.fp-hero__cards {
	display: flex;
	flex-wrap: wrap;
	gap: 1rem;
}

.fp-card-cta {
	display: flex;
	align-items: center;
	gap: 0.9rem;
	min-width: 15rem;
	background: var(--fp-card);
	color: var(--fp-ink);
	text-decoration: none;
	border: 1px solid var(--fp-line);
	border-radius: var(--fp-radius);
	padding: 0.9rem 1.1rem;
	font-weight: 700;
	font-size: 1.1rem;
	transition: transform 0.12s ease, box-shadow 0.12s ease;
}

.fp-card-cta:hover {
	transform: translate(-2px, -2px);
	box-shadow: var(--fp-shadow);
	color: var(--fp-ink);
}

.fp-card-cta__icon {
	display: grid;
	place-items: center;
	width: 46px;
	height: 46px;
	flex: none;
	border-radius: 10px;
	/* Fallback tint first; color-mix upgrade below (invalid values are
	   dropped per-declaration, so old engines keep the rgba tint). */
	background: rgba(43, 110, 79, 0.14);
	color: var(--fp-accent);
}

@supports (color: color-mix(in oklab, #000, #fff)) {
	.fp-card-cta__icon {
		background: color-mix(in oklab, var(--fp-accent) 14%, var(--fp-card));
	}
}

.fp-card-cta__text {
	flex: 1;
}

.fp-card-cta__arrow {
	display: grid;
	place-items: center;
	width: 38px;
	height: 38px;
	flex: none;
	border-radius: 10px;
	background: var(--fp-accent);
	color: var(--fp-on-accent);
	font-size: 1.15rem;
}

.fp-card-cta--alt .fp-card-cta__arrow {
	background: var(--fp-highlight);
	color: var(--fp-chrome);
}

/* Trust pages: compact hero. */
.fp-trust .fp-hero__inner {
	padding-block: clamp(1.6rem, 4vw, 2.6rem);
	max-width: calc(var(--fp-narrow) + 4rem);
}

.fp-trust .fp-hero__title {
	font-size: clamp(1.8rem, 4vw, 2.4rem);
}

.fp-trust .fp-card-cta {
	min-width: 0;
	padding: 0.55rem 0.9rem;
	font-size: 0.98rem;
}

.fp-trust .fp-card-cta__icon {
	width: 34px;
	height: 34px;
}

.fp-trust .fp-card-cta__arrow {
	width: 30px;
	height: 30px;
	font-size: 1rem;
}

/* --- Breadcrumbs --- */

.breadcrumbs {
	margin: 1.1rem 0 1.6rem;
	font-size: 0.88rem;
	color: var(--fp-muted);
}

.breadcrumbs a {
	color: var(--fp-accent);
	text-decoration: none;
}

.breadcrumbs a:hover {
	text-decoration: underline;
}

.breadcrumbs span[aria-hidden] {
	margin-inline: 0.35em;
	color: var(--fp-line);
}

/* --- Sticky offer bar --- */

.fp-catfish {
	position: fixed;
	inset: auto 0 0 0;
	z-index: 80;
	background: var(--fp-chrome);
	color: var(--fp-chrome-text);
	border-top: 3px solid var(--fp-highlight);
	box-shadow: 0 -8px 28px rgba(20, 18, 12, 0.28);
}

.fp-catfish[hidden] {
	display: none;
}

.fp-catfish__inner {
	display: flex;
	align-items: center;
	gap: clamp(0.75rem, 2vw, 1.5rem);
	padding-block: 0.55rem;
}

.fp-catfish__logo {
	max-height: 34px;
	width: auto;
	flex: none;
}

.fp-catfish__rating {
	flex: none;
	font-weight: 700;
}

.fp-catfish__rating span[aria-hidden] {
	color: var(--fp-highlight);
}

.fp-catfish__bonus {
	margin: 0;
	flex: 1;
	min-width: 0;
	text-align: center;
	font-size: 1.02rem;
}

.fp-catfish__cta {
	flex: none;
	white-space: nowrap;
}

.fp-catfish__close {
	flex: none;
	width: 1.8rem;
	height: 1.8rem;
	border: 0;
	border-radius: 50%;
	background: transparent;
	color: inherit;
	opacity: 0.65;
	font-size: 1.25rem;
	line-height: 1;
	cursor: pointer;
}

.fp-catfish__close:hover {
	opacity: 1;
}

body.fp-has-catfish {
	padding-bottom: 4.5rem;
}

@media (max-width: 640px) {
	.fp-catfish__inner {
		flex-wrap: wrap;
		gap: 0.45rem 0.8rem;
		padding-block: 0.5rem;
	}

	.fp-catfish__close {
		order: 1;
		margin-left: auto;
	}

	.fp-catfish__bonus {
		order: 2;
		flex-basis: 100%;
		font-size: 0.9rem;
	}

	.fp-catfish__cta {
		order: 3;
		flex-basis: 100%;
		text-align: center;
	}

	body.fp-has-catfish {
		padding-bottom: 9rem;
	}
}

/* --- Footer --- */

.fp-footer {
	background: var(--fp-chrome);
	color: var(--fp-chrome-text);
	margin-top: 2.5rem;
}

.fp-footer__grid {
	display: flex;
	flex-direction: column;
	align-items: center;
	gap: 1rem;
	padding-block: 2rem 1.5rem;
	text-align: center;
	font-size: 0.9rem;
}

.fp-footer__brand .custom-logo {
	max-height: 40px;
	width: auto;
	height: auto;
}

.fp-footer__disclaimer {
	max-width: 60rem;
	opacity: 0.82;
}

.fp-footer__disclaimer p:last-child {
	margin-bottom: 0;
}

.fp-menu--footer {
	flex-wrap: wrap;
	justify-content: center;
	gap: 0.45rem;
	white-space: normal;
}

.fp-footer__badges {
	display: flex;
	flex-wrap: wrap;
	align-items: center;
	justify-content: center;
	gap: 1rem 1.4rem;
}

.fp-footer__badge-img {
	max-height: 36px;
	width: auto;
	opacity: 0.85;
}

.fp-badge-18 {
	display: grid;
	place-items: center;
	width: 42px;
	height: 42px;
	border-radius: 50%;
	border: 2px solid var(--fp-highlight);
	color: var(--fp-highlight);
	font-weight: 700;
	font-size: 0.9rem;
}

.fp-footer__license,
.fp-footer__contacts {
	opacity: 0.7;
	font-size: 0.84rem;
	margin: 0;
}

.fp-footer__bar {
	border-top: 1px solid rgba(255, 255, 255, 0.12);
	padding-block: 0.85rem;
	font-size: 0.82rem;
	opacity: 0.75;
	text-align: center;
}
