/**
 * LIOS Home - Matchmaking Multi-Option Bento Hero Stylesheet
 *
 * Mode A: 3-Tile Bento Click-to-Swap Hero on the current LIOS hero background.
 * - Tile 1 (Large Left): Free 3-Part Masterclass & Free 2026 Report
 * - Tile 2 (Top Right): Destination Matchmaker
 * - Tile 3 (Bottom Right): Real-World Overseas Budgets
 *
 * @package JNews_Child
 */

.lios-home .lios-bento-hero,
.lios-bento-hero {
	position: relative;
	min-height: 540px;
	padding: 44px 20px 36px;
	overflow: hidden;
	color: #ffffff;
	background:
		linear-gradient(180deg, rgba(0, 0, 0, 0.52) 0%, rgba(0, 0, 0, 0.34) 48%, rgba(0, 0, 0, 0.64) 100%),
		url('https://www.liveandinvestoverseas.com/wp-content/uploads/2026/06/AdobeStock_281457367-1.webp') center/cover no-repeat;
	box-shadow: inset 0 -24px 36px rgba(0, 0, 0, 0.35);
}

.lios-bento-hero__shell {
	width: min(100%, 1200px);
	margin-inline: auto;
	position: relative;
	z-index: 2;
}

/* ==========================================================================
   HERO HEADLINE
   ========================================================================== */
.lios-bento-hero__header {
	text-align: center;
	max-width: 820px;
	margin: 0 auto 28px;
}

