/**
 * Nomadway 5.0 – Phase 4B public shell and shared design contracts.
 * Loaded after the existing route bundle; this is the single consolidation
 * layer for tokens, shell, search, footer and the four card primitives.
 */

:root {
	/* Canonical brand and surface roles. */
	--nw-night: #16211f;
	--nw-paper: #fffdf8;
	--nw-sand: #f5f0e7;
	--nw-white: #fff;
	--nw-moss: #1f4d4a;
	--nw-moss-dark: #173c3a;
	--nw-terracotta: #c96f4a;
	--nw-map-water: #16211f;
	--nw-map-land: #315f55;
	--nw-map-route: #e8b054;
	--nw-map-marker: #e8785a;
	--nw-ink: #252a2a;
	--nw-muted: #6e706b;
	--nw-border: #ddd8cf;
	--nw-inverse: #fffdf8;

	/* Functional roles stay independent from brand accents. */
	--nw-success: #2f6b4f;
	--nw-warning: #8a6519;
	--nw-danger: #a33f3f;
	--nw-info: #315f78;

	/* Typography roles; local WOFF2 remains opt-in through the Customizer. */
	--nw-font-display: 'Domine', Georgia, 'Times New Roman', serif;
	--nw-font-body: 'Work Sans', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
	--nw-font-data: ui-monospace, 'SFMono-Regular', Consolas, monospace;
	--nw-type-xs: .75rem;
	--nw-type-sm: .875rem;
	--nw-type-body: 1rem;
	--nw-type-lead: 1.125rem;
	--nw-type-card: 1.375rem;
	--nw-type-section: 1.75rem;
	--nw-type-page: 2.25rem;
	--nw-type-display: clamp(2.5rem, 6vw, 5.5rem);

	/* Spacing, geometry and widths. */
	--nw-space-1: 4px;
	--nw-space-2: 8px;
	--nw-space-3: 12px;
	--nw-space-4: 16px;
	--nw-space-6: 24px;
	--nw-space-8: 32px;
	--nw-space-12: 48px;
	--nw-space-16: 64px;
	--nw-space-24: 96px;
	--nw-section-space: clamp(64px, 8vw, 112px);
	--nw-radius-control: 6px;
	--nw-radius-card: 12px;
	--nw-radius-panel: 20px;
	--nw-radius-pill: 999px;
	--nw-shadow-overlay: 0 16px 48px rgba(22, 33, 31, .12);
	--nw-focus-light: var(--nw-moss);
	--nw-focus-dark: var(--nw-map-route);
	--nw-width-prose: 800px;
	--nw-width-wide: 1160px;
	--nw-width-shell: 1240px;

	/* Compatibility aliases converge on the canonical roles. */
	--nw-petrol: var(--nw-moss);
	--nw-petrol-dark: var(--nw-moss-dark);
	--nw-footer-bg: var(--nw-night);
	--nw-radius-sm: var(--nw-radius-control);
	--nw-radius: var(--nw-radius-control);
	--nw-space-section: var(--nw-section-space);
}

.nw-surface--paper { background: var(--nw-paper); color: var(--nw-ink); }
.nw-surface--sand { background: var(--nw-sand); color: var(--nw-ink); }
.nw-surface--midnight { background: var(--nw-night); color: var(--nw-inverse); }
.nw-surface--neutral { background: var(--nw-white); color: var(--nw-ink); }
.nw-surface--inverse { background: var(--nw-moss-dark); color: var(--nw-inverse); }

