/* ================= Kisfalucska Hero ================= */

.khero {
	--khero-burgundy: #722828;
	--khero-burgundy-deep: #5a121b;
	--khero-burgundy-ink: #2a0a0f;
	--khero-cream: #f6f1e7;
	--khero-cream-warm: #efe7d3;
	--khero-paper: #fbf8f1;
	--khero-ink: #1a1411;
	--khero-muted: rgba(255, 255, 255, 0.72);

	/* These get overridden by the inline scoped style block in the renderer. */
	--khero-serif: "Cormorant Garamond", "EB Garamond", Garamond, "Times New Roman", serif;
	--khero-sans: "Inter", "Helvetica Neue", Helvetica, Arial, sans-serif;
	--khero-header-h: 168px;
	--khero-emblem-spin: 120s;
	--khero-emblem-opacity: 0.09;
}

.khero,
.khero * {
	box-sizing: border-box;
}

.khero button {
	font-family: inherit;
	cursor: pointer;
}

.khero {
	position: relative;
	width: 100vw;
	max-width: 100vw;
	margin-left: calc(50% - 50vw);
	margin-right: calc(50% - 50vw);
	/* height + margin-top come from the per-instance inline <style> block. */
	min-height: 600px;
	overflow: hidden;
	background: #1a0d10;
	color: #fff;
	font-family: var(--khero-serif);
	-webkit-font-smoothing: antialiased;
	-moz-osx-font-smoothing: grayscale;
}

/* ============ Background slides ============ */

.khero__slides {
	position: absolute;
	inset: 0;
	z-index: 1;
}

.khero__slide {
	position: absolute;
	inset: 0;
	background-size: cover;
	background-position: center;
	opacity: 0;
	transition: opacity 1.6s cubic-bezier(0.4, 0, 0.2, 1),
				transform 8s cubic-bezier(0.4, 0, 0.2, 1);
	transform: scale(1);
	will-change: opacity, transform;
}

.khero.is-kenburns .khero__slide {
	transform: scale(1.04);
}

.khero__slide.is-active {
	opacity: 1;
}

.khero.is-kenburns .khero__slide.is-active {
	transform: scale(1);
}

/* Tinting overlays */
.khero__tint {
	position: absolute;
	inset: 0;
	z-index: 2;
	pointer-events: none;
}

.khero .khero__tint--top {
	background: linear-gradient(180deg,
		rgba(20, 8, 12, 0.55) 0%,
		rgba(20, 8, 12, 0.18) 30%,
		rgba(20, 8, 12, 0) 50%
	);
}

.khero .khero__tint--bottom {
	background: linear-gradient(0deg,
		rgba(20, 8, 12, 0.45) 0%,
		rgba(20, 8, 12, 0.08) 35%,
		rgba(20, 8, 12, 0) 55%
	);
}

/* Stronger gradient overlay (designban a default — radiális vignetta a content mögött) */
.khero[data-overlay="gradient"] .khero__tint--top {
	background: linear-gradient(180deg,
		rgba(20, 8, 12, 0.45) 0%,
		rgba(20, 8, 12, 0.12) 28%,
		rgba(20, 8, 12, 0) 50%
	);
}
.khero[data-overlay="gradient"] .khero__tint--bottom {
	background:
		radial-gradient(ellipse 68% 75% at 28% 62%,
			rgba(20, 8, 12, 0.62) 0%,
			rgba(20, 8, 12, 0.32) 38%,
			rgba(20, 8, 12, 0) 72%
		),
		linear-gradient(0deg,
			rgba(20, 8, 12, 0.78) 0%,
			rgba(20, 8, 12, 0.45) 22%,
			rgba(20, 8, 12, 0.12) 48%,
			rgba(20, 8, 12, 0) 68%
		);
}

/* ============ Rotating background emblem ============ */