.lios-bento-hero__eyebrow {
	display: inline-flex;
	align-items: center;
	margin: 0 0 12px;
	padding: 6px 16px;
	border: 1px solid rgba(242, 189, 61, 0.45);
	border-radius: 999px;
	background: rgba(0, 0, 0, 0.56);
	backdrop-filter: blur(8px);
	-webkit-backdrop-filter: blur(8px);
	color: var(--lios-gold, #f2bd3d);
	font-size: 0.76rem;
	font-weight: 800;
	letter-spacing: 0.14em;
	text-transform: uppercase;
	box-shadow: 0 4px 14px rgba(0, 0, 0, 0.25);
}

.lios-home .lios-bento-hero__title,
.lios-bento-hero__title {
	margin: 0;
	color: #ffffff !important;
	font-size: clamp(1.65rem, 3.1vw, 2.55rem) !important;
	font-weight: 900;
	line-height: 1.14;
	letter-spacing: -0.02em;
	text-shadow: 0 3px 16px rgba(0, 0, 0, 0.5);
}

/* ==========================================================================
   BENTO SELECTOR GRID (1 Large Left + 2 Stacked Right)
   ========================================================================== */
.lios-bento-grid {
	display: grid;
	grid-template-columns: minmax(0, 1.62fr) minmax(0, 1fr);
	gap: 18px;
	align-items: stretch;
}

.lios-bento-stack {
	display: flex;
	flex-direction: column;
	gap: 18px;
}

.lios-bento-card {
	position: relative;
	display: flex;
	flex-direction: column;
	justify-content: space-between;
	align-items: flex-start;
	width: 100%;
	min-height: 170px;
	padding: clamp(22px, 2.6vw, 30px);
	border: 1px solid rgba(255, 255, 255, 0.2);
	border-radius: 18px;
	color: #ffffff;
	background: rgba(0, 0, 0, 0.54);
	backdrop-filter: blur(12px);
	-webkit-backdrop-filter: blur(12px);
	box-shadow: 0 16px 38px rgba(0, 0, 0, 0.38);
	text-align: left;
	text-decoration: none;
	cursor: pointer;
	font-family: inherit;
	appearance: none;
	transition: transform 240ms var(--ease-out, cubic-bezier(0.23, 1, 0.32, 1)),
		box-shadow 240ms var(--ease-out, cubic-bezier(0.23, 1, 0.32, 1)),
		border-color 240ms var(--ease-out, cubic-bezier(0.23, 1, 0.32, 1)),
		background-color 240ms var(--ease-out, cubic-bezier(0.23, 1, 0.32, 1));
}

.lios-bento-card:visited {
	color: #ffffff;
}

.lios-bento-card:hover {
	transform: translateY(-2px);
	border-color: rgba(242, 189, 61, 0.6);
	background: rgba(0, 0, 0, 0.68);
	box-shadow: 0 22px 46px rgba(0, 0, 0, 0.48);
}

.lios-bento-card:focus-visible {
	outline: 3px solid var(--lios-gold, #f2bd3d);
	outline-offset: 3px;
}

/* Card 1: Large Left Black Glass (Gold Border on Hover Only, Matching Right Tiles) */
.lios-bento-card--primary {
	min-height: 360px;
	border-color: rgba(255, 255, 255, 0.2);
	background: rgba(0, 0, 0, 0.54);
}

.lios-bento-card--primary:hover {
	border-color: rgba(242, 189, 61, 0.6);
	background: rgba(0, 0, 0, 0.68);
}

/* Cards 2 & 3: Stacked Right Frosted Glass */
.lios-bento-card--navy,
.lios-bento-card--glass {
	flex: 1;
}

.lios-bento-card__body {
	display: block;
	width: 100%;
}

.lios-bento-card__meta {
	display: flex;
	flex-wrap: wrap;
	align-items: center;
	justify-content: space-between;
	gap: 10px;
	width: 100%;
	margin-bottom: 18px;
}

.lios-bento-badge {
	display: inline-flex;
	align-items: center;
	padding: 5px 12px;
	border-radius: 999px;
	font-size: 0.7rem;
	font-weight: 900;
	letter-spacing: 0.08em;
	text-transform: uppercase;
}

.lios-bento-badge--gold {
	background: rgba(242, 189, 61, 0.16);
	color: var(--lios-gold, #f2bd3d);
	border: 1px solid rgba(242, 189, 61, 0.38);
}

.lios-bento-card__note {
	color: rgba(255, 255, 255, 0.74);
	font-size: 0.76rem;
	font-weight: 600;
}

.lios-bento-card .lios-eyebrow {
	display: block;
	margin: 0 0 8px;
	color: var(--lios-gold, #f2bd3d);
}

.lios-bento-card .lios-eyebrow--emerald {
	color: var(--lios-gold, #f2bd3d);
}

.lios-bento-card__heading {
	display: block;
	max-width: 560px;
	margin: 0;
	color: #ffffff;
	font-weight: 800;
	letter-spacing: -0.02em;
	line-height: 1.15;
}

.lios-bento-card--primary .lios-bento-card__heading {
	font-size: clamp(1.45rem, 2.5vw, 2.05rem);
}

.lios-bento-card--navy .lios-bento-card__heading,
.lios-bento-card--glass .lios-bento-card__heading {
	font-size: clamp(1.15rem, 1.8vw, 1.4rem);
}

.lios-bento-card__desc {
	display: block;
	max-width: 520px;
	margin: 10px 0 18px;
	color: #d4e3ec;
	font-size: 0.88rem;
	font-weight: 400;
	line-height: 1.55;
}

.lios-bento-card__footer {
	display: flex;
	flex-wrap: wrap;
	align-items: center;
	justify-content: space-between;
	gap: 12px;
	width: 100%;
	margin-top: auto;
	padding-top: 18px;
	border-top: 1px solid rgba(255, 255, 255, 0.12);
}

.lios-bento-cta {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	color: var(--lios-gold, #f2bd3d);
	font-size: 0.78rem;
	font-weight: 800;
	letter-spacing: 0.04em;
	text-transform: uppercase;
}

.lios-bento-cta--gold {
	min-height: 42px;
	padding: 10px 20px;
	border-radius: 8px;
	background: var(--lios-gold, #f2bd3d);
	color: #081a34;
	font-weight: 900;
	box-shadow: 0 8px 20px rgba(4, 18, 29, 0.35);
	transition: background-color 180ms ease;
}

.lios-bento-card:hover .lios-bento-cta--gold {
	background: #f6c738;
}

/* ==========================================================================
   LEFT MASTERCLASS CARD + CONTROLLABLE 3-SESSION SLIDER + INLINE OPT-IN
   ========================================================================== */
.lios-bento-masterclass {
	cursor: default;
	gap: 16px;
}

.lios-bento-masterclass:hover {
	transform: none;
}

.lios-bento-masterclass__top {
	width: 100%;
}

.lios-bento-masterclass .lios-bento-card__meta {
	margin-bottom: 10px;
}

.lios-home .lios-bento-masterclass__title,
.lios-bento-masterclass__title {
	margin: 0;
	color: #ffffff !important;
	font-size: clamp(1.35rem, 2.2vw, 1.9rem) !important;
	font-weight: 900;
	line-height: 1.18;
	letter-spacing: -0.015em;
	text-transform: uppercase;
}

.lios-bento-masterclass__accent {
	color: var(--lios-gold, #f2bd3d);
}

.lios-session-slider {
	width: 100%;
	display: flex;
	flex-direction: column;
	gap: 10px;
}

.lios-session-slider__bar {
	display: flex;
	align-items: center;
	justify-content: flex-end;
	gap: 10px;
}

.lios-session-slider__arrows {
	display: inline-flex;
	gap: 8px;
}

.lios-session-slider__arrow {
	display: grid;
	place-items: center;
	width: 34px;
	height: 34px;
	padding: 0;
	border: 1px solid rgba(255, 255, 255, 0.28);
	border-radius: 50%;
	background: rgba(255, 255, 255, 0.06);
	color: #ffffff;
	font-size: 1.15rem;
	line-height: 1;
	cursor: pointer;
	transition: background-color 180ms ease, border-color 180ms ease, color 180ms ease;
}

.lios-session-slider__arrow:hover,
.lios-session-slider__arrow:focus-visible {
	border-color: var(--lios-gold, #f2bd3d);
	background: var(--lios-gold, #f2bd3d);
	color: #061d2d;
}

.lios-session-slider__viewport {
	width: 100%;
	min-height: 152px;
}

.lios-session-slide {
	display: grid;
	grid-template-columns: 212px minmax(0, 1fr);
	gap: 20px;
	align-items: center;
	padding: 0;
	border: 0;
	border-radius: 0;
	background: transparent;
	animation: lios-session-fade 260ms var(--ease-out, cubic-bezier(0.23, 1, 0.32, 1)) both;
}

.lios-session-slide[hidden] {
	display: none;
}

@keyframes lios-session-fade {
	from {
		opacity: 0;
		transform: translateX(8px);
	}
	to {
		opacity: 1;
		transform: translateX(0);
	}
}

.lios-session-slide__speaker {
	position: relative;
	width: 100%;
	aspect-ratio: 1024 / 723;
	border-radius: 10px;
	border: 1px solid rgba(255, 255, 255, 0.16);
	background: #061d2d;
	overflow: hidden;
}

.lios-session-slide__photo {
	display: block;
	width: 100%;
	height: auto;
	object-fit: contain;
}

.lios-session-slide__head {
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 12px;
	margin: 0 0 10px;
}

.lios-session-slide__badge-gold {
	display: inline-flex;
	align-items: center;
	margin: 0;
	padding: 5px 14px;
	border-radius: 999px;
	background: var(--lios-gold, #f2bd3d);
	color: #061d2d;
	font-size: 0.72rem;
	font-weight: 900;
	letter-spacing: 0.05em;
	text-transform: uppercase;
}

.lios-session-slide__body {
	min-width: 0;
}

.lios-session-slide__meta {
	display: flex;
	flex-wrap: wrap;
	align-items: center;
	gap: 8px;
	margin-bottom: 8px;
}

.lios-session-slide__pill {
	padding: 2px 8px;
	border-radius: 4px;
	background: #059669;
	color: #ffffff;
	font-size: 0.64rem;
	font-weight: 900;
	letter-spacing: 0.06em;
	text-transform: uppercase;
}

.lios-session-slide__tag {
	color: var(--lios-gold, #f2bd3d);
	font-size: 0.66rem;
	font-weight: 800;
	letter-spacing: 0.06em;
	text-transform: uppercase;
}

.lios-session-slide__duration {
	margin-left: auto;
	padding: 2px 7px;
	border-radius: 999px;
	background: rgba(255, 255, 255, 0.12);
	color: #dce9ef;
	font-size: 0.66rem;
	font-weight: 700;
}

.lios-home .lios-session-slide__title,
.lios-session-slide__title {
	margin: 0 0 6px;
	color: #ffffff !important;
	font-size: clamp(0.96rem, 1.3vw, 1.12rem) !important;
	font-weight: 800;
	line-height: 1.28;
}

.lios-session-slide__teaser {
	margin: 0;
	color: #d4e3ec;
	font-size: 0.8rem;
	line-height: 1.45;
}

.lios-bento-masterclass__form-wrap {
	width: 100%;
	padding-top: 4px;
	border-top: 0;
}

.lios-home .lios-bento-optin-form {
	display: flex;
	gap: 0;
	margin: 0;
	width: 100%;
}

.lios-home .lios-bento-optin-form input[type="email"] {
	flex: 1 1 auto;
	min-width: 0;
	height: 48px;
	padding: 0 16px;
	border: 1px solid rgba(255, 255, 255, 0.25);
	border-right: 0;
	border-radius: 8px 0 0 8px;
	background: #ffffff;
	color: #061d2d;
	font-size: 0.9rem;
}

.lios-home .lios-bento-optin-form button[type="submit"] {
	flex: 0 0 auto;
	height: 48px;
	min-height: 48px;
	padding: 0 22px;
	border: 0;
	border-radius: 0 8px 8px 0;
	background: var(--lios-gold, #f2bd3d);
	color: #061d2d;
	font-size: 0.78rem;
	font-weight: 900;
	letter-spacing: 0.05em;
	text-transform: uppercase;
	cursor: pointer;
	box-shadow: 0 8px 20px rgba(0, 0, 0, 0.35);
	transition: background-color 180ms ease;
}

.lios-home .lios-bento-optin-form button[type="submit"]:hover {
	background: var(--lios-gold-hover, #f6c738);
}

.lios-bento-masterclass__privacy {
	margin: 8px 0 0;
	color: rgba(255, 255, 255, 0.68);
	font-size: 0.7rem;
	line-height: 1.4;
}

@media (max-width: 640px) {
	.lios-bento-masterclass {
		gap: 14px;
	}

	.lios-session-slide {
		grid-template-columns: 1fr;
		gap: 14px;
	}

	.lios-session-slide__speaker {
		width: 100%;
		max-width: none;
	}

	.lios-home .lios-bento-optin-form {
		flex-direction: column;
		gap: 10px;
	}

	.lios-home .lios-bento-optin-form input[type="email"] {
		border-right: 1px solid rgba(255, 255, 255, 0.25);
		border-radius: 8px;
	}

	.lios-home .lios-bento-optin-form button[type="submit"] {
		width: 100%;
		border-radius: 8px;
	}
}

/* ==========================================================================
   COMPACT TOP SWITCHER BAR (Shown When a Stage Panel Is Active)
   ========================================================================== */
.lios-hero-switcher {
	display: flex;
	flex-wrap: wrap;
	align-items: center;
	justify-content: space-between;
	gap: 12px;
	margin-bottom: 22px;
	padding: 8px 10px;
	border-radius: 12px;
	border: 1px solid rgba(255, 255, 255, 0.16);
	background: rgba(4, 18, 29, 0.78);
	backdrop-filter: blur(8px);
	-webkit-backdrop-filter: blur(8px);
}

.lios-hero-switcher__back {
	display: inline-flex;
	align-items: center;
	min-height: 38px;
	padding: 8px 14px;
	border: 1px solid rgba(255, 255, 255, 0.18);
	border-radius: 8px;
	background: rgba(255, 255, 255, 0.08);
	color: #ffffff;
	font-size: 0.76rem;
	font-weight: 800;
	cursor: pointer;
	transition: background-color 160ms ease;
}

.lios-hero-switcher__back:hover {
	background: rgba(255, 255, 255, 0.18);
}

.lios-hero-switcher__tabs {
	display: flex;
	flex-wrap: wrap;
	gap: 6px;
}

.lios-hero-switcher__tab {
	display: inline-flex;
	align-items: center;
	min-height: 38px;
	padding: 8px 15px;
	border: 0;
	border-radius: 8px;
	background: transparent;
	color: rgba(255, 255, 255, 0.82);
	font-size: 0.75rem;
	font-weight: 800;
	letter-spacing: 0.04em;
	text-transform: uppercase;
	text-decoration: none;
	cursor: pointer;
	transition: background-color 160ms ease, color 160ms ease;
}

.lios-hero-switcher__tab:hover {
	background: rgba(255, 255, 255, 0.12);
	color: #ffffff;
}

.lios-hero-switcher__tab[aria-selected="true"] {
	background: var(--lios-gold, #f2bd3d);
	color: #081a34;
}

/* ==========================================================================
   DYNAMIC STAGE PANELS
   ========================================================================== */
@keyframes liosStageReveal {
	from {
		opacity: 0;
		transform: translateY(10px);
	}
	to {
		opacity: 1;
		transform: translateY(0);
	}
}

.lios-stage-panel {
	animation: liosStageReveal 260ms var(--ease-out, cubic-bezier(0.23, 1, 0.32, 1)) both;
}

/* Masterclass / Free Report Toggle Inside Sidebar Opt-In Card */
.lios-optin-switch {
	display: grid;
	grid-template-columns: 1fr 1fr;
	gap: 4px;
	padding: 4px;
	margin-bottom: 16px;
	border-radius: 9px;
	background: #f1f5f9;
}

.lios-optin-switch__btn {
	min-height: 36px;
	padding: 6px 10px;
	border: 0;
	border-radius: 7px;
	background: transparent;
	color: #475569;
	font-size: 0.76rem;
	font-weight: 800;
	cursor: pointer;
	transition: background-color 160ms ease, color 160ms ease;
}

.lios-optin-switch__btn[aria-selected="true"] {
	background: #081a34;
	color: #ffffff;
}

/* White Shortcode Surface (Matchmaker & Budgets Panels) */
.lios-shortcode-surface {
	background: #ffffff;
	color: #081a34;
	border-radius: 18px;
	padding: 28px 30px;
	box-shadow: 0 18px 42px rgba(4, 18, 29, 0.36);
	border: 1px solid rgba(255, 255, 255, 0.14);
}

.lios-shortcode-surface__head {
	display: flex;
	flex-wrap: wrap;
	align-items: flex-end;
	justify-content: space-between;
	gap: 16px;
	padding-bottom: 18px;
	margin-bottom: 22px;
	border-bottom: 1px solid var(--lios-line, #dce4e8);
}

.lios-shortcode-surface__eyebrow {
	display: block;
	margin-bottom: 4px;
	color: var(--lios-blue, #0069a9);
	font-size: 0.72rem;
	font-weight: 800;
	letter-spacing: 0.12em;
	text-transform: uppercase;
}

.lios-home .lios-shortcode-surface__title,
.lios-shortcode-surface__title {
	margin: 0;
	color: #081a34 !important;
	font-size: clamp(1.3rem, 2.2vw, 1.75rem) !important;
	font-weight: 900;
	line-height: 1.18;
}

/* Matchmaker Fallback Panel */
.lios-matchmaker-fallback {
	display: grid;
	grid-template-columns: minmax(0, 1.2fr) minmax(260px, 0.8fr);
	gap: 28px;
	align-items: center;
}

.lios-matchmaker-fallback p {
	margin: 0 0 16px;
	color: #475569;
	font-size: 0.95rem;
	line-height: 1.6;
}

.lios-matchmaker-fallback__steps {
	display: grid;
	grid-template-columns: repeat(3, minmax(0, 1fr));
	gap: 12px;
	margin-bottom: 20px;
}

.lios-matchmaker-fallback__step {
	padding: 14px;
	border-radius: 12px;
	background: #f7f9fb;
	border: 1px solid var(--lios-line, #dce4e8);
}

.lios-matchmaker-fallback__step strong {
	display: block;
	margin-bottom: 4px;
	color: #081a34;
	font-size: 0.85rem;
}

.lios-matchmaker-fallback__step span {
	color: #5e6b78;
	font-size: 0.78rem;
	line-height: 1.4;
}

.lios-matchmaker-fallback__box {
	padding: 24px;
	border-radius: 14px;
	background: linear-gradient(135deg, #081a34 0%, #102f46 100%);
	color: #ffffff;
}

.lios-matchmaker-fallback__box h4,
.lios-matchmaker-fallback__box-title {
	margin: 0 0 8px;
	color: #ffffff;
	font-size: 1.2rem;
	font-weight: 900;
	line-height: 1.2;
}

.lios-matchmaker-fallback__box p {
	margin: 0 0 18px;
	color: rgba(255, 255, 255, 0.84);
	font-size: 0.86rem;
}

.lios-matchmaker-fallback__cta {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	width: 100%;
	min-height: 46px;
	padding: 12px 18px;
	border-radius: 8px;
	background: var(--lios-gold, #f2bd3d);
	color: #081a34 !important;
	font-size: 0.8rem;
	font-weight: 900;
	letter-spacing: 0.05em;
	text-transform: uppercase;
	text-align: center;
}

.lios-matchmaker-fallback__cta:hover {
	background: var(--lios-gold-hover, #f6c738);
}

/* Budgets Explorer Built-In View */
.lios-budgets-controls {
	display: flex;
	flex-wrap: wrap;
	align-items: center;
	gap: 18px;
}

.lios-budgets-slider-wrap {
	min-width: 220px;
}

.lios-budgets-slider-label {
	display: flex;
	justify-content: space-between;
	gap: 12px;
	margin-bottom: 6px;
	font-size: 0.78rem;
	font-weight: 700;
	color: #475569;
}

.lios-budgets-slider-label strong {
	color: var(--lios-blue, #0069a9);
	font-weight: 900;
}

.lios-budgets-slider {
	width: 100%;
	accent-color: var(--lios-blue, #0069a9);
	cursor: pointer;
}

.lios-budgets-regions {
	display: flex;
	flex-wrap: wrap;
	gap: 6px;
}

.lios-budgets-region-btn {
	min-height: 36px;
	padding: 6px 13px;
	border: 1px solid var(--lios-line, #dce4e8);
	border-radius: 8px;
	background: #f3f6f7;
	color: #475569;
	font-size: 0.76rem;
	font-weight: 800;
	cursor: pointer;
	transition: background-color 150ms ease, color 150ms ease;
}

.lios-budgets-region-btn[aria-pressed="true"] {
	border-color: #081a34;
	background: #081a34;
	color: #ffffff;
}

.lios-budgets-grid {
	display: grid;
	grid-template-columns: repeat(3, minmax(0, 1fr));
	gap: 14px;
	margin-bottom: 20px;
}

.lios-budget-card {
	display: flex;
	flex-direction: column;
	justify-content: space-between;
	padding: 16px 18px;
	border-radius: 12px;
	border: 1px solid var(--lios-line, #dce4e8);
	background: #f7f9fb;
}

.lios-budget-card__top {
	display: flex;
	align-items: baseline;
	justify-content: space-between;
	gap: 8px;
	margin-bottom: 6px;
}

.lios-budget-card__region {
	color: var(--lios-blue, #0069a9);
	font-size: 0.68rem;
	font-weight: 800;
	letter-spacing: 0.08em;
	text-transform: uppercase;
}

.lios-budget-card__cost {
	color: #081a34;
	font-size: 0.98rem;
	font-weight: 900;
}

.lios-budget-card__name {
	margin: 0 0 6px;
	color: var(--lios-navy, #102f46);
	font-size: 1rem;
	font-weight: 900;
	line-height: 1.25;
}

.lios-budget-card__sub {
	margin: 0 0 12px;
	color: #5e6b78;
	font-size: 0.78rem;
	line-height: 1.4;
}

.lios-budget-card__meta {
	display: flex;
	justify-content: space-between;
	gap: 8px;
	padding-top: 10px;
	border-top: 1px solid var(--lios-line, #dce4e8);
	font-size: 0.75rem;
	color: #475569;
}

.lios-budgets-footer {
	display: flex;
	flex-wrap: wrap;
	align-items: center;
	justify-content: space-between;
	gap: 14px;
	padding-top: 16px;
	border-top: 1px solid var(--lios-line, #dce4e8);
}

.lios-budgets-footer p {
	margin: 0;
	color: #5e6b78;
	font-size: 0.8rem;
}

.lios-budgets-footer__actions {
	display: flex;
	flex-wrap: wrap;
	gap: 10px;
}

.lios-budgets-btn {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	min-height: 42px;
	padding: 10px 18px;
	border: 0;
	border-radius: 8px;
	background: var(--lios-blue, #0069a9);
	color: #ffffff !important;
	font-size: 0.76rem;
	font-weight: 800;
	letter-spacing: 0.05em;
	text-transform: uppercase;
	cursor: pointer;
}

.lios-budgets-btn:hover {
	background: var(--lios-blue-dark, #07558b);
}

.lios-budgets-btn--gold {
	background: var(--lios-gold, #f2bd3d);
	color: #081a34 !important;
}

.lios-budgets-btn--gold:hover {
	background: var(--lios-gold-hover, #f6c738);
}

.lios-admin-shortcode-hint {
	margin: 14px 0 0;
	padding: 10px 14px;
	border-radius: 8px;
	background: #eef6fb;
	border: 1px dashed var(--lios-blue, #0069a9);
	color: #081a34;
	font-size: 0.76rem;
	line-height: 1.45;
}

/* Glass Pill Topic Nav (Matching Webinar & Modern Home Templates) */
.lios-bento-hero .lios-topic-nav {
	position: relative;
	z-index: 3;
	margin: 28px 0 0;
	border: 0;
	background: transparent;
	box-shadow: none;
}

.lios-bento-hero .lios-topic-nav__inner {
	display: flex;
	flex-wrap: wrap;
	justify-content: center;
	gap: 10px;
}

.lios-bento-hero .lios-topic-nav a {
	display: inline-flex;
	justify-content: center;
	align-items: center;
	min-height: 36px;
	padding: 6px 16px;
	border: 1px solid rgba(255, 255, 255, 0.65) !important;
	border-radius: 999px;
	color: #ffffff !important;
	background: rgba(0, 0, 0, 0.55);
	box-shadow: 0 3px 12px rgba(0, 0, 0, 0.22);
	font-size: 0.72rem;
	font-weight: 800;
	text-align: center;
	backdrop-filter: blur(8px);
	-webkit-backdrop-filter: blur(8px);
	transition: background-color 0.2s ease, border-color 0.2s ease, color 0.2s ease, transform 0.2s ease;
}

.lios-bento-hero .lios-topic-nav a:hover,
.lios-bento-hero .lios-topic-nav a:focus-visible {
	color: #ffffff !important;
	background: #059669 !important;
	border-color: #059669 !important;
	transform: translateY(-2px);
}

/* ==========================================================================
   IN-PAGE MATCHMAKER BANNER (Full-Width Section)
   ========================================================================== */
.lios-home .lios-intro-grid {
	padding-bottom: 0;
}

.lios-home #destination-matchmaker.lios-quiz-banner-wrap {
	width: 100%;
	max-width: none;
	padding-inline: 0;
}

.lios-matchmaker-banner {
	position: relative;
	isolation: isolate;
	overflow: hidden;
	padding: clamp(42px, 5vw, 68px) 0;
	border-radius: 0;
	color: #ffffff;
	background: linear-gradient(135deg, #003a63 0%, #005B97 52%, #006fae 100%);
	box-shadow: var(--lios-shadow, 0 18px 45px rgba(15, 47, 70, 0.1));
}

.lios-matchmaker-banner__header,
.lios-matchmaker-banner__stage {
	width: 100%;
	max-width: none;
	margin-inline: 0;
}

.lios-matchmaker-banner::before,
.lios-matchmaker-banner::after {
	content: "";
	position: absolute;
	z-index: -1;
	border: 1px solid rgba(255, 255, 255, 0.16);
	border-radius: 50%;
	pointer-events: none;
}

.lios-matchmaker-banner::before {
	width: 240px;
	height: 240px;
	top: -115px;
	right: 90px;
}

.lios-matchmaker-banner::after {
	width: 340px;
	height: 340px;
	right: -120px;
	bottom: -200px;
}

.lios-matchmaker-banner__mark {
	position: absolute;
	right: max(20px, calc((100% - var(--lios-shell, 1240px)) / 2));
	top: -18px;
	z-index: -1;
	color: rgba(255, 255, 255, 0.07);
	font-size: 13rem;
	font-weight: 900;
	line-height: 1;
	pointer-events: none;
	user-select: none;
}

.lios-matchmaker-banner__header {
	position: relative;
	z-index: 1;
	max-width: none;
	margin-bottom: clamp(22px, 3vw, 30px);
	text-align: left;
}

.lios-matchmaker-banner__header .lios-eyebrow {
	margin: 0 0 8px;
	color: var(--lios-gold, #f2bd3d);
}

.lios-home .lios-matchmaker-banner__header h2,
.lios-matchmaker-banner__header h2 {
	max-width: none;
	margin: 0 0 10px;
	color: #ffffff !important;
	font-size: clamp(1.65rem, 3vw, 2.55rem);
	font-weight: 900;
	line-height: 1.1;
	letter-spacing: -0.02em;
}

.lios-matchmaker-banner__header p {
	max-width: none;
	margin: 0;
	color: #dcebf3;
	font-size: 0.96rem;
	line-height: 1.55;
}

.lios-matchmaker-banner__stage {
	position: relative;
	z-index: 1;
	padding: clamp(20px, 3vw, 32px);
	border-radius: 14px;
	background: #ffffff;
	color: var(--lios-ink, #18242d);
	box-shadow: 0 16px 38px rgba(4, 18, 29, 0.28);
	border: 1px solid rgba(255, 255, 255, 0.22);
}

.lios-matchmaker-banner__fallback {
	display: flex;
	flex-wrap: wrap;
	align-items: center;
	justify-content: space-between;
	gap: 20px;
}

.lios-matchmaker-banner__fallback p {
	margin: 0;
	max-width: 640px;
	color: #475569;
	font-size: 0.94rem;
}

.lios-matchmaker-banner__button {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	min-height: 46px;
	padding: 12px 22px;
	border-radius: 8px;
	background: var(--lios-gold, #f2bd3d);
	color: var(--lios-navy-deep, #092335) !important;
	font-size: 0.78rem;
	font-weight: 900;
	letter-spacing: 0.05em;
	text-transform: uppercase;
}

.lios-matchmaker-banner__button:hover {
	background: var(--lios-gold-hover, #f6c738);
}

/* ==========================================================================
   HOMEPAGE MATCHMAKER OVERRIDES — OPTION C (#1 Featured + Compact 2x2 Grid)
   ========================================================================== */
#destination-matchmaker .lios-matchmaker-banner__stage {
	padding: clamp(20px, 3vw, 34px);
}

#destination-matchmaker .lio-rm-shell {
	padding: 0 !important;
	border: 0 !important;
	border-radius: 0 !important;
	box-shadow: none !important;
	background: transparent !important;
	overflow: visible !important;
}

#destination-matchmaker .lio-rm-shell::before,
#destination-matchmaker .lio-rm-shell > .lio-rm-eyebrow,
#destination-matchmaker .lio-rm-shell > h2,
#destination-matchmaker .lio-rm-shell > .lio-rm-intro,
#destination-matchmaker .lio-rm-shell > p {
	display: none !important;
}

#destination-matchmaker .lio-rm-form {
	display: grid;
	grid-template-columns: repeat(2, minmax(0, 1fr));
	gap: 16px 20px;
	margin: 0;
	padding: 0 0 24px;
	border-bottom: 1px solid var(--lios-line, #dce4e8);
	align-items: end;
}

#destination-matchmaker .lio-rm-form label {
	margin: 0;
}

#destination-matchmaker .lio-rm-form label > span {
	display: none !important;
}

#destination-matchmaker .lio-rm-form button[type="submit"] {
	grid-column: 1 / -1;
	justify-self: end;
	width: auto;
	min-width: 220px;
	height: 46px;
	min-height: 46px;
	padding: 0 28px;
	background: var(--lios-gold, #f2bd3d) !important;
	color: #061d2d !important;
	border: 0 !important;
	border-radius: 8px !important;
	font-weight: 900 !important;
	letter-spacing: 0.05em;
	text-transform: uppercase;
	box-shadow: none !important;
}

#destination-matchmaker .lio-rm-form button[type="submit"]:hover {
	background: var(--lios-gold-hover, #f6c738) !important;
}

#destination-matchmaker .lio-rm-results > h3 {
	margin: 24px 0 18px;
	color: var(--lios-navy, #102f46);
	font-size: clamp(1.2rem, 1.8vw, 1.5rem);
	font-weight: 800;
}

#destination-matchmaker .lio-rm-results > ol {
	display: grid !important;
	grid-template-columns: repeat(2, minmax(0, 1fr));
	gap: 20px;
	margin: 0;
	padding: 0;
	list-style: none;
}

#destination-matchmaker .lio-rm-results > ol > li {
	margin: 0 !important;
	padding: 20px !important;
	border: 1px solid var(--lios-line, #dce4e8) !important;
	border-radius: 14px !important;
	background: #f7f9fb !important;
	box-shadow: 0 4px 14px rgba(15, 47, 70, 0.05) !important;
	display: flex;
	flex-direction: column;
}

/* #1 Top Match — Full-Width Gold Spotlight */
#destination-matchmaker .lio-rm-results > ol > li:first-child {
	grid-column: 1 / -1;
	padding: clamp(22px, 2.5vw, 30px) !important;
	border: 2px solid var(--lios-gold, #f2bd3d) !important;
	background: #fffdf5 !important;
	box-shadow: 0 10px 28px rgba(15, 47, 70, 0.09) !important;
}

#destination-matchmaker .lio-rm-rank-pill {
	background: var(--lios-navy, #102f46) !important;
	color: #ffffff !important;
}

#destination-matchmaker .lio-rm-rank-pill--top {
	background: var(--lios-gold, #f2bd3d) !important;
	color: #061d2d !important;
}

#destination-matchmaker .lio-rm-result-link {
	background: #005B97 !important;
	color: #ffffff !important;
	border-radius: 8px !important;
}

#destination-matchmaker .lio-rm-result-link:hover {
	background: #004675 !important;
}

#destination-matchmaker .lio-rm-results > ol > li:first-child .lio-rm-result-link {
	background: var(--lios-gold, #f2bd3d) !important;
	color: #061d2d !important;
}

#destination-matchmaker .lio-rm-results > ol > li:first-child .lio-rm-result-link:hover {
	background: var(--lios-gold-hover, #f6c738) !important;
}

/* Compact 2x2 Cards (#2–#5) — Clean Vertical Card Layout */
#destination-matchmaker .lio-rm-results > ol > li:not(:first-child) {
	background: #ffffff !important;
	padding: 24px !important;
	border-radius: 16px !important;
	box-shadow: 0 4px 16px rgba(15, 47, 70, 0.06) !important;
}

#destination-matchmaker .lio-rm-results > ol > li:not(:first-child) .lio-rm-result-top {
	display: grid;
	grid-template-columns: 156px minmax(0, 1fr);
	gap: 18px;
	align-items: center;
}

#destination-matchmaker .lio-rm-results > ol > li:not(:first-child) .lio-rm-card-left {
	width: 100%;
}

#destination-matchmaker .lio-rm-results > ol > li:not(:first-child) .lio-rm-result-media img {
	width: 100%;
	aspect-ratio: 4 / 3;
	object-fit: cover;
	border-radius: 12px;
}

#destination-matchmaker .lio-rm-results > ol > li:not(:first-child) .lio-rm-details-head {
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 14px;
}

#destination-matchmaker .lio-rm-results > ol > li:not(:first-child) .lio-rm-details-head h4 {
	font-size: 1.18rem !important;
	line-height: 1.2;
}

#destination-matchmaker .lio-rm-results > ol > li:not(:first-child) > .lio-rm-suits {
	display: block;
	width: 100%;
	margin: 18px 0 0 !important;
	padding: 14px 18px !important;
	border-left: 3px solid #005B97 !important;
	border-radius: 0 10px 10px 0 !important;
	background: #eef6fb !important;
	color: var(--lios-ink, #18242d) !important;
	font-size: 0.88rem !important;
	line-height: 1.55 !important;
	-webkit-line-clamp: unset;
	overflow: visible;
}

#destination-matchmaker .lio-rm-budget-panel {
	border: 0 !important;
	border-radius: 0 !important;
	background: transparent !important;
	padding: 8px 16px 8px 0 !important;
}

#destination-matchmaker .lio-rm-results > ol > li:not(:first-child) > .lio-rm-lower-row {
	margin: 16px 0 18px !important;
	padding-top: 16px !important;
	border-top: 1px solid var(--lios-line, #dce4e8) !important;
}

#destination-matchmaker .lio-rm-results > ol > li:not(:first-child) > .lio-rm-result-link {
	display: flex !important;
	align-items: center;
	justify-content: center;
	width: 100% !important;
	min-height: 48px;
	margin: 14px 0 0 !important;
	padding: 12px 20px !important;
	border-radius: 10px !important;
	background: #005B97 !important;
	color: #ffffff !important;
	font-size: 0.9rem !important;
	font-weight: 800 !important;
	text-align: center;
	box-shadow: none !important;
}

#destination-matchmaker .lio-rm-results > ol > li:not(:first-child) > .lio-rm-result-link:hover {
	background: #004675 !important;
}

/* Top Match (#1) lower-row placed cleanly beneath lio-rm-suits */
#destination-matchmaker .lio-rm-results > ol > li:first-child .lio-rm-result-summary .lio-rm-lower-row {
	margin-top: 14px !important;
}

/* Modal Trigger Button for #2–#5 Score Breakdown (Centered Above Primary CTA) */
#destination-matchmaker .lios-rm-modal-trigger-wrap {
	display: flex;
	justify-content: center;
	margin-top: auto;
	padding-top: 16px;
	border-top: 1px solid var(--lios-line, #dce4e8);
}

#destination-matchmaker .lios-rm-modal-trigger {
	display: inline-flex;
	align-items: center;
	gap: 8px;
	padding: 0;
	border: 0;
	background: transparent;
	color: #005B97;
	font-family: inherit;
	font-size: 0.78rem;
	font-weight: 800;
	letter-spacing: 0.03em;
	text-transform: uppercase;
	cursor: pointer;
	transition: color 160ms ease;
}

#destination-matchmaker .lios-rm-modal-trigger::before {
	content: "+";
	display: inline-grid;
	place-items: center;
	width: 18px;
	height: 18px;
	border-radius: 50%;
	background: #eef6fb;
	color: #005B97;
	font-size: 0.85rem;
	font-weight: 900;
	line-height: 1;
	transition: background-color 160ms ease, color 160ms ease;
}

#destination-matchmaker .lios-rm-modal-trigger:hover,
#destination-matchmaker .lios-rm-modal-trigger:focus-visible {
	color: #004675;
}

#destination-matchmaker .lios-rm-modal-trigger:hover::before,
#destination-matchmaker .lios-rm-modal-trigger:focus-visible::before {
	background: #005B97;
	color: #ffffff;
}

/* Native <dialog> Popup for Score Breakdown (Matches Main Result Styling) */
dialog.lios-rm-modal {
	width: min(calc(100% - 32px), 780px);
	max-width: 780px;
	max-height: 88vh;
	margin: auto;
	padding: 0;
	border: 0;
	border-radius: 18px;
	background: #ffffff;
	color: var(--lios-ink, #18242d);
	box-shadow: 0 24px 64px rgba(6, 29, 45, 0.38);
	overflow: hidden;
}

dialog.lios-rm-modal::backdrop {
	background: rgba(6, 29, 45, 0.62);
	backdrop-filter: blur(4px);
	-webkit-backdrop-filter: blur(4px);
}

.lios-rm-modal__inner {
	display: flex;
	flex-direction: column;
	max-height: 88vh;
}

.lios-rm-modal__head {
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 16px;
	padding: 20px 26px;
	background: linear-gradient(135deg, #003a63 0%, #005B97 100%);
	color: #ffffff;
}

.lios-rm-modal__heading {
	display: flex;
	flex-wrap: wrap;
	align-items: center;
	gap: 10px;
	min-width: 0;
}

.lios-rm-modal__rank {
	display: inline-flex;
	align-items: center;
	padding: 4px 10px;
	border-radius: 999px;
	background: var(--lios-gold, #f2bd3d);
	color: #061d2d;
	font-size: 0.72rem;
	font-weight: 900;
	letter-spacing: 0.04em;
	text-transform: uppercase;
}

.lios-rm-modal__title {
	margin: 0 !important;
	color: #ffffff !important;
	font-size: clamp(1.1rem, 2vw, 1.4rem) !important;
	font-weight: 800;
	line-height: 1.2;
}

.lios-rm-modal__close {
	display: grid;
	place-items: center;
	width: 36px;
	height: 36px;
	flex: 0 0 36px;
	padding: 0;
	border: 1px solid rgba(255, 255, 255, 0.3);
	border-radius: 50%;
	background: rgba(255, 255, 255, 0.1);
	color: #ffffff;
	font-size: 1.4rem;
	line-height: 1;
	cursor: pointer;
	transition: background-color 160ms ease, color 160ms ease;
}

.lios-rm-modal__close:hover,
.lios-rm-modal__close:focus-visible {
	background: var(--lios-gold, #f2bd3d);
	border-color: var(--lios-gold, #f2bd3d);
	color: #061d2d;
}

.lios-rm-modal__body {
	padding: 24px 26px;
	overflow-y: auto;
}

.lios-rm-modal__body .lio-rm-scorecard {
	display: grid;
	grid-template-columns: repeat(2, minmax(0, 1fr) auto);
	gap: 0 14px;
	margin: 0 !important;
	padding: 14px 20px;
	border: 1px solid var(--rm-line-light, #edf2f5);
	border-radius: 10px;
	background: var(--rm-soft, #f7f9fb);
}

.lios-rm-modal__body .lio-rm-scorecard dt {
	display: flex;
	align-items: center;
	padding: 10px 0;
	border-bottom: 1px solid var(--rm-line-light, #edf2f5);
	color: var(--rm-ink, #18242d);
	font-size: 16px;
	font-weight: 600;
	line-height: 1.35;
}

.lios-rm-modal__body .lio-rm-scorecard dd {
	display: flex;
	align-items: center;
	justify-content: flex-end;
	gap: 5px;
	margin: 0;
	padding: 10px 22px 10px 0;
	border-bottom: 1px solid var(--rm-line-light, #edf2f5);
	color: var(--rm-navy, #102f46);
	font-size: 24px;
	font-weight: 700;
	font-variant-numeric: tabular-nums;
	text-align: right;
	white-space: nowrap;
}

.lios-rm-modal__body .lio-rm-scorecard dd:nth-of-type(even) {
	padding-right: 0;
}

.lios-rm-modal__body .lio-rm-scorecard dd small {
	font-size: 13.5px;
	font-weight: 600;
	color: #4b5966;
}

.lios-rm-modal__body .lio-rm-result-unavail,
.lios-rm-modal__body .lio-rm-result-source {
	margin: 12px 0 0;
	font-size: 13px;
	line-height: 1.55;
	color: var(--rm-muted, #5e6b78);
}

@media (max-width: 640px) {
	.lios-rm-modal__body .lio-rm-scorecard {
		grid-template-columns: minmax(0, 1fr) auto;
		padding: 12px 14px;
	}

	.lios-rm-modal__body .lio-rm-scorecard dd {
		padding-right: 0;
	}
}

.lios-rm-modal__footer {
	padding: 16px 26px 20px;
	border-top: 1px solid var(--lios-line, #dce4e8);
	background: #f7f9fb;
	display: flex;
	justify-content: flex-end;
}

.lios-rm-modal__cta {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	min-height: 44px;
	padding: 10px 22px;
	border-radius: 8px;
	background: #005B97;
	color: #ffffff !important;
	font-size: 0.8rem;
	font-weight: 800;
	letter-spacing: 0.04em;
	text-transform: uppercase;
	text-decoration: none;
	transition: background-color 160ms ease;
}

.lios-rm-modal__cta:hover {
	background: #004675;
}

#destination-matchmaker .lio-rm-grade-circle--ap,
#destination-matchmaker .lio-rm-grade-circle--a {
	background: #059669 !important;
	color: #ffffff !important;
}

#destination-matchmaker .lio-rm-grade-circle--bp,
#destination-matchmaker .lio-rm-grade-circle--b {
	background: #005B97 !important;
	color: #ffffff !important;
}

#destination-matchmaker .lio-rm-next {
	margin-top: 26px;
	padding-top: 22px;
	border-top: 1px solid var(--lios-line, #dce4e8);
}

#destination-matchmaker .lio-rm-next ul {
	display: grid;
	grid-template-columns: repeat(3, minmax(0, 1fr));
	gap: 16px;
}

@media (max-width: 1024px) {
	#destination-matchmaker .lio-rm-form {
		grid-template-columns: repeat(2, minmax(0, 1fr));
	}

	#destination-matchmaker .lio-rm-results > ol,
	#destination-matchmaker .lio-rm-next ul {
		grid-template-columns: 1fr;
	}
}

@media (max-width: 640px) {
	#destination-matchmaker .lio-rm-form {
		grid-template-columns: 1fr;
	}

	#destination-matchmaker .lio-rm-form button[type="submit"] {
		justify-self: stretch;
		width: 100%;
	}

	#destination-matchmaker .lio-rm-results > ol > li:not(:first-child) .lio-rm-result-top {
		grid-template-columns: 1fr;
	}
}

/* ==========================================================================
   IN-PAGE OVERSEAS BUDGETS SECTION ([lio_country_table])
   ========================================================================== */
.lios-budgets-section {
	background: #ffffff;
	scroll-margin-top: 84px;
}

.lios-budgets-section .lios-shell {
	width: min(calc(100% - 40px), var(--lios-shell, 1240px));
}

.lios-budgets-section .lios-section-heading p {
	max-width: 680px;
	margin: 12px 0 0;
	color: var(--lios-muted, #5e6b78);
}

.lios-budgets-section__stage {
	padding: 0;
	border: 0;
	border-radius: 0;
	background: transparent;
	box-shadow: none;
	overflow: visible;
}

/* Hide internal batch/placeholder dev notes on homepage */
.lios-budgets-section .lio-rm-ct-summary,
.lios-budgets-section .lio-rm-ct-legend,
.lios-budgets-section .lio-rm-ct-note {
	display: none !important;
}

/* Filter Bar */
.lios-budgets-section .lio-rm-ct-filters {
	display: grid !important;
	grid-template-columns: repeat(3, minmax(160px, 1fr)) auto;
	gap: 14px 18px;
	align-items: end;
	margin: 0 0 18px !important;
	padding: 18px 22px !important;
	border: 1px solid var(--lios-line, #dce4e8) !important;
	border-radius: 14px !important;
	background: var(--lios-mist, #f3f6f7) !important;
}

.lios-budgets-section .lio-rm-fg label {
	color: var(--lios-navy, #102f46) !important;
	font-size: 0.72rem !important;
	font-weight: 800 !important;
	letter-spacing: 0.05em;
	text-transform: uppercase;
}

.lios-budgets-section .lio-rm-fg select,
.lios-budgets-section .lio-rm-fg input {
	height: 42px;
	border: 1px solid #cbd5e1 !important;
	border-radius: 8px !important;
	background: #ffffff !important;
	color: var(--lios-ink, #18242d) !important;
	font-size: 0.88rem !important;
}

.lios-budgets-section .lio-rm-fg select:focus,
.lios-budgets-section .lio-rm-fg input:focus {
	border-color: #005B97 !important;
	outline: 3px solid rgba(0, 91, 151, 0.16) !important;
}

.lios-budgets-section .lio-rm-fcount {
	display: flex;
	align-items: center;
	gap: 12px;
	justify-content: flex-end;
	min-height: 42px;
	font-size: 0.82rem;
	color: var(--lios-muted, #5e6b78);
}

.lios-budgets-section .lio-rm-freset {
	padding: 7px 14px !important;
	border: 1px solid #005B97 !important;
	border-radius: 999px !important;
	background: #ffffff !important;
	color: #005B97 !important;
	font-size: 0.74rem !important;
	font-weight: 800 !important;
	text-transform: uppercase;
	cursor: pointer;
}

.lios-budgets-section .lio-rm-freset:hover {
	background: #005B97 !important;
	color: #ffffff !important;
}

/* Table Container */
.lios-budgets-section .lio-rm-ct-scroll {
	border: 1px solid var(--lios-line, #dce4e8) !important;
	border-radius: 16px !important;
	background: #ffffff !important;
	box-shadow: 0 10px 28px rgba(15, 47, 70, 0.07) !important;
	overflow-x: auto;
}

.lios-budgets-section .lio-rm-ct-table {
	width: 100%;
	border-collapse: separate;
	border-spacing: 0;
	font-size: 0.88rem;
}

.lios-budgets-section .lio-rm-ct-table thead th {
	background: linear-gradient(180deg, #005B97 0%, #004b7d 100%) !important;
	color: #ffffff !important;
	border-bottom: 2px solid #003a63 !important;
	padding: 14px 16px !important;
	font-size: 0.72rem !important;
	font-weight: 800 !important;
	letter-spacing: 0.05em;
	text-transform: uppercase;
	white-space: nowrap;
}

.lios-budgets-section .lio-rm-ct-table thead th .lio-rm-sort {
	color: #ffffff !important;
	font: inherit;
	text-transform: inherit;
	letter-spacing: inherit;
}

.lios-budgets-section .lio-rm-ct-table thead th[aria-sort] {
	border-bottom-color: var(--lios-gold, #f2bd3d) !important;
}

.lios-budgets-section .lio-rm-ct-table thead th[aria-sort] .lio-rm-arw {
	color: var(--lios-gold, #f2bd3d) !important;
}

.lios-budgets-section .lio-rm-ct-table tbody tr {
	transition: background-color 140ms ease;
}

.lios-budgets-section .lio-rm-ct-table tbody tr:nth-child(even) td,
.lios-budgets-section .lio-rm-ct-table tbody tr:nth-child(even) th.lio-rm-city {
	background: #f8fafc;
}

.lios-budgets-section .lio-rm-ct-table tbody tr:hover td,
.lios-budgets-section .lio-rm-ct-table tbody tr:hover th.lio-rm-city {
	background: #eef6fb !important;
}

.lios-budgets-section .lio-rm-ct-table tbody th.lio-rm-city,
.lios-budgets-section .lio-rm-ct-table tbody td {
	padding: 14px 16px !important;
	border-bottom: 1px solid #edf2f5 !important;
	vertical-align: middle;
}

.lios-budgets-section .lio-rm-ct-table tbody th.lio-rm-city {
	position: sticky;
	left: 0;
	z-index: 2;
	background: #ffffff;
	border-right: 1px solid #edf2f5;
	text-align: left;
}

.lios-budgets-section .lio-rm-ct-table tbody th.lio-rm-city b {
	display: block;
	color: var(--lios-navy, #102f46);
	font-size: 0.94rem;
	font-weight: 800;
}

.lios-budgets-section .lio-rm-ct-table tbody th.lio-rm-city span {
	display: block;
	color: var(--lios-muted, #5e6b78);
	font-size: 0.76rem;
	font-weight: 600;
}

.lios-budgets-section .lio-rm-cost {
	font-variant-numeric: tabular-nums;
	font-weight: 800 !important;
	color: var(--lios-navy, #102f46) !important;
	white-space: nowrap;
}

.lios-budgets-section .lio-rm-cost small {
	display: block;
	font-size: 0.7rem !important;
	font-weight: 500 !important;
	color: var(--lios-muted, #5e6b78) !important;
}

.lios-budgets-section .lio-rm-grade {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	min-width: 34px;
	height: 28px;
	padding: 0 8px;
	border-radius: 999px;
	font-size: 0.76rem;
	font-weight: 900;
}

.lios-budgets-section .lio-rm-grade-ap,
.lios-budgets-section .lio-rm-grade-a {
	background: #059669 !important;
	color: #ffffff !important;
}

.lios-budgets-section .lio-rm-grade-bp,
.lios-budgets-section .lio-rm-grade-b {
	background: #005B97 !important;
	color: #ffffff !important;
}

.lios-budgets-section .lio-rm-bar {
	display: block;
	height: 6px;
	margin-top: 5px;
	border-radius: 999px;
	background: #dce4e8 !important;
	overflow: hidden;
}

.lios-budgets-section .lio-rm-bar i {
	display: block;
	height: 100%;
	border-radius: 999px;
	background: #005B97 !important;
}

.lios-budgets-section .lio-rm-source {
	margin-top: 14px !important;
	font-size: 0.76rem !important;
	color: var(--lios-muted, #5e6b78) !important;
}

.lios-budgets-section__fallback {
	display: flex;
	flex-wrap: wrap;
	align-items: center;
	justify-content: space-between;
	gap: 18px;
	padding: 24px 28px;
	border: 1px solid var(--lios-line, #dce4e8);
	border-radius: 16px;
	background: var(--lios-mist, #f3f6f7);
}

.lios-budgets-section__fallback p {
	margin: 0;
	max-width: 620px;
	color: var(--lios-muted, #5e6b78);
	font-size: 0.94rem;
}

@media (max-width: 900px) {
	.lios-budgets-section .lio-rm-ct-filters {
		grid-template-columns: repeat(2, minmax(0, 1fr));
	}

	.lios-budgets-section .lio-rm-fcount {
		grid-column: 1 / -1;
		justify-content: space-between;
	}
}

@media (max-width: 560px) {
	.lios-budgets-section .lio-rm-ct-filters {
		grid-template-columns: 1fr;
	}
}

#destination-matchmaker {
	scroll-margin-top: 84px;
}

/* ==========================================================================
   RESPONSIVE BREAKPOINTS
   ========================================================================== */
@media (max-width: 960px) {
	.lios-bento-grid {
		grid-template-columns: 1fr;
	}

	.lios-matchmaker-fallback {
		grid-template-columns: 1fr;
	}

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

@media (max-width: 640px) {
	.lios-bento-hero {
		padding: 32px 16px 28px;
	}

	.lios-bento-card {
		min-height: 0;
		padding: 22px 20px;
	}

	.lios-bento-card--primary {
		min-height: 0;
	}

	.lios-shortcode-surface {
		padding: 22px 18px;
	}

	.lios-matchmaker-fallback__steps,
	.lios-budgets-grid {
		grid-template-columns: 1fr;
	}

	.lios-bento-hero .lios-topic-nav {
		overflow-x: auto;
		margin-right: -12px;
		margin-left: -12px;
		padding: 0 12px 6px;
	}

	.lios-bento-hero .lios-topic-nav__inner {
		width: max-content;
		min-width: 100%;
		flex-wrap: nowrap;
		justify-content: flex-start;
	}

	.lios-bento-hero .lios-topic-nav a {
		white-space: nowrap;
	}
}
