/**
 * Парки левого берега — основные стили.
 * Подстройте палитру под токены из Figma.
 *
 * Dopis: локальные OTF в assets/fonts/dopis/.
 * Rubik: локальный variable TTF в assets/fonts/rubik/ — без загрузки с Google.
 */

@font-face {
	font-family: Dopis;
	src: url("../fonts/dopis/Dopis Light.otf") format("opentype");
	font-weight: 300;
	font-style: normal;
	font-display: swap;
}

/* Rubik: variable (все начертания 300–900) */
@font-face {
	font-family: Rubik;
	src: url("../fonts/rubik/Rubik-Variable.ttf") format("truetype-variations"),
		url("../fonts/rubik/Rubik-Variable.ttf") format("truetype");
	font-weight: 300 900;
	font-style: normal;
	font-display: swap;
}

@font-face {
	font-family: Dopis;
	src: url("../fonts/dopis/Dopis Regular.otf") format("opentype");
	font-weight: 400;
	font-style: normal;
	font-display: swap;
}

@font-face {
	font-family: Dopis;
	src: url("../fonts/dopis/Dopis Bold.otf") format("opentype");
	font-weight: 500;
	font-style: normal;
	font-display: swap;
}

@font-face {
	font-family: Dopis;
	src: url("../fonts/dopis/Dopis Black.otf") format("opentype");
	font-weight: 700;
	font-style: normal;
	font-display: swap;
}

:root {
	--color-bg: #ffffff;
	--color-surface: #ffffff;
	--color-text: #1a2f24;
	--color-muted: #5c6670;
	--color-accent: #3d8b63;
	--color-accent-dark: #2f6d4d;
	--color-river: #2c5282;
	--color-border: #d8d2c4;
	--font-body: "Dopis", system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
	--font-heading: "Dopis", "Rubik", system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
	--space-xs: 0.5rem;
	--space-sm: 1rem;
	--space-md: 1.5rem;
	--space-lg: 2.5rem;
	--space-xl: 4rem;
	--radius: 0;
	--content-max: 72rem;
	/* Горизонтальные поля шапки/подвала (как в макете подвала: 45px, на мобилке — 10px) */
	--site-edge-gutter: 45px;
	/* Высота полосы шапки в потоке — отступ для body, чтобы контент не уходил под фиксированную шапку */
	--site-header-offset: 5rem;
	--site-header-z: 1100;
	/* Основной текст и заголовки первого уровня */
	--font-size-base: 16px;
	--h1-size: 35px;
}

*,
*::before,
*::after {
	box-sizing: border-box;
}

@media (prefers-reduced-motion: no-preference) {
	html {
		scroll-behavior: smooth;
	}
}

body {
	margin: 0;
	padding-top: var(--site-header-offset);
	font-family: var(--font-body);
	font-size: var(--font-size-base);
	line-height: 1.55;
	color: var(--color-text);
	background: var(--color-bg);
}

input,
button,
textarea,
select {
	font-family: inherit;
}

h2,
h3,
h4,
h5,
h6,
.site-title,
.widget-title,
.comments-title,
.comment-reply-title,
.site-footer__heading,
.site-footer__subheading {
	font-family: var(--font-heading);
	font-weight: 600;
	letter-spacing: -0.02em;
}

.page-title,
.entry-title {
	font-family: var(--font-heading);
	letter-spacing: -0.02em;
}

/* Заголовки первого уровня: один стиль по макету */
h1 {
	font-family: var(--font-heading);
	font-size: var(--h1-size);
	font-weight: 400;
	letter-spacing: -0.02em;
	line-height: 1.12;
	margin-block: 0.65em 0.45em;
}

a {
	color: var(--color-river);
	text-underline-offset: 0.12em;
}

a:hover {
	color: var(--color-accent-dark);
}

img {
	max-width: 100%;
	height: auto;
	vertical-align: middle;
}

.site-header {
	position: fixed;
	top: 0;
	left: 0;
	right: 0;
	z-index: var(--site-header-z);
	width: 100%;
	max-width: none;
	margin: 0;
	box-sizing: border-box;
	background: var(--color-surface);
	border-bottom: 1px solid var(--color-border);
}

/* Панель администратора WP — шапка ниже полоски admin bar */
.admin-bar .site-header {
	top: 32px;
}

@media screen and (max-width: 782px) {
	.admin-bar .site-header {
		top: 46px;
	}
}

.site-header__inner {
	position: relative;
	width: 100%;
	max-width: none;
	margin: 0 auto;
	padding: 1rem var(--site-edge-gutter);
	display: flex;
	flex-wrap: wrap;
	align-items: center;
	justify-content: space-between;
	gap: 1rem 2rem;
}

.site-branding {
	display: flex;
	align-items: center;
	gap: 0.75rem;
	min-width: 0;
}

.site-branding .custom-logo-link {
	display: inline-flex;
	align-items: center;
}

.site-branding .custom-logo-link img {
	max-height: 3rem;
	width: auto;
}

.site-title {
	display: inline-flex;
	flex-direction: column;
	font-family: var(--font-heading);
	font-size: clamp(0.75rem, 1.1vw, 0.875rem);
	font-weight: 700;
	line-height: 1.2;
	letter-spacing: 0.06em;
	color: var(--color-text);
	text-decoration: none;
	text-transform: uppercase;
}

.site-title__text {
	max-width: 11.5rem;
}

.site-description {
	margin: 0.25rem 0 0;
	font-size: 0.9rem;
	color: var(--color-muted);
}

.site-header__nav-toggle {
	position: absolute;
	left: -9999px;
	width: 1px;
	height: 1px;
	padding: 0;
	margin: -1px;
	overflow: hidden;
	clip: rect(0, 0, 0, 0);
	white-space: nowrap;
	border: 0;
	appearance: none;
	opacity: 0;
	pointer-events: none;
}

.site-header__burger {
	display: none;
	align-items: center;
	justify-content: center;
	width: 2.75rem;
	height: 2.75rem;
	margin: 0;
	cursor: pointer;
	border-radius: 4px;
	color: var(--color-text);
	flex-shrink: 0;
}

.site-header__burger:focus-visible {
	outline: 2px solid var(--color-accent);
	outline-offset: 2px;
}

.site-header__burger-lines,
.site-header__burger-lines::before,
.site-header__burger-lines::after {
	display: block;
	width: 1.35rem;
	height: 2px;
	background: currentColor;
	border-radius: 1px;
	position: relative;
	transition: transform 0.35s cubic-bezier(0.33, 1, 0.68, 1), opacity 0.3s ease;
}

.site-header__burger-lines::before,
.site-header__burger-lines::after {
	content: "";
	position: absolute;
	left: 0;
}

.site-header__burger-lines::before {
	top: -7px;
}

.site-header__burger-lines::after {
	top: 7px;
}

.site-header__nav-toggle:checked+.site-header__burger .site-header__burger-lines {
	background: transparent;
}

.site-header__nav-toggle:checked+.site-header__burger .site-header__burger-lines::before {
	top: 0;
	transform: rotate(45deg);
}

.site-header__nav-toggle:checked+.site-header__burger .site-header__burger-lines::after {
	top: 0;
	transform: rotate(-45deg);
}

.site-header__panel {
	display: flex;
	flex-wrap: wrap;
	align-items: center;
	justify-content: flex-end;
	gap: clamp(1rem, 3vw, 2.25rem);
	flex: 1 1 auto;
	min-width: 0;
}

.site-nav .menu,
.site-nav .menu ul {
	list-style: none;
	margin: 0;
	padding: 0;
}

.site-nav .menu {
	display: flex;
	flex-wrap: wrap;
	align-items: center;
	justify-content: flex-end;
	gap: clamp(0.75rem, 2vw, 1.75rem);
}

.site-nav .menu>.menu-item {
	position: relative;
	list-style: none;
}

.site-nav .menu .menu-item {
	list-style: none;
}

.site-nav .menu .sub-menu {
	position: absolute;
	left: 0;
	/* Без зазора с пунктом: иначе курсор «проваливается» между li и ul и :hover сбрасывается */
	top: 100%;
	min-width: max(12.5rem, 100%);
	background: var(--color-surface);
	border: 1px solid var(--color-border);
	border-radius: var(--radius, 10px);
	box-shadow: 0 12px 32px rgba(26, 47, 36, 0.12);
	padding: 0.45rem 0;
	z-index: 400;
	display: none;
	flex-direction: column;
	gap: 0;
}

/* Невидимый «мост» над выпадашкой — перекрывает путь курсора от ссылки к списку */
.site-nav .menu .sub-menu::before {
	content: "";
	position: absolute;
	left: 0;
	right: 0;
	top: -0.65rem;
	height: 0.65rem;
}

.site-nav .menu .sub-menu .menu-item {
	width: 100%;
}

.site-nav .menu .sub-menu a {
	display: block;
	padding: 0.5rem 1.1rem;
	font-size: 12px;
	line-height: 1.35;
	white-space: nowrap;
}

.site-nav .menu .menu-item:hover>.sub-menu,
.site-nav .menu .menu-item:focus-within>.sub-menu {
	display: flex;
}

.site-nav .menu .sub-menu .sub-menu {
	top: 0;
	left: 100%;
	margin-left: 0;
}

/* Мост между уровнями вправо — без щели до вложенного списка */
.site-nav .menu .sub-menu .sub-menu::before {
	content: "";
	position: absolute;
	right: 100%;
	top: 0;
	bottom: 0;
	width: 0.65rem;
}

.site-nav a {
	font-family: "Dopis", system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
	font-weight: 300;
	font-style: normal;
	font-size: 13.33px;
	line-height: 1.2;
	letter-spacing: 0;
	text-decoration: none;
	text-transform: uppercase;
	color: var(--color-text);
}

.site-nav a:hover {
	color: var(--color-accent);
}

.site-nav .menu .menu-item.current-menu-item>a,
.site-nav .menu .menu-item.current-menu-ancestor>a,
.site-nav .menu .menu-item.current-menu-parent>a {
	color: #266c8e;
	text-decoration: underline;
	text-underline-offset: 0.12em;
	text-decoration-color: #266c8e;
	text-decoration-thickness: max(1px, 0.06em);
}

.site-nav .menu .menu-item.current-menu-item>a:hover,
.site-nav .menu .menu-item.current-menu-ancestor>a:hover,
.site-nav .menu .menu-item.current-menu-parent>a:hover {
	color: #266c8e;
	text-decoration: underline;
}

.site-header__search {
	flex: 0 0 auto;
}

.search-form--header {
	display: flex;
	align-items: center;
	gap: 0.35rem;
	margin: 0;
}

.search-form__field {
	width: clamp(6rem, 12vw, 10rem);
	padding: 0.35rem 0;
	border: none;
	border-bottom: 1px solid var(--color-border);
	border-radius: 0;
	font-family: var(--font-body);
	font-size: 0.8125rem;
	font-weight: 500;
	color: var(--color-text);
	background: transparent;
}

.search-form__field:focus {
	outline: none;
	border-bottom-color: var(--color-accent);
}

.search-form__field::placeholder {
	color: var(--color-muted);
	text-transform: none;
}

.search-form__submit {
	display: flex;
	align-items: center;
	justify-content: center;
	padding: 0.25rem;
	border: none;
	background: transparent;
	color: var(--color-text);
	cursor: pointer;
	line-height: 0;
	border-radius: 4px;
}

.search-form__submit:hover {
	color: var(--color-accent);
}

.search-form__submit:focus-visible {
	outline: 2px solid var(--color-accent);
	outline-offset: 2px;
}

.search-form__icon {
	display: block;
}

@media (max-width: 720px) {
	:root {
		--site-header-offset: 4.5rem;
	}

	.site-header__inner {
		display: grid;
		grid-template-columns: minmax(8.5rem, 1fr) auto;
		grid-template-rows: auto auto;
		align-items: center;
		column-gap: 0.75rem;
		row-gap: 0;
	}

	.site-branding {
		grid-column: 1;
		grid-row: 1;
		justify-self: start;
		align-self: center;
		min-width: 0;
		max-width: 100%;
		position: relative;
		z-index: 2;
		overflow: visible;
		flex: unset;
	}

	.site-branding .custom-logo-link {
		flex-shrink: 0;
		max-width: 100%;
		display: inline-flex;
		align-items: center;
		min-width: 0;
	}

	.site-branding .custom-logo-link img {
		display: block;
		max-height: 2.625rem;
		width: auto;
		max-width: min(72vw, 280px);
		min-width: 72px;
		height: auto;
		object-fit: contain;
		object-position: left center;
	}

	.site-branding .site-title {
		overflow: hidden;
		text-overflow: ellipsis;
		white-space: nowrap;
		max-width: 100%;
		font-size: clamp(0.7rem, 3.2vw, 0.875rem);
	}

	.site-branding .site-description {
		display: none;
	}

	.site-header__burger {
		display: flex;
		grid-column: 2;
		grid-row: 1;
		justify-self: end;
		align-self: center;
		flex-shrink: 0;
		position: relative;
		z-index: 3;
	}

	.site-header__panel {
		grid-column: 1 / -1;
		grid-row: 2;
		flex: unset;
		flex-direction: column;
		flex-wrap: nowrap;
		align-items: stretch;
		justify-content: flex-start;
		gap: 0;
		max-height: 0;
		overflow: hidden;
		opacity: 0;
		pointer-events: none;
		transition:
			max-height 0.55s cubic-bezier(0.33, 1, 0.68, 1),
			opacity 0.45s cubic-bezier(0.33, 1, 0.68, 1),
			padding 0.45s ease;
		padding-top: 0;
		padding-bottom: 0;
		min-width: 0;
		width: 100%;
		box-sizing: border-box;
		border-top: 1px solid transparent;
		margin-top: 0;
		background: transparent;
	}

	.site-header__nav-toggle:checked~.site-header__panel {
		max-height: calc(100dvh - var(--site-header-offset, 4.5rem) - env(safe-area-inset-top, 0px) - 0.5rem);
		overflow-x: hidden;
		overflow-y: auto;
		overscroll-behavior: contain;
		-webkit-overflow-scrolling: touch;
		opacity: 1;
		pointer-events: auto;
		padding-top: 0.85rem;
		padding-bottom: 0.85rem;
		border-top-color: var(--color-border);
		margin-top: 0.65rem;
		background: #ffffff;
		border-radius: 0 0 var(--radius) var(--radius);
	}

	.site-nav {
		width: 100%;
		min-width: 0;
		flex-shrink: 0;
		order: 1;
	}

	.site-nav .menu {
		flex-direction: column;
		align-items: stretch;
		justify-content: flex-start;
		gap: 0;
		width: 100%;
		min-width: 0;
		padding-bottom: 0;
		margin-bottom: 0;
		border-bottom: none;
	}

	.site-nav .menu>.menu-item {
		width: 100%;
		min-width: 0;
		border-bottom: 1px solid rgba(26, 47, 36, 0.06);
	}

	.site-nav .menu>.menu-item:last-child {
		border-bottom: none;
	}

	.site-nav .menu>.menu-item>a {
		display: flex;
		align-items: center;
		justify-content: space-between;
		gap: 0.65rem;
		min-width: 0;
		padding: 0.65rem 0.15rem;
		font-size: 0.9375rem;
		font-weight: 500;
		text-transform: uppercase;
		letter-spacing: 0.04em;
		white-space: normal;
		overflow-wrap: anywhere;
	}

	.site-nav .menu>.menu-item-has-children:not(.menu-item--expanded)>a::after {
		content: "";
		display: block;
		width: 0.45rem;
		height: 0.45rem;
		border-right: 2px solid currentColor;
		border-bottom: 2px solid currentColor;
		transform: rotate(45deg);
		opacity: 0.55;
		flex-shrink: 0;
		transition: transform 0.2s ease, opacity 0.2s ease;
		margin-bottom: 0.15rem;
	}

	.site-nav .menu>.menu-item-has-children.menu-item--expanded>a::after {
		transform: rotate(225deg);
		margin-bottom: -0.1rem;
		opacity: 0.85;
	}

	.site-nav .menu .sub-menu {
		position: static;
		display: none;
		flex-direction: column;
		width: 100%;
		min-width: 0;
		margin: 0;
		padding: 0.25rem 0 0.5rem 0.75rem;
		border: none;
		border-radius: 0;
		border-left: 2px solid var(--color-accent);
		box-shadow: none;
		background: rgba(26, 47, 36, 0.05);
		gap: 0;
	}

	.site-nav .menu .sub-menu::before,
	.site-nav .menu .sub-menu .sub-menu::before {
		display: none;
		content: none;
	}

	.site-nav .menu .menu-item-has-children.menu-item--expanded>.sub-menu {
		display: flex;
	}

	.site-nav .menu .sub-menu .menu-item-has-children>a {
		display: flex;
		align-items: center;
		justify-content: space-between;
		gap: 0.5rem;
		padding: 0.45rem 0.35rem 0.45rem 0;
		font-size: 0.8125rem;
		font-weight: 500;
	}

	.site-nav .menu .sub-menu .menu-item-has-children:not(.menu-item--expanded)>a::after {
		content: "";
		display: block;
		width: 0.35rem;
		height: 0.35rem;
		border-right: 2px solid currentColor;
		border-bottom: 2px solid currentColor;
		transform: rotate(45deg);
		opacity: 0.5;
		flex-shrink: 0;
	}

	.site-nav .menu .sub-menu .menu-item-has-children.menu-item--expanded>a::after {
		transform: rotate(225deg);
		opacity: 0.8;
	}

	.site-nav .menu .sub-menu a {
		display: block;
		white-space: normal;
		overflow-wrap: anywhere;
		padding: 0.4rem 0.35rem 0.4rem 0;
		font-size: 0.8125rem;
		line-height: 1.35;
		font-weight: 400;
		text-transform: none;
		letter-spacing: 0;
	}

	.site-nav .menu .sub-menu .sub-menu {
		position: static;
		left: auto;
		margin-left: 0;
		margin-top: 0.25rem;
		padding-left: 0.65rem;
		border-left: 1px solid rgba(26, 47, 36, 0.15);
		background: rgba(255, 255, 255, 0.45);
	}

	.site-header__search {
		order: 2;
		width: 100%;
		max-width: 100%;
		min-width: 0;
		box-sizing: border-box;
		flex: 0 0 auto;
		margin-top: 0.75rem;
		padding-top: 0.75rem;
		border-top: 1px solid rgba(26, 47, 36, 0.1);
	}

	.search-form--header {
		width: 100%;
		max-width: 100%;
		min-width: 0;
		box-sizing: border-box;
		gap: 0.5rem;
	}

	.search-form__field {
		flex: 1 1 auto;
		width: 1%;
		min-width: 0;
		max-width: 100%;
		box-sizing: border-box;
		padding: 0.5rem 0;
		font-size: 1rem;
	}

	.search-form__submit {
		flex-shrink: 0;
	}

	/* На тач-экранах не открывать выпадашки по :hover — только по .menu-item--expanded */
	.site-nav .menu .menu-item-has-children:not(.menu-item--expanded):hover>.sub-menu,
	.site-nav .menu .menu-item-has-children:not(.menu-item--expanded):focus-within>.sub-menu {
		display: none !important;
	}

	/* Комфортные поля на смартфонах + учёт выреза */
	.site-main {
		padding-top: var(--space-md);
		padding-bottom: var(--space-lg);
		padding-left: max(1rem, env(safe-area-inset-left, 0px));
		padding-right: max(1rem, env(safe-area-inset-right, 0px));
	}
}

