

/* Start:/local/templates/ukmpsit/css/ukmpsit_variables.css?17880103375378*/
/* =========================================================
   DESIGN TOKENS
   ========================================================= */
:root {
  color-scheme: light;
  /* ---------- Brand ---------- */
  --color-brand-primary: #000b6b;
  --color-brand-primary-soft: #7d8eb2;
  --color-brand-mint: #9ebfef;
  --color-afisha-pink: #ee008b;

  /* ---------- Base: Light theme ---------- */
  --color-text-primary: #000000;
  --color-text-muted: #61786e;
  --color-text-inverse: #ffffff;
  --color-text-footer-muted: #bdc3c7;
  --color-page-bg: #fafbfc;
  --color-surface: #ffffff;
  --color-header-bar: #000b6b;
  --color-search-bg: #cfd8dc;
  --color-footer-bg: #000b6b;

  /* ---------- Sidebar palettes ---------- */
  --color-sidebar-bg-light: #ffffff;
  --color-sidebar-text-light: #61786e;
  --color-sidebar-accent-light: #000b6b;
  --color-sidebar-bg-dark: #000b6b;
  --color-sidebar-text-dark: #ffffff;
  --color-sidebar-muted-dark: #61786e;

  /* ---------- Applied sidebar tokens ---------- */
  --color-sidebar-bg: var(--color-sidebar-bg-light);
  --color-sidebar-text: var(--color-sidebar-text-light);
  --color-sidebar-accent: var(--color-sidebar-accent-light);
  --color-sidebar-muted: var(--color-text-muted);

  /* ---------- Component utility tokens ---------- */
  --color-header-contact: rgba(255, 255, 255, 0.92);
  --color-focus-ring-on-dark: rgba(255, 255, 255, 0.35);
  --color-sidebar-divider-dark-core: rgba(255, 255, 255, 0.9);
  --color-overlay-backdrop: rgba(0, 0, 0, 0.88);
  --color-promo-btn-text: #23272a;
  --color-visitor-title: #000000;

  /* ---------- Cards / highlights ---------- */
  --color-gosuslugi-bg: #e0edfe;
  --color-gosuslugi-accent: #d2e3fc;

  /* ---------- Shadows ---------- */
  --color-sidebar-shadow: 0 4px 24px rgba(0, 0, 0, 0.06);
  --shadow-card: 0 4px 20px rgba(238, 238, 238, 0.5);
  --shadow-gos-card: 0 6px 16px rgba(230, 235, 245, 0.8), 0 1px 4px rgba(227, 235, 252, 1);
  --shadow-btn-hover: 0 8px 20px rgba(0, 107, 60, 0.25);
  --shadow-service-hover: 0 12px 32px rgba(0, 107, 60, 0.12);
  --shadow-news-hover: 0 12px 28px rgba(0, 0, 0, 0.08);

  /* ---------- Sizes ---------- */
  --sidebar-width-expanded: 357px;
  --sidebar-width-collapsed: 130px;
  --sidebar-width: var(--sidebar-width-expanded);
  --header-height: 44px;
  --radius-lg: 20px;
  --radius-md: 16px;
  --radius-sm: 10px;
  --radius-pill: 24px;

  /* ---------- Typography ---------- */
  --font-family: "Rubik", system-ui, sans-serif;
  --font-size-body: 16px;
  --font-size-small: 14px;
  --font-size-medium: 18px;
  --font-size-nav: 20px;
  --font-size-h1: clamp(24px, 3vw, 32px);
  --font-size-section-title: 30px;

  /* ---------- Motion ---------- */
  --ease-out: cubic-bezier(0.4, 0, 0.2, 1);
  --duration-normal: 0.35s;
  --duration-submenu: 0.32s;

  /* ---------- Sidebar submenu ---------- */
  --font-size-sidebar-submenu: 16px;
  --font-size-sidebar-submenu-flyout: 14px;
  --radius-sidebar-submenu-trigger: 12px;
  --radius-sidebar-flyout: 16px;
  --color-sidebar-submenu-rail: var(--color-brand-primary);
  --color-sidebar-submenu-flyout-bg: #ffffff;
  --sidebar-submenu-max-height: 220px;
  --sidebar-submenu-flyout-min-width: 158px;

  /* ---------- News article (detail page) ---------- */
  --news-detail-content-max: min(720px, 100%);
  --news-detail-body-size: clamp(17px, 0.35vw + 16px, 19px);
  --news-detail-body-line-height: 1.65;
}

/* =========================================================
   GLOBAL DARK THEME
   ========================================================= */
[data-menu-theme="dark"] {
  color-scheme: dark;
  --color-brand-primary: #3071E7;
  --color-text-primary: #94a3b8;
  --color-text-inverse: #e6e6e6;
  --color-sidebar-bg-light: #020F43;
  --color-page-bg: #080B26;
  --color-overlay-backdrop: #080b26e0;
  --color-brand-primary-soft: var(--color-brand-primary);
  --color-afisha-pink: var(--color-brand-primary);
  --shadow-btn-hover: 0 8px 20px var(--color-brand-primary);
  --color-text-muted: var(--color-text-primary);
  --color-text-footer-muted: var(--color-text-primary);
  --color-sidebar-text: var(--color-text-primary);
  --color-sidebar-muted: var(--color-text-primary);
  --color-header-contact: var(--color-text-primary);
  --color-promo-btn-text: var(--color-text-inverse);
  --color-sidebar-accent: var(--color-text-inverse);
  --color-surface: var(--color-sidebar-bg-light);
  --color-header-bar: var(--color-sidebar-bg-light);
  --color-footer-bg: var(--color-sidebar-bg-light);
  --color-sidebar-bg: var(--color-sidebar-bg-light);
  --color-sidebar-submenu-flyout-bg: var(--color-sidebar-bg-light);
  --color-search-bg: var(--color-page-bg);
  --color-visitor-title: var(--color-page-bg);
  --color-focus-ring-on-dark: var(--color-text-primary, 0.45);
  --color-sidebar-shadow: 0 4px 24px var(--color-page-bg, 0.35);
  --shadow-card: 0 4px 20px var(--color-page-bg, 0.22);
  --shadow-service-hover: 0 12px 32px var(--color-page-bg, 0.28);
  --shadow-news-hover: 0 12px 28px var(--color-page-bg, 0.3);
}

/* =========================================================
   STATE TOKENS
   ========================================================= */
[data-menu-width="collapsed"] {
  --sidebar-width: var(--sidebar-width-collapsed);
}

/* End */


/* Start:/local/components/my/ovz/templates/.default/style.css?178890254624275*/
/* ==========================================================================
   OVZ — версия для слабовидящих (ГОСТ Р 52872-2019, WCAG 2.1)
   ========================================================================== */

.ovz-panel {
	--ovz-panel-bg: #f5f5f5;
	--ovz-panel-color: #111111;
	--ovz-panel-border: #333333;
	--ovz-panel-accent: #004182;
	--ovz-panel-focus: #ffbf47;
	position: fixed;
	top: 0;
	right: 0;
	bottom: 0;
	width: min(100px, 100vw);
	height: 100vh;
	height: 100dvh;
	z-index: 2147483000;
	background: var(--ovz-panel-bg);
	color: var(--ovz-panel-color);
	border-left: 2px solid var(--ovz-panel-border);
	font-family: Arial, Helvetica, sans-serif;
	font-size: 14px;
	line-height: 1.3;
	box-shadow: -4px 0 16px rgba(0, 0, 0, 0.15);
	transform: translate3d(0, 0, 0);
	transition: transform 0.28s cubic-bezier(0.22, 1, 0.36, 1);
	will-change: transform;
}

.ovz-panel--top {
	top: 0;
}

.ovz-panel--bottom {
	top: 0;
	bottom: 0;
}

.ovz-panel.ovz-panel--collapsed {
	transform: translate3d(100%, 0, 0);
	pointer-events: none;
}

.ovz-panel--bottom.ovz-panel--collapsed {
	transform: translate3d(100%, 0, 0);
}

.ovz-panel__inner {
	position: relative;
	height: 100%;
	padding: 12px;
	overflow-x: hidden !important;
	overflow-y: auto !important;
	scrollbar-width: none;
	overscroll-behavior: contain;
	touch-action: pan-y;
	cursor: grab;
	box-sizing: border-box;
}

.ovz-panel__inner::-webkit-scrollbar {
	display: none;
}

.ovz-panel__inner.ovz-panel__inner--dragging {
	cursor: grabbing;
	user-select: none;
}

