/* ==========================================================================
   Víkend na Slovensku – main stylesheet
   Motion follows the design-engineering rules: strong ease-out curves, short
   durations, press feedback, hover only where hover exists, transform/opacity
   only for movement, and full respect for prefers-reduced-motion.
   ========================================================================== */

/* 1. Tokens --------------------------------------------------------------- */
:root {
	--bg: #f7f4ec;            /* limestone */
	--surface: #ffffff;
	--surface-2: #efebe0;
	--ink: #14211b;
	--ink-2: #3b4a42;
	--muted: #66746c;
	--line: #ddd7c7;
	--forest: #0b3721;        /* brand green, carried over from the old site */
	--forest-2: #164a31;
	--moss: #6b8f5a;
	--river: #2d7f86;
	--ember: #c4561d;
	--sun: #e9b44c;
	--trail-green: #2e8b3d;
	--trail-yellow: #e0b400;
	--trail-blue: #1d5fb4;
	--trail-red: #c0261d;

	--font-display: 'Fraunces', Georgia, 'Times New Roman', serif;
	--font-body: 'Inter', system-ui, -apple-system, 'Segoe UI', Roboto, sans-serif;

	--ease-out: cubic-bezier(0.23, 1, 0.32, 1);
	--ease-in-out: cubic-bezier(0.77, 0, 0.175, 1);

	--header-h: 64px;
	--radius: 14px;
	--radius-sm: 8px;
	--shadow-1: 0 1px 2px rgba(20, 33, 27, 0.06), 0 4px 14px rgba(20, 33, 27, 0.06);
	--shadow-2: 0 2px 4px rgba(20, 33, 27, 0.08), 0 14px 38px rgba(20, 33, 27, 0.14);

	color-scheme: light;
}

@media (prefers-color-scheme: dark) {
	:root {
		--bg: #0f1713;
		--surface: #17221c;
		--surface-2: #1d2b24;
		--ink: #edf1ea;
		--ink-2: #c9d3c8;
		--muted: #93a39a;
		--line: #2b3a32;
		--forest: #8fc5a0;
		--forest-2: #a9d6b8;
		--moss: #9bbf88;
		--river: #6ec0c7;
		--ember: #f08a55;
		--shadow-1: 0 1px 2px rgba(0, 0, 0, 0.3), 0 4px 14px rgba(0, 0, 0, 0.25);
		--shadow-2: 0 2px 4px rgba(0, 0, 0, 0.35), 0 14px 38px rgba(0, 0, 0, 0.45);
		color-scheme: dark;
	}
}

/* Plugin widgets that duplicate what the theme already provides. */
.trp-language-switcher, .trp-floating-switcher { display: none !important; }

/* 2. Base ----------------------------------------------------------------- */
*,
*::before,
*::after { box-sizing: border-box; }

html { -webkit-text-size-adjust: 100%; text-size-adjust: 100%; scroll-padding-top: calc(var(--header-h) + 72px); }

body {
	margin: 0;
	background: var(--bg);
	color: var(--ink);
	font-family: var(--font-body);
	font-size: 1.0625rem;
	line-height: 1.65;
	font-optical-sizing: auto;
	-webkit-font-smoothing: antialiased;
	-moz-osx-font-smoothing: grayscale;
	text-rendering: optimizeLegibility;
}

img { display: block; max-width: 100%; height: auto; }
svg { flex: none; }
a { color: var(--forest); text-underline-offset: 0.2em; text-decoration-thickness: 1px; }
:focus-visible { outline: 3px solid var(--river); outline-offset: 3px; border-radius: 4px; }
ul, ol { padding: 0; margin: 0; }
li { list-style: none; }
h1, h2, h3, h4 { margin: 0; font-family: var(--font-display); font-weight: 600; line-height: 1.12; letter-spacing: -0.01em; color: var(--ink); text-wrap: balance; }
h1 { font-size: clamp(2.25rem, 1.2rem + 4.6vw, 4.4rem); }
h2 { font-size: clamp(1.7rem, 1.1rem + 2.2vw, 2.55rem); }
h3 { font-size: clamp(1.2rem, 1.05rem + 0.6vw, 1.45rem); letter-spacing: 0; }
p { margin: 0 0 1em; text-wrap: pretty; }
p:last-child { margin-bottom: 0; }

