/* rider-skill bundle main 052ab416 */
@layer reset, tokens, base, wp, layout, components, sections, utilities;
/* src: assets/css/fonts.css */
/*
 * Manrope: self-hosted @font-face rules (the theme's only font; no other rule in this file).
 * Source: Manrope 4.504 variable (wght axis), OFL 1.1 (../fonts/manrope/ofl.txt), the copy shipped with WordPress
 * (Twenty Twenty-Five), cut with fontTools into Google Fonts' subsets (U+20BD ruble sign moved to latin), WOFF2.
 * Unlayered by spec 03; moves to theme.json fontFace in R-5 (D-15).
 */

@font-face {
	font-family: "Manrope";
	font-style: normal;
	font-weight: 400 800;
	font-display: swap;
	src: url("/wp-content/themes/rider-skill/assets/fonts/manrope/manrope-cyrillic-ext.woff2") format("woff2");
	unicode-range: U+0460-052F, U+1C80-1C8A, U+20B4, U+2DE0-2DFF, U+A640-A69F, U+FE2E-FE2F;
}

@font-face {
	font-family: "Manrope";
	font-style: normal;
	font-weight: 400 800;
	font-display: swap;
	src: url("/wp-content/themes/rider-skill/assets/fonts/manrope/manrope-cyrillic.woff2") format("woff2");
	unicode-range: U+0301, U+0400-045F, U+0490-0491, U+04B0-04B1, U+2116;
}

@font-face {
	font-family: "Manrope";
	font-style: normal;
	font-weight: 400 800;
	font-display: swap;
	src: url("/wp-content/themes/rider-skill/assets/fonts/manrope/manrope-latin-ext.woff2") format("woff2");
	unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20BC, U+20BE-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF;
}

@font-face {
	font-family: "Manrope";
	font-style: normal;
	font-weight: 400 800;
	font-display: swap;
	src: url("/wp-content/themes/rider-skill/assets/fonts/manrope/manrope-latin.woff2") format("woff2");
	unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+20BD, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}
/* src: assets/css/reset.css */
@layer reset {
/*
 * Reset: box model, margins, media defaults, reduced motion. Components take durations from --duration-* tokens,
 * which tokens.css zeroes under prefers-reduced-motion, so this rule needs no !important (spec 03: utilities only).
 */
*,
*::before,
*::after {
	box-sizing: border-box;
}

html {
	-webkit-text-size-adjust: 100%;
	text-size-adjust: 100%;
}

body,
h1,
h2,
h3,
h4,
h5,
h6,
p,
figure,
blockquote,
dl,
dd,
ul,
ol,
fieldset {
	margin: 0;
}

ul,
ol {
	padding: 0;
}

fieldset {
	min-width: 0;
	padding: 0;
	border: 0;
}

legend {
	padding: 0;
}

img,
picture,
video,
canvas,
svg,
iframe {
	display: block;
	max-width: 100%;
}

img,
video {
	height: auto;
}

input,
button,
textarea,
select {
	font: inherit;
	color: inherit;
	letter-spacing: inherit;
}

button {
	padding: 0;
	background: none;
	border: 0;
	cursor: pointer;
}

table {
	border-collapse: collapse;
	border-spacing: 0;
}

dialog {
	padding: 0;
	color: inherit;
	border: 0;
}

@media (prefers-reduced-motion: reduce) {
	*,
	*::before,
	*::after {
		animation-duration: 0.01ms;
		animation-iteration-count: 1;
		transition-duration: 0.01ms;
		scroll-behavior: auto;
	}
}
}
/* src: assets/css/tokens.css */
@layer tokens {
/*
 * Tokens: every repeated value of the project. Colors are named by role; the dark theme overrides color tokens only
 * (html[data-theme="dark"], set by the theme-toggle component). Components read these tokens and keep their own
 * settings in --<component>-<property> variables.
 *
 * Neumorphism (2026-11-07): the page and its raised elements share one colour (--color-bg = --color-surface); a
 * raised element is a pair of shadows (dark to the bottom right, light to the top left), a pressed / field one the
 * same pair inset. One level only: a raised container clears the outset shadows for its content (the --neu-* context
 * below), so what sits inside it is flat (a fill a tone darker) or inset, never raised again.
 *   --neu-plane        background of the current plane (raised elements take it);
 *   --neu-raise(-sm)   outset shadow allowed at this level (none inside a raised container);
 *   --neu-control-bg   fill of neutral controls (= the plane while they are raised, --neu-flat inside a raised box);
 *   --neu-flat         the flat fill of this plane (a tone darker than the plane).
 * One uniform background (2026-11-08, eighth round): every plane — the page, a band (l-band), a card — has the colour
 * --color-surface; the cards and boxes are raised on it, their content is flat.
 * Icon tiles (--icon-tile-*): the square icon marks of navigation tiles and info rows — a light blue gradient with a
 * white glyph, a light top edge and a darker bottom edge inside it (no outer shadow: tiles sit inside raised boxes).
 *
 * Palette (2026-11-08): Material colours as in Material Tailwind — light blue for the brand / primary (800 fill, 900 text),
 * deep orange for the second accent / secondary (800 fill, 900 text; --color-secondary-*), blue grey for the
 * neutrals (light: one plane of blue-grey 50 / 100, text 900 / 700; dark: one plane around blue-grey 900).
 * Semantic colours from the same palette (green, amber, red, blue).
 */
:root {
	color-scheme: light;

	/* Typography */
	--font-sans: "Manrope", system-ui, -apple-system, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
	--text-2xs: 0.6875rem;
	--text-xs: 0.75rem;
	--text-sm: 0.875rem;
	--text-md: 1rem;
	--text-lg: 1.125rem;
	--text-xl: 1.375rem;
	--text-2xl: clamp(1.25rem, 1.1rem + 0.8vw, 1.625rem);
	--text-h3: clamp(1.125rem, 1rem + 0.6vw, 1.375rem);
	--text-h2: clamp(1.5rem, 1.2rem + 1.5vw, 2.25rem);
	--text-h1: clamp(1.875rem, 1.4rem + 2.6vw, 3.25rem);
	--text-display: clamp(2.25rem, 1.5rem + 4vw, 4rem);
	--leading-tight: 1.2;
	--leading-snug: 1.35;
	--leading-normal: 1.55;
	--weight-regular: 400;
	--weight-medium: 500;
	--weight-semibold: 600;
	--weight-bold: 700;
	--weight-heavy: 800;
	--tracking-tight: -0.02em;
	--tracking-wide: 0.06em;

	/* Brand */
	/* Primary: light blue (fill 800 — white text on it 4.8:1; text 900 — 6.3:1 on the planes). */
	--color-primary: #0277bd;
	--color-primary-hover: #01579b;
	--color-primary-active: #014a84;
	--color-on-primary: #ffffff;
	--color-primary-text: #01579b;
	--color-primary-text-hover: #013e6e;
	--color-primary-soft: #e1f5fe;
	--color-primary-soft-hover: #cbeefd;
	--color-primary-tint: #f0fafe;
	--color-primary-border: #b3e5fc;
	/* Secondary: the second accent (deep orange): clickable labels (taxonomy badges) and prices; everything else is
	   primary. The fill is deep orange 800 (white text on it ~4.4:1, bold), the text tone 900 (4.8:1 on the planes). */
	--color-secondary: #d84315;
	--color-secondary-hover: #bf360c;
	--color-secondary-active: #a32e0a;
	--color-on-secondary: #ffffff;
	--color-secondary-text: #bf360c;
	--color-secondary-text-hover: #a32e0a;
	--color-secondary-soft: #fbe9e7;
	--color-secondary-soft-hover: #ffdbd0;
	--color-secondary-tint: #fff5f2;
	--color-secondary-border: #ffccbc;

	/* Neutrals: one plane colour (neumorphism), flat fills a tone and two darker */
	--color-bg: #e9eef1;
	/* Body plane equal to the former legacy page colour (REQ-0074 TASK-0426 row E-B3, base.css); drops with E-B3. */
	--color-surface: #e9eef1;
	--color-surface-2: #dee5e9;
	--color-surface-3: #cfd8dc;
	--color-surface-alt: #e9eef1;
	--color-text: #263238;
	--color-text-secondary: #455a64;
	--color-text-muted: #455a64;
	--color-text-subtle: #78909c;
	--color-border: #cfd8dc;
	--color-border-strong: #b0bec5;
	--color-field-border: #607d8b;
	/* Soft pair: the dark half a few tones under the surface, the light half a translucent white. */
	--color-neu-dark: #c2ccd2;
	--color-neu-light: rgba(255, 255, 255, 0.85);
	--color-overlay-hover: rgba(38, 50, 56, 0.06);
	--color-backdrop: rgba(16, 24, 28, 0.6);
	--color-focus: rgba(2, 136, 209, 0.6);

	/* Dark surfaces (footer CTA, hero overlay), the same role in both themes */
	--color-dark: #102027;
	--color-dark-2: #1a2c34;
	--color-on-dark: #ffffff;
	--color-on-dark-muted: rgba(255, 255, 255, 0.74);
	--color-on-dark-line: rgba(255, 255, 255, 0.14);
	--color-on-dark-fill: rgba(255, 255, 255, 0.08);
	--color-on-dark-fill-hover: rgba(255, 255, 255, 0.16);

	/* Content on photos: the same in both themes */
	--color-on-media: #ffffff;
	--color-on-media-muted: rgba(255, 255, 255, 0.85);
	--color-on-media-accent: #81d4fa;
	--color-on-media-fill: rgba(255, 255, 255, 0.16);
	--color-on-media-fill-hover: rgba(255, 255, 255, 0.28);
	--color-on-media-line: rgba(255, 255, 255, 0.35);
	--color-media-scrim: rgba(16, 24, 28, 0.72);
	--color-media-scrim-0: rgba(16, 24, 28, 0);
	/* Card photo scrim (the values of the former TASK-0393 card aliases; folding into --color-media-scrim = a look change). */
	--color-photo-scrim: rgba(11, 18, 32, 0.72);
	--color-photo-scrim-0: rgba(11, 18, 32, 0);
	--color-media-chip: rgba(255, 255, 255, 0.92);
	--color-on-media-chip: #263238;

	/* Semantic */
	--color-success: #43a047;
	--color-success-soft: #e8f5e9;
	--color-success-text: #1b5e20;
	--color-success-border: #c8e6c9;
	--color-warning: #ffa000;
	--color-warning-soft: #fff8e1;
	--color-warning-text: #7a4a00;
	--color-warning-border: #ffe082;
	--color-danger: #e53935;
	--color-danger-soft: #ffebee;
	--color-danger-text: #b71c1c;
	--color-danger-border: #ffcdd2;
	/* Info is blue: light blue is the brand now. */
	--color-info: #1e88e5;
	--color-info-soft: #e3f2fd;
	--color-info-text: #0d47a1;
	--color-info-border: #bbdefb;
	--color-star: #ffb300;
	--color-favorite: #e91e63;

	/* Slope difficulty */
	--color-slope-green: #2e7d32;
	--color-slope-blue: #1976d2;
	--color-slope-red: #d32f2f;
	--color-slope-black: #263238;
	--color-on-slope: #ffffff;
	--color-on-slope-black: #ffffff;

	/* Spacing */
	--space-1: 0.25rem;
	--space-2: 0.5rem;
	--space-3: 0.75rem;
	--space-4: 1rem;
	--space-5: 1.25rem;
	--space-6: 1.5rem;
	--space-8: 2rem;
	--space-10: 2.5rem;
	--space-12: 3rem;
	--space-16: 4rem;
	--space-section: clamp(3rem, 2rem + 4vw, 6rem);
	--space-section-sm: clamp(2.25rem, 1.5rem + 3vw, 4rem);
	/* Inset of the background bands (l-band) from the screen edges. */
	--space-band: clamp(0.5rem, 1.5vw, 1.5rem);

	/* Radius */
	--radius-xs: 6px;
	--radius-sm: 8px;
	--radius-md: 12px;
	--radius-lg: 16px;
	--radius-xl: 24px;
	--radius-pill: 999px;

	/* Shadows: neumorphic pairs (raised / inset); --shadow-md / -lg / -float are the raised ones of floating layers */
	--shadow-raised-sm: 2px 2px 5px var(--color-neu-dark), -2px -2px 5px var(--color-neu-light);
	--shadow-raised: 4px 4px 10px var(--color-neu-dark), -4px -4px 10px var(--color-neu-light);
	--shadow-raised-lg: 8px 8px 20px var(--color-neu-dark), -8px -8px 20px var(--color-neu-light);
	--shadow-inset-sm: inset 1px 1px 3px var(--color-neu-dark), inset -1px -1px 3px var(--color-neu-light);
	--shadow-inset: inset 3px 3px 6px var(--color-neu-dark), inset -3px -3px 6px var(--color-neu-light);
	--shadow-pressed: inset 3px 3px 6px rgba(0, 0, 0, 0.28), inset -2px -2px 5px rgba(255, 255, 255, 0.14);
	/* Icon tiles: light blue 300 → 800 with a white glyph. */
	--icon-tile-bg: linear-gradient(145deg, #4fc3f7 0%, #0288d1 52%, #01579b 100%);
	--icon-tile-bg-active: linear-gradient(145deg, #0288d1 0%, #01579b 60%, #013e6e 100%);
	--icon-tile-fill: #0277bd;
	--icon-tile-text: #ffffff;
	--icon-tile-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.45), inset 0 -3px 6px rgba(1, 62, 110, 0.35);
	--icon-tile-radius: 30%;
	/* Over a photo / dark media a neumorphic pair does not read: a plain soft drop. */
	--shadow-drop: 0 18px 40px -18px rgba(11, 18, 32, 0.55);
	--shadow-sm: var(--shadow-raised-sm);
	--shadow-md: var(--shadow-raised);
	--shadow-lg: var(--shadow-raised-lg);
	--shadow-float: var(--shadow-raised);

	/* Neumorphic level context (see the head of the file); raised containers reset it for their content. */
	--neu-plane: var(--color-surface);
	--neu-flat: var(--color-surface-2);
	--neu-raise: var(--shadow-raised);
	--neu-raise-sm: var(--shadow-raised-sm);
	--neu-control-bg: var(--neu-plane);

	/* Borders */
	--border-width: 1px;
	--focus-width: 3px;
	--focus-offset: 2px;

	/* Layout */
	--container-width: 82.5rem;
	--content-width: 46rem;
	--gutter: 1rem;
	--header-height: 4rem;
	--aside-width: 20rem;
	--control-height: 2.75rem;
	--control-height-sm: 2.25rem;
	--icon-size: 1.25em;

	/* Card grid: one card width everywhere (sliders and archive grids) */
	--card-min: 16rem;
	--grid-gap: var(--space-4);
	/* Rows of the card's subgrid (photo + the body rows, see card.css). A holder that lines up the parts of the cards
	   in a row (l-grid--cards, the slider) spans its items over this many rows and sets --card-subgrid: subgrid. */
	--card-rows: 17;

	/* Motion */
	--duration-fast: 0.15s;
	--duration-base: 0.22s;
	--duration-slow: 0.3s;
	--easing-out: cubic-bezier(0.22, 1, 0.36, 1);
	/* Slow, soft motion of hover reveals (photo zoom, link wipes): ease-out without the snap of --easing-out. */
	--duration-reveal: 0.45s;
	--duration-gentle: 0.7s;
	--easing-gentle: cubic-bezier(0.25, 0.8, 0.25, 1);
	/* The icon draws its lines again on hover (icon.css). */
	--duration-draw: 0.75s;
	--transition-colors: color var(--duration-fast) ease, background-color var(--duration-fast) ease, border-color var(--duration-fast) ease, text-decoration-color var(--duration-fast) ease;

	/* Layers */
	--z-raised: 1;
	--z-overlay: 2;
	--z-sticky: 50;
	--z-header: 100;
	--z-dropdown: 110;
	--z-floating: 115;
	--z-mobile-menu: 130;
	--z-modal: 200;
	--z-toast: 300;
	--z-skip-link: 1000;

	@media (width >= 36em) {
		--gutter: 1.5rem;
	}

	@media (width >= 48em) {
		--header-height: 4.5rem;
		--grid-gap: var(--space-5);
	}

	@media (width >= 62em) {
		--gutter: 2rem;
	}

	@media (width >= 75em) {
		--grid-gap: var(--space-6);
	}

	@media (prefers-reduced-motion: reduce) {
		--duration-fast: 0s;
		--duration-base: 0s;
		--duration-slow: 0s;
		--duration-reveal: 0s;
		--duration-gentle: 0s;
		--duration-draw: 0s;
	}
}

:root[data-theme="dark"] {
	color-scheme: dark;

	--color-primary: #0277bd;
	--color-primary-hover: #0288d1;
	--color-primary-active: #01579b;
	--color-primary-text: #4fc3f7;
	--color-primary-text-hover: #81d4fa;
	--color-primary-soft: #0c3044;
	--color-primary-soft-hover: #103b53;
	--color-primary-tint: #0b2737;
	--color-primary-border: #11506f;
	--color-secondary: #d84315;
	--color-secondary-hover: #e64a19;
	--color-secondary-active: #bf360c;
	--color-secondary-text: #ff8a65;
	--color-secondary-text-hover: #ffab91;
	--color-secondary-soft: #3a241d;
	--color-secondary-soft-hover: #472b22;
	--color-secondary-tint: #2c1d18;
	--color-secondary-border: #6d3322;

	--color-bg: #1f292e;
	--color-surface: #1f292e;
	--color-surface-2: #1a2327;
	--color-surface-3: #151c20;
	--color-surface-alt: #1f292e;
	--color-text: #eceff1;
	--color-text-secondary: #b0bec5;
	--color-text-muted: #b0bec5;
	--color-text-subtle: #78909c;
	--color-border: #2f3d44;
	--color-border-strong: #3d4e57;
	--color-field-border: #607d8b;
	--color-neu-dark: #151c20;
	--color-neu-light: #2a373d;
	--icon-tile-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.3), inset 0 -3px 6px rgba(0, 0, 0, 0.3);
	--color-overlay-hover: rgba(255, 255, 255, 0.08);
	--color-focus: rgba(79, 195, 247, 0.7);

	--color-dark: #0b1418;
	--color-dark-2: #122026;

	--color-success: #66bb6a;
	--color-success-soft: #16301b;
	--color-success-text: #a5d6a7;
	--color-success-border: #2e5b32;
	--color-warning: #ffb300;
	--color-warning-soft: #33280c;
	--color-warning-text: #ffe082;
	--color-warning-border: #6b5314;
	--color-danger: #ef5350;
	--color-danger-soft: #3b1a1a;
	--color-danger-text: #ef9a9a;
	--color-danger-border: #7f2a2a;
	--color-info: #42a5f5;
	--color-info-soft: #14324d;
	--color-info-text: #90caf9;
	--color-info-border: #1f4a70;

	--color-slope-black: #cfd8dc;
	--color-on-slope-black: #263238;

	--shadow-pressed: inset 3px 3px 6px rgba(0, 0, 0, 0.45), inset -2px -2px 5px rgba(255, 255, 255, 0.06);
}
}
/* src: assets/css/base.css */
@layer base {
/*
 * Base: tag styles only (no classes). Components restyle tags inside themselves with their own classes.
 */
html {
	scroll-behavior: smooth;
	scroll-padding-top: calc(var(--header-height) + var(--space-4));
	background-color: var(--color-bg);
}

body {
	min-height: 100vh;
	overflow-x: clip;
	font-family: var(--font-sans);
	font-size: var(--text-md);
	line-height: var(--leading-normal);
	color: var(--color-text);
	background-color: var(--color-bg);
	-webkit-font-smoothing: antialiased;
	text-rendering: optimizeLegibility;
}

h1,
h2,
h3,
h4,
h5,
h6 {
	font-weight: var(--weight-bold);
	line-height: var(--leading-tight);
	letter-spacing: var(--tracking-tight);
	color: var(--color-text);
	text-wrap: balance;
}

h1 {
	font-size: var(--text-h1);
	font-weight: var(--weight-heavy);
}

h2 {
	font-size: var(--text-h2);
	font-weight: var(--weight-heavy);
}

h3 {
	font-size: var(--text-h3);
}

h4 {
	font-size: var(--text-lg);
}

h5,
h6 {
	font-size: var(--text-md);
}

p {
	text-wrap: pretty;
}

/* Lists and links with a class belong to a component: no bullets, no text underline (the component styles them). */
:where(ul, ol)[class] {
	list-style: none;
}

a {
	color: var(--color-primary-text);
	text-decoration: underline;
	text-decoration-thickness: 1px;
	text-underline-offset: 0.18em;
	transition: var(--transition-colors);

	&:hover {
		color: var(--color-primary-text-hover);
	}
}

a:where([class]) {
	text-decoration: none;
}

strong,
b {
	font-weight: var(--weight-bold);
}

small {
	font-size: var(--text-sm);
}

hr {
	height: 0;
	margin: 0;
	border: 0;
	border-top: var(--border-width) solid var(--color-border);
}

abbr[title] {
	text-decoration: underline dotted;
	cursor: help;
}

code,
kbd,
samp {
	font-family: ui-monospace, SFMono-Regular, Menlo, Consolas, monospace;
	font-size: 0.9em;
}

caption {
	text-align: start;
}

th {
	font-weight: var(--weight-semibold);
	text-align: start;
}

input,
select,
textarea {
	accent-color: var(--color-primary);
}

textarea {
	resize: vertical;
}

svg {
	flex-shrink: 0;
}

:focus-visible {
	outline: var(--focus-width) solid var(--color-focus);
	outline-offset: var(--focus-offset);
}

::selection {
	color: var(--color-on-primary);
	background-color: var(--color-primary);
}

::backdrop {
	background-color: var(--color-backdrop);
}

/*
 * Legacy-equal tag rules (REQ-0074 TASK-0426, D-118 item 1): the values the legacy 02-base.css gives these tags today,
 * so the W2 cut of the legacy layer is a computed no-op. Each block has a row id (B:req-0074/w2/E/notes.md); dropping
 * a block takes the layout value above instead (a listed fingerprint delta).
 */
/* E-B1: hidden stays hidden whatever display a component sets. */
[hidden] {
	display: none !important;
}
/* E-B2: no smooth scroll under reduced motion (the html rule above would beat the reset). */
@media (prefers-reduced-motion: reduce) {
	html {
		scroll-behavior: auto;
	}
}
/* E-B4 */
button:disabled {
	cursor: not-allowed;
}
/* E-B6: paragraph spacing. */
p {
	margin: 0 0 1em;
}
p:last-child {
	margin-bottom: 0;
}
}
/* src: assets/css/layout.css */
@layer layout {
/*
 * Layout primitives. They set spacing between children; components never set outer margins on themselves.
 *
 * .l-container   centred content column with side gutters
 * .l-stack       vertical flow with a gap (--stack-gap), modifiers --sm / --lg / --xl
 * .l-cluster     wrapping horizontal group (--cluster-gap)
 * .l-grid        card grid: one card width on the whole site (--card-min), modifiers --2 / --3 / --4 max columns;
 *                --cards: a grid of c-card items whose parts line up across a row (subgrid, see card.css)
 * .l-sidebar     content + aside column (aside at 62em+), modifier --start puts the aside first on wide screens
 * .l-split       two equal columns from 48em
 */
.l-container {
	width: 100%;
	max-width: calc(var(--container-width) + var(--gutter) * 2);
	margin-inline: auto;
	padding-inline: var(--gutter);
}

.l-container--narrow {
	max-width: calc(var(--content-width) + var(--gutter) * 2);
}

.l-stack {
	display: flex;
	flex-direction: column;
	gap: var(--stack-gap, var(--space-4));
}

.l-stack--xs {
	--stack-gap: var(--space-2);
}

.l-stack--sm {
	--stack-gap: var(--space-3);
}

.l-stack--lg {
	--stack-gap: var(--space-8);
}

.l-stack--xl {
	--stack-gap: var(--space-section-sm);
}

.l-stack--section {
	--stack-gap: var(--space-section);
}

/* A section of its own: inset from the screen edges, rounded; two bands in a row keep a gap.
   Neumorphism (2026-11-08, eighth round): one uniform background — a band has the colour of the page (--neu-plane is
   not changed), it only groups and spaces its section. */
.l-band {
	/* No inset of its own (round 22): a band has the colour of the page, so the inset only shifted the bands of cards
	   in and out from section to section; the hero and the call to action, which have a picture, keep it (hero.css,
	   cta.css). */
	border-radius: var(--radius-xl);

	& + & {
		margin-block-start: var(--space-band);
	}

	/* After the main content (the site footer): apart from it, flush with the screen bottom. */
	main + & {
		margin-block: var(--space-band) 0;
		border-end-start-radius: 0;
		border-end-end-radius: 0;
	}
}

.l-cluster {
	display: flex;
	flex-wrap: wrap;
	gap: var(--cluster-gap, var(--space-2));
	align-items: center;
}

.l-cluster--lg {
	--cluster-gap: var(--space-4);
}

.l-cluster--between {
	justify-content: space-between;
}

.l-grid {
	display: grid;
	grid-template-columns: repeat(auto-fill, minmax(min(100%, var(--card-min)), 1fr));
	gap: var(--grid-gap);

	& > * {
		min-width: 0;
	}
}

.l-grid--cards {
	/* Every item spans the card's rows and hands them down (subgrid): the titles, meta, texts and footers of the
	   cards in one row share the same rows. The rows inside a card have no gap of their own (the card spaces its
	   parts), so the gap between rows of cards is the items' bottom margin, the last one pulled back. */
	row-gap: 0;
	margin-block-end: calc(var(--grid-gap) * -1);

	& > * {
		--card-subgrid: subgrid;
		--card-span: span var(--card-rows);
		--card-container: normal;

		display: grid;
		grid-row: span var(--card-rows);
		grid-template-rows: subgrid;
		margin-block-end: var(--grid-gap);
	}
}

.l-grid--2 {
	@media (width >= 48em) {
		grid-template-columns: repeat(2, minmax(0, 1fr));
	}
}

.l-grid--3 {
	@media (width >= 48em) {
		grid-template-columns: repeat(2, minmax(0, 1fr));
	}

	@media (width >= 75em) {
		grid-template-columns: repeat(3, minmax(0, 1fr));
	}
}

.l-grid--4 {
	@media (width >= 36em) {
		grid-template-columns: repeat(2, minmax(0, 1fr));
	}

	@media (width >= 62em) {
		grid-template-columns: repeat(3, minmax(0, 1fr));
	}

	@media (width >= 75em) {
		grid-template-columns: repeat(4, minmax(0, 1fr));
	}
}

.l-sidebar {
	display: grid;
	gap: var(--space-8);
	align-items: start;

	& > * {
		min-width: 0;
	}

	@media (width >= 62em) {
		grid-template-columns: minmax(0, 1fr) var(--aside-width);
		gap: var(--space-10);
	}
}

.l-sidebar--start {
	@media (width >= 62em) {
		grid-template-columns: var(--aside-width) minmax(0, 1fr);
	}
}

.l-split {
	display: grid;
	gap: var(--space-6);

	& > * {
		min-width: 0;
	}

	@media (width >= 48em) {
		grid-template-columns: repeat(2, minmax(0, 1fr));
	}
}
}
/* src: assets/components/icon/icon.css */
@layer components {
/*
 * Icon: inline SVG from assets/icons/, decorative (aria-hidden), colored by currentColor.
 * --sm 1em, --lg 1.5em, --fill for glyph icons without a stroke (the brand glyphs, the stars; the pipeline marks every
 * icon drawn with stroke="none").
 * Hover motion — ONE for the whole site (round 21, 2026-11-11; components have no icon animations of their own):
 * while the pointer is over a clickable element (link, enabled button, summary, label of a control) its icon
 *   - any icon (line or glyph alike): fills in round the clock, once — a sector mask from 12 o'clock clockwise
 *     (conic-gradient on --icon-sweep, a registered angle), --duration-draw 0.75s, --easing-gentle. One motion for
 *     every icon: a stroke drawing cannot show a filled glyph (Telegram, WhatsApp, VK), the round sweep can;
 *   - arrow (--arrow: → › and the chevrons; with --arrow-left / --arrow-down / --arrow-up for the direction): does
 *     not wipe, it sways along its direction and back, in a loop, while the pointer stays.
 * The rule's subject is the svg itself (a class): a hover rule on its shapes ([pathLength]) was not restyled by
 * Chromium unless the colour of the icon changed too. Zero specificity of the parent part; never with
 * prefers-reduced-motion. A state animation (the heart of «В избранное» when pressed) stays in its component.
 */
.c-icon {
	width: var(--icon-size);
	height: var(--icon-size);
	flex: 0 0 auto;
	fill: none;
	stroke: currentColor;
	stroke-width: 1.8;
	stroke-linecap: round;
	stroke-linejoin: round;
}

.c-icon--sm {
	--icon-size: 1em;
}

.c-icon--lg {
	--icon-size: 1.5em;
}

.c-icon--fill {
	fill: currentColor;
	stroke: none;
}

/* Direction of the sway of an arrow (--arrow alone = to the end). */
.c-icon--arrow {
	--icon-sway-x: 0.1875rem;
	--icon-sway-y: 0;
}

.c-icon--arrow-left {
	--icon-sway-x: -0.1875rem;
}

.c-icon--arrow-down {
	--icon-sway-x: 0;
	--icon-sway-y: 0.1875rem;
}

.c-icon--arrow-up {
	--icon-sway-x: 0;
	--icon-sway-y: -0.1875rem;
}

/* The angle of the round fill (animated by c-icon-sweep; registered, so it interpolates). */
@property --icon-sweep {
	syntax: "<angle>";
	inherits: false;
	initial-value: 360deg;
}

@media (prefers-reduced-motion: no-preference) {
	:where(a[href], button:not(:disabled), summary, label):hover .c-icon:not(.c-icon--arrow) {
		mask-image: conic-gradient(currentcolor var(--icon-sweep), transparent 0);
		animation: c-icon-sweep var(--duration-draw) var(--easing-gentle) both;
	}

	:where(a[href], button:not(:disabled), summary, label):hover .c-icon--arrow {
		animation: c-icon-sway calc(var(--duration-draw) * 1.6) ease-in-out infinite;
	}
}

@keyframes c-icon-sweep {
	from {
		--icon-sweep: 0deg;
	}

	to {
		--icon-sweep: 360deg;
	}
}

@keyframes c-icon-sway {
	0%,
	100% {
		translate: 0 0;
	}

	50% {
		translate: var(--icon-sway-x) var(--icon-sway-y);
	}
}
}
/* src: assets/components/active-filters/active-filters.css */
@layer components {
/*
 * Active filters (no JS): one chip per applied filter, each a link that removes only its own filter (URL built by
 * the server from the validated state), and "Сбросить всё" that removes every filter (search and sort stay).
 * Chips are the shared c-chip (--soft); this file lays them out and lets a long label end with an ellipsis.
 */
/* Nothing to reset: the lone "Сбросить всё" link is not shown. */
.c-active-filters:has(.c-active-filters__list:empty) {
	display: none;
}

.c-active-filters {
	display: flex;
	flex-wrap: wrap;
	align-items: center;
	gap: var(--space-2) var(--space-4);
	min-width: 0;
}

.c-active-filters__list {
	display: flex;
	flex-wrap: wrap;
	gap: var(--space-2);
	min-width: 0;
	max-width: 100%;
	margin: 0;
	padding: 0;
	list-style: none;
}

.c-active-filters__item {
	min-width: 0;
	max-width: 100%;
}

.c-active-filters__chip {
	max-width: 100%;
}

.c-active-filters__label {
	min-width: 0;
	overflow: hidden;
	text-overflow: ellipsis;
	white-space: nowrap;
}

.c-active-filters__reset {
	display: inline-flex;
	align-items: center;
	min-height: 1.5rem;
	color: var(--color-primary-text);
	font-size: var(--text-sm);
	font-weight: var(--weight-bold);
	text-decoration: underline;
	text-underline-offset: 0.2em;
	transition: var(--transition-colors);

	&:hover {
		color: var(--color-primary-text-hover);
	}

	&:focus-visible {
		outline: var(--focus-width) solid var(--color-focus);
		outline-offset: var(--focus-offset);
		border-radius: var(--radius-xs);
	}
}
}
/* src: assets/components/alert/alert.css */
@layer components {
/*
 * Alert: inline message box. Colour from the variant: --info, --success, --warning, --danger (base = neutral).
 * Parts: __icon (leading icon), __body (inline text or paragraphs; may hold links and a list).
 * Neumorphism: a flat fill (semantic tint, or the plane's flat tone for the neutral one), no frame, no shadow.
 */
.c-alert {
	--alert-bg: var(--neu-flat);
	--alert-text: var(--color-text);
	--alert-border: transparent;
	--alert-icon: var(--color-text-muted);

	display: flex;
	gap: var(--space-3);
	align-items: flex-start;
	padding: var(--space-3) var(--space-4);
	font-size: var(--text-sm);
	line-height: var(--leading-snug);
	color: var(--alert-text);
	background-color: var(--alert-bg);
	border: var(--border-width) solid var(--alert-border);
	border-radius: var(--radius-md);
}

/* Info: the text in the body colour, only the icon is blue (round 22: no brand-blue text on a pale blue tint). */
.c-alert--info {
	--alert-bg: var(--color-info-soft);
	--alert-text: var(--color-text);
	--alert-icon: var(--color-info);
}

.c-alert--success {
	--alert-bg: var(--color-success-soft);
	--alert-text: var(--color-success-text);
	--alert-icon: var(--color-success);
}

.c-alert--warning {
	--alert-bg: var(--color-warning-soft);
	--alert-text: var(--color-warning-text);
	--alert-icon: var(--color-warning);
}

.c-alert--danger {
	--alert-bg: var(--color-danger-soft);
	--alert-text: var(--color-danger-text);
	--alert-icon: var(--color-danger);
}

.c-alert__icon {
	flex: 0 0 auto;
	width: 1.125rem;
	height: 1.125rem;
	margin-top: 0.0625rem;
	color: var(--alert-icon);
}

/* Normal flow: inline text, links and <time> run on one line; block children (p, ul) are spaced apart. */
.c-alert__body {
	flex: 1 1 auto;
	min-width: 0;
}

.c-alert__body > * + :where(p, ul, ol, div) {
	margin-top: var(--space-1);
}
}
/* src: assets/components/archive-toolbar/archive-toolbar.css */
@layer components {
/*
 * Archive toolbar: the GET form #archive-form (empty on purpose: search, sort and the filter panel controls join it
 * with the form attribute), the search row, the results count (role=status), the "Фильтры" button that opens the
 * filter drawer below 62em, the sort select (its own submit button without JS) and the grid / list view switch
 * (aria-pressed). Controls come from the shared c-field / c-button; this file places them. The search row is one inset
 * pill with «Найти» inside it (2026-11-08), like the front search box.
 * Neumorphism: the view buttons are neutral raised controls (flat inside a raised box); pressed = inset + primary.
 */
.c-archive-toolbar {
	--archive-toolbar-gap: var(--space-3);
	--archive-toolbar-view-size: 2.25rem;
	--archive-toolbar-view-on-text: var(--color-primary-text);

	display: flex;
	flex-direction: column;
	gap: var(--space-4);
	min-width: 0;
}

.c-archive-toolbar__form {
	display: none;
}

.c-archive-toolbar__search {
	/* The row is the inset pill well, the field inside it has no frame of its own (field API), the button sits in the
	   well at its end; focus of the field rings the whole row. */
	--field-shadow: none;
	--field-border: transparent;
	--field-border-hover: transparent;
	--field-border-focus: transparent;
	--field-focus-outline: none;
	--field-height: var(--control-height);

	display: flex;
	align-items: center;
	gap: var(--space-1);
	min-width: 0;
	padding: var(--space-1);
	border: var(--border-width) solid transparent;
	border-radius: var(--radius-pill);
	box-shadow: var(--shadow-inset);
	transition: var(--transition-colors);

	&:has(input:focus-visible) {
		border-color: var(--color-primary);
		outline: var(--focus-width) solid var(--color-focus);
		outline-offset: 0;
	}
}

.c-archive-toolbar__field {
	flex: 1 1 auto;
}

.c-archive-toolbar .c-archive-toolbar__submit {
	flex: 0 0 auto;
}

.c-archive-toolbar__bar {
	display: flex;
	flex-wrap: wrap;
	align-items: center;
	justify-content: space-between;
	gap: var(--archive-toolbar-gap);
	min-width: 0;
}

.c-archive-toolbar__group {
	display: flex;
	flex-wrap: wrap;
	align-items: center;
	gap: var(--archive-toolbar-gap);
	min-width: 0;
}

/* Phones (2026-11-10): the sort and the view switch are a row of their own under the filters and the count — the sort
   at the start (left), the switch at the end. From 48em the group stands at the end of the bar. */
.c-archive-toolbar__group--end {
	flex: 1 1 100%;

	@media (width >= 48em) {
		flex: 0 1 auto;
		margin-inline-start: auto;
	}
}

.c-archive-toolbar .c-archive-toolbar__filters {
	@media (width >= 62em) {
		display: none;
	}
}

.c-archive-toolbar__count {
	margin: 0;
	color: var(--color-text-secondary);
	font-size: var(--text-sm);
}

.c-archive-toolbar__total {
	color: var(--color-text);
	font-weight: var(--weight-heavy);
}

.c-archive-toolbar__sort {
	display: flex;
	align-items: center;
	gap: var(--space-2);
	min-width: 0;
}

/* Phones: the label is for screen readers only, so sorting fits the filters row; shown from 36em. */
.c-archive-toolbar__sort-label {
	position: absolute;
	width: 1px;
	height: 1px;
	overflow: hidden;
	color: var(--color-text-secondary);
	font-size: var(--text-sm);
	white-space: nowrap;
	clip-path: inset(50%);

	@media (width >= 36em) {
		position: static;
		width: auto;
		height: auto;
		overflow: visible;
		clip-path: none;
	}
}

.c-archive-toolbar .c-archive-toolbar__select {
	--field-height: var(--control-height-sm);

	width: auto;
	max-width: 100%;
}

/* Grid / list switch: on phones too (2026-11-10) — the list view there is the compact card (no photo, one line of
   text), so a screen shows more results; at the end of its row. */
.c-archive-toolbar__view {
	display: inline-flex;
	flex: 0 0 auto;
	gap: var(--space-2);
	margin-inline-start: auto;
}

.c-archive-toolbar__view-button {
	display: inline-grid;
	place-items: center;
	width: var(--archive-toolbar-view-size);
	height: var(--archive-toolbar-view-size);
	padding: 0;
	color: var(--color-text-secondary);
	background-color: var(--neu-control-bg);
	border: 0;
	border-radius: var(--radius-pill);
	box-shadow: var(--neu-raise-sm);
	cursor: pointer;
	transition: var(--transition-colors), box-shadow var(--duration-fast) ease;

	&:hover {
		color: var(--color-primary-text);
	}

	&:active {
		box-shadow: var(--shadow-inset-sm);
	}

	&:focus-visible {
		outline: var(--focus-width) solid var(--color-focus);
		outline-offset: var(--focus-offset);
	}

	&[aria-pressed="true"] {
		color: var(--archive-toolbar-view-on-text);
		box-shadow: var(--shadow-inset-sm);
	}
}
}
/* src: assets/components/avatar/avatar.css */
@layer components {
/*
 * Avatar: a round user picture (__image) or the initials of the name (--initials), decorative next to the name.
 * Initials (redesign 2026-11-09): white letters on a solid tone of their own — --avatar-hue (style attribute, set
 * from the name: the same person keeps the colour, neighbours differ), a soft diagonal shade and a thin inner ring;
 * the blue letters on the pale blue tint were too weak. Seven curated hues keep the white text at AA contrast.
 * --primary = the editorial team / the site itself: the brand blue.
 */
.c-avatar {
	--avatar-size: 2.5rem;
	--avatar-hue: 250;

	display: inline-grid;
	flex: 0 0 auto;
	place-items: center;
	width: var(--avatar-size);
	height: var(--avatar-size);
	overflow: hidden;
	font-size: calc(var(--avatar-size) * 0.4);
	font-weight: var(--weight-semibold);
	line-height: 1;
	letter-spacing: 0.02em;
	color: var(--color-on-primary);
	text-transform: uppercase;
	background-color: oklch(0.5 0.13 var(--avatar-hue));
	background-image: linear-gradient(145deg, oklch(0.6 0.12 var(--avatar-hue)), oklch(0.46 0.13 var(--avatar-hue)));
	border-radius: 50%;
	box-shadow: inset 0 0 0 1px oklch(1 0 0 / 0.18);
}

.c-avatar--initials {
	user-select: none;
}

.c-avatar__image {
	width: 100%;
	height: 100%;
	object-fit: cover;
}

.c-avatar--primary {
	color: var(--color-on-primary);
	background-color: var(--color-primary);
	background-image: linear-gradient(145deg, var(--color-primary), var(--color-primary-hover));
}
}
/* src: assets/components/badge/badge.css */
@layer components {
/*
 * Badge: small pill label (<span>) or link badge (<a>: category, taxonomy, parent object).
 * Colours: base neutral, --primary, --outline, --accept (green: the current / confirmed one, e.g. the current ski-pass
 * season), --warning, --success, --danger, --info; --light = white pill on photos (same in both themes).
 * Labels of taxonomies (the card corner, 2026-11-08): clickable labels take the second accent — a solid secondary
 * (deep orange) pill, the same on a photo and on a plane: --category (a category, a series, the resort of a place) and
 * --tag (a tag: a # icon __icon before the name). --lg = the header size (the labels over the h1 of a single page,
 * .s-entry__badges: a section label carries the section icon). Link badges react on hover; a transparent ::before extends their hit area to >= 24px.
 * Neumorphism: badges are flat fills (no shadow), so they sit on a plane and inside a raised box alike; a link badge
 * changes its text colour on hover (no fill swap).
 */
.c-badge {
	--badge-bg: var(--color-surface-2);
	--badge-text: var(--color-text-secondary);
	--badge-border: transparent;
	--badge-bg-hover: var(--badge-bg);
	--badge-text-hover: var(--color-primary-text);

	position: relative;
	display: inline-flex;
	align-items: center;
	gap: var(--space-1);
	padding: var(--space-1) var(--space-3);
	font-size: var(--text-xs);
	font-weight: var(--weight-bold);
	line-height: var(--leading-tight);
	color: var(--badge-text);
	text-decoration: none;
	white-space: nowrap;
	background-color: var(--badge-bg);
	border: var(--border-width) solid var(--badge-border);
	border-radius: var(--radius-pill);

	&:any-link {
		transition: var(--transition-colors), transform var(--duration-fast) ease;
	}

	&:any-link::before {
		content: "";
		position: absolute;
		inset: -2px;
	}

	&:any-link:hover {
		color: var(--badge-text-hover);
		background-color: var(--badge-bg-hover);
	}

	&:focus-visible {
		outline: var(--focus-width) solid var(--color-focus);
		outline-offset: var(--focus-offset);
	}
}

/* Primary: the body colour on the pale blue tint (round 22: no brand-blue text on it); hover takes the brand colour. */
.c-badge--primary {
	--badge-bg: var(--color-primary-soft);
	--badge-text: var(--color-text);
	--badge-text-hover: var(--color-primary-text-hover);
}

.c-badge--outline {
	--badge-bg: transparent;
	--badge-border: var(--color-border-strong);
}

.c-badge--accept {
	--badge-bg: var(--color-success-soft);
	--badge-text: var(--color-success-text);
	--badge-border: var(--color-success-border);
}

.c-badge--category,
.c-badge--tag {
	--badge-bg: var(--color-secondary);
	--badge-text: var(--color-on-secondary);
	--badge-bg-hover: var(--color-secondary-hover);
	--badge-text-hover: var(--color-on-secondary);

	&:any-link:hover {
		transform: translateY(-2px);
	}
}

.c-badge--tag {
	gap: calc(var(--space-1) / 2);
	padding-inline-start: var(--space-2);
}

.c-badge--lg {
	gap: var(--space-2);
	min-height: 2rem;
	padding: var(--space-1) var(--space-4);
	font-size: var(--text-sm);
	letter-spacing: 0.01em;
}

.c-badge--lg .c-badge__icon {
	--icon-size: 1.125em;

	margin-inline-start: calc(var(--space-1) * -1);
	opacity: 0.85;
}

.c-badge__icon {
	--icon-size: 1em;

	margin-inline-start: -2px;
	stroke-width: 2.2;
	opacity: 0.7;
}

.c-badge--warning {
	--badge-bg: var(--color-warning-soft);
	--badge-text: var(--color-warning-text);
}

.c-badge--success {
	--badge-bg: var(--color-success-soft);
	--badge-text: var(--color-success-text);
}

.c-badge--danger {
	--badge-bg: var(--color-danger-soft);
	--badge-text: var(--color-danger-text);
}

.c-badge--info {
	--badge-bg: var(--color-info-soft);
	--badge-text: var(--color-info-text);
}

.c-badge--light {
	--badge-bg: var(--color-media-chip);
	--badge-text: var(--color-on-media-chip);
	--badge-bg-hover: var(--color-on-media);
	--badge-text-hover: var(--color-primary);

	&:any-link:hover {
		transform: translateY(-2px);
	}
}
}
/* src: assets/components/booking/booking.css */
@layer components {
/*
 * Booking: --card = the price card of the aside (price, facts, actions); --form = the request form block
 * (instructor / school / tour / product) with its error line and the success message.
 * --card (2026-11-09) carries the quick facts of the page (icon + label, value; links such as the phone) and the
 * header actions (the call to action, the secondary links, the favourite toggle), which the page no longer repeats.
 * Neumorphism: --card is flat (it sits in the raised aside widget); --form is a raised box, its fields inset.
 */
.c-booking {
	display: flex;
	flex-direction: column;
	gap: var(--space-4);
}

.c-booking__price {
	display: flex;
	flex-wrap: wrap;
	gap: var(--space-1) var(--space-2);
	align-items: baseline;
}

.c-booking__price-value {
	font-size: var(--text-2xl);
	font-weight: var(--weight-heavy);
	line-height: var(--leading-tight);
	letter-spacing: var(--tracking-tight);
	color: var(--color-secondary-text); /* prices: the second accent */
}

.c-booking__price-note {
	font-size: var(--text-sm);
	color: var(--color-text-secondary);
}

.c-booking__facts {
	display: flex;
	flex-direction: column;
	border-top: var(--border-width) solid var(--color-border);
}

.c-booking__fact {
	display: flex;
	gap: var(--space-3);
	justify-content: space-between;
	padding-block: var(--space-2);
	font-size: var(--text-sm);
	border-bottom: var(--border-width) solid var(--color-border);
}

.c-booking__term {
	display: flex;
	flex: none;
	gap: var(--space-2);
	align-items: flex-start;
	/* No max-width: a long one-word term («Продолжительность») would stick out of it at 320px; the value shrinks
	   and wraps instead (overflow-wrap). */
	color: var(--color-text-secondary);
}

.c-booking__icon {
	--icon-size: 1.1rem;

	display: inline-grid;
	flex: none;
	place-items: center;
	height: calc(var(--text-sm) * var(--leading-normal));
	color: var(--color-primary-text);
}

.c-booking__value {
	min-width: 0;
	font-weight: var(--weight-bold);
	text-align: end;
	overflow-wrap: anywhere;
}

/* A link in a fact (the phone): a 24px target. */
.c-booking__link {
	display: inline-flex;
	align-items: center;
	min-height: 1.5rem;
	color: var(--color-primary-text);
	text-decoration: underline;
	text-decoration-color: color-mix(in srgb, currentcolor 40%, transparent);
	text-underline-offset: 0.2em;

	&:hover {
		text-decoration-color: currentcolor;
	}
}

/* Actions: the call to action, the secondary links and the favourite toggle, one per line across the card. */
.c-booking__actions {
	display: flex;
	flex-direction: column;
	gap: var(--space-2);
}

.c-booking__favorite {
	width: 100%;
}

.c-booking--form {
	padding: var(--space-5);
	scroll-margin-top: calc(var(--header-height) + 4.5rem);
	background-color: var(--neu-plane);
	border-radius: var(--radius-xl);
	box-shadow: var(--neu-raise);

	@media (width >= 48em) {
		padding: var(--space-8);
	}

	/* One neumorphic level: the content of the raised box is flat or inset. */
	& > * {
		--neu-raise: none;
		--neu-raise-sm: none;
		--neu-control-bg: var(--neu-flat);
	}
}

.c-booking__status {
	padding: var(--space-3) var(--space-4);
	font-size: var(--text-sm);
	color: var(--color-danger-text);
	background-color: var(--color-danger-soft);
	border-radius: var(--radius-md);
}

.c-booking__success {
	display: flex;
	flex-direction: column;
	gap: var(--space-2);
	align-items: center;
	padding: var(--space-6);
	text-align: center;
	color: var(--color-success-text);
	background-color: var(--color-success-soft);
	border-radius: var(--radius-lg);
}

.c-booking__success-icon {
	--icon-size: 3rem;
}

.c-booking__success-title {
	font-size: var(--text-xl);
	color: inherit;
}

.c-booking__success-text {
	color: var(--color-text-secondary);
}

/* Transfer request (TASK-0135, moved from the legacy layer by TASK-0423): the return date / time row only with
   «Туда и обратно»; without :has() support it stays visible and the server drops the values. */
.c-booking:has([data-transfer-direction]):not(:has([data-transfer-direction] option[value="round"]:checked)) .c-booking__return {
	display: none;
}
}
/* src: assets/components/breadcrumbs/breadcrumbs.css */
@layer components {
/*
 * Component breadcrumbs (shared, no JS): the trail bar under the header — links with a separator icon, the current page
 * in bold. One line at every width (2026-11-10): a trail that does not fit is a drift row (c-drift, drift.js: moves
 * sideways by itself, stops under the mouse, on focus and on the visitor's scroll) — the whole trail on phones too, no
 * «…» and no cut title any more. Colours from the
 * --color-breadcrumbs-* role tokens (tokens.css), so the component does not change for the dark theme. Markup:
 * template-parts/components/breadcrumbs.php (printed by rider_theme_the_breadcrumbs(), inc/breadcrumbs.php). Values of
 * the legacy .breadcrumbs-bar / .breadcrumbs rules (assets/css/03-components.css 1382-1451; R-7a, TASK-0039).
 * Neumorphism: plain text links, hover = primary text (no fill, no shadow).
 */
.c-breadcrumbs {
	--breadcrumbs-text: var(--color-text-muted);
	--breadcrumbs-link: var(--color-text-secondary);
	--breadcrumbs-link-hover: var(--color-primary-text);
	--breadcrumbs-current: var(--color-text);
	--breadcrumbs-separator: var(--color-text-subtle);
	--breadcrumbs-focus: var(--color-focus);
	--breadcrumbs-gap: var(--space-1) 2px;
	--breadcrumbs-item-gap: 2px;
	--breadcrumbs-font-size: 13px;
	--breadcrumbs-link-height: 32px;
	--breadcrumbs-link-padding-block: 2px;
	--breadcrumbs-link-padding-inline: 6px;
	--breadcrumbs-separator-size: 14px;
	--breadcrumbs-focus-width: 3px;
	--breadcrumbs-focus-offset: 2px;

	padding-block: var(--space-3) var(--space-1);
}

.c-breadcrumbs__list {
	/* Ring inset: room for the focus rings inside the scroller; the start pulls back the first link's padding too, so
	   its text stays on the content edge (the list reset zeroes the drift insets of an ol). */
	--drift-ring: calc(var(--breadcrumbs-focus-width) + var(--breadcrumbs-focus-offset));

	display: flex;
	align-items: center;
	gap: var(--breadcrumbs-gap);
	min-width: 0;
	margin: calc(var(--drift-ring) * -1);
	margin-inline: calc((var(--drift-ring) + var(--breadcrumbs-link-padding-inline)) * -1) 0;
	padding: var(--drift-ring);
	padding-inline-end: var(--drift-fade, var(--space-4));
	color: var(--breadcrumbs-text);
	font-size: var(--breadcrumbs-font-size);
}

.c-breadcrumbs__item {
	display: inline-flex;
	flex: none;
	align-items: center;
	gap: var(--breadcrumbs-item-gap);
	white-space: nowrap;
}

.c-breadcrumbs__link {
	display: inline-flex;
	align-items: center;
	min-height: var(--breadcrumbs-link-height);
	padding: var(--breadcrumbs-link-padding-block) var(--breadcrumbs-link-padding-inline);
	color: var(--breadcrumbs-link);
	border-radius: var(--radius-xs);
	transition-property: color;
	transition-duration: var(--duration-fast);
	transition-timing-function: ease;

	&:hover {
		color: var(--breadcrumbs-link-hover);
	}

	&:focus-visible {
		outline: var(--breadcrumbs-focus-width) solid var(--breadcrumbs-focus);
		outline-offset: var(--breadcrumbs-focus-offset);
	}
}

.c-breadcrumbs__separator {
	width: var(--breadcrumbs-separator-size);
	height: var(--breadcrumbs-separator-size);
	color: var(--breadcrumbs-separator);
}

.c-breadcrumbs__current {
	padding: var(--breadcrumbs-link-padding-block) var(--breadcrumbs-link-padding-inline);
	color: var(--breadcrumbs-current);
	font-weight: 600;
	white-space: nowrap;
}

/* On a photo (the first screen of a resort with a photo, 2026-11-09): the on-media colours, no own padding. */
.c-breadcrumbs--on-media {
	--breadcrumbs-text: var(--color-on-media-muted);
	--breadcrumbs-link: var(--color-on-media-muted);
	--breadcrumbs-link-hover: var(--color-on-media);
	--breadcrumbs-current: var(--color-on-media);
	--breadcrumbs-separator: var(--color-on-media-muted);

	padding-block: var(--space-2) 0;
}
}
/* src: assets/components/button/button.css */
@layer components {
/*
 * Button: an <a href> that goes somewhere or a <button type> that acts, styled the same.
 * The site has four kinds of controls only (round 20, 2026-11-11):
 *   1. primary button — c-button--primary (blue fill): the one main action of a block (Записаться, Отправить, Найти);
 *   2. secondary button — c-button--secondary (neutral fill): every other action (copy, share, maps, contacts,
 *      favourite, reactions, socials, «Показать ещё»); on a photo the same button is --glass (no fill of the plane);
 *   3. link with an arrow — c-link-arrow (text, no fill): a way to more («Подробнее», «Все новости», «Тарифы»);
 *   4. chip — c-chip: tags, filters, rows of sections.
 * Self-made controls of components (like-button, favourite --inline, socials, site footer contacts) take the class
 * pair c-button c-button--secondary or its metrics. There is no --lg, --ghost, --light or --accent any more.
 * Shape: every button is a pill (--radius-pill) on one line (nowrap: a two-line pill reads as a blob; the holder gives
 * it the room); --icon is a circle. Icons: an inline .c-icon before the label. --multiline: a long sentence label
 * from the content (an embed's call to action) may wrap; it gets a large radius instead of the pill.
 * Size: base 44px (spec 07), --sm 36px for dense rows (cards, toolbars; a primary --sm stays 44px below 48em);
 * --block full width; --icon square icon-only button (needs aria-label). __count = small counter badge.
 * Holders may set the colour settings and the placement of the root only.
 * Neumorphism: neutral and primary buttons are raised on a plane (--neu-raise-sm) and flat inside a raised container
 * (the context clears the shadow, the neutral fill turns a tone darker); pressed = inset. On photos: no shadow.
 */
.c-button {
	--button-bg: var(--neu-control-bg);
	--button-text: var(--color-text);
	--button-border: transparent;
	--button-bg-hover: color-mix(in srgb, var(--button-bg), var(--color-neu-dark) 14%);
	--button-text-hover: var(--color-primary-text);
	--button-border-hover: var(--button-border);
	--button-shadow: var(--neu-raise-sm);
	--button-shadow-active: var(--shadow-inset-sm);
	--button-height: var(--control-height);
	--button-padding-inline: var(--space-5);
	--button-font-size: var(--text-sm);
	--button-radius: var(--radius-pill);

	position: relative;
	display: inline-flex;
	align-items: center;
	justify-content: center;
	gap: var(--space-2);
	min-height: var(--button-height);
	padding: var(--space-2) var(--button-padding-inline);
	font-size: var(--button-font-size);
	font-weight: var(--weight-bold);
	line-height: var(--leading-tight);
	color: var(--button-text);
	text-align: center;
	text-decoration: none;
	white-space: nowrap;
	background-color: var(--button-bg);
	border: var(--border-width) solid var(--button-border);
	border-radius: var(--button-radius);
	box-shadow: var(--button-shadow);
	cursor: pointer;
	user-select: none;
	transition: var(--transition-colors), box-shadow var(--duration-fast) ease;

	&:hover {
		color: var(--button-text-hover);
		background-color: var(--button-bg-hover);
		border-color: var(--button-border-hover);
	}

	&:active {
		box-shadow: var(--button-shadow-active);
	}

	&:focus-visible {
		outline: var(--focus-width) solid var(--color-focus);
		outline-offset: var(--focus-offset);
	}

	&:disabled,
	&[aria-disabled="true"] {
		cursor: not-allowed;
		opacity: 0.55;
		box-shadow: var(--button-shadow);
	}

	&[aria-busy="true"] {
		cursor: progress;
	}
}

.c-button--primary {
	--button-bg: var(--color-primary);
	--button-text: var(--color-on-primary);
	--button-border: var(--color-primary);
	--button-bg-hover: var(--color-primary-hover);
	--button-text-hover: var(--color-on-primary);
	--button-border-hover: var(--color-primary-hover);
	--button-shadow-active: var(--shadow-pressed);
}

.c-button--secondary {
	--button-bg: var(--neu-control-bg);
	--button-text: var(--color-text);
}

.c-button--glass {
	--button-bg: var(--color-on-media-fill);
	--button-text: var(--color-on-media);
	--button-border: var(--color-on-media-line);
	--button-bg-hover: var(--color-on-media-fill-hover);
	--button-border-hover: var(--color-on-media);
	--button-text-hover: var(--color-on-media);
	--button-shadow: none;
	--button-shadow-active: none;
}

.c-button--sm {
	--button-height: var(--control-height-sm);
	--button-padding-inline: var(--space-3);
	--button-font-size: var(--text-sm);
}

/* A primary small button keeps 44px on phones (spec 07). */
.c-button--primary.c-button--sm {
	--button-height: var(--control-height);

	@media (width >= 48em) {
		--button-height: var(--control-height-sm);
	}
}

.c-button--block {
	width: 100%;
}

.c-button--multiline {
	--button-radius: var(--radius-xl);

	max-width: 100%;
	white-space: normal;
	text-wrap: balance;
}

.c-button--icon {
	--button-padding-inline: 0;

	flex: 0 0 auto;
	width: var(--button-height);
	padding: 0;
}

.c-button__count {
	display: inline-grid;
	place-items: center;
	min-width: 1.25rem;
	height: 1.25rem;
	padding-inline: var(--space-1);
	font-size: var(--text-2xs);
	font-weight: var(--weight-bold);
	line-height: 1;
	color: var(--color-on-primary);
	background-color: var(--color-primary);
	border-radius: var(--radius-pill);

	&:empty {
		display: none;
	}
}

/*
 * Theme carry-over (TASK-0393): rules for classes the theme markup prints and this layout file lacks,
 * with the settings they read; they leave with the slice that moves this markup (TASK-0394+).
 */
.c-button--ghost {
	--button-bg: transparent;
	--button-text: var(--color-text);
	--button-border: transparent;
	--button-bg-hover: var(--color-surface-2);
}
}
/* src: assets/components/card/card.css */
@layer components {
/*
 * Card: the post card of listings, sliders, related blocks and the favorites page. One component for every type
 * (resort, instructor, school, tour, event, news, article, product, marathon, apres-ski, generic post).
 *
 * Markup: article.c-card[--type] > div.c-card__inner > (div.c-card__media) + div.c-card__body.
 * The card answers to its own width (container "card"): narrow = vertical card (photo on top), from 45em = horizontal
 * row (photo at the start, body at the end) — e.g. the one-column archive list view. Holders never restyle the card.
 *
 * Media: photo link (decorative duplicate, aria-hidden), badges (top start), favourite toggle (top end), event date
 * plate (bottom start), resort title block on the photo (bottom). --wide / --portrait set the ratio, --scrim darkens
 * the bottom of the photo under the light text.
 * Body: head (title + location row), resort stats / slopes / lifts, meta (one fact per line, each «Label: value» with
 * the label bold: the rating of instructors, resorts and products comes first, «Рейтинг: 4,8 (41 отзыв)» with the
 * value linking to #reviews; the price «Цена: от 5 000 ₽ / занятие» is the last fact and the only bold value), specs
 * pills, text, includes, footer with the call to action.
 * Rows: the parts of the cards in one row line up (the titles on one line, then the meta, texts, footers). The card
 * is a grid of --card-rows rows (photo + 16 body rows, one per kind of part, see "Body rows" below) handed down
 * through the inner box and the body (subgrid). A holder that wants the alignment (l-grid--cards, the slider) spans its
 * items over the same rows and sets --card-subgrid: subgrid / --card-span / --card-container: normal; anywhere else the card lays out its own
 * rows (the spare height goes above the footer). Parts are spaced by their top margin, so a part the card does not
 * have leaves an empty row of zero height. The row layout of a wide card (45em+) is a column of its own again.
 * Links: the title link outlines the whole card on keyboard focus; on --post cards it also stretches over the card
 * (the whole card is clickable), the other links and buttons inside sit above it. Hover: the title is wiped with the
 * accent colour from the start to the end (a soft edge running through the text, it goes back the same way); the
 * location links draw a hairline from the start that leaves towards the end. The photo zooms in slowly while the card
 * is hovered.
 * Surface (2026-11-08, eighth round): the colour of the plane (--neu-plane) with the raised pair, like every raised box;
 * one neumorphic level — the parts inside the card are flat (a fill a tone darker: buttons, specs, lifts, the stats
 * block), never raised again.
 * Labels (top start of the photo, __badges): taxonomies — a category is c-badge--category, a tag c-badge--tag.
 * Post meta (date, reading time, views, reactions, comments): one line that drifts sideways when it overflows.
 * Instructor cards (2026-11-09): title and resorts on the photo like the resorts; all specializations are corner labels.
 * Compact (.is-compact, set by the archive toolbar in its list view): no photo — the labels, the favourite button and
 * the title block of the photo become a header row in the text colours, the text is one line, and from 45em the
 * action stands at the end of the body, so a screen shows as many results as possible. When only the favourite button
 * is left of the photo box, it stands in the top end corner instead of a header row; the photo credit is hidden.
 */
.c-card {
	--card-bg: var(--neu-plane);
	--card-border: transparent;
	--card-border-hover: transparent;
	--card-shadow: var(--neu-raise);
	--card-radius: var(--radius-lg);
	--card-padding: var(--space-4);
	--card-gap: var(--space-3);
	--card-ratio: 4 / 3;
	--card-title-lines: 2;
	--card-text-lines: 3;

	position: relative;
	/* A size container cannot be a subgrid (it contains its layout), so a holder that lines cards up turns it off
	   with --card-container: normal (its cards are narrow anyway). */
	container-name: card;
	container-type: var(--card-container, inline-size);
	display: grid;
	grid-row: var(--card-span, auto);
	grid-template-columns: minmax(0, 1fr);
	grid-template-rows: var(--card-subgrid, minmax(0, 1fr));
	height: 100%;
	color: var(--color-text);
	background-color: var(--card-bg);
	border: var(--border-width) solid var(--card-border);
	box-shadow: var(--card-shadow);
	border-radius: var(--card-radius);
	transition: border-color var(--duration-fast) ease, box-shadow var(--duration-reveal) var(--easing-gentle);

	/* No lift on hover: a card that moved under the pointer jumped up and down as the pointer crossed its links. The
	   photo zoom and the title wipe show the hover. */
	&:has(.c-card__link:hover, .c-card__media-link:hover) {
		border-color: var(--card-border-hover);
	}

	/* One neumorphic level: what is inside the raised card is flat. */
	& > * {
		--neu-plane: var(--card-bg);
		--neu-raise: none;
		--neu-raise-sm: none;
		--neu-control-bg: var(--neu-flat);
	}

	&:focus-within {
		border-color: var(--color-primary-border);
	}

	&.is-past {
		--card-bg: var(--neu-flat);
		--card-shadow: none;
	}
}

.c-card__inner {
	display: grid;
	grid-row: 1 / -1;
	grid-template-columns: minmax(0, 1fr);
	grid-template-rows: var(--card-subgrid, auto minmax(0, 1fr));
	height: 100%;

	@container card (width >= 45em) {
		grid-template-columns: minmax(0, 2fr) minmax(0, 3fr);
		grid-template-rows: minmax(0, 1fr);
	}
}

/* Cards without a photo: the body takes the whole card. */
.c-card__inner:not(:has(.c-card__media)) {
	grid-template-columns: minmax(0, 1fr);
}

/* ------------------------------------------------------------------ media */

.c-card__media {
	position: relative;
	aspect-ratio: var(--card-ratio);
	overflow: hidden;
	background-color: var(--color-surface-2);
	border-radius: calc(var(--card-radius) - var(--border-width)) calc(var(--card-radius) - var(--border-width)) 0 0;

	@container card (width >= 45em) {
		aspect-ratio: auto;
		min-height: 13rem;
		border-radius: calc(var(--card-radius) - var(--border-width)) 0 0 calc(var(--card-radius) - var(--border-width));
	}
}

.c-card__media--wide {
	--card-ratio: 16 / 10;
}

.c-card__media--portrait {
	--card-ratio: 4 / 5;
}

.c-card__media--scrim::after {
	position: absolute;
	inset: 0;
	content: "";
	background-image: linear-gradient(to top, var(--color-media-scrim), var(--color-media-scrim-0) 62%);
	pointer-events: none;
}

.c-card__media-link {
	display: block;
	width: 100%;
	height: 100%;
}

.c-card__image {
	width: 100%;
	height: 100%;
	object-fit: cover;
	transform: scale(1.001); /* stays on its own layer: no snap of the pixels when the zoom starts and ends */
	transition: transform var(--duration-gentle) var(--easing-gentle);

	@container card (width >= 45em) {
		position: absolute;
		inset: 0;
	}
}

.c-card:hover .c-card__image {
	transform: scale(1.035);
}

.c-card.is-past .c-card__image {
	opacity: 0.72;
}

/* Drawn cover (TASK-0450, the style of the marathon cover c-marathon-card__art): a card without its own featured image
   gets the brand gradient of its type (--<variant>), the dashed ski tracks (__art-tracks) and the menu icon of its
   section (__art-icon) instead of the default banner photo. Decorative: it sits in the aria-hidden photo link; the
   labels, the heart and the date tile keep their own solid fills above it. The gradient starts dark enough at the top
   start (labels) and stays under the white icon in both themes. */
.c-card__art {
	--card-art-from: var(--color-primary);
	--card-art-to: var(--color-primary-hover);

	position: absolute;
	inset: 0;
	display: grid;
	place-items: center;
	overflow: hidden;
	color: var(--color-on-primary);
	background-image:
		radial-gradient(120% 90% at 85% 10%, color-mix(in srgb, var(--color-on-primary) 22%, transparent), transparent 60%),
		linear-gradient(145deg, var(--card-art-from), var(--card-art-to));
}

.c-card__art--instructor {
	--card-art-from: var(--color-info);
	--card-art-to: var(--color-primary-active);
}

.c-card__art--school {
	--card-art-from: color-mix(in srgb, var(--color-slope-green) 85%, var(--color-dark));
	--card-art-to: var(--color-primary-active);
}

.c-card__art--tour {
	--card-art-from: color-mix(in srgb, var(--color-primary) 65%, var(--color-success));
	--card-art-to: var(--color-primary-active);
}

.c-card__art--event {
	--card-art-from: var(--color-primary);
	--card-art-to: var(--color-secondary-hover);
}

.c-card__art--news {
	--card-art-from: var(--color-dark-2);
	--card-art-to: var(--color-primary);
}

.c-card__art--article {
	--card-art-from: var(--color-primary-active);
	--card-art-to: var(--color-dark);
}

.c-card__art--product {
	--card-art-from: var(--color-dark-2);
	--card-art-to: var(--color-slope-blue);
}

.c-card__art--apres-ski {
	--card-art-from: var(--color-dark);
	--card-art-to: var(--color-secondary-active);
}

:root[data-theme="dark"] .c-card__art {
	filter: brightness(0.86) saturate(0.92);
}

.c-card__art-tracks {
	position: absolute;
	inset: 0;
	width: 100%;
	height: 100%;
	fill: none;
	stroke: currentcolor;
	stroke-width: 2;
	stroke-dasharray: 10 8;
	opacity: 0.28;
}

.c-card__art-icon {
	--icon-size: clamp(3rem, 22cqi, 4.5rem);

	position: relative;
	opacity: 0.9;
	transition: transform var(--duration-gentle) var(--easing-gentle);
}

@media (prefers-reduced-motion: no-preference) {
	.c-card:hover .c-card__art-icon {
		transform: translateX(0.5rem);
	}
}

.c-card.is-past .c-card__art {
	opacity: 0.72;
}

/* Labels: one line whatever the number of taxonomies (1 or 8): the row drifts sideways when it overflows (drift
   component), up to the favourite button. */
.c-card__badges {
	position: absolute;
	inset-block-start: var(--space-3);
	inset-inline-start: var(--space-3);
	z-index: var(--z-overlay);
	display: flex;
	flex-wrap: nowrap;
	gap: var(--space-1);
	max-width: calc(100% - var(--space-3) * 2 - 2.5rem);

	& > * {
		flex: none;
	}
}

/* No favourite button (posts): the labels may take the whole width of the photo. */
.c-card__media:not(:has(.c-card__actions)) > .c-card__badges {
	max-width: calc(100% - var(--space-3) * 2);
}

/* Badges of a card without a photo sit in the body above the title. */
.c-card__body > .c-card__badges {
	position: static;
	max-width: none;
}

.c-card__badge {
	position: relative;
}

/* Contrast (TASK-0395, axe color-contrast): the label text is small, so the taxonomy labels of a card take the
   900 fill of the second accent (#bf360c, white text 5.7:1): --color-secondary-hover in the light theme,
   --color-secondary-active in the dark one (its hover is lighter); no fill swap on hover (badge rule). */
.c-card__badge:is(.c-badge--category, .c-badge--tag) {
	--badge-bg: var(--color-secondary-hover);
	--badge-bg-hover: var(--badge-bg);
}

:root[data-theme="dark"] .c-card__badge:is(.c-badge--category, .c-badge--tag) {
	--badge-bg: var(--color-secondary-active);
}

.c-card__actions {
	position: absolute;
	inset-block-start: var(--space-3);
	inset-inline-end: var(--space-3);
	z-index: var(--z-overlay);
	display: flex;
	gap: var(--space-2);
}

/* A card without a photo (the marathon text card, 2026-11-09): the favourite button stands at the end of the labels
   row of the body (row 1), the labels keep its room free. */
.c-card__body > .c-card__actions {
	position: static;
	grid-row: 1;
	grid-column: 1;
	align-self: start;
	justify-self: end;
	margin-block-start: var(--card-gap);

	/* The same cell (an auto-placed one would open a second column); a margin, not a padding: the labels scroll
	   (drift) under their own padding. */
	& ~ .c-card__badges {
		grid-column: 1;
		margin-inline-end: calc(var(--favorite-toggle-size, 2rem) + var(--space-2));
	}
}

.c-card__date {
	position: absolute;
	inset-block-end: var(--space-3);
	inset-inline-start: var(--space-3);
	z-index: var(--z-raised);
	display: grid;
	justify-items: center;
	min-width: 3.25rem;
	padding: var(--space-1) var(--space-2);
	color: var(--color-on-media-chip);
	line-height: 1.1;
	background-color: var(--color-media-chip);
	border-radius: var(--radius-md);
}

.c-card__date-day {
	font-size: var(--text-xl);
	font-weight: var(--weight-heavy);
	letter-spacing: var(--tracking-tight);
}

.c-card__date-month {
	font-size: var(--text-xs);
	font-weight: var(--weight-bold);
	letter-spacing: var(--tracking-wide);
	text-transform: uppercase;
}

/* Resort: title and region on the photo. */
.c-card__media-title {
	position: absolute;
	inset-inline: 0;
	inset-block-end: 0;
	z-index: var(--z-raised);
	display: grid;
	gap: var(--space-1);
	padding: var(--space-4);
	color: var(--color-on-media);
}

/* ------------------------------------------------------------------ body */

.c-card__body {
	display: grid;
	grid-row: 2 / -1;
	grid-template-columns: minmax(0, 1fr);
	grid-template-rows: var(--card-subgrid, repeat(14, auto) minmax(0, 1fr) auto);
	row-gap: 0;
	min-width: 0;
	/* The parts carry the gap as their top margin, the first one included. */
	padding: calc(var(--card-padding) - var(--card-gap)) var(--card-padding) var(--card-padding);

	@container card (width >= 30em) {
		--card-padding: var(--space-5);
	}

	/* Row layout: the body is one column next to the photo, the footer at its bottom. */
	@container card (width >= 45em) {
		--card-text-lines: 2;

		display: flex;
		flex-direction: column;
		grid-row: 1;
		grid-column: -2;
	}
}

/* Body rows. One row per kind of part, in the order the parts come in every card type: 1 badges, 2 lead line,
   3 title, 4 location, 5 resort stats, 6 slopes, 7 lifts, 8 meta, 9 specs, 10 a part of another component (the
   marathon distance chips), 11 text, 12 includes, 13 product origin, 14 a row of controls, 15 spare height (outside a row
   of cards), 16 footer. */
.c-card__body > * {
	grid-row: 10;
	margin-block-start: var(--card-gap);
}

.c-card__body > .c-card__badges { grid-row: 1; }
.c-card__body > .c-card__title { grid-row: 3; }
.c-card__body > .c-card__stats { grid-row: 5; }
.c-card__body > .c-card__meta { grid-row: 8; }
.c-card__body > .c-card__specs { grid-row: 9; }
.c-card__body > .c-card__text { grid-row: 11; }
.c-card__body > .c-card__includes { grid-row: 12; }
.c-card__body > .c-card__line { grid-row: 13; }
.c-card__body > .c-card__row { grid-row: 14; }
.c-card__body > .c-card__footer { grid-row: 16; }

/* The head (title + location) takes the title and location rows and hands them down. */
.c-card__body > .c-card__head {
	grid-row: 3 / span 2;
	grid-template-rows: subgrid;
}

/* Lead line above the title: the product eyebrow, the meta of a post (date · reading time). */
.c-card__body > :is(.c-card__line--eyebrow, .c-card__meta:has(~ .c-card__title, ~ .c-card__head)) { grid-row: 2; }

/* Resort: slope lengths, then lifts. */
.c-card__body > .c-card__row:has(.c-card__slopes) { grid-row: 6; }
.c-card__body > .c-card__row:has(.c-card__lifts) { grid-row: 7; }

.c-card__head {
	display: grid;
	grid-template-columns: minmax(0, 1fr);
	gap: var(--space-1);
	align-content: start;
	min-width: 0;
}

.c-card__title {
	min-width: 0;
	font-size: var(--text-lg);
	font-weight: var(--weight-bold);
	line-height: var(--leading-snug);
	letter-spacing: -0.01em;
	text-wrap: pretty;
	overflow-wrap: break-word;

	@container card (width >= 45em) {
		font-size: var(--text-xl);
	}
}

.c-card__media-title .c-card__title {
	font-size: var(--text-xl);
	color: var(--color-on-media);
}

/* The clamp sits on the link, not on the heading: with an inline link in a clamped heading the hidden lines stayed
   in the link box (it stuck out below the heading by a line or two) and some engines drew them. Its stretched ::after
   is positioned against the card, so the link's overflow does not clip it. */
/* Hover wipe: the text is painted by a two-colour gradient twice its width (accent | soft edge | rest colour); the
   hover slides it from the end to the start, so the accent runs through the text from the start. */
.c-card__link {
	--card-link-color: var(--color-text);
	--card-link-hover: var(--color-primary-text);

	display: -webkit-box;
	overflow: hidden;
	color: var(--card-link-color);
	text-decoration: none;
	background-image: linear-gradient(to right, var(--card-link-hover) 0 45%, var(--card-link-color) 55% 100%);
	background-position: 100% 0;
	background-size: 220% 100%;
	-webkit-background-clip: text;
	background-clip: text;
	-webkit-text-fill-color: transparent;
	-webkit-box-orient: vertical;
	-webkit-line-clamp: var(--card-title-lines);
	transition: background-position var(--duration-reveal) var(--easing-gentle);

	&:hover {
		background-position: 0 0;
	}

	@media (forced-colors: active) {
		background-image: none;
		-webkit-text-fill-color: currentColor;
	}

	&::after {
		position: absolute;
		inset: 0;
		z-index: var(--z-raised);
		content: "";
		border-radius: var(--card-radius);
		pointer-events: none;
	}

	&:focus-visible {
		outline: none;
	}

	&:focus-visible::after {
		outline: var(--focus-width) solid var(--color-focus);
		outline-offset: var(--focus-offset);
	}
}

.c-card__media-title .c-card__link {
	--card-link-color: var(--color-on-media);
	--card-link-hover: var(--color-on-media-accent);
}

/* Whole-card link: posts (news, articles, products, apres-ski, generic pages). */
.c-card--post .c-card__link::after {
	pointer-events: auto;
}

.c-card--post .c-card__cta,
.c-card--post .c-card__more,
.c-card--post .c-card__location-link,
.c-card--post .c-card__spec-link {
	position: relative;
	z-index: var(--z-overlay);
}

/* Location row: pin icon + list of links (one line, scrolls sideways through the drift component). */
.c-card__location {
	display: flex;
	align-items: center;
	gap: var(--space-1);
	min-width: 0;
	font-size: var(--text-sm);
	color: var(--color-text-secondary);
}

.c-card__media-title .c-card__location {
	color: var(--color-on-media-muted);
}

.c-card__location-icon {
	flex: none;
	width: 1em;
	height: 1em;
}

.c-card__location-list {
	display: flex;
	gap: var(--space-1);
	min-width: 0;
	white-space: nowrap;
}

.c-card__location-item + .c-card__location-item::before {
	margin-inline-end: var(--space-1);
	content: "·";
}

/* Hover line: a hairline under the text grows from the start; when the pointer leaves it runs out at the end
   (the line is anchored at the start while hovered and at the end at rest). */
.c-card__location-link {
	position: relative;
	z-index: var(--z-overlay);
	color: inherit;
	text-decoration: none;
	background-image: linear-gradient(currentColor, currentColor);
	background-repeat: no-repeat;
	background-position: 100% 100%;
	background-size: 0 1px;
	transition: var(--transition-colors), background-size var(--duration-reveal) var(--easing-gentle);

	&:hover {
		color: var(--color-primary-text);
		background-position: 0 100%;
		background-size: 100% 1px;
	}

	@media (forced-colors: active) {
		&:hover {
			text-decoration: underline;
		}
	}

	&:focus-visible {
		border-radius: var(--radius-xs);
		outline: var(--focus-width) solid var(--color-focus);
		outline-offset: 1px;
	}
}

.c-card__media-title .c-card__location-link:hover {
	color: var(--color-on-media-accent);
}

/* Product lines: eyebrow (category · brand) and origin with a flag. */
.c-card__line {
	display: flex;
	align-items: center;
	gap: var(--space-2);
	font-size: var(--text-sm);
	color: var(--color-text-secondary);
}

.c-card__line--eyebrow {
	font-size: var(--text-xs);
	font-weight: var(--weight-bold);
	letter-spacing: var(--tracking-wide);
	color: var(--color-primary-text);
	text-transform: uppercase;
}

/* The flag files are a 3:2 flag inside a square box (empty bands above and below): a 3:2 frame cut from the middle
   (object-fit: cover) shows the whole flag (2026-11-09: the round frame cut its sides off). */
.c-card__flag {
	flex: none;
	width: 1.125rem;
	height: 0.75rem;
	object-fit: cover;
	border-radius: 2px;
	box-shadow: 0 0 0 var(--border-width) var(--color-border);
}

/* Resort stats: three figures in a row. */
/* Resort stats: three facts on the card plane, no fill of their own (2026-11-09), hairlines between them, left-aligned. */
.c-card__stats {
	display: grid;
	grid-template-columns: repeat(3, auto);
	justify-content: start;
	padding-block: var(--space-1);
}

/* Left-aligned (2026-11-09): every fact starts after its hairline, the first one at the card text edge. */
.c-card__stat {
	display: grid;
	gap: 2px;
	min-width: 0;
	padding-inline: var(--space-2) var(--space-3);
	text-align: start;

	&:first-child {
		padding-inline-start: 0;
	}

	&:last-child {
		padding-inline-end: 0;
	}
}

.c-card__stat + .c-card__stat {
	border-inline-start: var(--border-width) solid var(--color-border-strong);
}

/* Sentence case at 12px, wrapping (with hyphens) instead of an ellipsis: an uppercase 11px one-line label did not
   fit three stats in a narrow card ("ПОДЪЕМНИ…"). */
.c-card__stat-label {
	font-size: var(--text-xs);
	font-weight: var(--weight-semibold);
	line-height: var(--leading-tight);
	color: var(--color-text-muted);
	hyphens: auto;
	overflow-wrap: break-word;
}

.c-card__stat-value {
	font-size: var(--text-md);
	font-weight: var(--weight-heavy);
	white-space: nowrap;
}

.c-card__row {
	display: flex;
	flex-wrap: wrap;
	align-items: center;
	gap: var(--space-2);
}

/* Slope lengths by difficulty and lifts by type. */
.c-card__slopes,
.c-card__lifts {
	display: flex;
	flex-wrap: wrap;
	gap: var(--space-1);
}

.c-card__slope {
	--card-slope-bg: var(--color-slope-blue);
	--card-slope-text: var(--color-on-slope);

	display: inline-flex;
	align-items: center;
	min-width: 2.25rem;
	min-height: 1.5rem;
	padding: 0 var(--space-2);
	font-size: var(--text-xs);
	font-weight: var(--weight-bold);
	color: var(--card-slope-text);
	justify-content: center;
	background-color: var(--card-slope-bg);
	border-radius: var(--radius-pill);
}

.c-card__slope--green {
	--card-slope-bg: var(--color-slope-green);
}

.c-card__slope--red {
	--card-slope-bg: var(--color-slope-red);
}

.c-card__slope--black {
	--card-slope-bg: var(--color-slope-black);
	--card-slope-text: var(--color-on-slope-black);
}

.c-card__lift {
	display: inline-flex;
	align-items: center;
	gap: var(--space-1);
	min-height: 1.5rem;
	padding: 0 var(--space-2);
	font-size: var(--text-xs);
	font-weight: var(--weight-bold);
	color: var(--color-text-secondary);
	background-color: var(--neu-flat);
	border-radius: var(--radius-pill);
}

.c-card__lift-icon {
	width: 1.1em;
	height: 1.1em;
}

.c-card__lift-count {
	color: var(--color-text);
}

/* Meta: small facts with icons, one fact per line, each «Label: value» (2026-11-09): rating, season, duration, date,
   place, group / participants…, the price last. */
.c-card__meta {
	display: flex;
	flex-direction: column;
	gap: var(--space-1);
	align-items: flex-start;
	font-size: var(--text-sm);
	color: var(--color-text-secondary);
}

/* A drifting meta row (the posts: date · reading time · views · reactions · comments) stays on one line and moves
   sideways when it overflows (drift component); it sits above the stretched title link, so the pointer pauses it and
   a swipe scrolls it. */
.c-card__meta--drift {
	position: relative;
	z-index: var(--z-overlay);
	flex-direction: row;
	flex-wrap: nowrap;
	gap: var(--space-1) var(--space-3);

	& > .c-card__meta-item {
		flex: none;
		white-space: nowrap;
	}
}

.c-card__meta-item {
	display: inline-flex;
	align-items: center;
	gap: var(--space-1);
	min-width: 0;
}

/* Rating as a meta fact of a place with reviews (apres-ski, 2026-11-09): the star in the rating colour. */
.c-card__meta-item--rating > .c-card__meta-icon {
	color: var(--color-star);
	fill: currentcolor;
}

/* Price as a meta fact (2026-11-09: it left the footer, where it took the room of the button), the last one of the
   list: the amount bold in the second accent like the prices elsewhere (the only bold value of the meta). */
.c-card__meta-item--price {
	flex-wrap: wrap;

	& > .c-card__meta-value {
		font-weight: var(--weight-bold);
		color: var(--color-secondary-text);
	}
}

/* The rating value links to the reviews of the object: above the stretched card link, a 24px target. */
.c-card__meta-link {
	position: relative;
	z-index: var(--z-overlay);
	display: inline-flex;
	gap: 0.25em;
	align-items: center;
	min-height: 1.5rem;
	color: inherit;
	text-decoration: underline;
	text-decoration-color: var(--color-border-strong);
	text-underline-offset: 0.2em;
	transition: var(--transition-colors);

	&:hover {
		color: var(--color-primary-text);
		text-decoration-color: currentcolor;
	}
}

/* The icon in the colour of its text, as in the meta of the single pages (2026-11-11); the rating star keeps its own. */
.c-card__meta-icon {
	flex: none;
	width: 1.05em;
	height: 1.05em;
	color: currentcolor;
	stroke-width: 2;
}

/* The defining word of a fact («Длительность:», «Рейтинг:», «Цена:»…) is bold; the value after it is plain. */
.c-card__meta-label {
	flex: none;
	font-weight: var(--weight-bold);
	color: var(--color-text);
}

/* Specs: specialization pills (links to the filtered archive), one line through the drift component. */
.c-card__specs {
	display: flex;
	gap: var(--space-1);
	min-width: 0;
}

.c-card__spec {
	flex: none;
}

.c-card__spec-link {
	display: inline-flex;
	align-items: center;
	min-height: 2rem;
	padding: 0 var(--space-3);
	font-size: var(--text-xs);
	font-weight: var(--weight-semibold);
	color: var(--color-text-secondary);
	text-decoration: none;
	white-space: nowrap;
	background-color: var(--neu-flat);
	border: 0;
	border-radius: var(--radius-pill);
	transition: var(--transition-colors);

	&:hover {
		color: var(--color-primary-text);
	}

	&:focus-visible {
		outline: var(--focus-width) solid var(--color-focus);
		outline-offset: 1px;
	}
}

.c-card__text {
	display: -webkit-box;
	overflow: hidden;
	font-size: var(--text-sm);
	line-height: var(--leading-normal);
	color: var(--color-text-secondary);
	-webkit-box-orient: vertical;
	-webkit-line-clamp: var(--card-text-lines);
}

/* Includes: what the tour / product offers. */
.c-card__includes {
	display: grid;
	gap: var(--space-1);
	font-size: var(--text-sm);
	color: var(--color-text-secondary);
}

.c-card__include {
	position: relative;
	padding-inline-start: var(--space-4);

	&::before {
		position: absolute;
		inset-block-start: 0.6em;
		inset-inline-start: var(--space-1);
		width: 0.375rem;
		height: 0.375rem;
		content: "";
		background-color: var(--color-primary);
		border-radius: 50%;
	}
}

/*
 * Product card (2026-11-09, second version): the specs are facts like the other cards (the marathon facts, the card
 * meta) — two columns on the card plane, the label (bold) | the value (secondary, up to two lines), no well and no
 * lines; the last row is the
 * origin (--origin: a round flag before the country).
 */
.c-card--product .c-card__includes {
	grid-template-columns: fit-content(45%) minmax(0, 1fr);
	align-self: start;
	align-content: start;
	gap: var(--space-1) var(--space-3);
	font-size: var(--text-sm);
	line-height: var(--leading-snug);
}

.c-card--product .c-card__include {
	display: grid;
	grid-template-columns: subgrid;
	grid-column: 1 / -1;
	align-items: start;
	padding-inline-start: 0;

	&::before {
		content: none;
	}
}

.c-card__include-label {
	font-weight: var(--weight-bold);
	color: var(--color-text);
}

/* A long one-word label or value («Производительность», «всепогодный») is hyphenated (lang ru) instead of being cut
   at the column edge (round 22: the value column of a narrow card was down to ~70px). */
.c-card__include-label,
.c-card__include-value {
	hyphens: auto;
	overflow-wrap: anywhere;
}

.c-card__include-value {
	display: -webkit-box;
	overflow: hidden;
	color: var(--color-text-secondary);
	-webkit-box-orient: vertical;
	-webkit-line-clamp: 2;
}

.c-card__include--origin .c-card__include-value {
	display: flex;
	gap: var(--space-2);
	align-items: center;
}

/* Footer: the action (one part starts at the left edge), always at the bottom of the card. */
.c-card__footer {
	display: flex;
	flex-wrap: wrap;
	align-items: center;
	justify-content: space-between;
	gap: var(--space-2) var(--space-3);
	padding-block-start: var(--space-3);
	border-block-start: var(--border-width) solid var(--color-border);

	@container card (width >= 45em) {
		margin-block-start: auto;
	}
}

/* Two parts (e.g. a note + a link): one line, the first at the start, the second at the end. The price is a meta fact
   now (c-card__meta-item--price), not a footer part. */
.c-card__footer:has(> :nth-child(2):last-child) {
	flex-wrap: nowrap;

	& > :first-child {
		flex: 0 1 auto;
		min-width: min-content;
	}

	& > :last-child {
		flex: 0 1 auto;
		min-width: min-content;
		margin-inline-start: auto;
		text-align: center;
		text-wrap-style: balance; /* the style only: the shorthand would reset the button's nowrap */
	}
}

/* Posts, events and tours: the distinguishing part of the title is usually at its end. */
.c-card:is(.c-card--post, .c-card--event, .c-card--tour) {
	--card-title-lines: 3;
}

.c-card__cta,
.c-card__more {
	margin-inline-start: auto;
}

/* A footer with one part only (e.g. «Подробнее» alone): it starts at the left edge, under the text (2026-11-09). */
.c-card__footer > :only-child {
	margin-inline-start: 0;
}

/* Slope length unit, visible next to the number (2026-11-09). */
.c-card__slope-unit {
	font-weight: var(--weight-medium);
}

/* ------------------------------------------------------------------ compact (list view) */

.c-card.is-compact {
	--card-text-lines: 1;

	& .c-card__inner {
		grid-template-columns: minmax(0, 1fr);
		grid-template-rows: auto minmax(0, 1fr);
	}

	/* The photo box turns into a header row: labels, favourite button, then the title block on a line of its own. */
	& .c-card__media {
		display: flex;
		flex-wrap: wrap;
		align-items: center;
		gap: var(--space-2) var(--space-3);
		min-height: 0;
		aspect-ratio: auto;
		padding: var(--card-padding) var(--card-padding) 0;
		overflow: visible;
		background-color: transparent;
		border-radius: 0;

		&::after {
			content: none;
		}
	}

	& .c-card__media:not(:has(.c-card__badges, .c-card__actions, .c-card__media-title, .c-card__date)) {
		display: none;
	}

	& .c-card__media-link {
		display: none;
	}

	/* Only the favourite button is left of the photo box (posts without labels, schools…): no header row of its own
	   (it was a tall empty band above the body, 2026-11-09) — the button stands in the top end corner, and the body
	   starts at the top and keeps the room of the button free at its end. */
	& .c-card__media:not(:has(.c-card__badges, .c-card__media-title, .c-card__date)) {
		height: 0;
		padding: 0;

		& .c-card__actions {
			position: absolute;
			inset-block-start: var(--card-padding);
			inset-inline-end: var(--card-padding);
		}

		& + .c-card__body {
			--card-actions-room: calc(var(--favorite-toggle-size, 2rem) + var(--space-3));

			padding-block-start: calc(var(--card-padding) - var(--card-gap));
			padding-inline-end: calc(var(--card-padding) + var(--card-actions-room));

			/* The footer (below the button) keeps the full width; from 45em it is the end column, left of the button. */
			& > .c-card__footer {
				margin-inline-end: calc(var(--card-actions-room) * -1);

				@container card (width >= 45em) {
					margin-inline-end: 0;
				}
			}
		}
	}

	& .c-card__media > .c-card__badges {
		position: static;
		flex: 1 1 0;
		min-width: 0;
		max-width: none;
	}

	& .c-card__actions {
		position: static;
		margin-inline-start: auto;
	}

	& .c-card__date {
		position: static;
		order: -1;
	}

	& .c-card__media-title {
		position: static;
		flex: 1 0 100%;
		padding: 0;
		color: var(--color-text);
	}

	& .c-card__media-title .c-card__title {
		font-size: var(--text-lg);
		color: var(--color-text);
	}

	& .c-card__media-title .c-card__link {
		--card-link-color: var(--color-text);
		--card-link-hover: var(--color-primary-text);
	}

	& .c-card__media-title .c-card__location {
		color: var(--color-text-secondary);
	}

	& .c-card__media-title .c-card__location-link:hover {
		color: var(--color-primary-text);
	}

	/* From 45em: the parts in their rows at the start, the action at the end, across all rows. */
	& .c-card__body {
		grid-row: 2;
		padding-block-start: 0;

		@container card (width >= 45em) {
			--card-text-lines: 1;

			display: grid;
			grid-column: 1;
			grid-template-columns: minmax(0, 1fr) auto;
			column-gap: var(--space-6);
		}
	}

	& .c-card__body > * {
		grid-column: 1;
	}

	& .c-card__body > .c-card__footer {
		@container card (width >= 45em) {
			flex-direction: column;
			flex-wrap: nowrap;
			grid-column: 2;
			grid-row: 1 / -1;
			align-items: flex-end;
			align-self: center;
			min-width: 10rem;
			padding-block-start: 0;
			text-align: end;
			border-block-start: 0;

			& > :last-child {
				margin-inline-start: 0;
			}
		}
	}
}

/*
 * Theme carry-over (TASK-0393): rules for classes the theme markup prints and this layout file lacks,
 * with the settings they read; they leave with the slice that moves this markup (TASK-0394+).
 */
.c-card {
	--card-focus-width: 3px;
	--card-focus-offset: 2px;
	--card-media-overlay-start: 45%;
	--card-price-line-height: 1.15;
	--card-price-size: 1.0625rem;
	--card-price-text-size: var(--text-sm);
	--card-price-tracking: -0.01em;
	--card-price-note-size: 11px;
	--card-list-row-display: none;
}
.c-card--resort {
	--card-list-row-display: var(--card-view-resort-list-row-display, none);
}
.c-card__media-title {
	--card-media-title-inset-credit: 48px;
}
.c-card__list-row {
	--card-list-row-columns: minmax(0, 1fr) auto;
	--card-list-row-areas: "name actions" "facts facts";
	--card-list-row-gap: 10px 16px;
	--card-list-row-padding: 14px 18px;
}
.c-card__list-link {
	--card-list-link-hit-extend: 2px;
}
.c-card__list-place {
	--card-list-place-gap: 4px;
	--card-list-place-shift: 2px;
	--card-list-place-icon-size: 12px;
	--card-list-place-hit-extend: 6px;
}
.c-card__list-meta {
	--card-list-meta-gap: 2px 12px;
	--card-list-meta-shift: 4px;
}
.c-card__list-facts {
	--card-list-facts-columns: minmax(150px, 1fr) minmax(0, 2fr);
	--card-list-facts-gap: 8px 16px;
}
.c-card__list-term {
	--card-list-term-gap: 3px;
	--card-list-term-size: 11px;
	--card-list-term-tracking: 0.04em;
}
.c-card__list-value {
	--card-list-value-gap: 6px;
}
.c-card__list-actions {
	--card-list-actions-gap: 8px 10px;
}
.c-card__media > .c-image-credit__item {
	visibility: var(--card-view-credit-visibility, inherit);
}
.c-card__media-overlay {
	position: absolute;
	inset: 0;
	display: var(--card-view-media-photo-display, block);
	background-image: linear-gradient(180deg, var(--color-photo-scrim-0) var(--card-media-overlay-start), var(--color-photo-scrim) 100%);
	pointer-events: none;
}
.c-card__media:has(> .c-image-credit__item) .c-card__media-title {
	right: var(--card-media-title-inset-credit);
}
.c-card__more,
.c-card__list-more {
	margin: calc(-1 * var(--link-arrow-hit-extend));
}
.c-card__list-row {
	--card-list-row-columns: minmax(0, 1fr) auto;
	--card-list-row-areas: "name actions" "facts facts";
	--card-list-row-gap: 10px 16px;
	--card-list-row-padding: 14px 18px;

	display: var(--card-list-row-display);
	grid-template-columns: var(--card-list-row-columns);
	grid-template-areas: var(--card-list-row-areas);
	align-items: center;
	gap: var(--card-list-row-gap);
	padding: var(--card-list-row-padding);

	@media (width >= 75em) {
		--card-list-row-columns: minmax(0, 1fr) minmax(0, 420px) 170px;
		--card-list-row-areas: "name facts actions";
	}
}
.c-card__list-name {
	grid-area: name;
	min-width: 0;
}
.c-card__list-title {
	margin: 0;
	font-size: var(--text-md);
	line-height: var(--leading-tight);
}
.c-card__list-link {
	--card-list-link-hit-extend: 2px;

	position: relative;
	color: var(--color-text);
	text-decoration: none;
	transition-property: color;
	transition-duration: var(--duration-fast);
	transition-timing-function: ease;

	&::before {
		content: "";
		position: absolute;
		inset: calc(-1 * var(--card-list-link-hit-extend)) 0 0;
	}

	&:hover,
	&:focus-visible {
		color: var(--color-primary-text);
	}

	&:focus-visible {
		outline: var(--card-focus-width) solid var(--color-focus);
		outline-offset: var(--card-focus-offset);
	}
}
.c-card__list-place {
	--card-list-place-gap: 4px;
	--card-list-place-shift: 2px;
	--card-list-place-icon-size: 12px;
	--card-list-place-hit-extend: 6px;

	position: relative;
	display: inline-flex;
	align-items: center;
	gap: var(--card-list-place-gap);
	margin-top: var(--card-list-place-shift);
	color: var(--color-text-secondary);
	font-size: var(--text-xs);
	text-decoration: none;
	transition-property: color;
	transition-duration: var(--duration-fast);
	transition-timing-function: ease;

	&::before {
		content: "";
		position: absolute;
		inset: 0 0 calc(-1 * var(--card-list-place-hit-extend));
	}

	&:hover {
		color: var(--color-primary-text);
	}

	&:focus-visible {
		outline: var(--card-focus-width) solid var(--color-focus);
		outline-offset: var(--card-focus-offset);
	}
}
.c-card__list-place-icon {
	flex: 0 0 auto;
	width: var(--card-list-place-icon-size);
	height: var(--card-list-place-icon-size);
}
.c-card__list-meta {
	--card-list-meta-gap: 2px 12px;
	--card-list-meta-shift: 4px;

	display: flex;
	flex-wrap: wrap;
	gap: var(--card-list-meta-gap);
	margin: var(--card-list-meta-shift) 0 0;
	color: var(--color-text-secondary);
	font-size: var(--text-xs);
}
.c-card__list-meta-value,
.c-card__list-total-value {
	color: var(--color-text);
	font-weight: 700;
}
.c-card__list-meta-value {
	white-space: nowrap;
}
.c-card__list-facts {
	--card-list-facts-columns: minmax(150px, 1fr) minmax(0, 2fr);
	--card-list-facts-gap: 8px 16px;

	display: grid;
	grid-area: facts;
	grid-template-columns: var(--card-list-facts-columns);
	gap: var(--card-list-facts-gap);
	margin: 0;

	@media (width >= 48em) {
		--card-list-facts-columns: minmax(0, 2fr) minmax(0, 3fr);
	}
}
.c-card__list-fact {
	min-width: 0;
}
.c-card__list-term {
	--card-list-term-gap: 3px;
	--card-list-term-size: 11px;
	--card-list-term-tracking: 0.04em;

	margin-bottom: var(--card-list-term-gap);
	color: var(--color-text-secondary);
	font-size: var(--card-list-term-size);
	font-weight: 700;
	letter-spacing: var(--card-list-term-tracking);
	text-transform: uppercase;
}
.c-card__list-value {
	--card-list-value-gap: 6px;

	display: flex;
	flex-wrap: wrap;
	align-items: center;
	gap: var(--card-list-value-gap);
	margin: 0;
	font-size: var(--text-sm);
}
.c-card__list-total {
	flex-basis: 100%;
	color: var(--color-text-secondary);
	font-size: var(--text-xs);
	white-space: nowrap;
}
.c-card__list-actions {
	--card-list-actions-gap: 8px 10px;

	display: flex;
	flex-wrap: wrap;
	grid-area: actions;
	align-items: center;
	justify-content: flex-end;
	gap: var(--card-list-actions-gap);
}
.c-card__list-more {
	--link-arrow-justify: flex-end;

	flex: 1 0 100%;
}
}
/* src: assets/components/category-nav/category-nav.css */
@layer components {
/*
 * Category cards row (no JS): one row of category links that scrolls horizontally with scroll-snap. Surface card,
 * border, large radius, icon on a soft primary tile; the current category is [aria-current="page"] (primary border and
 * name, filled tile). The list bleeds into the container gutter so the first / last card align with the content and
 * their focus ring and hover lift are not clipped by the scroller. Scrollbar hidden on touch, thin with a fine pointer.
 * Neumorphism: each link is a raised tile (no frame; its content flat), hover = primary text, current = inset; the
 * list pads (and pulls back) room for the shadows, since the scroller clips.
 */
.c-category-nav {
	--category-nav-gap: 10px;
	--category-nav-item-width: 156px;
	--category-nav-padding-top: var(--space-2);
	--category-nav-padding-bottom: var(--space-2);
	--category-nav-link-padding: 14px;
	--category-nav-link-gap: 6px;
	--category-nav-icon-tile: 40px;
	--category-nav-icon-size: 22px;
	--category-nav-icon-gap: 4px;
	--category-nav-shadow-room: var(--space-4);
	--category-nav-name-size: var(--text-sm);
	--category-nav-name-lines: 2;
	--category-nav-name-line-height: 1.25;
	--category-nav-count-size: var(--text-xs);
	--category-nav-scrollbar-color: var(--color-border-strong);
}

.c-category-nav__list {
	display: flex;
	gap: var(--category-nav-gap);
	overflow-x: auto;
	overscroll-behavior-x: contain;
	margin: calc(-1 * var(--category-nav-shadow-room)) calc(-1 * var(--gutter));
	padding: calc(var(--category-nav-padding-top) + var(--category-nav-shadow-room)) var(--gutter) calc(var(--category-nav-padding-bottom) + var(--category-nav-shadow-room));
	list-style: none;
	scroll-padding-inline: var(--gutter);
	scroll-snap-type: x proximity;
	scrollbar-width: none;

	&::-webkit-scrollbar {
		display: none;
	}

	@media (pointer: fine) {
		scrollbar-color: var(--category-nav-scrollbar-color) transparent;
		scrollbar-width: thin;
	}
}

.c-category-nav__item {
	flex: 0 0 var(--category-nav-item-width);
	scroll-snap-align: start;
}

.c-category-nav__link {
	display: flex;
	flex-direction: column;
	gap: var(--category-nav-link-gap);
	height: 100%;
	padding: var(--category-nav-link-padding);
	color: var(--color-text);
	text-decoration: none;
	background-color: var(--neu-plane);
	border-radius: var(--radius-lg);
	box-shadow: var(--neu-raise);
	transition: var(--transition-colors), box-shadow var(--duration-fast) ease;

	/* One neumorphic level: the content of the raised box is flat or inset. */
	& > * {
		--neu-raise: none;
		--neu-raise-sm: none;
		--neu-control-bg: var(--neu-flat);
	}

	&:hover {
		color: var(--color-primary-text);
	}

	&:focus-visible {
		outline: var(--focus-width) solid var(--color-focus);
		outline-offset: var(--focus-offset);
	}

	&[aria-current="page"] {
		color: var(--color-primary-text);
		box-shadow: var(--shadow-inset);
	}
}

.c-category-nav__icon {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	width: var(--category-nav-icon-tile);
	height: var(--category-nav-icon-tile);
	margin-bottom: var(--category-nav-icon-gap);
	color: var(--icon-tile-text);
	background-color: var(--icon-tile-fill);
	background-image: var(--icon-tile-bg);
	border-radius: var(--icon-tile-radius);
	box-shadow: var(--icon-tile-shadow);
}

.c-category-nav__link[aria-current="page"] .c-category-nav__icon {
	background-image: var(--icon-tile-bg-active);
}

.c-category-nav__glyph {
	--icon-size: var(--category-nav-icon-size);
}

.c-category-nav__name {
	display: -webkit-box;
	overflow: hidden;
	font-size: var(--category-nav-name-size);
	font-weight: var(--weight-bold);
	line-height: var(--category-nav-name-line-height);
	-webkit-box-orient: vertical;
	-webkit-line-clamp: var(--category-nav-name-lines);
	line-clamp: var(--category-nav-name-lines);
}

.c-category-nav__count {
	margin-top: auto;
	color: var(--color-text-muted);
	font-size: var(--category-nav-count-size);
	font-weight: var(--weight-semibold);
}

/*
 * Theme carry-over (TASK-0393): rules for classes the theme markup prints and this layout file lacks,
 * with the settings they read; they leave with the slice that moves this markup (TASK-0394+).
 */
.c-category-nav__icon .c-icon {
	width: var(--category-nav-icon-size);
	height: var(--category-nav-icon-size);
}
}
/* src: assets/components/check/check.css */
@layer components {
/*
 * Check: checkbox or radio with its label text, the whole row clickable.
 * <label class="c-check"><input class="c-check__input" type="checkbox"><span class="c-check__label">…</span></label>
 * --radio = round control. The native control is restyled (appearance none) with a check mark drawn by a mask.
 */
.c-check {
	--check-size: 1.25rem;
	/* A thin ring around the inset well (round 22): the shadow alone was barely visible (the consent rows). */
	--check-border: var(--color-border-strong);
	--check-bg: transparent;
	--check-on: var(--color-primary);
	--check-mark: var(--color-on-primary);

	display: inline-flex;
	gap: var(--space-3);
	align-items: flex-start;
	min-height: 1.5rem;
	font-size: var(--text-sm);
	line-height: var(--leading-snug);
	color: var(--color-text);
	cursor: pointer;
}

.c-check__input {
	position: relative;
	flex: 0 0 auto;
	width: var(--check-size);
	height: var(--check-size);
	margin: 0;
	background-color: var(--check-bg);
	border: 1.5px solid var(--check-border);
	border-radius: var(--radius-xs);
	box-shadow: var(--shadow-inset-sm);
	cursor: pointer;
	appearance: none;
	transition: var(--transition-colors), box-shadow var(--duration-fast) ease;

	&::after {
		content: "";
		position: absolute;
		inset: 0;
		background-color: var(--check-mark);
		mask: no-repeat center / 0.8125rem url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='3.5' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M5 12.5l4.5 4.5L19 7.5'/%3E%3C/svg%3E");
		opacity: 0;
		transform: scale(0.6);
		transition: opacity var(--duration-fast) ease, transform var(--duration-fast) ease;
	}

	&:hover {
		border-color: var(--check-on);
	}

	&:checked {
		background-color: var(--check-on);
		border-color: var(--check-on);
		box-shadow: none;
	}

	&:checked::after {
		opacity: 1;
		transform: none;
	}

	&:focus-visible {
		outline: var(--focus-width) solid var(--color-focus);
		outline-offset: var(--focus-offset);
	}

	&:disabled {
		cursor: not-allowed;
		opacity: 0.6;
	}

	&[aria-invalid="true"] {
		border-color: var(--color-danger);
	}
}

.c-check__label {
	min-width: 0;
	padding-top: 0.0625rem;
}

.c-check--radio .c-check__input {
	border-radius: 50%;

	&::after {
		inset: 0.3125rem;
		border-radius: 50%;
		mask: none;
	}
}

/* Small print (consent rows): smaller, secondary text. */
.c-check--sm {
	font-size: var(--text-xs);
	color: var(--color-text-secondary);
}
}
/* src: assets/components/chip/chip.css */
@layer components {
/*
 * Chip: a pill label or link (filters, tags, quick links). <a>/<button> chips react on hover; a <span> chip is a label.
 * --soft = filled without a border line; --outline = no fill, a thin line (on a photo band, 2026-11-11); --truncate = one line cut with an ellipsis (full text in title).
 * Pressed / current state from [aria-pressed="true"] / [aria-current]. __remove = small × button inside the chip.
 * Neumorphism: a link / button chip is raised on a plane and flat inside a raised box (the --neu context); a label
 * chip is flat; pressed / current = inset.
 */
.c-chip {
	--chip-bg: var(--color-surface-2);
	--chip-text: var(--color-text);
	--chip-border: transparent;
	--chip-shadow: none;

	display: inline-flex;
	align-items: center;
	gap: var(--space-2);
	max-width: 100%;
	min-height: 2.25rem;
	padding: var(--space-1) var(--space-4);
	font-size: var(--text-sm);
	font-weight: var(--weight-semibold);
	line-height: var(--leading-tight);
	color: var(--chip-text);
	text-decoration: none;
	white-space: nowrap;
	background-color: var(--chip-bg);
	border: var(--border-width) solid var(--chip-border);
	border-radius: var(--radius-pill);
	box-shadow: var(--chip-shadow);
	transition: var(--transition-colors), box-shadow var(--duration-fast) ease;

	&:any-link,
	&:is(button) {
		--chip-bg: var(--neu-control-bg);
		--chip-shadow: var(--neu-raise-sm);
	}

	&:any-link:hover,
	&:is(button):hover {
		color: var(--color-primary-text);
	}

	&:any-link:active,
	&:is(button):active {
		--chip-shadow: var(--shadow-inset-sm);
	}

	&:focus-visible {
		outline: var(--focus-width) solid var(--color-focus);
		outline-offset: var(--focus-offset);
	}

	&[aria-pressed="true"],
	&[aria-current] {
		--chip-bg: var(--neu-control-bg);
		--chip-text: var(--color-primary-text);
		--chip-shadow: var(--shadow-inset-sm);
	}
}

.c-chip--soft {
	--chip-bg: var(--color-surface-2);
	--chip-shadow: none;

	&:any-link,
	&:is(button) {
		--chip-bg: var(--color-surface-2);
		--chip-shadow: none;
	}
}

.c-chip--outline {
	--chip-bg: transparent;
	--chip-border: var(--color-border-strong);
	--chip-shadow: none;

	&:any-link,
	&:is(button) {
		--chip-bg: transparent;
		--chip-shadow: none;
	}

	&:any-link:hover,
	&:is(button):hover {
		--chip-border: currentcolor;
	}

	&:any-link:active,
	&:is(button):active {
		--chip-bg: var(--color-overlay-hover);
	}
}

.c-chip--truncate {
	display: inline-block;
	overflow: hidden;
	line-height: 1.625rem;
	text-overflow: ellipsis;
}

.c-chip__remove {
	display: inline-grid;
	place-items: center;
	width: 1.5rem;
	height: 1.5rem;
	margin-inline-end: calc(var(--space-2) * -1);
	color: inherit;
	border-radius: var(--radius-pill);
	transition: var(--transition-colors);

	&:hover {
		background-color: var(--color-overlay-hover);
	}

	&:focus-visible {
		outline: var(--focus-width) solid var(--color-focus);
	}
}
}
/* src: assets/components/comments/comments.css */
@layer components {
/*
 * Comments: WordPress comment thread and the reply block; for guests the "log in to comment" note with a link.
 * Thread: ol.__list > li.__item#comment-N > article.__comment (header: c-avatar + __meta with __author and the
 * __date permalink; __text; __actions with the reply link) + ol.__children for the replies (indented, a thread line
 * under the parent avatar). --staff = a reply by the editorial team (a c-badge after the name, c-avatar--primary);
 * __author-link = the name linked to the author's website; --pending + __pending = awaiting moderation (its author only).
 * Reply block (#respond.__respond): __title, the cancel link, the login note (__login, registration required) or the
 * guest form (form#commentform.__form.c-form: __notes, name + email row, the comment, c-consent + the core «remember
 * me» c-check, __submit: the button, under it the __moderation note with the info icon + __moderation-text).
 * Neumorphism: every comment and the reply block are raised boxes side by side (a reply is a sibling box, never
 * inside its parent box), their content flat / inset.
 */
.c-comments {
	display: flex;
	flex-direction: column;
	gap: var(--space-5);
}

.c-comments__list {
	--comments-indent: var(--space-3);

	display: flex;
	flex-direction: column;
	gap: var(--space-4);
	padding: 0;
	list-style: none;

	@media (width >= 48em) {
		--comments-indent: var(--space-6);
	}
}

.c-comments__item {
	display: flex;
	flex-direction: column;
	gap: var(--space-3);
	scroll-margin-top: calc(var(--header-height) + var(--space-6));
}

/* Replies: indented under the parent, a thread line runs down from under its avatar. */
.c-comments__children {
	display: flex;
	flex-direction: column;
	gap: var(--space-3);
	padding: 0;
	padding-inline-start: var(--comments-indent);
	margin-inline-start: var(--comments-indent);
	list-style: none;
	border-inline-start: 2px solid var(--color-border);
}

.c-comments__comment {
	display: flex;
	flex-direction: column;
	gap: var(--space-3);
	padding: var(--space-4);
	background-color: var(--neu-plane);
	border-radius: var(--radius-lg);
	box-shadow: var(--neu-raise);

	/* One neumorphic level: the content of the raised box is flat or inset. */
	& > * {
		--neu-raise: none;
		--neu-raise-sm: none;
		--neu-control-bg: var(--neu-flat);
	}

	@media (width >= 48em) {
		padding: var(--space-5);
	}
}

.c-comments__header {
	display: flex;
	gap: var(--space-3);
	align-items: center;
	min-width: 0;
}

.c-comments__meta {
	display: flex;
	flex-direction: column;
	min-width: 0;
}

.c-comments__author {
	display: flex;
	flex-wrap: wrap;
	gap: var(--space-1) var(--space-2);
	align-items: center;
	font-weight: var(--weight-bold);
	overflow-wrap: anywhere;
}

.c-comments__date {
	display: inline-flex;
	align-items: center;
	align-self: flex-start;
	min-height: 1.5rem;
	font-size: var(--text-xs);
	color: var(--color-text-secondary);
	text-decoration: none;
	transition: var(--transition-colors);

	&:hover {
		color: var(--color-primary-text);
		text-decoration: underline;
	}
}

.c-comments__text {
	display: flex;
	flex-direction: column;
	gap: var(--space-2);
	line-height: var(--leading-normal);
	overflow-wrap: break-word;
}

.c-comments__actions {
	display: flex;
	flex-wrap: wrap;
	gap: var(--space-2);
	/* The ghost button keeps its padding; pull it back to the text edge. */
	margin-inline-start: calc(var(--space-3) * -1);
}

.c-comments__reply {
	color: var(--color-primary-text);
}

.c-comments__respond {
	display: flex;
	flex-direction: column;
	gap: var(--space-3);
	padding: var(--space-5);
	background-color: var(--neu-plane);
	border-radius: var(--radius-lg);
	box-shadow: var(--neu-raise);

	/* One neumorphic level: the content of the raised box is flat or inset. */
	& > * {
		--neu-raise: none;
		--neu-raise-sm: none;
		--neu-control-bg: var(--neu-flat);
	}
}

.c-comments__title {
	font-size: var(--text-lg);
}

.c-comments__cancel {
	align-self: flex-start;
	font-size: var(--text-sm);
}

.c-comments__login {
	color: var(--color-text-secondary);
}

.c-comments__login-link {
	font-weight: var(--weight-semibold);
}

/* Author with a website: the name links to it (rel external nofollow ugc). */
.c-comments__author-link {
	color: inherit;
	text-decoration: underline;
	text-decoration-color: var(--color-border-strong);
	text-underline-offset: 0.2em;
	transition: var(--transition-colors);

	&:hover {
		color: var(--color-primary-text);
		text-decoration-color: currentcolor;
	}
}

/* Awaiting moderation (seen by its author only): a dashed edge instead of the raised one, the note above the text. */
.c-comments__comment--pending {
	background-color: transparent;
	box-shadow: none;
	outline: var(--border-width) dashed var(--color-border-strong);
	outline-offset: calc(var(--border-width) * -1);
}

.c-comments__pending {
	align-self: flex-start;
	padding: var(--space-1) var(--space-3);
	font-size: var(--text-xs);
	font-weight: var(--weight-semibold);
	color: var(--color-warning-text);
	background-color: var(--color-warning-soft);
	border-radius: var(--radius-pill);
}

/* Guest form (core comment_form()): notes, name + email, the comment, the consents, the submit row. */
.c-comments__form {
	gap: var(--space-4);
}

.c-comments__notes {
	font-size: var(--text-sm);
	color: var(--color-text-secondary);
}

.c-comments__submit {
	display: flex;
	flex-direction: column;
	gap: var(--space-3);
	align-items: flex-start;
}

/* The moderation note: its own line under the button, the info icon at the first line of the text. */
.c-comments__moderation {
	--icon-size: 1.125rem;

	display: flex;
	gap: var(--space-2);
	align-items: flex-start;
	font-size: var(--text-sm);
	color: var(--color-text-secondary);

	& .c-comments__moderation-icon {
		flex: none;
		margin-block-start: 0.1em;
		color: var(--color-info-text);
	}
}

/* Theme-only (TASK-0445 E7, notes.md): WordPress core output the reference markup does not print. */
/* Core output inside the thread (REQ-0071 TASK-0406): the_comments_navigation() / paginate_comments_links(). */
.c-comments .screen-reader-text {
	position: absolute;
	width: 1px;
	height: 1px;
	margin: -1px;
	padding: 0;
	overflow: hidden;
	clip: rect(0 0 0 0);
	white-space: nowrap;
	border: 0;
}

.c-comments :is(.comment-navigation, .comments-pagination) .nav-links {
	display: flex;
	flex-wrap: wrap;
	gap: var(--space-2);
	justify-content: space-between;
	margin-block: var(--space-4);
}

.c-comments :is(.nav-previous, .nav-next) a,
.c-comments .page-numbers {
	display: inline-flex;
	align-items: center;
	min-block-size: 2.5rem;
	padding-inline: var(--space-3);
	border-radius: var(--radius-pill, 999px);
	color: var(--color-text);
	text-decoration: none;
}

.c-comments .page-numbers.current {
	color: var(--color-primary-text);
	box-shadow: var(--shadow-inset-sm);
}

.c-comments :is(.nav-previous, .nav-next) a:focus-visible,
.c-comments a.page-numbers:focus-visible {
	outline: var(--focus-ring-width, 2px) solid var(--color-focus, currentColor);
	outline-offset: 2px;
}
}
/* src: assets/components/consent/consent.css */
@layer components {
/*
 * Consent: wrapper of the personal-data consent checkbox of a form (spec 02 Forms): a c-check with links to the consent
 * document and the policy (new window) + its error text. Unchecked by default, required; the server checks it.
 */
.c-consent {
	display: flex;
	flex-direction: column;
	gap: var(--space-2);
	min-width: 0;
}

/* The document links inside the label: underlined, more than colour (axe link-in-text-block; the legacy layer drops
   the base underline). */
.c-consent a {
	text-decoration: underline;
	text-decoration-thickness: 1px;
	text-underline-offset: 0.18em;
}
}
/* src: assets/components/contact-choice/contact-choice.css */
@layer components {
/*
 * Component contact-choice: the «Способ связи» block of every lead form
 * Radio chips (the native radio stays in the label, visually hidden but
 * focusable; the chip shows checked / focus) and one contact field whose label and hint variants (__variant--<method>) are
 * switched by :has() — no JS needed. Without :has() support the generic label and hint show instead.
 *
 * Settings: --contact-choice-gap, --contact-choice-chip-height, --contact-choice-chip-padding-inline.
 * Neumorphism: a chip is a neutral control (raised on a plane, flat inside a raised form); checked = inset, primary text.
 */
.c-contact-choice {
	--contact-choice-gap: 8px;
	--contact-choice-chip-height: 40px;
	--contact-choice-chip-padding-inline: 16px;

	min-width: 0;
	margin: 0;
	padding: 0;
	border: 0;
}

/* One line of chips (2026-11-10): chips that do not fit drift sideways (drift.js); the ring inset is the room for
   the raised chips' shadows and focus rings inside the scroller. */
.c-contact-choice__options {
	--drift-ring: var(--space-2);

	display: flex;
	gap: var(--contact-choice-gap);
	margin-block-end: calc(var(--space-4) - var(--drift-ring));
}

.c-contact-choice__option {
	position: relative;
	display: inline-flex;
	flex: none;
	cursor: pointer;
}

.c-contact-choice__radio {
	position: absolute;
	inset: 0;
	width: 100%;
	height: 100%;
	margin: 0;
	cursor: pointer;
	opacity: 0;
}

.c-contact-choice__chip {
	display: inline-flex;
	align-items: center;
	min-height: var(--contact-choice-chip-height);
	padding-inline: var(--contact-choice-chip-padding-inline);
	font-size: var(--text-sm);
	font-weight: var(--weight-semibold);
	color: var(--color-text);
	white-space: nowrap;
	background-color: var(--neu-control-bg);
	border-radius: var(--radius-pill);
	box-shadow: var(--neu-raise-sm);
	transition: var(--transition-colors), box-shadow var(--duration-fast) ease;
}

.c-contact-choice__option:hover .c-contact-choice__chip {
	color: var(--color-primary-text);
}

.c-contact-choice__radio:checked + .c-contact-choice__chip {
	color: var(--color-primary-text);
	box-shadow: var(--shadow-inset-sm);
}

.c-contact-choice__radio:focus-visible + .c-contact-choice__chip {
	outline: var(--focus-width) solid var(--color-focus);
	outline-offset: var(--focus-offset);
}

/* Label / hint variants of the contact field: the one of the checked method is shown (:has(), no JS needed). */
.c-contact-choice__variant {
	display: none;
}

.c-contact-choice__variant--generic {
	display: inline;
}

@supports selector(:has(*)) {
	.c-contact-choice__variant--generic {
		display: none;
	}

	.c-contact-choice:has(.c-contact-choice__radio[value="phone"]:checked) .c-contact-choice__variant--phone,
	.c-contact-choice:has(.c-contact-choice__radio[value="telegram"]:checked) .c-contact-choice__variant--telegram,
	.c-contact-choice:has(.c-contact-choice__radio[value="whatsapp"]:checked) .c-contact-choice__variant--whatsapp,
	.c-contact-choice:has(.c-contact-choice__radio[value="email"]:checked) .c-contact-choice__variant--email {
		display: inline;
	}
}
}
/* src: assets/components/contact-methods/contact-methods.css */
@layer components {
/*
 * Contact methods: a list of contact buttons (phone, Telegram, WhatsApp, map services) that share the row width.
 */
.c-contact-methods {
	display: flex;
	flex-wrap: wrap;
	gap: var(--space-2);
	padding: 0;
	list-style: none;
}

.c-contact-methods__item {
	display: flex;
	flex: 1 1 12rem;
	min-width: 0;

	& > * {
		flex: 1 1 auto;
	}
}

/* --compact: the items share a row by their content width (the phone copy under the hero actions). */
.c-contact-methods--compact .c-contact-methods__item {
	flex: 1 1 auto;
}
}
/* src: assets/components/cookie-consent/cookie-consent.css */
@layer components {
/*
 * Cookie consent: fixed banner (bottom; bottom-left card from 36em) with the text, the category settings and the
 * equal choice buttons. Shown by cookie-consent.js (hidden attribute, then .is-visible for the slide-in).
 * Parts: __head (__icon, __title), __text, __settings (__option rows: __option-title + description), __actions.
 * Neumorphism: a floating layer (--shadow-raised-lg, no frame) that clears the --neu context; option rows are flat.
 */
.c-cookie-consent {
	position: fixed;
	right: var(--space-3);
	bottom: var(--space-3);
	left: var(--space-3);
	z-index: var(--z-floating);
	display: flex;
	flex-direction: column;
	gap: var(--space-3);
	max-height: calc(100dvh - var(--space-6));
	padding: var(--space-5);
	overflow-y: auto;
	color: var(--color-text);
	background-color: var(--neu-plane);
	border: 0;
	border-radius: var(--radius-xl);
	box-shadow: var(--shadow-raised-lg);
	opacity: 0;
	transform: translateY(1rem);
	transition: opacity var(--duration-base) ease, transform var(--duration-base) var(--easing-out);

	/* One neumorphic level: the content of the floating layer is flat or inset. */
	& > * {
		--neu-raise: none;
		--neu-raise-sm: none;
		--neu-control-bg: var(--neu-flat);
	}

	&.is-visible {
		opacity: 1;
		transform: none;
	}

	&:focus-visible {
		outline: var(--focus-width) solid var(--color-focus);
	}

	@media (width >= 36em) {
		right: auto;
		bottom: var(--space-6);
		left: var(--space-6);
		width: 28rem;
		padding: var(--space-6);
	}
}

.c-cookie-consent__head {
	display: flex;
	gap: var(--space-3);
	align-items: center;
}

.c-cookie-consent__icon {
	display: inline-grid;
	flex: 0 0 auto;
	place-items: center;
	width: 2.5rem;
	height: 2.5rem;
	color: var(--icon-tile-text);
	background-color: var(--icon-tile-fill);
	background-image: var(--icon-tile-bg);
	border-radius: var(--icon-tile-radius);
	box-shadow: var(--icon-tile-shadow);
}

.c-cookie-consent__title {
	font-size: var(--text-md);
	font-weight: var(--weight-bold);
	line-height: var(--leading-tight);
}

.c-cookie-consent__text {
	font-size: var(--text-sm);
	line-height: var(--leading-normal);
	color: var(--color-text-secondary);
}

.c-cookie-consent__link {
	color: var(--color-primary-text);
	text-decoration: underline;
	text-underline-offset: 0.18em;

	&:hover {
		color: var(--color-primary-text-hover);
	}
}

.c-cookie-consent__settings {
	display: flex;
	flex-direction: column;
	gap: var(--space-2);
}

.c-cookie-consent__option {
	padding: var(--space-3);
	background-color: var(--neu-flat);
	border-radius: var(--radius-md);
}

.c-cookie-consent__option-title {
	display: block;
	font-weight: var(--weight-bold);
	color: var(--color-text);
}

.c-cookie-consent__option-text {
	display: block;
	font-size: var(--text-xs);
	color: var(--color-text-secondary);
}

/* One button per row: with their icons the two choices did not fit half of the banner (a two-line pill, a clipped
   «необходимые» on phones). */
.c-cookie-consent__actions {
	display: grid;
	grid-template-columns: minmax(0, 1fr);
	gap: var(--space-2);
}

/* «Настроить» / «Сохранить выбор»: a full row under the two equal choice buttons. */
.c-cookie-consent__action--wide {
	grid-column: 1 / -1;
}
}
/* src: assets/components/copy/copy.css */
@layer components {
/*
 * Copy button (2026-11-09): a small secondary button «Копировать» with the copy icon; after a copy (is-copied, copy.js)
 * the check icon and «Скопировано» in the success colour for 2 s. Markup: button.c-button.c-button--secondary
 * .c-button--sm.c-copy[data-component="copy"] > svg.c-copy__icon + svg.c-copy__icon--done + span[data-copy-label].
 */
.c-copy {
	flex: none;
}

.c-copy__icon--done {
	display: none;
}

.c-copy.is-copied {
	color: var(--color-success-text);

	& .c-copy__icon {
		display: none;
	}

	& .c-copy__icon--done {
		display: inline-block;
	}
}
}
/* src: assets/components/counter/counter.css */
@layer components {

}
/* src: assets/components/drift/drift.css */
@layer components {
/*
 * Component drift (TASK-0248, D-92 (1)): a one-line row that scrolls sideways when it overflows; drift.js moves it
 * slowly back and forth (pausing on hover, focus and the visitor's own scroll; never with prefers-reduced-motion) — the
 * card location and specs rows. Root: the scrollable list itself (.c-drift[data-component="drift"]); the holder gives
 * it its flex row, gap and items (the row never wraps there). Without JS it is a plain horizontal scroll row.
 *
 * Bare row: no scrollbar (under one line of text or pills a thumb would read as an underline); it still scrolls with a
 * wheel, touch, a drag on a touchpad and keyboard focus. Ring inset: the row gets --drift-ring of padding on every side
 * and the same negative margin (nothing moves), so focus rings of the items (3px outline + 2px offset in this theme)
 * stay inside the scroller box instead of being clipped by the overflow. Fade: the end fades out over the row's own end
 * padding (--drift-fade; with everything in view nothing sits under it), the start over the ring inset; with focus
 * inside, the mask is off so a focused item's ring is fully visible. scroll-padding keeps a focused item (scrolled into
 * view by the browser) clear of both insets. Settings: --drift-ring, --drift-fade (custom properties on the root).
 * Mix: a row that has its own box (the search tabs, the section filter chips, the category tiles, the account pills
 * keep room for raised shadows) keeps it — the insets are :where() rules (no specificity), only the scrolling, the
 * snap (off: it would fight the motion) and the fade belong to drift. The fade shows only while the row overflows
 * (.is-overflow from drift.js).
 */
:where(.c-drift) {
	--drift-ring: 5px;
	--drift-fade: var(--space-4);

	min-width: 0;
	margin: calc(-1 * var(--drift-ring));
	margin-inline-end: 0;
	padding: var(--drift-ring);
	padding-inline-end: var(--drift-fade);
	scroll-padding-inline: var(--drift-ring) var(--drift-fade);
}

.c-drift {
	overflow-x: auto;
	overflow-y: hidden;
	overscroll-behavior-x: contain;
	scroll-behavior: auto;
	scroll-snap-type: none;
	scrollbar-width: none;

	&::-webkit-scrollbar {
		display: none;
	}

	&.is-overflow {
		mask-image: linear-gradient(to right, transparent, currentColor var(--drift-ring, 5px), currentColor calc(100% - var(--drift-fade, 1rem)), transparent);
	}

	&:focus-within {
		mask-image: none;
	}
}

/*
 * Theme markup guard (TASK-0393): rows the layout prints as `X c-drift` while the theme markup still prints a bare `X`
 * get the same box (scroll row, no motion). Each leaves with the slice that adds c-drift to its markup (TASK-0394+);
 * the rest at TASK-0407.
 */
:where(:is(.c-contact-choice__options):not(.c-drift)) {
	--drift-ring: 5px;
	--drift-fade: var(--space-4);

	min-width: 0;
	margin: calc(-1 * var(--drift-ring));
	margin-inline-end: 0;
	padding: var(--drift-ring);
	padding-inline-end: var(--drift-fade);
	scroll-padding-inline: var(--drift-ring) var(--drift-fade);
}

:where(.c-contact-choice__options):not(.c-drift) {
	overflow-x: auto;
	overflow-y: hidden;
	overscroll-behavior-x: contain;
	scroll-behavior: auto;
	scroll-snap-type: none;
	scrollbar-width: none;

	&::-webkit-scrollbar {
		display: none;
	}

	&.is-overflow {
		mask-image: linear-gradient(to right, transparent, currentColor var(--drift-ring, 5px), currentColor calc(100% - var(--drift-fade, 1rem)), transparent);
	}

	&:focus-within {
		mask-image: none;
	}
}
}
/* src: assets/components/embed/embed.css */
@layer components {
/*
 * Component embed: click-to-load placeholder of a third-party player or widget (spec 10). Placeholder: a surface box with the service
 * name, title, a note and the actions (button shown by JS, link to the original). Modifier --frame (video, stream):
 * 16:9 box (no overflow clip before the load, so it grows with its text on narrow screens); once loaded the player fills it. Without the modifier (social
 * post) the loaded player takes its own height. Colours from the role tokens (dark theme included); no transitions.
 *
 * Neumorphism: the placeholder is a raised box (no frame; its content flat); once loaded it is plain.
 *
 * Settings: --embed-ratio (frame aspect ratio, default 16 / 9).
 */
.c-embed {
	--embed-ratio: 16 / 9;

	position: relative;
	min-width: 0;
	margin: 0;
	border-radius: var(--radius-lg);
	background: var(--neu-plane);
	box-shadow: var(--neu-raise);

	/* One neumorphic level: the content of the raised box is flat or inset. */
	& > * {
		--neu-raise: none;
		--neu-raise-sm: none;
		--neu-control-bg: var(--neu-flat);
	}
}

.c-embed--frame {
	aspect-ratio: var(--embed-ratio);
}

.c-embed__placeholder {
	display: flex;
	flex-direction: column;
	justify-content: center;
	gap: var(--space-2);
	box-sizing: border-box;
	min-height: 100%;
	padding: var(--space-4);
}

.c-embed__provider,
.c-embed__title,
.c-embed__note {
	overflow-wrap: anywhere;
}

.c-embed__provider {
	font-weight: 600;
}

.c-embed__note {
	color: var(--color-text-muted);
	font-size: var(--text-sm);
}

.c-embed__actions {
	display: flex;
	flex-wrap: wrap;
	align-items: center;
	gap: var(--space-2) var(--space-4);
	margin-top: var(--space-2);
}

.c-embed__link {
	overflow-wrap: anywhere;
}

.c-embed.is-loaded {
	overflow: hidden;
	background: transparent;
	box-shadow: none;
}

.c-embed__player {
	max-width: 100%;
}

.c-embed--frame .c-embed__player {
	position: absolute;
	inset: 0;
}

/* The player HTML comes from the provider: its iframe has no class of its own. */
.c-embed--frame .c-embed__player > :where(iframe) {
	width: 100%;
	height: 100%;
	border: 0;
}
}
/* src: assets/components/empty-state/empty-state.css */
@layer components {
/*
 * Empty state: "nothing here / not available" box of a list, search or dynamic block.
 * Parts: __icon, __title, __text, __actions. --compact = less padding (inside overlays and narrow columns).
 * Neumorphism: an inset well (transparent, no frame), so it reads as an empty slot on a plane and in a raised box.
 */
.c-empty-state {
	display: flex;
	flex-direction: column;
	gap: var(--space-2);
	align-items: center;
	justify-content: center;
	padding: var(--space-10) var(--space-5);
	color: var(--color-text-secondary);
	text-align: center;
	background-color: transparent;
	border-radius: var(--radius-lg);
	box-shadow: var(--shadow-inset);
}

.c-empty-state--compact {
	padding: var(--space-5);
}

.c-empty-state__icon {
	display: grid;
	place-items: center;
	width: 3.5rem;
	height: 3.5rem;
	padding: var(--space-4);
	margin-bottom: var(--space-2);
	color: var(--icon-tile-text);
	background-color: var(--icon-tile-fill);
	background-image: var(--icon-tile-bg);
	border-radius: 50%;
	box-shadow: var(--icon-tile-shadow);
}

.c-empty-state__title {
	font-size: var(--text-lg);
	font-weight: var(--weight-bold);
	line-height: var(--leading-tight);
	color: var(--color-text);
}

.c-empty-state__text {
	max-width: 46ch;
	font-size: var(--text-sm);
}

.c-empty-state__actions {
	display: flex;
	flex-wrap: wrap;
	gap: var(--space-3);
	justify-content: center;
	margin-top: var(--space-3);
}
}
/* src: assets/components/event-when/event-when.css */
@layer components {
/*
 * Event when: date and place of an event in the aside, each line with an icon.
 */
.c-event-when {
	display: flex;
	flex-direction: column;
	gap: var(--space-2);
}

.c-event-when__date,
.c-event-when__place,
.c-event-when__time {
	display: flex;
	gap: var(--space-2);
	align-items: center;
	font-weight: var(--weight-semibold);
}

.c-event-when__icon {
	color: var(--color-primary-text);
}
}
/* src: assets/components/favorite-toggle/favorite-toggle.css */
@layer components {
/*
 * Favorite toggle: heart button that adds an object to the favourites (guest list in localStorage, see
 * favorite-toggle.js). State from [aria-pressed="true"]: filled heart in the favourite colour.
 * Base = round glass button on a photo (the same in both themes), 32px (spec 07: 24px at least for a button that is
 * not a primary one); its ::before keeps a 44px touch area around it. --inline = labelled pill of the single headers
 * ("В избранное" / "В избранном"); --glass = --inline on a photo.
 * Neumorphism: the base sits on a photo inside a raised card (media chip, no shadow: one level); --inline is a neutral raised control
 * (flat inside a raised box), pressed = inset.
 */
.c-favorite-toggle {
	--favorite-toggle-size: 2rem;
	--favorite-toggle-bg: var(--color-media-chip);
	--favorite-toggle-text: var(--color-on-media-chip);
	--favorite-toggle-active: var(--color-favorite);
	--favorite-toggle-shadow: none;
	--favorite-toggle-shadow-on: var(--favorite-toggle-shadow);

	position: relative;
	display: inline-flex;
	flex: none;
	align-items: center;
	justify-content: center;
	gap: var(--space-2);
	width: var(--favorite-toggle-size);
	height: var(--favorite-toggle-size);
	color: var(--favorite-toggle-text);
	background-color: var(--favorite-toggle-bg);
	border: 0;
	border-radius: var(--radius-pill);
	box-shadow: var(--favorite-toggle-shadow);
	transition: var(--transition-colors), box-shadow var(--duration-fast) ease, transform var(--duration-fast) ease;

	&:hover {
		color: var(--favorite-toggle-active);
		transform: scale(1.06);
	}

	/* Touch area: 44px around the 32px circle. */
	&::before {
		position: absolute;
		inset: calc((2.75rem - var(--favorite-toggle-size)) / -2);
		content: "";
	}

	&:focus-visible {
		outline: var(--focus-width) solid var(--color-focus);
		outline-offset: var(--focus-offset);
	}

	&[aria-pressed="true"] {
		color: var(--favorite-toggle-active);
		box-shadow: var(--favorite-toggle-shadow-on);
	}
}

.c-favorite-toggle--inline {
	--favorite-toggle-bg: var(--neu-control-bg);
	--favorite-toggle-text: var(--color-text);
	--favorite-toggle-shadow: var(--neu-raise-sm);
	--favorite-toggle-shadow-on: var(--shadow-inset-sm);

	/* The metrics and the hover fill of the secondary button (c-button--secondary, round 20). */
	width: auto;
	height: var(--control-height);
	padding-inline: var(--space-5);
	font-size: var(--text-sm);
	font-weight: var(--weight-bold);

	&::before {
		content: none;
	}

	&:hover {
		background-color: color-mix(in srgb, var(--favorite-toggle-bg), var(--color-neu-dark) 14%);
		transform: none;
	}

	&:active {
		box-shadow: var(--shadow-inset-sm);
	}
}

/* --inline on a photo (the first screen of a resort with a photo): glass like c-button--glass. */
.c-favorite-toggle--glass {
	--favorite-toggle-bg: var(--color-on-media-fill);
	--favorite-toggle-text: var(--color-on-media);
	--favorite-toggle-shadow: inset 0 0 0 var(--border-width) var(--color-on-media-line);
	--favorite-toggle-shadow-on: inset 0 0 0 var(--border-width) var(--color-on-media);

	&:hover {
		color: var(--color-on-media);
		background-color: var(--color-on-media-fill-hover);
	}

	&:active {
		box-shadow: var(--favorite-toggle-shadow-on);
	}

	&[aria-pressed="true"] {
		color: var(--favorite-toggle-active);
	}
}

.c-favorite-toggle__icon {
	width: 1.125rem;
	height: 1.125rem;
	transition: fill var(--duration-fast) ease;
}

.c-favorite-toggle[aria-pressed="true"] .c-favorite-toggle__icon {
	fill: currentColor;
	animation: c-favorite-toggle-pop var(--duration-slow) var(--easing-out);
}

.c-favorite-toggle__label-on {
	display: none;
}

.c-favorite-toggle[aria-pressed="true"] .c-favorite-toggle__label-off {
	display: none;
}

.c-favorite-toggle[aria-pressed="true"] .c-favorite-toggle__label-on {
	display: inline;
}

@keyframes c-favorite-toggle-pop {
	0% {
		transform: scale(0.6);
	}

	60% {
		transform: scale(1.2);
	}

	100% {
		transform: scale(1);
	}
}

/*
 * Theme carry-over (TASK-0393): rules for classes the theme markup prints and this layout file lacks,
 * with the settings they read; they leave with the slice that moves this markup (TASK-0394+).
 */
.c-favorite-toggle {
	--favorite-toggle-border-width: 1px;
}
.c-favorite-toggle--surface {
	--favorite-toggle-size: 34px;

	color: var(--color-text);
	background-color: var(--color-surface);
	border: var(--favorite-toggle-border-width) solid var(--color-border);
	box-shadow: none;
	backdrop-filter: none;
}
}
/* src: assets/components/favorites-list/favorites-list.css */
@layer components {
/*
 * Favorites list (TASK-0405, successor of the classic favourites script): type filter pills (links ?type=, current = [aria-current="page"],
 * each with its count), the groups by type, the empty state and the note for visitors without JS.
 * Groups (2026-11-09): one section per type — header (the icon tile of the section, title, count, «Все …» link to the
 * archive) and its own card grid, so a grid holds one kind of card and the card rows line up. The page has no
 * account sidebar: the list takes the container.
 * favorites-list.js filters by type in place and removes a card whose heart is switched off.
 * Neumorphism: the type pills are the shared c-chip (raised, current = inset); the count is a flat fill.
 */
.c-favorites-list {
	display: flex;
	flex-direction: column;
	gap: var(--space-6);
	min-width: 0;
}

.c-favorites-list__groups {
	display: flex;
	flex-direction: column;
	gap: var(--space-10);

	@media (width >= 62em) {
		gap: var(--space-12);
	}
}

.c-favorites-list__group {
	display: flex;
	flex-direction: column;
	gap: var(--space-5);
	min-width: 0;
}

/* A phone: the «Все …» link goes under the title (one-word titles such as «Инструкторы» do not wrap and ran into it
   at 320–375px); from 36em it stands at the end of the row. */
.c-favorites-list__group-header {
	display: grid;
	grid-template-columns: auto minmax(0, 1fr);
	gap: var(--space-4);
	align-items: center;
	padding-block-end: var(--space-4);
	border-block-end: var(--border-width) solid var(--color-border);
}

/* Round 18 (2026-11-11): the icon tile, beside it the title and under the title the count as a quiet line — one
   heading block instead of a tile, a title and a second badge in a row. */
.c-favorites-list__group-icon {
	--icon-size: 1.375rem;

	display: inline-grid;
	place-items: center;
	width: 3rem;
	height: 3rem;
	color: var(--icon-tile-text);
	background-color: var(--icon-tile-fill);
	background-image: var(--icon-tile-bg);
	border-radius: var(--icon-tile-radius);
	box-shadow: var(--icon-tile-shadow);
}

.c-favorites-list__group-heading {
	display: grid;
	gap: 2px;
	min-width: 0;
}

.c-favorites-list__group-title {
	font-size: var(--text-xl);
	line-height: var(--leading-tight);
}

.c-favorites-list__group-count {
	font-size: var(--text-sm);
	font-variant-numeric: tabular-nums;
	color: var(--color-text-secondary);
}

.c-favorites-list__group-more {
	grid-column: 2;
	justify-self: start;
	font-size: var(--text-sm);
}

@media (width >= 36em) {
	.c-favorites-list__group-header {
		grid-template-columns: auto minmax(0, 1fr) auto;
	}

	.c-favorites-list__group-more {
		grid-column: auto;
	}
}

.c-favorites-list__type-list {
	display: flex;
	flex-wrap: wrap;
	gap: var(--space-2);
	margin: 0;
	padding: 0;
	list-style: none;
}

.c-favorites-list__type {
	display: inline-flex;
	align-items: center;
	gap: var(--space-2);
	min-height: 2.375rem;
	padding: var(--space-1) var(--space-2) var(--space-1) var(--space-4);
	font-weight: var(--weight-bold);
}

.c-favorites-list__type-count {
	display: inline-grid;
	place-items: center;
	min-width: 1.5rem;
	height: 1.5rem;
	padding-inline: var(--space-1);
	font-size: var(--text-xs);
	background-color: var(--color-surface-2);
	color: var(--color-text);
	border-radius: var(--radius-pill);
}

.c-favorites-list__type[aria-current="page"] .c-favorites-list__type-count {
	color: var(--color-primary-text);
}

.c-favorites-list__grid {
	margin: 0;
	padding: 0;
	list-style: none;
}

.c-favorites-list__empty {
	min-width: 0;
}

.c-favorites-list__note {
	margin: 0;
	color: var(--color-text-secondary);
	font-size: var(--text-sm);
}
}
/* src: assets/components/feature-list/feature-list.css */
@layer components {
/*
 * Feature list: what is included / not included, each item with a leading icon.
 */
.c-feature-list {
	display: grid;
	grid-template-columns: repeat(auto-fill, minmax(min(100%, 16rem), 1fr));
	gap: var(--space-3) var(--space-6);
	padding: 0;
	list-style: none;
}

.c-feature-list__item {
	display: flex;
	gap: var(--space-3);
	align-items: flex-start;
	line-height: var(--leading-snug);
}

.c-feature-list__icon {
	--icon-size: 1.25rem;

	color: var(--color-success);
}
}
/* src: assets/components/help/help.css */
@layer components {
/*
 * Help page (TASK-0487, REQ-0081): the two UI kit extensions of the resort «Помощь и безопасность» sub page
 * (template-parts/single/resort/help.php).
 *
 * Contact card: the card anatomy of c-transfer-class without the picker (assets/components/transfer-class).
 * Markup: div.c-contact-card > ul.__list > li.__item (one service):
 *   __head (__icon tile + __heading > h3.__title), ul.__specs > li.__spec (icon + text: address, hours, site link),
 *   p.__text (note), __footer > ul.c-contact-methods (one tel button per number).
 * Grid: 1 column, 2 from 48em. Neumorphism: the card is raised on the plane, everything in it flat (as c-transfer-class).
 * Settings: --contact-card-icon (tile size).
 *
 * Steps: ol.c-feature-list.c-feature-list--steps > li.__item (__icon = the step number in the icon tile + text): one
 * column. The place tiles of the page (c-places) carry tel buttons under their text.
 */
.c-contact-card {
	--contact-card-icon: 2.75rem;

	min-width: 0;
}

.c-contact-card__list {
	display: grid;
	grid-template-columns: minmax(0, 1fr);
	gap: var(--space-4);
	margin: 0;
	padding: 0;
	list-style: none;

	@media (width >= 48em) {
		grid-template-columns: repeat(2, minmax(0, 1fr));
	}
}

.c-contact-card__item {
	display: flex;
	flex-direction: column;
	gap: var(--space-3);
	min-width: 0;
	padding: var(--space-4);
	color: var(--color-text);
	background-color: var(--neu-plane);
	border-radius: var(--radius-lg);
	box-shadow: var(--neu-raise);

	/* One neumorphic level: the content of the raised card is flat. */
	& > * {
		--neu-raise: none;
		--neu-raise-sm: none;
		--neu-control-bg: var(--neu-flat);
	}
}

.c-contact-card__head {
	display: flex;
	gap: var(--space-3);
	align-items: center;
	min-width: 0;
}

.c-contact-card__icon {
	--icon-size: 1.5rem;

	display: inline-flex;
	flex: none;
	align-items: center;
	justify-content: center;
	width: var(--contact-card-icon);
	height: var(--contact-card-icon);
	color: var(--icon-tile-text);
	background-color: var(--icon-tile-fill);
	background-image: var(--icon-tile-bg);
	border-radius: var(--icon-tile-radius);
	box-shadow: var(--icon-tile-shadow);
}

.c-contact-card__heading {
	display: grid;
	gap: var(--space-1);
	min-width: 0;
}

.c-contact-card__title {
	margin: 0;
	font-size: var(--text-h3);
	line-height: var(--leading-tight);
	overflow-wrap: anywhere;
}

.c-contact-card__specs {
	display: grid;
	gap: var(--space-1);
	min-width: 0;
	margin: 0;
	padding: 0;
	font-size: var(--text-sm);
	color: var(--color-text-secondary);
	list-style: none;
}

.c-contact-card__spec {
	display: flex;
	gap: var(--space-1);
	align-items: flex-start;
	min-width: 0;
	overflow-wrap: anywhere;

	& > .c-icon {
		flex: none;
		margin-top: 0.15em;
		color: var(--color-primary);
	}
}

.c-contact-card__text {
	margin: 0;
	font-size: var(--text-sm);
}

.c-contact-card__footer {
	min-width: 0;
	margin-top: auto;
}

/* Tel buttons (contact cards and place tiles): >= 44 px targets; full width on phones. */
:is(.c-contact-card, .c-places) .c-contact-methods {
	margin: 0;

	& .c-button {
		min-height: max(2.75rem, var(--control-height-sm));
	}

	@media (width < 36em) {
		& .c-contact-methods__item {
			flex-basis: 100%;
		}
	}
}

/* Official site links (long paths) wrap inside the cards and tiles; the kit link is nowrap (320 px overflow). */
:is(.c-contact-card, .c-places) .c-link-arrow {
	max-width: 100%;
	white-space: normal;
	overflow-wrap: anywhere;
}

.c-places__item:has(.c-contact-methods) {
	align-items: flex-start;
}

.c-places__text > .c-contact-methods {
	margin-top: var(--space-2);
}

h3.c-places__name {
	margin: 0;
	font-size: inherit;
	line-height: var(--leading-snug);
	overflow-wrap: anywhere;
}

.c-feature-list--steps {
	grid-template-columns: minmax(0, 1fr);
	margin: 0;

	& .c-feature-list__icon {
		display: inline-grid;
		flex: none;
		place-items: center;
		width: 2rem;
		height: 2rem;
		font-size: var(--text-sm);
		font-weight: var(--weight-heavy);
		color: var(--icon-tile-text);
		background-color: var(--icon-tile-fill);
		background-image: var(--icon-tile-bg);
		border-radius: var(--icon-tile-radius);
		box-shadow: var(--icon-tile-shadow);
	}

	& .c-feature-list__item {
		align-items: center;
	}
}
}
/* src: assets/components/field/field.css */
@layer components {
/*
 * Field: label + control + hint + error of a form (spec 02 Forms).
 * Parts: __label (+ __required «*»), __input / __select / __textarea, __group (control with a leading __icon),
 * __hint, __error (text shown while the control is [aria-invalid="true"]; hidden attribute managed by form.js).
 * fieldset.c-field groups radios / checkboxes with a legend in __label.
 * Neumorphism: controls are inset into the plane they sit on (transparent fill + inset pair), so they work on a page,
 * a band and inside a raised card alike; focus / invalid add a coloured line.
 * Shape (2026-11-08): one-line controls are pills like the buttons (--field-radius); a textarea keeps a large radius
 * (a pill around several lines would cut the corners of the text).
 * API for holders (custom properties, also outside a .c-field): --field-bg, --field-border(-hover|-focus),
 * --field-shadow, --field-height, --field-radius, --field-focus-outline (none when the holder rings a box of its own,
 * e.g. a search row that is the inset well with the submit button inside it).
 */
.c-field {
	--field-bg: transparent;
	--field-text: var(--color-text);
	--field-border: transparent;
	--field-border-hover: transparent;
	--field-shadow: var(--shadow-inset);
	--field-border-focus: var(--color-primary);
	--field-placeholder: var(--color-text-subtle);
	--field-icon: var(--color-text-muted);
	--field-invalid: var(--color-danger);
	--field-height: 2.875rem;
	--field-radius: var(--radius-pill);

	display: flex;
	flex-direction: column;
	gap: var(--space-2);
	min-width: 0;
	margin: 0;
	padding: 0;
	border: 0;
}

.c-field__label {
	padding: 0;
	font-size: var(--text-sm);
	font-weight: var(--weight-bold);
	line-height: var(--leading-snug);
	color: var(--color-text);
}

/* A legend is not a flex item of its fieldset: the gap of .c-field does not reach it, the margin gives the same space
   (2026-11-11: the contact choice, the star rating). */
.c-field > legend {
	margin-block-end: var(--space-2);
}

.c-field__required {
	color: var(--color-danger);
}

/* Controls are styled the same inside and outside a .c-field (search forms, toolbars). */
.c-field__input,
.c-field__select,
.c-field__textarea {
	width: 100%;
	min-width: 0;
	min-height: var(--field-height, 2.875rem);
	padding: var(--space-2) var(--space-5);
	font-size: var(--text-md);
	line-height: var(--leading-snug);
	text-overflow: ellipsis; /* a long placeholder in a narrow field ends with «…», not in the middle of a word */
	color: var(--field-text, var(--color-text));
	background-color: var(--field-bg, transparent);
	border: var(--border-width) solid var(--field-border, transparent);
	border-radius: var(--field-radius, var(--radius-pill));
	box-shadow: var(--field-shadow, var(--shadow-inset));
	appearance: none;
	transition: var(--transition-colors), box-shadow var(--duration-fast) ease;

	&::placeholder {
		color: var(--field-placeholder, var(--color-text-subtle));
		opacity: 1;
	}

	&:hover {
		border-color: var(--field-border-hover, transparent);
	}

	&:focus-visible {
		border-color: var(--field-border-focus, var(--color-primary));
		outline: var(--field-focus-outline, var(--focus-width) solid var(--color-focus));
		outline-offset: 0;
	}

	&:disabled {
		color: var(--color-text-muted);
		box-shadow: var(--shadow-inset-sm);
		cursor: not-allowed;
	}

	&[aria-invalid="true"] {
		border-color: var(--field-invalid, var(--color-danger));
	}
}

.c-field__select {
	padding-right: var(--space-10);
	background-image:
		linear-gradient(45deg, transparent 50%, var(--field-icon, var(--color-text-muted)) 50%),
		linear-gradient(135deg, var(--field-icon, var(--color-text-muted)) 50%, transparent 50%);
	background-repeat: no-repeat;
	background-position: calc(100% - 1.25rem) 50%, calc(100% - 0.9375rem) 50%;
	background-size: 0.3125rem 0.3125rem;
	cursor: pointer;
}

.c-field__textarea {
	min-height: 7.5rem;
	padding-inline: var(--space-4);
	border-radius: var(--radius-lg);
	resize: vertical;
}

/* Control with a leading icon (search). */
.c-field__group {
	position: relative;
	display: flex;
	flex: 1 1 auto;
	align-items: center;
	min-width: 0;
}

.c-field__group .c-field__input {
	padding-left: var(--space-10);
}

.c-field__icon {
	position: absolute;
	left: var(--space-4);
	z-index: var(--z-raised);
	width: 1.125rem;
	height: 1.125rem;
	color: var(--field-icon, var(--color-text-muted));
	pointer-events: none;
}

.c-field__hint {
	font-size: var(--text-xs);
	line-height: var(--leading-snug);
	color: var(--color-text-secondary);
}

.c-field__error {
	display: flex;
	gap: var(--space-1);
	align-items: flex-start;
	font-size: var(--text-xs);
	font-weight: var(--weight-semibold);
	line-height: var(--leading-snug);
	color: var(--color-danger-text);
}
}
/* src: assets/components/filter-panel/filter-panel.css */
@layer components {
/*
 * Filter panel of the archives: groups of radio / checkbox options (they join the GET form #archive-form through the
 * form attribute), navigation groups of term links, per-group list search, reset and submit. A list shows up to 5
 * options and scrolls inside (2026-11-09: no "show more").
 * Without JS: a card in the normal flow before the results (a plain GET form). With JS (html.is-js) below 62em: an
 * off-canvas sheet from the right with a backdrop (filter-panel.js: dialog semantics, focus trap, Escape, scroll
 * lock, focus return). From 62em: the left column of the archive at its full height; the column follows the page in
 * both directions (the sticky-sidebar mix on the root, no scroll of its own).
 * States: .is-open on the root (sheet shown), options from :checked / [aria-current="page"] / :disabled.
 */
.c-filter-panel {
	--filter-panel-width: 24rem;
	--filter-panel-bg: var(--neu-plane);
	--filter-panel-border: var(--color-border);
	--filter-panel-radius: var(--radius-lg);
	--filter-panel-pad: var(--space-4);
	--filter-panel-option-height: 2.5rem;
	--filter-panel-option-hover: transparent;
	--filter-panel-option-active-bg: transparent;
	--filter-panel-option-active-text: var(--color-primary-text);
	--filter-panel-mark-size: 1.125rem;
	--filter-panel-mark-border: transparent;
	--filter-panel-highlight: var(--color-warning-soft);

	min-width: 0;
}

/* With JS below 62em the panel leaves the layout flow (its sheet and backdrop are fixed). */
.is-js .c-filter-panel {
	display: contents;

	@media (width >= 62em) {
		display: block;
	}
}

.c-filter-panel__backdrop {
	display: none;
}

.is-js .c-filter-panel__backdrop {
	position: fixed;
	inset: 0;
	z-index: var(--z-modal);
	display: block;
	background-color: var(--color-backdrop);
	opacity: 1;
	transition: opacity var(--duration-base) ease;

	@starting-style {
		opacity: 0;
	}

	@media (width >= 62em) {
		display: none;
	}
}

.c-filter-panel__sheet {
	display: flex;
	flex-direction: column;
	min-width: 0;
	background-color: var(--filter-panel-bg);
	border-radius: var(--filter-panel-radius);
	box-shadow: var(--neu-raise);

	/* One neumorphic level: the options of the raised sheet are flat, hover / chosen = inset. */
	& > * {
		--neu-raise: none;
		--neu-raise-sm: none;
		--neu-control-bg: var(--neu-flat);
	}
}

/* With JS below 62em: off-canvas sheet. */
.is-js .c-filter-panel__sheet {
	position: fixed;
	inset-block: 0;
	inset-inline-end: 0;
	z-index: var(--z-modal);
	width: min(var(--filter-panel-width), 100%);
	max-height: none;
	border-width: 0;
	border-radius: var(--radius-xl) 0 0 var(--radius-xl);
	box-shadow: var(--shadow-lg);
	visibility: hidden;
	transform: translateX(100%);
	transition: transform var(--duration-slow) var(--easing-out), visibility 0s linear var(--duration-slow);

	@media (width >= 62em) {
		position: static;
		inset: auto;
		z-index: auto;
		width: auto;
		border-radius: var(--filter-panel-radius);
		box-shadow: var(--neu-raise);
		visibility: visible;
		transform: none;
		transition: none;
	}
}

.is-js .c-filter-panel.is-open .c-filter-panel__sheet {
	visibility: visible;
	transform: none;
	transition: transform var(--duration-slow) var(--easing-out), visibility 0s;
}

.c-filter-panel__header {
	display: flex;
	align-items: center;
	gap: var(--space-3);
	padding: var(--space-3) var(--filter-panel-pad);
	border-bottom: var(--border-width) solid var(--filter-panel-border);
}

.c-filter-panel__title {
	flex: 1 1 auto;
	margin: 0;
	font-size: var(--text-lg);
	font-weight: var(--weight-heavy);
	line-height: var(--leading-tight);
}

.c-filter-panel__reset {
	min-height: 1.5rem;
	color: var(--color-primary-text);
	font-size: var(--text-sm);
	font-weight: var(--weight-bold);
	text-decoration: underline;
	text-underline-offset: 0.2em;
	transition: var(--transition-colors);

	&:hover {
		color: var(--color-primary-text-hover);
	}

	&:focus-visible {
		outline: var(--focus-width) solid var(--color-focus);
		outline-offset: var(--focus-offset);
		border-radius: var(--radius-xs);
	}
}

.c-filter-panel__close {
	@media (width >= 62em) {
		display: none;
	}
}

.c-filter-panel__body {
	flex: 1 1 auto;
	min-height: 0;
	padding-inline: var(--filter-panel-pad);
	overflow-y: auto;
	overscroll-behavior: contain;
	scrollbar-width: thin;

	/* The desktop column is as tall as its content (the page scrolls it, sticky-sidebar). */
	@media (width >= 62em) {
		overflow-y: visible;
	}
}

.c-filter-panel__group {
	min-width: 0;
	margin: 0;
	padding: var(--space-4) 0;
	border: 0;
	border-top: var(--border-width) solid var(--filter-panel-border);

	&:first-child {
		border-top: 0;
	}
}

/* Floated: a <legend> otherwise sits on the fieldset's top border (hiding it) and ignores the group padding. */
.c-filter-panel__legend {
	float: inline-start;
	display: block;
	width: 100%;
	margin: 0;
	padding: 0 0 var(--space-2);
	color: var(--color-text);
	font-size: var(--text-sm);
	font-weight: var(--weight-heavy);
	line-height: var(--leading-snug);

	/* All the siblings: the next one (the list search) is hidden without JS, the options would sit beside the float. */
	& ~ * {
		clear: both;
	}
}

.c-filter-panel__search {
	--field-height: var(--control-height-sm);

	margin-block-end: var(--space-2);
}

.c-filter-panel__options {
	--filter-panel-visible: 5;

	display: flex;
	flex-direction: column;
	gap: 2px;
	/* Up to 5 options, the rest by a vertical scroll of the list; the padding keeps the focus ring inside the clip. */
	max-height: calc(var(--filter-panel-visible) * var(--filter-panel-option-height) + (var(--filter-panel-visible) - 1) * 2px + var(--focus-width) * 2);
	padding: var(--focus-width);
	margin: calc(var(--focus-width) * -1);
	overflow-y: auto;
	overscroll-behavior: contain;
	scrollbar-width: thin;
	scrollbar-color: var(--color-border-strong) transparent;

	& > * {
		flex-shrink: 0;
	}
}

.c-filter-panel__option {
	position: relative;
	display: flex;
	align-items: center;
	gap: var(--space-3);
	min-height: var(--filter-panel-option-height);
	padding: var(--space-2) var(--space-3);
	color: var(--color-text);
	font-size: var(--text-sm);
	line-height: var(--leading-snug);
	text-decoration: none;
	border-radius: var(--radius-sm);
	cursor: pointer;
	transition: var(--transition-colors);

	&:hover {
		color: var(--color-primary-text);
		background-color: var(--filter-panel-option-hover);
	}

	&:has(:checked),
	&[aria-current="page"] {
		color: var(--filter-panel-option-active-text);
		font-weight: var(--weight-bold);
		background-color: var(--filter-panel-option-active-bg);
		box-shadow: var(--shadow-inset-sm);
	}

	&:has(:focus-visible),
	&:focus-visible {
		outline: var(--focus-width) solid var(--color-focus);
		outline-offset: 0;
	}

	&:has(:disabled) {
		cursor: not-allowed;
		opacity: 0.5;
	}
}

.c-filter-panel__option--up {
	color: var(--color-text-secondary);
	font-weight: var(--weight-semibold);
}

.c-filter-panel__up-icon {
	--icon-size: 1rem;
}

.c-filter-panel__mark {
	display: inline-grid;
	flex: 0 0 auto;
	place-items: center;
	width: var(--filter-panel-mark-size);
	height: var(--filter-panel-mark-size);
	color: var(--color-on-primary);
	background-color: transparent;
	border: 1.5px solid var(--filter-panel-mark-border);
	border-radius: var(--radius-pill);
	box-shadow: var(--shadow-inset-sm);
	transition: var(--transition-colors);
}

.c-filter-panel__option--checkbox .c-filter-panel__mark {
	border-radius: var(--radius-xs);
}

.c-filter-panel__option:has(:checked) .c-filter-panel__mark {
	background-color: var(--color-primary);
	border-color: var(--color-primary);
	box-shadow: none;
}

/* Links: no box, only the check of the current term. */
.c-filter-panel__option--link .c-filter-panel__mark {
	display: none;
}

.c-filter-panel__option--link[aria-current="page"] .c-filter-panel__mark {
	display: inline-grid;
	color: var(--color-primary-text);
	background-color: transparent;
	border-color: transparent;
}

.c-filter-panel__check {
	--icon-size: 0.75rem;

	stroke-width: 3;
	opacity: 0;
	transition: opacity var(--duration-fast) ease;
}

.c-filter-panel__option:has(:checked) .c-filter-panel__check,
.c-filter-panel__option[aria-current="page"] .c-filter-panel__check {
	opacity: 1;
}

.c-filter-panel__option--link[aria-current="page"] .c-filter-panel__check {
	--icon-size: 1rem;
}

.c-filter-panel__label {
	flex: 1 1 auto;
	min-width: 0;
	overflow-wrap: anywhere;
}

.c-filter-panel__highlight {
	color: inherit;
	background-color: var(--filter-panel-highlight);
	border-radius: 2px;
}

.c-filter-panel__count {
	flex: 0 0 auto;
	color: var(--color-text-secondary);
	font-size: var(--text-xs);
	font-weight: var(--weight-semibold);
	font-variant-numeric: tabular-nums;
}

.c-filter-panel__empty {
	margin: 0;
	padding: var(--space-2) var(--space-3);
	color: var(--color-text-secondary);
	font-size: var(--text-sm);
}

.c-filter-panel__footer {
	display: flex;
	gap: var(--space-2);
	padding: var(--space-3) var(--filter-panel-pad);
	border-top: var(--border-width) solid var(--filter-panel-border);
}

/* With JS a choice applies at once on wide screens: the footer is not needed there. */
.is-js .c-filter-panel__footer {
	@media (width >= 62em) {
		display: none;
	}
}

.c-filter-panel__action {
	flex: 1 1 0;
}
}
/* src: assets/components/floating-actions/floating-actions.css */
@layer components {
/*
 * Floating actions: fixed column of round buttons in the bottom-right corner — contact links (__social: __link) and
 * the «Наверх» button (__top, shown by floating-actions.js once the first screen is scrolled away; __sentinel is the
 * screen-tall mark it watches). .is-muted while the cookie banner covers the group (phones). Above the sticky CTA bar
 * while it is shown (--sticky-cta-offset, set by sticky-cta.js).
 * «Наверх» slides in from below (round 19, 2026-11-11). Without the script the button stays [hidden]. The script takes
 * it over (.is-top-ready, the attribute goes): the button keeps its place in the column but is invisible until
 * .is-top-shown (visibility: hidden — no focus, no pointer, not read), and the whole group is moved down by one button
 * (--floating-actions-shift), so the contacts sit at the corner; once the button shows, the group moves up and the
 * contacts glide up with it while the button fades in under them. Only translate / opacity / scale move (no layout).
 * .is-instant (one frame while the script takes over) switches the motion off, so nothing moves on load.
 * Neumorphism: the buttons are a floating layer (--shadow-raised, no frame); hover = primary icon, pressed = inset.
 * Over a band on a dark photo (round 23, .is-on-media: the call to action, a hero — floating-actions.js) the light half
 * of that pair glowed white around the buttons: there they cast a dark drop shadow instead, as the buttons on the photo.
 */
.c-floating-actions {
	--floating-actions-size: 2.75rem;
	--floating-actions-gap: var(--space-2);
	--floating-actions-shift: 0px;
	--floating-actions-shadow: var(--shadow-raised);

	position: fixed;
	right: var(--space-4);
	bottom: var(--space-4);
	z-index: var(--z-floating);
	display: flex;
	flex-direction: column;
	gap: var(--floating-actions-gap);
	align-items: flex-end;
	translate: 0 calc(var(--floating-actions-shift) - var(--sticky-cta-offset, 0px));
	transition: opacity var(--duration-base) ease, translate var(--duration-reveal) var(--easing-gentle);

	/* «Наверх» not shown: the column is one button lower, the contacts at the corner. */
	&.is-top-ready:not(.is-top-shown) {
		--floating-actions-shift: calc(var(--floating-actions-size) + var(--floating-actions-gap));
	}

	&.is-instant {
		transition: none;
	}

	&.is-muted {
		pointer-events: none;
		opacity: 0;
	}

	&.is-on-media {
		--floating-actions-shadow: var(--shadow-drop);
	}

	@media (width >= 48em) {
		right: var(--space-6);
		bottom: var(--space-6);
	}
}

.c-floating-actions__social {
	display: flex;
	flex-direction: column;
	gap: var(--floating-actions-gap);
}

.c-floating-actions__link,
.c-floating-actions__top {
	display: inline-grid;
	place-items: center;
	width: var(--floating-actions-size);
	height: var(--floating-actions-size);
	color: var(--color-text);
	background-color: var(--color-surface);
	border: 0;
	border-radius: 50%;
	box-shadow: var(--floating-actions-shadow);
	cursor: pointer;
	transition: var(--transition-colors), box-shadow var(--duration-fast) ease;

	&:hover {
		color: var(--color-primary-text);
	}

	&:active {
		box-shadow: var(--shadow-inset-sm);
	}

	&:focus-visible {
		outline: var(--focus-width) solid var(--color-focus);
		outline-offset: var(--focus-offset);
	}
}

.c-floating-actions__sentinel {
	position: absolute;
	inset-block-start: 0;
	inset-inline-start: 0;
	width: 1px;
	height: 100vh;
	pointer-events: none;
}

.c-floating-actions__top {
	transition: var(--transition-colors), box-shadow var(--duration-fast) ease, opacity var(--duration-reveal) var(--easing-gentle),
		visibility var(--duration-reveal), scale var(--duration-reveal) var(--easing-gentle);

	/* Kept in the column while not shown (the group slides instead of jumping); invisible and out of reach. */
	.c-floating-actions.is-top-ready:not(.is-top-shown) & {
		visibility: hidden;
		opacity: 0;
		scale: 0.6;
	}

	.c-floating-actions.is-instant & {
		transition: none;
	}
}
}
/* src: assets/components/forecast/forecast.css */
@layer components {
/*
 * Forecast: weather of the resort (data rendered by the server from the weather provider).
 * Variants of the root .c-forecast:
 *   --summary  ul of day tiles on the resort overview (li.__day);
 *   --now      the nearest forecast step: __now-main (__now-icon, __now-text > __now-temp, __now-condition) and
 *              dl.__now-stats > __now-stat (dt.__now-term with an icon, dd.__now-value);
 *   --full     5-day forecast (data-component="forecast"): tablist __days of button.__day--tab (APG tabs, shown by JS;
 *              without JS every __panel is visible), __panel > h3.__caption + c-table with the hourly rows
 *              (__time, __weather > __condition, __temp; night rows __row--night), __meta list and the provider note.
 * Meta (2026-11-09): under a hairline, a row of facts __meta-item > __meta-icon (icon tile) + __meta-text >
 * __meta-label over __meta-value (coordinates, height, the source link).
 * Day tile: __day-name, __day-date, __day-icon, __day-temps > __temp (--low for the minimum). Temperatures below or
 * above zero get __temp--cold / --warm (__now-temp--cold / --warm): colour plus the sign in the text.
 * Neumorphism: day tiles are raised (tabs: raised controls, the selected one inset); --now is a raised box with inset
 * icon and stat wells; night rows of the table take the flat fill.
 */
.c-forecast {
	--forecast-cold: var(--color-info-text);
	--forecast-warm: var(--color-secondary-text-hover); /* theme: 4.5:1 on the flat fills, also under the opacity of --low (notes.md) */
	--forecast-tile-bg: var(--neu-plane);
	--forecast-tile-shadow: var(--neu-raise-sm);
	--forecast-tile-text: var(--color-text);

	container-type: inline-size;
	display: grid;
	gap: var(--space-4);
}

/* ---------------------------------------------------------------- day tiles */

.c-forecast--summary {
	grid-template-columns: repeat(auto-fit, minmax(min(100%, 8rem), 1fr));
	gap: var(--space-2);
}

.c-forecast__day {
	display: grid;
	grid-template-areas:
		"name icon"
		"date icon"
		"temps temps";
	grid-template-columns: minmax(0, 1fr) auto;
	gap: var(--space-1) var(--space-2);
	align-content: start;
	padding: var(--space-3) var(--space-4);
	color: var(--forecast-tile-text);
	text-align: start;
	background-color: var(--forecast-tile-bg);
	border-radius: var(--radius-md);
	box-shadow: var(--forecast-tile-shadow);
}

.c-forecast__day--tab {
	flex: 1 0 8.75rem;
	scroll-snap-align: start;
	--forecast-tile-bg: var(--neu-control-bg);

	cursor: pointer;
	transition: var(--transition-colors), box-shadow var(--duration-fast) ease;

	&:hover {
		--forecast-tile-text: var(--color-primary-text);
	}

	&:active,
	&[aria-selected="true"] {
		--forecast-tile-shadow: var(--shadow-inset-sm);
	}

	&[aria-selected="true"] {
		--forecast-tile-text: var(--color-primary-text);
	}

	&:focus-visible {
		outline: var(--focus-width) solid var(--color-focus);
		outline-offset: var(--focus-offset);
	}
}

.c-forecast__day-name {
	grid-area: name;
	font-size: var(--text-sm);
	font-weight: var(--weight-bold);
}

.c-forecast__day-date {
	grid-area: date;
	font-size: var(--text-xs);
	color: var(--color-text-secondary);
}

.c-forecast__day-icon {
	grid-area: icon;
	align-self: center;
	font-size: 1.75rem;
	color: var(--color-primary-text);
}

.c-forecast__day-temps {
	grid-area: temps;
	display: flex;
	flex-wrap: wrap;
	gap: var(--space-2);
	align-items: baseline;
	margin-top: var(--space-2);
}

.c-forecast__temp {
	font-weight: var(--weight-heavy);
	font-variant-numeric: tabular-nums;
	white-space: nowrap;
}

.c-forecast__day-temps .c-forecast__temp {
	font-size: var(--text-lg);
}

.c-forecast__temp--low {
	font-size: var(--text-sm);
	font-weight: var(--weight-semibold);
	opacity: 0.8;
}

.c-forecast__day-temps .c-forecast__temp--low {
	font-size: var(--text-sm);
}

.c-forecast__temp--cold {
	color: var(--forecast-cold);
}

.c-forecast__temp--warm {
	color: var(--forecast-warm);
}

/* ---------------------------------------------------------------- nearest step */

.c-forecast--now {
	gap: var(--space-5);
	padding: var(--space-5);
	background-color: var(--neu-plane);
	border-radius: var(--radius-lg);
	box-shadow: var(--neu-raise);

	@media (width >= 48em) {
		grid-template-columns: auto minmax(0, 1fr);
		gap: var(--space-8);
		align-items: center;
		padding: var(--space-6);
	}

	/* One neumorphic level: the content of the raised box is flat or inset. */
	& > * {
		--neu-raise: none;
		--neu-raise-sm: none;
		--neu-control-bg: var(--neu-flat);
	}
}

.c-forecast__now-main {
	display: flex;
	gap: var(--space-4);
	align-items: center;
}

.c-forecast__now-icon {
	display: grid;
	flex: none;
	place-items: center;
	width: 4.5rem;
	height: 4.5rem;
	font-size: 2.5rem;
	color: var(--color-primary-text);
	border-radius: var(--radius-lg);
	box-shadow: var(--shadow-inset);
}

.c-forecast__now-text {
	display: grid;
	gap: var(--space-1);
}

.c-forecast__now-temp {
	font-size: clamp(2.5rem, 2rem + 2vw, 3.5rem);
	font-weight: var(--weight-heavy);
	font-variant-numeric: tabular-nums;
	line-height: 1;
	letter-spacing: var(--tracking-tight);
}

.c-forecast__now-temp--cold {
	color: var(--forecast-cold);
}

.c-forecast__now-temp--warm {
	color: var(--forecast-warm);
}

.c-forecast__now-condition {
	font-weight: var(--weight-semibold);
	color: var(--color-text-secondary);

	&::first-letter {
		text-transform: uppercase;
	}
}

.c-forecast__now-stats {
	display: grid;
	grid-template-columns: repeat(auto-fit, minmax(min(100%, 8.5rem), 1fr));
	gap: var(--space-2);
}

.c-forecast__now-stat {
	display: grid;
	gap: var(--space-1);
	padding: var(--space-3);
	border-radius: var(--radius-md);
	box-shadow: var(--shadow-inset-sm);
}

.c-forecast__now-term {
	display: flex;
	gap: var(--space-2);
	align-items: center;
	font-size: var(--text-xs);
	color: var(--color-text-secondary);
}

.c-forecast__now-stat-icon {
	flex: none;
	color: var(--color-primary-text);
}

.c-forecast__now-value {
	font-weight: var(--weight-bold);
	font-variant-numeric: tabular-nums;
}

/* ---------------------------------------------------------------- 5-day forecast */

.c-forecast--full {
	gap: var(--space-5);
}

/* A drift row (2026-11-10): the day tabs that do not fit move sideways by themselves (drift.js), no scrollbar, no
   snap (it would fight the motion); the fades at both ends lie over the shadow room. */
.c-forecast__days {
	--drift-ring: var(--space-3);
	--drift-fade: var(--space-3);

	position: relative; /* REQ-0075: contain the tabs' visually-hidden spans (375px page overflow) */
	display: flex;
	gap: var(--space-2);
	/* Room for the raised tiles' shadows inside the scroller. */
	padding: var(--space-3);
	margin: calc(var(--space-3) * -1);
	overflow-x: auto;
}

.c-forecast__panel {
	display: grid;
	gap: var(--space-3);

	&:focus-visible {
		outline: var(--focus-width) solid var(--color-focus);
		outline-offset: var(--focus-offset);
		border-radius: var(--radius-sm);
	}
}

.c-forecast__caption {
	font-size: var(--text-lg);

	&::first-letter {
		text-transform: uppercase;
	}
}

.c-forecast__table {
	font-variant-numeric: tabular-nums;
}

.c-forecast__row--night {
	background-color: var(--neu-flat);
}

.c-forecast__time {
	font-weight: var(--weight-bold);
	white-space: nowrap;
}

.c-forecast__weather {
	min-width: 9rem;
}

.c-forecast__condition {
	display: inline-flex;
	gap: var(--space-2);
	align-items: center;
}

.c-forecast__condition-icon {
	flex: none;
	color: var(--color-primary-text);
}

.c-forecast__meta {
	display: grid;
	grid-template-columns: repeat(auto-fit, minmax(min(100%, 13rem), 1fr));
	gap: var(--space-3) var(--space-5);
	padding-block-start: var(--space-4);
	border-block-start: var(--border-width) solid var(--color-border);
}

/* A fact of the forecast (2026-11-09): an icon tile, the label over the value. */
.c-forecast__meta-item {
	display: flex;
	gap: var(--space-3);
	align-items: center;
	min-width: 0;
}

.c-forecast__meta-icon {
	--icon-size: 1.125rem;

	display: grid;
	flex: none;
	place-items: center;
	width: 2.25rem;
	height: 2.25rem;
	color: var(--icon-tile-text);
	background-color: var(--icon-tile-fill);
	background-image: var(--icon-tile-bg);
	border-radius: var(--icon-tile-radius);
	box-shadow: var(--icon-tile-shadow);
}

.c-forecast__meta-text {
	display: grid;
	gap: 0.125rem;
	min-width: 0;
}

.c-forecast__meta-label {
	font-size: var(--text-xs);
	color: var(--color-text-secondary);
}

.c-forecast__meta-value {
	font-size: var(--text-sm);
	font-weight: var(--weight-semibold);
	font-variant-numeric: tabular-nums;
	color: var(--color-text);
	overflow-wrap: anywhere;
}
}
/* src: assets/components/form/form.css */
@layer components {
/*
 * Form: vertical stack of fields with the validation behaviour of form.js (spec 04 Forms).
 * __row (fields side by side: --2 / --3 columns from 36em, --aligned = label and control rows shared through subgrid,
 * --between = one line with space between),
 * __group (fieldset of related fields) with __group-title, __actions (submit row), __status (role=status message).
 * Neumorphism: the status message is a flat warning tint without a frame.
 */
.c-form {
	display: flex;
	flex-direction: column;
	gap: var(--space-5);
	min-width: 0;
}

.c-form__row {
	display: grid;
	gap: var(--space-4);
	min-width: 0;
}

.c-form__row--2 {
	@media (width >= 36em) {
		grid-template-columns: repeat(2, minmax(0, 1fr));
	}
}

.c-form__row--3 {
	@media (width >= 36em) {
		grid-template-columns: repeat(3, minmax(0, 1fr));
	}
}

/* Fields of one kind in several rows (the transfer counters): each field spans two rows of the grid (label,
   control) through subgrid, so a wrapped label does not push its control below the neighbours. */
.c-form__row--aligned {
	@media (width >= 36em) {
		row-gap: var(--space-2);

		/* Two classes: wins over the flex column of the field itself. */
		&.c-form__row > * {
			display: grid;
			grid-row: span 2;
			grid-template-rows: subgrid;
			row-gap: var(--space-2);
		}

		& > :nth-child(n + 4) {
			margin-block-start: var(--space-3);
		}
	}
}

.c-form__row--between {
	display: flex;
	flex-wrap: wrap;
	gap: var(--space-2) var(--space-4);
	align-items: center;
	justify-content: space-between;
}

/* A text link in the row ("Забыли пароль?"): at least 24px tall to tap. */
.c-form__row--between > a {
	display: inline-flex;
	align-items: center;
	min-height: 1.5rem;
}

.c-form__group {
	display: flex;
	flex-direction: column;
	gap: var(--space-4);
	min-width: 0;
	margin: 0;
	padding: 0;
	border: 0;
}

.c-form__group-title {
	padding: 0;
	font-size: var(--text-md);
	font-weight: var(--weight-bold);
	color: var(--color-text);
}

.c-form__actions {
	display: flex;
	flex-wrap: wrap;
	gap: var(--space-3);
	align-items: center;
}

.c-form__status {
	display: flex;
	gap: var(--space-3);
	align-items: flex-start;
	padding: var(--space-3) var(--space-4);
	font-size: var(--text-sm);
	line-height: var(--leading-snug);
	color: var(--color-warning-text);
	background-color: var(--color-warning-soft);
	border-radius: var(--radius-md);

	&:empty {
		display: none;
	}
}
}
/* src: assets/components/gallery/gallery.css */
@layer components {
/*
 * Gallery: main photo strip (scroll-snap, swipe; arrows, counter and thumbnails with JS), full-screen viewer in a
 * native <dialog> (__dialog). Without JS the strip still scrolls.
 * Neumorphism: the controls sit on the photo, so they keep the media colours and --shadow-drop (no neumorphic pair).
 */
.c-gallery {
	--gallery-control-bg: var(--color-media-chip);
	--gallery-control-text: var(--color-on-media-chip);
	--gallery-control-bg-hover: var(--color-dark);
	--gallery-control-text-hover: var(--color-on-dark);

	display: grid;
	gap: var(--space-2);
	min-width: 0;
}

.c-gallery__main {
	position: relative;
	overflow: hidden;
	aspect-ratio: 16 / 10;
	background-color: var(--color-surface-2);
	border-radius: var(--radius-lg);

	@media (width >= 48em) {
		border-radius: var(--radius-xl);
	}
}

.c-gallery__track {
	display: flex;
	height: 100%;
	overflow-x: auto;
	overscroll-behavior-x: contain;
	scroll-snap-type: x mandatory;
	scrollbar-width: none;

	&::-webkit-scrollbar {
		display: none;
	}

	&:focus-visible {
		outline-offset: calc(var(--focus-width) * -1);
	}
}

.c-gallery__slide {
	flex: 0 0 100%;
	height: 100%;
	scroll-snap-align: start;
}

.c-gallery__image {
	width: 100%;
	height: 100%;
	object-fit: cover;
}

.c-gallery__arrow {
	position: absolute;
	top: 50%;
	z-index: var(--z-raised);
	display: grid;
	place-items: center;
	width: 2.75rem;
	height: 2.75rem;
	color: var(--gallery-control-text);
	background-color: var(--gallery-control-bg);
	border-radius: 50%;
	box-shadow: var(--shadow-drop);
	transform: translateY(-50%);
	transition: var(--transition-colors);

	&:hover {
		color: var(--gallery-control-text-hover);
		background-color: var(--gallery-control-bg-hover);
	}
}

.c-gallery__arrow--prev {
	left: var(--space-3);
}

.c-gallery__arrow--next {
	right: var(--space-3);
}

.c-gallery__counter {
	position: absolute;
	bottom: var(--space-3);
	left: var(--space-3);
	z-index: var(--z-raised);
	padding: var(--space-1) var(--space-3);
	font-size: var(--text-xs);
	font-weight: var(--weight-bold);
	color: var(--color-on-media);
	background-color: var(--color-media-scrim);
	border-radius: var(--radius-pill);
	font-variant-numeric: tabular-nums;
}

.c-gallery__open {
	position: absolute;
	right: var(--space-3);
	bottom: var(--space-3);
	z-index: var(--z-raised);
	display: grid;
	place-items: center;
	width: 2.75rem;
	height: 2.75rem;
	color: var(--color-on-media);
	background-color: var(--color-media-scrim);
	border-radius: var(--radius-md);
	transition: var(--transition-colors);

	&:hover {
		background-color: var(--color-dark);
	}
}

.c-gallery__thumbs {
	display: flex;
	gap: var(--space-2);
	padding: var(--space-1);
	overflow-x: auto;
	scrollbar-width: thin;
}

.c-gallery__thumb {
	flex: 0 0 5.25rem;
	aspect-ratio: 4 / 3;
	overflow: hidden;
	border: 2px solid transparent;
	border-radius: var(--radius-md);
	opacity: 0.6;
	transition: opacity var(--duration-fast) ease, border-color var(--duration-fast) ease;

	&:hover {
		opacity: 1;
	}

	&[aria-current="true"] {
		border-color: var(--color-primary);
		opacity: 1;
	}
}

.c-gallery__thumb-image {
	width: 100%;
	height: 100%;
	object-fit: cover;
}

/* Full-screen viewer */
.c-gallery__dialog {
	width: min(100% - var(--space-6), 75rem);
	max-width: none;
	max-height: calc(100dvh - var(--space-6));
	padding: var(--space-3);
	overflow: hidden;
	color: var(--color-on-dark);
	background-color: var(--color-dark);
	border: 0;
	border-radius: var(--radius-lg);

	&::backdrop {
		background-color: var(--color-backdrop);
	}
}

.c-gallery__view {
	display: grid;
	place-items: center;
	height: min(80dvh, 56rem);
}

.c-gallery__view-image {
	width: auto;
	max-width: 100%;
	height: auto;
	max-height: 100%;
	object-fit: contain;
}

.c-gallery__close {
	position: absolute;
	top: var(--space-3);
	right: var(--space-3);
	z-index: var(--z-overlay);
	display: grid;
	place-items: center;
	width: 2.75rem;
	height: 2.75rem;
	color: var(--color-on-dark);
	background-color: var(--color-on-dark-fill);
	border-radius: 50%;
	transition: var(--transition-colors);

	&:hover {
		background-color: var(--color-on-dark-fill-hover);
	}
}

/*
 * Grid mode (--grid): core gallery blocks of post content (TASK-0455, inc/template-functions.php). Tiles in columns
 * (--cols-N of the block, default 3; 2 on phones, 1 stays 1), cropped to 4:3 when the block is cropped; a stretched
 * button on each tile opens the viewer above (gallery.js grid mode). Captions below the tile.
 */
.c-gallery--grid {
	--gallery-cols: 3;
	--gallery-cols-phone: 2;
}

.c-gallery--cols-1 {
	--gallery-cols: 1;
	--gallery-cols-phone: 1;
}

.c-gallery--cols-2 {
	--gallery-cols: 2;
}

.c-gallery--cols-4 {
	--gallery-cols: 4;
}

.c-gallery--cols-5 {
	--gallery-cols: 5;
}

.c-gallery--cols-6 {
	--gallery-cols: 6;
}

.c-gallery--cols-7 {
	--gallery-cols: 7;
}

.c-gallery--cols-8 {
	--gallery-cols: 8;
}

.c-gallery__grid {
	display: grid;
	grid-template-columns: repeat(var(--gallery-cols-phone), minmax(0, 1fr));
	align-items: start;
	gap: var(--space-2);

	@media (width >= 36em) {
		grid-template-columns: repeat(var(--gallery-cols), minmax(0, 1fr));
		gap: var(--space-3);
	}
}

.c-gallery__tile {
	position: relative;
	display: flex;
	flex-direction: column;
	gap: var(--space-1);
	min-width: 0;
	margin: 0;
}

.c-gallery__tile-image {
	display: block;
	width: 100%;
	height: auto;
	background-color: var(--color-surface-2);
	border-radius: var(--radius-md);
}

.c-gallery--cropped .c-gallery__tile-image {
	aspect-ratio: 4 / 3;
	object-fit: cover;
}

.c-gallery__tile-open {
	position: absolute;
	inset: 0;
	padding: 0;
	cursor: zoom-in;
	background: transparent;
	border: 0;
	border-radius: var(--radius-md);

	&:hover {
		box-shadow: inset 0 0 0 2px var(--color-primary);
	}

	&:focus-visible {
		outline: var(--focus-width) solid var(--color-focus);
		outline-offset: var(--focus-offset);
	}
}

.c-gallery__tile-caption {
	font-size: var(--text-xs);
	color: var(--color-text-secondary);
}
}
/* src: assets/components/hours/hours.css */
@layer components {
/*
 * Hours: opening hours of the resort lifts.
 * .c-hours > dl.__list > div.__item (dt.__day with the clock __icon, dd.__time) + p.__note (source of the data).
 * One tile per day group; tiles wrap in an auto-fill grid.
 * Neumorphism: the tiles are raised (small pair).
 */
.c-hours {
	display: grid;
	gap: var(--space-3);
}

.c-hours__list {
	display: grid;
	grid-template-columns: repeat(auto-fill, minmax(min(100%, 13rem), 1fr));
	gap: var(--space-2);
}

.c-hours__item {
	display: grid;
	gap: var(--space-1);
	padding: var(--space-4);
	background-color: var(--neu-plane);
	border-radius: var(--radius-md);
	box-shadow: var(--neu-raise-sm);
}

.c-hours__day {
	display: flex;
	gap: var(--space-2);
	align-items: center;
	font-size: var(--text-sm);
	color: var(--color-text-secondary);
}

.c-hours__icon {
	color: var(--color-primary-text);
}

.c-hours__time {
	font-size: var(--text-xl);
	font-weight: var(--weight-heavy);
	font-variant-numeric: tabular-nums;
	letter-spacing: var(--tracking-tight);
}

.c-hours__note {
	font-size: var(--text-xs);
	color: var(--color-text-secondary);
}
}
/* src: assets/components/image-credit/image-credit.css */
@layer components {
/*
 * Image credit: «©» button in the bottom-right corner of a photo (__item: __button + __popover with __title, __list of
 * __row (__term, __value), __note, __claim). Placed by image-credit.js through --image-credit-right / -bottom;
 * __host = position context added to a static host, __frame = wrapper of a photo link. The popover shows on hover
 * (pointer devices) and while .is-open (click / keyboard).
 * Neumorphism: it sits on a photo, so no neumorphic pair: the button is a scrim disc, the popover takes --shadow-drop.
 */
.c-image-credit__host {
	position: relative;
}

.c-image-credit__frame {
	position: relative;
	display: grid;
}

.c-image-credit__item {
	position: absolute;
	right: calc(var(--image-credit-right, 0px) + var(--space-2));
	bottom: calc(var(--image-credit-bottom, 0px) + var(--space-2));
	z-index: var(--z-overlay);
}

.c-image-credit__button {
	display: inline-grid;
	place-items: center;
	width: 2rem;
	height: 2rem;
	font-size: var(--text-sm);
	font-weight: var(--weight-bold);
	line-height: 1;
	color: var(--color-on-media);
	background-color: var(--color-media-scrim);
	border: var(--border-width) solid var(--color-on-media-line);
	border-radius: 50%;
	cursor: pointer;
	transition: var(--transition-colors), transform var(--duration-fast) ease;

	&:hover,
	&[aria-expanded="true"] {
		background-color: var(--color-dark);
		transform: scale(1.08);
	}

	&:focus-visible {
		outline: var(--focus-width) solid var(--color-focus);
		outline-offset: var(--focus-offset);
	}
}

.c-image-credit__popover {
	position: absolute;
	right: 0;
	bottom: calc(100% + var(--space-2));
	display: flex;
	flex-direction: column;
	gap: var(--space-2);
	width: max-content;
	max-width: min(18rem, calc(100vw - var(--space-12)));
	padding: var(--space-3) var(--space-4);
	font-size: var(--text-xs);
	line-height: var(--leading-snug);
	color: var(--color-text);
	text-align: left;
	visibility: hidden;
	background-color: var(--color-surface);
	border: 0;
	border-radius: var(--radius-md);
	box-shadow: var(--shadow-drop);
	opacity: 0;
	transform: translateY(0.25rem);
	transition: opacity var(--duration-fast) ease, transform var(--duration-fast) ease;
}

.c-image-credit__item.is-open .c-image-credit__popover {
	visibility: visible;
	opacity: 1;
	transform: none;
}

@media (hover: hover) {
	.c-image-credit__item:hover .c-image-credit__popover {
		visibility: visible;
		opacity: 1;
		transform: none;
	}
}

.c-image-credit__title {
	font-size: var(--text-2xs);
	font-weight: var(--weight-bold);
	letter-spacing: var(--tracking-wide);
	color: var(--color-text-secondary);
	text-transform: uppercase;
}

.c-image-credit__list {
	display: grid;
	gap: var(--space-1);
}

.c-image-credit__row {
	display: flex;
	gap: var(--space-2);
}

.c-image-credit__term {
	flex: 0 0 auto;
	color: var(--color-text-secondary);

	&::after {
		content: ":";
	}
}

.c-image-credit__value {
	min-width: 0;
	font-weight: var(--weight-bold);
	overflow-wrap: anywhere;
}

.c-image-credit__note {
	color: var(--color-text-secondary);
}

.c-image-credit__link,
.c-image-credit__claim {
	color: var(--color-primary-text);
	text-decoration: underline;
	text-underline-offset: 0.18em;

	&:hover {
		color: var(--color-primary-text-hover);
	}
}

.c-image-credit__claim {
	font-weight: var(--weight-bold);
}

/* A compact card (the list view of the archives) shows no photo, so no credit for it either. */
.is-compact .c-image-credit__item {
	display: none;
}
}
/* src: assets/components/input-clear/input-clear.css */
@layer components {
/*
 * Input clear: the × button inside text fields, added by input-clear.js (span.c-input-clear > input + button).
 * The wrapper takes the field's place; the field gets right padding only while enhanced (no-JS fields unchanged).
 * Hit area 44px on touch, 40 x 32px on hover-capable devices. --number hides the number spinners.
 * Neumorphism: the field is an inset well, so the × is flat — a small round chip of the flat tone (--neu-flat),
 * darker on hover, pressed = inset.
 */
.c-input-clear {
	--input-clear-size: 2.75rem;
	--input-clear-hit-height: 2.75rem;

	position: relative;
	display: block;
	flex: 1 1 auto;
	width: 100%;
	min-width: 0;

	@media (hover: hover) {
		--input-clear-size: 2.5rem;
		--input-clear-hit-height: 2rem;
	}
}

.c-input-clear__input {
	display: block;
	padding-right: var(--input-clear-size);

	&::-webkit-search-cancel-button {
		appearance: none;
	}
}

.c-input-clear__input:read-only + .c-input-clear__button {
	display: none;
}

.c-input-clear--number .c-input-clear__input {
	appearance: textfield;
}

.c-input-clear--number .c-input-clear__input::-webkit-inner-spin-button,
.c-input-clear--number .c-input-clear__input::-webkit-outer-spin-button {
	margin: 0;
	appearance: none;
}

.c-input-clear__button {
	position: absolute;
	top: 50%;
	right: 0;
	display: inline-flex;
	align-items: center;
	justify-content: center;
	width: var(--input-clear-size);
	height: 100%;
	min-height: var(--input-clear-hit-height);
	color: var(--color-text-secondary);
	border-radius: var(--radius-pill);
	transform: translateY(-50%);

	&:hover {
		color: var(--color-text);
	}

	&:hover .c-input-clear__icon {
		background-color: var(--color-surface-3);
	}

	&:active .c-input-clear__icon {
		box-shadow: var(--shadow-inset-sm);
	}

	&:focus-visible {
		outline: 2px solid var(--color-focus);
		outline-offset: -4px;
	}
}

.c-input-clear__icon {
	box-sizing: content-box;
	width: 0.75rem;
	height: 0.75rem;
	padding: 0.3125rem;
	background-color: var(--neu-flat);
	border-radius: 50%;
	pointer-events: none;
	transition: var(--transition-colors), box-shadow var(--duration-fast) ease;
}
}
/* src: assets/components/lifts/lifts.css */
@layer components {
/*
 * Lifts: the resort's lifts by type, one panel split by hairlines.
 * ul.c-lifts > li.__item (style="--share: N%" = share of the whole lift park): __icon tile with the type glyph,
 * __count, __type, __bar (share as a filled track) and the __share caption. Two columns from a 17em panel,
 * four in a wide panel (container 45em+).
 * Neumorphism: the panel is raised (the hairlines stay as dividers), the share bars are inset tracks.
 */
.c-lifts {
	--lifts-fill: var(--color-primary);
	--lifts-track: transparent;
	--lifts-icon-size: 2.75rem;

	container-type: inline-size;
	display: grid;
	grid-template-columns: repeat(auto-fit, minmax(min(100%, 8.5rem), 1fr));
	gap: var(--border-width);
	overflow: hidden;
	background-color: var(--color-border);
	border-radius: var(--radius-lg);
	box-shadow: var(--neu-raise);

	/* One neumorphic level: the content of the raised box is flat or inset. */
	& > * {
		--neu-raise: none;
		--neu-raise-sm: none;
		--neu-control-bg: var(--neu-flat);
	}
}

.c-lifts__item {
	display: grid;
	grid-template-areas:
		"icon count"
		"icon type"
		"bar bar"
		"share share";
	grid-template-columns: auto minmax(0, 1fr);
	gap: var(--space-1) var(--space-3);
	align-content: start;
	padding: var(--space-4);
	background-color: var(--neu-plane);

	@container (width >= 30em) {
		--lifts-icon-size: 3.25rem;

		padding: var(--space-5);
	}
}

.c-lifts__icon {
	grid-area: icon;
	display: grid;
	place-items: center;
	align-self: center;
	width: var(--lifts-icon-size);
	height: var(--lifts-icon-size);
	font-size: calc(var(--lifts-icon-size) * 0.55);
	color: var(--icon-tile-text);
	background-color: var(--icon-tile-fill);
	background-image: var(--icon-tile-bg);
	border-radius: var(--icon-tile-radius);
	box-shadow: var(--icon-tile-shadow);
}

.c-lifts__glyph {
	width: 1em;
	height: 1em;
}

.c-lifts__count {
	grid-area: count;
	align-self: end;
	font-size: var(--text-2xl);
	font-weight: var(--weight-heavy);
	line-height: 1;
	letter-spacing: var(--tracking-tight);
}

.c-lifts__type {
	grid-area: type;
	align-self: start;
	min-width: 0;
	font-size: var(--text-sm);
	color: var(--color-text-secondary);
	overflow-wrap: anywhere;
}

.c-lifts__bar {
	grid-area: bar;
	display: block;
	height: 0.375rem;
	margin-top: var(--space-3);
	background: linear-gradient(var(--lifts-fill), var(--lifts-fill)) no-repeat 0 0 / var(--share, 0%) 100%, var(--lifts-track);
	border-radius: var(--radius-pill);
	box-shadow: var(--shadow-inset-sm);
}

.c-lifts__share {
	grid-area: share;
	font-size: var(--text-xs);
	color: var(--color-text-secondary);
}
}
/* src: assets/components/like-button/like-button.css */
@layer components {
/*
 * Like button: "Была ли статья полезной?" with "полезно / не полезно" toggle buttons and their counters: the title at
 * the start, the buttons at the end (under the title when they do not fit), 44px as the other controls of the row.
 * The buttons are secondary buttons (c-button c-button--secondary); pressed = inset + primary text.
 */
.c-like-button {
	display: flex;
	flex-wrap: wrap;
	gap: var(--space-3) var(--space-4);
	align-items: center;
	justify-content: space-between;
}

/* The same label as the other rows of the page actions panel (s-entry__footer-label, c-share__label). */
.c-like-button__title {
	font-size: var(--text-base);
	font-weight: var(--weight-semibold);
	line-height: var(--leading-snug);
	color: var(--color-text);
}

.c-like-button__actions {
	display: flex;
	gap: var(--space-2);
}

/* The look is the secondary button (markup: c-button c-button--secondary c-like-button__button, round 20); here only
   the room for the counter and the pressed state (inset, primary text). */
.c-like-button__button {
	min-width: 4.5rem;

	&[aria-pressed="true"] {
		--button-text: var(--color-primary-text);
		--button-shadow: var(--shadow-inset-sm);
	}
}

.c-like-button__count {
	font-variant-numeric: tabular-nums;
}
}
/* src: assets/components/link-arrow/link-arrow.css */
@layer components {
/*
 * Link with an arrow: "Все курорты →", "Подробнее →", "Все тарифы →". Bold small text in the link colour; on hover
 * the arrow sways to the end and back (c-icon--arrow, icon.css). A hidden suffix (u-visually-hidden) may complete the link text for screen readers.
 * The link gets a small padding so the target is at least 24px high; holders keep their alignment.
 */
.c-link-arrow {
	display: inline-flex;
	align-items: center;
	gap: var(--space-1);
	min-height: 2rem;
	padding-block: var(--space-1);
	font-size: var(--text-sm);
	font-weight: var(--weight-bold);
	color: var(--color-primary-text);
	text-decoration: none;
	white-space: nowrap;
	transition: var(--transition-colors);

	&:hover {
		color: var(--color-primary-text-hover);
	}

	&:focus-visible {
		border-radius: var(--radius-xs);
		outline: var(--focus-width) solid var(--color-focus);
		outline-offset: var(--focus-offset);
	}
}

/* The arrow sways to the end and back while hovered (c-icon--arrow, icon.css). */
.c-link-arrow__icon {
	width: 1.1em;
	height: 1.1em;
}
}
/* src: assets/components/location/location.css */
@layer components {
/*
 * Location: the place on a map (resort, transport page, region map page).
 * .c-location (data-component="location") > __map (region; until the visitor clicks «Показать карту» it holds the
 * __placeholder: icon, note, load button shown by JS, link to the map service; spec 10: no request to the map service
 * before the click) + __point (navigator coordinates: __coords > __coords-label, __coords-row > __coords-value + the
 * c-copy button «Копировать» at the right end; under a hairline __services > __services-title «Открыть на картах» +
 * __links: map service buttons of one size filling the row) + optional c-places list. States of __map: .is-ready (map drawn), .is-failed (__error text).
 * Neumorphism: the map is an inset well with the placeholder raised in it; the point box is raised.
 */
.c-location {
	--location-dot: var(--color-border-strong);
	--location-map-height: clamp(18rem, 40vw + 8rem, 28rem);

	display: grid;
	gap: var(--space-4);
}

.c-location__map {
	display: grid;
	place-items: center;
	min-height: var(--location-map-height);
	overflow: hidden;
	background-color: transparent;
	background-image: radial-gradient(var(--location-dot) 1px, transparent 1.5px);
	background-size: 1.25rem 1.25rem;
	border-radius: var(--radius-lg);
	box-shadow: var(--shadow-inset);

	&.is-ready {
		display: block;
		height: var(--location-map-height);
		background-image: none;
	}

	&:focus-visible {
		outline: var(--focus-width) solid var(--color-focus);
		outline-offset: var(--focus-offset);
	}
}

.c-location__placeholder {
	display: grid;
	gap: var(--space-3);
	justify-items: center;
	max-width: 26rem;
	padding: var(--space-6) var(--space-5);
	margin: var(--space-4);
	text-align: center;
	background-color: var(--neu-plane);
	border-radius: var(--radius-lg);
	box-shadow: var(--neu-raise);

	/* One neumorphic level: the content of the raised box is flat or inset. */
	& > * {
		--neu-raise: none;
		--neu-raise-sm: none;
		--neu-control-bg: var(--neu-flat);
	}
}

.c-location__placeholder-icon {
	display: grid;
	place-items: center;
	width: 3.5rem;
	height: 3.5rem;
	font-size: 1.5rem;
	color: var(--color-primary-text);
	background-color: var(--color-primary-soft);
	border-radius: var(--radius-pill);
}

.c-location__note {
	font-size: var(--text-sm);
	color: var(--color-text-secondary);
}

.c-location__service {
	display: inline-flex;
	gap: var(--space-1);
	align-items: center;
	min-height: 2rem;
	font-size: var(--text-sm);
	font-weight: var(--weight-semibold);
	color: var(--color-primary-text);
	text-decoration: underline;
	text-underline-offset: 0.2em;
	transition: var(--transition-colors);

	&:hover {
		color: var(--color-primary-text-hover);
	}

	&:focus-visible {
		outline: var(--focus-width) solid var(--color-focus);
		outline-offset: var(--focus-offset);
		border-radius: var(--radius-xs);
	}
}

.c-location__error {
	padding: var(--space-5);
	font-weight: var(--weight-semibold);
	text-align: center;
}

.c-location__point {
	display: grid;
	gap: var(--space-4);
	padding: var(--space-5);
	background-color: var(--neu-plane);
	border-radius: var(--radius-lg);
	box-shadow: var(--neu-raise);

	/* One neumorphic level: the content of the raised box is flat or inset. */
	& > * {
		--neu-raise: none;
		--neu-raise-sm: none;
		--neu-control-bg: var(--neu-flat);
	}
}

.c-location__coords {
	display: grid;
	gap: var(--space-1);
}

.c-location__coords-label {
	font-size: var(--text-xs);
	color: var(--color-text-secondary);
}

/* The value on the left, «Копировать» at the right end (under the value when the row is too narrow). */
.c-location__coords-row {
	display: flex;
	flex-wrap: wrap;
	gap: var(--space-2) var(--space-3);
	align-items: center;
	justify-content: space-between;
}

.c-location__coords-value {
	display: inline-flex;
	gap: var(--space-2);
	align-items: center;
	font-size: var(--text-lg);
	font-weight: var(--weight-heavy);
	font-variant-numeric: tabular-nums;
	color: var(--color-text);
	user-select: all;
}

/* Map services: a heading and one row of equal-height buttons that fill the width (rows wrap evenly). */
.c-location__services {
	display: grid;
	gap: var(--space-3);
	padding-block-start: var(--space-4);
	border-block-start: var(--border-width) solid var(--color-border);
}

.c-location__services-title {
	font-size: var(--text-xs);
	font-weight: var(--weight-semibold);
	letter-spacing: var(--tracking-wide);
	color: var(--color-text-secondary);
	text-transform: uppercase;
}

.c-location__links {
	display: flex;
	flex-wrap: wrap;
	gap: var(--space-2);

	& > li {
		display: flex;
		flex: 1 1 11rem;
	}

	& > li > * {
		justify-content: center;
		width: 100%;
	}
}

/* The list of map services is printed under the map: the service link of the placeholder repeated its first item
   (round 22, «Открыть в Яндекс Картах» twice). */
.c-location:has(.c-location__links) .c-location__placeholder .c-location__service {
	display: none;
}

/* TASK-0458: lazy iframe of the embeddable region map on region term pages (region-section.php), 480 / 600 px. */
.c-location-frame {
	display: block;
	inline-size: 100%;
	block-size: 30rem;
	border: 0;
	border-radius: var(--radius-lg);
	box-shadow: var(--shadow-inset);

	@media (width >= 48em) {
		block-size: 37.5rem;
	}
}

/* REQ-0086 / TASK-0539: region page card - the frame and the «Вставить как iframe» chip on its bottom-end corner. */
.c-location-embed {
	position: relative;
	border-radius: var(--radius-lg);
	box-shadow: var(--shadow-inset);
}

/* Map pages: a wrapper (only when the chip is printed) so the chip and its popover sit outside the map overflow clip. */
.c-location__stage {
	position: relative;
}

/* Bare document of the embed route /map/{slug}/embed/ (embed-document.php): the map fills the frame (one row); the credit
   is a badge chip over the map top-start corner (REQ-0086; Yandex zoom control sits lower on the left, fullscreen top-end). */
.c-map-embed {
	margin: 0;
	background-color: var(--color-bg);
}

.c-map-embed__main {
	position: relative;
	display: grid;
	grid-template-rows: 1fr;
	min-block-size: 100vh;
	min-block-size: 100dvh;
	padding: 0;
	box-sizing: border-box;
}

.c-location--embed {
	--location-map-height: 100%;

	min-block-size: 0;

	& .c-location__map {
		block-size: 100%;
		min-height: 14rem;
		border-radius: 0;
		box-shadow: none;
	}
}

.c-map-embed__credit {
	position: absolute;
	inset-block-start: var(--space-3);
	inset-inline-start: var(--space-3);
	z-index: var(--z-raised);
	margin: 0;
}

.c-map-embed__credit a {
	display: inline-flex;
	align-items: center;
	padding: var(--space-1) var(--space-3);
	font-size: var(--text-xs);
	font-weight: var(--weight-medium);
	line-height: var(--leading-tight);
	color: var(--color-text-secondary);
	text-decoration: none;
	white-space: nowrap;
	background-color: var(--color-surface);
	border-radius: var(--radius-pill);
	box-shadow: var(--shadow-sm);
	transition: var(--transition-colors);

	&:hover {
		color: var(--color-primary-text);
	}

	&:focus-visible {
		outline: var(--focus-width) solid var(--color-focus);
		outline-offset: var(--focus-offset);
	}
}
}
/* src: assets/components/logo/logo.css */
@layer components {
/*
 * Component logo: mark + site name + tagline, one link to the front page. The colour comes from the context (inherit);
 * placement, colour and its states are set by the component that holds the logo through its own element class on the
 * logo root (BEM mix, e.g. .c-site-footer__logo). Markup: template-parts/components/logo.php.
 * Modifier --compact (site header, R-6b): the tagline only from 36em; in a narrow query container (the header row,
 * below 20em) the name is one step smaller. Without the modifier nothing changes (footer).
 */
.c-logo {
	--logo-gap: 10px;
	--logo-tracking: -0.02em;
	--logo-mark-size: 36px;
	--logo-mark-radius: 10px;
	--logo-icon-size: 22px;
	--logo-tagline-size: var(--text-2xs);
	--logo-tagline-tracking: 0.08em;
	--logo-tagline-opacity: 0.7;

	display: inline-flex;
	align-items: center;
	gap: var(--logo-gap);
	color: inherit;
	font-size: var(--text-lg);
	font-weight: 800;
	letter-spacing: var(--logo-tracking);
	white-space: nowrap;
}

.c-logo__mark {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	width: var(--logo-mark-size);
	height: var(--logo-mark-size);
	color: var(--color-on-primary);
	background-color: var(--color-primary);
	border-radius: var(--logo-mark-radius);
}

.c-logo__icon {
	width: var(--logo-icon-size);
	height: var(--logo-icon-size);
}

.c-logo__tagline {
	display: block;
	font-size: var(--logo-tagline-size);
	font-weight: 600;
	letter-spacing: var(--logo-tagline-tracking);
	text-transform: uppercase;
	opacity: var(--logo-tagline-opacity);
}

.c-logo--compact {
	font-size: var(--text-md);

	@container (width >= 20em) {
		font-size: var(--text-lg);
	}
}

/* The holder may drop the name in a crowded row (--logo-compact-text: none; the link keeps its aria-label). */
.c-logo--compact .c-logo__text {
	display: var(--logo-compact-text, inline);
}

.c-logo--compact .c-logo__tagline {
	display: none;

	@media (width >= 36em) {
		display: block;
	}
}
}
/* src: assets/components/marathon-card/marathon-card.css */
@layer components {
/*
 * Marathon card (redesign 2026-11-09): a c-card like the others — the media area with the labels, the favourite button
 * and the date tile; distances and the fee are labelled meta facts (c-card__meta). Here: the drawn cover of a marathon
 * without a photo — __art in the media link: the brand gradient, ski tracks (__tracks) and the skier of the site menu
 * (__skier). Decorative (the media link is aria-hidden); the date tile and the labels stay readable on it.
 * Facts (2026-11-09): dl.__facts — a two-column list (icon + label | value) in the style of the card meta (the icon
 * in the primary colour, the label bold, the value secondary), no lines; the values start on one
 * line, the distances one per line (__fact-line), the fee bold in the second accent (__price).
 */
.c-marathon-card__art {
	position: relative;
	display: grid;
	place-items: center;
	width: 100%;
	height: 100%;
	min-height: inherit;
	overflow: hidden;
	color: var(--color-on-primary);
	background-image:
		radial-gradient(120% 90% at 85% 10%, color-mix(in srgb, var(--color-on-primary) 22%, transparent), transparent 60%),
		linear-gradient(145deg, var(--color-primary), var(--color-primary-hover));
}

.c-marathon-card__tracks {
	position: absolute;
	inset: 0;
	width: 100%;
	height: 100%;
	fill: none;
	stroke: currentcolor;
	stroke-width: 2;
	stroke-dasharray: 10 8;
	opacity: 0.28;
}

.c-marathon-card__skier {
	--icon-size: clamp(3rem, 22cqi, 4.5rem);

	position: relative;
	opacity: 0.9;
	transition: transform var(--duration-gentle) var(--easing-gentle);
}

@media (prefers-reduced-motion: no-preference) {
	.c-marathon-card:hover .c-marathon-card__skier {
		transform: translateX(0.5rem);
	}
}

/* ------------------------------------------------------------------ facts */

/* Two columns for the whole list (rows are subgrids): the icon + label column as wide as the longest label, the values
   on one vertical line; a long value wraps under itself, the distances one per line; no lines between the rows (like
   the meta of the other cards). */
.c-marathon-card__facts {
	display: grid;
	grid-template-columns: auto minmax(0, 1fr);
	align-content: start;
	align-self: start;
	gap: var(--space-1) var(--space-3);
	margin-block-end: 0; /* the top margin is the gap of the card body */
	font-size: var(--text-sm);
	line-height: var(--leading-snug);
}

.c-marathon-card__fact {
	display: grid;
	grid-template-columns: subgrid;
	grid-column: 1 / -1;
	align-items: start;
}

.c-marathon-card__fact-term {
	display: flex;
	gap: var(--space-1);
	align-items: center;
	font-weight: var(--weight-bold);
	color: var(--color-text);
	white-space: nowrap;
}

.c-marathon-card__fact-icon {
	flex: none;
	width: 1.05em;
	height: 1.05em;
	color: var(--color-primary-text);
	stroke-width: 2;
}

.c-marathon-card__fact-value {
	min-width: 0;
	margin: 0;
	color: var(--color-text-secondary);
	overflow-wrap: break-word;
}

.c-marathon-card__fact-line {
	display: block;
}

.c-marathon-card__price {
	font-weight: var(--weight-heavy);
	color: var(--color-secondary-text); /* prices: the second accent */
	white-space: nowrap;
}
}
/* src: assets/components/marathon-single/marathon-single.css */
@layer components {
/*
 * Marathon single: the body of a marathon page (root on .s-entry__body) — notes in table cells, source line under a
 * table, the schedule list and the FAQ accordion (details / summary). Tables themselves are c-table.
 * Neumorphism: the schedule and the FAQ are raised boxes (no frame), their rows split by hairlines.
 */
.c-marathon-single__table {
	font-size: var(--text-sm);
}

.c-marathon-single__note {
	display: block;
	font-size: var(--text-xs);
	color: var(--color-text-secondary);
}

.c-marathon-single__fx {
	font-size: var(--text-sm);
	color: var(--color-text-secondary);
}

.c-marathon-single__schedule {
	display: flex;
	flex-direction: column;
	overflow: hidden;
	background-color: var(--neu-plane);
	border-radius: var(--radius-lg);
	box-shadow: var(--neu-raise);
}

.c-marathon-single__schedule-row {
	display: grid;
	gap: var(--space-1) var(--space-4);
	padding: var(--space-3) var(--space-5);

	& + & {
		border-top: var(--border-width) solid var(--color-border);
	}

	@media (width >= 36em) {
		grid-template-columns: minmax(8rem, auto) minmax(0, 1fr);
	}
}

.c-marathon-single__schedule-term {
	font-weight: var(--weight-bold);
}

.c-marathon-single__links {
	display: flex;
	flex-direction: column;
	gap: var(--space-2);
	padding: 0;
	list-style: none;
}

.c-marathon-single__link {
	display: inline-block;
	min-height: 1.5rem;
}

.c-marathon-single__faq {
	display: flex;
	flex-direction: column;
	background-color: var(--neu-plane);
	border-radius: var(--radius-lg);
	box-shadow: var(--neu-raise);

	/* One neumorphic level: the content of the raised box is flat or inset. */
	& > * {
		--neu-raise: none;
		--neu-raise-sm: none;
		--neu-control-bg: var(--neu-flat);
	}
}

.c-marathon-single__faq-item {
	& + & {
		border-top: var(--border-width) solid var(--color-border);
	}
}

.c-marathon-single__faq-question {
	display: flex;
	gap: var(--space-3);
	align-items: center;
	justify-content: space-between;
	min-height: 2.75rem;
	padding: var(--space-3) var(--space-5);
	font-weight: var(--weight-bold);
	list-style: none;
	cursor: pointer;
	border-radius: var(--radius-lg);
	transition: var(--transition-colors);

	&::-webkit-details-marker {
		display: none;
	}

	&:hover {
		color: var(--color-primary-text);
	}
}

.c-marathon-single__faq-icon {
	color: var(--color-text-subtle);
	transition: transform var(--duration-base) var(--easing-out);
}

.c-marathon-single__faq-item[open] .c-marathon-single__faq-icon {
	transform: rotate(180deg);
}

.c-marathon-single__faq-answer {
	padding: 0 var(--space-5) var(--space-4);
	color: var(--color-text-secondary);
}
}
/* src: assets/components/mobile-menu/mobile-menu.css */
@layer components {
/*
 * Component mobile-menu: off-canvas panel below the header (narrow screens only): search form, navigation list with
 * section icons, account / login buttons at the bottom. Shown while open (hidden attribute, mobile-menu.js); never from
 * 62em (the module also closes it there). The search form is the shared search-form component (search-form.css, R-6c);
 * this file only places it (.c-mobile-menu__search on its root). The footer buttons are the shared button component
 * (c-button --block); __count = number badge of the favorites link (mobile-menu.js keeps it in step).
 * Neumorphism: the panel is a plane of its own (no shadow, it covers the screen): its buttons stay raised, the field
 * inset, the navigation links flat with an inset-sm on hover.
 */
.c-mobile-menu {
	--mobile-menu-list-gap: 4px;
	--mobile-menu-link-gap: 12px;
	--mobile-menu-link-padding: 12px 10px;
	--mobile-menu-link-size: 1.0625rem;
	--mobile-menu-icon-size: 22px;
	--mobile-menu-footer-gap: 10px;
	--mobile-menu-badge-gap: 2px;
	--mobile-menu-shift: -8px;

	position: fixed;
	inset: var(--header-height) 0 0 0;
	z-index: var(--z-mobile-menu);
	display: flex;
	flex-direction: column;
	padding: var(--space-4) var(--gutter) var(--space-8);
	overflow-y: auto;
	color: var(--color-text);
	background-color: var(--neu-plane);
	animation-name: c-mobile-menu-in;
	animation-duration: var(--duration-base);
	animation-timing-function: var(--easing-out);

	&[hidden] {
		display: none;
	}

	@media (width >= 62em) {
		display: none;
	}
}

.c-mobile-menu__search {
	margin-bottom: var(--space-4);
}

.c-mobile-menu__nav,
.c-mobile-menu__list {
	display: grid;
	gap: var(--mobile-menu-list-gap);
}

.c-mobile-menu__link {
	display: flex;
	align-items: center;
	gap: var(--mobile-menu-link-gap);
	padding: var(--mobile-menu-link-padding);
	color: var(--color-text);
	font-size: var(--mobile-menu-link-size);
	font-weight: 700;
	border-radius: var(--radius-md);
	transition: color var(--duration-fast) ease, box-shadow var(--duration-fast) ease;

	&:hover {
		color: var(--color-primary-text);
		box-shadow: var(--shadow-inset-sm);
	}
}

.c-mobile-menu__icon {
	width: var(--mobile-menu-icon-size);
	height: var(--mobile-menu-icon-size);
	color: var(--color-primary-text);
}

.c-mobile-menu__footer {
	display: grid;
	gap: var(--mobile-menu-footer-gap);
	margin-top: auto;
	padding-top: var(--space-6);
}

.c-mobile-menu__count {
	display: inline-grid;
	place-items: center;
	min-width: 1.25rem;
	height: 1.25rem;
	margin-left: var(--mobile-menu-badge-gap);
	padding-inline: var(--space-1);
	font-size: var(--text-2xs);
	font-weight: var(--weight-bold);
	line-height: 1;
	color: var(--color-on-primary);
	background-color: var(--color-primary);
	border-radius: var(--radius-pill);
}

@keyframes c-mobile-menu-in {
	from {
		opacity: 0;
		transform: translateY(var(--mobile-menu-shift));
	}

	to {
		opacity: 1;
		transform: none;
	}
}
}
/* src: assets/components/modal/modal.css */
@layer components {
/*
 * Modal: native <dialog> window. Phones: bottom sheet; from 36em: centred card (--lg wider).
 * Parts: __header (__heading: __title + __subtitle, __close ×), __body (scrolls), __footer;
 * __success (confirmation panel after a sent form, also used next to inline forms) with __success-title.
 * Neumorphism: a floating layer over the dark backdrop (--shadow-drop: a light pair would glow); it clears the --neu
 * context, so its content is flat or inset.
 */
.c-modal {
	--modal-width: 35rem;
	--modal-radius: var(--radius-xl);
	--modal-padding: var(--space-5);

	width: 100%;
	max-width: 100%;
	max-height: calc(100dvh - var(--space-8));
	margin: auto 0 0;
	padding: 0;
	overflow: hidden;
	color: var(--color-text);
	background-color: var(--color-surface);
	border: 0;
	border-radius: var(--modal-radius) var(--modal-radius) 0 0;
	box-shadow: var(--shadow-drop);

	/* One neumorphic level: the content of the floating layer is flat or inset. */
	& > * {
		--neu-raise: none;
		--neu-raise-sm: none;
		--neu-control-bg: var(--neu-flat);
	}

	&[open] {
		display: flex;
		flex-direction: column;
		animation: c-modal-in var(--duration-slow) var(--easing-out);
	}

	&::backdrop {
		background-color: var(--color-backdrop);
	}

	@media (width >= 36em) {
		--modal-padding: var(--space-6);

		width: calc(100% - var(--space-8));
		max-width: var(--modal-width);
		max-height: min(calc(100dvh - var(--space-8)), 54rem);
		margin: auto;
		border-radius: var(--modal-radius);
	}
}

.c-modal--lg {
	--modal-width: 60rem;
}

.c-modal__header {
	display: flex;
	flex: 0 0 auto;
	gap: var(--space-4);
	align-items: flex-start;
	justify-content: space-between;
	padding: var(--modal-padding) var(--modal-padding) 0;
}

.c-modal__heading {
	display: flex;
	flex-direction: column;
	gap: var(--space-1);
	min-width: 0;
}

.c-modal__title {
	font-size: var(--text-xl);
	font-weight: var(--weight-heavy);
	line-height: var(--leading-tight);
}

.c-modal__subtitle {
	font-size: var(--text-sm);
	color: var(--color-text-secondary);
}

.c-modal__close {
	display: inline-grid;
	flex: 0 0 auto;
	place-items: center;
	width: 2.5rem;
	height: 2.5rem;
	margin: calc(var(--space-2) * -1) calc(var(--space-2) * -1) 0 0;
	color: var(--color-text-muted);
	background-color: var(--neu-control-bg);
	border-radius: 50%;
	box-shadow: var(--neu-raise-sm);
	transition: var(--transition-colors), box-shadow var(--duration-fast) ease;

	&:hover {
		color: var(--color-primary-text);
	}

	&:active {
		box-shadow: var(--shadow-inset-sm);
	}

	&:focus-visible {
		outline: var(--focus-width) solid var(--color-focus);
	}
}

.c-modal__body {
	flex: 1 1 auto;
	min-height: 0;
	padding: var(--space-5) var(--modal-padding) var(--modal-padding);
	overflow-y: auto;
	overscroll-behavior: contain;
}

.c-modal__footer {
	display: flex;
	flex-wrap: wrap;
	gap: var(--space-3);
	align-items: center;
	justify-content: space-between;
	padding: var(--space-4) var(--modal-padding);
	border-top: var(--border-width) solid var(--color-border);
}

.c-modal__success {
	display: flex;
	flex-direction: column;
	gap: var(--space-3);
	align-items: center;
	padding: var(--space-8) var(--space-4);
	color: var(--color-success);
	text-align: center;
}

.c-modal__success-title {
	font-size: var(--text-h3);
	font-weight: var(--weight-bold);
	line-height: var(--leading-tight);
	color: var(--color-text);
}

@keyframes c-modal-in {
	from {
		opacity: 0;
		transform: translateY(1rem);
	}

	to {
		opacity: 1;
		transform: none;
	}
}
}
/* src: assets/components/page-header/page-header.css */
@layer components {
/*
 * Component page-header (shared, no JS): the page H1 with an optional subtitle at the top of archives, search, the blog
 * index, static pages and the account. Element defaults of the H1 / p (weight, line height, colour, margins) come from
 * the legacy base until R-16 (D-34 (1)). Colours from the --color-page-header-* role tokens (tokens.css). Markup:
 * template-parts/components/page-header.php (printed by rider_theme_page_header(), inc/template-tags.php). Values of the
 * legacy .page-header rules (assets/css/02-base.css 435-491; R-7a, TASK-0039).
 */
.c-page-header {
	--page-header-subtitle: var(--color-text-secondary);
	--page-header-text-max: 760px;
	--page-header-title-size: clamp(1.75rem, 3.4vw, 2.5rem);
	--page-header-subtitle-max: 62ch;

	display: flex;
	flex-wrap: wrap;
	align-items: flex-end;
	justify-content: space-between;
	gap: var(--space-3) var(--space-6);
	padding-block: var(--space-4) var(--space-5);
}

.c-page-header__text {
	min-width: 0;
	max-width: var(--page-header-text-max);
}

.c-page-header__title {
	font-size: var(--page-header-title-size);
}

.c-page-header__subtitle {
	max-width: var(--page-header-subtitle-max);
	margin: var(--space-2) 0 0;
	color: var(--page-header-subtitle);
}
}
/* src: assets/components/pagination/pagination.css */
@layer components {
/*
 * Pagination (no JS): previous link, page numbers, next link. The current page is [aria-current="page"], a previous /
 * next item without a target is a span with [aria-disabled="true"]; hover only on links (:any-link). Below 36em one
 * row: previous / next as icon buttons (labels visually hidden) and only the first, the current and the last number;
 * from 36em centred with labels.
 * Neumorphism: items are neutral raised controls (flat inside a raised box); hover = primary text; current = inset.
 */
.c-pagination {
	--pagination-gap: var(--space-2);
	--pagination-size: 2.5rem;
	--pagination-text: var(--color-text);
	--pagination-bg: var(--neu-control-bg);
	--pagination-shadow: var(--neu-raise-sm);
	--pagination-text-hover: var(--color-primary-text);
	--pagination-current-text: var(--color-primary-text);
	--pagination-current-shadow: var(--shadow-inset-sm);
	--pagination-gap-text: var(--color-text-secondary);

	display: flex;
	flex-wrap: nowrap;
	align-items: center;
	justify-content: space-between;
	gap: var(--pagination-gap);
	padding-block-start: var(--space-4);

	@media (width >= 36em) {
		flex-wrap: wrap;
		justify-content: center;
	}
}

.c-pagination__pages {
	display: flex;
	gap: var(--pagination-gap);
}

.c-pagination__item {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	gap: var(--space-2);
	min-width: var(--pagination-size);
	height: var(--pagination-size);
	padding: 0 var(--space-3);
	color: var(--pagination-text);
	font-size: var(--text-sm);
	font-weight: var(--weight-bold);
	text-decoration: none;
	background-color: var(--pagination-bg);
	border: 0;
	border-radius: var(--radius-pill);
	box-shadow: var(--pagination-shadow);
	transition: var(--transition-colors), box-shadow var(--duration-fast) ease;

	&:any-link:hover {
		color: var(--pagination-text-hover);
	}

	&:any-link:active {
		box-shadow: var(--pagination-current-shadow);
	}

	&:focus-visible {
		outline: var(--focus-width) solid var(--color-focus);
		outline-offset: var(--focus-offset);
	}

	&[aria-current="page"] {
		color: var(--pagination-current-text);
		box-shadow: var(--pagination-current-shadow);
	}

	&[aria-disabled="true"] {
		opacity: 0.45;
		pointer-events: none;
	}
}

/* Below 36em: of the numbers only the first, the last, the current one and its neighbours (so "1 3" never hides 2). */
.c-pagination__pages > .c-pagination__item:not([aria-current="page"]):not(:first-child):not(:last-child):not([aria-current="page"] + *):not(:has(+ [aria-current="page"])) {
	display: none;

	@media (width >= 36em) {
		display: inline-flex;
	}
}

.c-pagination__item--nav {
	width: var(--pagination-size);
	padding-inline: 0;

	@media (width >= 36em) {
		width: auto;
		padding-inline: var(--space-4);
	}
}

.c-pagination__icon {
	--icon-size: 1rem;
}

/* Label of previous / next: visually hidden below 36em, shown from 36em. */
.c-pagination__label {
	position: absolute;
	width: 1px;
	height: 1px;
	margin: -1px;
	padding: 0;
	overflow: hidden;
	clip: rect(0 0 0 0);
	white-space: nowrap;
	border: 0;

	@media (width >= 36em) {
		position: static;
		width: auto;
		height: auto;
		margin: 0;
		overflow: visible;
		clip: auto;
		white-space: inherit;
	}
}

.c-pagination__gap {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	min-width: var(--pagination-size);
	height: var(--pagination-size);
	color: var(--pagination-gap-text);
}
}
/* src: assets/components/phone-field/phone-field.css */
@layer components {
/*
 * Component phone-field: flag + dial code box with a transparent native <select>
 * over it, joined to the left edge of the phone input. Markup is built by phone-field.js (span.c-phone-field >
 * span.c-phone-field__picker [img flag | svg globe, code, select] + the input or its .c-input-clear wrapper); without
 * JS nothing of this exists and the select of the markup stays hidden. Focus ring on the box while the select has
 * keyboard focus. Colours from the input tokens (dark theme via the aliased tokens).
 *
 * Neumorphism: the picker is inset like the input next to it (transparent, no frame), the pair reads as one field.
 *
 * Settings: --phone-field-flag (flag size), --phone-field-gap, --phone-field-padding-inline.
 */
.c-phone-field {
	--phone-field-flag: 22px;
	--phone-field-gap: 6px;
	--phone-field-padding-inline: 14px;

	display: flex;
	align-items: stretch;
	width: 100%;
	min-width: 0;
	container-type: inline-size;
}

/* The phone input (or the input-clear wrapper around it) takes the rest of the row. */
.c-phone-field__input {
	flex: 1 1 auto;
	min-width: 0;
}

.c-phone-field.is-active .c-phone-field__input {
	border-start-start-radius: 0;
	border-end-start-radius: 0;
}

.c-phone-field__picker {
	position: relative;
	display: inline-flex;
	flex: 0 0 auto;
	gap: var(--phone-field-gap);
	align-items: center;
	padding-inline: var(--phone-field-padding-inline);
	color: var(--color-text);
	font-size: var(--text-md);
	font-variant-numeric: tabular-nums;
	white-space: nowrap;
	background: transparent;
	border: var(--border-width) solid transparent;
	border-inline-end: 0;
	border-start-start-radius: var(--radius-pill);
	border-end-start-radius: var(--radius-pill);
	box-shadow: var(--shadow-inset);

	&[hidden] {
		display: none;
	}

	&::after {
		width: 7px;
		height: 7px;
		margin-inline-start: 2px;
		border-block-end: 2px solid var(--color-text-muted);
		border-inline-end: 2px solid var(--color-text-muted);
		transform: translateY(-2px) rotate(45deg);
		content: "";
	}

	&:has(.c-phone-field__select:focus-visible) {
		outline: var(--focus-width) solid var(--color-focus);
		outline-offset: var(--focus-offset);
	}
}

.c-phone-field__flag,
.c-phone-field__globe {
	flex: 0 0 auto;
	width: var(--phone-field-flag);
	height: var(--phone-field-flag);

	&[hidden] {
		display: none;
	}
}

.c-phone-field__globe {
	fill: none;
	stroke: currentcolor;
	stroke-width: 1.6;
	stroke-linecap: round;
	stroke-linejoin: round;
}

.c-phone-field__select {
	position: absolute;
	inset: 0;
	width: 100%;
	height: 100%;
	font-size: 16px;
	cursor: pointer;
	opacity: 0;
	appearance: none;
}

/*
 * Narrow field (TASK-0273, T254-F1): below 20em of field width (spec 03 container threshold) the dial code is hidden and
 * the picker is tightened so the typed `+code number` plus the 44px × area still fit the input. Flag, chevron and the
 * native select (accessible name, focus ring) stay; the typed number keeps its +code. Wider fields are unchanged.
 */
@container (inline-size < 20em) {
	.c-phone-field__picker {
		--phone-field-gap: 4px;
		--phone-field-padding-inline: 6px;
	}

	.c-phone-field__code {
		display: none;
	}
}
}
/* src: assets/components/places/places.css */
@layer components {
/*
 * Places: the places shown on a map with their coordinates (resort: neighbours; region map page: every resort).
 * .c-places > ul.__list (--columns = dense multi-column list of a long region) > li.__item (.is-current = this
 * resort: __name with aria-current, else __link) + __coords. A long list has data-component="places" and a filter
 * (__filter: c-field search input + __status, shown only with JS). Grouped (--groups, the /transfers/ and /rent/ hubs,
 * TASK-0457): __groups > section.__group (__group-title = the country) > ul.__list--columns.
 * Neumorphism: place tiles and letter buttons are raised (small pair); the current place and the pressed letter are
 * inset; the dense --columns list is flat rows with hairlines.
 * Tiles (redesign 2026-11-09, the short list of a resort): __icon (the pin in an icon tile) + __text (the name / link,
 * __line: «Вы здесь» (__here) or the distance from the current place (__distance) and the coordinates) + __arrow; the
 * whole tile is the link (stretched ::after). The --columns list: rows aligned to the top, a soft hover plate.
 */
.c-places {
	display: grid;
	grid-template-columns: minmax(0, 1fr);
	gap: var(--space-4);
	min-width: 0;
}

.c-places__filter {
	display: grid;
	gap: var(--space-2);
	align-items: end;

	@media (width >= 48em) {
		grid-template-columns: minmax(0, 24rem) auto;
		gap: var(--space-5);
	}
}

.c-places__status {
	font-size: var(--text-sm);
	color: var(--color-text-secondary);

	@media (width >= 48em) {
		padding-bottom: var(--space-3);
	}
}

.c-places__list {
	display: grid;
	grid-template-columns: repeat(auto-fill, minmax(min(100%, 16rem), 1fr));
	gap: var(--space-3);
	padding: 0;
	list-style: none;
}

/* The short list of a resort (2026-11-11): one drift row of tiles (c-drift: slow sideways drift, the visitor scrolls
   it); the ring keeps room for the raised tiles' shadows (the list reset zeroes the drift insets of a ul). */
.c-places__list--drift {
	--drift-ring: var(--space-3);
	--drift-fade: var(--space-6);

	display: flex;
	margin: calc(var(--drift-ring) * -1);
	margin-inline-end: 0;
	padding: var(--drift-ring);
	padding-inline-end: var(--drift-fade);

	& > * {
		flex: 0 0 auto;
		width: 17rem;
	}
}

/* Long list: rows read left to right (CSS columns made the alphabet run down one column through the whole page). */
.c-places__list--columns {
	grid-template-columns: repeat(auto-fill, minmax(min(100%, 15rem), 1fr));
	gap: 0 var(--space-6);
}

.c-places__letters {
	display: flex;
	flex-wrap: wrap;
	gap: var(--space-1);
}

.c-places__letter {
	display: inline-grid;
	place-items: center;
	min-width: 2.25rem;
	min-height: 2.25rem;
	padding-inline: var(--space-2);
	font-size: var(--text-sm);
	font-weight: var(--weight-semibold);
	color: var(--color-text-secondary);
	background-color: var(--neu-control-bg);
	border-radius: var(--radius-sm);
	box-shadow: var(--neu-raise-sm);
	cursor: pointer;
	transition: var(--transition-colors), box-shadow var(--duration-fast) ease;

	&:hover {
		color: var(--color-primary-text);
	}

	&:active,
	&[aria-pressed="true"] {
		box-shadow: var(--shadow-inset-sm);
	}

	&[aria-pressed="true"] {
		color: var(--color-primary-text);
	}
}

.c-places__more {
	justify-self: center;
}

.c-places__item {
	position: relative;
	display: flex;
	gap: var(--space-3);
	align-items: center;
	min-width: 0;
	padding: var(--space-3);
	background-color: var(--neu-plane);
	border-radius: var(--radius-lg);
	box-shadow: var(--neu-raise-sm);
	break-inside: avoid;
	transition: box-shadow var(--duration-fast) ease;

	&.is-current {
		box-shadow: var(--shadow-inset-sm);
	}

	&:has(.c-places__link:active) {
		box-shadow: var(--shadow-inset-sm);
	}
}

.c-places__icon {
	display: grid;
	flex: none;
	place-items: center;
	width: 2.5rem;
	height: 2.5rem;
	color: var(--icon-tile-text);
	background-image: var(--icon-tile-bg);
	border-radius: var(--icon-tile-radius);
	box-shadow: var(--icon-tile-shadow);

	& > svg {
		--icon-size: 1.25rem;
	}

	.is-current > & {
		background-image: var(--icon-tile-bg-active);
	}
}

.c-places__text {
	display: grid;
	flex: 1;
	gap: 2px;
	min-width: 0;
}

.c-places__line {
	display: flex;
	flex-wrap: wrap;
	gap: 0 var(--space-2);
	align-items: baseline;
}

.c-places__distance,
.c-places__here {
	font-size: var(--text-xs);
	font-weight: var(--weight-bold);
	color: var(--color-text);
}

.c-places__here {
	color: var(--color-primary-text);
}

.c-places__arrow {
	flex: none;
	color: var(--color-text-subtle);
	transition: color var(--duration-fast) ease;

	/* The arrow sits beside the link, not in it: the sway of the arrows (c-icon--arrow, icon.css) started here. */
	.c-places__item:has(.c-places__link:hover) > & {
		color: var(--color-primary-text);

		@media (prefers-reduced-motion: no-preference) {
			animation: c-icon-sway calc(var(--duration-draw) * 1.6) ease-in-out infinite;
		}
	}
}

/* The dense list of the map: flat rows, the name and the coordinates at the top of the row. */
.c-places__list--columns {
	& .c-places__item {
		display: grid;
		gap: 2px;
		align-content: start;
		padding: var(--space-2) var(--space-2);
		margin-inline: calc(var(--space-2) * -1);
		background-color: transparent;
		border-bottom: var(--border-width) solid var(--color-border);
		border-radius: 0;
		box-shadow: none;
		transition: background-color var(--duration-fast) ease;

		&:has(.c-places__link:hover) {
			background-color: var(--neu-flat);
		}
	}
}

.c-places__link {
	font-weight: var(--weight-semibold);
	color: var(--color-text);
	text-decoration: none;
	overflow-wrap: anywhere;
	transition: var(--transition-colors);

	/* The whole tile / row is the link. */
	&::after {
		position: absolute;
		inset: 0;
		content: "";
		border-radius: inherit;
	}

	&:hover {
		color: var(--color-primary-text);
	}

	&:focus-visible {
		outline: var(--focus-width) solid var(--color-focus);
		outline-offset: var(--focus-offset);
		border-radius: var(--radius-xs);
	}
}

.c-places__name {
	font-weight: var(--weight-heavy);
	color: var(--color-primary-text);
}

.c-places__coords {
	font-size: var(--text-xs);
	font-variant-numeric: tabular-nums;
	color: var(--color-text-secondary);
}

/* Hubs /transfers/ and /rent/ (TASK-0457): one --columns list per country under a country heading. */
.c-places__groups {
	display: grid;
	grid-template-columns: minmax(0, 1fr);
	gap: var(--space-8);
	min-width: 0;
}

.c-places__group {
	display: grid;
	grid-template-columns: minmax(0, 1fr);
	gap: var(--space-2);
	min-width: 0;
}

.c-places__group-title {
	margin: 0;
	font-size: var(--text-lg);
	line-height: var(--leading-tight);
}
}
/* src: assets/components/price-list/price-list.css */
@layer components {
/*
 * Price list: name — price rows (dl in a framed box), the price aligned to the end.
 * Neumorphism: the box is raised (no frame), the rows keep their hairline dividers.
 */
.c-price-list {
	display: flex;
	flex-direction: column;
	background-color: var(--neu-plane);
	border-radius: var(--radius-lg);
	box-shadow: var(--neu-raise);
}

.c-price-list__item {
	display: flex;
	flex-wrap: wrap;
	gap: var(--space-1) var(--space-4);
	align-items: baseline;
	justify-content: space-between;
	padding: var(--space-3) var(--space-5);

	& + & {
		border-top: var(--border-width) solid var(--color-border);
	}
}

.c-price-list__name {
	color: var(--color-text);
}

.c-price-list__value {
	font-weight: var(--weight-bold);
	white-space: nowrap;
	font-variant-numeric: tabular-nums;
	color: var(--color-secondary-text); /* prices: the second accent */
}
}
/* src: assets/components/profile/profile.css */
@layer components {
/*
 * Profile: the header of a person page (instructor) — photo, name (h1) (REQ-0077 item 2: no badges), role, key numbers, resorts,
 * specialization chips and actions. Photo beside the text from 48em. The meta and the chips are one line each: drift
 * rows (c-drift, drift.js: they move slowly sideways while they do not fit and stop under the mouse; the drift row
 * gives them the ring inset, so no own padding).
 * Neumorphism: the profile is a raised box; its content is flat (chips, buttons) or inset (the key numbers strip).
 * --cover (2026-11-09): on the first screen band (s-hero--profile: the blurred photo under a light veil) — no box, the
 * site colours, the raised portrait (small beside the name on phones, a 4:5 column from 48em), the key numbers as raised
 * tiles (at the end of the file).
 */
.c-profile {
	display: grid;
	gap: var(--space-5);
	padding: var(--space-4);
	background-color: var(--neu-plane);
	border-radius: var(--radius-xl);
	box-shadow: var(--neu-raise);

	@media (width >= 48em) {
		grid-template-columns: minmax(12rem, 18rem) minmax(0, 1fr);
		gap: var(--space-8);
		padding: var(--space-6);
		align-items: start;
	}

	/* One neumorphic level: the content of the raised box is flat or inset. */
	& > * {
		--neu-raise: none;
		--neu-raise-sm: none;
		--neu-control-bg: var(--neu-flat);
	}
}

.c-profile__photo {
	overflow: hidden;
	background-color: var(--color-surface-2);
	border-radius: var(--radius-lg);
}

.c-profile__image {
	width: 100%;
	aspect-ratio: 4 / 3;
	object-fit: cover;

	@media (width >= 48em) {
		aspect-ratio: 4 / 5;
	}
}

.c-profile__body {
	display: flex;
	flex-direction: column;
	gap: var(--space-4);
	align-items: flex-start;
	min-width: 0;
}

.c-profile__name {
	overflow-wrap: break-word;
}

.c-profile__role {
	font-size: var(--text-lg);
	color: var(--color-text-secondary);
}

.c-profile__facts {
	display: grid;
	grid-template-columns: repeat(auto-fit, minmax(7.5rem, 1fr));
	align-self: stretch;
	max-width: 32rem;
	overflow: hidden;
	border-radius: var(--radius-md);
	box-shadow: var(--shadow-inset-sm);
}

.c-profile__fact {
	padding: var(--space-3) var(--space-4);
	box-shadow: calc(var(--border-width) * -1) 0 0 var(--color-border);
}

.c-profile__fact-link {
	display: block;
	color: inherit;
	text-decoration: none;
	transition: var(--transition-colors);

	&:hover {
		color: var(--color-primary-text);
	}
}

.c-profile__fact-value {
	display: block;
	font-size: var(--text-lg);
	font-weight: var(--weight-heavy);
	white-space: nowrap;
}

.c-profile__fact-label {
	display: block;
	font-size: var(--text-xs);
	color: var(--color-text-secondary);
}

.c-profile__meta {
	display: flex;
	gap: var(--space-2) var(--space-4);
	max-width: 100%;
	font-size: var(--text-sm);
	color: var(--color-text-secondary);
	list-style: none;
}

.c-profile__meta-item {
	display: inline-flex;
	flex: none;
	white-space: nowrap;
	align-items: center;
}

.c-profile__meta-icon {
	--icon-size: 1.125em;

	color: var(--color-text-subtle);
}

.c-profile__meta-link {
	display: inline-flex;
	gap: var(--space-1);
	align-items: center;
	min-height: 1.5rem;
	color: inherit;
	text-decoration: none;
	transition: var(--transition-colors);

	&:hover {
		color: var(--color-primary-text);
	}
}

.c-profile__chips {
	display: flex;
	gap: var(--space-2);
	max-width: 100%;
	list-style: none;

	& > li {
		flex: none;
	}
}

/* Phones: the primary action across, the secondary ones two per row (as s-entry__actions); a wrapping row from 36em. */
.c-profile__actions {
	display: grid;
	grid-template-columns: repeat(2, minmax(0, 1fr));
	gap: var(--space-2);

	& > * {
		justify-content: center;
		width: 100%;
		min-width: 0;
	}

	& > :first-child,
	& > :last-child:nth-child(even) {
		grid-column: 1 / -1;
	}

	@media (width >= 36em) {
		display: flex;
		flex-wrap: wrap;

		& > * {
			width: auto;
		}
	}
}

/* On the first screen band (the instructor page): no box, the site colours on the light veil of the band. */
.c-profile--cover {
	grid-template-columns: 6.5rem minmax(0, 1fr);
	gap: var(--space-5) var(--space-4);
	align-items: center;
	padding: 0;
	background-color: transparent;
	border-radius: 0;
	box-shadow: none;

	@media (width >= 48em) {
		grid-template-columns: minmax(13rem, 17rem) minmax(0, 1fr);
		gap: var(--space-8);
		padding: 0;
		align-items: end;
	}

	@media (width >= 62em) {
		gap: var(--space-10);
	}

	/* The band is a plane, not a raised box: the parts may be raised (one level). */
	& > * {
		--neu-raise: var(--shadow-raised);
		--neu-raise-sm: var(--shadow-raised-sm);
		--neu-control-bg: var(--neu-plane);
	}

	/* Phones: the portrait beside the badge and the name, the rest below across (the body's children join the grid). */
	& .c-profile__body {
		display: contents;

		@media (width >= 48em) {
			display: flex;
			gap: var(--space-4);
		}
	}

	& .c-profile__photo {
		grid-row: span 2;
		align-self: start;
		border-radius: var(--radius-lg);
		box-shadow: var(--shadow-raised);

		@media (width >= 48em) {
			grid-row: auto;
			border-radius: var(--radius-xl);
		}
	}

	& .c-profile__image {
		aspect-ratio: 1;

		@media (width >= 48em) {
			aspect-ratio: 4 / 5;
		}
	}

	& .c-profile__name {
		align-self: start;
		font-size: clamp(1.75rem, 1.2rem + 2.6vw, 3.25rem);
		line-height: 1.05;
	}

	& :is(.c-profile__role, .c-profile__facts, .c-profile__meta, .c-profile__chips) {
		grid-column: 1 / -1;
	}

	& > .c-profile__body > :last-child {
		grid-column: 1 / -1;
	}

	& .c-profile__role {
		max-width: 38rem;
		font-size: clamp(var(--text-md), 0.95rem + 0.4vw, var(--text-lg));
	}

	/* The key numbers: raised tiles; phones, tablets: two per row, the first of an odd count (the price) across. */
	& .c-profile__facts {
		grid-template-columns: repeat(2, minmax(0, 1fr));
		gap: var(--space-3);
		justify-self: stretch;
		max-width: 36rem;
		overflow: visible;
		border-radius: 0;
		box-shadow: none;

		@media (width >= 62em) {
			grid-template-columns: repeat(auto-fit, minmax(8.5rem, 1fr));
		}
	}

	& .c-profile__fact:first-child:nth-last-child(odd) {
		grid-column: 1 / -1;

		@media (width >= 62em) {
			grid-column: auto;
		}
	}

	& .c-profile__fact {
		display: grid;
		padding: var(--space-3) var(--space-4);
		background-color: var(--neu-plane);
		border-radius: var(--radius-lg);
		box-shadow: var(--shadow-raised-sm);
		transition: box-shadow var(--duration-fast) ease;

		&:has(.c-profile__fact-link:active) {
			box-shadow: var(--shadow-inset-sm);
		}
	}

	& .c-profile__fact-value {
		font-size: var(--text-xl);
		line-height: var(--leading-tight);
	}

	& .c-profile__fact-link .c-profile__fact-value {
		color: var(--color-secondary-text); /* the price: the second accent */
	}
}
}
/* src: assets/components/prose/prose.css */
@layer components {
/*
 * Prose: editor content (WordPress post content). Styles the tags and the core block classes inside it only:
 * headings, paragraphs, lists, links, quotes, images / figures with captions, tables (wp-block-table, is-style-stripes),
 * details, separators, alignments. Vertical rhythm from the gap between direct children (no margins on the blocks).
 * Neumorphism: quotes are inset wells, details are raised on a plane and flat inside a raised box (the --neu
 * context), table heads and stripes take the flat fill.
 */
.c-prose {
	--prose-gap: var(--space-4);

	display: flex;
	flex-direction: column;
	gap: var(--prose-gap);
	min-width: 0;
	max-width: var(--content-width);
	font-size: var(--text-md);
	line-height: var(--leading-normal);
	color: var(--color-text);
	overflow-wrap: break-word;
}

.c-prose > :is(h2, h3, h4, h5, h6) {
	margin-top: var(--space-4);
}

/* Editor headings sit inside page blocks: no larger than the block titles (s-entry__block-title, --text-2xl). */
.c-prose > h2 {
	font-size: var(--text-2xl);
}

.c-prose > h3 {
	font-size: var(--text-xl);
}

.c-prose > h4 {
	font-size: var(--text-lg);
}

/* A phone number never breaks inside (the emergency lists of resort pages). */
.c-prose a[href^="tel:"] {
	white-space: nowrap;
}

.c-prose > :first-child {
	margin-top: 0;
}

.c-prose :is(ul, ol) {
	display: flex;
	flex-direction: column;
	gap: var(--space-2);
	padding-left: var(--space-6);
}

.c-prose :is(ul, ol)[class] {
	list-style: revert;
}

.c-prose li::marker {
	color: var(--color-primary-text);
}

.c-prose a:not([class]),
.c-prose :is(p, li, td, figcaption) > a {
	color: var(--color-primary-text);
	text-decoration: underline;
	text-decoration-thickness: 1px;
	text-underline-offset: 0.18em;

	&:hover {
		color: var(--color-primary-text-hover);
		text-decoration-thickness: 2px;
	}
}

.c-prose blockquote {
	display: flex;
	flex-direction: column;
	gap: var(--space-3);
	margin: 0;
	padding: var(--space-4) var(--space-5);
	font-size: var(--text-lg);
	color: var(--color-text);
	border-left: 4px solid var(--color-primary);
	border-radius: 0 var(--radius-md) var(--radius-md) 0;
	box-shadow: var(--shadow-inset-sm);
}

.c-prose cite {
	font-size: var(--text-sm);
	font-style: normal;
	color: var(--color-text-secondary);
}

.c-prose figure {
	display: flex;
	flex-direction: column;
	gap: var(--space-2);
	min-width: 0;
	margin: 0;
}

.c-prose img {
	height: auto;
	border-radius: var(--radius-md);
}

.c-prose figcaption,
.c-prose .wp-element-caption {
	font-size: var(--text-sm);
	color: var(--color-text-secondary);
	text-align: center;
}

.c-prose .wp-block-table {
	overflow-x: auto;
}

.c-prose table {
	width: 100%;
	font-size: var(--text-sm);
	border-collapse: collapse;
}

.c-prose :is(th, td) {
	padding: var(--space-2) var(--space-3);
	text-align: left;
	vertical-align: top;
	border: var(--border-width) solid var(--color-border);
}

.c-prose th,
.c-prose thead td {
	font-weight: var(--weight-bold);
	background-color: var(--neu-flat);
}

.c-prose .is-style-stripes tbody tr:nth-child(odd) {
	background-color: var(--neu-flat);
}

.c-prose details {
	padding: var(--space-3) var(--space-4);
	background-color: var(--neu-control-bg);
	border-radius: var(--radius-md);
	box-shadow: var(--neu-raise-sm);

	/* One neumorphic level: the content of the raised box is flat or inset. */
	& > * {
		--neu-raise: none;
		--neu-raise-sm: none;
		--neu-control-bg: var(--neu-flat);
	}
}

.c-prose summary {
	font-weight: var(--weight-bold);
	cursor: pointer;
}

.c-prose hr,
.c-prose .wp-block-separator {
	width: 100%;
	border: 0;
	border-top: var(--border-width) solid var(--color-border);
}

.c-prose .aligncenter {
	margin-inline: auto;
	text-align: center;
}

.c-prose .alignleft,
.c-prose .alignright {
	max-width: 50%;
}

.c-prose .has-text-align-center {
	text-align: center;
}

.c-prose .has-text-align-right {
	text-align: right;
}

.c-prose code {
	padding: 0.1em 0.35em;
	background-color: var(--neu-flat);
	border-radius: var(--radius-xs);
}

/* Theme-only (TASK-0445 E7, notes.md): WordPress core output the reference markup does not print. */
/* figure.table of imported post content (classic editor markup): the text size and cell positioning the former legacy
   .table rules gave it (TASK-0427 W2). */
.c-prose figure.table {
	font-size: var(--text-sm);
}

.c-prose figure.table :is(th, td) {
	position: relative;
}

/* Core output inside content (REQ-0071 TASK-0406): classic captions, wide / full alignment, hidden labels. */
.c-prose .wp-caption {
	max-width: 100%;
}

.c-prose .wp-caption img {
	display: block;
	max-width: 100%;
	height: auto;
}

.c-prose .wp-caption-text {
	margin-block-start: var(--space-2);
	color: var(--color-text-secondary);
	font-size: var(--text-sm);
}

.c-prose :is(.alignwide, .alignfull) {
	max-width: 100%;
}

.c-prose .screen-reader-text {
	position: absolute;
	width: 1px;
	height: 1px;
	margin: -1px;
	padding: 0;
	overflow: hidden;
	clip: rect(0 0 0 0);
	white-space: nowrap;
	border: 0;
}

/*
 * Gutenberg blocks of post content in the site style (REQ-0077 TASK-0455 C1, research note B:req-0077/w1/c/blocks.md).
 * Core block CSS sits in `@layer wp` below these rules (inc/assets.php). Tables: the core table figure holds the layout
 * table frame (`div.c-table` > `table.c-table__table`, inc/template-functions.php); the figure itself is plain and
 * its caption reads as the table caption.
 */
.c-prose .wp-block-table {
	overflow-x: visible;
}
.c-prose .wp-block-table > .wp-element-caption {
	font-size: var(--text-sm);
	color: var(--color-text-secondary);
	text-align: left;
}
.c-prose .wp-block-table .c-table__table :is(thead, tfoot) {
	border: 0;
}
/* Pullquote: the quote well of prose, not the core centred 4em band. */
.c-prose .wp-block-pullquote {
	padding: 0;
	font-size: inherit;
	line-height: inherit;
	text-align: start;
	border: 0;
}
.c-prose .wp-block-pullquote blockquote {
	margin: 0;
}
.c-prose .wp-block-pullquote p {
	font-size: inherit;
	line-height: inherit;
}
/* Separator: one hairline of the border colour (core dims it with opacity and gives it 2px). */
.c-prose .wp-block-separator {
	height: 0;
	margin-block: var(--space-2);
	opacity: 1;
	border-top-width: var(--border-width);
}
.c-prose .wp-block-separator.is-style-dots {
	border-top: 0;
}
/* Images: never wider than the column; aligned images keep their caption under them. */
.c-prose .wp-block-image img {
	max-width: 100%;
}
.c-prose .wp-block-image :is(.aligncenter, .alignleft, .alignright) {
	display: flex;
	flex-direction: column;
	gap: var(--space-2);
}
/* Embeds: an iframe never widens the column; a block whose URL did not resolve (only the text of the URL in the
   wrapper) is one line of text, not an empty 16:9 box. Allow-listed services are the embed component (inc/embeds.php). */
.c-prose .wp-block-embed__wrapper {
	min-width: 0;
	overflow-wrap: anywhere;
}
.c-prose .wp-block-embed__wrapper:not(:has(iframe, video, blockquote, .c-embed))::before {
	content: none;
}
.c-prose .wp-block-embed :is(iframe, video) {
	max-width: 100%;
	border: 0;
	border-radius: var(--radius-md);
}
.c-prose .wp-block-embed.wp-has-aspect-ratio .wp-block-embed__wrapper:has(iframe) {
	overflow: hidden;
	border-radius: var(--radius-md);
}
.c-prose iframe {
	max-width: 100%;
}
/* Video: the whole frame on screen (a portrait clip is not stretched to the column width). */
.c-prose .wp-block-video video {
	display: block;
	width: auto;
	max-width: 100%;
	height: auto;
	max-height: min(80svh, 40rem);
	margin-inline: auto;
	background-color: var(--color-dark);
	border-radius: var(--radius-md);
}
/* Code: an inset well that scrolls sideways; an empty code block prints nothing. */
.c-prose pre {
	min-width: 0;
	max-width: 100%;
	margin: 0;
	padding: var(--space-3) var(--space-4);
	overflow-x: auto;
	font-size: var(--text-sm);
	line-height: var(--leading-snug);
	white-space: pre;
	background-color: var(--neu-flat);
	border-radius: var(--radius-md);
	box-shadow: var(--shadow-inset-sm);
}
.c-prose pre code {
	padding: 0;
	background: none;
	border-radius: 0;
}
.c-prose .wp-block-code:has(> code:empty) {
	display: none;
}
/* Group: its children keep the prose rhythm. */
.c-prose :is(.wp-block-group, .wp-block-group__inner-container, .wp-block-details) {
	display: flex;
	flex-direction: column;
	gap: var(--prose-gap);
	min-width: 0;
}
.c-prose .wp-block-group.has-background {
	padding: var(--space-4) var(--space-5);
	border-radius: var(--radius-md);
}
.c-prose .wp-block-details > summary {
	margin-bottom: 0;
}
/* Lists: nested lists keep the gap of the items. */
.c-prose li > :is(ul, ol) {
	margin-top: var(--space-2);
}
}
/* src: assets/components/quick-facts/quick-facts.css */
@layer components {
/*
 * Quick facts: the "Коротко" strip of a single page — a list of small fact cards (icon, label, value, optional link).
 * One row (2026-11-09): the list is a drift row (c-drift: scrolls sideways, drifts slowly by itself while it overflows,
 * pauses on hover / focus / the visitor's scroll, still with prefers-reduced-motion); every card is as wide as its text
 * between 9rem and 16rem, longer values wrap inside it; REQ-0077 item 10: the value shows at most 2 lines, a longer
 * one scrolls vertically inside the value box (the card does not grow; the browser makes the scroll box focusable); a value of « · » parts shows one part per line (__line), the
 * parts after the first one smaller and quieter («от 190 000 ₽ за человека» / «сезон 2026/27»).
 * Neumorphism: each fact card is raised (small pair), its content flat; the drift ring is wide enough for the shadows.
 */
.c-quick-facts__list {
	--drift-ring: var(--space-3);
	--drift-fade: var(--space-6);

	display: flex;
	gap: var(--space-3);
	list-style: none;
}

.c-quick-facts__item {
	flex: 0 0 auto;
	width: max-content;
	min-width: 9rem;
	max-width: 16rem;
	display: grid;
	grid-template-columns: auto minmax(0, 1fr);
	grid-template-rows: auto auto;
	column-gap: var(--space-3);
	align-content: start; /* 2026-11-11: the icon and the text at the top edge, also in a taller card of the row */
	padding: var(--space-3) var(--space-4);
	background-color: var(--neu-plane);
	border-radius: var(--radius-lg);
	box-shadow: var(--neu-raise-sm);

	/* One neumorphic level: the content of the raised box is flat or inset. */
	& > * {
		--neu-raise: none;
		--neu-raise-sm: none;
		--neu-control-bg: var(--neu-flat);
	}
}

.c-quick-facts__icon {
	--icon-size: 1.25rem;

	display: grid;
	grid-row: 1 / span 2;
	place-items: center;
	width: 2.5rem;
	height: 2.5rem;
	align-self: start;
	color: var(--icon-tile-text);
	background-color: var(--icon-tile-fill);
	background-image: var(--icon-tile-bg);
	border-radius: var(--icon-tile-radius);
	box-shadow: var(--icon-tile-shadow);
}

.c-quick-facts__label {
	font-size: var(--text-xs);
	font-weight: var(--weight-medium);
	color: var(--color-text-secondary);
}

.c-quick-facts__value {
	max-block-size: calc(2em * var(--leading-snug));
	overflow-y: auto;
	overscroll-behavior: contain;
	scrollbar-width: thin;
	font-size: var(--text-md);
	font-weight: var(--weight-bold);
	line-height: var(--leading-snug);
	color: var(--color-text);
	overflow-wrap: break-word;
	border-radius: var(--radius-sm);

	&:focus-visible {
		outline: 2px solid var(--color-focus, currentColor);
		outline-offset: 2px;
	}
}

.c-quick-facts__line {
	display: block;

	& + & {
		font-size: var(--text-sm);
		font-weight: var(--weight-semibold);
		color: var(--color-text-secondary);
	}
}

.c-quick-facts__link {
	color: var(--color-primary-text);
	text-decoration: underline;
	text-underline-offset: 0.18em;
	transition: var(--transition-colors);

	&:hover {
		color: var(--color-primary-text-hover);
	}
}
}
/* src: assets/components/rating/rating.css */
@layer components {
/*
 * Rating: compact link to the reviews of an object — star icon (c-rating__icon), average and the count in brackets
 * (c-rating__count). Hover: a soft pill behind the link and the star grows a little. --empty (2026-11-08): «Нет отзывов»
 * with an outline star, a link to the review form or plain text (cards).
 * Neumorphism: the hover pill is an inset-sm (no fill), so it works on a plane and inside a raised card.
 */
.c-rating {
	--rating-text: var(--color-text);
	--rating-star: var(--color-star);

	display: inline-flex;
	align-items: center;
	gap: var(--space-1);
	min-height: 1.5rem;
	padding: 2px var(--space-2);
	font-size: var(--text-sm);
	font-weight: var(--weight-bold);
	color: var(--rating-text);
	text-decoration: none;
	white-space: nowrap;
	border-radius: var(--radius-pill);
	transition: var(--transition-colors), box-shadow var(--duration-fast) ease;

	&:any-link:hover {
		color: var(--rating-text);
		box-shadow: var(--shadow-inset-sm);
	}

	&:focus-visible {
		outline: var(--focus-width) solid var(--color-focus);
		outline-offset: var(--focus-offset);
	}
}

.c-rating__icon {
	width: 1em;
	height: 1em;
	color: var(--rating-star);
	fill: currentColor;
	stroke: none;
}

.c-rating--empty {
	--rating-text: var(--color-text-secondary);
	--rating-star: var(--color-text-secondary);

	font-weight: var(--weight-medium);

	& .c-rating__icon {
		fill: none;
		stroke: currentColor;
		stroke-width: 1.8;
	}
}

.c-rating__count {
	font-weight: var(--weight-medium);
	color: var(--color-text-secondary);
}
}
/* src: assets/components/read-more/read-more.css */
@layer components {
/*
 * Read more (2026-11-09): a long comment or review is cut to --read-more-lines lines (6) with a fade to the box colour
 * and the «Читать полностью» button (chevron down; «Свернуть», chevron up when open). read-more.js sets is-clamped
 * only when the text is longer than the limit; without JS the whole text shows and the button stays hidden.
 * Markup: .c-read-more[data-component="read-more"] > __content[data-read-more-content] (the text) + button.__toggle
 * [data-read-more-toggle][aria-expanded][aria-controls] > span[data-read-more-label] + svg.__icon.
 */
.c-read-more {
	--read-more-lines: 6;

	display: flex;
	flex-direction: column;
	gap: var(--space-2);
	align-items: flex-start;
}

.c-read-more__content {
	display: flex;
	flex-direction: column;
	gap: var(--space-2);
	align-self: stretch;
}

.c-read-more.is-clamped .c-read-more__content {
	max-height: calc(var(--read-more-lines) * 1lh);
	overflow: hidden;
	mask-image: linear-gradient(to bottom, black calc(100% - 2lh), transparent);
}

.c-read-more__toggle {
	--icon-size: 1rem;

	display: inline-flex;
	gap: var(--space-1);
	align-items: center;
	min-height: 1.5rem;
	padding: 0;
	font: inherit;
	font-size: var(--text-sm);
	font-weight: var(--weight-semibold);
	color: var(--color-primary-text);
	cursor: pointer;
	background: none;
	border: 0;
	border-radius: var(--radius-sm);
	transition: var(--transition-colors);

	&:hover {
		color: var(--color-text);
		text-decoration: underline;
		text-underline-offset: 0.2em;
	}

	&:focus-visible {
		outline: var(--focus-width) solid var(--color-focus);
		outline-offset: var(--focus-offset);
	}

	&[hidden] {
		display: none;
	}
}

.c-read-more__icon {
	transition: transform var(--duration-fast) ease;
}

.c-read-more.is-expanded .c-read-more__icon {
	transform: rotate(180deg);
}
}
/* src: assets/components/rent/rent.css */
@layer components {
/*
 * Rent: equipment rental request of a resort (?sub=ski-rent).
 * Form root .c-rent (data-component="rent") > form.__form (posts to the WordPress action, validated by c-form) >
 * div.__step (role=group: __step-header > __step-num, __step-heading > h2.__step-title + __step-hint, __reset) with
 *   - sets: radio cards in __sets > __group (h3.__group-title, __grid > label.__option);
 *   - equipment: checkbox cards __grid--equip > label.__option--equip;
 *   - dates (c-form__row), __days (rental length), rider parameters __params (c-counter fields), contacts, __total.
 * Option card: input.__input (visually hidden, focus ring on the card), __media > __image | __icon, __option-body
 * (__name, __text), __price (+ __unit), __mark (check). The checked card is outlined (:has(:checked)). The grids fill
 * their width and the cards are subgrids of their row: photo / body / price rows line up (equipment: body / price).
 * Summary root .c-rent--summary (aside widget, data-rent-summary): __summary (aria-live) > ul.__items > li.__item
 * (__item-name, __item-price, cloned from a <template>), __empty, dl.__rows > __row(--total) > __term, __value.
 * Neumorphism: a step is a raised box; option cards in it are flat, the checked one inset; the check mark, the days
 * line and the total are inset wells.
 */
.c-rent {
	--rent-accent: var(--color-primary);
	--rent-card-bg: var(--neu-plane);
	--rent-card-shadow: var(--neu-raise);

	display: grid;
	gap: var(--space-5);
}

.c-rent__form {
	display: grid;
	gap: var(--space-5);
}

/* ---------------------------------------------------------------- steps */

.c-rent__step {
	display: grid;
	gap: var(--space-5);
	padding: var(--space-5) var(--space-4);
	background-color: var(--rent-card-bg);
	border-radius: var(--radius-lg);
	box-shadow: var(--rent-card-shadow);

	@media (width >= 48em) {
		padding: var(--space-6);
	}

	/* One neumorphic level: the content of the raised box is flat or inset. */
	& > * {
		--neu-raise: none;
		--neu-raise-sm: none;
		--neu-control-bg: var(--neu-flat);
	}
}

.c-rent__step-header {
	display: flex;
	flex-wrap: wrap;
	gap: var(--space-3);
	align-items: flex-start;
}

.c-rent__step-num {
	display: grid;
	flex: none;
	place-items: center;
	width: 2.25rem;
	height: 2.25rem;
	font-weight: var(--weight-heavy);
	color: var(--color-on-primary);
	background-color: var(--rent-accent);
	border-radius: var(--radius-pill);
}

.c-rent__step-heading {
	display: grid;
	flex: 1 1 12rem;
	gap: var(--space-1);
	min-width: 0;
	padding-top: var(--space-1);
}

.c-rent__step-title {
	font-size: var(--text-h3);
}

.c-rent__step-hint {
	font-size: var(--text-sm);
	color: var(--color-text-secondary);
}

.c-rent__reset {
	margin-left: auto;
}

/* ---------------------------------------------------------------- option cards */

.c-rent__sets {
	display: grid;
	gap: var(--space-5);
}

.c-rent__group {
	display: grid;
	gap: var(--space-3);
}

.c-rent__group-title {
	display: flex;
	gap: var(--space-2);
	align-items: center;
	font-size: var(--text-md);
}

/*
 * The cards fill the whole width of the step (2026-11-09): 1, 2 or 4 equal columns by the width of the group (container
 * queries; 4 sets of a type and 8 equipment items make full rows, no half-empty last row), and the cards share the rows
 * of their grid row (subgrid): the photos, the names with the texts and the prices line up across a row.
 */
.c-rent__group,
.c-rent__step {
	container-type: inline-size;
}

.c-rent__grid {
	display: grid;
	grid-template-columns: minmax(0, 1fr);
	gap: var(--space-3);

	@container (width >= 20rem) {
		grid-template-columns: repeat(2, minmax(0, 1fr));
	}

	@container (width >= 40rem) {
		grid-template-columns: repeat(4, minmax(0, 1fr));
	}
}

.c-rent__grid--equip {
	@container (width >= 40rem) {
		grid-template-columns: repeat(2, minmax(0, 1fr));
	}

	@container (width >= 60rem) {
		grid-template-columns: repeat(4, minmax(0, 1fr));
	}
}

.c-rent__option {
	--rent-option-bg: var(--neu-flat);
	--rent-option-shadow: none;
	--rent-option-text: var(--color-text);
	--rent-mark-bg: transparent;
	--rent-mark-shadow: var(--shadow-inset-sm);
	--rent-mark-text: transparent;

	position: relative;
	display: grid;
	grid-template-areas:
		"media media"
		"body body"
		"price mark";
	grid-template-rows: subgrid;
	grid-template-columns: minmax(0, 1fr) auto;
	grid-row: span 3;
	gap: var(--space-2) var(--space-3);
	align-content: start;
	padding: var(--space-3);
	color: var(--rent-option-text);
	background-color: var(--rent-option-bg);
	border-radius: var(--radius-lg);
	box-shadow: var(--rent-option-shadow);
	cursor: pointer;
	transition: var(--transition-colors), box-shadow var(--duration-fast) ease;

	&:hover {
		--rent-option-text: var(--color-primary-text);
	}

	&:has(.c-rent__input:checked) {
		--rent-option-bg: var(--neu-plane);
		--rent-option-shadow: var(--shadow-inset);
		--rent-option-text: var(--color-primary-text);
		--rent-mark-bg: var(--color-primary);
		--rent-mark-shadow: none;
		--rent-mark-text: var(--color-on-primary);
	}

	&:has(.c-rent__input:focus-visible) {
		outline: var(--focus-width) solid var(--color-focus);
		outline-offset: var(--focus-offset);
	}
}

.c-rent__option--equip {
	grid-template-areas:
		"icon body mark"
		"icon price mark";
	grid-template-columns: auto minmax(0, 1fr) auto;
	grid-row: span 2;
	align-items: center;
	padding: var(--space-3) var(--space-4);

	& .c-rent__option-body {
		align-self: end;
	}

	& .c-rent__price {
		align-self: start;
	}
}

/* The native control stays in the card for keyboard and forms; the card shows its state. */
.c-rent__input {
	position: absolute;
	top: 0;
	left: 0;
	width: 1px;
	height: 1px;
	margin: 0;
	opacity: 0;
	pointer-events: none;
}

.c-rent__media {
	grid-area: media;
	display: block;
	aspect-ratio: 4 / 3;
	overflow: hidden;
	background-color: var(--color-media-chip);
	border-radius: var(--radius-md);
}

.c-rent__image {
	width: 100%;
	height: 100%;
	object-fit: contain;
}

.c-rent__icon {
	grid-area: icon;
	display: grid;
	place-items: center;
	width: 2.75rem;
	height: 2.75rem;
	font-size: 1.5rem;
	color: var(--icon-tile-text);
	background-color: var(--icon-tile-fill);
	background-image: var(--icon-tile-bg);
	border-radius: var(--icon-tile-radius);
	box-shadow: var(--icon-tile-shadow);
}

.c-rent__option-body {
	grid-area: body;
	display: grid;
	align-content: start;
	gap: var(--space-1);
	min-width: 0;
}

.c-rent__name {
	font-weight: var(--weight-bold);
	line-height: var(--leading-snug);
}

.c-rent__text {
	font-size: var(--text-xs);
	line-height: var(--leading-snug);
	color: var(--color-text-secondary);
}

.c-rent__price {
	grid-area: price;
	align-self: center;
	font-weight: var(--weight-heavy);
	white-space: nowrap;
	color: var(--color-secondary-text-hover); /* prices: the second accent, 4.5:1 on the flat fill */
}

.c-rent__unit {
	font-size: var(--text-xs);
	font-weight: var(--weight-semibold);
	color: var(--color-text-secondary);
}

.c-rent__mark {
	grid-area: mark;
	display: grid;
	place-items: center;
	align-self: center;
	width: 1.5rem;
	height: 1.5rem;
	font-size: 0.875rem;
	color: var(--rent-mark-text);
	background-color: var(--rent-mark-bg);
	border-radius: var(--radius-pill);
	box-shadow: var(--rent-mark-shadow);
	transition: var(--transition-colors), box-shadow var(--duration-fast) ease;
}

.c-rent__option--equip .c-rent__mark {
	border-radius: var(--radius-xs);
}

/* ---------------------------------------------------------------- dates, parameters, total */

.c-rent__days {
	display: flex;
	flex-wrap: wrap;
	gap: var(--space-2);
	align-items: center;
	padding: var(--space-3) var(--space-4);
	font-size: var(--text-sm);
	border-radius: var(--radius-md);
	box-shadow: var(--shadow-inset-sm);
}

.c-rent__days-icon {
	color: var(--color-primary-text);
}

.c-rent__days-value {
	font-weight: var(--weight-heavy);
}

.c-rent__params {
	display: grid;
	grid-template-columns: repeat(auto-fit, minmax(min(100%, 10rem), 1fr));
	gap: var(--space-4);
}

.c-rent__total {
	display: flex;
	flex-wrap: wrap;
	gap: var(--space-2) var(--space-4);
	align-items: baseline;
	justify-content: space-between;
	padding: var(--space-4) var(--space-5);
	border-radius: var(--radius-md);
	box-shadow: var(--shadow-inset-sm);
}

.c-rent__total-label {
	font-size: var(--text-sm);
	color: var(--color-text-secondary);
}

.c-rent__total-value {
	font-size: var(--text-2xl);
	font-weight: var(--weight-heavy);
	letter-spacing: var(--tracking-tight);
	color: var(--color-secondary-text); /* prices: the second accent */
}

/* ---------------------------------------------------------------- order summary (aside) */

.c-rent--summary {
	gap: var(--space-4);
}

.c-rent__summary {
	display: grid;
	gap: var(--space-4);
}

.c-rent__items {
	display: grid;
	gap: var(--space-2);
}

.c-rent__item {
	display: flex;
	gap: var(--space-3);
	justify-content: space-between;
	font-size: var(--text-sm);
}

.c-rent__item-name {
	min-width: 0;
}

.c-rent__item-price {
	font-weight: var(--weight-bold);
	white-space: nowrap;
	color: var(--color-secondary-text); /* prices: the second accent */
}

.c-rent__empty {
	padding: var(--space-3);
	font-size: var(--text-sm);
	color: var(--color-text-secondary);
	text-align: center;
	background-color: var(--neu-flat);
	border-radius: var(--radius-md);
}

.c-rent__rows {
	display: grid;
	gap: var(--space-2);
	padding-top: var(--space-3);
	border-top: var(--border-width) solid var(--color-border);
}

.c-rent__row {
	display: flex;
	gap: var(--space-3);
	align-items: baseline;
	justify-content: space-between;
	font-size: var(--text-sm);
}

.c-rent__row--total {
	padding-top: var(--space-2);
	font-size: var(--text-md);
	font-weight: var(--weight-bold);
}

.c-rent__term {
	color: var(--color-text-secondary);
}

.c-rent__value {
	font-weight: var(--weight-bold);
	white-space: nowrap;
}

.c-rent__row--total .c-rent__value {
	font-size: var(--text-xl);
	font-weight: var(--weight-heavy);
	color: var(--color-secondary-text); /* prices: the second accent */
}

/* TASK-0457 (REQ-0077 item 32): the rent page (?sub=ski-rent) link to /rent/, a c-button--secondary in
   p.s-entry__more (a one-column grid); its own width, not the full column. */
.c-rent__more {
	justify-self: start;
}
}
/* src: assets/components/resort-info/resort-info.css */
@layer components {
/*
 * Resort info: a text block of the resort overview (season, infrastructure, activities) as a card with a topic icon.
 * .c-resort-info(--season | --infrastructure | --activity) > span.__icon + div.c-prose.__body (editor content).
 * The icon sits above the text on phones and beside it from 36em.
 * Neumorphism: the card is raised, its content flat. The icon is an icon tile (--icon-tile-*, 2026-11-08), the same for
 * every topic.
 */
.c-resort-info {
	--resort-info-bg: var(--neu-plane);

	display: grid;
	gap: var(--space-4);
	padding: var(--space-5);
	background-color: var(--resort-info-bg);
	border-radius: var(--radius-lg);
	box-shadow: var(--neu-raise);

	@media (width >= 36em) {
		grid-template-columns: auto minmax(0, 1fr);
		gap: var(--space-5);
		padding: var(--space-6);
	}

	/* One neumorphic level: the content of the raised box is flat or inset. */
	& > * {
		--neu-raise: none;
		--neu-raise-sm: none;
		--neu-control-bg: var(--neu-flat);
	}
}

.c-resort-info__icon {
	display: grid;
	place-items: center;
	width: 2.75rem;
	height: 2.75rem;
	font-size: var(--text-lg);
	color: var(--icon-tile-text);
	background-color: var(--icon-tile-fill);
	background-image: var(--icon-tile-bg);
	border-radius: var(--icon-tile-radius);
	box-shadow: var(--icon-tile-shadow);
}

.c-resort-info__body {
	min-width: 0;
}
}
/* src: assets/components/reviews/reviews.css */
@layer components {
/*
 * Reviews: rating summary, toolbar (total, sort), review list with replies, "Показать ещё", the guest review form
 * with its status line, success and "already sent" messages.
 * Form (2026-11-09) as the comment form plus the rating: __form-title «Отправить отзыв», __notes, the c-star-input
 * row, name + email (c-form__row--2), the text, the consents, __actions (status, button, __moderation with the info
 * icon); the same box as .c-comments__respond (padding space-5, radius-lg, title text-lg). A review as a comment:
 * __date--link permalink, __footer with the ghost «Ответить» (__reply-link). The reply (2026-11-09) is a plain comment:
 * __respond (a c-comments__respond box without the stars) opens under the review, indented like a reply with the
 * thread line on the left (reviews.js).
 * Ratings (2026-11-08, eighth round): the summary is the average (score + c-stars--lg + count) next to the
 * distribution bars (one column on phones, two from 36em); every review has its c-stars at the end of its head.
 * Neumorphism: the summary, each review and the form are raised boxes; rating tracks are inset, the owner's reply a
 * flat fill inside the review.
 */
.c-reviews {
	display: grid;
	gap: var(--space-6);
}

.c-reviews__summary {
	display: grid;
	gap: var(--space-4) var(--space-8);
	align-items: center;
	padding: var(--space-5);
	background-color: var(--neu-plane);
	border-radius: var(--radius-lg);
	box-shadow: var(--neu-raise);

	@media (width >= 36em) {
		grid-template-columns: auto minmax(0, 1fr);
	}

	/* One neumorphic level: the content of the raised box is flat or inset. */
	& > * {
		--neu-raise: none;
		--neu-raise-sm: none;
		--neu-control-bg: var(--neu-flat);
	}
}

.c-reviews__overview {
	display: grid;
	gap: var(--space-2);
	justify-items: start;
}

.c-reviews__score {
	display: flex;
	gap: var(--space-2);
	align-items: baseline;
}

.c-reviews__score-value {
	font-size: var(--text-h2);
	font-weight: var(--weight-heavy);
	line-height: 1;
}

.c-reviews__score-max,
.c-reviews__count {
	font-size: var(--text-sm);
	color: var(--color-text-secondary);
}

.c-reviews__bars {
	display: grid;
	gap: var(--space-1);
	padding: 0;
	list-style: none;
}

.c-reviews__bar {
	display: grid;
	grid-template-columns: 2.5rem minmax(0, 1fr) 2.5rem;
	gap: var(--space-2);
	align-items: center;
	font-size: var(--text-xs);
}

.c-reviews__bar-label {
	display: inline-flex;
	gap: var(--space-1);
	align-items: center;
	font-weight: var(--weight-bold);
	color: var(--color-text-secondary);
}

.c-reviews__bar-icon {
	--icon-size: 0.875rem;

	color: var(--color-star);
}

.c-reviews__bar-track {
	height: 0.5rem;
	overflow: hidden;
	border-radius: var(--radius-pill);
	box-shadow: var(--shadow-inset-sm);
}

.c-reviews__bar-fill {
	display: block;
	width: var(--fill, 0%);
	height: 100%;
	background-color: var(--color-star);
}

.c-reviews__bar-value {
	color: var(--color-text-secondary);
	text-align: end;
}

.c-reviews__main {
	display: flex;
	flex-direction: column;
	gap: var(--space-5);
	min-width: 0;
}

.c-reviews__toolbar {
	display: flex;
	flex-wrap: wrap;
	gap: var(--space-3);
	align-items: center;
	justify-content: space-between;
}

.c-reviews__total {
	font-size: var(--text-sm);
	color: var(--color-text-secondary);
}

.c-reviews__sort {
	display: flex;
	gap: var(--space-2);
	align-items: center;
}

.c-reviews__sort-label {
	font-size: var(--text-sm);
	color: var(--color-text-secondary);
	white-space: nowrap;
}

.c-reviews__sort-select {
	width: auto;
	min-width: 10rem;
}

.c-reviews__list {
	display: flex;
	flex-direction: column;
	gap: var(--space-4);
}

.c-reviews__item {
	display: flex;
	flex-direction: column;
	gap: var(--space-3);
	padding: var(--space-5);
	scroll-margin-top: calc(var(--header-height) + 4.5rem);
	background-color: var(--neu-plane);
	border-radius: var(--radius-lg);
	box-shadow: var(--neu-raise);

	&:focus-visible {
		outline-offset: 0;
	}

	/* One neumorphic level: the content of the raised box is flat or inset. */
	& > * {
		--neu-raise: none;
		--neu-raise-sm: none;
		--neu-control-bg: var(--neu-flat);
	}
}

.c-reviews__head {
	display: flex;
	gap: var(--space-3);
	align-items: center;
}

.c-reviews__author {
	display: flex;
	flex-direction: column;
	min-width: 0;
}

.c-reviews__head > .c-reviews__stars {
	margin-inline-start: auto;
}

.c-reviews__name {
	font-weight: var(--weight-bold);
	overflow-wrap: anywhere;
}

.c-reviews__date {
	font-size: var(--text-xs);
	color: var(--color-text-secondary);
}

/* The date is the permalink of the review (like a comment): at least 24px tall to tap. */
.c-reviews__date--link {
	display: inline-flex;
	align-items: center;
	align-self: flex-start;
	min-height: 1.5rem;
	text-decoration: none;
	transition: var(--transition-colors);

	&:hover {
		color: var(--color-primary-text);
		text-decoration: underline;
	}
}

/* «Ответить» like under a comment: the ghost button pulled back to the text edge. */
.c-reviews__footer {
	display: flex;
	flex-wrap: wrap;
	gap: var(--space-2);
	margin-inline-start: calc(var(--space-3) * -1);
}

.c-reviews__reply-link {
	color: var(--color-primary-text);
}

.c-reviews__title {
	font-size: var(--text-md);
}

.c-reviews__text {
	line-height: var(--leading-normal);
	overflow-wrap: break-word;
}

.c-reviews__reply {
	display: flex;
	flex-direction: column;
	gap: var(--space-1);
	padding: var(--space-3) var(--space-4);
	font-size: var(--text-sm);
	background-color: var(--neu-flat);
	border-inline-start: 3px solid var(--color-primary);
	border-radius: var(--radius-sm);
}

.c-reviews__reply-title {
	font-size: var(--text-xs);
	font-weight: var(--weight-bold);
	color: var(--color-primary-text);
}

.c-reviews__more {
	align-self: flex-start;
}

.c-reviews__form {
	display: flex;
	flex-direction: column;
	gap: var(--space-4);
	padding: var(--space-5);
	scroll-margin-top: calc(var(--header-height) + 4.5rem);
	background-color: var(--neu-plane);
	border-radius: var(--radius-lg);
	box-shadow: var(--neu-raise);

	/* One neumorphic level: the content of the raised box is flat or inset. */
	& > * {
		--neu-raise: none;
		--neu-raise-sm: none;
		--neu-control-bg: var(--neu-flat);
	}
}

.c-reviews__form-title {
	font-size: var(--text-lg);
}

.c-reviews__notes {
	margin-block-start: calc(var(--space-3) - var(--space-4));
	font-size: var(--text-sm);
	color: var(--color-text-secondary);
}

/* The login link of the notes, as in the comment form (2026-11-11). */
.c-reviews__login-link {
	font-weight: var(--weight-semibold);
}

.c-reviews__actions {
	display: flex;
	flex-direction: column;
	gap: var(--space-3);
	align-items: flex-start;
}

/* The moderation note: its own line under the button, the info icon at the first line of the text. */
.c-reviews__moderation {
	--icon-size: 1.125rem;

	display: flex;
	gap: var(--space-2);
	align-items: flex-start;
	font-size: var(--text-sm);
	color: var(--color-text-secondary);

	& .c-reviews__moderation-icon {
		flex: none;
		margin-block-start: 0.1em;
		color: var(--color-info-text);
	}
}

.c-reviews__status {
	padding: var(--space-3) var(--space-4);
	font-size: var(--text-sm);
	color: var(--color-danger-text);
	background-color: var(--color-danger-soft);
	border-radius: var(--radius-md);
}

.c-reviews__success {
	display: flex;
	flex-direction: column;
	gap: var(--space-1);
	padding: var(--space-5);
	color: var(--color-success-text);
	background-color: var(--color-success-soft);
	border-radius: var(--radius-lg);
}

.c-reviews__success-icon {
	--icon-size: 2rem;
}

.c-reviews__success-title {
	font-weight: var(--weight-bold);
}

.c-reviews__success-text {
	color: var(--color-text-secondary);
}

/* The reply form under a review: indented like a comment reply, the thread line on the left. */
.c-reviews__respond {
	margin-inline-start: var(--space-3);
	border-inline-start: 2px solid var(--color-border);
	border-start-start-radius: 0;
	border-end-start-radius: 0;

	@media (width >= 36em) {
		margin-inline-start: var(--space-6);
	}
}
}
/* src: assets/components/route-picker/route-picker.css */
@layer components {
/*
 * Route picker: chips that jump to the ways of reaching the resort on the transport sub-page.
 * nav.c-route-picker (aria-label) > ul.__list > li.__item > a.c-chip.__link[href="#rs-transport-<kind>"] with an icon.
 * Chips wrap; the chip look is the shared c-chip, this block only lays them out.
 * Phones and tablets only (2026-11-11): from 62em the same ways are the c-toc widget of the aside.
 */
.c-route-picker {
	@media (width >= 62em) {
		display: none;
	}
}

.c-route-picker__list {
	display: flex;
	flex-wrap: wrap;
	gap: var(--space-2);
}

.c-route-picker__item {
	display: flex;
	max-width: 100%;
}

.c-route-picker__link {
	max-width: 100%;
	white-space: normal;
}
}
/* src: assets/components/search-box/search-box.css */
@layer components {
/*
 * Search box of the front hero: a surface panel with type tabs (radio pills), the query field with a search icon and
 * the submit button, then popular queries. Works as a plain GET form to the search page.
 * Neumorphism: the panel sits on the hero photo (--shadow-drop, no pair) and is a plane for its content: the field is
 * inset (no frame), the tabs flat with the checked one inset + primary text, the submit button flat (one level).
 * Query row (2026-11-08): the row itself is the inset pill well; the input inside it has no frame of its own and the
 * submit button sits inside the well at its end (a pill within the pill). Focus of the input rings the whole row.
 */
.c-search-box {
	--search-box-bg: var(--color-surface);
	--search-box-height: 3.25rem;

	/* One shrinkable column: the one-line rows inside (the tabs, the popular queries) scroll instead of widening it. */
	display: grid;
	grid-template-columns: minmax(0, 1fr);
	gap: var(--space-3);
	width: min(100%, 46rem);
	min-width: 0;
	padding: var(--space-3);
	color: var(--color-text);
	background-color: var(--search-box-bg);
	border-radius: var(--radius-xl);
	box-shadow: var(--shadow-drop);

	& > * {
		--neu-raise: none;
		--neu-raise-sm: none;
		--neu-control-bg: var(--neu-flat);
	}

	@media (width >= 48em) {
		padding: var(--space-4);
	}
}

.c-search-box__tabs {
	display: flex;
	gap: var(--space-1);
	min-width: 0;
	margin: calc(var(--space-1) * -1);
	padding: var(--space-1);
	overflow-x: auto;
	border: 0;
	scrollbar-width: none;

	&::-webkit-scrollbar {
		display: none;
	}
}

.c-search-box__tab {
	position: relative;
	flex: none;
}

.c-search-box__radio {
	position: absolute;
	inset: 0;
	opacity: 0;
	cursor: pointer;
}

.c-search-box__tab-label {
	display: inline-flex;
	align-items: center;
	gap: var(--space-2);
	min-height: 2.25rem;
	padding: 0 var(--space-3);
	font-size: var(--text-sm);
	font-weight: var(--weight-semibold);
	color: var(--color-text-secondary);
	white-space: nowrap;
	border-radius: var(--radius-pill);
	transition: var(--transition-colors), box-shadow var(--duration-fast) ease;
}

.c-search-box__tab-icon {
	width: 1.1em;
	height: 1.1em;
}

.c-search-box__tab:hover .c-search-box__tab-label {
	color: var(--color-primary-text);
}

.c-search-box__radio:checked + .c-search-box__tab-label {
	color: var(--color-primary-text);
	box-shadow: var(--shadow-inset-sm);
}

.c-search-box__radio:focus-visible + .c-search-box__tab-label {
	outline: var(--focus-width) solid var(--color-focus);
	outline-offset: 1px;
}

/* Phones (2026-11-10): the field is the inset pill well, «Найти» is a full-width button on the next line. From 36em
   the row itself is the well and the button sits inside it at its end (a pill within the pill). */
.c-search-box__row {
	display: grid;
	gap: var(--space-2);
	transition: var(--transition-colors);

	@media (width >= 36em) {
		display: flex;
		align-items: center;
		gap: var(--space-1);
		min-height: var(--search-box-height);
		padding: var(--space-1);
		border: var(--border-width) solid transparent;
		border-radius: var(--radius-pill);
		box-shadow: var(--shadow-inset);

		&:has(.c-search-box__input:focus-visible) {
			border-color: var(--color-primary);
			outline: var(--focus-width) solid var(--color-focus);
			outline-offset: 0;
		}
	}
}

.c-search-box__field {
	position: relative;
	display: flex;
	flex: 1 1 auto;
	align-items: center;
	min-width: 0;
	min-height: var(--search-box-height);
	padding: var(--space-1);
	border: var(--border-width) solid transparent;
	border-radius: var(--radius-pill);
	box-shadow: var(--shadow-inset);
	transition: var(--transition-colors);

	&:has(.c-search-box__input:focus-visible) {
		border-color: var(--color-primary);
		outline: var(--focus-width) solid var(--color-focus);
		outline-offset: 0;
	}

	@media (width >= 36em) {
		min-height: 0;
		padding: 0;
		border: 0;
		box-shadow: none;

		&:has(.c-search-box__input:focus-visible) {
			outline: none; /* the row draws the ring */
		}
	}
}

.c-search-box__icon {
	position: absolute;
	inset-inline-start: var(--space-3);
	color: var(--color-text-muted);
	pointer-events: none;
}

.c-search-box__input {
	width: 100%;
	min-width: 0;
	height: var(--control-height);
	padding: 0 var(--space-2) 0 calc(var(--space-3) * 2 + 1.25em);
	font: inherit;
	font-size: var(--text-md);
	text-overflow: ellipsis;
	color: var(--color-text);
	background-color: transparent;
	border: 0;
	border-radius: var(--radius-pill);

	&::placeholder {
		color: var(--color-text-muted);
	}

	&:focus-visible {
		outline: none; /* the row draws the ring */
	}
}

/* 44px tall at every width, as «Найти» of the archive search (2026-11-11: from 36em it was 36px in the same row). */
.c-search-box__submit {
	flex: none;
	width: 100%;
	min-height: 2.75rem;

	@media (width >= 36em) {
		width: auto;
	}
}

/* Popular queries: the label and one line of links; links that do not fit drift sideways (2026-11-10). */
.c-search-box__hints {
	display: flex;
	align-items: center;
	min-width: 0;
	gap: var(--space-1) var(--space-2);
	padding-inline: var(--space-1);
	font-size: var(--text-sm);
}

.c-search-box__hints-label {
	flex: none;
	color: var(--color-text-muted);
}

.c-search-box__hint-list {
	display: flex;
	flex: 1 1 auto;
	gap: var(--space-1) var(--space-3);
	min-width: 0;
	margin: calc(var(--drift-ring, 5px) * -1);
	margin-inline-end: 0;
	padding: var(--drift-ring, 5px);
	padding-inline-end: var(--drift-fade, var(--space-4));
}

.c-search-box__hint-item {
	flex: none;
	white-space: nowrap;
}

.c-search-box__hint {
	font-weight: var(--weight-semibold);
	color: var(--color-primary-text);
	text-decoration: underline;
	text-decoration-color: transparent;
	text-underline-offset: 0.2em;
	transition: var(--transition-colors);

	&:hover {
		text-decoration-color: currentColor;
	}

	&:focus-visible {
		border-radius: var(--radius-xs);
		outline: var(--focus-width) solid var(--color-focus);
		outline-offset: 2px;
	}
}
}
/* src: assets/components/search-form/search-form.css */
@layer components {
/*
 * Component search-form (shared): the row of one search field and the submit button (single-field search form, hidden
 * label — D-40 (5)). Modifier --large: taller field with larger text (search overlay). The submit is the shared button
 * component (c-button--primary, R-7d1); the field keeps its legacy look (.input-group, .input — the forms field base,
 * D-42 (1)); this file lays them out (the submit stretches to the field height). Holders set only placement through
 * their element class on the root (BEM mix, D-34 (3)); this file is imported before them. Markup:
 * template-parts/components/search-form.php (printed by searchform.php through get_search_form()).
 * The row is one inset pill with the submit inside it (2026-11-08), like the front search box and the archive search.
 */
.c-search-form {
	--search-form-large-height: 52px;

	/* The row is the inset pill well, the field inside it has no frame of its own (field API), the button sits in the
	   well at its end; focus of the field rings the whole row. */
	--field-shadow: none;
	--field-border: transparent;
	--field-border-hover: transparent;
	--field-border-focus: transparent;
	--field-focus-outline: none;
	--field-height: var(--control-height);

	display: flex;
	align-items: center;
	gap: var(--space-1);
	min-width: 0;
	padding: var(--space-1);
	border: var(--border-width) solid transparent;
	border-radius: var(--radius-pill);
	box-shadow: var(--shadow-inset);
	transition: var(--transition-colors);

	&:has(input:focus-visible) {
		border-color: var(--color-primary);
		outline: var(--focus-width) solid var(--color-focus);
		outline-offset: 0;
	}
}

.c-search-form__field {
	flex: 1 1 auto;
	min-width: 0;
}

.c-search-form__submit {
	flex: 0 0 auto;
}

.c-search-form--large {
	min-height: var(--search-form-large-height);
}

.c-search-form--large .c-search-form__input {
	font-size: var(--text-lg);
}
}
/* src: assets/components/search-overlay/search-overlay.css */
@layer components {
/*
 * Component search-overlay: the site search dialog (native <dialog>, top layer). Mobile-first: a bottom sheet below 36em,
 * a centred box from 36em (the values of the legacy .modal dialog; the generic modal component is a later slice).
 * Appears with c-search-overlay-in (transform / opacity, --duration-base; at once under reduced motion). Inside: header
 * (heading + round close button), scrolling body with the shared search-form component (--large; laid out by
 * search-form.css), the suggestion list (filled by search-overlay.js from its <template> prototype) and the popular
 * resorts / section chips (the sections: all ten of the main menu with its icons, __link-icon). The chips are the
 * shared chip component (c-chip, --soft for the popular resorts, --truncate:
 * long titles end in an ellipsis, the full title is in the title attribute; R-7d1); this file only sets the gaps of their
 * rows. The empty state keeps its legacy look (.empty-state*, until R-8 / R-12). Colours from the legacy role tokens
 * (the dark theme comes from their dark values) and the theme-independent --color-backdrop.
 * Neumorphism: the dialog is a floating layer over the dark backdrop (--shadow-drop) that clears the --neu context:
 * the chips and the close button inside are flat, the field inset, a suggestion row gets an inset-sm on hover.
 * Markup: template-parts/components/search-overlay.php; behaviour: search-overlay.js.
 */
.c-search-overlay {
	--search-overlay-width: 560px;
	--search-overlay-inset: 32px;
	--search-overlay-max-height: 860px;
	--search-overlay-backdrop-blur: 4px;
	--search-overlay-shift: 12px;
	--search-overlay-scale: 0.98;
	--search-overlay-close-size: 40px;
	--search-overlay-close-offset: -6px -8px 0 0;
	--search-overlay-body-offset: 180px;
	--search-overlay-body-padding-top: 4px;
	--search-overlay-section-title-gap: 10px;
	--search-overlay-section-title-tracking: 0.08em;
	--search-overlay-chip-gap: 8px;
	--search-overlay-results-gap: 4px;
	--search-overlay-result-gap: 12px;
	--search-overlay-result-padding: 10px;
	--search-overlay-icon-size: 18px;
}

/* Dialog box: bottom sheet (base), centred box from 36em. */
.c-search-overlay__dialog {
	width: 100%;
	/* The UA gives a modal dialog max-width: calc(100% - 2em - 6px): the sheet must reach both edges. */
	max-width: 100%;
	max-height: 100dvh;
	margin: auto 0 0;
	padding: 0;
	overflow: hidden;
	color: var(--color-text);
	background-color: var(--color-surface);
	border: 0;
	border-radius: var(--radius-xl) var(--radius-xl) 0 0;
	box-shadow: var(--shadow-drop);
	animation-name: c-search-overlay-in;

	/* One neumorphic level: the content of the floating layer is flat or inset. */
	& > * {
		--neu-raise: none;
		--neu-raise-sm: none;
		--neu-control-bg: var(--neu-flat);
	}
	animation-duration: var(--duration-base);
	animation-timing-function: var(--easing-out);

	/* Static blur (not animated). */
	&::backdrop {
		background-color: var(--color-backdrop);
		backdrop-filter: blur(var(--search-overlay-backdrop-blur));
	}

	/* Desktop (round 26): a little wider — the ten section chips fit two rows. */
	@media (width >= 62em) {
		--search-overlay-width: 680px;
	}

	@media (width >= 36em) {
		width: min(100% - var(--search-overlay-inset), var(--search-overlay-width));
		max-height: min(100dvh - var(--search-overlay-inset), var(--search-overlay-max-height));
		margin: auto;
		border-radius: var(--radius-xl);
	}
}

.c-search-overlay__header {
	display: flex;
	align-items: flex-start;
	justify-content: space-between;
	gap: var(--space-4);
	padding: var(--space-6) var(--space-4) 0;

	@media (width >= 36em) {
		padding-inline: var(--space-6);
	}
}

.c-search-overlay__title {
	font-size: var(--text-xl);
	font-weight: 800;
}

.c-search-overlay__close {
	display: inline-flex;
	flex: 0 0 auto;
	align-items: center;
	justify-content: center;
	width: var(--search-overlay-close-size);
	height: var(--search-overlay-close-size);
	margin: var(--search-overlay-close-offset);
	color: var(--color-text-muted);
	background-color: var(--neu-control-bg);
	border-radius: 50%;
	box-shadow: var(--neu-raise-sm);
	transition: var(--transition-colors), box-shadow var(--duration-fast) ease;

	&:hover {
		color: var(--color-primary-text);
	}

	&:active {
		box-shadow: var(--shadow-inset-sm);
	}
}

/*
 * The body scrolls (overflow-y: auto) and clips everything beyond its edge: the top padding = the width of the field's
 * focus ring (--shadow-focus, 4px), otherwise the ring of the search field is cut at the top.
 */
.c-search-overlay__body {
	max-height: calc(100dvh - var(--search-overlay-body-offset));
	padding: var(--search-overlay-body-padding-top) var(--space-4) var(--space-6);
	overflow-y: auto;

	@media (width >= 36em) {
		padding-inline: var(--space-6);
	}
}

.c-search-overlay__section {
	margin-top: var(--space-5);
}

.c-search-overlay__section-title {
	margin-bottom: var(--search-overlay-section-title-gap);
	color: var(--color-text-muted);
	font-size: var(--text-xs);
	font-weight: 700;
	letter-spacing: var(--search-overlay-section-title-tracking);
	text-transform: uppercase;
}

.c-search-overlay__links {
	display: flex;
	flex-wrap: wrap;
	gap: var(--search-overlay-chip-gap);
}

/* «Разделы» (round 25): the ten sections of the main menu with the menu icons. */
.c-search-overlay__link-icon {
	--icon-size: 1.125rem;

	flex-shrink: 0;
}

.c-search-overlay__results {
	display: grid;
	gap: var(--search-overlay-results-gap);

	&[hidden] {
		display: none;
	}
}

.c-search-overlay__result {
	display: flex;
	align-items: center;
	gap: var(--search-overlay-result-gap);
	padding: var(--search-overlay-result-padding);
	color: var(--color-text);
	border-radius: var(--radius-md);
	transition: color var(--duration-fast) ease, box-shadow var(--duration-fast) ease;

	&:hover {
		color: var(--color-primary-text);
		box-shadow: var(--shadow-inset-sm);
	}
}

.c-search-overlay__result-icon {
	width: var(--search-overlay-icon-size);
	height: var(--search-overlay-icon-size);
	color: var(--color-text-muted);
}

.c-search-overlay__result-type {
	margin-left: auto;
	color: var(--color-text-muted);
	font-size: var(--text-xs);
}

@keyframes c-search-overlay-in {
	from {
		opacity: 0;
		transform: translateY(var(--search-overlay-shift)) scale(var(--search-overlay-scale));
	}

	to {
		opacity: 1;
		transform: none;
	}
}
}
/* src: assets/components/section-filter/section-filter.css */
@layer components {
/*
 * Section filter: one row of filter chips (c-chip) above a cards slider. The row scrolls sideways when it does not
 * fit (no scrollbar, the end fades out); chips keep their focus ring inside the row.
 * Neumorphism: the ring inset also keeps room for the raised chips' shadows (the overflow would clip them).
 */
.c-section-filter {
	--section-filter-ring: 10px;

	display: flex;
	gap: var(--space-2);
	margin: calc(var(--section-filter-ring) * -1);
	padding: var(--section-filter-ring);
	overflow-x: auto;
	scrollbar-width: none;

	&::-webkit-scrollbar {
		display: none;
	}

	@media (width >= 62em) {
		flex-wrap: wrap;
	}
}

.c-section-filter__item {
	flex: none;
}
}
/* src: assets/components/section-header/section-header.css */
@layer components {
/*
 * Section header: the heading block of a cards section — eyebrow, title (h2), subtitle and an aside link
 * ("Все курорты", c-link-arrow) at the end of the row on wide screens, under the text on narrow ones.
 */
.c-section-header {
	display: flex;
	flex-wrap: wrap;
	align-items: flex-end;
	justify-content: space-between;
	gap: var(--space-3) var(--space-8);
}

.c-section-header__text {
	display: grid;
	flex: 1 1 28rem;
	gap: var(--space-2);
	min-width: 0;
	max-width: 48rem;
}

.c-section-header__eyebrow {
	display: inline-flex;
	align-items: center;
	gap: var(--space-2);
	font-size: var(--text-xs);
	font-weight: var(--weight-bold);
	letter-spacing: var(--tracking-wide);
	color: var(--color-primary-text);
	text-transform: uppercase;
}

.c-section-header__eyebrow-icon {
	width: 1.25em;
	height: 1.25em;
}

.c-section-header__title {
	font-size: var(--text-h2);
}

.c-section-header__subtitle {
	max-width: 62ch;
	color: var(--color-text-secondary);
}

.c-section-header__aside {
	display: flex;
	flex: none;
	align-items: center;
	gap: var(--space-3);
}
}
/* src: assets/components/share/share.css */
@layer components {
/*
 * Share: "Поделиться" label at the start, share links (Telegram, WhatsApp) and the copy-link button at the end (under
 * the label when they do not fit), a status line under them.
 */
.c-share {
	display: flex;
	flex-wrap: wrap;
	gap: var(--space-3) var(--space-4);
	align-items: center;
	justify-content: space-between;
}

/* The same label as the other rows of the page actions panel (c-like-button__title, s-entry__footer-label). */
.c-share__label {
	font-size: var(--text-base);
	font-weight: var(--weight-semibold);
	line-height: var(--leading-snug);
	color: var(--color-text);
}

.c-share__list {
	display: flex;
	flex-wrap: wrap;
	gap: var(--space-2);
	padding: 0;
	list-style: none;
}

.c-share__item {
	display: flex;
}

.c-share__status {
	flex-basis: 100%;
	font-size: var(--text-sm);
	color: var(--color-success-text);

	&:empty {
		display: none;
	}
}

/*
 * «Вставить как iframe» box (TASK-0458, template-parts/map/embed-share.php): the button at the bottom right of the
 * region map, the popover above it (snippet, «Копировать», «Закрыть», status line).
 */
.c-share-embed {
	position: relative;
	display: flex;
	justify-content: flex-end;
}

.c-share-embed__popover {
	position: absolute;
	inset-block-end: calc(100% + var(--space-2));
	inset-inline-end: 0;
	z-index: var(--z-dropdown);
	display: grid;
	gap: var(--space-3);
	inline-size: min(32rem, calc(100vw - 2 * var(--space-4)));
	padding: var(--space-4);
	background-color: var(--color-surface);
	border: var(--border-width) solid var(--color-border);
	border-radius: var(--radius-md);
	box-shadow: var(--shadow-lg);

	&[hidden] {
		display: none;
	}
}

/* REQ-0086: cross at the popover top-end, same visuals as .c-modal__close. */
.c-share-embed__close {
	position: absolute;
	inset-block-start: var(--space-2);
	inset-inline-end: var(--space-2);
	display: inline-grid;
	place-items: center;
	inline-size: 2.5rem;
	block-size: 2.5rem;
	padding: 0;
	color: var(--color-text-muted);
	background-color: var(--neu-control-bg);
	border: 0;
	border-radius: 50%;
	box-shadow: var(--neu-raise-sm);
	cursor: pointer;
	transition: var(--transition-colors), box-shadow var(--duration-fast) ease;

	&:hover {
		color: var(--color-primary-text);
	}

	&:active {
		box-shadow: var(--shadow-inset-sm);
	}

	&:focus-visible {
		outline: var(--focus-width) solid var(--color-focus);
	}
}

.c-share-embed__title {
	padding-inline-end: var(--space-10);
	font-size: var(--text-base);
	font-weight: var(--weight-semibold);
	color: var(--color-text);
}

.c-share-embed__code {
	inline-size: 100%;
	min-block-size: 6.5rem;
	font-family: ui-monospace, SFMono-Regular, Consolas, monospace;
	font-size: var(--text-sm);
	word-break: break-all;
	resize: vertical;
}

.c-share-embed__actions {
	display: flex;
	flex-wrap: wrap;
	gap: var(--space-2);
}

.c-share-embed__status {
	font-size: var(--text-sm);
	color: var(--color-success-text);

	&:empty {
		display: none;
	}
}

/*
 * TASK-0539: the button as a chip on the map bottom-end corner (look of .c-map-embed__credit: pill, shadow-sm, text-xs).
 * Inset: block-end var(--space-8) clears the provider copyright / «Условия» row (about 1.25rem high on the bottom edge;
 * Yandex zoom controls are on the start side, fullscreen at the top-end); inline-end var(--space-3).
 */
.c-share-embed--on-map {
	position: absolute;
	inset-block-end: var(--space-8);
	inset-inline-end: var(--space-3);
	z-index: var(--z-raised);
}

.c-share-embed--on-map .c-share-embed__toggle {
	min-block-size: 0;
	padding: var(--space-1) var(--space-3);
	font-size: var(--text-xs);
	font-weight: var(--weight-medium);
	line-height: var(--leading-tight);
	color: var(--color-text-secondary);
	white-space: nowrap;
	background-color: var(--color-surface);
	border: 0;
	border-radius: var(--radius-pill);
	box-shadow: var(--shadow-sm);
}
}
/* src: assets/components/showcase/showcase.css */
@layer components {
/*
 * Showcase (round 24, 2026-11-15): a trip offer of our partners (Яндекс Путешествия, Островок, Черехапа) — a picture
 * with the text over it; the whole card is one link (the partner link with erid). One card in view: the offers go in
 * the common slider (c-slider c-slider--single) — in the aside widget #aside-trip (as the resort cards of
 * #aside-resort: the card raised, the title and the slider controls outside it), on the front page (section#trip,
 * instead of the call to action) and after the text of the posts.
 * Markup: a.c-showcase(--<partner>) > img.__image, __body (bottom left: __logo — the
 * partner logo in white, its alt the service name — __title, __text, __action = a primary button look, not a
 * control of its own). No «Реклама» mark on the card (round 27, the owner's decision).
 * Class names avoid the words content blockers hide by (ad, adv, promo, banner, sponsor, partner).
 * Height: the card is a container of its slider slot — 18rem in the aside and on phones, a low band (13–15rem) in
 * the content and on the front page. Neumorphism: the card is raised like the photo cards; over the photo the button
 * drops a dark shadow (no light half). Hover: the picture zooms a little, the button takes its hover colour.
 */
.c-showcase {
	container: showcase / inline-size;
	position: relative;
	display: grid;
	overflow: hidden;
	height: 100%;
	color: var(--color-on-media);
	text-decoration: none;
	background-color: var(--color-media-scrim);
	border-radius: var(--radius-lg);
	box-shadow: var(--neu-raise);
	isolation: isolate;

	& > * {
		--neu-raise: var(--shadow-drop);
		--neu-raise-sm: var(--shadow-drop);
	}

	&:focus-visible {
		outline: var(--focus-width) solid var(--color-focus);
		outline-offset: var(--focus-offset);
	}

	&:hover .c-showcase__image {
		transform: scale(1.04);
	}

	&:hover .c-showcase__action {
		--button-bg: var(--color-primary-hover);
		--button-border: var(--color-primary-hover);
	}
}

.c-showcase__image {
	position: absolute;
	inset: 0;
	z-index: -1;
	width: 100%;
	height: 100%;
	object-fit: cover;
	object-position: var(--showcase-focus, center);
	transition: transform var(--duration-slow) ease;
}

/* Per offer: the focus of the picture in a low band (the chalets at the bottom, the peak above the hotels) and the
   logo height that matches the logos by eye (the Ostrovok wordmark is tight, the Cherehapa one has its bubble). */
.c-showcase--yandex-travel {
	--showcase-focus: center 85%;
}

.c-showcase--ostrovok {
	--showcase-focus: center 30%;
	--showcase-logo-height: 1.25rem;
}

.c-showcase--cherehapa {
	--showcase-logo-height: 1.875rem;
}

.c-showcase__body {
	display: flex;
	flex-direction: column;
	gap: var(--space-2);
	align-items: flex-start;
	min-height: 18rem;
	justify-content: flex-end;
	padding: var(--space-5);
	/* The scrim under the text (the picture is under the body: z-index -1 in the isolated card). */
	background-image: linear-gradient(to top, var(--color-media-scrim) 0%, var(--color-media-scrim) 30%, var(--color-media-scrim-0) 85%);

	/* A wide slot (the front page #trip, after the text #entry-trip): a low band, the text on the left over a side
	   scrim (round 24: lower than the first version). */
	@container showcase (width >= 30rem) {
		min-height: clamp(13rem, 20cqi, 15rem);
		padding: var(--space-6) var(--space-8);
		background-image: linear-gradient(to right, var(--color-media-scrim) 0%, var(--color-media-scrim) 35%, var(--color-media-scrim-0) 80%);
	}
}

.c-showcase__logo {
	width: auto;
	max-width: 100%;
	height: var(--showcase-logo-height, 1.5rem);
	margin-block-end: var(--space-1);
}

.c-showcase__title {
	max-width: 32rem;
	font-size: var(--text-xl);
	font-weight: var(--weight-heavy);
	line-height: var(--leading-tight);
	letter-spacing: var(--tracking-tight);

	@container showcase (width >= 30rem) {
		font-size: var(--text-2xl);
	}
}

.c-showcase__text {
	max-width: 32rem;
	font-size: var(--text-sm);
	color: var(--color-on-media-muted);

	@container showcase (width >= 30rem) {
		font-size: var(--text-md);
	}
}

.c-showcase__action {
	margin-block-start: var(--space-2);
}
}
/* src: assets/components/site-footer/site-footer.css */
@layer components {
/*
 * Component site-footer: brand (logo + about), menu columns (the header menu, with icons), contacts (a list: icon as
 * in the menus, name, number) + __social («Мы в соцсетях», c-socials--icons), bottom bar (copyright, legal links, cookie
 * settings button). Colours from the --color-footer-* role tokens (tokens.css: light by default, dark override), so the
 * component does not change for the dark theme. Markup: template-parts/components/site-footer.php.
 */
.c-site-footer {
	--site-footer-bg: var(--neu-plane);
	--site-footer-border: var(--color-border);
	--site-footer-text: var(--color-text-secondary);
	--site-footer-strong: var(--color-text);
	--site-footer-strong-hover: var(--color-primary-text);
	--site-footer-strong-focus: var(--color-primary-text);
	--site-footer-link: var(--color-text);
	--site-footer-link-hover: var(--color-primary-text);
	--site-footer-link-focus: var(--color-primary-text);
	--site-footer-bottom-text: var(--color-text-secondary);
	--site-footer-divider: var(--color-border);
	--site-footer-border-width: 1px;
	--site-footer-about-width: 36ch;
	--site-footer-title-tracking: 0.08em;
	--site-footer-links-gap: 10px;
	--site-footer-icon-size: 18px;
	--site-footer-legal-gap: 8px var(--space-4);
	--site-footer-columns: 1.6fr 1fr 1fr 1.2fr;
	/* Room for the floating action buttons (44px + 24px offset + gap) at the end of the bottom bar. */
	--site-footer-end-gap: 72px;

	padding: var(--space-12) 0 var(--space-6);
	color: var(--site-footer-text);
	background-color: var(--site-footer-bg);
}

.c-site-footer__grid {
	display: grid;
	gap: var(--space-8);

	@media (width >= 36em) {
		grid-template-columns: 1fr 1fr;
	}

	@media (width >= 62em) {
		grid-template-columns: var(--site-footer-columns);
	}
}

.c-site-footer__brand {
	@media (width >= 36em) {
		grid-column: 1 / -1;
	}

	@media (width >= 62em) {
		grid-column: auto;
	}
}

.c-site-footer__logo {
	margin-bottom: var(--space-4);
	color: var(--site-footer-strong);
	transition-property: color;
	transition-duration: var(--duration-fast);
	transition-timing-function: ease;

	&:hover {
		color: var(--site-footer-strong-hover);
	}

	&:focus-visible {
		color: var(--site-footer-strong-focus);
	}
}

.c-site-footer__about {
	max-width: var(--site-footer-about-width);
	font-size: var(--text-sm);
}

/* «Мы в соцсетях» under the contacts (round 21): the title as the column titles, round icon buttons (c-socials--icons). */
.c-site-footer__social {
	margin-top: var(--space-5);
}

.c-site-footer__title {
	margin-bottom: var(--space-4);
	color: var(--site-footer-strong);
	font-size: var(--text-sm);
	font-weight: 700;
	letter-spacing: var(--site-footer-title-tracking);
	text-transform: uppercase;
}

.c-site-footer__links {
	display: grid;
	gap: var(--site-footer-links-gap);
	font-size: var(--text-sm);
}

.c-site-footer__link,
.c-site-footer__cookie {
	display: inline-flex;
	align-items: center;
	min-height: 1.75rem;
	color: var(--site-footer-link);
	transition-property: color;
	transition-duration: var(--duration-fast);
	transition-timing-function: ease;

	&:hover {
		color: var(--site-footer-link-hover);
	}

	&:focus-visible {
		color: var(--site-footer-link-focus);
	}
}

/* Menu items with the icons of the header menu (round 21). */
.c-site-footer__link {
	gap: var(--space-2);
}

.c-site-footer__link-icon {
	width: var(--site-footer-icon-size);
	height: var(--site-footer-icon-size);
	color: var(--site-footer-text);
	transition: color var(--duration-fast) ease;

	.c-site-footer__link:hover > & {
		color: currentcolor;
	}
}

/* Contacts (round 21): information to tap or copy, not buttons — the icon as in the menu items beside them (the
   channels below are round buttons), the channel name and the number / address on one line (the column stays as
   short as the menus beside it). */
.c-site-footer__contacts {
	display: grid;
	gap: var(--space-1);
	padding: 0;
	list-style: none;
}

.c-site-footer__contact-item {
	display: flex;
	min-width: 0;
}

.c-site-footer__contact {
	display: inline-flex;
	align-items: center;
	gap: var(--space-2);
	min-width: 0;
	min-height: 2rem;
	font-size: var(--text-sm);
	color: var(--site-footer-link);
	text-decoration: none;
	transition: var(--transition-colors);

	&:hover {
		color: var(--site-footer-link-hover);
	}

	&:focus-visible {
		border-radius: var(--radius-sm);
		outline: var(--focus-width) solid var(--color-focus);
		outline-offset: var(--focus-offset);
	}
}

/* The icon of a contact: as the icons of the menu items (size, colour, the colour of the link on hover). */
.c-site-footer__contact-icon {
	display: inline-flex;
	flex: none;
	color: var(--site-footer-text);
	transition: color var(--duration-fast) ease;

	.c-site-footer__contact:hover > & {
		color: currentcolor;
	}
}

.c-site-footer__contact-svg {
	width: var(--site-footer-icon-size);
	height: var(--site-footer-icon-size);
}

.c-site-footer__contact-text {
	display: flex;
	flex-wrap: wrap;
	gap: 0 var(--space-2);
	align-items: baseline;
	min-width: 0;
}

.c-site-footer__contact-label {
	color: var(--site-footer-text);
}

.c-site-footer__contact-value {
	font-weight: var(--weight-bold);
}

.c-site-footer__bottom {
	display: flex;
	flex-wrap: wrap;
	align-items: center;
	justify-content: space-between;
	gap: var(--space-3);
	margin-top: var(--space-10);
	padding-top: var(--space-5);
	color: var(--site-footer-bottom-text);
	font-size: var(--text-xs);
	border-top: var(--site-footer-border-width) solid var(--site-footer-divider);

	@media (width >= 48em) {
		padding-right: var(--site-footer-end-gap);
	}
}

.c-site-footer__legal {
	display: flex;
	flex-wrap: wrap;
	gap: var(--site-footer-legal-gap);
}

/* The second line of the bottom bar (round 24): the note on reusing the materials and the credits (developer, hosting)
   as links, at the ends of the line; one under the other on phones. */
.c-site-footer__meta {
	display: flex;
	flex-basis: 100%;
	flex-wrap: wrap;
	gap: var(--space-2) var(--space-5);
	align-items: center;
	justify-content: space-between;
}

.c-site-footer__note {
	margin: 0;
}

.c-site-footer__credits {
	display: flex;
	flex-wrap: wrap;
	gap: var(--site-footer-legal-gap);

	/* «Разработка — ZOLIN DIGITAL», «Работает на хостинге beget»: the names are the links, in bold and underlined
	   (stand out from the plain text before them). */
	.c-site-footer__link {
		font-weight: var(--weight-bold);
		color: var(--color-text);
		text-decoration: underline;
		text-decoration-color: color-mix(in srgb, currentcolor 35%, transparent);
		text-underline-offset: 0.2em;

		&:hover {
			color: var(--color-primary-text);
			text-decoration-color: currentcolor;
		}
	}
}

/* «Настройки cookie»: a button that looks like the neighbouring links. */
.c-site-footer__cookie {
	padding: 0;
	font: inherit;
	background: none;
	border: 0;
	cursor: pointer;
}
}
/* src: assets/components/site-header/site-header.css */
@layer components {
/*
 * Component site-header: sticky bar with the logo, the desktop primary navigation and its "Ещё" disclosure, the
 * actions (theme toggle, search, favorites, login / account) and the burger of the mobile menu.
 * States: .is-scrolled (page scrolled, site-header.js), .is-open (mobile menu open, from mobile-menu:change),
 * [aria-expanded] on the "Ещё" toggle and the burger; modifier --overlay = transparent over the front-page hero until
 * scrolled / opened. Colours from the legacy role tokens (the dark theme comes from their dark values) and the
 * theme-independent --color-on-media* tokens over the hero.
 * Header fit (user decision Q-R6-1 (c), 2026-10-14): below 36em logo without tagline + theme toggle, search, favorites
 * and burger (the login icon lives in the mobile menu); compact step below the 20em container threshold of
 * the header row; from 62em the desktop navigation and login; 62em-75em tighter links / actions; the action labels are hover hints only.
 * The shared logo / theme-toggle components get only placement / box / colour through their element classes here
 * (BEM mix). The shared button component (desktop login / account: c-button--secondary --sm, R-7d1) gets only its
 * placement / visibility from here and, over the hero, its colour settings (--button-*); the legacy .btn__count badges
 * keep their own look (R-12), positioned from here.
 * Markup: template-parts/components/site-header.php; behaviour: site-header.js.
 */
.c-site-header {
	--site-header-surface-mix: 92%;
	--site-header-blur: 12px;
	--site-header-border-width: 1px;
	--site-header-list-gap: 2px;
	--site-header-list-gap-wide: 6px;
	--site-header-link-gap: 4px;
	--site-header-link-height: 40px;
	--site-header-link-padding: 8px 12px;
	--site-header-link-padding-tight: 8px 7px;
	--site-header-link-padding-wide: 8px 14px;
	--site-header-nav-icon-size: 18px;
	--site-header-nav-icon-gap: 6px;
	--site-header-chevron-size: 14px;
	--site-header-chevron-opacity: 0.7;
	--site-header-chevron-turn: 180deg;
	--site-header-more-offset: 8px;
	--site-header-more-width: 220px;
	--site-header-more-padding: 8px;
	--site-header-more-shift: -6px;
	--site-header-more-item-gap: 10px;
	--site-header-more-item-padding: 10px 12px;
	--site-header-more-icon-size: 18px;
	--site-header-actions-gap: 4px;
	--site-header-actions-gap-tight: 2px;
	--site-header-action-size: 42px;
	--site-header-action-size-tight: 40px;
	--site-header-action-size-compact: 38px;
	--site-header-action-padding: 0 10px;
	--site-header-action-padding-tight: 0 9px;
	--site-header-action-padding-compact: 0 8px;
	--site-header-action-gap: 8px;
	--site-header-icon-size: 22px;
	--site-header-badge-offset: 4px;
	--site-header-badge-gap: -2px;
	--site-header-login-gap: 6px;
	--site-header-name-width: 14ch;
	--site-header-burger-size: 42px;
	--site-header-burger-offset: -8px;
	--site-header-burger-icon-size: 24px;
	--site-header-hint-offset: 6px;
	--site-header-hint-padding: 4px 8px;
	--site-header-hint-line-height: 1.4;

	position: sticky;
	top: 0;
	z-index: var(--z-header);
	height: var(--header-height);
	color: var(--color-text);
	background-color: color-mix(in srgb, var(--color-surface) var(--site-header-surface-mix), transparent);
	border-bottom: var(--site-header-border-width) solid transparent;
	/* No shadow: the bar is the page plane itself (its blurred backdrop separates it from what scrolls under). */
	box-shadow: none;
	backdrop-filter: blur(var(--site-header-blur));
	transition: background-color var(--duration-base) ease, color var(--duration-base) ease, border-color var(--duration-base) ease;

	/* One neumorphic level: the header bar is raised, its links and buttons are flat (inset on hover). */
	& > * {
		--neu-raise: none;
		--neu-raise-sm: none;
		--neu-control-bg: var(--neu-flat);
	}
}

/* Over the front-page hero until the page is scrolled or the mobile menu is open; the next block (hero) slides under it. */
.c-site-header--overlay {
	margin-bottom: calc(-1 * var(--header-height));
}

.c-site-header--overlay:not(.is-scrolled, .is-open) {
	color: var(--color-on-media);
	background-color: transparent;
	border-bottom-color: transparent;
	box-shadow: none;
	backdrop-filter: none;
}

.c-site-header__inner {
	display: flex;
	align-items: center;
	gap: var(--space-2);
	height: 100%;
	container-type: inline-size;

	@media (width >= 36em) {
		gap: var(--space-4);
	}
}

/* Desktop navigation (from 62em). */
.c-site-header__nav {
	display: none;
	margin-left: var(--space-4);

	@media (width >= 62em) {
		display: block;
	}
}

.c-site-header__list {
	display: flex;
	align-items: center;
	gap: var(--site-header-list-gap);

	@media (width >= 75em) {
		gap: var(--site-header-list-gap-wide);
	}
}

.c-site-header__nav-link {
	display: inline-flex;
	align-items: center;
	gap: var(--site-header-link-gap);
	min-height: var(--site-header-link-height);
	padding: var(--site-header-link-padding);
	color: inherit;
	font-size: var(--text-sm);
	font-weight: 700;
	border-radius: var(--radius-pill);
	transition: background-color var(--duration-fast) ease, color var(--duration-fast) ease, box-shadow var(--duration-fast) ease;

	&:hover,
	&[aria-expanded="true"] {
		color: inherit;
		box-shadow: var(--shadow-inset-sm);
	}

	@media (width >= 62em) {
		padding: var(--site-header-link-padding-tight);
	}

	@media (width >= 75em) {
		padding: var(--site-header-link-padding-wide);
	}
}

/* Icon before the text of a desktop link (sprite icon by URL, currentColor: follows hover / current / overlay colours). */
.c-site-header__nav-icon {
	flex-shrink: 0;
	width: var(--site-header-nav-icon-size);
	height: var(--site-header-nav-icon-size);
	margin-right: calc(var(--site-header-nav-icon-gap) - var(--site-header-link-gap));
}

/* "Ещё": disclosure button + list of the remaining items (site-header.js toggles hidden / aria-expanded). */
.c-site-header__more {
	position: relative;
}

.c-site-header__chevron {
	width: var(--site-header-chevron-size);
	height: var(--site-header-chevron-size);
	opacity: var(--site-header-chevron-opacity);
	transition: transform var(--duration-fast) ease;
}

.c-site-header__more-toggle[aria-expanded="true"] .c-site-header__chevron {
	transform: rotate(var(--site-header-chevron-turn));
}

.c-site-header__more-list {
	position: absolute;
	top: calc(100% + var(--site-header-more-offset));
	left: 0;
	z-index: var(--z-dropdown);
	min-width: var(--site-header-more-width);
	padding: var(--site-header-more-padding);
	color: var(--color-text);
	background-color: var(--color-surface);
	border: var(--site-header-border-width) solid transparent;
	border-radius: var(--radius-md);
	box-shadow: var(--shadow-lg);
	animation-name: c-site-header-more-in;
	animation-duration: var(--duration-fast);
	animation-timing-function: var(--easing-out);
}

.c-site-header__more-link {
	display: flex;
	align-items: center;
	gap: var(--site-header-more-item-gap);
	width: 100%;
	padding: var(--site-header-more-item-padding);
	color: var(--color-text);
	font-size: var(--text-sm);
	font-weight: 600;
	text-align: left;
	border-radius: var(--radius-pill);
	transition: background-color var(--duration-fast) ease, color var(--duration-fast) ease, box-shadow var(--duration-fast) ease;

	&:hover,
	&:focus-visible {
		color: var(--color-primary-text);
		box-shadow: var(--shadow-inset-sm);
	}

	/* The keyboard focus keeps a real ring (the background alone was too faint in the light theme). */
	&:focus-visible {
		outline: var(--focus-width) solid var(--color-focus);
		outline-offset: calc(var(--focus-width) * -1);
	}
}

.c-site-header__more-icon {
	width: var(--site-header-more-icon-size);
	height: var(--site-header-more-icon-size);
	color: var(--color-text-muted);
}

/*
 * Actions. Mobile-first: compact below the 20em header row, normal from it, tighter 62em-75em, normal from 75em.
 * min-width 0 (here and on the account button) + flex-shrink 0 on the icon / label actions: when a long account name
 * does not fit next to the navigation, only the name gets a shorter ellipsis instead of pushing the row out of the
 * header (F-6); nothing else shrinks.
 */
.c-site-header__actions {
	display: flex;
	align-items: center;
	gap: var(--site-header-actions-gap-tight);
	min-width: 0;
	margin-left: auto;

	@container (width >= 20em) {
		gap: var(--site-header-actions-gap);
	}

	@media (width >= 62em) {
		gap: var(--site-header-actions-gap-tight);
	}

	@media (width >= 75em) {
		gap: var(--site-header-actions-gap);
	}
}

/* Four actions (the cart link once the cart has items) and the menu button do not fit next to the full logo in a phone
   row (round 22: the cart ran into the menu button at 320–375px): below 24em of the row the logo keeps its mark only. */
.c-site-header__inner:has(> .c-site-header__actions > :nth-child(4)) > .c-site-header__logo {
	--logo-compact-text: none;

	@container (width >= 24em) {
		--logo-compact-text: inline;
	}
}

.c-site-header__action {
	position: relative;
	display: inline-flex;
	flex-shrink: 0;
	align-items: center;
	justify-content: center;
	gap: var(--site-header-action-gap);
	min-width: var(--site-header-action-size-compact);
	height: var(--site-header-action-size);
	padding: var(--site-header-action-padding-compact);
	color: inherit;
	font-size: var(--text-sm);
	font-weight: 700;
	border-radius: var(--radius-pill);
	transition: background-color var(--duration-fast) ease, color var(--duration-fast) ease, box-shadow var(--duration-fast) ease;

	&:hover {
		color: inherit;
		box-shadow: var(--shadow-inset-sm);
	}

	@container (width >= 20em) {
		min-width: var(--site-header-action-size);
		padding: var(--site-header-action-padding);
	}

	@media (width >= 62em) {
		min-width: var(--site-header-action-size-tight);
		padding: var(--site-header-action-padding-tight);
	}

	@media (width >= 75em) {
		min-width: var(--site-header-action-size);
		padding: var(--site-header-action-padding);
	}
}

.c-site-header__action-icon {
	width: var(--site-header-icon-size);
	height: var(--site-header-icon-size);
}

.c-site-header__action-label {
	display: none;
}

/* Count badge in the corner of the icon (site-header.js sets the number; «0» by default, round 24). */
.c-site-header__count {
	position: absolute;
	top: var(--site-header-badge-offset);
	right: var(--site-header-badge-offset);
	display: inline-grid;
	place-items: center;
	min-width: 1.125rem;
	height: 1.125rem;
	padding-inline: var(--space-1);
	font-size: var(--text-2xs);
	font-weight: var(--weight-bold);
	line-height: 1;
	/* Red (round 24, the owner's choice), «0» included. */
	color: var(--color-on-primary);
	background-color: var(--color-danger);
	border: 2px solid var(--color-surface);
	border-radius: var(--radius-pill);
}

.c-site-header__login {
	margin-left: var(--site-header-login-gap);
}

/* Login / account icon: 36em-62em (below 36em in the mobile menu, from 62em the desktop button). */
.c-site-header__login--mobile {
	display: none;

	@media (width >= 36em) {
		display: inline-flex;
	}

	@media (width >= 62em) {
		display: none;
	}
}

.c-site-header__login--desktop {
	display: none;
	min-width: 0;

	@media (width >= 62em) {
		display: inline-flex;
	}
}

.c-site-header__user-name {
	max-width: var(--site-header-name-width);
	overflow: hidden;
	text-overflow: ellipsis;
	white-space: nowrap;
}

/* Burger (below 62em): menu icon, close icon while the mobile menu is open. */
.c-site-header__burger {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	width: var(--site-header-burger-size);
	height: var(--site-header-burger-size);
	margin-right: var(--site-header-burger-offset);
	color: inherit;
	border-radius: var(--radius-pill);
	transition: background-color var(--duration-fast) ease, box-shadow var(--duration-fast) ease;

	&:hover {
		box-shadow: var(--shadow-inset-sm);
	}

	@media (width >= 62em) {
		display: none;
	}
}

.c-site-header__burger-icon {
	width: var(--site-header-burger-icon-size);
	height: var(--site-header-burger-icon-size);
}

.c-site-header__burger-close {
	display: none;
}

.c-site-header__burger[aria-expanded="true"] .c-site-header__burger-open {
	display: none;
}

.c-site-header__burger[aria-expanded="true"] .c-site-header__burger-close {
	display: block;
}

/* Over the hero (not scrolled): translucent white hover fills, light desktop login button (button colour settings). */
.c-site-header--overlay:not(.is-scrolled) .c-site-header__nav-link:hover,
.c-site-header--overlay:not(.is-scrolled) .c-site-header__nav-link[aria-expanded="true"],
.c-site-header--overlay:not(.is-scrolled) .c-site-header__action:hover,
.c-site-header--overlay:not(.is-scrolled) .c-site-header__burger:hover {
	background-color: var(--color-on-media-fill);
}

.c-site-header--overlay:not(.is-scrolled) .c-site-header__login--desktop {
	--button-bg: var(--color-on-media-fill);
	--button-text: var(--color-on-media);
	--button-border: var(--color-on-media-line);
	--button-bg-hover: var(--color-on-media-fill-hover);
}

/*
 * Hints of the icon-only actions on pointer devices: the hidden label of search / favorites and the
 * aria-label of the login icon (the rightmost icon: the hint ends at its right edge, never widening the page).
 * The theme toggle shows its own hint (theme-toggle.css).
 */
@media (hover: hover) {
	.c-site-header__action:hover > .c-site-header__action-label,
	.c-site-header__action:focus-visible > .c-site-header__action-label,
	.c-site-header__login--mobile:hover::after,
	.c-site-header__login--mobile:focus-visible::after {
		position: absolute;
		top: calc(100% + var(--site-header-hint-offset));
		left: 50%;
		z-index: var(--z-dropdown);
		display: block;
		padding: var(--site-header-hint-padding);
		color: var(--color-text);
		font-size: var(--text-xs);
		font-weight: 600;
		line-height: var(--site-header-hint-line-height);
		white-space: nowrap;
		background-color: var(--color-surface);
		border: var(--site-header-border-width) solid var(--color-border);
		border-radius: var(--radius-xs);
		box-shadow: var(--shadow-float);
		transform: translateX(-50%);
		pointer-events: none;
	}

	.c-site-header__login--mobile:hover::after,
	.c-site-header__login--mobile:focus-visible::after {
		content: attr(aria-label);
		right: 0;
		left: auto;
		transform: none;
	}
}

@keyframes c-site-header-more-in {
	from {
		opacity: 0;
		transform: translateY(var(--site-header-more-shift));
	}

	to {
		opacity: 1;
		transform: none;
	}
}
}
/* src: assets/components/skip-link/skip-link.css */
@layer components {
/*
 * Component skip-link (spec 07): the first focusable element of the page; above the page top until it gets focus, then
 * shown in the top start corner. Markup: template-parts/components/skip-link.php.
 */
.c-skip-link {
	--skip-link-top-hidden: -100px;
	--skip-link-padding-block: 10px;

	position: absolute;
	top: var(--skip-link-top-hidden);
	left: var(--gutter);
	z-index: var(--z-skip-link);
	padding: var(--skip-link-padding-block) var(--space-4);
	color: var(--color-on-dark);
	background-color: var(--color-dark);
	border-radius: var(--radius-sm);

	&:focus {
		top: var(--space-3);
	}
}
}
/* src: assets/components/skipass/skipass.css */
@layer components {
/*
 * Ski pass: the ski-pass sub-page parts of the resort (tariff tables use the shared c-table).
 * Modifier --buy: "where to buy" call-out > __icon tile, __body (h2.__title, p.__text), a.c-button.__action to the
 * resort's official site. The icon, text and button stack on phones and line up from 48em.
 * Neumorphism: the call-out is a raised box, its icon an inset well, the button flat inside it.
 */
.c-skipass {
	display: grid;
	gap: var(--space-4);
}

.c-skipass--buy {
	padding: var(--space-5);
	background-color: var(--neu-plane);
	border-radius: var(--radius-lg);
	box-shadow: var(--neu-raise);

	@media (width >= 48em) {
		grid-template-columns: auto minmax(0, 1fr) auto;
		gap: var(--space-5);
		align-items: center;
		padding: var(--space-6);
	}

	/* One neumorphic level: the content of the raised box is flat or inset. */
	& > * {
		--neu-raise: none;
		--neu-raise-sm: none;
		--neu-control-bg: var(--neu-flat);
	}
}

.c-skipass__icon {
	display: grid;
	place-items: center;
	width: 3rem;
	height: 3rem;
	font-size: 1.5rem;
	color: var(--color-primary-text);
	border-radius: var(--radius-md);
	box-shadow: var(--shadow-inset-sm);
}

.c-skipass__body {
	display: grid;
	gap: var(--space-1);
	min-width: 0;
}

.c-skipass__title {
	font-size: var(--text-h3);
}

.c-skipass__text {
	color: var(--color-text-secondary);
}

.c-skipass__action {
	justify-self: start;
}
}
/* src: assets/components/slider/slider.css */
@layer components {
/*
 * Slider: a horizontal row of cards (APG carousel markup, no auto-advance). The track is a scroll-snap row that works
 * without JS (swipe, wheel, keyboard focus); slider.js adds the prev / next buttons, arrow keys, mouse drag and the
 * pagination dots. A whole number of cards is in view (no peeking part of the next one): 1, 2, 3 or 4 by the width
 * of the slider (container queries: as many --card-min cards as fit, at most 4).
 * Neumorphism: the track pads (and pulls back) room for the raised cards' shadows — sideways exactly one gap, so the
 * next card starts just outside the visible area; dots are inset wells (the current one a primary pill), the
 * prev / next buttons neutral raised controls (pressed = inset).
 * The track is a one-row grid of columns; every slide spans the card's rows (--card-rows) and hands them down
 * (subgrid), so the parts of the cards in view line up (see card.css). Slides of other content take the first row.
 */
.c-slider {
	--slider-gap: var(--grid-gap);
	--slider-shadow-room: var(--space-6);
	--slider-dot-size: 0.625rem;
	--slider-dot-current: 1.75rem;

	container: slider / inline-size;
	display: grid;
	gap: var(--space-4);
	min-width: 0;
}

.c-slider__track {
	--slider-per-view: 1;

	display: grid;
	grid-auto-columns: calc((100% - (var(--slider-per-view) - 1) * var(--slider-gap)) / var(--slider-per-view));
	grid-auto-flow: column;
	column-gap: var(--slider-gap);
	row-gap: 0;
	margin: calc(var(--slider-shadow-room) * -1) calc(var(--slider-gap) * -1);
	padding: var(--slider-shadow-room) var(--slider-gap) calc(var(--slider-shadow-room) + var(--space-2));
	overflow-x: auto;
	overscroll-behavior-x: contain;
	scroll-snap-type: x mandatory;
	scroll-padding-inline: var(--slider-gap);
	scrollbar-width: none;

	&::-webkit-scrollbar {
		display: none;
	}

	&:focus-visible {
		outline: var(--focus-width) solid var(--color-focus);
		outline-offset: calc(var(--space-1) * -1);
		border-radius: var(--radius-lg);
	}

	&.is-dragging {
		cursor: grabbing;
		scroll-snap-type: none;
		user-select: none;
	}

	/* k cards of --card-min (16rem) and k - 1 gaps (up to 1.5rem) fit. */
	@container slider (width >= 33.5rem) {
		--slider-per-view: 2;
	}

	@container slider (width >= 51rem) {
		--slider-per-view: 3;
	}

	@container slider (width >= 68.5rem) {
		--slider-per-view: 4;
	}
}

/* --dense: small tiles (the sections of the site, round 20): up to 5 in a row, 12rem tiles. */
.c-slider--dense .c-slider__track {
	@container slider (width >= 25.5rem) {
		--slider-per-view: 2;
	}

	@container slider (width >= 39rem) {
		--slider-per-view: 3;
	}

	@container slider (width >= 52.5rem) {
		--slider-per-view: 4;
	}

	@container slider (width >= 66rem) {
		--slider-per-view: 5;
	}
}

/* --single: one slide in view at any width (the trip offers of c-showcase, round 24). */
.c-slider--single .c-slider__track {
	--slider-per-view: 1;

	@container slider (width >= 33.5rem) {
		--slider-per-view: 1;
	}

	@container slider (width >= 51rem) {
		--slider-per-view: 1;
	}

	@container slider (width >= 68.5rem) {
		--slider-per-view: 1;
	}
}

.c-slider__slide {
	--card-subgrid: subgrid;
	--card-span: span var(--card-rows);
	--card-container: normal;

	display: grid;
	grid-row: span var(--card-rows);
	grid-template-rows: subgrid;
	min-width: 0;
	scroll-snap-align: start;
}

/* Out of view (slider.js): no raised shadow in the side shadow room (one-level context of the card inside). */
.c-slider__slide.is-outside {
	--neu-raise: none;
	--neu-raise-sm: none;
}

.c-slider__nav {
	display: flex;
	align-items: center;
	gap: var(--space-2);
}

.c-slider__dots {
	display: flex;
	flex-wrap: wrap;
	align-items: center;
	gap: 0;
	min-width: 0;
	margin-inline-end: auto;
}

/* A dot: a 16 x 24px target around a small inset well (a dozen pages still fit one row next to the buttons on a
   phone); the current page is a wider primary pill. */
.c-slider__dot {
	display: inline-grid;
	place-items: center;
	min-width: 1rem;
	height: 1.5rem;
	padding: 0;
	background: none;
	border: 0;
	border-radius: var(--radius-pill);
	cursor: pointer;

	&::before {
		content: "";
		width: var(--slider-dot-size);
		height: var(--slider-dot-size);
		border-radius: var(--radius-pill);
		box-shadow: var(--shadow-inset-sm);
		transition: background-color var(--duration-fast) ease;
	}

	&:hover::before {
		background-color: var(--neu-flat);
	}

	&[aria-current="true"]::before {
		width: var(--slider-dot-current);
		background-color: var(--color-primary);
		box-shadow: none;
	}

	&:focus-visible {
		outline: var(--focus-width) solid var(--color-focus);
		outline-offset: 0;
	}
}

.c-slider__button {
	display: inline-grid;
	flex: none;
	place-items: center;
	width: var(--control-height);
	height: var(--control-height);
	color: var(--color-text);
	background-color: var(--neu-control-bg);
	border: 0;
	border-radius: 50%;
	box-shadow: var(--neu-raise-sm);
	transition: var(--transition-colors), box-shadow var(--duration-fast) ease, opacity var(--duration-fast) ease;

	&:hover {
		color: var(--color-primary-text);
	}

	&:active {
		box-shadow: var(--shadow-inset-sm);
	}

	&:focus-visible {
		outline: var(--focus-width) solid var(--color-focus);
		outline-offset: var(--focus-offset);
	}

	&[aria-disabled="true"] {
		color: var(--color-text-subtle);
		box-shadow: var(--neu-raise-sm);
		cursor: default;
		opacity: 0.6;
	}
}

.c-slider__icon {
	width: 1.25rem;
	height: 1.25rem;
}
}
/* src: assets/components/slopes/slopes.css */
@layer components {
/*
 * Slopes: length of the resort's runs by difficulty.
 * Root .c-slopes (card): __stack = one segmented overview bar (__segment--green|blue|red|black, width from
 * style="--share: N%", share of the total length); __list of levels: __item--<level> with style="--fill: N%"
 * (bar length relative to the longest level), __label with the diagonal difficulty __mark, __bar, __value with the
 * __share percentage; __total row. Narrow cards put the bar under the label, wide cards (container 30em+) in one row.
 * Modifier --maps: the slope map figures of the resort sub-page (__map > __map-link > __map-image + __map-zoom chip).
 * Neumorphism: the card is raised, the level bars are inset tracks; --maps has no box, each map figure is raised and
 * the zoom chip on the image has no shadow (it sits inside the raised map figure).
 */
.c-slopes {
	--slopes-color: var(--color-slope-green);
	--slopes-track: transparent;
	--slopes-bar-height: 0.625rem;

	container-type: inline-size;
	display: grid;
	gap: var(--space-5);
	padding: var(--space-5);
	background-color: var(--neu-plane);
	border-radius: var(--radius-lg);
	box-shadow: var(--neu-raise);

	/* One neumorphic level: the content of the raised box is flat or inset. */
	& > * {
		--neu-raise: none;
		--neu-raise-sm: none;
		--neu-control-bg: var(--neu-flat);
	}
}

.c-slopes__stack {
	display: flex;
	gap: 2px;
	height: 0.75rem;
	overflow: hidden;
	border-radius: var(--radius-pill);
}

.c-slopes__segment {
	flex: 1 1 var(--share, 0%);
	min-width: 0.25rem;
	background-color: var(--slopes-color);
}

.c-slopes__list {
	display: grid;
	gap: var(--space-4);
}

.c-slopes__item {
	display: grid;
	grid-template-areas:
		"label value"
		"bar bar";
	grid-template-columns: minmax(0, 1fr) auto;
	gap: var(--space-2) var(--space-3);
	align-items: center;

	@container (width >= 30em) {
		grid-template-areas: "label bar value";
		grid-template-columns: 9.5rem minmax(0, 1fr) 6.5rem;
		gap: var(--space-4);
	}
}

.c-slopes__item--blue,
.c-slopes__segment--blue {
	--slopes-color: var(--color-slope-blue);
}

.c-slopes__item--red,
.c-slopes__segment--red {
	--slopes-color: var(--color-slope-red);
}

.c-slopes__item--black,
.c-slopes__segment--black {
	--slopes-color: var(--color-slope-black);
}

.c-slopes__label {
	grid-area: label;
	display: inline-flex;
	gap: var(--space-2);
	align-items: center;
	min-width: 0;
	font-size: var(--text-sm);
	font-weight: var(--weight-semibold);
}

/* Difficulty marker: a short diagonal line, as on the original site, not a dot. */
.c-slopes__mark {
	flex: none;
	width: 1.25rem;
	height: 0.25rem;
	background-color: var(--slopes-color);
	border-radius: var(--radius-pill);
	transform: rotate(-30deg);
}

.c-slopes__bar {
	grid-area: bar;
	display: block;
	height: var(--slopes-bar-height);
	overflow: hidden;
	background-color: var(--slopes-track);
	border-radius: var(--radius-pill);
	box-shadow: var(--shadow-inset-sm);

	&::before {
		display: block;
		width: var(--fill, 0%);
		height: 100%;
		content: "";
		background-color: var(--slopes-color);
		border-radius: inherit;
	}
}

.c-slopes__value {
	grid-area: value;
	display: inline-flex;
	gap: var(--space-2);
	align-items: baseline;
	justify-content: flex-end;
	font-weight: var(--weight-heavy);
	font-variant-numeric: tabular-nums;
	white-space: nowrap;
}

.c-slopes__share {
	min-width: 2.25rem;
	font-size: var(--text-xs);
	font-weight: var(--weight-semibold);
	color: var(--color-text-secondary);
	text-align: right;
}

.c-slopes__total {
	display: flex;
	flex-wrap: wrap;
	gap: var(--space-2);
	justify-content: space-between;
	padding-top: var(--space-4);
	font-size: var(--text-sm);
	color: var(--color-text-secondary);
	border-top: var(--border-width) solid var(--color-border);
}

.c-slopes__total-value {
	font-weight: var(--weight-heavy);
	color: var(--color-text);
}

/* Slope map figures (resort sub-page). */
.c-slopes--maps {
	grid-template-columns: repeat(auto-fit, minmax(min(100%, 22rem), 1fr));
	gap: var(--space-4);
	padding: 0;
	background-color: transparent;
	border-radius: 0;
	box-shadow: none;

	/* No box of its own: the map figures are the raised level. */
	& > * {
		--neu-raise: inherit;
		--neu-raise-sm: inherit;
		--neu-control-bg: inherit;
	}
}

.c-slopes__map {
	overflow: hidden;
	background-color: var(--neu-plane);
	border-radius: var(--radius-lg);
	box-shadow: var(--neu-raise);
}

/* The zoom chip sits on the image by grid stacking (no absolute positioning). */
.c-slopes__map-link {
	display: grid;
	color: var(--color-text);
	text-decoration: none;
	border-radius: inherit;

	& > * {
		grid-area: 1 / 1;
	}

	&:hover {
		--slopes-zoom-text: var(--color-on-primary);
		--slopes-zoom-bg: var(--color-primary);
	}

	&:focus-visible {
		outline: var(--focus-width) solid var(--color-focus);
		outline-offset: calc(var(--focus-width) * -1);
	}
}

.c-slopes__map-caption {
	padding: var(--space-3);
	font-size: var(--text-sm);
	color: var(--color-text-muted);
}

.c-slopes__map-image {
	width: 100%;
	height: auto;
}

.c-slopes__map-zoom {
	display: inline-flex;
	gap: var(--space-2);
	align-items: center;
	align-self: end;
	justify-self: end;
	margin: var(--space-3);
	padding: var(--space-2) var(--space-3);
	font-size: var(--text-xs);
	font-weight: var(--weight-bold);
	color: var(--slopes-zoom-text, var(--color-on-media-chip));
	background-color: var(--slopes-zoom-bg, var(--color-media-chip));
	border-radius: var(--radius-pill);
	transition: var(--transition-colors);
}
}
/* src: assets/components/socials/socials.css */
@layer components {
/*
 * Socials: the links to our channels (round 19, 2026-11-11) — Telegram channel, VK, Instagram. __list of __link pills
 * (__icon, __text: __name, __handle = the address, --stacked only). No Meta note (removed in round 22).
 * Default: a wrapping row of pills. --stacked: one link per line across the box, the address at the end edge (the aside
 * widget). --icons: round icon buttons (c-button--icon) — the site footer.
 * The links are secondary buttons (c-button c-button--secondary). Markup: template-parts/components/socials.php.
 */
.c-socials {
	display: grid;
	gap: var(--space-3);
	min-width: 0;
}

.c-socials__list {
	display: flex;
	flex-wrap: wrap;
	gap: var(--space-2);
	padding: 0;
	list-style: none;
}

.c-socials__item {
	display: flex;
	min-width: 0;
}

/* The links are secondary buttons (c-button c-button--secondary c-socials__link, round 20); here only the layout. */
.c-socials__link {
	min-width: 0;
}

.c-socials__icon {
	flex: none;
	width: 1.25rem;
	height: 1.25rem;
}

.c-socials__text {
	display: flex;
	flex: 1 1 auto;
	gap: var(--space-1) var(--space-3);
	align-items: baseline;
	justify-content: space-between;
	min-width: 0;
}

.c-socials__name {
	white-space: nowrap;
}

.c-socials__handle {
	overflow: hidden;
	font-size: var(--text-xs);
	font-weight: var(--weight-regular);
	color: var(--color-text-secondary);
	text-overflow: ellipsis;
	white-space: nowrap;
}

.c-socials--stacked {
	& .c-socials__list {
		flex-direction: column;
	}

	& .c-socials__link {
		flex: 1 1 auto;
		justify-content: flex-start;
	}
}

/* --icons: round icon buttons, the name for screen readers and as the tooltip (the site footer, round 21). */
.c-socials--icons .c-socials__list {
	gap: var(--space-3);
}
}
/* src: assets/components/star-input/star-input.css */
@layer components {
/*
 * Star input: rating 1–5 as native radios (visually hidden) with star labels; arrows move between the stars natively.
 * Stars up to the checked one (or the hovered one) are filled.
 */
.c-star-input__options {
	--star-off: var(--color-border-strong);
	--star-on: var(--color-star);

	display: flex;
	gap: var(--space-1);
}

.c-star-input__star {
	--icon-size: 1.75rem;

	display: grid;
	place-items: center;
	width: 2.75rem;
	height: 2.75rem;
	color: var(--star-off);
	cursor: pointer;
	border-radius: var(--radius-sm);
	transition: color var(--duration-fast) ease;
}

.c-star-input__icon {
	fill: currentColor;
}

.c-star-input__options:has(.c-star-input__input:checked) .c-star-input__star {
	color: var(--star-on);
}

.c-star-input__input:checked + .c-star-input__star ~ .c-star-input__star {
	color: var(--star-off);
}

.c-star-input__options:has(.c-star-input__star:hover) .c-star-input__star {
	color: var(--star-on);
}

.c-star-input__star:hover ~ .c-star-input__star {
	color: var(--star-off);
}

.c-star-input__input:focus-visible + .c-star-input__star {
	outline: var(--focus-width) solid var(--color-focus);
	outline-offset: var(--focus-offset);
}
}
/* src: assets/components/stars/stars.css */
@layer components {
/*
 * Stars (2026-11-08, eighth round): a read-only rating of 0–5 as five stars — the grey row (c-stars__base) with the
 * gold row (c-stars__fill) laid over it and cut to --stars-value / 5 of its width, so 4,8 fills most of the fifth star.
 * The holder is role="img" with the value in aria-label; both rows are decorative. Set by the markup:
 * style="--stars-value: 4.8". --lg for the reviews summary.
 */
.c-stars {
	--stars-size: 1rem;
	--stars-gap: 0.125rem;
	--stars-on: var(--color-star);
	--stars-off: var(--color-border-strong);

	position: relative;
	display: inline-flex;
	flex: none;
	vertical-align: middle;
	line-height: 0;
}

.c-stars--lg {
	--stars-size: 1.375rem;
	--stars-gap: 0.1875rem;
}

.c-stars__base,
.c-stars__fill {
	display: inline-flex;
	gap: var(--stars-gap);
}

.c-stars__base {
	color: var(--stars-off);
}

.c-stars__fill {
	position: absolute;
	inset-block: 0;
	inset-inline-start: 0;
	width: calc(clamp(0, var(--stars-value, 0), 5) / 5 * 100%);
	overflow: hidden;
	color: var(--stars-on);
}

.c-stars__star {
	--icon-size: var(--stars-size);
}
}
/* src: assets/components/sticky-cta/sticky-cta.css */
@layer components {
/*
 * Sticky CTA: bottom bar on phones and tablets with the price and the main action, shown while the header actions
 * and the booking form are off-screen (sticky-cta.js toggles is-visible, aria-hidden and inert). Hidden from 62em.
 * Neumorphism: a floating layer (--shadow-raised-lg, the top line kept as its edge) that clears the --neu context.
 */
.c-sticky-cta {
	position: fixed;
	right: 0;
	bottom: 0;
	left: 0;
	z-index: var(--z-floating);
	display: flex;
	gap: var(--space-3);
	align-items: center;
	justify-content: space-between;
	padding: var(--space-3) var(--gutter) calc(var(--space-3) + env(safe-area-inset-bottom, 0px));
	background-color: var(--neu-plane);
	border-top: var(--border-width) solid var(--color-border);
	box-shadow: var(--shadow-raised-lg);
	opacity: 0;
	transform: translateY(100%);
	transition: transform var(--duration-base) var(--easing-out), opacity var(--duration-base) ease;

	&.is-visible {
		opacity: 1;
		transform: none;
	}

	/* One neumorphic level: the content of the floating layer is flat or inset. */
	& > * {
		--neu-raise: none;
		--neu-raise-sm: none;
		--neu-control-bg: var(--neu-flat);
	}

	@media (width >= 62em) {
		display: none;
	}
}

.c-sticky-cta__price {
	display: flex;
	flex-direction: column;
	min-width: 0;
}

.c-sticky-cta__value {
	font-size: var(--text-lg);
	font-weight: var(--weight-heavy);
	line-height: var(--leading-tight);
	color: var(--color-secondary-text); /* prices: the second accent */
}

.c-sticky-cta__note {
	overflow: hidden;
	font-size: var(--text-xs);
	color: var(--color-text-secondary);
	text-overflow: ellipsis;
	white-space: nowrap;
}

.c-sticky-cta__button {
	flex: 0 0 auto;
}
}
/* src: assets/components/sticky-sidebar/sticky-sidebar.css */
@layer components {
/*
 * Sticky sidebar: the side column of a two-column layout (archive filters, the aside of an entry, the account
 * navigation) follows the page in both directions from 62em.
 * A column shorter than the screen sticks under the sticky bars (header + the sticky subnav, --subnav-height).
 * A taller one scrolls with the page until its end is in view and sticks at the bottom while scrolling down; while
 * scrolling up it scrolls back with the page and sticks at the top. sticky-sidebar.js moves `top` between the two
 * limits; it reads them from scroll-margin-block (start = top limit, end = gap to the bottom of the screen).
 * Markup: data-component="sticky-sidebar" on the layout, .c-sticky-sidebar[data-sticky-sidebar] on the column.
 * Without JS the column stays in the flow. No ancestor may clip with overflow (hidden / auto) — that turns sticky off.
 */
.c-sticky-sidebar {
	--sticky-sidebar-top: calc(var(--header-height) + var(--subnav-height, 0px) + var(--space-4));
	--sticky-sidebar-gap: var(--space-4);
}

.is-js .c-sticky-sidebar {
	@media (width >= 62em) {
		position: sticky;
		top: var(--sticky-sidebar-top);
		align-self: start;
		scroll-margin-block: var(--sticky-sidebar-top) var(--sticky-sidebar-gap);
	}
}
}
/* src: assets/components/subnav/subnav.css */
@layer components {
/*
 * Sub-navigation of a single page: sticky horizontal strip under the site header.
 * Sections mode — in-page anchors, the current section gets aria-current="location" (subnav.js scrollspy);
 * pages mode (data-subnav-mode="pages") — pages of the object (resort and its sub-pages), aria-current="page".
 * Neumorphism: links are neutral raised pills on the strip (flat inside a raised box); current = inset + primary text.
 * The list pads room for their shadows (it scrolls, so it clips).
 * --narrow (2026-11-09): a page with a sticky aside shows the strip on phones and tablets only; from 62em the same links
 * are the table of contents of the aside (c-toc--wide-only).
 * The list is a drift row (c-drift, 2026-11-09): when it does not fit, it moves slowly left and right by itself and
 * stops under the mouse, on focus and on the visitor's own scroll (drift.js); its own padding and edge fades stay.
 */
.c-subnav {
	position: sticky;
	top: var(--header-height);
	z-index: var(--z-sticky);
	padding-block: var(--space-1);
	background-color: var(--neu-plane);
	border-bottom: var(--border-width) solid var(--color-border);
}

.c-subnav__list {
	display: flex;
	gap: var(--space-3);
	padding: var(--space-2);
	overflow-x: auto;
	list-style: none;
	scroll-padding-inline: var(--space-4);
	scrollbar-width: none;
	overscroll-behavior-x: contain;

	&::-webkit-scrollbar {
		display: none;
	}
}

/* Edge fade where links are scrolled out of view (classes from subnav.js). The list is a drift row too (moves by itself
   while it overflows, drift.js): this two-sided fade is stronger than the fade of the drift row, so it wins. */
.c-subnav .c-subnav__list {
	&.is-overflow-end {
		mask-image: linear-gradient(to right, currentColor calc(100% - var(--space-10)), transparent);
	}

	&.is-overflow-start {
		mask-image: linear-gradient(to left, currentColor calc(100% - var(--space-10)), transparent);
	}

	&.is-overflow-start.is-overflow-end {
		mask-image: linear-gradient(to right, transparent, currentColor var(--space-10), currentColor calc(100% - var(--space-10)), transparent);
	}
}

.c-subnav__item {
	flex: 0 0 auto;
}

.c-subnav__link {
	display: inline-flex;
	align-items: center;
	min-height: 2.25rem;
	padding: var(--space-1) var(--space-4);
	font-size: var(--text-sm);
	font-weight: var(--weight-semibold);
	color: var(--color-text-secondary);
	text-decoration: none;
	white-space: nowrap;
	background-color: var(--neu-control-bg);
	border-radius: var(--radius-pill);
	box-shadow: var(--neu-raise-sm);
	transition: var(--transition-colors), box-shadow var(--duration-fast) ease;

	&:hover {
		color: var(--color-primary-text);
	}

	&:active {
		box-shadow: var(--shadow-inset-sm);
	}

	&:focus-visible {
		outline-offset: -1px;
	}

	&[aria-current] {
		color: var(--color-primary-text);
		box-shadow: var(--shadow-inset-sm);
	}
}

/* Pages of the object above the sections strip (resort overview): scrolls away, the sections strip stays sticky. */
.c-subnav--pages {
	position: static;
	padding-block-end: 0;
	border-bottom: 0;
}

.c-subnav--narrow {
	@media (width >= 62em) {
		display: none;
	}
}
}
/* src: assets/components/table/table.css */
@layer components {
/*
 * Table: data table in a horizontally scrolling wrapper (<div class="c-table"> > <table class="c-table__table">).
 * The table has a <caption> and <th scope>. Modifiers on the table: --striped, --compact, --prices (sticky first
 * column, numbers right-aligned and tabular).
 * Neumorphism: the wrapper is a raised box (no frame); the head row and stripes take the flat fill of the plane.
 */
.c-table {
	/* Contains absolutely positioned visually-hidden texts of the cells (else they widen the page). */
	position: relative;
	max-width: 100%;
	overflow-x: auto;
	background-color: var(--neu-plane);
	border-radius: var(--radius-lg);
	box-shadow: var(--neu-raise);
	overscroll-behavior-x: contain;

	&:focus-visible {
		outline: var(--focus-width) solid var(--color-focus);
		outline-offset: var(--focus-offset);
	}

	/* One neumorphic level: the content of the raised box is flat or inset. */
	& > * {
		--neu-raise: none;
		--neu-raise-sm: none;
		--neu-control-bg: var(--neu-flat);
	}
}

.c-table__table {
	--table-cell-padding: var(--space-3) var(--space-4);

	width: 100%;
	min-width: 100%;
	font-size: var(--text-sm);
	line-height: var(--leading-snug);
	border-collapse: collapse;
}

.c-table__table caption {
	padding: var(--space-3) var(--space-4); /* the space below too: it stuck to the column heads (2026-11-09) */
	font-weight: var(--weight-bold);
	color: var(--color-text);
	text-align: left;
}

.c-table__table :is(th, td) {
	padding: var(--table-cell-padding);
	text-align: left;
	vertical-align: top;
	/* Only row lines: a holder's cell grid (the editor table rule of c-prose) does not reach the cells. */
	border: 0;
	border-bottom: var(--border-width) solid var(--color-border);
}

.c-table__table thead th {
	font-size: var(--text-xs);
	font-weight: var(--weight-bold);
	letter-spacing: var(--tracking-wide);
	color: var(--color-text-secondary);
	text-transform: uppercase;
	white-space: nowrap;
	background-color: var(--neu-flat);
}

.c-table__table tbody tr:last-child > * {
	border-bottom: 0;
}

.c-table__table tbody th {
	font-weight: var(--weight-semibold);
}

.c-table__table--compact {
	--table-cell-padding: var(--space-2) var(--space-3);
}

.c-table__table--prices :is(td, th):not(:first-child) {
	font-variant-numeric: tabular-nums;
	text-align: right;
	white-space: nowrap;
}

.c-table__table--prices td:not(:first-child) {
	font-weight: var(--weight-bold);
	color: var(--color-secondary-text-hover); /* prices: the second accent, 4.5:1 on the striped rows */
}

.c-table__table--prices :is(td, th):first-child {
	position: sticky;
	left: 0;
	z-index: var(--z-raised);
	background-color: var(--neu-plane);
}

/*
 * --stack (on the wrapper): in a container narrower than 36rem every row is a card: the first cell (name) and the
 * last one (price) on the first line, the other cells below with their column name (data-label) as a caption.
 */
.c-table--stack {
	container: table / inline-size;
}

/* Wide (round 22): the last column — the price — reads as numbers (tabular, at the end edge, one line) and the
   category column does not break inside «(с 15 лет)». */
@container table (width >= 36rem) {
	.c-table--stack :is(td, th):last-child {
		font-variant-numeric: tabular-nums;
		text-align: end;
		white-space: nowrap;
	}

	.c-table--stack td:nth-child(2) {
		white-space: nowrap;
	}
}

@container table (width < 36rem) {
	.c-table--stack thead {
		position: absolute;
		width: 1px;
		height: 1px;
		overflow: hidden;
		clip-path: inset(50%);
		white-space: nowrap;
	}

	.c-table--stack :is(table, tbody) {
		display: block;
	}

	.c-table--stack tbody tr {
		display: grid;
		grid-template-columns: minmax(0, 1fr) auto;
		gap: var(--space-1) var(--space-3);
		padding: var(--space-3) var(--space-4);
		border-bottom: var(--border-width) solid var(--color-border);
	}

	.c-table--stack tbody tr:last-child {
		border-bottom: 0;
	}

	.c-table--stack tbody :is(td, th) {
		grid-column: 1 / -1;
		padding: 0;
		border: 0;
	}

	.c-table--stack tbody :is(td, th):first-child {
		grid-column: 1;
		grid-row: 1;
		font-weight: var(--weight-semibold);
	}

	.c-table--stack tbody :is(td, th):last-child {
		grid-column: 2;
		grid-row: 1;
		font-weight: var(--weight-heavy);
		white-space: nowrap;
	}

	.c-table--stack tbody :is(td, th):not(:first-child, :last-child)::before {
		display: block;
		content: attr(data-label);
		font-size: var(--text-xs);
		color: var(--color-text-muted);
	}
}
}
/* src: assets/components/tabs/tabs.css */
@layer components {
/*
 * Tabs: segmented tab list (scrolls sideways when it does not fit) + panels.
 * Selected tab from [aria-selected="true"]; panels hidden by the hidden attribute (tabs.js).
 * Neumorphism: tabs are neutral controls (raised on a plane, flat inside a raised box); selected = inset + primary text.
 * The list pads room for their shadows (it scrolls, so it clips).
 */
.c-tabs {
	display: flex;
	flex-direction: column;
	gap: var(--space-5);
	min-width: 0;
}

.c-tabs__list {
	display: flex;
	gap: var(--space-2);
	max-width: 100%;
	padding: var(--space-2);
	overflow-x: auto;
	scrollbar-width: none;
}

/* The tabs share the row and may shrink; a narrower padding on phones (round 22: «Восстановление» of the login card
   was cut at 375px). */
.c-tabs__tab {
	flex: 1 1 auto;
	min-height: 2.5rem;
	padding: var(--space-2);
	font-size: var(--text-xs);
	font-weight: var(--weight-bold);
	color: var(--color-text-secondary);
	white-space: nowrap;
	background-color: var(--neu-control-bg);
	border-radius: var(--radius-pill);
	box-shadow: var(--neu-raise-sm);
	transition: var(--transition-colors), box-shadow var(--duration-fast) ease;

	@media (width >= 36em) {
		padding-inline: var(--space-4);
		font-size: var(--text-sm);
	}

	&:hover {
		color: var(--color-primary-text);
	}

	&[aria-selected="true"] {
		color: var(--color-primary-text);
		box-shadow: var(--shadow-inset-sm);
	}

	&:focus-visible {
		outline: var(--focus-width) solid var(--color-focus);
		outline-offset: -2px;
	}
}

.c-tabs__panel {
	min-width: 0;

	&:focus-visible {
		outline: var(--focus-width) solid var(--color-focus);
		outline-offset: var(--focus-offset);
	}
}
}
/* src: assets/components/theme-toggle/theme-toggle.css */
@layer components {
/*
 * Component theme-toggle: moon (switch to dark) / sun (switch to light), the icon draws on hover (icon.css), the hover / focus hint from
 * data-label (pointer devices only). The icon shown follows aria-pressed (true = dark theme on; theme-toggle.js
 * sets html[data-theme] from the saved choice at mount: without JS the light theme shows the moon). The holding component styles the button box, colour and its states through its own element class on the
 * root (BEM mix, e.g. .c-site-header__action).
 * Neumorphism: the hint is a small floating layer (--shadow-raised-sm, no frame).
 */
.c-theme-toggle {
	--theme-toggle-icon-size: 22px;
	--theme-toggle-hint-offset: 6px;
	--theme-toggle-hint-padding: 4px 8px;
	--theme-toggle-hint-line-height: 1.4;

	position: relative;
}

.c-theme-toggle__icon {
	width: var(--theme-toggle-icon-size);
	height: var(--theme-toggle-icon-size);
}

.c-theme-toggle__sun {
	display: none;
}

/* Pressed = dark theme on: the sun (switch to light) is shown instead of the moon. */
.c-theme-toggle[aria-pressed="true"] .c-theme-toggle__moon {
	display: none;
}

.c-theme-toggle[aria-pressed="true"] .c-theme-toggle__sun {
	display: block;
}

@media (hover: hover) {
	.c-theme-toggle:hover::after,
	.c-theme-toggle:focus-visible::after {
		content: attr(data-label);
		position: absolute;
		top: calc(100% + var(--theme-toggle-hint-offset));
		left: 50%;
		z-index: var(--z-dropdown);
		padding: var(--theme-toggle-hint-padding);
		color: var(--color-text);
		font-size: var(--text-xs);
		font-weight: 600;
		line-height: var(--theme-toggle-hint-line-height);
		white-space: nowrap;
		background-color: var(--color-surface);
		border: 0;
		border-radius: var(--radius-xs);
		box-shadow: var(--shadow-raised-sm);
		transform: translateX(-50%);
		pointer-events: none;
	}
}
}
/* src: assets/components/toast/toast.css */
@layer components {
/*
 * Toast: fixed region at the bottom centre with short notices (__item: __icon, __text, __action link).
 * Neumorphism: a notice is a dark surface, so it takes the plain --shadow-drop, not a neumorphic pair.
 */
.c-toast {
	position: fixed;
	bottom: calc(var(--space-16) + var(--space-6));
	left: 50%;
	z-index: var(--z-toast);
	display: flex;
	flex-direction: column;
	gap: var(--space-2);
	width: min(calc(100% - var(--space-8)), 26rem);
	pointer-events: none;
	transform: translateX(-50%);
}

.c-toast__item {
	display: flex;
	gap: var(--space-3);
	align-items: center;
	padding: var(--space-3) var(--space-4);
	font-size: var(--text-sm);
	font-weight: var(--weight-semibold);
	color: var(--color-on-dark);
	background-color: var(--color-dark);
	border: var(--border-width) solid var(--color-on-dark-line);
	border-radius: var(--radius-md);
	box-shadow: var(--shadow-drop);
	pointer-events: auto;
	animation: c-toast-in var(--duration-base) var(--easing-out);
}

.c-toast__icon {
	flex: 0 0 auto;
	color: var(--color-star);
}

.c-toast__text {
	min-width: 0;
}

.c-toast__action {
	margin-left: auto;
	font-weight: var(--weight-bold);
	color: var(--color-on-dark);
	text-decoration: underline;
	white-space: nowrap;

	&:hover {
		color: var(--color-on-dark-muted);
	}

	&:focus-visible {
		outline: var(--focus-width) solid var(--color-focus);
	}
}

@keyframes c-toast-in {
	from {
		opacity: 0;
		transform: translateY(0.625rem);
	}

	to {
		opacity: 1;
		transform: none;
	}
}
}
/* src: assets/components/toc/toc.css */
@layer components {
/*
 * Table of contents of an article: built from the h2 of the content (static list), a disclosure on narrow screens
 * (open from 62em, toc.js); the current section link gets aria-current="location" (toc.js).
 * Redesign 2 (2026-11-09, a calm documentation-style outline): a raised widget box; the title row — a small
 * uppercase label with the chevron, under it a thin reading progress bar (--toc-progress = current section / all,
 * set by toc.js); the list hangs on a vertical rail: the sections already read colour the rail in the light primary,
 * the current one carries a primary marker on the rail, its link is tinted and in the primary text; every link has
 * a quiet two-digit number (01, 02…) before its text, hover darkens the text over a flat plate.
 * Colours (2026-11-09): one accent only — the progress fill, the current marker and the current number are the
 * primary blue; the read part of the rail is the strong neutral border, the current link is dark text on a neutral
 * inset plate (no light-blue tint next to the blue).
 * Neumorphism: the box is raised, its content flat (the --neu context is cleared for the children): no shadows inside.
 * --wide-only (2026-11-09): the sections of a single page with the section strip (c-subnav--narrow) on phones and
 * tablets — shown from 62em only, in the sticky aside.
 */
@property --toc-progress {
	syntax: "<number>";
	inherits: true;
	initial-value: 0;
}

.c-toc {
	--toc-rail: 2px;
	--toc-rail-gap: var(--space-3);

	padding: var(--space-2) var(--space-4);
	background-color: var(--neu-plane);
	border-radius: var(--radius-lg);
	box-shadow: var(--neu-raise);
	transition: --toc-progress var(--duration-base) var(--easing-out);

	/* One neumorphic level: the content of the raised box is flat. */
	& > * {
		--neu-raise: none;
		--neu-raise-sm: none;
		--neu-control-bg: var(--neu-flat);
	}

	@media (width >= 62em) {
		padding: var(--space-4) var(--space-4) var(--space-3);
	}
}

.c-toc__title {
	position: relative;
	display: flex;
	gap: var(--space-2);
	align-items: center;
	justify-content: space-between;
	min-height: 2.75rem;
	padding-inline: var(--space-1);
	font-size: var(--text-xs);
	font-weight: var(--weight-bold);
	letter-spacing: var(--tracking-wide);
	color: var(--color-text-muted);
	text-transform: uppercase;
	list-style: none;
	cursor: pointer;
	border-radius: var(--radius-sm);
	transition: var(--transition-colors);

	&::-webkit-details-marker {
		display: none;
	}

	&:hover {
		color: var(--color-text);

		& .c-toc__chevron {
			color: var(--color-primary-text);
		}
	}
}

/* Reading progress: a thin bar under the title of the open box. */
.c-toc__details[open] > .c-toc__title {
	margin-block-end: var(--space-3);

	&::after {
		position: absolute;
		inset-inline: var(--space-1);
		inset-block-end: calc(var(--space-1) * -1);
		height: 3px;
		pointer-events: none;
		content: "";
		background-color: var(--color-border);
		background-image: linear-gradient(to right, var(--color-primary) 0 calc(var(--toc-progress) * 100%), transparent 0);
		border-radius: var(--radius-pill);
	}
}

.c-toc__chevron {
	color: var(--color-text-subtle);
	transition: transform var(--duration-base) var(--easing-out), var(--transition-colors);
}

.c-toc__details[open] .c-toc__chevron {
	transform: rotate(180deg);
}

.c-toc__list {
	display: flex;
	flex-direction: column;
	padding-block: var(--space-1) var(--space-2);
	margin-inline-start: var(--space-1);
	list-style: none;
	counter-reset: toc;
}

/* The rail: one segment per item, so the sections read so far colour it up to the current one. */
.c-toc__item {
	position: relative;
	padding-inline-start: var(--toc-rail-gap);
	counter-increment: toc;

	&::before {
		position: absolute;
		inset-block: 0;
		inset-inline-start: 0;
		width: var(--toc-rail);
		pointer-events: none;
		content: "";
		background-color: var(--color-border);
		transition: background-color var(--duration-base) var(--easing-out);
	}

	&:first-child::before {
		border-start-start-radius: var(--toc-rail);
		border-start-end-radius: var(--toc-rail);
	}

	&:last-child::before {
		border-end-start-radius: var(--toc-rail);
		border-end-end-radius: var(--toc-rail);
	}

	/* Read: every item before the current one. */
	&:has(~ .c-toc__item > [aria-current])::before {
		background-color: var(--color-border-strong);
	}

	/* Current: a primary marker, a little wider than the rail. */
	&:has(> [aria-current])::before {
		inset-block: var(--space-1);
		inset-inline-start: -1px;
		width: calc(var(--toc-rail) + 2px);
		background-color: var(--color-primary);
		border-radius: var(--radius-pill);
	}
}

.c-toc__link {
	display: flex;
	gap: var(--space-2);
	align-items: baseline;
	min-height: 2.25rem;
	padding: var(--space-2) var(--space-3) var(--space-2) var(--space-2);
	font-size: var(--text-sm);
	font-weight: var(--weight-medium);
	line-height: var(--leading-snug);
	color: var(--color-text-secondary);
	text-decoration: none;
	border-radius: var(--radius-md);
	transition: var(--transition-colors);

	/* Quiet section number. */
	&::before {
		flex: none;
		min-width: 1.5em;
		font-size: var(--text-xs);
		font-weight: var(--weight-semibold);
		color: var(--color-text-subtle);
		content: counter(toc, decimal-leading-zero);
		font-variant-numeric: tabular-nums;
		transition: var(--transition-colors);
	}

	&:hover {
		color: var(--color-text);
		background-color: var(--neu-flat);

		&::before {
			color: var(--color-text-muted);
		}
	}

	/* Current: dark text on a neutral inset plate, the number in the accent (no light-blue fill). */
	&[aria-current] {
		font-weight: var(--weight-semibold);
		color: var(--color-text);
		background-color: var(--neu-flat);
		box-shadow: var(--shadow-inset-sm);

		&::before {
			color: var(--color-primary-text);
		}
	}
}

/* Desktop-only TOC of a page whose phones and tablets have the section strip instead (c-subnav--narrow). */
.c-toc--wide-only {
	display: none;

	@media (width >= 62em) {
		display: block;
	}
}
}
/* src: assets/components/transfer-class/transfer-class.css */
@layer components {
/*
 * Transfer class: the car class cards of a resort transfer page (/transfers/?rel=<resort>).
 * Markup: form.c-transfer-class (GET picker: hidden rel + one submit button per class, so without JS a card reloads the
 * page with ?vehicle_class=…) > ul.__list > li.__item (one card):
 *   __head (__icon tile + __heading > h3.__title, __kind), ul.__specs > li.__spec (__spec-icon + text: passengers,
 *   luggage, skis), __models, __text, __footer (__price > __price-value + __price-note, button.__pick).
 * The pick button stretches over the whole card (::after), so a click anywhere on the card chooses the class; the
 * script (transfer-class.js, root = the entry body) puts the class into the request form and sets aria-pressed.
 * Rows: the cards of a row line up their parts (subgrid of 5 rows).
 * Neumorphism: a card is raised on the plane, everything in it flat; the chosen card is pressed in (inset) with the
 * filled pick button and its check mark.
 * Settings: --transfer-class-min (card width), --transfer-class-icon (tile size), --transfer-class-spec-icon.
 */
.c-transfer-class {
	--transfer-class-min: 15rem;
	--transfer-class-icon: 2.75rem;
	--transfer-class-spec-icon: 1.05em;

	min-width: 0;
}

.c-transfer-class__list {
	display: grid;
	grid-template-columns: repeat(auto-fill, minmax(min(100%, var(--transfer-class-min)), 1fr));
	gap: var(--space-4);
	margin: 0;
	padding: 0;
	list-style: none;
}

.c-transfer-class__item {
	position: relative;
	display: grid;
	grid-row: span 5;
	grid-template-rows: subgrid;
	grid-template-columns: minmax(0, 1fr); /* g3-l4: the parts never widen the card to their min-content (320 / 375 overflow). */
	row-gap: var(--space-3);
	min-width: 0;
	padding: var(--space-4);
	color: var(--color-text);
	background-color: var(--neu-plane);
	border-radius: var(--radius-lg);
	box-shadow: var(--neu-raise);
	transition: box-shadow var(--duration-fast) ease;

	/* One neumorphic level: the content of the raised card is flat. */
	& > * {
		--neu-raise: none;
		--neu-raise-sm: none;
		--neu-control-bg: var(--neu-flat);
	}

	&:has(.c-transfer-class__pick[aria-pressed="true"]) {
		box-shadow: var(--shadow-inset);
	}
}

.c-transfer-class__head {
	display: flex;
	gap: var(--space-3);
	align-items: center;
	min-width: 0;
}

.c-transfer-class__icon {
	--icon-size: 1.5rem;

	display: inline-flex;
	flex: none;
	align-items: center;
	justify-content: center;
	width: var(--transfer-class-icon);
	height: var(--transfer-class-icon);
	color: var(--icon-tile-text);
	background-color: var(--icon-tile-fill);
	background-image: var(--icon-tile-bg);
	border-radius: var(--icon-tile-radius);
	box-shadow: var(--icon-tile-shadow);
}

.c-transfer-class__heading {
	display: grid;
	gap: var(--space-1);
	min-width: 0;
}

.c-transfer-class__title {
	font-size: var(--text-h3);
	line-height: var(--leading-tight);
	overflow-wrap: anywhere;
	transition: var(--transition-colors);
}

/* The specs like the meta of the cards (2026-11-09: one style of the icon lists in every card): no well, rows with a
   small gap, the icon in the primary colour, the text secondary. */
.c-transfer-class__specs {
	display: grid;
	min-width: 0;
	gap: var(--space-1);
	align-content: start;
	margin: 0;
	padding: 0;
	font-size: var(--text-sm);
	color: var(--color-text-secondary);
	list-style: none;
}

.c-transfer-class__spec {
	display: flex;
	gap: var(--space-1);
	align-items: center;
}

.c-transfer-class__text {
	margin: 0;
	font-size: var(--text-sm);
}

.c-transfer-class__footer {
	display: flex;
	flex-wrap: wrap;
	gap: var(--space-3);
	align-items: center;
	justify-content: space-between;
	align-self: end;
	min-width: 0;
}

.c-transfer-class__price {
	display: grid;
	min-width: 0;
	margin: 0;
}

.c-transfer-class__price-value {
	font-size: var(--text-lg);
	font-weight: var(--weight-heavy);
	line-height: var(--leading-tight);
	overflow-wrap: anywhere; /* g3-l4: the price wraps (amount + «из …» / «· ориентировочно» note) at small widths. */
	color: var(--color-secondary-text); /* prices: the second accent */
}

/* The button covers the card (::after): the whole card is its target. */
.c-transfer-class__pick {
	display: inline-flex;
	gap: var(--space-2);
	align-items: center;
	max-width: 100%;
	min-height: var(--control-height-sm);
	padding: 0 var(--space-4);
	font: inherit;
	font-size: var(--text-sm);
	font-weight: var(--weight-bold);
	white-space: nowrap;
	color: var(--color-primary-text);
	background-color: var(--neu-control-bg);
	border: 0;
	border-radius: var(--radius-pill);
	cursor: pointer;
	transition: var(--transition-colors);

	&::after {
		position: absolute;
		inset: 0;
		content: "";
		border-radius: var(--radius-lg);
	}

	&:hover {
		color: var(--color-primary-text-hover);
	}

	&[aria-pressed="true"] {
		color: var(--color-on-primary);
		background-color: var(--color-primary);
	}
}

.c-transfer-class__item:has(.c-transfer-class__pick:hover) .c-transfer-class__title,
.c-transfer-class__item:has(.c-transfer-class__pick[aria-pressed="true"]) .c-transfer-class__title {
	color: var(--color-primary-text);
}

/* TASK-0424 (REQ-0074 W1): «из …» / «· ориентировочно» note of a class price (was transfer-card__from). */
.c-transfer-class__from {
	font-weight: var(--weight-regular);
	color: var(--color-text-secondary);
}

/* Reference rules (C:/wget/rider, TASK-0445 E7) for parts the theme markup does not print yet (data / not ported). */
.c-transfer-class__kind,
.c-transfer-class__models {
	margin: 0;
	font-size: var(--text-sm);
	color: var(--color-text-secondary);
}

.c-transfer-class__spec-icon {
	--icon-size: var(--transfer-class-spec-icon);

	flex: none;
	color: var(--color-primary-text);
	stroke-width: 2;
}

.c-transfer-class__price-note {
	font-size: var(--text-xs);
	color: var(--color-text-secondary);
}

.c-transfer-class__pick-icon {
	--icon-size: 1rem;

	display: none;
}

.c-transfer-class__pick[aria-pressed="true"] .c-transfer-class__pick-icon {
	display: block;
}
}
/* src: assets/components/transfer-offers/transfer-offers.css */
@layer components {
/*
 * Component transfer-offers (TASK-0133 slice B): price tables of a transfer route single (one table per leg, caption +
 * scope), the entry-note notice, the notes below the tables and the `#transfer-request` placeholder (site contacts).
 * Part: template-parts/components/transfer-offers.php. Mobile first: below 36em every row is a stacked block (thead
 * visually hidden, cell labels from data-label, empty cells hidden); from 36em a regular table. The row link «Выбрать»
 * is a c-button (--secondary --sm, 36px >= the 24px target); this file places it only (holder element class).
 * Settings: --transfer-offers-gap, --transfer-offers-cell-padding, --transfer-offers-icon-size,
 * --transfer-offers-class-icon-size, --transfer-offers-label-width (on both roots). Tokens only. Secondary text =
 * --color-text-secondary (spec 07 contrast); the class icons keep --color-text-muted (graphics, not text).
 * Neumorphism: the entry note is a flat fill without a frame; the table rows keep their hairline dividers.
 * Routes of a resort (2026-11-09, resort-transfers.html = /transfers/?rel=<resort>): one table per route inside
 * details.__leg (exclusive accordion, name="transfer-routes"; the first one open) > summary.__summary (__summary-icon,
 * __summary-text > __route + __meta, __from = the lowest price, __chevron) + __panel > table (caption visually hidden:
 * the summary shows the route). A leg is a raised box on the plane; the summary, the table and its buttons are flat.
 */
/*
 * Settings on every root: the price block, a route leg (also shown on its own in uikit.html) and the `#transfer-request` placeholder (__request, outside .c-transfer-offers);
 * without them there the contact icons lost their size and widened the page at 320 px (133-R6 (c)).
 */
.c-transfer-offers,
.c-transfer-offers__request,
.c-transfer-offers__leg {
	--transfer-offers-gap: var(--space-3);
	--transfer-offers-cell-padding: var(--space-2) var(--space-3);
	--transfer-offers-icon-size: 18px;
	--transfer-offers-class-icon-size: 28px;
	--transfer-offers-label-width: 40%;
	--transfer-offers-leg-icon: 2.5rem;
}

.c-transfer-offers {
	display: grid;
	gap: var(--transfer-offers-gap);
	min-width: 0;
}

.c-transfer-offers__notice {
	display: flex;
	align-items: flex-start;
	gap: var(--space-2);
	margin: 0;
	padding: var(--space-3);
	color: var(--color-text);
	font-size: var(--text-sm);
	background-color: var(--neu-flat);
	border-radius: var(--radius-md);
}

.c-transfer-offers__icon {
	flex: none;
	width: var(--transfer-offers-icon-size);
	height: var(--transfer-offers-icon-size);
}

.c-transfer-offers__table,
.c-transfer-offers__body {
	display: block;
	width: 100%;
	border-collapse: collapse;
	font-size: var(--text-sm);
}

.c-transfer-offers__caption {
	display: block;
	padding-block-end: var(--space-2);
	font-weight: 600;
	text-align: start;
}

.c-transfer-offers__head {
	position: absolute;
	width: 1px;
	height: 1px;
	overflow: hidden;
	clip: rect(0 0 0 0);
	white-space: nowrap;
}

.c-transfer-offers__row {
	display: grid;
	gap: var(--space-1);
	padding-block: var(--space-3);
	border-block-end: 1px solid var(--color-border);
}

.c-transfer-offers__class {
	display: block;
	font-weight: 600;
	text-align: start;
}

.c-transfer-offers__name {
	display: flex;
	align-items: center;
	gap: var(--space-2);
}

.c-transfer-offers__class-icon {
	flex: none;
	width: var(--transfer-offers-class-icon-size);
	height: var(--transfer-offers-class-icon-size);
	color: var(--color-text-muted);
}

.c-transfer-offers__label {
	display: grid;
	min-width: 0;
}

.c-transfer-offers__kind,
.c-transfer-offers__season {
	color: var(--color-text-secondary);
	font-size: var(--text-xs);
	font-weight: 400;
}

.c-transfer-offers__cell {
	display: grid;
	grid-template-columns: var(--transfer-offers-label-width) minmax(0, 1fr);
	gap: var(--space-2);
	overflow-wrap: anywhere;

	&::before {
		content: attr(data-label);
		color: var(--color-text-secondary);
	}

	&:empty {
		display: none;
	}
}

.c-transfer-offers__price {
	font-weight: 600;
	color: var(--color-secondary-text); /* prices: the second accent */
}

/* One wrapper = one grid item in column 2 below 36em: value, bracket and unit flow together (T133-F6). */
.c-transfer-offers__price-parts {
	min-width: 0;
}

.c-transfer-offers__rack {
	display: inline-flex;
	align-items: center;
	gap: var(--space-1);
}

.c-transfer-offers__action {
	display: block;
	padding-block-start: var(--space-1);
}

.c-transfer-offers__note,
.c-transfer-offers__text {
	margin: 0;
	color: var(--color-text-secondary);
	font-size: var(--text-sm);
}

.c-transfer-offers__request {
	display: grid;
	gap: var(--space-3);
}

.c-transfer-offers__contacts {
	display: flex;
	flex-wrap: wrap;
	gap: var(--space-2) var(--space-4);
	margin: 0;
	padding: 0;
	list-style: none;
}

.c-transfer-offers__contact {
	display: inline-flex;
	align-items: center;
	gap: var(--space-2);
	min-height: 44px;
	color: var(--color-text);
	font-weight: 600;
	text-decoration: underline;
	text-underline-offset: 2px;

	&:focus-visible {
		outline: 2px solid var(--color-primary);
		outline-offset: 2px;
	}
}

@media (width >= 36em) {
	.c-transfer-offers__table {
		display: table;
	}

	.c-transfer-offers__body {
		display: table-row-group;
	}

	.c-transfer-offers__caption {
		display: table-caption;
		caption-side: top;
	}

	.c-transfer-offers__head {
		position: static;
		width: auto;
		height: auto;
		overflow: visible;
		clip: auto;
		white-space: normal;
		color: var(--color-text-secondary);
	}

	.c-transfer-offers__row {
		display: table-row;
	}

	.c-transfer-offers__col,
	.c-transfer-offers__class,
	.c-transfer-offers__cell,
	.c-transfer-offers__action {
		display: table-cell;
		padding: var(--transfer-offers-cell-padding);
		vertical-align: middle;
		text-align: start;
		border-block-end: 1px solid var(--color-border);
	}

	.c-transfer-offers__col {
		font-weight: 600;
	}

	.c-transfer-offers__cell {
		&::before {
			content: none;
		}

		&:empty {
			display: table-cell;
		}
	}

	.c-transfer-offers__action {
		text-align: end;
	}
}

/* ---------------------------------------------------------------- routes of a resort (details per route) */

.c-transfer-offers__leg {
	min-width: 0;
	background-color: var(--neu-plane);
	border-radius: var(--radius-lg);
	box-shadow: var(--neu-raise);

	/* One neumorphic level: the summary, the table and its buttons are flat. */
	& > * {
		--neu-raise: none;
		--neu-raise-sm: none;
		--neu-control-bg: var(--neu-flat);
	}
}

.c-transfer-offers__summary {
	display: flex;
	gap: var(--space-3);
	align-items: center;
	min-height: 44px;
	padding: var(--space-3) var(--space-4);
	color: var(--color-text);
	list-style: none;
	border-radius: var(--radius-lg);
	cursor: pointer;
	transition: var(--transition-colors);

	&::-webkit-details-marker {
		display: none;
	}

	&:hover {
		color: var(--color-primary-text);
	}

	&:focus-visible {
		outline: var(--focus-width) solid var(--color-focus);
		outline-offset: var(--focus-offset);
	}
}

.c-transfer-offers__summary-text {
	display: grid;
	flex: 1 1 auto;
	gap: var(--space-1);
	min-width: 0;
}

.c-transfer-offers__route {
	font-weight: var(--weight-bold);
	overflow-wrap: anywhere;
}

.c-transfer-offers__meta {
	font-size: var(--text-xs);
	color: var(--color-text-secondary);
}

.c-transfer-offers__chevron {
	flex: none;
	transition: transform var(--duration-base) var(--easing-out);
}

.c-transfer-offers__leg[open] .c-transfer-offers__chevron {
	transform: rotate(180deg);
}

.c-transfer-offers__panel {
	padding: 0 var(--space-4) var(--space-4);
}

/* TASK-0424 (REQ-0074 W1): the looks of templates/transfers.css moved here (the /transfers/ hub list = c-places,
   TASK-0457). The scroll target of an old route alias, the «· ориентировочно» price note. */
.c-transfer-offers__anchor {
	scroll-margin-top: calc(var(--header-height) + var(--space-4));
}

.c-transfer-offers__approx {
	font-weight: var(--weight-regular);
	color: var(--color-text-secondary);
}

/* Reference rules (C:/wget/rider, TASK-0445 E7) for parts the theme markup does not print yet (data / not ported). */
.c-transfer-offers__summary-icon {
	--icon-size: 1.25rem;

	display: inline-flex;
	flex: none;
	align-items: center;
	justify-content: center;
	width: var(--transfer-offers-leg-icon);
	height: var(--transfer-offers-leg-icon);
	color: var(--icon-tile-text);
	background-color: var(--icon-tile-fill);
	background-image: var(--icon-tile-bg);
	border-radius: var(--icon-tile-radius);
	box-shadow: var(--icon-tile-shadow);
}

.c-transfer-offers__from {
	flex: none;
	font-weight: var(--weight-heavy);
	white-space: nowrap;
	color: var(--color-secondary-text); /* prices: the second accent */
}

/* TASK-0457 (REQ-0077 item 32): the transfer page (?sub=ski-transfer) link to /transfers/, a c-button--secondary in p.s-entry__more (a one-column grid); its own
   width, not the full column. */
.c-transfer-offers__more {
	justify-self: start;
}
}
/* src: assets/components/transport/transport.css */
@layer components {
/*
 * Transport: the ways to reach the resort (transport sub-page).
 * .c-transport > div.__mode#rs-transport-<kind> (anchor of the route picker) > __header (__icon tile, h3.__title) +
 * div.c-prose.__body (editor content: routes, prices, timetable links).
 * Neumorphism: a mode is a raised box (its prose content flat / inset); the :target one is outlined in primary.
 */
.c-transport {
	display: grid;
	gap: var(--space-4);
}

.c-transport__mode {
	display: grid;
	gap: var(--space-4);
	padding: var(--space-5);
	background-color: var(--neu-plane);
	border-radius: var(--radius-lg);
	box-shadow: var(--neu-raise);

	&:target {
		outline: 2px solid var(--color-primary);
		outline-offset: 0;
	}

	@media (width >= 48em) {
		padding: var(--space-6);
	}

	/* One neumorphic level: the content of the raised box is flat or inset. */
	& > * {
		--neu-raise: none;
		--neu-raise-sm: none;
		--neu-control-bg: var(--neu-flat);
	}
}

.c-transport__header {
	display: flex;
	gap: var(--space-3);
	align-items: center;
}

.c-transport__icon {
	display: grid;
	flex: none;
	place-items: center;
	width: 2.75rem;
	height: 2.75rem;
	font-size: var(--text-lg);
	color: var(--icon-tile-text);
	background-color: var(--icon-tile-fill);
	background-image: var(--icon-tile-bg);
	border-radius: var(--icon-tile-radius);
	box-shadow: var(--icon-tile-shadow);
}

.c-transport__title {
	min-width: 0;
	font-size: var(--text-h3);
}

.c-transport__body {
	min-width: 0;
}
}
/* src: assets/components/trip-cta/trip-cta.css */
@layer components {
/*
 * Trip CTA: the aside call to action of the resort pages ("Планируете поездку?") inside the c-widget card.
 * .c-trip-cta > span.__icon tile, h2.c-widget__title.__title, p.__text, div.__actions (two block buttons).
 */
.c-trip-cta {
	display: grid;
	gap: var(--space-3);
}

.c-trip-cta__icon {
	display: grid;
	place-items: center;
	width: 2.75rem;
	height: 2.75rem;
	font-size: var(--text-lg);
	color: var(--icon-tile-text);
	background-color: var(--icon-tile-fill);
	background-image: var(--icon-tile-bg);
	border-radius: var(--icon-tile-radius);
	box-shadow: var(--icon-tile-shadow);
}

.c-trip-cta__text {
	font-size: var(--text-sm);
	color: var(--color-text-secondary);
}

.c-trip-cta__actions {
	display: grid;
	gap: var(--space-2);
	margin-top: var(--space-1);
}
}
/* src: assets/components/webcams/webcams.css */
@layer components {
/*
 * Webcams: the resort's cameras (webcams sub-page).
 * .c-webcams > p.__intro, ul.__list > li.__item (h3.__title, a players' c-embed or a link card a.__link: __link-icon
 * tile, __link-text > __link-label + __host, external icon; p.__credit: source and check date) + p.__note
 * (capture time is unknown). Link cards fill the row; players keep their own ratio (c-embed).
 * Neumorphism: a link card is raised; hover turns its label primary (no fill swap).
 */
.c-webcams {
	display: grid;
	gap: var(--space-5);
}

.c-webcams__list {
	display: grid;
	grid-template-columns: repeat(auto-fill, minmax(min(100%, 20rem), 1fr));
	gap: var(--space-4);
}

.c-webcams__item {
	display: grid;
	gap: var(--space-3);
	align-content: start;
}

.c-webcams__title {
	font-size: var(--text-lg);
}

.c-webcams__link {
	--webcams-link-bg: var(--neu-plane);
	--webcams-link-text: var(--color-text);

	display: grid;
	grid-template-columns: auto minmax(0, 1fr) auto;
	gap: var(--space-4);
	align-items: center;
	padding: var(--space-4) var(--space-5);
	color: var(--webcams-link-text);
	text-decoration: none;
	background-color: var(--webcams-link-bg);
	border-radius: var(--radius-lg);
	box-shadow: var(--neu-raise);
	transition: var(--transition-colors), box-shadow var(--duration-fast) ease;

	&:hover {
		--webcams-link-text: var(--color-primary-text);
	}

	&:active {
		box-shadow: var(--shadow-inset-sm);
	}

	&:focus-visible {
		outline: var(--focus-width) solid var(--color-focus);
		outline-offset: var(--focus-offset);
	}
}

.c-webcams__link-icon {
	display: grid;
	place-items: center;
	width: 3rem;
	height: 3rem;
	font-size: 1.5rem;
	color: var(--icon-tile-text);
	background-color: var(--icon-tile-fill);
	background-image: var(--icon-tile-bg);
	border-radius: var(--icon-tile-radius);
	box-shadow: var(--icon-tile-shadow);
}

.c-webcams__link-text {
	display: grid;
	gap: 2px;
	min-width: 0;
}

.c-webcams__link-label {
	font-weight: var(--weight-bold);
}

.c-webcams__host {
	font-size: var(--text-xs);
	color: var(--color-text-secondary);
	overflow-wrap: anywhere;
}

.c-webcams__link-external {
	color: var(--color-text-secondary);
}

.c-webcams__credit,
.c-webcams__note {
	font-size: var(--text-xs);
	color: var(--color-text-secondary);
}

/* The source link sits in a line of text: an underline, not colour alone, marks it (axe link-in-text-block). */
.c-webcams__credit a {
	text-decoration: underline;
	text-decoration-thickness: 1px;
	text-underline-offset: 0.18em;
}
}
/* src: assets/components/widget/widget.css */
@layer components {
/*
 * Widget: a box of the single-page aside (booking card holder, contacts, resort card, resort pages, links,
 * trip CTA, event date, rent summary, latest news, topics, subscribe). __title, __list of links with an icon and an
 * arrow; __link--post = a two-line post link (__post-title + __post-date) divided from the next by a hairline;
 * __more = the "all" link-arrow under the list; __chips = a wrapping row of chips; __text = a short paragraph.
 * --wide-only = shown only beside the content (62em+): below it the same links follow in a slider (latest news).
 * --resort holds a card without its own frame (the card is the raised one); --booking is the same raised box.
 * Neumorphism: the box is raised, its content flat or inset (the --neu context is cleared for the children).
 *
 * Core widget content (second part of the file, 2026-11-09): the same box holds the widgets of a WP widget area —
 * register_sidebar() prints <section id="%1$s" class="c-widget %2$s"> + <h2 class="c-widget__title">, the content is
 * core markup without theme classes (spec 05: WordPress classes are styled only inside the component that outputs
 * them). Classic widgets (classic-widgets plugin): recent posts, recent comments, categories / archives (list and
 * dropdown), pages, meta, navigation menu (wp_nav_menu: nested .sub-menu, current item and its ancestors), RSS, tag
 * cloud, search (get_search_form() = c-search-form, needs nothing here), calendar, text / custom HTML, image.
 * Block widgets: heading, group, latest posts, latest comments, categories, archives, page list, tag cloud, search,
 * calendar, image, paragraph. Links of the lists look like __link, tags like c-chip--soft, selects and the block
 * search like c-field / c-search-form; lists bleed by --space-2 as __list does. Targets are at least 24px (spec 07).
 */
.c-widget {
	display: flex;
	flex-direction: column;
	gap: var(--space-4);
	padding: var(--space-5);
	background-color: var(--neu-plane);
	border-radius: var(--radius-lg);
	box-shadow: var(--neu-raise);

	& > * {
		--neu-raise: none;
		--neu-raise-sm: none;
		--neu-control-bg: var(--neu-flat);
	}
}

.c-widget--resort {
	padding: 0;
	background-color: transparent;
	box-shadow: none;

	& > * {
		--neu-raise: inherit;
		--neu-raise-sm: inherit;
		--neu-control-bg: inherit;
	}
}

.c-widget__title {
	font-size: var(--text-md);
	font-weight: var(--weight-bold);
	letter-spacing: 0;
}

.c-widget__list {
	display: flex;
	flex-direction: column;
	padding: 0;
	margin-inline: calc(var(--space-2) * -1);
	list-style: none;
}

.c-widget__item {
	display: block;
}

.c-widget__link {
	--icon-size: 1.125rem;

	display: flex;
	gap: var(--space-3);
	align-items: center;
	min-height: 2.5rem;
	padding: var(--space-2);
	font-size: var(--text-sm);
	font-weight: var(--weight-semibold);
	color: var(--color-text);
	text-decoration: none;
	border-radius: var(--radius-sm);
	transition: var(--transition-colors);

	&:hover {
		color: var(--color-primary-text);
		background-color: var(--color-surface-2);
	}

	/* The current page: dark text on a neutral inset plate, the icon in the accent (like the c-toc current link). */
	&[aria-current] {
		color: var(--color-text);
		background-color: var(--neu-flat);
		box-shadow: var(--shadow-inset-sm);

		& > svg {
			color: var(--color-primary-text);
		}
	}
}

.c-widget__arrow {
	margin-inline-start: auto;
	color: var(--color-text-subtle);
}

.c-widget--wide-only {
	display: none;

	@media (width >= 62em) {
		display: flex;
	}
}

/* Post link: title (up to three lines) over its date; hairlines between the posts. */
.c-widget__link--post {
	flex-direction: column;
	gap: var(--space-1);
	align-items: flex-start;
	padding-block: var(--space-3);
}

.c-widget__item + .c-widget__item:has(> .c-widget__link--post) {
	border-top: var(--border-width) solid var(--color-border);
}

.c-widget__post-title {
	display: -webkit-box;
	overflow: hidden;
	line-height: var(--leading-snug);
	-webkit-box-orient: vertical;
	-webkit-line-clamp: 3;
}

.c-widget__post-date {
	font-size: var(--text-xs);
	font-weight: var(--weight-medium);
	color: var(--color-text-subtle);
}

.c-widget__more {
	align-self: flex-start;
}

.c-widget__chips {
	display: flex;
	flex-wrap: wrap;
	gap: var(--space-2);
	padding: 0;
	list-style: none;
}

.c-widget__text {
	font-size: var(--text-sm);
	color: var(--color-text-secondary);
}

/* ==========================================================================
   Core widget content (classic and block widgets of a widget area).
   The widget class (%2$s of register_sidebar(): widget_categories …) sits on the .c-widget box itself; a block
   widget carries widget_block (+ the classic class of its first block) and may wrap its content in a .wp-block-group.
   Lists without a class of their own are reached through that widget class. With html5 navigation-widgets support
   the lists sit in a <nav aria-label>, so the selectors are descendant ones. Core markup has no classes on many
   tags (ul, li, a, select, table cells), hence the tag selectors scoped by a core class.
   ========================================================================== */

/* Block widget: a group (heading + list) lays out like the widget, the heading at its start is the widget title. */
.c-widget :is(.wp-block-group, .wp-block-group__inner-container) {
	display: flex;
	flex-direction: column;
	gap: var(--space-4);
	min-width: 0;
}

.c-widget :is(.wp-block-group, .wp-block-group__inner-container) > * {
	margin-block: 0;
}

.c-widget .wp-block-heading {
	margin: 0;
	font-size: var(--text-md);
	font-weight: var(--weight-bold);
	line-height: var(--leading-snug);
	letter-spacing: 0;
}

/* WordPress hides labels with .screen-reader-text (the theme has no global rule for it). */
.c-widget .screen-reader-text {
	position: absolute;
	width: 1px;
	height: 1px;
	margin: -1px;
	padding: 0;
	overflow: hidden;
	clip: rect(0 0 0 0);
	white-space: nowrap;
	border: 0;
}

/* Lists: flat rows bleeding by --space-2, as __list (the link text lines up with the title). */
.c-widget:is(.widget_archive, .widget_categories, .widget_meta, .widget_nav_menu, .widget_pages, .widget_recent_comments, .widget_recent_entries, .widget_rss) :is(ul, ol),
.c-widget :is(.wp-block-archives-list, .wp-block-categories-list, .wp-block-latest-comments, .wp-block-latest-posts, .wp-block-page-list) {
	display: flex;
	flex-direction: column;
	min-width: 0;
	margin: 0 calc(var(--space-2) * -1);
	padding: 0;
	list-style: none;
}

/* A row: the link takes the line; a count printed by core after the link (« (12)», a bare text node) stays at the
   end in the subtle colour; a nested list wraps under it. The link reaches the row end through a negative margin,
   so its hover box ends where the count begins, or at the bleed edge when there is no count. */
.c-widget:is(.widget_archive, .widget_categories, .widget_meta, .widget_nav_menu, .widget_pages, .widget_recent_entries, .widget_rss) li,
.c-widget :is(.wp-block-archives-list, .wp-block-categories-list, .wp-block-latest-posts, .wp-block-page-list) li {
	display: flex;
	flex-wrap: wrap;
	column-gap: var(--space-2);
	align-items: center;
	min-width: 0;
	padding-inline-end: var(--space-2);
	font-size: var(--text-sm);
	line-height: var(--leading-snug);
	color: var(--color-text-subtle);
}

.c-widget:is(.widget_archive, .widget_categories, .widget_meta, .widget_nav_menu, .widget_pages, .widget_recent_entries, .widget_rss) li > a,
.c-widget :is(.wp-block-archives-list, .wp-block-categories-list, .wp-block-latest-posts, .wp-block-page-list) li > a {
	display: flex;
	flex: 1 1 0;
	align-items: center;
	min-width: 0;
	min-height: 2.5rem;
	margin-inline-end: calc(var(--space-2) * -1);
	padding: var(--space-2);
	font-weight: var(--weight-semibold);
	color: var(--color-text);
	text-decoration: none;
	overflow-wrap: anywhere;
	border-radius: var(--radius-sm);
	transition: var(--transition-colors);

	&:hover {
		color: var(--color-primary-text);
		background-color: var(--color-surface-2);
	}

	&[aria-current] {
		color: var(--color-primary-text);
		background-color: var(--color-primary-soft);
	}

	&[aria-current]:hover {
		background-color: var(--color-primary-soft-hover);
	}
}

/* Nested levels — child categories and pages (.children), menu sub-items (.sub-menu), page-list children: indented
   under the parent text with a guide line, a lighter weight. */
.c-widget li > :is(.children, .sub-menu, .wp-block-navigation__submenu-container) {
	flex: 0 1 100%;
	margin: 0 calc(var(--space-2) * -1) var(--space-1) var(--space-4);
	padding-inline-start: var(--space-2);
	border-inline-start: var(--border-width) solid var(--color-border);
}

.c-widget :is(.children, .sub-menu, .wp-block-navigation__submenu-container) > li > a {
	min-height: 2.25rem;
	font-weight: var(--weight-medium);
	color: var(--color-text-secondary);
}

/* Ancestors of the current item: coloured text. The current item (core prints aria-current on the link of menus,
   pages and categories; the classes cover the rest): the soft fill, as __link[aria-current]. */
.c-widget li:is(.current-menu-ancestor, .current-menu-parent, .current_page_ancestor, .current-cat-parent, .current-cat-ancestor) > a {
	color: var(--color-primary-text);
}

.c-widget li:is(.current-menu-item, .current_page_item, .current-cat) > a {
	color: var(--color-primary-text);
	background-color: var(--color-primary-soft);

	&:hover {
		background-color: var(--color-primary-soft-hover);
	}
}

/* Posts (recent posts, latest posts block, RSS items): the title over its date and summary, hairlines between. */
.c-widget:is(.widget_recent_entries, .widget_rss) li,
.c-widget .wp-block-latest-posts li {
	padding-block: var(--space-1);
}

.c-widget:is(.widget_recent_entries, .widget_rss) li + li,
.c-widget .wp-block-latest-posts li + li {
	border-top: var(--border-width) solid var(--color-border);
}

.c-widget:is(.widget_recent_entries, .widget_rss) li > a,
.c-widget .wp-block-latest-posts li > a {
	flex-basis: 100%;
	line-height: var(--leading-snug);
}

.c-widget :is(.post-date, .rss-date, .wp-block-latest-posts__post-date, .wp-block-latest-posts__post-author) {
	flex-basis: 100%;
	padding: 0 var(--space-2) var(--space-2);
	font-size: var(--text-xs);
	font-weight: var(--weight-medium);
	color: var(--color-text-subtle);
}

.c-widget :is(.rssSummary, .wp-block-latest-posts__post-excerpt) {
	flex-basis: 100%;
	padding: 0 var(--space-2) var(--space-2);
	font-size: var(--text-sm);
	line-height: var(--leading-normal);
	color: var(--color-text-secondary);
}

.c-widget .wp-block-latest-posts__post-excerpt > p {
	margin: 0;
}

.c-widget.widget_rss cite {
	flex-basis: 100%;
	padding: 0 var(--space-2) var(--space-2);
	font-size: var(--text-xs);
	font-style: normal;
	color: var(--color-text-subtle);
}

.c-widget .wp-block-latest-posts__featured-image {
	flex-basis: 100%;
	padding: var(--space-2) var(--space-2) 0;
}

.c-widget .wp-block-latest-posts__featured-image img {
	display: block;
	width: 100%;
	height: auto;
	border-radius: var(--radius-md);
}

/* RSS title: the feed icon link (24px target) and the site link keep the title colour. */
.c-widget :is(.rss-widget-feed, .rss-widget-title) {
	color: inherit;
	text-decoration: none;

	&:hover {
		color: var(--color-primary-text);
	}
}

.c-widget .rss-widget-feed {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	min-width: 1.5rem;
	min-height: 1.5rem;
	vertical-align: middle;
}

/* Comments (classic widget and block): one sentence «Автор к Запись» per row, hairlines between. Links in the
   sentence are underlined text links (spec 07); the post link of the classic widget keeps the base link look. */
.c-widget.widget_recent_comments li,
.c-widget .wp-block-latest-comments__comment {
	display: block;
	margin: 0;
	padding: var(--space-3) var(--space-2);
	font-size: var(--text-sm);
	line-height: var(--leading-normal);
	color: var(--color-text-secondary);
}

.c-widget.widget_recent_comments li + li,
.c-widget .wp-block-latest-comments__comment + .wp-block-latest-comments__comment {
	border-top: var(--border-width) solid var(--color-border);
}

.c-widget :is(.comment-author-link, .wp-block-latest-comments__comment-author) {
	font-weight: var(--weight-bold);
	color: var(--color-text);
}

.c-widget :is(.comment-author-link a, .wp-block-latest-comments__comment-link, .wp-block-latest-comments__comment-author:any-link) {
	color: var(--color-primary-text);
	text-decoration: underline;
	text-decoration-thickness: 1px;
	text-underline-offset: 0.18em;

	&:hover {
		color: var(--color-primary-text-hover);
	}
}

.c-widget .wp-block-latest-comments__comment-link {
	font-weight: var(--weight-semibold);
}

.c-widget .wp-block-latest-comments__comment-meta {
	margin: 0;
}

.c-widget .wp-block-latest-comments__comment-date {
	display: block;
	margin-block-start: var(--space-1);
	font-size: var(--text-xs);
	font-weight: var(--weight-medium);
	color: var(--color-text-subtle);
}

.c-widget .wp-block-latest-comments__comment-excerpt {
	margin: var(--space-2) 0 0;
}

.c-widget .wp-block-latest-comments__comment-excerpt > p {
	margin: 0;
}

/* With avatars: the round picture in its own column beside the text. */
.c-widget .wp-block-latest-comments.has-avatars .wp-block-latest-comments__comment {
	display: grid;
	grid-template-columns: 2.5rem minmax(0, 1fr);
	gap: var(--space-3);
	align-items: start;
}

.c-widget .wp-block-latest-comments__comment-avatar {
	display: block;
	width: 2.5rem;
	height: 2.5rem;
	margin: 0;
	object-fit: cover;
	border-radius: var(--radius-pill);
}

/* Tag cloud (classic .tagcloud, block .wp-block-tag-cloud): soft chips as c-chip--soft. Core puts an inline
   font-size on every link; the theme passes smallest = largest = 1em (README), so all take the size set here. */
.c-widget :is(.tagcloud, .wp-block-tag-cloud) {
	display: flex;
	flex-wrap: wrap;
	gap: var(--space-2);
	margin: 0;
	font-size: var(--text-sm);
}

.c-widget .tag-cloud-link {
	display: inline-flex;
	gap: var(--space-1);
	align-items: center;
	max-width: 100%;
	min-height: 2.25rem;
	margin: 0;
	padding: var(--space-1) var(--space-4);
	font-weight: var(--weight-semibold);
	line-height: var(--leading-tight);
	color: var(--color-text);
	text-decoration: none;
	overflow-wrap: anywhere;
	background-color: var(--color-surface-2);
	border: var(--border-width) solid transparent;
	border-radius: var(--radius-pill);
	transition: var(--transition-colors);

	&:hover {
		color: var(--color-primary-text);
	}
}

.c-widget .tag-link-count {
	font-weight: var(--weight-regular);
	color: var(--color-text-subtle);
}

.c-widget .wp-block-tag-cloud.is-style-outline .tag-cloud-link {
	background-color: transparent;
	border-color: var(--color-border-strong);
}

/* Selects (categories and archives dropdowns, classic and block): the c-field select — an inset pill, a chevron. */
.c-widget :is(.postform, .widget_archive select, .wp-block-archives-dropdown select) {
	width: 100%;
	min-width: 0;
	min-height: 2.875rem;
	padding: var(--space-2) var(--space-10) var(--space-2) var(--space-5);
	font-size: var(--text-md);
	line-height: var(--leading-snug);
	text-overflow: ellipsis;
	color: var(--color-text);
	background-color: transparent;
	background-image:
		linear-gradient(45deg, transparent 50%, var(--color-text-muted) 50%),
		linear-gradient(135deg, var(--color-text-muted) 50%, transparent 50%);
	background-repeat: no-repeat;
	background-position: calc(100% - 1.25rem) 50%, calc(100% - 0.9375rem) 50%;
	background-size: 0.3125rem 0.3125rem;
	border: var(--border-width) solid transparent;
	border-radius: var(--radius-pill);
	box-shadow: var(--shadow-inset);
	appearance: none;
	cursor: pointer;
	transition: var(--transition-colors);

	&:focus-visible {
		border-color: var(--color-primary);
		outline-offset: 0;
	}
}

/* Search block: the c-search-form look — one inset pill well, the field without a frame, the button inside it;
   focus of the field rings the whole well. A shown label is a c-field label. */
.c-widget .wp-block-search {
	display: flex;
	flex-direction: column;
	gap: var(--space-2);
	min-width: 0;
	margin: 0;
}

.c-widget .wp-block-search__label {
	font-size: var(--text-sm);
	font-weight: var(--weight-bold);
	line-height: var(--leading-snug);
	color: var(--color-text);
}

.c-widget .wp-block-search__inside-wrapper {
	display: flex;
	gap: var(--space-1);
	align-items: center;
	width: auto;
	min-width: 0;
	padding: var(--space-1);
	border: var(--border-width) solid transparent;
	border-radius: var(--radius-pill);
	box-shadow: var(--shadow-inset);
	transition: var(--transition-colors);

	&:has(input:focus-visible) {
		border-color: var(--color-primary);
		outline: var(--focus-width) solid var(--color-focus);
		outline-offset: 0;
	}
}

.c-widget .wp-block-search__input {
	flex: 1 1 auto;
	width: 100%;
	min-width: 0;
	min-height: var(--control-height);
	margin: 0;
	padding: var(--space-2) var(--space-4);
	font-size: var(--text-md);
	line-height: var(--leading-snug);
	text-overflow: ellipsis;
	color: var(--color-text);
	background-color: transparent;
	border: 0;
	border-radius: var(--radius-pill);
	appearance: none;

	&::placeholder {
		color: var(--color-text-subtle);
		opacity: 1;
	}

	/* the well around the field shows the focus ring (rule above) */
	&:focus-visible {
		outline: none;
	}
}

/* The submit is the primary pill button (c-button--primary): a text or an icon («has-icon»), always one line. */
.c-widget .wp-block-search__button {
	display: inline-flex;
	flex: 0 0 auto;
	gap: var(--space-2);
	align-items: center;
	justify-content: center;
	min-width: var(--control-height);
	min-height: var(--control-height);
	margin: 0;
	padding: var(--space-2) var(--space-5);
	font: inherit;
	font-size: var(--text-sm);
	font-weight: var(--weight-bold);
	line-height: var(--leading-tight);
	color: var(--color-on-primary);
	white-space: nowrap;
	background-color: var(--color-primary);
	border: var(--border-width) solid var(--color-primary);
	border-radius: var(--radius-pill);
	cursor: pointer;
	transition: var(--transition-colors), box-shadow var(--duration-fast) ease;

	&:hover {
		background-color: var(--color-primary-hover);
		border-color: var(--color-primary-hover);
	}

	&:active {
		box-shadow: var(--shadow-pressed);
	}

	&:focus-visible {
		outline: var(--focus-width) solid var(--color-focus);
		outline-offset: var(--focus-offset);
	}
}

.c-widget .wp-block-search__button.has-icon {
	padding: var(--space-2);
}

.c-widget .search-icon {
	width: 1.25rem;
	height: 1.25rem;
	fill: currentColor;
}

/* Calendar (classic .calendar_wrap, block .wp-block-calendar; table.wp-calendar-table in both): the month caption,
   weekday heads, days centred; a day with posts is a soft round link, today is ringed; month links under it. */
.c-widget :is(.calendar_wrap, .wp-block-calendar) {
	display: flex;
	flex-direction: column;
	gap: var(--space-3);
	min-width: 0;
	margin: 0;
}

.c-widget .wp-calendar-table {
	width: 100%;
	font-size: var(--text-sm);
	font-variant-numeric: tabular-nums;
	color: var(--color-text-secondary);
	text-align: center;
	table-layout: fixed;
	border-collapse: collapse;
}

.c-widget .wp-calendar-table caption {
	padding-block-end: var(--space-2);
	font-size: var(--text-md);
	font-weight: var(--weight-bold);
	color: var(--color-text);
	text-align: center;
}

.c-widget .wp-calendar-table th {
	padding: var(--space-1) 0;
	font-size: var(--text-xs);
	font-weight: var(--weight-semibold);
	color: var(--color-text-subtle);
	background: none;
	border: 0;
}

.c-widget .wp-calendar-table td {
	height: 2.25rem;
	padding: 0.125rem 0;
	background: none;
	border: 0;
}

.c-widget .wp-calendar-table a {
	display: grid;
	place-items: center;
	width: 2rem;
	height: 2rem;
	margin-inline: auto;
	font-weight: var(--weight-bold);
	color: var(--color-primary-text);
	text-decoration: none;
	background-color: var(--color-primary-soft);
	border-radius: var(--radius-pill);
	transition: var(--transition-colors);

	&:hover {
		background-color: var(--color-primary-soft-hover);
	}
}

/* Today: core marks the cell only with id="today" (no class), so that attribute is the hook. The ring is drawn by a
   centred radial gradient (a table cell cannot be a circle). */
.c-widget .wp-calendar-table [id="today"] {
	font-weight: var(--weight-heavy);
	color: var(--color-primary-text);
	background-image: radial-gradient(circle closest-side, transparent calc(100% - 2px), var(--color-primary) calc(100% - 2px), var(--color-primary) 100%, transparent 100%);
	background-repeat: no-repeat;
	background-position: center;
	background-size: 2rem 2rem;
}

.c-widget .wp-calendar-table [id="today"] a {
	box-shadow: inset 0 0 0 2px var(--color-primary);
}

.c-widget .wp-calendar-nav {
	display: flex;
	gap: var(--space-2);
	align-items: center;
	justify-content: space-between;
	font-size: var(--text-sm);
}

.c-widget :is(.wp-calendar-nav-prev, .wp-calendar-nav-next) a {
	display: inline-flex;
	align-items: center;
	min-height: 2rem;
	padding: var(--space-1) var(--space-3);
	font-weight: var(--weight-semibold);
	color: var(--color-text);
	text-decoration: none;
	background-color: var(--color-surface-2);
	border-radius: var(--radius-pill);
	transition: var(--transition-colors);

	&:hover {
		color: var(--color-primary-text);
	}
}

/* Text, custom HTML and paragraph blocks: a short secondary text; links keep the base (underlined) link look. */
.c-widget .textwidget,
.c-widget.widget_block > p {
	min-width: 0;
	margin: 0;
	font-size: var(--text-sm);
	line-height: var(--leading-normal);
	color: var(--color-text-secondary);
	overflow-wrap: break-word;
}

.c-widget .textwidget {
	display: flex;
	flex-direction: column;
	gap: var(--space-3);
}

.c-widget .textwidget > * {
	margin: 0;
}

.c-widget .textwidget :is(ul, ol) {
	padding-inline-start: var(--space-5);
}

.c-widget .textwidget :is(strong, b) {
	color: var(--color-text);
}

.c-widget .textwidget img {
	max-width: 100%;
	height: auto;
	border-radius: var(--radius-md);
}

/* Image (classic widget_media_image, image block): the column width, rounded; a caption under it. */
.c-widget.widget_media_image img,
.c-widget .wp-block-image img {
	display: block;
	width: 100%;
	max-width: 100%;
	height: auto;
	border-radius: var(--radius-md);
}

.c-widget.widget_media_image a,
.c-widget .wp-block-image a {
	display: block;
	border-radius: var(--radius-md);
}

.c-widget :is(.wp-caption, .wp-block-image) {
	display: flex;
	flex-direction: column;
	gap: var(--space-2);
	max-width: 100%;
	margin: 0;
}

.c-widget :is(.wp-caption-text, .wp-block-image figcaption) {
	margin: 0;
	font-size: var(--text-xs);
	line-height: var(--leading-snug);
	color: var(--color-text-subtle);
}
}
/* src: assets/sections/account/account.css */
@layer sections {
/*
 * Section account: frame of the account pages (profile, favorites). Page header, then the section
 * navigation (a scrolling row of pills on phones, a sticky side column from 62em) and the panel with the section
 * content. Profile parts: identity card with initials, list counters, settings form card, own reviews.
 * account.js fills the favorites counters of the navigation from the browser list.
 * Neumorphism: the cards and the wide navigation column are raised (their content flat / inset); phone nav pills are
 * raised controls; the current item and the stat tiles are inset.
 */
.s-account {
	--account-gap: var(--space-5);
	--account-nav-width: 15rem;
	--account-card-pad: clamp(var(--space-4), 3vw, var(--space-6));
	--account-avatar-size: 4rem;

	padding-block: 0 var(--space-section-sm);
}

.s-account__inner {
	display: flex;
	flex-direction: column;
	gap: var(--account-gap);
}

.s-account__layout {
	display: grid;
	gap: var(--account-gap);
	align-items: start;

	& > * {
		min-width: 0;
	}

	@media (width >= 62em) {
		grid-template-columns: var(--account-nav-width) minmax(0, 1fr);
		gap: var(--space-8);
	}
}

.s-account__nav {
	min-width: 0;

	/* Sticky from 62em through the sticky-sidebar mix. */
	@media (width >= 62em) {
		padding: var(--space-2);
		background-color: var(--neu-plane);
		border-radius: var(--radius-lg);
		box-shadow: var(--neu-raise);

		/* One neumorphic level: the links of the raised column are flat, the current one inset. */
		& > * {
			--neu-raise: none;
			--neu-raise-sm: none;
			--neu-control-bg: var(--neu-flat);
		}
	}
}

.s-account__nav-list {
	display: flex;
	gap: var(--space-2);
	/* The scroll box keeps room for the raised pills' shadows (the overflow would clip them). */
	margin: calc(-1 * var(--space-2)) calc(-1 * var(--gutter));
	padding: var(--space-3) var(--gutter);
	overflow-x: auto;
	list-style: none;
	scrollbar-width: none;

	@media (width >= 62em) {
		flex-direction: column;
		gap: 2px;
		margin: 0;
		padding: 0;
		overflow: visible;
	}
}

.s-account__nav-item {
	flex: 0 0 auto;
}

.s-account__nav-item--logout {
	@media (width >= 62em) {
		margin-block-start: var(--space-2);
		padding-block-start: var(--space-2);
		border-top: var(--border-width) solid var(--color-border);
	}
}

.s-account__nav-link {
	display: flex;
	align-items: center;
	gap: var(--space-3);
	min-height: 2.75rem;
	padding: var(--space-2) var(--space-4);
	color: var(--color-text-secondary);
	font-size: var(--text-sm);
	font-weight: var(--weight-bold);
	white-space: nowrap;
	text-decoration: none;
	background-color: var(--neu-control-bg);
	border-radius: var(--radius-pill);
	box-shadow: var(--neu-raise-sm);
	transition: var(--transition-colors), box-shadow var(--duration-fast) ease;

	&:hover {
		color: var(--color-primary-text);
	}

	&:active {
		box-shadow: var(--shadow-inset-sm);
	}

	&:focus-visible {
		outline: var(--focus-width) solid var(--color-focus);
		outline-offset: var(--focus-offset);
	}

	&[aria-current="page"] {
		color: var(--color-primary-text);
		box-shadow: var(--shadow-inset-sm);
	}

	@media (width >= 62em) {
		background-color: transparent;
		border-radius: var(--radius-md);
	}
}

.s-account__nav-icon {
	--icon-size: 1.125rem;
}

.s-account__nav-label {
	flex: 1 1 auto;
}

.s-account__nav-count {
	display: inline-grid;
	place-items: center;
	min-width: 1.375rem;
	height: 1.375rem;
	padding-inline: var(--space-1);
	color: var(--color-on-primary);
	font-size: var(--text-2xs);
	font-weight: var(--weight-bold);
	background-color: var(--color-primary);
	border-radius: var(--radius-pill);
}

.s-account__panel {
	display: flex;
	flex-direction: column;
	gap: var(--account-gap);
	min-width: 0;
}

.s-account__card {
	display: flex;
	flex-direction: column;
	gap: var(--space-5);
	padding: var(--account-card-pad);
	background-color: var(--neu-plane);
	border-radius: var(--radius-lg);
	box-shadow: var(--neu-raise);

	/* One neumorphic level: the content of the raised card is flat or inset. */
	& > * {
		--neu-raise: none;
		--neu-raise-sm: none;
		--neu-control-bg: var(--neu-flat);
	}
}

.s-account__card-title {
	margin: 0;
	font-size: var(--text-xl);
	font-weight: var(--weight-heavy);
}

.s-account__profile {
	display: flex;
	align-items: center;
	gap: var(--space-4);
	min-width: 0;
}

.s-account__avatar {
	display: inline-grid;
	flex: 0 0 auto;
	place-items: center;
	width: var(--account-avatar-size);
	height: var(--account-avatar-size);
	color: var(--color-on-primary);
	font-size: var(--text-xl);
	font-weight: var(--weight-heavy);
	background-color: var(--color-primary);
	border-radius: var(--radius-pill);
}

.s-account__profile-info {
	display: flex;
	flex-direction: column;
	gap: var(--space-1);
	min-width: 0;
}

.s-account__name {
	margin: 0;
	font-size: var(--text-xl);
	font-weight: var(--weight-heavy);
	line-height: var(--leading-tight);
}

.s-account__meta {
	margin: 0;
	color: var(--color-text-secondary);
	font-size: var(--text-sm);
	overflow-wrap: anywhere;
}

/* Phones: two columns, an odd last tile across both (round 22: three tiles left one alone in the row); from 36em
   the tiles fill the row. */
.s-account__stats {
	display: grid;
	grid-template-columns: repeat(2, minmax(0, 1fr));
	gap: var(--space-3);
	margin: 0;
	padding: 0;
	list-style: none;

	@media (width >= 36em) {
		grid-template-columns: repeat(auto-fit, minmax(min(100%, 9rem), 1fr));
	}
}

.s-account__stat:last-child:nth-child(odd) {
	grid-column: 1 / -1;

	@media (width >= 36em) {
		grid-column: auto;
	}
}

.s-account__stat-link {
	display: flex;
	flex-direction: column;
	gap: var(--space-1);
	height: 100%;
	padding: var(--space-4);
	color: var(--color-text);
	text-decoration: none;
	border-radius: var(--radius-md);
	box-shadow: var(--shadow-inset-sm);
	transition: var(--transition-colors);

	&:hover {
		color: var(--color-primary-text);
	}

	&:focus-visible {
		outline: var(--focus-width) solid var(--color-focus);
		outline-offset: var(--focus-offset);
	}
}

.s-account__stat-value {
	font-size: var(--text-2xl);
	font-weight: var(--weight-heavy);
	line-height: var(--leading-tight);
}

.s-account__stat-label {
	color: var(--color-text-secondary);
	font-size: var(--text-sm);
}

.s-account__reviews {
	display: flex;
	flex-direction: column;
	margin: 0;
	padding: 0;
	list-style: none;
}

.s-account__review {
	display: flex;
	flex-direction: column;
	gap: var(--space-1);
	padding-block: var(--space-4);
	border-top: var(--border-width) solid var(--color-border);

	&:first-child {
		padding-block-start: 0;
		border-top: 0;
	}
}

.s-account__review-head {
	display: flex;
	flex-wrap: wrap;
	align-items: center;
	justify-content: space-between;
	gap: var(--space-2);
	margin: 0;
}

.s-account__review-link {
	color: var(--color-text);
	font-weight: var(--weight-bold);
	text-decoration: underline;
	text-decoration-color: var(--color-border-strong);
	text-underline-offset: 0.2em;
	transition: var(--transition-colors);

	&:hover {
		color: var(--color-primary-text);
		text-decoration-color: currentColor;
	}

	&:focus-visible {
		outline: var(--focus-width) solid var(--color-focus);
		outline-offset: var(--focus-offset);
		border-radius: var(--radius-xs);
	}
}

.s-account__review-status {
	padding: 2px var(--space-2);
	color: var(--color-success-text);
	font-size: var(--text-xs);
	font-weight: var(--weight-bold);
	background-color: var(--color-success-soft);
	border-radius: var(--radius-pill);
}

.s-account__review-status--pending {
	color: var(--color-warning-text);
	background-color: var(--color-warning-soft);
}

.s-account__review-text {
	margin: 0;
	color: var(--color-text);
	font-size: var(--text-sm);
}

.s-account__review-date {
	margin: 0;
	color: var(--color-text-secondary);
	font-size: var(--text-xs);
}
}
/* src: assets/sections/archive/archive.css */
@layer sections {
/*
 * Section archive: the frame of every archive (post type, taxonomy, tag) and of the site search.
 * Order: page header → notices → category cards → layout (filter panel + results column) → description.
 * Results column: toolbar, active filters, results grid (l-grid of cards; .is-list = one card per row, the card
 * switches to its row layout by container query), pagination, empty state. The search page groups the results in
 * one sub-section per post type. From 62em the filter panel is the left column (sticky inside the panel component).
 */
.s-archive {
	--archive-gap: var(--space-5);
	--archive-layout-gap: var(--space-8);
	--archive-group-gap: var(--space-10);

	padding-block: 0 var(--space-section-sm);
}

.s-archive__inner {
	display: flex;
	flex-direction: column;
	gap: var(--archive-gap);
}

.s-archive__layout {
	display: grid;
	gap: var(--archive-gap);
	align-items: start;

	& > * {
		min-width: 0;
	}
}

.s-archive__layout--filters {
	@media (width >= 62em) {
		grid-template-columns: var(--aside-width) minmax(0, 1fr);
		gap: var(--archive-layout-gap);
	}
}

.s-archive__main {
	display: flex;
	flex-direction: column;
	gap: var(--archive-gap);
	min-width: 0;

	&[aria-busy="true"] {
		opacity: 0.6;
	}
}

.s-archive__grid {
	margin: 0;
	padding: 0;
	list-style: none;
	transition: opacity var(--duration-base) ease;

	/* List view: one card per row, nothing to line up — the items drop the shared rows, so the card is a size
	   container again and switches to its row layout. */
	&.is-list {
		grid-template-columns: minmax(0, 1fr);
		row-gap: var(--grid-gap);
		margin-block-end: 0;

		& > * {
			--card-subgrid: initial;
			--card-span: initial;
			--card-container: initial;

			display: block;
			grid-row: auto;
			margin-block-end: 0;
		}
	}

	&[aria-busy="true"] {
		opacity: 0.55;
	}
}

.s-archive__groups {
	display: flex;
	flex-direction: column;
	gap: var(--archive-group-gap);
}

.s-archive__group {
	display: flex;
	flex-direction: column;
	gap: var(--space-5);
	min-width: 0;
}

/* The group header as in the favourites (2026-11-11): icon tile, title, count, a hairline under it. */
/* A phone: the «Все …» link goes under the title (one-word titles such as «Инструкторы» do not wrap and ran into it
   at 320–375px); from 36em it stands at the end of the row. */
.s-archive__group-header {
	display: grid;
	grid-template-columns: auto minmax(0, 1fr);
	gap: var(--space-4);
	align-items: center;
	padding-block-end: var(--space-4);
	border-block-end: var(--border-width) solid var(--color-border);
}

/* The title with its count under it (round 18), beside the icon tile. */
.s-archive__group-heading {
	display: grid;
	gap: 2px;
	min-width: 0;
}

.s-archive__group-title {
	margin: 0;
	font-size: var(--text-xl);
	line-height: var(--leading-tight);
}

/* The icon of the section in a tile, as in the favourites and the category navigation. */
.s-archive__group-icon {
	--icon-size: 1.375rem;

	display: inline-grid;
	place-items: center;
	width: 3rem;
	height: 3rem;
	color: var(--icon-tile-text);
	background-color: var(--icon-tile-fill);
	background-image: var(--icon-tile-bg);
	border-radius: var(--icon-tile-radius);
	box-shadow: var(--icon-tile-shadow);
}

.s-archive__group-more {
	grid-column: 2;
	justify-self: start;
	font-size: var(--text-sm);
}

@media (width >= 36em) {
	.s-archive__group-header {
		grid-template-columns: auto minmax(0, 1fr) auto;
	}

	.s-archive__group-more {
		grid-column: auto;
	}
}

/* The sections of the results (search, 2026-11-11): chips with counts, as the types of the favourites. */
.s-archive__type-list {
	display: flex;
	flex-wrap: wrap;
	gap: var(--space-2);
	margin: 0;
	padding: 0;
	list-style: none;
}

.s-archive__type {
	display: inline-flex;
	align-items: center;
	gap: var(--space-2);
	min-height: 2.375rem;
	padding: var(--space-1) var(--space-2) var(--space-1) var(--space-4);
	font-weight: var(--weight-bold);
}

.s-archive__type-count {
	display: inline-grid;
	place-items: center;
	min-width: 1.5rem;
	height: 1.5rem;
	padding-inline: var(--space-1);
	font-size: var(--text-xs);
	font-variant-numeric: tabular-nums;
	color: var(--color-text);
	background-color: var(--color-surface-2);
	border-radius: var(--radius-pill);
}

.s-archive__type[aria-current="page"] .s-archive__type-count {
	color: var(--color-primary-text);
}

.s-archive__group-count {
	margin: 0;
	font-size: var(--text-sm);
	font-variant-numeric: tabular-nums;
	color: var(--color-text-secondary);
}

.s-archive__empty {
	min-width: 0;
}

/* Theme: the empty state's single action (reset filters / first page / resort page), TASK-0397. */
.s-archive__empty-actions {
	display: flex;
	justify-content: center;
	margin: var(--space-4) 0 0;
}

.s-archive__about {
	display: flex;
	flex-direction: column;
	gap: var(--space-3);
	max-width: var(--content-width);
	padding-block-start: var(--space-6);
	border-top: var(--border-width) solid var(--color-border);
}

.s-archive__about-title {
	margin: 0;
	font-size: var(--text-h3);
}

.s-archive__about-text {
	color: var(--color-text-secondary);
}
}
/* src: assets/sections/cards/cards.css */
@layer sections {
/*
 * Cards section: section header, optional filter chips and a cards slider. Used for every card slider block of the
 * front page and for the related-cards blocks of the other pages (--related). --alt = the alternate (surface)
 * background of the front page rhythm.
 */
.s-cards {
	padding-block: var(--space-section-sm);
}

.s-cards--alt {
	background-color: var(--neu-plane);
}

.s-cards--related {
	border-block-start: var(--border-width) solid var(--color-border);
}

/* Several related blocks in a row read as one area: one divider, half the spacing between them. */
.s-cards--related + .s-cards--related {
	padding-block-start: 0;
	border-block-start: 0;
}

.s-cards__inner {
	display: grid;
	gap: var(--space-5);
	min-width: 0;

	@media (width >= 48em) {
		gap: var(--space-6);
	}
}
}
/* src: assets/sections/cta/cta.css */
@layer sections {
/*
 * Front call to action: mountain photo under a dark scrim, centred title, lead and two buttons (c-button --light /
 * --glass). Text on the photo uses the on-media colours (the same in both themes).
 */
.s-cta {
	/* Inset from the screen edges as a band with a picture (l-band no longer insets, round 22). */
	margin-inline: var(--space-band);
	position: relative;
	isolation: isolate;
	overflow: clip;
	color: var(--color-on-media);
	text-align: center;
	background-color: var(--color-dark);
}

.s-cta__media {
	position: absolute;
	inset: 0;
	z-index: -1;

	&::after {
		position: absolute;
		inset: 0;
		content: "";
		background-color: var(--color-media-scrim);
	}
}

.s-cta__image {
	width: 100%;
	height: 100%;
	object-fit: cover;
}

.s-cta__inner {
	padding-block: var(--space-section);
}

.s-cta__content {
	display: grid;
	justify-items: center;
	gap: var(--space-4);
	max-width: 40rem;
	margin-inline: auto;
}

.s-cta__title {
	font-size: var(--text-h1);
	color: var(--color-on-media);
}

.s-cta__lead {
	font-size: var(--text-lg);
	color: var(--color-on-media-muted);
}

/* On the photo (round 23): no neumorphic pair — its light half glowed white around «Найти курорт» on the dark image;
   a raised button casts a soft dark drop shadow, as in the hero (hero.css). */
.s-cta__actions {
	--neu-raise: var(--shadow-drop);
	--neu-raise-sm: var(--shadow-drop);

	display: flex;
	flex-wrap: wrap;
	justify-content: center;
	gap: var(--space-3);
	padding-block-start: var(--space-2);
}
}
/* src: assets/sections/entry/entry.css */
@layer sections {
/*
 * Section s-entry: the frame of every single page (objects, articles, resort pages and sub-pages).
 * Header (back link, badges, h1, lead, meta, chips, actions, hero), quick facts and sub-navigation, then the layout:
 * content column + aside. Object pages (--object): aside on the right from 62em, after the content in the DOM.
 * Editorial pages (--editorial): narrower frame, aside (table of contents) on the left from 62em; --sidebar
 * (news: widgets, article: table of contents + widget) keeps the standard container, the header in the layout and the
 * aside on the right.
 * Content blocks (__block), freshness note, editorial footer (tags, source; the panel of the page actions: reactions,
 * favourite, share).
 * Neumorphism: the freshness note and the actions panel are raised boxes on the plane (flat inside a raised one); the
 * rest is layout only.
 */
.s-entry {
	--s-entry-anchor-offset: calc(var(--header-height) + 4.5rem);

	padding-block: var(--space-4) var(--space-section-sm);
}

.s-entry__inner {
	display: flex;
	flex-direction: column;
	gap: var(--space-6);

	@media (width >= 62em) {
		gap: var(--space-8);
	}
}

.s-entry--editorial .s-entry__inner {
	max-width: calc(66rem + var(--gutter) * 2);
}

/* Header */
.s-entry__header {
	display: flex;
	flex-direction: column;
	gap: var(--space-4);
	align-items: flex-start;
}

/* The quick facts at the end of the header (tour, school, resort in the sidebar layout, 2026-11-09): full width. */
.s-entry__facts {
	align-self: stretch;
}

.s-entry__back {
	display: inline-flex;
	gap: var(--space-1);
	align-items: center;
	min-height: 1.5rem;
	font-size: var(--text-sm);
	font-weight: var(--weight-semibold);
	color: var(--color-text-secondary);
	text-decoration: none;
	transition: var(--transition-colors);

	&:hover {
		color: var(--color-primary-text);
	}
}

.s-entry__badges {
	display: flex;
	flex-wrap: wrap;
	gap: var(--space-2);
}

.s-entry__title {
	max-width: 52rem;
	overflow-wrap: break-word;
	/* No automatic hyphens in the page title: words break only when they cannot fit at all. */
	hyphens: manual;
}

.s-entry__lead {
	max-width: var(--content-width);
	font-size: var(--text-lg);
	line-height: var(--leading-normal);
	color: var(--color-text-secondary);
}

/* One line (2026-11-10): a meta row that does not fit is a drift row (moves sideways by itself, drift.js); the ring
   inset keeps the focus rings of the links inside the scroller (the list reset zeroes the drift insets of a ul). */
.s-entry__meta {
	display: flex;
	gap: var(--space-2) var(--space-4);
	min-width: 0;
	max-width: 100%;
	margin: calc(var(--drift-ring, 5px) * -1);
	margin-inline-end: 0;
	padding: var(--drift-ring, 5px);
	padding-inline-end: var(--drift-fade, var(--space-4));
	font-size: var(--text-sm);
	color: var(--color-text-secondary);
	list-style: none;
}

/* position: the hidden labels of the items (u-visually-hidden, absolute) stay inside the drift track, not past it. */
.s-entry__meta-item {
	position: relative;
	display: inline-flex;
	flex: none;
	gap: var(--space-1);
	align-items: center;
	min-height: 1.5rem;
	white-space: nowrap;
}

.s-entry__meta-icon {
	--icon-size: 1.125em;

	color: currentcolor; /* the colour of the text (2026-11-11, as the card meta) */
}

.s-entry__meta-link {
	display: inline-flex;
	gap: var(--space-1);
	align-items: center;
	min-height: 1.5rem;
	color: inherit;
	text-decoration: none;
	transition: var(--transition-colors);

	&:hover {
		color: var(--color-primary-text);
	}
}

.s-entry__chips {
	display: flex;
	flex-wrap: wrap;
	gap: var(--space-2);
	padding: 0;
	list-style: none;
}

/* Phones: the primary action across, the secondary ones two per row (not a ragged column); a wrapping row from 36em. */
.s-entry__actions {
	display: grid;
	grid-template-columns: repeat(2, minmax(0, 1fr));
	gap: var(--space-2);
	align-items: center;
	align-self: stretch;
	width: 100%;

	& > * {
		justify-content: center;
		width: 100%;
		min-width: 0;
	}

	/* The primary action, and a last secondary one left alone in its row, span both columns. */
	& > :first-child,
	& > :last-child:nth-child(even) {
		grid-column: 1 / -1;
	}

	@media (width >= 36em) {
		display: flex;
		flex-wrap: wrap;

		& > * {
			width: auto;
		}
	}
}

.s-entry__hero {
	display: flex;
	flex-direction: column;
	gap: var(--space-2);
	align-self: stretch;
	margin-top: var(--space-2);
}

.s-entry__hero-image {
	width: 100%;
	aspect-ratio: 4 / 3;
	object-fit: cover;
	background-color: var(--color-surface-2);
	border-radius: var(--radius-lg);

	@media (width >= 48em) {
		aspect-ratio: 16 / 9;
		border-radius: var(--radius-xl);
	}

	@media (width >= 62em) {
		aspect-ratio: 21 / 9;
	}
}

.s-entry--editorial .s-entry__hero-image {
	@media (width >= 62em) {
		aspect-ratio: 16 / 9;
	}
}

.s-entry__hero-caption {
	font-size: var(--text-xs);
	color: var(--color-text-secondary);
}

.s-entry__header--profile {
	align-items: stretch;
}

/* Layout: content + aside */
.s-entry__layout {
	display: grid;
	gap: var(--space-10);
	align-items: start;

	& > * {
		min-width: 0;
	}
}

.s-entry--object .s-entry__layout {
	@media (width >= 62em) {
		grid-template-columns: minmax(0, 1fr) var(--aside-width);
		gap: var(--space-10);
	}

	@media (width >= 75em) {
		gap: var(--space-12);
	}
}

.s-entry--editorial .s-entry__layout {
	@media (width >= 62em) {
		grid-template-columns: 15rem minmax(0, 1fr);
		gap: var(--space-10);
	}

	@media (width >= 75em) {
		grid-template-columns: 16rem minmax(0, 1fr);
		gap: var(--space-12);
	}
}

/*
 * Editorial page with a sticky aside on the right (--sidebar: news, article): the standard container, not the narrow
 * editorial frame.
 * The header sits in the layout before the content: the article (header + content) is the left column, the aside
 * the right one from the top of the header (after the content in the DOM, under it below 62em). The article aside is
 * before the content in the DOM (its table of contents is the disclosure above the text on phones): below 62em it is
 * display: contents and its other widgets are ordered after the text. On desktops the TOC is its last widget, so a
 * tall aside (resorts slider) sticks at the bottom with the TOC in view while reading.
 */
.s-entry--sidebar .s-entry__inner {
	max-width: calc(var(--container-width) + var(--gutter) * 2);
}

.s-entry--sidebar .s-entry__layout {
	row-gap: var(--space-6);

	/* An aside after the content (news widgets) keeps the distance of a block; one before it (the article table of
	   contents) follows the header like the text. */
	& > .s-entry__aside:last-child {
		margin-block-start: var(--space-4);
	}

	/* An aside before the content (the article) gives its widgets to the layout below 62em: the table of contents
	   stays before the text, the other widgets (resorts…) go after it. The TOC is the only nav of the aside.
	   (A tag, not .c-toc: the section styles no foreign class.) */
	& > .s-entry__aside:not(:last-child) {
		display: contents;

		& > :not(nav) {
			order: 1;
		}
	}

	@media (width >= 62em) {
		grid-template-columns: minmax(0, 1fr) 18rem;
		row-gap: var(--space-8);

		& > .s-entry__aside:not(:last-child) {
			display: flex;

			& > :not(nav) {
				order: 0;
			}
		}

		& > :not(.s-entry__aside) {
			grid-column: 1;
		}

		& > .s-entry__aside {
			grid-row: 1 / span 2;
			grid-column: 2;
		}

		& > .s-entry__aside:last-child {
			margin-block-start: 0;
		}
	}

	@media (width >= 75em) {
		grid-template-columns: minmax(0, 1fr) var(--aside-width);
	}
}

/* The text fills the article column (the content width of the frame is the column itself). */
.s-entry--sidebar .s-entry__layout {
	--content-width: 100%;
}

.s-entry--sidebar .s-entry__body {
	max-width: none;
}

.s-entry .s-entry__layout--no-aside {
	@media (width >= 62em) {
		grid-template-columns: minmax(0, 1fr);
	}
}

.s-entry__body {
	--s-entry-body-gap: var(--space-10);

	display: flex;
	flex-direction: column;
	gap: var(--s-entry-body-gap);

	@media (width >= 62em) {
		--s-entry-body-gap: var(--space-12);
	}
}

/* The editorial footer belongs to the text above it: the hairline follows the text closer than the next block. */
.s-entry__body > .s-entry__prose + .s-entry__footer {
	margin-block-start: calc(var(--space-6) - var(--s-entry-body-gap));
}

.s-entry--editorial .s-entry__body {
	max-width: var(--content-width);
}

.s-entry__aside {
	display: flex;
	flex-direction: column;
	gap: var(--space-5);
}

/* Content blocks */
.s-entry__block {
	display: flex;
	flex-direction: column;
	gap: var(--space-5);
	scroll-margin-top: var(--s-entry-anchor-offset);
}

.s-entry__block-header {
	display: flex;
	flex-wrap: wrap;
	gap: var(--space-3) var(--space-6);
	align-items: flex-end;
	justify-content: space-between;
}

.s-entry__block-heading {
	display: flex;
	flex-direction: column;
	gap: var(--space-2);
	min-width: 0;
}

.s-entry__block-title {
	font-size: var(--text-2xl);
	font-weight: var(--weight-heavy);
}

.s-entry__block-count {
	font-weight: var(--weight-semibold);
	color: var(--color-text-muted);
}

.s-entry__block-text {
	max-width: var(--content-width);
	font-size: var(--text-sm);
	color: var(--color-text-secondary);
}

.s-entry__block-aside {
	display: flex;
	flex-wrap: wrap;
	gap: var(--space-2);
}

.s-entry__prose {
	min-width: 0;

	& > * {
		scroll-margin-top: var(--s-entry-anchor-offset);
	}
}

/* Freshness note under the content */
.s-entry__freshness {
	/* A column (2026-11-09): the check date, then «Источники:» and the sources each on a line of its own (in a wrapping
	   row the list stood beside the text). */
	display: grid;
	gap: var(--space-1);
	justify-items: start;
	padding: var(--space-3) var(--space-4);
	font-size: var(--text-sm);
	color: var(--color-text-secondary);
	background-color: var(--neu-plane);
	border-radius: var(--radius-md);
	box-shadow: var(--neu-raise-sm);
}

.s-entry__sources {
	/* One source per line (2026-11-09), a small dot before each. */
	display: grid;
	gap: var(--space-1);
	padding: 0;
	list-style: none;
}

.s-entry__source-item {
	position: relative;
	padding-inline-start: var(--space-4);
	overflow-wrap: anywhere;

	&::before {
		position: absolute;
		inset-block-start: 0.6em;
		inset-inline-start: var(--space-1);
		width: 0.3125rem;
		height: 0.3125rem;
		content: "";
		background-color: var(--color-text-subtle);
		border-radius: 50%;
	}
}

/* Editorial footer: tags, source, reactions, share */
.s-entry__footer {
	display: flex;
	flex-direction: column;
	gap: var(--space-5);
	padding-top: var(--space-6);
	border-top: var(--border-width) solid var(--color-border);
}

.s-entry__tags {
	display: flex;
	flex-wrap: wrap;
	gap: var(--space-2);
	padding: 0;
	list-style: none;
}

.s-entry__source {
	font-size: var(--text-sm);
	color: var(--color-text-secondary);
}

/* The actions of the page (round 19, 2026-11-11): one raised panel of rows divided by hairlines — «Была ли страница
   полезной?» (the reactions, where the type has them), «Сохранить на потом» (the favourite), «Поделиться». Each row is
   its label at the start and the controls at the end (under the label when they do not fit); the labels look the
   same (here, in like-button.css and in share.css). One neumorphic level: the controls inside are flat. */
.s-entry__footer-panel {
	display: flex;
	flex-direction: column;
	min-width: 0;
	padding: var(--space-1) var(--space-5);
	background-color: var(--neu-plane);
	border-radius: var(--radius-lg);
	box-shadow: var(--neu-raise);

	& > * {
		--neu-raise: none;
		--neu-raise-sm: none;
		--neu-control-bg: var(--neu-flat);

		padding-block: var(--space-4);
	}

	& > * + * {
		border-top: var(--border-width) solid var(--color-border);
	}
}

.s-entry__footer-save {
	display: flex;
	flex-wrap: wrap;
	gap: var(--space-3) var(--space-4);
	align-items: center;
	justify-content: space-between;
}

.s-entry__footer-label {
	font-size: var(--text-base);
	font-weight: var(--weight-semibold);
	line-height: var(--leading-snug);
	color: var(--color-text);
}

/* The notices of the resort (rent, transfer) under its description. */
.s-entry__notices {
	display: grid;
	gap: var(--space-3);
}

/* Manager contacts under the hero actions: phones only (from 62em the aside widget is beside the content). */
.s-entry__contact {
	display: grid;
	gap: var(--space-2);

	@media (width >= 62em) {
		display: none;
	}
}

.s-entry__contact-title {
	font-size: var(--text-sm);
	font-weight: var(--weight-bold);
	color: var(--color-text-secondary);
}

/* #about of a single page (2026-11-09): the full width of the content column, also without the sidebar layout. */
.s-entry__about {
	--content-width: 100%;

	max-width: none;
}

/* Trip offers after the text of a post (round 24): the block title as the other blocks, the showcase slider under it. */
.s-entry__trip {
	display: grid;
	gap: var(--space-4);
	min-width: 0;
}

/* Theme-only (notes.md, TASK-0436): natural-width featured image (inc/single/context.php) and the related sliders
   wrapper after the article (s-entry__more, TASK-0422); the reference prints neither. */
.s-entry__hero-image--natural {
	display: block;
	width: auto;
	max-width: 100%;
	height: auto;
	margin-inline: auto;
	aspect-ratio: auto;
	object-fit: contain;
}

.s-entry__more {
	display: grid;
	grid-template-columns: minmax(0, 1fr);
	gap: var(--space-10);
}
.s-entry__more--spaced {
	padding-block: var(--space-section-sm);
}
}
/* src: assets/sections/error/error.css */
@layer sections {
/*
 * Section error (404): big «4⛰4» code, title, text, the site search and quick actions; the sections of the site
 * below it are the quick navigation of the home page (s-quick-nav, 2026-11-11 — the own grid __nav is gone).
 * Parts: __inner, __head (__code: __digit / __zero with __mountain, __title, __text, __search, __actions).
 * Neumorphism: the zero disc is raised.
 */
.s-error {
	padding-block: var(--space-section-sm) var(--space-section);
}

.s-error__inner {
	display: flex;
	flex-direction: column;
	gap: var(--space-section-sm);
}

.s-error__head {
	display: flex;
	flex-direction: column;
	gap: var(--space-4);
	align-items: center;
	max-width: 40rem;
	margin-inline: auto;
	text-align: center;
}

.s-error__code {
	display: flex;
	gap: clamp(0.25rem, 1vw, 0.75rem);
	align-items: center;
	font-size: clamp(5rem, 3rem + 10vw, 9rem);
	font-weight: var(--weight-heavy);
	line-height: 1;
	letter-spacing: var(--tracking-tight);
	color: var(--color-primary-text);
}

.s-error__zero {
	display: inline-grid;
	place-items: center;
	width: 0.95em;
	height: 0.95em;
	color: var(--color-on-dark);
	background: linear-gradient(160deg, var(--color-primary), var(--color-dark));
	border-radius: 50%;
	box-shadow: var(--neu-raise);
}

.s-error__mountain {
	width: 0.45em;
	height: 0.45em;
	stroke-width: 2;
}

.s-error__title {
	font-size: var(--text-h1);
}

.s-error__text {
	max-width: 52ch;
	font-size: var(--text-lg);
	color: var(--color-text-secondary);
}

.s-error__search {
	width: 100%;
	max-width: 32rem;
	margin-top: var(--space-2);
}

.s-error__actions {
	display: flex;
	flex-wrap: wrap;
	gap: var(--space-3);
	justify-content: center;
}
}
/* src: assets/sections/hero/hero.css */
@layer sections {
/*
 * Front hero: full-width mountain photo with a dark scrim, eyebrow, h1, lead, the search box (c-search-box) and
 * three key figures. --entry: the same first screen on a resort with a photo (at the end of the file); --profile: the
 * person page (a light band: the blurred photo of the person under a veil, c-profile--cover). Text on the
 * photo uses the on-media colours (the same in both themes).
 */
.s-hero {
	/* Inset from the screen edges as a band with a picture (l-band no longer insets, round 22). */
	margin-inline: var(--space-band);
	position: relative;
	isolation: isolate;
	overflow: clip;
	color: var(--color-on-media);
	background-color: var(--color-dark);
}

.s-hero__media {
	position: absolute;
	inset: 0;
	z-index: -1;

	&::after {
		position: absolute;
		inset: 0;
		content: "";
		background-image:
			linear-gradient(to right, var(--color-media-scrim), var(--color-media-scrim-0) 85%),
			linear-gradient(to top, var(--color-media-scrim), var(--color-media-scrim-0) 55%);
	}
}

.s-hero__image {
	width: 100%;
	height: 100%;
	object-fit: cover;
	/* Mirrored: the skier of the photo is on the right, clear of the title and the search (the crop mirrored too). */
	object-position: 40% 40%;
	transform: scaleX(-1);
}

.s-hero__content {
	display: grid;
	justify-items: start;
	gap: var(--space-5);
	padding-block: clamp(2rem, 1.5rem + 4vw, 5rem) clamp(2.5rem, 1.5rem + 4vw, 5rem);
}

.s-hero__eyebrow {
	display: inline-flex;
	align-items: center;
	gap: var(--space-2);
	padding: var(--space-1) var(--space-3);
	font-size: var(--text-xs);
	font-weight: var(--weight-bold);
	letter-spacing: var(--tracking-wide);
	color: var(--color-on-media);
	text-transform: uppercase;
	background-color: var(--color-on-media-fill);
	border: var(--border-width) solid var(--color-on-media-line);
	border-radius: var(--radius-pill);
}

.s-hero__eyebrow-icon {
	width: 1.2em;
	height: 1.2em;
}

.s-hero__title {
	max-width: 15ch;
	font-size: var(--text-display);
	line-height: 1.05;
	color: var(--color-on-media);
}

.s-hero__lead {
	max-width: 38rem;
	font-size: clamp(var(--text-md), 0.95rem + 0.4vw, var(--text-lg));
	color: var(--color-on-media-muted);
}

.s-hero__stats {
	display: flex;
	flex-wrap: wrap;
	gap: var(--space-2) var(--space-6);
	padding-block-start: var(--space-2);
	font-size: var(--text-sm);
	color: var(--color-on-media-muted);
}

.s-hero__stat {
	display: inline-flex;
	align-items: center;
	gap: var(--space-2);
}

.s-hero__stat-icon {
	color: var(--color-on-media);
}

.s-hero__stat-value {
	font-size: var(--text-md);
	font-weight: var(--weight-heavy);
	color: var(--color-on-media);
}

/*
 * Resort with a photo (--entry, 2026-11-09): the first screen of the single page like the front page — the photo of the
 * resort under the scrim (from the top too: the breadcrumbs), the breadcrumbs at the top (__crumbs), the rest at the
 * bottom: eyebrow, h1, lead, meta, actions and the quick facts as glass tiles (__facts).
 */
.s-hero--entry {
	.s-hero__media::after {
		background-image:
			linear-gradient(to bottom, var(--color-media-scrim), var(--color-media-scrim-0) 30%),
			linear-gradient(to right, var(--color-media-scrim), var(--color-media-scrim-0) 85%),
			linear-gradient(to top, var(--color-media-scrim), var(--color-media-scrim-0) 65%);
	}

	.s-hero__image {
		object-position: 50% 45%;
		transform: none;
	}

	.s-hero__content {
		display: flex;
		flex-direction: column;
		align-items: flex-start;
		gap: var(--space-4);
		min-height: clamp(32rem, 75svh, 46rem);
		padding-block: var(--space-2) clamp(1.5rem, 1rem + 3vw, 3rem);
	}

	.s-hero__title {
		max-width: 20ch;
	}
}

/*
 * Person page (--profile with --entry, 2026-11-09): a LIGHT band — the photo of the person blurred under a veil of the
 * page plane (__image--backdrop, scaled up so the blurred edge stays outside), the site colours inside (c-profile--cover,
 * the plain breadcrumbs); in the dark theme the veil is the dark plane. The band is as tall as its content.
 */
.s-hero--profile {
	color: var(--color-text);
	background-color: var(--neu-plane);

	.s-hero__media::after {
		background-image:
			linear-gradient(to right, var(--neu-plane) 10%, color-mix(in srgb, var(--neu-plane) 70%, transparent)),
			linear-gradient(color-mix(in srgb, var(--neu-plane) 55%, transparent), color-mix(in srgb, var(--neu-plane) 55%, transparent));
	}

	.s-hero__content {
		gap: var(--space-2);
		min-height: 0;
		padding-block: var(--space-2) clamp(1.5rem, 1rem + 3vw, 3rem);
	}

	.s-hero__crumbs {
		margin-block-end: 0;
		padding-block-end: var(--space-4);
	}
}

.s-hero__image--backdrop {
	object-position: 50% 30%;
	filter: blur(24px) saturate(1.2);
	transform: scale(1.2);

	.s-hero--entry & {
		transform: scale(1.2);
	}
}

/* <picture> around the photo: the image fills the media box. */
.s-hero__picture {
	display: contents;
}

.s-hero__crumbs {
	align-self: stretch;
	margin-block-end: auto;
	padding-block-end: var(--space-6);
}

.s-hero__meta {
	display: flex;
	flex-wrap: wrap;
	gap: var(--space-2) var(--space-5);
	font-size: var(--text-sm);
	color: var(--color-on-media-muted);
}

.s-hero__meta-item {
	position: relative; /* the hidden labels stay inside the drift track */
	display: inline-flex;
	align-items: center;
	gap: var(--space-1);
	min-height: 1.5rem;
}

.s-hero__meta-icon {
	--icon-size: 1.125em;

	color: var(--color-on-media);
}

.s-hero__meta-link {
	display: inline-flex;
	align-items: center;
	gap: var(--space-1);
	min-height: 1.5rem;
	color: inherit;
	text-decoration: underline;
	text-decoration-color: var(--color-on-media-line);
	text-underline-offset: 0.2em;
	transition: var(--transition-colors);

	&:hover {
		color: var(--color-on-media);
		text-decoration-color: currentcolor;
	}
}

/*
 * Phones: the primary action across, the others two per row; a wrapping row from 36em.
 * On the photo (2026-11-10): no neumorphic pair — its light half glowed white around the buttons on the dark image. A
 * raised control here casts a soft dark drop shadow (the shadow the search panel of the front page casts), the glass
 * controls are frosted (blurred backdrop) with their thin light line; pressed = the pressed shadow of the button.
 */
.s-hero__actions {
	--neu-raise: var(--shadow-drop);
	--neu-raise-sm: var(--shadow-drop);

	display: grid;
	grid-template-columns: repeat(2, minmax(0, 1fr));
	gap: var(--space-2);
	align-self: stretch;

	& > * {
		justify-content: center;
		width: 100%;
		min-width: 0;
		-webkit-backdrop-filter: blur(12px) saturate(1.3);
		backdrop-filter: blur(12px) saturate(1.3);
	}

	& > :first-child,
	& > :last-child:nth-child(even) {
		grid-column: 1 / -1;
	}

	@media (width >= 36em) {
		display: flex;
		flex-wrap: wrap;
		align-self: flex-start;

		& > * {
			width: auto;
		}
	}
}

.s-hero__facts {
	display: grid;
	grid-template-columns: repeat(2, minmax(0, 1fr));
	gap: var(--space-2);
	align-self: stretch;
	margin-block-start: var(--space-2);

	@media (width >= 48em) {
		grid-template-columns: repeat(3, minmax(0, 1fr));
	}

	@media (width >= 62em) {
		grid-template-columns: repeat(auto-fit, minmax(9.5rem, 1fr));
	}
}

.s-hero__fact {
	display: grid;
	grid-template-columns: auto minmax(0, 1fr);
	align-content: start;
	column-gap: var(--space-2);
	padding: var(--space-3);
	background-color: var(--color-on-media-fill);
	border: var(--border-width) solid var(--color-on-media-line);
	border-radius: var(--radius-lg);
	backdrop-filter: blur(8px);
}

/* Phones: an odd last tile takes the whole row. */
.s-hero__fact:last-child:nth-child(odd) {
	grid-column: 1 / -1;

	@media (width >= 48em) {
		grid-column: auto;
	}
}

.s-hero__fact-icon {
	--icon-size: 1.25rem;

	grid-row: span 2;
	margin-block-start: 0.1em;
	color: var(--color-on-media);
}

.s-hero__fact-label {
	font-size: var(--text-xs);
	color: var(--color-on-media-muted);
}

.s-hero__fact-value {
	font-size: var(--text-sm);
	font-weight: var(--weight-bold);
	color: var(--color-on-media);
}
}
/* src: assets/sections/page/page.css */
@layer sections {
/*
 * Section page: a plain WordPress page (page.php) — about, rules, policies (redesign 2026-11-09).
 * Header: c-page-header.__header (h1, the lead, __updated: modified date · reading time) in the layout like news-item:
 * the left column, the sticky aside beside it from the top. __layout (sticky-sidebar): the
 * table of contents (c-toc) in __aside — before the text and closed on narrow screens, a sticky column on the right
 * from 62em — and __body with the text (c-prose __prose) right on the page plane across the column, like news-item
 * (2026-11-09: no raised sheet).
 * __widget = third-party widget placeholder inside the content (the insurance page).
 * Neumorphism: the text has no box of its own; the TOC widget is raised.
 */
.s-page {
	padding-block: var(--space-4) var(--space-section);
}

.s-page__inner {
	display: flex;
	flex-direction: column;
	gap: var(--space-6);
}

/* The meta of the page (s-entry__meta, 2026-11-11): the same distance from the lead as on the news and article pages
   (16px from the text above to the items; the drift ring pulls the list out by its own width). */
.s-page__header .s-page__meta {
	margin-block-start: calc(var(--space-4) - var(--drift-ring, 5px));
}

.s-page__layout {
	display: grid;
	gap: var(--space-6);
	align-items: start;

	@media (width >= 62em) {
		grid-template-columns: minmax(0, 1fr) 18rem;
		gap: var(--space-6) var(--space-8);
	}

	@media (width >= 75em) {
		grid-template-columns: minmax(0, 1fr) var(--aside-width);
	}
}

/* The header (c-page-header) in the layout: the left column above the text. */
.s-page__header {
	@media (width >= 62em) {
		grid-row: 1;
		grid-column: 1;
	}
}

.s-page__aside {
	display: flex;
	flex-direction: column;
	gap: var(--space-5);

	@media (width >= 62em) {
		grid-row: 1 / span 2;
		grid-column: 2;
	}
}

.s-page__body {
	min-width: 0;

	@media (width >= 62em) {
		grid-row: 2;
		grid-column: 1;
	}
}

/* The text fills the article column like the news text; h2 anchors stop under the sticky header. */
.s-page__prose {
	--content-width: 100%;

	max-width: var(--content-width);

	& h2 {
		scroll-margin-block-start: calc(var(--header-height) + var(--space-6));
	}
}

.s-page__widget {
	max-width: var(--content-width);
}

/* Theme-only (TASK-0445 E1): legal pages without h2 get the toc from their numbered h3 (page.php); those anchors stop
   under the sticky header too. */
.s-page__prose h3[id] {
	scroll-margin-block-start: calc(var(--header-height) + var(--space-6));
}
}
/* src: assets/sections/quick-nav/quick-nav.css */
@layer sections {
/*
 * «Разделы сайта» under the front hero (2026-11-11): a cards section (mixed with s-cards, its header and spacing) whose
 * slider holds section tiles — icon tile, title, one line. The tile fills its slide; the slides line up by height.
 */
.s-quick-nav__link {
	display: flex;
	flex: 1;
	flex-direction: column;
	align-items: flex-start;
	gap: var(--space-3);
	min-width: 0;
	height: 100%;
	padding: var(--space-4) var(--space-5);
	color: var(--color-text);
	text-decoration: none;
	background-color: var(--neu-plane);
	border-radius: var(--radius-lg);
	box-shadow: var(--neu-raise);
	transition: var(--transition-colors), box-shadow var(--duration-base) ease;

	&:hover {
		color: var(--color-primary-text);
	}

	&:active {
		box-shadow: var(--shadow-inset-sm);
	}

	&:focus-visible {
		outline: var(--focus-width) solid var(--color-focus);
		outline-offset: var(--focus-offset);
	}
}

.s-quick-nav__icon {
	display: grid;
	flex: none;
	place-items: center;
	width: 2.75rem;
	height: 2.75rem;
	color: var(--icon-tile-text);
	background-color: var(--icon-tile-fill);
	background-image: var(--icon-tile-bg);
	border-radius: var(--icon-tile-radius);
	box-shadow: var(--icon-tile-shadow);
}

.s-quick-nav__icon-svg {
	width: 1.375rem;
	height: 1.375rem;
}

.s-quick-nav__text {
	display: grid;
	gap: 2px;
	min-width: 0;
}

.s-quick-nav__title {
	font-size: var(--text-lg);
	font-weight: var(--weight-bold);
}

.s-quick-nav__desc {
	font-size: var(--text-sm);
	line-height: var(--leading-snug);
	color: var(--color-text-secondary);
}
}
/* src: assets/sections/skipass/skipass.css */
@layer sections {
/*
 * Front ski-pass prices: one price card per resort (title link, ticket icon, day-pass table, season badge, link to
 * all tariffs) in the slider of the front sections (c-slider, 2026-11-10: one card and a swipe on a phone, all four
 * without buttons on a wide screen; the slides of a page are of one height). An outdated season (is-outdated) mutes the prices. Season badge: the
 * current season c-badge--accept (green), a past one c-badge--warning; the badges of a row line up right above the footers.
 * A raised tile on the plane like the post cards; its content is flat.
 */
.s-skipass {
	padding-block: var(--space-section-sm);
	background-color: var(--neu-plane);
}

.s-skipass__inner {
	display: grid;
	grid-template-columns: minmax(0, 1fr);
	gap: var(--space-5);
	min-width: 0;

	@media (width >= 48em) {
		gap: var(--space-6);
	}
}

/* position: the card is the containing block of its visually hidden texts (absolute), so they stay inside the slider
   track (its overflow clips them) instead of widening the page on a phone. */
.s-skipass__card {
	position: relative;
	display: flex;
	flex-direction: column;
	gap: var(--space-4);
	min-width: 0;
	padding: var(--space-5);
	background-color: var(--neu-plane);
	border-radius: var(--radius-lg);
	box-shadow: var(--neu-raise);

	/* One neumorphic level: the content of the raised tile is flat. */
	& > * {
		--neu-raise: none;
		--neu-raise-sm: none;
		--neu-control-bg: var(--neu-flat);
	}
}

.s-skipass__head {
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: var(--space-3);
}

.s-skipass__title {
	font-size: var(--text-lg);
}

.s-skipass__link {
	color: inherit;
	text-decoration: none;

	&:hover {
		color: var(--color-primary-text);
	}

	&:focus-visible {
		border-radius: var(--radius-xs);
		outline: var(--focus-width) solid var(--color-focus);
		outline-offset: var(--focus-offset);
	}
}

.s-skipass__icon {
	flex: none;
	padding: var(--space-2);
	color: var(--icon-tile-text);
	background-color: var(--icon-tile-fill);
	background-image: var(--icon-tile-bg);
	border-radius: var(--icon-tile-radius);
	box-shadow: var(--icon-tile-shadow);
	box-sizing: content-box;
}

.s-skipass__table {
	width: 100%;
	font-size: var(--text-sm);
	border-collapse: collapse;
}

.s-skipass__col,
.s-skipass__label,
.s-skipass__price {
	padding: var(--space-2) 0;
	vertical-align: top;
	border-block-end: var(--border-width) dashed var(--color-border-strong);
}

.s-skipass__col {
	padding-block-start: 0;
	font-size: var(--text-xs);
	font-weight: var(--weight-semibold);
	letter-spacing: var(--tracking-wide);
	color: var(--color-text-muted);
	text-transform: uppercase;
	border-block-end-style: solid;
}

.s-skipass__col--end,
.s-skipass__price {
	text-align: end;
	white-space: nowrap;
}

.s-skipass__label {
	padding-inline-end: var(--space-3);
	font-weight: var(--weight-medium);
	color: var(--color-text-secondary);
}

.s-skipass__price {
	font-weight: var(--weight-heavy);
	color: var(--color-secondary-text); /* prices: the second accent */
}

.s-skipass__row:last-child > .s-skipass__label,
.s-skipass__row:last-child > .s-skipass__price {
	border-block-end: 0;
}

.s-skipass__card.is-outdated .s-skipass__price {
	color: var(--color-text-muted);
}

.s-skipass__note {
	display: block;
	font-size: var(--text-xs);
	color: var(--color-text-muted);
}

/* The season badges sit right above the footer, so they are on one line in all the cards of a row (the tables have
   different lengths, the cards of a row the same height). */
.s-skipass__badges {
	display: flex;
	flex-wrap: wrap;
	gap: var(--space-1);
	margin-block-start: auto;
}

.s-skipass__footer {
	padding-block-start: var(--space-3);
	border-block-start: var(--border-width) solid var(--color-border);
}
}
/* src: assets/sections/resort-overview/resort-overview.css */
@layer sections {
/*
 * Resort overview glue (TASK-0400, REQ-0071): what the layout sections lack for real data. Imported in main.css
 * `layer(sections)` (shared-edits.md). Tokens only (spec 03): no HEX, no !important.
 */

/* Photo source line on the hero media (credit rule: a downloaded photo keeps its visible source). */
.s-hero__credit {
	margin: 0;
	font-size: var(--text-xs, 0.75rem);
	line-height: 1.4;
	color: inherit;
	opacity: 0.8;
	overflow-wrap: anywhere;
}

/* The unavailable-map state is visible text here (no provider): keep it readable inside the location box. */
.c-location > .c-location__error:not([hidden]) {
	margin: 0;
	overflow-wrap: anywhere;
}

/* Long resort names in the places row and the coordinates line never push the 320 px viewport. */
.c-places__text,
.c-location__coords-value {
	min-width: 0;
	overflow-wrap: anywhere;
}

/* g3-l1 rework: links inside the neutral notices are told apart from the text by an underline (axe link-in-text-block). */
.c-alert__body > a {
	text-decoration: underline;
	text-underline-offset: 0.15em;
}

/* g3-l1 rework: transfer route panels on a resort sub-page never widen the 320 / 375 px viewport (hidden header / caption
   are absolute; the panel is their positioned, clipped box). */
.c-transfer-offers,
.c-transfer-offers__leg {
	min-width: 0;
	max-width: 100%;
}

.c-transfer-offers__panel {
	position: relative;
	overflow-x: clip;
}
}
/* src: assets/css/utilities.css */
@layer utilities {
/*
 * Utilities: single-purpose classes, the last layer. !important is allowed only here.
 */
[hidden] {
	display: none !important;
}

.u-visually-hidden {
	position: absolute !important;
	width: 1px !important;
	height: 1px !important;
	margin: -1px !important;
	padding: 0 !important;
	overflow: hidden !important;
	clip: rect(0 0 0 0) !important;
	white-space: nowrap !important;
	border: 0 !important;
}

.u-text-muted {
	color: var(--color-text-secondary) !important;
}

.u-text-sm {
	font-size: var(--text-sm) !important;
}

.u-text-xs {
	font-size: var(--text-xs) !important;
}

.u-nowrap {
	white-space: nowrap !important;
}

/* No-JS / JS-only fragments: <html> gets is-js from main.js. */
.is-js .u-no-js {
	display: none !important;
}

:root:not(.is-js) .u-js-only {
	display: none !important;
}

.is-scroll-locked {
	overflow: hidden !important;
	/* The scrollbar's place stays reserved, so the page does not shift sideways while locked. */
	scrollbar-gutter: stable;
}

/* While the theme switches (theme-toggle.js, two frames): no colour transitions, the whole page changes at once. */
.is-theme-switching,
.is-theme-switching * {
	transition: none !important;
}
}