.nw-type-display { font: 700 var(--nw-type-display)/1.05 var(--nw-font-display); }
.nw-type-page-title { font: 700 var(--nw-type-page)/1.1 var(--nw-font-display); }
.nw-type-section-title { font: 700 var(--nw-type-section)/1.15 var(--nw-font-display); }
.nw-type-card-title { font: 700 var(--nw-type-card)/1.2 var(--nw-font-display); }
.nw-type-body { font: 400 var(--nw-type-body)/1.65 var(--nw-font-body); }
.nw-type-ui { font: 650 var(--nw-type-sm)/1.4 var(--nw-font-body); }
.nw-type-meta,
.nw-type-caption { font: 500 var(--nw-type-sm)/1.45 var(--nw-font-body); color: var(--nw-muted); }
.nw-type-kicker { font: 750 var(--nw-type-xs)/1.35 var(--nw-font-body); letter-spacing: .09em; text-transform: uppercase; }
.nw-type-data { font: 650 var(--nw-type-sm)/1.35 var(--nw-font-data); font-variant-numeric: tabular-nums; }

/* Correct visually-hidden contract: keep semantics without expanding the root. */
.screen-reader-text,
legend.screen-reader-text {
	position: absolute !important;
	width: 1px !important;
	height: 1px !important;
	padding: 0 !important;
	margin: -1px !important;
	overflow: hidden !important;
	clip: rect(0, 0, 0, 0) !important;
	clip-path: inset(50%) !important;
	white-space: nowrap !important;
	border: 0 !important;
}

:where(a, button, input, select, textarea, summary, [tabindex]):focus-visible {
	outline: 3px solid var(--nw-focus-light);
	outline-offset: 3px;
}

.nw-site-shell-header :where(a, button):focus-visible,
.nw-search-dialog :where(a, button):focus-visible,
.nw-site-shell-footer :where(a, button):focus-visible,
.nw-surface--midnight :where(a, button, input, select, textarea, summary):focus-visible {
	outline-color: var(--nw-focus-dark);
}

body.nw-overlay-open {
	overflow: hidden;
}

/* Public header --------------------------------------------------------- */
.nw-site-shell-header {
	position: sticky;
	top: 0;
	z-index: 90;
	border: 0;
	border-bottom: 1px solid rgba(245, 240, 231, .16);
	background: rgba(22, 33, 31, .97);
	color: var(--nw-inverse);
	box-shadow: none;
	backdrop-filter: blur(14px) saturate(110%);
}

.admin-bar .nw-site-shell-header { top: var(--wp-admin--admin-bar--height, 32px); }

.nw-site-shell-header .nw-header__inner {
	width: min(calc(100% - 32px), var(--nw-width-shell));
	max-width: none;
	min-height: 68px;
	padding: 10px 0;
	gap: var(--nw-space-4);
}

.nw-site-shell-header .nw-brand { order: 1; min-width: 0; }
.nw-site-shell-header .nw-site-shell-nav { display: none; order: 2; }
.nw-site-shell-header .nw-header__actions { order: 3; }
.nw-site-shell-header .nw-menu-toggle { display: inline-flex; order: 4; }

.nw-site-shell-header .nw-brand__link,
.nw-site-shell-header .nw-brand__link--wordmark .nw-brand__name,
.nw-site-shell-header .nw-brand__tagline,
.nw-site-shell-header .nw-nav a,
.nw-site-shell-header .nw-search-toggle,
.nw-site-shell-header .nw-menu-toggle {
	color: var(--nw-inverse);
}

.nw-site-shell-header .nw-brand__link--wordmark .nw-brand__name::before {
	border-color: var(--nw-map-route);
	border-right-color: var(--nw-map-marker);
}

.nw-site-shell-header .nw-brand__tagline { color: rgba(255, 253, 248, .62); }

.nw-site-shell-header .nw-search-toggle,
.nw-site-shell-header .nw-menu-toggle {
	width: 44px;
	min-width: 44px;
	height: 44px;
	border-radius: var(--nw-radius-control);
}

.nw-site-shell-header .nw-search-toggle:hover,
.nw-site-shell-header .nw-menu-toggle:hover {
	background: rgba(255, 253, 248, .09);
}