/* Страница парка: только пункты меню, выравнивание слева (как макет) */
.site-header.site-header--park-page {
	width: 100%;
	max-width: none;
}

.site-header--park-page .site-header__inner {
	justify-content: flex-start;
	padding-top: 1.1rem;
	padding-bottom: 1.1rem;
	width: 100%;
	max-width: none;
	box-sizing: border-box;
}

.site-header--park-page .site-nav--park-page {
	display: flex;
	justify-content: flex-start;
	width: auto;
	max-width: 100%;
	flex: 0 1 auto;
}

.site-header--park-page .menu--park-page {
	justify-content: flex-start;
	gap: clamp(0.85rem, 3vw, 2.35rem);
}

@media (max-width: 720px) {
	.site-header--park-page .menu--park-page {
		row-gap: 0.45rem;
	}
}

/* Новости/мероприятия: компактная верхняя навигация по макету */
.site-header.site-header--event-page {
	width: 100%;
	max-width: none;
	background: #fff;
	border-bottom: 1px solid var(--color-border);
}

.site-header--event-page .site-header__inner {
	justify-content: flex-start;
	padding-top: 0.7rem;
	padding-bottom: 0.7rem;
	width: 100%;
	max-width: none;
	box-sizing: border-box;
	min-height: auto;
}

.site-header--event-page .site-nav--event-page {
	display: flex;
	justify-content: flex-start;
	width: auto;
	max-width: 100%;
	flex: 0 1 auto;
}

.site-header--event-page .menu--event-page {
	display: flex;
	flex-wrap: wrap;
	gap: 1.2rem;
	margin: 0;
	padding: 0;
	list-style: none;
	font-size: 0.66rem;
	letter-spacing: 0.08em;
	text-transform: uppercase;
}

.site-header--event-page .menu--event-page a {
	color: #222;
	text-decoration: none;
}

.site-header--event-page .menu--event-page a:hover {
	color: var(--color-accent-dark);
}

/* Крошки Yoast: на всю ширину окна (без max-width контентной колонки), поля как у краёв страницы */
.site-breadcrumbs-wrap {
	width: 100%;
	max-width: none;
	margin: 0;
	padding: 0.75rem max(var(--space-md), var(--site-edge-gutter, 45px), env(safe-area-inset-left, 0px)) 0.5rem max(var(--space-md), var(--site-edge-gutter, 45px), env(safe-area-inset-right, 0px));
	box-sizing: border-box;
}

.site-breadcrumbs.yoast-breadcrumbs {
	display: block;
	width: 100%;
	max-width: 100%;
	min-width: 0;
	font-size: var(--font-size-base);
	line-height: 1.5;
	color: var(--color-muted);
	overflow: visible;
	word-wrap: break-word;
	overflow-wrap: anywhere;
}

.site-breadcrumbs.yoast-breadcrumbs a {
	color: var(--color-text);
	text-decoration: none;
}

.site-breadcrumbs.yoast-breadcrumbs a:hover {
	color: var(--color-accent);
	text-decoration: underline;
}

.site-breadcrumbs.yoast-breadcrumbs .breadcrumb_last {
	font-weight: 600;
	color: var(--color-text);
}

.site-main {
	max-width: var(--content-max);
	margin: 0 auto;
	padding: var(--space-lg) var(--space-md);
}

.site-main--404 {
	max-width: none;
	margin: 0;
	padding: 0;
}

.site-main--front {
	max-width: none;
	margin: 0;
	padding: 0;
}

/* Якоря секций главной (меню «Главная», «События», «Медиатека») */
#home,
#events,
#media {
	scroll-margin-top: calc(var(--site-header-offset) + 0.35rem);
}

/* Одиночная страница парка: герой как блок «Медиатека» на главной — 50/50, лого + текст | картинка из поля park_hero_image */
.site-main--single-park {
	max-width: none;
	margin: 0;
	padding: 0;
}

/* Архив объектов — на всю ширину окна (без --content-max) */
.site-main--archive-objects {
	max-width: none;
	width: 100%;
	margin: 0;
	padding: var(--space-lg) clamp(1rem, 4vw, 3rem);
	box-sizing: border-box;
}

.site-main--grounds {
	max-width: none;
	width: 100%;
	margin: 0;
	padding: 0;
}

.grounds-page {
	display: grid;
	grid-template-columns: 1fr 1fr;
	min-height: 100vh;
	min-height: 100svh;
	min-height: 100dvh;
	background: #ffffff;
}

.grounds-page__content {
	padding: clamp(1.5rem, 3.2vw, 3rem) clamp(1.25rem, 3vw, 3.5rem);
	box-sizing: border-box;
	display: flex;
	flex-direction: column;
	gap: 1.25rem;
}

.grounds-page__title {
	margin: 0;
	font-size: var(--h1-size);
	line-height: 1.12;
	text-transform: uppercase;
	font-weight: 400;
}

.grounds-page__text {
	max-width: 46rem;
}

.grounds-page__visual {
	position: relative;
	overflow: hidden;
	background-color: #ffffff;
	background-image: var(--grounds-bg-image, none);
	background-size: cover;
	background-position: center center;
	background-repeat: no-repeat;
}

.grounds-page__visual-inner {
	height: 100%;
	display: flex;
	align-items: center;
	justify-content: center;
	padding: clamp(1rem, 2vw, 2rem);
	box-sizing: border-box;
}

.grounds-page__slider {
	width: min(92%, 640px);
	aspect-ratio: 4 / 5;
	max-height: min(88svh, 820px);
	border-radius: 0;
}

.grounds-page__slider .park-object-slider__viewport {
	border-radius: 0;
}

.grounds-page__slider .park-object-slider__btn {
	top: 50%;
	bottom: auto;
	transform: translateY(-50%);
	width: 3rem;
	height: 3rem;
}

.grounds-page__slider .park-object-slider__btn--prev {
	left: -1.5rem;
}

.grounds-page__slider .park-object-slider__btn--next {
	right: -1.5rem;
}