.ovz-panel__collapse {
	position: sticky;
	top: 0;
	z-index: 3;
	display: flex;
	align-items: center;
	justify-content: center;
	width: 52px;
	height: 52px;
	margin: 0 auto 12px;
	padding: 0;
	border: 1px solid rgba(0, 65, 130, 0.22);
	border-radius: 17px;
	background: linear-gradient(145deg, #ffffff 0%, #e7f1fb 100%);
	color: #153d63;
	box-shadow: 0 7px 16px rgba(16, 56, 92, 0.14), inset 0 1px 0 #ffffff;
	cursor: pointer;
	transition: transform 0.18s ease, box-shadow 0.18s ease, color 0.18s ease;
}

.ovz-panel__collapse:hover,
.ovz-panel__collapse:focus-visible {
	color: var(--ovz-panel-accent);
	transform: translateX(2px);
	box-shadow: 0 10px 22px rgba(16, 56, 92, 0.22);
	outline: 3px solid var(--ovz-panel-focus);
	outline-offset: 2px;
}

.ovz-panel__collapse svg {
	width: 24px;
	height: 24px;
}

.ovz-panel__swipe-hint {
	position: relative;
	display: flex;
	flex-direction: column;
	align-items: center;
	gap: 7px;
	margin: 0 -4px 16px;
	padding: 10px 4px;
	border: 1px solid rgba(0, 65, 130, 0.22);
	border-radius: 16px;
	background: linear-gradient(145deg, rgba(255, 255, 255, 0.96), rgba(224, 237, 252, 0.85));
	box-shadow: 0 8px 20px rgba(0, 65, 130, 0.12);
	color: var(--ovz-panel-accent);
	font-size: 10px;
	font-weight: 700;
	line-height: 1.25;
	text-align: center;
	overflow: hidden;
}

.ovz-panel__swipe-hint::before {
	content: "";
	position: absolute;
	inset: -50% 45% -50% -20%;
	background: rgba(255, 255, 255, 0.55);
	transform: rotate(18deg);
	pointer-events: none;
}

.ovz-panel__swipe-icon {
	position: relative;
	width: 27px;
	height: 36px;
	z-index: 1;
}

.ovz-panel__swipe-wheel {
	animation: ovz-swipe-wheel 1.5s ease-in-out infinite;
}

@keyframes ovz-swipe-wheel {
	0%, 100% { transform: translateY(-2px); opacity: 0.45; }
	50% { transform: translateY(8px); opacity: 1; }
}

.ovz-panel__toolbar {
	display: flex;
	flex-direction: column;
	flex-wrap: nowrap;
	align-items: center;
	gap: 14px;
}

.ovz-control--font {
	display: flex;
	flex-direction: column;
	gap: 4px;
	min-width: 0;
}

.ovz-select {
	appearance: none;
	-webkit-appearance: none;
	min-height: 48px;
	width: 76px;
	align-self: center;
	padding: 7px 24px 7px 9px;
	border: 1px solid rgba(0, 65, 130, 0.28);
	border-radius: 15px;
	background:
		linear-gradient(45deg, transparent 50%, #153d63 50%) calc(100% - 13px) 20px / 5px 5px no-repeat,
		linear-gradient(135deg, #153d63 50%, transparent 50%) calc(100% - 8px) 20px / 5px 5px no-repeat,
		linear-gradient(145deg, #ffffff 0%, #eaf3fb 100%);
	color: #153d63;
	font-size: 12px;
	font-weight: 700;
	box-shadow: 0 7px 16px rgba(16, 56, 92, 0.13), inset 0 1px 0 #ffffff;
	cursor: pointer;
	transition: transform 0.18s ease, box-shadow 0.18s ease;
}

.ovz-select:hover {
	transform: translateY(-1px);
	box-shadow: 0 9px 20px rgba(16, 56, 92, 0.2);
}

.ovz-select:focus-visible {
	outline: 3px solid var(--ovz-panel-focus);
	outline-offset: 2px;
}

.ovz-fieldset {
	margin: 0;
	padding: 0;
	border: none;
	min-width: 0;
}

.ovz-options {
	display: flex;
	flex-direction: column;
	flex-wrap: nowrap;
	align-items: center;
	gap: 6px;
	width: 76px;
	padding: 10px;
	border: 1px solid rgba(0, 65, 130, 0.2);
	border-radius: 18px;
	background: linear-gradient(155deg, rgba(255, 255, 255, 0.95), rgba(230, 240, 250, 0.78));
	box-shadow: 0 8px 20px rgba(16, 56, 92, 0.1), inset 0 1px 0 #ffffff;
	box-sizing: border-box;
}

.ovz-option {
	position: relative;
	display: inline-flex;
	cursor: pointer;
	border-radius: 14px;
	transition: transform 0.16s ease;
}

.ovz-option:hover {
	transform: translateY(-1px) scale(1.03);
}

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

.ovz-option:focus-within .ovz-scheme-preview {
	outline: 3px solid var(--ovz-panel-focus);
	outline-offset: 2px;
}

.ovz-scheme-preview {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	width: 44px;
	height: 44px;
	border: 1px solid rgba(0, 65, 130, 0.28);
	border-radius: 13px;
	background: linear-gradient(145deg, #ffffff 0%, #edf4fb 100%);
	color: var(--ovz-panel-color);
	font-weight: 700;
	font-size: 1rem;
	line-height: 1;
	box-shadow: 0 4px 10px rgba(16, 56, 92, 0.1);
	transition: border-color 0.15s ease, box-shadow 0.15s ease, background 0.15s ease;
	user-select: none;
}

.ovz-option input:checked + .ovz-scheme-preview {
	border-color: var(--ovz-panel-accent);
	background-color: #e5f2ff;
	box-shadow: 0 0 0 2px #ffffff, 0 0 0 4px var(--ovz-panel-accent), 0 7px 16px rgba(0, 65, 130, 0.2);
}

.ovz-scheme-preview--size {
	overflow: hidden;
}

.ovz-scheme-preview--spacing {
	white-space: nowrap;
	font-size: 0.9rem;
}

.ovz-scheme-preview--lines {
	padding: 2px;
	overflow: hidden;
}

.ovz-preview-lines {
	display: block;
	font-size: 0.72rem;
	text-align: center;
}

.ovz-icon-toggles {
	display: flex;
	flex-direction: column;
	flex-wrap: nowrap;
	align-items: center;
	gap: 6px;
}

.ovz-icon-btn {
	position: relative;
	display: inline-flex;
	align-items: center;
	justify-content: center;
	width: 52px;
	height: 52px;
	padding: 0;
	border: 1px solid rgba(0, 65, 130, 0.22);
	border-radius: 17px;
	background: linear-gradient(145deg, #ffffff 0%, #edf4fb 100%);
	color: #153d63;
	cursor: pointer;
	overflow: hidden;
	box-shadow: 0 7px 16px rgba(16, 56, 92, 0.13), inset 0 1px 0 rgba(255, 255, 255, 0.9);
	transition: transform 0.18s ease, box-shadow 0.18s ease, color 0.18s ease, background 0.18s ease;
}

.ovz-icon-btn,
.ovz-option,
.ovz-panel__collapse,
.ovz-panel-toggle {
	-webkit-touch-callout: none;
	-webkit-user-select: none;
	user-select: none;
	touch-action: manipulation;
}

.ovz-icon-btn .ovz-icon {
	width: 25px;
	height: 25px;
	position: relative;
	z-index: 1;
}

.ovz-icon-btn[aria-pressed="true"] {
	border-color: #005da8;
	background: linear-gradient(145deg, #0878cc 0%, #004182 100%);
	color: #ffffff;
	box-shadow: 0 8px 18px rgba(0, 65, 130, 0.3), inset 0 1px 0 rgba(255, 255, 255, 0.24);
}

.ovz-icon-btn.ovz-icon-btn--crossed::before {
	content: '';
	position: absolute;
	left: -4px;
	right: -4px;
	top: 50%;
	height: 2px;
	margin-top: -1px;
	background: currentColor;
	transform: rotate(-45deg);
	z-index: 2;
	pointer-events: none;
}

.ovz-icon-btn.ovz-icon-btn--crossed {
	color: #9d2130;
	border-color: rgba(157, 33, 48, 0.35);
	background: linear-gradient(145deg, #fffafa 0%, #ffecef 100%);
}

.ovz-icon-btn:hover,
.ovz-icon-btn:focus {
	outline: 3px solid var(--ovz-panel-focus);
	outline-offset: 2px;
	transform: translateY(-2px);
	box-shadow: 0 10px 22px rgba(16, 56, 92, 0.22);
}

.ovz-btn--reset,
.ovz-icon-btn--reset {
	width: 100%;
	min-height: 44px;
	margin: 0 auto 14px;
}

.ovz-icon-btn--reset .ovz-icon {
	width: 22px;
	height: 22px;
}

.ovz-panel-toggle {
	position: fixed;
	top: 50%;
	right: 0;
	z-index: 2147483001;
	display: inline-flex;
	align-items: center;
	justify-content: center;
	width: 60px;
	height: 60px;
	padding: 0;
	padding: 0 6px 0 0;
	border: 2px solid var(--ovz-panel-border);
	border-right: none;
	border-radius: 60px 0 0 60px;
	background: linear-gradient(180deg, #ffffff 0%, #f0f4f8 100%);
	color: var(--ovz-panel-accent);
	cursor: pointer;
	transform: translateY(-50%);
	box-shadow: -4px 0 16px rgba(0, 0, 0, 0.18);
	opacity: 0;
	visibility: hidden;
	pointer-events: none;
	transition: opacity 0.25s ease, visibility 0.25s ease, box-shadow 0.2s ease;
}

.ovz-panel-toggle.ovz-panel-toggle--visible {
	opacity: 1;
	visibility: visible;
	pointer-events: auto;
}

.ovz-panel-toggle:hover,
.ovz-panel-toggle:focus {
	outline: 3px solid #ffbf47;
	outline-offset: 2px;
	box-shadow: 0 6px 20px rgba(0, 65, 130, 0.25);
}

.ovz-panel-toggle svg {
	width: 28px;
	height: 28px;
}

.ovz-reading-guide {
	position: fixed;
	left: 0;
	right: 0;
	top: 0;
	height: 48px;
	margin-top: -24px;
	background: rgba(255, 191, 71, 0.35);
	border-top: 2px solid #ffbf47;
	border-bottom: 2px solid #ffbf47;
	pointer-events: none;
	z-index: 2147482000;
	transform: translate3d(0, 50vh, 0);
	will-change: transform;
	backface-visibility: hidden;
	transition: none;
}

/* Плавающие подсказки (без скролла панели) */
.ovz-tooltip-float {
	position: fixed;
	z-index: 2147483100;
	max-width: 280px;
	padding: 8px 12px;
	border-radius: 6px;
	background: #111111;
	color: #ffffff;
	font-family: Arial, Helvetica, sans-serif;
	font-size: 12px;
	font-weight: 400;
	line-height: 1.35;
	white-space: normal;
	pointer-events: none;
	box-shadow: 0 4px 16px rgba(0, 0, 0, 0.25);
	opacity: 0;
	visibility: hidden;
	transition: opacity 0.12s ease, visibility 0.12s ease;
}

.ovz-tooltip-float.ovz-tooltip-float--visible {
	opacity: 1;
	visibility: visible;
}

@media (max-width: 768px) {
	.ovz-panel {
		width: min(100px, 88vw);
	}

	.ovz-panel-toggle {
		width: 52px;
		height: 52px;
	}
}

/* ==========================================================================
   Глобальные стили режима для слабовидящих
   ========================================================================== */

html.ovz-active {
	--ovz-bg: #ffffff;
	--ovz-color: #000000;
	--ovz-link: #000000;
	--ovz-border: #000000;
}

html.ovz-active.ovz-scheme-bw { --ovz-bg: #ffffff; --ovz-color: #000000; --ovz-link: #000000; --ovz-border: #000000; }
html.ovz-active.ovz-scheme-wb { --ovz-bg: #000000; --ovz-color: #ffffff; --ovz-link: #ffffff; --ovz-border: #ffffff; }
html.ovz-active.ovz-scheme-blue { --ovz-bg: #9dd1ff; --ovz-color: #063462; --ovz-link: #063462; --ovz-border: #063462; }
html.ovz-active.ovz-scheme-beige { --ovz-bg: #f7f3d6; --ovz-color: #4d4b43; --ovz-link: #4d4b43; --ovz-border: #4d4b43; }
html.ovz-active.ovz-scheme-green { --ovz-bg: #3b2716; --ovz-color: #a9e44d; --ovz-link: #a9e44d; --ovz-border: #a9e44d; }

/* Подключаем режим OVZ к дизайн-токенам шаблона, как светлую/тёмную тему. */
html.ovz-active {
	--color-page-bg: var(--ovz-bg) !important;
	--color-surface: var(--ovz-bg) !important;
	--color-text-primary: var(--ovz-color) !important;
	--color-text-muted: var(--ovz-color) !important;
	--color-text-inverse: var(--ovz-color) !important;
	--color-text-footer-muted: var(--ovz-color) !important;
	--color-header-bar: var(--ovz-bg) !important;
	--color-footer-bg: var(--ovz-bg) !important;
	--color-search-bg: var(--ovz-bg) !important;
	--color-sidebar-bg: var(--ovz-bg) !important;
	--color-sidebar-bg-light: var(--ovz-bg) !important;
	--color-sidebar-bg-dark: var(--ovz-bg) !important;
	--color-sidebar-text: var(--ovz-color) !important;
	--color-sidebar-text-light: var(--ovz-color) !important;
	--color-sidebar-text-dark: var(--ovz-color) !important;
	--color-sidebar-muted: var(--ovz-color) !important;
	--color-sidebar-muted-dark: var(--ovz-color) !important;
	--color-sidebar-accent: var(--ovz-border) !important;
	--color-sidebar-submenu-flyout-bg: var(--ovz-bg) !important;
	--color-sidebar-submenu-rail: var(--ovz-border) !important;
	--color-brand-primary: var(--ovz-link) !important;
	--color-brand-primary-soft: var(--ovz-link) !important;
	--color-header-contact: var(--ovz-color) !important;
	--color-promo-btn-text: var(--ovz-color) !important;
	--color-focus-ring-on-dark: var(--ovz-border) !important;
	--shadow-card: none !important;
	--shadow-gos-card: none !important;
	--shadow-btn-hover: none !important;
	--shadow-service-hover: none !important;
	--shadow-news-hover: none !important;
	--color-sidebar-shadow: none !important;
}

html.ovz-active body {
	background-color: var(--ovz-bg) !important;
	color: var(--ovz-color) !important;
}

html.ovz-active body :where(
	p, span, div, li, td, th, dt, dd, label, h1, h2, h3, h4, h5, h6,
	blockquote, figcaption, article, section, aside, nav, main, header, footer,
	button, input, select, textarea, a, form, ul, ol, dl, table, tr, td, th
):where(:not(.ovz-panel):not(.ovz-panel *):not(.ovz-panel-toggle):not(.ovz-reading-guide):not(.ovz-img-alt):not(.banner-card)) {
	background-color: var(--ovz-bg) !important;
	color: var(--ovz-color) !important;
	border-color: var(--ovz-border) !important;
}

html.ovz-active body :where(
	button, input:not([type="hidden"]), select, textarea, a
):where(:not(.ovz-panel *):not(.ovz-panel-toggle):not(.banner-card)) {
	background-image: none !important;
	box-shadow: none !important;
}

/* Ссылка занимает всю news-card: фон на ней закрывал изображение и текст. */
html.ovz-active body .news-card__overlay {
	background: transparent !important;
	border: 0 !important;
	box-shadow: none !important;
}

html.ovz-active body .news-card__thumb,
html.ovz-active body .news-card__thumb img {
	background-color: transparent !important;
}

/* В режиме OVZ тени заменяются контрастной рамкой. */
html.ovz-active body :where(
	button,
	input:not([type="hidden"]),
	select,
	textarea,
	.btn,
	a[class~="btn"],
	[class$="__btn"],
	[class*="__btn "],
	[class$="-card"],
	[class*="-card "],
	[class$="__card"],
	[class*="__card "],
	.news-border
):where(:not(.ovz-panel):not(.ovz-panel *):not(.ovz-panel-toggle):not(.news-card__overlay)) {
	border: 1px solid var(--ovz-border) !important;
	box-shadow: none !important;
	box-sizing: border-box;
}

html.ovz-active body :where(
	.news-card,
	.service-card,
	.promo-card,
	.banner-card,
	.feedback-page__card,
	.sidebar__submenu-card
):hover {
	box-shadow: none !important;
	border-color: var(--ovz-border) !important;
}

html.ovz-active body :where(
	.sidebar__link.sidebar__link--toggle,
	.sidebar__submenu-card
) {
	border: 0 !important;
	box-shadow: none !important;
}

html.ovz-active body :where(
	.hero-slider,
	.visitor-feedback,
	.documents-page__item
) {
	border: 1px solid var(--ovz-border) !important;
	box-shadow: none !important;
	box-sizing: border-box;
}

html.ovz-active body .feedback-form__file {
	background: transparent !important;
	background-image: none !important;
	color: var(--ovz-color) !important;
	border: 1px solid var(--ovz-border) !important;
	box-shadow: none !important;
}

html.ovz-active body .hero-slider__btn.btn {
	background: transparent !important;
	background-image: none !important;
}

html.ovz-active body .hero-slider__pagination-wrap,
html.ovz-active body .hero-slider__bullets,
html.ovz-active body .hero-slider__pagination-wrap .swiper-pagination {
	background: transparent !important;
	background-color: transparent !important;
}

html.ovz-active body .channel-modal__wrapper {
	background: var(--ovz-bg) !important;
	background-image: none !important;
	color: var(--ovz-color) !important;
	border: 1px solid var(--ovz-border) !important;
}

html.ovz-active body .channel-modal__button {
	border: 1px solid var(--ovz-border) !important;
	box-shadow: none !important;
}

html.ovz-active body .legal-page__meta-item,
html.ovz-active body .mission-page__chip {
	border: 1px solid var(--ovz-border) !important;
	box-shadow: none !important;
}

html.ovz-active body .sidebar__link--active {
	font-weight: 700 !important;
}

html.ovz-active body .sidebar__collapse {
	border: 2px solid var(--ovz-border) !important;
	border-radius: 50% !important;
	box-sizing: border-box;
}

html.ovz-active body .sidebar__collapse-img {
	visibility: hidden !important;
}

html.ovz-active body .sidebar__collapse::after {
	content: "";
	position: absolute;
	top: 50%;
	left: 50%;
	width: 8px;
	height: 8px;
	border-right: 2px solid var(--ovz-border);
	border-bottom: 2px solid var(--ovz-border);
	transform: translate(-65%, -50%) rotate(-45deg);
}

/* Растровые SVG/PNG-иконки приводим к цвету обводки выбранной схемы. */
html.ovz-active body :where(
	.sidebar__link-icon,
	.sidebar__footer-icon,
	.sidebar__collapse-img,
	.sidebar__logo-img,
	.page__header img,
	.header img,
	.channel-modal__icon,
	.channel-modal__logo,
	.sidebar__theme-toggle-img
) {
	opacity: 1 !important;
}

html.ovz-active.ovz-scheme-bw body :where(
	.sidebar__link-icon, .sidebar__footer-icon, .sidebar__collapse-img,
	.sidebar__logo-img, .page__header img, .header img, .channel-modal__icon, .channel-modal__logo, .sidebar__theme-toggle-img
) {
	filter: brightness(0) saturate(100%) !important;
}

html.ovz-active.ovz-scheme-wb body :where(
	.sidebar__link-icon, .sidebar__footer-icon, .sidebar__collapse-img,
	.sidebar__logo-img, .page__header img, .header img, .channel-modal__icon, .channel-modal__logo, .sidebar__theme-toggle-img
) {
	filter: brightness(0) saturate(100%) invert(1) !important;
}

html.ovz-active.ovz-scheme-blue body :where(
	.sidebar__link-icon, .sidebar__footer-icon, .sidebar__collapse-img,
	.sidebar__logo-img, .page__header img, .header img, .channel-modal__icon, .channel-modal__logo, .sidebar__theme-toggle-img
) {
	filter: brightness(0) saturate(100%) invert(18%) sepia(31%) saturate(1633%) hue-rotate(169deg) brightness(87%) contrast(103%) !important;
}

html.ovz-active.ovz-scheme-beige body :where(
	.sidebar__link-icon, .sidebar__footer-icon, .sidebar__collapse-img,
	.sidebar__logo-img, .page__header img, .header img, .channel-modal__icon, .channel-modal__logo, .sidebar__theme-toggle-img
) {
	filter: brightness(0) saturate(100%) invert(29%) sepia(5%) saturate(984%) hue-rotate(10deg) brightness(94%) contrast(86%) !important;
}

html.ovz-active.ovz-scheme-green body :where(
	.sidebar__link-icon, .sidebar__footer-icon, .sidebar__collapse-img,
	.sidebar__logo-img, .page__header img, .header img, .channel-modal__icon, .channel-modal__logo, .sidebar__theme-toggle-img
) {
	filter: brightness(0) saturate(100%) invert(87%) sepia(45%) saturate(745%) hue-rotate(30deg) brightness(94%) contrast(91%) !important;
}

html.ovz-active body .page__header svg,
html.ovz-active body .header svg {
	color: var(--ovz-border) !important;
}

html.ovz-active body :where(a, a:visited):not(.ovz-panel a):not(.ovz-panel-toggle) {
	color: var(--ovz-link) !important;
}

html.ovz-active.ovz-font-arial body,
html.ovz-active.ovz-font-arial body *:not(.ovz-panel):not(.ovz-panel *):not(.ovz-panel-toggle) {
	font-family: Arial, Helvetica, sans-serif !important;
}

html.ovz-active.ovz-font-times body,
html.ovz-active.ovz-font-times body *:not(.ovz-panel):not(.ovz-panel *):not(.ovz-panel-toggle) {
	font-family: "Times New Roman", Times, serif !important;
}

html.ovz-active.ovz-size-100 { --ovz-text-scale: 1; }
html.ovz-active.ovz-size-150 { --ovz-text-scale: 1.5; }
html.ovz-active.ovz-size-200 { --ovz-text-scale: 2; }

html.ovz-active.ovz-hide-images img:not(.ovz-panel img):not(.ovz-panel-toggle img):not(.sidebar__link-icon):not(.page__header img):not(.header img),
html.ovz-active.ovz-hide-images picture img:not(.sidebar__link-icon):not(.page__header img):not(.header img) {
	position: absolute !important;
	width: 1px !important;
	height: 1px !important;
	padding: 0 !important;
	margin: -1px !important;
	overflow: hidden !important;
	clip: rect(0, 0, 0, 0) !important;
	white-space: nowrap !important;
	border: 0 !important;
	visibility: hidden !important;
	opacity: 0 !important;
}

html.ovz-active.ovz-hide-images .ovz-img-alt {
	display: inline-block !important;
	visibility: visible !important;
	opacity: 1 !important;
	max-width: 100%;
	padding: 8px 12px;
	margin: 4px 0;
	border: 1px dashed var(--ovz-border) !important;
	background-color: var(--ovz-bg) !important;
	color: var(--ovz-color) !important;
	font-style: italic;
	line-height: 1.4;
	box-sizing: border-box;
}

.ovz-img-alt {
	display: none !important;
}

html.ovz-active.ovz-hide-images svg:not(.ovz-panel svg):not(.ovz-panel-toggle svg):not(.page__header svg):not(.header svg),
html.ovz-active.ovz-hide-images video,
html.ovz-active.ovz-hide-images iframe,
html.ovz-active.ovz-hide-images canvas,
html.ovz-active.ovz-hide-images [role="img"]:not(.ovz-panel [role="img"]):not(.ovz-img-alt) {
	visibility: hidden !important;
	opacity: 0 !important;
}

html.ovz-active.ovz-spacing-normal body,
html.ovz-active.ovz-spacing-normal body *:not(.ovz-panel):not(.ovz-panel *):not(.ovz-panel-toggle) { letter-spacing: normal !important; }
html.ovz-active.ovz-spacing-2 body,
html.ovz-active.ovz-spacing-2 body *:not(.ovz-panel):not(.ovz-panel *):not(.ovz-panel-toggle) { letter-spacing: 2px !important; }
html.ovz-active.ovz-spacing-4 body,
html.ovz-active.ovz-spacing-4 body *:not(.ovz-panel):not(.ovz-panel *):not(.ovz-panel-toggle) { letter-spacing: 4px !important; }

html.ovz-active.ovz-lh-normal body,
html.ovz-active.ovz-lh-normal body *:not(.ovz-panel):not(.ovz-panel *):not(.ovz-panel-toggle) { line-height: 1.4 !important; }
html.ovz-active.ovz-lh-1_5 body,
html.ovz-active.ovz-lh-1_5 body *:not(.ovz-panel):not(.ovz-panel *):not(.ovz-panel-toggle) { line-height: 1.5 !important; }
html.ovz-active.ovz-lh-2 body,
html.ovz-active.ovz-lh-2 body *:not(.ovz-panel):not(.ovz-panel *):not(.ovz-panel-toggle) { line-height: 2 !important; }

html.ovz-active.ovz-underline-links a:not(.ovz-panel a):not(.ovz-panel-toggle) {
	text-decoration: underline !important;
	text-underline-offset: 0.15em;
}

html.ovz-active.ovz-no-animation *,
html.ovz-active.ovz-no-animation *::before,
html.ovz-active.ovz-no-animation *::after {
	animation: none !important;
	transition: none !important;
	scroll-behavior: auto !important;
}

html.ovz-active.ovz-large-cursor,
html.ovz-active.ovz-large-cursor * {
	cursor: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='48' height='48' viewBox='0 0 24 24'%3E%3Cpath fill='%23000' stroke='%23fff' stroke-width='1' d='M4 4l7 18 2.5-7.5L21 12z'/%3E%3C/svg%3E") 4 4, auto !important;
}

html.ovz-active.ovz-monochrome body :where(
	img,
	picture,
	video,
	canvas,
	iframe,
	[style*="background-image"]
):not(.ovz-panel):not(.ovz-panel *):not(.sidebar img):not(.page__header img):not(.header img):not(.channel-modal__icon):not(.channel-modal__logo) {
	filter: grayscale(100%) !important;
}

html.ovz-active.ovz-monochrome body .banner-card:not(.banner-card--add) {
	filter: grayscale(100%) !important;
}

html.ovz-active :focus-visible:not(.ovz-panel *):not(.ovz-panel-toggle) {
	outline: 3px solid #ffbf47 !important;
	outline-offset: 3px !important;
}

.ovz-panel,
.ovz-panel *,
.ovz-panel-toggle {
	filter: none !important;
}

@media print {
	.ovz-panel,
	.ovz-panel-toggle,
	.ovz-reading-guide {
		display: none !important;
	}
}

html.ovz-active.ovz-lh-normal body span.news-external__badge,
html.ovz-active.ovz-lh-normal body span.news-documents__icon,
html.ovz-active.ovz-lh-normal body p.anti-corruption-card__text {
  border: 1px solid !important;
}

html.ovz-active.ovz-lh-normal body #sidebar {
	border-right: 1px solid !important;
}

html.ovz-active.ovz-lh-normal body span.news-card__more {
	border: 1px solid;
    padding: 5px 15px;
    border-radius: 8px;
}

/* End */


/* Start:/local/templates/ukmpsit/components/bitrix/search.suggest.input/header/style.css?178801033784*/
/* Стили подсказок — в styles.css (попап в document.body) */

/* End */


/* Start:/local/templates/ukmpsit/styles.css?1789046434124855*/
*,
*::before,
*::after {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  font-family: var(--font-family);
  font-size: var(--font-size-body);
  color: var(--color-text-primary);
  background: var(--color-page-bg);
  min-height: 100vh;
}

img {
  max-width: 100%;
  height: auto;
  display: block;
}

a {
  color: inherit;
  text-decoration: none;
}

button {
  font-family: inherit;
  cursor: pointer;
  border: none;
  background: none;
}

.btn {
  display: inline-flex;
  gap: 8px;
  align-items: center;
  justify-content: center;
  min-height: 44px;
  padding: 0 28px;
  border-radius: var(--radius-sm);
  background: var(--color-brand-primary);
  color: var(--color-text-inverse);
  font-size: var(--font-size-small);
  font-weight: 500;
  transition:
    transform 0.2s var(--ease-out),
    box-shadow 0.2s var(--ease-out);
}

.btn:hover {
  transform: translateY(-2px);
  box-shadow: var(--shadow-btn-hover);
}

/* ----- Layout ----- */
.page {
  min-height: 100vh;
}

.page__shell {
  position: relative;
  margin-left: var(--sidebar-width);
  transition: margin-left var(--duration-normal) var(--ease-out);
}

/* Режим правки: обёртки компонентов не должны ломать layout */
.page [id^="bx_incl_area_"] {
  display: contents;
}

.bx-context-toolbar-empty-area {
  display: contents;
}

.page__header {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: var(--header-height);
  z-index: 30;
}

.page__main,
.page__main_home {
  min-width: 0;
}

.page__main {
  padding-top: var(--header-height);
}

/* ----- Header ----- */
.header {
  display: flex;
  align-items: center;
  justify-content: flex-end;
  gap: 32px;
  padding: 0 40px 0 24px;
  background: var(--color-header-bar);
  height: 44px;
  position: relative;
}

.header__contacts {
  display: flex;
  align-items: center;
  gap: 28px;
}

.header__contact {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  color: var(--color-header-contact);
  font-size: var(--font-size-small);
  transition: opacity var(--duration-normal) var(--ease-out);
}

.header__contact:hover {
  opacity: 0.85;
}

.header__contact-icon {
  width: 18px;
  height: 18px;
  flex-shrink: 0;
}

.header__contact-icon img {
  width: 100%;
  height: 100%;
}

.header__search {
  flex: 1;
  max-width: 320px;
  height: 27px;
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 0 12px 0 14px;
  background: var(--color-text-inverse);
  border-radius: var(--radius-md);
  transition: box-shadow var(--duration-normal) var(--ease-out);
}

.header__search:focus-within {
  box-shadow: 0 0 0 2px var(--color-focus-ring-on-dark);
}

.header__search-icon {
  width: 16px;
  height: 16px;
  flex-shrink: 0;
  opacity: 0.85;
}

.header__search-icon img {
  width: 100%;
  height: 100%;
}

[data-menu-theme="dark"] .header__search-icon {
  filter: grayscale(1);
}

.header__search-input {
  font-family: var(--font-family);
  flex: 1;
  min-width: 0;
  height: 100%;
  border: none;
  background: transparent;
  font-size: var(--font-size-small);
  line-height: 1.2;
  color: var(--color-text-muted);
  outline: none;
}

.header__search-input.search-suggest {
  flex: 1;
  min-width: 0;
}

.header__search-input::placeholder {
  color: var(--color-text-muted);
}

.header__search-suggest-frame {
  display: none;
  width: 0;
  height: 0;
  border: 0;
}

/* Search suggest popup (JsSuggest → document.body) */
.search-popup,
div.search-popup {
  z-index: 1000;
  box-sizing: border-box;
  display: flex;
  flex-direction: column;
  gap: 6px;
  overflow: visible;
  padding: 0 10px;
  margin: 0;
  border: 2px solid rgb(0 107 60);
  border-radius: var(--radius-md);
  background: #ffffff;
  box-shadow: none;
  font-family: var(--font-family);
  margin-top: 5px;
  width: stretch !important;
  max-width: 320px;
  right: 40px;
  left: auto !important;
  transition: box-shadow var(--duration-normal) var(--ease-out);
}

.search-popup-row,
div.search-popup-row,
.search-popup-row-active,
div.search-popup-row-active {
  display: flex;
  align-items: center;
  gap: 8px;
  height: 27px;
  padding: 0 12px 0 14px;
  margin: 0;
  background: var(--color-text-inverse);
  font-family: var(--font-family);
  border-radius: var(--radius-md);
  box-sizing: border-box;
  cursor: pointer;
  transition: box-shadow var(--duration-normal) var(--ease-out);
}

.search-popup-row-active,
div.search-popup-row-active {
  box-shadow: 0 0 0 2px var(--color-focus-ring-on-dark);
}

.search-popup-el,
div.search-popup-el {
  position: relative;
  font-family: var(--font-family);
  margin: 0;
  padding: 0;
  line-height: 1.2;
}

.search-popup-el-name,
div.search-popup-el-name {
  order: 1;
  flex: 1;
  min-width: 0;
  text-align: left;
  font-size: var(--font-size-small);
  font-family: var(--font-family); 
  font-weight: 400;
  color: var(--color-text-muted);
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.search-popup-row-active .search-popup-el-name,
div.search-popup-row-active .search-popup-el-name {
  color: var(--color-text-muted);
}

.search-popup-el-cnt,
div.search-popup-el-cnt {
  order: 2;
  flex-shrink: 0;
  float: none;
  text-align: right;
  font-size: 11px;
  font-weight: 500;
  line-height: 1.2;
  color: var(--color-text-muted);
  opacity: 0.75;
}

.search-popup-row-active .search-popup-el-cnt,
div.search-popup-row-active .search-popup-el-cnt {
  opacity: 1;
}

.header__burger {
  display: none;
  width: 44px;
  height: 44px;
  align-items: center;
  justify-content: center;
  border-radius: 12px;
  color: var(--color-text-inverse);
}

/* ----- Sidebar ----- */
.sidebar {
  position: fixed;
  top: 0;
  left: 0;
  z-index: 40;
  width: var(--sidebar-width);
  height: 100vh;
  height: -webkit-fill-available;
  background: var(--color-sidebar-bg);
  box-shadow: var(--color-sidebar-shadow);
  transition:
    width var(--duration-normal) var(--ease-out),
    background var(--duration-normal) var(--ease-out);
}

.sidebar__inner {
  position: relative;
  display: flex;
  flex-direction: column;
  height: 100%; 
}

.sidebar__head {
  position: relative;
  flex-shrink: 0;
  z-index: 1;
  padding-right: 8px;
  padding-top: 50px;
}

.sidebar__scroll {
  overflow-y: auto;
}

.sidebar__scroll::-webkit-scrollbar {
  width: 4px;
  height: 4px;
}

.sidebar__scroll::-webkit-scrollbar-button {
  display: none;
  width: 0;
  height: 0;
}

.sidebar__scroll::-webkit-scrollbar-thumb {
  background: var(--color-brand-primary-soft);
  border-radius: 4px;
}

.sidebar__scroll::-webkit-scrollbar-track {
  background: var(--color-sidebar-bg);
}

.sidebar__logo {
  display: block;
  padding: 0 29px 0;
  margin-bottom: 38px;
}

.sidebar__logo-img--full {
  width: 100%;
  max-width: 267px;
  height: auto;
}

.sidebar__logo .sidebar__logo-img {
  display: none;
}

/* Логотипы: только одна картинка видима — full/mini и light/dark независимы */
[data-menu-theme="light"][data-menu-width="expanded"] .sidebar__logo-img--full.sidebar__logo-img--light {
  display: block;
}

[data-menu-theme="light"][data-menu-width="expanded"] .sidebar__logo-img--full.sidebar__logo-img--dark,
[data-menu-theme="light"][data-menu-width="expanded"] .sidebar__logo-img--mini {
  display: none !important;
}

[data-menu-theme="dark"][data-menu-width="expanded"] .sidebar__logo-img--full.sidebar__logo-img--dark {
  display: block;
}

[data-menu-theme="dark"][data-menu-width="expanded"] .sidebar__logo-img--full.sidebar__logo-img--light,
[data-menu-theme="dark"][data-menu-width="expanded"] .sidebar__logo-img--mini {
  display: none !important;
}

[data-menu-theme="light"][data-menu-width="collapsed"] .sidebar__logo-img--mini.sidebar__logo-img--light {
  display: block;
  max-width: 70px;
  margin: 0 auto;
}

[data-menu-theme="light"][data-menu-width="collapsed"] .sidebar__logo-img--full,
[data-menu-theme="light"][data-menu-width="collapsed"] .sidebar__logo-img--mini.sidebar__logo-img--dark {
  display: none !important;
}

[data-menu-theme="dark"][data-menu-width="collapsed"] .sidebar__logo-img--mini.sidebar__logo-img--dark {
  display: block;
  max-width: 70px;
  margin: 0 auto;
}

[data-menu-theme="dark"][data-menu-width="collapsed"] .sidebar__logo-img--full,
[data-menu-theme="dark"][data-menu-width="collapsed"] .sidebar__logo-img--mini.sidebar__logo-img--light {
  display: none !important;
}

[data-menu-width="collapsed"] .sidebar__logo {
  padding: 0 16px;
  margin-bottom: 8px;
}

.sidebar__divider {
  height: 1px;
  margin: 0 25px 0 29px;
  background: radial-gradient(
    circle at 50% 50%,
    var(--color-brand-primary) 0%,
    transparent 100%
  );
  opacity: 0.9;
}

[data-menu-theme="dark"] .sidebar__divider {
  background: radial-gradient(
    circle at 50% 50%,
    var(--color-sidebar-divider-dark-core) 0%,
    transparent 100%
  );
}

.sidebar__nav {
  display: flex;
  flex-direction: column;
  gap: 40px;
  padding: 40px 25px 40px 29px;
}

.sidebar__nav-block {
  display: flex;
  flex-direction: column;
  gap: 30px;
}

.sidebar__link {
  display: flex;
  align-items: center;
  gap: 15px;
  font-size: var(--font-size-nav);
  line-height: 1.19;
  color: var(--color-sidebar-text);
  border-radius: 12px;
  padding: 4px 0;
  transition:
    color var(--duration-normal) var(--ease-out),
    transform var(--duration-normal) var(--ease-out);
}

.sidebar__link:hover {
  color: var(--color-sidebar-accent);
  transform: translateX(2px);
}

.sidebar__link--active {
  color: var(--color-sidebar-accent);
  font-weight: 500 !important;
}

.sidebar__link--add {
  margin-top: 4px;
  display: flex;
  align-items: center;
  gap: 15px;
  padding: 8px 12px;
  text-decoration: none;
}

.sidebar__link--add:hover {
  color: var(--color-sidebar-accent);
  transform: none;
}

.sidebar__link-icon {
  width: 20px;
  height: 20px;
  flex-shrink: 0;
  display: block;
  object-fit: contain;
}

[data-menu-theme="dark"] .sidebar__link-icon,
[data-menu-theme="dark"] .sidebar__footer-icon {
  filter: brightness(0) invert(1);
}

.sidebar__footer-icon {
  width: 20px;
  height: 20px;
  flex-shrink: 0;
  object-fit: contain;
}

.sidebar__link-text {
  white-space: normal;
  font-size: var(--font-size-body);
}

/* ----- Sidebar: пункт с подменю ----- */
.sidebar__item--has-submenu {
  position: relative;
  z-index: 1;
}

.sidebar__link--toggle {
  appearance: none;
  -webkit-appearance: none;
  margin: 0;
  border: none;
  background: none;
  width: 100%;
  font: inherit;
  cursor: pointer;
  text-align: left;
}

.sidebar__link--toggle:focus-visible,
.sidebar__submenu-link:focus-visible {
  outline: 2px solid var(--color-brand-primary);
  outline-offset: 2px;
}

.sidebar__item--open .sidebar__link--toggle {
  padding: 12px 16px;
  border-radius: var(--radius-sidebar-submenu-trigger);
  background: var(--color-brand-primary);
  color: var(--color-text-inverse);
  font-weight: 500;
}

.sidebar__item--open .sidebar__link--toggle:hover {
  color: var(--color-text-inverse);
  transform: none;
}

.sidebar__item--open .sidebar__link--toggle .sidebar__link-icon {
  filter: brightness(0) invert(1);
}

.sidebar__submenu {
  box-sizing: border-box;
}

.sidebar__submenu-body {
  display: flex;
  align-items: stretch;
  gap: 5px;
  padding-top: 4px;
}

[data-menu-width="expanded"] .sidebar__item--has-submenu .sidebar__submenu-body {
  padding-left: 16px;
  padding-right: 4px;
}

.sidebar__submenu-rail {
  position: relative;
  flex-shrink: 0;
  width: 16px;
  align-self: stretch;
  min-height: 3.5rem;
}

[data-menu-width="collapsed"] .sidebar__submenu-rail {
  width: 3%;
}

.sidebar__submenu-rail::before {
  content: "";
  position: absolute;
  left: 50%;
  top: 0;
  bottom: 0;
  width: 2px;
  margin-left: -1px;
  background: var(--color-sidebar-submenu-rail);
  border-radius: 1px;
}

.sidebar__submenu-card {
  flex: 1;
  min-width: 0;
}

[data-menu-width="expanded"] .sidebar__submenu-card {
  background: transparent;
  box-shadow: none;
  padding: 0;
}

[data-menu-width="collapsed"] .sidebar__submenu-card {
  padding: 4px;
  border-radius: var(--radius-sidebar-flyout);
  background: var(--color-sidebar-submenu-flyout-bg);
  box-shadow: var(--shadow-card);
}

.sidebar__submenu-list {
  margin: 0;
  padding: 13px 3px 4px;
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.sidebar__submenu-item {
  position: relative;
  margin: 0;
  padding: 0;
}

.sidebar__submenu-item::before {
  content: "";
  position: absolute;
  left: -17px;
  top: 50%;
  width: 12px;
  height: 12px;
  border-left: 2px solid var(--color-sidebar-submenu-rail);
  border-bottom: 2px solid var(--color-sidebar-submenu-rail);
  border-bottom-left-radius: 7px;
  transform: translateY(-65%);
  pointer-events: none;
}

.sidebar__submenu-link {
  display: block;
  padding: 8px 14px;
  border-radius: 6px;
  font-size: var(--font-size-sidebar-submenu);
  line-height: 1.25;
  color: var(--color-sidebar-text);
  text-decoration: none;
  transition:
    color var(--duration-normal) var(--ease-out),
    background-color var(--duration-normal) var(--ease-out);
}

.sidebar__submenu-link:hover {
  color: var(--color-sidebar-accent);
}

[data-menu-width="collapsed"] .sidebar__submenu-link {
  font-size: var(--font-size-sidebar-submenu-flyout);
}

/* Развёрнутое меню: подменю «выкатывается» вниз (grid 0fr → 1fr) */
[data-menu-width="expanded"] .sidebar__item--has-submenu .sidebar__submenu {
  display: grid;
  grid-template-rows: 0fr;
  opacity: 1;
  transition: grid-template-rows var(--duration-submenu) var(--ease-out);
}

[data-menu-width="expanded"] .sidebar__item--has-submenu.sidebar__item--open .sidebar__submenu {
  grid-template-rows: 1fr;
}

[data-menu-width="expanded"] .sidebar__item--has-submenu .sidebar__submenu-body {
  min-height: 0;
  overflow: hidden;
}

/* Свернутое меню: панель справа от иконки, fixed — не обрезается .sidebar__scroll */
/* Закрыто: transition none — иначе при смене ширины меню анимируется opacity 1→0 и виден fixed-flyout. */
[data-menu-width="collapsed"] .sidebar__item--has-submenu .sidebar__submenu {
  display: block;
  position: fixed;
  z-index: 55;
  top: var(--sidebar-submenu-flyout-top, 0);
  left: var(--sidebar-submenu-flyout-left, 0);
  width: max-content;
  min-width: var(--sidebar-submenu-flyout-min-width);
  max-width: min(288px, calc(100vw - var(--sidebar-width) - 16px));
  margin: 0;
  padding: 0;
  pointer-events: none;
  opacity: 0;
  visibility: hidden;
  transform: translate3d(-8px, 0, 0);
  transition: none;
}

[data-menu-width="collapsed"] .sidebar__item--has-submenu .sidebar__submenu .sidebar__submenu-body {
  overflow: visible;
  padding-top: 0;
  padding-left: 0px;
}

[data-menu-width="collapsed"] .sidebar__item--has-submenu.sidebar__item--open .sidebar__submenu {
  pointer-events: auto;
  opacity: 1;
  visibility: visible;
  transform: translate3d(0, 0, 0);
  transition:
    opacity var(--duration-submenu) var(--ease-out),
    visibility var(--duration-submenu) var(--ease-out),
    transform var(--duration-submenu) var(--ease-out);
}

@media (prefers-reduced-motion: reduce) {
  [data-menu-width="expanded"] .sidebar__item--has-submenu .sidebar__submenu,
  [data-menu-width="collapsed"] .sidebar__item--has-submenu.sidebar__item--open .sidebar__submenu {
    transition-duration: 0.01ms;
  }
}

@supports not (grid-template-rows: 0fr) {
  [data-menu-width="expanded"] .sidebar__item--has-submenu .sidebar__submenu {
    display: block;
    max-height: 0;
    overflow: hidden;
    transition: max-height var(--duration-submenu) var(--ease-out);
  }

  [data-menu-width="expanded"] .sidebar__item--has-submenu.sidebar__item--open .sidebar__submenu {
    max-height: var(--sidebar-submenu-max-height);
  }

  [data-menu-width="expanded"] .sidebar__item--has-submenu .sidebar__submenu-body {
    overflow: visible;
  }
}

[data-menu-width="collapsed"] .sidebar__link-text,
[data-menu-width="collapsed"] .sidebar__theme-label,
[data-menu-width="collapsed"] .sidebar__footer-link span {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  border: 0;
}

[data-menu-width="collapsed"] .sidebar__nav,
[data-menu-width="collapsed"] .sidebar__footer {
  align-items: center;
  padding-left: 16px;
  padding-right: 16px;
  padding-top: 16px;
  padding-bottom: 6px;
}

[data-menu-width="collapsed"] .sidebar__head {
  padding-top: 40px;
}

[data-menu-width="collapsed"] .sidebar__link {
  justify-content: center;
  padding: 8px;
}

[data-menu-width="collapsed"] .sidebar__divider {
  margin: 20px 30px;
  width: 70px;
  align-self: center;
}

.sidebar__footer {
  display: flex;
  flex-direction: column;
  gap: 20px;
  padding: 40px 25px 40px 29px;
}

.sidebar__footer-row {
  display: flex;
  flex-direction: column;
  gap: 20px;
  padding-bottom: 40px;
}

[data-menu-width="collapsed"] .sidebar__footer-row {
  padding-bottom: 0;
}

.sidebar__footer-link {
  display: flex;
  align-items: center;
  gap: 15px;
  font-size: var(--font-size-body);
  color: var(--color-sidebar-text);
  transition: color var(--duration-normal) var(--ease-out);
}

.sidebar__footer-link:hover {
  color: var(--color-sidebar-accent);
}

.sidebar__theme {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  width: 100%;
  max-width: 240px;
  padding-top: 20px;
  margin: 0 auto;
}

[data-menu-width="collapsed"] .sidebar__theme {
  padding: 0;
  width: auto;
  max-width: fit-content;
}

.sidebar__theme-toggle {
  position: relative;
  width: 70px;
  height: 40px;
  padding: 0;
  flex-shrink: 0;
  border-radius: 0;
  background: transparent;
}

[data-menu-theme="dark"] .sidebar__theme-toggle {
  filter: grayscale(1);
}

.sidebar__theme-toggle-img {
  position: absolute;
  inset: 0;
  width: 70px;
  height: 40px;
  display: block;
  pointer-events: none;
}

.sidebar__theme-toggle-img--for-light {
  opacity: 1;
  visibility: visible;
}

.sidebar__theme-toggle-img--for-dark {
  opacity: 0;
  visibility: hidden;
}

[data-menu-theme="dark"] .sidebar__theme-toggle-img--for-light {
  opacity: 0;
  visibility: hidden;
}

[data-menu-theme="dark"] .sidebar__theme-toggle-img--for-dark {
  opacity: 1;
  visibility: visible;
}

.sidebar__theme-label {
  font-size: var(--font-size-body);
  color: var(--color-sidebar-text);
  white-space: nowrap;
}

[data-menu-theme="dark"] .sidebar__theme-label--light {
  color: var(--color-sidebar-muted);
  font-weight: 400;
}

[data-menu-theme="dark"] .sidebar__theme-label--dark {
  color: var(--color-text-inverse);
  font-weight: 500;
}

[data-menu-theme="light"] .sidebar__theme-label--light {
  color: var(--color-brand-primary);
  font-weight: 500;
}

[data-menu-theme="light"] .sidebar__theme-label--dark {
  color: var(--color-sidebar-text);
  font-weight: 400;
}

.sidebar__collapse {
  position: absolute;
  top: 50px;
  right: -15px;
  width: 30px;
  height: 30px;
  padding: 0;
  border-radius: 30px;
  background: transparent;
  backdrop-filter: blur(180px);
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 2;
  transition: transform var(--duration-normal) var(--ease-out);
}

[data-menu-width="expanded"] .sidebar__collapse {
  transform: scaleX(-1);
}

[data-menu-width="collapsed"] .sidebar__collapse {
  transform: scaleX(1);
}

.sidebar__collapse-img {
  width: 30px;
  height: 30px;
  display: block;
  transition: transform var(--duration-normal) var(--ease-out);
}

[data-menu-theme="dark"] .sidebar__collapse-img {
  filter: grayscale(1);
}

/* overlay mobile */
.sidebar__overlay {
  display: none;
  position: fixed;
  inset: 0;
  background: var(--color-overlay-backdrop);
  z-index: 35;
  opacity: 0;
  pointer-events: none;
  transition: opacity var(--duration-normal) var(--ease-out);
}

.sidebar__overlay--visible {
  opacity: 1;
  pointer-events: auto;
}

/* ----- Sections ----- */
.section {
  padding: 0 3%;
  max-width: 100%;
  margin: 0 auto;
}

.section__breadcrumbs {
  position: relative;
  z-index: 1;
  margin-bottom: 24px;
}

.section__breadcrumbs .page-reveal.page-reveal--show {
  z-index: auto;
}

.page__breadcrumbs-shell--bottom {
  padding: 0 3%;
}

.page__breadcrumbs-shell--bottom {
  padding-bottom: 64px;
  padding-top: 64px;
}

.news-detail__breadcrumbs-after-content {
  padding-top: 10px;
}

.legal-page .news-detail__breadcrumbs-after-content,
.news-detail__inner .news-detail__breadcrumbs-after-content {
  padding-top: 64px;
}

.section--hero {
  padding-top: 3%;
  padding-bottom: 3%;
}

.section__title {
  margin: 0 0 32px;
  font-size: var(--font-size-section-title);
  font-weight: 400;
  line-height: 1.19;
  color: var(--color-text-primary);
}

/* Hero — сетка на внутреннем блоке, у слайда height: auto (иначе Swiper даёт height:100% и схлопывание) */
.hero-slider.swiper {
  position: relative;
  width: 100%;
  padding-bottom: 0px;
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-card);
  background: var(--color-surface);
  overflow: hidden;
}

@media (min-width: 1600px) {
  .hero-slider.swiper {
    min-height: 400px;
  }
  .hero-slider__layout {
    min-height: 400px;
  }
  .hero-slider__content {
    min-height: 400px;
  }
}

.hero-slider .swiper-wrapper {
  box-sizing: border-box;
  align-items: stretch;
}

.hero-slider .swiper-slide {
  position: relative;
  height: max-content;
  box-sizing: border-box;
}

/* Единая высота ряда: max по текстовым слайдам; при fullbleed — как у самого высокого текстового (задаётся JS + --hero-slide-height) */
.hero-slider.swiper.hero-slider--unified-height .swiper-wrapper {
  height: var(--hero-slide-height) !important;
}

@media (min-width: 1600px) {
  /* 400px блока минус padding-bottom под буллеты — не ниже расчёта JS */
  .hero-slider.swiper.hero-slider--unified-height .swiper-wrapper {
    height: max(var(--hero-slide-height, 0px), 400px) !important;
  }
}

.hero-slider.swiper.hero-slider--unified-height .swiper-slide {
  height: 100%;
}

.hero-slider--unified-height .hero-slider__layout:not(.hero-slider__layout--image-only) {
  min-height: 100%;
  height: 100%;
}

.hero-slider--unified-height .hero-slider__layout--image-only {
  min-height: 100% !important;
  height: 100%;
}

.hero-slider--unified-height .hero-slider__image-only-body {
  height: 100%;
}

.hero-slider--unified-height .hero-slider__visual--fullbleed {
  height: 100%;
  min-height: 0;
}

.hero-slider--unified-height .hero-slider__visual--fullbleed img {
  width: 100%;
  height: 100%;
  min-height: 0;
  max-height: none;
  object-fit: cover;
  object-position: center;
}

.hero-slider__layout {
  min-height: 320px;
  background: var(--color-surface);
  box-sizing: border-box;
  gap: 54px;
  display: flex;
  flex-direction: row;
  align-items: flex-end;
  flex-wrap: nowrap;
}

.hero-slider__layout--no-visual .hero-slider__content {
  max-width: none;
}

.hero-slider__pagination-wrap {
  position: absolute;
  left: 0;
  right: 0;
  bottom: 26px;
  padding-left: 48px;
  padding-right: 48px;
  z-index: 2;
  display: flex;
  align-items: center;
  justify-content: flex-start;
  flex-wrap: wrap;
  gap: 12px;
  pointer-events: none;
}

@media (max-width: 1599px) {
  .hero-slider__pagination-wrap {
      left: 15%;
      padding-left: 0;
      padding-right: 0;
  }
  .hero-slider__layout {
    align-items: center;
  }
}

@media (max-width: 1339px) {
  .hero-slider__pagination-wrap {
      left: 30%;
      padding-left: 0;
      padding-right: 0;
  }
  .hero-slider__layout {
    align-items: center;
  }
}

@media (max-width: 1199px) {
  .hero-slider__pagination-wrap {
      left: 85%;
      padding-left: 0;
      padding-right: 0;
  }
}

@media (max-width: 930px) {
  .hero-slider__pagination-wrap {
    left: 95%;
    padding-left: 0;
    padding-right: 0;
  }
}

.hero-slider__pagination-wrap .swiper-pagination {
  pointer-events: auto;
  position: relative !important;
  inset: auto !important;
  display: inline-flex !important;
  flex-wrap: wrap;
  align-items: center;
  gap: 8px;
  width: auto !important;
  margin: 0 !important;
}

.hero-slider__pagination-art {
  flex-shrink: 0;
  opacity: 0.95;
  pointer-events: none;
}

.hero-slider .swiper-pagination-bullet {
  width: 10px;
  height: 10px;
  margin: 0 4px 0 0 !important;
  border-radius: 0px;
  transform: rotate(45deg);
  background: var(--color-sidebar-bg-light);
  border: 1px solid var(--color-brand-primary);
  opacity: 1;
}

.hero-slider .swiper-pagination-bullet-active {
  opacity: 1;
  transform: rotate(45deg) scale(1.25);
  background: var(--color-brand-primary);
}

.hero-slider__content {
  display: flex;
  flex-direction: column;
  gap: 20px;
  justify-content: center;
  max-width: 560px;
  padding: 40px;
}

@media (max-width: 1199px) {
  .hero-slider__content {
    gap: 10px;
  }
}

@media (min-width: 1600px) {
  .hero-slider__content {
    padding: 0px 40px 20px 40px;
  }
}

.hero-slider__date {
  font-size: var(--font-size-small);
  color: var(--color-brand-primary);
  font-weight: 500;
}

.hero-slider__title {
  margin: 0;
  font-size: var(--font-size-h1);
  font-weight: 500;
  line-height: 1.15;
}

.hero-slider__text {
  margin: 0;
  font-size: var(--font-size-body);
  line-height: 1.5;
  /* Ровно 3 строки по высоте: мало текста — блок не сжимается, много — обрезка */
  min-height: calc(1.5em * 3);
  max-height: calc(1.5em * 3);
  color: var(--color-text-muted);
  display: -webkit-box;
  -webkit-line-clamp: 3;
  line-clamp: 3;
  -webkit-box-orient: vertical;
  overflow: hidden;
  word-break: break-word;
}

.hero-slider__btn {
  align-self: flex-start;
}

.hero-slider__visual {
  position: relative;
  display: flex;
  align-items: flex-end;
  justify-content: flex-end;
}

.hero-slider__visual img {
  width: 100%;
  max-height: 480px;
  object-fit: contain;
  object-position: right bottom;
}

/* Герой: SLIDER_IMG_BIG → полноширинный слайд (сценарий 3); клик — SLIDER_FILE → SLIDER_HREF_OUT */
.hero-slider__layout.hero-slider__layout--image-only {
  min-height: 320px;
  padding: 0 !important;
  margin: 0;
  gap: 0 !important;
  display: flex !important;
  flex-direction: column;
  align-items: stretch;
  flex-wrap: nowrap;
  grid-template-columns: unset !important;
}

.hero-slider__image-only-body {
  display: block;
  width: 100%;
  line-height: 0;
  text-decoration: none;
  color: inherit;
}

a.hero-slider__image-only-body {
  cursor: pointer;
}

.hero-slider__image-only-body:not(a) {
  cursor: default;
}

.hero-slider__visual--fullbleed {
  position: relative;
  width: 100%;
  max-width: none;
  display: flex;
  align-items: stretch;
  justify-content: center;
}

.hero-slider__visual--fullbleed img {
  width: 100%;
  max-width: 100%;
  max-height: none;
  height: auto;
  min-height: 280px;
  object-fit: cover;
  object-position: center;
  display: block;
}

/* SLIDER_IMG + SLIDER_IMG_BIG: до 768 — small, от 768 — big */
.hero-slider__visual--dual .hero-slider__img--big {
  display: none;
}

@media (min-width: 768px) {
  .hero-slider__visual--dual .hero-slider__img--small {
    display: none;
  }

  .hero-slider__visual--dual .hero-slider__img--big {
    display: block;
  }
}

@media (min-width: 768px) and (max-width: 1023px) {
  .hero-slider__visual--fullbleed .hero-slider__img--big {
    object-position: 13% !important;
  }
}

/* Services */
.services__grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 24px;
}

.services__grid-item {
  min-width: 0;
}

.services__grid-item .service-card {
  width: 100%;
}

.service-card {
  position: relative;
  display: flex;
  flex-direction: row;
  align-items: center;
  gap: 10px;
  min-height: 110px;
  padding: 15px;
  background: var(--color-surface);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-card);
  cursor: default;
  transition:
    transform var(--duration-normal) var(--ease-out),
    box-shadow var(--duration-normal) var(--ease-out);
}

a.service-card.service-card--detail,
a.service-card.service-card--file,
.service-card--add {
  cursor: pointer;
}

.service-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-service-hover);
}

.service-card__icon {
  width: 56px;
  height: 56px;
  min-width: 56px;
  min-height: 56px;
  border: 1px solid var(--color-brand-primary);
  border-radius: var(--radius-md);
}

.service-card__icon img {
  width: 100%;
  height: 100%;
  object-fit: contain;
}

.service-card__text {
  margin: 0;
  flex: 1;
  min-width: 0;
  font-size: 15px;
  font-weight: 400;
  line-height: 1.25;
}

/* ----- Add cards (режим правки) ----- */
.add-card-plus {
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.add-card-plus::before {
  content: "+";
  font-size: 48px;
  line-height: 1;
  font-weight: 400;
  color: var(--color-brand-primary);
  opacity: 0.75;
}

.add-card-icon {
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.add-card-icon--edit::before {
  content: "\270E";
  font-size: 30px;
  line-height: 1;
  font-weight: 400;
  color: var(--color-brand-primary);
  opacity: 0.85;
  transform: scaleX(-1);
}

.add-card-icon--delete::before {
  content: "\00D7";
  font-size: 48px;
  line-height: 1;
  font-weight: 400;
  color: #c62828;
  opacity: 0.85;
}

.add-card-icon--settings::before {
  content: "\2699";
  font-size: 36px;
  line-height: 1;
  font-weight: 400;
  color: var(--color-brand-primary);
  opacity: 0.85;
}

.news-detail__edit-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  width: 100%;
}

.news-detail__content > .news-detail__edit-actions,
.legal-page > .news-detail__edit-actions {
  grid-column: 1 / -1;
}

.news-detail__edit-action--delete,
.sidebar__link--add.news-detail__edit-action--delete {
  border-color: #c62828;
  background: color-mix(in srgb, #c62828 6%, var(--color-surface));
}

.news-detail__edit-action--delete:hover,
.sidebar__link--add.news-detail__edit-action--delete:hover {
  background: color-mix(in srgb, #c62828 12%, var(--color-surface));
  transform: none;
  box-shadow: none;
}

.sidebar__link--add.news-detail__edit-action--delete .sidebar__link-text {
  color: #c62828;
  opacity: 0.85;
}

.service-card--add,
.sidebar__link--add,
.hero-slider__add-card,
.promo-card--add,
.news-card--add,
.banner-card--add,
.documents-item--add {
  border: 1px dashed var(--color-brand-primary);
  background: color-mix(in srgb, var(--color-brand-primary) 6%, var(--color-surface));
  transition: background var(--duration-normal) var(--ease-out);
}

.service-card--add:hover,
.sidebar__link--add:hover,
.hero-slider__add-card:hover,
.promo-card--add:hover,
.news-card--add:hover,
.banner-card--add:hover,
.documents-item--add:hover {
  background: color-mix(in srgb, var(--color-brand-primary) 12%, var(--color-surface));
  transform: none;
  box-shadow: none;
}

.hero-slider__add-card-text,
.promo-card--add .promo-card__title,
.news-card--add .news-card__title,
.banner-card__add-text,
.service-card--add .service-card__text,
.sidebar__link--add .sidebar__link-text,
.documents-item--add .documents-item__add-text {
  margin: 0;
  font-size: 18px;
  font-weight: 500;
  line-height: 1.25;
  color: var(--color-brand-primary);
  text-align: center;
}

.service-card--add,
.sidebar__link--add,
.documents-item--add {
  display: flex;
  flex-direction: row;
  align-items: center;
  justify-content: center;
  gap: 12px;
  text-decoration: none;
}

.service-card--add .service-card__text,
.sidebar__link--add .sidebar__link-text,
.documents-item--add .documents-item__add-text {
  flex: none;
  text-align: left;
}

.service-card--add {
  min-height: 110px;
  box-shadow: none;
}

/* ----- Hero slider: add slide ----- */
.hero-slider__layout--add {
  min-height: 320px;
  align-items: center;
  justify-content: center;
  background: var(--color-surface);
  display: flex !important;
  width: auto !important;
}

.hero-slider__add-card {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 12px;
  width: 100%;
  min-height: 280px;
  margin: 24px;
  border-radius: var(--radius-lg);
  text-decoration: none;
}

/* Visitor */
.section--visitor {
  padding-bottom: 48px;
}

.visitor-feedback {
  position: relative;
  min-height: 265px;
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-card);
  isolation: isolate;
}

.visitor-feedback__background {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  z-index: -1;
}

.visitor-feedback__panel {
  display: flex;
  align-items: center;
  gap: 30px;
  min-height: 265px;
}

.visitor-feedback__illustration {
  width: 559px;
  max-width: 48%;
  height: auto;
  align-self: stretch;
  object-fit: contain;
  pointer-events: none;
}

.visitor-feedback__content {
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  align-items: flex-end;
  gap: 20px;
  min-height: 263px;
  width: 605px;
  max-width: 100%;
}

.visitor-feedback__cta {
  width: 100%;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 30px;
}

.visitor-feedback__logo {
  width: 180px;
  max-width: 100%;
}

.visitor-feedback__logo-image {
  width: 100%;
  height: auto;
}

.visitor-feedback__title {
  margin: 0;
  font-size: 25px;
  font-weight: 400;
  line-height: 1;
  color: var(--color-visitor-title);
}

.pos-banner-btn_2 {
  display: inline-flex;
  gap: 8px;
  align-items: center;
  justify-content: center;
  width: 150px;
  height: 40px;
  min-height: 40px;
  padding: 0 20px;
  border: none;
  border-radius: var(--radius-sm);
  background: var(--color-brand-primary);
  color: var(--color-text-inverse);
  font-family: inherit;
  font-size: 14px;
  font-weight: 500;
  line-height: 17px;
  letter-spacing: 0.02em;
  cursor: pointer;
  transition:
    transform 0.2s var(--ease-out),
    box-shadow 0.2s var(--ease-out);
}

.pos-banner-btn_2:hover {
  transform: translateY(-2px);
  box-shadow: var(--shadow-btn-hover);
}

/* Виджет ПОС: блокировка скролла страницы + более тёмный оверлей */
html:has(#js-iframe-overlay),
body:has(#js-iframe-overlay) {
  overflow: hidden !important;
  overscroll-behavior: none;
}

#js-iframe-overlay {
  background-color: rgba(0, 0, 0, 0.9) !important;
}


/* Swipe hint */
.swipe-hint {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 16px;
  font-size: var(--font-size-small);
  color: var(--color-text-muted);
}

.swipe-hint__hand {
  display: inline-flex;
  animation: swipe-hint-move 1.8s ease-in-out infinite;
}

@keyframes swipe-hint-move {
  0%,
  100% {
    transform: translateX(0);
  }

  50% {
    transform: translateX(-10px);
  }
}

/* Promo */
.section--promo {
  padding-bottom: 56px;
}

.promo-slider .swiper-slide {
  display: flex;
  height: auto;
}

.promo-slider .swiper-slide > :is(a.promo-card, .promo-card) {
  flex: 1;
  width: 100%;
}

.promo-card {
  height: 100%;
  max-height: 260px;
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-card);
}

.promo-card--afisha {
  display: flex;
  flex-direction: row-reverse;
  background: var(--color-afisha-pink);
  color: var(--color-text-inverse);
  flex-wrap: nowrap;
  justify-content: center;
}

.promo-card__visual {
  position: relative;
  min-height: 240px;
}

.promo-card--afisha .promo-card__visual {
  display: flex;
  align-items: center;
  align-self: stretch;
}

.promo-card__visual img {
  width: 100%;
  object-fit: cover;
  padding: 10px;
}

.promo-card__visual .promo-card__logo {
  position: absolute;
  right: 16px;
  top: 36px;
  width: min(180px, 45%);
  opacity: 0.95;
  height: auto;
}

.promo-card__body {
  display: flex;
  flex-direction: column;
  gap: 40px;
  padding: 20px 50px 20px 10px;
  justify-content: center;
  align-items: flex-start;
}

.promo-card__title {
  margin: 0;
  font-size: 25px;
  font-weight: 400;
  line-height: 1.1;
}

.promo-card__actions {
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.promo-card__btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 44px;
  padding: 0 24px;
  border-radius: var(--radius-sm);
  background: var(--color-surface);
  color: var(--color-promo-btn-text);
  font-size: var(--font-size-small);
  font-weight: 500;
  transition: transform 0.2s var(--ease-out);
}

.promo-card__btn:hover {
  transform: translateY(-2px);
}

.promo-card--banner {
  padding: 0;
  display: flex;
  flex-direction: row-reverse;
  flex-wrap: nowrap;
  justify-content: center;
}

.promo-card--banner img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  min-height: 260px;
}

.promo-card--img-only {
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 20px;
  box-sizing: border-box;
  background: var(--color-surface);
  min-height: 240px;
}

a.promo-card--img-only {
  cursor: pointer;
  text-decoration: none;
}

a.promo-card--img-only:focus-visible {
  outline: 2px solid var(--color-brand-primary);
  outline-offset: 2px;
}

.promo-card--img-only img {
  display: block;
  width: auto;
  height: auto;
  max-width: 100%;
  max-height: 100%;
  object-fit: contain;
  padding: 0;
}

.promo-card--add {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 12px;
  min-height: 240px;
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-card);
  text-decoration: none;
}

.promo-card--add .promo-card__title {
  text-align: center;
}

/* News */
.section--news,
.page__main_home .section--visitor,
.page__main_home .section--services {
  padding-bottom: 66px;
}

.section--news__head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px 20px;
  flex-wrap: wrap;
  margin-bottom: 32px;
}

.section--news__head .section__title {
  margin: 0;
}

.section--news__all.swipe-hint {
  margin-bottom: 0;
  text-decoration: none;
  color: var(--color-text-muted);
  transition: opacity 0.2s var(--ease-out);
}

.section--news__all.swipe-hint:hover {
  opacity: 0.85;
}

.news-slider.swiper,
.banner-slider.swiper {
  margin: -20px -24px -36px;
  padding: 20px 24px 36px;
  box-sizing: border-box;
}

.news-slider .swiper-slide {
  display: flex;
  height: auto;
}

.news-slider .swiper-slide > .news-card {
  flex: 1;
  width: 100%;
}

.news-card {
  position: relative;
  display: flex;
  flex-direction: column;
  background: var(--color-surface);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-card);
  overflow: hidden;
  transition:
    transform 0.45s cubic-bezier(0.22, 1, 0.36, 1),
    box-shadow 0.45s cubic-bezier(0.22, 1, 0.36, 1);
}

.news-list-page__grid > .news-card {
  height: 100%;
}

.news-card:not(.news-card--add) {
  cursor: pointer;
}

.news-card__overlay {
  position: absolute;
  inset: 0;
  z-index: 2;
  border-radius: inherit;
}

.news-card:not(.news-card--add) > :not(.news-card__overlay) {
  pointer-events: none;
}

.news-card:has(.news-card__overlay:focus-visible) {
  outline: 2px solid var(--color-brand-primary);
  outline-offset: 2px;
}

.news-card__overlay:focus-visible {
  outline: none;
}

.news-card:not(.news-card--add):hover {
  transform: translateY(-4px);
  box-shadow:
    0 10px 28px rgba(0, 0, 0, 0.07),
    0 4px 12px rgba(0, 0, 0, 0.04),
    0 0 0 1px color-mix(in srgb, var(--color-brand-primary) 14%, transparent);
}

.news-card__thumb {
  position: relative;
  aspect-ratio: 375 / 200;
  overflow: hidden;
}

.news-card__thumb img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.65s cubic-bezier(0.22, 1, 0.36, 1);
}

.news-card:not(.news-card--add):hover .news-card__thumb img {
  transform: scale(1.05);
}

.news-card__body {
  display: flex;
  flex-direction: column;
  gap: 15px;
  padding: 24px 24px 28px;
  flex: 1;
}

.news-card__date {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: var(--font-size-small);
  color: var(--color-text-muted);
}

.news-card__title {
  margin: 0;
  font-size: var(--font-size-body);
  font-weight: 500;
  line-height: 1.19;
  display: -webkit-box;
  -webkit-box-orient: vertical;
  -webkit-line-clamp: 2;
  line-clamp: 2;
  overflow: hidden;
  word-break: break-word;
  transition: color 0.35s var(--ease-out);
}

.news-card:not(.news-card--add):hover .news-card__title {
  color: var(--color-brand-primary);
}

.news-card__excerpt {
  margin: 0;
  font-size: var(--font-size-small);
  line-height: 1.4;
  color: var(--color-text-muted);
  display: -webkit-box;
  -webkit-box-orient: vertical;
  -webkit-line-clamp: 2;
  line-clamp: 2;
  overflow: hidden;
  word-break: break-word;
}

.news-card__excerpt :is(p, div, ul, ol, h1, h2, h3, h4) {
  display: contents;
}

.news-card__more {
  align-self: flex-start;
  margin-top: auto;
  font-size: var(--font-size-small);
  font-weight: 500;
  color: var(--color-text-primary);
  transition:
    color 0.35s var(--ease-out),
    transform 0.35s cubic-bezier(0.22, 1, 0.36, 1);
}

.news-card:not(.news-card--add):hover .news-card__more {
  color: var(--color-brand-primary);
  transform: translateX(4px);
}


@media (prefers-reduced-motion: reduce) {
  .news-card,
  .news-card__thumb img,
  .news-card__title,
  .news-card__more {
    transition: none;
  }

  .news-card:not(.news-card--add):hover {
    transform: none;
  }

  .news-card:not(.news-card--add):hover .news-card__thumb img,
  .news-card:not(.news-card--add):hover .news-card__more {
    transform: none;
  }
}

.news-card--add {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 12px;
  flex: 1;
  width: 100%;
  text-decoration: none;
  box-shadow: none;
}

.news-card--add .news-card__title {
  text-align: center;
  -webkit-line-clamp: unset;
  line-clamp: unset;
}

.news-slider .swiper-pagination {
  position: relative;
  margin-top: 28px;
}

.news-slider .swiper-pagination-bullet {
  background: var(--color-brand-primary);
  width: 26px;
  border-radius: 6px;
}

.news-slider .swiper-pagination-bullet-active {
  width: 36px;
}

/* Banners */
.section--banners {
  padding-bottom: 64px;
}

.banner-slider .swiper-slide {
  display: flex;
  height: auto;
  box-sizing: border-box;
}

.banner-slider .swiper-slide > :is(a.banner-card, span.banner-card) {
  flex: 1;
  width: 100%;
  min-width: 0;
}

.banner-card {
  position: relative;
  border-radius: var(--radius-lg);
}

.banner-card:not(.banner-card--add),
.banner-card.banner-card--add {
  aspect-ratio: 16 / 9;
  width: 100%;
  height: auto;
}

.banner-card:not(.banner-card--add) {
  display: flex;
  flex-direction: column;
  overflow: hidden;
  box-shadow: var(--shadow-card);
  transition:
    transform 0.45s cubic-bezier(0.22, 1, 0.36, 1),
    box-shadow 0.45s cubic-bezier(0.22, 1, 0.36, 1);
}

.banner-card.banner-card--add {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 12px;
  box-shadow: none;
  text-decoration: none;
  transition: background var(--duration-normal) var(--ease-out);
}

a.banner-card:not(.banner-card--add) {
  cursor: pointer;
}

a.banner-card:not(.banner-card--add):focus-visible {
  outline: 2px solid var(--color-brand-primary);
  outline-offset: 2px;
}

.banner-card:not(.banner-card--add):hover {
  transform: translateY(-4px);
  box-shadow:
    0 10px 28px rgba(0, 0, 0, 0.07),
    0 4px 12px rgba(0, 0, 0, 0.04),
    0 0 0 1px color-mix(in srgb, var(--color-brand-primary) 14%, transparent);
}

.banner-card.banner-card--add:hover,
.service-card.service-card--add:hover,
.news-card.news-card--add:hover,
.sidebar__link.sidebar__link--add:hover,
.documents-item.documents-item--add:hover {
  transform: none;
  box-shadow: none;
}

.news-card.news-card--add {
  background: color-mix(in srgb, var(--color-brand-primary) 6%, var(--color-surface));
  transition: background var(--duration-normal) var(--ease-out);
}

.news-card.news-card--add:hover {
  background: color-mix(in srgb, var(--color-brand-primary) 12%, var(--color-surface));
}

.banner-card img {
  display: block;
  transition: transform 0.65s cubic-bezier(0.22, 1, 0.36, 1);
}

.banner-card:not(.banner-card--add):not(.banner-card--img-only) img {
  width: 100%;
  height: 100%;
  flex: 1;
  min-height: 0;
  object-fit: cover;
}

.banner-card--img-only {
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 20px;
  box-sizing: border-box;
  background: var(--color-surface);
}

.banner-card--img-only img {
  width: auto;
  height: auto;
  max-width: 100%;
  max-height: 100%;
  object-fit: contain;
}

.banner-card:not(.banner-card--add):hover img {
  transform: scale(1.05);
}

@media (prefers-reduced-motion: reduce) {
  .banner-card:not(.banner-card--add),
  .banner-card img {
    transition: none;
  }

  .banner-card:not(.banner-card--add):hover {
    transform: none;
  }

  .banner-card:not(.banner-card--add):hover img {
    transform: none;
  }
}

/* Footer */
.footer {
  position: relative;
  margin-left: var(--sidebar-width);
  transition: margin-left var(--duration-normal) var(--ease-out);
  background: var(--color-footer-bg);
  color: var(--color-text-inverse);
  padding: 90px 40px 90px 60px;
}

.footer__inner {
  margin: 0 auto;
  display: flex;
  align-content: flex-start;
  gap: 140px;
  justify-content: space-evenly;
  flex-direction: row;
  flex-wrap: wrap;
}

.footer__brand {
  max-width: 320px;
  display: flex;
  flex-direction: column;
  gap: 40px;
  margin-right: 20px;
}

.footer__copy {
  margin: 0;
  font-size: 24px;
  font-weight: 500;
}

.footer__address {
  margin: 0;
  font-size: var(--font-size-body);
  line-height: 1.5;
  color: var(--color-text-footer-muted);
}

.footer__cols {
  display: flex;
  gap: 70px;
  flex-direction: row;
  flex-wrap: wrap;
}

.footer__col-title {
  margin: 0 0 40px;
  font-size: 18px;
  font-weight: 500;
}

.footer__list {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  flex-direction: column;
  gap: 20px;
  width: 240px;
}

.footer__link {
  font-size: var(--font-size-body);
  line-height: 1;
  color: var(--color-text-footer-muted);
  transition: color 0.2s var(--ease-out);
}

.footer__link:hover {
  color: var(--color-text-inverse);
}

.footer__link--add {
  margin-top: 20px;
  max-width: 260px;
}

/* Channel modal (social networks) */
.visually-hidden {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

body.channel-modal-open {
  overflow: hidden;
}

.channel-modal {
  position: fixed;
  inset: 0;
  z-index: 60;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 24px 16px;
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
  transition:
    opacity var(--duration-normal) var(--ease-out),
    visibility var(--duration-normal) var(--ease-out);
}

.channel-modal--visible {
  opacity: 1;
  visibility: visible;
  pointer-events: auto;
  z-index: 99;
}

.channel-modal__overlay {
  position: absolute;
  inset: 0;
  background: var(--color-overlay-backdrop);
  backdrop-filter: blur(4px);
}

.channel-modal__wrapper {
  position: relative;
  z-index: 1;
  width: 70%;
  min-height: min(460px, calc(100vh - 48px));
  max-height: calc(100vh - 48px);
  overflow: auto;
  overscroll-behavior: contain;
  scrollbar-gutter: stable;
  scrollbar-width: thin;
  scrollbar-color: rgba(24, 189, 255, 0.85) rgba(255, 255, 255, 0.1);
  padding: 48px 40px 40px;
  border-radius: var(--radius-lg);
  background: linear-gradient(135deg, #1e4cc9 0%, #5c0472 25%, #35095e 50%, #080726 75%, #18a6fd 100%);
  box-shadow: var(--shadow-card);
  text-align: center;
  gap: 10px;
  display: flex;
  flex-direction: column;
  align-items: center;
}

.channel-modal__wrapper::-webkit-scrollbar {
  width: 8px;
  height: 8px;
}

.channel-modal__wrapper::-webkit-scrollbar-button {
  display: none;
  width: 0;
  height: 0;
}

.channel-modal__wrapper::-webkit-scrollbar-track {
  margin: 16px 4px;
  background: rgba(255, 255, 255, 0.1);
  border-radius: 999px;
}

.channel-modal__wrapper::-webkit-scrollbar-thumb {
  border-radius: 999px;
  background: linear-gradient(180deg, rgba(24, 189, 255, 0.95) 0%, rgba(26, 49, 241, 0.95) 48%, rgba(150, 42, 188, 0.95) 100%);
  box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.18);
}

.channel-modal__wrapper::-webkit-scrollbar-thumb:hover {
  background: linear-gradient(180deg, #18bdff 0%, #1a31f1 48%, #962abc 100%);
}

.channel-modal__close-button {
  position: absolute;
  top: 12px;
  right: 12px;
  width: 40px;
  height: 40px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.16);
  color: var(--color-text-inverse);
  display: flex;
  align-items: center;
  justify-content: center;
  transition:
    background-color 0.2s var(--ease-out),
    transform 0.2s var(--ease-out);
}

.channel-modal__close-button::before,
.channel-modal__close-button::after {
  content: "";
  position: absolute;
  top: 50%;
  left: 50%;
  width: 16px;
  height: 2px;
  margin-left: -8px;
  margin-top: -1px;
  background: currentColor;
  border-radius: 1px;
}

.channel-modal__close-button::before {
  transform: rotate(45deg);
}

.channel-modal__close-button::after {
  transform: rotate(-45deg);
}

.channel-modal__close-button:hover {
  background: rgba(255, 255, 255, 0.28);
  transform: scale(1.04);
}

.channel-modal__close-button:focus-visible {
  outline: 2px solid #18a6fd;
  outline-offset: 2px;
}

.channel-modal__icons {
  display: flex;
  flex-wrap: nowrap;
  flex-direction: row;
  align-items: center;
  justify-content: center;
  gap: 16px;
  margin-bottom: 32px;
  width: 90%;
}

.channel-modal__icons img {
  width: auto;
  object-fit: contain;
}

.channel-modal__icon {
  max-height: 50px;
}

.channel-modal__logo {
  max-height: 84px;
}

.channel-modal__header {
  margin: 0 0 16px;
  font-size: var(--font-size-section-title);
  font-weight: 500;
  line-height: 1.25;
  color: var(--color-text-inverse);
}

.channel-modal__text {
  margin: 0 0 24px;
  font-size: var(--font-size-nav);
  line-height: 1.5;
  color: rgba(255, 255, 255, 0.88);
}

.channel-modal__buttons {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 10px;
  width: 100%;
}

.channel-modal__button {
  display: flex;
  align-items: center;
  justify-content: center;
  box-sizing: border-box;
  width: 100%;
  min-height: 44px;
  margin-top: 0;
  padding: 15px;
  border-radius: 150px;
  background: linear-gradient(90deg, #18bdff 0, #1a31f1 48.42%, #962abc 100%);
  color: var(--color-text-inverse);
  font-size: var(--font-size-body);
  font-weight: 500;
  line-height: 1.2;
  transition:
    transform 0.2s var(--ease-out),
    box-shadow 0.2s var(--ease-out),
    filter 0.2s var(--ease-out);
}

.channel-modal__button:hover {
  transform: translateY(-1px);
  box-shadow: 0 8px 20px rgba(24, 189, 255, 0.35);
  filter: brightness(1.06);
}

.channel-modal__button:focus-visible {
  outline: 2px solid #18bdff;
  outline-offset: 2px;
}

.channel-modal__button--max {
  min-height: 61px;
  padding: 14px 23px;
  font-size: calc(var(--font-size-body) * 1.2);
  border-radius: 150px;
}

@media (min-width: 1024px) {
  .channel-modal__wrapper {
    min-height: min(480px, calc(100vh - 10px));
    justify-content: flex-start;
  }

  .channel-modal__buttons {
    flex-direction: row;
    flex-wrap: wrap;
    justify-content: center;
    align-items: center;
  }

  .channel-modal__button {
    padding: 5px;
    width: auto;
    max-width: 280px;
    flex: 0 1 275px;
  }

  .channel-modal__button--max {
    max-width: 300px;
    flex: 0 1 280px;
  }
}

@media (max-width: 1023px) {
  .channel-modal__wrapper {
    min-height: min(480px, calc(100vh - 10px));
    padding: 36px 24px 28px;
    width: 88%;
    justify-content: flex-start;
  }

  .channel-modal__buttons {
    flex-direction: row;
    flex-wrap: wrap;
    justify-content: center;
    align-items: center;
  }

  .channel-modal__header {
    font-size: var(--font-size-nav);
  }

  .channel-modal__text {
    font-size: var(--font-size-body);
  }

  .channel-modal__button {
    font-size: var(--font-size-body);
    padding: 5px;
    width: auto;
    max-width: 280px;
    flex: 0 1 275px;
  }

  .channel-modal__button--max {
    font-size: calc(var(--font-size-body) * 1.05);
    max-width: 300px;
    flex: 0 1 280px;
  }

  .channel-modal__icon {
    max-height: 30px;
  }

  .channel-modal__logo {
    max-height: 54px;
  }
}

@media (max-width: 767px) {
  .channel-modal__wrapper {
    width: 98%;
    justify-content: flex-start;
  }

  .channel-modal__icons {
    flex-wrap: wrap;
  }
}

/* Cookie banner */
.cookie-banner {
  position: fixed;
  left: 50%;
  bottom: 24px;
  z-index: 70;
  width: min(calc(100% - 32px), 920px);
  transform: translate(-50%, calc(100% + 40px));
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
  transition:
    transform 0.55s cubic-bezier(0.22, 1, 0.36, 1),
    opacity 0.45s var(--ease-out),
    visibility 0.45s var(--ease-out);
}

.cookie-banner--visible {
  transform: translate(-50%, 0);
  opacity: 1;
  visibility: visible;
  pointer-events: auto;
  z-index: 100;
}

.cookie-banner__glow {
  position: absolute;
  inset: -20px -12px auto;
  height: 80px;
  background: radial-gradient(ellipse at center, rgba(255, 196, 120, 0.35) 0%, rgba(255, 196, 120, 0) 70%);
  pointer-events: none;
}

.cookie-banner__inner {
  position: relative;
  display: grid;
  grid-template-columns: auto 1fr auto;
  align-items: center;
  gap: 20px;
  padding: 20px 22px;
  border-radius: var(--radius-lg);
  border: 1px solid rgba(255, 255, 255, 0.18);
  background: var(--color-brand-primary);
  box-shadow:
    0 18px 48px rgba(8, 7, 38, 0.35),
    0 0 0 1px rgba(24, 166, 253, 0.12) inset;
  backdrop-filter: blur(8px);
}

.cookie-banner__badge {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 64px;
  height: 64px;
  border-radius: 50%;
  background: linear-gradient(145deg, rgba(255, 214, 153, 0.28) 0%, rgba(255, 168, 76, 0.18) 100%);
  font-size: 34px;
  line-height: 1;
  animation: cookie-banner-wiggle 2.8s ease-in-out infinite;
}

.cookie-banner__content {
  min-width: 0;
}

.cookie-banner__title {
  margin: 0 0 6px;
  font-size: clamp(18px, 2.2vw, 22px);
  font-weight: 500;
  line-height: 1.2;
  color: var(--color-text-inverse);
}

.cookie-banner__text {
  margin: 0;
  font-size: var(--font-size-small);
  line-height: 1.45;
  color: var(--color-text-inverse);
}

.cookie-banner__link {
  color: var(--color-brand-primary-soft);
  text-decoration: underline;
  text-underline-offset: 2px;
  transition: color 0.2s var(--ease-out);
}

.cookie-banner__link:hover {
  color: #ffffff;
}

.cookie-banner__accept {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  min-height: 48px;
  padding: 0 22px;
  border-radius: var(--radius-pill);
  background: var(--color-text-inverse);
  color: #2b1600;
  font-size: var(--font-size-small);
  font-weight: 500;
  white-space: nowrap;
  box-shadow: 0 10px 24px rgb(125 178 155 / 50%);
  transition:
    transform 0.2s var(--ease-out),
    box-shadow 0.2s var(--ease-out),
    filter 0.2s var(--ease-out);
}

.cookie-banner__accept-icon {
  font-size: 18px;
  line-height: 1;
}

.cookie-banner__accept:hover {
  transform: translateY(-2px);
  box-shadow: 0 14px 28px rgba(255, 255, 255, 0.38);
  filter: brightness(1.04);
}

.cookie-banner__accept:focus-visible {
  outline: 2px solid #ffc978;
  outline-offset: 3px;
}

@keyframes cookie-banner-wiggle {
  0%,
  100% {
    transform: rotate(0deg) scale(1);
  }
  25% {
    transform: rotate(-8deg) scale(1.04);
  }
  75% {
    transform: rotate(8deg) scale(1.04);
  }
}

@media (max-width: 767px) {
  .cookie-banner {
    bottom: 16px;
    width: calc(100% - 24px);
  }

  .cookie-banner__inner {
    grid-template-columns: auto 1fr;
    gap: 14px 16px;
    padding: 18px 16px;
  }

  .cookie-banner__badge {
    width: 52px;
    height: 52px;
    font-size: 28px;
  }

  .cookie-banner__accept {
    grid-column: 1 / -1;
    width: 100%;
    white-space: normal;
    text-align: center;
  }
}

@media (prefers-reduced-motion: reduce) {
  .cookie-banner,
  .cookie-banner--visible {
    transition: none;
  }

  .cookie-banner__badge {
    animation: none;
  }
}

/* =========================================================
   Responsive: Desktop-first breakpoints
   ========================================================= */
@media (max-width: 1199px) {
  .section {
    padding-left: 48px;
    padding-right: 32px;
  }

  .page__breadcrumbs-shell--bottom {
    padding-left: 48px;
    padding-right: 32px;
    padding-bottom: 64px;
  }

  .hero-slider__layout {
    grid-template-columns: 1fr;
    min-height: 0;
    padding: 25px;
    display: grid;
    gap: 24px;
  }

  .promo-card--afisha img {
    padding-left: 0;
  }

  .hero-slider__content {
    padding: 0;
  }

  .hero-slider__visual {
    order: -1;
    justify-content: center;
  }

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

  .visitor-feedback__panel {
    gap: 24px;
  }

  .visitor-feedback__illustration {
    width: 44%;
    max-width: 460px;
  }

  .visitor-feedback__content {
    width: 56%;
    min-height: 100%;
    padding: 70px 10px 20px 16px;
  }

  .visitor-feedback__cta {
    gap: 24px;
  }

  .visitor-feedback__title {
    font-size: 22px;
    line-height: 1.05;
  }

  .visitor-feedback__logo {
    width: 180px;
  }

  .pos-banner-btn_2 {
    width: 150px;
    min-height: 40px;
  }

  .promo-card--afisha {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 1023px) {
  [data-menu-width="expanded"] .hero-slider__layout {
    grid-template-columns: 1fr;
        min-height: 0;
        padding: 28px 24px 16px;
        display: grid;
  }

  [data-menu-width="expanded"] .promo-card__visual img {
    width: 100%;
    object-fit: cover;
  }

  [data-menu-width="expanded"] .promo-card__body {
    display: flex;
    flex-direction: column;
    gap: 40px;
    padding: 20px 50px 20px 10px;
    justify-content: center;
    align-items: flex-start;
}

  [data-menu-width="expanded"] .promo-card--afisha {
    display: flex;
    flex-direction: column;
}

[data-menu-width="expanded"] .promo-card {
  max-height: max-content;
}

  [data-menu-width="expanded"] .visitor-feedback__panel {
    display: flex;
  }

  [data-menu-width="expanded"] .services__grid {
    grid-template-columns: repeat(1, minmax(0, 1fr));
  }
}

@media (max-width: 900px) {
  .visitor-feedback {
    min-height: 0;
  }

  .visitor-feedback__panel {
    flex-direction: column;
    align-items: stretch;
    gap: 8px;
  }

  .visitor-feedback__illustration {
    width: 100%;
    max-width: none;
    max-height: 180px;
  }

  .visitor-feedback__content {
    width: 100%;
    min-height: 0;
    align-items: flex-end;
    gap: 36px;
    padding: 18px 18px 12px;
  }

  .visitor-feedback__title {
    max-width: 100%;
    font-size: 22px;
    line-height: 1.1;
  }

  .visitor-feedback__cta {
    gap: 16px;
  }
}

@media (max-width: 640px) {
  .visitor-feedback__panel {
    padding: 8px 8px 12px;
  }

  .visitor-feedback__illustration {
    max-height: 150px;
  }

  .visitor-feedback__title {
    font-size: 20px;
  }

  .visitor-feedback__logo {
    width: 160px;
  }

  .services__grid {
    grid-template-columns: 1fr;
  }

  .header__search {
    max-width: none;
  }
}

@media (max-width: 767px) {
  .page__header {
    left: 0;
  }

  .header {
    padding: 0 16px;
    gap: 16px;
  }

  .header__contacts {
    display: none;
  }

  .header__burger {
    display: flex;
  }

  .page__shell {
    margin-left: 0;
  }

  .footer {
    margin-left: 0;
    padding: 48px 24px;
  }

  .footer__inner {
    flex-direction: column;
    gap: 48px;
  }

  .sidebar {
    transform: translateX(-100%);
    transition:
      transform var(--duration-normal) var(--ease-out),
      width var(--duration-normal) var(--ease-out);
  }

  .sidebar {
    width: 305px;
  }

  .sidebar--open {
    transform: translateX(0);
  }

  .sidebar__overlay {
    display: block;
  }

  .section {
    padding-left: 24px;
    padding-right: 24px;
    padding-top: 30px;
  }

  .page__breadcrumbs-shell--bottom {
    padding-left: 24px;
    padding-right: 24px;
    padding-bottom: 30px;
  }

  .service-card__text {
    font-size: 15px;
  }

  .service-card__icon {
    width: 56px;
    height: 56px;
    min-width: 56px;
    min-height: 56px;
    border-radius: var(--radius-md);
  }

  .section--visitor {
    padding: 0 24px;
    padding-bottom: 30px;
  }

  .promo-card__title {
    font-size: 20px;
  }

  .promo-card--afisha {
    display: flex;
    flex-direction: column;
    max-height: none;
    min-height: 260px;
  }

  .promo-card {
    max-height: none;
    min-height: 260px;
  }

  .promo-card--banner img {
    min-height: 0;
  }

  [data-menu-width="expanded"] .promo-card {
    max-height: none;
    min-height: 260px;
  }

  .section--promo {
    padding-bottom: 30px;
  }

  .section--banners {
    padding-top: 0px;
    padding-bottom: 60px;
  }
}

/* =========================================================
   Responsive: Range refinements
   ========================================================= */
@media (min-width: 768px) and (max-width: 1023px) {
  [data-menu-width="expanded"] .visitor-feedback__content {
    padding: 18px 18px 12px;
  }

  [data-menu-width="expanded"] .footer__inner {
    display: grid;
    grid-template-columns: 1fr;
    gap: 50px;
  }
}

@media (min-width: 768px) and (max-width: 1439px) {
  .header__burger {
    display: none;
  }

  .page__shell {
    margin-left: var(--sidebar-width);
  }

  .footer {
    margin-left: var(--sidebar-width);
  }

  .sidebar {
    transform: none;
    transition: width var(--duration-normal) var(--ease-out);
  }

  .sidebar__overlay {
    display: none;
  }

  .hero-slider__pagination-wrap {
    bottom: 30px;
  }

  .hero-slider__title {
    font-size: 25px;
  }

  .hero-slider__text {
    font-size: 15px;
  }

  .service-card__icon {
    width: 56px;
    height: 56px;
    min-width: 56px;
    min-height: 56px;
  }

  .service-card__text {
    font-size: 15px;
  }

  .section--hero {
    padding-top: 30px;
    padding-bottom: 10px;
  }

  .section--services {
    padding-top: 30px;
    padding-bottom: 40px;
  }

  .section--visitor,
  .section--promo,
  .section--news,
  .section--banners {
    padding-bottom: 40px;
  }

  .visitor-feedback__panel {
    grid-template-columns: 5fr 6fr;
    display: grid;
  }

  .visitor-feedback__illustration {
    max-height: 100%;
    max-width: 100%;
    width: auto;
  }

  .visitor-feedback__content {
    width: 100%;
    padding: 58px 18px 12px;
  }

  .visitor-feedback__logo {
    width: 140px;
  }

  .promo-card__body {
    padding: 20px 0px 20px 30px;
  }

  .promo-card__visual img {
    object-fit: fill;
    padding: 20px 30px 20px 0px;
    max-height: 100%;
  }

  .promo-card--afisha {
    justify-content: space-around;
  }

  .footer {
    padding: 60px 40px;
  }

  .footer__inner {
    display: grid;
    grid-template-columns: 5fr 6fr;
    gap: 90px;
  }

  .footer__cols {
    gap: 40px;
    display: contents;
  }

  .footer__brand {
    height: max-content;
  }
}

@media (min-width: 1024px) {
  .promo-card {
    max-height: none;
  }

  .promo-slider .swiper-slide > :is(a.promo-card, .promo-card) {
    min-height: 260px;
  }

  .promo-card--banner img {
    min-height: 0;
  }

  .promo-card--img-only {
    min-height: 260px;
    height: 100%;
  }
}

@media (min-width: 1024px) and (max-width: 1439px) {
  .promo-card__title {
    font-size: 20px;
  }

  .promo-card--afisha {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
  }

  .promo-card__visual img {
    object-fit: contain;
  }

  .promo-card__body {
    flex-direction: row;
    gap: 20px;
    justify-content: center;
    align-items: center;
    flex-wrap: nowrap;
    padding: 20px 30px;
  }

  .promo-card__visual {
    display: flex;
    justify-content: center;
    align-items: center;
    align-self: stretch;
    width: 100%;
  }

  .promo-card__visual img {
    width: auto;
  }

  .promo-card__btn {
    padding: 0 20px;
  }

  .hero-slider__layout {
    gap: 34px;
    grid-template-columns: 5fr 4fr;
    padding: 0px 40px 20px 40px;
  }

  [data-menu-width="expanded"] .hero-slider__layout {
    display: grid;
    grid-template-columns: 1fr;
    gap: 50px;
  }


  .hero-slider__content {
    max-width: 400px;
  }

  [data-menu-width="expanded"] .hero-slider__content {
    max-width: 100%;
  }

  .footer__inner {
    gap: 50px 140px;
  }

  .footer {
    padding: 60px;
  }
  
}

@media (min-width: 1200px) and (max-width: 1439px) {
  .services__grid {
    grid-template-columns: repeat(4, minmax(0, 1fr));
  }

  .service-card__text {
    font-size: 14px;
  }

  .hero-slider__layout {
    padding: 0px;
  }

  [data-menu-width="expanded"] .hero-slider__layout {
    display: grid;
    gap: 34px;
    grid-template-columns: 3fr 4fr;
  }

  .promo-card__body {
    gap: 25px;
  }

  .footer__inner {
    gap: 50px 140px;
  }

  .footer {
    padding: 60px 90px;
  }
}

/* =========================================================
   Responsive: Wide screens
   ========================================================= */
@media (min-width: 1440px) {
  .hero-slider__visual {
    overflow: visible;
    align-self: stretch;
  }

  .hero-slider__visual img {
    height: 100%;
    max-height: none;
    width: auto;
  }

  .hero-slider__visual--fullbleed img {
    width: 100% !important;
    height: auto !important;
    min-height: 360px;
    max-height: 560px;
    object-fit: cover;
    object-position: center;
  }

  .hero-slider--unified-height .hero-slider__visual--fullbleed img {
    height: 100% !important;
    min-height: 0 !important;
    max-height: none !important;
  }

  .service-card__text {
    font-size: var(--font-size-body);
  }

  .service-card__icon {
    width: 60px;
    height: 60px;
    min-width: 60px;
    min-height: 60px;
  }

  .visitor-feedback__content {
    padding: 78px 18px 12px;
  }

  .visitor-feedback__panel {
    justify-content: space-evenly;
  }

  .promo-card--afisha {
    align-items: center;
    justify-content: space-evenly;
  }

  .promo-card--afisha .promo-card__visual {
    justify-content: flex-end;
  }

  .promo-card__visual {
    min-height: auto;
  }

  .promo-card__body {
    gap: 30px;
    padding: 20px 50px 20px 30px;
    height: 100%;
  }

  .footer {
    padding: 60px;
  }

  .footer__inner {
    display: grid;
    grid-template-columns: 1fr 1fr 1fr 1fr;
    gap: 30px;
  }

  .footer__brand {
    min-width: 200px;
  }

  .footer__cols {
    display: contents;
  }

  .footer__list {
    width: 200px;
  }

  .hero-slider__layout {
    max-width: 100%;
    justify-content: space-around;
  }
}

@media (min-width: 1440px) and (max-width: 1919px) {
  .hero-slider__layout {
    gap: 34px;
    grid-template-columns: 3fr 4fr;
    display: grid;
    align-items: center;
  }

  .services__grid {
    gap: 15px;
  }
}

@media (min-width: 1600px) {
  .footer__list {
      width: 240px;
  }

  .footer__cols {
    display: flex;
    gap: 40px;
    flex-direction: row;
    flex-wrap: nowrap;
  }

  .footer__brand {
      min-width: 260px;
  }

  .footer__inner {
    display: grid;
    gap: 50px;
    grid-auto-flow: column;
    grid-template-columns: min-content;
  }
}

/* =========================================================
   News detail page
   ========================================================= */

.news-list-page {
  display: flex;
  flex-direction: column;
  gap: 24px;
}

.news-list-page__breadcrumbs {
  width: 100%;
  max-width: 100%;
}

.news-list-page__title {
  margin-bottom: 8px;
}

.news-list-page__grid {
  display: grid;
  grid-template-columns: repeat(1, minmax(0, 1fr));
  gap: 24px;
}

.news-list-page__card[hidden] {
  display: none;
}

.news-list-page__card[data-news-item].news-card--enter {
  opacity: 0;
  transform: translateY(12px);
  transition: none;
}

.news-list-page__card[data-news-item].news-card--enter.news-card--show {
  opacity: 1;
  transform: translateY(0);
  transition:
    opacity 0.5s var(--ease-out),
    transform 0.5s var(--ease-out),
    box-shadow 0.45s cubic-bezier(0.22, 1, 0.36, 1);
}

.news-list-page__card[data-news-item].news-card--enter.news-card--show:hover {
  transform: translateY(-4px);
}

@media (prefers-reduced-motion: reduce) {
  .news-list-page__card[data-news-item].news-card--enter,
  .news-list-page__card[data-news-item].news-card--enter.news-card--show,
  .news-list-page__card[data-news-item].news-card--enter.news-card--show:hover {
    opacity: 1;
    transform: none;
    transition: none;
  }
}

.news-list-page__actions {
  display: flex;
  justify-content: center;
  padding-top: 8px;
}

.news-list-page__load-more {
  min-width: 198px;
  padding-left: 32px;
  padding-right: 32px;
}

.news-list-page__load-more[hidden] {
  display: none !important;
}

@media (min-width: 768px) {
  .news-list-page__grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (min-width: 1200px) {
  .news-list-page__grid {
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 30px;
  }
}

@media (min-width: 1920px) {
  .news-list-page__grid {
    grid-template-columns: repeat(4, minmax(0, 1fr));
  }
}

@media (max-width: 767px) {
  .section--news-list {
    padding-bottom: 42px;
  }

  .news-list-page {
    gap: 20px;
  }

  .news-list-page__grid {
    gap: 20px;
  }

  .news-list-page__actions {
    padding-top: 4px;
  }
}

.news-detail__inner {
  max-width: min(720px, 100%);
  margin: 0 auto;
  display: flex;
  flex-direction: column;
}

@media (min-width: 1440px) {
  .news-detail__inner {
    max-width: max-content;
  }
}

.breadcrumbs {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px 20px;
  flex-wrap: wrap;
  font-size: var(--font-size-small);
  color: var(--color-text-muted);
}

.breadcrumbs__list {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 8px 12px;
  list-style: none;
  margin: 0;
  padding: 0;
}

.breadcrumbs__item {
  display: inline-flex;
  align-items: center;
  gap: 10px;
}

.breadcrumbs__sep {
  color: var(--color-text-muted);
  opacity: 0.75;
  user-select: none;
}

.breadcrumbs__link {
  color: var(--color-brand-primary);
  text-decoration: underline;
  text-underline-offset: 3px;
  transition: opacity 0.2s var(--ease-out);
}

.breadcrumbs__link:hover {
  opacity: 0.85;
}

.breadcrumbs__current {
  color: var(--color-text-primary);
  font-weight: 500;
}

.news-detail__content {
  display: grid;
  grid-template-columns: 1fr;
  gap: 24px;
}

@media (min-width: 1440px) {
  .news-detail__content {
    grid-template-columns: 1.3fr 1fr;
  }

  .news-detail__content--single {
    grid-template-columns: 1fr;
  }

  .news-detail__content--document {
    grid-template-columns: 1.3fr 1fr;
  }

  .news-detail:has(.news-detail__content--single) .news-detail__inner {
    max-width: min(960px, 100%);
  }
}

@media (min-width: 1600px) {
  .news-detail__content {
    grid-template-columns: 1fr 1fr;
  }

  .news-detail__content--single {
    grid-template-columns: 1fr;
  }

  .news-detail__content--document {
    grid-template-columns: 1fr 1fr;
  }
}

.news-detail__content-left {
  display: flex;
  flex-direction: column;
  gap: 24px;
}

.news-detail__content-right {
  display: flex;
  flex-direction: column;
  gap: 24px;
}

@media (min-width: 1440px) {
  .news-detail__content-right--gallery-only {
    align-self: start;
  }

  .news-detail__content-right--gallery-only .news-detail__block--gallery {
    display: flex;
    flex-direction: column;
    gap: 15px;
    box-sizing: border-box;
    overflow: hidden;
  }

  .news-detail__content-right--gallery-only .news-detail__block-title {
    flex: 0 0 auto;
    margin: 0;
  }

  .news-detail__content-right--gallery-only .news-gallery {
    display: grid;
    flex: 1 1 auto;
    min-height: 0;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    grid-auto-rows: 1fr;
    align-content: stretch;
  }

  .news-detail__content-right--gallery-only .news-gallery[data-gallery-count="1"] {
    grid-template-columns: 1fr;
  }

  .news-detail__content-right--gallery-only .news-gallery[data-gallery-count="2"] {
    grid-template-columns: 1fr;
  }

  .news-detail__content-right--gallery-only .news-gallery__item {
    height: 100%;
    min-height: 0;
  }

  .news-detail__content-right--gallery-only .news-gallery__thumb {
    width: 100%;
    height: 100%;
    aspect-ratio: auto;
    object-fit: cover;
    object-position: top center;
  }
}

.news-detail__content > .news-detail__page-toolbar,
.legal-page > .news-detail__page-toolbar {
  grid-column: 1 / -1;
  display: flex;
  flex-direction: column;
  align-items: stretch;
  gap: 12px;
  width: 100%;
}

.news-detail__page-toolbar .news-detail__back-bar {
  display: flex;
  justify-content: flex-end;
  width: 100%;
}

.news-detail__page-toolbar .breadcrumbs {
  width: 100%;
  align-self: stretch;
}

.news-detail__banner {
  margin: 0;
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-card);
  background: var(--color-surface);
}

.news-detail__banner-img {
  width: 100%;
  height: auto;
  aspect-ratio: 21 / 9;
  object-fit: cover;
  object-position: center center;
  display: block;
}

.person-page__photo .news-detail__banner-img {
  height: 100%;
}

@media (max-width: 767px) {
  .news-detail__banner-img {
    height: auto;
  }
}

.news-detail__title {
  margin: 0;
  font-size: var(--font-size-h1);
  font-weight: 500;
  line-height: 1.2;
  letter-spacing: -0.02em;
  color: var(--color-text-primary);
}

.news-detail__lead {
  margin: 0;
  font-size: var(--font-size-medium);
  line-height: 1.45;
  color: var(--color-brand-primary);
}

.news-detail__meta {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 12px;
  padding-top: 4px;
}

[data-menu-theme="dark"] .news-detail__meta {
  border-top-color: rgba(148, 163, 184, 0.25);
}

.news-detail__date {
  font-size: var(--font-size-small);
  color: var(--color-text-muted);
  border: 1px solid var(--color-sidebar-muted);
  padding: 5px 10px;
  border-radius: var(--radius-lg);
}

.news-article__p {
  margin: 0 0 1.25em;
  font-size: var(--font-size-medium);
  line-height: var(--news-detail-body-line-height);
  color: var(--color-text-primary);
}

.news-article__p:last-child {
  margin-bottom: 0;
}

.news-article__quote {
  margin: 1.75em 0;
  padding: 1.25em 1.25em 1.25em 1.35em;
  border-left: 4px solid var(--color-brand-primary);
  border-radius: 0 var(--radius-sm) var(--radius-sm) 0;
  background: rgba(0, 107, 60, 0.06);
  box-shadow: inset 0 0 0 1px rgba(0, 107, 60, 0.08);
}

[data-menu-theme="dark"] .news-article__quote {
  background: rgba(48, 113, 231, 0.12);
  box-shadow: inset 0 0 0 1px rgba(48, 113, 231, 0.15);
}

.news-article__quote-text {
  margin: 0 0 0.75em;
  font-size: var(--font-size-medium);
  font-style: italic;
  line-height: 1.55;
}

.news-article__quote-footer {
  font-size: var(--font-size-small);
  font-style: normal;
  color: var(--color-text-muted);
}

.news-article__list {
  margin: 0 0 1.35em;
  padding-left: 1.35em;
  font-size: var(--font-size-medium);
  line-height: var(--news-detail-body-line-height);
}

.news-article__list--unordered {
  list-style: disc;
}

.news-article__list--ordered {
  list-style: decimal;
}

.news-article__list-item {
  margin-bottom: 0.5em;
  padding-left: 0.25em;
}

.news-article__list-item::marker {
  color: var(--color-brand-primary);
}

.news-detail__block-title {
  margin: 0 0 18px;
  font-size: var(--font-size-nav);
  font-weight: 500;
  line-height: 1.25;
  color: var(--color-text-primary);
}

.news-detail__block {
  padding-top: 8px;
  max-width: var(--news-detail-content-max);
}

.news-detail__block--gallery {
  width: 100%;
  align-self: stretch;
}

.news-gallery {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 12px;
}

@media (min-width: 600px) {
  .news-gallery {
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 14px;
  }
}

@media (min-width: 1024px) {
  .news-gallery {
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 16px;
  }
}

@media (min-width: 1440px) {
  .news-detail__content-right--gallery-only .news-gallery {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .news-detail__content-right--gallery-only .news-gallery[data-gallery-count="1"],
  .news-detail__content-right--gallery-only .news-gallery[data-gallery-count="2"] {
    grid-template-columns: 1fr;
  }
}

.news-gallery__item {
  position: relative;
  display: block;
  width: 100%;
  padding: 0;
  margin: 0;
  border: none;
  border-radius: var(--radius-md);
  overflow: hidden;
  cursor: zoom-in;
  background: var(--color-surface);
  box-shadow: var(--shadow-card);
  color: inherit;
  text-decoration: none;
  -webkit-tap-highlight-color: transparent;
  transition:
    transform var(--duration-normal) var(--ease-out),
    box-shadow var(--duration-normal) var(--ease-out);
}

.news-gallery__item:hover,
.news-gallery__item:focus-visible {
  transform: translateY(-2px);
  box-shadow: var(--shadow-news-hover);
}

.news-gallery__item:focus-visible {
  outline: 2px solid var(--color-brand-primary);
  outline-offset: 2px;
}

.news-gallery__item--observe {
  opacity: 0;
  transform: translateY(10px);
}

.news-gallery__item--observe.news-gallery__item--visible {
  opacity: 1;
  transform: translateY(0);
  transition:
    opacity 0.5s var(--ease-out),
    transform 0.5s var(--ease-out);
}

@media (prefers-reduced-motion: reduce) {
  .news-gallery__item--observe {
    opacity: 1;
    transform: none;
  }

  .news-gallery__item--observe.news-gallery__item--visible {
    transition: none;
  }
}

.news-gallery__thumb {
  width: 100%;
  height: auto;
  aspect-ratio: 16 / 10;
  object-fit: cover;
  object-position: top center;
  display: block;
  transition: transform 0.65s cubic-bezier(0.22, 1, 0.36, 1);
}

.news-gallery__item:hover .news-gallery__thumb,
.news-gallery__item:focus-visible .news-gallery__thumb {
  transform: scale(1.05);
}

@media (prefers-reduced-motion: reduce) {
  .news-gallery__thumb {
    transition: none;
  }

  .news-gallery__item:hover .news-gallery__thumb,
  .news-gallery__item:focus-visible .news-gallery__thumb {
    transform: none;
  }
}

.news-gallery__open-hint {
  position: absolute;
  right: 10px;
  bottom: 10px;
  padding: 6px 10px;
  border-radius: var(--radius-sm);
  font-size: 12px;
  font-weight: 500;
  color: var(--color-text-inverse);
  background: rgba(0, 0, 0, 0.55);
  pointer-events: none;
  opacity: 0;
  transition: opacity 0.2s var(--ease-out);
}

.news-gallery__item:hover .news-gallery__open-hint,
.news-gallery__item:focus-visible .news-gallery__open-hint {
  opacity: 1;
}

.news-documents__list,
.news-external__list {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  flex-direction: column;
  gap: 14px;
}

.legal-page__content ul.news-external__list {
  line-height: normal;
  list-style: none;
  padding-left: 0;
}

.legal-page__content ul.news-external__list li {
  margin-bottom: 0;
  padding-left: 0;
}

.news-documents__item {
  display: flex;
  flex-wrap: wrap;
  align-items: flex-start;
  gap: 12px;
}

.news-documents__icon {
  flex-shrink: 0;
  min-width: 44px;
  height: 28px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 6px;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.04em;
  color: var(--color-text-inverse);
}

.news-documents__icon--pdf {
  background: #c62828;
}

.news-documents__icon--doc {
  background: #1565c0;
}

.news-documents__icon--docx {
  background: #1565c0;
}

.news-documents__icon--link {
  background: var(--color-brand-primary);
}

.news-documents__icon--xls {
  background: #2e7d32;
}

.news-documents__icon--img,
.news-documents__icon--svg {
  background: #ffbb00;
}

.news-documents__icon--txt {
  background: #459cff;
}

.news-documents__main {
  flex: 1;
  min-width: 0;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 8px 12px;
}

.news-documents__link,
.news-documents__preview {
  flex: 1;
  min-width: 0;
  display: inline-flex;
  align-items: center;
  color: var(--color-text-primary);
  text-decoration: underline;
  text-underline-offset: 3px;
  transition: color 0.2s var(--ease-out);
  font-size: var(--font-size-body);
}

.news-documents__label {
  display: inline;
}

.news-documents__name-tail {
  white-space: nowrap;
}

@media (max-width: 424px) {
  .news-documents__link,
  .news-documents__preview {
    flex-direction: row;
    flex-wrap: wrap;
  }
}

.news-documents__link:hover,
.news-documents__preview:hover {
  color: var(--color-brand-primary);
}

.news-documents__name {
  font-weight: 500;
}

.news-documents__ext {
  font-weight: 500;
}

.news-documents__size {
  font-size: var(--font-size-small);
  color: var(--color-text-muted);
  text-decoration: none;
  margin-left: 10px;
}

.news-documents__ecp {
  margin-left: 10px;
}

.ecp-badge {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  font-size: var(--font-size-small);
  font-weight: 600;
  color: var(--color-brand-primary);
  vertical-align: middle;
}

.ecp-badge__icon {
  flex-shrink: 0;
}

.ecp-badge__text {
  line-height: 1;
}

.news-detail__ecp-stamps {
  display: grid;
  gap: 16px;
  margin-top: -1.25em;
}

.ecp-stamp {
  position: relative;
  padding: 16px 18px 14px;
  border: 2px solid var(--color-text-footer-muted);
  border-radius: 8px;
  box-shadow: inset 0 0 0 1px rgba(31, 78, 121, 0.08);
}

.ecp-stamp__title {
  margin: 0 0 10px;
  font-size: var(--font-size-small);
  font-weight: 500;
  letter-spacing: 0.02em;
  text-transform: none;
  color: var(--color-brand-primary);
}

.ecp-stamp__list {
  margin: 0;
}

.ecp-stamp__row {
  display: grid;
  grid-template-columns: minmax(120px, auto) 1fr;
  gap: 4px 10px;
  margin: 0 0 4px;
}

.ecp-stamp__row:last-child {
  margin-bottom: 0;
}

.ecp-stamp__term,
.ecp-stamp__value {
  margin: 0;
  font-size: var(--font-size-small);
  line-height: 1.45;
  font-family: var(--font-family-mono);
}

.ecp-stamp__term {
  color: var(--color-text-muted);
}

.ecp-stamp__value {
  color: var(--color-text);
  word-break: break-word;
}

.news-documents__download {
  display: inline-flex;
  flex-shrink: 0;
  margin-left: auto;
  color: var(--color-brand-primary);
  text-decoration: none;
}

.news-documents__download:hover {
  color: var(--color-brand-primary);
  opacity: 0.85;
}

.news-documents__download-icon {
  display: block;
}

[data-menu-theme="dark"] .news-external__item {
  border-bottom-color: rgba(148, 163, 184, 0.2);
}

.news-external__item:last-child {
  border-bottom: none;
  padding-bottom: 0;
}

.news-external__link {
  display: inline;
  font-size: var(--font-size-body);
  line-height: 1.45;
  color: var(--color-brand-primary);
  text-decoration: underline;
  text-underline-offset: 3px;
  transition: opacity 0.2s var(--ease-out);
}

.news-external__link:hover {
  opacity: 0.88;
}

.news-external__badge {
  display: inline-flex;
  align-items: center;
  vertical-align: middle;
  padding: 2px 8px;
  border-radius: 999px;
  font-size: 11px;
  font-weight: 500;
  letter-spacing: 0.02em;
  text-transform: uppercase;
  color: var(--color-text-muted);
  background: rgba(97, 120, 110, 0.12);
  text-decoration: none;
  white-space: nowrap;
}

[data-menu-theme="dark"] .news-external__badge {
  background: rgba(148, 163, 184, 0.15);
}

/* lightGallery: согласование с палитрой сайта */
.lg-backdrop {
  background-color: var(--color-overlay-backdrop);
}

.lg-outer .lg-thumb-item.active,
.lg-outer .lg-thumb-item:hover {
  border-color: var(--color-brand-primary);
}

.lg-toolbar .lg-icon:hover {
  color: var(--color-brand-primary);
}

.lg-sub-html {
  color: var(--color-text-inverse);
}

@media (max-width: 767px) {
  .news-detail__inner {
    padding: 0px;
    border: none;
  }
}

/* =========================================================
   Documents page
   ========================================================= */
.section--documents {
  padding-top: clamp(20px, 4vw, 40px);
  padding-bottom: 64px;
}

.documents-page {
  display: flex;
  flex-direction: column;
  gap: 20px;
}

.documents-page__controls {
  display: grid;
  gap: 18px;
}

.documents-page__search-wrap,
.documents-page__filter-wrap,
.documents-page__type-wrap {
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.documents-page__search-label,
.documents-page__filter-label {
  font-size: var(--font-size-small);
  color: var(--color-text-muted);
}

.documents-page__search-field {
  position: relative;
}

.documents-page__search-input,
.documents-page__filter-select {
  width: 100%;
  min-height: 46px;
  border: 1px solid rgba(97, 120, 110, 0.35);
  border-radius: var(--radius-sm);
  background: var(--color-surface);
  color: var(--color-text-primary);
  font-size: var(--font-size-small);
  padding: 11px 14px;
  transition:
    border-color 0.2s var(--ease-out),
    box-shadow 0.2s var(--ease-out);
}

.documents-page__search-input {
  padding-right: 48px;
}

.documents-page__search-input::placeholder {
  color: var(--color-sidebar-muted);
}

.documents-page__search-input[type="search"]::-webkit-search-cancel-button,
.documents-page__search-input[type="search"]::-webkit-search-decoration {
  -webkit-appearance: none;
  appearance: none;
}

.documents-page__search-input:focus-visible,
.documents-page__filter-select:focus-visible {
  outline: none;
  border-color: var(--color-brand-primary);
  box-shadow: 0 0 0 3px rgba(0, 107, 60, 0.14);
}

.documents-page__search-clear {
  position: absolute;
  top: 50%;
  right: 10px;
  transform: translateY(-50%);
  width: 30px;
  height: 30px;
  border-radius: 50%;
  font-size: 14px;
  color: var(--color-text-muted);
  background: rgba(97, 120, 110, 0.14);
  transition:
    background 0.2s var(--ease-out),
    color 0.2s var(--ease-out);
}

.documents-page__search-clear:hover {
  color: var(--color-text-inverse);
  background: var(--color-brand-primary);
}

.dropdown {
  position: relative;
}

.dropdown__button {
  width: 100%;
  min-height: 46px;
  border: 1px solid rgba(97, 120, 110, 0.35);
  border-radius: var(--radius-sm);
  background: var(--color-surface);
  color: var(--color-sidebar-muted);
  font-size: var(--font-size-small);
  padding: 11px 44px 11px 14px;
  text-align: left;
  position: relative;
  transition:
    border-color 0.2s var(--ease-out),
    box-shadow 0.2s var(--ease-out);
}

.dropdown__button::after {
  content: "";
  position: absolute;
  top: 50%;
  right: 14px;
  width: 8px;
  height: 8px;
  margin-top: -6px;
  border-right: 2px solid var(--color-text-muted);
  border-bottom: 2px solid var(--color-text-muted);
  transform: rotate(45deg);
  transition: transform 0.2s var(--ease-out);
}

.dropdown--open .dropdown__button::after {
  transform: rotate(225deg);
  margin-top: -1px;
}

.dropdown__button:focus-visible {
  outline: none;
  border-color: var(--color-brand-primary);
  box-shadow: 0 0 0 3px rgba(0, 107, 60, 0.14);
}

.dropdown__list {
  list-style: none;
  margin: 8px 0 0;
  padding: 6px;
  position: absolute;
  top: 100%;
  left: 0;
  right: 0;
  z-index: 12;
  border-radius: var(--radius-sm);
  background: var(--color-surface);
  box-shadow: var(--shadow-card);
  border: 1px solid rgba(97, 120, 110, 0.25);
  display: none;
  max-height: 240px;
  overflow: auto;
}

.dropdown__list::-webkit-scrollbar {
  width: 4px;
  height: 4px;
}

.dropdown__list::-webkit-scrollbar-button {
  display: none;
  width: 0;
  height: 0;
}

.dropdown__list::-webkit-scrollbar-thumb {
  background: var(--color-brand-primary-soft);
  border-radius: 4px;
}

.dropdown__list::-webkit-scrollbar-track {
  background: var(--color-sidebar-bg);
}

.dropdown--open .dropdown__list {
  display: block;
}

.dropdown__list-item {
  padding: 10px 12px;
  border-radius: 8px;
  cursor: pointer;
  font-size: var(--font-size-small);
  color: var(--color-sidebar-muted);
  line-height: 1.35;
  transition:
    background 0.2s var(--ease-out),
    color 0.2s var(--ease-out);
}

.dropdown__list-item:hover,
.dropdown__list-item--active {
  background: rgba(0, 107, 60, 0.08);
  color: var(--color-brand-primary);
}

.dropdown__input-hidden {
  position: absolute;
  width: 1px;
  height: 1px;
  margin: -1px;
  padding: 0;
  border: 0;
  clip: rect(0 0 0 0);
  overflow: hidden;
}

.documents-page__search-hint,
.documents-page__result {
  margin: 0;
  font-size: var(--font-size-small);
  color: var(--color-text-muted);
}

.documents-page__list {
  display: flex;
  flex-direction: column;
  gap: 14px;
}

.documents-page__item[hidden] {
  display: none;
}

.documents-page__item {
  opacity: 0;
  transform: translateY(8px);
}

.documents-page__item:not(.documents-item--add):hover {
  transform: translateY(-3px);
  box-shadow: var(--shadow-news-hover);
}

.documents-page__item.documents-item--add {
  opacity: 1;
  transform: none;
  box-shadow: none;
}

.documents-page__item--show {
  opacity: 1;
  transform: translateY(0);
  transition:
    opacity 0.28s var(--ease-out),
    transform 0.28s var(--ease-out);
}

.documents-page__empty {
  margin: 0;
  padding: 14px 16px;
  border-radius: var(--radius-sm);
  background: rgba(0, 107, 60, 0.08);
  color: var(--color-text-primary);
}

.documents-item {
  display: grid;
  grid-template-columns: auto minmax(0, 1fr) auto;
  gap: 16px;
  align-items: center;
  padding: 20px;
  border-radius: var(--radius-lg);
  background: var(--color-surface);
  box-shadow: var(--shadow-card);
}

.documents-page__item:has(.ecp-tooltip:hover),
.documents-page__item:has(.ecp-tooltip:focus-within) {
  position: relative;
  z-index: 20;
}

.documents-item.documents-item--add {
  display: flex;
  flex-direction: row;
  align-items: center;
  justify-content: center;
  gap: 12px;
  box-shadow: none;
  background: color-mix(in srgb, var(--color-brand-primary) 6%, var(--color-surface));
}

.documents-item.documents-item--add:hover {
  background: color-mix(in srgb, var(--color-brand-primary) 12%, var(--color-surface));
}

.documents-item__icon {
  min-width: 48px;
  height: 30px;
  padding: 0 10px;
  border-radius: 8px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.04em;
  color: var(--color-text-inverse);
}

.documents-item__icon--pdf {
  background: #c62828;
}

.documents-item__icon--doc {
  background: #1565c0;
}

.documents-item__icon--xls {
  background: #2e7d32;
}

.documents-item__title {
  margin: 0 0 8px;
  font-size: var(--font-size-nav);
  line-height: 1;
  font-weight: 500;
}

.documents-item__title-link {
  color: inherit;
  text-decoration: none;
}

.documents-item__title-link .documents-item__meta-item--ecp {
  margin-left: 0.35em;
  font-weight: 600;
  line-height: 0;
}

.documents-item__title-link .documents-item__meta-item--ecp .ecp-badge {
  display: inline-flex;
  align-items: center;
  gap: 3px;
  font-size: 11px;
  vertical-align: baseline;
}

.documents-item__title-link .documents-item__meta-item--ecp .ecp-badge__icon {
  width: 12px;
  height: 12px;
}

.documents-item__title .documents-item__meta-item--ecp {
  margin-left: 0.05em;
  font-weight: 600;
  line-height: 0;
}

.documents-item__title .documents-item__meta-item--ecp .ecp-badge {
  display: inline-flex;
  align-items: center;
  gap: 3px;
  font-size: 11px;
  vertical-align: baseline;
}

.documents-item__title .documents-item__meta-item--ecp .ecp-badge__icon {
  width: 12px;
  height: 12px;
}

.documents-item__title-link:hover {
  color: var(--color-accent);
}

.documents-item__meta {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  flex-wrap: wrap;
  gap: 8px 14px;
}

.documents-item__meta-item {
  font-size: var(--font-size-small);
  color: var(--color-text-muted);
}

.documents-item__meta-item--ecp {
  display: inline;
  color: var(--color-brand-primary);
}

.documents-item__ecp {
  color: var(--color-brand-primary);
}

.ecp-tooltip {
  position: relative;
  display: inline;
  vertical-align: super;
  cursor: help;
  text-decoration: none;
  color: var(--color-brand-primary);
}

.ecp-tooltip__trigger {
  display: inline-flex;
  outline: none;
}

.ecp-tooltip__panel {
  position: absolute;
  left: 50%;
  top: calc(100% + 8px);
  transform: translateX(-50%);
  z-index: 1100;
  width: min(360px, calc(100vw - 32px));
  padding: 0;
  border: 1px solid rgba(31, 78, 121, 0.25);
  border-radius: 10px;
  background: var(--color-surface, #fff);
  box-shadow: 0 10px 28px rgba(15, 23, 42, 0.14);
  text-align: left;
  font-weight: 400;
  line-height: 1.45;
  color: var(--color-text);
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
  transition: opacity 0.15s ease, visibility 0.15s ease;
}

.ecp-tooltip__panel--fixed.ecp-tooltip__panel--visible {
  position: fixed;
  transform: none;
  opacity: 1;
  visibility: visible;
  pointer-events: auto;
}

.ecp-tooltip__scroll {
  padding: 12px 14px;
  max-height: min(50vh, 320px);
  overflow-x: hidden;
  overflow-y: auto;
  overscroll-behavior: contain;
  scrollbar-gutter: stable;
  -webkit-overflow-scrolling: touch;
}

.ecp-tooltip__panel:not(.ecp-tooltip__panel--multi) .ecp-tooltip__scroll {
  max-height: none;
  overflow: visible;
}

.ecp-tooltip__scroll::-webkit-scrollbar {
  width: 4px;
  height: 4px;
}

.ecp-tooltip__scroll::-webkit-scrollbar-button {
  display: none;
  width: 0;
  height: 0;
}

.ecp-tooltip__scroll::-webkit-scrollbar-thumb {
  background: var(--color-brand-primary-soft);
  border-radius: 4px;
}

.ecp-tooltip__scroll::-webkit-scrollbar-track {
  background: var(--color-sidebar-bg);
}

.ecp-tooltip__panel::before {
  content: "";
  position: absolute;
  left: 50%;
  top: 0;
  transform: translate(-50%, -100%);
  border: 7px solid transparent;
  border-bottom-color: rgba(31, 78, 121, 0.25);
}

.ecp-tooltip__panel::after {
  content: "";
  position: absolute;
  left: 50%;
  top: 0;
  transform: translate(-50%, calc(-100% + 1px));
  border: 7px solid transparent;
  border-bottom-color: var(--color-surface, #fff);
}

.ecp-tooltip__panel--above::before {
  top: auto;
  bottom: 0;
  transform: translate(-50%, 100%);
  border-bottom-color: transparent;
  border-top-color: rgba(31, 78, 121, 0.25);
}

.ecp-tooltip__panel--above::after {
  top: auto;
  bottom: 0;
  transform: translate(-50%, calc(100% - 1px));
  border-bottom-color: transparent;
  border-top-color: var(--color-surface, #fff);
}

.ecp-tooltip__title {
  margin: 0 0 8px;
  font-size: var(--font-size-small);
  font-weight: 500;
  color: var(--color-brand-primary);
  line-height: 1;
  font-family: var(--font-family-mono);
}

.ecp-tooltip__stamp + .ecp-tooltip__divider,
.ecp-tooltip__divider + .ecp-tooltip__stamp {
  margin-top: 0;
}

.ecp-tooltip__divider {
  height: 1px;
  margin: 10px 0;
  background: rgba(31, 78, 121, 0.14);
}

.ecp-tooltip__list {
  margin: 0;
}

.ecp-tooltip__list .ecp-stamp__row {
  grid-template-columns: minmax(96px, auto) 1fr;
  gap: 2px 8px;
  margin-bottom: 3px;
}

.ecp-tooltip__list .ecp-stamp__term,
.ecp-tooltip__list .ecp-stamp__value {
  font-size: 12px;
}

.documents-item__content {
  overflow: visible;
}

.documents-item__title-link .ecp-tooltip:hover,
.documents-item__title-link .ecp-tooltip:focus-within {
  color: var(--color-brand-primary);
}

.documents-item__open {
  min-width: 126px;
  white-space: nowrap;
}

.documents-page__actions {
  display: flex;
  justify-content: center;
  padding-top: 6px;
}

.documents-page__load-more[hidden] {
  display: none !important;
}

.documents-detail__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
}

.documents-detail__viewer {
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.documents-detail__viewer-frame {
  width: 100%;
  min-height: clamp(320px, 60vh, 760px);
  border: 1px solid rgba(97, 120, 110, 0.3);
  border-radius: var(--radius-sm);
  background: #ffffff;
}

.documents-detail__viewer-note {
  margin: 0;
  font-size: var(--font-size-small);
  color: var(--color-text-muted);
}

.documents-detail__viewer-link {
  color: var(--color-brand-primary);
  text-decoration: underline;
  text-underline-offset: 3px;
}

.documents-detail__back {
  background: var(--color-sidebar-muted);
}

@media (min-width: 900px) {
  .documents-page__controls {
    grid-template-columns: 1fr 1fr 1fr;
    align-items: end;
    gap: 20px;
  }
}

@media (max-width: 767px) {
  .section--documents {
    padding-bottom: 42px;
  }

  .documents-item:not(.documents-item--add) {
    grid-template-columns: 1fr;
    align-items: flex-start;
    gap: 14px;
    padding: 16px;
  }

  .documents-item__open {
    width: 100%;
  }
}

@media (min-width: 768px) and (max-width: 1023px) {
  [data-menu-width="expanded"] .documents-item:not(.documents-item--add) {
    grid-template-columns: 1fr;
    align-items: flex-start;
    gap: 14px;
    padding: 16px;
  }
}

@media (prefers-reduced-motion: reduce) {
  .documents-page__item,
  .documents-page__item--show {
    opacity: 1;
    transform: none;
    transition: none;
  }
}

/* =========================================================
   Feedback page
   ========================================================= */

.feedback-page {
  display: flex;
  flex-direction: column;
  gap: 20px;
}

.feedback-page__card {
  display: flex;
  flex-direction: column;
  gap: 18px;
}

.feedback-page__title {
  margin: 0;
  font-size: var(--font-size-h1);
  line-height: 1.2;
  font-weight: 500;
  color: var(--color-text-primary);
}

.feedback-page__subtitle {
  margin: 0;
  font-size: var(--font-size-nav);
  line-height: 1.2;
  font-weight: 500;
  color: var(--color-text-primary);
}

.feedback-page__terms-short,
.feedback-page__terms-full {
  display: grid;
  gap: 10px;
}

.feedback-page__terms-full[hidden],
.feedback-page__terms-short[hidden] {
  display: none !important;
}

.feedback-page__terms-short p,
.feedback-page__terms-full p {
  margin: 0;
  font-size: var(--font-size-medium);
  line-height: 1.65;
  color: var(--color-text-primary);
}

.feedback-page__terms-full ul {
  list-style: disc;
}

.feedback-page__terms-full ol {
  list-style: decimal;
}

.feedback-page__terms-full ol,
.feedback-page__terms-full ul {
  margin: 0;
  padding-left: 1.35em;
  font-size: var(--font-size-medium);
  line-height: var(--news-detail-body-line-height);
  color: var(--color-text-primary);
}

.feedback-page__terms-full ul li,
.feedback-page__terms-full ol li {
  margin-bottom: 0.5em;
  padding-left: 0.25em;
}

.feedback-page__terms-full ul li::marker,
.feedback-page__terms-full ol li::marker {
  color: var(--color-brand-primary);
}

.feedback-page__terms-actions {
  margin-top: 14px;
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

.feedback-page__terms-toggle,
.feedback-page__terms-hide {
  align-self: flex-start;
}

.feedback-page__terms-toggle[aria-expanded="true"] {
  background: var(--color-sidebar-muted);
  cursor: default;
}

.feedback-page__terms-toggle[aria-expanded="true"]:hover {
  transform: none;
  box-shadow: none;
  cursor: default;
}

.feedback-page__terms-toggle:disabled {
  opacity: 0.75;
  cursor: default;
  transform: none;
  box-shadow: none;
}

.feedback-page__terms-hide[hidden] {
  display: none !important;
}

.feedback-page__terms-full--animating {
  animation: feedback-fade-in 0.28s var(--ease-out);
}

@keyframes feedback-fade-in {
  from {
    opacity: 0;
    transform: translateY(6px);
  }

  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.feedback-form {
  display: flex;
  flex-direction: column;
  gap: 18px;
}

.feedback-form__alert {
  margin: 0;
  padding: 14px 16px;
  border-radius: var(--radius-sm);
  font-size: var(--font-size-small);
  line-height: 1.45;
}

.feedback-form__alert--success {
  background: rgba(0, 107, 60, 0.1);
  color: var(--color-brand-primary);
  border: 1px solid rgba(0, 107, 60, 0.22);
}

.feedback-form__alert--error {
  background: rgba(198, 40, 40, 0.08);
  color: #8b1e1e;
  border: 1px solid rgba(198, 40, 40, 0.22);
}

.feedback-form__error-list {
  margin: 0;
  padding-left: 1.2em;
}

.feedback-form__error-list li + li {
  margin-top: 4px;
}

.feedback-form__grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 14px 16px;
}

.feedback-form__field {
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.feedback-form__field[hidden] {
  display: none !important;
}

.feedback-form__field--full {
  grid-column: 1 / -1;
}

.feedback-form__label {
  font-size: var(--font-size-small);
  line-height: 1.4;
  color: var(--color-text-muted);
}

.feedback-form__input,
.feedback-form__textarea,
.feedback-form__file {
  font-family: inherit;
  width: 100%;
  min-height: 46px;
  border: 1px solid rgba(97, 120, 110, 0.35);
  border-radius: var(--radius-sm);
  background: var(--color-surface);
  color: var(--color-sidebar-muted);
  font-size: var(--font-size-small);
  padding: 11px 14px;
  transition:
    border-color 0.2s var(--ease-out),
    box-shadow 0.2s var(--ease-out);
}

.feedback-form__textarea {
  min-height: 140px;
  resize: vertical;
  line-height: 1.4;
}

.feedback-form__dropdown .dropdown__button {
  min-height: 46px;
  border-color: rgba(97, 120, 110, 0.35);
  border-radius: var(--radius-sm);
  background: var(--color-surface);
  color: var(--color-text-muted);
  font-size: var(--font-size-small);
  padding: 11px 44px 11px 14px;
}

.feedback-form__dropdown.feedback-form__dropdown--empty .dropdown__button {
  color: var(--color-sidebar-muted);
}

.feedback-form__dropdown .dropdown__list {
  max-height: 280px;
}

.feedback-form__dropdown .dropdown__list-item {
  color: var(--color-text-muted);
}

.feedback-form__dropdown.feedback-form__dropdown--invalid .dropdown__button {
  border-color: #c62828;
  box-shadow: 0 0 0 3px rgba(198, 40, 40, 0.12);
}

.feedback-form__file {
  padding: 8px 10px;
    background: var(--color-surface);
    color: var(--color-text-muted);
    border-color: var(--color-search-bg);
}

.feedback-form__file::file-selector-button {
  margin-right: 12px;
  padding: 8px 12px;
  border: 1px solid var(--color-brand-primary);
  border-radius: var(--radius-sm);
  background: var(--color-brand-primary);
  color: var(--color-text-inverse);
  font: inherit;
  cursor: pointer;
  transition: transform 0.2s var(--ease-out), box-shadow 0.2s var(--ease-out);
}

.feedback-form__file::file-selector-button:hover {
  transform: translateY(-2px);
  box-shadow: var(--shadow-btn-hover);
}

.feedback-form__input::placeholder,
.feedback-form__textarea::placeholder {
  font-family: inherit;
  font-size: var(--font-size-small);
  color: var(--color-sidebar-muted);
}

.feedback-form__input:focus-visible,
.feedback-form__textarea:focus-visible,
.feedback-form__file:focus-visible,
.feedback-form__checkbox-input:focus-visible + .feedback-form__checkbox-box,
.feedback-form__dropdown .dropdown__button:focus-visible {
  outline: none;
  border-color: var(--color-brand-primary);
  box-shadow: 0 0 0 3px rgba(0, 107, 60, 0.14);
}

.feedback-form__checkbox {
  display: grid;
  grid-template-columns: 20px minmax(0, 1fr);
  gap: 0 12px;
  align-items: flex-start;
}

.feedback-form__checkbox-input {
  position: absolute;
  opacity: 0;
  inline-size: 1px;
  block-size: 1px;
}

.feedback-form__checkbox-box {
  grid-column: 1;
  width: 20px;
  height: 20px;
  margin-top: 1px;
  border-radius: 5px;
  border: 1px solid rgba(97, 120, 110, 0.45);
  background: var(--color-surface);
  position: relative;
  transition:
    border-color 0.2s var(--ease-out),
    background-color 0.2s var(--ease-out);
  cursor: pointer;
}

.feedback-form__checkbox-input:checked + .feedback-form__checkbox-box {
  border-color: var(--color-brand-primary);
  background: var(--color-brand-primary);
}

.feedback-form__checkbox-input:checked + .feedback-form__checkbox-box::after {
  content: "";
  position: absolute;
  left: 6px;
  top: 2px;
  width: 6px;
  height: 11px;
  border-right: 2px solid var(--color-text-inverse);
  border-bottom: 2px solid var(--color-text-inverse);
  transform: rotate(45deg);
}

.feedback-form__checkbox-text {
  grid-column: 2;
  font-size: var(--font-size-small);
  line-height: 1.55;
  color: var(--color-text-primary);
}

.feedback-form__field--captcha .feedback-form__input {
  max-width: 220px;
}

.feedback-form__captcha-row {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 10px;
}

.feedback-form__captcha-code {
  display: block;
  flex: 0 0 auto;
  height: 40px;
  width: auto;
  max-width: 180px;
  padding: 0;
  border-radius: var(--radius-sm);
  border: 1px solid rgba(97, 120, 110, 0.25);
  background: var(--color-surface);
  object-fit: contain;
}

.feedback-form__actions {
  display: flex;
  justify-content: flex-start;
}

.feedback-form__submit {
  min-width: 180px;
}

.feedback-stats {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 14px;
}

.feedback-stats__item {
  border: 1px solid rgba(97, 120, 110, 0.22);
  border-radius: var(--radius-sm);
  padding: 14px;
  background: var(--color-surface);
  display: grid;
  gap: 6px;
}

.feedback-stats__label {
  font-size: var(--font-size-small);
  color: var(--color-text-muted);
}

.feedback-stats__value {
  font-size: clamp(20px, 2vw, 30px);
  line-height: 1.1;
  font-weight: 500;
  color: var(--color-text-primary);
}

@media (max-width: 1199px) {
  .feedback-stats {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 767px) {
  .section--feedback {
    padding-bottom: 42px;
  }

  .feedback-form__grid {
    grid-template-columns: 1fr;
  }

  .feedback-form__field--full {
    grid-column: auto;
  }

  .feedback-form__submit {
    width: 100%;
  }

  .feedback-stats {
    grid-template-columns: 1fr;
  }
}

@media (prefers-reduced-motion: reduce) {
  .feedback-page__terms-full--animating {
    animation: none;
  }
}

/* =========================================================
   Anti-corruption page
   ========================================================= */
.section--anti-corruption {
  padding-top: clamp(20px, 4vw, 40px);
  padding-bottom: 64px;
}

.anti-corruption-page {
  display: flex;
  flex-direction: column;
  gap: 20px;
}

.anti-corruption-page__hero,
.anti-corruption-page__content,
.anti-corruption-page__observe {
  opacity: 0;
  transform: translateY(8px);
}

.anti-corruption-page__hero.anti-corruption-page__show,
.anti-corruption-page__content.anti-corruption-page__show,
.anti-corruption-page__observe.anti-corruption-page__show {
  opacity: 1;
  transform: translateY(0);
  transition:
    opacity 0.35s var(--ease-out),
    transform 0.35s var(--ease-out);
}

.anti-corruption-page__title {
  margin: 0;
  font-size: var(--font-size-h1);
  font-weight: 500;
  line-height: 1.2;
  letter-spacing: -0.02em;
  color: var(--color-text-primary);
}

.anti-corruption-page__lead {
  margin: 16px 0 0;
  max-width: 1080px;
  font-size: var(--font-size-medium);
  line-height: 1.65;
  color: var(--color-text-primary);
}

.anti-corruption-page__content {
  display: grid;
  gap: 20px;
}

.anti-corruption-page__content--structured {
  display: block;
}

.anti-corruption-page__nav-list {
  margin: 16px 0 0;
  padding: 0;
  gap: 10px;
  display: grid;
  list-style: none;
}

@media (min-width: 1024px) {
  .anti-corruption-page__nav-list {
      grid-template-columns: repeat(2, minmax(0px, 1fr));
      gap: 10px 24px;
  }
}

.anti-corruption-page__nav-link {
  color: var(--color-brand-primary);
  text-decoration: underline;
  text-underline-offset: 3px;
  transition: opacity 0.2s var(--ease-out);
}

.anti-corruption-page__nav-link:hover {
  opacity: 0.85;
}

.anti-corruption-page__section > p {
  margin: 36px 0 20px;
  font-size: var(--font-size-body);
  line-height: 1.6;
  font-weight: 500;
  color: var(--color-text-primary);
  background: color-mix(in srgb, var(--color-brand-primary) 3%, var(--color-brand-primary) 5%);
  padding: 10px 20px;
  border-radius: 10px;
  width: max-content;
}

.anti-corruption-page__section .news-documents__name {
  font-weight: normal;
}

.anti-corruption-page__section .news-documents__list {
  margin-top: 12px;
}

.anti-corruption-page__section .news-documents__item {
  align-items: center;
}

.anti-corruption-page__section .news-documents__link {
  display: inline-flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 8px;
}

.anti-corruption-page__section .news-documents__link .ecp-tooltip {
  vertical-align: middle;
  line-height: 0;
}

.anti-corruption-page__section .news-documents__link .ecp-tooltip .ecp-badge {
  margin-left: 0;
}

.anti-corruption-page__section .news-documents__download {
  display: inline-flex;
  color: var(--color-brand-primary);
}

.anti-corruption-card {
  min-width: 0;
}

.anti-corruption-card__title {
  margin: 0;
  font-size: var(--font-size-nav);
  line-height: 1.3;
  font-weight: 500;
  color: var(--color-text-primary);
}

.anti-corruption-card__text {
  margin: 14px 0 0;
  font-size: var(--font-size-body);
  line-height: 1.6;
  color: var(--color-text-primary);
}

.anti-corruption-card__list {
  margin: 16px 0 0;
  padding-left: 1.25em;
  display: grid;
  gap: 12px;
}

.anti-corruption-card__item {
  line-height: 1.55;
  color: var(--color-text-primary);
}

.anti-corruption-card__item::marker {
  color: var(--color-brand-primary);
}

.anti-corruption-card__links {
  list-style: none;
  margin: 16px 0 0;
  padding: 0;
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.anti-corruption-card__link {
  display: inline-flex;
  flex-wrap: wrap;
  align-items: baseline;
  gap: 8px 12px;
  font-size: var(--font-size-body);
  line-height: 1.45;
  color: var(--color-brand-primary);
  text-decoration: underline;
  text-underline-offset: 3px;
  transition: opacity 0.2s var(--ease-out);
}

.anti-corruption-card__link:hover {
  opacity: 0.85;
}

.anti-corruption-card__link:focus-visible,
.anti-corruption-page__hero:focus-within,
.anti-corruption-page__content:focus-within {
  outline: 2px solid var(--color-brand-primary);
  outline-offset: 2px;
}

@media (min-width: 1200px) {
  .anti-corruption-page__content:not(.anti-corruption-page__content--structured) {
    grid-template-columns: 1.4fr 1fr;
    align-items: start;
  }
}

@media (max-width: 767px) {
  .section--anti-corruption {
    padding-bottom: 42px;
  }
}

@media (prefers-reduced-motion: reduce) {
  .anti-corruption-page__hero,
  .anti-corruption-page__content,
  .anti-corruption-page__observe,
  .anti-corruption-page__hero.anti-corruption-page__show,
  .anti-corruption-page__content.anti-corruption-page__show,
  .anti-corruption-page__observe.anti-corruption-page__show {
    opacity: 1;
    transform: none;
    transition: none;
  }
}

/* =========================================================
   Legal pages (privacy policy / user agreement)
   ========================================================= */
.section--legal {
  padding-bottom: 54px;
}

.legal-page {
  display: flex;
  flex-direction: column;
  gap: 24px;
}

.legal-page__hero {
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.legal-page__hero,
.legal-page__section,
.legal-page__documents {
  opacity: 0;
  transform: translateY(8px);
}

.legal-page__hero.legal-page__show,
.legal-page__section.legal-page__show,
.legal-page__documents.legal-page__show {
  opacity: 1;
  transform: translateY(0);
  transition:
    opacity 0.35s var(--ease-out),
    transform 0.35s var(--ease-out);
}

.legal-page__title {
  margin: 0;
  font-size: var(--font-size-h1);
  font-weight: 500;
  line-height: 1.2;
  letter-spacing: -0.02em;
  color: var(--color-text-primary);
}

.legal-page__lead {
  margin: 0;
  max-width: 1100px;
  font-size: var(--font-size-medium);
  line-height: 1.65;
  color: var(--color-text-primary);
}

.legal-page__content p {
  margin: 16px 0 0;
  font-size: var(--font-size-medium);
  line-height: var(--news-detail-body-line-height);
  color: var(--color-text-primary);
}

.legal-page__content p:last-child {
  margin-bottom: 0;
}

.legal-page__content ul {
  list-style: disc;
}

.legal-page__content ol {
  list-style: decimal;
}

.legal-page__content ol,
.legal-page__content ul {
  margin: 16px 0 0;
  padding-left: 1.35em;
  font-size: var(--font-size-medium);
  line-height: var(--news-detail-body-line-height);
}

.legal-page__content ul li,
.legal-page__content ol li {
  margin-bottom: 0.5em;
  padding-left: 0.25em;
}

.legal-page__content ul li::marker,
.legal-page__content ol li::marker {
  color: var(--color-brand-primary);
}

.legal-page__content {
  display: grid;
  gap: 20px;
}

.legal-page__section-title,
.legal-page__content h2 {
  margin: 16px 0 0;
  font-size: var(--font-size-nav);
  line-height: 1.3;
  font-weight: 500;
  color: var(--color-text-primary);
}

.legal-page__section a {
  color: var(--color-brand-primary);
    text-decoration: underline;
    text-underline-offset: 3px;
    transition: opacity 0.2s var(--ease-out);
}

.legal-page__section a:hover {
  opacity: 0.85;
}

.legal-page__paragraph {
  margin: 14px 0 0;
  font-size: var(--font-size-body);
  line-height: 1.65;
  color: var(--color-text-primary);
}

.legal-page__list {
  margin: 14px 0 0;
  padding-left: 1.25em;
  display: grid;
  gap: 10px;
}

.legal-page__list-item {
  line-height: 1.55;
  color: var(--color-text-primary);
}

.legal-page__list-item::marker {
  color: var(--color-brand-primary);
}

.news-detail__body .legal-page__meta {
  margin-top: 16px;
}

.legal-page__meta {
  margin: 0;
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

.legal-page__meta-item {
  display: inline-flex;
  align-items: center;
  border-radius: var(--radius-pill);
  background: rgba(0, 107, 60, 0.08);
  color: var(--color-brand-primary);
  padding: 6px 12px;
  font-size: var(--font-size-small);
}

[data-menu-theme="dark"] .legal-page__meta-item {
  background: rgba(48, 113, 231, 0.15);
}

@media (min-width: 1200px) {
  .legal-page__content {
    grid-template-columns: 1fr 1fr;
    align-items: start;
  }

  .legal-page__section--wide {
    grid-column: 1 / -1;
  }
}

@media (max-width: 767px) {
  .section--legal {
    padding-bottom: 42px;
  }
}

@media (prefers-reduced-motion: reduce) {
  .legal-page__hero,
  .legal-page__section,
  .legal-page__documents,
  .legal-page__hero.legal-page__show,
  .legal-page__section.legal-page__show,
  .legal-page__documents.legal-page__show {
    opacity: 1;
    transform: none;
    transition: none;
  }
}

/* =========================================================
   About pages (history / mission / management)
   ========================================================= */
.section--about-page {
  padding-top: clamp(20px, 4vw, 40px);
  padding-bottom: 64px;
}

.about-page {
  display: flex;
  flex-direction: column;
  gap: 20px;
}

.about-page__hero,
.about-page__block {
  opacity: 0;
  transform: translateY(8px);
}

.about-page__hero.about-page__show,
.about-page__block.about-page__show {
  opacity: 1;
  transform: translateY(0);
  transition:
    opacity 0.35s var(--ease-out),
    transform 0.35s var(--ease-out);
}

.about-page__title {
  margin: 0;
  font-size: var(--font-size-h1);
  line-height: 1.2;
  font-weight: 500;
  letter-spacing: -0.02em;
  color: var(--color-text-primary);
}

.about-page__lead {
  margin: 14px 0 0;
  max-width: 1100px;
  font-size: var(--font-size-medium);
  line-height: 1.65;
  color: var(--color-text-primary);
}

.about-page__section-title {
  margin: 0;
  font-size: var(--font-size-nav);
  line-height: 1.3;
  font-weight: 500;
  color: var(--color-text-primary);
}

.mission-page__mission p.about-page__paragraph {
  margin: 14px 0 0;
  font-size: var(--font-size-body);
  line-height: 1.65;
  color: var(--color-text-primary);
}

.mission-page__mission P.mission-page__mission-text {
  margin: 14px 0 0;
  font-size: var(--font-size-medium);
  line-height: 1.65;
  color: var(--color-text-primary);
}

.about-page__paragraph span {
  font-weight: 500;
}

.about-page__list {
  margin: 12px 0 0;
  padding-left: 1.25em;
  display: grid;
  gap: 10px;
}

.about-page__list-item {
  line-height: 1.58;
  color: var(--color-text-primary);
}

.mission-page__task-card .about-page__list-item {
  line-height: 1.58;
  color: var(--color-text-primary);
  margin-bottom: 0;
  padding-left: 0;
}

.about-page__list-item::marker {
  color: var(--color-brand-primary);
}

.history-page__grid {
  margin-top: 18px;
  display: grid;
  gap: 16px;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
}

.history-page__card {
  border: 1px solid rgba(97, 120, 110, 0.22);
  border-radius: var(--radius-md);
  overflow: hidden;
  background: var(--color-surface);
}

.history-page__photo {
  width: 100%;
  height: auto;
  aspect-ratio: 4 / 5;
  object-fit: cover;
  display: block;
}

.history-page__content {
  padding: 14px 16px 16px;
}

.history-page__name,
.management-page__name {
  margin: 0;
  color: var(--color-text-primary);
  font-size: var(--font-size-nav);
  line-height: 1.25;
  font-weight: 500;
}

p.history-page__role,
.management-page__position {
  margin: 8px 0 0;
  color: var(--color-brand-primary);
  font-size: var(--font-size-small);
}

.history-page__text {
  margin: 10px 0 0;
  color: var(--color-text-primary);
  line-height: 1.6;
}

.mission-page__tasks {
  margin-top: 18px;
  display: grid;
  gap: 16px;
}

.mission-page__task-card {
  border: 1px solid rgba(97, 120, 110, 0.22);
  border-radius: var(--radius-md);
  background: var(--color-surface);
  padding: 16px;
  height: -webkit-fill-available;
}

.mission-page__task-title,
.management-page__vacancy-title {
  margin: 0;
  font-size: var(--font-size-nav);
  line-height: 1.3;
  color: var(--color-text-primary);
  font-weight: 500;
}

.mission-page__chips {
  margin: 16px 0 0;
  padding: 0;
  list-style: none;
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

.legal-page__content--html ul li.mission-page__chip {
  margin-bottom: 0;
  padding-left: revert-rule;
  border-radius: var(--radius-pill);
  background: rgba(0, 107, 60, 0.08);
  color: var(--color-brand-primary);
  font-size: var(--font-size-small);
  padding: 8px 14px;
}

.mission-page__chip {
  border-radius: var(--radius-pill);
  background: rgba(0, 107, 60, 0.08);
  color: var(--color-brand-primary);
  font-size: var(--font-size-small);
  padding: 8px 14px;
}

[data-menu-theme="dark"] .history-page__card,
[data-menu-theme="dark"] .mission-page__task-card,
[data-menu-theme="dark"] .mission-page__goal,
[data-menu-theme="dark"] .mission-page__audience-card,
[data-menu-theme="dark"] .management-page__leader,
[data-menu-theme="dark"] .management-page__staff-card,
[data-menu-theme="dark"] .management-page__vacancy-card {
  border-color: rgba(148, 163, 184, 0.3);
}

[data-menu-theme="dark"] .mission-page__chip {
  background: rgba(48, 113, 231, 0.15);
}

.management-page__leader {
  margin-top: 18px;
  border: 1px solid rgba(97, 120, 110, 0.22);
  border-radius: var(--radius-md);
  background: var(--color-surface);
  padding: 16px;
  display: grid;
  gap: 16px;
}

.management-page__photo {
  width: 100%;
  height: auto;
  max-width: 320px;
  border-radius: var(--radius-sm);
  aspect-ratio: 4 / 5;
  object-fit: cover;
}

.management-page__contacts {
  margin: 12px 0 0;
  padding: 0;
  list-style: none;
  display: grid;
  gap: 8px;
}

.management-page__contact-item {
  color: var(--color-text-primary);
  line-height: 1.55;
}

.management-page__contact-item .breadcrumbs__link {
  text-decoration: none;
}

.management-page__staff-grid {
  margin-top: 18px;
  display: grid;
  gap: 16px;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
}

.management-page__staff-card {
  border: 1px solid rgba(97, 120, 110, 0.22);
  border-radius: var(--radius-md);
  background: var(--color-surface);
  padding: 14px;
  display: grid;
  gap: 8px;
  justify-items: center;
}

.management-page__staff-content-left {
  display: grid;
  gap: 8px;
  justify-items: center;
}

.management-page__vacancies {
  margin-top: 18px;
  display: grid;
  gap: 16px;
}

.management-page__vacancy-card {
  border: 1px solid rgba(97, 120, 110, 0.22);
  border-radius: var(--radius-md);
  background: var(--color-surface);
  padding: 16px;
}

.management-page__vacancy-grid {
  margin-top: 12px;
  display: grid;
  gap: 16px;
}

.management-page__vacancy-subtitle {
  margin: 0;
  color: var(--color-text-primary);
  font-size: var(--font-size-medium);
  line-height: 1.3;
  font-weight: 500;
}

@media (min-width: 860px) {
  .mission-page__tasks,
  .mission-page__audience {
    grid-template-columns: 1fr 1fr;
    align-items: start;
  }

  ol.mission-page__goals {
    grid-template-columns: 1fr 1fr;
  }

  .management-page__leader {
    grid-template-columns: 300px 1fr;
    align-items: start;
  }

  .management-page__vacancy-grid {
    grid-template-columns: 1fr 1fr;
  }
}

@media (max-width: 767px) {
  .section--about-page {
    padding-bottom: 42px;
  }

  .history-page__content,
  .management-page__staff-card,
  .management-page__vacancy-card,
  .mission-page__goal,
  .mission-page__audience-card,
  .mission-page__task-card,
  .management-page__leader {
    padding: 12px;
  }
}

@media (prefers-reduced-motion: reduce) {
  .about-page__hero,
  .about-page__block,
  .about-page__hero.about-page__show,
  .about-page__block.about-page__show {
    opacity: 1;
    transform: none;
    transition: none;
  }
}

/* =========================================================
   Site-wide scroll reveal (data-page-reveal)
   ========================================================= */
.page-reveal {
  opacity: 0;
  transform: translateY(8px);
}

.page-reveal.page-reveal--show {
  opacity: 1;
  transform: translateY(0);
  transition:
    opacity 0.35s var(--ease-out),
    transform 0.35s var(--ease-out);
}

.news-detail__body,
.news-detail__body p {
  margin: 0 0 1.25em;
  font-size: var(--font-size-medium);
  line-height: var(--news-detail-body-line-height);
  color: var(--color-text-primary);
}

.news-detail__body blockquote {
  margin: 1.75em 0;
  padding: 1.25em 1.25em 1.25em 1.35em;
  border-left: 4px solid var(--color-brand-primary);
  border-radius: 0 var(--radius-sm) var(--radius-sm) 0;
  background: rgba(0, 107, 60, 0.06);
  box-shadow: inset 0 0 0 1px rgba(0, 107, 60, 0.08);
}

.news-detail__body blockquote,
.news-detail__body blockquote p {
  margin: 0 0 0.75em;
  font-size: var(--font-size-medium);
  font-style: italic;
  line-height: 1.55;
}

.news-detail__body blockquote footer {
  font-size: var(--font-size-small);
  font-style: normal;
  color: var(--color-text-muted);
}

.news-detail__body ul {
  list-style: disc;
}

.news-detail__body ol {
  list-style: decimal;
}

.news-detail__body ol,
.news-detail__body ul {
  margin: 0 0 1.35em;
  padding-left: 1.35em;
  font-size: var(--font-size-medium);
  line-height: var(--news-detail-body-line-height);
}

.news-detail__body ul li,
.news-detail__body ol li {
  margin-bottom: 0.5em;
  padding-left: 0.25em;
}

.news-detail__body ul li::marker,
.news-detail__body ol li::marker {
  color: var(--color-brand-primary);
}

@media (prefers-reduced-motion: reduce) {
  .page-reveal,
  .page-reveal.page-reveal--show {
    opacity: 1;
    transform: none;
    transition: none;
  }
}

@media (min-width: 1024px) and (max-width: 1199px) {
  .hero-slider.swiper {
    height: 300px;
  }
  .hero-slider__layout {
    min-height: 300px;
    align-items: center;
  }
}

.news-detail__header {
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.legal-page__content .news-border {
  height: -webkit-fill-available;
}

.news-border {
  padding: 24px 22px;
  border-radius: var(--radius-lg);
  background: var(--color-surface);
  box-shadow: var(--shadow-card);
  height: auto;
}

.section--news-detail {
  padding-bottom: 64px;
}

.news-detail__body.news-article.news-border a {
  text-decoration: underline;
  text-underline-offset: 3px;
  transition: opacity 0.2s var(--ease-out);
  color: var(--color-brand-primary);
}

.news-detail__body.news-article.news-border a:hover {
  opacity: 0.85;
  text-decoration: none;
  transition: opacity 0.2s var(--ease-out);
}

.news-detail__body.news-article.news-border a:focus-visible {
  outline: 2px solid var(--color-brand-primary);
  outline-offset: 2px;
  text-decoration: none;
  transition: opacity 0.2s var(--ease-out);
}
/* End */
/* /local/templates/ukmpsit/css/ukmpsit_variables.css?17880103375378 */
/* /local/components/my/ovz/templates/.default/style.css?178890254624275 */
/* /local/templates/ukmpsit/components/bitrix/search.suggest.input/header/style.css?178801033784 */
/* /local/templates/ukmpsit/styles.css?1789046434124855 */