.nw-site-shell-header .nw-menu-toggle__label {
	position: absolute;
	width: 1px;
	height: 1px;
	overflow: hidden;
	clip-path: inset(50%);
}

.nw-site-shell-header .nw-header__cta {
	min-height: 42px;
	padding: 9px 15px;
	border-radius: var(--nw-radius-control);
	background: var(--nw-terracotta);
	color: var(--nw-paper);
}

.nw-site-shell-header .nw-reading-progress { background: rgba(255, 253, 248, .14); }
.nw-site-shell-header .nw-reading-progress span { background: var(--nw-map-route); }

/* Explicit contrast states. These intentionally outrank legacy route bundles. */
body .nw-site-shell-header.nw-header--light,
body .nw-site-shell-header.nw-header--scrolled {
	border-bottom-color: color-mix(in srgb, var(--nw-border) 82%, transparent) !important;
	background: rgba(255, 253, 248, .97) !important;
	color: var(--nw-ink) !important;
	box-shadow: 0 10px 30px rgba(22, 33, 31, .08);
}

body .nw-site-shell-header.nw-header--inverse:not(.nw-header--scrolled) {
	border-bottom-color: rgba(245, 240, 231, .16) !important;
	background: rgba(22, 33, 31, .97) !important;
	color: var(--nw-inverse) !important;
	box-shadow: none;
}

body .nw-site-shell-header:is(.nw-header--light, .nw-header--scrolled) :is(
	.nw-brand__link,
	.nw-brand__link--wordmark .nw-brand__name,
	.nw-nav:not(.is-open) a,
	.nw-search-toggle,
	.nw-menu-toggle
) {
	color: var(--nw-moss-dark) !important;
}

body .nw-site-shell-header:is(.nw-header--light, .nw-header--scrolled) .nw-brand__tagline {
	color: var(--nw-muted) !important;
}

body .nw-site-shell-header:is(.nw-header--light, .nw-header--scrolled) :is(.nw-search-toggle, .nw-menu-toggle):hover {
	background: color-mix(in srgb, var(--nw-moss) 9%, transparent);
}

body .nw-site-shell-header.nw-header--inverse:not(.nw-header--scrolled) :is(
	.nw-brand__link,
	.nw-brand__link--wordmark .nw-brand__name,
	.nw-brand__tagline,
	.nw-nav a,
	.nw-search-toggle,
	.nw-menu-toggle
) {
	color: var(--nw-inverse) !important;
}

body .nw-site-shell-header .nw-nav.is-open a { color: var(--nw-inverse) !important; }

/* Mobile/tablet navigation. */
.nw-site-shell-header .nw-nav.is-open {
	position: fixed;
	top: var(--nw-header-height, 68px);
	right: 0;
	bottom: 0;
	left: 0;
	display: block;
	padding: 22px max(16px, calc((100vw - var(--nw-width-shell)) / 2));
	overflow-y: auto;
	border: 0;
	background: var(--nw-night);
	box-shadow: none;
	color: var(--nw-inverse);
}

.admin-bar .nw-site-shell-header .nw-nav.is-open {
	top: calc(var(--wp-admin--admin-bar--height, 32px) + var(--nw-header-height, 68px));
}

.nw-site-shell-header .nw-nav.is-open > ul {
	display: grid;
	width: min(100%, 680px);
	margin: 0 auto;
	gap: 0;
}

.nw-site-shell-header .nw-nav.is-open li {
	border-bottom: 1px solid rgba(245, 240, 231, .16);
}

.nw-site-shell-header .nw-nav.is-open a {
	min-height: 58px;
	font: 700 clamp(1.25rem, 5vw, 1.75rem)/1.2 var(--nw-font-display);
	letter-spacing: -.015em;
	text-transform: none;
}

.nw-site-shell-header .nw-nav.is-open .sub-menu {
	display: grid;
	padding: 0 0 12px 18px;
}