.wrap { width: min(100% - 2 * clamp(16px, 4vw, 40px), 1200px); margin-inline: auto; }
.wrap.narrow { width: min(100% - 2 * clamp(16px, 4vw, 40px), 820px); }
.visually-hidden { position: absolute !important; width: 1px; height: 1px; margin: -1px; padding: 0; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0; }
.skip { position: absolute; left: 12px; top: -60px; z-index: 100; background: var(--forest); color: #fff; padding: 10px 16px; border-radius: var(--radius-sm); }
.skip:focus { top: 12px; }

.eyebrow { font-size: 0.78rem; font-weight: 600; letter-spacing: 0.14em; text-transform: uppercase; color: var(--ember); margin: 0 0 0.8em; }
.eyebrow a { color: inherit; text-decoration: none; }
.lede { font-family: var(--font-display); font-size: clamp(1.25rem, 1rem + 1vw, 1.75rem); line-height: 1.4; color: var(--ink); font-weight: 400; margin-bottom: 1.4em; max-width: 52ch; }
.h-sm { font-size: 1.15rem; font-family: var(--font-body); font-weight: 650; letter-spacing: 0; }
.sub { margin-top: 2.2em; margin-bottom: 0.8em; }
.note { font-size: 0.95rem; color: var(--muted); max-width: 70ch; }
.prose { max-width: 68ch; }
.prose p { color: var(--ink-2); }
.block { padding-block: clamp(32px, 5vw, 64px); }

/* 3. Buttons & chips ------------------------------------------------------ */
.btn {
	display: inline-flex; align-items: center; gap: 0.5em;
	padding: 0.8em 1.35em; border-radius: 999px; border: 1.5px solid transparent;
	font: 600 0.98rem/1.2 var(--font-body); text-decoration: none; cursor: pointer;
	transition: transform 160ms var(--ease-out), background-color 160ms ease, color 160ms ease, border-color 160ms ease, box-shadow 160ms ease;
}
.btn:active { transform: scale(0.97); }
.btn-primary { background: var(--forest); color: #fff; }
.btn-ghost { background: transparent; color: #fff; border-color: rgba(255, 255, 255, 0.7); }
.btn-line { background: transparent; color: var(--forest); border-color: var(--forest); }
@media (prefers-color-scheme: dark) { .btn-primary { color: #0f1713; } .btn-line:hover { color: #0f1713; } }

.chips { display: flex; flex-wrap: wrap; gap: 8px; }
.chip {
	display: inline-flex; align-items: center; gap: 6px;
	padding: 0.45em 0.85em; border-radius: 999px; border: 1.5px solid var(--line);
	background: var(--surface); color: var(--ink-2); font: 600 0.88rem/1.2 var(--font-body); cursor: pointer;
	transition: transform 160ms var(--ease-out), background-color 160ms ease, border-color 160ms ease, color 160ms ease;
}
.chip span { font-weight: 500; color: var(--muted); font-size: 0.82em; }
.chip:active { transform: scale(0.97); }
.chip.is-on { background: var(--forest); border-color: var(--forest); color: #fff; }
.chip.is-on span { color: rgba(255, 255, 255, 0.8); }
@media (prefers-color-scheme: dark) { .chip.is-on { color: #0f1713; } .chip.is-on span { color: rgba(15, 23, 19, 0.75); } }

@media (hover: hover) and (pointer: fine) {
	.btn-primary:hover { background: var(--forest-2); }
	.btn-ghost:hover { background: rgba(255, 255, 255, 0.14); border-color: #fff; }
	.btn-line:hover { background: var(--forest); color: #fff; }
	.chip:not(.is-on):hover { border-color: var(--forest); color: var(--forest); }
}

/* 4. Header --------------------------------------------------------------- */
.site-header {
	position: sticky; top: 0; z-index: 60; height: var(--header-h);
	background: color-mix(in srgb, var(--bg) 92%, transparent);
	-webkit-backdrop-filter: saturate(1.4) blur(12px); backdrop-filter: saturate(1.4) blur(12px);
	border-bottom: 1px solid var(--line);
	transition: background-color 200ms ease, border-color 200ms ease, box-shadow 200ms ease;
}
.bar { height: 100%; display: flex; align-items: center; gap: 24px; }
.brand { display: inline-flex; align-items: center; gap: 10px; color: var(--forest); text-decoration: none; font-family: var(--font-display); font-weight: 650; font-size: 1.15rem; letter-spacing: -0.01em; }
.brand-mark { color: var(--forest); }
.brand-name { white-space: nowrap; }
@media (max-width: 480px) {
	.bar { gap: 10px; }
	.brand { gap: 8px; }
	.brand-name { font-size: 1.02rem; }
	.lang { padding: 0.35em 0.65em; font-size: 0.82rem; }
}
.nav { margin-left: auto; }
.nav ul { display: flex; gap: 4px; }
.nav a { white-space: nowrap; display: block; padding: 0.55em 0.72em; border-radius: 999px; text-decoration: none; color: var(--ink-2); font-weight: 550; font-size: 0.97rem; transition: background-color 160ms ease, color 160ms ease; }
.nav a[aria-current='page'] { color: var(--forest); background: color-mix(in srgb, var(--forest) 10%, transparent); }
.bar-end { display: flex; align-items: center; gap: 10px; }
.lang { font-size: 0.88rem; font-weight: 600; text-decoration: none; color: var(--ink-2); padding: 0.4em 0.75em; border: 1.5px solid var(--line); border-radius: 999px; transition: border-color 160ms ease, color 160ms ease, transform 160ms var(--ease-out); }
.lang:active { transform: scale(0.97); }
.menu-btn { display: none; width: 44px; height: 44px; border: 0; background: transparent; border-radius: 12px; color: var(--ink); cursor: pointer; }
.menu-bars { position: relative; display: block; width: 22px; height: 14px; margin: auto; }
.menu-bars i { position: absolute; left: 0; width: 100%; height: 2px; border-radius: 2px; background: currentColor; transition: transform 200ms var(--ease-out); }
.menu-bars i:nth-child(1) { top: 2px; }
.menu-bars i:nth-child(2) { top: 10px; }
.menu-btn[aria-expanded='true'] .menu-bars i:nth-child(1) { transform: translateY(4px) rotate(45deg); }
.menu-btn[aria-expanded='true'] .menu-bars i:nth-child(2) { transform: translateY(-4px) rotate(-45deg); }

/* mobile panel: transform + opacity, visibility delayed on close */
.m-nav {
	position: absolute; left: 0; right: 0; top: 100%;
	background: var(--bg); border-bottom: 1px solid var(--line); box-shadow: var(--shadow-2);
	opacity: 0; transform: translateY(-8px); visibility: hidden;
	transition: opacity 160ms var(--ease-out), transform 200ms var(--ease-out), visibility 0s linear 200ms;
}
.m-nav.is-open { opacity: 1; transform: none; visibility: visible; transition-delay: 0s; }
.m-nav ul { display: grid; padding-block: 8px 16px; }
.m-nav a { display: block; padding: 14px 4px; font-family: var(--font-display); font-size: 1.5rem; text-decoration: none; color: var(--ink); border-bottom: 1px solid var(--line); }
.m-nav li:last-child a { border-bottom: 0; }
.m-nav a[aria-current='page'] { color: var(--ember); }

/* transparent header over a hero until the page is scrolled */
body.vk-home .site-header:not(.is-scrolled),
body.vk-region .site-header:not(.is-scrolled),
body.vk-winter .site-header:not(.is-scrolled) {
	background: transparent; border-bottom-color: transparent; -webkit-backdrop-filter: none; backdrop-filter: none;
}
body.vk-home .site-header:not(.is-scrolled) :is(.brand, .brand-mark, .nav a, .lang, .menu-btn),
body.vk-region .site-header:not(.is-scrolled) :is(.brand, .brand-mark, .nav a, .lang, .menu-btn),
body.vk-winter .site-header:not(.is-scrolled) :is(.brand, .brand-mark, .nav a, .lang, .menu-btn) { color: #fff; }
body.vk-home .site-header:not(.is-scrolled) .lang,
body.vk-region .site-header:not(.is-scrolled) .lang,
body.vk-winter .site-header:not(.is-scrolled) .lang { border-color: rgba(255, 255, 255, 0.55); }
body.vk-home .site-header:not(.is-scrolled) .nav a[aria-current='page'],
body.vk-region .site-header:not(.is-scrolled) .nav a[aria-current='page'],
body.vk-winter .site-header:not(.is-scrolled) .nav a[aria-current='page'] { background: rgba(255, 255, 255, 0.18); }
.site-header.is-scrolled { box-shadow: 0 1px 0 var(--line), 0 8px 24px rgba(20, 33, 27, 0.06); }

@media (hover: hover) and (pointer: fine) {
	.nav a:hover { background: color-mix(in srgb, var(--forest) 9%, transparent); color: var(--forest); }
	.lang:hover { border-color: var(--forest); color: var(--forest); }
	body.vk-home .site-header:not(.is-scrolled) .nav a:hover,
	body.vk-region .site-header:not(.is-scrolled) .nav a:hover,
	body.vk-winter .site-header:not(.is-scrolled) .nav a:hover { background: rgba(255, 255, 255, 0.16); color: #fff; }
}

@media (max-width: 1320px) { .nav a { padding-inline: 0.6em; font-size: 0.94rem; } .nav ul { gap: 0; } .bar { gap: 14px; } }
@media (max-width: 1180px) {   /* 8 menu items no longer fit below this (7 since 2026-11-17, 'Tipy' added 2026-11-21) */
	.nav { display: none; }
	.menu-btn { display: block; }
	.bar { justify-content: space-between; }
	.bar-end { margin-left: auto; }
}
/* German labels are longer: compact menu always, and the menu button up to 1280px */
html[lang='de'] .nav a { padding-inline: 0.42em; font-size: 0.88rem; }
html[lang='de'] .nav ul { gap: 0; }
@media (max-width: 1240px) {   /* English and Polish labels are longer */
	html:is([lang='en'], [lang='pl']) .nav { display: none; }
	html:is([lang='en'], [lang='pl']) .menu-btn { display: block; }
	html:is([lang='en'], [lang='pl']) .bar { justify-content: space-between; }
	html:is([lang='en'], [lang='pl']) .bar-end { margin-left: auto; }
}
@media (max-width: 1280px) {
	html[lang='de'] .nav { display: none; }
	html[lang='de'] .menu-btn { display: block; }
	html[lang='de'] .bar { justify-content: space-between; }
	html[lang='de'] .bar-end { margin-left: auto; }
}

/* 5. Heroes --------------------------------------------------------------- */
.hero { position: relative; isolation: isolate; color: #fff; margin-top: calc(var(--header-h) * -1); padding-top: var(--header-h); display: flex; align-items: flex-end; overflow: hidden; background: var(--forest); }
.hero--home { min-height: min(86vh, 820px); }
.hero--region, .hero--page { min-height: min(68vh, 640px); }
.hero-media { position: absolute; inset: 0; z-index: -2; }
.hero-img { width: 100%; height: 100%; object-fit: cover; }
.hero-scrim { position: absolute; inset: 0; z-index: -1; background: linear-gradient(180deg, rgba(8, 20, 14, 0.5) 0%, rgba(8, 20, 14, 0.12) 36%, rgba(8, 20, 14, 0.7) 100%); }
.hero-inner { padding-block: clamp(48px, 9vw, 110px) clamp(36px, 6vw, 72px); }
.hero h1 { color: #fff; max-width: 15ch; }
.hero .eyebrow { color: #f4c78b; }
.hero-lede { font-size: clamp(1.1rem, 1rem + 0.7vw, 1.4rem); line-height: 1.45; max-width: 46ch; color: rgba(255, 255, 255, 0.92); margin-top: 1rem; }
.hero-actions { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 1.8rem; }
.hero-credit { position: absolute; right: clamp(12px, 3vw, 24px); bottom: 8px; margin: 0; font-size: 0.7rem; color: rgba(255, 255, 255, 0.75); max-width: 60ch; text-align: right; }
.hero-credit a { color: inherit; }
.page-head { padding-block: clamp(40px, 7vw, 88px) clamp(8px, 2vw, 24px); }
.page-head h1 { max-width: 18ch; }
.page-lede { font-size: clamp(1.1rem, 1rem + 0.5vw, 1.3rem); color: var(--ink-2); max-width: 56ch; margin-top: 1rem; }

/* 6. Home ----------------------------------------------------------------- */
.doors { padding-block: clamp(36px, 6vw, 72px) 0; }
.door-grid { display: grid; gap: 16px; grid-template-columns: repeat(auto-fit, minmax(240px, 1fr)); }
.door { position: relative; display: grid; gap: 6px; height: 100%; padding: 22px 22px 54px; background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius); text-decoration: none; color: var(--ink); box-shadow: var(--shadow-1); transition: transform 200ms var(--ease-out), box-shadow 200ms var(--ease-out), border-color 200ms ease; }
.door:active { transform: scale(0.98); }
.door-ico { color: var(--ember); }
.door-title { font-family: var(--font-display); font-weight: 600; font-size: 1.45rem; line-height: 1.15; }
.door-text { color: var(--ink-2); font-size: 0.97rem; line-height: 1.5; }
.door-arrow { position: absolute; left: 22px; bottom: 18px; color: var(--forest); font-size: 1.3rem; transition: transform 200ms var(--ease-out); }
@media (hover: hover) and (pointer: fine) {
	.door:hover { transform: translateY(-3px); box-shadow: var(--shadow-2); border-color: color-mix(in srgb, var(--forest) 40%, var(--line)); }
	.door:hover .door-arrow { transform: translateX(4px); }
}

.feature { padding-block: clamp(36px, 6vw, 80px) 0; }
.feature-card { display: grid; background: var(--surface); border: 1px solid var(--line); border-radius: calc(var(--radius) + 6px); overflow: hidden; box-shadow: var(--shadow-1); }
.feature-stack { display: grid; gap: clamp(18px, 3vw, 32px); }
.feature-media { position: relative; min-height: 260px; }
.feature-credit { position: absolute; left: 0; right: 0; bottom: 0; margin: 0; padding: 18px 12px 7px; font-size: 0.68rem; line-height: 1.35; color: rgba(255, 255, 255, 0.85); background: linear-gradient(to top, rgba(0, 0, 0, 0.55), transparent); }
.feature-credit a { color: inherit; }
.feature-body h3 { font-size: clamp(1.5rem, 2.4vw, 2rem); }
.feature-img { width: 100%; height: 100%; object-fit: cover; }
.feature-body { padding: clamp(24px, 4vw, 48px); display: grid; align-content: center; gap: 14px; }
.mini-facts { display: grid; grid-template-columns: repeat(auto-fit, minmax(150px, 1fr)); gap: 14px; margin: 6px 0 10px; }
.mini-facts dt { font-size: 0.75rem; text-transform: uppercase; letter-spacing: 0.1em; color: var(--muted); }
.mini-facts dd { margin: 2px 0 0; font-weight: 600; }
.feature-body .btn { justify-self: start; }
@media (min-width: 900px) { .feature-card { grid-template-columns: 1.05fr 1fr; } .feature-card--flip { grid-template-columns: 1fr 1.05fr; } .feature-card--flip .feature-media { order: 2; } }

.method { margin-top: clamp(40px, 6vw, 88px); padding-block: clamp(40px, 6vw, 80px); background: var(--forest); color: #fff; }
.method h2 { color: #fff; margin-bottom: 1.4rem; }
.method-grid { display: grid; gap: 28px; grid-template-columns: repeat(auto-fit, minmax(230px, 1fr)); }
.method-grid h3 { color: #fff; font-size: 1.2rem; margin-bottom: 0.4rem; }
.method-grid p { color: rgba(255, 255, 255, 0.82); font-size: 0.97rem; }
@media (prefers-color-scheme: dark) { .method { background: #12261b; } .method h2, .method-grid h3 { color: #edf1ea; } }

/* 7. Regions index -------------------------------------------------------- */
.region-grid { display: grid; gap: 22px; grid-template-columns: repeat(auto-fit, minmax(min(100%, 420px), 1fr)); margin-top: 1rem; }
.region-card { display: grid; text-decoration: none; color: var(--ink); background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden; box-shadow: var(--shadow-1); transition: transform 200ms var(--ease-out), box-shadow 200ms var(--ease-out); }
.region-card:active { transform: scale(0.98); }
.region-card-media { display: block; aspect-ratio: 16 / 9; overflow: hidden; }
.region-card-img { width: 100%; height: 100%; object-fit: cover; transition: transform 400ms var(--ease-out); }
.region-card-body { display: grid; gap: 4px; padding: 20px 22px 22px; }
.region-card-name { font-family: var(--font-display); font-weight: 600; font-size: 1.6rem; }
.region-card-tag { color: var(--ink-2); }
.region-card-meta { color: var(--muted); font-size: 0.88rem; margin-top: 6px; }
@media (hover: hover) and (pointer: fine) {
	.region-card:hover { transform: translateY(-3px); box-shadow: var(--shadow-2); }
	.region-card:hover .region-card-img { transform: scale(1.03); }
}
.soon-grid { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 1rem; }
.soon-chip { display: inline-block; padding: 0.55em 1em; border: 1.5px dashed var(--line); border-radius: 999px; color: var(--muted); font-weight: 550; }

/* 8. Region guide --------------------------------------------------------- */
.region-layout { display: grid; grid-template-columns: minmax(0, 1fr); gap: 0 56px; padding-top: 16px; }
.region-layout > * { min-width: 0; }
@media (min-width: 1024px) { .region-layout { grid-template-columns: 210px minmax(0, 1fr); } }
.toc { position: sticky; top: var(--header-h); z-index: 20; background: var(--bg); padding-block: 10px; margin-inline: calc(clamp(16px, 4vw, 40px) * -1); padding-inline: clamp(16px, 4vw, 40px); border-bottom: 1px solid var(--line); }
.toc-title { display: none; }
.toc ol { display: flex; gap: 6px; overflow-x: auto; scrollbar-width: none; }
.toc ol::-webkit-scrollbar { display: none; }
.toc a { display: block; white-space: nowrap; padding: 0.4em 0.85em; border-radius: 999px; text-decoration: none; color: var(--ink-2); font-size: 0.9rem; font-weight: 550; transition: background-color 160ms ease, color 160ms ease; }
.toc a.is-active { background: var(--forest); color: #fff; }
@media (prefers-color-scheme: dark) { .toc a.is-active { color: #0f1713; } }
@media (hover: hover) and (pointer: fine) { .toc a:not(.is-active):hover { color: var(--forest); background: color-mix(in srgb, var(--forest) 9%, transparent); } }
@media (min-width: 1024px) {
	.toc { top: calc(var(--header-h) + 28px); align-self: start; margin: 28px 0 0; padding: 0; border: 0; background: transparent; }
	.toc-title { display: block; font-size: 0.75rem; text-transform: uppercase; letter-spacing: 0.12em; color: var(--muted); margin: 0 0 10px 12px; }
	.toc ol { flex-direction: column; overflow: visible; gap: 2px; }
	.toc a { border-radius: 10px; padding: 0.5em 0.75em; white-space: normal; }
}

.region-main { min-width: 0; }
.sec { padding-block: clamp(40px, 6vw, 80px); border-top: 1px solid var(--line); }
.sec:first-child { border-top: 0; }
.sec > h2 { margin-bottom: 0.5em; }
.sec-intro { color: var(--ink-2); max-width: 66ch; font-size: 1.08rem; margin-bottom: 2rem; }
.callout { background: var(--surface-2); border-left: 4px solid var(--ember); padding: 16px 20px; border-radius: 0 var(--radius-sm) var(--radius-sm) 0; font-size: 0.97rem; color: var(--ink-2); max-width: 78ch; }
.tip { background: color-mix(in srgb, var(--sun) 22%, transparent); border-radius: var(--radius-sm); padding: 10px 14px; font-size: 0.95rem; margin-top: 14px; max-width: 68ch; }
.src { font-size: 0.82rem; color: var(--muted); margin-top: 10px; font-style: italic; }

.overview-grid { display: grid; gap: 32px; }
@media (min-width: 900px) { .overview-grid { grid-template-columns: minmax(0, 1fr) 300px; align-items: start; } }
.facts-card { background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius); padding: 20px 22px; box-shadow: var(--shadow-1); }
.facts-card h2 { font-size: 1.1rem; font-family: var(--font-body); font-weight: 650; margin-bottom: 12px; letter-spacing: 0; }
.facts-card dl, .poi-facts { margin: 0; display: grid; gap: 12px; }
.facts-card dt, .poi-facts dt { font-size: 0.74rem; text-transform: uppercase; letter-spacing: 0.1em; color: var(--muted); }
.facts-card dd, .poi-facts dd { margin: 2px 0 0; font-weight: 550; }

.do-grid { display: grid; gap: 20px; grid-template-columns: repeat(auto-fit, minmax(min(100%, 340px), 1fr)); }
.do-item { position: relative; background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius); padding: 24px 24px 26px; box-shadow: var(--shadow-1); }
.do-num { position: absolute; top: 16px; right: 20px; font-family: var(--font-display); font-size: 2.4rem; color: color-mix(in srgb, var(--ember) 28%, transparent); line-height: 1; }
.do-item h3 { margin-bottom: 0.6em; padding-right: 3rem; }

.poi-list { display: grid; gap: 28px; }
.poi--featured { display: grid; background: var(--surface); border: 1px solid var(--line); border-radius: calc(var(--radius) + 4px); overflow: hidden; box-shadow: var(--shadow-1); }
.poi-fig { margin: 0; position: relative; background: var(--surface-2); display: flex; flex-direction: column; }
/* The photo fills the figure above its credit line; a percentage height here made the credit overlap the text below. */
.poi-img { display: block; width: 100%; height: auto; flex: 1 1 auto; min-height: 0; max-height: 340px; object-fit: cover; aspect-ratio: 4 / 3; }
.poi-fig figcaption { padding: 6px 12px; font-size: 0.72rem; color: var(--muted); background: var(--surface-2); }
.poi-fig figcaption a { color: inherit; }
.poi-body { padding: clamp(20px, 3vw, 32px); }
.poi-cat { display: inline-flex; align-items: center; gap: 6px; font-size: 0.78rem; font-weight: 650; letter-spacing: 0.08em; text-transform: uppercase; margin: 0 0 0.5rem; color: var(--ember); }
.poi-name { margin-bottom: 0.4em; }
.poi-sum { color: var(--ink-2); }
.poi-facts { grid-template-columns: repeat(auto-fit, minmax(150px, 1fr)); margin: 18px 0; padding: 16px; background: var(--surface-2); border-radius: var(--radius-sm); }
.more { margin-top: 12px; }
.more summary, .acc summary { cursor: pointer; font-weight: 650; list-style: none; padding: 10px 0; display: flex; align-items: center; gap: 10px; color: var(--forest); }
.more summary::-webkit-details-marker, .acc summary::-webkit-details-marker { display: none; }
.more summary::before, .acc summary::before { content: '+'; display: grid; place-items: center; width: 24px; height: 24px; border-radius: 50%; background: color-mix(in srgb, var(--forest) 12%, transparent); font-weight: 700; line-height: 1; transition: transform 200ms var(--ease-out); }
.more[open] summary::before, .acc details[open] summary::before { transform: rotate(45deg); }
@media (min-width: 900px) {
	.poi--featured { grid-template-columns: 380px minmax(0, 1fr); }
	.poi--featured:nth-child(even) { grid-template-columns: minmax(0, 1fr) 380px; }
	.poi--featured:nth-child(even) .poi-fig { order: 2; }
	.poi-img { max-height: none; aspect-ratio: auto; min-height: 280px; }
}
.poi-grid { display: grid; gap: 16px; grid-template-columns: repeat(auto-fill, minmax(min(100%, 300px), 1fr)); }
.poi--compact { background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden; display: flex; flex-direction: column; }
.poi--compact .poi-body { padding: 16px 20px 18px; }
.poi--compact .poi-img { flex: none; aspect-ratio: 16 / 10; max-height: none; min-height: 0; height: auto; }
.poi-fig--ph { display: grid; place-items: center; aspect-ratio: 16 / 7; color: rgba(255, 255, 255, 0.92); }
.poi--compact .poi-name { font-size: 1.2rem; }
.poi--compact .poi-sum { font-size: 0.95rem; }

/* category colours */
.cat-gorge { color: #2f6f4e; } .cat-waterfall { color: var(--river); } .cat-viewpoint { color: var(--ember); }
.cat-heritage { color: #8a5a2b; } .cat-cave { color: #44566f; } .cat-village { color: #6b6b6b; }
.cat-nature { color: #5f8a4c; } .cat-trailhead { color: var(--trail-blue); }
.cat-peak { color: #7a5c8e; } .cat-resort { color: #b04a6b; } .cat-swim { color: #1f7fa8; }
@media (prefers-color-scheme: dark) { .cat-peak { color: #c4a6d9; } .cat-resort { color: #e69ab4; } .cat-gorge { color: #7fcf9e; } .cat-heritage { color: #d9a46a; } .cat-cave { color: #9db4d3; } .cat-village { color: #bdbdbd; } .cat-nature { color: #a6cf8f; } .cat-trailhead { color: #7fb2f0; } .cat-swim { color: #7cc7e8; } }

/* trails table */
.table-wrap { overflow-x: auto; border: 1px solid var(--line); border-radius: var(--radius); background: var(--surface); }
table.trails { width: 100%; border-collapse: collapse; font-size: 0.97rem; }
.trails th, .trails td { padding: 14px 16px; text-align: left; border-bottom: 1px solid var(--line); vertical-align: top; }
.trails thead th { font-size: 0.74rem; text-transform: uppercase; letter-spacing: 0.1em; color: var(--muted); background: var(--surface-2); }
.trails tbody th a { font-weight: 650; text-decoration: none; color: var(--ink); }
.trails tbody th small { display: block; font-weight: 400; color: var(--muted); margin-top: 2px; }
.trails tbody tr:last-child > * { border-bottom: 0; }
.trails td:nth-child(3), .trails td:nth-child(4), .trails td:nth-child(5), .trails td:nth-child(6) { white-space: nowrap; font-variant-numeric: tabular-nums; }
.trail-dot { display: inline-block; width: 12px; height: 12px; border-radius: 50%; margin-right: 6px; vertical-align: -1px; box-shadow: 0 0 0 2px rgba(0,0,0,0.08); }
.trail-green { background: var(--trail-green); } .trail-yellow { background: var(--trail-yellow); } .trail-blue { background: var(--trail-blue); } .trail-red { background: var(--trail-red); }
.notes { margin-top: 1.4rem; display: grid; gap: 8px; color: var(--ink-2); font-size: 0.95rem; max-width: 76ch; }
.notes li { position: relative; padding-left: 20px; }
.notes li::before { content: ''; position: absolute; left: 0; top: 0.65em; width: 8px; height: 2px; background: var(--ember); }
@media (max-width: 720px) {
	.table-wrap { border: 0; background: transparent; overflow: visible; }
	.trails, .trails tbody, .trails tr, .trails th, .trails td { display: block; width: 100%; }
	.trails thead { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); }
	.trails tbody tr { background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius); margin-bottom: 12px; padding: 6px 4px; }
	.trails td, .trails tbody th { border: 0; padding: 6px 14px; }
	.trails td::before { content: attr(data-label); display: inline-block; min-width: 96px; font-size: 0.74rem; text-transform: uppercase; letter-spacing: 0.08em; color: var(--muted); }
	.trails tbody th::before { display: none; }
}

/* nature, legends, customs, food */
.nature-grid, .custom-grid, .food-grid { display: grid; gap: 20px; grid-template-columns: repeat(auto-fit, minmax(min(100%, 360px), 1fr)); }
.nature-block, .custom, .food { background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius); padding: 24px; box-shadow: var(--shadow-1); }
.nature-block h3, .custom h3, .food h3 { margin-bottom: 0.6em; }
.legend-list { display: grid; gap: 22px; }
.legend { position: relative; padding: 28px clamp(22px, 4vw, 44px); border-radius: var(--radius); background: linear-gradient(135deg, color-mix(in srgb, var(--forest) 92%, #000), color-mix(in srgb, var(--forest-2) 90%, #000)); color: #fff; }
.legend h3 { color: #fff; margin-bottom: 0.7em; }
.legend .prose p { color: rgba(255, 255, 255, 0.9); }
.legend .src { color: rgba(255, 255, 255, 0.65); }
@media (prefers-color-scheme: dark) { .legend { background: #14301f; } }
.timeline { position: relative; display: grid; gap: 0; margin-left: 6px; border-left: 2px solid var(--line); }
.timeline li { position: relative; display: grid; gap: 2px 28px; padding: 6px 0 26px 28px; }
.timeline li::before { content: ''; position: absolute; left: -7px; top: 12px; width: 12px; height: 12px; border-radius: 50%; background: var(--ember); box-shadow: 0 0 0 4px var(--bg); }
.tl-when { font-family: var(--font-display); font-weight: 650; font-size: 1.1rem; color: var(--forest); }
.timeline p { margin: 0; color: var(--ink-2); max-width: 70ch; }
@media (min-width: 760px) { .timeline li { grid-template-columns: 190px minmax(0, 1fr); } }
.inline-fig { margin: 2rem 0 0; max-width: 340px; }
.inline-fig img { border-radius: var(--radius-sm); }
.inline-fig figcaption { font-size: 0.8rem; color: var(--muted); margin-top: 8px; }
.inline-fig figcaption a { color: inherit; }

.acc { display: grid; gap: 10px; max-width: 78ch; }
.acc details { background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius); padding: 6px 20px 14px; }
.acc summary { padding-block: 12px 6px; font-size: 1.05rem; }
.official { margin-top: 1.6rem; color: var(--ink-2); font-size: 0.95rem; }
.src-list, .credit-list { display: grid; gap: 6px; font-size: 0.95rem; color: var(--ink-2); }
.src-list li, .credit-list li { padding-left: 18px; position: relative; }
.src-list li::before, .credit-list li::before { content: '→'; position: absolute; left: 0; color: var(--ember); }
.credit-list { font-size: 0.88rem; }

/* 9. Map ------------------------------------------------------------------ */
.map-block { display: grid; gap: 18px; }
.map-stage { position: relative; height: clamp(360px, 62vw, 560px); border-radius: var(--radius); overflow: hidden; border: 1px solid var(--line); background: var(--surface-2); }
.map-canvas { position: absolute; inset: 0; z-index: 0; }
.map-gate { position: absolute; inset: 0; z-index: 2; display: grid; place-items: center; padding: 24px; text-align: center;
	background:
		radial-gradient(circle at 20% 30%, color-mix(in srgb, var(--moss) 28%, transparent) 0 18%, transparent 19%),
		radial-gradient(circle at 78% 62%, color-mix(in srgb, var(--river) 24%, transparent) 0 22%, transparent 23%),
		repeating-radial-gradient(circle at 50% 50%, transparent 0 26px, color-mix(in srgb, var(--forest) 9%, transparent) 27px 28px),
		var(--surface-2);
	transition: opacity 200ms var(--ease-out); }
.map-gate.is-hidden { opacity: 0; pointer-events: none; }
.map-gate-inner { max-width: 440px; display: grid; gap: 16px; justify-items: center; }
.map-gate p { color: var(--ink-2); font-size: 0.95rem; margin: 0; }
.map-side { display: grid; gap: 14px; align-content: start; }
.map-list { display: grid; gap: 4px; max-height: 340px; overflow: auto; padding-right: 4px; }
.map-item { display: flex; align-items: center; gap: 12px; width: 100%; padding: 8px 10px; border: 0; background: transparent; border-radius: 10px; text-align: left; cursor: pointer; font: inherit; color: inherit; transition: background-color 160ms ease, transform 160ms var(--ease-out); }
.map-item:active { transform: scale(0.98); }
.map-item.is-active { background: color-mix(in srgb, var(--forest) 12%, transparent); }
.map-item-ico { display: grid; place-items: center; width: 34px; height: 34px; border-radius: 50%; background: var(--surface); border: 1px solid var(--line); }
.map-item-txt { display: grid; line-height: 1.25; }
.map-item-txt small { color: var(--muted); }
@media (hover: hover) and (pointer: fine) { .map-item:hover { background: color-mix(in srgb, var(--forest) 8%, transparent); } }
@media (min-width: 1000px) {
	.map-block { grid-template-columns: minmax(0, 1fr) 320px; }
	.map-list { max-height: 484px; }
}
@media (max-width: 700px) {
	/* A phone map should use the screen: tall enough to browse, short enough to still scroll past. */
	.map-stage { height: min(72vh, 620px); height: min(72svh, 620px); min-height: 420px; }
}
li[hidden] { display: none; }

.chip--trails, .chip--cycle { gap: 8px; }
.cy-ico { display: inline-block; width: 22px; height: 0; border-top: 3px dashed #9c2a8a; }
.tr-dots { display: inline-flex; gap: 3px; }
.tr-dots b { width: 8px; height: 8px; border-radius: 50%; display: block; }
.leaflet-tooltip { font: 600 0.82rem/1.3 var(--font-body); }

/* Cluster bubbles (Leaflet.markercluster) */
.vk-cluster { display: grid; place-items: center; width: 40px; height: 40px; }
.vk-cluster span { display: grid; place-items: center; width: 100%; height: 100%; border-radius: 50%; background: var(--forest); color: #fff; font: 700 0.95rem/1 var(--font-body); border: 3px solid #fff; box-shadow: 0 2px 10px rgba(0, 0, 0, 0.35); }
@media (prefers-color-scheme: dark) { .vk-cluster span { color: #0f1713; } }

/* Leaflet pins and popups */
.vk-pin { display: grid; place-items: center; width: 34px; height: 34px; border-radius: 50%; color: #fff; border: 2px solid #fff; box-shadow: 0 2px 8px rgba(0, 0, 0, 0.35); transition: transform 160ms var(--ease-out); }
.vk-pin svg { stroke: #fff; }
.vk-pin.is-active { transform: scale(1.18); z-index: 900 !important; }
.pin-gorge { background: #2f6f4e; } .pin-waterfall { background: #2d7f86; } .pin-viewpoint { background: #c4561d; }
.pin-heritage { background: #8a5a2b; } .pin-cave { background: #44566f; } .pin-village { background: #6b6b6b; }
.pin-nature { background: #5f8a4c; } .pin-trailhead { background: #1d5fb4; } .pin-you { background: #111; }
.pin-peak { background: #7a5c8e; } .pin-resort { background: #b04a6b; } .pin-swim { background: #1f7fa8; }
/* The photo runs edge to edge: no wrapper padding, clipped to the rounded corners; the close button sits on a light disc so it stays visible over any picture. */
.leaflet-popup .leaflet-popup-content-wrapper { border-radius: 12px; padding: 0; overflow: hidden; }
.leaflet-container .leaflet-popup a.leaflet-popup-close-button { top: 8px; right: 8px; width: 30px; height: 30px; border-radius: 50%; background: rgba(255, 255, 255, 0.94); color: #14211b; font: 22px/29px var(--font-body); box-shadow: 0 1px 5px rgba(0, 0, 0, 0.3); z-index: 2; transition: transform 160ms var(--ease-out); }
.leaflet-container .leaflet-popup a.leaflet-popup-close-button:active { transform: scale(0.94); }
.leaflet-popup .leaflet-popup-content { margin: 14px 16px; font-family: var(--font-body); font-size: 0.92rem; line-height: 1.45; color: #14211b; }
.leaflet-popup-content strong { font-family: var(--font-display); font-size: 1.1rem; display: block; margin-bottom: 2px; padding-right: 22px; }
.leaflet-popup-content small { display: block; color: #66746c; margin-bottom: 6px; }
.leaflet-popup-content a { font-weight: 600; }
.leaflet-tooltip.vk-label { background: none; border: 0; box-shadow: none; padding: 0; color: #14211b; font: 600 12px/16px var(--font-body); white-space: nowrap; pointer-events: none; text-shadow: 0 0 2px #fff, 0 0 2px #fff, 0 0 3px #fff, 0 0 4px #f6f4ec; }
.leaflet-tooltip-right.vk-label::before, .leaflet-tooltip-left.vk-label::before { display: none; }
.pop-photo { margin: -14px -16px 10px; }
.pop-photo + strong { padding-right: 0; }
.pop-photo img { display: block; width: 100%; height: auto; max-height: 170px; object-fit: cover; background: #dfe5dc; }
.pop-photo figcaption { padding: 3px 16px 0; font-size: 0.7rem; color: #66746c; }
.pop-photo figcaption a { font-weight: 500; }
.leaflet-popup-content .btn { font-family: var(--font-body); }
.leaflet-popup-content .btn-primary { background: #0b3721; border-color: #0b3721; color: #fff; }
.leaflet-popup-content .btn-primary:hover { background: #145a37; color: #fff; }
.leaflet-popup-content .btn-quiet { background: #fff; border-color: #b9c4bb; color: #14211b; }
.leaflet-popup-content .btn-quiet:hover { border-color: #0b3721; color: #0b3721; }
.vk-pin.is-start { box-shadow: 0 0 0 2px #fff, 0 0 0 4px #1d5fb4; }
.pop-starts { margin-top: 8px; font-size: 0.85rem; }
.pop-starts b { display: block; font-weight: 650; color: #14211b; }
.pop-starts ul { margin: 2px 0 0; padding-left: 18px; color: #3b4a42; }
.pop-actions { display: flex; flex-wrap: wrap; gap: 6px; margin-top: 10px; }
/* Phones: smaller popups (these rules must stay after the base popup rules above). */
@media (max-width: 700px) {
	.leaflet-popup .leaflet-popup-content { margin: 10px 12px; font-size: 0.86rem; line-height: 1.4; }
	.leaflet-popup-content strong { font-size: 1rem; }
	.pop-photo { margin: -10px -12px 8px; }
	.pop-photo img { height: 104px; max-height: 104px; object-fit: cover; }
	.pop-photo figcaption { padding: 2px 12px 0; font-size: 0.66rem; }
	.pop-starts { margin-top: 6px; font-size: 0.8rem; }
}

/* 10. Attractions & near me ----------------------------------------------- */
.filter-bar { margin-bottom: 24px; }
.attr-grid { display: grid; gap: 18px; grid-template-columns: repeat(auto-fill, minmax(min(100%, 320px), 1fr)); }
.attr { display: grid; height: 100%; text-decoration: none; color: var(--ink); background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden; box-shadow: var(--shadow-1); transition: transform 200ms var(--ease-out), box-shadow 200ms var(--ease-out); }
.attr:active { transform: scale(0.98); }
.attr-media { display: block; aspect-ratio: 16 / 10; overflow: hidden; }
.attr-img { width: 100%; height: 100%; object-fit: cover; transition: transform 400ms var(--ease-out); }
.attr-body { display: grid; gap: 4px; padding: 16px 18px 18px; align-content: start; }
.attr-name { font-family: var(--font-display); font-weight: 600; font-size: 1.25rem; line-height: 1.2; }
.attr-sum { color: var(--ink-2); font-size: 0.95rem; }
.attr-region { color: var(--muted); font-size: 0.82rem; margin-top: 4px; }
@media (hover: hover) and (pointer: fine) {
	.attr:hover { transform: translateY(-3px); box-shadow: var(--shadow-2); }
	.attr:hover .attr-img { transform: scale(1.03); }
}
.near-bar { display: flex; flex-wrap: wrap; align-items: center; gap: 14px 20px; margin-bottom: 8px; }
.near-status { margin: 0; color: var(--ink-2); font-weight: 550; }
.near-list { display: grid; gap: 10px; margin-top: 1.4rem; counter-reset: n; }
.near-list > li { position: relative; display: flex; align-items: stretch; gap: 8px; }
.near-item { flex: 1; display: grid; grid-template-columns: auto 1fr auto; gap: 14px; align-items: start; padding: 14px 16px; background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius); text-decoration: none; color: var(--ink); transition: transform 160ms var(--ease-out), border-color 160ms ease; }
.near-item:active { transform: scale(0.98); }
.near-ico { display: grid; place-items: center; width: 42px; height: 42px; border-radius: 50%; background: var(--surface-2); }
.near-txt { display: grid; gap: 2px; min-width: 0; }
.near-txt small { color: var(--muted); }
.near-txt span { color: var(--ink-2); font-size: 0.93rem; }
.near-dist { font-family: var(--font-display); font-weight: 600; font-size: 1.15rem; color: var(--forest); white-space: nowrap; }
.near-osm { align-self: center; font-size: 0.82rem; font-weight: 600; white-space: nowrap; }
@media (hover: hover) and (pointer: fine) { .near-item:hover { border-color: var(--forest); } }
@media (max-width: 640px) { .near-list > li { flex-direction: column; } .near-osm { align-self: flex-start; padding-left: 4px; } }

/* 11. Winter -------------------------------------------------------------- */
.closed-list, .safety-list { display: grid; gap: 12px; margin-top: 1rem; max-width: 70ch; }
.closed-list li { display: grid; gap: 2px; padding: 14px 18px; background: var(--surface); border-left: 4px solid var(--river); border-radius: 0 var(--radius-sm) var(--radius-sm) 0; }
.closed-list span { color: var(--ink-2); }
.safety-list li { position: relative; padding: 10px 14px 10px 44px; background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius-sm); color: var(--ink-2); }
.safety-list li::before { content: '!'; position: absolute; left: 12px; top: 9px; display: grid; place-items: center; width: 22px; height: 22px; border-radius: 50%; background: var(--sun); color: #14211b; font-weight: 800; font-size: 0.8rem; }
.plain { padding-block: clamp(32px, 5vw, 64px); }

/* 12. Footer -------------------------------------------------------------- */
.site-footer { margin-top: clamp(48px, 7vw, 96px); padding-block: clamp(36px, 5vw, 56px); background: var(--surface-2); border-top: 1px solid var(--line); font-size: 0.93rem; color: var(--ink-2); }
.foot-grid { display: grid; gap: 28px 48px; }
@media (min-width: 860px) { .foot-grid { grid-template-columns: 1.3fr 0.8fr 1.3fr; } }
.foot-brand { font-family: var(--font-display); font-weight: 650; font-size: 1.3rem; color: var(--ink); margin-bottom: 0.4rem; }
.foot-links { display: grid; gap: 8px; }
.foot-links a { color: var(--ink); text-decoration: none; font-weight: 550; }
.foot-notes p { margin-bottom: 0.6em; color: var(--muted); }

/* 13. Scroll reveal (only when JS is present) ----------------------------- */
.js .reveal { opacity: 0; transform: translateY(10px); transition: opacity 280ms var(--ease-out), transform 280ms var(--ease-out); transition-delay: var(--d, 0ms); }
.js .reveal.in { opacity: 1; transform: none; }

/* 13b. Hike planner -------------------------------------------------------- */
[hidden] { display: none !important; }
.btn-sm { padding: 0.55em 1em; font-size: 0.9rem; }
.btn-quiet { background: transparent; color: var(--ink-2); border-color: var(--line); }
@media (hover: hover) and (pointer: fine) { .btn-quiet:hover { border-color: var(--forest); color: var(--forest); } }

.planner-cta { display: flex; align-items: center; gap: 20px; padding: 22px 26px; border-radius: calc(var(--radius) + 4px); text-decoration: none; color: #fff; background: linear-gradient(120deg, var(--forest), color-mix(in srgb, var(--forest-2) 80%, var(--river))); box-shadow: var(--shadow-2); transition: transform 200ms var(--ease-out), box-shadow 200ms var(--ease-out); }
.planner-cta:active { transform: scale(0.99); }
.planner-cta-ico { display: grid; place-items: center; width: 56px; height: 56px; border-radius: 50%; background: rgba(255, 255, 255, 0.16); flex: none; }
.planner-cta-body { display: grid; gap: 2px; }
.planner-cta-title { font-family: var(--font-display); font-weight: 600; font-size: clamp(1.3rem, 1rem + 1vw, 1.8rem); }
.planner-cta-text { color: rgba(255, 255, 255, 0.86); font-size: 0.97rem; }
.planner-cta-arrow { margin-left: auto; font-size: 1.6rem; transition: transform 200ms var(--ease-out); }
@media (hover: hover) and (pointer: fine) { .planner-cta:hover .planner-cta-arrow { transform: translateX(5px); } }
@media (prefers-color-scheme: dark) { .planner-cta { background: linear-gradient(120deg, #12301f, #1d4d3a); color: #edf1ea; } }
@media (max-width: 560px) { .planner-cta { padding: 18px; gap: 14px; } .planner-cta-ico { width: 44px; height: 44px; } }
.planner-cta--inline { margin: 0 0 1.6rem; }
.planner-link { margin: -0.6rem 0 1.4rem; }
/* Photo strips under region sections */
.photo-strip { list-style: none; margin: 28px 0 0; padding: 0; display: grid; gap: 14px; grid-template-columns: repeat(auto-fill, minmax(min(100%, 210px), 1fr)); }
.photo-strip figure { margin: 0; height: 100%; display: flex; flex-direction: column; background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden; box-shadow: var(--shadow-1); }
.photo-img { display: block; width: 100%; height: auto; aspect-ratio: 4 / 3; object-fit: cover; background: var(--surface-2); }
.photo-strip figcaption { display: grid; gap: 3px; padding: 9px 11px 11px; font-size: 0.88rem; line-height: 1.3; font-weight: 550; color: var(--ink); }
.photo-strip figcaption small { font-size: 0.7rem; font-weight: 400; color: var(--muted); line-height: 1.35; }
.photo-strip figcaption small a { color: inherit; }
.nature-block .photo-strip { margin-top: 20px; }
@media (max-width: 560px) { .photo-strip { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 10px; } .photo-strip figcaption { padding: 8px 9px 10px; font-size: 0.82rem; } }
.poi-plan { margin: 6px 0 0; font-weight: 650; font-size: 0.95rem; }
.poi-plan a { text-decoration: none; }

.planner { display: grid; gap: 24px; grid-template-columns: minmax(0, 1fr); }
.planner > * { min-width: 0; }
@media (min-width: 1020px) {
	.planner { grid-template-columns: 410px minmax(0, 1fr); grid-template-areas: 'form map' 'result map'; align-items: start; }
	.planner-form { grid-area: form; }
	.planner-result { grid-area: result; }
	.planner-map { grid-area: map; position: sticky; top: calc(var(--header-h) + 16px); }
}
.planner-form { display: grid; gap: 16px; }
.step { margin: 0; padding: 18px 18px 20px; border: 1px solid var(--line); border-radius: var(--radius); background: var(--surface); box-shadow: var(--shadow-1); min-width: 0; }
.step legend { padding: 0 8px; font-family: var(--font-display); font-weight: 600; font-size: 1.15rem; }
.seg { display: grid; grid-template-columns: repeat(2, 1fr); gap: 6px; margin-bottom: 14px; }
.mode-search { margin-bottom: 16px; }
.step-go { margin-top: 16px; padding-top: 16px; border-top: 1px solid var(--line); display: grid; gap: 12px; }
.step-go .row.actions { margin: 0; }
.go-bar .form-msg { margin: 0 0 10px; }
/* Phones and tablets: the plan / clear buttons (and any message) stay pinned to the bottom of the screen. */
@media (max-width: 1019px) {
	.planner { padding-bottom: 110px; }
	.go-bar { position: fixed; left: 0; right: 0; bottom: 0; z-index: 90; padding: 10px 16px calc(10px + env(safe-area-inset-bottom)); background: var(--surface); border-top: 1px solid var(--line); box-shadow: 0 -6px 18px rgba(20, 33, 27, 0.12); }
	.go-bar .row.actions { margin: 0; }
	.go-bar .btn-primary { flex: 1; }
	.go-bar .form-msg { margin-bottom: 8px; }
}
.seg-opt { position: relative; }
.seg-opt input { position: absolute; opacity: 0; inset: 0; cursor: pointer; }
.seg-opt span { display: block; text-align: center; padding: 0.55em 0.5em; border: 1.5px solid var(--line); border-radius: 10px; font-weight: 600; font-size: 0.9rem; color: var(--ink-2); transition: background-color 160ms ease, border-color 160ms ease, color 160ms ease, transform 160ms var(--ease-out); }
.seg-opt input:checked + span { background: var(--forest); border-color: var(--forest); color: #fff; }
.seg-opt input:focus-visible + span { outline: 3px solid var(--river); outline-offset: 2px; }
.seg-opt:active span { transform: scale(0.97); }
@media (prefers-color-scheme: dark) { .seg-opt input:checked + span { color: #0f1713; } }
.mode label { display: block; font-weight: 600; font-size: 0.92rem; margin-bottom: 6px; }
.row { display: flex; gap: 8px; align-items: stretch; }
.row input[type='search'], .row input[type='text'] { flex: 1; min-width: 0; padding: 0.65em 0.85em; border: 1.5px solid var(--line); border-radius: 10px; background: var(--bg); color: var(--ink); font: inherit; }
.row input:focus-visible { outline: 3px solid var(--river); outline-offset: 1px; }
.hint { font-size: 0.86rem; color: var(--muted); margin: 8px 0 0; }
.combo { position: relative; flex: 1; min-width: 0; display: flex; }
.combo input { width: 100%; }
.combo-list { position: absolute; z-index: 30; left: 0; right: 0; top: calc(100% + 4px); margin: 0; padding: 4px; list-style: none; max-height: 320px; overflow-y: auto; border: 1.5px solid var(--line); border-radius: 10px; background: var(--surface); box-shadow: var(--shadow-2); }
.combo-opt { display: flex; flex-direction: column; gap: 1px; padding: 8px 10px; border-radius: 8px; cursor: pointer; font-size: 0.95rem; }
.combo-opt.is-active { background: var(--forest); color: #fff; }
.combo-opt.is-active .combo-sub { color: rgba(255, 255, 255, 0.82); }
.combo-sub { font-size: 0.8rem; color: var(--muted); }
.combo-action { border-top: 1px solid var(--line); border-radius: 0 0 8px 8px; margin-top: 4px; padding-top: 10px; font-weight: 600; }
.combo-note { padding: 8px 10px; font-size: 0.86rem; color: var(--muted); }
@media (hover: hover) and (pointer: fine) { .combo-opt:hover:not(.is-active) { background: color-mix(in srgb, var(--forest) 10%, transparent); } }
@media (prefers-color-scheme: dark) { .combo-opt.is-active { color: #0f1713; } .combo-opt.is-active .combo-sub { color: rgba(15, 23, 19, 0.75); } }
.start-state { margin: 12px 0 0; font-weight: 600; font-size: 0.92rem; color: var(--forest); }
.start-state:empty { display: none; }
.start-pills { display: flex; flex-wrap: wrap; align-items: center; gap: 6px; margin-top: 14px; }
.start-pills-label { flex: 0 0 100%; margin: 0 0 2px; font-size: 0.9rem; font-weight: 600; color: var(--ink-2); }
.pill { padding: 0.38em 0.85em; border: 1.5px solid var(--line); border-radius: 999px; background: var(--bg); color: var(--ink); font: inherit; font-size: 0.86rem; font-weight: 600; cursor: pointer; transition: background-color 160ms ease, border-color 160ms ease, color 160ms ease, transform 160ms var(--ease-out); }
.pill:active { transform: scale(0.97); }
.pill[aria-pressed='true'] { background: var(--forest); border-color: var(--forest); color: #fff; }
@media (prefers-color-scheme: dark) { .pill[aria-pressed='true'] { color: #0f1713; } }
@media (hover: hover) and (pointer: fine) { .pill:hover { border-color: var(--forest); } }
.dest-groups { display: grid; gap: 8px; margin-top: 10px; }
.dest-group { border: 1px solid var(--line); border-radius: 10px; padding: 2px 12px; background: var(--bg); }
.dest-group summary { cursor: pointer; list-style: none; padding: 9px 0; display: flex; align-items: center; gap: 8px; font-weight: 650; }
.dest-group summary::-webkit-details-marker { display: none; }
.dest-group summary small { margin-left: auto; color: var(--muted); font-weight: 500; }
.dest-list { display: grid; grid-template-columns: repeat(auto-fill, minmax(min(100%, 150px), 1fr)); gap: 10px; padding: 4px 0 12px; }
.dest-card { position: relative; display: flex; flex-direction: column; min-width: 0; border: 1.5px solid var(--line); border-radius: 12px; background: var(--surface); overflow: hidden; transition: border-color 160ms ease, box-shadow 200ms var(--ease-out), transform 160ms var(--ease-out); }
.dest-pick { display: flex; flex-direction: column; flex: 1; cursor: pointer; position: relative; }
.dest-pick:active { transform: scale(0.985); }
.dest-pick input { position: absolute; opacity: 0; inset: 0; width: 100%; height: 100%; margin: 0; cursor: pointer; z-index: 2; }
.dest-media { position: relative; display: grid; place-items: center; aspect-ratio: 16 / 10; overflow: hidden; background: var(--bg); color: #fff; }
.dest-media .ico { opacity: 0.9; }
.dest-img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.dest-tick { position: absolute; top: 8px; right: 8px; display: grid; place-items: center; width: 28px; height: 28px; border-radius: 50%; background: #fff; border: 1.5px solid #0b3721; color: #0b3721; font-size: 0; box-shadow: 0 1px 5px rgba(0, 0, 0, 0.35); transition: background-color 160ms ease, color 160ms ease, transform 200ms var(--ease-out); }
.dest-tick::before { content: ''; width: 16px; height: 16px; position: relative; top: 2px; background: currentColor; -webkit-mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23000' stroke-width='3' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M12 5v14M5 12h14'/%3E%3C/svg%3E") center / contain no-repeat; mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23000' stroke-width='3' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M12 5v14M5 12h14'/%3E%3C/svg%3E") center / contain no-repeat; }
.dest-body { display: grid; gap: 4px; padding: 9px 10px 8px; align-content: start; }
.dest-name { font-family: var(--font-display); font-weight: 600; font-size: 1rem; line-height: 1.2; }
.dest-stats { display: grid; gap: 3px; }
.dest-stat { display: flex; justify-content: space-between; align-items: baseline; gap: 8px; font-size: 0.76rem; line-height: 1.25; font-weight: 600; color: var(--ink-2); text-align: right; padding-top: 3px; border-top: 1px solid var(--line); }
.dest-stat span { flex: none; font-weight: 500; color: var(--muted); text-align: left; }
.dest-sum { font-size: 0.8rem; line-height: 1.35; color: var(--muted); display: -webkit-box; -webkit-line-clamp: 3; -webkit-box-orient: vertical; overflow: hidden; }
.dest-more { padding: 7px 10px 9px; font-size: 0.82rem; font-weight: 600; border-top: 1px solid var(--line); text-decoration: none; color: var(--forest); position: relative; z-index: 3; }
.dest-card:has(input:checked) { border-color: var(--forest); box-shadow: 0 0 0 1.5px var(--forest); }
.dest-card:has(input:checked) .dest-tick { background: #0b3721; border-color: #fff; color: #fff; transform: scale(1.06); }
.dest-card:has(input:checked) .dest-tick::before { -webkit-mask-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23000' stroke-width='3' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M5 12.5l4.5 4.5L19 7'/%3E%3C/svg%3E"); mask-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23000' stroke-width='3' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M5 12.5l4.5 4.5L19 7'/%3E%3C/svg%3E"); }
.dest-card:has(input:focus-visible) { outline: 3px solid var(--river); outline-offset: 2px; }
@media (hover: hover) and (pointer: fine) { .dest-card:hover { border-color: color-mix(in srgb, var(--forest) 55%, var(--line)); } .dest-more:hover { text-decoration: underline; } }
@media (max-width: 560px) { .dest-list { grid-template-columns: minmax(0, 1fr); } .dest-media { aspect-ratio: 2 / 1; } .dest-stat { font-size: 0.82rem; } }
.cat-bg-gorge { background: #2f6f4e; } .cat-bg-waterfall { background: #2d7f86; } .cat-bg-viewpoint { background: #c4561d; }
.cat-bg-heritage { background: #8a5a2b; } .cat-bg-cave { background: #44566f; } .cat-bg-village { background: #6b6b6b; }
.cat-bg-nature { background: #5f8a4c; } .cat-bg-trailhead { background: #1d5fb4; } .cat-bg-swim, .cat-bg-water { background: #1f7fa8; }
.cat-bg-peak { background: #7a5c8e; } .cat-bg-resort { background: #b04a6b; }
.dest input, .check input { width: 18px; height: 18px; accent-color: var(--forest); flex: none; }
.check { display: flex; gap: 10px; align-items: center; font-weight: 550; cursor: pointer; }
.actions { margin-top: 14px; }
.form-msg { margin: 12px 0 0; padding: 10px 12px; border-radius: 8px; background: color-mix(in srgb, var(--ember) 14%, transparent); color: var(--ink); font-size: 0.93rem; }
.pm-bar { display: flex; flex-wrap: wrap; gap: 10px 16px; justify-content: space-between; align-items: center; margin-bottom: 10px; }
.pm-canvas { height: clamp(380px, 64vh, 640px); border-radius: var(--radius); border: 1px solid var(--line); background: var(--surface-2); overflow: hidden; z-index: 0; }

.planner-result { padding: 20px; border: 1px solid var(--line); border-radius: var(--radius); background: var(--surface); box-shadow: var(--shadow-1); }
.planner-result h2 { font-size: 1.5rem; margin-bottom: 14px; }
.planner-result h3 { font-size: 1.15rem; margin: 22px 0 8px; }
.metrics { display: grid; grid-template-columns: repeat(2, 1fr); gap: 12px; margin: 0 0 16px; }
.metrics div { padding: 12px 14px; background: var(--surface-2); border-radius: 10px; }
.metrics dt { font-size: 0.72rem; text-transform: uppercase; letter-spacing: 0.1em; color: var(--muted); }
.metrics dd { margin: 2px 0 0; font-family: var(--font-display); font-size: 1.4rem; font-weight: 600; }
.diff { padding: 14px 16px; border-radius: 10px; border-left: 6px solid var(--moss); background: var(--surface-2); }
.diff-2 { border-left-color: var(--sun); } .diff-3 { border-left-color: var(--ember); } .diff-4 { border-left-color: #8e1b12; }
.diff-head { display: flex; align-items: center; gap: 8px; margin: 0; font-size: 1.05rem; }
.diff-dots { margin-left: auto; display: inline-flex; gap: 4px; }
.diff-dots i { width: 10px; height: 10px; border-radius: 50%; background: var(--line); display: block; }
.diff-dots i.on { background: var(--ink); }
.why { margin: 10px 0 0; display: grid; gap: 4px; font-size: 0.92rem; color: var(--ink-2); }
.why li { padding-left: 16px; position: relative; }
.why li::before { content: ''; position: absolute; left: 0; top: 0.7em; width: 6px; height: 6px; border-radius: 50%; background: var(--ember); }
.callout.warn { border-left-color: var(--sun); margin-top: 12px; }
.leg { margin-top: 12px; }
.leg h4 { font-family: var(--font-body); font-weight: 650; font-size: 1rem; margin: 0 0 6px; }
.stages { display: grid; gap: 4px; margin: 0; }
.stages li { display: grid; grid-template-columns: auto 1fr; gap: 2px 10px; padding: 6px 10px; border-radius: 8px; background: var(--surface-2); font-size: 0.92rem; }
.stages .st-info { grid-column: 2; color: var(--muted); font-size: 0.86rem; }
.trail-none { background: #9aa09a; }
.notes-box p { font-size: 0.9rem; color: var(--ink-2); }
.notes-box .links { display: flex; flex-wrap: wrap; gap: 12px; align-items: center; }

.vk-pin.is-selected { box-shadow: 0 0 0 4px color-mix(in srgb, var(--ember) 70%, transparent), 0 2px 8px rgba(0, 0, 0, 0.35); transform: scale(1.12); }
.pin-start { background: var(--ember); font: 800 0.95rem/1 var(--font-body); width: 34px; height: 34px; }
.stop-num { display: grid; place-items: center; width: 26px; height: 26px; border-radius: 50%; background: var(--ink); color: #fff; font: 700 0.85rem/1 var(--font-body); border: 2px solid #fff; box-shadow: 0 2px 6px rgba(0, 0, 0, 0.4); }
@media (prefers-color-scheme: dark) { .stop-num { background: #fff; color: #14211b; border-color: #14211b; } }
.route-arrow { display: block; color: var(--ember); font-size: 13px; line-height: 14px; text-align: center; text-shadow: 0 0 3px #fff, 0 0 3px #fff; }

/* Phone map picker (full-screen dialog holding the planner map) */
.picker-open { margin-top: 10px; }
@media (min-width: 1020px) { .picker-open { display: none; } }
html.mm-open { overflow: hidden; }
.map-modal { position: fixed; inset: 0; z-index: 200; display: flex; flex-direction: column; background: var(--bg); }
.mm-bar, .mm-foot { display: flex; align-items: center; justify-content: space-between; gap: 12px; padding: 12px 16px; background: var(--surface); }
.mm-bar { border-bottom: 1px solid var(--line); }
.mm-foot { border-top: 1px solid var(--line); padding-bottom: max(12px, env(safe-area-inset-bottom)); }
.mm-state { font-size: 0.9rem; font-weight: 600; color: var(--ink-2); min-width: 0; }
.mm-body { flex: 1; min-height: 0; display: flex; padding: 10px; }
.mm-body .planner-map { position: static; display: flex; flex-direction: column; width: 100%; min-height: 0; }
.mm-body .pm-canvas { flex: 1; height: auto; min-height: 0; }
.mm-body .hint { display: none; }
.btn:disabled { opacity: 0.5; cursor: not-allowed; }

/* 14. Reduced motion ------------------------------------------------------ */
@media (prefers-reduced-motion: reduce) {
	.js .reveal { transform: none; transition: opacity 160ms linear; transition-delay: 0ms; }
	.btn:active, .chip:active, .door:active, .attr:active, .region-card:active, .near-item:active { transform: none; }
	.door, .region-card, .attr, .region-card-img, .attr-img, .door-arrow { transition: none; }
	.m-nav { transform: none; }
	.menu-bars i, .more summary::before, .acc summary::before { transition: none; }
}


/* 14. Activity subpages, lightbox ----------------------------------------- */
.hero--activity .hero-lede { max-width: 46rem; }
.hero--activity .eyebrow a { color: inherit; }
.do-more { margin: 14px 0 0; }
.photo-strip a { display: block; line-height: 0; cursor: zoom-in; }
.photo-strip--gallery { grid-template-columns: repeat(auto-fill, minmax(min(100%, 180px), 1fr)); }
.act-list { margin: 14px 0 0; padding-left: 1.2rem; display: grid; gap: 6px; }
.act-list li::marker { color: var(--ember); }
.price-table td strong { white-space: nowrap; }
.act-more { list-style: none; margin: 0; padding: 0; display: grid; gap: 14px; grid-template-columns: repeat(auto-fill, minmax(min(100%, 200px), 1fr)); }
.act-card { display: grid; text-decoration: none; color: var(--ink); background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden; box-shadow: var(--shadow-1); transition: transform 200ms var(--ease-out), box-shadow 200ms var(--ease-out); }
.act-card:active { transform: scale(0.985); }
.act-card-media { display: block; line-height: 0; }
.act-card-img { width: 100%; height: auto; aspect-ratio: 4 / 3; object-fit: cover; }
.act-card-title { padding: 10px 12px 12px; font-family: var(--font-display); font-weight: 600; line-height: 1.25; }

/* Guide-chapter cards (hub and chapter pages): full-bleed photo, text on a scrim, number + kind tag. */
.ch-group { display: flex; align-items: center; gap: 10px; margin: 28px 0 12px; font-family: var(--font-display); font-size: 1.3rem; }
.ch-count { font-family: var(--font-body); font-size: 0.75rem; font-weight: 600; line-height: 1; padding: 5px 9px; border-radius: 999px; background: var(--surface-2); color: var(--ink-2); font-variant-numeric: tabular-nums; }
.ch-grid { list-style: none; margin: 0; padding: 0; display: grid; gap: 14px; grid-template-columns: repeat(auto-fill, minmax(min(100%, 240px), 1fr)); }
.ch-grid > li { display: flex; }
.ch-card { position: relative; isolation: isolate; display: flex; flex-direction: column; justify-content: flex-end; width: 100%; min-height: 330px; border-radius: var(--radius); overflow: hidden; color: #fff; text-decoration: none; background: #0b3721; box-shadow: var(--shadow-1); transition: transform 200ms var(--ease-out), box-shadow 200ms var(--ease-out); }
.ch-media { position: absolute; inset: 0; z-index: -2; line-height: 0; }
.ch-img { width: 100%; height: 100%; object-fit: cover; transition: transform 600ms var(--ease-out); }
.ch-card::before { content: ''; position: absolute; inset: 0; z-index: -1; background: linear-gradient(to top, rgba(6, 14, 10, 0.94) 0%, rgba(6, 14, 10, 0.7) 34%, rgba(6, 14, 10, 0.12) 66%, rgba(6, 14, 10, 0) 100%); }
.ch-body { display: grid; gap: 7px; padding: 18px 18px 20px; }
.ch-meta { display: flex; align-items: center; gap: 8px; font-size: 0.7rem; font-weight: 600; letter-spacing: 0.08em; text-transform: uppercase; }
.ch-num { padding: 4px 8px; border-radius: 999px; background: rgba(255, 255, 255, 0.14); border: 1px solid rgba(255, 255, 255, 0.24); -webkit-backdrop-filter: blur(6px); backdrop-filter: blur(6px); font-variant-numeric: tabular-nums; }
.ch-tag { display: inline-flex; align-items: center; gap: 6px; color: #f6d38b; }
.ch-tag::before { content: ''; width: 7px; height: 7px; border-radius: 50%; background: currentColor; }
.ch-card[data-kind="wine"] .ch-tag { color: #f4b4c4; }
.ch-card[data-kind="overview"] .ch-tag { color: #b8e0c4; }
.ch-title { font-family: var(--font-display); font-size: 1.3rem; font-weight: 600; line-height: 1.15; text-wrap: balance; }
.ch-sum { font-size: 0.875rem; line-height: 1.45; color: rgba(255, 255, 255, 0.84); display: -webkit-box; -webkit-line-clamp: 3; -webkit-box-orient: vertical; overflow: hidden; }
.ch-go { position: absolute; top: 14px; right: 14px; width: 38px; height: 38px; border-radius: 50%; display: grid; place-items: center; background: rgba(255, 255, 255, 0.94); color: #0b3721; box-shadow: 0 4px 14px rgba(0, 0, 0, 0.2); transition: opacity 200ms var(--ease-out), transform 200ms var(--ease-out); }
.ch-card:active { transform: scale(0.985); }
.ch-card:focus-visible { outline: 3px solid var(--sun); outline-offset: 3px; }
@media (hover: hover) and (pointer: fine) {
	.ch-go { opacity: 0; transform: translate(-4px, 4px) scale(0.92); }
	.ch-card:hover { transform: translateY(-3px); box-shadow: var(--shadow-2); }
	.ch-card:hover .ch-img { transform: scale(1.05); }
	.ch-card:hover .ch-go, .ch-card:focus-visible .ch-go { opacity: 1; transform: none; }
}
@media (max-width: 520px) { .ch-card { min-height: 260px; } }
@media (min-width: 760px) {
	.ch-grid--feature > li:first-child { grid-column: span 2; grid-row: span 2; }
	.ch-grid--feature > li:first-child .ch-title { font-size: 2rem; }
	.ch-grid--feature > li:first-child .ch-sum { -webkit-line-clamp: 3; max-width: 52ch; font-size: 1rem; }
}
@media (prefers-reduced-motion: reduce) {
	.ch-card, .ch-img, .ch-go { transition: none; }
	.ch-card:hover, .ch-card:hover .ch-img { transform: none; }
}
@media (hover: hover) and (pointer: fine) { .act-card:hover { box-shadow: var(--shadow-2); transform: translateY(-2px); } }
html.lb-open { overflow: hidden; }
.lb { position: fixed; inset: 0; z-index: 300; display: grid; grid-template-columns: 56px minmax(0, 1fr) 56px; align-items: center; background: rgba(8, 14, 11, 0.92); color: #fff; padding: 16px 0; }
.lb[hidden] { display: none; }
.lb-fig { grid-column: 2; margin: 0; display: grid; gap: 10px; justify-items: center; max-height: 100%; }
.lb-fig img { max-width: 100%; max-height: calc(100vh - 120px); width: auto; height: auto; border-radius: 8px; object-fit: contain; }
.lb-fig figcaption { display: grid; gap: 2px; text-align: center; font-size: 0.95rem; line-height: 1.35; max-width: 46rem; }
.lb-fig figcaption small { font-size: 0.8rem; opacity: 0.8; }
.lb-fig figcaption a { color: inherit; }
.lb-nav, .lb-close { background: rgba(255, 255, 255, 0.14); color: #fff; border: 0; width: 44px; height: 44px; border-radius: 50%; font-size: 1.6rem; line-height: 1; cursor: pointer; display: grid; place-items: center; justify-self: center; transition: background-color 160ms ease, transform 160ms var(--ease-out); }
.lb-nav:active, .lb-close:active { transform: scale(0.94); }
.lb-prev { grid-column: 1; }
.lb-next { grid-column: 3; }
.lb-close { position: absolute; top: 12px; right: 12px; }
@media (hover: hover) and (pointer: fine) { .lb-nav:hover, .lb-close:hover { background: rgba(255, 255, 255, 0.28); } }
@media (max-width: 560px) { .lb { grid-template-columns: 40px minmax(0, 1fr) 40px; } .lb-nav { width: 36px; height: 36px; } }

/* Mini galleries on the region page's "Čo robiť" cards */
.do-gallery { list-style: none; margin: 16px 0 0; padding: 0; display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 6px; }
.do-gallery figure { margin: 0; }
.do-gallery a { display: block; line-height: 0; border-radius: 8px; overflow: hidden; cursor: zoom-in; }
.do-thumb { display: block; width: 100%; height: auto; aspect-ratio: 1 / 1; object-fit: cover; transition: transform 240ms var(--ease-out); }
.do-gallery figcaption { display: none; }
@media (hover: hover) and (pointer: fine) { .do-gallery a:hover .do-thumb { transform: scale(1.05); } }

.do-gallery li { position: relative; }
.do-gallery li.is-more { display: none; }
.do-gallery li[data-more] a::after { content: attr(data-more); position: absolute; inset: 0; display: grid; place-items: center; background: rgba(8, 14, 11, 0.5); color: #fff; font-weight: 700; font-size: 1.05rem; border-radius: 8px; pointer-events: none; }
.poi--featured > .do-gallery { grid-column: 1 / -1; grid-template-columns: repeat(6, minmax(0, 1fr)); margin: 0; padding: 14px clamp(16px, 2.4vw, 24px) 18px; border-top: 1px solid var(--line); background: var(--surface-2); }
.poi--compact > .do-gallery { margin: 0; padding: 0 20px 18px; }
@media (max-width: 560px) { .poi--featured > .do-gallery { grid-template-columns: repeat(3, minmax(0, 1fr)); } }

/* Winter page: one card per region */
.winter-regions { display: grid; gap: 28px; grid-template-columns: minmax(0, 1fr); }
.winter-card { background: var(--surface); border: 1px solid var(--line); border-radius: calc(var(--radius) + 4px); overflow: hidden; box-shadow: var(--shadow-1); min-width: 0; }
.wc-head { display: grid; grid-template-columns: minmax(0, 1fr); }
.wc-media { line-height: 0; background: var(--surface-2); }
.wc-img { width: 100%; height: 100%; max-height: 300px; object-fit: cover; aspect-ratio: 16 / 9; display: block; }
.wc-intro { padding: clamp(18px, 3vw, 32px); display: grid; gap: 10px; align-content: start; min-width: 0; }
.wc-intro h2 { margin: 0; }
.wc-intro p { margin: 0; }
.wc-jump { list-style: none; margin: 4px 0 0; padding: 0; display: flex; flex-wrap: wrap; gap: 8px; }
.wc-jump a { display: inline-flex; align-items: center; gap: 7px; padding: 0.5em 0.9em; border-radius: 999px; background: var(--bg); border: 1.5px solid var(--line); color: var(--ink); text-decoration: none; font-weight: 600; font-size: 0.9rem; transition: border-color 160ms ease, transform 160ms var(--ease-out); }
.wc-jump a:active { transform: scale(0.97); }
.wc-jump svg { color: var(--forest); }
@media (hover: hover) and (pointer: fine) { .wc-jump a:hover { border-color: var(--forest); } }
.wc-more > summary { cursor: pointer; list-style: none; padding: 14px clamp(18px, 3vw, 32px); border-top: 1px solid var(--line); font-weight: 650; display: flex; align-items: center; gap: 10px; background: var(--surface-2); }
.wc-more > summary::-webkit-details-marker { display: none; }
.wc-more > summary::before { content: '+'; display: grid; place-items: center; width: 24px; height: 24px; border-radius: 50%; border: 1.5px solid var(--forest); color: var(--forest); font-weight: 700; line-height: 1; }
.wc-more[open] > summary::before { content: '–'; }
.wc-body { padding: clamp(16px, 3vw, 32px); display: grid; gap: 8px; grid-template-columns: minmax(0, 1fr); min-width: 0; }
.wc-body > * { min-width: 0; }
.wc-body .sec { margin: 0; padding: 12px 0; }
.wc-body .prose, .wc-body .closed-list, .wc-body .safety-list { max-width: 46rem; }
.wc-ico { display: inline-grid; place-items: center; vertical-align: -0.2em; margin-right: 7px; color: var(--forest); }
.wc-mood { display: flex; align-items: center; }
.wc-mosaic .photo-strip { margin-top: 12px; grid-template-columns: repeat(3, minmax(0, 1fr)); }
.wc-mosaic .photo-strip li:first-child { grid-column: span 2; grid-row: span 2; }
.wc-mosaic .photo-strip li:first-child .photo-img { height: 100%; aspect-ratio: auto; min-height: 220px; }
.wc-mosaic figcaption small { display: none; }

/* Banners and stat tiles */
.wc-banner { display: grid; grid-template-columns: auto minmax(0, 1fr); gap: 16px; align-items: start; padding: clamp(16px, 2.6vw, 24px); border-radius: var(--radius); color: #fff; margin-bottom: 14px; }
.wc-banner--ski { background: linear-gradient(120deg, #153a5c, #2b6f9e 60%, #5fa8cc); }
.wc-banner--xc { background: linear-gradient(120deg, #123a2a, #2f7a57 60%, #7cc2a0); }
.wc-banner-ico { display: grid; place-items: center; width: 56px; height: 56px; border-radius: 50%; background: rgba(255, 255, 255, 0.18); }
.wc-banner h3 { margin: 0 0 4px; color: #fff; font-size: clamp(1.4rem, 1.1rem + 1vw, 1.9rem); }
.wc-banner p { margin: 0; color: rgba(255, 255, 255, 0.92); font-size: 0.97rem; }
.wc-tiles { list-style: none; margin: 0 0 16px; padding: 0; display: grid; gap: 10px; grid-template-columns: repeat(auto-fit, minmax(min(100%, 125px), 1fr)); }
.wc-tiles li { display: grid; gap: 2px; padding: 12px 10px; align-content: center; border-radius: var(--radius); background: var(--bg); border: 1px solid var(--line); text-align: center; }
.wc-tiles strong { font-family: var(--font-display); font-size: clamp(1.4rem, 1.1rem + 1.2vw, 1.9rem); line-height: 1.1; color: var(--forest); }
.wc-tiles span { font-size: 0.82rem; color: var(--muted); line-height: 1.3; }

/* Centres */
.wc-centre { border: 1px solid var(--line); border-radius: var(--radius); padding: clamp(14px, 2.4vw, 22px); margin: 16px 0; background: var(--bg); display: grid; gap: 12px; grid-template-columns: minmax(0, 1fr); min-width: 0; }
.wc-centre > * { min-width: 0; }
.wc-centre-head { display: grid; grid-template-columns: auto minmax(0, 1fr); gap: 12px; align-items: center; }
.wc-badge { display: grid; place-items: center; width: 46px; height: 46px; border-radius: 14px; background: color-mix(in srgb, var(--river) 18%, transparent); color: var(--river); }
.wc-centre h4 { margin: 0; font-family: var(--font-display); font-size: 1.25rem; line-height: 1.2; }
.wc-where { margin: 0; color: var(--muted); font-size: 0.9rem; }
.wc-levelrow { display: flex; flex-wrap: wrap; gap: 8px 14px; align-items: center; }
.wc-level { margin: 0; font-weight: 600; font-size: 0.95rem; }
.wc-grades { list-style: none; margin: 0; padding: 0; display: flex; flex-wrap: wrap; gap: 6px; }
.wc-grades li { display: inline-flex; align-items: center; gap: 6px; padding: 0.3em 0.7em; border-radius: 999px; background: var(--surface); border: 1.5px solid var(--c); font-size: 0.82rem; font-weight: 600; }
.wc-grades i { width: 12px; height: 12px; border-radius: 50%; background: var(--c); display: inline-block; }
.wc-chips { list-style: none; margin: 0; padding: 0; display: grid; gap: 8px; grid-template-columns: repeat(auto-fit, minmax(min(100%, 120px), 1fr)); }
.wc-chips li { display: grid; gap: 1px; padding: 10px 12px; border-radius: 12px; background: color-mix(in srgb, var(--forest) 9%, var(--surface)); border: 1px solid color-mix(in srgb, var(--forest) 22%, var(--line)); text-align: center; }
.wc-chips strong { font-family: var(--font-display); font-size: 1.5rem; line-height: 1.1; color: var(--forest); }
.wc-chips span { font-size: 0.78rem; color: var(--ink-2); }
.wc-facts { margin: 0; display: grid; gap: 10px 16px; grid-template-columns: repeat(auto-fit, minmax(min(100%, 230px), 1fr)); }
.wc-facts dt { font-size: 0.74rem; text-transform: uppercase; letter-spacing: 0.08em; color: var(--muted); display: flex; align-items: center; }
.wc-facts dd { margin: 3px 0 0; font-weight: 550; overflow-wrap: anywhere; }
.wc-centre .table-wrap { margin: 2px 0 0; }
.wc-table-title { margin: 6px 0 0; display: flex; align-items: center; font-family: var(--font-body); font-size: 0.78rem; font-weight: 650; letter-spacing: 0.08em; text-transform: uppercase; color: var(--muted); }
.wc-body .price-table th[scope=row] { width: 42%; }
.wc-body .price-table td:nth-child(2) { width: 24%; white-space: nowrap; }
.wc-links { display: flex; flex-wrap: wrap; gap: 8px; margin: 2px 0 0; }
.wc-loops tbody th { white-space: nowrap; }
.loop-dot { display: inline-block; width: 12px; height: 12px; border-radius: 50%; background: var(--c); margin-right: 8px; vertical-align: -1px; box-shadow: 0 0 0 1.5px var(--surface), 0 0 0 2.5px var(--c); }
.pips { display: inline-flex; gap: 3px; margin-right: 7px; vertical-align: middle; }
.pips i { width: 8px; height: 8px; border-radius: 50%; background: var(--line); display: block; }
.pips-1 i:nth-child(-n+1), .pips-2 i:nth-child(-n+2), .pips-3 i { background: var(--ember); }
@media (min-width: 900px) { .wc-head { grid-template-columns: 360px minmax(0, 1fr); } .wc-img { max-height: none; height: 100%; aspect-ratio: auto; min-height: 240px; } }
@media (max-width: 560px) {
	.wc-banner { grid-template-columns: minmax(0, 1fr); }
	.wc-banner-ico { width: 46px; height: 46px; }
	.wc-mosaic .photo-strip { grid-template-columns: repeat(2, minmax(0, 1fr)); }
	.wc-mosaic .photo-strip li:first-child { grid-column: span 2; grid-row: auto; }
	.wc-mosaic .photo-strip li:first-child .photo-img { aspect-ratio: 16 / 10; min-height: 0; height: auto; }
	.wc-body .price-table th[scope=row], .wc-body .price-table td:nth-child(2) { width: 100%; }
	.wc-loops tbody th { white-space: normal; }
}

/* Centre cards: header and level always visible; the rest folds away on phones */
.wc-centre-more > summary { display: none; }
.wc-centre-more-body { display: grid; gap: 12px; grid-template-columns: minmax(0, 1fr); min-width: 0; }
.wc-centre-more-body > * { min-width: 0; }
@media (max-width: 560px) {
	.wc-centre-more > summary { display: flex; align-items: center; justify-content: center; gap: 8px; cursor: pointer; list-style: none; padding: 0.7em 1em; border-radius: 999px; border: 1.5px solid var(--forest); color: var(--forest); font-weight: 650; background: var(--surface); transition: background-color 160ms ease, transform 160ms var(--ease-out); }
	.wc-centre-more > summary::-webkit-details-marker { display: none; }
	.wc-centre-more > summary:active { transform: scale(0.98); }
	.wc-centre-more[open] > summary { margin-bottom: 12px; }
	.wc-more-open { display: none; }
	.wc-centre-more[open] .wc-more-open { display: inline; }
	.wc-centre-more[open] .wc-more-closed { display: none; }
	.wc-chev { transition: transform 200ms var(--ease-out); }
	.wc-centre-more[open] .wc-chev { transform: rotate(180deg); }
}

/* Stacked tables on phones: cell text must wrap inside the card (the desktop nowrap rules caused it to leak out). */
@media (max-width: 720px) {
	.trails td, .trails td:nth-child(n), .price-table td strong, .wc-body .price-table td:nth-child(n) { white-space: normal; overflow-wrap: anywhere; }
	.trails, .trails tbody, .trails tr { min-width: 0; }
	.trails td:empty { display: none; }
}

/* Ski maps (3D models) ----------------------------------------------------- */
.skimaps { padding-bottom: 0; }
.skimaps-head { max-width: 62ch; margin-bottom: clamp(18px, 3vw, 28px); }
.skimaps-head h2 { margin-bottom: 0.35em; }
.skimaps-head p { margin: 0; color: var(--ink-2); }
.skimap-grid { display: grid; gap: clamp(16px, 3vw, 28px); grid-template-columns: repeat(auto-fill, minmax(min(100%, 340px), 1fr)); }
.skimap-card { position: relative; display: grid; grid-template-columns: minmax(0, 1fr); grid-template-rows: auto 1fr; background: var(--surface); border: 1px solid var(--line); border-radius: calc(var(--radius) + 4px); overflow: hidden; box-shadow: var(--shadow-1); transition: box-shadow 200ms var(--ease-out), transform 200ms var(--ease-out); }
.skimap-card:active { transform: scale(0.995); }
@media (hover: hover) and (pointer: fine) { .skimap-card:hover { box-shadow: var(--shadow-2); } .skimap-card:hover .skimap-arrow { transform: translateX(4px); } }
.skimap-media { position: relative; aspect-ratio: 1100 / 696; background: var(--surface-2); overflow: hidden; }
.skimap-media picture, .skimap-media img { position: absolute; inset: 0; display: block; width: 100%; height: 100%; object-fit: cover; }
.skimap-live-frame { position: absolute; inset: 0; width: 100%; height: 100%; border: 0; opacity: 0; pointer-events: none; transition: opacity 400ms var(--ease-out); background: transparent; }
.skimap-media.is-live .skimap-live-frame { opacity: 1; }
/* phones: 4-frame sprite of the model swinging ±7°, played back and forth (frames 0-1-2-3-2-1) */
.skimap-spin { position: absolute; inset: 0; background-repeat: no-repeat; background-size: 400% 100%; opacity: 0; transition: opacity 400ms var(--ease-out); animation: skimap-spin 2.4s steps(3) infinite alternate; }
.skimap-media.is-spin .skimap-spin { opacity: 1; }
@keyframes skimap-spin { to { background-position: 100% 0; } }
.skimap-badge { position: absolute; top: 12px; left: 12px; padding: 0.25em 0.65em; border-radius: 999px; background: var(--forest); color: #fff; font-weight: 700; font-size: 0.78rem; letter-spacing: 0.08em; }
@media (prefers-color-scheme: dark) { .skimap-badge { color: #0f1713; } }
.skimap-body { padding: clamp(16px, 2.4vw, 24px); display: grid; gap: 10px; align-content: start; min-width: 0; }
.skimap-body h3 { margin: 0; font-size: clamp(1.5rem, 1.2rem + 1vw, 2rem); }
.skimap-body p { margin: 0; color: var(--ink-2); }
.skimap-body .eyebrow { margin: 0; }
.skimap-link { color: inherit; text-decoration: none; }
.skimap-link::after { content: ''; position: absolute; inset: 0; z-index: 1; }
.skimap-link:focus-visible { outline: none; }
.skimap-card:has(.skimap-link:focus-visible) { outline: 3px solid var(--forest); outline-offset: 2px; }
.skimap-chips { list-style: none; margin: 4px 0 0; padding: 0; display: flex; flex-wrap: wrap; gap: 6px; }
.skimap-chips li { padding: 0.3em 0.8em; border-radius: 999px; background: var(--bg); border: 1.5px solid var(--line); font-size: 0.85rem; font-weight: 600; }
.skimap-cta { margin-top: 6px; font-weight: 650; color: var(--forest); display: inline-flex; gap: 8px; align-items: center; }
.skimap-arrow { display: inline-block; transition: transform 200ms var(--ease-out); }
/* ski-map page */
.skimap-stage { margin-top: clamp(8px, 2vw, 20px); border: 1px solid var(--line); border-radius: calc(var(--radius) + 4px); overflow: hidden; background: var(--surface-2); box-shadow: var(--shadow-1); }
.skimap-frame { display: block; width: 100%; height: clamp(520px, 78vh, 860px); border: 0; }
.skimap-actions { display: flex; flex-wrap: wrap; gap: 12px 24px; align-items: center; margin: 16px 0 0; }
.skimap-live { color: var(--forest); font-weight: 600; }
.skimap-info .facts-card { max-width: 46rem; }
@media (max-width: 760px) { .skimap-frame { height: min(82svh, 760px); min-height: 480px; } }
@media (prefers-reduced-motion: reduce) { .skimap-live-frame, .skimap-spin { transition: none; animation: none; } .skimap-card, .skimap-arrow { transition: none; } }

.skimap-head h1 { max-width: 22ch; margin-bottom: 0.45em; }
.skimap-head .lede { margin-bottom: 0; }

/* Accommodation block (affiliate links, marked as advertising) */
.stay-grid { display: grid; gap: 20px; grid-template-columns: repeat(auto-fit, minmax(min(100%, 360px), 1fr)); margin-bottom: 1.4rem; }
.stay-type { background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius); padding: 24px; box-shadow: var(--shadow-1); }
.stay-more { display: flex; flex-wrap: wrap; align-items: center; gap: 10px; margin-top: 1rem; }
.ad-tag { font-size: 0.78rem; letter-spacing: 0.04em; text-transform: uppercase; color: var(--muted); border: 1px solid var(--line); border-radius: 999px; padding: 2px 9px; }
.stay-areas { list-style: none; margin: 0.8rem 0 1.4rem; padding: 0; display: grid; gap: 10px; max-width: 78ch; }
.stay-areas li { display: grid; gap: 2px; padding: 12px 16px; border-left: 3px solid var(--line); background: var(--surface-2); border-radius: 0 var(--radius-sm) var(--radius-sm) 0; color: var(--ink-2); font-size: 0.97rem; }
.stay-area-name { font-weight: 650; color: var(--ink); }
.stay-area-map { font-size: 0.92rem; justify-self: start; }
.stay-cta { margin: 1.6rem 0 0.8rem; }
.stay-cta-btn { display: inline-block; margin-top: 8px; font-weight: 650; color: #fff; }
.ad-note { margin-bottom: 0.6rem; }
.stay-src { margin-top: 0.4rem; font-size: 0.9rem; }
/* Hauzi.sk listings (templates/stay.php, region #stay, winter page) */
a.chip { text-decoration: none; }
.stay-themes { list-style: none; margin: 0 0 22px; padding: 0; display: flex; flex-wrap: wrap; gap: 10px 18px; font-weight: 600; }
.stay-themes a[aria-current] { color: var(--ink); text-decoration: none; border-bottom: 2px solid var(--ember); }
.stay-count { margin: 4px 0 14px; }
.stay-list { list-style: none; padding: 0; margin: 0 0 1.2rem; }
.stay-list--region { grid-template-columns: repeat(auto-fill, minmax(min(100%, 250px), 1fr)); }
.stay-list .attr-media { background: var(--surface-2); }
.stay-list .attr-name { font-size: 1.1rem; }
.stay-feats { display: flex; flex-wrap: wrap; gap: 6px; margin-top: 4px; }
.stay-feats span { font-size: 0.78rem; font-weight: 600; color: var(--ink-2); background: var(--surface-2); border-radius: 999px; padding: 2px 9px; }
.stay-card .attr-region { display: flex; flex-wrap: wrap; align-items: center; gap: 8px; }
.pager { display: flex; flex-wrap: wrap; align-items: center; justify-content: center; gap: 12px; margin: 8px 0 22px; }
.pager-pos { color: var(--muted); font-size: 0.92rem; }
/* Accommodation by place: bento of Hauzi.sk location pages (templates/stay.php) */
.stay-bento { list-style: none; margin: 1rem 0 0; padding: 0; display: grid; gap: 12px; grid-template-columns: repeat(2, 1fr); grid-auto-rows: 170px; grid-auto-flow: dense; }
.stay-bento .is-wide { grid-column: span 2; }
.stay-bento .rcard { min-height: 0; }
.stay-bento .rcard.is-plain { background: #0b3721; }   /* no photo of the place: fixed dark green in both themes (white text) */
/* Theme rows on /ubytovanie/: horizontally scrollable listing cards + "see all" */
.stay-theme { padding-top: 0; }
.stay-theme-head { display: flex; flex-wrap: wrap; align-items: baseline; justify-content: space-between; gap: 4px 16px; margin-bottom: 12px; }
.stay-theme-head h2 { margin: 0; }
.stay-theme-head a { font-weight: 600; white-space: nowrap; }
.stay-row { list-style: none; margin: 0; padding: 2px 2px 12px; display: grid; grid-auto-flow: column; grid-auto-columns: min(78vw, 270px); gap: 14px; overflow-x: auto; overscroll-behavior-x: contain; scroll-snap-type: x mandatory; scroll-padding-inline: 2px; }
.stay-row > li { scroll-snap-align: start; min-width: 0; }
.stay-row .attr { height: 100%; }
.stay-row-more a { display: grid; place-items: center; height: 100%; min-height: 200px; padding: 20px; text-align: center; font-weight: 650; border: 2px dashed var(--line); border-radius: var(--radius); text-decoration: none; }
.stay-row-more a:hover { border-color: var(--ember); }
.stay-theme-tools { display: inline-flex; align-items: center; gap: 14px; }
.row-nav { display: inline-flex; gap: 6px; }
.row-nav[hidden] { display: none; }
.row-btn { display: grid; place-items: center; width: 38px; height: 38px; padding: 0; border: 1px solid var(--line); border-radius: 50%; background: var(--surface); color: var(--ink); font-size: 1.5rem; line-height: 1; cursor: pointer; transition: border-color 160ms ease, transform 160ms var(--ease-out); }
.row-btn:hover:not(:disabled) { border-color: var(--ember); }
.row-btn:active:not(:disabled) { transform: scale(0.94); }
.row-btn:disabled { opacity: 0.35; cursor: default; }
@media (hover: none) { .row-nav { display: none; } }   /* touch: swipe instead */
.stay-list-title { margin-bottom: 18px; }
.stay-bento .rcard-body { padding: 14px 14px 26px; }
.stay-bento .rcard-name { font-size: clamp(1.15rem, 1rem + 0.8vw, 1.6rem); }
@media (min-width: 1000px) { .stay-bento { grid-template-columns: repeat(4, 1fr); grid-auto-rows: 190px; gap: 14px; } }

/* 3D ski maps: promo block on the winter page and the dedicated page -------- */
.skipromo { position: relative; isolation: isolate; overflow: hidden; display: grid; gap: clamp(22px, 4vw, 48px); padding: clamp(24px, 4vw, 52px); border-radius: calc(var(--radius) + 10px); color: #f3f6ef;
	background: radial-gradient(120% 150% at 100% 0%, #25774f 0%, rgba(37, 119, 79, 0) 58%), radial-gradient(90% 120% at 0% 100%, rgba(45, 127, 134, 0.35) 0%, rgba(45, 127, 134, 0) 60%), linear-gradient(135deg, #0b3721, #0e2a1c);
	box-shadow: var(--shadow-2); }
@media (min-width: 900px) { .skipromo { grid-template-columns: minmax(0, 1fr) minmax(0, 1.08fr); align-items: center; } }
.skipromo .eyebrow { display: inline-flex; gap: 8px; align-items: center; color: var(--sun); margin: 0 0 0.9em; }
.skipromo h2 { margin: 0 0 0.35em; color: #fff; font-size: clamp(2rem, 1.4rem + 2.4vw, 3.1rem); line-height: 1.08; max-width: 14ch; }
.skipromo-text > p:not(.eyebrow) { margin: 0; color: rgba(243, 246, 239, 0.88); max-width: 44ch; }
.skipromo-points { list-style: none; margin: 20px 0 28px; padding: 0; display: flex; flex-wrap: wrap; gap: 8px; }
.skipromo-points li { padding: 0.35em 0.9em; border-radius: 999px; border: 1px solid rgba(255, 255, 255, 0.28); background: rgba(255, 255, 255, 0.08); font-size: 0.88rem; font-weight: 600; }
.skipromo-points li:first-child { background: var(--sun); border-color: var(--sun); color: #2a1d05; }
.skipromo-cta { display: inline-flex; align-items: center; gap: 10px; padding: 0.9em 1.5em; border-radius: 999px; background: #fff; color: #0b3721; font-weight: 650; text-decoration: none; transition: transform 160ms var(--ease-out), box-shadow 160ms var(--ease-out); }
.skipromo-cta::after { content: ''; position: absolute; inset: 0; z-index: 3; }   /* the whole block is one link */
.skipromo-cta:active { transform: scale(0.97); }
.skipromo-cta:focus-visible { outline: none; }
.skipromo:has(.skipromo-cta:focus-visible) { outline: 3px solid var(--sun); outline-offset: 3px; }
@media (hover: hover) and (pointer: fine) { .skipromo:hover .skimap-arrow { transform: translateX(4px); } .skipromo:hover .skipromo-shot { transform: translateY(-4px) rotate(var(--r)); } }
.skipromo-shots { position: relative; aspect-ratio: 1.3; min-height: 220px; }
.skipromo-shot { --r: 0deg; position: absolute; margin: 0; overflow: hidden; border-radius: 14px; border: 1px solid rgba(255, 255, 255, 0.22); box-shadow: 0 22px 44px rgba(0, 0, 0, 0.45); transform: rotate(var(--r)); transition: transform 320ms var(--ease-out); background: #1d2b24; }
.skipromo-shot img { display: block; width: 100%; height: 100%; object-fit: cover; }
.skipromo-shot--1 { --r: -3deg; z-index: 2; left: 0; top: 14%; width: 66%; aspect-ratio: 1100 / 696; }
.skipromo-shot--2 { --r: 4deg; z-index: 1; right: 0; top: 0; width: 50%; aspect-ratio: 1100 / 696; }
.skipromo-shot--3 { --r: -2deg; z-index: 3; right: 3%; bottom: 0; width: 46%; aspect-ratio: 1100 / 696; }
@media (prefers-reduced-motion: reduce) { .skipromo-shot, .skipromo-cta { transition: none; } }
@media (max-width: 899px) { .skipromo-shots { order: -1; max-width: 520px; width: 100%; margin-inline: auto; } .skipromo h2 { max-width: 18ch; } }

.skihub-features { list-style: none; margin: 8px 0 0; padding: 0; display: grid; gap: 14px; grid-template-columns: repeat(auto-fit, minmax(min(100%, 280px), 1fr)); }
.skihub-features li { display: grid; grid-template-columns: auto 1fr; gap: 14px; align-items: start; padding: 18px; background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius); box-shadow: var(--shadow-1); }
.skihub-ico { display: grid; place-items: center; width: 44px; height: 44px; border-radius: 12px; color: var(--forest); background: color-mix(in srgb, var(--forest) 12%, transparent); }
.skihub-features h2 { margin: 0 0 0.2em; font-family: var(--font-body); font-size: 1.05rem; font-weight: 650; letter-spacing: 0; }
.skihub-features p { margin: 0; color: var(--ink-2); font-size: 0.95rem; line-height: 1.5; }
.skimaps-head h2 { font-size: clamp(1.5rem, 1.2rem + 1vw, 2rem); }

.cy-ref { display: inline-block; margin-left: 4px; padding: 1px 6px; border-radius: 999px; background: rgba(156, 42, 138, 0.12); color: #7a1f6c; font-weight: 600; }
@media (prefers-color-scheme: dark) { .cy-ref { color: #e9a6dd; background: rgba(156, 42, 138, 0.28); } }
table.cycling .cy-ico { width: 16px; margin-right: 4px; vertical-align: middle; }

/* Contact ----------------------------------------------------------------- */
.contact { padding-bottom: clamp(48px, 8vw, 96px); }
.contact { display: grid; gap: 40px; align-items: start; }
.contact-main { max-width: 720px; }
@media (min-width: 960px) { .contact { grid-template-columns: minmax(0, 1.15fr) minmax(0, 1fr); gap: 56px; } }
.contact-aside { position: relative; display: grid; gap: 22px; padding-bottom: 8px; }
.contact-photo { margin: 0; border-radius: var(--radius); overflow: hidden; background: var(--surface); box-shadow: var(--shadow-1); }
.contact-photo img { display: block; width: 100%; height: auto; aspect-ratio: 16 / 11; object-fit: cover; }
.contact-photo--a { transform: rotate(-1.2deg); }
.contact-photo--b { transform: rotate(1deg) translateX(6%); width: 88%; justify-self: end; margin-top: -4px; }
.contact-photo figcaption { display: grid; gap: 2px; padding: 10px 14px 12px; font-size: 0.88rem; color: var(--ink-2); }
.contact-photo figcaption small { font-size: 0.74rem; color: var(--muted); }
.contact-photo figcaption a { color: inherit; }
@media (max-width: 959px) { .contact-photo--b { transform: rotate(1deg); width: 100%; } }
@media (prefers-reduced-motion: no-preference) { .contact-photo { transition: transform 300ms var(--ease-out); } }
.contact-form { display: grid; gap: 18px; }
.contact-form .field { margin: 0; display: grid; gap: 6px; }
.contact-form .field-row { display: grid; gap: 18px; }
@media (min-width: 640px) { .contact-form .field-row { grid-template-columns: 1fr 1fr; } }
.contact-form label { font-weight: 600; font-size: 0.92rem; color: var(--ink); }
.contact-form label span { font-weight: 500; color: var(--muted); }
.contact-form :is(input, textarea) {
	width: 100%; padding: 0.75em 0.9em; border: 1.5px solid var(--line); border-radius: var(--radius-sm);
	background: var(--surface); color: var(--ink); font: 400 1rem/1.4 var(--font-body);
	transition: border-color 160ms ease, box-shadow 160ms ease;
}
.contact-form textarea { resize: vertical; min-height: 9em; }
.contact-form :is(input, textarea):focus-visible { outline: 0; border-color: var(--river); box-shadow: 0 0 0 3px color-mix(in srgb, var(--river) 25%, transparent); }
.contact-form .hp { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }
.form-foot { display: flex; flex-wrap: wrap; align-items: center; gap: 12px 18px; margin: 0; }
.form-foot .note { margin: 0; flex: 1 1 240px; }
.form-note { padding: 14px 18px; border-radius: var(--radius-sm); border: 1.5px solid; margin: 0 0 24px; font-weight: 550; }
.form-note--ok { border-color: var(--trail-green); background: color-mix(in srgb, var(--trail-green) 10%, var(--surface)); }
.form-note--err { border-color: var(--trail-red); background: color-mix(in srgb, var(--trail-red) 9%, var(--surface)); }
.contact-direct { margin-top: 28px; color: var(--ink-2); }

/* Attractions search + plan link */
.attr-search { margin-bottom: 20px; max-width: 640px; }
.attr-search-label { display: block; font-weight: 600; font-size: 0.92rem; margin-bottom: 6px; }
.attr-search-box { position: relative; display: flex; align-items: center; }
.attr-search-box > .ico { position: absolute; left: 14px; color: var(--muted); pointer-events: none; }
.attr-search-box input {
	width: 100%; padding: 0.85em 2.6em 0.85em 2.7em; border: 1.5px solid var(--line); border-radius: 999px;
	background: var(--surface); color: var(--ink); font: 400 1rem/1.3 var(--font-body);
	transition: border-color 160ms ease, box-shadow 160ms ease;
}
.attr-search-box input::-webkit-search-cancel-button { display: none; }
.attr-search-box input:focus-visible { outline: 0; border-color: var(--river); box-shadow: 0 0 0 3px color-mix(in srgb, var(--river) 25%, transparent); }
.attr-search-clear { position: absolute; right: 8px; width: 32px; height: 32px; border: 0; border-radius: 50%; background: transparent; color: var(--muted); font-size: 1.4rem; line-height: 1; cursor: pointer; }
.attr-suggest { position: absolute; z-index: 20; top: calc(100% + 6px); left: 0; right: 0; margin: 0; padding: 6px; list-style: none; background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius); box-shadow: var(--shadow-2); max-height: 22rem; overflow: auto; }
.attr-suggest li { display: grid; gap: 1px; padding: 9px 12px; border-radius: var(--radius-sm); cursor: pointer; }
.attr-suggest li span { font-size: 0.8rem; color: var(--muted); }
.attr-suggest li[aria-selected='true'] { background: color-mix(in srgb, var(--forest) 12%, transparent); }
@media (hover: hover) and (pointer: fine) { .attr-suggest li:hover { background: color-mix(in srgb, var(--forest) 9%, transparent); } }
.attr-search-status { margin: 8px 4px 0; min-height: 1.4em; }
.attr-none { color: var(--ink-2); padding: 24px 4px; }

.attr { grid-template-rows: 1fr auto; }
.attr-main { display: grid; grid-template-rows: auto 1fr; text-decoration: none; color: var(--ink); }
.attr-plan {
	display: flex; align-items: center; gap: 8px; padding: 12px 18px; border-top: 1px solid var(--line);
	font-weight: 600; font-size: 0.92rem; text-decoration: none; color: var(--forest);
	transition: background-color 160ms ease;
}
@media (hover: hover) and (pointer: fine) { .attr-plan:hover { background: color-mix(in srgb, var(--forest) 9%, transparent); } }

/* Regions map */
.regmap-grid { display: grid; gap: 24px; align-items: start; }
@media (min-width: 900px) { .regmap-grid { grid-template-columns: minmax(0, 1.5fr) minmax(0, 1fr); gap: 36px; } .regmap-panel { position: sticky; top: calc(var(--header-h) + 20px); } }
.regmap-fig { margin: 0; }
.regmap-svg { display: block; width: 100%; height: auto; }
.rm-sk { fill: color-mix(in srgb, var(--forest) 7%, var(--surface-2)); stroke: var(--line); stroke-width: 1; stroke-linejoin: round; }
.rm-region { cursor: pointer; outline: none; }
.rm-region path { fill: color-mix(in srgb, var(--forest) 30%, transparent); stroke: var(--forest); stroke-width: 1; stroke-linejoin: round; transition: fill 180ms ease, stroke-width 180ms ease, opacity 180ms ease; }
.rm-region.is-hover path, .rm-region:focus-visible path { fill: color-mix(in srgb, var(--ember) 55%, transparent); stroke: var(--ember); stroke-width: 1.8; }
.rm-region.is-selected path { fill: color-mix(in srgb, var(--ember) 72%, transparent); stroke: var(--ember); stroke-width: 2.2; }
.rm-region.is-dim path { opacity: 0.25; }
.rm-labels text { font: 600 9.5px var(--font-body); text-anchor: middle; dominant-baseline: middle; fill: var(--ink); paint-order: stroke; stroke: var(--bg); stroke-width: 3px; stroke-linejoin: round; pointer-events: none; opacity: 0; transition: opacity 160ms ease; }
.rm-labels text.is-hover, .rm-labels text.is-selected { opacity: 1; font-weight: 700; fill: var(--ember); }
.regmap-fig figcaption { margin-top: 8px; }
.regmap-prompt { margin: 0; padding: 28px 22px; border: 1.5px dashed var(--line); border-radius: var(--radius); color: var(--muted); text-align: center; }
.regmap-card { background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden; box-shadow: var(--shadow-1); }
.regmap-card img { display: block; width: 100%; height: auto; aspect-ratio: 16 / 9; object-fit: cover; }
.regmap-card-body { display: grid; gap: 8px; padding: 18px 20px 20px; justify-items: start; }
.regmap-card h2 { font-size: 1.6rem; }
.regmap-card p { margin: 0; color: var(--ink-2); }
.regmap-card .regmap-meta { color: var(--muted); font-size: 0.88rem; }
.region-card-wrap.is-hover, .region-grid li.is-hover .region-card, .region-grid li.is-selected .region-card { box-shadow: 0 0 0 2px var(--ember), var(--shadow-2); }
@media (max-width: 560px) { .rm-labels text { font-size: 12px; } }

/* Home (redesign) ---------------------------------------------------------- */
.btn-ghost-dark { background: transparent; color: var(--forest); border-color: color-mix(in srgb, var(--forest) 45%, var(--line)); }
@media (hover: hover) and (pointer: fine) { .btn-ghost-dark:hover { background: color-mix(in srgb, var(--forest) 9%, transparent); border-color: var(--forest); } }

.stats { list-style: none; margin: 0; padding: 18px clamp(16px, 3vw, 32px); position: relative; z-index: 2; margin-top: clamp(-52px, -5vw, -34px); display: grid; grid-template-columns: repeat(2, 1fr); gap: 18px 12px; background: var(--surface); border: 1px solid var(--line); border-radius: calc(var(--radius) + 4px); box-shadow: var(--shadow-2); }
@media (min-width: 720px) { .stats { grid-template-columns: repeat(4, 1fr); } }
.stats li { display: grid; gap: 2px; text-align: center; }
.stats strong { font: 600 clamp(1.8rem, 1.3rem + 2vw, 2.7rem)/1 var(--font-display); color: var(--forest); font-variant-numeric: tabular-nums; }
.stats span { font-size: 0.86rem; color: var(--ink-2); }

.home-block { padding-top: clamp(48px, 8vw, 104px); }
.home-head { max-width: 62ch; margin-bottom: clamp(20px, 3vw, 36px); }
.home-head h2 { font-size: clamp(1.7rem, 1.2rem + 1.8vw, 2.5rem); }
.home-head p { margin: 0.6rem 0 0; color: var(--ink-2); font-size: 1.05rem; }

.home-map-grid { display: grid; gap: clamp(20px, 4vw, 48px); align-items: center; }
@media (min-width: 900px) { .home-map-grid { grid-template-columns: minmax(0, 1.35fr) minmax(0, 1fr); } }
.region-pills { list-style: none; margin: 10px 0 20px; padding: 0; display: flex; flex-wrap: wrap; gap: 8px; }
.region-pills a { display: inline-block; padding: 0.45em 0.9em; border: 1.5px solid var(--line); border-radius: 999px; background: var(--surface); color: var(--ink-2); font-weight: 600; font-size: 0.9rem; text-decoration: none; transition: border-color 160ms ease, background-color 160ms ease, color 160ms ease, transform 160ms var(--ease-out); }
.region-pills a:active { transform: scale(0.97); }
.region-pills a.is-hover, .region-pills a:focus-visible { border-color: var(--ember); color: var(--ember); background: color-mix(in srgb, var(--ember) 10%, var(--surface)); }

.bento { list-style: none; margin: 0; padding: 0; display: grid; gap: 14px; grid-template-columns: 1fr; }
@media (min-width: 640px) { .bento { grid-template-columns: repeat(2, 1fr); grid-auto-rows: 250px; } .bento-cell--lead { grid-column: span 2; } }
@media (min-width: 1000px) { .bento { grid-template-columns: repeat(3, 1fr); grid-auto-rows: 260px; } .bento-cell--lead { grid-column: span 2; grid-row: span 2; } }
.bento-cell { min-height: 240px; }
.rcard { position: relative; display: block; height: 100%; min-height: 240px; overflow: hidden; border-radius: calc(var(--radius) + 4px); color: #fff; text-decoration: none; background: var(--forest); isolation: isolate; box-shadow: var(--shadow-1); transition: transform 220ms var(--ease-out), box-shadow 220ms var(--ease-out); }
.rcard:active { transform: scale(0.98); }
.rcard-img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; z-index: -2; transition: transform 500ms var(--ease-out); }
.rcard-scrim { position: absolute; inset: 0; z-index: -1; background: linear-gradient(180deg, rgba(8, 20, 14, 0) 30%, rgba(8, 20, 14, 0.82) 100%); }
.rcard-body { position: absolute; left: 0; right: 0; bottom: 0; display: grid; gap: 4px; padding: clamp(16px, 2.4vw, 26px) clamp(16px, 2.4vw, 26px) 30px; justify-items: start; }
.rcard-name { font: 600 clamp(1.4rem, 1.1rem + 1vw, 2rem)/1.1 var(--font-display); }
.bento-cell--lead .rcard-name { font-size: clamp(1.8rem, 1.2rem + 2vw, 2.8rem); }
.rcard-tag { font-size: 0.95rem; line-height: 1.4; color: rgba(255, 255, 255, 0.9); max-width: 48ch; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }
.rcard-meta { font-size: 0.8rem; font-weight: 600; letter-spacing: 0.04em; color: #f4c78b; margin-top: 2px; }
.rcard-credit { position: absolute; right: 10px; bottom: 6px; font-size: 0.62rem; color: rgba(255, 255, 255, 0.7); max-width: 70%; text-align: right; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.badge { display: inline-block; padding: 0.2em 0.7em; border-radius: 999px; background: var(--ember); color: #fff; font-size: 0.72rem; font-weight: 700; letter-spacing: 0.08em; text-transform: uppercase; }
.home-more { margin: 22px 0 0; }
@media (hover: hover) and (pointer: fine) { .rcard:hover { transform: translateY(-3px); box-shadow: var(--shadow-2); } .rcard:hover .rcard-img { transform: scale(1.04); } }

.tools { list-style: none; margin: 0; padding: 0; display: grid; gap: 14px; }
@media (min-width: 760px) { .tools { grid-template-columns: 1.25fr 1fr; grid-template-rows: repeat(3, auto); } .tool--ski { grid-row: span 3; } }
.tool a { display: grid; height: 100%; color: var(--ink); text-decoration: none; background: var(--surface); border: 1px solid var(--line); border-radius: calc(var(--radius) + 2px); overflow: hidden; box-shadow: var(--shadow-1); transition: transform 220ms var(--ease-out), box-shadow 220ms var(--ease-out), border-color 220ms ease; }
.tool a:active { transform: scale(0.985); }
.tool--ski a { grid-template-rows: minmax(180px, 1fr) auto; }
.tool-media { display: block; overflow: hidden; min-height: 180px; }
.tool-media img { display: block; width: 100%; height: 100%; object-fit: cover; transition: transform 500ms var(--ease-out); }
.tool-body { display: grid; gap: 6px; padding: 20px 22px 22px; align-content: start; }
.tool-ico { color: var(--ember); }
.tool-title { font: 600 1.35rem/1.15 var(--font-display); }
.tool-text { color: var(--ink-2); font-size: 0.96rem; line-height: 1.5; }
.tool-cta { margin-top: 4px; font-weight: 650; font-size: 0.92rem; color: var(--forest); }
@media (hover: hover) and (pointer: fine) { .tool a:hover { transform: translateY(-3px); box-shadow: var(--shadow-2); border-color: color-mix(in srgb, var(--forest) 40%, var(--line)); } .tool a:hover .tool-media img { transform: scale(1.03); } }

.home-poi .wrap { margin-bottom: 0; }
.poi-rail { list-style: none; margin: 0; padding: 4px max(16px, calc((100vw - 1200px) / 2)) 22px; display: flex; gap: 14px; overflow-x: auto; scroll-snap-type: x proximity; scroll-padding-inline: max(16px, calc((100vw - 1200px) / 2)); overscroll-behavior-x: contain; scrollbar-width: thin; }
.poi-rail > li { flex: 0 0 min(260px, 72vw); scroll-snap-align: start; }
.pcard { display: grid; height: 100%; color: var(--ink); text-decoration: none; background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden; box-shadow: var(--shadow-1); transition: transform 220ms var(--ease-out), box-shadow 220ms var(--ease-out); }
.pcard:active { transform: scale(0.98); }
.pcard-media { display: block; aspect-ratio: 4 / 3; overflow: hidden; }
.pcard-img { width: 100%; height: 100%; object-fit: cover; transition: transform 500ms var(--ease-out); }
.pcard-body { display: grid; gap: 3px; padding: 14px 16px 16px; align-content: start; }
.pcard-name { font: 600 1.1rem/1.2 var(--font-display); }
.pcard-region { font-size: 0.82rem; color: var(--muted); }
@media (hover: hover) and (pointer: fine) { .pcard:hover { transform: translateY(-3px); box-shadow: var(--shadow-2); } .pcard:hover .pcard-img { transform: scale(1.04); } }

.cta-band { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 18px 32px; padding: clamp(22px, 4vw, 40px); border-radius: calc(var(--radius) + 6px); background: var(--surface-2); border: 1px solid var(--line); }
.cta-band h2 { font-size: clamp(1.4rem, 1.1rem + 1vw, 2rem); }
.cta-band p { margin: 0.4rem 0 0; color: var(--ink-2); max-width: 52ch; }
.home-block:last-of-type { padding-bottom: clamp(48px, 8vw, 96px); }
@media (prefers-reduced-motion: reduce) { .rcard, .tool a, .pcard, .rcard-img, .tool-media img, .pcard-img, .region-pills a { transition: none; } .rcard:active, .tool a:active, .pcard:active { transform: none; } }
@media (max-width: 400px) { .brand-name { font-size: 0.95rem; } .bar-end { gap: 6px; } .bar { gap: 8px; } }
@media (max-width: 480px) { .brand { min-width: 0; } .brand-name { white-space: normal; line-height: 1.1; } }   /* long site names (de) wrap instead of widening the page */

/* Background: very light Slovakia travel doodles (assets/img/travel-pattern.svg), tinted by the brand colour so it follows dark mode */
body { position: relative; }
body::before {
	content: ''; position: absolute; inset: 0; z-index: -1; pointer-events: none;
	background-color: var(--forest); opacity: 0.055;
	-webkit-mask: url('../img/travel-pattern.svg') 0 0 / 800px 800px repeat; mask: url('../img/travel-pattern.svg') 0 0 / 800px 800px repeat;
}
@media (max-width: 640px) { body::before { -webkit-mask-size: 600px 600px; mask-size: 600px 600px; } }
@media (prefers-color-scheme: dark) { body::before { opacity: 0.07; } }
@media (prefers-contrast: more) { body::before { opacity: 0.025; } }
@media print { body::before { display: none; } }

/* For businesses: a quiet band on the 3D maps page, a line on the home page, the form page (templates/business.php) */
.biz-band { display: grid; grid-template-columns: auto 1fr auto; align-items: center; gap: 14px 18px; margin-top: clamp(28px, 4vw, 44px); padding: 18px 20px; border: 1px dashed color-mix(in srgb, var(--forest) 40%, var(--line)); border-radius: var(--radius); background: color-mix(in srgb, var(--forest) 4%, var(--surface)); }
.biz-band h2 { margin: 0 0 0.15em; font-family: var(--font-body); font-size: 1.02rem; font-weight: 650; letter-spacing: 0; }
.biz-band p { margin: 0; color: var(--ink-2); font-size: 0.95rem; max-width: 70ch; }
.biz-ico { display: grid; place-items: center; width: 44px; height: 44px; border-radius: 12px; background: color-mix(in srgb, var(--forest) 12%, var(--surface)); color: var(--forest); }
@media (max-width: 720px) { .biz-band { grid-template-columns: auto 1fr; } .biz-band .btn { grid-column: 1 / -1; justify-self: start; } }
.biz-line { margin: 14px 0 0; text-align: center; font-size: 0.93rem; }
.biz-line a { display: inline-flex; align-items: center; gap: 6px; color: var(--ink-2); text-decoration: underline; text-decoration-color: color-mix(in srgb, currentColor 35%, transparent); text-underline-offset: 3px; }
.biz-line a:hover { color: var(--forest); }
.biz-steps { margin: 0; padding: 0; list-style: none; counter-reset: biz; display: grid; gap: 14px; }
.biz-steps li { counter-increment: biz; display: grid; grid-template-columns: 34px 1fr; gap: 12px; align-items: start; color: var(--ink-2); }
.biz-steps li::before { content: counter(biz); display: grid; place-items: center; width: 34px; height: 34px; border-radius: 50%; background: color-mix(in srgb, var(--forest) 12%, var(--surface)); color: var(--forest); font-weight: 700; }
.biz-aside { align-content: start; }
.biz-aside h2 { margin: 0; }
.contact-form select { width: 100%; padding: 0.72em 0.9em; border: 1.5px solid var(--line); border-radius: var(--radius-sm); background: var(--surface); color: var(--ink); font: 400 1rem/1.4 var(--font-body); }
.contact-form select:focus-visible { outline: 0; border-color: var(--river); box-shadow: 0 0 0 3px color-mix(in srgb, var(--river) 25%, transparent); }
.biz-wants { border: 0; padding: 0; margin: 0; display: grid; gap: 8px; }
.biz-wants legend { font-weight: 600; font-size: 0.92rem; color: var(--ink); margin-bottom: 4px; padding: 0; }
.biz-wants label { display: flex; align-items: center; gap: 10px; font-weight: 500; }
.contact-form .biz-wants input { width: 18px; height: 18px; padding: 0; accent-color: var(--forest); }
.contact-form .field-hint { color: var(--muted); font-size: 0.84rem; }
.biz-band--contact { margin-top: 32px; grid-template-columns: auto 1fr; }   /* narrower column on the contact page: button under the text */
.biz-band--contact .btn { grid-column: 2; justify-self: start; }
@media (max-width: 720px) { .biz-band--contact .btn { grid-column: 1 / -1; } }

/* Embed guide (templates/embed.php) and its links */
.skimap-embed { display: inline-flex; align-items: center; gap: 6px; color: var(--ink-2); font-size: 0.93rem; text-decoration: underline; text-decoration-color: color-mix(in srgb, currentColor 35%, transparent); text-underline-offset: 3px; }
.skimap-embed:hover { color: var(--forest); }
.eg-steps { list-style: none; counter-reset: eg; display: grid; gap: 18px; margin-top: 8px; }
.eg-step { counter-increment: eg; position: relative; padding: 22px 22px 22px 76px; background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius); }
.eg-step::before { content: counter(eg); position: absolute; left: 22px; top: 20px; display: grid; place-items: center; width: 38px; height: 38px; border-radius: 50%; background: var(--forest); color: #fff; font: 700 1.05rem var(--font-body); }
.eg-step h2 { margin: 4px 0 4px; font-family: var(--font-body); font-size: 1.15rem; font-weight: 650; letter-spacing: 0; }
.eg-step > p { margin: 0 0 14px; color: var(--ink-2); }
.eg-pick { display: flex; flex-wrap: wrap; gap: 12px 16px; align-items: end; }
.eg-pick label { display: grid; gap: 4px; font-weight: 600; font-size: 0.88rem; }
.eg-pick select, .eg-pick input[type="text"] { min-width: 160px; padding: 0.55em 0.7em; border: 1.5px solid var(--line); border-radius: var(--radius-sm); background: var(--surface); color: var(--ink); font: 400 0.98rem var(--font-body); }
.eg-pick .eg-check { display: flex; align-items: center; gap: 8px; font-weight: 500; padding-bottom: 0.55em; }
.eg-check input { width: 18px; height: 18px; accent-color: var(--forest); }
.eg-prevbtn { margin-top: 16px; }
.eg-preview { margin-top: 14px; }
.eg-preview iframe { display: block; width: 100%; border: 0; border-radius: 12px; background: var(--surface-2); }
.eg-code { position: relative; }
.eg-code pre { margin: 0; padding: 18px 20px; padding-right: 110px; overflow-x: auto; border-radius: var(--radius-sm); background: #14221b; color: #e6efe9; font: 0.86rem/1.6 ui-monospace, "SF Mono", Menlo, Consolas, monospace; }
.eg-code code { white-space: pre; }
.eg-copy { position: absolute; top: 10px; right: 10px; padding: 6px 12px; border: 1px solid rgba(255, 255, 255, 0.25); border-radius: 8px; background: rgba(255, 255, 255, 0.08); color: #fff; font: 600 0.82rem var(--font-body); cursor: pointer; transition: background-color 160ms ease, transform 120ms ease; }
.eg-copy:hover { background: rgba(255, 255, 255, 0.16); }
.eg-copy:active { transform: scale(0.97); }
.eg-where { margin: 0; padding-left: 1.2em; display: grid; gap: 6px; color: var(--ink-2); }
.eg-where strong { color: var(--ink); }
.eg-more { display: grid; gap: 28px; margin-top: 36px; }
@media (min-width: 960px) { .eg-more { grid-template-columns: 1.2fr 1fr; gap: 40px; } }
.eg-more p { color: var(--ink-2); }
.eg-opts { margin: 0 0 22px; display: grid; gap: 8px; }
.eg-opts div { display: grid; grid-template-columns: minmax(140px, auto) 1fr; gap: 12px; align-items: baseline; }
.eg-opts dt code { font: 0.86rem ui-monospace, Menlo, monospace; padding: 2px 7px; border-radius: 6px; background: var(--surface-2); border: 1px solid var(--line); }
.eg-opts dd { margin: 0; color: var(--ink-2); }
.eg-tips { margin: 0; padding-left: 1.2em; display: grid; gap: 8px; color: var(--ink-2); }
@media (max-width: 600px) { .eg-step { padding: 18px 16px 18px 16px; } .eg-step::before { position: static; margin-bottom: 8px; } .eg-code pre { padding-right: 20px; padding-top: 50px; } }
.eg-steps > li, .eg-more > section { min-width: 0; }   /* long code lines scroll inside their block instead of widening the page */
.eg-code pre { border: 1px solid rgba(255, 255, 255, 0.08); }
.eg-copy { background: #23382d; } .eg-copy:hover { background: #2e4a3b; }
.biz-line + .biz-line { margin-top: 6px; }
.eg-more > section { padding: 22px 24px; background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius); }
.eg-more > section > .h-sm:not(:first-child) { margin-top: 26px; }
@media (max-width: 600px) { .eg-more > section { padding: 18px 16px; } }
.eg-more .h-sm { margin-bottom: 12px; }

/* Promo banners (vk_promo in inc/render.php): gradient card, headline, one call to action, illustration */
.promo { position: relative; isolation: isolate; overflow: hidden; display: grid; grid-template-columns: minmax(0, 1.1fr) minmax(0, 0.9fr); align-items: center; gap: 12px 28px;
	margin-top: clamp(36px, 5vw, 56px); padding: clamp(26px, 4vw, 44px); border-radius: calc(var(--radius) + 8px); color: #fff; box-shadow: 0 24px 48px -28px rgba(8, 30, 20, 0.55); }
.promo::before, .promo::after { content: ""; position: absolute; z-index: -1; border-radius: 50%; filter: blur(2px); pointer-events: none; }
.promo::before { width: 420px; height: 420px; right: -120px; top: -180px; background: radial-gradient(circle, rgba(255, 255, 255, 0.22), transparent 65%); }
.promo::after { width: 300px; height: 300px; left: -100px; bottom: -170px; background: radial-gradient(circle, rgba(255, 255, 255, 0.12), transparent 65%); }
.promo--embed { background: linear-gradient(135deg, #0b3721 0%, #17573f 50%, #2d7f86 100%); }
.promo--menu { background: linear-gradient(135deg, #3b2a1e 0%, #7a4e2d 52%, #c96a3c 100%); box-shadow: 0 24px 48px -28px rgba(60, 30, 10, 0.6); }
.promo-kicker { display: inline-block; margin: 0 0 12px; padding: 4px 12px; border-radius: 999px; background: rgba(255, 255, 255, 0.16); border: 1px solid rgba(255, 255, 255, 0.28); font: 650 0.74rem/1.4 var(--font-body); letter-spacing: 0.08em; text-transform: uppercase; }
.promo h2 { margin: 0 0 10px; color: #fff; font-size: clamp(1.5rem, 1.1rem + 1.6vw, 2.3rem); line-height: 1.12; text-wrap: balance; }
.promo p:not(.promo-kicker) { margin: 0 0 22px; max-width: 46ch; color: rgba(255, 255, 255, 0.86); font-size: 1.02rem; }
.promo-cta { display: inline-flex; align-items: center; gap: 8px; padding: 12px 22px; border-radius: 999px; background: #fff; color: #10251b; font: 650 0.98rem var(--font-body); text-decoration: none;
	box-shadow: 0 8px 20px -10px rgba(0, 0, 0, 0.5); transition: transform 160ms cubic-bezier(0.23, 1, 0.32, 1), box-shadow 160ms ease; }
.promo--menu .promo-cta { color: #4a2c18; }
.promo-cta span { transition: transform 200ms cubic-bezier(0.23, 1, 0.32, 1); }
.promo-cta:active { transform: scale(0.97); }
.promo-cta:focus-visible { outline: 3px solid rgba(255, 255, 255, 0.7); outline-offset: 3px; }
.promo-art svg { display: block; width: 100%; height: auto; max-width: 400px; margin-left: auto; overflow: visible; filter: drop-shadow(0 18px 28px rgba(0, 0, 0, 0.28)); }
.promo-chip { transition: transform 300ms cubic-bezier(0.23, 1, 0.32, 1); }
@media (hover: hover) and (pointer: fine) {
	.promo-cta:hover { box-shadow: 0 12px 26px -10px rgba(0, 0, 0, 0.55); }
	.promo-cta:hover span { transform: translateX(3px); }
	.promo:hover .promo-chip { transform: translateY(-5px); }
}
@media (max-width: 760px) { .promo { grid-template-columns: 1fr; } .promo-art svg { max-width: 340px; margin: 6px auto 0; } }
@media (prefers-reduced-motion: reduce) { .promo-cta, .promo-cta span, .promo-chip { transition: none; } }

/* Language menu (header.php) */
.lang-menu { position: relative; }
.lang-menu > summary { display: inline-flex; align-items: center; gap: 6px; list-style: none; cursor: pointer; }
.lang-menu > summary::-webkit-details-marker { display: none; }
.lang-menu ul { position: absolute; right: 0; top: calc(100% + 8px); z-index: 60; min-width: 170px; margin: 0; padding: 6px; list-style: none; background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius-sm); box-shadow: var(--shadow-2);
	transform-origin: top right; animation: lang-in 160ms cubic-bezier(0.23, 1, 0.32, 1); }
@keyframes lang-in { from { opacity: 0; transform: scale(0.96); } }
.lang-menu li a { display: flex; align-items: center; gap: 10px; padding: 8px 10px; border-radius: 8px; color: var(--ink); text-decoration: none; font-size: 0.92rem; }
.lang-menu li a span { display: inline-grid; place-items: center; min-width: 28px; padding: 1px 0; border-radius: 6px; background: var(--surface-2); color: var(--ink-2); font: 700 0.72rem var(--font-body); letter-spacing: 0.04em; }
.lang-menu li a:hover { background: var(--surface-2); }
.lang-menu li a[aria-current="true"] { font-weight: 650; }
.lang-menu li a[aria-current="true"] span { background: var(--forest); color: #fff; }
@media (prefers-reduced-motion: reduce) { .lang-menu ul { animation: none; } }

/* Weekend plans, theme pages, trip ideas (templates/weekend.php, theme.php, ideas.php) ------------------------------------ */
.wk-cta { margin: 26px 0 0; }
.wk-day h2 { display: flex; flex-wrap: wrap; align-items: baseline; gap: 4px 12px; }
.wk-day-n { font-family: var(--font-body); font-size: 0.78rem; font-weight: 700; letter-spacing: 0.12em; text-transform: uppercase; color: #fff; background: var(--ember); border-radius: 999px; padding: 5px 12px 4px; transform: translateY(-3px); }
.wk-stops { list-style: none; margin: 20px 0 0; padding: 0; position: relative; display: grid; gap: 14px; }
.wk-stops::before { content: ""; position: absolute; left: 17px; top: 18px; bottom: 18px; width: 2px; background: repeating-linear-gradient(to bottom, var(--line) 0 6px, transparent 6px 11px); }
.wk-stop { position: relative; display: grid; grid-template-columns: 36px 1fr; gap: 0 16px; }
.wk-num { position: relative; z-index: 1; width: 36px; height: 36px; border-radius: 50%; display: grid; place-items: center; background: var(--forest); color: var(--bg); font-family: var(--font-display); font-size: 1.1rem; font-weight: 600; box-shadow: 0 0 0 5px var(--bg); }
.wk-stop-body { background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius); padding: 16px 20px 18px; box-shadow: var(--shadow-1); min-width: 0; }
.wk-stop-body h3 { margin: 4px 0 8px; }
.wk-when { margin: 0; font-size: 0.82rem; font-weight: 650; letter-spacing: 0.04em; color: var(--muted); display: flex; flex-wrap: wrap; align-items: center; gap: 4px 6px; }
.wk-when .poi-cat { margin: 0; }
.wk-trail { display: flex; flex-wrap: wrap; align-items: flex-start; gap: 4px 8px; margin: 12px 0 0; padding: 9px 12px; border-radius: var(--radius-sm); background: color-mix(in srgb, var(--river) 10%, transparent); font-size: 0.92rem; line-height: 1.45; }
.wk-trail .ico { flex: none; margin-top: 2px; color: var(--river); }
.wk-trail span { flex: 1 1 14rem; }
.wk-trail a { font-weight: 600; white-space: nowrap; }
.wk-fig { grid-column: 2; margin: 10px 0 0; max-width: 340px; }
.wk-fig a { display: block; line-height: 0; border-radius: var(--radius-sm); overflow: hidden; cursor: zoom-in; }
.wk-img { width: 100%; height: auto; aspect-ratio: 16 / 10; object-fit: cover; }
.wk-fig figcaption { font-size: 0.7rem; color: var(--muted); margin-top: 4px; }
.wk-fig figcaption a { color: inherit; }
.wk-drive { position: relative; display: flex; align-items: center; gap: 10px; padding: 2px 0 2px 52px; font-size: 0.9rem; color: var(--ink-2); }
.wk-drive .ico { flex: none; color: var(--muted); }
@media (min-width: 900px) {
	.wk-stop { grid-template-columns: 36px 1fr 220px; }
	.wk-fig { grid-column: 3; grid-row: 1; margin: 0; align-self: start; }
}
.theme-region { margin-top: 30px; }
.theme-region a { color: inherit; text-decoration-color: color-mix(in srgb, var(--ember) 50%, transparent); }
.theme-grid { margin-top: 12px; }
.attr-media--ph { display: grid; place-items: center; color: rgba(255, 255, 255, 0.92); }
.home-ideas-chips { display: flex; flex-wrap: wrap; gap: 8px; margin: 18px 0 0; }
.home-ideas-chips .chip { text-decoration: none; }
.wk-drives { list-style: none; margin: 12px 0 18px; padding: 0; display: grid; gap: 6px; }
.wk-drives .wk-drive { padding-left: 0; }

/* Photo cards, site-wide (2026-11-22): weekend / attraction / stay cards (.attr), related cards (.act-card), home places
   (.pcard) and regions (.region-card) share the look of the guide-chapter cards – full-bleed photo, text on a scrim,
   a small tag above the title, zoom + lift + arrow on hover. Markup unchanged; these rules override the older ones above. */
.attr { border: 0; }
a.attr, .attr-main, .act-card, .pcard, .region-card { position: relative; isolation: isolate; display: flex; flex-direction: column; justify-content: flex-end; min-width: 0; color: #fff; background: #0b3721; text-decoration: none; overflow: hidden; }
.act-card, .pcard, .region-card { border: 0; border-radius: var(--radius); box-shadow: var(--shadow-1); }
.attr-media, .act-card-media, .pcard-media, .region-card-media { position: absolute; inset: 0; z-index: -2; display: block; aspect-ratio: auto; line-height: 0; overflow: hidden; }
.attr-img, .act-card-img, .pcard-img, .region-card-img { width: 100%; height: 100%; aspect-ratio: auto; object-fit: cover; transition: transform 600ms var(--ease-out); }
a.attr::before, .attr-main::before, .act-card::before, .pcard::before, .region-card::before { content: ''; position: absolute; inset: 0; z-index: -1; pointer-events: none; background: linear-gradient(to top, rgba(6, 14, 10, 0.94) 0%, rgba(6, 14, 10, 0.68) 36%, rgba(6, 14, 10, 0.1) 68%, rgba(6, 14, 10, 0) 100%); }
a.attr::after, .attr-main::after, .act-card::after, .pcard::after, .region-card::after { content: ''; position: absolute; top: 14px; right: 14px; width: 38px; height: 38px; border-radius: 50%; background: rgba(255, 255, 255, 0.94) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%230b3721' stroke-width='2.2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M5 12h14M13 6l6 6-6 6'/%3E%3C/svg%3E") center / 18px no-repeat; box-shadow: 0 4px 14px rgba(0, 0, 0, 0.2); opacity: 0; transform: translate(-4px, 4px) scale(0.92); transition: opacity 200ms var(--ease-out), transform 200ms var(--ease-out); }

.attr-main, a.attr { min-height: 300px; }
.stay-row a.attr, .stay-list--region a.attr { min-height: 280px; }
.stay-card .poi-cat { margin: 0; justify-self: start; padding: 4px 9px; border-radius: 999px; font-size: 0.66rem; color: #fff; background: rgba(255, 255, 255, 0.14); border: 1px solid rgba(255, 255, 255, 0.24); -webkit-backdrop-filter: blur(6px); backdrop-filter: blur(6px); }
.stay-feats span { color: #fff; background: rgba(255, 255, 255, 0.16); }
.attr-body { display: grid; gap: 7px; padding: 18px 18px 20px; align-content: end; }
.attr-name { color: #fff; font-size: 1.3rem; line-height: 1.15; text-wrap: balance; }
.attr-sum { color: rgba(255, 255, 255, 0.84); font-size: 0.9rem; line-height: 1.45; display: -webkit-box; -webkit-line-clamp: 3; -webkit-box-orient: vertical; overflow: hidden; }
.attr-region { order: -1; margin: 0; display: inline-flex; align-items: center; gap: 6px; color: #f6d38b; font-size: 0.7rem; font-weight: 600; letter-spacing: 0.08em; text-transform: uppercase; }
.attr-region::before { content: ''; width: 7px; height: 7px; border-radius: 50%; background: currentColor; flex: none; }
.stay-card .attr-region::before { display: none; }
.attr-main:has(.poi-cat) .attr-region { order: 0; }
.attr-main .poi-cat { margin: 0; justify-self: start; padding: 4px 9px; border-radius: 999px; font-size: 0.66rem; color: #fff; background: rgba(255, 255, 255, 0.14); border: 1px solid rgba(255, 255, 255, 0.24); -webkit-backdrop-filter: blur(6px); backdrop-filter: blur(6px); }
.attr-media.attr-media--ph { display: grid; place-items: center; padding-bottom: 34%; color: rgba(255, 255, 255, 0.55); background-image: radial-gradient(circle at 30% 20%, rgba(255, 255, 255, 0.16), transparent 60%); }
.attr-media--ph .ico { width: 64px; height: 64px; }
.stay-list .attr-media { background: #1d2b24; }
a.attr .ad-tag, .attr-main .ad-tag { color: rgba(255, 255, 255, 0.85); border-color: rgba(255, 255, 255, 0.35); }
.attr-plan { border-top: 0; background: var(--surface); }

.act-card { min-height: 210px; }
.act-card-title { padding: 0 16px 16px; color: #fff; font-size: 1.05rem; line-height: 1.2; text-wrap: balance; }

.poi-rail .pcard { min-height: 320px; }
.pcard-body { display: grid; gap: 5px; padding: 16px 16px 18px; align-content: end; }
.pcard .poi-cat { margin: 0; justify-self: start; padding: 4px 9px; border-radius: 999px; font-size: 0.66rem; color: #fff; background: rgba(255, 255, 255, 0.14); border: 1px solid rgba(255, 255, 255, 0.24); -webkit-backdrop-filter: blur(6px); backdrop-filter: blur(6px); }
.pcard-name { color: #fff; font-size: 1.2rem; }
.pcard-region { color: rgba(255, 255, 255, 0.78); }

.region-card { min-height: clamp(300px, 34vw, 400px); }
.region-card-body { gap: 6px; padding: 22px 22px 24px; }
.region-card-name { color: #fff; font-size: 1.75rem; line-height: 1.1; }
.region-card-tag { color: rgba(255, 255, 255, 0.86); line-height: 1.45; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }
.region-card-meta { color: #f6d38b; font-size: 0.78rem; font-weight: 600; letter-spacing: 0.04em; margin-top: 2px; }

.attr-main:focus-visible, .act-card:focus-visible, .pcard:focus-visible, .region-card:focus-visible { outline: 3px solid var(--sun); outline-offset: 3px; }
@media (hover: hover) and (pointer: fine) {
	.attr:hover .attr-img, .act-card:hover .act-card-img, .pcard:hover .pcard-img, .region-card:hover .region-card-img { transform: scale(1.05); }
	.act-card:hover { transform: translateY(-3px); }
	a.attr:hover::after, .attr:hover .attr-main::after, .act-card:hover::after, .pcard:hover::after, .region-card:hover::after,
	.attr-main:focus-visible::after, .act-card:focus-visible::after, .pcard:focus-visible::after, .region-card:focus-visible::after { opacity: 1; transform: none; }
}
@media (max-width: 520px) {
	.attr-main, a.attr { min-height: 260px; } .region-card { min-height: 280px; }
	.act-more { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 10px; }
	.act-card { min-height: 180px; } .act-card-title { padding: 0 12px 12px; font-size: 0.95rem; }
}
@media (prefers-reduced-motion: reduce) {
	.attr-img, .act-card-img, .pcard-img, .region-card-img, a.attr::after, .attr-main::after, .act-card::after, .pcard::after, .region-card::after { transition: none; }
	.attr:hover .attr-img, .act-card:hover .act-card-img, .pcard:hover .pcard-img, .region-card:hover .region-card-img, .act-card:hover { transform: none; }
}

/* Larger card layout (2026-11-22), as on the wine & food guide: bigger cards, and in "feature" grids (/tipy/) a 2×2 lead
   card. Columns are fixed per breakpoint so the last card can stretch to close the final row (n = number of cards). */
.attr-grid { gap: 16px; }
.attr-main, a.attr { min-height: 340px; }
.attr-grid > li { display: flex; min-width: 0; }
.attr-grid > li > .attr { flex: 1; }
.attr-grid--feature { grid-template-columns: minmax(0, 1fr); }
.attr-grid--feature > li:only-child .attr-main { min-height: 380px; }
@media (min-width: 640px) {
	.attr-grid--feature { grid-template-columns: repeat(2, minmax(0, 1fr)); }
	.attr-grid--feature > li:first-child:not(:only-child) { grid-column: span 2; grid-row: span 2; }
	.attr-grid--feature > li:only-child { grid-column: 1 / -1; }
	.attr-grid--feature > li:first-child .attr-name { font-size: 2rem; }
	.attr-grid--feature > li:first-child .attr-sum { font-size: 1rem; max-width: 56ch; }
	.attr-grid--feature > li:last-child:nth-child(2n):not(:first-child) { grid-column: span 2; }     /* n even: the lead card leaves one gap */
}
@media (min-width: 1000px) {
	.attr-grid--feature { grid-template-columns: repeat(3, minmax(0, 1fr)); }
	.attr-grid--feature > li:last-child:nth-child(2n):not(:first-child) { grid-column: auto; }
	.attr-grid--feature > li:last-child:nth-child(3n+2):not(:first-child) { grid-column: span 2; }   /* n ≡ 2 (mod 3) */
	.attr-grid--feature > li:last-child:nth-child(3n+1):not(:first-child) { grid-column: 1 / -1; }  /* n ≡ 1 (mod 3) */
}
.act-more { grid-template-columns: repeat(auto-fill, minmax(min(100%, 230px), 1fr)); gap: 14px; }
.act-card { min-height: 260px; }
.act-card-title { font-size: 1.15rem; }

/* Ski-map cards: the 3D render fills the card, text on a scrim below the model; two large columns. */
.skimap-grid { grid-template-columns: minmax(0, 1fr); gap: 16px; }
@media (min-width: 760px) { .skimap-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
.skimap-card { display: flex; flex-direction: column; justify-content: flex-end; min-height: clamp(420px, 44vw, 520px); color: #fff; background: #0b3721; border: 0; border-radius: var(--radius); isolation: isolate; box-shadow: var(--shadow-1); transition: transform 200ms var(--ease-out), box-shadow 200ms var(--ease-out); }
.skimap-media { position: absolute; inset: 0; z-index: -2; aspect-ratio: auto; background: #12301f; }
.skimap-card { padding-top: clamp(190px, 22vw, 240px); }
.skimap-card::before { content: ''; position: absolute; inset: 0; z-index: -1; pointer-events: none; background: linear-gradient(to top, rgba(6, 14, 10, 0.96) 0%, rgba(6, 14, 10, 0.86) 46%, rgba(6, 14, 10, 0.3) 70%, rgba(6, 14, 10, 0) 92%); }
.skimap-card::after { content: ''; position: absolute; top: 14px; right: 14px; z-index: 2; width: 38px; height: 38px; border-radius: 50%; pointer-events: none; background: rgba(255, 255, 255, 0.94) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%230b3721' stroke-width='2.2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M5 12h14M13 6l6 6-6 6'/%3E%3C/svg%3E") center / 18px no-repeat; box-shadow: 0 4px 14px rgba(0, 0, 0, 0.2); opacity: 0; transform: translate(-4px, 4px) scale(0.92); transition: opacity 200ms var(--ease-out), transform 200ms var(--ease-out); }
.skimap-body { gap: 8px; padding: 20px 22px 22px; }
.skimap-body .eyebrow { color: #f6d38b; }
.skimap-body h3 { color: #fff; font-size: clamp(1.6rem, 1.3rem + 1vw, 2.1rem); line-height: 1.1; }
.skimap-body p { color: rgba(255, 255, 255, 0.86); max-width: 56ch; display: -webkit-box; -webkit-line-clamp: 3; -webkit-box-orient: vertical; overflow: hidden; }
.skimap-chips li { color: #fff; background: rgba(255, 255, 255, 0.14); border: 1px solid rgba(255, 255, 255, 0.26); font-size: 0.8rem; -webkit-backdrop-filter: blur(6px); backdrop-filter: blur(6px); }
.skimap-cta { color: #fff; }
.skimap-badge, .skimap-badge { background: rgba(255, 255, 255, 0.94); color: #0b3721; }
.skimap-card:has(.skimap-link:focus-visible) { outline-color: var(--sun); }
@media (hover: hover) and (pointer: fine) {
	.skimap-card:hover { transform: translateY(-3px); }
	.skimap-card:hover::after, .skimap-card:has(.skimap-link:focus-visible)::after { opacity: 1; transform: none; }
}

/* Winter page: each region card opens with a large photo header (title, intro, jump links on a scrim). */
.winter-card { border: 0; border-radius: var(--radius); }
.wc-head { position: relative; isolation: isolate; display: flex; flex-direction: column; justify-content: flex-end; min-height: clamp(380px, 46vw, 520px); color: #fff; background: #0b3721; }
@media (min-width: 900px) { .wc-head { grid-template-columns: none; } .wc-img { min-height: 0; } }
.wc-media { position: absolute; inset: 0; z-index: -2; background: #12301f; }
.wc-img { width: 100%; height: 100%; max-height: none; aspect-ratio: auto; object-fit: cover; }
.wc-head::before { content: ''; position: absolute; inset: 0; z-index: -1; pointer-events: none; background: linear-gradient(to top, rgba(6, 14, 10, 0.95) 0%, rgba(6, 14, 10, 0.74) 38%, rgba(6, 14, 10, 0.12) 70%, rgba(6, 14, 10, 0) 100%); }
.wc-intro { padding: clamp(20px, 3.4vw, 40px); gap: 12px; }
.wc-intro .eyebrow { color: #f6d38b; }
.wc-intro h2 { color: #fff; font-size: clamp(2rem, 1.4rem + 2.2vw, 3.1rem); line-height: 1.05; }
.wc-intro p:not(.eyebrow) { color: rgba(255, 255, 255, 0.88); max-width: 64ch; }
.wc-jump a { color: #fff; background: rgba(255, 255, 255, 0.14); border: 1px solid rgba(255, 255, 255, 0.3); -webkit-backdrop-filter: blur(6px); backdrop-filter: blur(6px); }
.wc-jump svg { color: #fff; }
@media (hover: hover) and (pointer: fine) { .wc-jump a:hover { background: rgba(255, 255, 255, 0.24); border-color: rgba(255, 255, 255, 0.5); } }
@media (prefers-reduced-motion: reduce) { .skimap-card, .skimap-card::after { transition: none; } .skimap-card:hover { transform: none; } }
@media (max-width: 520px) {
	.attr-main, a.attr { min-height: 280px; }
	.act-more { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 10px; }
	.act-card { min-height: 190px; } .act-card-title { font-size: 0.95rem; }
	.skimap-card { min-height: 400px; padding-top: 200px; }
	.wc-head { min-height: 360px; padding-top: 170px; }
	.wc-head::before { background: linear-gradient(to top, rgba(6, 14, 10, 0.96) 0%, rgba(6, 14, 10, 0.86) 58%, rgba(6, 14, 10, 0.2) 82%, rgba(6, 14, 10, 0) 100%); }
}

/* Home: "Začnite tu" region tiles and the places rail, larger and in the chapter-card style (2026-11-22). 12 tiles: the lead
   is 2×2 in three columns (15 cells, 5 full rows); in two columns the lead spans a row, and the last tile closes an odd row. */
@media (min-width: 640px) { .bento { grid-auto-rows: 320px; gap: 16px; } .bento > li:last-child:nth-child(2n):not(:first-child) { grid-column: span 2; } }
@media (min-width: 1000px) { .bento { grid-auto-rows: 360px; } .bento > li:last-child:nth-child(2n):not(:first-child) { grid-column: auto; } .bento > li:last-child:nth-child(3n+2):not(:first-child) { grid-column: span 2; } }
.bento-cell, .bento .rcard { min-height: 320px; }
.rcard { border-radius: var(--radius); }
.rcard-scrim { background: linear-gradient(to top, rgba(6, 14, 10, 0.94) 0%, rgba(6, 14, 10, 0.68) 36%, rgba(6, 14, 10, 0.1) 68%, rgba(6, 14, 10, 0) 100%); }
.bento .rcard-body { gap: 7px; padding: 20px 22px 30px; }
.bento .rcard-name { font-size: clamp(1.5rem, 1.2rem + 1vw, 2rem); }
.bento .bento-cell--lead .rcard-name { font-size: clamp(2rem, 1.3rem + 2.4vw, 3.2rem); }
.bento .rcard-tag { color: rgba(255, 255, 255, 0.86); }
.bento .bento-cell--lead .rcard-tag { font-size: 1.05rem; -webkit-line-clamp: 3; }
.bento .rcard-meta { display: inline-flex; align-items: center; gap: 6px; font-size: 0.72rem; letter-spacing: 0.08em; text-transform: uppercase; color: #f6d38b; }
.bento .rcard-meta::before { content: ''; width: 7px; height: 7px; border-radius: 50%; background: currentColor; flex: none; }
.bento .badge { order: -1; }
.bento .rcard::after { content: ''; position: absolute; top: 14px; right: 14px; width: 38px; height: 38px; border-radius: 50%; background: rgba(255, 255, 255, 0.94) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%230b3721' stroke-width='2.2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M5 12h14M13 6l6 6-6 6'/%3E%3C/svg%3E") center / 18px no-repeat; box-shadow: 0 4px 14px rgba(0, 0, 0, 0.2); opacity: 0; transform: translate(-4px, 4px) scale(0.92); transition: opacity 200ms var(--ease-out), transform 200ms var(--ease-out); }
.bento .rcard:focus-visible { outline: 3px solid var(--sun); outline-offset: 3px; }
@media (hover: hover) and (pointer: fine) { .bento .rcard:hover::after, .bento .rcard:focus-visible::after { opacity: 1; transform: none; } .bento .rcard:hover .rcard-img { transform: scale(1.05); } }
.poi-rail > li { flex-basis: min(300px, 78vw); }
.poi-rail .pcard { min-height: 380px; }
.poi-rail .pcard-name { font-size: 1.35rem; }
@media (max-width: 520px) { .bento-cell, .bento .rcard { min-height: 300px; } .poi-rail .pcard { min-height: 340px; } }
@media (prefers-reduced-motion: reduce) { .bento .rcard::after { transition: none; } }

/* Regions page: the same larger layout as /tipy/ and the home tiles – 1/2/3 columns, a 2×2 lead card, and the last card
   stretching to close the final row (32 regions). */
.region-grid--feature { gap: 16px; grid-template-columns: minmax(0, 1fr); }
.region-grid--feature > li { display: flex; min-width: 0; }
.region-grid--feature .region-card { flex: 1; min-height: 340px; }
.region-grid--feature .region-card-meta { display: inline-flex; align-items: center; gap: 6px; font-size: 0.72rem; letter-spacing: 0.08em; text-transform: uppercase; }
.region-grid--feature .region-card-meta::before { content: ''; width: 7px; height: 7px; border-radius: 50%; background: currentColor; flex: none; }
.region-grid--feature .region-card-name { font-size: clamp(1.5rem, 1.2rem + 1vw, 2rem); }
@media (min-width: 640px) {
	.region-grid--feature { grid-template-columns: repeat(2, minmax(0, 1fr)); }
	.region-grid--feature > li:first-child { grid-column: span 2; grid-row: span 2; }
	.region-grid--feature > li:first-child .region-card-name { font-size: clamp(2rem, 1.3rem + 2.4vw, 3.2rem); }
	.region-grid--feature > li:first-child .region-card-tag { font-size: 1.05rem; -webkit-line-clamp: 3; max-width: 56ch; }
	.region-grid--feature > li:last-child:nth-child(2n):not(:first-child) { grid-column: span 2; }
}
@media (min-width: 1000px) {
	.region-grid--feature { grid-template-columns: repeat(3, minmax(0, 1fr)); }
	.region-grid--feature > li:last-child:nth-child(2n):not(:first-child) { grid-column: auto; }
	.region-grid--feature > li:last-child:nth-child(3n+2):not(:first-child) { grid-column: span 2; }
	.region-grid--feature > li:last-child:nth-child(3n+1):not(:first-child) { grid-column: 1 / -1; }
}
@media (max-width: 520px) { .region-grid--feature .region-card { min-height: 300px; } }

/* Home, phones: the stats card overlaps the hero by up to 52px – keep ~28px clear below the hero buttons. */
@media (max-width: 719px) { .hero--home .hero-inner { padding-bottom: calc(clamp(34px, 5vw, 52px) + 28px); } }

/* /tipy/: the section navigation is a sticky bar of chips under the header at every width (not the desktop sidebar),
   so it is visible straight away and the card grids keep the full width. */
@media (min-width: 1024px) {
	.ideas-layout { grid-template-columns: minmax(0, 1fr); }
	.ideas-layout .toc { top: var(--header-h); align-self: auto; margin: 0 calc(clamp(16px, 4vw, 40px) * -1); padding: 12px clamp(16px, 4vw, 40px); background: var(--bg); border-bottom: 1px solid var(--line); }
	.ideas-layout .toc-title { display: none; }
	.ideas-layout .toc ol { flex-direction: row; gap: 8px; }
	.ideas-layout .toc a { border-radius: 999px; padding: 0.5em 1.05em; white-space: nowrap; font-size: 0.95rem; }
}
.ideas-layout .toc a { background: var(--surface); border: 1px solid var(--line); }
.ideas-layout .toc a.is-active { background: var(--forest); border-color: var(--forest); }

/* /atrakcie/: larger cards with a 2×2 lead; the filter script (attractions.js) marks the first visible card (.is-lead /
   .is-solo) and tells the last visible one how far to stretch (data-close2 / data-close3), so every filter result closes
   its last row. */
.attr-grid--lead { grid-template-columns: minmax(0, 1fr); }
@media (min-width: 640px) {
	.attr-grid--lead { grid-template-columns: repeat(2, minmax(0, 1fr)); }
	.attr-grid--lead > li.is-lead { grid-column: span 2; grid-row: span 2; }
	.attr-grid--lead > li.is-solo { grid-column: 1 / -1; }
	.attr-grid--lead > li:is(.is-lead, .is-solo) .attr-name { font-size: 2rem; }
	.attr-grid--lead > li:is(.is-lead, .is-solo) .attr-sum { font-size: 1rem; max-width: 56ch; }
	.attr-grid--lead > li[data-close2] { grid-column: span 2; }
}
@media (min-width: 1000px) {
	.attr-grid--lead { grid-template-columns: repeat(3, minmax(0, 1fr)); }
	.attr-grid--lead > li[data-close2] { grid-column: auto; }
	.attr-grid--lead > li[data-close3='2'] { grid-column: span 2; }
	.attr-grid--lead > li[data-close3='3'] { grid-column: 1 / -1; }
}
@media (min-width: 640px) and (max-width: 999px) { .attr-grid--lead > li.is-wide2 { grid-column: span 2; } }
@media (min-width: 1000px) { .attr-grid--lead > li.is-wide3 { grid-column: span 2; } }

/* Header sub-menu (Tipy → its page sections). Desktop: a dropdown on hover / keyboard focus; the link itself still opens
   the page. Mobile panel: a <details> row that expands the list. */
.nav .has-sub { position: relative; }
.nav-chev { display: inline-block; margin-left: 4px; vertical-align: -1px; transition: transform 200ms var(--ease-out); }
.nav .nav-sub { position: absolute; z-index: 60; top: calc(100% + 8px); left: 50%; display: grid; gap: 2px; min-width: 260px; padding: 8px; background: var(--surface); border: 1px solid var(--line); border-radius: 14px; box-shadow: var(--shadow-2); opacity: 0; visibility: hidden; transform: translate(-50%, -4px); transform-origin: top center; transition: opacity 160ms var(--ease-out), transform 160ms var(--ease-out), visibility 0s linear 160ms; }
.nav .nav-sub::before { content: ''; position: absolute; left: 0; right: 0; top: -10px; height: 10px; }   /* keeps the hover across the gap */
.nav .has-sub:is(:hover, :focus-within) > .nav-sub { opacity: 1; visibility: visible; transform: translate(-50%, 0); transition-delay: 0s; }
.nav .has-sub:is(:hover, :focus-within) .nav-chev { transform: rotate(180deg); }
.site-header .nav .nav-sub li a[href] { color: var(--ink); background: transparent; border-radius: 10px; padding: 0.65em 0.85em; font-size: 0.95rem; white-space: nowrap; }
.site-header .nav .nav-sub li a[href]:is(:hover, :focus-visible) { color: var(--forest); background: color-mix(in srgb, var(--forest) 9%, transparent); }

.m-sub > summary { list-style: none; display: flex; align-items: center; justify-content: space-between; gap: 12px; padding: 14px 4px; font-family: var(--font-display); font-size: 1.5rem; color: var(--ink); border-bottom: 1px solid var(--line); cursor: pointer; }
.m-sub > summary::-webkit-details-marker { display: none; }
.m-sub > summary[aria-current='page'] { color: var(--ember); }
.m-sub > summary .nav-chev { width: 20px; height: 20px; color: var(--muted); }
.m-sub[open] > summary .nav-chev { transform: rotate(180deg); }
.m-nav .m-sub ul { padding: 6px 0 12px 16px; gap: 0; border-bottom: 1px solid var(--line); }
.m-nav .m-sub a { padding: 11px 4px; font-family: var(--font-body); font-size: 1.05rem; font-weight: 550; color: var(--ink-2); border-bottom: 0; }
@media (prefers-reduced-motion: reduce) { .nav .nav-sub, .nav-chev { transition: none; } }

/* /atrakcie/: search and region filter side by side (stacked on phones); note about hidden trailheads under the chips. */
.attr-tools { display: grid; gap: 0 16px; grid-template-columns: minmax(0, 1fr); margin-bottom: 4px; }
@media (min-width: 760px) { .attr-tools { grid-template-columns: minmax(0, 640px) minmax(200px, 300px); align-items: start; } }
.attr-tools .attr-search { margin-bottom: 12px; max-width: none; }
.attr-region-filter { margin-bottom: 16px; }
.attr-region-filter select { width: 100%; padding: 0.85em 2.6em 0.85em 1.1em; border: 1.5px solid var(--line); border-radius: 999px; background: var(--surface) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%2366746c' stroke-width='2.4' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='m6 9 6 6 6-6'/%3E%3C/svg%3E") right 14px center / 16px no-repeat; color: var(--ink); font: 400 1rem/1.3 var(--font-body); -webkit-appearance: none; appearance: none; cursor: pointer; transition: border-color 160ms ease, box-shadow 160ms ease; }
.attr-region-filter select:focus-visible { outline: 0; border-color: var(--river); box-shadow: 0 0 0 3px color-mix(in srgb, var(--river) 25%, transparent); }
.attr-trail-hint { margin: 10px 0 18px; }

/* A map right under a section heading (e.g. "Atrakcie na mape") needs the same gap as text below a heading. */
:is(h2, h3) + .map-block { margin-top: clamp(14px, 2vw, 20px); }

/* Weekend plan switcher (templates/weekend.php): every plan of the region as chips under the hero */
.wk-plans { margin-top: 20px; }
.wk-plans-title { margin: 0 0 8px; font-size: 0.82rem; font-weight: 700; letter-spacing: 0.06em; text-transform: uppercase; color: var(--muted); }
.wk-plans .chips { list-style: none; margin: 0; padding: 0; }