.grounds-page__placeholder {
	width: min(92%, 640px);
	aspect-ratio: 4 / 5;
	background: linear-gradient(145deg, #d7e8f4, #bed8ea);
}

.grounds-schedule {
	display: grid;
	grid-template-columns: 1fr 1fr;
	gap: 1rem clamp(0.75rem, 2vw, 1.5rem);
	align-items: start;
	max-width: 42rem;
}

.grounds-schedule__title {
	margin: 0 0 0.4rem;
	font-size: clamp(1rem, 1.5vw, 1.2rem);
	line-height: 1.2;
	font-weight: 600;
}

.grounds-schedule__days {
	display: flex;
	flex-wrap: wrap;
	gap: 0.35rem;
	margin-bottom: 0.45rem;
}

.grounds-schedule__day {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	min-width: 2rem;
	height: 1.7rem;
	padding: 0 0.35rem;
	border-radius: 0.2rem;
	background: #d7d8d9;
	color: #2b2b2b;
	font-size: 0.72rem;
	font-weight: 600;
}

.grounds-schedule__day.is-active {
	background: #62676d;
	color: #fff;
}

.grounds-schedule__time {
	margin: 0;
	font-size: 0.98rem;
	line-height: 1.35;
}

.grounds-schedule__note {
	opacity: 0.9;
}

.grounds-tech-day {
	margin-top: 0.35rem;
	max-width: 42rem;
}

.grounds-tech-day__title {
	margin: 0 0 0.2rem;
	font-size: 1rem;
	font-weight: 700;
	line-height: 1.25;
	text-transform: uppercase;
}

.grounds-tech-day__note {
	margin: 0;
	font-size: 0.96rem;
	line-height: 1.35;
}

@media (max-width: 960px) {
	.grounds-page {
		grid-template-columns: 1fr;
		min-height: 0;
	}

	.grounds-page__visual {
		min-height: 52svh;
	}

	.grounds-page__slider {
		width: 100%;
		aspect-ratio: 4 / 3;
		max-height: none;
	}

	.grounds-page__slider .park-object-slider__btn--prev {
		left: 0.75rem;
	}

	.grounds-page__slider .park-object-slider__btn--next {
		right: 0.75rem;
	}

	.grounds-schedule {
		grid-template-columns: 1fr;
	}
}

.site-main--structure {
	max-width: none;
	width: 100%;
	margin: 0;
	padding: 0;
}

.structure-page {
	display: grid;
	grid-template-columns: 1fr 1fr;
	min-height: 100vh;
	min-height: 100svh;
	min-height: 100dvh;
	background: #ffffff;
}

.structure-page__content {
	padding: clamp(1.5rem, 3.2vw, 3rem) clamp(1.25rem, 3vw, 3.5rem);
	box-sizing: border-box;
	display: flex;
	flex-direction: column;
	gap: 0.85rem;
	font-family: "Dopis", "Rubik", system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
}

.structure-page__title {
	margin: 0;
	font-size: var(--h1-size);
	line-height: 1.12;
	text-transform: uppercase;
	letter-spacing: 0.08em;
	font-weight: 400;
}

.structure-page__text {
	max-width: 42rem;
}

.structure-page__leader {
	display: grid;
	grid-template-columns: auto minmax(0, 1fr);
	gap: 1.1rem;
	align-items: start;
	max-width: 42rem;
}

.structure-page__leader-photo {
	width: 170px;
	height: 180px;
}

.structure-page__leader-img {
	display: block;
	width: 100%;
	height: 100%;
	object-fit: cover;
}

.structure-page__leader-body {
	height: 180px;
	display: flex;
	flex-direction: column;
	justify-content: space-between;
	min-width: 0;
}

.structure-page__leader-name {
	margin: 0;
	font-size: 20px;
	font-weight: 700;
	line-height: 1.08;
	text-transform: uppercase;
	letter-spacing: 0.01em;
	max-width: 15ch;
}

.structure-page__leader-role {
	margin: 0;
	font-size: 17px;
	line-height: 1.2;
}

.structure-page__staff-list {
	list-style: none;
	margin: 0;
	padding: 0;
	max-width: 42rem;
	margin-top: 40px;
}

.structure-page__staff-item {
	margin: 0 0 0.5rem;
}

.structure-page__staff-name {
	margin: 0 0 0.1rem;
	font-size: 17px;
	font-weight: 700;
	line-height: 1.2;
}

.structure-page__staff-role {
	margin: 0;
	font-size: 17px;
	font-weight: 400;
	line-height: 1.2;
	color: var(--color-muted);
}

.structure-page__visual {
	position: relative;
	overflow: hidden;
	background-color: #ffffff;
	background-image: var(--structure-bg-image, none);
	background-size: cover;
	background-position: center center;
	background-repeat: no-repeat;
}

.structure-page__visual-inner {
	height: 100%;
	display: flex;
	align-items: flex-start;
	justify-content: center;
	padding: clamp(1.25rem, 2.4vw, 2.25rem) clamp(1rem, 2vw, 2rem);
	box-sizing: border-box;
}

.structure-page__visual-photo {
	display: block;
	width: min(90%, 760px);
	height: auto;
	max-height: min(72svh, 640px);
	object-fit: cover;
}

.structure-page__visual-placeholder {
	width: min(92%, 640px);
	aspect-ratio: 4 / 3;
	background: linear-gradient(145deg, #dcead8, #beddb9);
}

@media (max-width: 960px) {
	.structure-page {
		grid-template-columns: 1fr;
		min-height: 0;
	}

	.structure-page__visual {
		min-height: 44svh;
	}

	.structure-page__visual-photo {
		width: 100%;
		max-height: none;
	}
}

.site-main--information {
	max-width: none;
	width: 100%;
	margin: 0;
	padding: 0;
}

.site-main--organizers {
	max-width: none;
	width: 100%;
	margin: 0;
	padding: 0;
	overflow-x: clip;
}

.organizers-page {
	display: grid;
	grid-template-columns: 1fr 1fr;
	min-height: 100vh;
	min-height: 100svh;
	min-height: 100dvh;
	background: #ffffff;
}

.organizers-page__content,
.organizers-page__visual {
	min-width: 0;
	box-sizing: border-box;
}

.organizers-page__content {
	padding: clamp(1.5rem, 3.2vw, 3rem) clamp(1.25rem, 3vw, 3.5rem);
}

.organizers-page__title {
	margin: 0;
	font-size: var(--h1-size);
	line-height: 1.12;
	text-transform: uppercase;
	font-weight: 400;
}

.organizers-page__text {
	padding: clamp(1.5rem, 3.2vw, 3rem) clamp(1.25rem, 3vw, 3.5rem);
	border:2px solid #add8e6;
}

.organizers-page__text.entry-content {
	overflow-wrap: anywhere;
	word-wrap: break-word;
}

.organizers-page__text.entry-content img,
.organizers-page__text.entry-content table,
.organizers-page__text.entry-content iframe {
	max-width: 100%;
	height: auto;
}

.organizers-page__documents {
	display: flex;
	flex-direction: column;
	gap: 0;
	margin-top: clamp(1.5rem, 3vw, 2.5rem);
	max-width: 46rem;
	width: 100%;
}

.organizers-page__doc-item {
	display: flex;
	align-items: center;
	gap: 1rem;
	padding: 0.65rem 0;
	box-sizing: border-box;
	min-width: 0;
	color: inherit;
	text-decoration: none;
	border-bottom: 1px solid rgba(17, 17, 17, 0.08);
	transition: opacity 0.15s ease;
}

.organizers-page__doc-item:hover {
	opacity: 0.82;
}

.organizers-page__doc-item .documents-page__icon {
	flex: 0 0 auto;
}

.organizers-page__doc-body {
	display: flex;
	flex-direction: column;
	justify-content: center;
	gap: 0.2rem;
	min-width: 0;
}

.organizers-page__doc-title {
	font-size: 17px;
	line-height: 1.25;
	font-weight: 700;
}

.organizers-page__doc-sub {
	font-size: 15px;
	line-height: 1.3;
	color: rgba(17, 17, 17, 0.72);
}

.organizers-page__maps-section {
	margin-top: clamp(2rem, 4vw, 3rem);
	max-width: 46rem;
	width: 100%;
	min-width: 0;
}

.organizers-page__maps-title {
	margin: 0 0 1rem;
	font-size: 30px;
	line-height: 1.1;
	font-weight: 700;
}

.organizers-page__maps {
	display: flex;
	flex-wrap: wrap;
	align-items: center;
	gap: clamp(1.25rem, 4vw, 2.5rem);
}

.organizers-page__map-link {
	display: block;
	flex: 1 1 200px;
	max-width: 280px;
	text-decoration: none;
	transition: opacity 0.15s ease;
}

.organizers-page__map-link:hover {
	opacity: 0.88;
}

.organizers-page__map-logo {
	display: block;
	width: 100%;
	height: auto;
	object-fit: contain;
}

.organizers-page__map-fallback {
	display: flex;
	align-items: center;
	justify-content: center;
	min-height: 4.5rem;
	padding: 1rem 1.25rem;
	box-sizing: border-box;
	font-size: 1rem;
	font-weight: 700;
	line-height: 1.25;
	text-align: center;
	text-transform: uppercase;
	letter-spacing: 0.04em;
	color: #111;
	border: 1px solid rgba(17, 17, 17, 0.12);
	border-radius: var(--radius, 10px);
	background: rgba(255, 255, 255, 0.9);
}

.organizers-page__visual {
	display: flex;
	flex-direction: column;
	justify-content: center;
	align-items: stretch;
	box-sizing: border-box;
	padding: clamp(1.5rem, 3.2vw, 3rem) clamp(1.25rem, 3vw, 3.5rem);
	min-height: 0;
	background-color: #ffffff;
	background-image: var(--organizers-bg-image, none);
	background-size: cover;
	background-position: center center;
	background-repeat: no-repeat;
}

.organizers-page__visual-inner {
	width: 100%;
	max-width: min(44rem, 100%);
	margin: 0 auto;
}

.organizers-form__notice {
	margin: 0 0 1rem;
	padding: 0.65rem 0.85rem;
	border-radius: 8px;
	font-size: 0.92rem;
	line-height: 1.35;
	box-sizing: border-box;
}

.organizers-form__notice--success {
	background: rgba(61, 139, 99, 0.15);
	color: #1a3d2a;
	border: 1px solid rgba(61, 139, 99, 0.35);
}

.organizers-form__notice--error {
	background: rgba(217, 72, 65, 0.1);
	color: #5c1f1c;
	border: 1px solid rgba(217, 72, 65, 0.35);
}

.organizers-form {
	display: flex;
	flex-direction: column;
	gap: 1.1rem;
	padding: clamp(1.35rem, 2.5vw, 2rem);
	box-sizing: border-box;
	background: rgba(255, 255, 255, 0.97);
	border: 1px solid rgba(124, 180, 219, 0.55);
	border-radius: var(--radius, 10px);
	box-shadow: 0 12px 36px rgba(17, 17, 17, 0.08);
}

.organizers-form__title {
	margin: 0;
	font-size: clamp(1.15rem, 2.4vw, 1.45rem);
	line-height: 1.15;
	font-weight: 700;
	text-align: center;
	text-transform: uppercase;
	letter-spacing: 0.06em;
	color: #111;
}

.organizers-form__field--file {
	display: flex;
	flex-direction: row;
	flex-wrap: wrap;
	align-items: center;
	justify-content: space-between;
	gap: 0.5rem 1rem;
}

.organizers-form__file-label {
	flex: 1 1 12rem;
	min-width: 0;
	font-size: 0.95rem;
	line-height: 1.35;
	color: #111;
}

.organizers-form__file-wrap {
	position: relative;
	flex: 0 1 auto;
	display: flex;
	justify-content: flex-end;
	align-items: center;
	min-height: 2.25rem;
	min-width: min(12rem, 100%);
	cursor: pointer;
}

.organizers-form__file-input {
	position: absolute;
	width: 1px;
	height: 1px;
	padding: 0;
	margin: -1px;
	overflow: hidden;
	clip: rect(0, 0, 0, 0);
	white-space: nowrap;
	border: 0;
}

.organizers-form__file-hint {
	font-size: 0.92rem;
	line-height: 1.3;
	color: var(--color-river);
	text-decoration: underline;
	text-underline-offset: 0.12em;
	cursor: pointer;
	word-break: break-all;
	text-align: right;
	max-width: 100%;
}

.organizers-form__privacy {
	display: flex;
	align-items: flex-start;
	gap: 0.5rem;
	margin: 0;
	font-size: 0.9rem;
	line-height: 1.4;
	color: #111;
	cursor: pointer;
}

.organizers-form__privacy input {
	margin: 0.2rem 0 0;
	flex-shrink: 0;
}

.organizers-form__privacy-text a {
	color: var(--color-river);
	text-decoration: underline;
	text-underline-offset: 0.1em;
}

.organizers-form__submit-wrap {
	margin-top: 0.25rem;
	display: flex;
	justify-content: center;
}

.organizers-form__submit {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	width: 100%;
	padding: 0.85rem 1.5rem;
	border: none;
	border-radius: 999px;
	background: #add8e6;
	color: #111;
	font-family: inherit;
	font-size: 0.88rem;
	font-weight: 700;
	letter-spacing: 0.12em;
	text-transform: uppercase;
	cursor: pointer;
	transition: background 0.15s ease, transform 0.1s ease;
}

.organizers-form__submit:hover {
	background: #9cc9d9;
}

.organizers-form__submit:active {
	transform: scale(0.98);
}

@media (max-width: 960px) {
	.organizers-page {
		grid-template-columns: 1fr;
		min-height: 0;
	}

	.organizers-page__content,
	.organizers-page__visual {
		padding-left: max(1rem, var(--site-edge-gutter, 10px));
		padding-right: max(1rem, var(--site-edge-gutter, 10px));
	}

	.organizers-page__title {
		font-size: clamp(1.35rem, 6.5vw, var(--h1-size));
	}

	.organizers-page__maps-title {
		font-size: clamp(1.35rem, 5vw, 1.75rem);
	}

	.organizers-page__documents,
	.organizers-page__maps-section,
	.organizers-page__text {
		max-width: none;
	}

	.organizers-page__visual {
		min-height: min(42svh, 22rem);
		padding-top: clamp(1.25rem, 4vw, 2rem);
		padding-bottom: clamp(2rem, 6vw, 3rem);
	}

	.organizers-page__visual-inner {
		max-width: none;
		width: 100%;
	}

	.organizers-form {
		width: 100%;
		max-width: none;
	}

	.organizers-form__field--file {
		flex-direction: column;
		align-items: stretch;
	}

	.organizers-form__file-wrap {
		justify-content: flex-start;
		min-width: 0;
		width: 100%;
	}

	.organizers-form__file-hint {
		text-align: left;
	}

	/* Логотипы парков — столбиком на мобилке */
	.organizers-page__maps {
		flex-direction: column;
		flex-wrap: nowrap;
		gap: clamp(1.25rem, 4vw, 2rem);
	}

	.organizers-page__map-link {
		flex: 0 0 auto;
		width: min(16rem, 100%);
		max-width: 280px;
	}
	.organizers-form__file-label {
		flex:0;
	}
}

.information-page {
	display: grid;
	grid-template-columns: 1fr 1fr;
	min-height: 100vh;
	min-height: 100svh;
	min-height: 100dvh;
	background: #ffffff;
}

.information-page__content {
	padding: clamp(1.5rem, 3.2vw, 3rem) clamp(1.25rem, 3vw, 3.5rem);
	box-sizing: border-box;
}

.information-page__title {
	margin: 0;
	font-size: var(--h1-size);
	line-height: 1.12;
	text-transform: uppercase;
	font-weight: 400;
}

.information-page__text {
	max-width: 42rem;
}

.information-page__sections {
	margin-top: 0.6rem;
	max-width: 42rem;
}

.information-page__section {
	margin-bottom: 2rem;
}

.information-page__section-title {
	margin: 0 0 0.55rem;
	font-size: 30px;
	line-height: 1.1;
	font-weight: 700;
}

.information-page__links {
	list-style: none;
	margin: 0;
	padding: 0;
}

.information-page__link-item {
	margin: 0 0 0.4rem;
}

.information-page__link {
	font-size: 20px;
	line-height: 1.25;
	color: #2f2f2f;
	text-decoration: underline;
	text-underline-offset: 0.1em;
}

.information-page__link--plain {
	display: inline;
	text-decoration: none;
	cursor: default;
}

.information-page__visual {
	background-color: #ffffff;
	background-image: var(--information-bg-image, none);
	background-size: cover;
	background-position: center center;
	background-repeat: no-repeat;
}

@media (max-width: 960px) {
	.information-page {
		grid-template-columns: 1fr;
		min-height: 0;
	}

	.information-page__visual {
		min-height: 40svh;
	}
}

.site-main--documents {
	max-width: none;
	width: 100%;
	margin: 0;
	padding: 0;
}

.site-main--parks-geo-map {
	max-width: none;
	width: 100%;
	margin: 0;
	padding: 0;
}

.park-map-page {
	max-width: none;
	width: 100%;
	margin: 0 auto;
	padding: clamp(1.25rem, 3vw, 2.5rem) var(--site-edge-gutter, 45px) clamp(2rem, 4vw, 3rem);
	box-sizing: border-box;
}

.park-map-page__title {
	margin: 0;
	font-size: var(--h1-size);
	line-height: 1.12;
	text-transform: uppercase;
	font-weight: 400;
}

.park-map-page__intro {
	margin-top: 0.75rem;
	margin-bottom: clamp(1rem, 2vw, 1.75rem);
	max-width: 48rem;
}

.park-map-page__notice {
	margin: 0;
	padding: 0.5rem 0 1rem;
	max-width: 48rem;
	color: var(--color-muted);
	font-size: 1rem;
	line-height: 1.45;
}

.park-map-page__scheme {
	margin-top: 0.25rem;
}

.documents-page {
	display: grid;
	grid-template-columns: 1fr 1fr;
	align-items: stretch;
	min-height: 100vh;
	min-height: 100svh;
	min-height: 100dvh;
	background: #fff;
	color: #111;
}

.documents-page__content {
	padding: clamp(1.5rem, 3.2vw, 3rem) clamp(1.25rem, 3vw, 3.5rem);
	box-sizing: border-box;
	min-height: 0;
}

.documents-page__header {
	margin-bottom: 0;
}

.documents-page__title {
	margin: 0;
	font-size: var(--h1-size);
	line-height: 1.12;
	text-transform: uppercase;
	font-weight: 400;
}

.documents-page__text {
	max-width: 48rem;
	margin-top: 0.75rem;
}

.documents-page__list {
	display: grid;
	grid-template-columns: 1fr 1fr;
	column-gap: clamp(2rem, 5vw, 4rem);
	row-gap: 0.25rem;
	margin-top: clamp(1.75rem, 3vw, 2.75rem);
	align-items: start;
}

.documents-page .is-hidden {
	display: none !important;
}

.documents-page__item {
	display: flex;
	align-items: center;
	gap: 1rem;
	width: 100%;
	margin: 0;
	padding: 0.65rem 0;
	box-sizing: border-box;
	min-width: 0;
	color: inherit;
	font: inherit;
	text-align: left;
	text-decoration: none;
	background: transparent;
	border: none;
	border-bottom: 1px solid rgba(17, 17, 17, 0.08);
	cursor: pointer;
	transition: opacity 0.15s ease, background-color 0.15s ease;
}

.documents-page__item:hover {
	opacity: 0.82;
}

.documents-page__item.is-selected:hover {
	opacity: 1;
}

.documents-page__item.is-selected {
	background: rgba(61, 139, 99, 0.12);
	border-bottom-color: rgba(61, 139, 99, 0.35);
	box-shadow: inset 3px 0 0 var(--color-accent, #3d8b63);
	opacity: 1;
}

.documents-page__icon {
	flex: 0 0 auto;
	display: flex;
	align-items: center;
	justify-content: center;
}

.documents-page__icon-svg {
	display: block;
}

.documents-page__body {
	display: flex;
	flex-direction: column;
	justify-content: center;
	gap: 0.2rem;
	min-width: 0;
}

.documents-page__item-title {
	font-size: 17px;
	line-height: 1.25;
	font-weight: 700;
}

.documents-page__item-sub {
	font-size: 15px;
	line-height: 1.3;
	color: rgba(17, 17, 17, 0.72);
}

.documents-page__visual {
	display: flex;
	flex-direction: column;
	justify-content: stretch;
	align-items: stretch;
	box-sizing: border-box;
	padding: clamp(1.5rem, 3.2vw, 3rem) clamp(1.25rem, 3vw, 3.5rem);
	min-height: 0;
	background-color: #ffffff;
	background-image: var(--documents-bg-image, none);
	background-size: cover;
	background-position: center center;
	background-repeat: no-repeat;
}

.documents-page__preview {
	display: flex;
	flex-direction: column;
	flex: 1 1 auto;
	min-height: 0;
	gap: 0;
	max-width: 42rem;
	width: 100%;
	margin: 0 auto;
	padding: clamp(1.25rem, 2.5vw, 2rem);
	box-sizing: border-box;
	background: rgba(255, 255, 255, 0.94);
	border: 1px solid rgba(17, 17, 17, 0.08);
	border-radius: var(--radius, 10px);
	box-shadow: 0 8px 28px rgba(17, 17, 17, 0.06);
}

.documents-page__preview-idle {
	flex: 1 1 auto;
	display: flex;
	align-items: center;
	justify-content: center;
	min-height: min(52vh, 520px);
	padding: 1rem;
	box-sizing: border-box;
}

.documents-page__preview-idle-text {
	margin: 0;
	max-width: 22rem;
	font-size: 1rem;
	line-height: 1.45;
	text-align: center;
	color: rgba(17, 17, 17, 0.65);
}

.documents-page__preview-body {
	display: flex;
	flex-direction: column;
	flex: 1 1 auto;
	min-height: 0;
	gap: 1rem;
	overflow: hidden;
}

.documents-page__preview--empty {
	align-items: center;
	justify-content: center;
	min-height: 12rem;
}

.documents-page__preview-empty-note {
	margin: 0;
	font-size: 1rem;
	color: rgba(17, 17, 17, 0.65);
	text-align: center;
}

.documents-page__preview-embed {
	position: relative;
	flex: 1 1 auto;
	min-height: clamp(14rem, 65vh, 85vh);
	max-height: none;
	border-radius: 8px;
	overflow: hidden;
	background: #ffffff;
	border: 1px solid rgba(17, 17, 17, 0.08);
}

.documents-page__preview-frame,
.documents-page__preview-img {
	position: absolute;
	inset: 0;
	display: block;
	width: 100%;
	height: 100%;
	min-height: 0;
	max-height: none;
	border: 0;
	object-fit: contain;
	background: #fff;
}

.documents-page__preview-placeholder {
	position: absolute;
	inset: 0;
	display: flex;
	flex-direction: column;
	align-items: center;
	justify-content: center;
	gap: 0.75rem;
	min-height: 0;
	padding: 1.5rem 1rem;
	text-align: center;
	box-sizing: border-box;
}

.documents-page__preview-placeholder-ext {
	display: block;
	font-size: 2rem;
	font-weight: 700;
	line-height: 1;
	letter-spacing: 0.04em;
	color: #111;
}

.documents-page__preview-placeholder-note {
	margin: 0;
	font-size: 0.95rem;
	line-height: 1.35;
	color: rgba(17, 17, 17, 0.65);
	max-width: 18rem;
}

.documents-page__preview-meta {
	flex-shrink: 0;
	min-width: 0;
}

.documents-page__preview-title {
	margin: 0;
	font-size: clamp(1.15rem, 2.2vw, 1.35rem);
	line-height: 1.2;
	font-weight: 700;
	text-transform: none;
	letter-spacing: 0;
	color: #111;
}

.documents-page__preview-sub {
	margin: 0.35rem 0 0;
	font-size: 0.95rem;
	line-height: 1.35;
	color: rgba(17, 17, 17, 0.72);
}

.documents-page__download {
	display: inline-flex;
	flex-shrink: 0;
	align-self: flex-start;
	align-items: center;
	justify-content: center;
	padding: 0.75rem 2.25rem;
	border-radius: 999px;
	background: #add8e6;
	color: #111;
	font-size: 0.85rem;
	font-weight: 700;
	letter-spacing: 0.08em;
	text-transform: uppercase;
	text-decoration: none;
	cursor: pointer;
	transition: background 0.15s ease, transform 0.1s ease;
}

.documents-page__download:hover {
	background: #9cc9d9;
	color: #111;
}

.documents-page__download:active {
	transform: scale(0.98);
}

@media (max-width: 960px) {
	.documents-page {
		grid-template-columns: 1fr;
		min-height: 0;
	}

	.documents-page__visual {
		min-height: 40svh;
	}

	.documents-page__list {
		grid-template-columns: 1fr;
	}
}

.park-hero {
	display: grid;
	grid-template-columns: 1fr 1fr;
	align-items: stretch;
	background: #fff;
	color: var(--color-text);
}

/* Полная высота окна (как полноэкранный блок на главной) */
.park-hero--home-split {
	min-height: 100vh;
	min-height: 100svh;
	min-height: 100dvh;
	width: 100%;
	box-sizing: border-box;
}

.park-hero--no-media {
	grid-template-columns: minmax(0, var(--content-max));
	justify-content: center;
	margin: 0 auto;
	min-height: 100vh;
	min-height: 100svh;
	min-height: 100dvh;
}

.park-hero__content {
	display: flex;
	flex-direction: column;
	justify-content: flex-start;
	align-items: flex-start;
	gap: var(--space-md);
	padding: clamp(2rem, 5vw, 4rem) clamp(1.5rem, 4vw, 3.5rem);
	width: 100%;
	box-sizing: border-box;
}

.park-hero__header {
	margin: 0;
	width: 100%;
}

.park-hero__title {
	margin: 0 0 var(--space-xs);
	font-size: var(--h1-size);
	font-weight: 400;
	line-height: 1.12;
}

.park-hero__logo {
	align-self: flex-start;
	text-align: left;
	width: auto;
	max-width: 100%;
	margin: 0 0 var(--space-xs);
}

.park-hero__logo img {
	max-height: clamp(104px, 16vw, 148px);
	width: auto;
	height: auto;
	margin: 0;
	display: block;
}

.park-hero__text {
	margin: 0;
	width: 100%;
	max-width: 40rem;
}

.park-hero__text>*:first-child {
	margin-top: 0;
}

.park-hero__media {
	position: relative;
	min-height: 50svh;
	background: #1a1d1c;
	overflow: hidden;
	align-self: stretch;
}

.park-hero__img {
	display: block;
	position: absolute;
	inset: 0;
	width: 100%;
	height: 100%;
	object-fit: cover;
}

#park-about,
#park-map {
	scroll-margin-top: calc(var(--site-header-offset) + 0.35rem);
}

.park-map-scheme {
	margin: 0;
	padding: 0;
	background: #b3c78e;
	line-height: 0;
}

/* Растровая схема без SVG: отступы только у секции без класса интерактива */
section.park-map-scheme:not(.park-map-interactive) {
	padding: 100px;
	box-sizing: border-box;
}

.park-map-scheme__img {
	display: block;
	width: 100%;
	height: auto;
	vertical-align: middle;
}

/* Интерактивная SVG-схема парка */
.park-map-interactive {
	position: relative;
	margin: 0;
	padding: 100px;
	box-sizing: border-box;
	background: #b3c78e;
	line-height: 0;
}

.park-map-interactive__svg-wrap {
	display: block;
	width: 100%;
	overflow: hidden;
}

.park-map-interactive__svg-wrap svg {
	display: block;
	width: 100%;
	height: auto;
}

/* Мобилка: схемы парка не сжимать — горизонтальный скролл */
@media (max-width: 960px) {
	section.park-map-scheme:not(.park-map-interactive) {
		padding: 1rem 0.75rem 1.5rem;
		overflow-x: auto;
		overflow-y: hidden;
		-webkit-overflow-scrolling: touch;
		overscroll-behavior-x: contain;
	}

	.park-map-interactive {
		padding: 1rem 0.75rem 1.5rem;
		overflow-x: auto;
		overflow-y: hidden;
		-webkit-overflow-scrolling: touch;
		overscroll-behavior-x: contain;
	}

	.park-map-scheme__img {
		width: max-content;
		max-width: none;
		height: auto;
	}

	.park-map-interactive__svg-wrap {
		display: block;
		width: max-content;
		min-width: 100%;
		overflow: visible;
	}

	.park-map-interactive__svg-wrap svg {
		width: auto;
		max-width: none;
		height: auto;
	}

	.documents-page__preview-body {
		overflow-x: auto;
		-webkit-overflow-scrolling: touch;
		overscroll-behavior-x: contain;
	}
}

/*
 * Слой фона: класс park-map-no-hit ИЛИ слой с именем «ФОН» (Figma data-name), без правок SVG.
 */
.park-map-interactive svg g.park-map-no-hit,
.park-map-interactive svg g.park-map-no-hit *,
.park-map-interactive svg [data-name="ФОН"],
.park-map-interactive svg [data-name="ФОН"] *,
.park-map-interactive svg [data-name="fon"],
.park-map-interactive svg [data-name="fon"] *,
.park-map-interactive svg [data-name="Фон"],
.park-map-interactive svg [data-name="Фон"] * {
	pointer-events: none;
	filter: none !important;
}

/*
 * Не вешать filter/brightness на целые <g data-area-key>: в Chrome при сложных заливках,
 * паттернах и полупрозрачности это даёт артефакты «разноцветных колец» и огромные ореолы.
 * Обратная связь — курсор и попап (JS); при необходимости подсветку делайте в самом SVG.
 */
.park-map-interactive [data-area-key]:hover {
	filter: none;
}

/* Попап карты: скругление и анимация — переопределяем глобальный border-radius: 0 */
.park-map-popup {
	position: absolute;
	z-index: 20;
	/* Явная ширина, иначе длинный текст не сжимает колонку и вылезает за max-width */
	width: min(21rem, calc(100vw - 2rem));
	max-width: min(21rem, calc(100vw - 2rem));
	padding: 0;
	overflow: hidden;
	border-radius: 20px !important;
	background: #fff;
	box-shadow: 0 8px 32px rgba(0, 0, 0, 0.18);
	border: 1px solid var(--color-border);
	box-sizing: border-box;
	text-align: left;
	line-height: 1.45;
	isolation: isolate;
	opacity: 0;
	visibility: hidden;
	pointer-events: none;
	transform: translateY(6px) scale(0.98);
	transition:
		opacity 1s ease,
		visibility 1s ease,
		transform 1s ease;
}

.park-map-popup.park-map-popup--open {
	opacity: 1;
	visibility: visible;
	pointer-events: auto;
	transform: translateY(0) scale(1);
}

.park-map-popup__close {
	position: absolute;
	top: 0.5rem;
	right: 0.5rem;
	z-index: 3;
	display: flex;
	align-items: center;
	justify-content: center;
	width: 1.75rem;
	height: 1.75rem;
	padding: 0;
	margin: 0;
	border: 0;
	border-radius: 999px !important;
	background: rgba(255, 255, 255, 0.96);
	box-shadow: 0 1px 6px rgba(0, 0, 0, 0.14);
	font-size: 1.25rem;
	line-height: 1;
	cursor: pointer;
	color: #333;
	transition: background 0.15s ease, color 0.15s ease;
}

.park-map-popup__close:hover,
.park-map-popup__close:focus-visible {
	background: #f0f0f0;
	color: #111;
	outline: none;
}

/* Запас справа под крестик + перенос текста, чтобы абзац не вылезал за скругление */
.park-map-popup__inner {
	min-width: 0;
	max-width: 100%;
	box-sizing: border-box;
	padding: 0.85rem;
}

.park-map-popup__text {
	min-width: 0;
	max-width: 100%;
	overflow-wrap: anywhere;
	word-wrap: break-word;
	word-break: normal;
}

.park-map-popup__thumb {
	display: block;
	width: 100%;
	max-width: 100%;
	height: auto;
	max-height: 10rem;
	object-fit: cover;
	border-radius: 0 !important;
	margin-bottom: 0.5rem;
	box-sizing: border-box;
}

.park-map-popup__title {
	margin: 0 0 0.35rem;
	padding-right: 0;
	max-width: 100%;
	font-size: 1rem;
	font-weight: 700;
	text-transform: uppercase;
	letter-spacing: 0.04em;
	color: #111;
	overflow-wrap: anywhere;
}

.park-map-popup__excerpt.entry-content {
	margin: 0 0 0.5rem;
	padding-right: 0;
	max-width: 100%;
	font-size: 0.875rem;
	color: var(--color-text);
	overflow-wrap: anywhere;
}

.park-map-popup__excerpt.entry-content>*:first-child {
	margin-top: 0;
}

.park-map-popup__excerpt.entry-content>*:last-child {
	margin-bottom: 0;
}

.park-map-popup__excerpt.entry-content p {
	margin: 0 0 0.5em;
}

.park-map-popup__excerpt.entry-content ul,
.park-map-popup__excerpt.entry-content ol {
	margin: 0 0 0.5em 0;
	padding-left: 1.15em;
}

.park-map-popup__excerpt.entry-content li {
	margin: 0.2em 0;
}

.park-map-popup__excerpt.entry-content strong {
	font-weight: 700;
}

.park-map-popup__link {
	display: inline-block;
	max-width: 100%;
	font-size: 0.8rem;
	font-weight: 600;
	text-transform: uppercase;
	letter-spacing: 0.06em;
	color: var(--color-accent-dark);
	text-decoration: none;
	overflow-wrap: anywhere;
}

.park-map-popup__link:hover {
	text-decoration: underline;
}

/* Страница объектов парка: на всю ширину окна (как календарь «События»), без узкой колонки --content-max */
.site-main--park-objects {
	max-width: none;
	width: 100%;
	margin: 0;
	padding: var(--space-xl) clamp(1rem, 4vw, 3rem) clamp(2rem, 5vw, 4rem);
	box-sizing: border-box;
	background-color: #ffffff;
	background-image: none;
	min-height: 40vh;
}

.park-objects-page {
	width: 100%;
	max-width: none;
	margin: 0;
	box-sizing: border-box;
}

.park-objects-page__intro {
	text-align: center;
	margin-bottom: var(--space-lg);
}

.park-objects-page__heading {
	margin: 0;
	font-size: clamp(1.5rem, 3vw, 2rem);
	letter-spacing: 0.08em;
}

.park-objects-page__park-name {
	margin: var(--space-xs) 0 0;
	font-size: 1rem;
	color: var(--color-muted);
}

.park-objects-page__empty {
	text-align: center;
	color: var(--color-muted);
}

.park-objects-page__list {
	display: flex;
	flex-direction: column;
	gap: var(--space-lg);
}

.park-object-row {
	display: grid;
	grid-template-columns: 1fr 2fr;
	align-items: start;
	gap: clamp(1.25rem, 3vw, 2rem);
	background: var(--color-surface);
	border-radius: clamp(12px, 2vw, 20px);
	border: 1px solid var(--color-border);
	box-shadow: 0 4px 24px rgba(26, 47, 36, 0.06);
	padding: clamp(1.25rem, 2.5vw, 2rem);
	box-sizing: border-box;
	/* minmax(0) + без overflow:hidden — текст не обрезается по краю карточки */
	overflow: visible;
}

.park-object-row__media {
	position: relative;
	min-width: 0;
	width: 100%;
	background: #ffffff;
	border-radius: clamp(8px, 1.5vw, 14px);
	overflow: hidden;
}

.park-object-row__placeholder {
	aspect-ratio: 1 / 1;
	min-height: 0;
	background: #ffffff;
	border: 1px solid var(--color-border);
	box-sizing: border-box;
	border-radius: clamp(8px, 1.5vw, 14px);
}

/* Список /parks/{slug}/objects/: колонка медиа не шире 450px, без центрирования (иначе зазор слева в колонке) */
.park-objects-page .park-object-row__media {
	max-width: min(100%, 450px);
	justify-self: start;
}

.park-objects-page .park-object-slider {
	position: relative;
	width: 100%;
	aspect-ratio: 1 / 1;
	max-height: none;
	min-height: 0;
	border-radius: clamp(8px, 1.5vw, 14px);
}

.park-object-slider {
	position: relative;
	width: 100%;
	aspect-ratio: 4 / 3;
	max-height: min(400px, 48vw);
	min-height: 0;
	border-radius: clamp(8px, 1.5vw, 14px);
}

.park-object-slider__viewport {
	position: absolute;
	inset: 0;
	overflow: hidden;
	border-radius: inherit;
}

.park-object-slider__slide {
	position: absolute;
	inset: 0;
	opacity: 0;
	transition: opacity 0.35s ease;
}

.park-object-slider__slide.is-active {
	opacity: 1;
	z-index: 1;
}

.park-object-slider__img {
	width: 100%;
	height: 100%;
	object-fit: cover;
	display: block;
}

.park-object-slider__btn {
	position: absolute;
	bottom: 0.75rem;
	z-index: 2;
	width: 2.5rem;
	height: 2.5rem;
	border: none;
	border-radius: 50%;
	background: #ffffff;
	box-shadow: 0 1px 6px rgba(0, 0, 0, 0.12);
	cursor: pointer;
	color: #111111;
	padding: 0;
	line-height: 1;
	display: flex;
	align-items: center;
	justify-content: center;
	transition: box-shadow 0.2s ease;
}

.park-object-slider__btn:hover {
	box-shadow: 0 2px 10px rgba(0, 0, 0, 0.16);
}

.park-object-slider__btn:focus-visible {
	outline: 2px solid var(--color-accent-dark);
	outline-offset: 2px;
}

.park-object-slider__btn--prev {
	left: 0.75rem;
}

.park-object-slider__btn--next {
	right: 0.75rem;
}

/* Линейные стрелки в круге (макет): горизонталь + шеврон */
.park-object-slider__btn--prev::after,
.park-object-slider__btn--next::after {
	content: "";
	display: block;
	width: 1.125rem;
	height: 1.125rem;
	flex-shrink: 0;
	background-repeat: no-repeat;
	background-position: center;
	background-size: contain;
}

.park-object-slider__btn--prev::after {
	background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none'%3E%3Cpath stroke='%23111111' stroke-width='1.75' stroke-linecap='round' stroke-linejoin='round' d='M19 12H5M12 19L5 12l7-7'/%3E%3C/svg%3E");
}

.park-object-slider__btn--next::after {
	background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none'%3E%3Cpath stroke='%23111111' stroke-width='1.75' stroke-linecap='round' stroke-linejoin='round' d='M5 12h14M12 5L19 12 12 19'/%3E%3C/svg%3E");
}

.park-object-row__body {
	min-width: 0;
	padding: 0;
	display: flex;
	flex-direction: column;
	justify-content: flex-start;
	gap: var(--space-sm);
}

.park-object-row__title {
	margin: 0;
	font-size: clamp(1.05rem, 2vw, 1.3rem);
	letter-spacing: 0.04em;
	text-transform: uppercase;
}

.park-object-row__excerpt {
	margin: 0;
	font-size: 0.98rem;
	line-height: 1.65;
	color: var(--color-text);
	overflow-wrap: anywhere;
	word-wrap: break-word;
}

.park-object-row__excerpt p {
	margin: 0 0 0.75em;
}

.park-object-row__excerpt p:last-child {
	margin-bottom: 0;
}

.park-object-row__excerpt ul,
.park-object-row__excerpt ol {
	margin: 0 0 0.75em;
	padding-left: 1.2em;
}

.park-object-row__excerpt li {
	margin: 0.25em 0;
}

.park-object-row__excerpt strong {
	font-weight: 700;
}

.park-object-row__more {
	margin: var(--space-sm) 0 0;
}

.park-object-row__link {
	font-weight: 600;
	text-decoration: none;
	color: var(--color-accent-dark);
}

.park-object-row__link:hover {
	text-decoration: underline;
}

@media (max-width: 767px) {
	.park-object-row {
		grid-template-columns: 1fr;
		padding: var(--space-md);
	}

	.park-object-row__media {
		max-height: none;
	}

	.park-object-slider {
		max-height: min(360px, 62vw);
	}

	.park-objects-page .park-object-slider {
		max-height: none;
	}
}

@media (max-width: 899px) {
	.park-hero {
		grid-template-columns: 1fr;
	}

	/* Колонка сверху — фото, снизу — текст; блок по-прежнему не короче экрана */
	.park-hero--home-split:not(.park-hero--no-media) {
		grid-template-rows: minmax(45svh, 1fr) auto;
		min-height: 100vh;
		min-height: 100svh;
		min-height: 100dvh;
	}

	.park-hero__media {
		order: -1;
		min-height: 0;
	}

	.park-hero__content {
		padding: var(--space-lg) var(--space-md);
		padding-bottom: clamp(2rem, 6vw, 3rem);
	}

	.park-hero__text {
		max-width: none;
	}
}

.home-hero {
	--home-hero-bg-desktop: url("../images/home-hero.jpg");
	--home-hero-bg-mobile: var(--home-hero-bg-desktop);
	--home-hero-overlay-gradient: linear-gradient(180deg,
			rgba(255, 255, 255, 0.16) 0%,
			rgba(70, 94, 70, 0.870769) 56.73%,
			#254125 100%);
	--park-tease-ease: cubic-bezier(0.33, 1, 0.68, 1);
	--park-tease-duration: 0.55s;
	position: relative;
	min-height: 100svh;
	color: #fff;
	background-color: #1b2024;
	background-image: var(--home-hero-bg-desktop);
	background-size: cover;
	background-position: center;
	background-repeat: no-repeat;
	background-attachment: fixed;
	overflow: hidden;
	isolation: isolate;
}

/* Как в Figma: фото отдельно, поверх — градиент только с multiply (не затемняем само фото) */
.home-hero__overlay {
	position: absolute;
	inset: 0;
	z-index: 0;
	pointer-events: none;
	background: var(--home-hero-overlay-gradient);
	mix-blend-mode: multiply;
}

.home-hero__inner {
	position: relative;
	z-index: 1;
	min-height: 100svh;
	padding: clamp(1.5rem, 5vw, 3.5rem);
	display: flex;
	flex-direction: column;
	justify-content: flex-start;
}

.home-hero__title {
	margin: 0;
	text-align: center;
	font-family: "Dopis", system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
	font-weight: 300;
	font-style: normal;
	font-size: 59.62px;
	line-height: 100%;
	letter-spacing: 0;
	text-transform: uppercase;
}

.home-hero__title-line {
	display: inline;
}

.home-hero__title-ws {
	display: inline;
}

.home-hero__parks {
	--park-col-gap: clamp(1.5rem, 4vw, 3.5rem);
	position: relative;
	width: 100%;
	max-width: min(1120px, 94vw);
	margin-inline: auto;
	margin-top: clamp(3rem, 10vh, 8rem);
	display: flex;
	flex-direction: column;
	align-items: center;
	gap: clamp(1.25rem, 4vh, 2.25rem);
}

@media (min-width: 1024px) {
	.home-hero__parks {
		display: grid;
		grid-template-columns: 1fr 1fr;
		gap: 1.5rem var(--park-col-gap);
		align-items: start;
		justify-items: stretch;
	}
}

.park-teaser {
	position: relative;
	width: 100%;
	min-height: clamp(200px, 32vh, 360px);
	display: flex;
	flex-direction: column;
	align-items: center;
}

.park-teaser__logo-wrap {
	display: flex;
	justify-content: center;
	align-items: center;
	width: 100%;
	min-height: 130px;
}

/* Герой главной: логотипы по центру на всех экранах до двухколоночной сетки (перекрывает flex-start из @media max-width 640 для тизеров вне hero) */
@media (max-width: 1023px) {
	.home-hero .park-teaser__logo-wrap {
		justify-content: center;
		align-items: center;
	}

	/* Мобильный hero: тексты без раскрытия по hover и без transition */
	.home-hero .park-teaser__details,
	.home-hero .park-teaser__description {
		opacity: 1;
		pointer-events: auto;
		transition: none;
	}

	/* Текст напротив логотипа на мобилке не показываем */
	.home-hero .park-teaser__description--opposite {
		display: none;
	}

	.home-hero .park-teaser__logo-link,
	.home-hero .park-teaser__logo-link .park-teaser__logo {
		transition: none;
	}
}

@media (max-width: 640px) {
	.home-hero .park-teaser__logo-wrap {
		min-height: 0;
	}
}

/* Анимация исчезновения логотипа — на ссылке (интерактивный элемент), не на обёртке */
.park-teaser__logo-link {
	display: inline-flex;
	justify-content: center;
	align-items: center;
	line-height: 0;
	text-decoration: none;
	color: #fff;
	border-radius: 2px;
	opacity: 1;
	transition: opacity var(--park-tease-duration) var(--park-tease-ease);
}

.park-teaser__logo-link:focus-visible {
	outline: 2px solid #fff;
	outline-offset: 4px;
}

.park-teaser__logo-link--text {
	padding: 0.25rem 0;
}

/* Чёрные логотипы из макета → белые на фоне */
.park-teaser__logo-link .park-teaser__logo {
	max-width: min(280px, 86%);
	height: auto;
	filter: brightness(0) invert(1);
	transition: opacity 0.4s var(--park-tease-ease);
}

.park-teaser__logo-link:hover .park-teaser__logo {
	opacity: 0.92;
}

.park-teaser__name {
	margin: 0;
	font-family: "Rubik", system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
	font-size: clamp(1.25rem, 2.7vw, 2rem);
	font-weight: 700;
	text-transform: uppercase;
	color: #fff;
}

.park-teaser__details,
.park-teaser__description {
	opacity: 0;
	pointer-events: none;
	transition: opacity var(--park-tease-duration) var(--park-tease-ease);
}

/* Только наведение на ссылку-лого (или на раскрытый текст/ссылки) — не на весь блок */
.park-teaser--left:has(.park-teaser__logo-link:hover,
	.park-teaser__details:hover,
	.park-teaser__description:hover,
	.park-teaser__logo-link:focus-visible,
	.park-teaser__details:focus-within,
	.park-teaser__description:focus-within) .park-teaser__details,
.park-teaser--left:has(.park-teaser__logo-link:hover,
	.park-teaser__details:hover,
	.park-teaser__description:hover,
	.park-teaser__logo-link:focus-visible,
	.park-teaser__details:focus-within,
	.park-teaser__description:focus-within) .park-teaser__description,
.park-teaser--right:has(.park-teaser__logo-link:hover,
	.park-teaser__details:hover,
	.park-teaser__description:hover,
	.park-teaser__logo-link:focus-visible,
	.park-teaser__details:focus-within,
	.park-teaser__description:focus-within) .park-teaser__details,
.park-teaser--right:has(.park-teaser__logo-link:hover,
	.park-teaser__details:hover,
	.park-teaser__description:hover,
	.park-teaser__logo-link:focus-visible,
	.park-teaser__details:focus-within,
	.park-teaser__description:focus-within) .park-teaser__description {
	opacity: 1;
	pointer-events: auto;
}

.park-teaser__details {
	margin-top: 1rem;
	width: 100%;
	max-width: 22rem;
	font-size: 1rem;
	line-height: 1.35;
	text-align: center;
	color: #fff;
}

.park-teaser__hours {
	margin: 0 0 0.2rem;
	font-weight: 700;
}

.park-teaser__address {
	margin: 0 0 0.45rem;
}

.park-teaser__links {
	margin-top: 0.35rem;
}

.park-teaser__links a {
	display: inline-block;
	margin: 0 0.5rem 0.35rem;
	color: #fff;
	text-decoration: underline;
	text-underline-offset: 0.14em;
}

/* «Описание напротив» — только на широком экране в двухколоночной сетке */
@media (min-width: 1024px) {
	.park-teaser__description--opposite {
		position: absolute;
		top: 0;
		z-index: 2;
		width: min(34rem, calc(50vw - var(--park-col-gap) - 2.5rem));
		font-size: 0.95rem;
		line-height: 1.45;
		color: #fff;
		text-align: left;
	}

	.park-teaser--left .park-teaser__description--opposite {
		left: calc(100% + var(--park-col-gap));
		right: auto;
	}

	.park-teaser--right .park-teaser__description--opposite {
		right: calc(100% + var(--park-col-gap));
		left: auto;
	}

	/* Второй логотип гаснет на самой ссылке, когда активен лого/текст первого парка */
	.home-hero__parks:has(.park-teaser--left .park-teaser__logo-link:hover,
		.park-teaser--left .park-teaser__details:hover,
		.park-teaser--left .park-teaser__description:hover,
		.park-teaser--left .park-teaser__logo-link:focus-visible,
		.park-teaser--left .park-teaser__details:focus-within,
		.park-teaser--left .park-teaser__description:focus-within) .park-teaser--right .park-teaser__logo-link,
	.home-hero__parks:has(.park-teaser--right .park-teaser__logo-link:hover,
		.park-teaser--right .park-teaser__details:hover,
		.park-teaser--right .park-teaser__description:hover,
		.park-teaser--right .park-teaser__logo-link:focus-visible,
		.park-teaser--right .park-teaser__details:focus-within,
		.park-teaser--right .park-teaser__description:focus-within) .park-teaser--left .park-teaser__logo-link {
		opacity: 0;
		pointer-events: none;
	}
}

/* Блоки «События» и «Медиатека» на главной: 50/50 как в макете */
.home-events,
.home-media {
	min-height: 100svh;
	background: #fff;
	color: var(--color-text);
}

.home-events__split,
.home-media__split {
	display: grid;
	grid-template-columns: 1fr 1fr;
	min-height: 100svh;
	width: 100%;
	align-items: stretch;
}

.home-events__content,
.home-media__content {
	padding: clamp(2rem, 5vw, 4rem) clamp(1.5rem, 4vw, 3.5rem);
	display: flex;
	flex-direction: column;
	justify-content: space-between;
	box-sizing: border-box;
}

/* Медиатека: заголовок → годы под ним слева → вводный текст (не проталкивать годы к центру колонки через space-between) */
.home-media__content {
	justify-content: flex-start;
	row-gap: 0;
}

.home-events__header,
.home-media__header {
	display: flex;
	flex-wrap: wrap;
	align-items: flex-start;
	gap: 1rem clamp(1.5rem, 3vw, 2.5rem);
	margin-bottom: var(--space-md);
}

.home-events__title,
.home-media__title {
	margin: 0;
	font-family: "Rubik", system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
	font-weight: 300;
	font-size: clamp(2.25rem, 5.5vw, 4.25rem);
	letter-spacing: 0.02em;
	text-transform: uppercase;
	line-height: 1.02;
	color: #111;
}

.home-events__nav,
.home-media__nav {
	display: flex;
	flex-direction: column;
	gap: 0.4rem;
	padding-top: 0.25rem;
}

.home-events__nav-link,
.home-media__nav-link {
	font-family: "Rubik", system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
	font-size: 0.75rem;
	font-weight: 600;
	letter-spacing: 0.08em;
	text-decoration: none;
	text-transform: uppercase;
	color: #111;
	line-height: 1.3;
	display: inline-flex;
	align-items: center;
	gap: 0.35rem;
}

.home-nav-arrow {
	display: inline-block;
	flex-shrink: 0;
	vertical-align: middle;
}

.home-events__nav-link:hover,
.home-media__nav-link:hover {
	color: var(--color-accent-dark);
}

.home-events__intro,
.home-media__intro {
	font-family: var(--font-body);
	font-size: 1rem;
	line-height: 1.65;
	max-width: 36rem;
}

.home-media__intro {
	margin-top: clamp(1.25rem, 3vw, 2.25rem);
}

.home-events__intro>*:first-child,
.home-media__intro>*:first-child {
	margin-top: 0;
}

.home-media-years {
	margin-top: clamp(0.75rem, 1.8vw, 1.35rem);
	display: inline-flex;
	flex-direction: column;
	align-items: flex-start;
	align-self: flex-start;
	gap: 0.65rem;
	user-select: none;
}

.home-media-years__control {
	width: 1.8rem;
	height: 1.8rem;
	border: 0;
	border-radius: 999px;
	background: #f2f2f2;
	color: #6d6d6d;
	font-size: 1rem;
	line-height: 1;
	cursor: pointer;
	display: inline-flex;
	align-items: center;
	justify-content: center;
	transition: background-color 0.2s ease, color 0.2s ease;
}

.home-media-years__control:hover,
.home-media-years__control:focus-visible {
	background: #e4e4e4;
	color: #111;
	outline: none;
}

.home-media-years__list {
	list-style: none;
	margin: 0;
	padding: 0;
	display: flex;
	flex-direction: column;
	align-items: flex-start;
	gap: 0.45rem;
	text-align: left;
}

.home-media-years__year {
	border: 0;
	background: transparent;
	padding: 0;
	margin: 0;
	text-decoration: none;
	font-family: "Rubik", system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
	font-size: clamp(2.85rem, 7vw, 5rem);
	font-weight: 600;
	line-height: 1;
	color: #a7a7a7;
	cursor: pointer;
	transition: color 0.2s ease, transform 0.2s ease;
	text-align: left;
	display: inline-block;
}

.home-media-years__year:hover,
.home-media-years__year:focus-visible {
	color: #444;
	text-decoration: underline;
	text-underline-offset: 0.08em;
	text-decoration-thickness: max(2px, 0.06em);
	outline: none;
}

.home-media-years__year.is-active {
	color: #111;
	transform: scale(1.02);
}

.home-events__visual,
.home-media__visual {
	position: relative;
	min-height: 50svh;
	background: #1a1d1c;
	overflow: hidden;
}

.home-events__img,
.home-media__img {
	width: 100%;
	height: 100%;
	min-height: 100%;
	object-fit: cover;
	display: block;
}

@media (max-width: 900px) {

	/* --- События: как в макете — фото на весь блок; шапка белая на фото; плашка только у вводного текста внизу --- */
	.home-events {
		background: #1a1d1c;
		min-height: auto;
	}

	.home-events__split {
		grid-template-columns: 1fr;
		grid-template-rows: auto;
		min-height: auto;
		position: relative;
	}

	.home-events__visual {
		grid-column: 1;
		grid-row: 1;
		order: unset;
		position: absolute;
		inset: 0;
		z-index: 0;
		width: 100%;
		min-height: 100%;
		pointer-events: none;
	}

	.home-events__visual .home-events__img {
		position: absolute;
		inset: 0;
		width: 100%;
		height: 100%;
		min-height: 0;
		object-fit: cover;
	}

	.home-events__content {
		grid-column: 1;
		grid-row: 1;
		position: relative;
		z-index: 2;
		align-self: stretch;
		justify-self: stretch;
		width: 100%;
		max-width: none;
		margin: 0;
		padding: clamp(1.75rem, 5.5vw, 2.75rem) clamp(1.15rem, 4.5vw, 1.75rem) 90px;
		box-sizing: border-box;
		background: transparent;
		box-shadow: none;
		border-radius: 0;
		display: flex;
		flex-direction: column;
		justify-content: flex-start;
		min-height: auto;
	}

	/* Макет: заголовок по центру (Rubik 300), под ним ссылки (Dopis 300) */
	.home-events__header {
		flex-direction: column;
		flex-wrap: nowrap;
		align-items: center;
		gap: clamp(0.65rem, 2.2vw, 1rem);
		margin-bottom: 0;
		width: 100%;
		text-align: center;
	}

	.home-events__title {
		width: 100%;
		color: #ffffff;
		font-family: "Rubik", system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
		font-weight: 300;
		font-size: 49.69px;
		line-height: 100%;
		letter-spacing: 0;
		text-align: center;
		text-shadow: 0 1px 18px rgba(0, 0, 0, 0.45);
	}

	.home-events__nav {
		flex-direction: column;
		align-items: center;
		align-self: stretch;
		gap: 1.42rem;
		padding-top: 0;
	}

	.home-events__nav-link {
		justify-content: center;
		color: #ffffff;
		font-family: "Dopis", system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
		font-weight: 300;
		font-size: 15px;
		line-height: 100%;
		letter-spacing: 0;
		text-shadow: 0 1px 12px rgba(0, 0, 0, 0.4);
	}

	.home-events__nav-link:hover {
		color: rgba(255, 255, 255, 0.88);
		text-decoration: none;
	}

	.home-events__intro {
		margin-top: 60px;
		width: 100%;
		max-width: none;
		box-sizing: border-box;
		background: #ffffff;
		color: var(--color-text);
		border-radius: clamp(14px, 4vw, 22px);
		padding: clamp(1.2rem, 4vw, 1.75rem);
		box-shadow: 0 8px 32px rgba(0, 0, 0, 0.2);
		font-family: "Dopis", system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
		font-weight: 400;
		font-size: 13.46px;
		line-height: 100%;
		letter-spacing: 0;
	}

	.home-events__intro p,
	.home-events__intro li {
		font-family: inherit;
		font-weight: inherit;
		font-size: inherit;
		line-height: inherit;
		letter-spacing: inherit;
	}

	/* --- Медиатека (мобайл): как макет — фото на весь блок; слева колонка: тонкий заголовок → тонкие ссылки → отступ → крупные годы --- */
	.home-media {
		background: #1a1d1c;
		min-height: auto;
	}

	.home-media__split {
		grid-template-columns: 1fr;
		grid-template-rows: 1fr;
		min-height: min(100svh, 920px);
		position: relative;
	}

	.home-media__visual {
		grid-column: 1;
		grid-row: 1;
		order: unset;
		align-self: stretch;
		min-height: min(100svh, 920px);
		width: 100%;
		position: relative;
	}

	.home-media__visual .home-media__img {
		position: absolute;
		inset: 0;
		width: 100%;
		height: 100%;
		min-height: 0;
		object-fit: cover;
	}

	.home-media__content {
		grid-column: 1;
		grid-row: 1;
		z-index: 2;
		align-self: stretch;
		justify-content: flex-start;
		row-gap: 0;
		min-height: min(100svh, 920px);
		box-sizing: border-box;
		padding: clamp(1.75rem, 5.5vw, 2.75rem) clamp(1.15rem, 4.5vw, 1.75rem) clamp(1.25rem, 5vw, 2rem);
		background: linear-gradient(180deg,
				rgba(0, 0, 0, 0.38) 0%,
				rgba(0, 0, 0, 0.12) 42%,
				rgba(0, 0, 0, 0.48) 100%);
		color: #ffffff;
	}

	.home-media__header {
		flex-direction: column;
		flex-wrap: nowrap;
		align-items: center;
		gap: clamp(0.65rem, 2.2vw, 1rem);
		margin-bottom: 0;
		width: 100%;
		text-align: center;
	}

	.home-media__title {
		width: 100%;
		color: #ffffff;
		font-family: "Rubik", system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
		font-weight: 300;
		font-size: 49.69px;
		line-height: 100%;
		letter-spacing: 0;
		text-align: center;
		text-shadow: 0 1px 18px rgba(0, 0, 0, 0.45);
	}

	.home-media__nav {
		flex-direction: column;
		align-items: center;
		align-self: stretch;
		gap: 1.42rem;
		padding-top: 0;
	}

	.home-media__nav-link {
		justify-content: center;
		color: #ffffff;
		font-family: "Dopis", system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
		font-weight: 300;
		font-size: 15px;
		line-height: 100%;
		letter-spacing: 0;
		text-shadow: 0 1px 12px rgba(0, 0, 0, 0.4);
	}

	.home-media__nav-link:hover {
		color: rgba(255, 255, 255, 0.88);
		text-decoration: none;
	}

	/* Только блок на главной (#media), не шаблон архива медиатеки */
	.home-media .home-media-years {
		margin-top: clamp(2rem, 11vw, 5.25rem);
		align-self: stretch;
		align-items: center;
	}

	.home-media .home-media-years__list {
		gap: 0.2rem;
		align-items: center;
		width: 100%;
	}

	.home-media .home-media-years__list li {
		width: 100%;
		text-align: center;
	}

	.home-media .home-media-years__year {
		font-family: "Dopis", system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
		font-weight: 400;
		font-size: 39.75px;
		line-height: 100%;
		letter-spacing: 0;
		text-align: center;
		width: 100%;
		color: rgba(255, 255, 255, 0.42);
		text-shadow: 0 1px 14px rgba(0, 0, 0, 0.35);
	}

	.home-media .home-media-years__year:hover,
	.home-media .home-media-years__year:focus-visible {
		color: rgba(255, 255, 255, 0.85);
		text-decoration: none;
	}

	.home-media .home-media-years__year.is-active {
		color: #ffffff;
		font-weight: 400;
		transform: none;
		opacity: 1;
	}

	.home-media .home-media-years__control {
		background: transparent;
		color: #ffffff;
		border: 1px solid rgba(255, 255, 255, 0.65);
		box-shadow: none;
	}

	.home-media .home-media-years__control:hover,
	.home-media .home-media-years__control:focus-visible {
		background: rgba(255, 255, 255, 0.12);
		color: #ffffff;
	}

	.home-media .home-media__intro {
		margin-top: clamp(1.25rem, 4vw, 2rem);
		font-family: "Dopis", system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
		font-weight: 400;
		font-size: 13.46px;
		line-height: 100%;
		letter-spacing: 0;
	}

	.home-media .home-media__intro,
	.home-media .home-media__intro p,
	.home-media .home-media__intro li {
		color: rgba(255, 255, 255, 0.92);
	}

	.home-media .home-media__intro p,
	.home-media .home-media__intro li {
		font-family: inherit;
		font-weight: inherit;
		font-size: inherit;
		line-height: inherit;
		letter-spacing: inherit;
	}

	/* Страница шаблона «Медиатека»: как раньше, без огромных цифр */
	.home-media-years--hub .home-media-years__year {
		font-size: clamp(1.7rem, 7vw, 2.4rem);
	}
}

.home-screen {
	min-height: 100svh;
	display: flex;
	align-items: center;
}

.home-screen__inner {
	width: 100%;
	max-width: 90rem;
	margin: 0 auto;
	padding: clamp(1rem, 4vw, 3rem);
}

.home-screen__title {
	margin: 0 0 0.6rem;
	font-family: "Rubik", system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
	font-size: clamp(2rem, 4vw, 3.5rem);
	font-weight: 700;
	text-transform: uppercase;
	color: #111;
}

.home-screen__subtitle {
	margin: 0;
	font-size: clamp(1rem, 1.6vw, 1.35rem);
}

.home-screen--media {
	background: #ffffff;
}

.error404-hero {
	--error404-bg-desktop: url("../images/404-bg.jpg");
	--error404-bg-mobile: var(--error404-bg-desktop);
	position: relative;
	height: 100svh;
	min-height: 100svh;
	display: flex;
	align-items: stretch;
	justify-content: stretch;
	text-align: center;
	color: #fff;
	background-color: #1d1f20;
	background-image: var(--error404-bg-desktop);
	background-size: cover;
	background-position: center;
	background-repeat: no-repeat;
	overflow: hidden;
}

.error404-hero__overlay {
	position: absolute;
	inset: 0;
	background: rgba(0, 0, 0, 0.7);
}

.error404-hero__content {
	position: relative;
	z-index: 1;
	width: min(100%, 1600px);
	height: 100%;
	margin: 0 auto;
	padding: 0;
}

.error404-hero__lead {
	position: absolute;
	top: 176.72px;
	left: 50%;
	transform: translateX(-50%);
	width: min(607.51px, 92vw);
	margin: 0;
	font-family: "Dopis", system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
	font-size: 40px;
	font-weight: 700;
	line-height: 50px;
	letter-spacing: 0.03em;
}

.error404-hero__code {
	position: absolute;
	top: 50%;
	left: 50%;
	transform: translate(-50%, -50%);
	width: min(666.75px, 94vw);
	margin: 0;
	font-family: "Dopis", system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
	font-size: 106.667px;
	font-weight: 700;
	line-height: 133px;
	letter-spacing: 0.03em;
}

.error404-hero__home {
	position: absolute;
	top: 620.37px;
	left: 50%;
	transform: translateX(-50%);
	display: inline-block;
	width: min(247.73px, 70vw);
	padding: 0;
	font-family: "Dopis", system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
	font-size: 33.3333px;
	font-weight: 700;
	line-height: 42px;
	letter-spacing: 0.03em;
	color: #fff;
	text-decoration: underline;
	text-decoration-thickness: 1px;
	text-underline-offset: 0.14em;
}

.error404-hero__home:hover {
	color: #fff;
	opacity: 0.88;
}

/* На 404 отключаем админ-бар, чтобы не ломал полноэкранную высоту. */
body.error404-page-only #wpadminbar {
	display: none !important;
}

html.wp-toolbar:has(body.error404-page-only) {
	padding-top: 0 !important;
	margin-top: 0 !important;
}

.content-layout {
	display: grid;
	gap: var(--space-lg);
}

@media (min-width: 900px) {
	.content-layout:not(.content-layout--single) {
		grid-template-columns: 1fr 280px;
		align-items: start;
	}
}

.page-header {
	margin-bottom: var(--space-lg);
}

.page-title {
	margin: 0;
	font-size: var(--h1-size);
	font-weight: 400;
	letter-spacing: -0.02em;
}

.archive-description {
	margin-top: var(--space-sm);
	color: var(--color-muted);
}

.entry--card {
	background: var(--color-surface);
	border: 1px solid var(--color-border);
	border-radius: var(--radius);
	padding: var(--space-md);
	margin-bottom: var(--space-md);
}

/* Архив /parks/: на всю ширину окна; логотипы по центру экрана (горизонталь + вертикаль) */
.site-main--archive-parks {
	display: flex;
	flex-direction: column;
	min-height: 50vh;
	max-width: none;
	width: 100%;
	margin: 0;
	padding: var(--space-lg) clamp(1rem, 4vw, 3rem);
	box-sizing: border-box;
}

.site-main--archive-parks .content-layout {
	flex: 1 1 auto;
	display: flex;
	flex-direction: column;
	justify-content: center;
	width: 100%;
	min-height: 0;
}

.site-main--archive-parks .parks-archive {
	display: flex;
	flex-direction: column;
	align-items: center;
	justify-content: center;
	gap: var(--space-lg);
	width: 100%;
	max-width: none;
	margin-inline: 0;
}

.site-main--archive-parks .parks-archive__logos {
	display: flex;
	flex-wrap: nowrap;
	justify-content: center;
	align-items: center;
	align-self: stretch;
	gap: clamp(1rem, 5vw, 3rem);
	width: 100%;
	max-width: none;
	box-sizing: border-box;
}

.site-main--archive-parks .entry--park-archive {
	flex: 0 1 auto;
	min-width: 0;
	max-width: 320px;
}

.site-main--archive-parks .parks-archive .pagination {
	align-self: center;
	width: 100%;
	justify-content: center;
}

.entry--park-archive {
	margin: 0;
	padding: 0;
	background: transparent;
	border: none;
	box-shadow: none;
}

.entry--park-archive .park-archive-card__link {
	display: flex;
	justify-content: center;
	align-items: center;
	text-decoration: none;
	color: inherit;
	transition: opacity 0.2s ease;
}

.entry--park-archive .park-archive-card__link:hover {
	opacity: 0.85;
}

.entry--park-archive .park-archive-card__logo {
	display: block;
	width: auto;
	max-width: 100%;
	height: auto;
}

.entry--park-archive .park-archive-card__fallback {
	display: block;
	max-width: 100%;
	padding: 1rem 1.25rem;
	font-weight: 600;
	text-align: center;
	border: 1px solid var(--color-border);
	border-radius: var(--radius);
	background: var(--color-surface);
}

.entry__thumb {
	display: block;
	margin: calc(var(--space-md) * -1) calc(var(--space-md) * -1) var(--space-sm);
	border-radius: var(--radius) var(--radius) 0 0;
	overflow: hidden;
}

.entry-title {
	margin: 0 0 var(--space-xs);
}

/* Карточки и список — h2, не перетираем размер h1 в записях */
.entry--card .entry-title,
.entry--search .entry-title,
h2.entry-title,
h3.entry-title {
	font-size: 1.35rem;
	font-weight: 600;
}

.site-main--search {
	max-width: none;
	width: 100%;
	margin: 0;
	padding: var(--space-lg) var(--site-edge-gutter);
	box-sizing: border-box;
}

/* Поиск: форсируем единый стиль даже если на сервере остался старый шаблон с sidebar */
.site-main--search .content-layout {
	display: block;
}

.site-main--search .content-layout__aside,
.site-main--search aside.content-layout__aside,
.site-main--search .widget-area {
	display: none !important;
}

.site-main--search .content-layout__primary {
	width: 100%;
	max-width: none;
}

.search-page__header {
	padding-bottom: var(--space-sm);
	border-bottom: 1px solid var(--color-border);
}

.search-page__lead {
	margin: 0.5rem 0 0;
	color: var(--color-muted);
}

.search-page__form-wrap {
	margin-top: var(--space-md);
	max-width: 36rem;
}

.site-main--search .search-form {
	display: flex;
	gap: 0.6rem;
}

.site-main--search .search-form label {
	flex: 1 1 auto;
}

.site-main--search .search-field {
	width: 100%;
	min-height: 2.7rem;
	padding: 0.6rem 0.85rem;
	border: 1px solid var(--color-border);
	background: #fff;
	color: var(--color-text);
}

.site-main--search .search-submit {
	min-height: 2.7rem;
	padding: 0.6rem 1rem;
	border: 1px solid var(--color-border);
	background: #fff;
	color: var(--color-text);
	cursor: pointer;
}

.site-main--search .search-submit:hover {
	border-color: var(--color-accent);
	color: var(--color-accent);
}

.search-page__count {
	margin: 0 0 var(--space-md);
	font-size: 0.95rem;
	color: var(--color-muted);
}

.site-main--search .entry--search {
	padding: var(--space-md);
	margin-bottom: var(--space-md);
	border: 1px solid var(--color-border);
	background: #fff;
}

.site-main--search .entry--search .entry-title {
	font-size: 1.55rem;
	font-weight: 500;
	margin-bottom: 0.35rem;
}

.site-main--search .entry--search .entry-meta {
	font-size: 0.82rem;
	text-transform: uppercase;
	letter-spacing: 0.04em;
	color: var(--color-muted);
}

.site-main--search .no-results {
	padding: var(--space-md);
	border: 1px solid var(--color-border);
	background: #fff;
}

.entry-title a {
	color: inherit;
	text-decoration: none;
}

.entry-title a:hover {
	color: var(--color-accent);
}

.entry-meta {
	font-size: 0.9rem;
	color: var(--color-muted);
	margin-bottom: var(--space-sm);
}

.entry-address {
	margin: 0;
	font-size: 0.95rem;
	color: var(--color-muted);
}

.entry--single .entry-title {
	font-size: var(--h1-size);
	font-weight: 400;
	line-height: 1.12;
}

.entry-featured {
	margin: 0 0 var(--space-md);
	border-radius: var(--radius);
	overflow: hidden;
}

.entry-embed {
	margin: 0 0 var(--space-md);
	border-radius: var(--radius);
	overflow: hidden;
	max-width: 100%;
}

.entry-embed iframe,
.entry-embed object,
.entry-embed embed {
	width: 100%;
	max-width: 100%;
}

.levoberg-video-embed {
	position: relative;
	width: 100%;
	aspect-ratio: 16 / 9;
	background: #0a120e;
	border-radius: inherit;
	overflow: hidden;
}

.levoberg-video-embed iframe {
	position: absolute;
	inset: 0;
	width: 100%;
	height: 100%;
	border: 0;
}

.levoberg-video-embed--oembed > iframe,
.levoberg-video-embed--oembed > .wp-block-embed__wrapper iframe {
	position: absolute;
	inset: 0;
	width: 100%;
	height: 100%;
}

.levoberg-video-embed--oembed > .wp-block-embed__wrapper {
	position: absolute;
	inset: 0;
	width: 100%;
	height: 100%;
}

.entry-audio audio {
	width: 100%;
	display: block;
}

.entry-podcast-link,
.entry-embed-fallback {
	margin: 0 0 var(--space-md);
}

.levoberg-video-player {
	margin: 0 0 var(--space-md);
	width: 100%;
	max-width: 100%;
	background: #0a120e;
	border-radius: var(--radius);
	overflow: hidden;
}

.levoberg-video-player__el {
	display: block;
	width: 100%;
	height: auto;
	max-height: min(80vh, 720px);
	background: #000;
}

.levoberg-video-player__note {
	margin: 0.75rem 0 0;
	padding: 0.75rem 1rem;
	background: #fff6e8;
	border: 1px solid #e8c48a;
	color: #5c3d0a;
	font-size: 0.95rem;
	line-height: 1.45;
}

.levoberg-video-player__actions {
	margin: 0.75rem 0 0;
}

.levoberg-video-player__download {
	display: inline-block;
	padding: 0.55rem 1.1rem;
	background: var(--color-accent, #3d8b63);
	color: #fff !important;
	text-decoration: none !important;
	font-weight: 600;
	border-radius: 2px;
}

.levoberg-video-player__download:hover {
	background: var(--color-accent-dark, #2f6d4d);
}

.park-meta {
	background: #ffffff;
	border: 1px solid var(--color-border);
	border-radius: var(--radius);
	padding: var(--space-md);
	margin-bottom: var(--space-lg);
}

.park-meta__row {
	margin: 0 0 var(--space-sm);
}

.park-meta__row:last-child {
	margin-bottom: 0;
}

.park-meta__map {
	font-weight: 600;
}

.entry-content>*:first-child {
	margin-top: 0;
}

/* Текст из «Цитаты», если основной контент пуст (медиатека фото/видео) */
.entry-summary--media-fallback {
	max-width: 48rem;
	margin-bottom: var(--space-md);
	font-size: 1.05rem;
	line-height: 1.65;
	color: var(--color-text);
}

.entry-featured--media-photo-main {
	margin-top: 0;
	margin-bottom: var(--space-lg);
}

.entry-featured--media-photo-main img {
	display: block;
	width: 100%;
	height: auto;
}

.park-gallery__title {
	font-size: 1.25rem;
	margin-bottom: var(--space-sm);
}

.park-gallery__grid {
	display: grid;
	grid-template-columns: repeat(auto-fill, minmax(200px, 1fr));
	gap: var(--space-sm);
	align-items: stretch;
}

.park-gallery__item {
	margin: 0;
	border-radius: var(--radius);
	overflow: hidden;
	background: #e8ece9;
	/* Единые превью; оригинал — в лайтбоксе */
	aspect-ratio: 4 / 3;
	position: relative;
}

.park-gallery__item .levoberg-gallery__link,
.park-gallery__item > a {
	display: block;
	position: absolute;
	inset: 0;
	width: 100%;
	height: 100%;
	line-height: 0;
}

.park-gallery__item .levoberg-gallery__link img,
.park-gallery__item > a img,
.park-gallery__item img {
	display: block;
	width: 100%;
	height: 100%;
	max-width: none;
	object-fit: cover;
	object-position: center;
}

.park-page__logo {
	margin: 0 0 var(--space-md);
}

.park-page__logo img {
	max-height: 120px;
	width: auto;
}

.park-objects-list {
	margin-top: var(--space-lg);
}

.park-objects-list__title {
	margin: 0 0 var(--space-sm);
	font-size: 1.35rem;
}

.park-objects-list__grid {
	display: grid;
	grid-template-columns: repeat(auto-fill, minmax(230px, 1fr));
	gap: var(--space-sm);
}

.park-object-card {
	background: var(--color-surface);
	border: 1px solid var(--color-border);
	border-radius: var(--radius);
	overflow: hidden;
}

.park-object-card__link {
	display: block;
	text-decoration: none;
	color: var(--color-text);
}

.park-object-card__link img {
	width: 100%;
	height: 180px;
	object-fit: cover;
	display: block;
}

.park-object-card__title {
	margin: 0;
	padding: 0.65rem 0.75rem 0.3rem;
	font-size: 1rem;
}

.park-object-card__park {
	margin: 0;
	padding: 0 0.75rem 0.75rem;
	font-size: 0.9rem;
	color: var(--color-muted);
}

.pagination {
	display: flex;
	justify-content: center;
	gap: var(--space-sm);
	margin-top: var(--space-lg);
}

.pagination a,
.pagination span {
	padding: 0.35rem 0.75rem;
	border-radius: 6px;
	border: 1px solid var(--color-border);
	background: var(--color-surface);
	text-decoration: none;
	color: var(--color-text);
}

.pagination .current {
	border-color: var(--color-accent);
	background: var(--color-accent);
	color: #fff;
}

.widget-area .widget {
	background: var(--color-surface);
	border: 1px solid var(--color-border);
	border-radius: var(--radius);
	padding: var(--space-md);
	margin-bottom: var(--space-md);
}

.widget-title {
	margin: 0 0 var(--space-sm);
	font-size: 1rem;
}

.site-footer {
	--footer-bg: #2a2e2c;
	--footer-line: rgba(255, 255, 255, 0.14);
	--footer-muted: #c8cec9;
	--footer-contacts-max-width: 380px;
	width: 100%;
	max-width: 100%;
	box-sizing: border-box;
	background: var(--footer-bg);
	color: #f2f4f3;
	margin-top: 0;
	font-size: 14px;
	line-height: 1.55;
}

.site-footer a {
	color: #fff;
	text-decoration: underline;
	text-underline-offset: 0.15em;
}

.site-footer a:hover {
	color: #c8e6d4;
}

.site-footer__shell {
	width: 100%;
	max-width: none;
	margin: 0;
	padding: var(--space-xl) var(--site-edge-gutter) var(--space-lg);
	box-sizing: border-box;
}

.footer-nav--top .menu {
	display: flex;
	flex-wrap: wrap;
	justify-content: center;
	gap: var(--space-sm) var(--space-md);
	list-style: none;
	margin: 0 0 var(--space-lg);
	padding: 0 0 var(--space-md);
	border-bottom: 1px solid var(--footer-line);
}

.footer-nav--top a {
	font-family: "Dopis", system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
	font-weight: 300;
	font-style: normal;
	font-size: 13.33px;
	line-height: 100%;
	letter-spacing: 0;
	leading-trim: none;
	color: #fff;
	text-decoration: none;
}

.footer-nav--top a:hover {
	text-decoration: underline;
}

.footer-nav--top .menu .menu-item.current-menu-item>a,
.footer-nav--top .menu .menu-item.current-menu-ancestor>a {
	color: #266c8e;
	text-decoration: underline;
	text-underline-offset: 0.12em;
	text-decoration-color: #266c8e;
	text-decoration-thickness: max(1px, 0.06em);
}

.footer-nav--top .menu .menu-item.current-menu-item>a:hover,
.footer-nav--top .menu .menu-item.current-menu-ancestor>a:hover {
	color: #266c8e;
	text-decoration: underline;
}

.site-footer__layout {
	display: flex;
	flex-wrap: wrap;
	align-items: flex-start;
	gap: var(--space-lg) var(--space-xl);
}

.site-footer__layout--no-side .site-footer__main {
	width: 100%;
}

.site-footer__main {
	flex: 1 1 0;
	min-width: 0;
	display: flex;
	flex-direction: column;
	gap: 20px;
}

.site-footer__top {
	display: grid;
	grid-template-columns: minmax(260px, var(--footer-contacts-max-width)) 2.75rem minmax(20rem, 1fr);
	align-items: start;
	column-gap: 24px;
	row-gap: 10px;
	padding-bottom: 20px;
	border-bottom: 1px solid var(--footer-line);
}

.site-footer__contacts {
	max-width: var(--footer-contacts-max-width);
	min-width: 0;
}

.site-footer__social-col {
	width: 2.75rem;
	padding-top: 2.1rem;
}

.site-footer__directions {
	min-width: 0;
}

.site-footer__top--no-social .site-footer__directions {
	grid-column: 2 / 4;
}

.site-footer__heading {
	margin: 0 0 var(--space-sm);
	font-family: "Rubik", system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
	font-size: 26.67px;
	font-weight: 300;
	font-style: normal;
	color: #fff;
	line-height: 1.02;
	letter-spacing: 0;
}

.site-footer__heading--caps {
	text-transform: none;
	letter-spacing: 0;
	font-size: 26.67px;
}

.site-footer__subheading {
	margin: 0 0 var(--space-sm);
	font-family: "Rubik", system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
	font-size: 26.67px;
	font-weight: 300;
	font-style: normal;
	color: #fff;
	line-height: 1.02;
	letter-spacing: 0;
}

.site-footer__address {
	margin: 0 0 var(--space-sm);
	color: var(--footer-muted);
}

.site-footer__phones {
	margin: 0 0 var(--space-sm);
	color: var(--footer-muted);
}

.site-footer__phones p {
	margin: 0 0 0.35rem;
}

.site-footer__contacts .site-footer__email {
	margin: 2px 0 0;
	font-weight: 400;
	font-size: 0.9rem;
	color: var(--footer-muted);
	line-height: 1.35;
}

.site-footer__contacts .site-footer__email a {
	color: var(--footer-muted);
	text-decoration-thickness: 1px;
}

.site-footer__contacts .site-footer__email a:hover {
	color: #fff;
}

.site-footer__directions-text {
	color: var(--footer-muted);
}

.site-footer__directions-text p {
	margin: 0 0 var(--space-sm);
}

.site-footer__hours-block {
	padding-bottom: 20px;
	border-bottom: 1px solid var(--footer-line);
}

.site-footer__admin-hours {
	color: var(--footer-muted);
	margin-bottom: var(--space-sm);
}

.site-footer__admin-hours p {
	margin: 0 0 0.35rem;
}

.site-footer__park-hours {
	margin: 0;
	font-weight: 400;
	color: var(--footer-muted);
	line-height: 1.35;
}

.site-footer__social {
	list-style: none;
	margin: 0;
	padding: 0;
	display: flex;
	flex-direction: column;
	gap: 0.65rem;
	align-items: center;
}

.site-footer__social-link {
	display: flex;
	align-items: center;
	justify-content: center;
	width: 2.75rem;
	height: 2.75rem;
	border-radius: 0;
	-webkit-border-radius: 0;
	overflow: hidden;
	text-decoration: none;
	line-height: 0;
	background: transparent;
	transition: transform 0.15s ease, box-shadow 0.15s ease;
}

.site-footer__social-img {
	display: block;
	width: 100%;
	height: 100%;
	object-fit: cover;
	border-radius: 0;
	-webkit-border-radius: 0;
}

.site-footer__social-link:hover {
	transform: scale(1.05);
	box-shadow: 0 4px 12px rgba(0, 0, 0, 0.25);
}

.site-footer__bottom {
	display: flex;
	flex-wrap: wrap;
	align-items: center;
	justify-content: flex-start;
	gap: 12px;
}

.site-footer__logo-img {
	display: block;
	max-height: 60px;
	width: auto;
}

.site-footer__logo:first-child .site-footer__logo-img {
	max-height: 66px;
}

.site-footer__copyright {
	margin: 0;
	flex-basis: 100%;
	min-width: 0;
	color: var(--footer-muted);
	font-size: 13px;
	font-weight: 400;
	line-height: 1.05;
	white-space: pre-line;
}

.site-footer__side-banner {
	flex: 0 1 16rem;
	max-width: min(100%, 16rem);
	align-self: flex-start;
}

.site-footer__side-banner--embed {
	flex: 0 1 18.3125rem;
	max-width: min(100%, 18.3125rem);
	min-width: min(100%, 293px);
}

.site-footer__side-banner-embed {
	width: 100%;
	line-height: 0;
}

.site-footer__side-banner-embed #js-show-iframe-wrapper {
	max-width: 100%;
}

.site-footer__side-banner-link {
	display: block;
	line-height: 0;
	text-decoration: none;
	border-radius: var(--radius);
	overflow: hidden;
	box-shadow: 0 6px 20px rgba(0, 0, 0, 0.2);
	transition: opacity 0.15s ease, transform 0.15s ease;
}

.site-footer__side-banner-link:hover {
	text-decoration: none;
	opacity: 0.92;
	transform: translateY(-1px);
}

.site-footer__side-banner-img {
	display: block;
	width: 100%;
	height: auto;
}

@media (max-width: 960px) {
	.home-hero {
		background-attachment: scroll;
		background-image: var(--home-hero-bg-mobile);
	}

	/* Главная (мобилка): как в макете — заголовок построчно, логотипы столбиком по центру внизу */
	body.front-page .home-hero__inner {
		justify-content: space-between;
		padding-top: 0.35rem;
		padding-bottom: calc(1.25rem + env(safe-area-inset-bottom, 0px));
		min-height: 100svh;
	}

	body.front-page .home-hero__title {
		font-family: "Dopis", system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
		font-weight: 300;
		font-size: min(59.62px, 14vw);
		line-height: 100%;
		letter-spacing: 0;
		text-shadow: 0 2px 20px rgba(0, 0, 0, 0.4);
		margin-top: clamp(1.75rem, 11vw, 3.75rem);
	}

	body.front-page .home-hero__title-line {
		display: block;
	}

	body.front-page .home-hero__title-ws {
		display: none;
	}

	body.front-page .home-hero__parks {
		display: flex;
		flex-direction: column;
		align-items: center;
		gap: clamp(1.75rem, 7vh, 3rem);
		margin-top: auto;
		margin-bottom: clamp(0.75rem, 5vh, 2.25rem);
		max-width: none;
		width: 100%;
	}

	body.front-page .park-teaser {
		min-height: 0;
		width: 100%;
		max-width: min(22rem, 100%);
	}

	:root {
		--site-edge-gutter: 10px;
	}

	.site-footer__directions {
		display: none;
	}

	.site-footer__layout {
		flex-direction: column;
	}

	.site-footer__top {
		grid-template-columns: 1fr;
		row-gap: 12px;
		column-gap: 0;
	}

	.site-footer__top--no-social .site-footer__directions {
		grid-column: auto;
	}

	.site-footer__social-col {
		width: 100%;
		padding-top: 0;
		margin: 0;
	}

	.site-footer__side-banner {
		flex: 1 1 auto;
		max-width: 20rem;
		margin: 0 auto;
	}

	.site-footer__side-banner--embed {
		max-width: min(100%, 20rem);
		min-width: 0;
	}

	.site-footer__bottom {
		grid-template-columns: 1fr;
	}

	.site-footer__social {
		flex-direction: row;
		justify-content: flex-start;
		flex-wrap: wrap;
		gap: 10px;
		margin: 0;
	}
}

@media (max-width: 640px) {
	.home-hero__inner {
		padding: 1rem;
	}

	.home-hero__title {
		font-size: min(59.62px, 11vw);
		line-height: 100%;
	}

	body.front-page .home-hero__title {
		font-size: min(59.62px, 12vw);
		line-height: 100%;
	}

	.park-teaser__logo-wrap {
		justify-content: flex-start;
		min-height: 80px;
	}

	.park-teaser__logo-link .park-teaser__logo {
		max-width: min(220px, 70vw);
	}

	.home-screen__inner {
		padding: 1rem;
	}

	.error404-hero {
		background-image: var(--error404-bg-mobile);
		height: 100svh;
		min-height: 100svh;
	}

	.error404-hero__content {
		width: 100%;
		padding: 0;
	}

	.error404-hero__lead {
		top: 30%;
		width: min(607.51px, 88vw);
		font-size: clamp(24px, 7vw, 40px);
		line-height: 1.1;
	}

	.error404-hero__code {
		top: 53%;
		width: min(666.75px, 90vw);
		font-size: clamp(68px, 18vw, 106.667px);
		line-height: 1;
	}

	.error404-hero__home {
		top: 74%;
		width: min(247.73px, 72vw);
		font-size: clamp(28px, 8vw, 33.3333px);
		font-weight: 700;
		padding: 0;
		line-height: 1.05;
		text-underline-offset: 0;
	}
}

.comments-area {
	margin-top: var(--space-xl);
	padding-top: var(--space-lg);
	border-top: 1px solid var(--color-border);
}

.comment-list {
	list-style: none;
	margin: 0;
	padding: 0;
}

.comment-list .children {
	list-style: none;
	margin-left: var(--space-md);
}

.skip-link:focus {
	position: fixed;
	left: var(--space-sm);
	top: var(--space-sm);
	z-index: 100000;
	padding: var(--space-sm) var(--space-md);
	background: var(--color-accent);
	color: #fff;
	clip: auto !important;
	width: auto;
	height: auto;
}

.screen-reader-text {
	border: 0;
	clip: rect(1px, 1px, 1px, 1px);
	clip-path: inset(50%);
	height: 1px;
	margin: -1px;
	overflow: hidden;
	padding: 0;
	position: absolute;
	width: 1px;
	word-wrap: normal !important;
}

.screen-reader-text:focus {
	background: #fff;
	clip: auto !important;
	clip-path: none;
	color: var(--color-text);
	display: block;
	font-size: 0.875rem;
	height: auto;
	left: 5px;
	line-height: normal;
	padding: 12px 16px;
	text-decoration: none;
	top: 5px;
	width: auto;
	z-index: 100000;
}

/* Страница «События»: календарь + сетка — на всю ширину экрана (без лимита --content-max) */
.site-main--events-hub {
	max-width: none;
	width: 100%;
	margin: 0;
	padding: var(--space-lg) clamp(1rem, 4vw, 3rem) clamp(2rem, 5vw, 4rem);
	box-sizing: border-box;
}

.events-hub {
	max-width: none;
	width: 100%;
	margin: 0;
	padding: clamp(0.75rem, 2vw, 1.5rem) 0;
	box-sizing: border-box;
}

.events-hub__header {
	margin-bottom: var(--space-lg);
}

.events-hub__title {
	margin: 0 0 0.5rem;
	font-family: var(--font-heading);
	font-weight: 400;
	font-size: var(--h1-size);
	line-height: 1.12;
	letter-spacing: 0.02em;
	text-transform: uppercase;
	color: #111;
}

.events-hub__crumbs {
	font-size: 0.75rem;
	font-weight: 600;
	letter-spacing: 0.08em;
}

.events-hub__crumb-home {
	color: var(--color-muted);
	text-decoration: none;
	text-transform: uppercase;
}

.events-hub__crumb-home:hover {
	color: var(--color-accent-dark);
}

.events-hub__layout {
	display: grid;
	gap: var(--space-lg);
}

.events-hub__aside--media-years {
	align-self: start;
}

/* Архив фото/видео/подкастов: год + календарь в одной колонке */
.events-hub__aside--archive-media-sidebar {
	display: flex;
	flex-direction: column;
	gap: var(--space-lg);
	align-self: start;
	width: 100%;
}

.archive-media-hub-years__list-wrap {
	width: 100%;
}

.events-hub__empty--archive-rich .events-hub__empty-text {
	margin: 0 0 var(--space-sm);
	max-width: 42rem;
	line-height: 1.55;
}

.events-hub__empty-jump {
	margin: 0;
	font-size: 0.95rem;
}

.events-hub__empty-jump a {
	font-weight: 600;
	color: var(--color-accent-dark);
	text-decoration: underline;
	text-underline-offset: 0.15em;
}

.home-media-years--hub {
	margin-top: 0;
}

/* Страница «Медиатека по годам» — размер годов как до укрупнения блока на главной */
.home-media-years--hub .home-media-years__year {
	font-size: clamp(2rem, 4.2vw, 3.2rem);
	font-weight: 500;
}

/* Календарь: 7 колонок + отступы карточки — колонка ≥ ~300px; основная зона сетки может сжиматься */
@media (min-width: 900px) {
	.events-hub__layout {
		grid-template-columns: minmax(300px, 22rem) minmax(0, 1fr);
		align-items: start;
	}

	.events-hub__main {
		min-width: 0;
	}

	.events-hub__layout--media-years {
		grid-template-columns: minmax(110px, 9rem) minmax(0, 1fr);
	}
}

.events-hub-calendar {
	background: var(--color-surface);
	border: 1px solid var(--color-border);
	border-radius: var(--radius);
	padding: var(--space-md);
	box-sizing: border-box;
	width: 100%;
	max-width: 100%;
	overflow-x: auto;
	-webkit-overflow-scrolling: touch;
}

.events-hub-calendar__title {
	margin: 0 0 var(--space-sm);
	font-size: 0.85rem;
	font-weight: 700;
	letter-spacing: 0.12em;
	text-transform: uppercase;
	color: #111;
}

.events-hub-calendar__toolbar {
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 0.5rem;
	margin-bottom: var(--space-sm);
}

.events-hub-calendar__nav {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	width: 2rem;
	height: 2rem;
	border-radius: 50%;
	border: 1px solid var(--color-border);
	color: #111;
	text-decoration: none;
	font-size: 1.25rem;
	line-height: 1;
}

.events-hub-calendar__nav:hover {
	border-color: var(--color-accent);
	color: var(--color-accent-dark);
}

.events-hub-calendar__month {
	flex: 1;
	text-align: center;
	font-size: 0.8rem;
	font-weight: 700;
	letter-spacing: 0.06em;
	text-transform: uppercase;
	color: #111;
	text-decoration: none;
}

.events-hub-calendar__table {
	width: 100%;
	min-width: 17.5rem;
	border-collapse: collapse;
	font-size: 0.8rem;
	text-align: center;
	table-layout: fixed;
}

.events-hub-calendar__table th {
	padding: 0.35rem 0;
	font-weight: 600;
	color: var(--color-muted);
}

.events-hub-calendar__pad {
	border: none;
}

.events-hub-calendar__day {
	padding: 0.15rem;
	vertical-align: middle;
}

.events-hub-calendar__day-link {
	display: flex;
	align-items: center;
	justify-content: center;
	width: clamp(1.65rem, 4.2vw, 2rem);
	height: clamp(1.65rem, 4.2vw, 2rem);
	max-width: 100%;
	margin: 0 auto;
	border-radius: 50%;
	text-decoration: none;
	color: #111;
	font-weight: 600;
	line-height: 1;
	font-size: clamp(0.7rem, 2.5vw, 0.8rem);
	box-sizing: border-box;
}

.events-hub-calendar__day--has-events .events-hub-calendar__day-link {
	background: #cfe8f5;
}

.events-hub-calendar__day--today .events-hub-calendar__day-link {
	box-shadow: inset 0 0 0 2px #1e6bb8;
}

.events-hub-calendar__day--selected .events-hub-calendar__day-link {
	background: #1e6bb8;
	color: #fff;
}

.events-hub-calendar__day--selected.events-hub-calendar__day--has-events .events-hub-calendar__day-link {
	background: #1e6bb8;
}

.events-hub-calendar__filter-note {
	margin: var(--space-sm) 0 0;
	font-size: 0.85rem;
	color: var(--color-muted);
	line-height: 1.45;
}

.events-hub-calendar__filter-note a {
	color: var(--color-accent-dark);
	font-weight: 600;
}

.events-hub__grid {
	display: grid;
	grid-template-columns: repeat(auto-fill, minmax(200px, 1fr));
	gap: 1rem;
}

@media (min-width: 1100px) {
	.events-hub__grid {
		grid-template-columns: repeat(3, 1fr);
	}
}

.hub-card {
	position: relative;
	display: flex;
	flex-direction: column;
	align-items: center;
	justify-content: center;
	min-height: 220px;
	padding: 1.25rem 1rem;
	border-radius: var(--radius);
	overflow: hidden;
	color: #fff;
	text-decoration: none;
	text-align: center;
	box-sizing: border-box;
}

.hub-card--no-thumb {
	background: #2a2e2c;
}

.hub-card__bg {
	position: absolute;
	inset: 0;
}

.hub-card__img {
	width: 100%;
	height: 100%;
	object-fit: cover;
	display: block;
}

.hub-card__shade {
	position: absolute;
	inset: 0;
	background: linear-gradient(180deg, rgba(0, 0, 0, 0.15) 0%, rgba(0, 0, 0, 0.55) 100%);
	pointer-events: none;
}

.hub-card__badge {
	position: absolute;
	top: 0.75rem;
	left: 0.75rem;
	z-index: 2;
	padding: 0.2rem 0.45rem;
	font-size: 0.65rem;
	font-weight: 700;
	letter-spacing: 0.06em;
	text-transform: uppercase;
	background: rgba(255, 255, 255, 0.92);
	color: #111;
	border-radius: 4px;
}

.hub-card__title {
	position: relative;
	z-index: 1;
	margin: 0;
	font-family: "Rubik", system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
	font-size: clamp(0.95rem, 2.2vw, 1.15rem);
	font-weight: 700;
	line-height: 1.25;
	text-transform: uppercase;
	letter-spacing: 0.04em;
	text-shadow: 0 1px 8px rgba(0, 0, 0, 0.45);
}

.hub-card__meta {
	position: relative;
	z-index: 1;
	margin-top: 0.5rem;
	font-size: 0.75rem;
	opacity: 0.9;
}

.events-hub__empty {
	margin: 0;
	color: var(--color-muted);
}

.events-hub__pagination {
	margin-top: var(--space-lg);
}

.events-hub__pagination .page-numbers {
	display: inline-flex;
	flex-wrap: wrap;
	gap: var(--space-sm);
	justify-content: center;
	list-style: none;
	margin: 0;
	padding: 0;
}

.events-hub__pagination .page-numbers li {
	margin: 0;
}

.events-hub__pagination .page-numbers a,
.events-hub__pagination .page-numbers span {
	display: inline-block;
	padding: 0.35rem 0.75rem;
	border-radius: 6px;
	border: 1px solid var(--color-border);
	background: var(--color-surface);
	text-decoration: none;
	color: var(--color-text);
}

.events-hub__pagination .page-numbers .current {
	border-color: var(--color-accent);
	background: var(--color-accent);
	color: #fff;
}

/* Архивы медиа: крошки */
.events-hub__crumbs--media {
	display: flex;
	flex-wrap: wrap;
	align-items: center;
	gap: 0.25rem;
	font-size: 0.75rem;
	font-weight: 600;
	letter-spacing: 0.06em;
	text-transform: uppercase;
	color: var(--color-muted);
}

.events-hub__crumb-sep {
	opacity: 0.7;
}

.events-hub__crumb-here {
	color: #111;
}

.events-hub--media-archive .events-hub__intro {
	margin-top: var(--space-sm);
}

/* Плитки архива медиа */
.events-hub__grid--media-tiles {
	grid-template-columns: repeat(auto-fill, minmax(160px, 1fr));
	gap: 1.25rem;
}

@media (min-width: 900px) {
	.events-hub__grid--media-tiles {
		grid-template-columns: repeat(3, 1fr);
	}
}

/* Список архива новостей / мероприятий */
.events-hub__grid--events-list {
	display: block;
	column-count: 1;
	column-gap: 1rem;
	max-width: 100%;
}

@media (min-width: 760px) {
	.events-hub__grid--events-list {
		column-count: 2;
	}
}

@media (min-width: 1100px) {
	.events-hub__grid--events-list {
		column-count: 3;
	}
}

.events-hub__grid--events-list .hub-card--event-item {
	display: flex;
	min-height: 12rem;
	margin: 0 0 1rem;
	break-inside: avoid;
	-webkit-column-break-inside: avoid;
}

.events-hub__grid--events-list .hub-card--event-item:nth-child(5n + 1) {
	min-height: 16rem;
}

.events-hub__grid--events-list .hub-card--event-item:nth-child(5n + 2) {
	min-height: 8.5rem;
}

.events-hub__grid--events-list .hub-card--event-item:nth-child(5n + 3) {
	min-height: 13rem;
}

.events-hub__grid--events-list .hub-card--event-item:nth-child(5n + 4) {
	min-height: 9.5rem;
}

.media-tile {
	display: flex;
	flex-direction: column;
	gap: 0.5rem;
	color: inherit;
	text-decoration: none;
}

.media-tile__thumb {
	position: relative;
	aspect-ratio: 1;
	overflow: hidden;
	border-radius: var(--radius);
	background: #ffffff;
}

.media-tile__img {
	width: 100%;
	height: 100%;
	object-fit: cover;
	display: block;
}

.media-tile__placeholder {
	display: block;
	width: 100%;
	height: 100%;
	background: #ffffff;
	border: 1px solid var(--color-border);
	box-sizing: border-box;
}

.media-tile__caption {
	font-size: 0.85rem;
	font-weight: 600;
	line-height: 1.3;
	text-align: center;
	color: #111;
}

/* Одиночные медиа: ширина как у .site-main (стандартный --content-max), без дополнительного сужения */
.site-main--media-single-wide {
	background: #ffffff;
	padding: clamp(1rem, 4vw, 2.5rem) clamp(1rem, 4vw, 2rem) clamp(2rem, 6vw, 4rem);
}

.site-main--media-single-wide .media-single {
	max-width: none;
	width: 100%;
	margin: 0;
	padding: clamp(1.25rem, 3vw, 2rem);
	background: #fff;
	border-radius: var(--radius);
	box-sizing: border-box;
}

/* Подкаст: полноэкранная страница без "карточки" и внешних полей */
.site-main--media-podcast.site-main--media-single-wide {
	max-width: none;
	width: 100%;
	margin: 0;
	padding: 0;
	background: #ffffff;
}

.site-main--media-podcast.site-main--media-single-wide .media-single {
	max-width: none;
	margin: 0;
	padding: clamp(0.75rem, 2vw, 1.25rem) clamp(1rem, 2.5vw, 1.75rem) clamp(1.5rem, 3vw, 2.25rem);
	background: transparent;
	border-radius: 0;
}

.site-main--event-single,
.site-main--object-single {
	max-width: none;
	width: 100%;
	margin: 0;
	padding: clamp(1rem, 3.2vw, 2rem) clamp(1rem, 4vw, 3rem) clamp(2rem, 5vw, 3rem);
	box-sizing: border-box;
	background: #fff;
}

.site-main--event-single .event-showcase,
.site-main--object-single .object-showcase {
	max-width: none;
	margin: 0;
	padding: 0;
	background: transparent;
	border-radius: 0;
	box-sizing: border-box;
}

.event-showcase__head {
	margin-bottom: 1rem;
}

.event-showcase__crumbs {
	font-size: 0.75rem;
	font-weight: 600;
	letter-spacing: 0.06em;
	text-transform: uppercase;
	color: var(--color-muted);
}

.event-showcase__crumbs a {
	color: var(--color-muted);
	text-decoration: none;
}

.event-showcase__crumbs a:hover {
	color: var(--color-accent-dark);
}

.event-showcase__crumb-sep {
	margin: 0 0.2rem;
	opacity: 0.7;
}

.event-showcase__layout,
.object-showcase__layout {
	display: grid;
	gap: clamp(1rem, 2.5vw, 1.75rem);
}

.event-showcase__title,
.object-showcase__title {
	margin: 0 0 0.5rem;
	font-family: var(--font-heading);
	font-style: normal;
	font-weight: 400;
	font-size: var(--h1-size);
	line-height: 1.12;
	letter-spacing: 0.03em;
	text-transform: uppercase;
	color: #000;
}

.event-showcase__meta,
.object-showcase__meta {
	font-size: 0.85rem;
	color: var(--color-muted);
	margin-bottom: 1rem;
	line-height: 1.45;
}

.object-showcase__meta-row {
	margin: 0 0 0.45rem;
}

.object-showcase__meta-row:last-child {
	margin-bottom: 0;
}

.object-showcase__meta-row strong {
	font-weight: 600;
	margin-right: 0.2rem;
	color: var(--color-text);
}

.object-showcase__meta-row a {
	color: var(--color-accent-dark);
	text-decoration: none;
}

.object-showcase__meta-row a:hover {
	text-decoration: underline;
}

.object-showcase__meta-row--multiline strong {
	display: block;
	margin: 0 0 0.2rem;
}

.object-showcase__map-link {
	font-weight: 600;
	color: var(--color-accent-dark);
	text-decoration: underline;
	text-underline-offset: 0.12em;
}

.object-showcase__map-link:hover {
	color: #000;
}

.event-showcase__text,
.object-showcase__text {
	margin-bottom: 1.2rem;
	font-family: "Dopis", system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
	font-style: italic;
	font-weight: 300;
	font-size: 20px;
	line-height: 156%;
	color: #000;
}

.event-showcase__text p,
.event-showcase__text li,
.event-showcase__text blockquote,
.object-showcase__text p,
.object-showcase__text li,
.object-showcase__text blockquote {
	font-family: inherit;
	font-style: inherit;
	font-weight: inherit;
	font-size: inherit;
	line-height: inherit;
	color: inherit;
}

.event-showcase__thumbs,
.object-showcase__thumbs {
	display: grid;
	grid-template-columns: repeat(3, minmax(0, 1fr));
	gap: 0.75rem;
}

.event-showcase__thumb,
.object-showcase__thumb {
	margin: 0;
	border-radius: var(--radius);
	overflow: hidden;
	background: #ffffff;
}

.event-showcase__thumb img,
.object-showcase__thumb img {
	display: block;
	width: 100%;
	aspect-ratio: 1 / 1;
	object-fit: cover;
}

.event-showcase__visual,
.object-showcase__visual {
	min-width: 0;
}

.event-showcase__hero,
.object-showcase__hero {
	margin: 0;
	border-radius: var(--radius);
	overflow: hidden;
	background: #ffffff;
}

.event-showcase__hero-img,
.object-showcase__hero-img {
	display: block;
	width: 100%;
	height: 100%;
	object-fit: cover;
}

@media (min-width: 900px) {

	.event-showcase__layout,
	.object-showcase__layout {
		grid-template-columns: minmax(0, 1fr) minmax(0, 44%);
		align-items: start;
	}
}

.media-single__head {
	margin-bottom: 1.25rem;
}

.media-single__kicker {
	margin: 0 0 0.35rem;
	font-size: 0.75rem;
	font-weight: 700;
	letter-spacing: 0.1em;
	text-transform: uppercase;
}

.media-single__kicker a {
	color: #111;
	text-decoration: none;
}

.media-single__kicker a:hover {
	color: var(--color-accent-dark);
}

.media-single__crumbs {
	font-size: 0.75rem;
	font-weight: 600;
	letter-spacing: 0.06em;
	text-transform: uppercase;
	color: var(--color-muted);
}

.media-single__crumbs a {
	color: var(--color-muted);
	text-decoration: none;
}

.media-single__crumbs a:hover {
	color: var(--color-accent-dark);
}

.media-single__crumb-sep {
	margin: 0 0.2rem;
	opacity: 0.7;
}

.media-single__carousel-wrap {
	margin: 0 -0.5rem 1.5rem;
	overflow: hidden;
}

.media-single__carousel {
	display: flex;
	gap: 0.75rem;
	align-items: center;
	overflow-x: auto;
	scroll-snap-type: x mandatory;
	padding: 0.5rem max(0.75rem, calc(50% - 6.75rem));
	scroll-padding-inline: 50%;
	scroll-behavior: smooth;
	scrollbar-width: none;
	-ms-overflow-style: none;
	-webkit-overflow-scrolling: touch;
}

.media-single__carousel::-webkit-scrollbar {
	display: none;
}

.media-single__carousel-item {
	flex: 0 0 clamp(5rem, 16vw, 7rem);
	max-width: none;
	scroll-snap-align: center;
	scroll-snap-stop: always;
	border-radius: var(--radius);
	overflow: hidden;
	opacity: 0.42;
	transform: scale(0.9);
	transition: opacity 0.2s ease, transform 0.2s ease, flex-basis 0.2s ease;
	box-shadow: 0 4px 18px rgba(0, 0, 0, 0.12);
}

@media (min-width: 700px) {
	.media-single__carousel {
		padding-inline: max(1rem, calc(50% - 8rem));
	}

	.media-single__carousel-item {
		flex-basis: clamp(6rem, 10vw, 8rem);
	}
}

.media-single__carousel-item.is-active {
	opacity: 1;
	flex-basis: clamp(10rem, 20vw, 16rem);
	transform: scale(1);
	z-index: 1;
}

.media-single__carousel-img {
	width: 100%;
	aspect-ratio: 1;
	object-fit: cover;
	display: block;
}

.media-single__carousel-ph {
	display: block;
	width: 100%;
	aspect-ratio: 1;
	background: #ffffff;
	border: 1px solid var(--color-border);
	box-sizing: border-box;
}

.media-single__title {
	margin: 0 0 1rem;
	font-family: var(--font-heading);
	font-size: var(--h1-size);
	font-weight: 400;
	line-height: 1.12;
	text-transform: uppercase;
	letter-spacing: 0.03em;
	color: #111;
}

.media-single__player-wrap {
	margin-bottom: 1.5rem;
	display: flex;
	justify-content: center;
}

.media-single__embed {
	margin: 0;
	border-radius: var(--radius);
	overflow: hidden;
}

.media-single__content.entry-content {
	margin-top: 0;
}

.media-single--deck .entry {
	margin-top: 0;
}

.media-single--deck .entry-header {
	margin-top: 0.5rem;
}

/* Плеер подкаста */
.podcast-player__progress {
	margin-bottom: 0.75rem;
}

.media-single--podcast .media-single__player {
	width: min(100%, 30rem);
	margin-inline: auto;
}

.podcast-player__seek {
	width: 100%;
	accent-color: #1e6bb8;
	cursor: pointer;
}

.podcast-player__controls {
	display: flex;
	align-items: center;
	justify-content: center;
	gap: 1.5rem;
}

.podcast-player__nav {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	width: 2.25rem;
	height: 2.25rem;
	border-radius: 50%;
	border: 1px solid #ccc;
	color: #555;
	text-decoration: none;
	font-size: 1.35rem;
	line-height: 1;
	transition: border-color 0.15s ease, color 0.15s ease;
}

.podcast-player__nav:hover {
	border-color: var(--color-accent);
	color: var(--color-accent-dark);
}

.podcast-player__nav.is-disabled {
	opacity: 0.35;
	pointer-events: none;
}

.podcast-player__play {
	width: 3.25rem;
	height: 3.25rem;
	border-radius: 50%;
	border: 1px solid #ccc;
	background: #f4f4f4;
	cursor: pointer;
	position: relative;
	flex-shrink: 0;
}

.podcast-player__play::after {
	content: "";
	position: absolute;
	left: 50%;
	top: 50%;
	width: 0;
	height: 0;
	margin-left: 2px;
	border-style: solid;
	border-width: 8px 0 8px 12px;
	border-color: transparent transparent transparent #333;
	transform: translate(-40%, -50%);
}

.podcast-player__play.is-playing::after {
	width: 10px;
	height: 14px;
	margin-left: 0;
	border: none;
	background: linear-gradient(90deg, #333 0 35%, transparent 35% 65%, #333 65% 100%);
	transform: translate(-50%, -50%);
}

.podcast-player__volume {
	display: flex;
	align-items: center;
	justify-content: center;
	gap: 0.65rem;
	margin-top: 1rem;
	width: 100%;
	max-width: 16rem;
	margin-inline: auto;
}

.podcast-player__mute {
	flex-shrink: 0;
	width: 2rem;
	height: 2rem;
	border: 0;
	padding: 0;
	background: transparent;
	cursor: pointer;
	position: relative;
}

.podcast-player__mute-icon {
	display: block;
	width: 1.25rem;
	height: 1.25rem;
	margin: 0.375rem auto;
	background: no-repeat center / contain;
	/* speaker */
	background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23333' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpolygon points='11 5 6 9 2 9 2 15 6 15 11 19 11 5'/%3E%3Cpath d='M15.54 8.46a5 5 0 0 1 0 7.07'/%3E%3Cpath d='M19.07 4.93a10 10 0 0 1 0 14.14'/%3E%3C/svg%3E");
}

.podcast-player__mute.is-muted .podcast-player__mute-icon {
	background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23333' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpolygon points='11 5 6 9 2 9 2 15 6 15 11 19 11 5'/%3E%3Cline x1='23' y1='9' x2='17' y2='15'/%3E%3Cline x1='17' y1='9' x2='23' y2='15'/%3E%3C/svg%3E");
}

.podcast-player__volume-range {
	flex: 1 1 auto;
	min-width: 0;
	accent-color: #1e6bb8;
	cursor: pointer;
}

.media-single__audio-el {
	position: absolute;
	width: 1px;
	height: 1px;
	opacity: 0;
	pointer-events: none;
}

/* Страница опроса */
.site-main--survey {
	max-width: none;
	width: 100%;
	margin: 0;
	background: #ffffff;
	padding: clamp(1rem, 3vw, 2rem) clamp(1rem, 3.5vw, 2.75rem) clamp(2rem, 5vw, 3rem);
	box-sizing: border-box;
}

.survey-page {
	max-width: none;
	margin: 0;
	padding: 0;
	background: transparent;
	border: none;
	box-sizing: border-box;
	font-family: "Dopis", "Rubik", system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
}

.survey-page__notice {
	margin: 0 0 1rem;
	padding: 0.75rem 1rem;
	border-radius: var(--radius);
	font-size: 0.95rem;
}

.survey-page__notice--success {
	background: #e8f4ea;
	border: 1px solid #b8d4be;
	color: #1e4620;
}

.survey-page__notice--error {
	background: #fdecea;
	border: 1px solid #f0c2bc;
	color: #6a1f18;
}

.survey-page__title {
	margin: 0 0 1rem;
	font-family: var(--font-heading);
	font-size: var(--h1-size);
	font-weight: 400;
	line-height: 1.12;
	letter-spacing: 0.02em;
	text-transform: uppercase;
	color: #111;
}

.survey-page__intro {
	margin-bottom: 1.75rem;
	font-size: 1rem;
	line-height: 1.65;
	color: var(--color-text);
}

.survey-page__subtitle {
	margin: 0 0 1.25rem;
	font-size: clamp(1.1rem, 2.5vw, 1.35rem);
	font-weight: 700;
	text-transform: uppercase;
	letter-spacing: 0.04em;
	color: #111;
}

.survey-form__field {
	margin-bottom: 1.5rem;
}

.survey-form__field--age {
	width: 25%;
	max-width: none;
}

.survey-form__label {
	display: block;
	margin-bottom: 0.45rem;
	font-weight: 600;
	font-size: 30px;
	color: #111;
	line-height: 1.2;
}

.survey-form__input--pill {
	width: 100%;
	padding: 0.55rem 1rem;
	border: 1px solid #c5ccc7;
	border-radius: 999px;
	font-size: 1rem;
	box-sizing: border-box;
	background: #fff;
}

.survey-form__input--wide {
	max-width: 100%;
}

.survey-form__grid {
	display: grid;
	grid-template-columns: 1fr;
	gap: 1.5rem;
	margin-bottom: 1.75rem;
}

@media (min-width: 768px) {
	.survey-form__grid {
		grid-template-columns: 1fr 1fr;
	}
}

.survey-form__fieldset {
	margin: 0;
	padding: 0;
	border: none;
	min-width: 0;
}

.survey-form__legend {
	padding: 0;
	margin-bottom: 0.65rem;
	font-weight: 600;
	font-size: 30px;
	color: #111;
	line-height: 1.2;
}

.survey-form__fieldset--error {
	position: relative;
	padding-left: 0.85rem;
	border-left: 3px solid #d33a2c;
}

.survey-form__fieldset--error .survey-form__legend,
.survey-form__fieldset--error .survey-form__label {
	color: #d33a2c;
}

.survey-form__options {
	display: flex;
	flex-direction: column;
	gap: 0.45rem;
}

.survey-form__choice {
	display: flex;
	align-items: flex-start;
	gap: 0.5rem;
	font-size: 20px;
	line-height: 1.4;
	cursor: pointer;
}

.survey-form__choice input {
	margin-top: 0.1rem;
	width: 22px;
	height: 22px;
	flex-shrink: 0;
}

.survey-form__fieldset--matrix {
	margin-bottom: 1.75rem;
}

.survey-form__row--q7q8 {
	display: grid;
	grid-template-columns: 1fr;
	gap: 1.5rem;
	margin-bottom: 1.75rem;
}

@media (min-width: 980px) {
	.survey-form__row--q7q8 {
		grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
		align-items: start;
		column-gap: clamp(1rem, 2vw, 2rem);
	}

	.survey-form__row--q7q8 .survey-form__fieldset {
		margin-bottom: 0;
		min-width: 0;
	}
}

.survey-matrix__row {
	display: grid;
	grid-template-columns: 250px 1fr;
	align-items: center;
	justify-content: start;
	gap: 0.75rem;
	margin-bottom: 0.7rem;
	padding-bottom: 0.35rem;
	border-bottom: none;
}

.survey-matrix__row:last-child {
	margin-bottom: 0;
	padding-bottom: 0;
	border-bottom: none;
}

.survey-matrix__label {
	min-width: 0;
	max-width: 14.5rem;
	font-size: 20px;
	font-weight: 500;
	color: #333;
}

.survey-matrix__rates {
	display: flex;
	align-items: center;
	gap: 0.4rem;
	flex-wrap: nowrap;
	justify-content: flex-start;
}

.survey-matrix__rate {
	position: relative;
	cursor: pointer;
	margin: 0;
}

.survey-matrix__rate input {
	position: absolute;
	opacity: 0;
	width: 1px;
	height: 1px;
}

.survey-matrix__dot {
	display: block;
	width: 22px;
	height: 22px;
	border-radius: 50%;
	border: 1px solid #c7ccc8;
	background: #fff;
	transition: transform 0.15s ease, box-shadow 0.15s ease, background-color 0.15s ease, border-color 0.15s ease;
}

.survey-matrix__rate input:focus-visible+.survey-matrix__dot {
	box-shadow: 0 0 0 3px rgba(30, 107, 184, 0.45);
}

.survey-matrix__rate.is-filled .survey-matrix__dot {
	border-color: transparent;
}

.survey-matrix__rate.is-filled.is-green .survey-matrix__dot {
	background: #69ba45;
}

.survey-matrix__rate.is-filled.is-orange .survey-matrix__dot {
	background: #f7b733;
}

.survey-matrix__rate.is-filled.is-red .survey-matrix__dot {
	background: #d94841;
}

.survey-matrix__rate.is-selected .survey-matrix__dot {
	transform: scale(1.1);
	box-shadow: 0 0 0 2px rgba(30, 107, 184, 0.35);
}

.survey-form__submit-wrap {
	margin: 2rem 0 0;
}

.survey-form__submit {
	display: inline-block;
	padding: 0.75rem 2.5rem;
	border: none;
	border-radius: 999px;
	background: #add8e6;
	color: #111;
	font-family: "Rubik", system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
	font-size: 0.85rem;
	font-weight: 700;
	letter-spacing: 0.1em;
	text-transform: uppercase;
	cursor: pointer;
	transition: background 0.15s ease, transform 0.1s ease;
}

.survey-form__submit:hover {
	background: #9cc9d9;
}

.survey-form__submit:active {
	transform: scale(0.98);
}

/* Button visually impaired — плавающая кнопка (плагин BVI) */
.levoberg-bvi-floating {
	position: fixed;
	right: max(1rem, var(--site-edge-gutter, 10px));
	bottom: max(1rem, env(safe-area-inset-bottom, 0px));
	z-index: 999950;
	max-width: min(18rem, calc(100vw - 2rem));
}

.levoberg-bvi-floating .bvi-shortcode {
	display: block;
	box-shadow: 0 4px 18px rgba(0, 0, 0, 0.2);
}

.levoberg-bvi-floating .bvi-shortcode a {
	word-break: break-word;
}

/* BVI: шапка и меню поверх панели настроек */
body.bvi-active .site-header {
	z-index: 1000001;
}

/* BVI: панель настроек — под шапкой (и до прокрутки, и в fixed-режиме) */
body.bvi-active .bvi-panel:not(.bvi-panel-hide) {
	margin-top: var(--site-header-offset, 5rem);
}

body.bvi-active .bvi-panel.bvi-fixed-top {
	margin-top: 0;
	top: var(--site-header-offset, 5rem) !important;
}

body.admin-bar.bvi-active .bvi-panel:not(.bvi-panel-hide) {
	margin-top: calc(32px + var(--site-header-offset, 5rem));
}

body.admin-bar.bvi-active .bvi-panel.bvi-fixed-top {
	margin-top: 0;
	top: calc(32px + var(--site-header-offset, 5rem)) !important;
}

@media screen and (max-width: 782px) {
	body.admin-bar.bvi-active .bvi-panel:not(.bvi-panel-hide) {
		margin-top: calc(46px + var(--site-header-offset, 4.5rem));
	}

	body.admin-bar.bvi-active .bvi-panel.bvi-fixed-top {
		top: calc(46px + var(--site-header-offset, 4.5rem)) !important;
	}
}

/* BVI: панель озвучки основного контента */
body.bvi-active .levoberg-bvi-speech > .bvi-speech-link {
	position: sticky;
	top: calc(var(--site-header-offset, 5rem) + 0.35rem);
	z-index: 900;
	display: flex;
	flex-wrap: wrap;
	align-items: center;
	gap: 0.35rem 0.75rem;
	margin: 0 0 1rem;
	padding: 0.65rem 0.85rem;
	background: #fff8e6;
	border: 1px solid #e6c200;
	border-radius: 6px;
	box-shadow: 0 2px 10px rgba(0, 0, 0, 0.08);
}

body.bvi-active .levoberg-bvi-speech > .bvi-speech-link .bvi-link {
	display: inline-block;
	padding: 0.35rem 0.65rem;
	border-radius: 4px;
	background: #fff;
	border: 1px solid #ccc;
	color: #111 !important;
	text-decoration: none !important;
	font-size: 0.85rem;
	line-height: 1.3;
}

body.bvi-active .levoberg-bvi-speech > .bvi-speech-link .bvi-link.disabled {
	opacity: 0.45;
	pointer-events: none;
}

body.bvi-active .levoberg-bvi-speech > .bvi-speech-link .bvi-link:not(.disabled):hover {
	background: #f0f0f0;
}

/* Лайтбокс галерей */
.levoberg-lightbox-root img,
.levoberg-gallery__link {
	cursor: zoom-in;
}

.levoberg-gallery__link {
	display: block;
	line-height: 0;
}

.levoberg-gallery__link img {
	width: 100%;
	height: auto;
}

/* В сетке галереи превью заполняют ячейку (не height: auto) */
.park-gallery__grid .levoberg-gallery__link img {
	width: 100%;
	height: 100%;
	object-fit: cover;
	object-position: center;
}

body.levoberg-lightbox-open {
	overflow: hidden;
}

.levoberg-lightbox {
	position: fixed;
	inset: 0;
	z-index: 100000;
	display: none;
	align-items: center;
	justify-content: center;
	padding: clamp(1rem, 3vw, 2.5rem);
	background: rgba(10, 18, 14, 0.92);
	box-sizing: border-box;
}

.levoberg-lightbox.is-open {
	display: flex;
}

.levoberg-lightbox__stage {
	margin: 0;
	max-width: min(96vw, 1200px);
	max-height: 90vh;
	display: flex;
	flex-direction: column;
	align-items: center;
	gap: 0.75rem;
}

.levoberg-lightbox__img {
	display: block;
	max-width: 100%;
	max-height: calc(90vh - 3rem);
	width: auto;
	height: auto;
	object-fit: contain;
	border-radius: 4px;
	box-shadow: 0 12px 40px rgba(0, 0, 0, 0.35);
}

.levoberg-lightbox__caption {
	margin: 0;
	max-width: 100%;
	color: #f4f7f5;
	font-size: 0.95rem;
	line-height: 1.45;
	text-align: center;
}

.levoberg-lightbox__close,
.levoberg-lightbox__nav {
	position: absolute;
	border: 0;
	background: rgba(255, 255, 255, 0.12);
	color: #fff;
	cursor: pointer;
	line-height: 1;
	transition: background 0.15s ease;
}

.levoberg-lightbox__close:hover,
.levoberg-lightbox__nav:hover {
	background: rgba(255, 255, 255, 0.24);
}

.levoberg-lightbox__close {
	top: max(0.75rem, env(safe-area-inset-top, 0px));
	right: max(0.75rem, env(safe-area-inset-right, 0px));
	width: 2.75rem;
	height: 2.75rem;
	border-radius: 999px;
	font-size: 1.75rem;
}

.levoberg-lightbox__nav {
	top: 50%;
	transform: translateY(-50%);
	width: 2.75rem;
	height: 2.75rem;
	border-radius: 999px;
	font-size: 2rem;
}

.levoberg-lightbox__nav--prev {
	left: max(0.75rem, env(safe-area-inset-left, 0px));
}

.levoberg-lightbox__nav--next {
	right: max(0.75rem, env(safe-area-inset-right, 0px));
}

.levoberg-lightbox__nav[hidden],
.levoberg-lightbox__caption[hidden] {
	display: none !important;
}