.nw-site-shell-header .nw-nav.is-open .sub-menu a {
	min-height: 44px;
	font: 650 var(--nw-type-sm)/1.4 var(--nw-font-body);
}

/* Search dialog --------------------------------------------------------- */
.nw-search-dialog[hidden] { display: none !important; }

.nw-search-dialog.is-open {
	position: fixed;
	inset: 0;
	z-index: 200;
	display: grid;
	place-items: center;
	padding: 24px;
	border: 0;
	background: transparent;
}

.nw-search-dialog__backdrop {
	position: absolute;
	inset: 0;
	background: rgba(8, 20, 19, .76);
	backdrop-filter: blur(8px);
}

.nw-search-dialog .nw-search-dialog__panel {
	position: relative;
	z-index: 1;
	display: grid;
	width: min(100%, 760px);
	max-width: none;
	max-height: min(86svh, 760px);
	margin: 0;
	padding: clamp(24px, 4vw, 42px);
	overflow-y: auto;
	gap: 24px;
	border: 1px solid rgba(245, 240, 231, .18);
	border-radius: var(--nw-radius-panel);
	background: var(--nw-night);
	box-shadow: var(--nw-shadow-overlay);
	color: var(--nw-inverse);
}

.nw-search-dialog__head {
	display: flex;
	align-items: flex-start;
	justify-content: space-between;
	gap: 24px;
}

.nw-search-dialog__head .nw-kicker { color: var(--nw-map-route); }

.nw-search-dialog__head h2 {
	margin: 6px 0 0;
	color: var(--nw-inverse);
	font: 700 clamp(2rem, 5vw, 3.5rem)/1.03 var(--nw-font-display);
	letter-spacing: -.035em;
}

.nw-search-dialog .nw-header__search-close {
	display: inline-grid;
	width: 44px;
	height: 44px;
	flex: 0 0 44px;
	place-items: center;
	padding: 0;
	border: 1px solid rgba(245, 240, 231, .24);
	border-radius: var(--nw-radius-control);
	background: transparent;
	color: var(--nw-inverse);
	font-size: 1.65rem;
	cursor: pointer;
}

.nw-search-dialog .nw-searchform {
	display: grid;
	grid-template-columns: minmax(0, 1fr) auto;
	gap: 10px;
	margin: 0;
	padding: 0;
}

.nw-search-dialog .nw-searchform .nw-input {
	min-height: 54px;
	border: 1px solid rgba(245, 240, 231, .28);
	border-radius: var(--nw-radius-control);
	background: var(--nw-paper);
}

.nw-search-dialog .nw-searchform button,
.nw-search-dialog .nw-searchform .nw-btn {
	min-height: 54px;
	border-radius: var(--nw-radius-control);
}

.nw-search-dialog__suggestions > span {
	display: block;
	margin-bottom: 10px;
	color: rgba(255, 253, 248, .62);
	font: 750 var(--nw-type-xs)/1.4 var(--nw-font-body);
	letter-spacing: .09em;
	text-transform: uppercase;
}

.nw-search-dialog__suggestions ul {
	display: grid;
	grid-template-columns: repeat(2, minmax(0, 1fr));
	margin: 0;
	padding: 0;
	list-style: none;
}

.nw-search-dialog__suggestions li { border-top: 1px solid rgba(245, 240, 231, .16); }

.nw-search-dialog__suggestions a {
	display: flex;
	min-height: 52px;
	align-items: center;
	justify-content: space-between;
	gap: 12px;
	padding: 10px 8px;
	color: var(--nw-inverse);
	font-weight: 650;
}

.nw-search-dialog__suggestions a:hover { color: var(--nw-map-route); }

/* Footer --------------------------------------------------------------- */
.nw-site-shell-footer {
	position: relative;
	border: 0;
	background: var(--nw-night);
	color: var(--nw-inverse);
}