.khero .khero__emblem {
	position: absolute;
	z-index: 3;
	width: min(90vh, 80vw);
	aspect-ratio: 1;
	right: -28%;
	bottom: -32%;
	opacity: var(--khero-emblem-opacity, 0.09) !important;
	pointer-events: none;
	animation: khero-emblem-spin var(--khero-emblem-spin, 120s) linear infinite;
	mix-blend-mode: screen;
}

.khero .khero__emblem img {
	width: 100%;
	height: 100%;
	display: block;
	opacity: 1 !important;
}

@keyframes khero-emblem-spin {
	from { transform: rotate(0deg); }
	to { transform: rotate(360deg); }
}

/* Ultrawide / nagyon széles képernyőn a -28% right offset túl sok pixelt tol ki a
   hero-ról (a % a hero szélességéhez van kötve, így minél szélesebb a screen,
   annál nagyobb az abszolút offset). 1500px fölött csökkentjük az offset-et,
   így az embléma látható része nem tűnik el a jobb szélről. */
@media (min-width: 1500px) {
	.khero .khero__emblem {
		right: -14%;
	}
}

/* ============ Slide content card ============ */

.khero__content {
	position: absolute;
	z-index: 5;
	left: 7%;
	top: 50%;
	transform: translateY(-58%);
	max-width: min(760px, 50%);
	width: calc(100% - 96px);
}

.khero__content-card {
	position: relative;
	padding: 0;
	color: #fff;
	transition: opacity 0.55s ease, transform 0.55s ease;
}

.khero__content-card.is-leaving {
	opacity: 0;
	transform: translateY(-8px);
}

.khero__content-card.is-entering {
	opacity: 0;
	transform: translateY(12px);
}

.khero .khero__heading,
.khero h1.khero__heading,
.khero h2.khero__heading {
	font-family: var(--khero-serif) !important;
	font-weight: 500 !important;
	font-size: var(--khero-heading-size, 88px) !important;
	line-height: 1.02 !important;
	letter-spacing: -0.015em !important;
	margin: 0 0 26px !important;
	color: #fff !important;
	text-wrap: balance;
	text-shadow: 0 2px 20px rgba(0, 0, 0, 0.45) !important;
	background: none !important;
	-webkit-text-fill-color: #fff !important;
	padding: 0 !important;
}

.khero .khero__heading em {
	font-style: italic !important;
	font-weight: 400 !important;
	color: rgba(255, 255, 255, 0.94) !important;
	-webkit-text-fill-color: rgba(255, 255, 255, 0.94) !important;
}

.khero .khero__body {
	font-family: var(--khero-serif) !important;
	font-weight: 400 !important;
	font-size: clamp(18px, 1.35vw, 23px) !important;
	line-height: 1.45 !important;
	margin: 0 !important;
	color: rgba(255, 255, 255, 0.94) !important;
	max-width: 52ch;
	text-wrap: pretty;
	text-shadow: 0 1px 12px rgba(0, 0, 0, 0.55) !important;
	-webkit-text-fill-color: rgba(255, 255, 255, 0.94) !important;
	padding: 0 !important;
	background: none !important;
}

/* ============ Slide indicators (dots) ============ */

.khero__dots {
	position: absolute;
	z-index: 6;
	bottom: 38px;
	left: 50%;
	transform: translateX(-50%);
	display: flex;
	gap: 12px;
	align-items: center;
}

.khero__dot {
	position: relative;
	width: 38px;
	height: 22px;
	padding: 0;
	background: none;
	border: 0;
	cursor: pointer;
	display: flex;
	align-items: center;
}

.khero__dot::before {
	content: "";
	display: block;
	width: 100%;
	height: 2px;
	background: rgba(255, 255, 255, 0.4);
	box-shadow: 0 1px 2px rgba(0, 0, 0, 0.4);
	transition: background 0.3s;
}

.khero__dot.is-active::before {
	background: rgba(255, 255, 255, 0.85);
}