.nw-site-shell-footer .nw-footer__grid {
	display: grid;
	grid-template-columns: minmax(240px, 1.4fr) repeat(4, minmax(130px, .75fr));
	width: min(calc(100% - 40px), var(--nw-width-shell));
	max-width: none;
	gap: clamp(28px, 4vw, 56px);
	padding-top: clamp(52px, 7vw, 84px);
	padding-bottom: 44px;
}

.nw-site-shell-footer .nw-footer__brand,
.nw-site-shell-footer .nw-footer__col-title { color: var(--nw-inverse); }
.nw-site-shell-footer .nw-footer__tagline,
.nw-site-shell-footer .nw-footer__blurb,
.nw-site-shell-footer .nw-footer__links a,
.nw-site-shell-footer .nw-footer__bottom { color: rgba(255, 253, 248, .68); }
.nw-site-shell-footer .nw-footer__links a:hover { color: var(--nw-map-route); }
.nw-site-shell-footer .nw-footer__bottom {
	width: min(calc(100% - 40px), var(--nw-width-shell));
	max-width: none;
	border-top-color: rgba(245, 240, 231, .16);
}

/* Four shared card primitives ----------------------------------------- */
.nw-card-primitive {
	min-width: 0;
	border: 1px solid var(--nw-border);
	border-radius: var(--nw-radius-card);
	background: var(--nw-paper);
	overflow: clip;
}

.nw-card-primitive--editorial {
	background: var(--nw-paper);
}

.nw-card-primitive__link {
	display: grid;
	height: 100%;
	color: var(--nw-ink);
	text-decoration: none;
}

.nw-card-primitive__media {
	position: relative;
	display: block;
	width: 100%;
	aspect-ratio: 16 / 10;
	overflow: hidden;
	background: var(--nw-sand);
}

.nw-card-primitive__media img,
.nw-card-primitive__media .nw-media {
	display: block;
	width: 100%;
	height: 100%;
	object-fit: cover;
	transition: transform 220ms ease;
}

.nw-card-primitive__body {
	display: flex;
	min-width: 0;
	height: 100%;
	flex-direction: column;
	align-items: flex-start;
	gap: 10px;
	padding: clamp(18px, 2.5vw, 26px);
}

.nw-card-primitive__kicker {
	color: var(--nw-terracotta);
	font: 750 var(--nw-type-xs)/1.35 var(--nw-font-body);
	letter-spacing: .09em;
	text-transform: uppercase;
}

.nw-card-primitive__title {
	font: 700 var(--nw-type-card)/1.18 var(--nw-font-display);
	letter-spacing: -.02em;
}

.nw-card-primitive__context,
.nw-card-primitive__excerpt { color: var(--nw-muted); line-height: 1.55; }
.nw-card-primitive__context { font-size: var(--nw-type-sm); }
.nw-card-primitive__excerpt { font-size: var(--nw-type-body); }
.nw-card-primitive__meta {
	margin-top: auto;
	color: var(--nw-muted);
	font-size: var(--nw-type-xs);
	font-weight: 650;
}

.nw-card-primitive__action {
	display: inline-flex;
	align-items: center;
	gap: 7px;
	color: var(--nw-moss-dark);
	font-size: var(--nw-type-sm);
	font-weight: 750;
	text-decoration: underline;
	text-decoration-thickness: 1px;
	text-underline-offset: 4px;
}

.nw-card-primitive__action span { transition: transform 180ms ease; }
.nw-card-primitive__link:hover { color: var(--nw-ink); }
.nw-card-primitive__link:hover .nw-card-primitive__media img { transform: scale(1.025); }
.nw-card-primitive__link:hover .nw-card-primitive__action span { transform: translateX(3px); }

.nw-card-primitive--featured .nw-card-primitive__title {
	font-size: clamp(1.65rem, 3vw, 2.4rem);
}

.nw-card-primitive--compact .nw-card-primitive__media { aspect-ratio: 4 / 3; }
.nw-card-primitive--text-only .nw-card-primitive__media { display: none; }

.nw-card-primitive--atlas {
	border-color: transparent;
	background: var(--nw-night);
}

.nw-card-primitive--atlas .nw-card-primitive__body,
.nw-card-primitive--atlas .nw-card-primitive__title,
.nw-card-primitive--atlas .nw-card-primitive__action { color: var(--nw-inverse); }
.nw-card-primitive--atlas .nw-card-primitive__context,
.nw-card-primitive--atlas .nw-card-primitive__excerpt,
.nw-card-primitive--atlas .nw-card-primitive__meta { color: rgba(255, 253, 248, .66); }
.nw-card-primitive--atlas .nw-card-primitive__kicker { color: var(--nw-map-route); }

.nw-card-primitive__media--atlas {
	background-color: var(--nw-map-water);
	background-image:
		linear-gradient(rgba(245, 240, 231, .09) 1px, transparent 1px),
		linear-gradient(90deg, rgba(245, 240, 231, .09) 1px, transparent 1px);
	background-size: 34px 34px;
}

.nw-card-primitive__media--atlas::before {
	content: '';
	position: absolute;
	inset: 22% 16% 18% 18%;
	border: 2px solid var(--nw-map-route);
	border-color: transparent transparent var(--nw-map-route) var(--nw-map-route);
	border-radius: 50%;
	transform: rotate(-8deg);
}

.nw-card-primitive__media--atlas span {
	position: absolute;
	right: 25%;
	top: 35%;
	width: 14px;
	height: 14px;
	border: 3px solid var(--nw-paper);
	border-radius: 50%;
	background: var(--nw-map-marker);
}

.nw-card-primitive--utility { border-top: 4px solid var(--nw-terracotta); }
.nw-card-primitive--utility .nw-card-primitive__title { font-family: var(--nw-font-body); font-weight: 750; }

.nw-card-primitive--related .nw-card-primitive__link {
	grid-template-columns: 112px minmax(0, 1fr);
}
.nw-card-primitive--related .nw-card-primitive__media { height: 100%; aspect-ratio: auto; }
.nw-card-primitive--related .nw-card-primitive__body { justify-content: center; padding: 16px; }
.nw-card-primitive--related .nw-card-primitive__title { font-size: 1.05rem; }
.nw-card-primitive--related .nw-card-primitive__action { display: none; }

/* Isolated Phase-4B quick wins. */
.nw-travel-checks__sync-budget { min-height: 44px; }

.error404 .nw-empty h1 {
	margin: 0 0 16px;
	font: 700 clamp(2rem, 5vw, 3.5rem)/1.08 var(--nw-font-display);
}

/* Final public edge cases: compact 404 and honest contact shell. */
.nw-not-found,
.nw-final-contact {
	padding-top: clamp(32px, 5vw, 64px);
	padding-bottom: var(--nw-section-space);
}

.nw-not-found__intro {
	max-width: var(--nw-width-prose);
	margin-inline: auto;
}

.nw-not-found__intro .nw-searchform {
	display: grid;
	grid-template-columns: minmax(0, 1fr) auto;
	gap: 10px;
}

.nw-not-found__links {
	display: grid;
	grid-template-columns: repeat(2, minmax(0, 1fr));
	max-width: var(--nw-width-prose);
	margin: clamp(32px, 5vw, 56px) auto 0;
	gap: 12px;
}

.nw-not-found__links a {
	display: grid;
	min-width: 0;
	min-height: 112px;
	align-content: center;
	gap: 5px;
	padding: 20px;
	border: 1px solid var(--nw-border);
	border-radius: var(--nw-radius-card);
	background: var(--nw-paper);
	color: var(--nw-ink);
}

.nw-not-found__links strong { font: 700 1.15rem/1.2 var(--nw-font-display); }
.nw-not-found__links span { color: var(--nw-muted); font-size: var(--nw-type-sm); line-height: 1.45; }