.khero__dot.is-active::after {
	content: "";
	position: absolute;
	left: 0;
	top: 50%;
	margin-top: -1px;
	width: var(--khero-progress, 0%);
	height: 2px;
	background: var(--khero-dot-fill, #7c342f);
}

.khero__dot:hover::before {
	background: rgba(255, 255, 255, 0.6);
}

/* ============ Booking bar ============ */

.khero__booking {
	position: absolute;
	z-index: 7;
	left: 0;
	right: 0;
	bottom: 104px;
	margin-left: auto;
	margin-right: auto;
	width: min(1160px, calc(100% - 64px));
	transition: opacity 0.55s ease, transform 0.55s ease;
}

.khero__booking.is-hidden {
	opacity: 0;
	pointer-events: none;
	transform: translateY(20px);
}

.khero__booking-inner {
	display: grid;
	grid-template-columns: 1fr 1fr 1fr auto;
	gap: 0;
	background: rgba(251, 248, 241, 0.96);
	backdrop-filter: blur(16px);
	-webkit-backdrop-filter: blur(16px);
	border-radius: 4px;
	box-shadow: 0 22px 60px -18px rgba(0, 0, 0, 0.55);
	border: 1px solid rgba(122, 29, 42, 0.12);
}

.khero__booking-cell {
	position: relative;
	display: flex;
}

.khero__booking-cell:first-child .khero__field { border-radius: 4px 0 0 4px; }

.khero__field {
	position: relative;
	padding: 18px 24px;
	border-right: 1px solid rgba(122, 29, 42, 0.12);
	cursor: pointer;
	display: flex;
	align-items: center;
	gap: 16px;
	background: transparent;
	border-top: 0;
	border-bottom: 0;
	border-left: 0;
	width: 100%;
	text-align: left;
	transition: background 0.2s;
}

.khero__field:hover,
.khero__field:focus-within {
	background: rgba(122, 29, 42, 0.04);
}

.khero__field-icon {
	font-size: 22px;
	width: 28px;
	height: 28px;
	flex: 0 0 28px;
	display: inline-flex;
	align-items: center;
	justify-content: center;
	color: var(--khero-burgundy);
}

.khero__field-body {
	display: flex;
	flex-direction: column;
	gap: 2px;
	min-width: 0;
	flex: 1;
}

.khero__field-label {
	font-family: var(--khero-sans);
	font-size: 10px;
	font-weight: 600;
	letter-spacing: 0.22em;
	text-transform: uppercase;
	color: var(--khero-burgundy);
	opacity: 0.85;
}

.khero__field-value {
	font-family: var(--khero-serif);
	font-size: 22px;
	font-weight: 500;
	color: var(--khero-burgundy-ink);
	line-height: 1.1;
	letter-spacing: -0.005em;
	white-space: nowrap;
	overflow: hidden;
	text-overflow: ellipsis;
}

.khero__field-value.is-placeholder {
	color: rgba(42, 10, 15, 0.45);
	font-style: italic;
	font-weight: 400;
}

/* Hosszú formátum (desktop): "2026. május 22." vagy "4 fő" — alapból látszik. */
.khero__field-value-long { display: inline; }
/* Rövid formátum (mobil compact): "2026. máj 22." vagy "2 + 2 fő" — alapból elrejtve. */
.khero__field-value-short { display: none; }

/* Naptár hint kulcsszó kiemelés ("érkezés" / "távozás"). */
.khero__cal-hint__keyword {
	color: var(--khero-burgundy);
	font-weight: 600;
}

.khero__field-sub {
	font-family: var(--khero-sans);
	font-size: 11px;
	color: rgba(42, 10, 15, 0.55);
	letter-spacing: 0.02em;
}

.khero__field-chevron {
	font-size: 12px;
	width: 14px;
	height: 14px;
	color: var(--khero-burgundy);
	opacity: 0.55;
	flex: 0 0 14px;
	transition: transform 0.2s;
	display: inline-flex;
	align-items: center;
	justify-content: center;
}

.khero__field[aria-expanded="true"] .khero__field-chevron {
	transform: rotate(180deg);
}

.khero__cta {
	background: var(--khero-burgundy);
	color: #fff;
	border: 0;
	padding: 0 38px;
	border-radius: 0 4px 4px 0;
	font-family: var(--khero-sans);
	font-size: 13px;
	font-weight: 600;
	letter-spacing: 0.2em;
	text-transform: uppercase;
	cursor: pointer;
	display: flex;
	align-items: center;
	justify-content: center;
	gap: 14px;
	transition: background 0.2s;
	min-width: 220px;
}

.khero__cta:hover {
	background: var(--khero-burgundy-deep);
}

.khero__cta .fa-arrow-right {
	font-size: 16px;
}

/* ============ Field popovers ============ */

.khero__popover-shell {
	display: contents;
}

.khero__popover-shell[hidden] {
	display: none !important;
}

.khero__popover {
	position: absolute;
	bottom: calc(100% + 10px);
	left: 0;
	background: #fff;
	border: 1px solid rgba(122, 29, 42, 0.18);
	border-radius: 4px;
	box-shadow: 0 24px 60px -18px rgba(0, 0, 0, 0.4);
	padding: 18px;
	min-width: 320px;
	z-index: 50;
	animation: khero-pop-in 0.18s ease-out;
}

.khero__popover--guests {
	min-width: 320px;
	padding: 8px;
}

.khero__popover-backdrop {
	display: none;
}

.khero__popover-close {
	display: none;
}

@keyframes khero-pop-in {
	from { opacity: 0; transform: translateY(6px); }
	to { opacity: 1; transform: translateY(0); }
}

/* ============ Calendar ============ */

.khero__cal-head {
	display: flex;
	align-items: center;
	justify-content: space-between;
	margin-bottom: 14px;
}

.khero__cal-title {
	font-family: var(--khero-serif);
	font-size: 18px;
	font-weight: 600;
	color: var(--khero-burgundy-ink);
	letter-spacing: 0.02em;
}

.khero__cal-nav {
	background: transparent;
	border: 1px solid rgba(122, 29, 42, 0.2);
	color: var(--khero-burgundy);
	width: 30px;
	height: 30px;
	display: flex;
	align-items: center;
	justify-content: center;
	border-radius: 2px;
	cursor: pointer;
}

.khero__cal-nav:hover:not(:disabled) {
	background: rgba(122, 29, 42, 0.06);
}

.khero__cal-nav:disabled {
	opacity: 0.25;
	cursor: not-allowed;
}

.khero__cal-grid {
	display: grid;
	grid-template-columns: repeat(7, 1fr);
	gap: 2px;
}

.khero__cal-dow {
	font-family: var(--khero-sans);
	font-size: 10px;
	font-weight: 600;
	letter-spacing: 0.14em;
	text-transform: uppercase;
	text-align: center;
	color: rgba(42, 10, 15, 0.45);
	padding: 8px 0 6px;
}

.khero__cal-day {
	font-family: var(--khero-sans);
	font-size: 14px;
	font-weight: 500;
	background: transparent;
	border: 0;
	padding: 0;
	height: 38px;
	display: flex;
	align-items: center;
	justify-content: center;
	cursor: pointer;
	color: var(--khero-burgundy-ink);
	border-radius: 2px;
	transition: background 0.12s, color 0.12s;
}

.khero__cal-day:hover:not(:disabled) {
	background: rgba(122, 29, 42, 0.1);
}

.khero__cal-day:disabled {
	color: rgba(42, 10, 15, 0.22);
	cursor: not-allowed;
}

/* `is-in-range`, `is-start`, `is-end` kombinált button selector — magasabb specificity-vel,
   hogy biztosan beat-elje az Avada / theme `button`-szintű felülírásait. Literal hex színek
   és `!important`, hogy `--khero-burgundy` változó-szintű felülírás se tudja kicserélni
   a kiválasztott napok hátterét. */
.khero .khero__popover button.khero__cal-day.is-in-range,
.khero__popover button.khero__cal-day.is-in-range {
	background: rgba(122, 29, 42, 0.18) !important;
	color: #2a0a0f !important;
	-webkit-text-fill-color: #2a0a0f !important;
	border-radius: 0 !important;
}

.khero .khero__popover button.khero__cal-day.is-start,
.khero .khero__popover button.khero__cal-day.is-end,
.khero__popover button.khero__cal-day.is-start,
.khero__popover button.khero__cal-day.is-end {
	background: #722828 !important;
	background-color: #722828 !important;
	color: #fff !important;
	-webkit-text-fill-color: #fff !important;
	font-weight: 600 !important;
}

.khero__popover button.khero__cal-day.is-start { border-radius: 2px 0 0 2px !important; }
.khero__popover button.khero__cal-day.is-end { border-radius: 0 2px 2px 0 !important; }
.khero__popover button.khero__cal-day.is-start.is-end { border-radius: 2px !important; }

.khero__cal-day.is-today {
	outline: 1px solid rgba(122, 29, 42, 0.45);
	outline-offset: -1px;
}

.khero__cal-hint {
	font-family: var(--khero-sans);
	font-size: 11px;
	color: rgba(42, 10, 15, 0.55);
	margin-top: 12px;
	text-align: center;
	letter-spacing: 0.04em;
}

/* ============ Guests ============ */

.khero__guests {
	display: flex;
	flex-direction: column;
}

.khero__guests-row {
	display: flex;
	align-items: center;
	justify-content: space-between;
	padding: 14px 16px;
	border-bottom: 1px solid rgba(122, 29, 42, 0.08);
}

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

.khero__guests-row-label {
	display: flex;
	flex-direction: column;
	gap: 2px;
}

.khero__guests-row-title {
	font-family: var(--khero-serif);
	font-size: 17px;
	font-weight: 600;
	color: var(--khero-burgundy-ink);
}

.khero__guests-row-sub {
	font-family: var(--khero-sans);
	font-size: 11px;
	color: rgba(42, 10, 15, 0.55);
	letter-spacing: 0.02em;
}

.khero__guests-stepper {
	display: flex;
	align-items: center;
	gap: 14px;
}

.khero__guests-btn {
	width: 32px;
	height: 32px;
	border: 1px solid rgba(122, 29, 42, 0.3);
	background: transparent;
	color: var(--khero-burgundy);
	border-radius: 50%;
	display: flex;
	align-items: center;
	justify-content: center;
	font-size: 14px;
	font-weight: 600;
	cursor: pointer;
	transition: background 0.15s, opacity 0.15s, color 0.15s;
}

/* Hover csak hover-képes eszközökön (desktop/trackpad). */
@media (hover: hover) {
	.khero__guests-btn:hover:not(:disabled) {
		background: var(--khero-burgundy);
		color: #fff;
		-webkit-text-fill-color: #fff;
	}
}

/* Aktív lenyomáskor (tap / mousedown) — taktilis visszacsatolás minden eszközön. */
.khero__guests-btn:active:not(:disabled) {
	background: var(--khero-burgundy);
	color: #fff;
	-webkit-text-fill-color: #fff;
}

/* Billentyűzettel navigáláskor látható fókusz ring helyett burgundi fill. */
.khero__guests-btn:focus-visible:not(:disabled) {
	background: var(--khero-burgundy);
	color: #fff;
	-webkit-text-fill-color: #fff;
	outline: none;
}

/* Touch eszközökön (hover: none) tap után is maradjon burgundi a button — a
   :focus persistens marad, amíg a user máshová nem koppint. Ez adja a
   "kiválasztott" vizuális visszacsatolást, mint a desktop hover. */
@media (hover: none) {
	.khero__guests-btn:focus:not(:disabled) {
		background: var(--khero-burgundy);
		color: #fff;
		-webkit-text-fill-color: #fff;
		outline: none;
	}
}

/* Az `is-active` osztályt a JS rakja a most kattintott +/- gombra (és törli
   a testvéreiről). Global scope-ban van, mert a popover-shell mobilon a
   <body> alá portalozódik, így ott a scoped (#instance-id alatti) szabályok
   nem érvényesülnek. */
.khero__guests-btn.is-active:not(:disabled) {
	background: var(--khero-burgundy) !important;
	color: #fff !important;
	-webkit-text-fill-color: #fff !important;
}

/* ================================================================
   FORCED INTER FONT — naptár napszámai (.khero__cal-day), nap-rövidítések
   (.khero__cal-dow), és a mobil compact short formátum (.khero__field-value-short)
   minden egyéb override felett Inter. Literal stack + !important, mert:
     1. A popover mobilon a <body> alá portalozódik (kiesik a hero scope-ból)
     2. A var(--khero-sans) változót a user font_sans_stack beállítása
        felülírhatja Cormorantra (történelmi pollúció)
   Global selector, nincs scope-ja — érvényesül mindenhol, portalozva is. */
.khero__cal-day,
.khero__cal-dow,
.khero__field-value-short {
	font-family: "Inter", "Helvetica Neue", Helvetica, Arial, sans-serif !important;
}

/* X close gomb a popover-ekben — ugyanaz a hover / active visszacsatolás
   mint a +/- gomboknál: burgundi háttér, fehér ikon. */
@media (hover: hover) {
	.khero__popover-close:hover {
		background: var(--khero-burgundy) !important;
		color: #fff !important;
		-webkit-text-fill-color: #fff !important;
	}
}
.khero__popover-close:active {
	background: var(--khero-burgundy) !important;
	color: #fff !important;
	-webkit-text-fill-color: #fff !important;
}
@media (hover: none) {
	.khero__popover-close:focus {
		background: var(--khero-burgundy) !important;
		color: #fff !important;
		-webkit-text-fill-color: #fff !important;
		outline: none;
	}
}

.khero__guests-btn:disabled {
	opacity: 0.3;
	cursor: not-allowed;
}

.khero__guests-count {
	font-family: var(--khero-serif);
	font-size: 18px;
	font-weight: 600;
	color: var(--khero-burgundy-ink);
	min-width: 18px;
	text-align: center;
}

/* ============ Responsive ============ */

@media (max-width: 1024px) {
	.khero { min-height: 780px; }
	.khero__booking { width: calc(100% - 32px); }
	.khero__booking-inner { grid-template-columns: 1fr 1fr; }
	.khero__cta { grid-column: 1 / -1; padding: 18px; min-width: 0; border-radius: 0 0 4px 4px; }
	.khero__booking-cell:nth-child(2) .khero__field { border-right: 0; }
	.khero__booking-cell:nth-child(3) { grid-column: 1 / -1; }
	.khero__booking-cell:nth-child(3) .khero__field { border-top: 1px solid rgba(122, 29, 42, 0.12); border-right: 0; }
}

@media (max-width: 768px) {
	.khero {
		height: calc(100vh - var(--khero-header-h));
		min-height: 640px;
	}

	.khero__content {
		left: 20px;
		right: 20px;
		width: auto;
		max-width: none;
		top: auto;
		transform: none;
		bottom: 360px;
	}
	.khero__body { font-size: 16px; }

	.khero__dots {
		bottom: 18px;
	}

	.khero__booking {
		bottom: 56px;
		width: calc(100% - 32px);
	}
	/* Mobil compact: 3 cella egy sorban + teljes szélességű CTA alul.
	   A wrapper overflow: hidden gondoskodik arról, hogy a teljes szélességű
	   CTA hátér ne lógjon ki a kerekített sarkokon. */
	.khero__booking-inner {
		grid-template-columns: 1fr 1fr 1fr;
		overflow: hidden;
	}
	.khero__booking-cell:first-child .khero__field { border-radius: 4px 0 0 0; }
	.khero__booking-cell:last-of-type .khero__field { border-radius: 0 4px 0 0; }
	.khero__booking-cell:last-of-type .khero__field { border-right: 0; }
	.khero__field {
		flex-direction: column;
		align-items: center;
		justify-content: center;
		gap: 4px;
		padding: 10px 6px;
		text-align: center;
		border-right: 1px solid rgba(122, 29, 42, 0.12);
		border-bottom: 0;
		min-height: 78px;
	}
	.khero__field-icon { flex: 0 0 auto; }
	.khero__field-body {
		align-items: center;
		gap: 1px;
		flex: 0 0 auto;
		width: 100%;
		min-width: 0;
	}
	.khero__field-chevron { display: none; }
	.khero__field-sub { display: none; }

	/* Long/short formátum váltása mobilon */
	.khero__field-value-long { display: none; }
	.khero__field-value-short { display: inline; }

	/* A label akkor marad látható ("ÉRKEZÉS" / "TÁVOZÁS" / "VENDÉGEK"), ha a user
	   még nem nyúlt a mezőhöz. Az `is-touched` osztályt a JS rakja a value-ra,
	   amikor a user kiválaszt egy dátumot vagy módosítja a vendég-számot. Initial
	   állapotban (placeholder dátum vagy default 2 fő) a value rejtve van, a
	   label látszik. */
	.khero__field-value:not(.is-touched) { display: none; }
	.khero__field-body:has(.khero__field-value.is-touched) .khero__field-label { display: none; }

	/* Kiválasztott (is-touched) value tipográfia mobilon — kis kapitálék,
	   kontrasztos színnel (mint a label, de burgundi-tinta színnel). */
	.khero__field-value.is-touched {
		font-family: var(--khero-sans);
		font-size: 10px;
		font-weight: 600;
		letter-spacing: 0.14em;
		text-transform: uppercase;
		color: var(--khero-burgundy-ink);
		font-style: normal;
		line-height: 1.2;
		white-space: nowrap;
		overflow: hidden;
		text-overflow: ellipsis;
	}

	.khero__cta {
		grid-column: 1 / -1;
		padding: 14px;
		min-width: 0;
		border-radius: 0 0 4px 4px;
		gap: 10px;
		font-size: 12px;
	}

	/* Popovers go fullscreen with backdrop + close button */
	.khero__popover-shell:not([hidden]) {
		display: flex;
		position: fixed;
		inset: 0;
		z-index: 999990;
		align-items: center;
		justify-content: center;
		padding: 24px 18px;
		pointer-events: none;
		animation: khero-fade-in 0.22s ease;
	}
	.khero__popover-backdrop {
		display: block;
		position: fixed;
		inset: 0;
		z-index: 1;
		background: rgba(20, 8, 12, 0.55);
		backdrop-filter: blur(10px);
		-webkit-backdrop-filter: blur(10px);
		animation: khero-fade-in 0.22s ease;
		pointer-events: auto;
	}
	.khero__popover-shell .khero__popover {
		position: relative;
		bottom: auto;
		left: auto;
		right: auto;
		width: 100%;
		max-width: 360px;
		max-height: calc(100vh - 130px);
		overflow-y: auto;
		pointer-events: auto;
		box-shadow: 0 30px 80px -20px rgba(0, 0, 0, 0.6);
		z-index: 2;
	}
	.khero__popover-close {
		display: flex;
		align-items: center;
		justify-content: center;
		position: fixed;
		top: 18px;
		right: 18px;
		z-index: 3;
		width: 44px;
		height: 44px;
		background: rgba(255, 255, 255, 0.96);
		border: 0;
		border-radius: 50%;
		color: var(--khero-burgundy);
		cursor: pointer;
		box-shadow: 0 4px 16px rgba(0, 0, 0, 0.25);
		transition: background 0.2s;
		font-size: 18px;
		pointer-events: auto;
	}
	.khero__popover-close:hover { background: #fff; }

	.khero__emblem {
		width: 160vw;
		right: -28%;
		bottom: -38%;
	}
}

@keyframes khero-fade-in {
	from { opacity: 0; }
	to { opacity: 1; }
}