.nw-final-contact__hero {
	display: grid;
	max-width: var(--nw-width-prose);
	justify-items: start;
	gap: 14px;
	padding-top: clamp(42px, 7vw, 88px);
	padding-bottom: clamp(42px, 7vw, 72px);
}

.nw-final-contact__hero h1 {
	margin: 0;
	font: 700 clamp(2.6rem, 7vw, 5.4rem)/1.02 var(--nw-font-display);
	letter-spacing: -.04em;
}

.nw-final-contact__hero p {
	max-width: 680px;
	margin: 0;
	color: var(--nw-muted);
	font-size: clamp(1.05rem, 2vw, 1.3rem);
	line-height: 1.6;
}

.nw-final-contact__body {
	display: grid;
	grid-template-columns: minmax(0, 1.35fr) minmax(280px, .65fr);
	align-items: start;
	gap: clamp(28px, 6vw, 72px);
	padding-top: clamp(32px, 5vw, 56px);
	border-top: 1px solid var(--nw-border);
}

.nw-final-contact__body h2 { margin-top: 0; font-size: clamp(1.65rem, 3vw, 2.35rem); }
.nw-final-contact__body p { max-width: 660px; color: var(--nw-muted); line-height: 1.7; }
.nw-final-contact__actions { display: flex; flex-wrap: wrap; align-items: center; gap: 16px; margin-top: 28px; }
.nw-final-contact__actions a { min-height: 44px; }
.nw-final-contact__note { padding: clamp(24px, 4vw, 36px); border-radius: var(--nw-radius-panel); background: var(--nw-night); color: var(--nw-inverse); }
.nw-final-contact__note h2 { color: inherit; }
.nw-final-contact__note p { color: rgba(255, 253, 248, .72); }
.nw-final-contact__note a { color: var(--nw-map-route); font-weight: 750; }

@media (min-width: 1024px) {
	.nw-site-shell-header .nw-menu-toggle { display: none; }
	.nw-site-shell-header .nw-site-shell-nav { display: block; margin-left: auto; }
	.nw-site-shell-header .nw-site-shell-nav > ul {
		display: flex;
		align-items: center;
		gap: clamp(14px, 1.7vw, 24px);
	}
	.nw-site-shell-header .nw-site-shell-nav > ul > li { position: relative; border: 0; }
	.nw-site-shell-header .nw-site-shell-nav > ul > li > a {
		min-height: 44px;
		font-size: .8rem;
		font-weight: 700;
		letter-spacing: .015em;
		text-transform: none;
	}
	.nw-site-shell-header .nw-site-shell-nav > ul > li > a:hover,
	.nw-site-shell-header .nw-site-shell-nav .current-menu-item > a,
	.nw-site-shell-header .nw-site-shell-nav .current-menu-parent > a { color: var(--nw-map-route); }
	.nw-site-shell-header .nw-site-shell-nav .sub-menu {
		position: absolute;
		top: calc(100% - 2px);
		left: -16px;
		display: none;
		width: 250px;
		padding: 10px;
		border: 1px solid rgba(245, 240, 231, .14);
		border-radius: var(--nw-radius-card);
		background: var(--nw-night);
		box-shadow: var(--nw-shadow-overlay);
	}
	.nw-site-shell-header .nw-site-shell-nav li:hover > .sub-menu,
	.nw-site-shell-header .nw-site-shell-nav li:focus-within > .sub-menu { display: grid; }
	.nw-site-shell-header .nw-site-shell-nav .sub-menu a { min-height: 42px; padding: 8px; }
	.nw-site-shell-header .nw-header__cta { display: inline-flex; }
}

@media (max-width: 1120px) and (min-width: 1024px) {
	.nw-site-shell-header .nw-brand__tagline,
	.nw-site-shell-header .nw-header__cta { display: none; }
}

@media (max-width: 960px) {
	.nw-site-shell-footer .nw-footer__grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
	.nw-site-shell-footer .nw-footer__intro { grid-column: 1 / -1; max-width: 620px; }
}

@media (max-width: 600px) {
	.nw-site-shell-header .nw-header__inner { width: min(calc(100% - 24px), var(--nw-width-shell)); }
	.nw-site-shell-header .nw-brand__tagline { display: none; }
	.nw-site-shell-header .nw-header__actions { margin-left: auto; }
	.nw-site-shell-header .nw-header__cta { display: none; }
	.nw-search-dialog.is-open { place-items: end stretch; padding: 0; }
	.nw-search-dialog .nw-search-dialog__panel {
		width: 100%;
		max-height: 92svh;
		padding: 24px 18px max(24px, env(safe-area-inset-bottom));
		border-right: 0;
		border-bottom: 0;
		border-left: 0;
		border-radius: var(--nw-radius-panel) var(--nw-radius-panel) 0 0;
	}
	.nw-search-dialog .nw-searchform { grid-template-columns: minmax(0, 1fr); }
	.nw-search-dialog .nw-searchform button,
	.nw-search-dialog .nw-searchform .nw-btn { width: 100%; }
	.nw-search-dialog__suggestions ul { grid-template-columns: minmax(0, 1fr); }
	.nw-site-shell-footer .nw-footer__grid { grid-template-columns: minmax(0, 1fr); }
	.nw-site-shell-footer .nw-footer__intro { grid-column: auto; }
	.nw-card-primitive--related .nw-card-primitive__link { grid-template-columns: 92px minmax(0, 1fr); }
	.nw-not-found__intro .nw-searchform,
	.nw-not-found__links,
	.nw-final-contact__body { grid-template-columns: minmax(0, 1fr); }
	.nw-not-found__intro .nw-searchform button { width: 100%; min-height: 44px; }
	.nw-final-contact__actions { align-items: flex-start; flex-direction: column; }
}

@media (prefers-reduced-motion: reduce) {
	.nw-card-primitive__media img,
	.nw-card-primitive__action span { transition: none; }
	.nw-card-primitive__link:hover .nw-card-primitive__media img,
	.nw-card-primitive__link:hover .nw-card-primitive__action span { transform: none; }
}

/* Reise-Tools-Hub: vorhandene Checks mit Packliste und Reiseposter verbinden. */
.nw-travel-tools-directory {
	padding: clamp(58px, 8vw, 104px) 0;
	background: var(--nw-sand);
}
.nw-travel-tools-directory__head { max-width: 720px; margin-bottom: clamp(24px, 4vw, 42px); }
.nw-travel-tools-directory__head h2 {
	max-width: 16ch;
	margin: 9px 0 0;
	font: 700 clamp(2rem, 5vw, 3.8rem)/1 var(--nw-font-display);
	letter-spacing: -.04em;
	text-wrap: balance;
}
.nw-travel-tools-directory__grid {
	display: grid;
	grid-template-columns: repeat(2, minmax(0, 1fr));
	gap: clamp(18px, 2.4vw, 28px);
}
.nw-travel-tools-directory__grid .nw-card-primitive { min-width: 0; height: 100%; }
.nw-travel-tools-directory__grid .nw-card-primitive__body { min-height: 300px; }
.nw-travel-tools-directory__grid > :last-child {
	border-color: color-mix(in srgb, var(--nw-terracotta) 48%, var(--nw-border));
	background: color-mix(in srgb, var(--nw-terracotta) 5%, var(--nw-paper));
}
@media (max-width: 640px) {
	.nw-travel-tools-directory__grid { grid-template-columns: minmax(0, 1fr); }
	.nw-travel-tools-directory__grid .nw-card-primitive__body { min-height: 0; }
	.nw-travel-tools-directory__grid .nw-card-primitive__link { min-height: 300px; }
}
