/* Crimea24 layout: темы + glassmorphism + сетка + таб-бар + модалка */

:root {
	--a-font: 'Manrope', system-ui, -apple-system, 'Segoe UI', 'Roboto', 'Helvetica Neue', sans-serif;
	/* Вертикаль отступа у шапки с поиском */
	--crimea-site-header-outer-y: 24px;
	/* Нижний отступ под фиксированный таб-бар */
	/* Запас под нижнюю панель (кнопки + подложка + safe area) */
	--crimea-tabbar-clearance: calc(96px + env(safe-area-inset-bottom, 0px));
	/* Как в appstorrent.css: фикс. сайдбар */
	--appstorrent-sidebar-w: 220px;
	--appstorrent-sidebar-border: #2e2e2e;
}

html {
	-webkit-font-smoothing: antialiased;
	-moz-osx-font-smoothing: grayscale;
	text-rendering: optimizeLegibility;
	font-feature-settings: 'kern' 1, 'liga' 1;
}

/* ——— Тема: тёмная (по умолчанию) ——— */
body.dark {
	--bg-page: #1a1d23;
	--bg-elevated: rgba(30, 33, 40, 0.65);
	--text-primary: #f0f2f5;
	--text-muted: #9aa3ad;
	--text-secondary: #c8d0d9;
	--text-inverse: #1a1d23;
	--accent: #0d84fb;
	--glass-bg: rgba(38, 42, 52, 0.55);
	--glass-bg-strong: rgba(38, 42, 52, 0.72);
	--glass-border: rgba(255, 255, 255, 0.12);
	--glass-shadow: 0 8px 32px rgba(0, 0, 0, 0.4);
	--glass-blur: blur(12px);
	--input-bg: rgba(38, 42, 52, 0.6);
	--input-border: rgba(255, 255, 255, 0.1);
	--icon-stroke: #ffffff;
	--icon-fill: #ffffff;
	--coming-soon: #6b7280;
	--link-color: #6eb8ff;
	--modal-backdrop: rgba(0, 0, 0, 0.45);
	/* Боковая колонка темнее основного фона (#1a1d23) */
	--sidebar-bg: #11141a;
	--sidebar-border: rgba(255, 255, 255, 0.06);
	--sidebar-nav-icon-stroke: #ffffff;
	--sidebar-nav-icon-fill: #ffffff;
	--sidebar-nav-label: #ffffff;
	--sidebar-nav-icon-stroke-width: 1.9;
	/* Hover пунктов бокового меню — лёгкий голубой */
	--sidebar-nav-hover-bg: rgba(120, 200, 255, 0.14);
	--sidebar-nav-hover-bg-strong: rgba(120, 200, 255, 0.19);
}

/* ——— Тема: светлая ——— */
body.light {
	--bg-page: #e8edf4;
	--bg-elevated: rgba(255, 255, 255, 0.5);
	--text-primary: #1c2430;
	--text-muted: #5c6675;
	--text-secondary: #3d4a5c;
	--text-inverse: #ffffff;
	--accent: #0d84fb;
	--glass-bg: rgba(255, 255, 255, 0.45);
	--glass-bg-strong: rgba(255, 255, 255, 0.65);
	--glass-border: rgba(0, 0, 0, 0.08);
	--glass-shadow: 0 8px 32px rgba(30, 60, 90, 0.15);
	--glass-blur: blur(14px);
	--input-bg: rgba(255, 255, 255, 0.55);
	--input-border: rgba(0, 0, 0, 0.1);
	--icon-stroke: #1c2430;
	--icon-fill: #1c2430;
	--coming-soon: #94a3b8;
	--link-color: #0d5cbd;
	--modal-backdrop: rgba(15, 25, 40, 0.35);
	--appstorrent-sidebar-border: rgba(30, 40, 55, 0.12);
	/* Боковая колонка почти белая, контраст к фону страницы (#e8edf4) */
	--sidebar-bg: #ffffff;
	--sidebar-border: rgba(0, 0, 0, 0.08);
	/* Иконки бокового меню — как кнопка «Наверх» в таб-баре (#0080ff) */
	--sidebar-nav-icon-stroke: #0080ff;
	--sidebar-nav-icon-fill: #0080ff;
	--sidebar-nav-icon-stroke-width: 2.1;
	--sidebar-item-hover-bg: rgba(0, 128, 255, 0.1);
	--sidebar-item-hover-bg-strong: rgba(0, 128, 255, 0.15);
}

body.dark,
body.light {
	min-height: 100vh;
	background: var(--bg-page) !important;
	color: var(--text-muted) !important;
	font-family: var(--a-font) !important;
	font-size: 15px;
	line-height: 1.55;
	letter-spacing: -0.01em;
	transition: background-color 0.35s ease, color 0.35s ease;
}

body.dark main,
body.light main {
	color: var(--text-muted);
}

/* Glass utility */
.glass-panel {
	background: var(--glass-bg);
	backdrop-filter: var(--glass-blur);
	-webkit-backdrop-filter: var(--glass-blur);
	border: 1px solid var(--glass-border);
	border-radius: 14px;
	box-shadow: var(--glass-shadow);
}

/* Header glass */
body.dark header.site-header-wrap,
body.light header.site-header-wrap {
	padding: var(--crimea-site-header-outer-y) 1rem;
	margin-bottom: 8px;
}

@media (min-width: 992px) {
	body.dark header.site-header-wrap,
	body.light header.site-header-wrap {
		padding-left: 0;
		padding-right: 0;
	}
}

header .search__form input {
	background: var(--input-bg) !important;
	border-color: var(--input-border) !important;
	color: var(--text-primary) !important;
	backdrop-filter: var(--glass-blur);
	-webkit-backdrop-filter: var(--glass-blur);
}

header .search__form input:focus {
	box-shadow: 0 0 0 3px rgba(13, 132, 251, 0.25) !important;
	border-color: var(--accent) !important;
}

body.dark header svg circle,
body.dark header svg path,
body.light header svg circle,
body.light header svg path {
	stroke: var(--icon-stroke);
}

body.dark .lang__btn,
body.light .lang__btn {
	color: var(--text-primary) !important;
	display: inline-flex;
	align-items: center;
	gap: 0.35rem;
}

/* Сайдбар как в appstorrent: без «стекла», только полоса меню */
body.dark .sidebar,
body.light .sidebar {
	background: transparent !important;
	backdrop-filter: none !important;
	-webkit-backdrop-filter: none !important;
	border: none !important;
	border-radius: 0 !important;
	box-shadow: none !important;
	padding-bottom: 0;
}

body.dark aside footer,
body.light aside footer {
	background: transparent;
	border-top: none;
	margin-top: 0;
	padding: 0 12px;
}

/* Мобильное боковое меню — тот же контраст с фоном страницы */
body.dark .offcanvas-aside,
body.light .offcanvas-aside {
	background-color: var(--sidebar-bg) !important;
}

body.dark aside footer .menu a,
body.light aside footer .menu a {
	color: var(--text-muted);
}

body.dark aside footer svg path,
body.light aside footer svg path {
	stroke: var(--icon-stroke);
}

/* Иконки бокового и мобильного меню: тёмная — белые и жирнее; светлая — синие и жирнее */
body.dark .sidebar .menu .item svg.nav-icon :where(path, circle, line, polyline, polygon, rect, ellipse),
body.dark .offcanvas-aside .drawer-link svg.nav-icon :where(path, circle, line, polyline, polygon, rect, ellipse) {
	stroke: var(--sidebar-nav-icon-stroke);
	stroke-width: var(--sidebar-nav-icon-stroke-width);
}

body.dark .sidebar .menu .item svg.nav-icon path[fill]:not([fill='none']),
body.dark .offcanvas-aside .drawer-link svg.nav-icon path[fill]:not([fill='none']) {
	fill: var(--sidebar-nav-icon-fill);
}

/* Тёмная тема: боковое меню — максимально белые подписи и иконки (перебить opacity .5 из appstorrent.css) */
body.dark .sidebar .menu a.item,
body.dark .sidebar .menu a.item span {
	color: var(--sidebar-nav-label) !important;
	opacity: 1 !important;
	font-weight: 500;
}

body.dark .sidebar .menu a.item svg,
body.dark .sidebar .menu a.item svg.nav-icon {
	opacity: 1 !important;
}

body.dark .sidebar .menu a.item svg.nav-icon :where(path, circle, line, polyline, polygon, rect, ellipse) {
	stroke: var(--sidebar-nav-label);
	stroke-opacity: 1;
}

body.dark .offcanvas-aside a.drawer-link.text-body,
body.dark .offcanvas-aside a.drawer-link.text-body span {
	color: var(--sidebar-nav-label) !important;
	opacity: 1 !important;
	font-weight: 500;
}

body.dark .offcanvas-aside a.drawer-link svg,
body.dark .offcanvas-aside a.drawer-link .nav-icon {
	opacity: 1 !important;
}

body.dark .offcanvas-aside a.drawer-link svg.nav-icon :where(path, circle, line, polyline, polygon, rect, ellipse) {
	stroke: var(--sidebar-nav-label);
	stroke-opacity: 1;
}

body.dark .drawer-header .offcanvas-title {
	color: var(--sidebar-nav-label);
}

/* «Скоро»: читаемый почти белый текст и иконки, без общего dim */
body.dark .sidebar .menu span.item.coming-soon,
body.dark .offcanvas-aside span.drawer-link.coming-soon {
	opacity: 1 !important;
}

body.dark .sidebar .menu span.item.coming-soon > span,
body.dark .offcanvas-aside span.drawer-link.coming-soon > span {
	color: rgba(255, 255, 255, 0.88) !important;
}

body.dark .sidebar .menu span.item.coming-soon svg,
body.dark .sidebar .menu span.item.coming-soon svg.nav-icon,
body.dark .offcanvas-aside span.drawer-link.coming-soon svg,
body.dark .offcanvas-aside span.drawer-link.coming-soon .nav-icon {
	opacity: 1 !important;
}

body.dark .sidebar .menu span.item.coming-soon svg.nav-icon :where(path, circle, line, polyline, polygon, rect, ellipse),
body.dark .offcanvas-aside span.drawer-link.coming-soon svg.nav-icon :where(path, circle, line, polyline, polygon, rect, ellipse) {
	stroke: rgba(255, 255, 255, 0.88);
	stroke-opacity: 1;
}

body.dark .sidebar .menu span.item.coming-soon .badge-soon,
body.dark .offcanvas-aside span.drawer-link.coming-soon .badge-soon {
	color: rgba(255, 255, 255, 0.5) !important;
}

body.light .sidebar .menu .item svg.nav-icon,
body.light .offcanvas-aside .drawer-link svg.nav-icon {
	shape-rendering: geometricPrecision;
	color: var(--sidebar-nav-icon-stroke);
}

body.light .sidebar .menu .item svg.nav-icon :where(path, circle, line, polyline, polygon, rect, ellipse),
body.light .offcanvas-aside .drawer-link svg.nav-icon :where(path, circle, line, polyline, polygon, rect, ellipse) {
	stroke: var(--sidebar-nav-icon-stroke);
	stroke-width: var(--sidebar-nav-icon-stroke-width);
	stroke-linecap: round;
	stroke-linejoin: round;
	stroke-opacity: 1;
}

body.light .sidebar .menu .item svg.nav-icon path[fill]:not([fill='none']),
body.light .offcanvas-aside .drawer-link svg.nav-icon path[fill]:not([fill='none']) {
	fill: var(--sidebar-nav-icon-fill);
	fill-opacity: 1;
}

/* Светлая тема: не использовать тёмный hover из appstorrent (#262626) — текст бы пропадал */
body.light .sidebar .menu .item svg {
	opacity: 1;
}

body.light .sidebar .menu a.item:hover {
	background: var(--sidebar-item-hover-bg-strong) !important;
	transform: scale(1.05);
	box-shadow: var(--glass-shadow);
}

body.light .sidebar .menu a.item:hover span {
	color: #0b1220 !important;
	opacity: 1 !important;
}

body.light .offcanvas-aside nav a.drawer-link:hover {
	background: var(--sidebar-item-hover-bg) !important;
	color: var(--text-primary) !important;
	opacity: 1 !important;
	transform: scale(1.05);
	box-shadow: var(--glass-shadow);
}

body.light .offcanvas-aside nav a.drawer-link:hover span {
	color: #0b1220 !important;
	opacity: 1 !important;
}

/* Тёмная тема: hover — лёгкий голубой (вместо #262626 из appstorrent) */
body.dark .sidebar .menu a.item:hover {
	background: var(--sidebar-nav-hover-bg-strong) !important;
	transform: scale(1.05);
	box-shadow: var(--glass-shadow);
}

body.dark .sidebar .menu a.item:hover span {
	color: var(--sidebar-nav-label) !important;
	opacity: 1 !important;
}

body.dark .sidebar .menu a.item:hover svg {
	opacity: 1;
}

body.dark .offcanvas-aside nav a.drawer-link:hover {
	background: var(--sidebar-nav-hover-bg) !important;
	color: var(--sidebar-nav-label) !important;
	opacity: 1 !important;
	text-decoration: none;
	transform: scale(1.05);
	box-shadow: var(--glass-shadow);
}

body.dark .offcanvas-aside nav a.drawer-link:hover span {
	color: var(--sidebar-nav-label) !important;
	opacity: 1 !important;
}

.sidebar .menu a.item {
	transition: transform 0.2s ease, box-shadow 0.2s ease, background-color 0.2s ease;
}

.offcanvas-aside nav a.drawer-link {
	border-radius: 10px;
	transition: transform 0.2s ease, box-shadow 0.2s ease, background-color 0.2s ease, color 0.2s ease, opacity 0.2s ease;
}

/* Карточки главной */
.home-section + .home-section {
	margin-top: 2rem;
}

.section-head {
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 1rem;
	margin-bottom: 1rem;
	margin-top: 0;
}

.section-head h2 {
	font-size: 1.35rem;
	font-weight: 800;
	letter-spacing: -0.03em;
	color: var(--text-primary);
	margin: 0;
}

.section-head .section-all {
	color: var(--link-color);
	text-decoration: none;
	font-weight: 500;
	white-space: nowrap;
}

.section-head .section-all:hover {
	text-decoration: underline;
}

.page-breadcrumbs {
	display: inline-flex;
	align-items: center;
	gap: 0.45rem;
	margin-bottom: 0.6rem;
	font-size: 0.86rem;
	line-height: 1.2;
	color: var(--text-muted);
}

.page-breadcrumbs a {
	color: var(--link-color);
	text-decoration: none;
}

.page-breadcrumbs a:hover {
	text-decoration: underline;
}

.page-breadcrumbs [aria-current="page"] {
	color: var(--text-primary);
	font-weight: 600;
	white-space: nowrap;
	max-width: 100%;
}

.card-grid {
	display: grid;
	grid-template-columns: repeat(4, minmax(0, 1fr));
	gap: 1rem;
	align-items: stretch;
}

@media (max-width: 991.98px) {
	.card-grid {
		grid-template-columns: repeat(2, minmax(0, 1fr));
	}
}

@media (max-width: 767.98px) {
	.home-section + .home-section {
		margin-top: 1.5rem;
	}

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

/* ——— Таббар 2026: плавающая панель и последовательные анимации ——— */
.tab-bar {
	padding-bottom: calc(18px + env(safe-area-inset-bottom, 0px));
}

.tab-bar__start {
	gap: 8px;
	padding: 15px 12px;
	border-radius: 24px;
}

body.light .tab-bar__start::before,
body.dark .tab-bar__start::before {
	left: 0;
	right: 0;
	height: 58px;
	border: 1px solid rgba(255, 255, 255, 0.12);
	border-radius: 21px;
	background:
		linear-gradient(105deg, rgba(255, 95, 74, 0.1), transparent 34%),
		linear-gradient(285deg, rgba(25, 139, 243, 0.15), transparent 42%),
		rgba(24, 29, 39, 0.88);
	backdrop-filter: blur(18px) saturate(145%);
	-webkit-backdrop-filter: blur(18px) saturate(145%);
	box-shadow:
		0 16px 38px rgba(3, 9, 19, 0.34),
		inset 0 1px 0 rgba(255, 255, 255, 0.1);
}

body.light .tab-bar__start::before {
	border-color: rgba(29, 84, 137, 0.13);
	background:
		linear-gradient(105deg, rgba(255, 105, 72, 0.07), transparent 34%),
		linear-gradient(285deg, rgba(13, 132, 251, 0.1), transparent 42%),
		rgba(255, 255, 255, 0.88);
	box-shadow:
		0 16px 38px rgba(31, 70, 108, 0.16),
		inset 0 1px 0 rgba(255, 255, 255, 0.95);
}

.tab-bar__secondary {
	width: 46px;
	height: 46px;
	min-width: 46px;
	min-height: 46px;
	border: 1px solid rgba(119, 187, 250, 0.28);
	border-radius: 14px;
	background:
		linear-gradient(145deg, rgba(255, 255, 255, 0.1), rgba(255, 255, 255, 0.025));
	color: rgba(240, 247, 255, 0.9);
	box-shadow:
		inset 0 1px 0 rgba(255, 255, 255, 0.08),
		0 5px 14px rgba(2, 9, 20, 0.16);
}

body.light .tab-bar__secondary {
	border: 1px solid rgba(24, 112, 195, 0.15);
	background:
		linear-gradient(145deg, rgba(255, 255, 255, 0.98), rgba(235, 244, 253, 0.82));
	color: #31506e;
	box-shadow:
		inset 0 1px 0 #fff,
		0 5px 14px rgba(31, 72, 111, 0.09);
}

.tab-bar__secondary:hover,
.tab-bar__secondary:focus-visible {
	border-color: rgba(78, 174, 255, 0.48);
	background: linear-gradient(145deg, rgba(46, 150, 244, 0.26), rgba(13, 103, 196, 0.12));
	color: #fff;
	box-shadow:
		0 0 0 3px rgba(35, 146, 242, 0.1),
		0 9px 22px rgba(3, 31, 62, 0.24);
}

body.light .tab-bar__secondary:hover,
body.light .tab-bar__secondary:focus-visible {
	border-color: rgba(0, 128, 255, 0.3);
	background: linear-gradient(145deg, #fff, rgba(220, 239, 255, 0.95));
	color: #0873d2;
	box-shadow:
		0 0 0 3px rgba(13, 132, 251, 0.08),
		0 9px 22px rgba(28, 88, 145, 0.14);
}

.tab-bar__logo {
	width: 58px;
	height: 58px;
	min-width: 58px;
	min-height: 58px;
	border-radius: 18px;
	background:
		radial-gradient(circle at 30% 22%, rgba(255, 255, 255, 0.3), transparent 28%),
		linear-gradient(145deg, #ff8b28, #ff4e4e 54%, #ce2f48);
	border: 1px solid rgba(255, 255, 255, 0.3);
	box-shadow:
		0 12px 26px rgba(210, 49, 65, 0.32),
		inset 0 1px 0 rgba(255, 255, 255, 0.24);
}

.tab-bar__logo:hover,
.tab-bar__logo:focus-visible {
	transform: translateY(-2px) scale(1.04);
	box-shadow:
		0 16px 30px rgba(210, 49, 65, 0.4),
		inset 0 1px 0 rgba(255, 255, 255, 0.3);
}

.tab-bar__scroll {
	min-height: 46px;
	padding: 0 15px 0 13px;
	border: 1px solid rgba(116, 190, 255, 0.28);
	background: linear-gradient(145deg, #1494ff, #0871d2);
	box-shadow:
		0 8px 19px rgba(3, 99, 195, 0.27),
		inset 0 1px 0 rgba(255, 255, 255, 0.2);
}

.tab-bar__start .tab-bar__scroll {
	margin-left: 3px;
}

.tab-bar__scroll::before {
	left: -7px;
	height: 23px;
	opacity: 0.7;
}

.tab-bar__scroll-label {
	font-size: 0.78rem;
	font-weight: 650;
}

.tab-bar.tab-bar--compact .tab-bar__start {
	gap: 7px;
	padding: 13px 11px;
}

body.light .tab-bar.tab-bar--compact .tab-bar__start::before,
body.dark .tab-bar.tab-bar--compact .tab-bar__start::before {
	height: 54px;
}

@keyframes tab-bar-sequence-rotate {
	0%,
	2% {
		transform: rotate(0deg) scale(1);
	}

	7% {
		transform: rotate(360deg) scale(1.1);
	}

	9%,
	100% {
		transform: rotate(360deg) scale(1);
	}
}

@keyframes tab-bar-sequence-ring {
	0%,
	2%,
	10%,
	100% {
		box-shadow: 0 0 0 0 rgba(255, 91, 75, 0);
		opacity: 0;
	}

	3% {
		box-shadow: 0 0 0 0 rgba(255, 91, 75, 0.52);
		opacity: 1;
	}

	8% {
		box-shadow: 0 0 0 11px rgba(255, 91, 75, 0);
		opacity: 1;
	}
}

.tab-bar__logo .icon-tab {
	transform-origin: center;
	animation: tab-bar-sequence-rotate 5s ease-in-out 0.8s infinite;
	will-change: transform;
}

.tab-bar__logo.pulse-animate::after {
	border-radius: 18px;
	animation: tab-bar-sequence-ring 5s ease-out 0.8s infinite;
}

.tab-bar__logo:hover .icon-tab,
.tab-bar__logo:focus-visible .icon-tab,
.tab-bar__logo:hover.pulse-animate::after,
.tab-bar__logo:focus-visible.pulse-animate::after {
	animation: none;
}

@media (max-width: 575.98px) {
	.tab-bar {
		padding-right: 8px;
		padding-left: 8px;
	}

	.tab-bar__start {
		gap: 6px;
		padding: 13px 10px;
	}

	.tab-bar__secondary {
		width: 42px;
		height: 42px;
		min-width: 42px;
		min-height: 42px;
		border-radius: 13px;
	}

	.tab-bar__logo {
		width: 54px;
		height: 54px;
		min-width: 54px;
		min-height: 54px;
		border-radius: 17px;
	}

	.tab-bar__scroll {
		width: 42px;
		min-width: 42px;
		min-height: 42px;
		padding: 0;
		border-radius: 13px;
	}

	.tab-bar__scroll-label,
	.tab-bar__scroll::before {
		display: none;
	}

	.tab-bar__start .tab-bar__scroll {
		margin-left: 0;
	}
}

@media (prefers-reduced-motion: reduce) {
	.tab-bar__logo .icon-tab,
	.tab-bar__logo.pulse-animate::after {
		animation: none !important;
	}
}

.home-card {
	padding: 1rem;
	overflow: hidden;
	color: var(--text-muted);
}

.home-card h3,
.home-card .home-card__title {
	font-size: 1rem;
	font-weight: 700;
	letter-spacing: -0.02em;
	color: var(--text-primary);
	margin: 0 0 0.5rem;
	line-height: 1.35;
}

.home-card__img {
	width: 100%;
	aspect-ratio: 16/10;
	object-fit: cover;
	border-radius: 10px;
	margin-bottom: 0.75rem;
	background: var(--input-bg);
}

.vk-feed-card {
	padding: 0;
}

.vk-feed-card__link {
	display: flex;
	flex-direction: column;
	height: 100%;
	padding: 1rem;
	text-decoration: none;
	color: inherit;
}

.vk-feed-card__img-wrap {
	position: relative;
}

.vk-feed-card__video-badge {
	position: absolute;
	right: 8px;
	bottom: 8px;
	font-size: 0.66rem;
	font-weight: 700;
	padding: 0.16rem 0.44rem;
	border-radius: 999px;
	color: #fff;
	background: rgba(5, 12, 28, 0.72);
	border: 1px solid rgba(255, 255, 255, 0.16);
}

.vk-feed-card__ad-line {
	display: flex;
	flex-wrap: wrap;
	gap: 0.32rem;
	margin: 0 0 0.4rem;
}

.vk-feed-card__ad-tag {
	display: inline-flex;
	align-items: center;
	padding: 0.15rem 0.45rem;
	border-radius: 999px;
	font-size: 0.64rem;
	font-weight: 700;
	letter-spacing: 0.03em;
	text-transform: uppercase;
	color: #fff;
	background: linear-gradient(135deg, #ff6a3d 0%, #d83232 100%);
}

.vk-feed-card__ad-info {
	display: inline-flex;
	align-items: center;
	padding: 0.14rem 0.42rem;
	border-radius: 999px;
	font-size: 0.62rem;
	font-weight: 600;
	color: var(--text-secondary);
	background: rgba(125, 141, 165, 0.16);
	border: 1px solid rgba(125, 141, 165, 0.26);
}

.vk-feed-card__body {
	opacity: 0.95;
}

.vk-feed-card--empty {
	justify-content: center;
	min-height: 180px;
}

.feed-empty-state {
	display: flex;
	flex-direction: column;
	align-items: center;
	justify-content: center;
	text-align: center;
	gap: 0.45rem;
	width: 100%;
	max-width: 100%;
	min-height: 0;
	margin: 0;
	padding: 1.75rem 1.25rem 1.6rem;
	border-radius: 14px;
	border: 1px dashed rgba(140, 170, 210, 0.38);
	box-sizing: border-box;
}

.feed-empty-state__icon {
	display: grid;
	place-items: center;
	width: 52px;
	height: 52px;
	margin-bottom: 0.35rem;
	border-radius: 14px;
	background: rgba(110, 184, 255, 0.12);
	color: var(--link-color, #6eb8ff);
}

.feed-empty-state__title {
	display: block;
	margin: 0;
	font-size: 1.02rem;
	font-weight: 700;
	letter-spacing: -0.01em;
	color: var(--text, #f2f4f8);
	line-height: 1.35;
}

.feed-empty-state__hint {
	margin: 0;
	max-width: 28rem;
	font-size: 0.86rem;
	line-height: 1.45;
	color: var(--text-muted, rgba(242, 244, 248, 0.62));
}

.feed-empty-state__cta {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	margin-top: 0.55rem;
	padding: 0.48rem 0.9rem;
	border-radius: 10px;
	background: rgba(110, 184, 255, 0.14);
	color: var(--link-color, #6eb8ff);
	font-size: 0.82rem;
	font-weight: 650;
	text-decoration: none;
	transition: background 0.15s ease, color 0.15s ease;
}

.feed-empty-state__cta:hover {
	background: rgba(110, 184, 255, 0.22);
	color: #9fd0ff;
}

body.light .feed-empty-state {
	border-color: rgba(40, 70, 110, 0.22);
}

body.light .feed-empty-state__icon {
	background: rgba(40, 110, 190, 0.1);
}

body.light .feed-empty-state__title {
	color: var(--text, #1a1d23);
}

body.light .feed-empty-state__cta {
	background: rgba(40, 110, 190, 0.1);
}

.news-page-layout .feed-empty-state,
.news-page-feed-panel .feed-empty-state,
[data-vk-feed] > .feed-empty-state {
	align-self: stretch;
}

.news-page-layout {
	margin-top: 0;
}

/* Лента + сайдбар: колонки по высоте контента; сайдбар не обрезается под ленту */
@media (min-width: 992px) {
	.news-page-layout.news-page-layout--align-feed-sidebar {
		align-items: flex-start;
	}

	.news-page-layout.news-page-layout--align-feed-sidebar > .col-lg-7,
	.news-page-layout.news-page-layout--align-feed-sidebar > .col-lg-5 {
		display: flex;
		flex-direction: column;
		align-self: flex-start;
		min-height: 0;
	}

	.news-page-layout.news-page-layout--align-feed-sidebar > .col-lg-7 > .news-page-feed-panel {
		flex: 0 0 auto;
		min-height: 0;
		width: 100%;
	}

	.news-page-layout.news-page-layout--align-feed-sidebar > .col-lg-5 > aside.card_blur.post-side-nav.news-page-side {
		flex: 0 1 auto;
		width: 100%;
		min-height: 0;
		height: auto;
		max-height: none;
		display: flex;
		flex-direction: column;
		overflow-x: hidden;
		overflow-y: visible;
		position: relative;
		top: auto;
		box-sizing: border-box;
		border-radius: 14px;
		box-shadow: var(--glass-shadow);
		margin-bottom: 0;
	}

	/*
	 * site.js: если сайдбар ниже ленты — подгоняем высоту под ленту,
	 * баннер внизу растягивается; иначе сайдбар по полной высоте контента.
	 */
	.news-page-layout.news-page-layout--align-feed-sidebar > .col-lg-5 > aside.post-side-nav.news-page-side.news-page-side--feed-synced {
		overflow-y: auto;
	}

	.news-page-layout.news-page-layout--align-feed-sidebar > .col-lg-5 > aside.post-side-nav.news-page-side.news-page-side--feed-synced .news-page-side-ad-slot--fill {
		flex: 1 1 0;
		min-height: 0;
		display: flex;
		flex-direction: column;
	}

	.news-page-layout.news-page-layout--align-feed-sidebar > .col-lg-5 > aside.post-side-nav.news-page-side.news-page-side--feed-synced .news-page-side-ad-slot--fill .news-page-banner {
		flex: 1 1 auto;
		min-height: 0;
		display: flex;
		flex-direction: column;
		overflow: hidden;
	}

	.news-page-layout.news-page-layout--align-feed-sidebar > .col-lg-5 > aside.post-side-nav.news-page-side.news-page-side--feed-synced .news-page-side-ad-slot--fill .news-page-banner__link--sidebar-tall {
		flex: 1 1 auto;
		min-height: 9.5rem;
		width: 100%;
		aspect-ratio: unset;
		height: auto;
		align-self: stretch;
		padding: clamp(0.85rem, 2.5vw, 1.15rem) clamp(0.75rem, 2vw, 1rem);
		border-radius: 12px;
		background:
			radial-gradient(100% 55% at 50% 0%, rgba(13, 132, 251, 0.1), rgba(13, 132, 251, 0) 62%),
			radial-gradient(120px 40px at 50% 100%, rgba(13, 132, 251, 0.06), transparent 72%),
			rgba(255, 255, 255, 0.02);
	}

	.news-page-layout.news-page-layout--align-feed-sidebar > .col-lg-5 > aside.post-side-nav.news-page-side.news-page-side--feed-synced .news-page-side-bottom-stack {
		flex: 1 1 0;
		min-height: 0;
		display: flex;
		flex-direction: column;
		gap: 0.75rem;
	}

	.news-page-layout.news-page-layout--align-feed-sidebar > .col-lg-5 > aside.post-side-nav.news-page-side.news-page-side--feed-synced .news-page-side-bottom-stack .news-page-side-weather {
		flex: 0 0 auto;
		min-width: 0;
	}

	.news-page-layout.news-page-layout--align-feed-sidebar > .col-lg-5 > aside.post-side-nav.news-page-side.news-page-side--feed-synced .news-page-side-bottom-stack .news-page-side-ad-slot--fill {
		flex: 1 1 0;
		min-height: 0;
		display: flex;
		flex-direction: column;
	}

	.news-page-layout.news-page-layout--align-feed-sidebar > .col-lg-5 > aside.post-side-nav.news-page-side.news-page-side--feed-synced .news-page-side-bottom-stack .news-page-side-ad-slot--fill .news-page-banner {
		flex: 1 1 auto;
		min-height: 0;
		display: flex;
		flex-direction: column;
		overflow: hidden;
	}

	.news-page-layout.news-page-layout--align-feed-sidebar > .col-lg-5 > aside.post-side-nav.news-page-side.news-page-side--feed-synced .news-page-side-bottom-stack .news-page-side-ad-slot--fill .news-page-banner__link--sidebar-tall {
		flex: 1 1 auto;
		min-height: 4.75rem;
		max-height: none;
		width: 100%;
		align-self: stretch;
		padding: clamp(0.65rem, 2vw, 1rem) clamp(0.75rem, 2vw, 1rem);
		border-radius: 12px;
		background:
			radial-gradient(100% 55% at 50% 0%, rgba(13, 132, 251, 0.1), rgba(13, 132, 251, 0) 62%),
			radial-gradient(120px 40px at 50% 100%, rgba(13, 132, 251, 0.06), transparent 72%),
			rgba(255, 255, 255, 0.02);
	}

	.news-page-layout.news-page-layout--align-feed-sidebar .post-side-nav.news-page-side .news-side-gov-suite + .news-page-side-ad-slot--fill {
		flex: 0 0 auto;
		width: 100%;
		min-height: 0;
		margin-top: 1rem;
		display: flex;
		flex-direction: column;
		gap: 0.4rem;
	}

	.news-page-layout.news-page-layout--align-feed-sidebar .post-side-nav.news-page-side .news-side-gov-suite + .news-page-side-ad-slot--fill .news-page-banner {
		flex: 0 0 auto;
		min-height: 0;
		display: flex;
		flex-direction: column;
		overflow: hidden;
	}

	.news-page-layout.news-page-layout--align-feed-sidebar .post-side-nav.news-page-side .news-side-gov-suite + .news-page-side-ad-slot--fill .news-page-banner__link--sidebar-tall {
		flex: 0 1 auto;
		align-self: stretch;
		width: 100%;
		min-height: 0;
		height: clamp(4.75rem, 14.5vh, 7.5rem);
		aspect-ratio: unset;
		box-sizing: border-box;
		padding: 0.5rem 0.65rem;
		border-radius: 12px;
		background:
			radial-gradient(100% 55% at 50% 0%, rgba(13, 132, 251, 0.1), rgba(13, 132, 251, 0) 62%),
			radial-gradient(120px 40px at 50% 100%, rgba(13, 132, 251, 0.06), transparent 72%),
			rgba(255, 255, 255, 0.02);
	}

	.news-page-layout.news-page-layout--align-feed-sidebar > .col-lg-5 > aside.post-side-nav.news-page-side.news-page-side--feed-synced .news-side-gov-suite + .news-page-side-ad-slot--fill {
		flex: 1 1 0;
		min-height: 0;
		margin-top: auto;
	}

	.news-page-layout.news-page-layout--align-feed-sidebar > .col-lg-5 > aside.post-side-nav.news-page-side.news-page-side--feed-synced .news-side-gov-suite + .news-page-side-ad-slot--fill .news-page-banner__link--sidebar-tall {
		flex: 1 1 auto;
		min-height: clamp(4.75rem, 14.5vh, 7.5rem);
		height: auto;
		max-height: none;
	}

	.news-page-layout--align-feed-sidebar .news-page-feed-panel .vk-news-feed-mount,
	.news-page-layout--align-feed-sidebar .news-page-feed-panel .vk-realty-feed-mount,
	.news-page-layout--align-feed-sidebar .news-page-feed-panel .vk-feed-list-mount,
	.news-page-layout--align-feed-sidebar .news-page-feed-panel .vk-realty-feed-list-mount {
		flex: 0 0 auto;
		min-height: 0;
	}

	.news-page-layout--align-feed-sidebar .news-page-feed-panel ul.news-feed.vk-live-feed {
		overflow-y: visible;
		max-height: none;
	}

	.news-page-layout--align-feed-sidebar .news-page-feed-panel .vk-feed-pagination,
	.news-page-layout--align-feed-sidebar .news-page-feed-panel .vk-realty-feed-list-mount .vk-feed-pagination {
		margin-top: 1.5rem !important;
		margin-bottom: 0;
	}
}

/* Сайдбар: блок погоды (Симферополь и др.) — новый дизайн в духе шапки */
.news-page-side-weather {
	padding: 0;
	box-sizing: border-box;
	overflow: hidden;
	border-radius: 16px;
}

.news-page-side-weather--rich {
	border: 1px solid color-mix(in srgb, rgba(234, 179, 8, 0.38) 72%, var(--glass-border));
	box-shadow:
		inset 0 1px 0 rgba(255, 255, 255, 0.07),
		0 10px 24px rgba(0, 0, 0, 0.22);
	background:
		radial-gradient(circle at 12% 0%, rgba(255, 196, 84, 0.14), transparent 48%),
		linear-gradient(165deg, rgba(28, 32, 40, 0.98), rgba(14, 16, 22, 0.98));
	backdrop-filter: var(--glass-blur);
	-webkit-backdrop-filter: var(--glass-blur);
}

body.light .news-page-side-weather--rich {
	border-color: color-mix(in srgb, rgba(234, 179, 8, 0.42) 70%, rgba(15, 23, 42, 0.12));
	background:
		radial-gradient(circle at 12% 0%, rgba(234, 179, 8, 0.14), transparent 48%),
		linear-gradient(165deg, rgba(255, 255, 255, 0.97), rgba(241, 245, 249, 0.97));
	box-shadow:
		inset 0 1px 0 rgba(255, 255, 255, 0.85),
		0 10px 22px rgba(15, 23, 42, 0.08);
}

.news-page-side-weather__head {
	padding: 0.95rem 1rem 0.45rem;
}

.news-page-side-weather__title {
	margin: 0 0 0.35rem;
	font-family: 'Unbounded', 'Manrope', system-ui, sans-serif;
	font-size: clamp(0.92rem, 1.6vw, 1.08rem);
	font-weight: 700;
	letter-spacing: -0.035em;
	line-height: 1.28;
	color: var(--text-primary);
}

.news-page-side-weather__lead {
	margin: 0;
	font-size: 0.72rem;
	line-height: 1.4;
	color: var(--text-muted);
}

.news-page-side-weather__showcase {
	display: flex;
	align-items: center;
	gap: 0.75rem;
	margin: 0;
	padding: 0.7rem 1rem 0.95rem;
	min-width: 0;
	border-bottom: 1px solid rgba(234, 179, 8, 0.16);
}

body.light .news-page-side-weather__showcase {
	border-bottom-color: rgba(234, 179, 8, 0.22);
}

.news-page-side-weather__emoji-bubble {
	flex-shrink: 0;
	display: flex;
	align-items: center;
	justify-content: center;
	width: 3.1rem;
	height: 3.1rem;
	border-radius: 50%;
	background: linear-gradient(160deg, rgba(255, 196, 84, 0.28), rgba(39, 135, 245, 0.16));
	border: 1px solid rgba(255, 255, 255, 0.14);
	box-shadow: 0 4px 14px rgba(5, 15, 35, 0.2);
}

body.light .news-page-side-weather__emoji-bubble {
	background: linear-gradient(160deg, rgba(255, 196, 84, 0.22), rgba(220, 238, 255, 0.65));
	border-color: rgba(234, 179, 8, 0.28);
	box-shadow: 0 2px 10px rgba(25, 80, 140, 0.1);
}

.news-page-side-weather__emoji {
	font-size: 1.65rem;
	line-height: 1;
	filter: saturate(1.15) drop-shadow(0 2px 6px rgba(255, 196, 84, 0.22));
}

.news-page-side-weather__primary {
	min-width: 0;
	flex: 1 1 auto;
	display: flex;
	flex-direction: column;
	gap: 0.18rem;
}

.news-page-side-weather__temp-block {
	line-height: 1;
}

.news-page-side-weather__temp {
	display: inline-block;
	font-family: 'Unbounded', 'Manrope', system-ui, sans-serif;
	font-weight: 700;
	font-size: clamp(1.55rem, 2.4vw, 1.9rem);
	letter-spacing: -0.04em;
	color: var(--text-primary);
}

.news-page-side-weather__condition {
	margin: 0.12rem 0 0;
	font-size: 0.88rem;
	line-height: 1.3;
	font-weight: 700;
	color: var(--text-secondary);
}

.news-page-side-weather__feel {
	margin: 0.28rem 0 0;
	font-size: 0.76rem;
	line-height: 1.4;
	color: var(--text-muted);
}

.news-page-side-weather__metrics {
	display: flex;
	flex-direction: column;
	gap: 0.45rem;
	margin: 0;
	padding: 0.75rem 0.85rem 0.55rem;
}

.news-page-side-weather__metric {
	margin: 0;
	min-width: 0;
	display: grid;
	grid-template-columns: auto 1fr auto;
	align-items: center;
	column-gap: 0.55rem;
	padding: 0.42rem 0.7rem 0.42rem 0.45rem;
	border: 1px solid rgba(255, 255, 255, 0.1);
	border-radius: 999px;
	background: rgba(255, 255, 255, 0.045);
	box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.04);
	box-sizing: border-box;
	text-align: left;
}

body.light .news-page-side-weather__metric {
	border-color: rgba(15, 23, 42, 0.1);
	background: rgba(15, 23, 42, 0.035);
	box-shadow: none;
}

.news-page-side-weather__metric + .news-page-side-weather__metric {
	border-top-color: rgba(255, 255, 255, 0.1);
}

body.light .news-page-side-weather__metric + .news-page-side-weather__metric {
	border-top-color: rgba(15, 23, 42, 0.1);
}

.news-page-side-weather__metric-icon {
	display: flex;
	align-items: center;
	justify-content: center;
	width: 1.55rem;
	height: 1.55rem;
	flex-shrink: 0;
	border-radius: 50%;
	color: #60a5fa;
	background: transparent;
	border: none;
}

body.light .news-page-side-weather__metric-icon {
	color: #2563eb;
	background: transparent;
}

.news-page-side-weather__metric-icon svg {
	display: block;
	width: 0.95rem;
	height: 0.95rem;
}

.news-page-side-weather__metric-label {
	flex: 1 1 auto;
	min-width: 0;
	font-size: 0.78rem;
	font-weight: 500;
	line-height: 1.2;
	letter-spacing: 0;
	text-transform: none;
	color: var(--text-muted);
}

.news-page-side-weather__metric-value {
	flex: 0 0 auto;
	max-width: 60%;
	font-size: 0.8rem;
	font-weight: 700;
	line-height: 1.2;
	text-align: right;
	font-variant-numeric: tabular-nums;
	color: var(--text-primary);
	word-break: break-word;
}

.news-page-side-weather__updated {
	margin: 0;
	padding: 0.35rem 1rem 0.85rem;
	font-size: 0.68rem;
	color: var(--text-muted);
	opacity: 0.85;
	text-align: left;
	border-top: none;
}

/* Нижний стек погода+баннер: минимальная высота ссылки на узких экранах */
.post-side-nav.news-page-side .news-page-side-bottom-stack .news-page-banner__link--sidebar-tall {
	min-height: 4.75rem;
}

/* Рекламные слоты ~487×116 (соотношение сторон) на страницах новостей */
.news-page-pagehead {
	display: grid;
	grid-template-columns: minmax(0, 1fr) min(487px, 100%);
	grid-template-rows: auto;
	align-items: stretch;
	column-gap: 1rem;
	margin-bottom: 0.45rem;
}

.news-page-pagehead-intro {
	grid-column: 1;
	grid-row: 1;
	box-sizing: border-box;
	display: flex;
	flex-direction: column;
	align-items: stretch;
	justify-content: center;
	gap: 0.35rem;
	min-width: 0;
	min-height: 0;
	padding: 0.65rem 0.85rem 0.75rem 1.65rem;
	border-radius: 12px;
	border: 1px dashed rgba(125, 141, 165, 0.45);
	background:
		radial-gradient(120px 40px at 50% 0%, rgba(13, 132, 251, 0.08), transparent 70%),
		var(--glass-bg);
}

.news-page-pagehead-intro .page-breadcrumbs {
	margin-bottom: 0;
	min-width: 0;
}

.news-page-pagehead-intro .news-page-pagehead__title.section-head {
	min-height: 0;
	margin-top: 0;
	margin-bottom: 0;
}

/* Заголовок поста в шапке — как h2 «Новости» на лентах (desktop) */
@media (min-width: 768px) {
	.news-page-pagehead-intro .news-page-pagehead__title.section-head h1.post-page__title,
	.news-page-pagehead-intro .news-page-pagehead__title.section-head .post-page__title {
		font-size: 1.35rem;
		font-weight: 800;
		letter-spacing: -0.03em;
		line-height: 1.2;
		margin: 0;
		color: var(--text-primary);
	}
}

.news-page-pagehead .news-page-banner--top {
	grid-column: 2;
	grid-row: 1;
	display: flex;
	flex-direction: column;
	justify-content: center;
	align-items: stretch;
	justify-self: end;
	width: min(487px, 100%);
	max-width: 100%;
	min-height: 0;
}

.news-page-pagehead .news-page-banner--top .news-page-banner__link {
	flex: 0 0 auto;
}

.news-page-pagehead__title h2 {
	margin-bottom: 0;
}

.news-page-banner {
	width: min(487px, 100%);
	max-width: 100%;
}

@media (max-width: 899.98px) {
	.news-page-pagehead {
		grid-template-columns: 1fr;
		grid-template-rows: auto auto;
		row-gap: 0.3rem;
	}

	.news-page-pagehead-intro {
		grid-column: 1;
		grid-row: 1;
		justify-content: flex-start;
	}

	.news-page-pagehead .news-page-banner--top {
		grid-column: 1;
		grid-row: 2;
		justify-self: stretch;
		width: 100%;
	}
}

.news-page-banner__link {
	display: flex;
	align-items: center;
	justify-content: center;
	box-sizing: border-box;
	width: 100%;
	aspect-ratio: 487 / 116;
	min-height: 72px;
	padding: 0.35rem 0.65rem;
	text-decoration: none;
	color: var(--text-muted);
	border-radius: 12px;
	border: 1px dashed rgba(125, 141, 165, 0.45);
	background:
		radial-gradient(120px 40px at 50% 0%, rgba(13, 132, 251, 0.08), transparent 70%),
		rgba(255, 255, 255, 0.02);
	transition:
		border-color 0.2s ease,
		color 0.2s ease,
		background-color 0.2s ease;
}

.news-page-banner__link:hover {
	border-color: rgba(39, 135, 245, 0.55);
	color: var(--text-secondary);
	text-decoration: none;
	background-color: rgba(39, 135, 245, 0.06);
}

.news-page-banner__placeholder {
	font-size: clamp(0.72rem, 1.8vw, 0.86rem);
	font-weight: 600;
	text-align: center;
	line-height: 1.3;
}

/* Рекламный слот по центру ленты категорий (между карточками) */
.realty-grid .feed-inline-ad {
	grid-column: 1 / -1;
	width: 100%;
	max-width: 100%;
	margin: 0.1rem 0 0.25rem;
}

.realty-grid .feed-inline-ad.news-page-banner--feed {
	width: 100%;
	max-width: none;
}

.realty-grid .feed-inline-ad .news-page-banner__link--feed-inline {
	width: 100%;
	max-width: none;
	aspect-ratio: 487 / 116;
	min-height: clamp(4.5rem, 14vw, 7.25rem);
}

/* Слот рекламы в правом сайдбаре novosti */
.post-side-nav .news-page-side-ad-slot .news-page-banner {
	width: 100%;
	max-width: 100%;
}

/* Отступ между «Топ публикаций» и рекламным слотом (страница недвижимости) */
.post-side-nav.news-page-side .news-marquee-section--news-page-sidebar + .news-page-side-ad-slot--fill {
	margin-top: 1rem;
}

/* Отступ между «Официальные ресурсы» и баннером в сайдбаре */
.post-side-nav.news-page-side .news-side-gov-suite + .news-page-side-ad-slot--fill {
	margin-top: 1rem;
}

/* Шапка ленты как на главной: «Лента» / «Сейчас…» / «обновляется» */
.news-page-feed-panel.news-latest-panel,
.news-page-feed-panel.realty-page-listings {
	min-height: 0;
}

.news-page-feed-panel .vk-news-feed-mount,
.news-page-feed-panel .vk-realty-feed-mount {
	flex: 1 1 auto;
	display: flex;
	flex-direction: column;
	min-height: 0;
}

.news-page-feed-panel .vk-feed-list-mount,
.news-page-feed-panel .vk-realty-feed-list-mount {
	flex: 1 1 auto;
	display: flex;
	flex-direction: column;
	min-height: 0;
	padding-bottom: 0;
}

.vk-live-feed.news-feed {
	gap: 0.48rem;
}

.news-page-layout ul.news-feed.vk-live-feed {
	padding: 0;
	flex: none;
	overflow: visible;
	scrollbar-width: auto;
	list-style: none;
}

.news-page-layout .news-feed__body .vk-live-feed__extras {
	margin-bottom: 0.15rem;
}

.vk-live-feed--empty {
	padding: 1.15rem 1.1rem;
}

.vk-live-feed__empty-title {
	margin: 0 0 0.35rem;
	font-size: 1.05rem;
	font-weight: 700;
}

.vk-live-feed__badges {
	display: flex;
	flex-wrap: wrap;
	gap: 0.3rem;
	margin-bottom: 0;
}

.vk-live-feed__badge {
	font-size: 0.61rem;
	font-weight: 700;
	padding: 0.1rem 0.38rem;
	border-radius: 999px;
	letter-spacing: 0.04em;
	text-transform: uppercase;
	color: rgba(255, 255, 255, 0.95);
	background: rgba(125, 141, 165, 0.35);
	border: 1px solid rgba(255, 255, 255, 0.14);
}

.vk-live-feed__badge--ad {
	background: linear-gradient(135deg, #ff6a3d 0%, #d83232 100%);
	border-color: rgba(255, 255, 255, 0.2);
}

.vk-live-feed__ad .vk-feed-card__ad-line {
	margin: 0.12rem 0 0;
}

.vk-feed-pagination__tools {
	display: flex;
	flex-wrap: wrap;
	align-items: center;
	justify-content: center;
	gap: 0.5rem 0.65rem;
}

.vk-feed-pagination__pages {
	display: flex;
	flex-wrap: wrap;
	align-items: center;
	justify-content: center;
	gap: 0.35rem;
}

.vk-feed-pagination__ellipsis {
	padding: 0 0.15rem;
	color: var(--text-muted);
	opacity: 0.8;
	user-select: none;
}

.vk-feed-pagination__info {
	text-align: center;
	margin-top: 0.65rem;
	margin-bottom: 0;
}

.vk-feed-pagination .disabled {
	opacity: 0.45;
	pointer-events: none;
}

/* Пагинация под «Сейчас в Крыму»: более цельный и читаемый блок */
.news-page-feed-panel .vk-feed-pagination {
	margin-top: auto !important;
	margin-bottom: auto;
	padding: 0.72rem 0.75rem 0.62rem;
	border-radius: 12px;
	border: 1px solid rgba(125, 141, 165, 0.2);
	background:
		linear-gradient(180deg, rgba(255, 255, 255, 0.045), rgba(255, 255, 255, 0.02)),
		radial-gradient(90% 80% at 50% -15%, rgba(39, 135, 245, 0.08), transparent 62%);
	box-shadow:
		inset 0 1px 0 rgba(255, 255, 255, 0.07),
		0 8px 18px rgba(6, 18, 34, 0.12);
}

.news-page-feed-panel .vk-feed-list-mount > .vk-feed-pagination {
	align-self: center;
	width: min(100%, 44rem);
}

body.light .news-page-feed-panel .vk-feed-pagination {
	border-color: rgba(125, 141, 165, 0.22);
	background:
		linear-gradient(180deg, rgba(255, 255, 255, 0.88), rgba(245, 250, 255, 0.92)),
		radial-gradient(90% 80% at 50% -15%, rgba(39, 135, 245, 0.08), transparent 62%);
	box-shadow:
		inset 0 1px 0 rgba(255, 255, 255, 1),
		0 6px 16px rgba(26, 72, 124, 0.08);
}

.news-page-feed-panel .vk-feed-pagination__tools {
	gap: 0.5rem 0.55rem;
}

.news-page-feed-panel .vk-feed-pagination__pages {
	gap: 0.3rem;
}

.news-page-feed-panel .vk-feed-pagination .btn {
	border-radius: 9px;
	min-width: 2.15rem;
	padding: 0.3rem 0.55rem;
	font-weight: 700;
	font-size: 0.78rem;
	letter-spacing: 0.01em;
}

.news-page-feed-panel .vk-feed-pagination .btn-outline-secondary {
	border-color: rgba(125, 141, 165, 0.28);
	background: rgba(255, 255, 255, 0.02);
	color: var(--text-primary);
}

.news-page-feed-panel .vk-feed-pagination .btn-outline-secondary:hover,
.news-page-feed-panel .vk-feed-pagination .btn-outline-secondary:focus-visible {
	border-color: rgba(39, 135, 245, 0.42);
	background: rgba(39, 135, 245, 0.12);
	color: var(--text-primary);
}

.news-page-feed-panel .vk-feed-pagination .btn-primary,
.news-page-feed-panel .vk-feed-pagination .vk-feed-pagination__num--current {
	background: linear-gradient(145deg, #2f95ff 0%, #1e74d9 100%);
	border-color: rgba(30, 116, 217, 0.9);
	color: #fff;
	box-shadow:
		0 0 0 1px rgba(255, 255, 255, 0.08) inset,
		0 6px 14px rgba(13, 72, 146, 0.28);
}

.news-page-feed-panel .vk-feed-pagination__info {
	margin-top: 0.55rem;
	font-size: 0.76rem;
	color: var(--text-muted);
}

.news-page-layout .news-feed__line {
	-webkit-line-clamp: 3;
	line-clamp: 3;
}

@media (max-width: 575.98px) {
	.news-page-layout .news-feed__meta {
		flex-wrap: wrap;
		white-space: normal;
	}

	.news-page-layout .news-feed__city {
		max-width: 100%;
	}
}

.news-page-side__hint {
	margin: 0;
	font-size: 0.86rem;
	line-height: 1.45;
	color: var(--text-muted);
}

@media (max-width: 991.98px) {
	.news-page-side {
		position: static;
	}
}

/* Правая колонка новостей: та же пунктирная рамка и подложка, что у слота «Место для баннера» */
.card_blur.post-side-nav.news-page-side {
	border-radius: 12px;
	border: 1px dashed rgba(125, 141, 165, 0.45);
	background:
		radial-gradient(120px 40px at 50% 0%, rgba(13, 132, 251, 0.08), transparent 70%),
		var(--glass-bg);
	-webkit-backdrop-filter: var(--glass-blur);
	backdrop-filter: var(--glass-blur);
}

.card_blur.post-side-nav.news-page-side::before {
	display: none;
	content: none;
}

h6#sec-news-your-city.mb-3 {
	margin-bottom: 0.55rem !important;
}

.news-page-side-city-banner {
	margin: 0;
	line-height: 0;
}

.news-page-side-city-card {
	margin: 0 0 1rem;
	padding: 0;
	overflow: hidden;
}

.news-page-side-city-card .news-page-side-city-banner {
	margin: 0;
	position: relative;
}

/* Плавный переход от фото к подвалу карточки */
.news-page-side-city-card .news-page-side-city-banner::after {
	content: '';
	position: absolute;
	left: 0;
	right: 0;
	bottom: 0;
	height: 3.25rem;
	pointer-events: none;
	background: linear-gradient(
		to top,
		rgba(10, 14, 22, 0.82) 0%,
		rgba(10, 14, 22, 0.28) 55%,
		transparent 100%
	);
}

body.light .news-page-side-city-card .news-page-side-city-banner::after {
	background: linear-gradient(
		to top,
		rgba(248, 252, 255, 0.95) 0%,
		rgba(248, 252, 255, 0.2) 55%,
		transparent 100%
	);
}

.news-page-side-city-card .news-page-side-city-banner__img {
	border-radius: 0;
	display: block;
	width: 100%;
	height: auto;
	vertical-align: middle;
}

/* Единый подвал: подписчики + кнопка ВК */
.news-page-side-city-card__footer {
	padding: 0.75rem 0.72rem 0.82rem;
	display: flex;
	flex-direction: column;
	gap: 0.62rem;
	border-top: 1px solid rgba(125, 141, 165, 0.16);
	background: linear-gradient(
		188deg,
		rgba(8, 12, 22, 0.94) 0%,
		rgba(14, 22, 38, 0.98) 42%,
		rgba(10, 20, 38, 1) 100%
	);
}

body.light .news-page-side-city-card__footer {
	background: linear-gradient(
		188deg,
		rgba(252, 254, 255, 0.98) 0%,
		rgba(232, 244, 255, 0.96) 55%,
		rgba(220, 236, 252, 0.94) 100%
	);
	border-top-color: rgba(125, 141, 165, 0.2);
}

/* Подписчики: капсула с иерархией (анимация числа в site.js) */
.news-page-side-city-subscribers {
	display: grid;
	grid-template-columns: repeat(2, minmax(0, 1fr));
	gap: 0.6rem;
	margin: 0;
	min-width: 0;
	padding: 0.62rem 0.75rem;
	border-radius: 12px;
	border: 1px solid rgba(125, 141, 165, 0.22);
	background: rgba(255, 255, 255, 0.035);
	box-shadow:
		inset 0 1px 0 rgba(255, 255, 255, 0.06),
		0 4px 14px rgba(4, 10, 22, 0.18);
}

.news-page-side-subscribers-metric {
	display: grid;
	grid-template-columns: auto minmax(0, 1fr);
	align-items: center;
	gap: 0.5rem;
	min-width: 0;
}

.news-page-side-subscribers-metric--reach {
	padding-left: 0.65rem;
	border-left: 1px solid rgba(125, 141, 165, 0.24);
}

body.light .news-page-side-subscribers-metric--reach {
	border-left-color: rgba(125, 141, 165, 0.3);
}

body.light .news-page-side-city-subscribers {
	background: rgba(255, 255, 255, 0.72);
	border-color: rgba(125, 141, 165, 0.18);
	box-shadow:
		inset 0 1px 0 rgba(255, 255, 255, 0.95),
		0 2px 12px rgba(25, 70, 120, 0.08);
}

.news-page-side-city-subscribers__icon {
	flex-shrink: 0;
	display: flex;
	align-items: center;
	justify-content: center;
	width: 2.35rem;
	height: 2.35rem;
	border-radius: 11px;
	color: rgba(255, 255, 255, 0.92);
	background: linear-gradient(145deg, rgba(39, 135, 245, 0.55), rgba(20, 95, 200, 0.45));
	border: 1px solid rgba(255, 255, 255, 0.18);
	box-shadow: 0 4px 12px rgba(6, 40, 100, 0.25);
}

body.light .news-page-side-city-subscribers__icon {
	color: #fff;
	background: linear-gradient(145deg, #2787f5 0%, #1571da 100%);
	border-color: rgba(255, 255, 255, 0.35);
	box-shadow: 0 3px 10px rgba(25, 90, 170, 0.2);
}

.news-page-side-city-subscribers__icon svg {
	display: block;
}

.news-page-side-city-subscribers__body {
	display: flex;
	flex-direction: column;
	gap: 0.12rem;
	min-width: 0;
	flex: 1 1 auto;
	justify-content: center;
}

.news-page-side-city-subscribers__value {
	font-weight: 800;
	font-size: 1.04rem;
	letter-spacing: -0.03em;
	font-variant-numeric: tabular-nums;
	color: var(--text-primary);
	line-height: 1.1;
}

.news-page-side-city-subscribers__suffix {
	font-weight: 600;
	font-size: 0.7rem;
	color: var(--text-muted);
	line-height: 1.2;
}

/* Кнопка ВК — без второго фона, только плитка */
.news-page-side-city-card .vk-communities--city-banner-cta {
	gap: 0;
	margin: 0;
	padding: 0;
	border: none;
	box-shadow: none;
	background: transparent;
	backdrop-filter: none;
	-webkit-backdrop-filter: none;
}

body.light .news-page-side-city-card .vk-communities--city-banner-cta {
	background: transparent;
}

.news-page-side-city-card .vk-communities--city-banner-cta .vk-communities__list {
	gap: 0;
}

.news-page-side-city-card .vk-communities--city-banner-cta .vk-community {
	position: relative;
	border-radius: 12px;
	border: 1px solid rgba(125, 141, 165, 0.26);
	background: rgba(255, 255, 255, 0.045);
	box-shadow:
		inset 0 1px 0 rgba(255, 255, 255, 0.07),
		0 3px 12px rgba(4, 10, 22, 0.15);
	min-height: 54px;
	padding: 0.68rem 0.82rem;
	align-items: center;
	transition:
		border-color 0.22s ease,
		background-color 0.22s ease,
		box-shadow 0.22s ease;
}

body.light .news-page-side-city-card .vk-communities--city-banner-cta .vk-community {
	background: rgba(255, 255, 255, 0.55);
	border-color: rgba(125, 141, 165, 0.2);
	box-shadow:
		inset 0 1px 0 rgba(255, 255, 255, 0.9),
		0 2px 10px rgba(25, 70, 120, 0.06);
}

.news-page-side-city-card .vk-communities--city-banner-cta .vk-community::after {
	display: none;
}

.news-page-side-city-card .vk-communities--city-banner-cta .vk-community:hover,
.news-page-side-city-card .vk-communities--city-banner-cta .vk-community:focus-visible {
	transform: none;
	border-color: rgba(39, 135, 245, 0.45);
	background:
		linear-gradient(120deg, rgba(39, 135, 245, 0.12) 0%, rgba(39, 135, 245, 0.05) 42%, rgba(255, 255, 255, 0.02) 100%);
	box-shadow:
		0 0 0 1px rgba(39, 135, 245, 0.12),
		0 10px 26px rgba(6, 18, 42, 0.22);
}

body.light .news-page-side-city-card .vk-communities--city-banner-cta .vk-community:hover,
body.light .news-page-side-city-card .vk-communities--city-banner-cta .vk-community:focus-visible {
	background: linear-gradient(120deg, rgba(39, 135, 245, 0.1) 0%, rgba(255, 255, 255, 0.75) 55%);
	box-shadow:
		0 0 0 1px rgba(39, 135, 245, 0.15),
		0 8px 22px rgba(25, 70, 130, 0.12);
}

.news-page-side-city-card .vk-communities--city-banner-cta .vk-community:focus-visible {
	outline: 2px solid rgba(39, 135, 245, 0.55);
	outline-offset: 2px;
}

/* Без «подпрыгивания» и неонового текста — как у остального сайдбара */
.news-page-side-city-card .vk-communities--city-banner-cta .vk-community:hover .vk-community__logo,
.news-page-side-city-card .vk-communities--city-banner-cta .vk-community:focus-visible .vk-community__logo {
	transform: none;
	filter: none;
}

.news-page-side-city-card .vk-communities--city-banner-cta .vk-community:hover .vk-community__name,
.news-page-side-city-card .vk-communities--city-banner-cta .vk-community:focus-visible .vk-community__name {
	transform: none;
	color: var(--text-primary);
	opacity: 1;
}

.news-page-side-city-card .vk-communities--city-banner-cta .vk-community:hover .vk-community__meta,
.news-page-side-city-card .vk-communities--city-banner-cta .vk-community:focus-visible .vk-community__meta {
	color: var(--accent);
}

.news-page-side-city-card .vk-communities--city-banner-cta .vk-community__meta-arrow {
	display: inline-block;
	transition: transform 0.22s ease, opacity 0.22s ease;
}

.news-page-side-city-card .vk-communities--city-banner-cta .vk-community:hover .vk-community__meta-arrow,
.news-page-side-city-card .vk-communities--city-banner-cta .vk-community:focus-visible .vk-community__meta-arrow {
	transform: translateX(4px);
	opacity: 1;
}

/* Аватар на одной линии с кнопкой, без захода на баннер */
.news-page-side-city-card .vk-communities--city-banner-cta .vk-community__logo--vk-photo {
	margin-top: 0;
	position: static;
	z-index: auto;
	box-shadow:
		0 0 0 1px rgba(125, 141, 165, 0.28),
		0 6px 14px rgba(6, 13, 26, 0.2);
	transition: box-shadow 0.22s ease;
}

body.light .news-page-side-city-card .vk-communities--city-banner-cta .vk-community__logo--vk-photo {
	box-shadow:
		0 0 0 1px rgba(125, 141, 165, 0.22),
		0 4px 12px rgba(25, 55, 95, 0.1);
}

.news-page-side-city-card .vk-communities--city-banner-cta .vk-community:hover .vk-community__logo--vk-photo,
.news-page-side-city-card .vk-communities--city-banner-cta .vk-community:focus-visible .vk-community__logo--vk-photo {
	box-shadow:
		0 0 0 1px rgba(39, 135, 245, 0.45),
		0 8px 18px rgba(18, 103, 194, 0.28);
}

.news-page-side-city-banner__img {
	width: 100%;
	height: auto;
	display: block;
	border-radius: 10px;
}

.post-page {
	max-width: none;
	margin: 0;
	padding: clamp(1rem, 1.7vw, 1.4rem);
	border-radius: 16px;
	border: 1px solid var(--glass-border);
	background:
		linear-gradient(180deg, rgba(255, 255, 255, 0.03), rgba(255, 255, 255, 0)),
		var(--glass-bg);
}

.post-page__title {
	font-size: clamp(1.45rem, 2.2vw, 2.1rem);
	line-height: 1.25;
	letter-spacing: -0.02em;
	margin: 0.35rem 0 0.8rem;
	color: var(--text-primary);
}

.post-page__content {
	white-space: normal;
	line-height: 1.6;
	font-size: 1.02rem;
	color: var(--text-primary);
	margin-top: 1.1rem;
}

.post-page__content p {
	margin: 0 0 0.65em;
}

.post-page__content p:last-child {
	margin-bottom: 0;
}

.post-page .home-card__meta .home-card__meta-source {
	color: var(--link-color);
	text-decoration: underline;
	text-underline-offset: 2px;
}

.post-page__content .post-page__content-source-link {
	color: var(--link-color);
	text-decoration: underline;
	text-underline-offset: 2px;
}

.post-side-nav {
	position: sticky;
	top: 1rem;
	border-radius: 16px;
	border: 1px solid var(--glass-border);
	background:
		linear-gradient(180deg, rgba(255, 255, 255, 0.035), rgba(255, 255, 255, 0)),
		var(--glass-bg);
}

.post-side-nav h6 {
	font-size: 0.95rem;
	text-transform: uppercase;
	letter-spacing: 0.04em;
	opacity: 0.85;
}

.post-side-nav .info__box h6 {
	font-size: 0.78rem;
	margin-bottom: 0.25rem;
	opacity: 0.75;
}

.post-side-nav .info__box p,
.post-side-nav .info__box a {
	margin: 0;
	font-size: 0.92rem;
}

/* Новости: один блок «Официальные ресурсы + полезные ссылки» в правом сайдбаре */
.post-side-nav .news-side-gov-suite {
	padding: clamp(0.95rem, 2.2vw, 1.2rem);
	border-radius: 14px;
	border: 1px dashed rgba(125, 141, 165, 0.45);
	background:
		radial-gradient(120% 85% at 0% -10%, rgba(13, 132, 251, 0.16), rgba(13, 132, 251, 0) 52%),
		linear-gradient(165deg, rgba(255, 255, 255, 0.04), rgba(255, 255, 255, 0)),
		var(--glass-bg);
	box-shadow:
		inset 0 1px 0 rgba(255, 255, 255, 0.06),
		0 10px 28px rgba(4, 12, 28, 0.12);
	backdrop-filter: var(--glass-blur);
	-webkit-backdrop-filter: var(--glass-blur);
}

.post-side-nav .news-side-gov-suite__header {
	margin-bottom: 0.85rem;
}

.post-side-nav .news-side-gov-suite__leader {
	display: flex;
	align-items: center;
	gap: 0.75rem;
	padding: 0.65rem 0.75rem;
	border-radius: 12px;
	border: 1px solid rgba(120, 144, 177, 0.22);
	background: linear-gradient(135deg, rgba(13, 132, 251, 0.1), rgba(13, 132, 251, 0.02));
}

.post-side-nav a.news-side-gov-suite__leader--link {
	text-decoration: none;
	color: inherit;
	cursor: pointer;
	transition: background 0.18s ease, border-color 0.18s ease, transform 0.18s ease;
}

.post-side-nav a.news-side-gov-suite__leader--link:hover {
	background: rgba(13, 132, 251, 0.14);
	border-color: rgba(13, 132, 251, 0.35);
	color: inherit;
	text-decoration: none;
	transform: translateX(2px);
}

.post-side-nav a.news-side-gov-suite__leader--link:focus-visible {
	outline: 2px solid var(--link-color);
	outline-offset: 2px;
}

.post-side-nav .news-side-gov-suite__leader-ext {
	flex-shrink: 0;
	margin-left: auto;
	opacity: 0.45;
	color: var(--text-muted);
}

.post-side-nav a.news-side-gov-suite__leader--link:hover .news-side-gov-suite__leader-ext {
	opacity: 0.75;
	color: var(--link-color);
}

.post-side-nav .news-side-gov-suite__badge {
	flex-shrink: 0;
	width: 44px;
	height: 44px;
	display: flex;
	align-items: center;
	justify-content: center;
	border-radius: 12px;
	color: #fff;
	background: linear-gradient(145deg, #2a9cff, #0062d6);
	box-shadow: 0 6px 16px rgba(0, 98, 214, 0.28);
}

.post-side-nav .news-side-gov-suite__badge-icon {
	display: block;
	opacity: 0.95;
}

.post-side-nav .news-side-gov-suite__leader-body {
	flex: 1 1 auto;
	min-width: 0;
}

.post-side-nav .news-side-gov-suite__eyebrow {
	margin: 0 0 0.12rem;
	font-size: 0.68rem;
	font-weight: 700;
	letter-spacing: 0.06em;
	text-transform: uppercase;
	color: var(--text-muted);
}

.post-side-nav .info__box .news-side-gov-suite__name,
.post-side-nav .news-side-gov-suite__name {
	margin: 0;
	font-size: 1.05rem !important;
	font-weight: 800;
	letter-spacing: -0.02em;
	line-height: 1.25;
	color: var(--text-primary);
	text-decoration: none;
}

.post-side-nav a.news-side-gov-suite__leader--link:hover .news-side-gov-suite__name {
	color: var(--link-color);
	text-decoration: underline;
}

.post-side-nav .news-side-gov-suite__cta {
	display: flex;
	flex-direction: column;
	align-items: stretch;
	gap: 0.25rem;
	margin-top: 0.75rem;
	padding: 0.62rem 0.85rem;
	border-radius: 12px;
	text-decoration: none;
	color: #fff;
	font-weight: 700;
	font-size: 0.9rem;
	line-height: 1.25;
	background: linear-gradient(135deg, #1d8fff 0%, #0067e6 100%);
	border: 1px solid rgba(255, 255, 255, 0.2);
	box-shadow: 0 8px 22px rgba(0, 104, 230, 0.24);
	transition: filter 0.18s ease, transform 0.18s ease, box-shadow 0.18s ease;
}

.post-side-nav .news-side-gov-suite__cta-top {
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 0.5rem;
}

.post-side-nav .news-side-gov-suite__cta:hover {
	filter: brightness(1.05);
	color: #fff;
	text-decoration: none;
	transform: translateY(-1px);
	box-shadow: 0 10px 26px rgba(0, 104, 230, 0.3);
}

.post-side-nav .news-side-gov-suite__cta:focus-visible {
	outline: 2px solid rgba(255, 255, 255, 0.7);
	outline-offset: 2px;
}

.post-side-nav .news-side-gov-suite__cta-label {
	min-width: 0;
}

.post-side-nav .news-side-gov-suite__cta-hint {
	font-size: 0.72rem;
	font-weight: 600;
	opacity: 0.88;
	line-height: 1.35;
}

.post-side-nav .news-side-gov-suite__cta-arrow {
	font-size: 1.05rem;
	opacity: 0.92;
	flex-shrink: 0;
}

.post-side-nav .news-side-gov-suite__divider {
	height: 1px;
	margin: 1rem 0 0.85rem;
	border: 0;
	background: linear-gradient(90deg, transparent, rgba(120, 144, 177, 0.35), transparent);
}

.post-side-nav .news-side-gov-suite__links-title {
	margin: 0 0 0.55rem;
	font-size: 0.95rem;
	font-weight: 800;
	letter-spacing: -0.02em;
	color: var(--text-primary);
}

.post-side-nav .news-side-gov-suite__nav {
	display: flex;
	flex-direction: column;
	gap: 0.4rem;
}

.post-side-nav .news-side-gov-link-row {
	display: flex;
	align-items: center;
	gap: 0.6rem;
	padding: 0.55rem 0.65rem;
	border-radius: 10px;
	border: 1px solid rgba(120, 144, 177, 0.2);
	background: rgba(120, 144, 177, 0.06);
	color: var(--text-primary);
	text-decoration: none;
	font-size: 0.86rem;
	font-weight: 600;
	line-height: 1.3;
	transition: background 0.18s ease, border-color 0.18s ease, transform 0.18s ease;
}

.post-side-nav .news-side-gov-link-row:hover {
	background: rgba(13, 132, 251, 0.1);
	border-color: rgba(13, 132, 251, 0.35);
	color: var(--text-primary);
	text-decoration: none;
	transform: translateX(2px);
}

.post-side-nav .news-side-gov-link-row:focus-visible {
	outline: 2px solid var(--link-color);
	outline-offset: 2px;
}

.post-side-nav .news-side-gov-link-row__text {
	flex: 1 1 auto;
	min-width: 0;
}

.post-side-nav .news-side-gov-link-row__ext {
	flex-shrink: 0;
	opacity: 0.45;
	color: var(--text-muted);
}

.post-side-nav .news-side-gov-link-row:hover .news-side-gov-link-row__ext {
	opacity: 0.75;
	color: var(--link-color);
}

.post-page__inline-video {
	width: 100%;
	grid-column: 1 / -1;
	border-radius: 10px;
	overflow: hidden;
	background: #05080f;
}

.post-page__gallery--multi .post-page__inline-video {
	grid-column: 1 / -1;
}

.post-page__vk-iframe {
	display: block;
	width: 100%;
	aspect-ratio: 16 / 9;
	border: 0;
}

.post-page__file-video {
	display: block;
	width: 100%;
	max-height: min(70vh, 720px);
	background: #05080f;
}

.post-page__gallery {
	display: grid;
	gap: 0.45rem;
	margin-top: 0.75rem;
	padding: 0.45rem;
}

.post-page__gallery--single {
	grid-template-columns: minmax(0, 1fr);
}

.post-page__gallery--multi {
	grid-template-columns: repeat(auto-fill, minmax(68px, 88px));
	align-content: start;
}

.post-page__meta-row {
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 0.75rem;
	flex-wrap: wrap;
	padding: 0.65rem 0.75rem;
	border-radius: 14px;
	background: linear-gradient(135deg, rgba(120, 144, 177, 0.1) 0%, rgba(29, 143, 255, 0.05) 100%);
	border: 1px solid rgba(120, 144, 177, 0.22);
	box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.04);
}

.post-page__meta-row .post-page__favorite {
	flex-shrink: 0;
}

.post-page__meta-actions {
	display: inline-flex;
	align-items: center;
	gap: 0.5rem;
	flex-shrink: 0;
	margin-left: auto;
	padding: 0.28rem;
	border-radius: 999px;
	background: rgba(8, 14, 28, 0.28);
	border: 1px solid rgba(120, 144, 177, 0.2);
	box-shadow: 0 4px 14px rgba(0, 0, 0, 0.12);
}

.post-page__meta-group {
	display: flex;
	flex-direction: column;
	gap: 0.28rem;
	min-width: 0;
	flex: 1 1 auto;
}

.post-page__meta-group > .home-card__meta {
	margin: 0;
}

.post-page__meta-actions .post-page__vk-btn {
	margin: 0;
}

.post-page__vk-btn {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	color: #fff;
	text-decoration: none;
	font-weight: 600;
	font-size: 0.84rem;
	line-height: 1.2;
	padding: 0.42rem 0.85rem;
	border-radius: 999px;
	background: linear-gradient(135deg, #2788ff 0%, #0060db 100%);
	box-shadow: 0 4px 14px rgba(0, 104, 230, 0.28);
	white-space: nowrap;
	transition: transform 0.15s ease, box-shadow 0.2s ease, filter 0.2s ease;
}

.post-page__vk-btn:hover {
	filter: brightness(1.05);
	transform: translateY(-1px);
	box-shadow: 0 6px 18px rgba(0, 104, 230, 0.34);
}

.post-page__comment-note {
	margin: 0.85rem 0 0;
	padding: 0.65rem 0.75rem;
	border-radius: 12px;
	font-size: 0.86rem;
	line-height: 1.5;
	color: var(--text-muted);
	background: rgba(120, 144, 177, 0.07);
	border: 1px dashed rgba(125, 141, 165, 0.35);
}

.post-page__comment-note a {
	color: var(--text-primary);
	font-weight: 600;
	text-decoration: underline;
	text-underline-offset: 0.12em;
}

.post-page__comment-note a:hover,
.post-page__comment-note a:focus-visible {
	color: #4da3ff;
}

.post-page-related {
	padding: clamp(0.85rem, 2vw, 1.15rem);
	margin-top: 0.75rem;
}

.post-page-related__head {
	display: flex;
	flex-wrap: wrap;
	align-items: baseline;
	justify-content: space-between;
	gap: 0.5rem 1rem;
	margin-bottom: 0.85rem;
}

.post-page-related__title {
	margin: 0;
	font-size: clamp(1.05rem, 2.5vw, 1.2rem);
	font-weight: 700;
}

.post-page-related__all {
	color: #4da3ff;
	text-decoration: none;
	font-size: 0.9rem;
	font-weight: 600;
	white-space: nowrap;
}

.post-page-related__all:hover,
.post-page-related__all:focus-visible {
	text-decoration: underline;
}

.post-page-related__loading {
	margin: 0;
	padding: 0.75rem 0;
}

.post-page-related .news-teaser__line {
	font-size: 0.8rem;
	line-height: 1.35;
	display: -webkit-box;
	-webkit-box-orient: vertical;
	-webkit-line-clamp: 3;
	overflow: hidden;
}

.post-page-related .realty-card__meta,
.post-page-related .realty-card__price {
	font-size: 0.72rem;
	line-height: 1.3;
}

.post-page-related .news-teaser__media img {
	aspect-ratio: 4 / 3;
	object-fit: cover;
}

.post-page-related .news-chip {
	font-size: 0.62rem;
	padding: 0.12rem 0.35rem;
}

.post-page-related .vk-post-stats--teaser {
	display: none;
}

.vk-post-stats {
	display: flex;
	flex-wrap: wrap;
	align-items: center;
	gap: 0.5rem 0.75rem;
	margin: 0;
	font-size: 0.85rem;
	font-weight: 400;
	line-height: 1.35;
	color: var(--text-muted);
}

.vk-post-stats--page {
	margin-top: 0.15rem;
	gap: 0.4rem 0.55rem;
}

.vk-post-stats--page .vk-post-stats__item {
	padding: 0.24rem 0.62rem 0.24rem 0.5rem;
	border-radius: 999px;
	background: rgba(8, 14, 28, 0.38);
	border: 1px solid rgba(120, 144, 177, 0.2);
	font-size: 0.82rem;
	font-weight: 500;
	letter-spacing: 0.01em;
	transition: border-color 0.15s ease, background 0.15s ease;
}

.vk-post-stats--page .vk-post-stats__item:hover {
	border-color: rgba(29, 143, 255, 0.35);
	background: rgba(8, 14, 28, 0.52);
}

.vk-post-stats--page .vk-post-stats__svg {
	width: 15px;
	height: 15px;
	opacity: 0.95;
}

.vk-post-stats--page .vk-post-stats__item[title="Лайки"] .vk-post-stats__svg {
	color: #ff7a96;
}

.vk-post-stats--page .vk-post-stats__item[title="Репосты"] .vk-post-stats__svg {
	color: #6eb5ff;
}

.vk-post-stats--page .vk-post-stats__item[title="Просмотры"] .vk-post-stats__svg {
	color: #9db4d0;
}

body.light .vk-post-stats--page .vk-post-stats__item {
	background: rgba(255, 255, 255, 0.72);
	border-color: rgba(120, 144, 177, 0.28);
	color: rgba(36, 48, 68, 0.88);
}

body.light .vk-post-stats--page .vk-post-stats__item:hover {
	background: rgba(255, 255, 255, 0.92);
	border-color: rgba(29, 143, 255, 0.42);
}

.vk-post-stats--card {
	margin-top: 0.35rem;
}

.vk-post-stats--teaser {
	margin-top: 0.2rem;
	font-size: 0.68rem;
	line-height: 1.3;
}

.vk-post-stats--list {
	margin-top: 0.3rem;
	font-size: 0.78rem;
	font-weight: 600;
}

.vk-post-stats__item {
	display: inline-flex;
	align-items: center;
	gap: 0.28rem;
	font-size: inherit;
	font-weight: inherit;
	line-height: inherit;
	color: inherit;
	white-space: nowrap;
}

.vk-post-stats__value {
	font-variant-numeric: tabular-nums;
}

.vk-post-stats__svg {
	display: block;
	width: 14px;
	height: 14px;
	flex-shrink: 0;
	color: currentColor;
	opacity: 0.78;
}

.vk-post-stats--teaser .vk-post-stats__svg {
	width: 12px;
	height: 12px;
}

.post-media-item {
	position: relative;
	padding: 0;
	border: 0;
	border-radius: 12px;
	background: rgba(4, 10, 22, 0.35);
	cursor: pointer;
	overflow: hidden;
}

.post-page__gallery--single .post-media-item,
.post-page__gallery--multi .post-media-item--hero {
	display: block;
	width: 100%;
	height: clamp(200px, 38vh, 440px);
	max-height: clamp(200px, 38vh, 440px);
}

.post-page__gallery--multi .post-media-item--hero {
	grid-column: 1 / -1;
}

.post-page__gallery--multi .post-media-item--thumb {
	width: 100%;
	max-width: 88px;
	aspect-ratio: 1 / 1;
	justify-self: start;
	border: 2px solid transparent;
	transition: border-color 0.2s ease, transform 0.2s ease, box-shadow 0.2s ease;
}

.post-page__gallery--multi .post-media-item--thumb:hover,
.post-page__gallery--multi .post-media-item--thumb:focus-visible {
	border-color: rgba(68, 168, 255, 0.55);
	transform: translateY(-1px);
	box-shadow: 0 6px 16px rgba(2, 10, 24, 0.22);
}

.post-media-item img {
	width: 100%;
	height: 100%;
	object-fit: cover;
	object-position: center;
	border-radius: inherit;
	display: block;
	transition: transform 0.24s ease, filter 0.24s ease;
}

.post-page__gallery--single .post-media-item img,
.post-page__gallery--multi .post-media-item--hero img {
	width: 100%;
	height: 100%;
	object-fit: cover;
	object-position: center;
}

.post-page__gallery--multi .post-media-item--thumb img {
	height: 100%;
	object-fit: cover;
}

.post-page__gallery--single .post-media-item::after,
.post-page__gallery--multi .post-media-item--hero::after {
	content: '';
	position: absolute;
	inset: 0;
	pointer-events: none;
	border-radius: inherit;
	background: linear-gradient(180deg, transparent 58%, rgba(4, 10, 22, 0.28) 100%);
}

@media (min-width: 768px) {
	.post-page__gallery {
		padding: 0.55rem;
		gap: 0.5rem;
	}

	.post-page__gallery--single .post-media-item,
	.post-page__gallery--multi .post-media-item--hero {
		height: clamp(220px, 42vh, 440px);
		max-height: clamp(220px, 42vh, 440px);
		border-radius: 14px;
	}

	.post-page__gallery--multi {
		grid-template-columns: repeat(auto-fill, minmax(72px, 92px));
	}
}

@media (max-width: 767.98px) {
	.post-page__gallery--single .post-media-item,
	.post-page__gallery--multi .post-media-item--hero {
		height: clamp(180px, 34vh, 320px);
		max-height: clamp(180px, 34vh, 320px);
	}

	.post-page__gallery--multi .post-media-item--thumb {
		max-width: 72px;
	}
}

.post-media-item:hover img {
	transform: scale(1.02);
	filter: brightness(1.06);
}

.post-video-link__label {
	position: absolute;
	right: 8px;
	bottom: 8px;
	background: rgba(10, 18, 36, 0.75);
	color: #fff;
	padding: 0.18rem 0.44rem;
	border-radius: 999px;
	font-size: 0.7rem;
	font-weight: 600;
}

.post-ad-meta {
	display: flex;
	flex-wrap: wrap;
	gap: 0.35rem;
	margin-top: 0.65rem;
}

.post-ad-meta__tag,
.post-ad-meta__item {
	font-size: 0.72rem;
	padding: 0.2rem 0.45rem;
	border-radius: 999px;
}

.post-ad-meta__tag {
	background: #d83232;
	color: #fff;
}

.post-ad-meta__item {
	background: rgba(125, 141, 165, 0.16);
	border: 1px solid rgba(125, 141, 165, 0.26);
}

@media (max-width: 991.98px) {
	.post-side-nav {
		position: static;
	}
}

.post-media-modal {
	position: fixed;
	inset: 0;
	z-index: 2000;
	display: none;
}

.post-media-modal[aria-hidden="false"] {
	display: block;
}

.post-media-modal__backdrop {
	position: absolute;
	inset: 0;
	background: rgba(3, 8, 18, 0.82);
	border: 0;
}

.post-media-modal__dialog {
	position: absolute;
	left: 50%;
	top: 50%;
	z-index: 1;
	transform: translate(-50%, -50%);
	width: auto;
	max-width: min(92vw, 980px);
	max-height: 90vh;
	margin: 0;
	border-radius: 14px;
	background: rgba(9, 15, 27, 0.96);
	padding: 0.9rem;
	box-sizing: border-box;
}

.post-media-modal__content {
	display: flex;
	justify-content: center;
	align-items: center;
}

.post-media-modal__content img {
	width: auto;
	height: auto;
	max-width: min(88vw, 940px);
	max-height: 78vh;
	object-fit: contain;
	border: 0;
	border-radius: 10px;
	display: block;
}

.post-media-modal__content iframe {
	width: 100%;
	max-height: 78vh;
	border: 0;
	border-radius: 10px;
}

.post-media-modal__iframe {
	aspect-ratio: 16 / 9;
	max-height: min(78vh, 85vw);
	height: auto;
	background: #000;
}

.post-media-modal__close {
	position: absolute;
	top: 0.35rem;
	right: 0.55rem;
	background: transparent;
	border: 0;
	color: #fff;
	font-size: 1.9rem;
	line-height: 1;
}

.post-media-modal__nav {
	position: absolute;
	top: 50%;
	transform: translateY(-50%);
	width: 42px;
	height: 42px;
	border-radius: 999px;
	border: 1px solid rgba(255, 255, 255, 0.35);
	background: rgba(6, 13, 26, 0.76);
	color: #fff;
	font-size: 1.7rem;
	line-height: 1;
}

.post-media-modal__nav--prev {
	left: 0.55rem;
}

.post-media-modal__nav--next {
	right: 0.55rem;
}

.home-card__meta {
	font-size: 0.85rem;
	color: var(--text-muted);
}

.home-card__price {
	font-size: 1.1rem;
	font-weight: 700;
	color: var(--accent);
}

.placeholder-section {
	padding: 2rem 1.5rem;
	text-align: center;
	color: var(--text-muted);
}

.placeholder-section p {
	margin: 0;
	font-size: 1.05rem;
	color: var(--text-primary);
}

/* Главная: новые контентные блоки */
.news-layout {
	display: grid;
	grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
	gap: 1rem;
	align-items: stretch;
	min-height: 50vh;
}

.news-layout__main {
	display: flex;
	flex-direction: column;
	gap: 1rem;
	min-height: 50vh;
	min-width: 0;
	height: 100%;
	align-self: stretch;
}

.news-layout__hero {
	position: relative;
	flex: 3 1 0;
	min-height: 0;
	overflow: hidden;
	display: flex;
	flex-direction: column;
}

.news-layout__hero .simple-carousel__viewport {
	flex: 1 1 0;
	min-height: 0;
	height: auto;
	border-radius: 0;
}

.news-layout__hero .simple-carousel__track {
	height: 100%;
	min-height: 0;
}

.news-layout__hero .news-slide,
.news-layout__hero .news-slide__body {
	min-height: 100%;
	height: 100%;
}

.news-layout__hero .news-slide__body {
	padding: 0.75rem 1rem 1.5rem;
	justify-content: flex-end;
	gap: 0.35rem;
}

.news-layout__hero .news-slide__body p {
	display: none;
}

.news-layout__hero .news-slide__body h3 {
	font-size: clamp(0.88rem, 1.8vw, 1.12rem);
	margin: 0;
}

.news-layout__hero .news-slide__body time {
	font-size: 0.75rem;
	font-variant-numeric: tabular-nums;
}

body.home-page section[aria-labelledby="sec-news"] .news-layout {
	display: block;
	min-height: 50vh;
}

body.home-page section[aria-labelledby="sec-news"] .news-layout__main {
	display: grid;
	grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
	grid-template-rows: minmax(0, 3fr) minmax(0, 2fr);
	grid-template-areas:
		"hero aside"
		"teasers aside";
	gap: 1rem;
	min-height: 50vh;
	min-width: 0;
	height: auto;
	align-self: auto;
}

body.home-page section[aria-labelledby="sec-news"] .news-layout__hero {
	grid-area: hero;
}

body.home-page section[aria-labelledby="sec-news"] .news-latest-panel {
	grid-area: aside;
}

body.home-page section[aria-labelledby="sec-news"] .news-teasers {
	grid-area: teasers;
	flex: none;
}

@media (min-width: 992px) {
	body.home-page section[aria-labelledby="sec-news"] .news-latest-panel > ul.news-feed--home-latest > li:nth-child(n + 7) {
		display: none;
	}
}

.news-teasers {
	display: grid;
	grid-template-columns: repeat(3, minmax(0, 1fr));
	gap: 0.75rem;
	flex: 2 1 0;
	min-height: 0;
	min-width: 0;
	align-items: stretch;
}

.news-teaser {
	--feed-city: #0d84fb;
	--feed-city-bg: rgba(13, 132, 251, 0.14);
	--feed-city-border: rgba(13, 132, 251, 0.38);
	--feed-city-rail-end: rgba(13, 132, 251, 0.28);
	display: flex;
	flex-direction: column;
	min-width: 0;
	min-height: 0;
	height: 100%;
	padding: 0.5rem;
	overflow: hidden;
	text-decoration: none;
	color: inherit;
	box-sizing: border-box;
	transition: transform 0.2s ease, box-shadow 0.2s ease, border-color 0.2s ease;
	border-radius: 12px;
}

.news-teaser:hover {
	transform: translateY(-2px);
	box-shadow: var(--glass-shadow);
	border-color: var(--feed-city-border);
}

.news-teaser:focus-visible {
	outline: 2px solid var(--feed-city);
	outline-offset: 2px;
}

.news-teaser__main {
	flex: 1 1 0;
	min-width: 0;
	display: flex;
	flex-direction: column;
	gap: 0.4rem;
	min-height: 0;
}

.news-teaser__media {
	position: relative;
	flex: 1 1 0;
	min-height: 0;
	overflow: hidden;
	border-radius: 8px;
}

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

.news-teaser__media .news-chip--on-photo {
	position: absolute;
	top: 0.4rem;
	left: 0.4rem;
	z-index: 1;
	align-self: auto;
	box-shadow: 0 2px 12px rgba(0, 0, 0, 0.4);
	backdrop-filter: blur(4px);
	-webkit-backdrop-filter: blur(4px);
}

.news-teaser__text {
	display: flex;
	flex-direction: column;
	gap: 0.2rem;
	flex: 0 0 auto;
	padding-right: 0.05rem;
}

.news-teaser__line {
	margin: 0;
	font-family: var(--a-font, 'Manrope', system-ui, sans-serif);
	font-size: 0.78rem;
	font-weight: 700;
	line-height: 1.32;
	letter-spacing: -0.015em;
	color: var(--text-primary);
	display: -webkit-box;
	-webkit-box-orient: vertical;
	-webkit-line-clamp: 2;
	line-clamp: 2;
	overflow: hidden;
}

.news-page-feed-panel .news-feed__line,
.news-page-feed-panel .news-teaser__line,
.realty-grid .news-teaser__line {
	font-family: var(--a-font, 'Manrope', system-ui, sans-serif);
}

.news-teaser__text time {
	font-size: 0.7rem;
	font-weight: 600;
	font-variant-numeric: tabular-nums;
	color: var(--text-muted);
}

/* Сайдбар novosti: та же горизонтальная лента, что блок «Топ публикаций» на главной */
.news-marquee-section--news-page-sidebar .section-head {
	margin-bottom: 0.65rem;
	gap: 0.65rem;
}

.news-marquee-section--news-page-sidebar .section-head .news-page-marquee-sidebar__title {
	font-family: 'Unbounded', 'Manrope', system-ui, sans-serif;
	font-size: clamp(0.92rem, 1.6vw, 1.08rem);
	font-weight: 700;
	letter-spacing: -0.035em;
	color: var(--text-primary);
	margin: 0;
	line-height: 1.28;
}

.post-side-nav.news-page-side .news-page-interest-sidebar__title,
.seo-article--news-head .news-page-interest-sidebar__title,
.news-marquee-section--news-page-sidebar .section-head .news-page-marquee-sidebar__title,
.post-side-nav.news-page-side .news-page-side-weather__title {
	display: inline-flex;
	align-items: center;
	gap: 0.42rem;
	padding: 0.36rem 0.68rem;
	border-radius: 999px;
	background: rgba(39, 135, 245, 0.12);
	border: 1px solid rgba(39, 135, 245, 0.24);
	box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.12);
}

/* «Интересные новости»: не растягивать pill на всю ширину aside (как h3 внутри .section-head у «Топ публикаций») */
.post-side-nav.news-page-side > .news-page-interest-sidebar__title,
.post-side-nav.news-page-side #sec-news-interest-sidebar.news-page-interest-sidebar__title {
	align-self: flex-start;
	width: auto;
	max-width: 100%;
}

body.light .post-side-nav.news-page-side .news-page-interest-sidebar__title,
body.light .seo-article--news-head .news-page-interest-sidebar__title,
body.light .news-marquee-section--news-page-sidebar .section-head .news-page-marquee-sidebar__title,
body.light .post-side-nav.news-page-side .news-page-side-weather__title {
	background: rgba(39, 135, 245, 0.09);
	border-color: rgba(39, 135, 245, 0.22);
}

.post-side-nav.news-page-side .news-page-interest-sidebar__title::before,
.seo-article--news-head .news-page-interest-sidebar__title::before,
.news-marquee-section--news-page-sidebar .section-head .news-page-marquee-sidebar__title::before,
.post-side-nav.news-page-side .news-page-side-weather__title::before {
	content: '';
	width: 0.42rem;
	height: 0.42rem;
	border-radius: 50%;
	background: linear-gradient(145deg, #6fc1ff 0%, #2787f5 100%);
	box-shadow: 0 0 0 3px rgba(39, 135, 245, 0.2);
}

.news-marquee-section--news-page-sidebar .news-marquee__viewport {
	margin-top: 0.15rem;
}

@media (min-width: 992px) {
	.news-marquee-section--news-page-sidebar .news-marquee .news-teaser.news-marquee__card {
		width: clamp(146px, 22vw, 188px);
		height: 198px;
	}
}

.news-marquee-section--news-page-sidebar {
	padding: 0.72rem 0.72rem 0.8rem;
	border-radius: 14px;
	border: 1px solid rgba(125, 141, 165, 0.2);
	background:
		radial-gradient(90% 65% at 12% -10%, rgba(39, 135, 245, 0.12), transparent 60%),
		rgba(255, 255, 255, 0.02);
	box-shadow:
		inset 0 1px 0 rgba(255, 255, 255, 0.06),
		0 10px 24px rgba(6, 16, 34, 0.16);
}

body.light .news-marquee-section--news-page-sidebar {
	border-color: rgba(125, 141, 165, 0.2);
	background:
		radial-gradient(95% 70% at 12% -10%, rgba(39, 135, 245, 0.1), transparent 60%),
		rgba(255, 255, 255, 0.55);
	box-shadow:
		inset 0 1px 0 rgba(255, 255, 255, 0.85),
		0 8px 20px rgba(20, 65, 120, 0.08);
}

/* Горизонтальная лента карточек-новостей (как .news-teasers под баннером) */
.news-marquee-section .news-marquee {
	margin: 0;
	padding: 0;
	border: 0;
	background: transparent;
	box-shadow: none;
}

.news-marquee__viewport {
	min-width: 0;
	margin-top: 0.35rem;
	overflow: hidden;
	-webkit-mask-image: linear-gradient(
		to right,
		transparent 0,
		#000 28px,
		#000 calc(100% - 28px),
		transparent 100%
	);
	mask-image: linear-gradient(
		to right,
		transparent 0,
		#000 28px,
		#000 calc(100% - 28px),
		transparent 100%
	);
}

.news-marquee__track {
	display: flex;
	flex-direction: row;
	flex-wrap: nowrap;
	width: max-content;
	will-change: transform;
	animation: news-marquee-scroll 72s linear infinite;
}

.news-marquee--interactive .news-marquee__track {
	animation: none !important;
}

.news-marquee:hover .news-marquee__track {
	animation-play-state: paused;
}

.news-marquee__group {
	display: flex;
	flex-direction: row;
	flex-wrap: nowrap;
	align-items: stretch;
	gap: 0.75rem;
	flex-shrink: 0;
	padding-inline: 0.15rem;
	padding-right: 0.9rem;
}

.news-marquee .news-teaser.news-marquee__card {
	flex: 0 0 auto;
	width: clamp(168px, 20vw, 220px);
	height: 218px;
	min-height: 0;
}

.news-marquee .news-teaser.news-marquee__card .news-teaser__main {
	min-height: 0;
	height: 100%;
}

.news-marquee .news-teaser.news-marquee__card .news-teaser__media {
	flex: 1 1 0;
	min-height: 72px;
}

.pets-marquee .news-teaser.news-marquee__card.pets-marquee__card {
	width: clamp(176px, 21vw, 236px);
	height: 228px;
}

.pets-marquee .pets-marquee__card .news-teaser__line {
	font-size: 0.92rem;
	-webkit-line-clamp: 1;
	line-clamp: 1;
}

.pets-marquee .pets-marquee__card .realty-card__meta {
	font-size: 0.69rem;
}

.interest-carousel {
	position: relative;
	padding: 0;
	min-height: clamp(320px, 45vw, 500px);
	overflow: hidden;
}

.interest-carousel .simple-carousel__viewport,
.interest-carousel .simple-carousel__track,
.interest-carousel .news-slide {
	min-height: inherit;
	height: 100%;
}

.interest-slide__overlay {
	padding: clamp(1rem, 2.6vw, 1.9rem) !important;
	gap: 0.45rem !important;
}

.interest-slide__overlay h3,
.interest-slide__overlay .interest-slide__title {
	margin: 0;
	font-size: clamp(1.05rem, 3vw, 1.8rem);
	font-weight: 800;
	letter-spacing: -0.02em;
	line-height: 1.2;
	color: inherit;
}

.news-page-interest-sidebar__title {
	font-family: 'Unbounded', 'Manrope', system-ui, sans-serif;
	font-size: clamp(0.92rem, 1.6vw, 1.08rem);
	font-weight: 700;
	letter-spacing: -0.035em;
	color: var(--text-primary);
	margin: 0;
	line-height: 1.28;
}

.interest-carousel--news-page-sidebar {
	min-height: clamp(210px, 32vh, 300px);
	border-radius: 14px;
	border: 1px solid rgba(125, 141, 165, 0.2);
	box-shadow:
		inset 0 1px 0 rgba(255, 255, 255, 0.08),
		0 10px 26px rgba(6, 16, 34, 0.2);
}

.interest-carousel--news-page-sidebar .interest-slide__overlay {
	padding: clamp(0.7rem, 2vw, 1.05rem) !important;
	gap: 0.35rem !important;
}

body.light .interest-carousel--news-page-sidebar {
	border-color: rgba(125, 141, 165, 0.22);
	box-shadow:
		inset 0 1px 0 rgba(255, 255, 255, 0.9),
		0 8px 20px rgba(20, 65, 120, 0.09);
}

.interest-carousel--news-page-sidebar .interest-slide__overlay .interest-slide__title {
	font-size: clamp(0.88rem, 2.6vw, 1.06rem);
	line-height: 1.22;
	display: -webkit-box;
	-webkit-box-orient: vertical;
	-webkit-line-clamp: 3;
	line-clamp: 3;
	overflow: hidden;
}

.interest-carousel--news-page-sidebar .interest-slide__overlay p {
	display: none;
}

a.news-slide.news-slide--linked {
	display: block;
	text-decoration: none;
	color: inherit;
	cursor: pointer;
}

a.news-slide.news-slide--linked:hover .news-slide__body h3,
a.news-slide.news-slide--linked:hover .news-slide__body h4 {
	text-decoration: underline;
	text-underline-offset: 0.12em;
}

@media (max-width: 991.98px) {
	.interest-carousel--news-page-sidebar {
		min-height: clamp(260px, 52vw, 380px);
	}
}

/* Кроссфейд без .news-layout__hero (сайдбар novosti «Интересные новости») */
.interest-carousel--news-page-sidebar.simple-carousel[data-carousel-fade] {
	position: relative;
}

.interest-carousel--news-page-sidebar.simple-carousel[data-carousel-fade] .simple-carousel__viewport {
	position: relative;
	height: 100%;
	min-height: inherit;
}

.interest-carousel--news-page-sidebar.simple-carousel[data-carousel-fade] .simple-carousel__track {
	display: block;
	position: relative;
	height: 100%;
	min-height: inherit;
	transition: none;
	transform: none !important;
	will-change: auto;
}

.interest-carousel--news-page-sidebar.simple-carousel[data-carousel-fade] .news-slide {
	position: absolute;
	inset: 0;
	flex: none !important;
	width: 100%;
	height: 100%;
	min-height: 0 !important;
	min-width: 0;
	opacity: 0;
	transition: opacity 0.7s cubic-bezier(0.45, 0, 0.15, 1);
	pointer-events: none;
	z-index: 0;
}

.interest-carousel--news-page-sidebar.simple-carousel[data-carousel-fade] .news-slide.is-active {
	opacity: 1;
	z-index: 3;
	pointer-events: auto;
}

.interest-carousel--news-page-sidebar .news-slide__body {
	min-height: 0 !important;
	height: 100%;
	box-sizing: border-box;
	justify-content: flex-end;
	padding: 1rem 0.85rem calc(2.2rem + 8px);
}

.interest-carousel--news-page-sidebar .news-slide__body h4.interest-slide__title {
	margin: 0 0 0.35rem;
	color: #fff;
}

.interest-carousel--news-page-sidebar .simple-carousel__dots {
	position: absolute;
	left: 0;
	right: 0;
	bottom: 0.35rem;
	padding-top: 0;
	z-index: 5;
	pointer-events: auto;
}

.interest-carousel--news-page-sidebar .simple-carousel__dots button {
	background: rgba(255, 255, 255, 0.35);
}

.interest-carousel--news-page-sidebar .simple-carousel__dots button.is-active {
	background: rgba(255, 255, 255, 0.88);
}

.news-marquee-section--news-page-sidebar .news-marquee .news-teaser.news-marquee__card {
	border: 1px solid rgba(125, 141, 165, 0.2);
	background: linear-gradient(180deg, rgba(255, 255, 255, 0.055), rgba(255, 255, 255, 0.02));
	box-shadow:
		inset 0 1px 0 rgba(255, 255, 255, 0.08),
		0 6px 16px rgba(8, 18, 34, 0.16);
	transition:
		transform 0.22s ease,
		border-color 0.22s ease,
		box-shadow 0.22s ease;
}

body.light .news-marquee-section--news-page-sidebar .news-marquee .news-teaser.news-marquee__card {
	background: linear-gradient(180deg, rgba(255, 255, 255, 0.9), rgba(243, 249, 255, 0.92));
	border-color: rgba(125, 141, 165, 0.2);
	box-shadow:
		inset 0 1px 0 rgba(255, 255, 255, 1),
		0 4px 14px rgba(28, 72, 130, 0.09);
}

.news-marquee-section--news-page-sidebar .news-marquee .news-teaser.news-marquee__card:hover,
.news-marquee-section--news-page-sidebar .news-marquee .news-teaser.news-marquee__card:focus-visible {
	transform: translateY(-2px);
	border-color: rgba(39, 135, 245, 0.36);
	box-shadow:
		0 0 0 1px rgba(39, 135, 245, 0.12),
		0 12px 24px rgba(8, 24, 46, 0.22);
}

@media (prefers-reduced-motion: reduce) {
	.interest-carousel--news-page-sidebar.simple-carousel[data-carousel-fade] .news-slide {
		transition-duration: 0.05s;
		transition-timing-function: linear;
	}
}

.seo-article {
	padding: clamp(1rem, 2.2vw, 1.55rem);
	background:
		radial-gradient(1100px 360px at 8% -12%, rgba(13, 132, 251, 0.12), transparent 55%),
		radial-gradient(900px 280px at 95% 8%, rgba(168, 85, 247, 0.1), transparent 52%),
		var(--glass-bg);
}

.seo-article__head {
	display: flex;
	flex-direction: column;
	gap: 0.45rem;
	margin-bottom: 0.65rem;
}

.seo-article__divider {
	height: 1px;
	width: 100%;
	margin: 0 0 1rem;
	background: linear-gradient(
		90deg,
		rgba(125, 141, 165, 0.14) 0%,
		rgba(125, 141, 165, 0.46) 16%,
		rgba(125, 141, 165, 0.46) 84%,
		rgba(125, 141, 165, 0.14) 100%
	);
}

.seo-article__eyebrow {
	display: inline-flex;
	align-self: flex-start;
	padding: 0.23rem 0.58rem;
	border-radius: 999px;
	font-size: 0.67rem;
	font-weight: 700;
	letter-spacing: 0.08em;
	text-transform: uppercase;
	color: #fff;
	background: linear-gradient(135deg, #0d84fb 0%, #a855f7 100%);
}

.seo-article h2 {
	margin: 0;
	font-size: clamp(1.02rem, 2vw, 1.35rem);
	line-height: 1.3;
	color: var(--text-primary);
	font-family: 'Unbounded', 'Manrope', system-ui, sans-serif;
	font-weight: 700;
	letter-spacing: 0.005em;
}

.seo-article__block h3,
.seo-blog-cards__title {
	font-family: 'Unbounded', 'Manrope', system-ui, sans-serif;
	font-weight: 700;
	letter-spacing: 0.005em;
}

.seo-article__lead {
	margin: 0;
	font-size: 0.96rem;
	line-height: 1.55;
	color: var(--text-secondary);
	max-width: 900px;
}

/* SEO-статьи с двухколоночной шапкой (новости, жильё): ширина + типографика как у .seo-article__block p */
.seo-article--news-head .seo-article__intro-grid,
.seo-article--realty-head .seo-article__intro-grid {
	display: grid;
	grid-template-columns: minmax(0, 1.6fr) minmax(0, 1fr);
	gap: 1rem 1.2rem;
	align-items: start;
	margin-bottom: 0.65rem;
}

.seo-article--news-head .seo-article__intro-grid .seo-article__head,
.seo-article--realty-head .seo-article__intro-grid .seo-article__head {
	margin-bottom: 0;
	min-width: 0;
}

.seo-article--news-head .seo-media-placeholder.seo-article__intro-cover {
	min-width: 0;
	width: 100%;
	align-self: start;
	min-height: 0;
	aspect-ratio: 16 / 9;
	max-height: min(240px, 42vh);
}

.seo-article--realty-head .seo-article__intro-stays-wrap,
.seo-article--realty-head .home-realty-layout__col--stays,
.seo-article--jobs-head .home-realty-layout__col--stays,
.seo-article--auto-head .home-realty-layout__col--stays,
.seo-article--beauty-head .home-realty-layout__col--stays,
.seo-article--krym-head .home-realty-layout__col--stays {
	min-width: 0;
	width: 100%;
	max-width: 100%;
	justify-self: stretch;
	box-sizing: border-box;
}

.seo-article--realty-head .seo-article__intro-stays-wrap .vk-communities--seo-realty-wide,
.seo-article--realty-head .home-realty-layout__col--stays .vk-communities--seo-realty-wide,
.seo-article--jobs-head .home-realty-layout__col--stays .vk-communities--seo-realty-wide,
.seo-article--auto-head .home-realty-layout__col--stays .vk-communities--seo-realty-wide,
.seo-article--beauty-head .home-realty-layout__col--stays .vk-communities--seo-realty-wide,
.seo-article--krym-head .home-realty-layout__col--stays .vk-communities--seo-realty-wide {
	min-width: 0;
	width: 100%;
	max-width: 100%;
	box-sizing: border-box;
	align-items: stretch;
	padding: clamp(0.95rem, 2.2vw, 1.35rem);
	gap: 0.65rem;
}

.seo-article--news-head .seo-article__head h2,
.seo-article--news-head .seo-article__head .seo-article__lead,
.seo-article--realty-head .seo-article__head h2,
.seo-article--realty-head .seo-article__head .seo-article__lead {
	margin: 0;
	font-size: 0.95rem;
	line-height: 1.58;
	font-weight: 400;
	color: var(--text-muted);
	max-width: none;
}

.seo-article--news-head .seo-article__head h2,
.seo-article--realty-head .seo-article__head h2 {
	letter-spacing: inherit;
}

/* Главная: «Жильё в Крыму» — 3×3 карточки и кнопки справа */
.home-realty-layout {
	display: flex;
	flex-direction: column;
}

.home-realty-layout__row {
	display: grid;
	grid-template-columns: minmax(0, 1.55fr) minmax(0, 1fr);
	gap: 1rem 1.2rem;
	align-items: start;
}

.home-realty-layout__row--listings {
	align-items: stretch;
}

.home-side-stack {
	display: flex;
	flex-direction: column;
	gap: 0.65rem;
	flex: 1 1 auto;
	min-height: 0;
	height: 100%;
	width: 100%;
}

.home-side-stack > .vk-communities {
	flex: 0 0 auto;
}

.home-deal-banner {
	flex: 1 1 auto;
	min-height: 5.5rem;
	display: flex;
	flex-direction: column;
	box-sizing: border-box;
	border-radius: 12px;
	border: 1px dashed rgba(125, 141, 165, 0.45);
	background:
		radial-gradient(120px 40px at 50% 0%, rgba(13, 132, 251, 0.08), transparent 70%),
		var(--glass-bg);
	overflow: hidden;
}

.home-deal-banner__link {
	flex: 1 1 auto;
	display: flex;
	flex-direction: column;
	align-items: center;
	justify-content: center;
	gap: 0.4rem;
	width: 100%;
	min-height: 100%;
	padding: 0.85rem 0.75rem;
	text-decoration: none;
	color: inherit;
	transition: border-color 0.2s ease, background-color 0.2s ease;
}

.home-deal-banner__link:hover,
.home-deal-banner__link:focus-visible {
	text-decoration: none;
	color: inherit;
	outline: none;
}

.home-deal-banner:hover {
	border-color: rgba(13, 132, 251, 0.42);
}

.home-deal-banner__eyebrow {
	font-size: 0.84rem;
	font-weight: 700;
	letter-spacing: 0.02em;
	color: var(--text-primary);
	text-align: center;
}

.home-deal-banner__placeholder {
	font-size: 0.78rem;
	font-weight: 500;
	color: var(--text-muted);
	text-align: center;
}

.seo-article--realty-head .realty-grid--home-3x3,
.seo-article--jobs-head .realty-grid--home-3x3,
.seo-article--auto-head .realty-grid--home-3x3,
.seo-article--beauty-head .realty-grid--home-3x3,
.seo-article--krym-head .realty-grid--home-3x3 {
	grid-template-columns: repeat(3, minmax(0, 1fr));
}

.seo-article--realty-head .home-realty-layout__col--stays,
.seo-article--jobs-head .home-realty-layout__col--stays,
.seo-article--auto-head .home-realty-layout__col--stays,
.seo-article--beauty-head .home-realty-layout__col--stays,
.seo-article--krym-head .home-realty-layout__col--stays {
	align-self: stretch;
	display: flex;
	flex-direction: column;
	min-height: 100%;
	min-width: 0;
}

.seo-article__grid {
	display: grid;
	grid-template-columns: minmax(0, 1.6fr) minmax(0, 1fr);
	gap: 1rem 1.2rem;
}

/* Главная: «Новости в Крыму» — слева текст, справа города (без внутреннего разделителя) */
.seo-article--news-head .seo-article__grid--news-cities {
	align-items: start;
}

.seo-article--news-head .seo-article__grid--news-cities .seo-article__head {
	margin-bottom: 0;
}

.seo-article--news-head .seo-article__side--vk-cities {
	gap: 0.55rem;
	align-self: start;
}

.seo-article--news-head .seo-article__side--vk-cities .news-page-interest-sidebar__title {
	margin: 0;
	align-self: flex-start;
	width: auto;
	max-width: 100%;
}

.seo-article__main {
	display: flex;
	flex-direction: column;
	gap: 0.85rem;
}

.seo-article__block h3 {
	margin: 0 0 0.4rem;
	font-size: 0.96rem;
	color: var(--text-primary);
}

.seo-article__block p {
	margin: 0;
	font-size: 0.95rem;
	line-height: 1.58;
	color: var(--text-muted);
}

.seo-article__list {
	margin: 0;
	padding-left: 1.15rem;
	display: flex;
	flex-direction: column;
	gap: 0.55rem;
}

.seo-article__list li {
	font-size: 0.95rem;
	line-height: 1.58;
	color: var(--text-muted);
}

.seo-article__list strong {
	color: var(--text-primary);
	font-weight: 600;
}

.seo-article__side--blog {
	gap: 0.65rem;
}

.seo-blog-cards__title {
	margin: 0;
	font-size: 0.92rem;
	font-weight: 600;
	color: var(--text-primary);
}

.seo-blog-cards {
	display: flex;
	flex-direction: column;
	gap: 0.55rem;
}

.seo-blog-card {
	display: grid;
	grid-template-columns: 72px minmax(0, 1fr);
	gap: 0.65rem;
	padding: 0.62rem;
	border-radius: 12px;
	border: 1px solid rgba(255, 255, 255, 0.1);
	background: rgba(255, 255, 255, 0.03);
	text-decoration: none;
	color: inherit;
	transition: transform 0.15s ease, border-color 0.15s ease, box-shadow 0.15s ease;
}

.seo-blog-card:hover {
	transform: translateY(-1px);
	border-color: rgba(68, 168, 255, 0.38);
	box-shadow: 0 6px 18px rgba(0, 0, 0, 0.16);
}

.seo-blog-card--soon {
	opacity: 0.92;
}

.seo-blog-card__media {
	display: block;
	border-radius: 8px;
	overflow: hidden;
	aspect-ratio: 16 / 10;
	background: rgba(255, 255, 255, 0.06);
}

.seo-blog-card__media img {
	width: 100%;
	height: 100%;
	object-fit: cover;
}

.seo-blog-card__body {
	display: flex;
	flex-direction: column;
	gap: 0.2rem;
	min-width: 0;
}

.seo-blog-card__cat {
	color: rgba(68, 168, 255, 0.88);
	font-size: 0.62rem;
	font-weight: 600;
	letter-spacing: 0.04em;
	text-transform: uppercase;
}

.seo-blog-card__title {
	font-size: 0.82rem;
	line-height: 1.35;
	font-weight: 600;
	color: var(--text-primary);
}

.seo-blog-card__meta {
	font-size: 0.72rem;
	color: var(--text-muted);
}

.seo-blog-cards__more {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	margin-top: 0.15rem;
	padding: 0.5rem 0.85rem;
	border-radius: 999px;
	border: 1px solid rgba(68, 168, 255, 0.28);
	background: rgba(68, 168, 255, 0.08);
	color: #9fd4ff;
	font-size: 0.78rem;
	font-weight: 600;
	text-decoration: none;
	transition: background 0.15s ease, border-color 0.15s ease;
}

.seo-blog-cards__more:hover {
	background: rgba(68, 168, 255, 0.16);
	border-color: rgba(110, 182, 255, 0.45);
}

@media (max-width: 991.98px) {
	.seo-article__grid {
		grid-template-columns: 1fr;
	}

	.seo-article__side--blog {
		order: 2;
	}
}

.seo-media-placeholder {
	margin: 0;
	min-height: 178px;
	border-radius: 12px;
	border: 1px dashed rgba(125, 141, 165, 0.45);
	background:
		repeating-linear-gradient(
			45deg,
			rgba(255, 255, 255, 0.02),
			rgba(255, 255, 255, 0.02) 12px,
			rgba(255, 255, 255, 0.05) 12px,
			rgba(255, 255, 255, 0.05) 24px
		);
	display: grid;
	place-items: center;
}

.seo-media-placeholder__label {
	font-size: 0.78rem;
	font-weight: 700;
	color: var(--text-muted);
	background: rgba(0, 0, 0, 0.22);
	border: 1px solid var(--glass-border);
	border-radius: 999px;
	padding: 0.3rem 0.8rem;
}

.seo-article__side {
	display: flex;
	flex-direction: column;
	gap: 0.75rem;
}

.seo-note {
	border: 1px solid var(--glass-border);
	border-radius: 12px;
	padding: 0.75rem 0.85rem;
	background: rgba(255, 255, 255, 0.03);
}

.seo-note h3 {
	margin: 0 0 0.35rem;
	font-size: 0.88rem;
	color: var(--text-primary);
}

.seo-note p {
	margin: 0;
	font-size: 0.84rem;
	line-height: 1.5;
	color: var(--text-muted);
}

.vk-communities {
	padding: clamp(0.95rem, 2.2vw, 1.35rem);
	display: grid;
	grid-template-columns: repeat(6, minmax(0, 1fr));
	gap: 0.85rem;
}

/* Сетка городов 3×4 в SEO-блоке «Новости в Крыму» — те же карточки, что у блока ВК */
.vk-communities--seo-cities {
	grid-template-columns: repeat(3, minmax(0, 1fr));
}

/* Главная: «Новости в твоем городе» — 6 колонок × 2 ряда на всю ширину */
.vk-communities--home-cities-6x6 {
	grid-template-columns: repeat(6, minmax(0, 1fr));
	gap: 0.75rem;
}

.vk-communities--home-cities-6x6 .vk-community__logo {
	width: clamp(3.25rem, 5.5vw, 3.75rem);
	height: clamp(3.25rem, 5.5vw, 3.75rem);
}

.vk-communities--home-cities-6x6 .vk-community__logo--vk-photo {
	padding: 0;
	border-radius: 50%;
	overflow: hidden;
	background: rgba(125, 141, 165, 0.12);
	font-size: 0;
	box-shadow:
		0 0 0 1px rgba(125, 141, 165, 0.22),
		0 9px 20px rgba(18, 103, 194, 0.28);
}

.vk-communities--home-cities-6x6 .vk-community__logo--vk-photo img {
	display: block;
	width: 100%;
	height: 100%;
	object-fit: cover;
}

/* SEO «Жильё в Крыму»: 4 широкие кнопки-города вместо сетки 3×4 */
.vk-communities.vk-communities--seo-realty-wide {
	display: flex;
	flex-direction: column;
	gap: 0.65rem;
	grid-template-columns: none;
}

.vk-communities--seo-realty-wide .vk-communities__list {
	display: flex;
	flex-direction: column;
	gap: 0.65rem;
}

.vk-communities--seo-realty-wide .vk-communities__divider {
	height: 1px;
	margin: 0.2rem 0;
	flex-shrink: 0;
	border-radius: 1px;
	background: linear-gradient(
		90deg,
		transparent,
		rgba(125, 141, 165, 0.38) 12%,
		rgba(125, 141, 165, 0.38) 88%,
		transparent
	);
}

.vk-communities--seo-realty-wide .vk-community {
	flex-direction: row;
	align-items: center;
	justify-content: flex-start;
	width: 100%;
	box-sizing: border-box;
	gap: 0.75rem 1rem;
	padding: 0.62rem 0.85rem;
	min-height: 52px;
}

.vk-communities--seo-realty-wide .vk-community__logo {
	width: clamp(44px, 11vw, 56px);
	height: clamp(44px, 11vw, 56px);
	flex-shrink: 0;
	padding: 0;
	text-align: center;
}

.vk-communities--seo-realty-wide .vk-community__logo .vk-community__nav-icon {
	display: block;
	width: 22px;
	height: 22px;
}

.vk-communities--seo-realty-wide .vk-community__logo .vk-community__nav-icon :where(path, circle, line, polyline, rect) {
	stroke: currentColor;
	fill: none;
}

.vk-communities--seo-realty-wide .vk-community__name {
	flex: 1 1 auto;
	text-align: left;
	font-size: 0.82rem;
	line-height: 1.28;
	max-width: none;
}

.vk-communities--seo-realty-wide .vk-community__meta {
	flex-shrink: 0;
	display: inline-flex;
	align-items: center;
	gap: 0.3rem;
	margin-left: auto;
	white-space: nowrap;
	font-size: 0.74rem;
	font-weight: 600;
	color: var(--text-muted);
}

.vk-communities--seo-realty-wide .vk-community__meta-arrow {
	font-size: 1.05em;
	font-weight: 700;
	line-height: 1;
	opacity: 0.88;
}

.vk-communities--seo-realty-wide .vk-community:hover .vk-community__meta,
.vk-communities--seo-realty-wide .vk-community:focus-visible .vk-community__meta {
	color: var(--text-secondary);
}

.vk-communities--seo-realty-wide .vk-community:hover .vk-community__meta-arrow,
.vk-communities--seo-realty-wide .vk-community:focus-visible .vk-community__meta-arrow {
	opacity: 1;
	color: #7cc4ff;
}

.seo-article--jobs-compact {
	padding: 0.95rem;
}

.seo-article--jobs-compact .seo-article__grid {
	align-items: start;
}

.seo-article--jobs-compact .seo-article__eyebrow {
	margin-bottom: 0.52rem;
}

.seo-article--jobs-compact .seo-article__block h3,
.seo-article--jobs-compact .seo-article__block h2 {
	font-size: clamp(0.96rem, 1.35vw, 1.08rem);
	line-height: 1.35;
}

.seo-article--jobs-compact .seo-article__block p {
	font-size: 0.9rem;
	line-height: 1.52;
}

.vk-communities--seo-job-compact .vk-community {
	min-height: 48px;
	padding-top: 0.54rem;
	padding-bottom: 0.54rem;
}

.vk-communities--seo-job-compact .vk-community__logo {
	background: linear-gradient(145deg, #6c5ce7 0%, #4b44c7 55%, #2e2f99 100%);
	box-shadow: 0 9px 20px rgba(63, 60, 166, 0.34);
}

.vk-communities--seo-job-compact .vk-community:hover .vk-community__logo,
.vk-communities--seo-job-compact .vk-community:focus-visible .vk-community__logo {
	box-shadow: 0 14px 28px rgba(63, 60, 166, 0.44);
}

/* Посуточно / отели / гостевые — мягкий бирюзовый акцент вместо синего «сделок» */
.vk-communities--seo-realty-wide .vk-communities__list--stays .vk-community {
	border-color: rgba(56, 189, 178, 0.3);
	background:
		radial-gradient(90px 50px at 50% -10%, rgba(45, 212, 191, 0.14), transparent 72%),
		rgba(255, 255, 255, 0.02);
}

.vk-communities--seo-realty-wide .vk-communities__list--stays .vk-community:hover,
.vk-communities--seo-realty-wide .vk-communities__list--stays .vk-community:focus-visible {
	border-color: rgba(45, 212, 191, 0.52);
	background-color: rgba(45, 212, 191, 0.08);
	box-shadow: 0 16px 28px rgba(6, 22, 22, 0.32);
}

.vk-communities--seo-realty-wide .vk-communities__list--stays .vk-community__logo {
	background: linear-gradient(145deg, #1db9a8 0%, #139d8e 55%, #0c6d62 100%);
	box-shadow: 0 9px 20px rgba(12, 109, 98, 0.34);
}

.vk-communities--seo-realty-wide .vk-communities__list--stays .vk-community:hover .vk-community__logo,
.vk-communities--seo-realty-wide .vk-communities__list--stays .vk-community:focus-visible .vk-community__logo {
	box-shadow: 0 14px 28px rgba(12, 109, 98, 0.45);
}

.vk-communities--seo-realty-wide .vk-communities__list--stays .vk-community:hover .vk-community__name,
.vk-communities--seo-realty-wide .vk-communities__list--stays .vk-community:focus-visible .vk-community__name {
	color: #5eead4;
}

.vk-communities--seo-realty-wide .vk-communities__list--stays .vk-community:hover .vk-community__meta-arrow,
.vk-communities--seo-realty-wide .vk-communities__list--stays .vk-community:focus-visible .vk-community__meta-arrow {
	color: #5eead4;
}

.seo-article__side--vk-cities {
	gap: 0;
	min-width: 0;
}

.seo-article__side--vk-cities > .vk-communities {
	min-width: 0;
}

.vk-community {
	position: relative;
	display: flex;
	flex-direction: column;
	align-items: center;
	justify-content: center;
	gap: 0.5rem;
	padding: 0.75rem 0.35rem 0.65rem;
	border-radius: 12px;
	text-decoration: none;
	color: var(--text-primary);
	border: 1px solid rgba(125, 141, 165, 0.24);
	background:
		radial-gradient(90px 50px at 50% -10%, rgba(13, 132, 251, 0.14), transparent 70%),
		rgba(255, 255, 255, 0.01);
	overflow: hidden;
	transition:
		transform 0.26s ease,
		border-color 0.26s ease,
		box-shadow 0.26s ease,
		background-color 0.26s ease;
}

.vk-community::after {
	content: '';
	position: absolute;
	left: -30%;
	right: -30%;
	top: -70%;
	height: 120%;
	background: linear-gradient(120deg, transparent 25%, rgba(255, 255, 255, 0.22) 50%, transparent 75%);
	transform: translateX(-130%) rotate(9deg);
	opacity: 0;
	transition: transform 0.5s ease, opacity 0.2s ease;
	pointer-events: none;
}

.vk-community__logo {
	width: clamp(48px, 6vw, 62px);
	height: clamp(48px, 6vw, 62px);
	border-radius: 16px;
	display: inline-flex;
	align-items: center;
	justify-content: center;
	font-size: 0.72rem;
	font-weight: 700;
	letter-spacing: 0.02em;
	color: #fff;
	background: linear-gradient(145deg, #2787f5 0%, #1571da 58%, #0e5bb3 100%);
	box-shadow: 0 9px 20px rgba(18, 103, 194, 0.34);
	transform: translateY(0) scale(1);
	transition: transform 0.26s ease, box-shadow 0.26s ease, filter 0.26s ease;
}

.seo-article__side--vk-cities .vk-community__logo--vk-photo,
.vk-communities--news-page-side .vk-community__logo--vk-photo,
.news-page-side-city-card .vk-community__logo--vk-photo {
	padding: 0;
	border-radius: 50%;
	overflow: hidden;
	background: rgba(125, 141, 165, 0.12);
	font-size: 0;
	box-shadow:
		0 0 0 1px rgba(125, 141, 165, 0.22),
		0 9px 20px rgba(18, 103, 194, 0.28);
}

.seo-article__side--vk-cities .vk-community__logo--vk-photo img,
.vk-communities--news-page-side .vk-community__logo--vk-photo img,
.news-page-side-city-card .vk-community__logo--vk-photo img {
	display: block;
	width: 100%;
	height: 100%;
	object-fit: cover;
}

/* Сайдбар novosti: сетка городов 3×4 как на главной (--seo-cities), узкая колонка ленты — col-lg-7 / col-lg-5 */
.news-page-side .vk-communities--news-page-side {
	min-width: 0;
	margin-bottom: 0;
}

.vk-community__name {
	font-size: 0.82rem;
	font-weight: 600;
	line-height: 1.25;
	letter-spacing: 0.005em;
	text-align: center;
	max-width: 100%;
	transform: translateY(0);
	opacity: 0.92;
	transition: transform 0.26s ease, opacity 0.26s ease, color 0.26s ease;
}

.vk-community__meta {
	font-size: 0.72rem;
	line-height: 1.2;
	color: var(--text-muted);
	opacity: 0.82;
	text-align: center;
	transition: opacity 0.26s ease, color 0.26s ease;
}

.vk-community:hover,
.vk-community:focus-visible {
	transform: translateY(-5px);
	border-color: rgba(39, 135, 245, 0.58);
	box-shadow: 0 16px 30px rgba(6, 13, 26, 0.34);
	background-color: rgba(39, 135, 245, 0.08);
	text-decoration: none;
}

.vk-community:hover::after,
.vk-community:focus-visible::after {
	opacity: 1;
	transform: translateX(130%) rotate(9deg);
}

.vk-community:hover .vk-community__logo,
.vk-community:focus-visible .vk-community__logo {
	transform: translateY(-1px) scale(1.08);
	filter: saturate(1.1) brightness(1.04);
	box-shadow: 0 14px 28px rgba(18, 103, 194, 0.43);
}

.vk-community:hover .vk-community__name,
.vk-community:focus-visible .vk-community__name {
	transform: translateY(-2px);
	opacity: 1;
	color: #7cc4ff;
}

.vk-community:hover .vk-community__meta,
.vk-community:focus-visible .vk-community__meta {
	opacity: 1;
	color: var(--text-secondary);
}

@media (max-width: 991.98px) {
	.vk-communities {
		grid-template-columns: repeat(4, minmax(0, 1fr));
	}

	.vk-communities--seo-cities {
		grid-template-columns: repeat(3, minmax(0, 1fr));
	}

	.vk-communities--home-cities-6x6 {
		grid-template-columns: repeat(3, minmax(0, 1fr));
	}
}

.seo-note ul {
	margin: 0;
	padding-left: 1rem;
	display: grid;
	gap: 0.3rem;
}

.seo-note li {
	font-size: 0.84rem;
	line-height: 1.4;
	color: var(--text-muted);
}

.seo-note--accent {
	background: linear-gradient(135deg, rgba(13, 132, 251, 0.14), rgba(168, 85, 247, 0.12));
}


.realty-grid {
	display: grid;
	grid-template-columns: repeat(5, minmax(0, 1fr));
	gap: 0.75rem;
}

.realty-grid--page-3col {
	grid-template-columns: repeat(2, minmax(0, 1fr));
}

@media (min-width: 768px) {
	.realty-grid--page-3col {
		grid-template-columns: repeat(3, minmax(0, 1fr));
	}
}

.post-page-related .realty-grid.realty-grid--post-related {
	grid-template-columns: repeat(2, minmax(0, 1fr));
	gap: 0.55rem;
}

@media (max-width: 575px) {
	.post-page-related .realty-grid.realty-grid--post-related {
		grid-template-columns: repeat(2, minmax(0, 1fr));
	}
}

.realty-page-listings {
	padding: clamp(0.95rem, 2.2vw, 1.35rem);
}

.realty-page-listings__head {
	margin-bottom: 0.85rem;
}

.news-page-side .vk-communities--realty-page-categories,
.seo-article--realty-head .home-realty-layout__col--stays .vk-communities--seo-realty-wide,
.seo-article--realty-head .seo-article__intro-stays-wrap .vk-communities--seo-realty-wide,
.seo-article--jobs-head .home-realty-layout__col--stays .vk-communities--seo-realty-wide,
.seo-article--auto-head .home-realty-layout__col--stays .vk-communities--seo-realty-wide,
.seo-article--beauty-head .home-realty-layout__col--stays .vk-communities--seo-realty-wide,
.seo-article--krym-head .home-realty-layout__col--stays .vk-communities--seo-realty-wide {
	min-width: 0;
	width: 100%;
	align-items: stretch;
	padding: clamp(0.95rem, 2.2vw, 1.35rem);
	gap: 0.65rem;
}

.news-page-side .vk-communities--realty-page-categories .vk-communities__list,
.seo-article--realty-head .home-realty-layout__col--stays .vk-communities--seo-realty-wide .vk-communities__list,
.seo-article--realty-head .seo-article__intro-stays-wrap .vk-communities--seo-realty-wide .vk-communities__list,
.seo-article--auto-head .home-realty-layout__col--stays .vk-communities--seo-realty-wide .vk-communities__list,
.seo-article--beauty-head .home-realty-layout__col--stays .vk-communities--seo-realty-wide .vk-communities__list,
.seo-article--krym-head .home-realty-layout__col--stays .vk-communities--seo-realty-wide .vk-communities__list {
	display: grid;
	grid-template-columns: repeat(2, minmax(0, 1fr));
	gap: 0.5rem;
}

.news-page-side .vk-communities--realty-page-categories .vk-communities__list > .vk-community,
.seo-article--realty-head .home-realty-layout__col--stays .vk-communities--seo-realty-wide .vk-communities__list > .vk-community,
.seo-article--realty-head .seo-article__intro-stays-wrap .vk-communities--seo-realty-wide .vk-communities__list > .vk-community,
.seo-article--auto-head .home-realty-layout__col--stays .vk-communities--seo-realty-wide .vk-communities__list > .vk-community,
.seo-article--beauty-head .home-realty-layout__col--stays .vk-communities--seo-realty-wide .vk-communities__list > .vk-community,
.seo-article--krym-head .home-realty-layout__col--stays .vk-communities--seo-realty-wide .vk-communities__list > .vk-community {
	width: 100%;
	max-width: none;
	min-width: 0;
	box-sizing: border-box;
	align-self: stretch;
	flex-direction: column;
	align-items: center;
	justify-content: flex-start;
	text-align: center;
	gap: 0.35rem;
	padding: 0.55rem 0.35rem 0.6rem;
	min-height: 0;
}

.news-page-side .vk-communities--realty-page-categories .vk-community__logo,
.seo-article--realty-head .home-realty-layout__col--stays .vk-communities--seo-realty-wide .vk-communities__list > .vk-community .vk-community__logo,
.seo-article--realty-head .seo-article__intro-stays-wrap .vk-communities--seo-realty-wide .vk-communities__list > .vk-community .vk-community__logo,
.seo-article--jobs-head .home-realty-layout__col--stays .vk-communities--seo-realty-wide .vk-communities__list > .vk-community .vk-community__logo,
.seo-article--auto-head .home-realty-layout__col--stays .vk-communities--seo-realty-wide .vk-communities__list > .vk-community .vk-community__logo,
.seo-article--beauty-head .home-realty-layout__col--stays .vk-communities--seo-realty-wide .vk-communities__list > .vk-community .vk-community__logo,
.seo-article--krym-head .home-realty-layout__col--stays .vk-communities--seo-realty-wide .vk-communities__list > .vk-community .vk-community__logo {
	width: 40px;
	height: 40px;
}

.news-page-side .vk-communities--realty-page-categories .vk-community__name,
.seo-article--realty-head .home-realty-layout__col--stays .vk-communities--seo-realty-wide .vk-communities__list > .vk-community .vk-community__name,
.seo-article--realty-head .seo-article__intro-stays-wrap .vk-communities--seo-realty-wide .vk-communities__list > .vk-community .vk-community__name,
.seo-article--jobs-head .home-realty-layout__col--stays .vk-communities--seo-realty-wide .vk-communities__list > .vk-community .vk-community__name,
.seo-article--auto-head .home-realty-layout__col--stays .vk-communities--seo-realty-wide .vk-communities__list > .vk-community .vk-community__name,
.seo-article--beauty-head .home-realty-layout__col--stays .vk-communities--seo-realty-wide .vk-communities__list > .vk-community .vk-community__name,
.seo-article--krym-head .home-realty-layout__col--stays .vk-communities--seo-realty-wide .vk-communities__list > .vk-community .vk-community__name {
	flex: 0 1 auto;
	font-size: 0.72rem;
	line-height: 1.25;
	text-align: center;
	hyphens: auto;
}

.news-page-side .vk-communities--realty-page-categories .vk-community__meta,
.seo-article--realty-head .home-realty-layout__col--stays .vk-communities--seo-realty-wide .vk-communities__list > .vk-community .vk-community__meta,
.seo-article--realty-head .seo-article__intro-stays-wrap .vk-communities--seo-realty-wide .vk-communities__list > .vk-community .vk-community__meta,
.seo-article--jobs-head .home-realty-layout__col--stays .vk-communities--seo-realty-wide .vk-communities__list > .vk-community .vk-community__meta,
.seo-article--auto-head .home-realty-layout__col--stays .vk-communities--seo-realty-wide .vk-communities__list > .vk-community .vk-community__meta,
.seo-article--beauty-head .home-realty-layout__col--stays .vk-communities--seo-realty-wide .vk-communities__list > .vk-community .vk-community__meta,
.seo-article--krym-head .home-realty-layout__col--stays .vk-communities--seo-realty-wide .vk-communities__list > .vk-community .vk-community__meta {
	display: none;
}

.realty-card {
	height: 246px;
}

.realty-card .news-teaser__main,
.news-grid-card .news-teaser__main {
	height: 100%;
	min-height: 0;
	gap: 0.35rem;
}

/* Фиксированный кадр превью — одинаковый у всех карточек сетки */
.realty-card .news-teaser__media,
.news-grid-card .news-teaser__media,
.realty-grid .news-teaser__media,
.post-page-related .realty-grid .news-teaser__media {
	flex: 0 0 auto;
	width: 100%;
	aspect-ratio: 16 / 10;
	height: auto;
	min-height: 0;
	max-height: none;
}

.realty-card .news-teaser__media img,
.news-grid-card .news-teaser__media img,
.realty-grid .news-teaser__media img {
	width: 100%;
	height: 100%;
	object-fit: cover;
	object-position: center;
	display: block;
}

.realty-card .news-teaser__text,
.news-grid-card .news-teaser__text {
	flex: 1 1 auto;
	min-height: 0;
	display: flex;
	flex-direction: column;
	gap: 0.16rem;
	overflow: hidden;
}

.realty-card .news-teaser__text {
	gap: 0.16rem;
}

.realty-card__price {
	margin: 0;
	font-size: 0.92rem;
	font-weight: 800;
	letter-spacing: -0.02em;
	color: var(--accent);
	display: -webkit-box;
	-webkit-box-orient: vertical;
	-webkit-line-clamp: 1;
	line-clamp: 1;
	overflow: hidden;
	flex-shrink: 0;
}

.realty-card__meta {
	margin: 0;
	font-size: 0.68rem;
	line-height: 1.3;
	color: var(--text-muted);
	display: -webkit-box;
	-webkit-box-orient: vertical;
	-webkit-line-clamp: 1;
	line-clamp: 1;
	overflow: hidden;
	flex-shrink: 0;
}

.news-chip--subcat {
	top: auto;
	bottom: 0.45rem;
	left: 0.45rem;
	right: auto;
	max-width: calc(100% - 1rem);
	font-size: 0.68rem;
	background: rgba(12, 18, 28, 0.78);
}

.vk-communities--realty-page-categories .vk-community.is-active {
	outline: 1px solid rgba(120, 180, 255, 0.55);
	background: rgba(80, 130, 200, 0.12);
}

.classified-card {
	display: flex;
	flex-direction: column;
	gap: 0.85rem;
}

.classified-card__meta {
	display: flex;
	flex-wrap: wrap;
	gap: 0.45rem 0.65rem;
	align-items: center;
}

.classified-card__badge {
	display: inline-flex;
	align-items: center;
	padding: 0.2rem 0.55rem;
	border: 1px dashed rgba(140, 170, 210, 0.45);
	border-radius: 0.35rem;
	font-size: 0.78rem;
	font-weight: 600;
	color: inherit;
	text-decoration: none;
}

a.classified-card__badge:hover {
	border-color: rgba(120, 180, 255, 0.75);
	background: rgba(80, 130, 200, 0.12);
}

.classified-card__city,
.classified-card__price {
	font-size: 0.92rem;
}

.classified-card__price {
	font-weight: 700;
}

.classified-card__params {
	margin: 0;
	padding: 0;
	list-style: none;
	display: flex;
	flex-wrap: wrap;
	gap: 0.4rem;
}

.classified-card__params li {
	padding: 0.22rem 0.55rem;
	border-radius: 0.3rem;
	background: rgba(255, 255, 255, 0.06);
	font-size: 0.82rem;
}

body.light .classified-card__params li {
	background: rgba(20, 30, 45, 0.06);
}

.classified-card__contacts {
	margin: 0;
}

.classified-card__note {
	margin: 0;
	opacity: 0.7;
	font-size: 0.8rem;
}

/* Лайки / репосты / просмотры — всегда у нижнего края карточки */
.realty-card .vk-post-stats--teaser,
.news-grid-card .vk-post-stats--teaser,
.realty-grid .vk-post-stats--teaser {
	margin-top: auto;
	flex-shrink: 0;
	padding-top: 0.15rem;
}

.news-marquee__viewport {
	cursor: grab;
}

.news-marquee__viewport.is-dragging {
	cursor: grabbing;
	user-select: none;
}

.news-marquee__viewport.is-dragging .news-marquee__card {
	pointer-events: none;
}

@keyframes news-marquee-scroll {
	0% { transform: translateX(0); }
	100% { transform: translateX(-50%); }
}

@media (prefers-reduced-motion: reduce) {
	.news-marquee__track {
		animation-duration: 140s;
	}
}

@media (max-width: 767.98px) {
	.realty-grid {
		grid-template-columns: repeat(2, minmax(0, 1fr));
	}
	.post-page-related .realty-grid.realty-grid--post-related {
		grid-template-columns: repeat(2, minmax(0, 1fr));
	}
	.realty-card {
		height: 224px;
	}

	.realty-grid .feed-card-shell,
	.post-page-related .realty-grid .feed-card-shell {
		height: 224px;
	}
	.news-marquee__viewport {
		-webkit-mask-image: linear-gradient(
			to right,
			transparent 0,
			#000 16px,
			#000 calc(100% - 16px),
			transparent 100%
		);
		mask-image: linear-gradient(
			to right,
			transparent 0,
			#000 16px,
			#000 calc(100% - 16px),
			transparent 100%
		);
	}
	.news-marquee .news-teaser.news-marquee__card {
		width: clamp(156px, 58vw, 200px);
		height: 204px;
	}
	.pets-marquee .news-teaser.news-marquee__card.pets-marquee__card {
		width: clamp(162px, 60vw, 210px);
		height: 212px;
	}
	.interest-carousel {
		min-height: clamp(270px, 56vw, 420px);
	}
	.seo-article__grid {
		grid-template-columns: 1fr;
	}

	.seo-article--news-head .seo-article__intro-grid,
	.seo-article--realty-head .seo-article__intro-grid {
		grid-template-columns: 1fr;
	}

	.home-realty-layout__row {
		grid-template-columns: 1fr;
	}

	.home-deal-banner {
		min-height: 4.25rem;
	}

	.seo-article--realty-head .realty-grid--home-3x3,
	.seo-article--jobs-head .realty-grid--home-3x3,
	.seo-article--auto-head .realty-grid--home-3x3,
.seo-article--beauty-head .realty-grid--home-3x3,
	.seo-article--krym-head .realty-grid--home-3x3 {
		grid-template-columns: repeat(2, minmax(0, 1fr));
	}

	.vk-communities {
		grid-template-columns: repeat(3, minmax(0, 1fr));
		gap: 0.65rem;
		padding: 0.75rem;
	}

	.vk-communities--seo-cities {
		grid-template-columns: repeat(3, minmax(0, 1fr));
	}

	.vk-community {
		padding: 0.65rem 0.3rem 0.6rem;
		gap: 0.4rem;
		border-radius: 10px;
	}
	.vk-community__name {
		font-size: 0.74rem;
	}
	.vk-community__meta {
		font-size: 0.66rem;
	}
	.news-marquee__track {
		animation-duration: 56s;
	}
}

/* Баннер: кроссфейд вместо сдвига по горизонтали */
.news-layout__hero.simple-carousel[data-carousel-fade] .simple-carousel__track {
	display: block;
	position: relative;
	transition: none;
	transform: none !important;
	will-change: auto;
}

.news-layout__hero.simple-carousel[data-carousel-fade] .news-slide {
	position: absolute;
	inset: 0;
	flex: none !important;
	width: 100%;
	min-width: 0;
	opacity: 0;
	transition: opacity 0.7s cubic-bezier(0.45, 0, 0.15, 1);
	pointer-events: none;
	z-index: 0;
}

.news-layout__hero.simple-carousel[data-carousel-fade] .news-slide.is-active {
	opacity: 1;
	z-index: 3;
	pointer-events: auto;
}

@media (prefers-reduced-motion: reduce) {
	.news-layout__hero.simple-carousel[data-carousel-fade] .news-slide {
		transition-duration: 0.05s;
		transition-timing-function: linear;
	}
}

.news-layout__hero .simple-carousel__dots {
	position: absolute;
	left: 0;
	right: 0;
	bottom: 0.45rem;
	padding-top: 0;
	z-index: 4;
	pointer-events: auto;
}

.news-layout__hero .simple-carousel__dots button {
	background: rgba(255, 255, 255, 0.35);
}

.news-layout__hero .simple-carousel__dots button.is-active {
	background: #fff;
	box-shadow: 0 0 0 2px rgba(0, 0, 0, 0.35);
}

.news-layout__hero .simple-carousel__arrow {
	z-index: 4;
	border-color: rgba(255, 255, 255, 0.45);
	background: rgba(0, 0, 0, 0.35);
	backdrop-filter: blur(6px);
	-webkit-backdrop-filter: blur(6px);
	color: #fff;
}

.news-layout__hero .simple-carousel__arrow:hover {
	background: rgba(0, 0, 0, 0.5);
}

.news-latest-panel {
	min-height: 50vh;
	padding: 0;
	display: flex;
	flex-direction: column;
	box-sizing: border-box;
	overflow: hidden;
}

.news-latest-panel__head {
	display: flex;
	align-items: flex-start;
	justify-content: space-between;
	gap: 0.75rem;
	padding: 1rem 1rem 0.85rem;
	border-bottom: 1px solid var(--glass-border);
	background: linear-gradient(180deg, var(--glass-bg-strong) 0%, transparent 100%);
}

.news-latest-panel__head-text {
	display: flex;
	flex-direction: column;
	gap: 0.2rem;
	min-width: 0;
}

.news-latest-panel__eyebrow {
	font-size: 0.68rem;
	font-weight: 700;
	letter-spacing: 0.14em;
	text-transform: uppercase;
	color: var(--accent);
}

.news-latest-panel__title {
	font-size: 1.05rem;
	font-weight: 800;
	letter-spacing: -0.02em;
	color: var(--text-primary);
	line-height: 1.2;
}

.news-latest-panel__live {
	flex-shrink: 0;
	display: inline-flex;
	align-items: center;
	gap: 0.35rem;
	font-size: 0.72rem;
	font-weight: 600;
	color: var(--text-muted);
	white-space: nowrap;
}

.news-latest-panel__live-dot {
	width: 6px;
	height: 6px;
	border-radius: 50%;
	background: var(--accent);
	box-shadow: 0 0 0 2px rgba(13, 132, 251, 0.25);
	animation: news-live-pulse 2.4s ease-in-out infinite;
}

@keyframes news-live-pulse {
	0%, 100% { opacity: 1; transform: scale(1); }
	50% { opacity: 0.55; transform: scale(0.92); }
}

@media (prefers-reduced-motion: reduce) {
	.news-latest-panel__live-dot {
		animation: none;
	}
}

.news-latest-panel__foot {
	display: flex;
	justify-content: center;
	align-items: center;
	margin-top: auto;
	padding: 0.62rem 0.85rem 0.82rem;
	border-top: 1px solid rgba(255, 255, 255, 0.07);
	background: linear-gradient(180deg, transparent, rgba(255, 255, 255, 0.02));
}

.news-latest-panel__all {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	gap: 0.38rem;
	min-width: min(100%, 15.5rem);
	padding: 0.52rem 1.15rem;
	border: 1px solid rgba(68, 168, 255, 0.34);
	border-radius: 999px;
	background:
		linear-gradient(135deg, rgba(13, 132, 251, 0.2), rgba(168, 85, 247, 0.12)),
		rgba(255, 255, 255, 0.03);
	box-shadow:
		0 10px 24px rgba(5, 18, 34, 0.16),
		inset 0 1px 0 rgba(255, 255, 255, 0.08);
	color: #b8dcff;
	font-size: 0.78rem;
	font-weight: 650;
	line-height: 1.2;
	text-decoration: none;
	letter-spacing: 0.01em;
	transition:
		transform 0.18s ease,
		border-color 0.18s ease,
		background-color 0.18s ease,
		box-shadow 0.18s ease,
		color 0.18s ease;
}

.news-latest-panel__all::after {
	content: '→';
	font-size: 0.92em;
	line-height: 1;
	opacity: 0.92;
	transition: transform 0.18s ease;
}

.news-latest-panel__all:hover,
.news-latest-panel__all:focus-visible {
	border-color: rgba(110, 182, 255, 0.52);
	background:
		linear-gradient(135deg, rgba(13, 132, 251, 0.28), rgba(168, 85, 247, 0.16)),
		rgba(255, 255, 255, 0.05);
	color: #d9ecff;
	box-shadow:
		0 12px 28px rgba(5, 18, 34, 0.22),
		inset 0 1px 0 rgba(255, 255, 255, 0.1);
	transform: translateY(-1px);
}

.news-latest-panel__all:hover::after,
.news-latest-panel__all:focus-visible::after {
	transform: translateX(2px);
}

.news-feed {
	list-style: none;
	margin: 0;
	padding: 0.65rem 0.65rem 0.85rem;
	flex: 1;
	display: flex;
	flex-direction: column;
	gap: 0.4rem;
	overflow-y: auto;
	-webkit-overflow-scrolling: touch;
	scrollbar-width: thin;
	scrollbar-color: var(--glass-border) transparent;
}

.news-feed__item {
	--feed-city: #0d84fb;
	--feed-city-bg: rgba(13, 132, 251, 0.14);
	--feed-city-border: rgba(13, 132, 251, 0.38);
	--feed-city-rail-end: rgba(13, 132, 251, 0.28);
	display: flex;
	gap: 0.65rem;
	align-items: stretch;
	padding: 0.65rem 0.7rem;
	border-radius: 12px;
	border: 1px solid transparent;
	background: rgba(255, 255, 255, 0.03);
	text-decoration: none;
	color: inherit;
	transition: background 0.2s ease, border-color 0.2s ease, box-shadow 0.2s ease, transform 0.2s ease;
	box-sizing: border-box;
}

.news-feed__item[data-city="eupatoria"],
.news-slide[data-city="eupatoria"],
.news-teaser[data-city="eupatoria"] {
	--feed-city: #2dd4bf;
	--feed-city-bg: rgba(45, 212, 191, 0.16);
	--feed-city-border: rgba(45, 212, 191, 0.42);
	--feed-city-rail-end: rgba(45, 212, 191, 0.3);
}

.news-feed__item[data-city="sevastopol"],
.news-slide[data-city="sevastopol"],
.news-teaser[data-city="sevastopol"] {
	--feed-city: #38bdf8;
	--feed-city-bg: rgba(56, 189, 248, 0.14);
	--feed-city-border: rgba(56, 189, 248, 0.4);
	--feed-city-rail-end: rgba(56, 189, 248, 0.28);
}

.news-feed__item[data-city="feodosia"],
.news-slide[data-city="feodosia"],
.news-teaser[data-city="feodosia"] {
	--feed-city: #fb923c;
	--feed-city-bg: rgba(251, 146, 60, 0.16);
	--feed-city-border: rgba(251, 146, 60, 0.42);
	--feed-city-rail-end: rgba(251, 146, 60, 0.3);
}

.news-feed__item[data-city="yalta"],
.news-slide[data-city="yalta"],
.news-teaser[data-city="yalta"] {
	--feed-city: #c084fc;
	--feed-city-bg: rgba(192, 132, 252, 0.16);
	--feed-city-border: rgba(192, 132, 252, 0.42);
	--feed-city-rail-end: rgba(192, 132, 252, 0.3);
}

.news-feed__item[data-city="koktebel"],
.news-slide[data-city="koktebel"],
.news-teaser[data-city="koktebel"] {
	--feed-city: #d97706;
	--feed-city-bg: rgba(217, 119, 6, 0.18);
	--feed-city-border: rgba(217, 119, 6, 0.42);
	--feed-city-rail-end: rgba(217, 119, 6, 0.3);
}

.news-feed__item[data-city="alushta"],
.news-slide[data-city="alushta"],
.news-teaser[data-city="alushta"] {
	--feed-city: #34d399;
	--feed-city-bg: rgba(52, 211, 153, 0.14);
	--feed-city-border: rgba(52, 211, 153, 0.4);
	--feed-city-rail-end: rgba(52, 211, 153, 0.28);
}

.news-feed__item[data-city="bakhchisaray"],
.news-slide[data-city="bakhchisaray"],
.news-teaser[data-city="bakhchisaray"] {
	--feed-city: #f472b6;
	--feed-city-bg: rgba(244, 114, 182, 0.14);
	--feed-city-border: rgba(244, 114, 182, 0.4);
	--feed-city-rail-end: rgba(244, 114, 182, 0.28);
}

.news-feed__item[data-city="simferopol"],
.news-slide[data-city="simferopol"],
.news-teaser[data-city="simferopol"] {
	--feed-city: #818cf8;
	--feed-city-bg: rgba(129, 140, 248, 0.16);
	--feed-city-border: rgba(129, 140, 248, 0.42);
	--feed-city-rail-end: rgba(129, 140, 248, 0.3);
}

.news-feed__item[data-city="kerch"],
.news-slide[data-city="kerch"],
.news-teaser[data-city="kerch"] {
	--feed-city: #fb7185;
	--feed-city-bg: rgba(251, 113, 133, 0.16);
	--feed-city-border: rgba(251, 113, 133, 0.42);
	--feed-city-rail-end: rgba(251, 113, 133, 0.3);
}

.news-feed__item[data-city="belogorsk"],
.news-slide[data-city="belogorsk"],
.news-teaser[data-city="belogorsk"] {
	--feed-city: #fbbf24;
	--feed-city-bg: rgba(251, 191, 36, 0.18);
	--feed-city-border: rgba(251, 191, 36, 0.42);
	--feed-city-rail-end: rgba(251, 191, 36, 0.3);
}

.news-chip {
	display: inline-flex;
	align-self: flex-start;
	font-size: 0.72rem;
	font-weight: 700;
	letter-spacing: 0.02em;
	color: var(--feed-city);
	padding: 0.18rem 0.48rem;
	border-radius: 6px;
	background: var(--feed-city-bg);
	border: 1px solid var(--feed-city-border);
	line-height: 1.2;
	box-shadow: 0 1px 4px rgba(0, 0, 0, 0.22);
}

.news-layout__hero .news-chip {
	font-size: 0.68rem;
	box-shadow: 0 1px 8px rgba(0, 0, 0, 0.35);
}

body.light .news-feed__item {
	background: rgba(255, 255, 255, 0.35);
}

.news-feed__item:hover {
	border-color: var(--glass-border);
	background: var(--glass-bg-strong);
	box-shadow: 0 4px 18px rgba(0, 0, 0, 0.12);
	transform: translateY(-1px);
}

body.dark .news-feed__item:hover {
	box-shadow: 0 6px 24px rgba(0, 0, 0, 0.35);
}

.news-feed__item:focus-visible {
	outline: 2px solid var(--accent);
	outline-offset: 2px;
}

.news-feed__rail {
	flex: 0 0 3px;
	width: 3px;
	border-radius: 999px;
	background: linear-gradient(180deg, var(--feed-city) 0%, var(--feed-city-rail-end) 100%);
	align-self: stretch;
	min-height: 2.5rem;
}

.news-feed__body {
	flex: 1;
	min-width: 0;
	display: flex;
	flex-direction: column;
	gap: 0.35rem;
}

.news-feed__line {
	margin: 0;
	font-family: var(--a-font, 'Manrope', system-ui, sans-serif);
	font-size: 0.92rem;
	font-weight: 700;
	line-height: 1.38;
	letter-spacing: -0.01em;
	color: var(--text-primary);
	display: -webkit-box;
	-webkit-box-orient: vertical;
	-webkit-line-clamp: 2;
	line-clamp: 2;
	overflow: hidden;
}

/* «Сейчас в Крыму» на главной — одна строка, компактные пункты */
.news-latest-panel > ul.news-feed,
.news-latest-panel > ul.news-feed--home-latest {
	padding-bottom: 0.55rem;
}

.news-latest-panel > ul.news-feed .feed-list-item,
.news-latest-panel > ul.news-feed > li {
	list-style: none;
}

.news-latest-panel > ul.news-feed .news-feed__item {
	align-items: center;
	padding-top: 0.55rem;
	padding-bottom: 0.55rem;
}

.news-latest-panel > ul.news-feed .news-feed__body {
	gap: 0.25rem;
	min-width: 0;
}

.news-latest-panel > ul.news-feed .news-feed__line {
	display: block !important;
	-webkit-box-orient: unset !important;
	-webkit-line-clamp: unset !important;
	line-clamp: unset !important;
	white-space: nowrap !important;
	overflow: hidden !important;
	text-overflow: ellipsis !important;
	line-height: 1.28 !important;
	max-width: 100%;
}

.news-latest-panel > ul.news-feed .vk-live-feed__extras,
.news-latest-panel > ul.news-feed .vk-post-stats,
.news-latest-panel > ul.news-feed .favorite-btn {
	display: none !important;
}

.news-latest-panel > ul.news-feed .feed-list-item .favorite-btn {
	display: none !important;
}

.news-feed__meta {
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 0.5rem;
	flex-wrap: nowrap;
	white-space: nowrap;
}

.news-feed__city {
	font-size: 0.72rem;
	font-weight: 600;
	color: var(--feed-city);
	padding: 0.18rem 0.45rem;
	border-radius: 6px;
	background: var(--feed-city-bg);
	border: 1px solid var(--feed-city-border);
	max-width: 58%;
	overflow: hidden;
	text-overflow: ellipsis;
	white-space: nowrap;
}

.news-feed__meta time {
	font-size: 0.78rem;
	font-weight: 600;
	font-variant-numeric: tabular-nums;
	color: var(--text-muted);
	flex-shrink: 0;
}

.simple-carousel {
	position: relative;
}

.simple-carousel__viewport {
	overflow: hidden;
	border-radius: 14px;
}

.simple-carousel__track {
	display: flex;
	transition: transform 0.35s ease;
	will-change: transform;
}

.news-slide {
	position: relative;
	flex: 0 0 100%;
	min-width: 0;
	min-height: 50vh;
	overflow: hidden;
}

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

.news-slide::after {
	content: "";
	position: absolute;
	inset: 0;
	z-index: 1;
	background: linear-gradient(180deg, rgba(0, 0, 0, 0.22) 0%, rgba(0, 0, 0, 0.52) 45%, rgba(0, 0, 0, 0.78) 100%);
	pointer-events: none;
}

.news-slide__body {
	position: relative;
	z-index: 2;
	box-sizing: border-box;
	min-height: 50vh;
	display: flex;
	flex-direction: column;
	justify-content: flex-end;
	padding: 1.5rem 1.25rem calc(2.5rem + 8px);
	color: #fff;
	text-shadow: 0 1px 2px rgba(0, 0, 0, 0.35);
}

.news-slide__body h3 {
	margin: 0 0 0.5rem;
	font-size: clamp(1.05rem, 2.2vw, 1.4rem);
	font-weight: 800;
	color: #fff;
	line-height: 1.25;
}

.news-slide__body p {
	margin: 0 0 0.6rem;
	color: rgba(255, 255, 255, 0.9);
	font-size: 0.95rem;
	line-height: 1.45;
	max-width: 42em;
}

.news-slide__body time {
	font-size: 0.82rem;
	color: rgba(255, 255, 255, 0.75);
}

.krym-card__foot time {
	font-size: 0.82rem;
	color: var(--text-muted);
}

.simple-carousel__arrow {
	position: absolute;
	top: 50%;
	transform: translateY(-50%);
	width: 36px;
	height: 36px;
	border-radius: 50%;
	border: 1px solid var(--glass-border);
	background: var(--glass-bg);
	backdrop-filter: var(--glass-blur);
	-webkit-backdrop-filter: var(--glass-blur);
	color: var(--text-primary);
	display: grid;
	place-items: center;
	z-index: 2;
	cursor: pointer;
}

.simple-carousel__arrow--prev { left: 10px; }
.simple-carousel__arrow--next { right: 10px; }

/* Кроссфейд-слайдеры: подпись внизу — стрелки у верхнего края, не по центру */
.simple-carousel[data-carousel-fade] .simple-carousel__arrow {
	top: clamp(0.5rem, 2vw, 1rem);
	bottom: auto;
	transform: none;
	z-index: 6;
	width: clamp(30px, 6.5vw, 36px);
	height: clamp(30px, 6.5vw, 36px);
	font-size: clamp(1.05rem, 3.2vw, 1.35rem);
}

.simple-carousel[data-carousel-fade] .simple-carousel__arrow--prev {
	left: clamp(0.35rem, 1.2vw, 0.7rem);
}

.simple-carousel[data-carousel-fade] .simple-carousel__arrow--next {
	right: clamp(0.35rem, 1.2vw, 0.7rem);
}

.simple-carousel__dots {
	display: flex;
	justify-content: center;
	gap: 0.4rem;
	padding-top: 0.7rem;
}

.simple-carousel__dots button {
	width: 8px;
	height: 8px;
	border: 0;
	border-radius: 50%;
	background: rgba(255, 255, 255, 0.4);
	padding: 0;
}

.simple-carousel__dots button.is-active {
	background: var(--accent);
}

.simple-carousel--cards .simple-carousel__track {
	gap: 0.9rem;
}

.listing-card,
.pet-card {
	padding: 0.8rem;
}

.listing-card img,
.pet-card img {
	width: 100%;
	aspect-ratio: 4/3;
	object-fit: cover;
	border-radius: 10px;
	margin-bottom: 0.65rem;
}

.listing-card__price {
	font-size: 1.05rem;
	font-weight: 700;
	color: var(--accent);
	margin: 0 0 0.35rem;
}

.listing-card h3,
.pet-card h3 {
	font-size: 1rem;
	margin: 0 0 0.25rem;
	color: var(--text-primary);
}

.listing-card__meta,
.pet-card p {
	margin: 0;
	font-size: 0.86rem;
	color: var(--text-muted);
}

.jobs-board {
	padding: 1rem;
}

.jobs-board__cols {
	display: grid;
	grid-template-columns: repeat(2, minmax(0, 1fr));
	gap: 1rem;
}

.jobs-board__col {
	min-width: 0;
}

.jobs-board__col + .jobs-board__col {
	border-left: 1px solid var(--glass-border);
	padding-left: 1rem;
}

.jobs-board__col h3 {
	margin: 0 0 0.75rem;
	font-size: 1rem;
	color: var(--text-primary);
	display: inline-flex;
	align-items: center;
	padding: 0.32rem 0.72rem;
	border-radius: 999px;
	background: rgba(96, 165, 250, 0.14);
	border: 1px solid rgba(96, 165, 250, 0.35);
	font-weight: 700;
	letter-spacing: 0.01em;
}

.jobs-list {
	list-style: none;
	padding: 0;
	margin: 0;
	display: flex;
	flex-direction: column;
	gap: 0.45rem;
}

.jobs-list li {
	display: flex;
	flex-wrap: nowrap;
	gap: 0.6rem;
	align-items: baseline;
	padding-bottom: 0.4rem;
	border-bottom: 1px solid var(--glass-border);
	white-space: nowrap;
}

.jobs-list li span {
	color: var(--text-primary);
	order: 1;
	flex: 1 1 auto;
	min-width: 0;
	overflow: hidden;
	text-overflow: ellipsis;
	white-space: nowrap;
}
.jobs-list li strong {
	font-size: 0.9rem;
	color: var(--accent);
	font-weight: 700;
	order: 3;
	margin-left: auto;
	padding-left: 0.8rem;
	text-align: right;
	white-space: nowrap;
}
.jobs-list li em {
	font-size: 0.83rem;
	color: #7ab8ff;
	font-style: normal;
	order: 2;
	flex: 0 0 auto;
	white-space: nowrap;
}

.jobs-list li em::before {
	content: "#";
}

.jobs-board__all {
	display: inline-block;
	margin-top: 0.9rem;
	color: var(--link-color);
	text-decoration: none;
	font-weight: 600;
}

.jobs-board__all:hover { text-decoration: underline; }

.krym-grid {
	display: grid;
	grid-template-columns: repeat(4, minmax(0, 1fr));
	gap: 1rem;
}

.krym-layout {
	align-items: stretch;
	min-height: 65vh;
}

.krym-layout .news-layout__main {
	min-height: 65vh;
}

.krym-layout .news-layout__hero {
	flex: 3.2 1 0;
}

.krym-layout .news-teasers {
	flex: 2.3 1 0;
}

.krym-layout .news-teasers .news-teaser {
	min-height: 180px;
}

.krym-layout .news-teaser__media {
	min-height: 108px;
}

.krym-latest-panel {
	display: flex;
	flex-direction: column;
	gap: 0.8rem;
	padding: 0.8rem;
	min-height: 65vh;
}

.krym-latest-panel__head {
	display: flex;
	flex-direction: column;
	gap: 0.2rem;
	padding: 0.1rem 0.2rem 0.2rem;
}

.krym-top-grid {
	flex: 1;
	display: grid;
	grid-template-columns: repeat(3, minmax(0, 1fr));
	grid-template-rows: repeat(2, minmax(0, 1fr));
	gap: 0.55rem;
	min-height: 0;
	align-content: stretch;
}

.krym-top-card {
	height: 100%;
	min-height: 0;
	padding: 0.35rem;
}

.krym-top-card .news-teaser__media {
	border-radius: 7px;
}

.krym-top-card .news-teaser__line {
	font-size: 0.74rem;
	-webkit-line-clamp: 2;
	line-clamp: 2;
}

.krym-top-card .news-teaser__text time {
	font-size: 0.66rem;
}

.krym-card {
	padding: 0.8rem;
}

.krym-card img {
	width: 100%;
	aspect-ratio: 16/10;
	object-fit: cover;
	border-radius: 10px;
	margin-bottom: 0.7rem;
}

.krym-card h3 {
	margin: 0 0 0.4rem;
	font-size: 1rem;
	color: var(--text-primary);
}

.krym-card p {
	margin: 0 0 0.55rem;
	font-size: 0.9rem;
	color: var(--text-muted);
}

.krym-card__foot {
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 0.6rem;
}

.krym-card__foot a {
	color: var(--link-color);
	text-decoration: none;
	font-weight: 600;
	font-size: 0.88rem;
}

.krym-card__foot a:hover { text-decoration: underline; }

@media (max-width: 991.98px) {
	.news-layout {
		grid-template-columns: 1fr;
		min-height: 0;
	}
	.news-layout__main {
		min-height: min(70vh, 560px);
	}
	.news-latest-panel {
		min-height: 0;
	}
	.krym-grid {
		grid-template-columns: repeat(2, minmax(0, 1fr));
	}
	.realty-grid {
		grid-template-columns: repeat(2, minmax(0, 1fr));
	}

	.post-page-related .realty-grid.realty-grid--post-related {
		grid-template-columns: repeat(2, minmax(0, 1fr));
	}
	.krym-top-grid {
		grid-template-columns: repeat(3, minmax(0, 1fr));
	}
	.jobs-list li {
		gap: 0.45rem;
	}
}

@media (max-width: 767.98px) {
	.news-teasers {
		grid-template-columns: 1fr;
	}
	.jobs-board__cols {
		grid-template-columns: 1fr;
	}
	.jobs-board__col + .jobs-board__col {
		border-left: 0;
		padding-left: 0;
		padding-top: 0.9rem;
		margin-top: 0.3rem;
		border-top: 1px solid var(--glass-border);
	}
	.krym-grid {
		grid-template-columns: 1fr;
	}
	.krym-top-grid {
		grid-template-columns: repeat(3, minmax(0, 1fr));
		grid-template-rows: repeat(2, minmax(0, 1fr));
	}
	.simple-carousel__arrow {
		width: 32px;
		height: 32px;
	}
}

/* Coming soon в меню */
.coming-soon,
.item.coming-soon,
.item.item--disabled {
	opacity: 0.65;
	cursor: not-allowed;
	pointer-events: none;
	color: var(--coming-soon) !important;
}

.item.coming-soon .badge-soon,
.coming-soon .badge-soon {
	font-size: 0.75rem;
	font-weight: 400;
	color: var(--coming-soon);
}

.sidebar .menu .item span {
	color: var(--text-primary);
}

.sidebar .item.coming-soon span,
.sidebar span.item.coming-soon {
	color: var(--coming-soon) !important;
}

/* Переключатель темы */
.theme-toggle {
	width: 46px;
	height: 46px;
	border-radius: 12px;
	border: 1px solid var(--glass-border);
	background: var(--glass-bg);
	backdrop-filter: var(--glass-blur);
	-webkit-backdrop-filter: var(--glass-blur);
	color: var(--text-primary);
	cursor: pointer;
	display: flex;
	align-items: center;
	justify-content: center;
	transition: transform 0.2s, box-shadow 0.2s;
	flex-shrink: 0;
}

.theme-toggle:hover {
	transform: scale(1.05);
	box-shadow: var(--glass-shadow);
}

/* «Услуги» + тема: нижняя часть бокового меню (не в шапке) */
.sidebar-footer-tools {
	display: flex;
	flex-direction: column;
	gap: 0.65rem;
	align-items: stretch;
	padding: 0.75rem 12px;
	border-top: 1px solid var(--sidebar-border, var(--appstorrent-sidebar-border));
	flex-shrink: 0;
}

.sidebar-footer-tools .header-services-btn {
	width: 100%;
	justify-content: center;
	min-height: 46px;
	box-sizing: border-box;
}

/* В одной строке: тема и кнопка «О сайте» (иконка), пополам */
.sidebar-footer-tools__split {
	display: flex;
	flex-direction: row;
	align-items: stretch;
	gap: 0.5rem;
}

.sidebar-footer-tools__split > .theme-toggle {
	flex: 1 1 0;
	width: auto;
	min-width: 0;
	height: 46px;
	box-sizing: border-box;
}

.sidebar-footer-about {
	flex: 1 1 0;
	min-width: 0;
	position: relative;
	display: flex;
}

.footer-about-drop__btn {
	flex: 1;
	width: 100%;
	height: 46px;
	box-sizing: border-box;
	border-radius: 12px;
	border: 1px solid var(--glass-border);
	background: var(--glass-bg);
	backdrop-filter: var(--glass-blur);
	-webkit-backdrop-filter: var(--glass-blur);
	color: var(--text-primary);
	cursor: pointer;
	display: flex;
	align-items: center;
	justify-content: center;
	padding: 0;
	transition: transform 0.2s ease, box-shadow 0.2s ease, background-color 0.2s ease;
}

.footer-about-drop__btn:hover {
	transform: scale(1.05);
	box-shadow: var(--glass-shadow);
}

/* Вылет «О сайте»: вправо как у городов, по вертикали — от низа кнопки вверх */
.sidebar-footer-about .cities-flyout {
	top: auto;
	bottom: 0;
}

/* appstorrent: footer { position: fixed; bottom: 0; z-index: 3 } — в колонке сайдбара наезжает на блок с темой */
aside.sidebar-desktop > footer {
	position: relative !important;
	bottom: auto !important;
	left: auto !important;
	right: auto !important;
	z-index: auto;
	max-width: none;
}

/* Пункты «О проекте / Статьи» — только в кнопке «i» (sidebar-footer-about) */
aside.sidebar-desktop:has(.sidebar-footer-tools) > footer .menu__mobile {
	display: none !important;
}

.offcanvas-aside#navDrawer .offcanvas-body {
	display: flex;
	flex-direction: column;
	min-height: calc(100dvh - 3.5rem);
}

.offcanvas-aside#navDrawer .offcanvas-body > .p-3 {
	flex-shrink: 0;
}

.offcanvas-aside#navDrawer .offcanvas-body > nav {
	flex: 1 1 auto;
	min-height: 0;
}

.sidebar-footer-tools--drawer {
	margin-top: auto;
	padding: 1rem 12px;
	border-top: 1px solid var(--glass-border);
}

.header-actions {
	display: flex;
	align-items: center;
	gap: 10px;
	justify-content: flex-end;
	flex-wrap: wrap;
}

/* Гамбургер */
.btn-hamburger {
	width: 46px;
	height: 46px;
	border-radius: 12px;
	border: 1px solid var(--glass-border);
	background: var(--glass-bg);
	backdrop-filter: var(--glass-blur);
	-webkit-backdrop-filter: var(--glass-blur);
	color: var(--text-primary);
	cursor: pointer;
	display: none;
	flex-direction: column;
	align-items: center;
	justify-content: center;
	gap: 5px;
	padding: 0;
	flex-shrink: 0;
}

.btn-hamburger span {
	display: block;
	width: 20px;
	height: 2px;
	background: currentColor;
	border-radius: 1px;
}

@media (max-width: 767.98px) {
	.btn-hamburger {
		display: none !important;
	}

	.sidebar-desktop {
		display: none !important;
	}

	.mobile__aside__btn {
		display: none !important;
	}

	main.main-col {
		flex: 0 0 100% !important;
		max-width: 100% !important;
		width: 100% !important;
		margin-left: 0 !important;
	}
}

/* Внешний контейнер на всю ширину — без фона; фон только у .tab-bar__start по размеру кнопок */
:root {
	--tab-bar-plus-accent: #44a8ff;
	--tab-bar-plus-accent-soft: rgba(68, 168, 255, 0.72);
}

.tab-bar {
	position: fixed;
	z-index: 999;
	left: 0;
	right: 0;
	bottom: 0;
	pointer-events: none;
	display: flex;
	align-items: center;
	justify-content: center;
	flex-wrap: wrap;
	gap: 0;
	padding: 14px max(16px, env(safe-area-inset-left, 0px)) calc(22px + env(safe-area-inset-bottom, 0px))
		max(16px, env(safe-area-inset-right, 0px));
	background: transparent;
	border: none;
	box-shadow: none;
	max-width: none;
	margin: 0;
	box-sizing: border-box;
	transition: padding 0.32s cubic-bezier(0.32, 0.72, 0, 1);
	overflow: visible;
}

.tab-bar::before {
	display: none;
	content: none;
}

@media (prefers-reduced-motion: reduce) {
	.tab-bar::before {
		backdrop-filter: none;
		-webkit-backdrop-filter: none;
	}
}

/* Скролл вниз — чуть меньше базового крупного размера (но всё ещё крупнее старого «обычного» варианта) */
.tab-bar.tab-bar--compact {
	padding: 11px max(16px, env(safe-area-inset-left, 0px)) calc(18px + env(safe-area-inset-bottom, 0px))
		max(16px, env(safe-area-inset-right, 0px));
}

/* Градиент — только узкая полоса по центру; логотип выступает сверху и снизу; остальные кнопки по центру относительно логотипа */
.tab-bar__start {
	pointer-events: auto;
	position: relative;
	z-index: 1;
	display: flex;
	flex-direction: row;
	align-items: center;
	flex-wrap: wrap;
	gap: 12px;
	justify-content: center;
	width: max-content;
	max-width: min(100%, calc(100vw - 24px - env(safe-area-inset-left, 0px) - env(safe-area-inset-right, 0px)));
	/* только вертикальный отступ под пульс; по горизонтали ширина = крайняя левая и правая иконка */
	padding: 16px 0;
	overflow: visible;
	box-sizing: border-box;
	isolation: isolate;
	background: transparent;
	border: none;
	box-shadow: none;
	transform-origin: center bottom;
	transition:
		transform 0.32s cubic-bezier(0.32, 0.72, 0, 1),
		gap 0.32s cubic-bezier(0.32, 0.72, 0, 1),
		padding 0.32s cubic-bezier(0.32, 0.72, 0, 1);
}

.tab-bar.tab-bar--compact .tab-bar__start {
	transform: scale(0.96);
	gap: 10px;
	padding: 14px 0;
}

/* Полоса-фон убрана — только кнопки без белого размытия */
.tab-bar__start::before {
	display: none;
	content: none;
}

.tab-bar.tab-bar--compact .tab-bar__start::before {
	display: none;
	content: none;
}

.tab-bar__logo {
	flex-shrink: 0;
	display: flex;
	align-items: center;
	justify-content: center;
	width: 60px;
	height: 60px;
	min-width: 60px;
	min-height: 60px;
	padding: 0;
	margin: 0;
	border: none;
	border-radius: 16px;
	overflow: visible;
	background: linear-gradient(135deg, #ff7a18 0%, #ff4d4f 52%, #d9383a 100%);
	border: 1px solid rgba(255, 255, 255, 0.24);
	box-shadow: 0 8px 18px rgba(217, 56, 58, 0.28);
	color: #fff;
	cursor: pointer;
	position: relative;
	z-index: 2;
	-webkit-tap-highlight-color: transparent;
	transition:
		transform 0.2s ease,
		filter 0.2s ease,
		box-shadow 0.2s ease;
}

.tab-bar__logo:hover,
.tab-bar__logo:focus-visible {
	filter: brightness(1.06);
	transform: scale(1.05);
	box-shadow: var(--glass-shadow), 0 8px 18px rgba(217, 56, 58, 0.32);
	outline: none;
}

.tab-bar__logo .icon-tab {
	display: block;
	width: 30px;
	height: 30px;
	flex-shrink: 0;
	position: relative;
	z-index: 3;
}

/* Пульс — только кольцо на ::after, чтобы не перебивать transform/box-shadow при hover (как «Мы в ВК») */
@keyframes tab-bar-logo-ring {

	0%,
	100% {
		box-shadow: 0 0 0 0 rgba(217, 56, 58, 0.45);
	}

	50% {
		box-shadow: 0 0 0 10px rgba(217, 56, 58, 0);
	}
}

.tab-bar__logo.pulse-animate::after {
	content: '';
	position: absolute;
	inset: 0;
	border-radius: 16px;
	z-index: 1;
	pointer-events: none;
	animation: tab-bar-logo-ring 2.2s ease-in-out infinite;
}

/* Как .help__btn */
.tab-bar__secondary {
	flex-shrink: 0;
	position: relative;
	z-index: 1;
	display: flex;
	align-items: center;
	justify-content: center;
	width: 44px;
	height: 44px;
	min-width: 44px;
	min-height: 44px;
	padding: 0;
	margin: 0;
	border-radius: 50%;
	background: #fff;
	color: #1c2430;
	text-decoration: none;
	border: 2px solid var(--tab-bar-plus-accent-soft);
	box-shadow:
		0 1px 2px rgba(28, 36, 48, 0.06),
		0 4px 14px rgba(28, 36, 48, 0.07);
	transition:
		background 0.2s ease,
		border-color 0.2s ease,
		box-shadow 0.2s ease,
		color 0.2s ease,
		transform 0.2s ease,
		filter 0.2s ease;
	-webkit-tap-highlight-color: transparent;
}

.tab-bar__secondary:hover,
.tab-bar__secondary:focus-visible {
	background: #f1f5f9;
	border-color: var(--tab-bar-plus-accent);
	outline: none;
	color: #1c2430;
	transform: scale(1.05);
	filter: brightness(1.02);
	box-shadow:
		var(--glass-shadow),
		0 2px 4px rgba(28, 36, 48, 0.08),
		0 10px 22px rgba(28, 36, 48, 0.1);
}

.tab-bar__secondary:focus-visible {
	box-shadow:
		0 0 0 2px #fff,
		0 0 0 4px rgba(0, 128, 255, 0.35),
		var(--glass-shadow),
		0 2px 4px rgba(28, 36, 48, 0.08),
		0 10px 22px rgba(28, 36, 48, 0.1);
	transform: scale(1.05);
	filter: brightness(1.02);
}

.tab-bar .tab-bar__secondary .icon-tab {
	width: 22px;
	height: 22px;
}

/* «Наверх»: как .scroll__btn + подпись */
.tab-bar__scroll {
	position: relative;
	z-index: 1;
	flex-shrink: 0;
	pointer-events: auto;
	display: inline-flex;
	flex-direction: row;
	align-items: center;
	justify-content: center;
	gap: 7px;
	min-height: 44px;
	height: auto;
	padding: 0 16px 0 14px;
	border: none;
	border-radius: 999px;
	background: #0080ff;
	color: #fff;
	cursor: pointer;
	font: inherit;
	opacity: 1;
	transform: none;
	transition:
		background 0.2s ease,
		transform 0.2s ease,
		filter 0.2s ease,
		box-shadow 0.2s ease;
	-webkit-tap-highlight-color: transparent;
}

/* Разделитель перед кнопкой "Наверх" */
.tab-bar__scroll::before {
	content: '';
	position: absolute;
	left: -10px;
	top: 50%;
	transform: translateY(-50%);
	width: 1px;
	height: 20px;
	background: rgba(0, 0, 0, 0.18);
	pointer-events: none;
}

.tab-bar__scroll-icon {
	display: block;
	flex-shrink: 0;
	width: 20px;
	height: 20px;
}

.tab-bar__scroll-label {
	font-size: 14px;
	font-weight: 500;
	letter-spacing: 0.02em;
	line-height: 1;
	white-space: nowrap;
}

.tab-bar__scroll:hover,
.tab-bar__scroll:focus-visible {
	background: #409fff;
	outline: none;
	transform: scale(1.05);
	filter: brightness(1.06);
	box-shadow: var(--glass-shadow), 0 8px 18px rgba(16, 102, 214, 0.35);
}

.tab-bar__start .tab-bar__scroll {
	margin-left: 8px;
}

@media (prefers-reduced-motion: reduce) {
	.tab-bar__secondary:hover,
	.tab-bar__secondary:focus-visible,
	.tab-bar__logo:hover,
	.tab-bar__logo:focus-visible,
	.tab-bar__scroll:hover,
	.tab-bar__scroll:focus-visible {
		transform: none;
	}

	.tab-bar__logo.pulse-animate::after {
		animation: none;
		box-shadow: none;
	}
}

/* На десктопе центрируем относительно колонки контента (справа от сайдбара 220px) */
@media (min-width: 768px) {
	body.has-tabbar .tab-bar {
		left: var(--appstorrent-sidebar-w);
		right: 0;
		width: auto;
	}
}

/* Полоса между кнопками: светлая и тёмная тема (без размытия на весь экран) */
body.light .tab-bar::before,
body.dark .tab-bar::before {
	display: none !important;
	content: none !important;
	backdrop-filter: none !important;
	-webkit-backdrop-filter: none !important;
	background: none !important;
}

body.light .tab-bar__start::before,
body.dark .tab-bar__start::before {
	display: block !important;
	content: '' !important;
	position: absolute;
	left: 0;
	right: 0;
	top: 50%;
	transform: translateY(-50%);
	height: 48px;
	z-index: -1;
	border-radius: 22px;
	pointer-events: none;
	background: linear-gradient(
		98deg,
		rgba(200, 65, 75, 0.26) 0%,
		rgba(28, 32, 40, 0.78) 42%,
		rgba(20, 100, 220, 0.22) 100%
	);
	border: 1px solid rgba(255, 255, 255, 0.12);
	box-shadow: 0 4px 16px rgba(0, 0, 0, 0.22);
}

body.light .tab-bar.tab-bar--compact .tab-bar__start::before,
body.dark .tab-bar.tab-bar--compact .tab-bar__start::before {
	height: 44px;
}

body.light .tab-bar__secondary {
	background: #4e4e4e;
	color: #fff;
	border: 2px solid var(--tab-bar-plus-accent-soft);
	box-shadow: none;
}

body.light .tab-bar__secondary:hover,
body.light .tab-bar__secondary:focus-visible {
	background: #8e8e8e;
	color: #fff;
	border-color: var(--tab-bar-plus-accent);
	transform: scale(1.05);
	filter: none;
	box-shadow: none;
	outline: none;
}

body.light .tab-bar__secondary:focus-visible {
	box-shadow: 0 0 0 2px rgba(255, 255, 255, 0.85), 0 0 0 4px rgba(0, 128, 255, 0.35);
}

body.light .tab-bar__scroll::before {
	background: rgba(255, 255, 255, 0.28);
}

body.dark .tab-bar__scroll::before {
	background: rgba(255, 255, 255, 0.28);
}

body.has-tabbar {
	padding-bottom: var(--crimea-tabbar-clearance);
}

/* appstorrent.css задаёт main { padding-bottom: 300px } под старый футер — убираем «мёртвый» скролл */
body.has-tabbar main {
	padding-bottom: 0;
}

body.has-tabbar .container {
	padding-bottom: 0;
}

/* Десктоп: боковое меню как в appstorrent.css (.sidebar: fixed, 220px, 100vh, padding-top: 40px) */
@media (min-width: 768px) {
	body.has-tabbar .sidebar-desktop {
		position: fixed !important;
		top: 0;
		left: 0;
		height: 100vh;
		width: 100%;
		max-width: var(--appstorrent-sidebar-w);
		padding-top: 40px;
		padding-left: 0 !important;
		padding-right: 0;
		margin: 0 !important;
		z-index: 2;
		box-sizing: border-box;
		border-right: 1px solid var(--sidebar-border, var(--appstorrent-sidebar-border));
		background: var(--sidebar-bg);
		display: flex;
		flex-direction: column;
		/* Нужно для вылетающего вправо меню городов */
		overflow: visible;
		flex: none !important;
	}

	/* Перебить правило appstorrent @media (max-width:1210px) { .sidebar { margin: 0 6%; } } */
	body.has-tabbar .sidebar-desktop,
	body.has-tabbar .sidebar-desktop .sidebar {
		margin-left: 0 !important;
		margin-right: 0 !important;
	}

	/* appstorrent задаёт .sidebar { position: fixed } — здесь колонка фиксируется на aside */
	body.has-tabbar .sidebar-desktop .sidebar {
		position: relative !important;
		top: auto !important;
		left: auto !important;
		flex: 1 1 auto;
		min-height: 0;
		width: 100%;
		max-width: var(--appstorrent-sidebar-w);
		height: auto !important;
		padding-top: 0;
		margin: 0 !important;
		border-right: none !important;
		z-index: auto;
		overflow-y: visible;
		overflow-x: visible;
		-webkit-overflow-scrolling: touch;
	}

	body.has-tabbar .sidebar-desktop .logo {
		margin: 0 0 6px;
		padding: 0 10px;
		width: 100%;
	}

	body.has-tabbar .sidebar-desktop > footer {
		flex-shrink: 0;
		margin-top: 0 !important;
		padding: 0 12px;
		border-top: none;
		background: transparent;
	}

	body.has-tabbar .container > .row.g-5 > main.main-col {
		flex: 1 1 auto !important;
		min-width: 0 !important;
		max-width: none !important;
		width: auto !important;
		margin-left: var(--appstorrent-sidebar-w) !important;
	}
}

/* Убрать старый gotop */
#gotop {
	display: none !important;
}

/* Модальное окно */
.suggest-modal {
	position: fixed;
	inset: 0;
	z-index: 2000;
	display: flex;
	align-items: center;
	justify-content: center;
	padding: 1rem;
	opacity: 0;
	visibility: hidden;
	transition: opacity 0.3s ease, visibility 0.3s ease;
}

.suggest-modal.is-open {
	opacity: 1;
	visibility: visible;
}

.suggest-modal__backdrop {
	position: absolute;
	inset: 0;
	background: var(--modal-backdrop);
	backdrop-filter: blur(6px);
	-webkit-backdrop-filter: blur(6px);
}

.suggest-modal__dialog {
	position: relative;
	width: 100%;
	max-width: 460px;
	max-height: 90vh;
	overflow-y: auto;
	padding: 1.45rem 1.35rem 1.35rem;
	transform: scale(0.92) translateY(12px);
	transition: transform 0.3s ease;
}

.suggest-modal__dialog:has([data-suggest-step="form"]:not([hidden])),
.suggest-modal__dialog:has([data-suggest-step="ad-legal"]:not([hidden])) {
	max-width: 560px;
}

.suggest-modal__dialog:has([data-suggest-step="ad-placement"]:not([hidden])) {
	max-width: min(96vw, 860px);
	overflow: hidden;
	max-height: min(92vh, 780px);
}

.suggest-modal__dialog:has([data-suggest-step="ad-placement"]:not([hidden])) .suggest-modal__close {
	z-index: 20;
}

.suggest-modal.is-open .suggest-modal__dialog {
	transform: scale(1) translateY(0);
}

.suggest-modal__title {
	color: var(--text-primary);
	font-size: 1.15rem;
	font-weight: 700;
	margin: 0 0 1rem;
	padding-right: 2.25rem;
	line-height: 1.35;
	letter-spacing: -0.02em;
}

.suggest-modal__close {
	position: absolute;
	top: 1rem;
	right: 1rem;
	width: 36px;
	height: 36px;
	border: none;
	border-radius: 10px;
	background: var(--glass-bg);
	color: var(--text-primary);
	cursor: pointer;
	font-size: 1.25rem;
	line-height: 1;
	display: flex;
	align-items: center;
	justify-content: center;
}

.suggest-modal__actions {
	display: grid;
	grid-template-columns: repeat(2, minmax(0, 1fr));
	gap: 0.6rem;
}

@media (min-width: 400px) {
	.suggest-modal__actions {
		grid-template-columns: repeat(3, minmax(0, 1fr));
	}
}

.suggest-modal__btn {
	width: 100%;
	min-height: 6.35rem;
	padding: 0.72rem 0.55rem 0.65rem;
	border-radius: 14px;
	border: 1px solid rgba(120, 144, 177, 0.26);
	background: linear-gradient(165deg, rgba(255, 255, 255, 0.07) 0%, rgba(8, 14, 28, 0.34) 100%);
	color: var(--text-primary);
	font-size: 0.78rem;
	font-weight: 600;
	cursor: pointer;
	display: flex;
	flex-direction: column;
	align-items: center;
	justify-content: center;
	gap: 0.45rem;
	text-align: center;
	line-height: 1.2;
	transition: background 0.2s ease, border-color 0.2s ease, transform 0.15s ease, box-shadow 0.2s ease;
}

.suggest-modal__btn-icon {
	width: 2.65rem;
	height: 2.65rem;
	border-radius: 12px;
	display: inline-flex;
	align-items: center;
	justify-content: center;
	flex-shrink: 0;
	background: rgba(120, 144, 177, 0.14);
	border: 1px solid rgba(120, 144, 177, 0.2);
	color: var(--text-primary);
	transition: transform 0.15s ease, background 0.2s ease, border-color 0.2s ease;
}

.suggest-modal__btn-icon svg {
	display: block;
}

.suggest-modal__btn-label {
	display: block;
	max-width: 100%;
	padding: 0 0.15rem;
	overflow-wrap: anywhere;
	hyphens: auto;
}

.suggest-modal__btn-label--stack {
	display: flex;
	flex-direction: column;
	gap: 0.08rem;
	line-height: 1.15;
}

.suggest-modal__btn[data-type="news"] .suggest-modal__btn-icon {
	background: rgba(29, 143, 255, 0.16);
	border-color: rgba(29, 143, 255, 0.32);
	color: #5eb0ff;
}

.suggest-modal__btn[data-type="ad"] .suggest-modal__btn-icon {
	background: rgba(255, 140, 66, 0.16);
	border-color: rgba(255, 140, 66, 0.32);
	color: #ffb07a;
}

.suggest-modal__btn[data-type="realty"] .suggest-modal__btn-icon {
	background: rgba(74, 222, 128, 0.14);
	border-color: rgba(74, 222, 128, 0.3);
	color: #7ddea8;
}

.suggest-modal__btn[data-type="job"] .suggest-modal__btn-icon {
	background: rgba(168, 139, 250, 0.16);
	border-color: rgba(168, 139, 250, 0.32);
	color: #c4b5fd;
}

.suggest-modal__btn[data-type="auto"] .suggest-modal__btn-icon {
	background: rgba(56, 189, 248, 0.14);
	border-color: rgba(56, 189, 248, 0.3);
	color: #7dd3fc;
}

.suggest-modal__btn[data-type="pets"] .suggest-modal__btn-icon {
	background: rgba(251, 191, 36, 0.14);
	border-color: rgba(251, 191, 36, 0.3);
	color: #fcd34d;
}

.suggest-modal__btn[data-type="beauty"] .suggest-modal__btn-icon {
	background: rgba(244, 114, 182, 0.14);
	border-color: rgba(244, 114, 182, 0.3);
	color: #f9a8d4;
}

.suggest-modal__btn:hover {
	background: linear-gradient(165deg, rgba(29, 143, 255, 0.12) 0%, rgba(8, 14, 28, 0.4) 100%);
	border-color: rgba(29, 143, 255, 0.4);
	transform: translateY(-2px);
	box-shadow: 0 10px 24px rgba(29, 143, 255, 0.14);
}

.suggest-modal__btn:hover .suggest-modal__btn-icon {
	transform: scale(1.06);
}

.suggest-modal__btn:active {
	transform: translateY(0);
}

.suggest-modal__btn--full {
	grid-column: 1 / -1;
	min-height: 3.65rem;
	flex-direction: row;
	justify-content: center;
	gap: 0.65rem;
	padding: 0.72rem 1rem;
	margin-top: 0.15rem;
}

.suggest-modal__btn--full .suggest-modal__btn-label {
	font-size: 0.88rem;
}

/* Бегущая строка погоды в шапке (вместо поиска) */
.site-header-wrap .search__box {
	display: block !important;
}

.weather-ticker {
	width: 100%;
	min-width: 0;
	overflow: hidden;
	border: 1px solid var(--glass-border);
	background: var(--input-bg);
	border-radius: 12px;
	height: 40px;
	display: flex;
	align-items: center;
	padding-inline: 0.4rem;
	gap: 0.4rem;
}

.weather-ticker.header-chip {
	padding-inline: 0.82rem;
	gap: 0.5rem;
	overflow: hidden;
	border: 1px solid var(--glass-border);
	background: rgba(38, 42, 52, 0.42);
	-webkit-backdrop-filter: none;
	backdrop-filter: none;
	transform: none !important;
}

body.light .weather-ticker.header-chip {
	background: rgba(255, 255, 255, 0.48);
}

.weather-ticker__emoji {
	flex: 0 0 auto;
	font-size: 17px;
	line-height: 1;
	filter: saturate(1.15);
}

.weather-ticker__viewport {
	flex: 1 1 auto;
	min-width: 0;
	overflow: hidden;
	/* Скрывать строку чуть раньше слева, чтобы не наезжала на иконку */
	-webkit-mask-image: linear-gradient(to right, transparent 0, #000 18px, #000 100%);
	mask-image: linear-gradient(to right, transparent 0, #000 18px, #000 100%);
}

.weather-ticker__track {
	display: inline-flex;
	align-items: center;
	gap: 1.6rem;
	white-space: nowrap;
	will-change: transform;
	animation: weather-marquee 24s linear infinite;
	padding-left: 100%;
}

.weather-ticker__text {
	color: var(--text-primary);
	font-size: clamp(11px, 1.35vw, 13px);
	font-weight: 500;
	letter-spacing: 0.01em;
	line-height: 1.2;
	opacity: 0.92;
}

/* Та же типографика, что у бегущей строки погоды (legacy, без header-chip) */
.header-traffic:not(.header-chip),
.header-traffic:not(.header-chip) .header-traffic__line1 {
	font-size: clamp(11px, 1.35vw, 13px);
	font-weight: 500;
	letter-spacing: 0.01em;
	line-height: 1.2;
}

.header-chip-scale {
	display: flex;
	min-width: 0;
	transform-origin: center center;
	transition: transform 0.2s ease;
}

.header-chip-scale:hover {
	transform: scale(1.05);
}

.header-chip-scale > .header-chip {
	width: 100%;
}

.header-chip-scale--weather:hover .weather-ticker__track {
	animation-play-state: paused;
}

/* В шапке: бегущая строка погоды и блок курсов/пробок */
.site-header-wrap .btn-hamburger,
.site-header-wrap .header-actions .dropdown,
.site-header-wrap .header-actions .lang__btn,
.site-header-wrap .header-actions .user__nologin {
	display: none !important;
}

@keyframes weather-marquee {
	0% {
		transform: translateX(0);
	}
	100% {
		transform: translateX(-50%);
	}
}

@media (max-width: 767.98px) {
	.weather-ticker {
		height: 36px;
		border-radius: 10px;
		padding-inline: 0.3rem;
	}

	.weather-ticker__emoji {
		font-size: 15px;
	}

	.weather-ticker__viewport {
		-webkit-mask-image: linear-gradient(to right, transparent 0, #000 14px, #000 100%);
		mask-image: linear-gradient(to right, transparent 0, #000 14px, #000 100%);
	}

	.weather-ticker__track {
		gap: 1.15rem;
		animation-duration: 18s;
	}

	.weather-ticker__text,
	.header-traffic:not(.header-chip),
	.header-traffic:not(.header-chip) .header-traffic__line1 {
		font-size: 11px;
	}
}

.search-modal__dialog {
	position: relative;
	width: min(100%, 540px);
	max-width: 540px;
	padding: 1.5rem 1.45rem 1.25rem;
	border-radius: 24px;
	overflow: hidden;
	isolation: isolate;
	border: 1px solid rgba(94, 176, 255, 0.18);
	box-shadow:
		0 24px 60px rgba(0, 0, 0, 0.42),
		inset 0 1px 0 rgba(255, 255, 255, 0.08);
}

.search-modal__dialog::before {
	content: "";
	position: absolute;
	top: 0;
	left: 0;
	right: 0;
	height: 4px;
	background: linear-gradient(90deg, #2788ff 0%, #5eb0ff 40%, #22c55e 72%, #8b5cf6 100%);
	opacity: 0.95;
	z-index: 1;
}

.search-modal__dialog::after {
	content: "";
	position: absolute;
	inset: -35% -25% auto;
	height: 240px;
	background:
		radial-gradient(ellipse at 15% 0%, rgba(39, 136, 255, 0.24), transparent 56%),
		radial-gradient(ellipse at 88% 8%, rgba(34, 197, 94, 0.1), transparent 50%);
	pointer-events: none;
	z-index: 0;
}

.search-modal__close {
	z-index: 3;
	top: 0.95rem;
	right: 0.95rem;
	width: 38px;
	height: 38px;
	border-radius: 12px;
	border: 1px solid rgba(255, 255, 255, 0.1);
	background: rgba(255, 255, 255, 0.05);
	transition: background-color 0.2s ease, transform 0.2s ease, border-color 0.2s ease;
}

.search-modal__close:hover,
.search-modal__close:focus-visible {
	background: rgba(255, 255, 255, 0.12);
	border-color: rgba(94, 176, 255, 0.45);
	transform: scale(1.04);
}

.search-modal__head {
	position: relative;
	z-index: 2;
	display: flex;
	align-items: flex-start;
	gap: 0.85rem;
	margin-bottom: 1.1rem;
	padding-right: 2.4rem;
}

.search-modal__head-icon {
	flex: 0 0 auto;
	display: inline-flex;
	align-items: center;
	justify-content: center;
	width: 48px;
	height: 48px;
	border-radius: 15px;
	color: #8ec5ff;
	background: linear-gradient(145deg, rgba(39, 136, 255, 0.22), rgba(39, 136, 255, 0.08));
	border: 1px solid rgba(94, 176, 255, 0.28);
	box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.12);
}

.search-modal__head-copy {
	min-width: 0;
}

.search-modal__title {
	margin: 0 0 0.28rem;
	color: var(--text-primary);
	font-family: 'Unbounded', 'Manrope', system-ui, sans-serif;
	font-size: clamp(1.08rem, 3vw, 1.28rem);
	font-weight: 700;
	line-height: 1.22;
	letter-spacing: -0.02em;
}

.search-modal__lead {
	margin: 0;
	color: var(--text-muted);
	font-size: 0.84rem;
	line-height: 1.45;
}

.search-modal__form {
	position: relative;
	z-index: 2;
	display: flex;
	flex-direction: column;
	gap: 0.9rem;
}

.search-modal__field {
	display: flex;
	align-items: center;
	gap: 0.55rem;
	padding: 0.38rem 0.5rem 0.38rem 0.45rem;
	border-radius: 15px;
	border: 1px solid rgba(94, 176, 255, 0.24);
	background: rgba(8, 12, 20, 0.62);
	box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.05);
	transition: border-color 0.2s ease, box-shadow 0.2s ease;
}

.search-modal__field:focus-within {
	border-color: rgba(94, 176, 255, 0.55);
	box-shadow:
		0 0 0 3px rgba(39, 136, 255, 0.16),
		inset 0 1px 0 rgba(255, 255, 255, 0.07);
}

.search-modal__field-icon {
	flex: 0 0 auto;
	display: inline-flex;
	align-items: center;
	justify-content: center;
	width: 40px;
	height: 40px;
	border-radius: 12px;
	color: #8ec5ff;
	background: rgba(39, 136, 255, 0.14);
	border: 1px solid rgba(94, 176, 255, 0.2);
}

.search-modal__input {
	flex: 1 1 auto;
	min-width: 0;
	padding: 0.62rem 0.35rem 0.62rem 0;
	border: none;
	background: transparent;
	color: var(--text-primary);
	font-size: 1rem;
	font-weight: 500;
	line-height: 1.35;
	outline: none;
}

.search-modal__input::placeholder {
	color: rgba(154, 163, 173, 0.82);
	font-weight: 400;
}

.search-modal__hints-panel {
	padding: 0.72rem;
	border-radius: 16px;
	border: 1px solid rgba(255, 255, 255, 0.08);
	background: rgba(255, 255, 255, 0.03);
}

.search-modal__hints-head {
	margin-bottom: 0.55rem;
}

.search-modal__hints-label {
	display: block;
	font-size: 0.68rem;
	font-weight: 700;
	letter-spacing: 0.06em;
	text-transform: uppercase;
	color: var(--text-muted);
	opacity: 0.88;
}

.search-modal__hints-grid {
	display: grid;
	grid-template-columns: repeat(2, minmax(0, 1fr));
	gap: 0.42rem;
}

@media (min-width: 420px) {
	.search-modal__hints-grid {
		grid-template-columns: repeat(3, minmax(0, 1fr));
	}
}

.search-modal__hint {
	appearance: none;
	width: 100%;
	border: 1px solid rgba(255, 255, 255, 0.1);
	border-radius: 11px;
	padding: 0.48rem 0.55rem;
	background: rgba(255, 255, 255, 0.04);
	color: var(--text-primary);
	font-size: 0.76rem;
	font-weight: 600;
	line-height: 1.2;
	text-align: left;
	cursor: pointer;
	transition: background-color 0.18s ease, border-color 0.18s ease, transform 0.18s ease, color 0.18s ease;
}

.search-modal__hint::before {
	content: "→";
	margin-right: 0.35rem;
	color: rgba(142, 197, 255, 0.72);
	font-weight: 700;
}

.search-modal__hint:hover,
.search-modal__hint:focus-visible {
	background: rgba(39, 136, 255, 0.16);
	border-color: rgba(94, 176, 255, 0.36);
	color: #fff;
	transform: translateY(-1px);
	outline: none;
}

.search-modal__submit {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	gap: 0.5rem;
	width: 100%;
	min-height: 46px;
	padding: 0.68rem 1rem;
	border: none;
	border-radius: 14px;
	background: linear-gradient(135deg, #2b78ff 0%, #1987ff 55%, #0f6ad7 100%);
	color: #fff;
	font-size: 0.92rem;
	font-weight: 700;
	letter-spacing: 0.01em;
	cursor: pointer;
	box-shadow: 0 10px 22px rgba(16, 102, 214, 0.3);
	transition: transform 0.2s ease, box-shadow 0.2s ease, filter 0.2s ease;
}

.search-modal__submit:hover,
.search-modal__submit:focus-visible {
	filter: brightness(1.06);
	transform: translateY(-1px);
	box-shadow: 0 12px 26px rgba(16, 102, 214, 0.36);
	outline: none;
}

body.light .search-modal__dialog {
	border-color: rgba(28, 74, 118, 0.12);
	box-shadow: 0 20px 48px rgba(40, 75, 110, 0.14);
}

body.light .search-modal__field {
	background: rgba(255, 255, 255, 0.92);
	border-color: rgba(28, 74, 118, 0.14);
}

body.light .search-modal__hints-panel {
	background: rgba(255, 255, 255, 0.55);
	border-color: rgba(28, 74, 118, 0.1);
}

body.light .search-modal__hint {
	background: rgba(255, 255, 255, 0.88);
	border-color: rgba(28, 74, 118, 0.1);
}

body.light .search-modal__head-icon {
	color: #1468b5;
	background: rgba(39, 136, 255, 0.1);
}

@media (max-width: 767.98px) {
	.search-modal__dialog {
		padding: 1.25rem 1rem 1rem;
		border-radius: 20px;
	}

	.search-modal__head-icon {
		width: 42px;
		height: 42px;
		border-radius: 13px;
	}

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

/* Offcanvas под тему */
body.dark .offcanvas-aside,
body.light .offcanvas-aside {
	background: var(--glass-bg-strong) !important;
	backdrop-filter: var(--glass-blur);
	-webkit-backdrop-filter: var(--glass-blur);
	color: var(--text-muted);
}

body.dark .offcanvas-aside .aside__form,
body.light .offcanvas-aside .aside__form {
	background: var(--input-bg) !important;
	color: var(--text-primary) !important;
	border-color: var(--input-border) !important;
}

body.light .offcanvas-aside nav a {
	color: var(--text-primary);
}

/* Заглушка страницы */
.stub-page .stub-box {
	margin-top: 2rem;
}

.nav-icon {
	flex-shrink: 0;
	color: inherit;
}

.drawer-header {
	border-color: var(--glass-border) !important;
}

.drawer-header .offcanvas-title {
	color: var(--text-primary);
}

body.dark #navDrawer .btn-close {
	filter: invert(1);
}

body.light #navDrawer .btn-close {
	filter: none;
}

#navDrawer nav a.item {
	color: var(--text-primary);
}

#navDrawer nav .drawer-link.text-body {
	color: var(--text-primary);
}

body.dark #navDrawer nav a.drawer-link.text-body,
body.dark #navDrawer nav a.drawer-link.text-body span {
	color: var(--sidebar-nav-label) !important;
	opacity: 1 !important;
	font-weight: 500;
}

/* Стеклянный блок шапки — без общей подложки, только отдельные чипы */
.site-header-wrap > .row {
	position: relative;
	overflow: visible;
	padding: 0;
	border-radius: 0;
	background: transparent;
	backdrop-filter: none;
	-webkit-backdrop-filter: none;
	border: none;
	box-shadow: none;
}

.site-header-wrap > .row::after,
.site-header-wrap > .row::before {
	display: none;
}

body.light .site-header-wrap > .row {
	background: transparent;
	box-shadow: none;
}

/* Вертикальное выравнивание элементов по центру высоты блока шапки */
.site-header-wrap > .row.g-3.align-items-center {
	min-height: 56px;
	flex-wrap: nowrap;
	gap: 0.45rem !important;
}

.site-header-wrap > .row.g-3.align-items-center > [class*='col'] {
	display: flex;
	align-items: center;
}

.site-header-wrap > .row.g-3.align-items-center > .col {
	flex: 1 1 auto;
	min-width: 0;
}

.site-header-wrap > .row.g-3.align-items-center > .col-12.col-md-auto {
	flex: 0 0 auto !important;
	width: auto !important;
	max-width: none !important;
	min-width: fit-content;
}

@media (min-width: 768px) and (max-width: 899.98px) {
	.site-header-wrap > .row.g-3.align-items-center {
		display: grid;
		grid-template-columns: 1fr;
		row-gap: 0.5rem;
		align-items: stretch !important;
	}

	.site-header-wrap > .row.g-3.align-items-center > .col,
	.site-header-wrap > .row.g-3.align-items-center > .col-12.col-md-auto {
		grid-column: 1;
		grid-row: auto;
		width: 100% !important;
		max-width: none !important;
		min-width: 0;
		align-items: stretch !important;
	}

	.site-header-wrap .search__box,
	.header-weather-prices,
	.site-header-wrap .header-actions,
	.site-header-wrap .header-utility-strip {
		width: 100%;
		max-width: none;
	}
}

/* Погода и курсы — равные колонки, общий верхний край */
@media (min-width: 900px) {
	.site-header-wrap {
		--header-chip-h: 46px;
		--header-utility-h: calc(var(--header-chip-h) * 2 + 0.4rem);
	}

	.site-header-wrap > .row.g-3.align-items-center {
		display: grid;
		grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
		column-gap: 0.75rem;
		align-items: stretch !important;
		gap: 0 !important;
		min-height: var(--header-utility-h);
	}

	.site-header-wrap > .row.g-3.align-items-center > [class*='col'] {
		align-items: stretch !important;
		align-self: stretch !important;
		min-height: var(--header-utility-h);
	}

	.site-header-wrap > .row.g-3.align-items-center > .col {
		grid-column: 1;
		grid-row: 1;
		width: 100%;
		max-width: none;
		min-width: 0;
	}

	.site-header-wrap > .row.g-3.align-items-center > .col-12.col-md-auto {
		grid-column: 2;
		grid-row: 1;
		display: flex;
		width: 100% !important;
		max-width: none !important;
		min-width: 0;
		justify-content: stretch;
	}

	.site-header-wrap .search__box,
	.site-header-wrap .header-weather-prices,
	.site-header-wrap .header-desktop-weather,
	.site-header-wrap .header-actions,
	.site-header-wrap .header-utility-strip.header-utility-strip--stack {
		width: 100%;
		height: var(--header-utility-h) !important;
		min-height: var(--header-utility-h) !important;
		max-height: var(--header-utility-h) !important;
		margin-top: 0 !important;
		margin-bottom: 0 !important;
		box-sizing: border-box;
	}

	.site-header-wrap .header-actions {
		justify-content: stretch;
		align-items: stretch !important;
		flex-wrap: nowrap;
	}

	.site-header-wrap .header-utility-strip {
		width: 100%;
		max-width: none;
		justify-self: stretch;
	}

	.header-utility-strip .header-rates {
		flex: 1.55 1 0;
		min-width: 0;
		justify-content: flex-start;
		overflow: hidden;
	}

	.header-utility-strip .header-traffic.header-chip {
		flex: 0.85 1 0;
		min-width: 0;
		justify-content: center;
	}
}

.header-utility-strip .header-rates.header-chip {
	flex: 1.55 1 0;
	min-width: 0;
	overflow: hidden;
	padding-left: 0.82rem !important;
	padding-right: 0.82rem !important;
	box-sizing: border-box;
}

.header-utility-strip .header-traffic.header-chip {
	flex: 0.85 1 0;
	min-width: 0;
}

.site-header-wrap .header-actions {
	flex-wrap: nowrap;
	align-items: center;
	min-height: 40px;
}

.site-header-wrap .header-actions:empty {
	display: none;
}

.site-header-wrap .vkid-auth-wrap {
	display: none !important;
}

.header-vk-btn {
	height: 40px;
	display: inline-flex;
	align-items: center;
	gap: 0.45rem;
	padding: 0 0.9rem;
	border-radius: 12px;
	text-decoration: none;
	color: #fff;
	background: linear-gradient(135deg, #2b78ff 0%, #1987ff 52%, #0f6ad7 100%);
	border: 1px solid rgba(255, 255, 255, 0.24);
	box-shadow: 0 8px 18px rgba(16, 102, 214, 0.26);
	font-weight: 600;
	font-size: 13px;
	letter-spacing: 0.01em;
	white-space: nowrap;
	transition: transform 0.2s ease, box-shadow 0.2s ease, filter 0.2s ease;
}

.header-services-btn {
	height: 40px;
	display: inline-flex;
	align-items: center;
	gap: 0.45rem;
	padding: 0 0.9rem;
	border-radius: 12px;
	text-decoration: none;
	color: #fff;
	background: linear-gradient(135deg, #2b78ff 0%, #1987ff 52%, #0f6ad7 100%);
	border: 1px solid rgba(255, 255, 255, 0.24);
	box-shadow: 0 8px 18px rgba(16, 102, 214, 0.26);
	font-weight: 600;
	font-size: 13px;
	letter-spacing: 0.01em;
	white-space: nowrap;
	transition: transform 0.2s ease, box-shadow 0.2s ease, filter 0.2s ease;
}

.header-services-btn:hover,
.header-services-btn:focus-visible {
	filter: brightness(1.06);
	color: #fff;
	text-decoration: none;
	transform: scale(1.05);
	box-shadow: var(--glass-shadow), 0 8px 18px rgba(16, 102, 214, 0.26);
}

.header-services-btn__icon {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	width: 24px;
	height: 24px;
	border-radius: 8px;
	background: rgba(255, 255, 255, 0.22);
	font-size: 11px;
	font-weight: 800;
	line-height: 1;
}

/* Курс ЦБ + мини-карта Яндекс.Пробок (вместо рекламы в шапке) */
.header-utility-strip {
	display: flex;
	flex-direction: row;
	align-items: stretch;
	gap: 0.5rem;
	flex-shrink: 1;
	min-width: 0;
	width: 100%;
	max-width: 100%;
}

/* Единый стиль элементов шапки (чипы) */
.header-chip {
	--chip-accent: #0d84fb;
	--chip-accent-soft: rgba(13, 132, 251, 0.14);
	--chip-accent-border: rgba(13, 132, 251, 0.34);
	--chip-font-size: clamp(11px, 1.35vw, 13px);
	position: relative;
	z-index: 1;
	height: 40px;
	display: inline-flex;
	align-items: center;
	gap: 0.52rem;
	padding: 0 0.88rem;
	border-radius: 14px;
	border: 1px solid color-mix(in srgb, var(--chip-accent-border) 72%, var(--glass-border));
	background:
		linear-gradient(135deg, var(--chip-accent-soft) 0%, rgba(38, 42, 52, 0.28) 62%),
		rgba(38, 42, 52, 0.44);
	backdrop-filter: blur(12px);
	-webkit-backdrop-filter: blur(12px);
	color: var(--text-primary);
	text-decoration: none;
	min-width: 0;
	font-size: var(--chip-font-size);
	font-weight: 600;
	letter-spacing: 0.012em;
	line-height: 1.2;
	box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.07);
	transition: transform 0.2s ease, border-color 0.2s ease, box-shadow 0.2s ease;
}

body.light .header-chip {
	background:
		linear-gradient(135deg, var(--chip-accent-soft) 0%, rgba(255, 255, 255, 0.78) 64%),
		rgba(255, 255, 255, 0.52);
	box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.85);
}

.header-chip--weather { --chip-accent: #eab308; --chip-accent-soft: rgba(234, 179, 8, 0.16); --chip-accent-border: rgba(234, 179, 8, 0.38); }
.header-chip--prices { --chip-accent: #22c55e; --chip-accent-soft: rgba(34, 197, 94, 0.16); --chip-accent-border: rgba(34, 197, 94, 0.38); }
.header-chip--rates { --chip-accent: #3b82f6; --chip-accent-soft: rgba(59, 130, 246, 0.16); --chip-accent-border: rgba(59, 130, 246, 0.38); }
.header-chip--traffic { --chip-accent: #6366f1; --chip-accent-soft: rgba(99, 102, 241, 0.16); --chip-accent-border: rgba(99, 102, 241, 0.38); }

.header-chip__badge,
.header-chip .header-rates__icon,
.header-chip .header-traffic__icon,
.header-chip .header-prices-btn__icon,
.header-chip .weather-ticker__icon {
	flex: 0 0 auto;
	display: inline-flex;
	align-items: center;
	justify-content: center;
	width: 28px;
	height: 28px;
	border-radius: 9px;
	color: var(--chip-accent);
	background: var(--chip-accent-soft);
	border: 1px solid var(--chip-accent-border);
	box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.22);
}

.header-chip__icon-svg {
	width: 16px;
	height: 16px;
	display: block;
	flex-shrink: 0;
}

.header-chip__badge .header-chip__icon-svg :where(path, circle, line, polyline),
.header-chip .header-rates__icon .header-chip__icon-svg :where(path, circle, line, polyline),
.header-chip .header-traffic__icon .header-chip__icon-svg :where(path, circle, line, polyline),
.header-chip .header-prices-btn__icon .header-chip__icon-svg :where(path, circle, line, polyline) {
	stroke: currentColor;
	fill: none;
}

.header-chip .weather-ticker__text,
.header-chip .header-prices-btn__line1,
.header-chip .header-rates__line,
.header-chip .header-traffic__line1 {
	font-size: inherit;
	font-weight: inherit;
	letter-spacing: inherit;
	line-height: inherit;
	color: var(--text-primary);
	opacity: 1;
}

.header-chip:hover,
a.header-chip:hover,
a.header-chip:focus-visible,
.header-chip.header-rates:hover {
	transform: scale(1.04);
	border-color: var(--chip-accent-border);
	filter: none;
	box-shadow:
		inset 0 1px 0 rgba(255, 255, 255, 0.1),
		0 4px 14px rgba(0, 0, 0, 0.14);
}

a.header-chip:hover,
a.header-chip:focus-visible {
	color: var(--text-primary);
	text-decoration: none;
	outline: none;
}

.header-rates.header-chip,
.header-traffic.header-chip {
	flex: 1 1 0;
	min-width: 0;
}

.header-rates {
	min-width: 0;
	display: inline-flex;
	flex-direction: row;
	align-items: center;
	justify-content: flex-start;
	gap: 0.5rem;
	/* как у «Цены в Крыму» / «Пробки в Крыму» */
	padding-left: 0.82rem !important;
	padding-right: 0.82rem !important;
	box-sizing: border-box;
}

.header-rates:hover {
	filter: none;
}

.header-rates.is-rates-marquee:hover .header-rates__track {
	animation-play-state: paused;
}

.header-rates__icon {
	flex-shrink: 0;
	display: inline-flex;
	align-items: center;
	justify-content: center;
	width: 26px;
	height: 26px;
	border-radius: 8px;
	color: var(--chip-accent, #3b82f6);
	background: var(--chip-accent-soft, rgba(59, 130, 246, 0.16));
	border: 1px solid var(--chip-accent-border, rgba(59, 130, 246, 0.38));
}

.header-rates__icon-svg {
	display: block;
}

/* Иконки курсов/пробок */
body.dark .header-rates__icon .header-rates__icon-svg :where(path, circle),
body.dark .header-traffic__icon .header-traffic__icon-svg :where(path, circle),
body.light .header-rates__icon .header-rates__icon-svg :where(path, circle),
body.light .header-traffic__icon .header-traffic__icon-svg :where(path, circle) {
	stroke: currentColor;
}

.header-rates__body {
	display: flex;
	flex-direction: column;
	align-items: flex-start;
	justify-content: center;
	flex: 1 1 auto;
	min-width: 0;
	overflow: hidden;
}

.header-rates__viewport {
	width: 100%;
	min-width: 0;
	overflow: hidden;
	-webkit-mask-image: linear-gradient(to right, #000 0, #000 calc(100% - 10px), transparent 100%);
	mask-image: linear-gradient(to right, #000 0, #000 calc(100% - 10px), transparent 100%);
}

.header-rates__track {
	display: inline-flex;
	align-items: center;
	width: max-content;
	will-change: transform;
}

.header-rates.is-rates-marquee .header-rates__track {
	animation: header-rates-marquee 22s linear infinite;
}

.header-rates__line {
	font-size: inherit;
	font-weight: inherit;
	letter-spacing: inherit;
	line-height: inherit;
	white-space: nowrap;
	color: var(--text-primary);
	min-width: 0;
}

.header-rates:not(.is-rates-marquee) .header-rates__line {
	overflow: hidden;
	text-overflow: ellipsis;
	display: block;
	max-width: 100%;
}

.header-rates:not(.is-rates-marquee) .header-rates__line--copy {
	display: none;
}

.header-rates.is-rates-marquee .header-rates__line {
	overflow: visible;
	text-overflow: clip;
	padding-right: 1.5rem;
}

@keyframes header-rates-marquee {
	0% {
		transform: translateX(0);
	}
	100% {
		transform: translateX(-50%);
	}
}

.header-traffic__icon {
	flex-shrink: 0;
	display: inline-flex;
	align-items: center;
	justify-content: center;
	width: 26px;
	height: 26px;
	border-radius: 8px;
	color: var(--chip-accent, #6366f1);
	background: var(--chip-accent-soft, rgba(99, 102, 241, 0.16));
	border: 1px solid var(--chip-accent-border, rgba(99, 102, 241, 0.38));
}

.header-traffic__icon-svg {
	display: block;
}

.header-traffic {
	display: inline-flex;
	flex-direction: row;
	align-items: center;
	gap: 0.5rem;
	text-decoration: none;
	flex-shrink: 1;
	white-space: nowrap;
}

a.header-traffic:hover,
a.header-traffic:focus-visible {
	filter: none;
	color: var(--text-primary);
	text-decoration: none;
	outline: none;
}

.header-traffic__text {
	display: flex;
	flex-direction: row;
	align-items: center;
	line-height: 1.1;
	min-width: 0;
}

.header-traffic__line1 {
	font-size: inherit;
	font-weight: inherit;
	letter-spacing: inherit;
	color: inherit;
	white-space: nowrap;
}

/* Страница «Пробки в Крыму» */
.traffic-page {
	padding: 1rem 1.05rem 1.15rem;
}

.traffic-page__loading {
	margin: 0;
	font-size: 0.92rem;
	color: var(--text-muted);
}

.traffic-page__article {
	padding: clamp(1rem, 2.2vw, 1.45rem);
}

.traffic-page__news-link {
	margin: 0 0 0.75rem;
	font-size: 0.84rem;
}

.traffic-page__news-link a {
	color: var(--link-color, #60a5fa);
	text-decoration: none;
}

.traffic-page__news-link a:hover {
	text-decoration: underline;
}

.traffic-page__tips {
	margin: 0.75rem 0 0;
	padding-left: 1.15rem;
	font-size: 0.84rem;
	line-height: 1.5;
	color: var(--text-muted);
}

.traffic-page__tips li + li {
	margin-top: 0.35rem;
}

.traffic-panel__body .traffic-page__map {
	margin-top: 0;
}

.traffic-page__lead {
	margin: 0 0 0.65rem;
	font-size: 0.96rem;
	line-height: 1.55;
	color: var(--text-secondary);
	max-width: 52rem;
}

.traffic-page__note {
	margin: 0 0 1rem;
	font-size: 0.9rem;
	line-height: 1.5;
	color: var(--text-muted);
	max-width: 52rem;
}

.traffic-page__map {
	border-radius: 0;
	overflow: hidden;
	border: none;
	background: rgba(0, 0, 0, 0.15);
	min-height: min(68vh, 640px);
}

.traffic-page__map iframe {
	display: block;
	width: 100%;
	height: min(68vh, 640px);
	border: 0;
}

.traffic-page__legal {
	margin: 0.75rem 0 0;
	font-size: 0.78rem;
	line-height: 1.45;
	color: var(--text-muted);
}

.traffic-map-frame {
	overflow: hidden;
	border-radius: 16px;
	border: 1px solid rgba(125, 141, 165, 0.28);
	background:
		radial-gradient(120% 120% at 100% 0%, rgba(249, 115, 22, 0.06), transparent 55%),
		var(--glass-bg);
	box-shadow: var(--glass-shadow);
}

.traffic-map-frame__foot {
	padding: 0.75rem 0.9rem 0.85rem;
	border-top: 1px solid rgba(125, 141, 165, 0.2);
	background: rgba(255, 255, 255, 0.02);
}

.traffic-map-foot__tips {
	display: grid;
	grid-template-columns: repeat(3, minmax(0, 1fr));
	gap: 0.55rem 0.85rem;
	margin: 0;
	padding: 0;
	list-style: none;
}

.traffic-map-foot__tip {
	display: flex;
	align-items: flex-start;
	gap: 0.55rem;
	min-width: 0;
}

.traffic-map-foot__tag {
	flex: 0 0 auto;
	padding: 0.18rem 0.45rem;
	border-radius: 999px;
	font-size: 0.62rem;
	font-weight: 800;
	line-height: 1.2;
	letter-spacing: 0.04em;
	text-transform: uppercase;
	color: #fdba74;
	border: 1px solid rgba(249, 115, 22, 0.28);
	background: rgba(249, 115, 22, 0.1);
}

.traffic-map-foot__text {
	font-size: 0.8rem;
	line-height: 1.45;
	color: var(--text-secondary);
}

.traffic-map-foot__legal {
	margin: 0.65rem 0 0;
	padding-top: 0.6rem;
	border-top: 1px dashed rgba(125, 141, 165, 0.22);
	font-size: 0.72rem;
	line-height: 1.45;
	color: var(--text-muted);
}

body.light .traffic-map-frame {
	border-color: rgba(28, 36, 48, 0.12);
	background:
		radial-gradient(120% 120% at 100% 0%, rgba(249, 115, 22, 0.05), transparent 55%),
		rgba(255, 255, 255, 0.92);
}

body.light .traffic-map-frame__foot {
	background: rgba(249, 115, 22, 0.03);
}

body.light .traffic-map-foot__tag {
	color: #c2410c;
	background: rgba(249, 115, 22, 0.08);
	border-color: rgba(249, 115, 22, 0.2);
}

@media (max-width: 767.98px) {
	.traffic-page__map {
		min-height: min(58vh, 520px);
	}

	.traffic-page__map iframe {
		height: min(58vh, 520px);
	}

	.traffic-map-foot__tips {
		grid-template-columns: 1fr;
		gap: 0.5rem;
	}
}

.header-vk-btn:hover,
.header-vk-btn:focus-visible {
	filter: brightness(1.06);
	color: #fff;
	text-decoration: none;
	transform: scale(1.05);
	box-shadow: var(--glass-shadow), 0 8px 18px rgba(16, 102, 214, 0.26);
}

.header-vk-btn__icon {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	width: 24px;
	height: 24px;
	border-radius: 8px;
	background: rgba(255, 255, 255, 0.22);
	font-size: 11px;
	font-weight: 800;
	line-height: 1;
}

.site-header-wrap .search__box,
.site-header-wrap .user__nologin .btn {
	height: 40px;
}

.site-header-wrap .search__box {
	display: flex !important;
	align-items: stretch;
	width: 100%;
	min-width: 0;
}

.site-header-wrap .weather-ticker:not(.header-chip) {
	height: 40px;
	width: 100%;
	min-width: 0;
	background: var(--input-bg);
	border-color: rgba(234, 179, 8, 0.42);
	box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.14);
}

body.light .site-header-wrap .weather-ticker:not(.header-chip) {
	background: var(--input-bg);
	border-color: rgba(202, 138, 4, 0.38);
	box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.55);
}

.site-header-wrap .weather-ticker:not(.header-chip):hover {
	transform: scale(1.05);
	box-shadow: var(--glass-shadow), inset 0 1px 0 rgba(255, 255, 255, 0.14);
}

body.light .site-header-wrap .weather-ticker:not(.header-chip):hover {
	transform: scale(1.05);
	box-shadow: var(--glass-shadow), inset 0 1px 0 rgba(255, 255, 255, 0.55);
}

.site-header-wrap .user__nologin .btn {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	gap: 0.35rem;
	height: 40px;
	padding: 0 0.9rem;
	border-radius: 12px;
	border: 1px solid rgba(255, 255, 255, 0.24);
	background: linear-gradient(135deg, #ff7a18 0%, #ff4d4f 52%, #d9383a 100%) !important;
	box-shadow: 0 8px 18px rgba(217, 56, 58, 0.28);
	font-size: 13px;
	font-weight: 600;
	letter-spacing: 0.01em;
	padding-top: 0;
	padding-bottom: 0;
	white-space: nowrap;
	color: #fff !important;
	margin: 0;
	transition: transform 0.2s ease, box-shadow 0.2s ease, filter 0.2s ease;
}

.site-header-wrap .user__nologin .btn.btn-primary {
	--bs-btn-color: #fff;
	--bs-btn-bg: transparent;
	--bs-btn-border-color: rgba(255, 255, 255, 0.24);
	--bs-btn-hover-color: #fff;
	--bs-btn-hover-bg: transparent;
	--bs-btn-hover-border-color: rgba(255, 255, 255, 0.3);
	--bs-btn-active-color: #fff;
	--bs-btn-active-bg: transparent;
	--bs-btn-active-border-color: rgba(255, 255, 255, 0.3);
	--bs-btn-disabled-color: rgba(255, 255, 255, 0.65);
	--bs-btn-disabled-bg: rgba(217, 56, 58, 0.45);
	--bs-btn-disabled-border-color: rgba(255, 255, 255, 0.2);
}

.site-header-wrap .user__nologin .btn:hover,
.site-header-wrap .user__nologin .btn:focus-visible,
.site-header-wrap .user__nologin .btn:active {
	filter: brightness(1.03);
	transform: scale(1.05);
	box-shadow: var(--glass-shadow), 0 8px 18px rgba(217, 56, 58, 0.28);
	color: #fff !important;
	background: linear-gradient(135deg, #ff7a18 0%, #ff4d4f 52%, #d9383a 100%) !important;
	border-color: rgba(255, 255, 255, 0.28) !important;
}

body.light .site-header-wrap .user__nologin .btn,
body.light .site-header-wrap .user__nologin .btn .login-btn-icon {
	color: #fff !important;
}

.site-header-wrap .user__nologin .btn .login-btn-icon {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	line-height: 1;
}

.site-header-wrap .user__nologin .btn .login-btn-icon svg,
.site-header-wrap .user__nologin .btn .login-btn-icon svg * {
	stroke: #fff !important;
	color: #fff !important;
}

.site-header-wrap .vkid-auth-wrap {
	display: inline-flex;
	align-items: center;
	height: 42px;
}

.site-header-wrap #VkIdSdkOneTap {
	min-width: 205px;
}

.site-header-wrap .vkid-fallback-btn {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	height: 40px;
	padding: 0 0.86rem;
	border-radius: 12px;
	text-decoration: none;
	color: #fff;
	font-size: 13px;
	font-weight: 600;
	letter-spacing: 0.01em;
	border: 1px solid rgba(255, 255, 255, 0.24);
	background: linear-gradient(135deg, #2b78ff 0%, #1987ff 52%, #0f6ad7 100%);
	box-shadow: 0 8px 18px rgba(16, 102, 214, 0.26);
	transition: transform 0.2s ease, box-shadow 0.2s ease, filter 0.2s ease;
}

.site-header-wrap .vkid-fallback-btn:hover,
.site-header-wrap .vkid-fallback-btn:focus-visible {
	filter: brightness(1.05);
	transform: scale(1.03);
	box-shadow: var(--glass-shadow), 0 8px 18px rgba(16, 102, 214, 0.26);
	color: #fff;
	text-decoration: none;
}

.site-header-wrap .vkid-auth-wrap--ready .vkid-fallback-btn {
	display: none;
}

/* Мобильная адаптация шапки: две строки — погода/цены, затем курсы и пробки */
@media (max-width: 575.98px) {
	.site-header-wrap .btn-hamburger {
		width: 40px;
		height: 40px;
	}

	.site-header-wrap .header-actions .user__nologin {
		height: 36px;
	}

	.site-header-wrap .vkid-auth-wrap {
		height: 36px;
	}

	.header-chip__badge,
	.header-chip .header-rates__icon,
	.header-chip .header-traffic__icon,
	.header-chip .header-prices-btn__icon,
	.header-chip .weather-ticker__icon {
		width: 24px;
		height: 24px;
	}

	.header-chip__icon-svg {
		width: 14px;
		height: 14px;
	}

	.header-chip {
		height: 36px;
		padding-inline: 0.62rem;
		gap: 0.38rem;
		--chip-font-size: 10px;
	}

	.site-header-wrap .user__nologin .btn {
		font-size: 12px;
		padding-left: 0.62rem;
		padding-right: 0.62rem;
	}

	.header-rates__line {
		font-size: inherit;
		line-height: 1.1;
		overflow: hidden;
		text-overflow: ellipsis;
		white-space: nowrap;
	}

	.weather-ticker__emoji {
		font-size: 16px;
	}

	.weather-ticker__track {
		animation-duration: 16s;
	}

	.sidebar-footer-tools .header-services-btn,
	.sidebar-footer-tools--drawer .header-services-btn {
		min-height: 44px;
		font-size: 11px;
		padding: 0 0.55rem;
		gap: 0.35rem;
	}

	.sidebar-footer-tools .theme-toggle,
	.sidebar-footer-tools--drawer .theme-toggle {
		height: 44px;
	}

	.sidebar-footer-tools .footer-about-drop__btn,
	.sidebar-footer-tools--drawer .footer-about-drop__btn {
		height: 44px;
	}

	.sidebar-footer-tools .theme-toggle .icon-theme,
	.sidebar-footer-tools--drawer .theme-toggle .icon-theme {
		width: 18px;
		height: 18px;
	}

	.sidebar-footer-tools .footer-about-drop__icon,
	.sidebar-footer-tools--drawer .footer-about-drop__icon {
		width: 18px;
		height: 18px;
	}

	.header-vk-btn__icon {
		width: 20px;
		height: 20px;
		font-size: 10px;
		border-radius: 6px;
	}

	.header-services-btn__icon {
		width: 20px;
		height: 20px;
		border-radius: 6px;
	}

	.header-services-btn__icon svg {
		width: 14px;
		height: 14px;
	}
}

body.dark .dropdown-menu,
body.light .dropdown-menu {
	background: var(--glass-bg-strong);
	backdrop-filter: var(--glass-blur);
	-webkit-backdrop-filter: var(--glass-blur);
	border: 1px solid var(--glass-border);
}

body.dark .dropdown-item,
body.light .dropdown-item {
	color: var(--text-primary);
}

body.dark .dropdown-item:hover,
body.light .dropdown-item:hover {
	background: var(--glass-bg);
}

/* ——— Симметрия сетки и блоков ——— */
.home-card.glass-panel {
	height: 100%;
	display: flex;
	flex-direction: column;
	min-width: 0;
	box-sizing: border-box;
}

.home-card.glass-panel > .home-card__meta:last-of-type {
	margin-top: auto;
}

.placeholder-section.glass-panel {
	min-height: 120px;
	display: flex;
	flex-direction: column;
	align-items: center;
	justify-content: center;
	box-sizing: border-box;
}

.section-head {
	min-height: 2.5rem;
}

.section-head h2,
.section-head h1.post-page__title,
.section-head .section-all {
	display: flex;
	align-items: center;
	line-height: 1.2;
}

/* Как в appstorrent: пункты меню max-width 187px */
body.dark .sidebar .menu .item,
body.light .sidebar .menu .item,
.sidebar .menu span.item.coming-soon {
	max-width: 187px;
	width: 100%;
	box-sizing: border-box;
}

.sidebar .menu span.item.coming-soon {
	display: flex !important;
	align-items: center;
	min-height: 48px;
	padding: 0 12px;
	border-radius: 8px;
	column-gap: 12px;
}

.sidebar .menu li.menu-news {
	display: flex;
	align-items: center;
	position: relative;
}

.sidebar .menu li.menu-news > .item {
	flex: 1 1 auto;
	min-width: 0;
}

.cities-drop__btn {
	margin-left: 6px;
	flex-shrink: 0;
	position: relative;
	z-index: 2;
	background: rgba(78, 78, 78, 0.72);
	color: var(--text-primary);
	opacity: 1;
	border: 1px solid rgba(255, 255, 255, 0.14);
	cursor: pointer;
}

body.light .cities-drop__btn {
	background: rgba(0, 128, 255, 0.14);
	border-color: rgba(0, 128, 255, 0.35);
	color: #0080ff;
}

.cities-dropmenu {
	width: 220px;
	margin: 0;
	padding: 6px;
	border-radius: 10px;
	border: 1px solid rgba(255, 255, 255, 0.16);
	background: rgba(16, 20, 28, 0.94);
	max-height: 340px;
	overflow-y: auto;
	display: none;
}

.sidebar-footer-about .cities-dropmenu {
	width: min(280px, calc(100vw - 4rem));
}

body.light .cities-dropmenu {
	border: 1px solid rgba(0, 0, 0, 0.12);
	background: rgba(255, 255, 255, 0.96);
}

.cities-flyout {
	position: absolute;
	left: calc(100% + 10px);
	top: 0;
	z-index: 40;
	box-shadow: 0 10px 24px rgba(0, 0, 0, 0.25);
}

.menu-news.is-open .cities-flyout,
.sidebar-footer-about.is-open .cities-flyout {
	display: block;
}

.menu-news.is-open .cities-drop__btn svg {
	transform: rotate(180deg);
}

.cities-drop__btn svg {
	transition: transform 0.2s ease;
}

.cities-dropmenu__link {
	display: block;
	padding: 6px 8px;
	border-radius: 8px;
	color: #f3f6fb;
	font-size: 13px;
	font-weight: 600;
	text-decoration: none;
	text-shadow: 0 1px 0 rgba(0, 0, 0, 0.22);
}

body.light .cities-dropmenu__link {
	color: #122033;
	text-shadow: none;
}

.cities-dropmenu__link:hover {
	background: rgba(0, 128, 255, 0.18);
	color: #ffffff;
}

body.light .cities-dropmenu__link:hover {
	background: rgba(0, 128, 255, 0.12);
	color: #0b1f36;
}

body.has-tabbar .sidebar-desktop .sidebar .logo {
	display: flex;
	align-items: center;
	justify-content: center;
	padding: 0 10px;
	margin: 0 0 6px;
	box-sizing: border-box;
	width: 100%;
	max-width: 100%;
	overflow: hidden;
}

.sidebar .logo img.logo__mobile {
	display: none !important;
}

.sidebar .logo img {
	display: block;
	height: 46px;
	width: auto;
	max-width: 100%;
	margin: 0 auto;
	object-fit: contain;
	object-position: center center;
}

@media (min-width: 768px) {
	.main-col {
		padding-left: 1.25rem !important;
		padding-right: 1.25rem !important;
	}
}

/* Иконки: единый стиль (Lucide-like) */
.icon-tab {
	display: block;
	flex-shrink: 0;
}

.icon-theme {
	display: block;
	width: 22px;
	height: 22px;
}

.lang__btn .icon-lang {
	flex-shrink: 0;
	opacity: 0.75;
}

.suggest-modal__close {
	display: flex;
	align-items: center;
	justify-content: center;
	line-height: 0;
}

.suggest-modal__close .icon-close {
	display: block;
}

/* Выравнивание пунктов выезжающего меню */
.drawer-link {
	display: flex;
	align-items: center;
	gap: 0.75rem;
	min-height: 2.75rem;
	padding: 0.25rem 0;
	box-sizing: border-box;
}

.drawer-link .nav-icon {
	flex-shrink: 0;
}

.drawer-link.coming-soon span:last-child {
	flex: 1;
}

body.light .sidebar .menu .item span {
	color: #1a2433;
	opacity: 0.92;
}

/* Sidebar facelift: cleaner glass depth and calmer item states */
@media (min-width: 768px) {
	body.has-tabbar .sidebar-desktop {
		background:
			radial-gradient(140px 220px at 0% 0%, rgba(13, 132, 251, 0.14), rgba(13, 132, 251, 0) 72%),
			linear-gradient(180deg, rgba(255, 255, 255, 0.025), rgba(255, 255, 255, 0)),
			var(--sidebar-bg);
		box-shadow: inset -1px 0 0 rgba(255, 255, 255, 0.05), 14px 0 34px rgba(6, 10, 18, 0.28);
	}
}

.sidebar .menu.site-nav {
	padding: 0 10px;
	display: flex;
	flex-direction: column;
	gap: 6px;
}

body.dark .sidebar .menu .item,
body.light .sidebar .menu .item,
.sidebar .menu span.item.coming-soon {
	max-width: none;
	width: 100%;
	min-height: 46px;
	padding: 0 12px;
	border-radius: 12px;
	box-sizing: border-box;
	border: 1px solid transparent;
	background: transparent;
}

.sidebar .menu .item {
	display: flex;
	align-items: center;
	gap: 12px;
	transition: background-color 0.22s ease, border-color 0.22s ease, transform 0.22s ease, box-shadow 0.22s ease;
}

.sidebar .menu .item .nav-icon,
.sidebar .menu span.item.coming-soon .nav-icon {
	opacity: 0.92;
}

body.dark .sidebar .menu a.item:hover {
	transform: translateX(2px);
	background: linear-gradient(90deg, rgba(13, 132, 251, 0.2), rgba(13, 132, 251, 0.08)) !important;
	border-color: rgba(120, 200, 255, 0.28);
	box-shadow: 0 8px 18px rgba(7, 19, 36, 0.35);
}

body.light .sidebar .menu a.item:hover {
	transform: translateX(2px);
	background: linear-gradient(90deg, rgba(0, 128, 255, 0.15), rgba(0, 128, 255, 0.05)) !important;
	border-color: rgba(0, 128, 255, 0.25);
	box-shadow: 0 8px 18px rgba(35, 80, 145, 0.16);
}

.sidebar .menu span.item.coming-soon {
	display: flex !important;
	align-items: center;
	gap: 12px;
	opacity: 0.88;
	border-style: dashed;
	border-color: rgba(148, 163, 184, 0.24);
	background: linear-gradient(90deg, rgba(148, 163, 184, 0.12), rgba(148, 163, 184, 0.02));
}

.sidebar .menu span.item.coming-soon .badge-soon {
	font-weight: 600;
	letter-spacing: 0.01em;
}

.sidebar .menu li.menu-news {
	gap: 6px;
}

.sidebar .menu li.menu-news > .item {
	flex: 1 1 auto;
}

.cities-drop__btn {
	width: 34px;
	height: 34px;
	margin-left: 0;
	border-radius: 10px;
	background: rgba(69, 92, 123, 0.32);
	border: 1px solid rgba(255, 255, 255, 0.18);
}

body.light .cities-drop__btn {
	background: rgba(0, 128, 255, 0.12);
	border-color: rgba(0, 128, 255, 0.3);
}

.cities-dropmenu {
	border-radius: 12px;
	padding: 8px;
	background: rgba(16, 20, 28, 0.97);
	box-shadow: 0 16px 36px rgba(2, 8, 20, 0.44);
}

body.light .cities-dropmenu {
	background: rgba(255, 255, 255, 0.98);
	box-shadow: 0 14px 30px rgba(28, 42, 65, 0.16);
}

.cities-dropmenu__link {
	padding: 8px 10px;
	border-radius: 10px;
}

.offcanvas-aside nav {
	gap: 4px !important;
}

.offcanvas-aside nav .drawer-link {
	border-radius: 12px;
	padding: 0.42rem 0.52rem;
}

/* Шапка: десктопная карточка погоды + стек курсов/цен/пробок */
.header-weather-prices {
	display: flex;
	align-items: stretch;
	gap: 0.5rem;
	width: 100%;
	min-width: 0;
}

.header-desktop-weather {
	display: none;
}

.header-utility-strip--stack {
	display: flex;
	flex-direction: row;
	align-items: stretch;
	gap: 0.5rem;
}

.header-utility-strip--stack > .header-utility-strip__links {
	display: flex;
	align-items: stretch;
	gap: 0.5rem;
	min-width: 0;
}

.header-utility-strip__links {
	display: contents;
}

@media (min-width: 768px) {
	.site-header-wrap {
		--header-chip-h: 46px;
		--header-utility-h: calc(var(--header-chip-h) * 2 + 0.4rem);
	}

	.header-weather-prices {
		height: var(--header-utility-h);
		min-height: var(--header-utility-h);
	}

	.header-desktop-weather {
		position: relative;
		display: flex;
		flex-direction: column;
		justify-content: flex-start;
		gap: 0.22rem;
		width: 100%;
		height: var(--header-utility-h);
		min-height: var(--header-utility-h);
		max-height: var(--header-utility-h);
		padding: 0.3rem 0.72rem;
		border-radius: 14px;
		border: 1px solid color-mix(in srgb, rgba(234, 179, 8, 0.38) 72%, var(--glass-border));
		background:
			radial-gradient(circle at 12% 0%, rgba(255, 196, 84, 0.14), transparent 48%),
			linear-gradient(165deg, rgba(28, 32, 40, 0.98), rgba(14, 16, 22, 0.98));
		box-shadow:
			inset 0 1px 0 rgba(255, 255, 255, 0.07),
			0 10px 24px rgba(0, 0, 0, 0.24);
		color: #fff;
		overflow: hidden;
		text-decoration: none;
		box-sizing: border-box;
		transition: opacity 0.22s ease, border-color 0.2s ease;
	}

	.header-desktop-weather:hover,
	.header-desktop-weather:focus-visible {
		border-color: rgba(234, 179, 8, 0.55);
	}

	body.light .header-desktop-weather {
		border-color: color-mix(in srgb, rgba(234, 179, 8, 0.42) 70%, rgba(15, 23, 42, 0.12));
		background:
			radial-gradient(circle at 12% 0%, rgba(234, 179, 8, 0.16), transparent 48%),
			linear-gradient(165deg, rgba(255, 255, 255, 0.97), rgba(241, 245, 249, 0.97));
		box-shadow:
			inset 0 1px 0 rgba(255, 255, 255, 0.85),
			0 10px 22px rgba(15, 23, 42, 0.08);
		color: #0f172a;
	}

	.header-desktop-weather.is-fading {
		opacity: 0.38;
	}

	.header-desktop-weather__titles {
		min-width: 0;
		display: flex;
		flex-direction: column;
		gap: 0.1rem;
		flex: 0 0 auto;
		padding-top: 0;
		padding-right: 13.4rem;
	}

	.header-desktop-weather__eyebrow {
		font-size: 0.6rem;
		font-weight: 700;
		letter-spacing: 0.12em;
		text-transform: uppercase;
		color: rgba(255, 255, 255, 0.4);
		line-height: 1;
	}

	body.light .header-desktop-weather__eyebrow {
		color: rgba(15, 23, 42, 0.42);
	}

	.header-desktop-weather__city {
		font-family: 'Unbounded', 'Manrope', system-ui, sans-serif;
		font-size: clamp(0.98rem, 1.2vw, 1.15rem);
		font-weight: 700;
		line-height: 1.02;
		letter-spacing: -0.02em;
		white-space: nowrap;
		overflow: hidden;
		text-overflow: ellipsis;
	}

	.header-desktop-weather__body {
		display: block;
		min-width: 0;
		flex: 1 1 auto;
		min-height: 0;
		padding-right: 13.4rem;
	}

	.header-desktop-weather__main {
		display: flex;
		align-items: center;
		gap: 0.5rem;
		min-width: 0;
		height: 100%;
	}

	.header-desktop-weather__icon {
		flex: 0 0 auto;
		font-size: 1.45rem;
		line-height: 1;
		filter: saturate(1.2) drop-shadow(0 2px 6px rgba(255, 196, 84, 0.25));
	}

	.header-desktop-weather__temps {
		display: grid;
		grid-template-columns: auto minmax(0, 1fr);
		grid-template-areas:
			"temp desc"
			"temp feel";
		column-gap: 0.5rem;
		row-gap: 0.1rem;
		align-items: center;
		min-width: 0;
	}

	.header-desktop-weather__temp {
		grid-area: temp;
		font-size: clamp(1.28rem, 1.65vw, 1.55rem);
		font-weight: 800;
		line-height: 0.95;
		letter-spacing: -0.04em;
	}

	.header-desktop-weather__desc {
		grid-area: desc;
		font-size: clamp(0.86rem, 1.05vw, 1rem);
		font-weight: 700;
		line-height: 1.15;
		white-space: nowrap;
		overflow: hidden;
		text-overflow: ellipsis;
	}

	.header-desktop-weather__feel {
		grid-area: feel;
		font-size: 0.76rem;
		font-weight: 500;
		line-height: 1.15;
		color: rgba(255, 255, 255, 0.52);
		white-space: nowrap;
		overflow: hidden;
		text-overflow: ellipsis;
	}

	body.light .header-desktop-weather__feel {
		color: rgba(15, 23, 42, 0.52);
	}

	.header-desktop-weather__metrics {
		position: absolute;
		top: 50%;
		right: 2.85rem;
		transform: translateY(-50%);
		display: flex;
		flex-direction: column;
		justify-content: center;
		align-items: stretch;
		gap: 0.28rem;
		width: 10.2rem;
		margin: 0;
		z-index: 1;
	}

	.header-desktop-weather__metric {
		display: grid;
		grid-template-columns: auto 1fr auto;
		align-items: center;
		column-gap: 0.45rem;
		width: 100%;
		min-height: 1.45rem;
		padding: 0.16rem 0.55rem 0.16rem 0.38rem;
		border-radius: 999px;
		border: 1px solid rgba(255, 255, 255, 0.1);
		background: rgba(255, 255, 255, 0.045);
		box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.04);
		box-sizing: border-box;
	}

	body.light .header-desktop-weather__metric {
		border-color: rgba(15, 23, 42, 0.1);
		background: rgba(15, 23, 42, 0.035);
		box-shadow: none;
	}

	.header-desktop-weather__metric-ico {
		flex: 0 0 auto;
		display: inline-flex;
		align-items: center;
		justify-content: center;
		width: 0.95rem;
		height: 0.95rem;
		color: #60a5fa;
		line-height: 1;
	}

	.header-desktop-weather__metric-ico svg {
		width: 100%;
		height: 100%;
		display: block;
	}

	.header-desktop-weather__metric-copy {
		display: contents;
	}

	.header-desktop-weather__metric-label {
		font-size: 0.76rem;
		font-weight: 500;
		line-height: 1.15;
		color: #fff;
		white-space: nowrap;
		overflow: hidden;
		text-overflow: ellipsis;
		min-width: 0;
	}

	body.light .header-desktop-weather__metric-label {
		color: #0f172a;
	}

	.header-desktop-weather__metric-value {
		font-size: 0.76rem;
		font-weight: 700;
		line-height: 1.15;
		color: #fff;
		white-space: nowrap;
		letter-spacing: -0.01em;
	}

	body.light .header-desktop-weather__metric-value {
		color: #0f172a;
	}

	.header-utility-strip.header-utility-strip--stack {
		flex-direction: column;
		align-items: stretch;
		justify-content: space-between;
		gap: 0.4rem;
		height: var(--header-utility-h);
		width: 100%;
		max-width: 100%;
		box-sizing: border-box;
	}

	.header-utility-strip--stack .header-rates.header-chip {
		flex: 0 0 var(--header-chip-h);
		width: 100%;
		max-width: none;
		height: var(--header-chip-h);
		justify-content: flex-start;
		/* внутренние поля только у курсов — нижние кнопки не трогаем */
		padding: 0 0.82rem !important;
		gap: 0.5rem;
		box-sizing: border-box;
	}

	.header-utility-strip__links {
		display: flex;
		align-items: stretch;
		gap: 0.5rem;
		flex: 0 0 var(--header-chip-h);
		min-width: 0;
		height: var(--header-chip-h);
	}

	.header-utility-strip__links .header-prices-btn.header-chip,
	.header-utility-strip__links .header-traffic.header-chip {
		flex: 1 1 0;
		min-width: 0;
		justify-content: center;
		height: var(--header-chip-h);
	}

	.site-header-wrap .header-actions {
		align-items: stretch !important;
		min-height: var(--header-utility-h);
		height: var(--header-utility-h);
	}
}

/* legacy chip weather/prices row — не используется на десктопе после новой карточки */
.header-weather-prices .header-chip-scale--weather {
	flex: 1 1 0;
	min-width: 0;
	max-width: none;
}

.header-weather-prices .header-chip-scale--weather > .weather-ticker.header-chip {
	flex: 1 1 auto;
	min-width: 0;
	width: 100%;
}

.header-prices-btn.header-chip {
	flex: 0 0 auto;
	display: inline-flex;
	align-items: center;
	gap: 0.5rem;
	min-width: max-content;
	max-width: none;
	height: 40px;
	padding: 0 0.82rem;
	color: var(--text-primary);
	text-decoration: none;
	white-space: nowrap;
}

.header-prices-btn__icon {
	flex: 0 0 auto;
	display: inline-flex;
	color: var(--chip-accent);
}

.header-prices-btn__body {
	display: flex;
	flex-direction: column;
	min-width: 0;
	line-height: 1.2;
}

.header-prices-btn__line1 {
	white-space: nowrap;
}

.header-prices-btn__label--short {
	display: none;
}

.header-traffic__label--short {
	display: none;
}

/* Страница цен */
.prices-tabs-bar {
	padding: 0;
	margin: 0 0 0.85rem;
	background: transparent;
	border: none;
	box-shadow: none;
}

.prices-tabs-bar .prices-tabs {
	margin-bottom: 0;
	flex-wrap: nowrap;
	overflow-x: auto;
	-webkit-overflow-scrolling: touch;
	scrollbar-width: thin;
	gap: 0.5rem;
	padding: 0.15rem 0 0.35rem;
	mask-image: linear-gradient(to right, transparent 0, #000 12px, #000 calc(100% - 12px), transparent 100%);
}

.prices-page {
	padding: 1rem 1.05rem 1.15rem;
}

.prices-page__loading,
.prices-page__empty {
	margin: 0;
	color: var(--text-muted);
	font-size: 0.92rem;
}

.prices-page__meta {
	margin: 0 0 0.85rem;
	font-size: 0.82rem;
	color: var(--text-muted);
}

.prices-tabs {
	display: flex;
	flex-wrap: wrap;
	gap: 0.5rem;
	margin-bottom: 0;
}

.prices-tabs__btn {
	border: 1px solid rgba(120, 144, 177, 0.32);
	background: rgba(120, 144, 177, 0.06);
	color: var(--text-secondary);
	border-radius: 12px;
	padding: 0.48rem 1rem;
	font-size: 0.82rem;
	font-weight: 600;
	line-height: 1.2;
	letter-spacing: 0.01em;
	white-space: nowrap;
	cursor: pointer;
	box-shadow: none;
	transition: transform 0.18s ease, background 0.18s ease, border-color 0.18s ease, color 0.18s ease, box-shadow 0.18s ease;
}

.prices-tabs__btn:hover {
	border-color: rgba(34, 197, 94, 0.5);
	background: rgba(34, 197, 94, 0.1);
	color: var(--text-primary);
	transform: translateY(-1px);
}

.prices-tabs__btn.is-active {
	background: linear-gradient(135deg, rgba(34, 197, 94, 0.92) 0%, rgba(22, 163, 74, 0.88) 100%);
	border-color: rgba(34, 197, 94, 0.75);
	color: #fff;
	box-shadow: 0 6px 16px rgba(34, 197, 94, 0.28);
	transform: translateY(-1px);
}

body.light .prices-tabs__btn {
	background: #ffffff;
	border-color: rgba(28, 36, 48, 0.2);
	color: var(--text-primary);
	box-shadow: 0 1px 3px rgba(30, 50, 80, 0.08);
}

body.light .prices-tabs__btn:hover {
	background: rgba(34, 197, 94, 0.12);
	border-color: rgba(22, 163, 74, 0.45);
	color: #14532d;
}

body.light .prices-tabs__btn.is-active {
	background: linear-gradient(135deg, #22c55e 0%, #16a34a 100%);
	border-color: #15803d;
	color: #fff;
	box-shadow: 0 4px 14px rgba(34, 197, 94, 0.32);
}

.prices-panel {
	display: none;
}

.prices-panel.is-active {
	display: block;
}

.prices-panel__title {
	margin: 0 0 0.35rem;
	font-size: 1.05rem;
	font-weight: 800;
	letter-spacing: -0.02em;
}

.prices-panel__desc {
	margin: 0 0 0.85rem;
	font-size: 0.86rem;
	color: var(--text-muted);
	line-height: 1.45;
}

.prices-table-wrap {
	overflow-x: auto;
	-webkit-overflow-scrolling: touch;
	border-radius: 12px;
	border: 1px solid rgba(120, 144, 177, 0.22);
}

.prices-table {
	width: 100%;
	border-collapse: collapse;
	font-size: 0.84rem;
}

.prices-table th,
.prices-table td {
	padding: 0.55rem 0.65rem;
	border-bottom: 1px solid rgba(120, 144, 177, 0.16);
	vertical-align: top;
	text-align: left;
}

.prices-table thead th {
	font-size: 0.76rem;
	font-weight: 700;
	color: var(--text-muted);
	background: rgba(120, 144, 177, 0.08);
	white-space: nowrap;
}

.prices-table tbody tr:last-child th,
.prices-table tbody tr:last-child td {
	border-bottom: none;
}

.prices-table__name {
	display: block;
	font-weight: 600;
	color: var(--text-primary);
}

.prices-table__unit {
	display: block;
	margin-top: 0.12rem;
	font-size: 0.72rem;
	font-weight: 500;
	color: var(--text-muted);
}

.prices-table__qty {
	text-align: center;
	font-weight: 600;
	white-space: nowrap;
}

.prices-table__price {
	font-variant-numeric: tabular-nums;
	font-weight: 600;
	white-space: nowrap;
}

.prices-table__price--min {
	color: #16a34a;
}

.prices-table__price--total {
	font-size: 0.92rem;
	font-weight: 800;
}

.prices-table__total-row th,
.prices-table__total-row td {
	background: rgba(34, 197, 94, 0.07);
	border-top: 1px solid rgba(34, 197, 94, 0.22);
}

.prices-table--ref .prices-table__ref-value {
	font-weight: 700;
	font-variant-numeric: tabular-nums;
}

.prices-table--ref .prices-table__ref-note {
	font-size: 0.78rem;
	color: var(--text-muted);
}

.prices-side__block {
	margin-bottom: 1rem;
}

.prices-side__label {
	margin: 0 0 0.35rem;
	font-size: 0.78rem;
	font-weight: 700;
	text-transform: uppercase;
	letter-spacing: 0.04em;
	color: var(--text-muted);
}

.prices-side__list {
	margin: 0;
	padding-left: 1.1rem;
	font-size: 0.86rem;
	line-height: 1.5;
}

.prices-side__updated,
.prices-side__city,
.prices-side__note {
	margin: 0 0 0.55rem;
	font-size: 0.8rem;
	line-height: 1.45;
	color: var(--text-muted);
}

.prices-side__note {
	margin-bottom: 0;
	font-size: 0.74rem;
	opacity: 0.9;
}

@media (max-width: 991.98px) {
	.prices-page-layout > [data-prices-sidebar] {
		margin-top: 0.5rem;
	}
}

/* appstorrent.css скрывает aside до 768px включительно — override с тем же breakpoint */
@media (max-width: 768px) {
	aside.seo-article__side,
	aside.post-side-nav.news-page-side,
	aside.home-realty-layout__col,
	aside.suggest-ad-placement__cart,
	aside.news-latest-panel,
	aside.krym-latest-panel {
		visibility: visible !important;
	}

	aside.seo-article__side,
	aside.post-side-nav.news-page-side,
	aside.home-realty-layout__col,
	aside.suggest-ad-placement__cart {
		display: flex !important;
	}

	aside.news-latest-panel,
	aside.krym-latest-panel {
		display: flex !important;
	}

	body.home-page .home-krym-showcase .krym-layout > .krym-latest-panel {
		display: none !important;
	}
}

@media (max-width: 767.98px) {
	/* appstorrent.css скрывает все header на mobile — возвращаем утилитарную шапку */
	header.site-header-wrap {
		display: block !important;
		visibility: visible !important;
		overflow: visible;
	}

	/* Лендинг «Услуги»: hero тоже <header>, не скрывать */
	header.services-hero {
		display: block !important;
		visibility: visible !important;
	}

	/* appstorrent.css скрывает все aside на mobile — контентные панели оставляем */
	aside.news-latest-panel,
	aside.krym-latest-panel,
	aside.post-side-nav.news-page-side,
	aside.home-realty-layout__col,
	aside.seo-article__side,
	aside.suggest-ad-placement__cart {
		visibility: visible !important;
	}

	aside.news-latest-panel,
	aside.krym-latest-panel {
		display: flex !important;
	}

	/* Сайдбар «Топ постов» на главной скрыт и на mobile (не дублируем сетку 3×2) */
	body.home-page .home-krym-showcase .krym-layout > .krym-latest-panel {
		display: none !important;
	}

	aside.post-side-nav.news-page-side,
	aside.home-realty-layout__col,
	aside.seo-article__side,
	aside.suggest-ad-placement__cart {
		display: flex !important;
	}

	body.dark header.site-header-wrap,
	body.light header.site-header-wrap {
		padding-top: max(10px, env(safe-area-inset-top, 0px));
		padding-bottom: 8px;
		margin-bottom: 6px;
	}

	.site-header-wrap > .row.g-3.align-items-center {
		display: block;
		margin: 0;
		padding: 0;
		gap: 0 !important;
	}

	.site-header-wrap > .row.g-3.align-items-center > .col-auto.d-md-none {
		display: none !important;
	}

	.header-mobile-bar {
		display: flex;
		flex-direction: column;
		gap: 0.45rem;
		width: 100%;
	}

	.header-mobile-bar__grid {
		display: grid;
		grid-template-columns: repeat(2, minmax(0, 1fr));
		gap: 0.4rem;
		width: 100%;
	}

	.header-mobile-bar__grid > .header-mobile-chip {
		width: 100%;
		min-width: 0;
		max-width: none;
		justify-content: flex-start;
	}

	.header-mobile-chip__label {
		display: block;
		min-width: 0;
		overflow: hidden;
		text-overflow: ellipsis;
		white-space: nowrap;
		font-size: inherit;
		font-weight: inherit;
		line-height: inherit;
	}

	.site-header-wrap .header-utility-strip {
		display: none !important;
	}

	.header-mobile-bar .header-mobile-chip {
		width: 100%;
		min-width: 0;
		max-width: none;
		justify-content: flex-start;
	}

	.site-header-wrap .header-actions .dropdown,
	.site-header-wrap .header-actions .lang__btn,
	.site-header-wrap .header-actions .user__nologin,
	.site-header-wrap .vkid-auth-wrap {
		display: none !important;
	}

	.header-chip {
		height: 40px;
		padding-inline: 0.62rem;
		gap: 0.42rem;
		--chip-font-size: 11.5px;
	}

	.header-chip__badge,
	.header-chip .header-rates__icon,
	.header-chip .header-traffic__icon,
	.header-chip .header-prices-btn__icon,
	.header-chip .weather-ticker__icon {
		width: 24px;
		height: 24px;
		flex-shrink: 0;
	}

	.header-chip__icon-svg {
		width: 14px;
		height: 14px;
	}

	.header-prices-btn__label--full,
	.header-traffic__label--full {
		display: none;
	}

	.header-prices-btn__label--short,
	.header-traffic__label--short {
		display: inline;
	}

	.header-rates__body,
	.header-traffic__text,
	.header-prices-btn__body {
		min-width: 0;
		overflow: hidden;
	}

	.header-rates__line,
	.header-traffic__line1,
	.header-prices-btn__line1 {
		display: block;
		overflow: hidden;
		text-overflow: ellipsis;
		white-space: nowrap;
		font-size: inherit;
		line-height: inherit;
	}

	.site-header-wrap .search__box,
	.site-header-wrap .user__nologin .btn,
	.site-header-wrap .weather-ticker,
	.header-mobile-bar .header-chip {
		height: 40px;
	}

	.header-rates__line {
		max-width: none;
	}
}

/* iPhone / телефон в landscape: ширина ≥768, но остаёмся на mobile shell (без сайдбара, 2×2 шапка, меню через tab bar) */
@media (orientation: landscape) and (max-height: 500px) and (max-width: 932px) and (hover: none) and (pointer: coarse) and (min-width: 768px) {
	.sidebar-desktop {
		display: none !important;
	}

	main.main-col,
	body.has-tabbar .container > .row.g-5 > main.main-col {
		flex: 0 0 100% !important;
		max-width: 100% !important;
		width: 100% !important;
		margin-left: 0 !important;
	}

	body.has-tabbar .tab-bar {
		left: 0 !important;
		right: 0 !important;
		width: auto !important;
	}

	header.site-header-wrap {
		display: block !important;
		visibility: visible !important;
		overflow: visible;
	}

	header.services-hero {
		display: block !important;
		visibility: visible !important;
	}

	body.dark header.site-header-wrap,
	body.light header.site-header-wrap {
		padding-top: max(10px, env(safe-area-inset-top, 0px));
		padding-bottom: 8px;
		margin-bottom: 6px;
	}

	.site-header-wrap > .row.g-3.align-items-center {
		display: block !important;
		margin: 0;
		padding: 0;
		gap: 0 !important;
	}

	.site-header-wrap > .row.g-3.align-items-center > .col-auto.d-md-none {
		display: none !important;
	}

	.site-header-wrap .search__box .header-weather-prices,
	.site-header-wrap .header-utility-strip {
		display: none !important;
	}

	.header-mobile-bar {
		display: flex;
		flex-direction: column;
		gap: 0.45rem;
		width: 100%;
	}

	.header-mobile-bar__grid {
		display: grid;
		grid-template-columns: repeat(2, minmax(0, 1fr));
		gap: 0.4rem;
		width: 100%;
	}

	.header-mobile-bar__grid > .header-mobile-chip,
	.header-mobile-bar .header-mobile-chip {
		width: 100%;
		min-width: 0;
		max-width: none;
		justify-content: flex-start;
	}

	.header-mobile-chip__label {
		display: block;
		min-width: 0;
		overflow: hidden;
		text-overflow: ellipsis;
		white-space: nowrap;
		font-size: inherit;
		font-weight: inherit;
		line-height: inherit;
	}

	.site-header-wrap .header-actions .dropdown,
	.site-header-wrap .header-actions .lang__btn,
	.site-header-wrap .header-actions .user__nologin,
	.site-header-wrap .vkid-auth-wrap {
		display: none !important;
	}

	.header-mobile-bar .header-chip,
	.site-header-wrap .search__box,
	.site-header-wrap .user__nologin .btn,
	.site-header-wrap .weather-ticker {
		height: 40px;
	}

	.header-chip {
		height: 40px;
		padding-inline: 0.62rem;
		gap: 0.42rem;
		--chip-font-size: 11.5px;
	}

	.header-chip__badge,
	.header-chip .header-rates__icon,
	.header-chip .header-traffic__icon,
	.header-chip .header-prices-btn__icon,
	.header-chip .weather-ticker__icon {
		width: 24px;
		height: 24px;
		flex-shrink: 0;
	}

	.header-chip__icon-svg {
		width: 14px;
		height: 14px;
	}

	.mobile-site-menu__footer-dock {
		padding:
			8px 10px
			calc(8px + env(safe-area-inset-bottom, 0px));
	}
}

/* Страница погоды */
.weather-page {
	padding: clamp(0.95rem, 2vw, 1.25rem);
}

.weather-page__head {
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 0.75rem;
	margin-bottom: 1rem;
}

.weather-page__meta {
	margin: 0;
	font-size: 0.8rem;
	line-height: 1.45;
	color: var(--text-muted);
}

.weather-page__live {
	display: inline-flex;
	align-items: center;
	gap: 0.35rem;
	flex: 0 0 auto;
	padding: 0.28rem 0.55rem;
	border-radius: 999px;
	font-size: 0.68rem;
	font-weight: 700;
	letter-spacing: 0.06em;
	text-transform: uppercase;
	color: #7dd3fc;
	border: 1px solid rgba(56, 189, 248, 0.35);
	background: rgba(56, 189, 248, 0.1);
}

.weather-page__live-dot {
	width: 0.45rem;
	height: 0.45rem;
	border-radius: 50%;
	background: #38bdf8;
	box-shadow: 0 0 8px rgba(56, 189, 248, 0.85);
	animation: weather-live-pulse 1.8s ease-in-out infinite;
}

@keyframes weather-live-pulse {
	0%, 100% { opacity: 1; transform: scale(1); }
	50% { opacity: 0.55; transform: scale(0.88); }
}

.weather-page__loading,
.weather-page__error {
	margin: 0;
	color: var(--text-muted);
	font-size: 0.92rem;
}

.weather-page__error {
	color: #f87171;
}

.weather-panel {
	display: none;
}

.weather-panel.is-active {
	display: block;
}

/* Вкладки городов на странице погоды */
.weather-page-layout .weather-tabs-bar {
	margin: 0 0 1rem;
	padding: 0.65rem 0.75rem;
	border-radius: 18px;
	border: 1px solid rgba(125, 141, 165, 0.28);
	background:
		radial-gradient(120% 120% at 0% 0%, rgba(39, 135, 245, 0.08), transparent 55%),
		var(--glass-bg);
	box-shadow: var(--glass-shadow);
}

.weather-page-layout .weather-tabs {
	display: flex;
	flex-wrap: nowrap;
	gap: 0.45rem;
	margin: 0;
	padding: 0.1rem 0 0.2rem;
	overflow-x: auto;
	-webkit-overflow-scrolling: touch;
	scroll-snap-type: x proximity;
	scrollbar-width: thin;
	mask-image: linear-gradient(to right, transparent 0, #000 10px, #000 calc(100% - 10px), transparent 100%);
}

.weather-page-layout .weather-tabs__btn {
	display: inline-flex;
	flex-direction: column;
	align-items: flex-start;
	justify-content: center;
	gap: 0.08rem;
	flex: 0 0 auto;
	min-height: 2.55rem;
	padding: 0.48rem 0.85rem;
	border-radius: 999px;
	border: 1px solid rgba(125, 141, 165, 0.28);
	background: rgba(255, 255, 255, 0.03);
	color: var(--text-secondary);
	font: inherit;
	font-size: 0.8rem;
	font-weight: 650;
	line-height: 1.15;
	letter-spacing: 0.01em;
	white-space: nowrap;
	cursor: pointer;
	scroll-snap-align: start;
	transition:
		transform 0.18s ease,
		border-color 0.18s ease,
		background 0.18s ease,
		color 0.18s ease,
		box-shadow 0.18s ease;
}

.weather-page-layout .weather-tabs__btn:hover {
	border-color: rgba(39, 135, 245, 0.42);
	background: rgba(39, 135, 245, 0.1);
	color: var(--text-primary);
	transform: translateY(-1px);
}

.weather-page-layout .weather-tabs__btn.is-active {
	border-color: rgba(39, 135, 245, 0.72);
	background: linear-gradient(135deg, rgba(39, 135, 245, 0.98) 0%, rgba(13, 110, 220, 0.94) 100%);
	color: #fff;
	box-shadow:
		0 8px 22px rgba(39, 135, 245, 0.28),
		inset 0 1px 0 rgba(255, 255, 255, 0.18);
	transform: translateY(-1px);
}

.weather-page-layout .weather-tabs__btn-name {
	display: block;
}

.weather-page-layout .weather-tabs__btn-temp {
	display: block;
	min-height: 0.95rem;
	font-size: 0.72rem;
	font-weight: 800;
	font-variant-numeric: tabular-nums;
	letter-spacing: 0.02em;
	opacity: 0;
	transition: opacity 0.2s ease;
}

.weather-page-layout .weather-tabs__btn-temp:not(:empty) {
	opacity: 0.82;
}

.weather-page-layout .weather-tabs__btn.is-active .weather-tabs__btn-temp:not(:empty) {
	opacity: 0.95;
	color: rgba(255, 255, 255, 0.92);
}

body.light .weather-page-layout .weather-tabs-bar {
	background:
		radial-gradient(120% 120% at 0% 0%, rgba(39, 135, 245, 0.06), transparent 55%),
		rgba(255, 255, 255, 0.92);
	border-color: rgba(28, 36, 48, 0.12);
}

body.light .weather-page-layout .weather-tabs__btn {
	background: rgba(255, 255, 255, 0.88);
	border-color: rgba(28, 36, 48, 0.14);
	color: var(--text-primary);
	box-shadow: 0 1px 3px rgba(30, 50, 80, 0.06);
}

body.light .weather-page-layout .weather-tabs__btn:hover {
	background: rgba(39, 135, 245, 0.08);
	border-color: rgba(39, 135, 245, 0.32);
}

body.light .weather-page-layout .weather-tabs__btn.is-active {
	background: linear-gradient(135deg, #2787f5 0%, #0873d4 100%);
	border-color: #0873d4;
	color: #fff;
	box-shadow: 0 6px 18px rgba(39, 135, 245, 0.28);
}

@media (max-width: 575.98px) {
	.weather-page-layout .weather-tabs-bar {
		padding: 0.55rem 0.6rem;
		border-radius: 16px;
	}

	.weather-page-layout .weather-tabs__btn {
		min-height: 2.35rem;
		padding: 0.42rem 0.72rem;
		font-size: 0.76rem;
	}
}

/* Утилитарные страницы: цены, курсы, пробки */
.utility-page__head {
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 0.75rem;
	margin-bottom: 1rem;
}

.utility-page__meta {
	margin: 0;
	font-size: 0.8rem;
	line-height: 1.45;
	color: var(--text-muted);
}

.utility-page__live {
	display: inline-flex;
	align-items: center;
	gap: 0.35rem;
	flex: 0 0 auto;
	padding: 0.28rem 0.55rem;
	border-radius: 999px;
	font-size: 0.68rem;
	font-weight: 700;
	letter-spacing: 0.06em;
	text-transform: uppercase;
	border: 1px solid transparent;
}

.utility-page__live-dot {
	width: 0.45rem;
	height: 0.45rem;
	border-radius: 50%;
	animation: weather-live-pulse 1.8s ease-in-out infinite;
}

.utility-page__live--prices {
	color: #86efac;
	border-color: rgba(34, 197, 94, 0.35);
	background: rgba(34, 197, 94, 0.1);
}

.utility-page__live--prices .utility-page__live-dot {
	background: #22c55e;
	box-shadow: 0 0 8px rgba(34, 197, 94, 0.85);
}

.utility-page__live--rates {
	color: #fcd34d;
	border-color: rgba(245, 158, 11, 0.38);
	background: rgba(245, 158, 11, 0.1);
}

.utility-page__live--rates .utility-page__live-dot {
	background: #f59e0b;
	box-shadow: 0 0 8px rgba(245, 158, 11, 0.85);
}

.utility-page__live--traffic {
	color: #fdba74;
	border-color: rgba(249, 115, 22, 0.38);
	background: rgba(249, 115, 22, 0.1);
}

.utility-page__live--traffic .utility-page__live-dot {
	background: #f97316;
	box-shadow: 0 0 8px rgba(249, 115, 22, 0.85);
}

.utility-page__section {
	margin-top: 1rem;
}

.utility-page__section-title {
	margin: 0 0 0.65rem;
	font-size: 0.95rem;
	font-weight: 700;
	color: var(--text-primary);
}

.prices-page-layout .utility-tabs-bar,
.rates-page-layout .utility-tabs-bar,
.traffic-page-layout .utility-tabs-bar {
	margin: 0 0 1rem;
	padding: 0.65rem 0.75rem;
	border-radius: 18px;
	border: 1px solid rgba(125, 141, 165, 0.28);
	box-shadow: var(--glass-shadow);
}

.prices-page-layout .utility-tabs-bar {
	background:
		radial-gradient(120% 120% at 0% 0%, rgba(34, 197, 94, 0.08), transparent 55%),
		var(--glass-bg);
}

.rates-page-layout .utility-tabs-bar {
	background:
		radial-gradient(120% 120% at 0% 0%, rgba(245, 158, 11, 0.08), transparent 55%),
		var(--glass-bg);
}

.traffic-page-layout .utility-tabs-bar {
	background:
		radial-gradient(120% 120% at 0% 0%, rgba(249, 115, 22, 0.08), transparent 55%),
		var(--glass-bg);
}

.prices-page-layout .utility-tabs,
.rates-page-layout .utility-tabs,
.traffic-page-layout .utility-tabs {
	display: flex;
	flex-wrap: nowrap;
	gap: 0.45rem;
	margin: 0;
	padding: 0.1rem 0 0.2rem;
	overflow-x: auto;
	-webkit-overflow-scrolling: touch;
	scroll-snap-type: x proximity;
	scrollbar-width: thin;
	mask-image: linear-gradient(to right, transparent 0, #000 10px, #000 calc(100% - 10px), transparent 100%);
}

.prices-page-layout .utility-tabs__btn,
.rates-page-layout .utility-tabs__btn,
.traffic-page-layout .utility-tabs__btn {
	display: inline-flex;
	flex-direction: column;
	align-items: flex-start;
	justify-content: center;
	gap: 0.08rem;
	flex: 0 0 auto;
	min-height: 2.55rem;
	padding: 0.48rem 0.85rem;
	border-radius: 999px;
	border: 1px solid rgba(125, 141, 165, 0.28);
	background: rgba(255, 255, 255, 0.03);
	color: var(--text-secondary);
	font: inherit;
	font-size: 0.8rem;
	font-weight: 650;
	line-height: 1.15;
	letter-spacing: 0.01em;
	white-space: nowrap;
	cursor: pointer;
	scroll-snap-align: start;
	transition:
		transform 0.18s ease,
		border-color 0.18s ease,
		background 0.18s ease,
		color 0.18s ease,
		box-shadow 0.18s ease;
}

.prices-page-layout .utility-tabs__btn:hover {
	border-color: rgba(34, 197, 94, 0.42);
	background: rgba(34, 197, 94, 0.1);
	color: var(--text-primary);
	transform: translateY(-1px);
}

.rates-page-layout .utility-tabs__btn:hover {
	border-color: rgba(245, 158, 11, 0.42);
	background: rgba(245, 158, 11, 0.1);
	color: var(--text-primary);
	transform: translateY(-1px);
}

.traffic-page-layout .utility-tabs__btn:hover {
	border-color: rgba(249, 115, 22, 0.42);
	background: rgba(249, 115, 22, 0.1);
	color: var(--text-primary);
	transform: translateY(-1px);
}

.prices-page-layout .utility-tabs__btn.is-active {
	border-color: rgba(34, 197, 94, 0.72);
	background: linear-gradient(135deg, rgba(34, 197, 94, 0.98) 0%, rgba(22, 163, 74, 0.94) 100%);
	color: #fff;
	box-shadow: 0 8px 22px rgba(34, 197, 94, 0.28), inset 0 1px 0 rgba(255, 255, 255, 0.18);
	transform: translateY(-1px);
}

.rates-page-layout .utility-tabs__btn.is-active {
	border-color: rgba(245, 158, 11, 0.72);
	background: linear-gradient(135deg, rgba(245, 158, 11, 0.98) 0%, rgba(217, 119, 6, 0.94) 100%);
	color: #fff;
	box-shadow: 0 8px 22px rgba(245, 158, 11, 0.28), inset 0 1px 0 rgba(255, 255, 255, 0.18);
	transform: translateY(-1px);
}

.traffic-page-layout .utility-tabs__btn.is-active {
	border-color: rgba(249, 115, 22, 0.72);
	background: linear-gradient(135deg, rgba(249, 115, 22, 0.98) 0%, rgba(234, 88, 12, 0.94) 100%);
	color: #fff;
	box-shadow: 0 8px 22px rgba(249, 115, 22, 0.28), inset 0 1px 0 rgba(255, 255, 255, 0.18);
	transform: translateY(-1px);
}

.utility-tabs__btn-name {
	display: block;
}

.utility-tabs__btn-badge {
	display: block;
	min-height: 0.95rem;
	font-size: 0.72rem;
	font-weight: 800;
	font-variant-numeric: tabular-nums;
	letter-spacing: 0.02em;
	opacity: 0;
	transition: opacity 0.2s ease;
}

.utility-tabs__btn-badge:not(:empty) {
	opacity: 0.82;
}

.utility-tabs__btn.is-active .utility-tabs__btn-badge:not(:empty) {
	opacity: 0.95;
	color: rgba(255, 255, 255, 0.92);
}

body.light .prices-page-layout .utility-tabs-bar,
body.light .rates-page-layout .utility-tabs-bar,
body.light .traffic-page-layout .utility-tabs-bar {
	border-color: rgba(28, 36, 48, 0.12);
}

body.light .prices-page-layout .utility-tabs-bar {
	background:
		radial-gradient(120% 120% at 0% 0%, rgba(34, 197, 94, 0.06), transparent 55%),
		rgba(255, 255, 255, 0.92);
}

body.light .rates-page-layout .utility-tabs-bar {
	background:
		radial-gradient(120% 120% at 0% 0%, rgba(245, 158, 11, 0.06), transparent 55%),
		rgba(255, 255, 255, 0.92);
}

body.light .traffic-page-layout .utility-tabs-bar {
	background:
		radial-gradient(120% 120% at 0% 0%, rgba(249, 115, 22, 0.06), transparent 55%),
		rgba(255, 255, 255, 0.92);
}

body.light .prices-page-layout .utility-tabs__btn,
body.light .rates-page-layout .utility-tabs__btn,
body.light .traffic-page-layout .utility-tabs__btn {
	background: rgba(255, 255, 255, 0.88);
	border-color: rgba(28, 36, 48, 0.14);
	color: var(--text-primary);
	box-shadow: 0 1px 3px rgba(30, 50, 80, 0.06);
}

@media (max-width: 575.98px) {
	.utility-page__head {
		flex-direction: column;
		align-items: flex-start;
	}

	.prices-page-layout .utility-tabs-bar,
	.rates-page-layout .utility-tabs-bar,
	.traffic-page-layout .utility-tabs-bar {
		padding: 0.55rem 0.6rem;
		border-radius: 16px;
	}

	.prices-page-layout .utility-tabs__btn,
	.rates-page-layout .utility-tabs__btn,
	.traffic-page-layout .utility-tabs__btn {
		min-height: 2.35rem;
		padding: 0.42rem 0.72rem;
		font-size: 0.76rem;
	}
}

/* Hero — утилитарные страницы */
.utility-hero {
	position: relative;
	overflow: hidden;
	margin-bottom: 1.15rem;
	padding: 1rem 1.05rem 0.95rem;
	border-radius: 18px;
	border: 1px solid rgba(125, 141, 165, 0.28);
	box-shadow: var(--glass-shadow);
}

.utility-hero__glow {
	position: absolute;
	inset: -20% -10% auto;
	height: 70%;
	pointer-events: none;
	opacity: 0.55;
	background: radial-gradient(ellipse at 50% 0%, rgba(255, 255, 255, 0.14), transparent 68%);
}

.utility-hero--prices {
	background:
		radial-gradient(120% 85% at 100% 0%, rgba(34, 197, 94, 0.18), transparent 58%),
		radial-gradient(90% 70% at 0% 100%, rgba(74, 222, 128, 0.1), transparent 52%),
		var(--glass-bg);
}

.utility-hero--rates {
	background:
		radial-gradient(120% 85% at 100% 0%, rgba(245, 158, 11, 0.2), transparent 58%),
		radial-gradient(90% 70% at 0% 100%, rgba(251, 191, 36, 0.12), transparent 52%),
		var(--glass-bg);
}

.utility-hero--traffic {
	background:
		radial-gradient(120% 85% at 100% 0%, rgba(249, 115, 22, 0.2), transparent 58%),
		radial-gradient(90% 70% at 0% 100%, rgba(251, 146, 60, 0.12), transparent 52%),
		var(--glass-bg);
}

.utility-hero__top {
	position: relative;
	z-index: 1;
	display: flex;
	align-items: flex-start;
	justify-content: space-between;
	gap: 0.75rem;
	margin-bottom: 0.85rem;
}

.utility-hero__intro {
	min-width: 0;
}

.utility-hero__eyebrow {
	display: block;
	margin-bottom: 0.2rem;
	font-size: 0.72rem;
	font-weight: 700;
	letter-spacing: 0.06em;
	text-transform: uppercase;
	color: var(--text-muted);
}

.utility-hero__title {
	margin: 0;
	font-family: 'Unbounded', 'Manrope', system-ui, sans-serif;
	font-size: clamp(1.05rem, 2.8vw, 1.35rem);
	font-weight: 800;
	line-height: 1.15;
	letter-spacing: -0.03em;
	color: var(--text-primary);
}

.utility-hero__desc {
	margin: 0.35rem 0 0;
	max-width: 36rem;
	font-size: 0.84rem;
	line-height: 1.45;
	color: var(--text-secondary);
}

.utility-hero__link {
	flex: 0 0 auto;
	align-self: flex-start;
	padding: 0.35rem 0.65rem;
	border-radius: 999px;
	font-size: 0.76rem;
	font-weight: 650;
	color: var(--text-primary);
	text-decoration: none;
	border: 1px solid rgba(125, 141, 165, 0.28);
	background: rgba(255, 255, 255, 0.04);
	transition: border-color 0.18s ease, background 0.18s ease;
}

.utility-hero__link:hover {
	border-color: rgba(249, 115, 22, 0.42);
	background: rgba(249, 115, 22, 0.08);
	color: var(--text-primary);
	text-decoration: none;
}

.utility-hero__main {
	position: relative;
	z-index: 1;
	display: flex;
	align-items: center;
	gap: 1rem;
	margin-bottom: 0.85rem;
}

.utility-hero__icon {
	flex: 0 0 auto;
	width: 3.5rem;
	height: 3.5rem;
	display: grid;
	place-items: center;
	border-radius: 50%;
	font-size: 1.45rem;
	font-weight: 700;
	border: 1px solid rgba(125, 141, 165, 0.28);
	background: rgba(255, 255, 255, 0.06);
}

.utility-hero--rates .utility-hero__icon {
	background: rgba(245, 158, 11, 0.14);
	border-color: rgba(245, 158, 11, 0.28);
}

.utility-hero--traffic .utility-hero__icon {
	font-size: 1.65rem;
	background: rgba(249, 115, 22, 0.14);
	border-color: rgba(249, 115, 22, 0.28);
}

.utility-hero__reading {
	min-width: 0;
}

.utility-hero__value {
	margin: 0;
	font-family: 'Unbounded', 'Manrope', system-ui, sans-serif;
	font-size: clamp(1.65rem, 4.5vw, 2.35rem);
	font-weight: 800;
	line-height: 1.05;
	letter-spacing: -0.04em;
	color: var(--text-primary);
	font-variant-numeric: tabular-nums;
}

.utility-hero__hint,
.utility-hero__nominal {
	margin: 0.25rem 0 0;
	font-size: 0.82rem;
	color: var(--text-muted);
}

.utility-hero__change {
	margin: 0.35rem 0 0;
	font-size: 0.82rem;
	font-weight: 600;
}

.utility-hero__change--up { color: #ef4444; }
.utility-hero__change--down { color: #22c55e; }
.utility-hero__change--flat { color: var(--text-muted); }

.utility-hero__metrics {
	position: relative;
	z-index: 1;
	display: grid;
	grid-template-columns: repeat(3, minmax(0, 1fr));
	gap: 0.55rem;
}

.utility-hero__metric {
	min-width: 0;
	padding: 0.65rem 0.7rem;
	border-radius: 12px;
	border: 1px solid rgba(125, 141, 165, 0.22);
	background: rgba(255, 255, 255, 0.04);
}

.utility-hero__metric-label {
	display: block;
	font-size: 0.72rem;
	color: var(--text-muted);
	margin-bottom: 0.15rem;
}

.utility-hero__metric-value {
	display: block;
	font-size: 0.88rem;
	font-weight: 700;
	color: var(--text-primary);
	font-variant-numeric: tabular-nums;
}

.rates-conv-grid {
	display: grid;
	grid-template-columns: repeat(auto-fill, minmax(7.5rem, 1fr));
	gap: 0.55rem;
}

.rates-conv-card {
	display: flex;
	flex-direction: column;
	gap: 0.2rem;
	padding: 0.65rem 0.75rem;
	border-radius: 12px;
	border: 1px solid rgba(125, 141, 165, 0.22);
	background: rgba(255, 255, 255, 0.04);
}

.rates-conv-card__amount {
	font-size: 0.76rem;
	font-weight: 650;
	color: var(--text-muted);
}

.rates-conv-card__value {
	font-size: 0.92rem;
	font-weight: 800;
	color: var(--text-primary);
	font-variant-numeric: tabular-nums;
}

.traffic-page__map {
	min-height: min(68vh, 640px);
}

@media (max-width: 767.98px) {
	.utility-hero__metrics {
		grid-template-columns: 1fr;
	}

	.utility-hero__main {
		flex-direction: column;
		align-items: flex-start;
	}
}

/* Hero — текущая погода */
.weather-hero {
	position: relative;
	overflow: hidden;
	margin-bottom: 1.15rem;
	padding: 1rem 1.05rem 0.95rem;
	border-radius: 18px;
	border: 1px solid rgba(125, 141, 165, 0.28);
	background:
		radial-gradient(120% 80% at 100% 0%, rgba(39, 135, 245, 0.18), transparent 55%),
		radial-gradient(90% 70% at 0% 100%, rgba(56, 189, 248, 0.1), transparent 52%),
		var(--glass-bg);
	box-shadow: var(--glass-shadow);
}

.weather-hero__glow {
	position: absolute;
	inset: -20% -10% auto;
	height: 70%;
	pointer-events: none;
	opacity: 0.55;
	background: radial-gradient(ellipse at 50% 0%, rgba(255, 255, 255, 0.14), transparent 68%);
}

.weather-hero--clear {
	background:
		radial-gradient(120% 85% at 100% 0%, rgba(251, 191, 36, 0.16), transparent 58%),
		radial-gradient(90% 70% at 0% 100%, rgba(56, 189, 248, 0.12), transparent 52%),
		var(--glass-bg);
}

.weather-hero--rain,
.weather-hero--storm {
	background:
		radial-gradient(120% 85% at 100% 0%, rgba(59, 130, 246, 0.2), transparent 58%),
		radial-gradient(90% 70% at 0% 100%, rgba(100, 116, 139, 0.16), transparent 52%),
		var(--glass-bg);
}

.weather-hero--snow {
	background:
		radial-gradient(120% 85% at 100% 0%, rgba(186, 230, 253, 0.2), transparent 58%),
		radial-gradient(90% 70% at 0% 100%, rgba(148, 163, 184, 0.12), transparent 52%),
		var(--glass-bg);
}

.weather-hero--fog,
.weather-hero--cloud {
	background:
		radial-gradient(120% 85% at 100% 0%, rgba(148, 163, 184, 0.16), transparent 58%),
		radial-gradient(90% 70% at 0% 100%, rgba(100, 116, 139, 0.1), transparent 52%),
		var(--glass-bg);
}

.weather-hero__top {
	position: relative;
	z-index: 1;
	display: flex;
	align-items: flex-start;
	justify-content: space-between;
	gap: 0.75rem;
	margin-bottom: 0.85rem;
}

.weather-hero__eyebrow {
	display: block;
	margin-bottom: 0.15rem;
	font-size: 0.68rem;
	font-weight: 700;
	letter-spacing: 0.08em;
	text-transform: uppercase;
	color: var(--text-muted);
}

.weather-hero__title {
	margin: 0;
	font-family: 'Unbounded', 'Manrope', system-ui, sans-serif;
	font-size: clamp(1rem, 2vw, 1.15rem);
	font-weight: 700;
	letter-spacing: -0.03em;
	line-height: 1.2;
	color: var(--text-primary);
}

.weather-hero__news {
	flex: 0 0 auto;
	align-self: center;
	padding: 0.38rem 0.65rem;
	border-radius: 999px;
	font-size: 0.74rem;
	font-weight: 600;
	text-decoration: none;
	color: var(--text-secondary);
	border: 1px solid rgba(125, 141, 165, 0.35);
	background: rgba(255, 255, 255, 0.04);
	transition: border-color 0.18s ease, color 0.18s ease, background 0.18s ease;
}

.weather-hero__news:hover {
	color: var(--text-primary);
	border-color: rgba(39, 135, 245, 0.45);
	background: rgba(39, 135, 245, 0.1);
}

.weather-hero__main {
	position: relative;
	z-index: 1;
	display: flex;
	align-items: center;
	gap: 1rem;
	margin-bottom: 1rem;
}

.weather-hero__emoji {
	flex: 0 0 auto;
	font-size: clamp(3rem, 8vw, 4.25rem);
	line-height: 1;
	filter: drop-shadow(0 8px 18px rgba(8, 12, 22, 0.18));
}

.weather-hero__reading {
	min-width: 0;
}

.weather-hero__temp {
	margin: 0;
	font-family: 'Unbounded', 'Manrope', system-ui, sans-serif;
	font-size: clamp(2.6rem, 7vw, 3.6rem);
	font-weight: 800;
	line-height: 1;
	letter-spacing: -0.05em;
	color: var(--text-primary);
}

.weather-hero__condition {
	margin: 0.35rem 0 0;
	font-size: 1rem;
	font-weight: 650;
	color: var(--text-secondary);
	text-transform: capitalize;
}

.weather-hero__feel {
	margin: 0.25rem 0 0;
	font-size: 0.82rem;
	color: var(--text-muted);
}

.weather-hero__metrics {
	position: relative;
	z-index: 1;
	display: grid;
	grid-template-columns: repeat(3, minmax(0, 1fr));
	gap: 0.55rem;
}

.weather-hero__metric {
	display: flex;
	align-items: flex-start;
	gap: 0.55rem;
	min-width: 0;
	padding: 0.65rem 0.7rem;
	border-radius: 14px;
	border: 1px solid rgba(125, 141, 165, 0.22);
	background: rgba(255, 255, 255, 0.04);
}

.weather-hero__metric-icon {
	flex: 0 0 auto;
	display: flex;
	align-items: center;
	justify-content: center;
	width: 2rem;
	height: 2rem;
	border-radius: 10px;
	color: #60a5fa;
	background: rgba(39, 135, 245, 0.12);
}

.weather-hero__metric-body {
	min-width: 0;
	display: flex;
	flex-direction: column;
	gap: 0.12rem;
}

.weather-hero__metric-label {
	font-size: 0.68rem;
	font-weight: 500;
	color: var(--text-muted);
}

.weather-hero__metric-value {
	font-size: 0.78rem;
	font-weight: 700;
	line-height: 1.25;
	font-variant-numeric: tabular-nums;
	color: var(--text-primary);
	word-break: break-word;
}

.weather-hero__updated {
	position: relative;
	z-index: 1;
	margin: 0.75rem 0 0;
	padding-top: 0.65rem;
	border-top: 1px solid rgba(125, 141, 165, 0.18);
	font-size: 0.72rem;
	color: var(--text-muted);
}

.weather-page__section {
	margin-top: 1.25rem;
}

.weather-page__section-head {
	display: flex;
	align-items: baseline;
	justify-content: space-between;
	gap: 0.5rem;
	margin-bottom: 0.7rem;
}

.weather-page__section-title {
	margin: 0;
	font-family: 'Unbounded', 'Manrope', system-ui, sans-serif;
	font-size: 0.92rem;
	font-weight: 700;
	letter-spacing: -0.02em;
	color: var(--text-primary);
}

.weather-page__section-hint {
	flex: 0 0 auto;
	font-size: 0.72rem;
	color: var(--text-muted);
	opacity: 0.85;
}

/* Почасовой прогноз */
.weather-hourly--page {
	display: flex;
	gap: 0.55rem;
	overflow-x: auto;
	-webkit-overflow-scrolling: touch;
	padding: 0.15rem 0.1rem 0.35rem;
	scroll-snap-type: x mandatory;
	scrollbar-width: thin;
}

.weather-hourly--page .weather-hourly__item {
	flex: 0 0 auto;
	min-width: 4.5rem;
	padding: 0.65rem 0.5rem;
	border-radius: 14px;
	border: 1px solid rgba(125, 141, 165, 0.22);
	background: rgba(255, 255, 255, 0.03);
	text-align: center;
	scroll-snap-align: start;
	transition: border-color 0.18s ease, background 0.18s ease, transform 0.18s ease;
}

.weather-hourly--page .weather-hourly__item.is-now {
	border-color: rgba(39, 135, 245, 0.45);
	background: rgba(39, 135, 245, 0.12);
	box-shadow: 0 6px 18px rgba(39, 135, 245, 0.12);
}

.weather-hourly__time {
	display: block;
	font-size: 0.7rem;
	font-weight: 600;
	color: var(--text-muted);
}

.weather-hourly--page .weather-hourly__item.is-now .weather-hourly__time {
	color: #7dd3fc;
}

.weather-hourly__emoji {
	display: block;
	margin: 0.25rem 0;
	font-size: 1.35rem;
	line-height: 1;
}

.weather-hourly__temp {
	display: block;
	font-size: 0.9rem;
	font-weight: 800;
	color: var(--text-primary);
	font-variant-numeric: tabular-nums;
}

.weather-hourly__precip {
	display: block;
	margin-top: 0.18rem;
	font-size: 0.68rem;
	font-weight: 600;
	color: #7dd3fc;
}

.weather-hourly__precip--empty {
	opacity: 0.25;
	color: var(--text-muted);
}

/* Недельный прогноз — карточки */
.weather-week {
	display: grid;
	grid-template-columns: repeat(7, minmax(0, 1fr));
	gap: 0.45rem;
}

.weather-week__day {
	display: flex;
	flex-direction: column;
	align-items: center;
	gap: 0.2rem;
	min-width: 0;
	padding: 0.65rem 0.35rem;
	border-radius: 14px;
	border: 1px solid rgba(125, 141, 165, 0.22);
	background: rgba(255, 255, 255, 0.03);
	text-align: center;
}

.weather-week__day.is-today {
	border-color: rgba(39, 135, 245, 0.42);
	background: rgba(39, 135, 245, 0.1);
}

.weather-week__label {
	font-size: 0.68rem;
	font-weight: 700;
	color: var(--text-muted);
	line-height: 1.2;
}

.weather-week__day.is-today .weather-week__label {
	color: #7dd3fc;
}

.weather-week__emoji {
	font-size: 1.35rem;
	line-height: 1;
}

.weather-week__cond {
	display: none;
}

.weather-week__temps {
	display: flex;
	align-items: center;
	gap: 0.35rem;
	margin-top: 0.1rem;
}

.weather-week__temp-max {
	font-size: 0.86rem;
	font-weight: 800;
	color: var(--text-primary);
	font-variant-numeric: tabular-nums;
}

.weather-week__temp-min {
	font-size: 0.78rem;
	font-weight: 600;
	color: var(--text-muted);
	font-variant-numeric: tabular-nums;
}

.weather-week__meta {
	display: flex;
	flex-direction: column;
	gap: 0.12rem;
	margin-top: 0.15rem;
	width: 100%;
}

.weather-week__precip,
.weather-week__wind {
	font-size: 0.62rem;
	font-weight: 600;
	color: var(--text-muted);
	font-variant-numeric: tabular-nums;
	white-space: nowrap;
	overflow: hidden;
	text-overflow: ellipsis;
	max-width: 100%;
}

body.light .weather-hero__metric,
body.light .weather-hourly--page .weather-hourly__item,
body.light .weather-week__day {
	background: rgba(255, 255, 255, 0.72);
	border-color: rgba(28, 36, 48, 0.12);
}

body.light .weather-hourly--page .weather-hourly__item.is-now,
body.light .weather-week__day.is-today {
	background: rgba(39, 135, 245, 0.08);
	border-color: rgba(39, 135, 245, 0.28);
}

@media (max-width: 991.98px) {
	.weather-week {
		grid-template-columns: repeat(4, minmax(0, 1fr));
	}
}

@media (max-width: 575.98px) {
	.weather-hero__metrics {
		grid-template-columns: 1fr;
	}

	.weather-hero__main {
		flex-direction: column;
		align-items: flex-start;
		gap: 0.35rem;
	}

	.weather-hero__emoji {
		font-size: 2.75rem;
	}

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

	.weather-page__head {
		flex-direction: column;
		align-items: flex-start;
	}
}

.header-weather-link {
	display: block;
	flex: 1 1 auto;
	min-width: 0;
	color: inherit;
	text-decoration: none;
}

.header-weather-link:hover,
.header-weather-link:focus-visible {
	color: inherit;
	text-decoration: none;
}

@media (max-width: 767.98px) {
	.weather-page-layout > .col-lg-5 {
		order: 3;
	}
}

/* Страница курсов валют */
.rates-page {
	padding: 1rem 1.05rem 1.15rem;
}

.rates-page__loading,
.rates-page__error {
	margin: 0;
	font-size: 0.92rem;
	color: var(--text-muted);
}

.rates-page__error {
	color: #f87171;
}

.rates-page__hero {
	display: flex;
	align-items: center;
	gap: 1rem;
	margin-bottom: 1rem;
	padding: 0.85rem 1rem;
	border-radius: 14px;
	border: 1px solid rgba(120, 144, 177, 0.22);
	background: rgba(120, 144, 177, 0.06);
}

.rates-page__symbol {
	flex-shrink: 0;
	width: 3.5rem;
	height: 3.5rem;
	display: grid;
	place-items: center;
	border-radius: 50%;
	font-size: 1.45rem;
	font-weight: 700;
	background: rgba(59, 130, 246, 0.14);
	border: 1px solid rgba(59, 130, 246, 0.28);
	color: var(--text-primary);
}

.rates-page__hero-body {
	min-width: 0;
}

.rates-page__code {
	margin: 0 0 0.2rem;
	font-size: 0.82rem;
	font-weight: 600;
	color: var(--text-muted);
	text-transform: uppercase;
	letter-spacing: 0.04em;
}

.rates-page__rate {
	margin: 0;
	font-size: clamp(1.65rem, 4vw, 2.15rem);
	font-weight: 800;
	line-height: 1.1;
	color: var(--text-primary);
	font-variant-numeric: tabular-nums;
}

.rates-page__nominal {
	margin: 0.25rem 0 0;
	font-size: 0.84rem;
	color: var(--text-muted);
}

.rates-page__change {
	margin: 0.45rem 0 0;
	font-size: 0.82rem;
	font-weight: 600;
}

.rates-page__change--up { color: #ef4444; }
.rates-page__change--down { color: #22c55e; }
.rates-page__change--flat { color: var(--text-muted); }

.rates-page__metrics {
	display: grid;
	grid-template-columns: repeat(2, minmax(0, 1fr));
	gap: 0.55rem;
	margin-bottom: 1rem;
}

.rates-page__metric {
	padding: 0.55rem 0.65rem;
	border-radius: 10px;
	border: 1px solid rgba(120, 144, 177, 0.18);
	background: rgba(120, 144, 177, 0.04);
}

.rates-page__metric-label {
	display: block;
	font-size: 0.72rem;
	color: var(--text-muted);
	margin-bottom: 0.15rem;
}

.rates-page__metric-value {
	display: block;
	font-size: 0.88rem;
	font-weight: 700;
	color: var(--text-primary);
	font-variant-numeric: tabular-nums;
}

.rates-page__section {
	margin-top: 1rem;
}

.rates-page__section-title {
	margin: 0 0 0.65rem;
	font-size: 0.95rem;
	font-weight: 700;
	color: var(--text-primary);
}

.rates-page__conv-value {
	font-variant-numeric: tabular-nums;
	font-weight: 600;
	white-space: nowrap;
}

.rates-page__source {
	margin: 0.85rem 0 0;
	font-size: 0.78rem;
	color: var(--text-muted);
}

.rates-page__source a {
	color: var(--link-color, #60a5fa);
	text-decoration: none;
}

.rates-page__source a:hover {
	text-decoration: underline;
}

.header-rates.header-chip {
	color: inherit;
	text-decoration: none;
}

.header-rates.header-chip:hover,
.header-rates.header-chip:focus-visible {
	color: inherit;
	text-decoration: none;
}

body.light .rates-page__hero,
body.light .rates-page__metric {
	background: #fff;
}

@media (max-width: 767.98px) {
	.rates-page-layout > .col-lg-5 {
		order: 3;
	}

	.rates-page__metrics {
		grid-template-columns: 1fr;
	}
}

@media (max-width: 767.98px) {
	.traffic-page-layout > .col-lg-5 {
		order: 3;
	}
}

/* Мобильная шапка: карточка погоды + «Жизнь в Крыму» */
@media (max-width: 767.98px), ((orientation: landscape) and (max-height: 500px) and (max-width: 932px) and (hover: none) and (pointer: coarse)) {
	.header-mobile-bar__layout {
		display: grid;
		grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
		gap: 0.4rem;
		width: 100%;
		align-items: stretch;
	}

	.header-mobile-weather-card {
		display: flex;
		flex-direction: column;
		justify-content: space-between;
		gap: 0.15rem;
		min-height: calc(40px * 2 + 0.4rem);
		padding: 0.52rem 0.62rem 0.48rem;
		border-radius: 14px;
		border: 1px solid rgba(255, 255, 255, 0.08);
		background:
			radial-gradient(circle at 18% 0%, rgba(255, 196, 84, 0.08), transparent 42%),
			linear-gradient(160deg, rgba(34, 39, 49, 0.98), rgba(22, 26, 34, 0.98));
		box-shadow: 0 8px 20px rgba(0, 0, 0, 0.22);
		color: #fff;
		text-decoration: none;
		-webkit-tap-highlight-color: transparent;
		transition: opacity 0.22s ease, transform 0.2s ease, box-shadow 0.2s ease;
	}

	.header-mobile-weather-card:active {
		transform: scale(0.985);
	}

	.header-mobile-weather-card.is-fading {
		opacity: 0.38;
	}

	.header-mobile-weather-card__eyebrow {
		font-size: 0.72rem;
		font-weight: 700;
		letter-spacing: 0.08em;
		text-transform: uppercase;
		color: rgba(255, 255, 255, 0.42);
		line-height: 1.15;
	}

	.header-mobile-weather-card__city {
		font-size: 0.98rem;
		font-weight: 800;
		line-height: 1.15;
		color: #fff;
		white-space: nowrap;
		overflow: hidden;
		text-overflow: ellipsis;
	}

	.header-mobile-weather-card__main {
		display: flex;
		align-items: center;
		justify-content: space-between;
		gap: 0.35rem;
		margin-top: 0.08rem;
	}

	.header-mobile-weather-card__icon {
		font-size: 1.55rem;
		line-height: 1;
		flex-shrink: 0;
	}

	.header-mobile-weather-card__temp {
		font-size: 1.85rem;
		font-weight: 800;
		line-height: 1;
		letter-spacing: -0.03em;
		color: #fff;
	}

	.header-mobile-weather-card__desc {
		font-size: 0.875rem;
		font-weight: 700;
		line-height: 1.2;
		color: rgba(255, 255, 255, 0.92);
	}

	.header-mobile-weather-card__feel {
		font-size: 0.78rem;
		font-weight: 600;
		line-height: 1.25;
		color: rgba(255, 255, 255, 0.42);
	}

	.header-mobile-life-btn {
		display: flex;
		flex-direction: column;
		justify-content: space-between;
		align-items: stretch;
		gap: 0.15rem;
		min-height: calc(40px * 2 + 0.4rem);
		width: 100%;
		padding: 0.52rem 0.62rem 0.48rem;
		border-radius: 14px;
		border: 1px solid rgba(255, 255, 255, 0.08);
		background:
			radial-gradient(circle at 18% 0%, rgba(255, 196, 84, 0.08), transparent 42%),
			linear-gradient(160deg, rgba(34, 39, 49, 0.98), rgba(22, 26, 34, 0.98));
		box-shadow: 0 8px 20px rgba(0, 0, 0, 0.22);
		color: #fff;
		cursor: pointer;
		text-align: left;
		font: inherit;
		-webkit-tap-highlight-color: transparent;
		transition: opacity 0.22s ease, transform 0.2s ease, box-shadow 0.2s ease;
	}

	.header-mobile-life-btn:active {
		transform: scale(0.985);
	}

	.header-mobile-life-btn__eyebrow {
		font-size: 0.72rem;
		font-weight: 700;
		letter-spacing: 0.08em;
		text-transform: uppercase;
		color: rgba(255, 255, 255, 0.42);
		line-height: 1.15;
	}

	.header-mobile-life-btn__title {
		font-size: 0.98rem;
		font-weight: 800;
		line-height: 1.15;
		color: #fff;
	}

	.header-mobile-life-btn__hint {
		font-size: 0.78rem;
		font-weight: 600;
		line-height: 1.25;
		color: rgba(255, 255, 255, 0.42);
	}

	body.light .header-mobile-weather-card,
	body.light .header-mobile-life-btn {
		border-color: rgba(29, 84, 137, 0.11);
		background:
			radial-gradient(circle at 18% 0%, rgba(255, 180, 72, 0.14), transparent 42%),
			linear-gradient(160deg, rgba(255, 255, 255, 0.99), rgba(244, 248, 252, 0.98));
		box-shadow:
			0 8px 20px rgba(31, 70, 108, 0.1),
			inset 0 1px 0 rgba(255, 255, 255, 0.95);
		color: #1c2430;
	}

	body.light .header-mobile-weather-card__eyebrow,
	body.light .header-mobile-life-btn__eyebrow {
		color: #475569;
	}

	body.light .header-mobile-weather-card__city,
	body.light .header-mobile-weather-card__temp,
	body.light .header-mobile-life-btn__title {
		color: #1c2430;
	}

	body.light .header-mobile-weather-card__desc {
		color: rgba(28, 36, 48, 0.9);
	}

	body.light .header-mobile-weather-card__feel,
	body.light .header-mobile-life-btn__hint {
		color: #475569;
	}
}

.mobile-life-modal {
	position: fixed;
	inset: 0;
	z-index: 2100;
	display: flex;
	align-items: center;
	justify-content: center;
	padding:
		max(0.75rem, env(safe-area-inset-top, 0px))
		max(0.75rem, env(safe-area-inset-right, 0px))
		max(0.75rem, env(safe-area-inset-bottom, 0px))
		max(0.75rem, env(safe-area-inset-left, 0px));
	opacity: 0;
	visibility: hidden;
	transition: opacity 0.28s ease, visibility 0.28s ease;
}

.mobile-life-modal.is-open {
	opacity: 1;
	visibility: visible;
}

.mobile-life-modal__backdrop {
	position: absolute;
	inset: 0;
	background: rgba(4, 8, 16, 0.52);
	backdrop-filter: blur(4px);
	-webkit-backdrop-filter: blur(4px);
}

.mobile-life-modal__dialog {
	position: relative;
	z-index: 1;
	width: min(100%, 420px);
	padding: 1.15rem 1rem 1rem;
	border-radius: 20px;
	transform: scale(0.96) translateY(8px);
	transition: transform 0.28s cubic-bezier(0.32, 0.72, 0, 1);
}

.mobile-life-modal.is-open .mobile-life-modal__dialog {
	transform: scale(1) translateY(0);
}

.mobile-life-modal__title {
	margin: 0 0 0.35rem;
	font-size: 1.12rem;
	font-weight: 800;
	line-height: 1.2;
	color: var(--text-primary);
}

.mobile-life-modal__lead {
	margin: 0 0 0.85rem;
	font-size: 0.82rem;
	line-height: 1.35;
	color: var(--text-muted);
}

.mobile-life-modal__close {
	position: absolute;
	top: 0.65rem;
	right: 0.65rem;
	display: inline-flex;
	align-items: center;
	justify-content: center;
	width: 36px;
	height: 36px;
	padding: 0;
	border: 0;
	border-radius: 999px;
	background: rgba(255, 255, 255, 0.06);
	color: var(--text-primary);
	cursor: pointer;
}

.mobile-life-modal__actions {
	display: grid;
	gap: 0.55rem;
}

.mobile-life-modal__btn {
	display: flex;
	align-items: center;
	gap: 0.72rem;
	min-height: 54px;
	padding: 0.72rem 0.85rem;
	border-radius: 14px;
	border: 1px solid var(--glass-border);
	background:
		linear-gradient(145deg, rgba(68, 168, 255, 0.12), rgba(68, 168, 255, 0.03)),
		var(--glass-bg);
	color: var(--text-primary);
	text-decoration: none;
	font-size: 0.92rem;
	font-weight: 700;
	transition: transform 0.18s ease, border-color 0.18s ease, box-shadow 0.18s ease;
}

.mobile-life-modal__btn:active {
	transform: scale(0.985);
}

.mobile-life-modal__btn-icon {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	width: 36px;
	height: 36px;
	border-radius: 11px;
	background: rgba(68, 168, 255, 0.14);
	color: #4eaeff;
	flex-shrink: 0;
}

.mobile-life-modal__btn-label {
	line-height: 1.2;
}

/* Личный кабинет, вход, избранное */
.login-modal,
.suggest-modal {
	--account-modal-radius: 20px;
}

.login-modal {
	position: fixed;
	inset: 0;
	z-index: 2100;
	display: flex;
	align-items: center;
	justify-content: center;
	padding: 1.25rem;
	opacity: 0;
	visibility: hidden;
	transition: opacity 0.28s ease, visibility 0.28s ease;
}

.login-modal.is-open {
	opacity: 1;
	visibility: visible;
}

.login-modal__backdrop {
	position: absolute;
	inset: 0;
	background: var(--modal-backdrop);
	backdrop-filter: blur(10px);
	-webkit-backdrop-filter: blur(10px);
}

.login-modal__dialog {
	position: relative;
	width: min(100%, 420px);
	padding: 1.55rem 1.6rem 1.65rem;
	border-radius: var(--account-modal-radius);
	transform: scale(0.96) translateY(12px);
	transition: transform 0.28s ease;
	overflow: hidden;
}

.login-modal__dialog::before {
	content: "";
	position: absolute;
	top: 0;
	left: 0;
	right: 0;
	height: 3px;
	background: linear-gradient(90deg, #2788ff 0%, #5eb0ff 50%, #2788ff 100%);
	opacity: 0.85;
}

.login-modal.is-open .login-modal__dialog {
	transform: scale(1) translateY(0);
}

.login-modal__title {
	font-size: 1.28rem;
	font-weight: 700;
	margin: 0 0 0.45rem;
	letter-spacing: -0.02em;
}

.login-modal__lead {
	font-size: 0.9rem;
	line-height: 1.5;
	color: var(--text-muted);
	margin: 0 0 1.15rem;
	max-width: 34ch;
}

.login-modal__error {
	font-size: 0.88rem;
	line-height: 1.45;
	color: #ff4d4f;
	margin: 0 0 0.85rem;
}

.login-modal .vkid-auth-wrap,
.login-modal .vkid-auth-wrap--onetap {
	width: 100%;
	min-height: 44px;
	display: flex;
	align-items: center;
	justify-content: center;
}

.login-modal__wait {
	margin: 0;
	display: flex;
	align-items: flex-start;
	justify-content: center;
	gap: 0.45rem;
	max-width: 34ch;
	font-size: 0.84rem;
	line-height: 1.45;
	color: var(--text-muted);
	text-align: left;
}

.login-modal__wait-icon {
	flex: 0 0 auto;
	display: grid;
	place-items: center;
	width: 1.15rem;
	height: 1.15rem;
	margin-top: 0.05rem;
	border-radius: 999px;
	border: 1px dashed rgba(110, 184, 255, 0.55);
	color: var(--link-color, #6eb8ff);
	font-size: 0.72rem;
	font-weight: 700;
	line-height: 1;
}

.login-modal__consent {
	display: block;
	margin: 0 0 0.85rem;
	padding: 0.85rem 0.9rem;
	border-radius: 14px;
	border: 1px dashed rgba(140, 170, 210, 0.4);
	background: rgba(110, 184, 255, 0.06);
	transition: border-color 0.18s ease, background 0.18s ease, box-shadow 0.18s ease;
}

.login-modal__consent.is-required {
	border-color: rgba(110, 184, 255, 0.65);
	box-shadow: 0 0 0 1px rgba(110, 184, 255, 0.12);
}

.login-modal__consent-row {
	display: flex;
	align-items: flex-start;
	gap: 0.7rem;
	margin: 0;
	cursor: pointer;
	user-select: none;
}

.login-modal__consent-input {
	position: absolute;
	opacity: 0;
	width: 1px;
	height: 1px;
	pointer-events: none;
}

.login-modal__consent-box {
	flex: 0 0 auto;
	display: grid;
	place-items: center;
	width: 1.35rem;
	height: 1.35rem;
	margin-top: 0.12rem;
	border-radius: 0.4rem;
	border: 1.5px solid rgba(150, 180, 220, 0.55);
	background: rgba(0, 0, 0, 0.22);
	color: transparent;
	transition: border-color 0.15s ease, background 0.15s ease, color 0.15s ease, box-shadow 0.15s ease;
}

.login-modal__consent-check {
	display: block;
	opacity: 0;
	transform: scale(0.7);
	transition: opacity 0.12s ease, transform 0.12s ease;
}

.login-modal__consent-input:checked + .login-modal__consent-box {
	border-color: #4ea3ff;
	background: rgba(78, 163, 255, 0.22);
	color: #9fd0ff;
	box-shadow: 0 0 0 2px rgba(78, 163, 255, 0.18);
}

.login-modal__consent-input:checked + .login-modal__consent-box .login-modal__consent-check {
	opacity: 1;
	transform: scale(1);
}

.login-modal__consent-input:focus-visible + .login-modal__consent-box {
	outline: 2px solid rgba(110, 184, 255, 0.7);
	outline-offset: 2px;
}

.login-modal__consent-row:hover .login-modal__consent-box {
	border-color: rgba(110, 184, 255, 0.75);
}

.login-modal__consent-copy {
	display: flex;
	flex-direction: column;
	gap: 0.22rem;
	min-width: 0;
}

.login-modal__consent-title {
	display: block;
	font-size: 0.9rem;
	font-weight: 700;
	letter-spacing: -0.01em;
	color: var(--text, #f2f4f8);
	line-height: 1.3;
}

.login-modal__consent-text {
	display: block;
	font-size: 0.82rem;
	line-height: 1.45;
	color: var(--text-muted);
}

.login-modal__consent-link {
	color: var(--link-color, #6eb8ff);
	text-decoration: underline;
	text-underline-offset: 2px;
}

body.light .login-modal__consent {
	background: rgba(40, 110, 190, 0.06);
	border-color: rgba(40, 70, 110, 0.22);
}

body.light .login-modal__consent-box {
	background: #fff;
	border-color: rgba(40, 70, 110, 0.35);
}

body.light .login-modal__consent-title {
	color: var(--text, #1a1d23);
}

body.light .login-modal__consent-input:checked + .login-modal__consent-box {
	background: rgba(40, 110, 190, 0.12);
	border-color: #2f7fd4;
	color: #1a5fa8;
}

/* legacy compact consent (если остался старый markup) */
.login-modal__consent > input[type="checkbox"]:not(.login-modal__consent-input) {
	margin-top: 0.2rem;
	flex: 0 0 auto;
	accent-color: #4ea3ff;
	width: 1.05rem;
	height: 1.05rem;
}

.login-modal__close,
.suggest-modal__close {
	width: 38px;
	height: 38px;
	border: 1px solid rgba(120, 144, 177, 0.24);
	border-radius: 12px;
	background: rgba(8, 14, 28, 0.38);
	color: var(--text-primary);
	cursor: pointer;
	display: inline-flex;
	align-items: center;
	justify-content: center;
	transition: background 0.2s ease, border-color 0.2s ease, transform 0.15s ease;
}

.login-modal__close {
	position: absolute;
	top: 0.85rem;
	right: 0.85rem;
	z-index: 1;
}

.login-modal__close:hover,
.suggest-modal__close:hover {
	background: rgba(29, 143, 255, 0.14);
	border-color: rgba(29, 143, 255, 0.38);
	transform: scale(1.04);
}

.suggest-modal__dialog {
	border-radius: var(--account-modal-radius);
}

.suggest-modal__step--form {
	padding-top: 0.2rem;
}

.suggest-form__label {
	display: block;
	margin-bottom: 0.85rem;
	font-size: 0.82rem;
	font-weight: 600;
	color: var(--text-muted);
	letter-spacing: 0.01em;
}

.suggest-form__input,
.suggest-form__textarea {
	display: block;
	width: 100%;
	margin-top: 0.38rem;
	padding: 0.62rem 0.78rem;
	border-radius: 12px;
	border: 1px solid rgba(120, 144, 177, 0.3);
	background: rgba(8, 14, 28, 0.34);
	color: inherit;
	font-size: 0.92rem;
	transition: border-color 0.2s ease, box-shadow 0.2s ease, background 0.2s ease;
}

.suggest-form__input::placeholder,
.suggest-form__textarea::placeholder {
	color: rgba(160, 176, 200, 0.65);
}

.suggest-form__input:focus,
.suggest-form__textarea:focus {
	outline: none;
	border-color: rgba(29, 143, 255, 0.55);
	box-shadow: 0 0 0 3px rgba(29, 143, 255, 0.12);
	background: rgba(8, 14, 28, 0.42);
}

body.light .suggest-form__input,
body.light .suggest-form__textarea {
	background: rgba(255, 255, 255, 0.78);
}

.suggest-form__actions {
	display: flex;
	gap: 0.6rem;
	justify-content: flex-end;
	margin-top: 0.75rem;
	padding-top: 0.45rem;
	border-top: 1px solid rgba(120, 144, 177, 0.14);
}

.tab-bar__secondary--avatar {
	padding: 2px;
	overflow: hidden;
	box-shadow: 0 0 0 2px rgba(29, 143, 255, 0.5), 0 4px 12px rgba(29, 143, 255, 0.22);
	border-radius: 50%;
}

.tab-bar__avatar {
	width: 28px;
	height: 28px;
	border-radius: 50%;
	object-fit: cover;
	display: block;
}

.tab-bar__secondary {
	position: relative;
}

.tab-bar__badge-count {
	position: absolute;
	top: -5px;
	right: -5px;
	min-width: 18px;
	height: 18px;
	padding: 0 5px;
	border-radius: 999px;
	background: linear-gradient(135deg, #ff9a5c 0%, #ff5c35 100%);
	color: #fff;
	font-size: 0.62rem;
	font-weight: 700;
	line-height: 18px;
	text-align: center;
	box-shadow: 0 2px 10px rgba(255, 92, 53, 0.45);
	border: 2px solid rgba(8, 14, 28, 0.9);
	pointer-events: none;
}

.feed-card-shell {
	position: relative;
	min-width: 0;
}

.realty-grid .feed-card-shell,
.post-page-related .realty-grid .feed-card-shell {
	height: 246px;
}

.feed-card-shell > .news-teaser,
.feed-card-shell > .realty-card,
.feed-card-shell > a.news-teaser {
	display: flex;
	flex-direction: column;
	height: 100%;
	min-height: 0;
	text-decoration: none;
	color: inherit;
}

.realty-card .news-teaser__media,
.news-grid-card .news-teaser__media {
	flex: 0 0 auto;
	aspect-ratio: 16 / 10;
	min-height: 0;
}

.feed-list-item {
	position: relative;
	list-style: none;
}

.feed-list-item .favorite-btn {
	top: 0.6rem;
	right: 0.6rem;
}

.vk-feed-card.feed-card-shell .favorite-btn {
	top: 10px;
	right: 10px;
}

.favorite-btn {
	position: absolute;
	top: 10px;
	right: 10px;
	z-index: 4;
	width: 38px;
	height: 38px;
	border: 1px solid rgba(255, 255, 255, 0.16);
	border-radius: 50%;
	background: rgba(8, 14, 28, 0.58);
	backdrop-filter: blur(12px);
	-webkit-backdrop-filter: blur(12px);
	color: rgba(255, 255, 255, 0.94);
	display: inline-flex;
	align-items: center;
	justify-content: center;
	cursor: pointer;
	box-shadow: 0 8px 22px rgba(0, 0, 0, 0.24);
	transition: transform 0.15s ease, background 0.2s ease, color 0.2s ease, border-color 0.2s ease, box-shadow 0.2s ease;
}

.favorite-btn__icon {
	display: block;
	transition: transform 0.2s ease;
}

.favorite-btn:hover {
	transform: scale(1.07);
	background: rgba(8, 14, 28, 0.76);
	border-color: rgba(255, 255, 255, 0.3);
}

.favorite-btn:hover .favorite-btn__icon {
	transform: scale(1.06);
}

.favorite-btn.is-active {
	color: #ffc766;
	background: rgba(255, 168, 76, 0.2);
	border-color: rgba(255, 198, 102, 0.58);
	box-shadow: 0 8px 24px rgba(255, 168, 76, 0.24);
}

.favorite-btn.is-active .favorite-btn__icon {
	fill: currentColor;
}

.post-page__favorite {
	position: static;
	width: 36px;
	height: 36px;
	box-shadow: none;
	background: rgba(120, 144, 177, 0.14);
	border-color: rgba(120, 144, 177, 0.3);
	color: var(--text-primary);
}

.post-page__favorite:hover {
	transform: scale(1.05);
	background: rgba(120, 144, 177, 0.22);
}

.post-page__favorite.is-active {
	background: rgba(255, 168, 76, 0.16);
	border-color: rgba(255, 198, 102, 0.48);
	color: #e8a030;
}

.cabinet-panel {
	padding: 1.25rem 1.3rem 1.35rem;
	border-radius: 16px;
}

.cabinet-panel + .cabinet-panel,
.cabinet-panel.mt-3 {
	margin-top: 1rem !important;
}

.cabinet-panel__title {
	font-size: 1.1rem;
	font-weight: 700;
	margin: 0 0 1rem;
	padding-bottom: 0.65rem;
	letter-spacing: -0.01em;
	border-bottom: 1px solid rgba(120, 144, 177, 0.16);
}

#cabinetSuggestBtn {
	border-radius: 999px;
	padding: 0.5rem 1.2rem;
	font-weight: 600;
	box-shadow: 0 6px 18px rgba(29, 143, 255, 0.22);
}

.cabinet-profile {
	display: flex;
	gap: 1.1rem;
	align-items: center;
	padding: 1rem 1.05rem;
	border-radius: 16px;
	background: linear-gradient(135deg, rgba(29, 143, 255, 0.08) 0%, rgba(120, 144, 177, 0.06) 100%);
	border: 1px solid rgba(120, 144, 177, 0.2);
}

.cabinet-profile__body {
	flex: 1;
	min-width: 0;
}

.cabinet-profile__avatar {
	width: 80px;
	height: 80px;
	border-radius: 50%;
	object-fit: cover;
	box-shadow: 0 0 0 3px rgba(29, 143, 255, 0.38), 0 8px 24px rgba(0, 0, 0, 0.18);
	flex-shrink: 0;
}

.cabinet-profile__name {
	font-size: 1.12rem;
	font-weight: 700;
	margin: 0 0 0.25rem;
	letter-spacing: -0.01em;
}

.cabinet-profile__meta {
	font-size: 0.82rem;
	color: var(--text-muted);
	margin: 0 0 0.65rem;
}

.cabinet-empty {
	color: var(--text-muted);
	margin: 0;
	line-height: 1.55;
	font-size: 0.92rem;
	padding: 0.35rem 0.15rem;
}

.cabinet-fav-grid {
	display: grid;
	gap: 0.65rem;
}

.cabinet-fav-card {
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 0.75rem;
	padding: 0.82rem 1rem;
	text-decoration: none;
	color: inherit;
	border-radius: 12px;
	border: 1px solid rgba(120, 144, 177, 0.18);
	border-left: 3px solid rgba(29, 143, 255, 0.55);
	transition: transform 0.15s ease, border-color 0.2s ease, background 0.2s ease, box-shadow 0.2s ease;
}

.cabinet-fav-card::after {
	content: "→";
	flex-shrink: 0;
	opacity: 0.45;
	font-size: 1rem;
	transition: transform 0.15s ease, opacity 0.2s ease;
}

.cabinet-fav-card:hover {
	transform: translateX(3px);
	border-left-color: rgba(29, 143, 255, 0.9);
	background: rgba(29, 143, 255, 0.07);
	box-shadow: 0 6px 18px rgba(29, 143, 255, 0.1);
}

.cabinet-fav-card:hover::after {
	opacity: 0.85;
	transform: translateX(2px);
}

.cabinet-proposals-list {
	list-style: none;
	padding: 0;
	margin: 0;
	display: grid;
	gap: 0.75rem;
}

.cabinet-proposal,
.admin-card {
	padding: 1.05rem 1.1rem;
	border-radius: 14px;
	border: 1px solid rgba(120, 144, 177, 0.16);
}

.cabinet-proposal__head,
.admin-card__head {
	display: flex;
	justify-content: space-between;
	align-items: center;
	gap: 0.55rem;
	margin-bottom: 0.45rem;
}

.cabinet-proposal__type,
.admin-card__type {
	font-size: 0.72rem;
	font-weight: 600;
	text-transform: uppercase;
	letter-spacing: 0.04em;
	color: var(--text-muted);
}

.cabinet-proposal__status,
.admin-card__status {
	font-size: 0.72rem;
	font-weight: 700;
	padding: 0.2rem 0.55rem;
	border-radius: 999px;
	background: rgba(120, 144, 177, 0.14);
}

.cabinet-proposal__status--pending,
.admin-card__status--pending {
	color: #ffb347;
	background: rgba(255, 179, 71, 0.14);
}

.cabinet-proposal__status--approved,
.admin-card__status--approved {
	color: #4ade80;
	background: rgba(74, 222, 128, 0.12);
}

.cabinet-proposal__status--rejected,
.admin-card__status--rejected {
	color: #f87171;
	background: rgba(248, 113, 113, 0.12);
}

.cabinet-proposal h4,
.admin-card h3 {
	font-size: 1rem;
	margin: 0 0 0.35rem;
	line-height: 1.35;
}

.cabinet-proposal__date,
.admin-card__meta {
	font-size: 0.8rem;
	color: var(--text-muted);
}

.cabinet-content-grid {
	display: grid;
	grid-template-columns: repeat(2, minmax(0, 1fr));
	gap: 0.85rem;
}

.cabinet-content-card {
	position: relative;
	display: flex;
	min-width: 0;
	overflow: hidden;
	color: inherit;
	text-decoration: none;
	border: 1px solid rgba(120, 144, 177, 0.2);
	border-radius: 16px;
	background: linear-gradient(145deg, rgba(120, 144, 177, 0.1), rgba(29, 143, 255, 0.05));
	transition: transform 0.18s ease, border-color 0.18s ease, box-shadow 0.18s ease;
}

a.cabinet-content-card:hover {
	color: inherit;
	transform: translateY(-3px);
	border-color: rgba(68, 168, 255, 0.55);
	box-shadow: 0 12px 30px rgba(0, 0, 0, 0.16);
}

.cabinet-content-card__media {
	flex: 0 0 110px;
	min-height: 132px;
	overflow: hidden;
	background: rgba(29, 143, 255, 0.1);
}

.cabinet-content-card__media img {
	width: 100%;
	height: 100%;
	object-fit: cover;
	transition: transform 0.25s ease;
}

a.cabinet-content-card:hover .cabinet-content-card__media img {
	transform: scale(1.04);
}

.cabinet-content-card__media--empty {
	display: grid;
	place-items: center;
	color: #44a8ff;
	font-size: 1.5rem;
}

.cabinet-content-card__body {
	display: flex;
	flex: 1;
	flex-direction: column;
	min-width: 0;
	padding: 0.9rem;
}

.cabinet-content-card__eyebrow {
	margin-bottom: 0.4rem;
	overflow: hidden;
	color: #44a8ff;
	font-size: 0.7rem;
	font-weight: 700;
	letter-spacing: 0.04em;
	text-overflow: ellipsis;
	text-transform: uppercase;
	white-space: nowrap;
}

.cabinet-content-card__title {
	display: -webkit-box;
	overflow: hidden;
	margin: 0;
	font-size: 0.93rem;
	font-weight: 700;
	line-height: 1.38;
	-webkit-box-orient: vertical;
	-webkit-line-clamp: 3;
}

.cabinet-content-card__date {
	margin-top: auto;
	padding-top: 0.6rem;
	color: var(--text-muted);
	font-size: 0.74rem;
}

.cabinet-content-card__arrow {
	position: absolute;
	right: 0.65rem;
	bottom: 0.55rem;
	color: #44a8ff;
	font-size: 1rem;
	opacity: 0.7;
}

.cabinet-content-card--proposal {
	min-height: 180px;
}

.cabinet-content-card--proposal .cabinet-content-card__body {
	padding: 1rem;
}

.cabinet-content-card__text {
	display: -webkit-box;
	overflow: hidden;
	margin: 0.55rem 0 0;
	color: var(--text-muted);
	font-size: 0.84rem;
	line-height: 1.5;
	-webkit-box-orient: vertical;
	-webkit-line-clamp: 3;
}

.cabinet-content-card__footer {
	display: flex;
	flex-wrap: wrap;
	gap: 0.35rem 0.7rem;
	align-items: center;
	margin-top: auto;
	padding-top: 0.8rem;
	color: var(--text-muted);
	font-size: 0.76rem;
}

.cabinet-content-card__footer .cabinet-proposal__date {
	margin-left: auto;
}

@media (max-width: 767.98px) {
	.cabinet-content-grid {
		grid-template-columns: 1fr;
	}

	.cabinet-content-card__media {
		flex-basis: 104px;
	}
}

.admin-toolbar {
	display: flex;
	flex-wrap: wrap;
	gap: 0.45rem;
	padding: 0.45rem;
	border-radius: 14px;
	background: rgba(120, 144, 177, 0.08);
	border: 1px solid rgba(120, 144, 177, 0.18);
	margin-bottom: 1rem;
}

.admin-toolbar .btn {
	border-radius: 999px;
	font-size: 0.82rem;
	font-weight: 600;
	padding: 0.38rem 0.85rem;
}

.admin-toolbar .btn.is-active {
	background: linear-gradient(135deg, #2788ff 0%, #0060db 100%);
	border-color: transparent;
	color: #fff;
	box-shadow: 0 4px 14px rgba(29, 143, 255, 0.28);
}

.admin-badge {
	display: inline-flex;
	min-width: 18px;
	height: 18px;
	padding: 0 5px;
	border-radius: 999px;
	background: linear-gradient(135deg, #ff8a4c 0%, #ff5c35 100%);
	color: #fff;
	font-size: 0.68rem;
	align-items: center;
	justify-content: center;
	margin-left: 4px;
}

.admin-list {
	display: grid;
	gap: 0.8rem;
}

.admin-card__body {
	line-height: 1.5;
	margin: 0.35rem 0 0;
}

.admin-card__actions {
	display: flex;
	flex-wrap: wrap;
	gap: 0.5rem;
	margin-top: 0.85rem;
	padding-top: 0.75rem;
	border-top: 1px solid rgba(120, 144, 177, 0.16);
}

#adminGate {
	text-align: center;
	padding: 1.5rem 1.25rem;
}

#adminGate .vkid-auth-wrap {
	display: flex;
	justify-content: center;
	margin-top: 0.5rem;
}

.vkid-auth-wrap {
	min-height: 44px;
	display: flex;
	align-items: center;
	justify-content: center;
}

.account-toast-host {
	position: fixed;
	inset: 0;
	z-index: 2150;
	display: flex;
	align-items: center;
	justify-content: center;
	padding: 1.25rem;
	opacity: 0;
	visibility: hidden;
	transition: opacity 0.28s ease, visibility 0.28s ease;
}

.account-toast-host.is-open {
	opacity: 1;
	visibility: visible;
}

.account-toast__backdrop {
	position: absolute;
	inset: 0;
	background: var(--modal-backdrop);
	backdrop-filter: blur(10px);
	-webkit-backdrop-filter: blur(10px);
}

.account-toast {
	position: relative;
	width: min(100%, 400px);
	padding: 1.45rem 1.5rem 1.35rem;
	border-radius: 18px;
	border: 1px solid rgba(120, 144, 177, 0.28);
	box-shadow: 0 20px 48px rgba(0, 0, 0, 0.35);
	transform: scale(0.96) translateY(10px);
	transition: transform 0.28s ease;
	text-align: center;
}

.account-toast-host.is-open .account-toast {
	transform: scale(1) translateY(0);
}

.account-toast__title {
	margin: 0 0 0.55rem;
	font-size: 1.15rem;
	font-weight: 700;
	letter-spacing: -0.02em;
}

.account-toast__text {
	margin: 0 0 1.1rem;
	font-size: 0.9rem;
	line-height: 1.5;
	color: var(--text-muted);
}

.account-toast__actions {
	display: flex;
	justify-content: center;
	gap: 0.55rem;
	flex-wrap: wrap;
}

.account-toast__login,
.account-toast__dismiss {
	border-radius: 999px;
	padding: 0.45rem 1.15rem;
	font-weight: 600;
	min-width: 6.5rem;
}

.account-toast__close {
	position: absolute;
	top: 0.75rem;
	right: 0.75rem;
	width: 36px;
	height: 36px;
	border: 1px solid rgba(120, 144, 177, 0.24);
	border-radius: 10px;
	background: rgba(8, 14, 28, 0.35);
	color: var(--text-primary);
	display: inline-flex;
	align-items: center;
	justify-content: center;
	cursor: pointer;
	padding: 0;
	transition: background 0.2s ease, border-color 0.2s ease, transform 0.15s ease;
}

.account-toast__close:hover {
	background: rgba(29, 143, 255, 0.12);
	border-color: rgba(29, 143, 255, 0.35);
	transform: scale(1.04);
}

.about-story {
	padding: clamp(1.25rem, 3vw, 2rem);
	border-radius: 22px;
}

.about-story__hero {
	display: flex;
	gap: 1.2rem;
	align-items: flex-start;
	padding-bottom: 1.45rem;
	border-bottom: 1px solid rgba(120, 144, 177, 0.16);
}

.about-story__mark {
	display: grid;
	flex: 0 0 70px;
	width: 70px;
	height: 70px;
	place-items: center;
	border: 1px solid rgba(68, 168, 255, 0.46);
	border-radius: 20px;
	background: linear-gradient(145deg, rgba(25, 135, 255, 0.22), rgba(68, 168, 255, 0.06));
	color: #6fc0ff;
	font-size: 1.45rem;
	font-weight: 800;
	box-shadow: 0 12px 30px rgba(25, 135, 255, 0.12);
}

.about-story__eyebrow {
	display: block;
	margin-bottom: 0.4rem;
	color: #44a8ff;
	font-size: 0.72rem;
	font-weight: 700;
	letter-spacing: 0.06em;
	text-transform: uppercase;
}

.about-story__lead {
	margin: 0;
	font-size: clamp(1rem, 2vw, 1.12rem);
	line-height: 1.7;
}

.about-story__section {
	margin-top: 1.25rem;
	padding-top: 1.25rem;
	border-top: 1px solid rgba(120, 144, 177, 0.14);
}

.about-story__section--goal,
.about-story__section--work {
	display: flex;
	gap: 0.9rem;
	padding: 1rem;
	border: 1px solid rgba(120, 144, 177, 0.18);
	border-radius: 16px;
	background: rgba(120, 144, 177, 0.055);
}

.about-story__section--goal {
	border-color: rgba(68, 168, 255, 0.24);
	background: linear-gradient(135deg, rgba(68, 168, 255, 0.1), rgba(120, 144, 177, 0.04));
}

.about-story__section-icon {
	display: grid;
	flex: 0 0 42px;
	width: 42px;
	height: 42px;
	place-items: center;
	border-radius: 13px;
	background: rgba(68, 168, 255, 0.11);
	color: #44a8ff;
}

.about-story__section-icon svg {
	width: 23px;
	height: 23px;
	fill: none;
	stroke: currentColor;
	stroke-width: 1.8;
	stroke-linecap: round;
	stroke-linejoin: round;
}

.about-story__section h3 {
	margin: 0 0 0.4rem;
	font-size: 1.08rem;
}

.about-story__section p {
	margin: 0;
	color: var(--text-muted);
	font-size: 0.92rem;
	line-height: 1.65;
}

.about-story__section-head {
	margin-bottom: 0.8rem;
}

.about-contacts {
	margin: 0.75rem 0 0;
	padding: 0;
}

.about-contacts__row {
	display: grid;
	grid-template-columns: minmax(0, 11rem) minmax(0, 1fr);
	gap: 0.35rem 1rem;
	padding: 0.55rem 0;
	border-top: 1px solid rgba(255, 255, 255, 0.08);
}

.about-contacts__row:first-child {
	border-top: 0;
	padding-top: 0;
}

.about-contacts dt {
	margin: 0;
	color: var(--text-muted, #9aa3ad);
	font-size: 0.82rem;
}

.about-contacts dd {
	margin: 0;
	color: var(--text-primary, #f0f2f5);
	font-size: 0.92rem;
}

.about-contacts a {
	color: var(--accent, #0d84fb);
	text-decoration: none;
}

.about-contacts a:hover,
.about-contacts a:focus-visible {
	text-decoration: underline;
}

.about-feedback {
	margin-top: 1.1rem;
	padding-top: 1rem;
	border-top: 1px solid rgba(255, 255, 255, 0.08);
}

.about-feedback__title {
	margin: 0 0 0.35rem;
	font-size: 1rem;
	font-weight: 700;
	color: var(--text-primary, #f0f2f5);
}

.about-feedback__lead {
	margin: 0 0 0.85rem;
	color: var(--text-muted, #9aa3ad);
	font-size: 0.86rem;
	line-height: 1.55;
}

.about-feedback__actions {
	display: flex;
	justify-content: flex-start;
	margin-top: 0.25rem;
}

.about-feedback__status {
	margin: 0.85rem 0 0;
	font-size: 0.86rem;
	line-height: 1.5;
}

.about-feedback__status--success {
	color: #5fd39a;
}

.about-feedback__status--error {
	color: #ff8f8f;
}

@media (max-width: 575.98px) {
	.about-contacts__row {
		grid-template-columns: 1fr;
		gap: 0.15rem;
	}
}

.about-directions {
	display: grid;
	grid-template-columns: repeat(2, minmax(0, 1fr));
	gap: 0.65rem;
}

.about-directions a {
	position: relative;
	display: grid;
	grid-template-columns: auto 1fr;
	gap: 0.05rem 0.7rem;
	align-items: center;
	padding: 0.85rem;
	border: 1px solid rgba(120, 144, 177, 0.17);
	border-radius: 14px;
	background: rgba(120, 144, 177, 0.045);
	color: inherit;
	text-decoration: none;
	transition: transform 0.18s ease, border-color 0.18s ease, background 0.18s ease;
}

.about-directions a:hover {
	transform: translateY(-2px);
	border-color: rgba(68, 168, 255, 0.45);
	background: rgba(68, 168, 255, 0.07);
	color: inherit;
}

.about-directions a > span {
	grid-row: 1 / 3;
	color: rgba(68, 168, 255, 0.76);
	font-size: 0.72rem;
	font-weight: 700;
}

.about-directions strong {
	font-size: 0.88rem;
	line-height: 1.25;
}

.about-directions small {
	color: var(--text-muted);
	font-size: 0.74rem;
	line-height: 1.3;
}

.about-story__final {
	margin: 1.3rem 0 0;
	padding: 1rem 1.1rem;
	border-left: 3px solid #44a8ff;
	border-radius: 0 14px 14px 0;
	background: rgba(68, 168, 255, 0.07);
	font-size: 1rem;
	line-height: 1.55;
}

.about-side {
	overflow: hidden;
}

.about-side__badge {
	display: inline-flex;
	margin-bottom: 0.8rem;
	padding: 0.3rem 0.65rem;
	border: 1px solid rgba(68, 168, 255, 0.3);
	border-radius: 999px;
	background: rgba(68, 168, 255, 0.1);
	color: #44a8ff;
	font-size: 0.72rem;
	font-weight: 700;
	letter-spacing: 0.05em;
	text-transform: uppercase;
}

.about-side h3 {
	margin: 0 0 0.65rem;
	font-size: 1.3rem;
}

.about-side > p {
	margin: 0;
	color: var(--text-muted);
	font-size: 0.9rem;
	line-height: 1.6;
}

.about-side__stats {
	display: grid;
	gap: 0.55rem;
	margin: 1.15rem 0;
}

.about-side__stats div {
	display: flex;
	gap: 0.75rem;
	align-items: center;
	padding: 0.7rem 0.8rem;
	border: 1px solid rgba(120, 144, 177, 0.16);
	border-radius: 13px;
	background: rgba(120, 144, 177, 0.05);
}

.about-side__stats strong {
	min-width: 48px;
	color: #44a8ff;
	font-size: 1.12rem;
}

.about-side__stats span {
	color: var(--text-muted);
	font-size: 0.8rem;
}

.about-side__cta {
	display: flex;
	align-items: center;
	justify-content: space-between;
	padding: 0.75rem 0.9rem;
	border-radius: 12px;
	background: #1987ff;
	color: #fff;
	font-size: 0.86rem;
	font-weight: 600;
	text-decoration: none;
}

.about-side__cta:hover {
	background: #0878eb;
	color: #fff;
}

.about-communities {
	margin-top: 1rem;
}

.about-communities__head {
	display: flex;
	gap: 1rem;
	align-items: flex-end;
	justify-content: space-between;
	margin-bottom: 1rem;
}

.about-communities__head h2 {
	margin: 0;
	font-size: 1.35rem;
}

.about-communities__head p {
	max-width: 330px;
	margin: 0;
	color: var(--text-muted);
	font-size: 0.84rem;
	text-align: right;
}

@media (max-width: 575.98px) {
	.about-story__hero {
		flex-direction: column;
	}

	.about-directions {
		grid-template-columns: 1fr;
	}

	.about-communities__head {
		display: block;
	}

	.about-communities__head p {
		margin-top: 0.4rem;
		text-align: left;
	}
}

/* О проекте — landing в стиле «Услуги» */
.about-landing .about-page-layout {
	margin-top: 0.35rem;
}

.about-landing .about-showcase {
	grid-template-columns: 1fr;
	gap: 1rem;
}

.about-landing .about-showcase .services-panel:hover .services-panel__shell {
	transform: translateY(-3px);
}

.about-hero__visual {
	min-height: 220px;
}

.about-hero__visual-card {
	width: min(100%, 300px);
}

.about-hero__mark-wrap {
	display: flex;
	gap: 0.85rem;
	align-items: center;
	margin: 0.35rem 0 0.55rem;
}

.about-hero__mark {
	display: grid;
	flex: 0 0 64px;
	width: 64px;
	height: 64px;
	place-items: center;
	border: 1px solid rgba(68, 168, 255, 0.46);
	border-radius: 18px;
	background: linear-gradient(145deg, rgba(25, 135, 255, 0.22), rgba(68, 168, 255, 0.06));
	color: #6fc0ff;
	font-size: 1.35rem;
	font-weight: 800;
	box-shadow: 0 12px 30px rgba(25, 135, 255, 0.12);
}

.about-hero__mark-copy {
	display: grid;
	gap: 0.1rem;
}

.about-hero__mark-copy strong {
	font-size: 1rem;
	line-height: 1.2;
	color: var(--text-primary);
}

.about-hero__mark-copy span {
	font-size: 0.72rem;
	line-height: 1.35;
	color: var(--text-muted);
}

.about-hero__float--news {
	left: 4%;
	top: 8%;
}

.about-hero__float--ads {
	right: 6%;
	top: 18%;
}

.about-hero__banner {
	margin-top: 0.85rem;
	border-radius: 16px;
}

.about-direction-feature {
	text-decoration: none;
	color: inherit;
}

.about-direction-feature strong {
	display: block;
	font-size: 0.88rem;
	line-height: 1.25;
}

.about-direction-feature small {
	display: block;
	margin-top: 0.12rem;
	color: var(--text-muted);
	font-size: 0.74rem;
	line-height: 1.3;
}

.about-contacts--panel {
	margin-bottom: 0.35rem;
	padding: 0.75rem 0.85rem;
	border: 1px solid rgba(125, 141, 165, 0.18);
	border-radius: 14px;
	background: rgba(255, 255, 255, 0.025);
}

.about-contacts--panel .about-contacts__row {
	border-top-color: rgba(125, 141, 165, 0.14);
}

.about-final-note {
	margin: 0;
}

.about-communities__eyebrow {
	margin-bottom: 0.65rem;
}

.about-landing .about-communities {
	position: relative;
	z-index: 1;
	margin-top: 1.15rem;
}

@media (max-width: 991.98px) {
	.about-landing .about-showcase .services-panel__features {
		grid-template-columns: 1fr;
	}
}

@media (max-width: 767.98px) {
	body.has-tabbar .px-3.px-lg-0.pt-3.pt-lg-0:has(.about-landing) {
		padding-top: 0.5rem !important;
		padding-left: 0.75rem !important;
		padding-right: 0.75rem !important;
	}

	.about-hero__visual {
		min-height: 0;
	}

	.about-hero__mark-wrap {
		justify-content: center;
	}
}

.auth-welcome-modal {
	position: fixed;
	z-index: 2200;
	inset: 0;
	display: flex;
	align-items: center;
	justify-content: center;
	padding: 1rem;
	visibility: hidden;
	opacity: 0;
	transition: opacity 0.22s ease, visibility 0.22s ease;
}

.auth-welcome-modal.is-open {
	visibility: visible;
	opacity: 1;
}

.auth-welcome-modal__backdrop {
	position: absolute;
	inset: 0;
	background: rgba(4, 8, 16, 0.76);
	backdrop-filter: blur(10px);
}

.auth-welcome-modal__dialog {
	position: relative;
	width: min(100%, 780px);
	max-height: calc(100vh - 2rem);
	padding: 1.45rem;
	overflow-x: hidden;
	overflow-y: auto;
	border: 1px solid rgba(68, 168, 255, 0.34);
	border-radius: 22px;
	box-shadow: 0 24px 70px rgba(0, 0, 0, 0.38);
	transform: translateY(12px) scale(0.98);
	transition: transform 0.22s ease;
}

.auth-welcome-modal__dialog::before {
	content: "";
	position: absolute;
	top: 0;
	right: 0;
	left: 0;
	height: 3px;
	background: linear-gradient(90deg, #1987ff, #65bcff);
}

.auth-welcome-modal.is-open .auth-welcome-modal__dialog {
	transform: translateY(0) scale(1);
}

.auth-welcome-modal__close {
	position: absolute;
	z-index: 1;
	top: 0.85rem;
	right: 0.85rem;
	display: grid;
	width: 36px;
	height: 36px;
	padding: 0;
	place-items: center;
	border: 1px solid rgba(120, 144, 177, 0.24);
	border-radius: 10px;
	background: rgba(120, 144, 177, 0.08);
	color: inherit;
	font-size: 1.6rem;
	line-height: 1;
	cursor: pointer;
}

.auth-welcome-modal__profile {
	display: flex;
	gap: 0.9rem;
	align-items: center;
	padding-right: 2.5rem;
}

.auth-welcome-modal__avatar {
	display: grid;
	flex: 0 0 58px;
	width: 58px;
	height: 58px;
	overflow: hidden;
	place-items: center;
	border-radius: 50%;
	background: linear-gradient(135deg, #1987ff, #65bcff);
	color: #fff;
	font-size: 1.35rem;
	font-weight: 700;
	box-shadow: 0 0 0 3px rgba(68, 168, 255, 0.2);
}

.auth-welcome-modal__avatar img {
	width: 100%;
	height: 100%;
	object-fit: cover;
}

.auth-welcome-modal__kicker {
	margin: 0 0 0.15rem;
	color: #44a8ff;
	font-size: 0.72rem;
	font-weight: 700;
	letter-spacing: 0.06em;
	text-transform: uppercase;
}

.auth-welcome-modal__title {
	margin: 0;
	font-size: clamp(1.2rem, 4vw, 1.55rem);
	line-height: 1.2;
}

.auth-welcome-modal__lead {
	margin: 1.15rem 0 0.8rem;
	color: var(--text-muted);
	font-size: 0.9rem;
}

.auth-welcome-modal__nav {
	display: grid;
	grid-template-columns: repeat(3, minmax(0, 1fr));
	gap: 0.75rem;
}

.auth-welcome-card {
	display: flex;
	flex-direction: column;
	gap: 0.65rem;
	align-items: center;
	justify-content: center;
	min-height: 128px;
	padding: 0.9rem 0.7rem;
	border: 1px solid rgba(120, 144, 177, 0.26);
	border-radius: 17px;
	background: linear-gradient(145deg, rgba(120, 144, 177, 0.1), rgba(29, 143, 255, 0.025));
	color: inherit;
	text-align: center;
	text-decoration: none;
	transition: transform 0.18s ease, border-color 0.18s ease, background 0.18s ease;
}

.auth-welcome-card:hover {
	transform: translateY(-3px);
	border-color: rgba(68, 168, 255, 0.5);
	background: rgba(68, 168, 255, 0.08);
	color: inherit;
}

.auth-welcome-card__icon {
	display: grid;
	width: 48px;
	height: 48px;
	place-items: center;
	border: 1px solid currentColor;
	border-radius: 15px;
	background: rgba(68, 168, 255, 0.12);
	color: #44a8ff;
	box-shadow: 0 0 22px rgba(68, 168, 255, 0.08);
}

.auth-welcome-card__icon svg,
.auth-welcome-offer__icon svg {
	width: 25px;
	height: 25px;
	fill: none;
	stroke: currentColor;
	stroke-width: 1.9;
	stroke-linecap: round;
	stroke-linejoin: round;
}

.auth-welcome-card strong {
	font-size: 0.9rem;
	font-weight: 600;
	line-height: 1.25;
}

.auth-welcome-card--realty .auth-welcome-card__icon {
	color: #64d99a;
}

.auth-welcome-card--job .auth-welcome-card__icon {
	color: #b49aff;
}

.auth-welcome-card--auto .auth-welcome-card__icon {
	color: #62cef5;
}

.auth-welcome-card--crimea .auth-welcome-card__icon {
	color: #f3c64f;
}

.auth-welcome-card--beauty .auth-welcome-card__icon {
	color: #f18ac5;
}

.auth-welcome-card--pets .auth-welcome-card__icon {
	color: #f0a36c;
}

.auth-welcome-offer {
	display: flex;
	gap: 0.9rem;
	align-items: center;
	width: 100%;
	margin-top: 0.8rem;
	padding: 0.9rem 1rem;
	border: 1px solid rgba(240, 163, 108, 0.34);
	border-radius: 17px;
	background: linear-gradient(135deg, rgba(240, 163, 108, 0.12), rgba(120, 144, 177, 0.06));
	color: inherit;
	text-align: left;
	cursor: pointer;
	transition: transform 0.18s ease, border-color 0.18s ease, background 0.18s ease;
}

.auth-welcome-offer:hover {
	transform: translateY(-2px);
	border-color: rgba(240, 163, 108, 0.62);
	background: rgba(240, 163, 108, 0.12);
}

.auth-welcome-offer__icon {
	display: grid;
	flex: 0 0 50px;
	width: 50px;
	height: 50px;
	place-items: center;
	border: 1px solid rgba(240, 163, 108, 0.55);
	border-radius: 15px;
	background: rgba(240, 163, 108, 0.12);
	color: #f0a36c;
}

.auth-welcome-offer strong,
.auth-welcome-offer small {
	display: block;
}

.auth-welcome-offer strong {
	margin-bottom: 0.2rem;
	font-size: 0.95rem;
}

.auth-welcome-offer small {
	color: var(--text-muted);
	font-size: 0.77rem;
	line-height: 1.4;
}

@media (max-width: 619.98px) {
	.auth-welcome-modal__dialog {
		padding: 1.2rem;
	}

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

	.auth-welcome-card {
		min-height: 112px;
	}

	.auth-welcome-offer {
		align-items: flex-start;
	}
}

@media (max-width: 379.98px) {
	.auth-welcome-modal__nav {
		grid-template-columns: 1fr;
	}
}

@media (max-width: 575.98px) {
	.post-page__meta-row {
		flex-direction: column;
		align-items: stretch;
		gap: 0.65rem;
	}

	.post-page__meta-actions {
		margin-left: 0;
		justify-content: space-between;
		width: 100%;
		padding: 0.32rem;
	}

	.post-page__vk-btn {
		flex: 1;
		text-align: center;
	}
}

/* CMS-панель и баннеры с картинкой */
.cms-panel-page {
	min-height: 100vh;
	background: var(--bg-primary, #0f1419);
}

.cms-panel-shell {
	max-width: 920px;
	margin: 0 auto;
	padding: 1.25rem 1rem 2.5rem;
}

.cms-panel-top {
	display: flex;
	align-items: center;
	gap: 1rem;
	padding: 0.85rem 1rem;
	margin-bottom: 1rem;
	border-radius: 14px;
}

.cms-panel-top__logo img {
	display: block;
	height: 32px;
	width: auto;
}

.cms-panel-top__meta {
	flex: 1 1 auto;
	display: flex;
	flex-direction: column;
	gap: 0.1rem;
}

.cms-panel-top__eyebrow {
	font-size: 0.72rem;
	color: var(--text-muted);
	text-transform: uppercase;
	letter-spacing: 0.04em;
}

.cms-panel-card {
	padding: 1.15rem 1.1rem 1.25rem;
	border-radius: 16px;
	margin-bottom: 1rem;
}

.cms-panel-card__title {
	margin: 0 0 0.35rem;
	font-size: 1.35rem;
}

.cms-panel-card__lead {
	margin: 0 0 1rem;
	color: var(--text-muted);
	font-size: 0.92rem;
	line-height: 1.45;
}

.cms-panel-card__head {
	display: flex;
	justify-content: space-between;
	align-items: flex-start;
	gap: 1rem;
	margin-bottom: 0.75rem;
}

.cms-panel-card__head h2 {
	margin: 0 0 0.25rem;
	font-size: 1.15rem;
}

.cms-panel-tabs {
	display: flex;
	flex-wrap: wrap;
	gap: 0.45rem;
	margin-bottom: 0.85rem;
}

.cms-panel-tabs__btn {
	border: 1px solid rgba(120, 144, 177, 0.22);
	background: rgba(120, 144, 177, 0.08);
	color: var(--text-secondary);
	border-radius: 999px;
	padding: 0.42rem 0.9rem;
	font-size: 0.82rem;
	font-weight: 600;
}

.cms-panel-tabs__btn.is-active {
	background: linear-gradient(135deg, #2788ff 0%, #0060db 100%);
	border-color: transparent;
	color: #fff;
}

.cms-login-form {
	display: grid;
	gap: 0.75rem;
	max-width: 360px;
	margin: 0 auto;
}

.cms-field {
	display: grid;
	gap: 0.3rem;
}

.cms-field span {
	font-size: 0.78rem;
	color: var(--text-muted);
	font-weight: 600;
}

.cms-field input {
	width: 100%;
	border-radius: 10px;
	border: 1px solid rgba(120, 144, 177, 0.25);
	background: rgba(255, 255, 255, 0.03);
	color: inherit;
	padding: 0.55rem 0.7rem;
}

.cms-field textarea,
.cms-field select {
	width: 100%;
	border-radius: 10px;
	border: 1px solid rgba(120, 144, 177, 0.25);
	background: rgba(255, 255, 255, 0.03);
	color: inherit;
	padding: 0.55rem 0.7rem;
	font: inherit;
}

.cms-field textarea {
	min-height: 8rem;
	resize: vertical;
	line-height: 1.45;
}

.cms-articles-toolbar {
	display: flex;
	flex-wrap: wrap;
	gap: 0.55rem;
	margin-bottom: 0.85rem;
}

.cms-articles-list {
	display: flex;
	flex-direction: column;
	gap: 0.65rem;
}

.cms-articles-row {
	display: flex;
	flex-wrap: wrap;
	align-items: center;
	justify-content: space-between;
	gap: 0.75rem;
	padding: 0.85rem 0.95rem;
}

.cms-articles-row__main {
	display: flex;
	flex-direction: column;
	gap: 0.2rem;
	min-width: 0;
	flex: 1 1 220px;
}

.cms-articles-row__meta {
	font-size: 0.78rem;
	color: var(--text-muted);
}

.cms-articles-row__slug {
	font-size: 0.72rem;
	color: rgba(255, 255, 255, 0.45);
}

.cms-articles-row__actions {
	display: flex;
	flex-wrap: wrap;
	gap: 0.35rem;
}

.cms-articles-badge {
	display: inline-flex;
	align-self: flex-start;
	margin-top: 0.15rem;
	padding: 0.12rem 0.45rem;
	border-radius: 999px;
	font-size: 0.68rem;
	font-weight: 700;
	text-transform: uppercase;
	letter-spacing: 0.04em;
}

.cms-articles-badge--draft {
	color: #fbbf24;
	background: rgba(251, 191, 36, 0.12);
	border: 1px solid rgba(251, 191, 36, 0.28);
}

.cms-articles-empty,
.cms-articles-form-hint {
	font-size: 0.82rem;
	color: var(--text-muted);
	line-height: 1.45;
}

.cms-articles-form-hint code {
	font-size: 0.78rem;
}

.cms-field--inline input {
	font-size: 0.88rem;
}

.cms-field--check {
	display: flex;
	align-items: center;
	gap: 0.45rem;
	margin-top: 0.35rem;
}

.cms-field--check span {
	font-size: 0.85rem;
	color: var(--text-secondary);
}

.cms-form-error {
	color: #f87171;
	font-size: 0.85rem;
	margin: 0;
}

.cms-save-status {
	min-height: 1.2rem;
	font-size: 0.82rem;
	color: #4ade80;
	margin: 0 0 0.75rem;
}

.cms-save-status.is-error {
	color: #f87171;
}

.cms-editor-section + .cms-editor-section {
	margin-top: 1.25rem;
	padding-top: 1rem;
	border-top: 1px solid rgba(120, 144, 177, 0.16);
}

.cms-editor-section h3 {
	font-size: 0.95rem;
	margin: 0 0 0.65rem;
}

.cms-item-list {
	display: grid;
	gap: 0.75rem;
}

.cms-item-card {
	padding: 0.85rem 0.9rem;
	border-radius: 12px;
}

.cms-item-card__head {
	display: flex;
	justify-content: space-between;
	align-items: center;
	gap: 0.5rem;
	margin-bottom: 0.55rem;
}

.cms-item-card .cms-field + .cms-field {
	margin-top: 0.45rem;
}

.cms-banner--image {
	padding: 0 !important;
	border-style: solid !important;
	overflow: hidden;
}

.cms-banner__img {
	display: block;
	width: 100%;
	height: 100%;
	object-fit: cover;
}

.home-deal-banner__link.cms-banner--image,
.news-page-banner__link.cms-banner--image {
	aspect-ratio: 487 / 116;
}

.home-deal-banner__link.cms-banner--image {
	position: relative;
}

.home-deal-banner__link.cms-banner--image .home-deal-banner__eyebrow {
	position: absolute;
	top: 0.45rem;
	left: 0.55rem;
	z-index: 1;
}

.cms-post-picker__hint,
.cms-post-picker__empty,
.cms-post-picker__loading {
	margin: 0 0 0.75rem;
	font-size: 0.85rem;
	color: rgba(226, 232, 240, 0.72);
}

.cms-post-picker__card {
	padding: 0.55rem 0.65rem !important;
}

.cms-post-picker__card-main {
	display: flex;
	align-items: center;
	gap: 0.75rem;
}

.cms-post-picker__media {
	flex-shrink: 0;
}

.cms-post-picker__thumb {
	display: block;
	width: 78px;
	height: 58px;
	object-fit: cover;
	border-radius: 10px;
	background: #000;
}

.cms-post-picker__thumb-placeholder {
	display: inline-flex;
	width: 78px;
	height: 58px;
	align-items: center;
	justify-content: center;
	border-radius: 10px;
	font-size: 0.65rem;
	opacity: 0.65;
	background: rgba(255, 255, 255, 0.06);
}

.cms-post-picker__text {
	display: flex;
	flex-direction: column;
	gap: 0.2rem;
	min-width: 0;
	flex: 1;
}

.cms-post-picker__pos {
	font-size: 0.68rem;
	font-weight: 700;
	letter-spacing: 0.04em;
	text-transform: uppercase;
	opacity: 0.7;
}

.cms-post-picker__label {
	margin: 0;
	font-size: 0.92rem;
	line-height: 1.35;
	font-weight: 650;
}

.cms-post-picker__sub {
	font-size: 0.78rem;
	opacity: 0.72;
	word-break: break-all;
}

.cms-post-picker__sub code {
	font-size: 0.72rem;
	color: inherit;
}

.cms-post-picker__tools {
	display: flex;
	flex-wrap: wrap;
	gap: 0.35rem;
	flex-shrink: 0;
}

.cms-post-picker__url {
	margin: 0;
	font-size: 0.75rem;
	color: rgba(226, 232, 240, 0.55);
	word-break: break-all;
}

.cms-post-picker__search {
	margin-top: 0.75rem;
}

.cms-post-picker__results {
	display: grid;
	gap: 0.35rem;
	margin-top: 0.45rem;
	max-height: 16rem;
	overflow: auto;
	padding: 0.45rem;
	border-radius: 10px;
	background: rgba(8, 16, 32, 0.55);
	border: 1px solid rgba(120, 144, 177, 0.18);
}

.cms-post-picker__result {
	display: flex;
	align-items: center;
	gap: 0.7rem;
	width: 100%;
	text-align: left;
	padding: 0.45rem 0.55rem;
	border: 0;
	border-radius: 10px;
	background: rgba(255, 255, 255, 0.04);
	color: inherit;
	font: inherit;
	cursor: pointer;
}

.cms-post-picker__result:hover {
	background: rgba(255, 255, 255, 0.08);
}

.cms-post-picker__result strong {
	display: block;
	font-size: 0.88rem;
	line-height: 1.3;
}

.cms-post-picker__result small {
	display: block;
	margin-top: 0.15rem;
	font-size: 0.75rem;
	opacity: 0.7;
}

.cms-item-card__actions {
	display: flex;
	gap: 0.35rem;
	margin-top: 0.45rem;
}

/* CMS 2.0 */
.cms-panel-page {
	--cms-accent: #3b9cff;
	--cms-line: rgba(148, 163, 184, 0.16);
	--cms-surface: rgba(21, 29, 42, 0.88);
	min-height: 100dvh;
	background:
		radial-gradient(circle at 10% 0%, rgba(38, 135, 245, 0.13), transparent 32rem),
		radial-gradient(circle at 92% 12%, rgba(45, 212, 191, 0.07), transparent 26rem),
		#0b111b;
}

.cms-panel-shell {
	max-width: 1380px;
	padding: 1rem 1.25rem 3rem;
}

.cms-panel-top {
	position: sticky;
	top: 0;
	z-index: 20;
	margin: 0 -0.25rem 1rem;
	padding: 0.8rem 0.9rem;
	border: 1px solid var(--cms-line);
	border-radius: 16px;
	background: rgba(11, 17, 27, 0.88);
	box-shadow: 0 12px 36px rgba(0, 0, 0, 0.22);
	backdrop-filter: blur(18px);
	-webkit-backdrop-filter: blur(18px);
}

.cms-workspace {
	display: grid;
	grid-template-columns: minmax(220px, 260px) minmax(0, 1fr);
	gap: 1rem;
	align-items: start;
}

.cms-nav {
	position: sticky;
	top: 5.8rem;
	padding: 0.75rem;
	border-radius: 18px;
}

.cms-nav__intro {
	display: flex;
	flex-direction: column;
	gap: 0.1rem;
	padding: 0.55rem 0.65rem 0.9rem;
	border-bottom: 1px solid var(--cms-line);
}

.cms-nav__label,
.cms-panel-card__eyebrow,
.cms-panel-tabs__group {
	font-size: 0.66rem;
	font-weight: 700;
	letter-spacing: 0.08em;
	text-transform: uppercase;
	color: rgba(148, 163, 184, 0.72);
}

.cms-panel-tabs {
	display: flex;
	flex-direction: column;
	flex-wrap: nowrap;
	gap: 0.25rem;
	margin: 0;
	padding-top: 0.65rem;
}

.cms-panel-tabs__group {
	padding: 0.75rem 0.65rem 0.25rem;
}

.cms-panel-tabs__btn {
	display: grid;
	grid-template-columns: 34px minmax(0, 1fr);
	align-items: center;
	gap: 0.55rem;
	width: 100%;
	padding: 0.62rem 0.65rem;
	border: 1px solid transparent;
	border-radius: 11px;
	background: transparent;
	color: rgba(226, 232, 240, 0.72);
	text-align: left;
}

.cms-panel-tabs__btn > span:last-child {
	display: flex;
	flex-direction: column;
	gap: 0.1rem;
	min-width: 0;
}

.cms-panel-tabs__btn strong {
	font-size: 0.82rem;
	color: inherit;
}

.cms-panel-tabs__btn small {
	font-size: 0.68rem;
	font-weight: 500;
	color: rgba(148, 163, 184, 0.68);
}

.cms-panel-tabs__icon {
	display: grid;
	place-items: center;
	width: 34px;
	height: 34px;
	border-radius: 9px;
	background: rgba(148, 163, 184, 0.08);
	font-size: 1rem;
}

.cms-panel-tabs__btn:hover {
	background: rgba(148, 163, 184, 0.07);
	color: #fff;
}

.cms-panel-tabs__btn.is-active {
	border-color: rgba(59, 156, 255, 0.25);
	background: linear-gradient(135deg, rgba(59, 156, 255, 0.2), rgba(39, 135, 245, 0.08));
	color: #fff;
	box-shadow: inset 3px 0 0 var(--cms-accent);
}

.cms-panel-tabs__btn.is-active .cms-panel-tabs__icon {
	background: rgba(59, 156, 255, 0.2);
	color: #8dccff;
}

.cms-panel-card {
	min-width: 0;
	padding: 1.35rem;
	border-radius: 18px;
}

.cms-panel-card__head {
	position: sticky;
	top: 5.8rem;
	z-index: 15;
	align-items: center;
	margin: -1.35rem -1.35rem 1rem;
	padding: 1.15rem 1.35rem 1rem;
	border-bottom: 1px solid var(--cms-line);
	border-radius: 18px 18px 0 0;
	background: rgba(19, 27, 40, 0.92);
	backdrop-filter: blur(16px);
	-webkit-backdrop-filter: blur(16px);
}

.cms-panel-card__head h1 {
	margin: 0.15rem 0 0.2rem;
	font-size: clamp(1.25rem, 2vw, 1.65rem);
}

.cms-panel-card__head-actions,
.cms-articles-toolbar {
	display: flex;
	align-items: center;
	flex-wrap: wrap;
	gap: 0.55rem;
}

.cms-dirty-badge {
	padding: 0.3rem 0.55rem;
	border: 1px solid rgba(251, 191, 36, 0.28);
	border-radius: 999px;
	background: rgba(251, 191, 36, 0.1);
	color: #fbbf24;
	font-size: 0.7rem;
	font-weight: 700;
}

.cms-save-status {
	display: flex;
	align-items: center;
	min-height: 0;
	margin: 0 0 1rem;
	padding: 0.7rem 0.8rem;
	border: 1px solid rgba(74, 222, 128, 0.2);
	border-radius: 10px;
	background: rgba(74, 222, 128, 0.08);
	color: #86efac;
}

.cms-save-status[hidden] {
	display: none;
}

.cms-save-status.is-error {
	border-color: rgba(248, 113, 113, 0.24);
	background: rgba(248, 113, 113, 0.08);
}

.cms-save-status.is-info {
	border-color: rgba(59, 156, 255, 0.24);
	background: rgba(59, 156, 255, 0.08);
	color: #93c5fd;
}

.cms-editor-section {
	padding: 1rem;
	border: 1px solid var(--cms-line);
	border-radius: 14px;
	background: rgba(255, 255, 255, 0.018);
}

.cms-editor-section + .cms-editor-section {
	margin-top: 0.8rem;
	padding-top: 1rem;
	border-top: 1px solid var(--cms-line);
}

.cms-editor-section > h3 {
	margin-bottom: 0.25rem;
	font-size: 1rem;
}

.cms-editor-section__hint {
	margin: 0 0 0.85rem;
	color: var(--text-muted);
	font-size: 0.78rem;
	line-height: 1.45;
}

.cms-field {
	gap: 0.38rem;
	margin-top: 0.7rem;
}

.cms-field span {
	color: rgba(226, 232, 240, 0.76);
}

.cms-field input,
.cms-field textarea,
.cms-field select,
.cms-articles-search {
	border-color: rgba(148, 163, 184, 0.2);
	background: rgba(7, 13, 22, 0.52);
	transition: border-color 0.15s ease, box-shadow 0.15s ease;
}

.cms-field input:focus,
.cms-field textarea:focus,
.cms-field select:focus,
.cms-articles-search:focus {
	outline: 0;
	border-color: rgba(59, 156, 255, 0.65);
	box-shadow: 0 0 0 3px rgba(59, 156, 255, 0.12);
}

.cms-item-card,
.cms-articles-row {
	border: 1px solid var(--cms-line);
	background: rgba(255, 255, 255, 0.025);
	box-shadow: none;
}

.cms-sublist {
	margin-top: 0.75rem;
	padding: 0.75rem;
	border: 1px solid var(--cms-line);
	border-radius: 10px;
	background: rgba(5, 10, 18, 0.28);
}

.cms-sublist > strong {
	display: block;
	margin-bottom: 0.55rem;
	font-size: 0.78rem;
}

.cms-sublist__item {
	padding: 0.6rem;
	border-radius: 8px;
	background: rgba(148, 163, 184, 0.04);
}

.cms-sublist__item + .cms-sublist__item {
	margin-top: 0.45rem;
}

.cms-media-field {
	display: grid;
	grid-template-columns: 150px minmax(0, 1fr);
	gap: 0.8rem;
	margin-top: 0.75rem;
}

.cms-media-field__preview {
	display: grid;
	place-items: center;
	aspect-ratio: 16 / 10;
	overflow: hidden;
	border: 1px dashed rgba(148, 163, 184, 0.25);
	border-radius: 11px;
	background: rgba(5, 10, 18, 0.4);
	color: var(--text-muted);
	font-size: 0.72rem;
}

.cms-media-field__preview img {
	width: 100%;
	height: 100%;
	object-fit: cover;
}

.cms-media-field__body {
	display: flex;
	flex-direction: column;
	justify-content: center;
	gap: 0.45rem;
}

.cms-media-field__input {
	position: absolute;
	width: 1px;
	height: 1px;
	overflow: hidden;
	clip: rect(0 0 0 0);
}

.cms-media-field__progress {
	height: 4px;
	overflow: hidden;
	border-radius: 999px;
	background: rgba(148, 163, 184, 0.15);
}

.cms-media-field__progress > span {
	display: block;
	width: 0;
	height: 100%;
	background: var(--cms-accent);
	transition: width 0.15s ease;
}

.cms-home-grid,
.cms-banner-groups {
	display: grid;
	gap: 0.8rem;
}

.cms-articles-filterbar {
	display: grid;
	grid-template-columns: minmax(180px, 1fr) auto;
	gap: 0.55rem;
	margin-bottom: 0.85rem;
}

.cms-articles-search {
	width: 100%;
	padding: 0.58rem 0.7rem;
	border: 1px solid var(--cms-line);
	border-radius: 10px;
	color: inherit;
}

.cms-articles-badge--published {
	color: #86efac;
	background: rgba(74, 222, 128, 0.1);
	border: 1px solid rgba(74, 222, 128, 0.22);
}

.cms-rich-toolbar {
	display: flex;
	flex-wrap: wrap;
	gap: 0.3rem;
	padding: 0.45rem;
	border: 1px solid var(--cms-line);
	border-bottom: 0;
	border-radius: 10px 10px 0 0;
	background: rgba(5, 10, 18, 0.42);
}

.cms-rich-toolbar button {
	min-width: 32px;
	padding: 0.35rem 0.5rem;
	border: 1px solid transparent;
	border-radius: 7px;
	background: transparent;
	color: rgba(226, 232, 240, 0.82);
	font-size: 0.75rem;
	font-weight: 700;
}

.cms-rich-toolbar button:hover {
	border-color: var(--cms-line);
	background: rgba(148, 163, 184, 0.08);
}

.cms-rich-editor {
	min-height: 360px;
	padding: 1rem;
	border: 1px solid rgba(148, 163, 184, 0.2);
	border-radius: 0 0 10px 10px;
	background: rgba(7, 13, 22, 0.52);
	line-height: 1.65;
	outline: 0;
}

.cms-rich-editor:focus {
	border-color: rgba(59, 156, 255, 0.65);
	box-shadow: 0 0 0 3px rgba(59, 156, 255, 0.12);
}

.cms-rich-editor img {
	max-width: 100%;
	height: auto;
	border-radius: 10px;
}

@media (max-width: 900px) {
	.cms-panel-shell {
		padding-inline: 0.75rem;
	}

	.cms-workspace {
		grid-template-columns: 1fr;
	}

	.cms-nav {
		position: static;
	}

	.cms-nav__intro,
	.cms-panel-tabs__group,
	.cms-panel-tabs__btn small {
		display: none;
	}

	.cms-panel-tabs {
		flex-direction: row;
		overflow-x: auto;
		padding: 0;
	}

	.cms-panel-tabs__btn {
		flex: 0 0 auto;
		width: auto;
		grid-template-columns: 30px auto;
	}

	.cms-panel-tabs__btn > span:last-child {
		white-space: nowrap;
	}

	.cms-panel-card__head {
		top: 5.6rem;
	}
}

@media (max-width: 600px) {
	.cms-panel-top__logo img {
		height: 26px;
	}

	.cms-panel-top > a.btn {
		display: none;
	}

	.cms-panel-card {
		padding: 1rem;
	}

	.cms-panel-card__head {
		position: static;
		flex-direction: column;
		margin: -1rem -1rem 1rem;
		padding: 1rem;
	}

	.cms-panel-card__head-actions,
	.cms-panel-card__head-actions .btn {
		width: 100%;
	}

	.cms-media-field,
	.cms-articles-filterbar {
		grid-template-columns: 1fr;
	}

	.cms-media-field__preview {
		max-width: 220px;
	}
}

/* Лендинг «Услуги» */
.services-landing {
	position: relative;
	isolation: isolate;
	padding-bottom: 2rem;
}

.services-landing__mesh {
	position: absolute;
	inset: -3rem -2rem 40%;
	pointer-events: none;
	z-index: 0;
	background:
		radial-gradient(ellipse 55% 45% at 12% 8%, rgba(39, 135, 245, 0.22), transparent 70%),
		radial-gradient(ellipse 45% 40% at 88% 12%, rgba(168, 85, 247, 0.16), transparent 72%),
		radial-gradient(ellipse 35% 30% at 50% 0%, rgba(45, 212, 191, 0.08), transparent 70%);
}

.services-landing__grid {
	position: absolute;
	inset: 0;
	pointer-events: none;
	z-index: 0;
	opacity: 0.35;
	background-image:
		linear-gradient(rgba(125, 141, 165, 0.07) 1px, transparent 1px),
		linear-gradient(90deg, rgba(125, 141, 165, 0.07) 1px, transparent 1px);
	background-size: 32px 32px;
	mask-image: linear-gradient(180deg, #000 0%, transparent 72%);
}

.services-hero,
.services-showcase {
	position: relative;
	z-index: 1;
}

.services-hero {
	position: relative;
	margin-bottom: 0.85rem;
}

.services-hero__aura {
	position: absolute;
	inset: 0.35rem 0.5rem auto;
	height: 72%;
	border-radius: 32px;
	background:
		radial-gradient(ellipse 70% 55% at 18% 20%, rgba(39, 135, 245, 0.24), transparent 68%),
		radial-gradient(ellipse 55% 50% at 82% 24%, rgba(168, 85, 247, 0.18), transparent 70%);
	filter: blur(2px);
	pointer-events: none;
}

.services-hero__frame {
	position: relative;
	padding: clamp(1.35rem, 3vw, 2rem);
	border-radius: 30px;
	overflow: hidden;
	border-color: rgba(68, 168, 255, 0.18);
	background:
		linear-gradient(180deg, rgba(255, 255, 255, 0.04) 0%, transparent 28%),
		linear-gradient(145deg, rgba(39, 135, 245, 0.08), transparent 42%),
		linear-gradient(325deg, rgba(168, 85, 247, 0.06), transparent 40%),
		var(--glass-bg);
	box-shadow:
		0 24px 60px rgba(6, 13, 26, 0.28),
		inset 0 1px 0 rgba(255, 255, 255, 0.06);
}

.services-hero__frame::before {
	content: '';
	position: absolute;
	inset: 0;
	border-radius: inherit;
	padding: 1px;
	background: linear-gradient(135deg, rgba(111, 192, 255, 0.42), rgba(167, 139, 250, 0.18) 45%, transparent 70%);
	mask:
		linear-gradient(#fff 0 0) content-box,
		linear-gradient(#fff 0 0);
	mask-composite: exclude;
	-webkit-mask-composite: xor;
	pointer-events: none;
}

.services-hero__frame::after {
	content: '';
	position: absolute;
	top: 0;
	left: 8%;
	right: 8%;
	height: 1px;
	background: linear-gradient(90deg, transparent, rgba(111, 192, 255, 0.45), rgba(167, 139, 250, 0.35), transparent);
	pointer-events: none;
}

.services-hero__frame .page-breadcrumbs {
	margin: 0 0 0.15rem;
	font-size: 0.76rem;
	opacity: 0.82;
}

.services-hero__layout {
	display: grid;
	grid-template-columns: minmax(0, 1.15fr) minmax(240px, 0.72fr);
	gap: clamp(1rem, 3vw, 2rem);
	align-items: center;
	margin-top: 0.65rem;
	padding-top: 0.85rem;
	border-top: 1px solid rgba(125, 141, 165, 0.12);
}

.services-hero__content {
	min-width: 0;
}

.services-hero__eyebrow {
	display: inline-flex;
	align-items: center;
	gap: 0.45rem;
	margin-bottom: 0.85rem;
	padding: 0.34rem 0.78rem 0.34rem 0.62rem;
	border: 1px solid rgba(68, 168, 255, 0.32);
	border-radius: 999px;
	background: rgba(68, 168, 255, 0.1);
	color: #7cc4ff;
	font-size: 0.72rem;
	font-weight: 700;
	letter-spacing: 0.07em;
	text-transform: uppercase;
	box-shadow: 0 0 24px rgba(39, 135, 245, 0.12);
}

.services-hero__eyebrow::before {
	content: '';
	flex-shrink: 0;
	width: 7px;
	height: 7px;
	border-radius: 50%;
	background: #6fc0ff;
	box-shadow: 0 0 10px rgba(111, 192, 255, 0.85);
	animation: services-eyebrow-pulse 2.4s ease-in-out infinite;
}

@keyframes services-eyebrow-pulse {
	0%,
	100% {
		opacity: 1;
		transform: scale(1);
	}
	50% {
		opacity: 0.55;
		transform: scale(0.88);
	}
}

.services-hero__utp {
	margin: 0 0 0.9rem;
	max-width: 16.5em;
	font-family: 'Unbounded', 'Manrope', system-ui, sans-serif;
	font-size: clamp(1.15rem, 3vw, 1.85rem);
	font-weight: 700;
	line-height: 1.32;
	letter-spacing: 0.01em;
	text-wrap: balance;
	background: linear-gradient(100deg, #f8fbff 0%, #dbeafe 38%, #ede9fe 72%, #faf5ff 100%);
	-webkit-background-clip: text;
	background-clip: text;
	color: transparent;
}

.services-hero__utp-accent {
	background: linear-gradient(100deg, #79c4ff 0%, #38bdf8 32%, #c4b5fd 68%, #a855f7 100%);
	-webkit-background-clip: text;
	background-clip: text;
	color: transparent;
}

.services-hero__lead {
	margin: 0;
	max-width: 34rem;
	font-size: clamp(0.92rem, 1.7vw, 1.04rem);
	line-height: 1.7;
	color: var(--text-secondary);
}

.services-hero__visual {
	position: relative;
	display: grid;
	place-items: center;
	min-height: 250px;
}

.services-hero__visual-glow {
	position: absolute;
	inset: 8% 10%;
	border-radius: 50%;
	background: radial-gradient(circle, rgba(39, 135, 245, 0.28) 0%, rgba(168, 85, 247, 0.12) 42%, transparent 72%);
	filter: blur(18px);
	animation: services-visual-pulse 8s ease-in-out infinite;
}

@keyframes services-visual-pulse {
	0%,
	100% {
		transform: scale(1);
		opacity: 0.85;
	}
	50% {
		transform: scale(1.06);
		opacity: 1;
	}
}

.services-hero__visual-card {
	position: relative;
	display: grid;
	gap: 0.35rem;
	justify-items: center;
	width: min(100%, 280px);
	padding: 1.35rem 1.15rem 1.15rem;
	border: 1px solid rgba(125, 141, 165, 0.28);
	border-radius: 24px;
	text-align: center;
	background:
		linear-gradient(165deg, rgba(255, 255, 255, 0.07), rgba(255, 255, 255, 0.02)),
		rgba(8, 14, 24, 0.35);
	backdrop-filter: blur(14px);
	box-shadow:
		0 22px 50px rgba(6, 13, 26, 0.38),
		inset 0 1px 0 rgba(255, 255, 255, 0.08);
}

.services-hero__visual-card::before,
.services-hero__visual-card::after {
	content: '';
	position: absolute;
	border-radius: 50%;
	pointer-events: none;
}

.services-hero__visual-card::before {
	inset: -14px;
	border: 1px dashed rgba(111, 192, 255, 0.22);
	animation: services-ring-spin 28s linear infinite;
}

.services-hero__visual-card::after {
	inset: -28px;
	border: 1px solid rgba(167, 139, 250, 0.12);
	animation: services-ring-spin 36s linear infinite reverse;
}

@keyframes services-ring-spin {
	to {
		transform: rotate(360deg);
	}
}

.services-hero__visual-label {
	color: var(--text-muted);
	font-size: 0.72rem;
	font-weight: 700;
	letter-spacing: 0.07em;
	text-transform: uppercase;
}

.services-hero__visual-value {
	font-size: clamp(2rem, 4.5vw, 2.65rem);
	font-weight: 800;
	line-height: 1;
	letter-spacing: -0.03em;
	background: linear-gradient(180deg, #fff 0%, #9fd0ff 100%);
	-webkit-background-clip: text;
	background-clip: text;
	color: transparent;
}

.services-hero__visual-caption {
	color: var(--text-secondary);
	font-size: 0.82rem;
	line-height: 1.35;
}

.services-hero__visual-cities {
	display: flex;
	flex-wrap: wrap;
	justify-content: center;
	gap: 0.35rem;
	margin-top: 0.55rem;
}

.services-hero__visual-cities span {
	padding: 0.22rem 0.52rem;
	border: 1px solid rgba(125, 141, 165, 0.22);
	border-radius: 999px;
	background: rgba(255, 255, 255, 0.04);
	color: var(--text-muted);
	font-size: 0.66rem;
	font-weight: 600;
}

.services-hero__float {
	position: absolute;
	z-index: 2;
	padding: 0.38rem 0.62rem;
	border-radius: 999px;
	background: rgba(8, 14, 24, 0.55);
	backdrop-filter: blur(10px);
	font-size: 0.66rem;
	font-weight: 700;
	letter-spacing: 0.03em;
	text-transform: uppercase;
	box-shadow: 0 12px 28px rgba(6, 13, 26, 0.32);
	animation: services-hero-float 7s ease-in-out infinite;
}

.services-hero__float--ads {
	top: 10%;
	left: 0;
	color: #9fd0ff;
	border: 1px solid rgba(39, 135, 245, 0.35);
}

.services-hero__float--dev {
	top: 16%;
	right: -2%;
	color: #c4b5fd;
	border: 1px solid rgba(168, 85, 247, 0.35);
	animation-delay: -2.3s;
}

.services-hero__float--bonus {
	bottom: 10%;
	left: 4%;
	color: #5eead4;
	border: 1px solid rgba(45, 212, 191, 0.32);
	animation-delay: -4.6s;
}

@keyframes services-hero-float {
	0%,
	100% {
		transform: translateY(0);
	}
	50% {
		transform: translateY(-9px);
	}
}

.services-hero__visual-card--duo {
	width: min(100%, 300px);
	padding: 1.15rem 1rem 1rem;
}

.services-hero__visual-duo {
	display: grid;
	grid-template-columns: repeat(2, minmax(0, 1fr));
	gap: 0.55rem;
	width: 100%;
}

.services-hero__visual-stat {
	display: grid;
	gap: 0.2rem;
	justify-items: center;
	padding: 0.65rem 0.4rem;
	border: 1px solid rgba(125, 141, 165, 0.2);
	border-radius: 14px;
	text-align: center;
	background: rgba(255, 255, 255, 0.03);
}

.services-hero__visual-stat--ads {
	border-color: rgba(39, 135, 245, 0.28);
	background: rgba(39, 135, 245, 0.06);
}

.services-hero__visual-stat--dev {
	border-color: rgba(168, 85, 247, 0.28);
	background: rgba(168, 85, 247, 0.06);
}

.services-hero__visual-stat-icon {
	display: grid;
	width: 34px;
	height: 34px;
	place-items: center;
	border-radius: 10px;
}

.services-hero__visual-stat-icon svg {
	width: 18px;
	height: 18px;
}

.services-hero__visual-stat--ads .services-hero__visual-stat-icon {
	color: #7cc4ff;
	background: rgba(39, 135, 245, 0.14);
}

.services-hero__visual-stat--dev .services-hero__visual-stat-icon {
	color: #c4b5fd;
	background: rgba(168, 85, 247, 0.14);
}

.services-hero__visual-stat strong {
	font-size: clamp(0.88rem, 2vw, 1.05rem);
	font-weight: 800;
	line-height: 1.15;
	letter-spacing: -0.02em;
}

.services-hero__visual-stat--ads strong {
	color: #e8f4ff;
	text-shadow: 0 0 16px rgba(39, 135, 245, 0.35);
}

.services-hero__visual-stat--dev strong {
	color: #f3e8ff;
	text-shadow: 0 0 16px rgba(168, 85, 247, 0.35);
}

.services-hero__visual-stat span {
	font-size: 0.62rem;
	line-height: 1.3;
	color: var(--text-muted);
}

.services-hero__visual-card--duo .services-hero__visual-cities {
	margin-top: 0.6rem;
}

.services-hero__metrics {
	display: grid;
	grid-template-columns: repeat(3, minmax(0, 1fr));
	gap: 0;
	margin: 1.35rem 0 0;
	padding: 0;
	list-style: none;
	border: 1px solid rgba(125, 141, 165, 0.2);
	border-radius: 18px;
	overflow: hidden;
	background: rgba(255, 255, 255, 0.025);
}

.services-hero__metrics li {
	display: grid;
	gap: 0.12rem;
	padding: 0.85rem 1rem;
	text-align: center;
}

.services-hero__metrics li + li {
	border-left: 1px solid rgba(125, 141, 165, 0.16);
}

.services-hero__metrics strong {
	font-size: clamp(1rem, 2vw, 1.12rem);
	line-height: 1.15;
	color: var(--text-primary);
}

.services-hero__metrics li:nth-child(1) strong {
	background: linear-gradient(180deg, #fff 0%, #9fd0ff 100%);
	-webkit-background-clip: text;
	background-clip: text;
	color: transparent;
}

.services-hero__metrics li:nth-child(2) strong {
	background: linear-gradient(180deg, #fff 0%, #c4b5fd 100%);
	-webkit-background-clip: text;
	background-clip: text;
	color: transparent;
}

.services-hero__metrics li:nth-child(3) strong {
	background: linear-gradient(180deg, #fff 0%, #5eead4 100%);
	-webkit-background-clip: text;
	background-clip: text;
	color: transparent;
}

.services-hero__metrics span {
	font-size: 0.72rem;
	line-height: 1.25;
	color: var(--text-muted);
}

.services-hero__actions {
	display: grid;
	grid-template-columns: repeat(2, minmax(0, 1fr));
	gap: 0.75rem;
	margin-top: 0.85rem;
}

.services-hero__action {
	display: grid;
	grid-template-columns: auto 1fr auto;
	gap: 0.75rem;
	align-items: center;
	padding: 0.9rem 1rem;
	border: 1px solid rgba(125, 141, 165, 0.24);
	border-radius: 18px;
	text-decoration: none;
	transition:
		transform 0.22s ease,
		border-color 0.22s ease,
		box-shadow 0.22s ease,
		background-color 0.22s ease;
}

.services-hero__action-icon {
	display: grid;
	width: 44px;
	height: 44px;
	place-items: center;
	border-radius: 14px;
}

.services-hero__action-icon svg {
	width: 22px;
	height: 22px;
}

.services-hero__action-text {
	display: grid;
	gap: 0.12rem;
	min-width: 0;
}

.services-hero__action-text strong {
	font-size: 0.92rem;
	line-height: 1.25;
	color: var(--text-primary);
}

.services-hero__action-text small {
	color: var(--text-muted);
	font-size: 0.74rem;
	line-height: 1.3;
}

.services-hero__action-arrow {
	font-size: 1.1rem;
	line-height: 1;
	color: var(--text-muted);
	transition: transform 0.22s ease, color 0.22s ease;
}

.services-hero__action--ads {
	background: linear-gradient(135deg, rgba(39, 135, 245, 0.12), rgba(255, 255, 255, 0.02));
}

.services-hero__action--ads .services-hero__action-icon {
	color: #7cc4ff;
	background: rgba(39, 135, 245, 0.16);
}

.services-hero__action--dev {
	background: linear-gradient(135deg, rgba(168, 85, 247, 0.12), rgba(255, 255, 255, 0.02));
}

.services-hero__action--dev .services-hero__action-icon {
	color: #c4b5fd;
	background: rgba(168, 85, 247, 0.16);
}

.services-hero__action:hover,
.services-hero__action:focus-visible {
	transform: translateY(-3px);
	text-decoration: none;
}

.services-hero__action--ads:hover,
.services-hero__action--ads:focus-visible {
	border-color: rgba(39, 135, 245, 0.45);
	box-shadow: 0 14px 32px rgba(18, 103, 194, 0.22);
}

.services-hero__action--dev:hover,
.services-hero__action--dev:focus-visible {
	border-color: rgba(168, 85, 247, 0.42);
	box-shadow: 0 14px 32px rgba(109, 40, 217, 0.2);
}

.services-hero__action:hover .services-hero__action-arrow,
.services-hero__action:focus-visible .services-hero__action-arrow {
	transform: translateX(4px);
	color: #9fd0ff;
}

.services-hero__action--dev:hover .services-hero__action-arrow,
.services-hero__action--dev:focus-visible .services-hero__action-arrow {
	color: #c4b5fd;
}

.services-showcase__label {
	position: relative;
	z-index: 1;
	margin: 0 0 0.75rem;
	padding-left: 0.15rem;
	color: var(--text-muted);
	font-size: 0.78rem;
	font-weight: 700;
	letter-spacing: 0.08em;
	text-transform: uppercase;
}

.services-showcase {
	display: grid;
	grid-template-columns: repeat(2, minmax(0, 1fr));
	gap: 1.15rem;
}

.services-panel {
	position: relative;
	min-width: 0;
}

.services-panel__shine {
	position: absolute;
	inset: 0;
	border-radius: 26px;
	opacity: 0.75;
	pointer-events: none;
	transition: opacity 0.35s ease;
}

.services-panel--ads .services-panel__shine {
	background:
		linear-gradient(145deg, rgba(39, 135, 245, 0.22), transparent 55%),
		linear-gradient(325deg, rgba(39, 135, 245, 0.08), transparent 50%);
}

.services-panel--dev .services-panel__shine {
	background:
		linear-gradient(145deg, rgba(168, 85, 247, 0.2), transparent 55%),
		linear-gradient(325deg, rgba(45, 212, 191, 0.08), transparent 50%);
}

.services-panel__shell {
	position: relative;
	display: flex;
	flex-direction: column;
	height: 100%;
	padding: clamp(1.15rem, 2.6vw, 1.65rem);
	border-radius: 26px;
	border-left-width: 3px;
	transition: transform 0.3s ease, box-shadow 0.3s ease, border-color 0.3s ease;
}

.services-panel--ads .services-panel__shell {
	border-left-color: rgba(39, 135, 245, 0.55);
}

.services-panel--dev .services-panel__shell {
	border-left-color: rgba(168, 85, 247, 0.55);
}

.services-panel:hover .services-panel__shell {
	transform: translateY(-5px);
}

.services-panel--ads:hover .services-panel__shell {
	border-color: rgba(39, 135, 245, 0.38);
	box-shadow: 0 24px 48px rgba(6, 13, 26, 0.38);
}

.services-panel--dev:hover .services-panel__shell {
	border-color: rgba(168, 85, 247, 0.36);
	box-shadow: 0 24px 48px rgba(6, 13, 26, 0.38);
}

.services-panel:hover .services-panel__shine {
	opacity: 1;
}

.services-panel__top {
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 0.75rem;
	margin-bottom: 1rem;
}

.services-panel__badge {
	display: inline-flex;
	padding: 0.28rem 0.62rem;
	border-radius: 999px;
	font-size: 0.68rem;
	font-weight: 700;
	letter-spacing: 0.06em;
	text-transform: uppercase;
}

.services-panel__badge--ads {
	border: 1px solid rgba(39, 135, 245, 0.34);
	background: rgba(39, 135, 245, 0.12);
	color: #7cc4ff;
}

.services-panel__badge--dev {
	border: 1px solid rgba(168, 85, 247, 0.34);
	background: rgba(168, 85, 247, 0.12);
	color: #c4b5fd;
}

.services-panel__icon {
	display: grid;
	width: 54px;
	height: 54px;
	place-items: center;
	border-radius: 18px;
}

.services-panel__icon svg {
	width: 26px;
	height: 26px;
}

.services-panel__icon--ads {
	color: #fff;
	background: linear-gradient(145deg, #2787f5 0%, #1571da 58%, #0e5bb3 100%);
	box-shadow: 0 14px 30px rgba(18, 103, 194, 0.32);
}

.services-panel__icon--dev {
	color: #fff;
	background: linear-gradient(145deg, #a855f7 0%, #8b5cf6 55%, #6d28d9 100%);
	box-shadow: 0 14px 30px rgba(109, 40, 217, 0.3);
}

.services-panel__title {
	margin: 0 0 0.65rem;
	font-family: 'Unbounded', 'Manrope', system-ui, sans-serif;
	font-size: clamp(1.05rem, 2.4vw, 1.48rem);
	font-weight: 700;
	line-height: 1.28;
	letter-spacing: 0.01em;
	text-wrap: balance;
}

.services-panel--ads .services-panel__title {
	background: linear-gradient(100deg, #f0f7ff 0%, #79c4ff 38%, #38bdf8 72%, #5eead4 100%);
	-webkit-background-clip: text;
	background-clip: text;
	color: transparent;
}

.services-panel--dev .services-panel__title {
	background: linear-gradient(100deg, #faf5ff 0%, #d8b4fe 40%, #a855f7 78%, #7c3aed 100%);
	-webkit-background-clip: text;
	background-clip: text;
	color: transparent;
}

.services-panel__intro {
	margin: 0 0 1.15rem;
	font-size: 0.94rem;
	line-height: 1.68;
	color: var(--text-secondary);
}

.services-panel__features {
	display: grid;
	grid-template-columns: repeat(2, minmax(0, 1fr));
	gap: 0.65rem;
	margin-bottom: 1.15rem;
}

.services-feature {
	display: grid;
	grid-template-columns: auto 1fr;
	gap: 0.55rem 0.7rem;
	align-items: start;
	padding: 0.78rem 0.85rem;
	border: 1px solid rgba(125, 141, 165, 0.18);
	border-radius: 14px;
	background: rgba(255, 255, 255, 0.025);
	font-size: 0.86rem;
	line-height: 1.45;
	color: var(--text-primary);
	transition: border-color 0.22s ease, background-color 0.22s ease;
}

.services-panel--ads .services-feature:hover {
	border-color: rgba(39, 135, 245, 0.32);
	background: rgba(39, 135, 245, 0.06);
}

.services-panel--dev .services-feature:hover {
	border-color: rgba(168, 85, 247, 0.3);
	background: rgba(168, 85, 247, 0.06);
}

.services-feature__num {
	font-size: 0.68rem;
	font-weight: 800;
	letter-spacing: 0.04em;
	color: var(--text-muted);
}

.services-panel--ads .services-feature__num {
	color: #7cc4ff;
}

.services-panel--dev .services-feature__num {
	color: #c4b5fd;
}

.services-panel__promo {
	display: flex;
	flex-wrap: wrap;
	align-items: center;
	gap: 0.55rem;
	margin: 0 0 1rem;
	padding: 0.72rem 0.9rem;
	border: 1px dashed rgba(168, 85, 247, 0.38);
	border-radius: 14px;
	background: linear-gradient(135deg, rgba(168, 85, 247, 0.12), rgba(39, 135, 245, 0.05));
	font-size: 0.86rem;
	line-height: 1.45;
}

.services-panel__promo-tag {
	display: inline-flex;
	padding: 0.18rem 0.48rem;
	border-radius: 999px;
	background: linear-gradient(135deg, #a855f7, #7c3aed);
	color: #fff;
	font-size: 0.64rem;
	font-weight: 800;
	letter-spacing: 0.05em;
	text-transform: uppercase;
}

.services-panel__promo--ads {
	border-color: rgba(39, 135, 245, 0.38);
	background: linear-gradient(135deg, rgba(39, 135, 245, 0.12), rgba(45, 212, 191, 0.05));
}

.services-panel__promo-tag--ads {
	background: linear-gradient(135deg, #2787f5, #1d6fd1);
}

.services-panel__btn {
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 0.75rem;
	margin-top: auto;
	padding: 0.95rem 1.1rem;
	border-radius: 16px;
	text-decoration: none;
	font-size: 0.92rem;
	font-weight: 650;
	transition:
		transform 0.22s ease,
		box-shadow 0.22s ease,
		filter 0.22s ease;
}

.services-panel__btn--ads {
	border: 1px solid rgba(39, 135, 245, 0.42);
	background: linear-gradient(135deg, rgba(39, 135, 245, 0.22), rgba(21, 113, 218, 0.12));
	color: #dff0ff;
	box-shadow: 0 12px 28px rgba(18, 103, 194, 0.18);
}

.services-panel__btn--dev {
	border: 1px solid rgba(168, 85, 247, 0.4);
	background: linear-gradient(135deg, rgba(168, 85, 247, 0.22), rgba(109, 40, 217, 0.12));
	color: #f0e8ff;
	box-shadow: 0 12px 28px rgba(109, 40, 217, 0.16);
}

.services-panel__btn:hover,
.services-panel__btn:focus-visible {
	transform: translateY(-2px);
	text-decoration: none;
	filter: brightness(1.06);
}

.services-panel__btn--ads:hover,
.services-panel__btn--ads:focus-visible {
	color: #fff;
	box-shadow: 0 16px 34px rgba(18, 103, 194, 0.28);
}

.services-panel__btn--dev:hover,
.services-panel__btn--dev:focus-visible {
	color: #fff;
	box-shadow: 0 16px 34px rgba(109, 40, 217, 0.26);
}

.services-panel__btn-arrow {
	flex-shrink: 0;
	font-size: 1.15rem;
	line-height: 1;
	transition: transform 0.22s ease;
}

.services-panel__btn:hover .services-panel__btn-arrow,
.services-panel__btn:focus-visible .services-panel__btn-arrow {
	transform: translateX(5px);
}

body.light .services-panel--ads .services-panel__title {
	background: linear-gradient(100deg, #0c4a6e 0%, #0369a1 45%, #0284c7 100%);
	-webkit-background-clip: text;
	background-clip: text;
	color: transparent;
}

body.light .services-panel--dev .services-panel__title {
	background: linear-gradient(100deg, #581c87 0%, #7e22ce 45%, #9333ea 100%);
	-webkit-background-clip: text;
	background-clip: text;
	color: transparent;
}

body.light .services-hero__utp {
	background: linear-gradient(100deg, #0f172a 0%, #1e3a8a 42%, #581c87 100%);
	-webkit-background-clip: text;
	background-clip: text;
	color: transparent;
}

body.light .services-hero__utp-accent {
	background: linear-gradient(100deg, #0369a1 0%, #0284c7 40%, #7e22ce 100%);
	-webkit-background-clip: text;
	background-clip: text;
	color: transparent;
}

body.light .services-hero__metrics,
body.light .services-hero__visual-card,
body.light .services-feature {
	background: rgba(255, 255, 255, 0.72);
}

body.light .services-hero__metrics li:nth-child(1) strong,
body.light .services-hero__metrics li:nth-child(2) strong,
body.light .services-hero__metrics li:nth-child(3) strong {
	background: none;
	color: var(--text-primary);
}

@media (max-width: 991.98px) {
	.services-hero__layout {
		grid-template-columns: 1fr;
	}

	.services-hero__visual {
		min-height: 0;
	}

	.services-hero__visual-card {
		width: 100%;
		max-width: 360px;
	}

	.services-showcase {
		grid-template-columns: 1fr;
	}

	.services-panel__features {
		grid-template-columns: 1fr;
	}
}

@media (max-width: 575.98px) {
	.services-hero__metrics {
		grid-template-columns: 1fr;
	}

	.services-hero__metrics li + li {
		border-left: 0;
		border-top: 1px solid rgba(125, 141, 165, 0.16);
	}

	.services-hero__actions {
		grid-template-columns: 1fr;
	}
}

/* Услуги / реклама / разработка — компактная типографика как на главной (mobile) */
@media (max-width: 767.98px) {
	body.has-tabbar .px-3.px-lg-0.pt-3.pt-lg-0:has(.services-landing) {
		padding-top: 0.5rem !important;
		padding-left: 0.75rem !important;
		padding-right: 0.75rem !important;
	}

	.services-landing {
		padding-bottom: 1rem;
	}

	.services-hero {
		margin-bottom: 0.65rem;
	}

	.services-hero__frame {
		padding: 0.85rem 0.9rem;
		border-radius: 18px;
	}

	.services-hero__frame .page-breadcrumbs {
		font-size: 0.68rem;
		margin-bottom: 0.35rem;
	}

	.services-hero__layout {
		margin-top: 0.55rem;
		gap: 0.65rem;
	}

	.services-hero__eyebrow,
	.dev-page__eyebrow {
		margin-bottom: 0.45rem;
		padding: 0.28rem 0.55rem 0.28rem 0.48rem;
		font-size: 0.58rem;
		letter-spacing: 0.06em;
	}

	.services-hero__utp,
	.ads-page__title,
	.dev-page__title {
		max-width: none;
		margin-bottom: 0.55rem;
		font-size: 1.18rem;
		line-height: 1.22;
		letter-spacing: 0;
	}

	.services-hero__lead,
	.ads-page__lead,
	.dev-page__lead {
		margin-bottom: 0.75rem;
		font-size: 0.78rem;
		line-height: 1.45;
	}

	.services-hero__metrics {
		margin-top: 0.75rem;
		border-radius: 14px;
	}

	.services-hero__metrics li {
		padding: 0.55rem 0.65rem;
	}

	.services-hero__metrics strong {
		font-size: 0.82rem;
	}

	.services-hero__metrics span {
		font-size: 0.62rem;
	}

	.services-hero__actions {
		margin-top: 0.6rem;
		gap: 0.4rem;
	}

	.services-hero__action {
		padding: 0.42rem 0.7rem;
		border-radius: 14px;
		gap: 0.55rem;
	}

	.services-hero__action-icon {
		width: 34px;
		height: 34px;
		border-radius: 10px;
	}

	.services-hero__action-icon svg {
		width: 18px;
		height: 18px;
	}

	.services-hero__action-text strong {
		font-size: 0.76rem;
	}

	.services-hero__action-text small {
		font-size: 0.62rem;
	}

	.services-hero__action-arrow {
		font-size: 0.9rem;
	}

	.services-hero__visual-label {
		font-size: 0.58rem;
	}

	.services-hero__visual-value,
	.dev-page__visual-value {
		font-size: 1.35rem;
	}

	.services-hero__visual-caption {
		font-size: 0.68rem;
	}

	.services-hero__visual-cities span {
		padding: 0.18rem 0.42rem;
		font-size: 0.58rem;
	}

	.services-hero__visual-card,
	.services-hero__visual-card--duo {
		padding: 0.85rem 0.75rem;
		border-radius: 16px;
	}

	.services-hero__visual-stat {
		padding: 0.45rem 0.35rem;
		border-radius: 12px;
	}

	.services-hero__visual-stat strong {
		font-size: 0.78rem;
	}

	.services-hero__float,
	.ads-page__float,
	.dev-page__float {
		padding: 0.28rem 0.48rem;
		font-size: 0.56rem;
	}

	.services-showcase__label {
		margin-bottom: 0.55rem;
		font-size: 0.68rem;
		letter-spacing: 0.06em;
	}

	.services-showcase {
		gap: 0.65rem;
	}

	.services-panel__shell {
		padding: 0.78rem;
		border-radius: 18px;
	}

	.services-panel__top {
		margin-bottom: 0.65rem;
	}

	.services-panel__badge {
		padding: 0.22rem 0.48rem;
		font-size: 0.58rem;
	}

	.services-panel__icon {
		width: 42px;
		height: 42px;
		border-radius: 14px;
	}

	.services-panel__icon svg {
		width: 20px;
		height: 20px;
	}

	.services-panel__title {
		margin-bottom: 0.45rem;
		font-size: 0.88rem;
		line-height: 1.35;
	}

	.services-panel__intro {
		margin-bottom: 0.75rem;
		font-size: 0.78rem;
		line-height: 1.45;
	}

	.services-panel__features {
		gap: 0.45rem;
		margin-bottom: 0.75rem;
	}

	.services-feature {
		padding: 0.55rem 0.62rem;
		border-radius: 12px;
		font-size: 0.74rem;
		line-height: 1.4;
		gap: 0.35rem 0.55rem;
	}

	.services-feature__num {
		font-size: 0.58rem;
	}

	.services-panel__promo {
		padding: 0.55rem 0.65rem;
		margin-bottom: 0.75rem;
		font-size: 0.74rem;
		line-height: 1.4;
	}

	.services-panel__promo-tag {
		padding: 0.18rem 0.42rem;
		font-size: 0.58rem;
	}

	.services-panel__btn {
		padding: 0.42rem 0.75rem;
		border-radius: 12px;
		font-size: 0.76rem;
	}

	.ads-page__cta-btn,
	.dev-page__cta-btn {
		padding: 0.42rem 0.75rem;
		min-height: 36px;
		font-size: 0.76rem;
	}

	.ads-page__section,
	.dev-page__section {
		margin-bottom: 0.65rem;
		padding: 0.85rem 0.9rem;
		border-radius: 18px;
	}

	.ads-page__section-title,
	.dev-page__section-title {
		margin-bottom: 0.65rem;
		font-size: 0.88rem;
		line-height: 1.35;
	}

	.ads-page__subsection-title {
		margin: 0.85rem 0 0.55rem;
		font-size: 0.82rem;
	}

	.ads-page__section-lead,
	.ads-page__order-text {
		font-size: 0.78rem;
		line-height: 1.45;
	}

	.ads-page__caps li,
	.dev-page__benefits li {
		padding: 0.62rem 0.7rem;
		border-radius: 14px;
	}

	.ads-page__caps strong {
		font-size: 0.82rem;
	}

	.ads-page__caps span,
	.dev-page__benefits span {
		font-size: 0.68rem;
	}

	.dev-page__benefits strong {
		font-size: 0.78rem;
	}

	.ads-page__promo-head {
		font-size: 0.82rem;
	}

	.ads-page__promo-note {
		font-size: 0.72rem;
	}

	.ads-table {
		font-size: 0.74rem;
	}

	.ads-table th,
	.ads-table td {
		padding: 0.55rem 0.62rem;
	}

	.ads-table thead th {
		font-size: 0.62rem;
	}

	.ads-page__free-note,
	.ads-page__legal-important,
	.ads-page__legal-list {
		font-size: 0.78rem;
		line-height: 1.45;
	}

	.ads-page__discounts li {
		padding: 0.62rem 0.55rem;
	}

	.ads-page__discounts strong {
		font-size: 0.95rem;
	}

	.ads-page__discounts span {
		font-size: 0.68rem;
	}

	.dev-page__promo-text {
		padding: 0.65rem 0.75rem;
		font-size: 0.78rem;
		line-height: 1.45;
	}

	.dev-page__tariff {
		padding: 0.75rem 0.8rem;
	}

	.dev-page__tariff-name {
		font-size: 0.82rem;
	}

	.dev-page__tariff-price {
		font-size: 0.88rem;
	}

	.dev-page__tariff-desc,
	.dev-page__price-note {
		font-size: 0.72rem;
		line-height: 1.45;
	}

	.dev-page__benefit-highlight {
		padding: 0.75rem 0.85rem;
	}

	.dev-page__benefit-highlight strong {
		font-size: 0.82rem;
	}

	.dev-page__benefit-highlight span {
		font-size: 0.74rem;
	}

	.dev-page__timeline-step {
		padding: 0.65rem 0.5rem 0.75rem;
	}

	.dev-page__timeline-body h3 {
		font-size: 0.74rem;
	}

	.dev-page__timeline-body p {
		font-size: 0.64rem;
	}

	.dev-page__submit-btn {
		padding: 0.42rem 0.85rem;
		font-size: 0.76rem;
	}
}

@media (prefers-reduced-motion: reduce) {
	.services-hero__visual-glow,
	.services-hero__visual-card::before,
	.services-hero__visual-card::after,
	.services-hero__eyebrow::before,
	.services-hero__float {
		animation: none;
	}
}

/* Страница «Реклама в Крыму» */
.ads-page__hero .services-hero__frame {
	padding-bottom: clamp(1.5rem, 3vw, 2rem);
}

.ads-page__hero-layout {
	margin-top: 0.65rem;
	padding-top: 0.85rem;
	border-top: 1px solid rgba(125, 141, 165, 0.12);
}

.ads-page__hero-content {
	min-width: 0;
}

.ads-page__visual {
	min-height: 260px;
}

.ads-page__visual-icon {
	display: grid;
	width: 52px;
	height: 52px;
	place-items: center;
	margin-bottom: 0.15rem;
	border-radius: 16px;
	color: #7cc4ff;
	background: rgba(39, 135, 245, 0.16);
	box-shadow: 0 10px 24px rgba(39, 135, 245, 0.2);
}

.ads-page__visual-icon svg {
	width: 26px;
	height: 26px;
}

.ads-page__visual-card {
	width: min(100%, 270px);
}

.ads-page__float {
	position: absolute;
	z-index: 2;
	padding: 0.38rem 0.62rem;
	border: 1px solid rgba(125, 141, 165, 0.26);
	border-radius: 999px;
	background: rgba(8, 14, 24, 0.55);
	backdrop-filter: blur(10px);
	font-size: 0.68rem;
	font-weight: 700;
	letter-spacing: 0.03em;
	text-transform: uppercase;
	box-shadow: 0 12px 28px rgba(6, 13, 26, 0.32);
	animation: ads-page-float 7s ease-in-out infinite;
}

.ads-page__float--post {
	top: 10%;
	left: 2%;
	color: #9fd0ff;
	border-color: rgba(39, 135, 245, 0.35);
	animation-delay: 0s;
}

.ads-page__float--story {
	top: 18%;
	right: 0;
	color: #5eead4;
	border-color: rgba(45, 212, 191, 0.32);
	animation-delay: -2.3s;
}

.ads-page__float--site {
	bottom: 12%;
	left: 6%;
	color: #c4b5fd;
	border-color: rgba(168, 85, 247, 0.32);
	animation-delay: -4.6s;
}

@keyframes ads-page-float {
	0%,
	100% {
		transform: translateY(0);
	}
	50% {
		transform: translateY(-9px);
	}
}

.ads-page__title {
	margin: 0 0 0.85rem;
	font-family: 'Unbounded', 'Manrope', system-ui, sans-serif;
	font-size: clamp(1.2rem, 3.2vw, 2rem);
	font-weight: 700;
	line-height: 1.25;
	letter-spacing: 0.01em;
	text-wrap: balance;
	background: linear-gradient(100deg, #f0f7ff 0%, #79c4ff 38%, #38bdf8 72%, #5eead4 100%);
	-webkit-background-clip: text;
	background-clip: text;
	color: transparent;
}

.ads-page__lead {
	margin: 0 0 1.15rem;
	max-width: 44rem;
	font-size: clamp(0.94rem, 1.8vw, 1.06rem);
	line-height: 1.72;
	color: var(--text-secondary);
}

.ads-page__cta-btn {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	padding: 0.78rem 1.35rem;
	border: 0;
	border-radius: 14px;
	background: linear-gradient(135deg, #2787f5 0%, #1d6fd1 100%);
	color: #fff;
	font-size: 0.92rem;
	font-weight: 700;
	text-decoration: none;
	box-shadow: 0 14px 32px rgba(18, 103, 194, 0.28);
	transition: transform 0.22s ease, box-shadow 0.22s ease;
	cursor: pointer;
}

.ads-page__cta-btn:hover,
.ads-page__cta-btn:focus-visible {
	transform: translateY(-2px);
	box-shadow: 0 18px 38px rgba(18, 103, 194, 0.34);
	color: #fff;
}

.ads-page__cta-btn--order {
	position: relative;
	overflow: hidden;
	gap: 0.65rem;
	min-height: 52px;
	padding: 0.85rem 1.45rem;
	border: 1px solid rgba(111, 192, 255, 0.45);
	border-radius: 16px;
	background:
		linear-gradient(135deg, rgba(255, 255, 255, 0.14) 0%, transparent 42%),
		linear-gradient(135deg, #3b9bff 0%, #2787f5 45%, #1a6fd4 100%);
	box-shadow:
		0 16px 36px rgba(18, 103, 194, 0.32),
		inset 0 1px 0 rgba(255, 255, 255, 0.22);
	font-size: 0.94rem;
	letter-spacing: 0.01em;
}

.ads-page__cta-btn-glow {
	position: absolute;
	inset: -40% auto -40% -20%;
	width: 45%;
	background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.28), transparent);
	transform: skewX(-18deg);
	animation: ads-cta-shine 4.5s ease-in-out infinite;
	pointer-events: none;
}

@keyframes ads-cta-shine {
	0%,
	100% {
		left: -30%;
		opacity: 0;
	}
	12% {
		opacity: 1;
	}
	50% {
		left: 120%;
		opacity: 0;
	}
}

.ads-page__cta-btn-label {
	position: relative;
	z-index: 1;
}

.ads-page__cta-btn-arrow {
	position: relative;
	z-index: 1;
	font-size: 1.12rem;
	line-height: 1;
	transition: transform 0.22s ease;
}

.ads-page__cta-btn--order:hover,
.ads-page__cta-btn--order:focus-visible {
	border-color: rgba(159, 208, 255, 0.65);
	box-shadow:
		0 20px 42px rgba(18, 103, 194, 0.38),
		inset 0 1px 0 rgba(255, 255, 255, 0.28);
	filter: brightness(1.05);
}

.ads-page__cta-btn--order:hover .ads-page__cta-btn-arrow,
.ads-page__cta-btn--order:focus-visible .ads-page__cta-btn-arrow {
	transform: translateX(4px);
}

.ads-page__cta-btn--wide {
	width: min(100%, 320px);
}

.ads-page__section {
	position: relative;
	z-index: 1;
	margin-bottom: 0.85rem;
	padding: clamp(1.15rem, 2.6vw, 1.65rem);
	border-radius: 24px;
}

.ads-page__section-title {
	display: flex;
	align-items: center;
	gap: 0.5rem;
	margin: 0 0 1rem;
	font-family: 'Unbounded', 'Manrope', system-ui, sans-serif;
	font-size: clamp(0.95rem, 2.2vw, 1.22rem);
	font-weight: 700;
	line-height: 1.3;
	letter-spacing: 0.01em;
}

.ads-page__subsection-title {
	display: flex;
	align-items: center;
	gap: 0.45rem;
	margin: 1.35rem 0 0.85rem;
	font-size: 1rem;
	font-weight: 700;
	line-height: 1.3;
}

.ads-page__section-emoji {
	flex-shrink: 0;
	font-size: 1.05em;
	line-height: 1;
}

.ads-page__section-lead {
	margin: 0 0 0.85rem;
	color: var(--text-secondary);
	font-size: 0.92rem;
	line-height: 1.65;
}

.ads-page__caps {
	display: grid;
	grid-template-columns: repeat(2, minmax(0, 1fr));
	gap: 0.65rem;
	margin: 0;
	padding: 0;
	list-style: none;
}

.ads-page__caps li {
	display: grid;
	gap: 0.15rem;
	padding: 0.85rem 0.95rem;
	border: 1px solid rgba(125, 141, 165, 0.22);
	border-radius: 16px;
	background: rgba(255, 255, 255, 0.03);
}

.ads-page__caps strong {
	font-size: 1rem;
	line-height: 1.2;
	color: var(--text-primary);
}

.ads-page__caps span {
	font-size: 0.78rem;
	line-height: 1.4;
	color: var(--text-muted);
}

.ads-page__promo-block {
	padding: 1rem 1.05rem;
	border: 1px dashed rgba(39, 135, 245, 0.42);
	border-radius: 18px;
	background: linear-gradient(135deg, rgba(39, 135, 245, 0.12), rgba(45, 212, 191, 0.05));
}

.ads-page__promo-head {
	margin: 0 0 0.25rem;
	font-size: 0.98rem;
	line-height: 1.4;
}

.ads-page__promo-note {
	margin: 0 0 0.85rem;
	color: var(--text-muted);
	font-size: 0.82rem;
}

.ads-table-wrap {
	overflow-x: auto;
	-webkit-overflow-scrolling: touch;
	border-radius: 14px;
}

.ads-table {
	width: 100%;
	min-width: 520px;
	border-collapse: collapse;
	font-size: 0.86rem;
}

.ads-table--promo {
	min-width: 0;
}

.ads-table th,
.ads-table td {
	padding: 0.72rem 0.85rem;
	border-bottom: 1px solid rgba(125, 141, 165, 0.16);
	text-align: left;
	vertical-align: top;
}

.ads-table thead th {
	background: rgba(39, 135, 245, 0.1);
	color: var(--text-primary);
	font-size: 0.74rem;
	font-weight: 700;
	letter-spacing: 0.04em;
	text-transform: uppercase;
}

.ads-table tbody tr:last-child td {
	border-bottom: 0;
}

.ads-table tbody tr:hover td {
	background: rgba(39, 135, 245, 0.04);
}

.ads-table--promo tbody td:last-child {
	font-variant-numeric: tabular-nums;
	white-space: nowrap;
}

.ads-table__row-muted td {
	color: var(--text-muted);
}

.ads-table__row-muted td:last-child {
	text-align: center;
	font-style: italic;
}

.ads-page__free-note {
	margin: 1rem 0 0;
	padding: 0.85rem 1rem;
	border: 1px solid rgba(45, 212, 191, 0.28);
	border-radius: 14px;
	background: rgba(45, 212, 191, 0.08);
	font-size: 0.92rem;
	line-height: 1.5;
	text-align: center;
}

.ads-page__discounts {
	display: grid;
	grid-template-columns: repeat(3, minmax(0, 1fr));
	gap: 0.65rem;
	margin: 0;
	padding: 0;
	list-style: none;
}

.ads-page__discounts li {
	display: grid;
	gap: 0.12rem;
	justify-items: center;
	padding: 0.95rem 0.75rem;
	border: 1px solid rgba(168, 85, 247, 0.24);
	border-radius: 16px;
	background: rgba(168, 85, 247, 0.06);
	text-align: center;
}

.ads-page__discounts strong {
	font-size: clamp(1.2rem, 3vw, 1.55rem);
	line-height: 1;
	background: linear-gradient(180deg, #fff 0%, #c4b5fd 100%);
	-webkit-background-clip: text;
	background-clip: text;
	color: transparent;
}

.ads-page__discounts span {
	font-size: 0.78rem;
	color: var(--text-muted);
}

.ads-page__section--legal {
	border-left: 3px solid rgba(125, 141, 165, 0.35);
}

.ads-page__legal-important {
	margin: 0 0 0.85rem;
	padding: 0.85rem 0.95rem;
	border-radius: 12px;
	background: rgba(255, 255, 255, 0.04);
	font-size: 0.9rem;
	line-height: 1.65;
}

.ads-page__legal-list {
	margin: 0;
	padding-left: 1.15rem;
	color: var(--text-secondary);
	font-size: 0.9rem;
	line-height: 1.65;
}

.ads-page__legal-list li + li {
	margin-top: 0.35rem;
}

.ads-page__order-layout {
	display: grid;
	grid-template-columns: minmax(0, 1fr) auto;
	gap: clamp(1rem, 2.5vw, 2rem);
	align-items: center;
}

.ads-page__order-main {
	min-width: 0;
}

.ads-page__order-main .ads-page__section-title {
	margin-bottom: 0.55rem;
}

.ads-page__order-action {
	display: flex;
	align-items: center;
	align-self: stretch;
	justify-content: flex-end;
}

.ads-page__order-text {
	margin: 0;
	max-width: 36rem;
	color: var(--text-secondary);
	font-size: 0.94rem;
	line-height: 1.68;
}

body.light .ads-page__title {
	background: linear-gradient(100deg, #0c4a6e 0%, #0369a1 45%, #0284c7 100%);
	-webkit-background-clip: text;
	background-clip: text;
	color: transparent;
}

body.light .ads-page__caps li,
body.light .ads-page__discounts li {
	background: rgba(255, 255, 255, 0.72);
}

body.light .ads-page__discounts strong {
	background: none;
	color: #6d28d9;
}

@media (max-width: 767.98px) {
	.ads-page__caps {
		grid-template-columns: 1fr;
	}

	.ads-page__discounts {
		grid-template-columns: 1fr;
	}

	.ads-page__visual {
		min-height: 0;
		margin-top: 0.35rem;
	}

	.ads-page__float--post {
		left: 4%;
	}

	.ads-page__float--story {
		right: 4%;
	}

	.ads-page__order-layout {
		grid-template-columns: 1fr;
	}

	.ads-page__order-action {
		justify-content: flex-end;
		align-self: auto;
	}
}

@media (prefers-reduced-motion: reduce) {
	.ads-page__float {
		animation: none;
	}

	.ads-page__cta-btn-glow {
		animation: none;
	}

	.dev-page__float,
	.dev-page__submit-glow {
		animation: none;
	}
}

/* Страница «Разработка сайтов» */
.dev-page__mesh {
	background:
		radial-gradient(ellipse 55% 45% at 12% 8%, rgba(168, 85, 247, 0.22), transparent 70%),
		radial-gradient(ellipse 45% 40% at 88% 12%, rgba(39, 135, 245, 0.14), transparent 72%),
		radial-gradient(ellipse 35% 30% at 50% 0%, rgba(168, 85, 247, 0.08), transparent 70%);
}

.dev-page__aura {
	background:
		radial-gradient(ellipse 70% 55% at 18% 20%, rgba(168, 85, 247, 0.24), transparent 68%),
		radial-gradient(ellipse 55% 50% at 82% 24%, rgba(39, 135, 245, 0.16), transparent 70%);
}

.dev-page__hero-layout {
	margin-top: 0.65rem;
	padding-top: 0.85rem;
	border-top: 1px solid rgba(125, 141, 165, 0.12);
}

.dev-page__eyebrow {
	border-color: rgba(168, 85, 247, 0.32);
	background: rgba(168, 85, 247, 0.1);
	color: #c4b5fd;
	box-shadow: 0 0 24px rgba(168, 85, 247, 0.12);
}

.dev-page__eyebrow::before {
	background: #a855f7;
	box-shadow: 0 0 10px rgba(168, 85, 247, 0.85);
}

.dev-page__title {
	margin: 0 0 0.85rem;
	font-family: 'Unbounded', 'Manrope', system-ui, sans-serif;
	font-size: clamp(1.2rem, 3.2vw, 2rem);
	font-weight: 700;
	line-height: 1.25;
	text-wrap: balance;
	background: linear-gradient(100deg, #faf5ff 0%, #d8b4fe 38%, #a855f7 72%, #7c3aed 100%);
	-webkit-background-clip: text;
	background-clip: text;
	color: transparent;
}

.dev-page__lead {
	margin: 0 0 1.15rem;
	max-width: 34rem;
	font-size: clamp(0.94rem, 1.8vw, 1.06rem);
	line-height: 1.72;
	color: var(--text-secondary);
}

.dev-page__cta-btn {
	display: inline-flex;
	align-items: center;
	padding: 0.78rem 1.35rem;
	border-radius: 14px;
	border: 1px solid rgba(168, 85, 247, 0.42);
	background: linear-gradient(135deg, rgba(168, 85, 247, 0.22), rgba(109, 40, 217, 0.12));
	color: #f0e8ff;
	font-size: 0.92rem;
	font-weight: 700;
	text-decoration: none;
	box-shadow: 0 14px 32px rgba(109, 40, 217, 0.22);
	transition: transform 0.22s ease, box-shadow 0.22s ease;
}

.dev-page__cta-btn:hover,
.dev-page__cta-btn:focus-visible {
	transform: translateY(-2px);
	box-shadow: 0 18px 38px rgba(109, 40, 217, 0.3);
	color: #fff;
	text-decoration: none;
}

.dev-page__visual {
	min-height: 260px;
}

.dev-page__visual-glow {
	background: radial-gradient(circle, rgba(168, 85, 247, 0.28) 0%, rgba(39, 135, 245, 0.12) 42%, transparent 72%);
}

.dev-page__visual-icon {
	display: grid;
	width: 52px;
	height: 52px;
	place-items: center;
	margin-bottom: 0.15rem;
	border-radius: 16px;
	color: #c4b5fd;
	background: rgba(168, 85, 247, 0.16);
	box-shadow: 0 10px 24px rgba(109, 40, 217, 0.2);
}

.dev-page__visual-icon svg {
	width: 26px;
	height: 26px;
}

.dev-page__visual-value {
	background: none;
	-webkit-background-clip: border-box;
	background-clip: border-box;
	color: #f3e8ff;
	font-size: clamp(1.35rem, 3.5vw, 2rem);
	line-height: 1.15;
	text-shadow: 0 0 20px rgba(168, 85, 247, 0.35);
}

.dev-page__float {
	position: absolute;
	z-index: 2;
	padding: 0.38rem 0.62rem;
	border-radius: 999px;
	background: rgba(8, 14, 24, 0.55);
	backdrop-filter: blur(10px);
	font-size: 0.68rem;
	font-weight: 700;
	text-transform: uppercase;
	box-shadow: 0 12px 28px rgba(6, 13, 26, 0.32);
	animation: dev-page-float 7s ease-in-out infinite;
}

.dev-page__float--design {
	top: 10%;
	left: 2%;
	color: #c4b5fd;
	border: 1px solid rgba(168, 85, 247, 0.35);
}

.dev-page__float--host {
	top: 18%;
	right: 0;
	color: #9fd0ff;
	border: 1px solid rgba(39, 135, 245, 0.35);
	animation-delay: -2.3s;
}

.dev-page__float--seo {
	bottom: 12%;
	left: 6%;
	color: #5eead4;
	border: 1px solid rgba(45, 212, 191, 0.32);
	animation-delay: -4.6s;
}

@keyframes dev-page-float {
	0%,
	100% {
		transform: translateY(0);
	}
	50% {
		transform: translateY(-9px);
	}
}

.dev-page__section {
	position: relative;
	z-index: 1;
	margin-bottom: 0.85rem;
	padding: clamp(1.15rem, 2.6vw, 1.65rem);
	border-radius: 24px;
}

.dev-page__section-title {
	display: flex;
	align-items: center;
	gap: 0.5rem;
	margin: 0 0 1rem;
	font-family: 'Unbounded', 'Manrope', system-ui, sans-serif;
	font-size: clamp(0.95rem, 2.2vw, 1.22rem);
	font-weight: 700;
	line-height: 1.3;
}

.dev-page__section-emoji {
	flex-shrink: 0;
}

.dev-page__promo-text {
	margin: 0;
	padding: 0.9rem 1rem;
	border: 1px dashed rgba(168, 85, 247, 0.38);
	border-radius: 16px;
	background: linear-gradient(135deg, rgba(168, 85, 247, 0.12), rgba(39, 135, 245, 0.05));
	font-size: 0.96rem;
	line-height: 1.55;
}

.dev-page__tariffs {
	display: grid;
	grid-template-columns: repeat(2, minmax(0, 1fr));
	gap: 0.75rem;
}

.dev-page__tariff {
	position: relative;
	display: grid;
	gap: 0.45rem;
	padding: 1rem 1.05rem;
	border: 1px solid rgba(125, 141, 165, 0.22);
	border-radius: 18px;
	background: rgba(255, 255, 255, 0.03);
	transition: border-color 0.22s ease, transform 0.22s ease, box-shadow 0.22s ease;
}

.dev-page__tariff:hover {
	transform: translateY(-3px);
	border-color: rgba(168, 85, 247, 0.32);
	box-shadow: 0 14px 32px rgba(109, 40, 217, 0.14);
}

.dev-page__tariff--featured {
	border-color: rgba(168, 85, 247, 0.38);
	background: linear-gradient(145deg, rgba(168, 85, 247, 0.12), rgba(255, 255, 255, 0.02));
}

.dev-page__tariff-badge {
	position: absolute;
	top: 0.75rem;
	right: 0.75rem;
	padding: 0.18rem 0.48rem;
	border-radius: 999px;
	background: linear-gradient(135deg, #a855f7, #7c3aed);
	color: #fff;
	font-size: 0.62rem;
	font-weight: 800;
	letter-spacing: 0.05em;
	text-transform: uppercase;
}

.dev-page__tariff-name {
	margin: 0;
	font-size: 1rem;
	font-weight: 700;
	line-height: 1.25;
	color: var(--text-primary);
}

.dev-page__tariff-price {
	margin: 0;
	font-family: 'Unbounded', 'Manrope', system-ui, sans-serif;
	font-size: clamp(1.05rem, 2.2vw, 1.28rem);
	font-weight: 700;
	line-height: 1.2;
	background: linear-gradient(100deg, #faf5ff 0%, #c4b5fd 100%);
	-webkit-background-clip: text;
	background-clip: text;
	color: transparent;
}

.dev-page__tariff-desc {
	margin: 0;
	font-size: 0.82rem;
	line-height: 1.55;
	color: var(--text-muted);
}

.dev-page__price-note {
	margin: 0.85rem 0 0;
	font-size: 0.82rem;
	line-height: 1.55;
	color: var(--text-muted);
}

.dev-page__benefits {
	display: grid;
	grid-template-columns: repeat(2, minmax(0, 1fr));
	gap: 0.65rem;
	margin: 0;
	padding: 0;
	list-style: none;
}

.dev-page__benefits li {
	display: grid;
	gap: 0.12rem;
	padding: 0.85rem 0.95rem;
	border: 1px solid rgba(125, 141, 165, 0.22);
	border-radius: 16px;
	background: rgba(255, 255, 255, 0.03);
}

.dev-page__benefit-highlight {
	display: grid;
	gap: 0.35rem;
	justify-items: center;
	max-width: 420px;
	margin: 0.85rem auto 0;
	padding: 1.1rem 1.25rem;
	border: 1px solid rgba(168, 85, 247, 0.42);
	border-radius: 20px;
	text-align: center;
	background:
		linear-gradient(145deg, rgba(168, 85, 247, 0.16), rgba(39, 135, 245, 0.06)),
		rgba(255, 255, 255, 0.03);
	box-shadow:
		0 18px 40px rgba(109, 40, 217, 0.18),
		inset 0 1px 0 rgba(255, 255, 255, 0.08);
}

.dev-page__benefit-highlight strong {
	font-family: 'Unbounded', 'Manrope', system-ui, sans-serif;
	font-size: 1rem;
	line-height: 1.25;
	background: linear-gradient(100deg, #faf5ff 0%, #c4b5fd 100%);
	-webkit-background-clip: text;
	background-clip: text;
	color: transparent;
}

.dev-page__benefit-highlight span {
	max-width: 28rem;
	font-size: 0.84rem;
	line-height: 1.55;
	color: var(--text-secondary);
}

.dev-page__benefits strong {
	font-size: 0.9rem;
	color: var(--text-primary);
}

.dev-page__benefits span {
	font-size: 0.78rem;
	line-height: 1.45;
	color: var(--text-muted);
}

.dev-page__section-title--center {
	justify-content: center;
	text-align: center;
}

.dev-page__section--process {
	overflow: hidden;
}

.dev-page__timeline {
	display: grid;
	grid-template-columns: repeat(7, minmax(0, 1fr));
	gap: 0.65rem;
	margin-top: 0.35rem;
}

.dev-page__timeline-step {
	position: relative;
	display: grid;
	gap: 0.65rem;
	justify-items: center;
	padding: 0.85rem 0.55rem 0.95rem;
	border: 1px solid rgba(125, 141, 165, 0.2);
	border-radius: 18px;
	text-align: center;
	background: rgba(255, 255, 255, 0.03);
	transition: transform 0.22s ease, border-color 0.22s ease, box-shadow 0.22s ease;
}

.dev-page__timeline-step::after {
	content: '';
	position: absolute;
	top: 1.55rem;
	right: -0.38rem;
	width: 0.65rem;
	height: 2px;
	background: linear-gradient(90deg, rgba(168, 85, 247, 0.45), rgba(168, 85, 247, 0.08));
	pointer-events: none;
}

.dev-page__timeline-step:last-child::after {
	display: none;
}

.dev-page__timeline-step:hover {
	transform: translateY(-4px);
	border-color: rgba(168, 85, 247, 0.32);
	box-shadow: 0 14px 30px rgba(109, 40, 217, 0.14);
}

.dev-page__timeline-step--finish {
	border-color: rgba(168, 85, 247, 0.38);
	background: linear-gradient(160deg, rgba(168, 85, 247, 0.14), rgba(255, 255, 255, 0.02));
}

.dev-page__timeline-dot {
	display: grid;
	width: 2.1rem;
	height: 2.1rem;
	place-items: center;
	border: 1px solid rgba(168, 85, 247, 0.35);
	border-radius: 50%;
	background: rgba(168, 85, 247, 0.12);
	color: #c4b5fd;
	font-size: 0.68rem;
	font-weight: 800;
	letter-spacing: 0.02em;
}

.dev-page__timeline-step--finish .dev-page__timeline-dot {
	color: #fff;
	background: linear-gradient(135deg, #a855f7, #7c3aed);
	box-shadow: 0 8px 20px rgba(109, 40, 217, 0.35);
}

.dev-page__timeline-body {
	display: grid;
	gap: 0.25rem;
}

.dev-page__timeline-body h3 {
	margin: 0;
	font-size: 0.78rem;
	font-weight: 700;
	line-height: 1.3;
	color: var(--text-primary);
}

.dev-page__timeline-body p {
	margin: 0;
	font-size: 0.68rem;
	line-height: 1.45;
	color: var(--text-muted);
}

.dev-page__section--contact {
	padding: 0;
	background: transparent;
	border: 0;
	box-shadow: none;
}

.dev-page__contact-shell {
	position: relative;
	display: flex;
	flex-direction: column;
	align-items: center;
	width: min(100%, 640px);
	margin: 0 auto;
	padding: clamp(1.35rem, 3vw, 2rem);
	border-radius: 28px;
	overflow: hidden;
	border-color: rgba(168, 85, 247, 0.22);
	background:
		linear-gradient(180deg, rgba(255, 255, 255, 0.04) 0%, transparent 30%),
		linear-gradient(145deg, rgba(168, 85, 247, 0.1), rgba(39, 135, 245, 0.04)),
		var(--glass-bg);
	box-shadow: 0 24px 60px rgba(6, 13, 26, 0.24);
}

.dev-page__contact-shell::before {
	content: '';
	position: absolute;
	top: 0;
	left: 10%;
	right: 10%;
	height: 1px;
	background: linear-gradient(90deg, transparent, rgba(196, 181, 253, 0.5), transparent);
	pointer-events: none;
}

.dev-page__contact-intro {
	display: grid;
	gap: 0.55rem;
	justify-items: center;
	width: 100%;
	margin-bottom: 1.25rem;
	text-align: center;
}

.dev-page__contact-badge {
	display: inline-flex;
	padding: 0.32rem 0.72rem;
	border: 1px solid rgba(168, 85, 247, 0.32);
	border-radius: 999px;
	background: rgba(168, 85, 247, 0.1);
	color: #c4b5fd;
	font-size: 0.72rem;
	font-weight: 700;
	letter-spacing: 0.04em;
	text-transform: uppercase;
}

.dev-page__contact-title {
	display: flex;
	align-items: center;
	justify-content: center;
	gap: 0.5rem;
	margin: 0;
	font-family: 'Unbounded', 'Manrope', system-ui, sans-serif;
	font-size: clamp(0.95rem, 2.2vw, 1.22rem);
	font-weight: 700;
	line-height: 1.3;
}

.dev-page__contact-lead {
	margin: 0;
	max-width: 32rem;
	color: var(--text-secondary);
	font-size: 0.94rem;
	line-height: 1.68;
}

.dev-page__form-card {
	width: 100%;
	max-width: 100%;
	margin: 0;
	padding: 1.15rem 1.25rem;
	border: 1px solid rgba(125, 141, 165, 0.18);
	border-radius: 20px;
	background: rgba(255, 255, 255, 0.03);
}

.dev-page__form {
	width: 100%;
	margin: 0;
}

.dev-page__select {
	appearance: none;
	background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='12' viewBox='0 0 24 24' fill='none' stroke='%2394a3b8' stroke-width='2'%3E%3Cpath d='m6 9 6 6 6-6'/%3E%3C/svg%3E");
	background-repeat: no-repeat;
	background-position: right 0.85rem center;
	padding-right: 2rem;
}

.dev-page__form-grid {
	display: grid;
	grid-template-columns: repeat(2, minmax(0, 1fr));
	gap: 0.75rem;
}

.dev-page__section--contact .suggest-form__label {
	text-align: left;
}

.dev-page__form-actions {
	display: flex;
	justify-content: center;
	margin-top: 0.5rem;
}

.dev-page__submit-btn--full {
	width: min(100%, 320px);
	justify-content: center;
}

.dev-page__submit-btn {
	position: relative;
	display: inline-flex;
	align-items: center;
	gap: 0.65rem;
	overflow: hidden;
	padding: 0.85rem 1.45rem;
	border: 1px solid rgba(196, 181, 253, 0.45);
	border-radius: 16px;
	background:
		linear-gradient(135deg, rgba(255, 255, 255, 0.12) 0%, transparent 42%),
		linear-gradient(135deg, #a855f7 0%, #7c3aed 55%, #6d28d9 100%);
	color: #fff;
	font-size: 0.94rem;
	font-weight: 700;
	box-shadow: 0 16px 36px rgba(109, 40, 217, 0.32);
	cursor: pointer;
	transition: transform 0.22s ease, box-shadow 0.22s ease;
}

.dev-page__submit-glow {
	position: absolute;
	inset: -40% auto -40% -20%;
	width: 45%;
	background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.28), transparent);
	transform: skewX(-18deg);
	animation: ads-cta-shine 4.5s ease-in-out infinite;
	pointer-events: none;
}

.dev-page__submit-arrow {
	font-size: 1.12rem;
	line-height: 1;
	transition: transform 0.22s ease;
}

.dev-page__submit-btn:hover,
.dev-page__submit-btn:focus-visible {
	transform: translateY(-2px);
	box-shadow: 0 20px 42px rgba(109, 40, 217, 0.38);
}

.dev-page__submit-btn:hover .dev-page__submit-arrow,
.dev-page__submit-btn:focus-visible .dev-page__submit-arrow {
	transform: translateX(4px);
}

body.light .dev-page__title {
	background: linear-gradient(100deg, #581c87 0%, #7e22ce 45%, #9333ea 100%);
	-webkit-background-clip: text;
	background-clip: text;
	color: transparent;
}

body.light .dev-page__tariff,
body.light .dev-page__benefits li,
body.light .dev-page__timeline-step,
body.light .dev-page__form-card {
	background: rgba(255, 255, 255, 0.72);
}

body.light .dev-page__benefit-highlight strong {
	background: none;
	color: #6d28d9;
}

body.light .dev-page__tariff-price {
	background: none;
	color: #6d28d9;
}

@media (max-width: 991.98px) {
	.dev-page__hero-layout {
		grid-template-columns: 1fr;
	}

	.dev-page__visual {
		min-height: 0;
	}

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

	.dev-page__timeline-step::after {
		display: none;
	}
}

@media (max-width: 767.98px) {
	.dev-page__tariffs,
	.dev-page__benefits {
		grid-template-columns: 1fr;
	}

	.dev-page__timeline {
		grid-template-columns: 1fr;
	}

	.dev-page__form-grid {
		grid-template-columns: 1fr;
	}
}

/* Articles hub (statii.html) */
.articles-page__lead {
	margin: 0.45rem 0 0;
	max-width: 42rem;
	color: var(--text-muted);
	font-size: 0.88rem;
	line-height: 1.55;
	font-weight: 400;
}

.articles-feed-panel .news-latest-panel__head {
	margin-bottom: 0;
}

.articles-grid {
	display: grid;
	grid-template-columns: repeat(2, minmax(0, 1fr));
	gap: 0.85rem;
	padding: 0.85rem 0.95rem 1rem;
}

.articles-card {
	display: flex;
	flex-direction: column;
	border: 1px solid rgba(255, 255, 255, 0.1);
	border-radius: 14px;
	overflow: hidden;
	background: rgba(255, 255, 255, 0.03);
	text-decoration: none;
	color: inherit;
	transition: transform 0.15s ease, border-color 0.15s ease, box-shadow 0.15s ease;
	min-height: 100%;
}

.articles-card:hover {
	transform: translateY(-2px);
	border-color: rgba(68, 168, 255, 0.42);
	box-shadow: 0 10px 28px rgba(0, 0, 0, 0.22);
}

.articles-card__media {
	display: block;
	aspect-ratio: 16 / 10;
	overflow: hidden;
	background: rgba(255, 255, 255, 0.06);
}

.articles-card__media img {
	width: 100%;
	height: 100%;
	object-fit: cover;
	transition: transform 0.25s ease;
}

.articles-card:hover .articles-card__media img {
	transform: scale(1.03);
}

.articles-card__body {
	display: flex;
	flex-direction: column;
	gap: 0.35rem;
	padding: 0.85rem 0.9rem 0.95rem;
	flex: 1 1 auto;
}

.articles-card__cat {
	color: rgba(68, 168, 255, 0.88);
	font-size: 0.68rem;
	font-weight: 600;
	letter-spacing: 0.04em;
	text-transform: uppercase;
}

.articles-card[data-articles-category="ads"] .articles-card__cat { color: #5eb0ff; }
.articles-card[data-articles-category="webdev"] .articles-card__cat { color: #c084fc; }
.articles-card[data-articles-category="realty"] .articles-card__cat { color: #6ee7b7; }
.articles-card[data-articles-category="krym"] .articles-card__cat { color: #7dd3fc; }

.articles-card__title {
	font-size: 0.92rem;
	line-height: 1.35;
	font-weight: 600;
}

.articles-card__excerpt {
	color: var(--text-muted);
	font-size: 0.78rem;
	line-height: 1.45;
	display: -webkit-box;
	-webkit-line-clamp: 3;
	line-clamp: 3;
	-webkit-box-orient: vertical;
	overflow: hidden;
	flex: 1 1 auto;
}

.articles-card__date {
	margin-top: auto;
	color: rgba(255, 255, 255, 0.42);
	font-size: 0.72rem;
	font-weight: 600;
}

/* Article single page */
.article-page {
	padding: 0;
	overflow: hidden;
}

.article-page__hero {
	margin: 0;
	overflow: hidden;
	background: rgba(255, 255, 255, 0.06);
}

.article-page__hero img {
	width: 100%;
	aspect-ratio: 16 / 9;
	height: auto;
	object-fit: cover;
	display: block;
}

.article-page__ai-credit {
	display: block;
	padding: 0.45rem 0.75rem 0.55rem;
	font-size: 0.72rem;
	line-height: 1.35;
	color: var(--text-muted);
	font-style: italic;
	background: rgba(255, 255, 255, 0.03);
}

.article-page__figure .article-page__ai-credit {
	display: inline;
	padding: 0;
	background: transparent;
}

.article-page__meta {
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 0.75rem;
	padding: 0.85rem 1.1rem 0;
}

.article-page__cat {
	font-size: 0.72rem;
	font-weight: 700;
	letter-spacing: 0.04em;
	text-transform: uppercase;
	color: #6eb6ff;
}

.article-page__cat--realty { color: #6ee7b7; }
.article-page__cat--krym { color: #7dd3fc; }
.article-page__cat--ads { color: #5eb0ff; }
.article-page__cat--jobs { color: #93c5fd; }

.article-page__meta time {
	font-size: 0.78rem;
	color: var(--text-muted);
	font-weight: 600;
}

.article-page__content {
	padding: 0.75rem 1.1rem 0.25rem;
	color: var(--text-primary);
	font-size: 0.92rem;
	line-height: 1.65;
}

.article-page__content h2 {
	font-size: 1.02rem;
	margin: 1.15rem 0 0.55rem;
	font-weight: 700;
}

.article-page__content p,
.article-page__content ul,
.article-page__content ol {
	margin: 0 0 0.75rem;
}

.article-page__content ul,
.article-page__content ol {
	padding-left: 1.2rem;
}

.article-page__content a {
	color: #6eb6ff;
	text-decoration: underline;
	text-underline-offset: 2px;
}

.article-page__figure {
	margin: 0.85rem 0 1rem;
	border-radius: 12px;
	overflow: hidden;
	border: 1px solid rgba(255, 255, 255, 0.08);
}

.article-page__figure img {
	width: 100%;
	display: block;
	aspect-ratio: 16 / 9;
	object-fit: cover;
}

.article-page__figure figcaption {
	padding: 0.55rem 0.75rem;
	font-size: 0.76rem;
	color: var(--text-muted);
	background: rgba(255, 255, 255, 0.03);
}

/* appstorrent.css: footer { position: fixed } — не для футера статьи */
.article-page__footer {
	position: static !important;
	bottom: auto !important;
	left: auto !important;
	right: auto !important;
	max-width: none !important;
	z-index: auto !important;
	width: auto !important;
	padding: 1.25rem 1.1rem 1.2rem;
}

.article-page__back {
	display: inline-flex;
	align-items: center;
	gap: 0.4rem;
	padding: 0.58rem 1.05rem 0.58rem 0.9rem;
	font-size: 0.84rem;
	font-weight: 600;
	line-height: 1;
	color: #9fd4ff;
	text-decoration: none;
	border: 1px solid rgba(110, 182, 255, 0.32);
	border-radius: 999px;
	background: rgba(68, 168, 255, 0.08);
	box-shadow: 0 2px 10px rgba(0, 0, 0, 0.12);
	transition: background 0.15s ease, border-color 0.15s ease, color 0.15s ease, transform 0.15s ease, box-shadow 0.15s ease;
}

.article-page__back:hover {
	color: #d4ecff;
	background: rgba(68, 168, 255, 0.16);
	border-color: rgba(110, 182, 255, 0.52);
	box-shadow: 0 4px 14px rgba(68, 168, 255, 0.12);
	text-decoration: none;
	transform: translateX(-2px);
}

body.light .article-page__back {
	color: #1d6fbf;
	border-color: rgba(29, 111, 191, 0.28);
	background: rgba(29, 111, 191, 0.07);
	box-shadow: 0 2px 8px rgba(15, 23, 42, 0.06);
}

body.light .article-page__back:hover {
	color: #155a9a;
	background: rgba(29, 111, 191, 0.12);
	border-color: rgba(29, 111, 191, 0.42);
}

.article-category-more {
	margin-top: 0.85rem;
	padding: 0.95rem 1rem 1rem;
}

.article-category-more__title {
	margin: 0 0 0.2rem;
	font-size: 1rem;
	font-weight: 700;
	line-height: 1.3;
}

.article-category-more__subtitle {
	margin: 0 0 0.75rem;
	font-size: 0.76rem;
	font-weight: 600;
	color: var(--text-muted);
	text-transform: uppercase;
	letter-spacing: 0.04em;
}

.articles-grid--related {
	padding: 0;
	gap: 0.75rem;
}

.article-related {
	display: flex;
	flex-direction: column;
	gap: 0.55rem;
	padding: 0.55rem;
}

.article-related__item {
	display: grid;
	grid-template-columns: 72px 1fr;
	gap: 0.65rem;
	align-items: center;
	padding: 0.45rem;
	border-radius: 10px;
	text-decoration: none;
	color: inherit;
	transition: background 0.15s ease;
}

.article-related__item:hover {
	background: rgba(68, 168, 255, 0.07);
}

.article-related__thumb {
	display: block;
	width: 72px;
	height: 54px;
	border-radius: 8px;
	overflow: hidden;
	background: rgba(255, 255, 255, 0.06);
}

.article-related__thumb img {
	width: 100%;
	height: 100%;
	object-fit: cover;
}

.article-related__text {
	display: flex;
	flex-direction: column;
	gap: 0.15rem;
	min-width: 0;
}

.article-related__text strong {
	font-size: 0.8rem;
	line-height: 1.3;
	display: -webkit-box;
	-webkit-line-clamp: 2;
	line-clamp: 2;
	-webkit-box-orient: vertical;
	overflow: hidden;
}

.article-related__text small {
	font-size: 0.68rem;
	color: var(--text-muted);
}

.articles-cat-list {
	display: flex;
	flex-direction: column;
	gap: 0.4rem;
	padding: 0.7rem;
}

.articles-cat-list__btn {
	appearance: none;
	display: flex;
	flex-direction: row;
	align-items: center;
	justify-content: space-between;
	gap: 0.75rem;
	width: 100%;
	padding: 0.78rem 0.85rem 0.78rem 0.9rem;
	border: 1px solid rgba(255, 255, 255, 0.09);
	border-radius: 14px;
	background:
		linear-gradient(145deg, rgba(255, 255, 255, 0.055), rgba(255, 255, 255, 0.02));
	color: inherit;
	text-align: left;
	text-decoration: none;
	cursor: pointer;
	transition:
		border-color 0.18s ease,
		background 0.18s ease,
		transform 0.18s ease,
		box-shadow 0.18s ease;
	box-shadow: 0 4px 14px rgba(0, 0, 0, 0.12);
}

a.articles-cat-list__btn:hover {
	color: inherit;
	text-decoration: none;
}

.articles-cat-list__btn:hover:not(:disabled) {
	border-color: rgba(68, 168, 255, 0.42);
	background:
		linear-gradient(145deg, rgba(68, 168, 255, 0.14), rgba(68, 168, 255, 0.05));
	transform: translateX(3px);
	box-shadow: 0 8px 18px rgba(13, 99, 180, 0.16);
}

.articles-cat-list__btn.is-active {
	border-color: rgba(68, 168, 255, 0.58);
	background:
		linear-gradient(145deg, rgba(68, 168, 255, 0.22), rgba(39, 135, 245, 0.08));
	box-shadow:
		0 0 0 1px rgba(68, 168, 255, 0.18),
		0 10px 22px rgba(13, 99, 180, 0.18);
}

.articles-cat-list__btn:disabled {
	opacity: 0.58;
	cursor: default;
	transform: none;
	box-shadow: none;
}

.articles-cat-list__btn--ads.is-active {
	border-color: rgba(39, 135, 245, 0.55);
	background: linear-gradient(145deg, rgba(39, 135, 245, 0.2), rgba(39, 135, 245, 0.07));
}

.articles-cat-list__btn--webdev.is-active {
	border-color: rgba(56, 189, 248, 0.5);
	background: linear-gradient(145deg, rgba(56, 189, 248, 0.18), rgba(14, 165, 233, 0.06));
}

.articles-cat-list__text {
	display: flex;
	flex-direction: column;
	align-items: flex-start;
	gap: 0.14rem;
	min-width: 0;
}

.articles-cat-list__label {
	font-size: 0.9rem;
	font-weight: 650;
	line-height: 1.25;
	letter-spacing: 0.01em;
}

.articles-cat-list__meta {
	font-size: 0.72rem;
	color: var(--text-muted);
	line-height: 1.3;
}

.articles-cat-list__count {
	flex: 0 0 auto;
	min-width: 2.1rem;
	height: 2.1rem;
	padding: 0 0.55rem;
	display: inline-flex;
	align-items: center;
	justify-content: center;
	border-radius: 999px;
	font-size: 0.78rem;
	font-weight: 700;
	letter-spacing: 0.02em;
	color: #d7ecff;
	background: rgba(68, 168, 255, 0.16);
	border: 1px solid rgba(68, 168, 255, 0.28);
	line-height: 1;
}

.articles-cat-list__btn.is-active .articles-cat-list__count {
	color: #fff;
	background: rgba(39, 135, 245, 0.42);
	border-color: rgba(147, 197, 253, 0.45);
}

.articles-cat-list__count--muted {
	color: rgba(210, 220, 230, 0.55);
	background: rgba(255, 255, 255, 0.04);
	border-color: rgba(255, 255, 255, 0.08);
}

.articles-cat-list__btn .badge-soon {
	margin-left: 0.35rem;
	vertical-align: middle;
}

body.light .articles-card {
	border-color: rgba(15, 23, 42, 0.1);
	background: rgba(255, 255, 255, 0.72);
}

body.light .articles-card__date {
	color: rgba(15, 23, 42, 0.45);
}

body.light .articles-cat-list__btn {
	border-color: rgba(15, 23, 42, 0.1);
	background: rgba(255, 255, 255, 0.72);
	box-shadow: 0 4px 12px rgba(15, 23, 42, 0.05);
}

body.light .articles-cat-list__count {
	color: #0b5fad;
	background: rgba(39, 135, 245, 0.1);
	border-color: rgba(39, 135, 245, 0.22);
}

@media (max-width: 991.98px) {
	.articles-grid {
		grid-template-columns: 1fr;
	}
}

/* ——— Страница поиска ——— */
.search-page__lead {
	max-width: 42rem;
	color: var(--text-muted);
	font-size: 0.88rem;
	line-height: 1.55;
	margin: 0;
}

.search-page__form-inline {
	display: flex;
	align-items: stretch;
	gap: 0.55rem;
	margin-top: 0.85rem;
	max-width: 36rem;
}

.search-page__form-inline input {
	flex: 1 1 auto;
	min-width: 0;
	padding: 0.62rem 0.85rem;
	border-radius: 999px;
	border: 1px solid var(--input-border);
	background: var(--input-bg);
	color: var(--text-primary);
	font-size: 0.9rem;
}

.search-page__form-inline input:focus {
	outline: none;
	border-color: rgba(68, 168, 255, 0.55);
	box-shadow: 0 0 0 3px rgba(68, 168, 255, 0.14);
}

.search-page__form-inline button {
	flex: 0 0 auto;
	padding: 0.62rem 1.15rem;
	border-radius: 999px;
	border: 1px solid rgba(68, 168, 255, 0.42);
	background: rgba(68, 168, 255, 0.14);
	color: #9fd4ff;
	font-size: 0.84rem;
	font-weight: 600;
	cursor: pointer;
	transition: background 0.15s ease, border-color 0.15s ease, transform 0.15s ease;
}

.search-page__form-inline button:hover {
	background: rgba(68, 168, 255, 0.22);
	border-color: rgba(110, 182, 255, 0.55);
	transform: translateY(-1px);
}

.search-page__panel {
	padding-bottom: 0.35rem;
}

.search-page__head {
	align-items: flex-end;
}

.search-page__status {
	margin: 0;
	font-size: 0.78rem;
	color: var(--text-muted);
}

.search-page__filters {
	display: flex;
	flex-wrap: wrap;
	gap: 0.45rem;
	padding: 0 0.95rem 0.85rem;
}

.search-page__filter {
	padding: 0.42rem 0.85rem;
	border-radius: 999px;
	border: 1px solid rgba(255, 255, 255, 0.12);
	background: rgba(255, 255, 255, 0.03);
	color: var(--text-muted);
	font-size: 0.78rem;
	font-weight: 600;
	cursor: pointer;
	transition: background 0.15s ease, border-color 0.15s ease, color 0.15s ease;
}

.search-page__filter:hover {
	border-color: rgba(68, 168, 255, 0.35);
	color: var(--text-primary);
}

.search-page__filter.is-active {
	border-color: rgba(68, 168, 255, 0.48);
	background: rgba(68, 168, 255, 0.12);
	color: #9fd4ff;
}

.search-page__section {
	padding: 0 0.95rem 1rem;
}

.search-page__section + .search-page__section {
	border-top: 1px solid rgba(255, 255, 255, 0.08);
	padding-top: 1rem;
}

.search-page__section-head {
	margin-bottom: 0.65rem;
}

.search-page__section-head h3 {
	margin: 0;
	font-size: 0.92rem;
	font-weight: 600;
	display: flex;
	align-items: center;
	gap: 0.45rem;
}

.search-page__count {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	min-width: 1.35rem;
	height: 1.35rem;
	padding: 0 0.35rem;
	border-radius: 999px;
	background: rgba(68, 168, 255, 0.14);
	color: #9fd4ff;
	font-size: 0.72rem;
	font-weight: 700;
}

.search-page__grid {
	display: grid;
	grid-template-columns: 1fr;
	gap: 0.75rem;
}

.search-card {
	display: grid;
	grid-template-columns: 112px minmax(0, 1fr);
	gap: 0.75rem;
	padding: 0.72rem;
	border-radius: 14px;
	border: 1px solid rgba(255, 255, 255, 0.1);
	background: rgba(255, 255, 255, 0.03);
	text-decoration: none;
	color: inherit;
	transition: transform 0.15s ease, border-color 0.15s ease, box-shadow 0.15s ease;
}

.search-card:hover {
	transform: translateY(-1px);
	border-color: rgba(68, 168, 255, 0.38);
	box-shadow: 0 8px 24px rgba(0, 0, 0, 0.18);
}

.search-card__media {
	display: block;
	border-radius: 10px;
	overflow: hidden;
	background: rgba(255, 255, 255, 0.06);
	aspect-ratio: 16 / 10;
}

.search-card__media img {
	width: 100%;
	height: 100%;
	object-fit: cover;
}

.search-card__media--empty {
	background: linear-gradient(135deg, rgba(68, 168, 255, 0.12), rgba(255, 255, 255, 0.04));
}

.search-card__body {
	display: flex;
	flex-direction: column;
	gap: 0.28rem;
	min-width: 0;
}

.search-card__type {
	color: rgba(68, 168, 255, 0.88);
	font-size: 0.68rem;
	font-weight: 600;
	letter-spacing: 0.04em;
	text-transform: uppercase;
}

.search-card__title {
	font-size: 0.9rem;
	line-height: 1.35;
	font-weight: 600;
}

.search-card__excerpt {
	color: var(--text-muted);
	font-size: 0.8rem;
	line-height: 1.45;
	display: -webkit-box;
	-webkit-line-clamp: 2;
	-webkit-box-orient: vertical;
	overflow: hidden;
}

.search-card__date {
	margin-top: auto;
	color: var(--text-muted);
	font-size: 0.72rem;
}

.search-page__pagination {
	padding: 0 0.95rem 0.35rem;
}

.search-page__empty {
	padding: 1.2rem 0.95rem 1.4rem;
	text-align: center;
	color: var(--text-muted);
}

.search-page__empty p {
	margin: 0;
	font-size: 0.88rem;
}

.search-page__tips {
	padding: 0.95rem 1rem;
	font-size: 0.84rem;
	line-height: 1.55;
	color: var(--text-muted);
}

.search-page__tips p {
	margin: 0 0 0.65rem;
}

.search-page__tips ul {
	margin: 0 0 0.85rem;
	padding-left: 1.1rem;
}

.search-page__tips li + li {
	margin-top: 0.35rem;
}

.search-page__tips-links {
	display: flex;
	flex-wrap: wrap;
	gap: 0.55rem;
}

.search-page__tips-links a {
	display: inline-flex;
	align-items: center;
	padding: 0.45rem 0.8rem;
	border-radius: 999px;
	border: 1px solid rgba(68, 168, 255, 0.28);
	background: rgba(68, 168, 255, 0.08);
	color: #9fd4ff;
	font-size: 0.78rem;
	font-weight: 600;
	text-decoration: none;
}

.search-page__tips-links a:hover {
	background: rgba(68, 168, 255, 0.16);
}

@media (max-width: 575.98px) {
	.search-card {
		grid-template-columns: 1fr;
	}

	.search-card__media {
		max-height: 160px;
	}
}

/* ——— Компактная главная-витрина ——— */
.home-welcome {
	display: grid;
	grid-template-columns: minmax(0, 1.15fr) minmax(320px, 0.85fr);
	gap: 1.1rem 1.35rem;
	padding: 1.35rem;
	margin-bottom: 1.35rem;
}

.home-welcome__copy {
	align-self: center;
}

.home-welcome__eyebrow,
.home-services-preview__eyebrow {
	display: block;
	margin-bottom: 0.35rem;
	color: rgba(68, 168, 255, 0.9);
	font-size: 0.68rem;
	font-weight: 700;
	letter-spacing: 0.08em;
	text-transform: uppercase;
}

.home-welcome h1 {
	max-width: 720px;
	margin: 0;
	color: var(--text-primary);
	font-size: clamp(1.55rem, 3vw, 2.35rem);
	line-height: 1.12;
	letter-spacing: -0.025em;
}

.home-welcome__copy > p {
	max-width: 680px;
	margin: 0.75rem 0 0;
	color: var(--text-secondary);
	font-size: 0.94rem;
	line-height: 1.6;
}

.home-welcome__actions {
	display: flex;
	flex-wrap: wrap;
	gap: 0.55rem;
	margin-top: 1rem;
}

.home-welcome__primary,
.home-welcome__search {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	gap: 0.45rem;
	min-height: 40px;
	padding: 0.55rem 1rem;
	border-radius: 999px;
	font-size: 0.82rem;
	font-weight: 650;
	text-decoration: none;
	cursor: pointer;
	transition: transform 0.15s ease, background 0.15s ease, border-color 0.15s ease;
}

.home-welcome__action-icon {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	flex-shrink: 0;
	width: 18px;
	height: 18px;
}

.home-welcome__action-icon svg {
	display: block;
	width: 18px;
	height: 18px;
}

.home-welcome__action-label {
	line-height: 1.1;
}

.home-welcome__primary {
	border: 1px solid rgba(68, 168, 255, 0.55);
	background: #1688ed;
	color: #fff;
}

.home-welcome__search {
	border: 1px solid rgba(255, 255, 255, 0.14);
	background: rgba(255, 255, 255, 0.04);
	color: var(--text-primary);
}

.home-welcome__primary:hover,
.home-welcome__search:hover {
	transform: translateY(-1px);
}

.home-quick-links {
	display: grid;
	grid-template-columns: repeat(2, minmax(0, 1fr));
	gap: 0.55rem;
}

.home-quick-links a {
	display: flex;
	flex-direction: column;
	justify-content: center;
	min-height: 70px;
	padding: 0.7rem 0.8rem;
	border: 1px solid rgba(255, 255, 255, 0.1);
	border-radius: 12px;
	background: rgba(255, 255, 255, 0.03);
	color: inherit;
	text-decoration: none;
	transition: transform 0.15s ease, border-color 0.15s ease, background 0.15s ease;
}

.home-quick-links a:hover {
	transform: translateY(-1px);
	border-color: rgba(68, 168, 255, 0.38);
	background: rgba(68, 168, 255, 0.07);
}

.home-quick-links span {
	color: var(--text-primary);
	font-size: 0.83rem;
	font-weight: 650;
}

.home-quick-links small {
	margin-top: 0.15rem;
	color: var(--text-muted);
	font-size: 0.7rem;
}

.home-city-links {
	grid-column: 1 / -1;
	display: flex;
	flex-direction: column;
	gap: 0.65rem;
	margin-top: 0.2rem;
	padding: 0.85rem 0.9rem;
	border: 1px solid rgba(68, 168, 255, 0.14);
	border-radius: 18px;
	background:
		linear-gradient(135deg, rgba(68, 168, 255, 0.09), rgba(45, 212, 191, 0.04) 58%, transparent),
		rgba(255, 255, 255, 0.025);
	box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.05);
}

.home-city-links__intro {
	display: flex;
	align-items: center;
	gap: 0.5rem;
}

.home-city-links__icon {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	flex-shrink: 0;
	width: 30px;
	height: 30px;
	border-radius: 10px;
	border: 1px solid rgba(68, 168, 255, 0.22);
	background: linear-gradient(145deg, rgba(68, 168, 255, 0.18), rgba(45, 212, 191, 0.08));
	color: #72bdff;
	box-shadow: 0 4px 12px rgba(22, 136, 237, 0.12);
}

.home-city-links__icon svg {
	display: block;
}

.home-city-links__label {
	color: var(--text-secondary);
	font-size: 0.8125rem;
	font-weight: 700;
	letter-spacing: 0.02em;
}

.home-city-links__chips {
	display: flex;
	flex-wrap: wrap;
	gap: 0.45rem;
}

.home-city-links__chip {
	display: inline-flex;
	align-items: center;
	gap: 0.4rem;
	padding: 0.48rem 0.82rem;
	border: 1px solid rgba(68, 168, 255, 0.16);
	border-radius: 999px;
	background: rgba(255, 255, 255, 0.035);
	color: var(--text-secondary);
	font-size: 0.8125rem;
	font-weight: 650;
	line-height: 1.1;
	text-decoration: none;
	transition:
		transform 0.18s ease,
		border-color 0.18s ease,
		background 0.18s ease,
		color 0.18s ease,
		box-shadow 0.18s ease;
}

.home-city-links__chip::before {
	content: '';
	flex-shrink: 0;
	width: 7px;
	height: 7px;
	border-radius: 50%;
	background: linear-gradient(135deg, #44a8ff, #2dd4bf);
	box-shadow: 0 0 8px rgba(68, 168, 255, 0.42);
}

.home-city-links__chip:hover {
	border-color: rgba(68, 168, 255, 0.42);
	background: rgba(68, 168, 255, 0.12);
	color: #b8e0ff;
	transform: translateY(-1px);
	box-shadow: 0 6px 16px rgba(22, 136, 237, 0.12);
}

.home-city-links__chip:focus-visible {
	outline: 2px solid rgba(68, 168, 255, 0.55);
	outline-offset: 2px;
}

.home-services-preview__grid {
	display: grid;
	grid-template-columns: repeat(3, minmax(0, 1fr));
	gap: 0.8rem;
}

.home-service-panel {
	min-width: 0;
	padding: 0.8rem;
}

.home-service-panel__head {
	display: flex;
	align-items: flex-end;
	justify-content: space-between;
	gap: 0.6rem;
	margin-bottom: 0.7rem;
}

.home-service-panel__head span {
	display: block;
	color: rgba(68, 168, 255, 0.88);
	font-size: 0.62rem;
	font-weight: 700;
	letter-spacing: 0.06em;
	text-transform: uppercase;
}

.home-service-panel__head h3 {
	margin: 0.12rem 0 0;
	color: var(--text-primary);
	font-size: 0.92rem;
}

.home-service-panel__head a {
	flex: 0 0 auto;
	color: #9fd4ff;
	font-size: 0.68rem;
	font-weight: 600;
	text-decoration: none;
}

.home-service-panel .realty-grid {
	grid-template-columns: 1fr !important;
	gap: 0.55rem;
}

/* Полные каталоги остаются на внутренних страницах; главная показывает короткую витрину. */
body.home-page section[aria-labelledby="sec-news-strip"],
body.home-page section[aria-labelledby="sec-home-news-cities"],
body.home-page section[aria-labelledby="sec-re"],
body.home-page section[aria-labelledby="sec-job"],
body.home-page section[aria-labelledby="sec-auto"],
body.home-page section[aria-labelledby="sec-beauty"],
body.home-page section[aria-labelledby="sec-interest"] {
	display: none;
}

body.home-page .krym-layout > .krym-latest-panel {
	display: none !important;
}

body.home-page .krym-layout {
	grid-template-columns: 1fr;
}

@media (max-width: 1199.98px) {
	.home-services-preview__grid {
		grid-template-columns: 1fr;
	}
}

@media (min-width: 992px) and (max-width: 1199.98px) {
	body.home-page .home-services-preview .home-service-panel__feed {
		grid-template-columns: repeat(3, minmax(0, 1fr)) !important;
	}
}

@media (max-width: 991.98px) {
	.home-welcome {
		grid-template-columns: 1fr;
	}

	.home-city-links {
		grid-column: auto;
	}
}

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

	.home-welcome__actions > * {
		flex: 1 1 150px;
	}

	.home-quick-links {
		grid-template-columns: repeat(2, minmax(0, 1fr));
		gap: 0.45rem;
	}

	.home-quick-links a {
		min-height: 56px;
		padding: 0.55rem 0.65rem;
	}

	.home-quick-links small {
		display: none;
	}

	.home-quick-links span {
		font-size: 0.74rem;
		line-height: 1.25;
	}
}

@media (max-width: 479.98px) {
	body.home-page .home-welcome h1 {
		font-size: 1.05rem;
		line-height: 1.28;
	}

	body.home-page .home-welcome__copy > p {
		font-size: 0.8125rem;
		line-height: 1.45;
	}

	body.home-page .home-quick-links a {
		min-height: 48px;
	}

	.home-quick-links {
		grid-template-columns: repeat(2, minmax(0, 1fr));
		gap: 0.4rem;
	}
}

/* ——— Главная: выразительная типографика и горизонтальные витрины ——— */
body.home-page .home-welcome {
	position: relative;
	isolation: isolate;
	overflow: clip;
	padding: clamp(1.25rem, 3vw, 2rem);
	border-radius: 28px;
	border-color: rgba(89, 174, 255, 0.2);
	background:
		linear-gradient(180deg, rgba(255, 255, 255, 0.045), transparent 32%),
		linear-gradient(135deg, rgba(39, 135, 245, 0.12), transparent 46%),
		linear-gradient(320deg, rgba(168, 85, 247, 0.09), transparent 42%),
		var(--glass-bg);
	box-shadow:
		0 24px 60px rgba(6, 13, 26, 0.27),
		inset 0 1px 0 rgba(255, 255, 255, 0.07);
}

body.home-page .home-welcome > * {
	min-width: 0;
}

body.home-page .home-welcome::before {
	content: '';
	position: absolute;
	z-index: -1;
	inset: 0;
	opacity: 0.35;
	background-image:
		linear-gradient(rgba(125, 141, 165, 0.075) 1px, transparent 1px),
		linear-gradient(90deg, rgba(125, 141, 165, 0.075) 1px, transparent 1px);
	background-size: 32px 32px;
	mask-image: linear-gradient(115deg, #000, transparent 72%);
}

body.home-page .home-welcome::after {
	content: '';
	position: absolute;
	z-index: -1;
	top: -120px;
	right: -90px;
	width: 340px;
	height: 340px;
	border-radius: 50%;
	background: radial-gradient(circle, rgba(92, 176, 255, 0.24), rgba(168, 85, 247, 0.1) 42%, transparent 70%);
	filter: blur(4px);
	pointer-events: none;
}

body.home-page .home-welcome__eyebrow {
	display: inline-flex;
	align-items: center;
	gap: 0.45rem;
	margin-bottom: 0.9rem;
	padding: 0.36rem 0.75rem 0.36rem 0.6rem;
	border: 1px solid rgba(68, 168, 255, 0.32);
	border-radius: 999px;
	background: rgba(68, 168, 255, 0.1);
	color: #7cc4ff;
	box-shadow: 0 0 24px rgba(39, 135, 245, 0.12);
}

body.home-page .home-welcome__eyebrow::before {
	content: '';
	width: 7px;
	height: 7px;
	border-radius: 50%;
	background: #6fc0ff;
	box-shadow: 0 0 10px rgba(111, 192, 255, 0.85);
}

body.home-page .home-welcome h1 {
	max-width: 15em;
	font-family: 'Unbounded', 'Manrope', system-ui, sans-serif;
	font-size: clamp(1.35rem, 3.2vw, 2.3rem);
	font-weight: 700;
	line-height: 1.28;
	letter-spacing: 0.005em;
	text-wrap: balance;
	background: linear-gradient(100deg, #f8fbff 0%, #dbeafe 38%, #e9ddff 72%, #faf5ff 100%);
	-webkit-background-clip: text;
	background-clip: text;
	color: transparent;
}

body.home-page .home-welcome__mark {
	position: relative;
	display: inline;
	white-space: nowrap;
	z-index: 0;
	/* свой градиент текста — иначе прозрачность h1 «съедает» маркер */
	background-image: linear-gradient(100deg, #ffffff 0%, #f8fbff 55%, #fff7f5 100%);
	-webkit-background-clip: text;
	background-clip: text;
	color: transparent;
	-webkit-text-fill-color: transparent;
	box-decoration-break: clone;
	-webkit-box-decoration-break: clone;
}

body.home-page .home-welcome__mark::before {
	content: '';
	position: absolute;
	left: -0.06em;
	right: -0.04em;
	bottom: 0.02em;
	height: 0.28em;
	z-index: -1;
	border-radius: 0.1em;
	/* как фон кнопки «+» в таббаре */
	background: linear-gradient(135deg, #ff7a18 0%, #ff4d4f 52%, #d9383a 100%);
	opacity: 0.88;
	transform: skewX(-8deg) rotate(-1.2deg);
	pointer-events: none;
	box-shadow: 0 4px 14px rgba(217, 56, 58, 0.28);
}

body.home-page .home-welcome__copy > p {
	font-size: clamp(0.9rem, 1.55vw, 1rem);
	line-height: 1.7;
}

body.home-page .home-city-links {
	border-color: rgba(89, 174, 255, 0.16);
	background:
		linear-gradient(135deg, rgba(39, 135, 245, 0.1), rgba(45, 212, 191, 0.05) 52%, transparent),
		rgba(255, 255, 255, 0.03);
}

body.home-page .home-welcome__primary {
	border-color: rgba(73, 166, 255, 0.68);
	background: linear-gradient(135deg, #1688ed, #4079f5);
	box-shadow: 0 10px 25px rgba(22, 136, 237, 0.24);
}

body.home-page .home-welcome__search {
	backdrop-filter: blur(12px);
	-webkit-backdrop-filter: blur(12px);
}

body.home-page .home-quick-links a {
	position: relative;
	overflow: hidden;
	min-height: 78px;
	padding: 0.78rem 2.1rem 0.78rem 0.85rem;
	background:
		linear-gradient(135deg, rgba(255, 255, 255, 0.045), rgba(255, 255, 255, 0.015));
	box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.04);
}

body.home-page .home-quick-links a::before {
	content: '';
	position: absolute;
	left: 0;
	top: 15%;
	bottom: 15%;
	width: 3px;
	border-radius: 0 4px 4px 0;
	background: linear-gradient(180deg, #60a5fa, #a78bfa);
	opacity: 0.85;
}

body.home-page .home-quick-links a::after {
	content: '→';
	position: absolute;
	right: 0.8rem;
	top: 50%;
	transform: translateY(-50%);
	color: rgba(159, 212, 255, 0.72);
	font-size: 0.9rem;
	transition: transform 0.15s ease;
}

body.home-page .home-quick-links a:nth-child(2n)::before {
	background: linear-gradient(180deg, #a78bfa, #f472b6);
}

body.home-page .home-quick-links a:nth-child(3n)::before {
	background: linear-gradient(180deg, #2dd4bf, #60a5fa);
}

body.home-page .home-quick-links a:hover::after {
	transform: translate(3px, -50%);
}

body.home-page .home-quick-links span {
	font-family: 'Unbounded', 'Manrope', system-ui, sans-serif;
	font-size: 0.75rem;
	line-height: 1.35;
}

body.home-page .section-head h2,
body.home-page .seo-article h2,
body.home-page .seo-article__block h3,
body.home-page .seo-blog-cards__title {
	font-family: 'Unbounded', 'Manrope', system-ui, sans-serif;
	font-weight: 700;
	letter-spacing: 0.005em;
}

body.home-page .section-head h2 {
	font-size: clamp(1rem, 2vw, 1.35rem);
	line-height: 1.35;
}

body.home-page .home-services-preview {
	position: relative;
	padding: clamp(1rem, 2.5vw, 1.4rem);
	border: 1px solid rgba(255, 255, 255, 0.09);
	border-radius: 24px;
	background:
		linear-gradient(145deg, rgba(39, 135, 245, 0.055), transparent 42%),
		rgba(255, 255, 255, 0.018);
}

body.home-page .home-services-preview > .section-head {
	margin-bottom: 1rem;
}

body.home-page .home-services-preview__eyebrow {
	margin-bottom: 0.4rem;
}

body.home-page .home-services-preview__grid {
	grid-template-columns: 1fr;
	gap: 0.72rem;
}

body.home-page .home-service-panel {
	position: relative;
	display: grid;
	grid-template-columns: minmax(150px, 185px) minmax(0, 1fr);
	align-items: stretch;
	gap: 0.85rem;
	padding: 0.78rem;
	overflow: hidden;
	border-radius: 18px;
	background:
		linear-gradient(115deg, rgba(49, 144, 255, 0.09), transparent 33%),
		rgba(255, 255, 255, 0.025);
	transition: transform 0.18s ease, border-color 0.18s ease, box-shadow 0.18s ease;
}

body.home-page .home-service-panel:nth-child(2) {
	background:
		linear-gradient(115deg, rgba(168, 85, 247, 0.09), transparent 33%),
		rgba(255, 255, 255, 0.025);
}

body.home-page .home-service-panel:nth-child(3) {
	background:
		linear-gradient(115deg, rgba(45, 212, 191, 0.08), transparent 33%),
		rgba(255, 255, 255, 0.025);
}

body.home-page .home-service-panel:hover {
	transform: translateY(-2px);
	border-color: rgba(89, 174, 255, 0.25);
	box-shadow: 0 15px 36px rgba(4, 10, 22, 0.2);
}

body.home-page .home-service-panel__head {
	position: relative;
	display: flex;
	flex-direction: column;
	align-items: flex-start;
	justify-content: center;
	margin: 0;
	padding: 0.75rem 0.7rem;
	border-right: 1px solid rgba(255, 255, 255, 0.08);
}

body.home-page .home-service-panel__head::before {
	content: '';
	width: 34px;
	height: 4px;
	margin-bottom: 0.8rem;
	border-radius: 999px;
	background: linear-gradient(90deg, #60a5fa, #a78bfa);
	box-shadow: 0 0 18px rgba(96, 165, 250, 0.35);
}

body.home-page .home-service-panel:nth-child(2) .home-service-panel__head::before {
	background: linear-gradient(90deg, #a78bfa, #f472b6);
}

body.home-page .home-service-panel:nth-child(3) .home-service-panel__head::before {
	background: linear-gradient(90deg, #2dd4bf, #60a5fa);
}

body.home-page .home-service-panel__head h3 {
	font-family: 'Unbounded', 'Manrope', system-ui, sans-serif;
	font-size: 0.82rem;
	line-height: 1.4;
}

body.home-page .home-service-panel__head a {
	margin-top: 0.65rem;
	padding: 0.34rem 0.58rem;
	border: 1px solid rgba(89, 174, 255, 0.2);
	border-radius: 999px;
	background: rgba(68, 168, 255, 0.06);
}

body.home-page .home-service-panel .home-service-panel__feed {
	grid-template-columns: repeat(4, minmax(0, 1fr)) !important;
	gap: 0.65rem;
	min-width: 0;
}

@media (min-width: 992px) {
	body.home-page .home-service-panel .home-service-panel__feed {
		display: grid !important;
	}
}

body.home-page .home-service-panel .feed-card-shell,
body.home-page .home-service-panel .realty-card {
	height: 224px;
	border-radius: 14px;
}

body.home-page .home-service-panel .news-teaser__media {
	flex: 0 0 auto;
	aspect-ratio: 16 / 10;
	min-height: 0;
}

body.home-page .home-service-panel .news-teaser__text {
	padding: 0.45rem 0.55rem 0.55rem;
	flex: 1 1 auto;
	min-height: 0;
}

body.home-page .home-service-panel .vk-post-stats--teaser {
	margin-top: auto;
}

@media (max-width: 1199.98px) {
	body.home-page .home-services-preview .home-service-panel {
		grid-template-columns: 1fr;
	}

	body.home-page .home-services-preview .home-service-panel__head {
		flex-direction: row;
		align-items: center;
		justify-content: space-between;
		padding: 0.35rem 0.2rem 0.75rem;
		border-right: 0;
		border-bottom: 1px solid rgba(255, 255, 255, 0.08);
	}

	body.home-page .home-services-preview .home-service-panel__head::before {
		display: none;
	}

	body.home-page .home-services-preview .home-service-panel__head a {
		margin-top: 0;
	}
}

@media (max-width: 767.98px) {
	body.home-page .px-3.pt-3 {
		padding-top: 0.5rem !important;
		padding-left: 0.75rem !important;
		padding-right: 0.75rem !important;
	}

	body.home-page .home-welcome {
		grid-template-columns: 1fr;
		gap: 0.75rem;
		padding: 0.9rem 0.85rem 0.85rem;
		margin-bottom: 0.85rem;
		border-radius: 18px;
		overflow: visible;
	}

	body.home-page .home-welcome::after {
		top: -80px;
		right: -50px;
		width: 220px;
		height: 220px;
	}

	body.home-page .home-welcome__eyebrow {
		margin-bottom: 0.45rem;
		padding: 0.28rem 0.55rem 0.28rem 0.48rem;
		font-size: 0.58rem;
		letter-spacing: 0.06em;
	}

	body.home-page .home-welcome h1 {
		font-size: 1.12rem;
		line-height: 1.3;
		max-width: none;
		letter-spacing: 0;
		overflow-wrap: break-word;
		hyphens: auto;
	}

	body.home-page .home-welcome__copy > p {
		font-size: 0.8125rem;
		line-height: 1.5;
		margin-top: 0.45rem;
		overflow-wrap: break-word;
	}

	body.home-page .home-welcome__actions {
		flex-direction: column;
		margin-top: 0.65rem;
		gap: 0.45rem;
	}

	body.home-page .home-welcome__actions > * {
		flex: 0 0 auto;
		width: 100%;
		min-width: 0;
		min-height: 42px;
		padding: 0.55rem 0.85rem;
		font-size: 0.8125rem;
	}

	body.home-page .home-city-links {
		margin-top: 0.15rem;
		padding: 0.75rem 0 0;
		gap: 0.55rem;
		border: 0;
		border-top: 1px solid rgba(68, 168, 255, 0.14);
		border-radius: 0;
		background: transparent;
		box-shadow: none;
	}

	body.home-page .home-city-links__chips {
		display: flex;
		flex-wrap: wrap;
		gap: 0.4rem;
		overflow: visible;
		padding-bottom: 0;
	}

	body.home-page .home-city-links__chip {
		flex: 0 1 auto;
		padding: 0.48rem 0.72rem;
		font-size: 0.8125rem;
	}

	body.home-page .home-quick-links {
		grid-template-columns: repeat(2, minmax(0, 1fr));
		gap: 0.45rem;
	}

	body.home-page .home-quick-links a {
		min-height: 52px;
		min-width: 0;
		padding: 0.55rem 0.65rem 0.55rem 0.82rem;
		border-radius: 14px;
	}

	body.home-page .home-quick-links a::before {
		top: 18%;
		bottom: 18%;
		width: 3px;
		opacity: 0.9;
	}

	body.home-page .home-quick-links a::after {
		display: none;
	}

	body.home-page .home-quick-links small {
		display: none;
	}

	body.home-page .home-quick-links span {
		font-size: 0.72rem;
		line-height: 1.25;
		white-space: normal;
		overflow-wrap: break-word;
		hyphens: auto;
	}
}

@media (max-width: 991.98px) {
	body.home-page .home-services-preview {
		margin-inline: -0.25rem;
		padding: 0.8rem;
		border-radius: 18px;
	}

	body.home-page .home-services-preview__grid {
		gap: 0.65rem;
	}

	body.home-page .home-services-preview .home-service-panel {
		display: block !important;
		padding: 0.62rem;
		overflow: visible;
	}

	body.home-page .home-services-preview .home-service-panel__head {
		display: grid !important;
		grid-template-columns: minmax(0, 1fr) auto;
		grid-template-rows: auto auto;
		align-items: end;
		gap: 0.35rem 0.55rem;
		width: 100%;
		min-width: 0;
		margin: 0 0 0.55rem;
		padding: 0 0.1rem 0.55rem;
		border-right: 0;
		border-bottom: 1px solid rgba(255, 255, 255, 0.08);
	}

	body.home-page .home-services-preview .home-service-panel__head::before {
		grid-column: 1 / -1;
		display: block !important;
		width: 30px;
		height: 3px;
		margin: 0;
	}

	body.home-page .home-services-preview .home-service-panel__head > div {
		grid-column: 1;
		display: flex;
		flex-direction: column;
		gap: 0.12rem;
		min-width: 0;
	}

	body.home-page .home-services-preview .home-service-panel__head a {
		grid-column: 2;
		grid-row: 2;
		margin-top: 0;
		padding: 0.28rem 0.48rem;
		font-size: 0.58rem;
		white-space: nowrap;
	}

	body.home-page .home-services-preview .home-service-panel__head span {
		font-size: 0.58rem;
		line-height: 1.2;
		color: rgba(68, 168, 255, 0.92);
	}

	body.home-page .home-services-preview .home-service-panel__head h3 {
		font-size: 0.88rem;
		line-height: 1.25;
		color: var(--text-primary);
	}

	body.home-page .home-services-preview .home-service-panel__feed {
		display: flex !important;
		flex-direction: row !important;
		flex-wrap: nowrap !important;
		align-items: stretch;
		grid-template-columns: unset !important;
		grid-auto-flow: unset !important;
		gap: 0.45rem;
		width: 100%;
		min-width: 0;
		overflow-x: auto;
		overflow-y: hidden;
		padding: 0 0 0.25rem;
		scroll-snap-type: x mandatory;
		-webkit-overflow-scrolling: touch;
		scrollbar-width: thin;
	}

	body.home-page .home-services-preview .home-service-panel__feed > .feed-card-shell {
		flex: 0 0 148px !important;
		width: 148px !important;
		max-width: 148px !important;
		min-width: 148px !important;
		height: auto !important;
		min-height: 130px !important;
		scroll-snap-align: start;
	}

	body.home-page .home-services-preview .home-service-panel__feed .realty-card,
	body.home-page .home-services-preview .home-service-panel__feed .feed-card-shell > .realty-card {
		display: flex !important;
		flex-direction: column !important;
		width: 100% !important;
		height: 100% !important;
		min-height: 130px !important;
	}

	body.home-page .home-services-preview .home-service-panel__feed .news-teaser__main {
		display: flex !important;
		flex-direction: column !important;
		height: 100% !important;
		min-height: 130px !important;
	}

	body.home-page .home-services-preview .home-service-panel__feed .news-teaser__media {
		flex: 0 0 72px !important;
		height: 72px !important;
		max-height: 72px !important;
		min-height: 72px !important;
	}

	body.home-page .home-services-preview .home-service-panel__feed .news-teaser__media img {
		width: 100%;
		height: 100%;
		object-fit: cover;
	}

	body.home-page .home-services-preview .home-service-panel__feed .news-teaser__text {
		flex: 0 0 auto !important;
		padding: 0.38rem 0.42rem 0.42rem;
		gap: 0;
	}

	body.home-page .home-services-preview .home-service-panel__feed .news-teaser__line {
		font-size: 0.66rem;
		line-height: 1.25;
		-webkit-line-clamp: 2;
		line-clamp: 2;
	}

	body.home-page .home-services-preview .home-service-panel__feed .realty-card__price,
	body.home-page .home-services-preview .home-service-panel__feed .realty-card__meta,
	body.home-page .home-services-preview .home-service-panel__feed .vk-post-stats,
	body.home-page .home-services-preview .home-service-panel__feed .vk-ad-meta,
	body.home-page .home-services-preview .home-service-panel__feed .favorite-btn {
		display: none !important;
	}

	body.home-page .home-services-preview .home-service-panel__feed .news-chip--on-photo {
		top: 0.28rem;
		left: 0.28rem;
		font-size: 0.56rem;
		padding: 0.12rem 0.32rem;
	}

	body.home-page .home-services-preview .home-service-panel__feed .vk-home-feed-empty {
		flex: 1 1 auto;
		min-width: min(80vw, 280px);
		padding: 0.85rem 0.75rem !important;
		font-size: 0.72rem;
		text-align: left !important;
	}

	body.home-page section[aria-labelledby="sec-news"] .news-layout {
		min-height: 0;
	}

	body.home-page section[aria-labelledby="sec-news"] .news-layout__main {
		display: flex;
		flex-direction: column;
		grid-template-columns: none;
		grid-template-rows: none;
		grid-template-areas: none;
		min-height: 0;
		gap: 0.65rem;
	}

	body.home-page section[aria-labelledby="sec-news"] .news-layout__hero {
		flex: none;
		height: clamp(180px, 52vw, 220px);
		min-height: 180px;
	}

	body.home-page section[aria-labelledby="sec-news"] .news-layout__hero .simple-carousel__viewport {
		flex: none;
		width: 100%;
		height: 100%;
		min-height: 180px;
	}

	body.home-page section[aria-labelledby="sec-news"] .news-layout__hero.simple-carousel[data-carousel-fade] .simple-carousel__track {
		height: 100%;
		min-height: 100%;
	}

	body.home-page section[aria-labelledby="sec-news"] .news-layout__hero .news-slide,
	body.home-page section[aria-labelledby="sec-news"] .news-layout__hero .news-slide__body {
		min-height: 100%;
		height: 100%;
	}

	body.home-page section[aria-labelledby="sec-news"] .news-layout__hero .news-slide__body {
		padding: 0.5rem 0.75rem 1.2rem;
		gap: 0.25rem;
	}

	body.home-page section[aria-labelledby="sec-news"] .news-layout__hero .news-slide__body h3 {
		font-size: 0.84rem;
		line-height: 1.22;
		display: -webkit-box;
		-webkit-box-orient: vertical;
		-webkit-line-clamp: 2;
		line-clamp: 2;
		overflow: hidden;
	}

	body.home-page section[aria-labelledby="sec-news"] .news-layout__hero .news-slide__body time {
		font-size: 0.68rem;
	}

	body.home-page section[aria-labelledby="sec-news"] .news-teasers {
		display: none !important;
	}

	body.home-page section[aria-labelledby="sec-news"] .news-latest-panel {
		min-height: 0;
	}

	body.home-page section[aria-labelledby="sec-news"] .news-latest-panel__head {
		padding: 0.7rem 0.85rem 0.6rem;
	}

	body.home-page section[aria-labelledby="sec-news"] .news-latest-panel > ul.news-feed {
		flex: none;
		overflow: visible;
		padding: 0.38rem 0.42rem 0.45rem;
		gap: 0.24rem;
	}

	body.home-page section[aria-labelledby="sec-news"] .news-latest-panel > ul.news-feed .news-feed__item {
		align-items: flex-start;
		gap: 0.4rem;
		padding: 0.4rem 0.48rem;
	}

	body.home-page section[aria-labelledby="sec-news"] .news-latest-panel > ul.news-feed .news-feed__rail {
		flex-basis: 2px;
		width: 2px;
		min-height: 2.1rem;
	}

	body.home-page section[aria-labelledby="sec-news"] .news-latest-panel > ul.news-feed .news-feed__body {
		gap: 0.18rem;
	}

	body.home-page section[aria-labelledby="sec-news"] .news-latest-panel > ul.news-feed .news-feed__line {
		display: -webkit-box !important;
		-webkit-box-orient: vertical !important;
		-webkit-line-clamp: 2 !important;
		line-clamp: 2 !important;
		white-space: normal !important;
		overflow: hidden !important;
		text-overflow: ellipsis !important;
		overflow-wrap: break-word;
		word-break: normal;
		font-size: 0.78rem;
		font-weight: 650;
		line-height: 1.22;
		letter-spacing: -0.015em;
		max-height: 2.44em;
	}

	body.home-page section[aria-labelledby="sec-news"] .news-latest-panel > ul.news-feed .news-feed__city {
		font-size: 0.62rem;
		padding: 0.12rem 0.36rem;
	}

	body.home-page section[aria-labelledby="sec-news"] .news-latest-panel > ul.news-feed .news-feed__meta time {
		font-size: 0.66rem;
	}

	body.home-page section[aria-labelledby="sec-news"] .news-latest-panel__title {
		font-size: 0.88rem;
	}

	body.home-page section[aria-labelledby="sec-news"] .news-latest-panel__eyebrow {
		font-size: 0.6rem;
	}

	body.home-page section[aria-labelledby="sec-news"] .news-latest-panel__live {
		font-size: 0.64rem;
	}

	body.home-page section[aria-labelledby="sec-news"] .section-head .section-all {
		display: none;
	}

	body.home-page section[aria-labelledby="sec-news"] .news-latest-panel__foot {
		padding: 0.55rem 0.72rem 0.72rem;
	}

	body.home-page section[aria-labelledby="sec-news"] .news-latest-panel__all {
		width: 100%;
		max-width: 16.5rem;
		padding: 0.48rem 1rem;
		font-size: 0.72rem;
	}
}

@media (max-width: 767.98px) {
	body.home-page .home-services-preview .home-service-panel {
		padding: 0.55rem;
	}

	body.home-page .home-services-preview .home-service-panel__head h3 {
		font-size: 0.82rem;
	}

	body.home-page .home-services-preview .home-service-panel__feed > .feed-card-shell {
		flex-basis: 140px !important;
		width: 140px !important;
		max-width: 140px !important;
		min-width: 140px !important;
	}

	body.home-page section[aria-labelledby="sec-news"] .news-layout__hero {
		height: clamp(170px, 48vw, 200px);
		min-height: 170px;
	}

	body.home-page section[aria-labelledby="sec-news"] .news-layout__hero .simple-carousel__viewport {
		min-height: 170px;
	}

	body.home-page section[aria-labelledby="sec-news"] .news-layout__hero .news-slide__body h3 {
		font-size: 0.8rem;
	}
}

body.light.home-page .home-welcome h1 {
	background: linear-gradient(100deg, #172033, #245f9b 48%, #7043a9);
	-webkit-background-clip: text;
	background-clip: text;
	color: transparent;
}

body.light.home-page .home-welcome__mark {
	background-image: linear-gradient(100deg, #172033, #1e293b 48%, #3b1d4a);
	-webkit-background-clip: text;
	background-clip: text;
	color: transparent;
	-webkit-text-fill-color: transparent;
}

body.light.home-page .home-welcome__mark::before {
	background: linear-gradient(135deg, #ff7a18 0%, #ff4d4f 52%, #d9383a 100%);
	opacity: 0.72;
	box-shadow: 0 4px 12px rgba(217, 56, 58, 0.2);
}

/* ——— Главная: редакционная витрина «Любимый Крым» ——— */
body.home-page .home-krym-showcase {
	position: relative;
	isolation: isolate;
	overflow: hidden;
	padding: clamp(1rem, 2.6vw, 1.55rem);
	border: 1px solid rgba(81, 196, 186, 0.18);
	border-radius: 26px;
	background:
		linear-gradient(145deg, rgba(20, 184, 166, 0.095), transparent 42%),
		linear-gradient(325deg, rgba(245, 158, 11, 0.07), transparent 38%),
		rgba(255, 255, 255, 0.02);
	box-shadow:
		0 22px 52px rgba(5, 18, 24, 0.2),
		inset 0 1px 0 rgba(255, 255, 255, 0.05);
}

body.home-page .home-krym-showcase::before {
	content: '';
	position: absolute;
	z-index: -1;
	right: -80px;
	top: -120px;
	width: 360px;
	height: 360px;
	border-radius: 50%;
	background: radial-gradient(circle, rgba(45, 212, 191, 0.2), rgba(245, 158, 11, 0.06) 46%, transparent 70%);
	filter: blur(4px);
	pointer-events: none;
}

body.home-page .home-krym-showcase__head {
	align-items: flex-end;
	margin-bottom: 1.1rem;
}

body.home-page .home-krym-showcase__intro {
	max-width: 680px;
}

body.home-page .home-krym-showcase__eyebrow {
	display: inline-flex;
	align-items: center;
	gap: 0.4rem;
	margin-bottom: 0.55rem;
	color: #5eead4;
	font-size: 0.66rem;
	font-weight: 750;
	letter-spacing: 0.08em;
	text-transform: uppercase;
}

body.home-page .home-krym-showcase__eyebrow::before {
	content: '';
	width: 18px;
	height: 2px;
	border-radius: 999px;
	background: linear-gradient(90deg, #2dd4bf, #fbbf24);
	box-shadow: 0 0 12px rgba(45, 212, 191, 0.4);
}

body.home-page .home-krym-showcase__intro h2 {
	margin: 0;
	font-family: 'Unbounded', 'Manrope', system-ui, sans-serif;
	font-size: clamp(1.15rem, 2.4vw, 1.7rem);
	line-height: 1.3;
	background: linear-gradient(100deg, #f8fffd, #b9f7ed 48%, #fde7ac);
	-webkit-background-clip: text;
	background-clip: text;
	color: transparent;
}

body.home-page .home-krym-showcase__intro p {
	margin: 0.45rem 0 0;
	color: var(--text-secondary);
	font-size: 0.86rem;
	line-height: 1.55;
}

body.home-page .home-krym-showcase__tags {
	display: flex;
	flex-wrap: wrap;
	gap: 0.38rem;
	margin-top: 0.72rem;
}

body.home-page .home-krym-showcase__tags span {
	padding: 0.3rem 0.58rem;
	border: 1px solid rgba(94, 234, 212, 0.16);
	border-radius: 999px;
	background: rgba(45, 212, 191, 0.055);
	color: rgba(204, 251, 241, 0.78);
	font-size: 0.66rem;
	font-weight: 600;
}

body.home-page .home-krym-showcase .section-all {
	flex: 0 0 auto;
	padding: 0.48rem 0.78rem;
	border: 1px solid rgba(94, 234, 212, 0.22);
	border-radius: 999px;
	background: rgba(45, 212, 191, 0.07);
	color: #99f6e4;
}

body.home-page .home-krym-showcase .krym-layout,
body.home-page .home-krym-showcase .news-layout__main {
	min-height: 0;
}

body.home-page .home-krym-showcase .news-layout__main {
	display: grid;
	grid-template-columns: minmax(0, 1.55fr) minmax(280px, 0.72fr);
	gap: 0.8rem;
	height: 500px;
}

body.home-page .home-krym-showcase .news-layout__hero {
	min-height: 0;
	height: 100%;
	border: 1px solid rgba(94, 234, 212, 0.16);
	border-radius: 20px;
	box-shadow: 0 18px 40px rgba(3, 16, 21, 0.25);
}

body.home-page .home-krym-showcase .news-layout__hero::after {
	content: '';
	position: absolute;
	inset: 0;
	z-index: 1;
	border-radius: inherit;
	background:
		linear-gradient(180deg, transparent 45%, rgba(2, 12, 18, 0.55) 100%),
		linear-gradient(90deg, rgba(8, 47, 50, 0.12), transparent 48%);
	pointer-events: none;
}

body.home-page .home-krym-showcase .news-layout__hero .simple-carousel__viewport,
body.home-page .home-krym-showcase .news-layout__hero .simple-carousel__track {
	height: 100%;
}

body.home-page .home-krym-showcase .news-slide__body {
	z-index: 2;
	padding: 1.25rem 1.35rem 1.55rem;
}

body.home-page .home-krym-showcase .news-slide__body h3 {
	max-width: 18em;
	font-family: 'Unbounded', 'Manrope', system-ui, sans-serif;
	font-size: clamp(1rem, 2vw, 1.35rem);
	line-height: 1.35;
	text-wrap: balance;
}

body.home-page .home-krym-showcase .news-slide__body p {
	display: -webkit-box;
	max-width: 36rem;
	margin: 0;
	overflow: hidden;
	color: rgba(255, 255, 255, 0.78);
	font-size: 0.78rem;
	line-height: 1.5;
	-webkit-line-clamp: 2;
	-webkit-box-orient: vertical;
}

body.home-page .home-krym-showcase .news-chip {
	border-color: rgba(94, 234, 212, 0.34);
	background: rgba(13, 78, 78, 0.62);
	color: #ccfbf1;
}

body.home-page .home-krym-showcase .simple-carousel__arrow,
body.home-page .home-krym-showcase .simple-carousel__dots {
	z-index: 3;
}

body.home-page .home-krym-showcase .news-teasers {
	display: grid;
	grid-template-columns: 1fr;
	grid-template-rows: repeat(3, minmax(0, 1fr));
	gap: 0.65rem;
	min-height: 0;
}

body.home-page .home-krym-showcase .news-teasers .news-teaser {
	min-height: 0;
	height: 100%;
	padding: 0.45rem;
	border-color: rgba(255, 255, 255, 0.09);
	border-radius: 16px;
	background:
		linear-gradient(115deg, rgba(45, 212, 191, 0.055), transparent 48%),
		rgba(255, 255, 255, 0.025);
}

body.home-page .home-krym-showcase .news-teasers .news-teaser:hover {
	border-color: rgba(94, 234, 212, 0.28);
	box-shadow: 0 12px 26px rgba(3, 18, 22, 0.2);
}

body.home-page .home-krym-showcase .news-teasers .news-teaser__main {
	display: grid;
	grid-template-columns: minmax(105px, 40%) minmax(0, 1fr);
	gap: 0.55rem;
	height: 100%;
}

body.home-page .home-krym-showcase .news-teasers .news-teaser__media {
	min-height: 0;
	height: 100%;
	border-radius: 11px;
}

body.home-page .home-krym-showcase .news-teasers .news-teaser__text {
	justify-content: center;
	padding: 0.25rem 0.35rem 0.25rem 0;
}

body.home-page .home-krym-showcase .news-teasers .news-teaser__line {
	display: -webkit-box;
	overflow: hidden;
	font-size: 0.76rem;
	line-height: 1.38;
	-webkit-line-clamp: 3;
	-webkit-box-orient: vertical;
}

body.home-page .home-krym-showcase .news-teasers time {
	color: rgba(153, 246, 228, 0.62);
}

@media (max-width: 991.98px) {
	body.home-page .home-krym-showcase {
		overflow: visible;
	}

	body.home-page .home-krym-showcase .krym-layout,
	body.home-page .home-krym-showcase .news-layout__main {
		min-height: 0 !important;
		height: auto !important;
	}

	body.home-page .home-krym-showcase .news-layout__main {
		display: flex;
		flex-direction: column;
		grid-template-columns: none;
		height: auto;
		min-height: 0;
		gap: 0.62rem;
	}

	body.home-page .home-krym-showcase .news-layout__hero {
		flex: 0 0 auto !important;
		height: clamp(210px, 46vw, 280px) !important;
		min-height: 210px;
		max-height: none;
	}

	body.home-page .home-krym-showcase .news-layout__hero .simple-carousel__viewport {
		flex: none;
		width: 100%;
		height: 100%;
		min-height: 210px;
	}

	body.home-page .home-krym-showcase .news-layout__hero.simple-carousel[data-carousel-fade] .simple-carousel__track {
		height: 100%;
		min-height: 100%;
	}

	body.home-page .home-krym-showcase .news-layout__hero .news-slide,
	body.home-page .home-krym-showcase .news-layout__hero .news-slide__body {
		min-height: 100%;
		height: 100%;
	}

	body.home-page .home-krym-showcase .news-teasers {
		flex: 0 0 auto !important;
		display: flex !important;
		flex-direction: row !important;
		flex-wrap: nowrap !important;
		grid-template-columns: none !important;
		grid-template-rows: none !important;
		align-self: stretch;
		width: 100%;
		height: auto;
		min-height: 0;
		gap: 0.5rem;
		margin: 0;
		padding: 0 0 0.15rem;
		overflow-x: auto;
		overflow-y: visible;
		-webkit-overflow-scrolling: touch;
		scroll-snap-type: x proximity;
		scrollbar-width: none;
	}

	body.home-page .home-krym-showcase .news-teasers::-webkit-scrollbar {
		display: none;
	}

	body.home-page .home-krym-showcase .news-teasers .news-teaser {
		position: relative;
		flex: 0 0 118px;
		width: 118px;
		height: 158px;
		min-height: 0 !important;
		padding: 0;
		overflow: hidden;
		border-radius: 14px;
		scroll-snap-align: start;
	}

	body.home-page .home-krym-showcase .news-teasers .news-teaser__main {
		display: flex;
		flex-direction: column;
		grid-template-columns: none;
		height: 100%;
	}

	body.home-page .home-krym-showcase .news-teasers .news-teaser__media {
		position: absolute;
		inset: 0;
		width: 100%;
		height: 100%;
		min-height: 0;
		border-radius: 0;
	}

	body.home-page .home-krym-showcase .news-teasers .news-teaser__media img {
		width: 100%;
		height: 100%;
		object-fit: cover;
	}

	body.home-page .home-krym-showcase .news-teasers .news-teaser__text {
		position: absolute;
		right: 0;
		bottom: 0;
		left: 0;
		z-index: 2;
		justify-content: flex-end;
		padding: 1.35rem 0.38rem 0.42rem;
		background: linear-gradient(180deg, transparent 8%, rgba(2, 12, 18, 0.88) 100%);
	}

	body.home-page .home-krym-showcase .news-teasers .news-teaser__line {
		color: rgba(255, 255, 255, 0.94);
		font-size: 0.58rem;
		line-height: 1.22;
		-webkit-line-clamp: 2;
		line-clamp: 2;
	}

	body.home-page .home-krym-showcase .news-teasers time {
		display: none;
	}

	body.home-page .home-krym-showcase .news-teasers .news-chip--on-photo {
		top: 0.3rem;
		left: 0.3rem;
		z-index: 2;
		padding: 0.1rem 0.28rem;
		font-size: 0.54rem;
	}
}

@media (max-width: 767.98px) {
	body.home-page .home-krym-showcase {
		padding: 0.72rem 0.75rem 0.78rem;
		border-radius: 18px;
	}

	body.home-page .home-krym-showcase::before {
		right: -120px;
		top: -140px;
		width: 240px;
		height: 240px;
		opacity: 0.65;
	}

	body.home-page .home-krym-showcase__head {
		align-items: flex-start;
		gap: 0.55rem;
		margin-bottom: 0.62rem;
	}

	body.home-page .home-krym-showcase__eyebrow {
		margin-bottom: 0.32rem;
		font-size: 0.58rem;
	}

	body.home-page .home-krym-showcase__eyebrow::before {
		width: 14px;
	}

	body.home-page .home-krym-showcase__intro h2 {
		font-size: 1rem;
		line-height: 1.28;
	}

	body.home-page .home-krym-showcase__intro p {
		margin-top: 0.28rem;
		font-size: 0.72rem;
		line-height: 1.45;
		display: -webkit-box;
		overflow: hidden;
		-webkit-box-orient: vertical;
		-webkit-line-clamp: 2;
		line-clamp: 2;
	}

	body.home-page .home-krym-showcase__tags {
		flex-wrap: nowrap;
		gap: 0.3rem;
		margin-top: 0.48rem;
		overflow-x: auto;
		padding-bottom: 0.12rem;
		-webkit-overflow-scrolling: touch;
		scrollbar-width: none;
	}

	body.home-page .home-krym-showcase__tags::-webkit-scrollbar {
		display: none;
	}

	body.home-page .home-krym-showcase__tags span {
		flex: 0 0 auto;
		padding: 0.22rem 0.48rem;
		font-size: 0.6rem;
	}

	body.home-page .home-krym-showcase .section-all {
		padding: 0.34rem 0.58rem;
		font-size: 0.68rem;
	}

	body.home-page .home-krym-showcase .news-layout__hero {
		height: clamp(190px, 52vw, 228px) !important;
		min-height: 190px;
		border-radius: 16px;
	}

	body.home-page .home-krym-showcase .news-layout__hero .simple-carousel__viewport {
		min-height: 190px;
	}

	body.home-page .home-krym-showcase .news-slide__body {
		padding: 0.62rem 0.72rem 1.05rem;
		gap: 0.18rem;
	}

	body.home-page .home-krym-showcase .news-slide__body h3 {
		max-width: none;
		font-size: 0.8rem;
		line-height: 1.24;
		display: -webkit-box;
		overflow: hidden;
		-webkit-box-orient: vertical;
		-webkit-line-clamp: 2;
		line-clamp: 2;
	}

	body.home-page .home-krym-showcase .news-slide__body p {
		font-size: 0.66rem;
		line-height: 1.4;
		-webkit-line-clamp: 1;
		line-clamp: 1;
	}

	body.home-page .home-krym-showcase .news-chip {
		padding: 0.14rem 0.38rem;
		font-size: 0.58rem;
	}

	body.home-page .home-krym-showcase .simple-carousel__arrow {
		width: 28px;
		height: 28px;
		font-size: 1rem;
	}

	body.home-page .home-krym-showcase .simple-carousel__dots {
		bottom: 0.42rem;
		gap: 0.28rem;
	}

	body.home-page .home-krym-showcase .news-teasers .news-teaser {
		flex-basis: 110px;
		width: 110px;
		height: 148px;
		border-radius: 13px;
	}
}

@media (max-width: 479.98px) {
	body.home-page .home-krym-showcase__intro p {
		display: none;
	}

	body.home-page .home-krym-showcase .news-layout__hero {
		height: clamp(176px, 56vw, 208px) !important;
		min-height: 176px;
	}

	body.home-page .home-krym-showcase .news-layout__hero .simple-carousel__viewport {
		min-height: 176px;
	}

	body.home-page .home-krym-showcase .news-teasers .news-teaser {
		flex-basis: 102px;
		width: 102px;
		height: 138px;
	}
}

/* ——— Главная: «Потеряшки Крыма» — компактная лента на телефоне ——— */
@media (max-width: 991.98px) {
	body.home-page section[aria-labelledby="sec-pets"] .news-marquee__group {
		gap: 0.48rem;
		padding-right: 0.55rem;
	}

	body.home-page section[aria-labelledby="sec-pets"] .news-marquee .news-teaser.news-marquee__card,
	body.home-page section[aria-labelledby="sec-pets"] .pets-marquee .news-teaser.news-marquee__card.pets-marquee__card {
		width: 132px !important;
		height: 162px !important;
		padding: 0.38rem;
		border-radius: 12px;
	}

	body.home-page section[aria-labelledby="sec-pets"] .news-marquee .news-teaser__media {
		flex: 0 0 78px !important;
		min-height: 78px !important;
		max-height: 78px !important;
		border-radius: 8px;
	}

	body.home-page section[aria-labelledby="sec-pets"] .news-marquee .news-teaser__text {
		padding-top: 0.32rem;
		gap: 0.08rem;
	}

	body.home-page section[aria-labelledby="sec-pets"] .pets-marquee .pets-marquee__card .news-teaser__line {
		font-size: 0.68rem;
		line-height: 1.22;
	}

	body.home-page section[aria-labelledby="sec-pets"] .news-marquee .news-teaser__text time {
		font-size: 0.58rem;
	}

	body.home-page section[aria-labelledby="sec-pets"] .news-marquee .news-chip--on-photo {
		top: 0.28rem;
		left: 0.28rem;
		padding: 0.1rem 0.28rem;
		font-size: 0.54rem;
	}
}

@media (max-width: 767.98px) {
	body.home-page section[aria-labelledby="sec-pets"] .news-marquee .news-teaser.news-marquee__card,
	body.home-page section[aria-labelledby="sec-pets"] .pets-marquee .news-teaser.news-marquee__card.pets-marquee__card {
		width: 124px !important;
		height: 154px !important;
	}
}

@media (max-width: 479.98px) {
	body.home-page section[aria-labelledby="sec-pets"] .news-marquee .news-teaser.news-marquee__card,
	body.home-page section[aria-labelledby="sec-pets"] .pets-marquee .news-teaser.news-marquee__card.pets-marquee__card {
		width: 112px !important;
		height: 142px !important;
		padding: 0.32rem;
	}

	body.home-page section[aria-labelledby="sec-pets"] .news-marquee .news-teaser__media {
		flex-basis: 68px !important;
		min-height: 68px !important;
		max-height: 68px !important;
	}

	body.home-page section[aria-labelledby="sec-pets"] .pets-marquee .pets-marquee__card .news-teaser__line {
		font-size: 0.62rem;
		-webkit-line-clamp: 2;
		line-clamp: 2;
	}
}

/* ——— SEO-статья и «Статьи и подборки» на телефоне ——— */
@media (max-width: 767.98px) {
	.seo-article {
		padding: 0.78rem 0.82rem 0.85rem;
		overflow: visible;
		min-width: 0;
	}

	.seo-article__head {
		gap: 0.28rem;
		margin-bottom: 0.45rem;
	}

	.seo-article__eyebrow {
		padding: 0.16rem 0.44rem;
		font-size: 0.56rem;
	}

	.seo-article h2 {
		font-size: 0.88rem;
		line-height: 1.26;
	}

	.seo-article__lead {
		font-size: 0.72rem;
		line-height: 1.46;
	}

	.seo-article__divider {
		margin-bottom: 0.62rem;
	}

	.seo-article__grid {
		display: flex;
		flex-direction: column;
		gap: 0.65rem;
		min-width: 0;
	}

	.seo-article__main,
	.seo-article__side {
		min-width: 0;
		width: 100%;
	}

	.seo-article__block + .seo-article__block {
		margin-top: 0.55rem;
	}

	.seo-article__block h3,
	.seo-blog-cards__title {
		font-size: 0.78rem;
		margin-bottom: 0.32rem;
	}

	.seo-article__block p,
	.seo-article__list li {
		font-size: 0.68rem;
		line-height: 1.42;
	}

	.seo-article__list {
		gap: 0.36rem;
		padding-left: 0.9rem;
	}

	.seo-article__side.seo-article__side--blog {
		display: flex !important;
		flex-direction: column;
		gap: 0.45rem;
		order: 2;
		margin-top: 0;
		padding-top: 0.65rem;
		border-top: 1px solid rgba(255, 255, 255, 0.08);
	}

	.seo-blog-cards__title {
		margin: 0;
	}

	.seo-blog-cards {
		display: flex;
		flex-direction: column;
		gap: 0.42rem;
		width: 100%;
		min-width: 0;
		overflow: visible;
	}

	.seo-blog-card {
		display: grid;
		grid-template-columns: 54px minmax(0, 1fr);
		align-items: center;
		gap: 0.52rem;
		width: 100%;
		max-width: none;
		padding: 0.46rem 0.5rem;
		border-radius: 10px;
	}

	.seo-blog-card__media {
		width: 54px;
		height: 54px;
		aspect-ratio: 1 / 1;
		flex-shrink: 0;
		border-radius: 8px;
	}

	.seo-blog-card__media img {
		display: block;
		width: 100%;
		height: 100%;
		object-fit: cover;
	}

	.seo-blog-card__cat {
		font-size: 0.54rem;
		line-height: 1.2;
	}

	.seo-blog-card__title {
		font-size: 0.66rem;
		line-height: 1.24;
		display: -webkit-box;
		overflow: hidden;
		-webkit-box-orient: vertical;
		-webkit-line-clamp: 2;
		line-clamp: 2;
	}

	.seo-blog-card__meta {
		font-size: 0.56rem;
	}

	.seo-blog-cards__more {
		display: flex;
		align-items: center;
		justify-content: center;
		width: 100%;
		margin-top: 0.08rem;
		padding: 0.48rem 0.55rem;
		font-size: 0.66rem;
		line-height: 1.25;
		text-align: center;
	}
}

@media (max-width: 479.98px) {
	.seo-article {
		padding: 0.72rem 0.76rem 0.8rem;
	}

	.seo-article h2 {
		font-size: 0.82rem;
	}

	.seo-article__lead {
		font-size: 0.68rem;
	}

	.seo-article__block p,
	.seo-article__list li {
		font-size: 0.64rem;
	}

	.seo-blog-card {
		grid-template-columns: 48px minmax(0, 1fr);
		gap: 0.46rem;
		padding: 0.42rem 0.46rem;
	}

	.seo-blog-card__media {
		width: 48px;
		height: 48px;
	}
}

body.light.home-page .home-krym-showcase__intro h2 {
	background: linear-gradient(100deg, #123934, #137466 52%, #9a6507);
	-webkit-background-clip: text;
	background-clip: text;
	color: transparent;
}

body.light.home-page .home-krym-showcase__tags span {
	color: #16685d;
}

/* ——— Главная: более выразительная светлая тема ——— */
body.light.home-page {
	background:
		radial-gradient(ellipse 50% 28% at 22% 0%, rgba(59, 130, 246, 0.11), transparent 72%),
		radial-gradient(ellipse 42% 26% at 86% 16%, rgba(139, 92, 246, 0.075), transparent 74%),
		#edf2f8 !important;
}

body.light.home-page .glass-panel {
	border-color: rgba(30, 85, 140, 0.13);
	background-color: rgba(255, 255, 255, 0.72);
	box-shadow:
		0 12px 32px rgba(33, 70, 110, 0.1),
		inset 0 1px 0 rgba(255, 255, 255, 0.9);
}

body.light.home-page .section-head h2 {
	color: #17263a;
}

body.light.home-page .section-all {
	color: #1768b7;
}

body.light.home-page .home-welcome {
	border-color: rgba(38, 115, 187, 0.18);
	background:
		linear-gradient(180deg, rgba(255, 255, 255, 0.9), rgba(255, 255, 255, 0.66)),
		linear-gradient(135deg, rgba(59, 130, 246, 0.11), transparent 48%),
		linear-gradient(320deg, rgba(139, 92, 246, 0.08), transparent 44%);
	box-shadow:
		0 24px 60px rgba(38, 76, 116, 0.13),
		inset 0 1px 0 #fff;
}

body.light.home-page .home-welcome::before {
	opacity: 0.48;
	background-image:
		linear-gradient(rgba(60, 110, 160, 0.08) 1px, transparent 1px),
		linear-gradient(90deg, rgba(60, 110, 160, 0.08) 1px, transparent 1px);
}

body.light.home-page .home-welcome::after {
	background: radial-gradient(circle, rgba(59, 130, 246, 0.18), rgba(139, 92, 246, 0.075) 44%, transparent 70%);
}

body.light.home-page .home-welcome__eyebrow {
	border-color: rgba(37, 115, 190, 0.22);
	background: rgba(37, 115, 190, 0.075);
	color: #1768b7;
	box-shadow: 0 8px 24px rgba(37, 115, 190, 0.08);
}

body.light.home-page .home-welcome__eyebrow::before {
	background: #2487df;
	box-shadow: 0 0 9px rgba(36, 135, 223, 0.48);
}

body.light.home-page .home-welcome__copy > p {
	color: #2f4054;
}

body.light.home-page .home-welcome__search {
	border-color: rgba(31, 83, 132, 0.15);
	background: rgba(255, 255, 255, 0.72);
	color: #26384e;
	box-shadow: 0 6px 18px rgba(42, 76, 110, 0.08);
}

body.light.home-page .home-quick-links a {
	border-color: rgba(35, 87, 138, 0.13);
	background: linear-gradient(145deg, rgba(255, 255, 255, 0.92), rgba(246, 250, 255, 0.74));
	box-shadow:
		0 8px 20px rgba(40, 75, 110, 0.075),
		inset 0 1px 0 #fff;
}

body.light.home-page .home-quick-links a:hover {
	border-color: rgba(33, 121, 204, 0.3);
	background: #fff;
	box-shadow: 0 12px 26px rgba(33, 92, 148, 0.12);
}

body.light.home-page .home-quick-links span {
	color: #203349;
}

body.light.home-page .home-quick-links small {
	color: #64748b;
}

body.light.home-page .home-city-links {
	border-color: rgba(35, 89, 142, 0.12);
	background:
		linear-gradient(135deg, rgba(13, 132, 251, 0.07), rgba(45, 212, 191, 0.04) 55%, rgba(255, 255, 255, 0.72)),
		rgba(255, 255, 255, 0.82);
	box-shadow:
		0 6px 18px rgba(38, 72, 106, 0.06),
		inset 0 1px 0 rgba(255, 255, 255, 0.95);
}

@media (max-width: 767.98px) {
	body.light.home-page .home-city-links {
		border: 0;
		border-top: 1px solid rgba(35, 89, 142, 0.12);
		border-radius: 0;
		background: transparent;
		box-shadow: none;
	}
}

body.light.home-page .home-city-links__icon {
	border-color: rgba(13, 132, 251, 0.18);
	background: linear-gradient(145deg, rgba(13, 132, 251, 0.12), rgba(45, 212, 191, 0.08));
	color: #0876d7;
	box-shadow: 0 4px 12px rgba(13, 132, 251, 0.1);
}

body.light.home-page .home-city-links__label {
	color: #334155;
}

body.light.home-page .home-city-links__chip {
	border-color: rgba(35, 89, 142, 0.14);
	background: rgba(255, 255, 255, 0.88);
	color: #334155;
	box-shadow: 0 2px 8px rgba(38, 72, 106, 0.04);
}

body.light.home-page .home-city-links__chip:hover {
	border-color: rgba(13, 132, 251, 0.28);
	background: #fff;
	color: #1267b8;
	box-shadow: 0 8px 18px rgba(33, 92, 148, 0.1);
}

body.light.home-page .news-latest-panel {
	background:
		linear-gradient(180deg, rgba(255, 255, 255, 0.92), rgba(248, 251, 255, 0.78));
}

body.light.home-page .news-latest-panel__foot {
	border-top-color: rgba(36, 82, 126, 0.1);
	background: linear-gradient(180deg, transparent, rgba(255, 255, 255, 0.45));
}

body.light.home-page .news-latest-panel__all {
	border-color: rgba(32, 124, 210, 0.28);
	background:
		linear-gradient(135deg, rgba(32, 124, 210, 0.12), rgba(124, 58, 237, 0.08)),
		rgba(255, 255, 255, 0.88);
	color: #1267b8;
	box-shadow:
		0 8px 18px rgba(38, 72, 106, 0.08),
		inset 0 1px 0 rgba(255, 255, 255, 0.95);
}

body.light.home-page .news-latest-panel__all:hover,
body.light.home-page .news-latest-panel__all:focus-visible {
	border-color: rgba(32, 124, 210, 0.42);
	background:
		linear-gradient(135deg, rgba(32, 124, 210, 0.18), rgba(124, 58, 237, 0.1)),
		#fff;
	color: #0d5fa8;
}

body.light.home-page .news-feed__item {
	border: 1px solid rgba(39, 89, 137, 0.09);
	background: rgba(255, 255, 255, 0.8);
	box-shadow: 0 4px 12px rgba(40, 72, 105, 0.055);
}

body.light.home-page .news-feed__item:hover {
	border-color: rgba(31, 123, 207, 0.21);
	background: #fff;
	box-shadow: 0 8px 20px rgba(39, 83, 125, 0.11);
}

body.light.home-page .news-feed__line {
	color: #26384d;
}

body.light.home-page .news-teaser {
	border-color: rgba(35, 84, 132, 0.12);
	background: rgba(255, 255, 255, 0.78);
	box-shadow: 0 7px 20px rgba(37, 71, 105, 0.08);
}

body.light.home-page .news-teaser:hover {
	background: #fff;
	box-shadow: 0 12px 28px rgba(35, 75, 115, 0.13);
}

body.light.home-page .news-teaser__line {
	color: #28394d;
}

body.light.home-page .home-services-preview {
	border-color: rgba(36, 91, 145, 0.12);
	background:
		linear-gradient(145deg, rgba(59, 130, 246, 0.065), transparent 44%),
		rgba(255, 255, 255, 0.5);
	box-shadow: 0 15px 38px rgba(39, 75, 111, 0.08);
}

body.light.home-page .home-service-panel,
body.light.home-page .home-service-panel:nth-child(2),
body.light.home-page .home-service-panel:nth-child(3) {
	border-color: rgba(35, 87, 138, 0.12);
	background:
		linear-gradient(110deg, rgba(45, 126, 211, 0.07), transparent 36%),
		rgba(255, 255, 255, 0.76);
	box-shadow: 0 8px 22px rgba(38, 72, 107, 0.07);
}

body.light.home-page .home-service-panel:nth-child(2) {
	background:
		linear-gradient(110deg, rgba(139, 92, 246, 0.07), transparent 36%),
		rgba(255, 255, 255, 0.76);
}

body.light.home-page .home-service-panel:nth-child(3) {
	background:
		linear-gradient(110deg, rgba(20, 184, 166, 0.07), transparent 36%),
		rgba(255, 255, 255, 0.76);
}

body.light.home-page .home-service-panel:hover {
	border-color: rgba(33, 121, 204, 0.23);
	box-shadow: 0 14px 32px rgba(35, 76, 116, 0.12);
}

body.light.home-page .home-service-panel__head {
	border-color: rgba(35, 79, 123, 0.1);
}

body.light.home-page .home-service-panel__head h3 {
	color: #20344b;
}

body.light.home-page .home-service-panel__head a {
	border-color: rgba(27, 112, 190, 0.17);
	background: rgba(31, 126, 212, 0.065);
	color: #1468b5;
}

body.light.home-page .home-service-panel .news-teaser,
body.light.home-page .home-service-panel .feed-card-shell {
	border-color: rgba(35, 82, 128, 0.1);
	background: #fff;
	box-shadow: 0 6px 17px rgba(35, 71, 106, 0.085);
}

body.light.home-page .home-krym-showcase {
	border-color: rgba(22, 134, 120, 0.17);
	background:
		linear-gradient(145deg, rgba(20, 184, 166, 0.09), transparent 44%),
		linear-gradient(325deg, rgba(245, 158, 11, 0.075), transparent 40%),
		rgba(255, 255, 255, 0.7);
	box-shadow: 0 18px 42px rgba(28, 88, 83, 0.1);
}

body.light.home-page .home-krym-showcase__eyebrow {
	color: #0d796b;
}

body.light.home-page .home-krym-showcase .section-all {
	border-color: rgba(13, 121, 107, 0.18);
	background: rgba(20, 184, 166, 0.075);
	color: #0b7165;
}

body.light.home-page .home-krym-showcase__tags span {
	border-color: rgba(13, 121, 107, 0.14);
	background: rgba(20, 184, 166, 0.07);
}

body.light.home-page .home-krym-showcase .news-teasers .news-teaser {
	border-color: rgba(22, 108, 98, 0.12);
	background:
		linear-gradient(115deg, rgba(20, 184, 166, 0.06), transparent 48%),
		#fff;
	box-shadow: 0 7px 20px rgba(26, 83, 77, 0.08);
}

body.light.home-page section[aria-labelledby="sec-pets"] .news-marquee {
	padding: 0.75rem;
	border: 1px solid rgba(35, 86, 136, 0.11);
	border-radius: 20px;
	background: rgba(255, 255, 255, 0.52);
	box-shadow: 0 12px 30px rgba(36, 72, 108, 0.075);
}

body.light.home-page section[aria-labelledby="sec-pets"] .news-teaser {
	background: rgba(255, 255, 255, 0.9);
}

body.light .seo-article__block h3,
body.light .seo-blog-cards__title {
	color: #20344b;
}

body.light .seo-blog-card {
	border-color: rgba(35, 85, 134, 0.11);
	background: rgba(255, 255, 255, 0.82);
	box-shadow: 0 6px 17px rgba(35, 71, 106, 0.065);
}

body.light .seo-blog-card:hover {
	border-color: rgba(31, 121, 204, 0.22);
	background: #fff;
	box-shadow: 0 10px 24px rgba(35, 75, 115, 0.11);
}

body.light .seo-blog-card__title {
	color: #24374d;
}

body.light .seo-blog-cards__more {
	border-color: rgba(31, 112, 188, 0.18);
	background: rgba(31, 126, 212, 0.065);
	color: #1468b5;
}

body.light.home-page .seo-article {
	border-color: rgba(35, 84, 132, 0.13);
	background:
		linear-gradient(145deg, rgba(59, 130, 246, 0.045), transparent 40%),
		rgba(255, 255, 255, 0.76);
	box-shadow: 0 16px 40px rgba(36, 72, 108, 0.09);
}

body.light.home-page .seo-article__divider {
	background: linear-gradient(90deg, rgba(35, 104, 168, 0.18), rgba(139, 92, 246, 0.13), transparent);
}

body.light.home-page .seo-article__block h3,
body.light.home-page .seo-blog-cards__title {
	color: #20344b;
}

body.light.home-page .seo-article__list li,
body.light.home-page .seo-article__block p,
body.light.home-page .seo-article__lead {
	color: #2f4054;
}

body.light.home-page .seo-blog-card {
	border-color: rgba(35, 85, 134, 0.11);
	background: rgba(255, 255, 255, 0.82);
	box-shadow: 0 6px 17px rgba(35, 71, 106, 0.065);
}

body.light.home-page .seo-blog-card:hover {
	border-color: rgba(31, 121, 204, 0.22);
	background: #fff;
	box-shadow: 0 10px 24px rgba(35, 75, 115, 0.11);
}

body.light.home-page .seo-blog-card__title {
	color: #24374d;
}

body.light.home-page .seo-blog-cards__more {
	border-color: rgba(31, 112, 188, 0.18);
	background: rgba(31, 126, 212, 0.065);
	color: #1468b5;
}

/* ——— Боковое меню: компактная навигационная панель ——— */
@media (min-width: 768px) {
	body.has-tabbar .sidebar-desktop {
		padding-top: 24px;
		background:
			radial-gradient(240px 300px at -25% -5%, rgba(13, 132, 251, 0.22), transparent 70%),
			radial-gradient(180px 260px at 115% 72%, rgba(103, 80, 214, 0.09), transparent 72%),
			var(--sidebar-bg);
		box-shadow:
			inset -1px 0 0 rgba(255, 255, 255, 0.055),
			12px 0 34px rgba(5, 12, 24, 0.25);
	}

	body.light.has-tabbar .sidebar-desktop {
		background:
			radial-gradient(240px 300px at -25% -5%, rgba(0, 128, 255, 0.14), transparent 70%),
			radial-gradient(180px 260px at 115% 72%, rgba(103, 80, 214, 0.055), transparent 72%),
			linear-gradient(180deg, #ffffff, #f8fbff 68%, #f4f8fd);
		box-shadow:
			inset -1px 0 0 rgba(28, 74, 118, 0.08),
			10px 0 30px rgba(40, 75, 110, 0.09);
	}
}

.sidebar .logo {
	position: relative;
	min-height: 66px;
	margin: 0 12px 14px;
	padding: 11px 13px;
	border: 1px solid rgba(255, 255, 255, 0.09);
	border-radius: 17px;
	background:
		linear-gradient(140deg, rgba(13, 132, 251, 0.13), rgba(103, 80, 214, 0.045)),
		rgba(255, 255, 255, 0.025);
	box-shadow:
		0 12px 28px rgba(4, 11, 24, 0.18),
		inset 0 1px 0 rgba(255, 255, 255, 0.065);
	transition: transform 0.22s ease, border-color 0.22s ease, box-shadow 0.22s ease;
}

body.has-tabbar .sidebar-desktop .sidebar .logo:hover {
	transform: translateY(-1px);
	border-color: rgba(91, 174, 255, 0.25);
	box-shadow:
		0 15px 32px rgba(4, 11, 24, 0.23),
		inset 0 1px 0 rgba(255, 255, 255, 0.09);
}

body.light.has-tabbar .sidebar-desktop .sidebar .logo {
	border-color: rgba(32, 93, 151, 0.12);
	background:
		linear-gradient(140deg, rgba(13, 132, 251, 0.09), rgba(103, 80, 214, 0.025)),
		rgba(255, 255, 255, 0.78);
	box-shadow:
		0 10px 24px rgba(33, 72, 110, 0.09),
		inset 0 1px 0 #fff;
}

body.light.has-tabbar .sidebar-desktop .sidebar .logo:hover {
	border-color: rgba(0, 128, 255, 0.24);
	box-shadow: 0 14px 28px rgba(31, 84, 134, 0.13);
}

.sidebar .logo img {
	height: 41px;
	filter: drop-shadow(0 5px 10px rgba(0, 91, 220, 0.16));
}

.sidebar .menu.site-nav {
	position: relative;
	gap: 5px;
	padding: 26px 10px 8px;
}

.sidebar .menu.site-nav::before {
	content: 'Разделы';
	position: absolute;
	top: 2px;
	left: 21px;
	color: rgba(178, 191, 209, 0.58);
	font-size: 0.62rem;
	font-weight: 750;
	letter-spacing: 0.12em;
	text-transform: uppercase;
}

body.light .sidebar .menu.site-nav::before {
	color: #8291a5;
}

body.dark .sidebar .menu .item,
body.light .sidebar .menu .item,
.sidebar .menu span.item.coming-soon {
	position: relative;
	min-height: 49px;
	padding: 0 10px;
	border-radius: 14px;
	gap: 10px;
}

.sidebar .menu .item .nav-icon,
.sidebar .menu span.item.coming-soon .nav-icon {
	flex: 0 0 34px;
	width: 34px;
	height: 34px;
	padding: 6px;
	border: 1px solid rgba(255, 255, 255, 0.075);
	border-radius: 10px;
	background: rgba(255, 255, 255, 0.045);
	box-sizing: border-box;
	opacity: 1;
	transition: background-color 0.22s ease, border-color 0.22s ease, color 0.22s ease, transform 0.22s ease;
}

body.light .sidebar .menu .item .nav-icon,
body.light .sidebar .menu span.item.coming-soon .nav-icon {
	border-color: rgba(29, 83, 136, 0.1);
	background: rgba(0, 128, 255, 0.06);
	box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.8);
}

.sidebar .menu .item > span {
	min-width: 0;
	font-size: 0.83rem;
	font-weight: 610;
	letter-spacing: -0.012em;
}

body.dark .sidebar .menu a.item:hover,
body.light .sidebar .menu a.item:hover {
	transform: translateX(2px);
}

body.dark .sidebar .menu a.item:hover {
	border-color: rgba(92, 177, 255, 0.22);
	background:
		linear-gradient(90deg, rgba(13, 132, 251, 0.15), rgba(13, 132, 251, 0.045)) !important;
	box-shadow: 0 8px 18px rgba(4, 13, 28, 0.25);
}

body.light .sidebar .menu a.item:hover {
	border-color: rgba(0, 128, 255, 0.19);
	background:
		linear-gradient(90deg, rgba(0, 128, 255, 0.1), rgba(0, 128, 255, 0.025)) !important;
	box-shadow: 0 8px 19px rgba(31, 82, 132, 0.1);
}

.sidebar .menu a.item:hover .nav-icon {
	transform: scale(1.04);
	border-color: rgba(95, 180, 255, 0.24);
	background: rgba(13, 132, 251, 0.12);
}

.sidebar .menu a.item.is-active,
.sidebar .menu a.item[aria-current='page'] {
	border-color: rgba(71, 160, 249, 0.34);
	background:
		linear-gradient(100deg, rgba(13, 132, 251, 0.25), rgba(13, 132, 251, 0.07)) !important;
	box-shadow:
		0 9px 22px rgba(2, 56, 119, 0.2),
		inset 0 1px 0 rgba(255, 255, 255, 0.07);
}

.sidebar .menu a.item.is-active::after,
.sidebar .menu a.item[aria-current='page']::after {
	content: '';
	position: absolute;
	right: -1px;
	top: 13px;
	bottom: 13px;
	width: 3px;
	border-radius: 999px;
	background: linear-gradient(180deg, #63b9ff, #087fe8);
	box-shadow: 0 0 11px rgba(30, 144, 255, 0.55);
}

.sidebar .menu a.item.is-active svg.nav-icon,
.sidebar .menu a.item[aria-current='page'] svg.nav-icon {
	border-color: rgba(108, 193, 255, 0.34);
	background: linear-gradient(145deg, #1692ff, #086ccc);
	color: #fff !important;
	stroke: #fff !important;
	opacity: 1 !important;
	box-shadow: 0 6px 14px rgba(0, 103, 212, 0.28);
}

.sidebar .menu a.item.is-active svg.nav-icon :where(path, circle, line, polyline, polygon, rect, ellipse),
.sidebar .menu a.item[aria-current='page'] svg.nav-icon :where(path, circle, line, polyline, polygon, rect, ellipse) {
	stroke: #fff !important;
}

body.light .sidebar .menu a.item.is-active svg.nav-icon,
body.light .sidebar .menu a.item[aria-current='page'] svg.nav-icon {
	border-color: rgba(0, 103, 212, 0.28);
	background: linear-gradient(145deg, #1692ff, #086ccc);
	color: #fff !important;
	stroke: #fff !important;
	opacity: 1 !important;
	box-shadow: 0 6px 14px rgba(0, 103, 212, 0.22);
}

body.light .sidebar .menu a.item.is-active svg.nav-icon :where(path, circle, line, polyline, polygon, rect, ellipse),
body.light .sidebar .menu a.item[aria-current='page'] svg.nav-icon :where(path, circle, line, polyline, polygon, rect, ellipse) {
	stroke: #fff !important;
	stroke-opacity: 1;
}

body.light .sidebar .menu a.item.is-active svg.nav-icon path[fill]:not([fill='none']),
body.light .sidebar .menu a.item[aria-current='page'] svg.nav-icon path[fill]:not([fill='none']) {
	fill: #fff !important;
	fill-opacity: 1;
}

body.dark .sidebar .menu a.item.is-active svg.nav-icon,
body.dark .sidebar .menu a.item[aria-current='page'] svg.nav-icon {
	color: #fff !important;
	stroke: #fff !important;
	opacity: 1 !important;
}

body.dark .sidebar .menu a.item.is-active svg.nav-icon :where(path, circle, line, polyline, polygon, rect, ellipse),
body.dark .sidebar .menu a.item[aria-current='page'] svg.nav-icon :where(path, circle, line, polyline, polygon, rect, ellipse) {
	stroke: #fff !important;
	stroke-opacity: 1;
}

body.light .sidebar .menu a.item.is-active,
body.light .sidebar .menu a.item[aria-current='page'] {
	border-color: rgba(0, 128, 255, 0.25);
	background:
		linear-gradient(100deg, rgba(0, 128, 255, 0.14), rgba(0, 128, 255, 0.035)) !important;
	box-shadow:
		0 9px 20px rgba(26, 89, 150, 0.11),
		inset 0 1px 0 rgba(255, 255, 255, 0.75);
}

body.light .sidebar .menu a.item.is-active > span,
body.light .sidebar .menu a.item[aria-current='page'] > span {
	color: #0b5fae !important;
	font-weight: 720;
}

.sidebar .menu span.item.coming-soon {
	border-color: rgba(148, 163, 184, 0.15);
	background: rgba(148, 163, 184, 0.055);
	opacity: 0.72;
}

.sidebar .menu span.item.coming-soon .badge-soon {
	display: block;
	margin-top: 1px;
	font-size: 0.58rem;
	font-weight: 650;
	letter-spacing: 0.045em;
	text-transform: uppercase;
}

.sidebar .menu li.menu-news {
	gap: 5px;
}

.sidebar .menu li.menu-news > .item {
	padding-right: 7px;
}

.cities-drop__btn {
	width: 32px;
	height: 32px;
	border-radius: 10px;
	opacity: 0.85;
	transition: transform 0.2s ease, opacity 0.2s ease, background-color 0.2s ease, box-shadow 0.2s ease;
}

.cities-drop__btn:hover,
.menu-news.is-open .cities-drop__btn {
	opacity: 1;
	transform: translateX(1px);
	background: rgba(13, 132, 251, 0.2);
	box-shadow: 0 6px 14px rgba(4, 18, 36, 0.18);
}

body.light .cities-drop__btn:hover,
body.light .menu-news.is-open .cities-drop__btn {
	background: rgba(0, 128, 255, 0.15);
}

.cities-dropmenu {
	padding: 9px;
	border-radius: 15px;
	box-shadow: 0 18px 44px rgba(2, 8, 20, 0.42);
}

.cities-dropmenu__link {
	position: relative;
	padding: 9px 11px 9px 25px;
}

.cities-dropmenu__link::before {
	content: '';
	position: absolute;
	left: 11px;
	top: 50%;
	width: 5px;
	height: 5px;
	border-radius: 50%;
	background: #168cf2;
	transform: translateY(-50%);
	box-shadow: 0 0 8px rgba(22, 140, 242, 0.4);
}

.sidebar-footer-tools {
	margin: 0 10px 10px;
	padding: 10px;
	gap: 7px;
	border: 1px solid rgba(255, 255, 255, 0.075);
	border-radius: 16px;
	background: rgba(255, 255, 255, 0.035);
	box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.045);
}

body.light .sidebar-footer-tools {
	border-color: rgba(32, 85, 137, 0.1);
	background: rgba(255, 255, 255, 0.65);
	box-shadow:
		0 7px 20px rgba(35, 70, 105, 0.06),
		inset 0 1px 0 #fff;
}

.sidebar-footer-tools .header-services-btn,
.sidebar-footer-tools__split > .theme-toggle,
.sidebar-footer-tools .footer-about-drop__btn {
	border-radius: 11px;
}

/* =========================================================
   Crimea24 UI 2026: единая система внутренних страниц
   ========================================================= */
body.dark {
	--ui-surface: rgba(38, 42, 52, 0.66);
	--ui-surface-strong: rgba(34, 39, 49, 0.88);
	--ui-surface-soft: rgba(255, 255, 255, 0.035);
	--ui-border: rgba(255, 255, 255, 0.11);
	--ui-border-accent: rgba(83, 170, 255, 0.28);
	--ui-shadow: 0 16px 42px rgba(2, 8, 18, 0.28);
	--ui-shadow-soft: 0 8px 24px rgba(2, 8, 18, 0.2);
	--ui-accent-soft: rgba(13, 132, 251, 0.11);
	--ui-accent-text: #8fc9ff;
	--ui-heading: #f5f8fc;
	--ui-divider: rgba(255, 255, 255, 0.08);
}

body.light {
	--ui-surface: rgba(255, 255, 255, 0.76);
	--ui-surface-strong: rgba(255, 255, 255, 0.94);
	--ui-surface-soft: rgba(244, 248, 253, 0.82);
	--ui-border: rgba(31, 82, 131, 0.12);
	--ui-border-accent: rgba(13, 120, 220, 0.24);
	--ui-shadow: 0 16px 40px rgba(35, 72, 108, 0.1);
	--ui-shadow-soft: 0 7px 22px rgba(35, 72, 108, 0.075);
	--ui-accent-soft: rgba(13, 132, 251, 0.075);
	--ui-accent-text: #1268b7;
	--ui-heading: #1b2c41;
	--ui-divider: rgba(31, 78, 124, 0.09);
}

body.dark:not(.home-page):not(.cms-panel-page),
body.light:not(.home-page):not(.cms-panel-page) {
	background:
		radial-gradient(ellipse 52% 28% at 28% 0%, rgba(13, 132, 251, 0.085), transparent 72%),
		radial-gradient(ellipse 40% 24% at 88% 22%, rgba(112, 72, 190, 0.05), transparent 74%),
		var(--bg-page) !important;
}

body.light:not(.home-page):not(.cms-panel-page) {
	background:
		radial-gradient(ellipse 52% 28% at 28% 0%, rgba(13, 132, 251, 0.1), transparent 72%),
		radial-gradient(ellipse 40% 24% at 88% 22%, rgba(112, 72, 190, 0.055), transparent 74%),
		#edf2f8 !important;
}

body:not(.home-page) .glass-panel {
	border-color: var(--ui-border);
	background-color: var(--ui-surface);
	box-shadow:
		var(--ui-shadow-soft),
		inset 0 1px 0 rgba(255, 255, 255, 0.055);
}

body.light:not(.home-page) .glass-panel {
	box-shadow:
		var(--ui-shadow-soft),
		inset 0 1px 0 rgba(255, 255, 255, 0.92);
}

/* Pagehead, breadcrumbs and advertising */
.news-page-pagehead {
	gap: 0.9rem;
	margin-bottom: 1rem;
}

.news-page-pagehead-intro {
	position: relative;
	isolation: isolate;
	overflow: hidden;
	padding: clamp(1rem, 2vw, 1.35rem);
	border-style: solid;
	border-color: var(--ui-border-accent);
	border-radius: 20px;
	background:
		linear-gradient(135deg, var(--ui-accent-soft), transparent 52%),
		var(--ui-surface);
	box-shadow: var(--ui-shadow);
}

.news-page-pagehead-intro::after {
	content: '';
	position: absolute;
	z-index: -1;
	right: -74px;
	top: -110px;
	width: 250px;
	height: 250px;
	border-radius: 50%;
	background: radial-gradient(circle, rgba(30, 144, 255, 0.16), transparent 70%);
	pointer-events: none;
}

.news-page-pagehead-intro .page-breadcrumbs {
	margin-bottom: 0.7rem;
}

.page-breadcrumbs {
	gap: 0.42rem;
	font-size: 0.7rem;
	font-weight: 620;
}

.page-breadcrumbs a {
	display: inline-flex;
	align-items: center;
	padding: 0.25rem 0.52rem;
	border: 1px solid var(--ui-border);
	border-radius: 999px;
	background: var(--ui-surface-soft);
	color: var(--ui-accent-text);
	text-decoration: none;
	transition: border-color 0.18s ease, background-color 0.18s ease, transform 0.18s ease;
}

.page-breadcrumbs a:hover {
	border-color: var(--ui-border-accent);
	background: var(--ui-accent-soft);
	text-decoration: none;
	transform: translateY(-1px);
}

.news-page-pagehead__title h2,
.news-page-pagehead__title h1.post-page__title {
	margin: 0;
	color: var(--ui-heading);
	font-family: 'Unbounded', 'Manrope', system-ui, sans-serif;
	font-size: clamp(1.12rem, 2.15vw, 1.62rem);
	font-weight: 700;
	line-height: 1.28;
	letter-spacing: -0.035em;
	text-wrap: balance;
}

.news-page-banner.news-page-banner--top {
	overflow: hidden;
	border-color: var(--ui-border);
	border-radius: 20px;
	background:
		linear-gradient(135deg, rgba(13, 132, 251, 0.05), transparent 58%),
		var(--ui-surface);
	box-shadow: var(--ui-shadow-soft);
}

.news-page-banner__link {
	border-color: var(--ui-border-accent);
	border-radius: 18px;
	background:
		repeating-linear-gradient(-45deg, transparent 0 10px, rgba(13, 132, 251, 0.028) 10px 20px),
		var(--ui-surface-soft);
	transition: border-color 0.2s ease, background-color 0.2s ease, transform 0.2s ease;
}

.news-page-banner__link:hover {
	border-color: rgba(41, 147, 242, 0.48);
	background-color: var(--ui-accent-soft);
	transform: translateY(-1px);
}

.news-page-banner__placeholder {
	padding: 0.32rem 0.65rem;
	border: 1px solid var(--ui-border);
	border-radius: 999px;
	background: var(--ui-surface);
	color: var(--text-muted);
	font-size: 0.66rem;
	font-weight: 650;
	letter-spacing: 0.055em;
	text-transform: uppercase;
}

/* Inner layouts, feeds and sidebars */
.news-page-layout {
	--bs-gutter-x: 0.9rem;
}

.news-page-feed-panel,
.realty-page-listings,
.articles-feed-panel,
.search-page__panel,
.cabinet-panel,
.about-story {
	overflow: hidden;
	padding: clamp(0.85rem, 1.8vw, 1.15rem);
	border: 1px solid var(--ui-border);
	border-radius: 20px;
	background:
		linear-gradient(150deg, rgba(13, 132, 251, 0.035), transparent 42%),
		var(--ui-surface);
	box-shadow: var(--ui-shadow);
}

.realty-page-listings__head,
.news-latest-panel__head,
.articles-page__head,
.search-page__head {
	padding-bottom: 0.8rem;
	border-bottom: 1px solid var(--ui-divider);
}

.card_blur.post-side-nav.news-page-side {
	overflow-x: hidden;
	overflow-y: visible;
	padding: clamp(0.9rem, 2vw, 1.2rem) !important;
	border: 1px solid var(--ui-border) !important;
	border-radius: 20px;
	background:
		linear-gradient(145deg, rgba(13, 132, 251, 0.045), transparent 40%),
		var(--ui-surface) !important;
	box-shadow: var(--ui-shadow);
}

.news-page-interest-sidebar__title,
.news-page-marquee-sidebar__title,
.news-page-side-weather__title {
	color: var(--ui-heading);
	font-family: 'Unbounded', 'Manrope', system-ui, sans-serif;
	font-weight: 700;
	letter-spacing: -0.035em;
}

.news-page-interest-sidebar__title::before,
.news-page-marquee-sidebar__title::before {
	background: linear-gradient(180deg, #35a1ff, #0877db);
	box-shadow: 0 0 11px rgba(29, 143, 242, 0.4);
}

.post-side-nav .news-side-gov-suite,
.news-page-side-city-card,
.vk-community {
	border-color: var(--ui-border);
	background: var(--ui-surface-soft);
	box-shadow: var(--ui-shadow-soft);
}

/* погода сайдбара — свой «жёлтый» дизайн, не перебиваем ui-surface */

/* Shared cards */
.feed-card-shell,
.realty-card,
.news-teaser,
.articles-card,
.search-card,
.cabinet-content-card,
.cabinet-fav-card,
.admin-card {
	border-color: var(--ui-border);
	background:
		linear-gradient(145deg, rgba(13, 132, 251, 0.025), transparent 48%),
		var(--ui-surface-soft);
	box-shadow: var(--ui-shadow-soft);
	transition: transform 0.2s ease, border-color 0.2s ease, box-shadow 0.2s ease, background-color 0.2s ease;
}

.feed-card-shell:hover,
.realty-card:hover,
.news-teaser:hover,
.articles-card:hover,
.search-card:hover,
.cabinet-fav-card:hover {
	transform: translateY(-2px);
	border-color: var(--ui-border-accent);
	background-color: var(--ui-surface-strong);
	box-shadow: var(--ui-shadow);
}

body.light .news-teaser__line,
body.light .realty-card__title,
body.light .articles-card__title,
body.light .search-card__title {
	color: #25384e;
}

.articles-card {
	border-radius: 17px;
}

.articles-card__media,
.search-card__media,
.realty-card__media {
	border-radius: 12px;
}

.articles-cat-list__btn {
	border-color: var(--ui-border);
	background: linear-gradient(145deg, rgba(255, 255, 255, 0.05), rgba(255, 255, 255, 0.015));
	box-shadow: 0 4px 14px rgba(20, 50, 80, 0.08);
}

.articles-cat-list__btn:hover:not(:disabled),
.articles-cat-list__btn.is-active {
	border-color: var(--ui-border-accent);
	background: linear-gradient(145deg, rgba(13, 132, 251, 0.18), rgba(13, 132, 251, 0.06));
	transform: translateX(3px);
}

/* Search */
.search-page__form-inline {
	max-width: none;
	padding: 0.38rem;
	border: 1px solid var(--ui-border);
	border-radius: 18px;
	background: var(--ui-surface-soft);
	box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.06);
}

.search-page__form-inline input {
	border: 0;
	border-radius: 13px;
	background: transparent;
	box-shadow: none;
}

.search-page__form-inline button,
.search-page__tips-links a {
	border-color: var(--ui-border-accent);
	background: linear-gradient(145deg, rgba(13, 132, 251, 0.2), rgba(13, 132, 251, 0.09));
	color: var(--ui-accent-text);
	box-shadow: 0 5px 14px rgba(4, 89, 171, 0.12);
}

.search-page__filters {
	gap: 0.5rem;
	padding-top: 0.8rem;
}

.search-page__filter {
	border-color: var(--ui-border);
	background: var(--ui-surface-soft);
}

.search-page__filter:hover,
.search-page__filter.is-active {
	border-color: var(--ui-border-accent);
	background: var(--ui-accent-soft);
	color: var(--ui-accent-text);
}

.cms-panel-tabs__icon svg {
	width: 18px;
	height: 18px;
}

.search-page__section + .search-page__section {
	border-top-color: var(--ui-divider);
}

.search-page__count {
	background: var(--ui-accent-soft);
	color: var(--ui-accent-text);
}

/* Posts and long reads */
.post-page,
.article-page {
	padding: clamp(1rem, 2.6vw, 1.65rem);
	border: 1px solid var(--ui-border);
	border-radius: 20px;
	background:
		linear-gradient(150deg, rgba(13, 132, 251, 0.035), transparent 38%),
		var(--ui-surface);
	box-shadow: var(--ui-shadow);
}

.post-page__content,
.article-page__content,
.about-story__content {
	color: var(--text-secondary);
	font-size: clamp(0.93rem, 1.2vw, 1rem);
	line-height: 1.76;
}

.post-page__content p + p,
.article-page__content p + p {
	margin-top: 1.05em;
}

.post-page__content h2,
.post-page__content h3,
.article-page__content h2,
.article-page__content h3,
.about-story h2,
.about-story h3 {
	margin-top: 1.5em;
	color: var(--ui-heading);
	font-family: 'Unbounded', 'Manrope', system-ui, sans-serif;
	line-height: 1.38;
	letter-spacing: -0.025em;
}

.post-page__content blockquote,
.article-page__content blockquote {
	margin: 1.25rem 0;
	padding: 0.95rem 1.05rem;
	border-left: 3px solid #168cf2;
	border-radius: 0 13px 13px 0;
	background: var(--ui-accent-soft);
	color: var(--text-secondary);
}

.post-page__gallery,
.article-page__figure,
.article-page__hero {
	overflow: hidden;
	border: 1px solid var(--ui-border);
	border-radius: 16px;
	background: var(--ui-surface-soft);
	box-shadow: var(--ui-shadow-soft);
}

.post-page__meta-row,
.article-page__footer {
	border-color: var(--ui-divider);
}

.article-page__back,
.post-page__vk-btn {
	border-color: var(--ui-border-accent);
	background: var(--ui-accent-soft);
	color: var(--ui-accent-text);
	box-shadow: 0 5px 15px rgba(4, 87, 169, 0.09);
}

.post-page-related {
	margin-top: 1rem;
	padding: 1rem;
	border: 1px solid var(--ui-border);
	border-radius: 20px;
	background: var(--ui-surface);
	box-shadow: var(--ui-shadow-soft);
}

/* Pagination and utility widgets */
.vk-feed-pagination,
.search-page__pagination {
	margin-top: 0.8rem;
	padding: 0.75rem;
	border: 1px solid var(--ui-border);
	border-radius: 15px;
	background: var(--ui-surface-soft);
}

.vk-feed-pagination .btn,
.search-page__pagination .btn {
	border-color: var(--ui-border);
	border-radius: 10px;
	background: var(--ui-surface);
	color: var(--text-secondary);
}

.vk-feed-pagination .btn-primary,
.search-page__pagination .btn-primary,
.vk-feed-pagination .active > .btn {
	border-color: rgba(28, 143, 240, 0.44);
	background: linear-gradient(145deg, #1594ff, #0873d4);
	color: #fff;
	box-shadow: 0 6px 14px rgba(0, 104, 211, 0.22);
}

.prices-tabs-bar,
.weather-page,
.traffic-panel,
.prices-panel,
.rates-panel {
	border-color: var(--ui-border);
	background: var(--ui-surface);
	box-shadow: var(--ui-shadow-soft);
}

.prices-tabs__btn {
	border-color: transparent;
	color: var(--text-muted);
}

.prices-tabs__btn:hover,
.prices-tabs__btn.is-active {
	border-color: var(--ui-border-accent);
	background: var(--ui-accent-soft);
	color: var(--ui-accent-text);
}

/* Services branch */
.services-hero__frame,
.services-panel,
.services-showcase,
.ads-page__panel,
.dev-page__tariff,
.dev-page__form-card {
	border-color: var(--ui-border);
	box-shadow: var(--ui-shadow);
}

body.light .services-hero__frame,
body.light .services-panel,
body.light .services-showcase,
body.light .ads-page__panel,
body.light .dev-page__tariff,
body.light .dev-page__form-card {
	background:
		linear-gradient(145deg, rgba(13, 132, 251, 0.045), transparent 42%),
		var(--ui-surface);
}

/* Moderation */
.admin-toolbar {
	display: flex;
	flex-wrap: wrap;
	gap: 0.48rem;
	padding: 0.65rem;
	border: 1px solid var(--ui-border);
	border-radius: 15px;
	background: var(--ui-surface);
	box-shadow: var(--ui-shadow-soft);
}

.admin-toolbar .btn {
	margin: 0;
	border-color: var(--ui-border);
	border-radius: 10px;
	background: var(--ui-surface-soft);
	color: var(--text-secondary);
}

.admin-toolbar .btn:hover:not(.is-active):not(:disabled) {
	border-color: var(--ui-border-accent);
	background: var(--ui-surface-strong);
	color: var(--text-primary);
}

.admin-toolbar .btn.is-active {
	border-color: var(--ui-border-accent);
	background: var(--ui-accent-soft);
	color: var(--ui-accent-text);
}

.admin-card {
	overflow: hidden;
	border-radius: 17px;
}

.admin-card__head {
	padding-bottom: 0.65rem;
	border-bottom: 1px solid var(--ui-divider);
}

.admin-card__status {
	border: 1px solid currentColor;
	border-radius: 999px;
	background: transparent;
}

.admin-card__body {
	color: var(--text-secondary);
	line-height: 1.62;
}

.admin-card__actions .btn {
	border-radius: 10px;
}

/* CMS workspace */
body.cms-panel-page {
	--cms-surface: var(--ui-surface);
	--cms-surface-strong: var(--ui-surface-strong);
	--cms-border: var(--ui-border);
	--cms-shadow: var(--ui-shadow);
	background:
		radial-gradient(ellipse 48% 28% at 18% 0%, rgba(13, 132, 251, 0.12), transparent 72%),
		var(--bg-page) !important;
}

body.light.cms-panel-page {
	background:
		radial-gradient(ellipse 48% 28% at 18% 0%, rgba(13, 132, 251, 0.12), transparent 72%),
		#edf2f8 !important;
}

.cms-panel-top {
	border-color: var(--cms-border);
	background: color-mix(in srgb, var(--bg-page) 82%, transparent);
	box-shadow: 0 7px 24px rgba(10, 34, 60, 0.08);
}

.cms-panel-top__theme {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	width: 38px;
	height: 38px;
	padding: 0;
	border: 1px solid var(--cms-border);
	border-radius: 11px;
	background: var(--cms-surface);
	color: var(--text-primary);
	cursor: pointer;
	transition: transform 0.18s ease, border-color 0.18s ease, box-shadow 0.18s ease;
}

.cms-panel-top__theme:hover {
	transform: translateY(-1px);
	border-color: var(--ui-border-accent);
	box-shadow: var(--ui-shadow-soft);
}

.cms-panel-top__theme svg {
	width: 19px;
	height: 19px;
}

.cms-nav,
.cms-panel-card,
.cms-editor-section,
.cms-item-card,
.cms-post-picker,
.cms-articles-row,
.cms-rich-editor,
.cms-media-field {
	border-color: var(--cms-border);
	background-color: var(--cms-surface);
	box-shadow: var(--ui-shadow-soft);
}

.cms-nav,
.cms-panel-card {
	border-radius: 20px;
	box-shadow: var(--cms-shadow);
}

.cms-panel-tabs__btn {
	border: 1px solid transparent;
	border-radius: 13px;
	color: var(--text-muted);
}

.cms-panel-tabs__btn:hover {
	border-color: var(--cms-border);
	background: var(--ui-surface-soft);
	color: var(--text-primary);
}

.cms-panel-tabs__btn.is-active {
	border-color: var(--ui-border-accent);
	background: linear-gradient(100deg, var(--ui-accent-soft), transparent);
	color: var(--ui-accent-text);
	box-shadow: 0 7px 18px rgba(6, 84, 157, 0.11);
}

.cms-panel-tabs__icon {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	width: 34px;
	height: 34px;
	border: 1px solid var(--cms-border);
	border-radius: 10px;
	background: var(--ui-surface-soft);
	color: var(--ui-accent-text);
}

.cms-panel-card__head {
	border-bottom-color: var(--ui-divider);
	background: color-mix(in srgb, var(--bg-page) 78%, transparent);
}

.cms-field input,
.cms-field textarea,
.cms-field select,
.cms-articles-search,
.cms-rich-editor {
	border-color: var(--cms-border);
	background: var(--input-bg);
	color: var(--text-primary);
}

.cms-field input:focus,
.cms-field textarea:focus,
.cms-field select:focus,
.cms-articles-search:focus,
.cms-rich-editor:focus {
	border-color: rgba(35, 148, 242, 0.5);
	box-shadow: 0 0 0 3px rgba(35, 148, 242, 0.11);
}

.cms-item-card,
.cms-articles-row {
	border-radius: 15px;
}

.cms-item-card:hover,
.cms-articles-row:hover {
	border-color: var(--ui-border-accent);
	background-color: var(--cms-surface-strong);
}

.cms-save-status,
.cms-dirty-badge {
	border: 1px solid var(--ui-border-accent);
	border-radius: 10px;
	background: var(--ui-accent-soft);
	color: var(--ui-accent-text);
}

body.light.cms-panel-page .btn-outline-secondary {
	border-color: var(--cms-border);
	background: var(--cms-surface);
	color: #35485e;
}

body.light.cms-panel-page .text-muted,
body.light.cms-panel-page .cms-panel-card__lead,
body.light.cms-panel-page .cms-panel-top__eyebrow,
body.light.cms-panel-page .cms-field > span {
	color: #617187 !important;
}

@media (max-width: 767.98px) {
	.news-page-pagehead-intro {
		grid-row: 2;
	}

	.news-page-pagehead .news-page-banner--top {
		grid-row: 1;
	}

	.news-page-pagehead-intro,
	.news-page-banner.news-page-banner--top,
	.news-page-feed-panel,
	.realty-page-listings,
	.articles-feed-panel,
	.search-page__panel,
	.post-page,
	.article-page,
	.card_blur.post-side-nav.news-page-side {
		border-radius: 16px;
	}

	.news-page-pagehead-intro {
		padding: 0.62rem 0.72rem 0.68rem;
		overflow: visible;
	}

	.news-page-pagehead-intro.has-mobile-pagehead-bar .page-breadcrumbs {
		display: none;
	}

	.mobile-pagehead-bar {
		display: flex;
		align-items: center;
		justify-content: space-between;
		gap: 0.5rem;
		min-width: 0;
		margin-bottom: 0.35rem;
	}

	.mobile-pagehead-bar__nav {
		display: inline-flex;
		flex: 0 0 auto;
		align-items: center;
		gap: 0.42rem;
		width: fit-content;
		max-width: calc(100% - 46px);
		padding: 0.22rem 0.55rem 0.22rem 0.22rem;
		border: 1px solid rgba(119, 187, 250, 0.24);
		border-radius: 999px;
		background:
			linear-gradient(145deg, rgba(255, 255, 255, 0.09), rgba(255, 255, 255, 0.02));
		color: rgba(240, 247, 255, 0.94);
		text-decoration: none;
		box-shadow:
			inset 0 1px 0 rgba(255, 255, 255, 0.07),
			0 4px 12px rgba(2, 9, 20, 0.12);
		transition: transform 0.15s ease, border-color 0.15s ease, background-color 0.15s ease;
	}

	body.light .mobile-pagehead-bar__nav {
		border-color: rgba(24, 112, 195, 0.14);
		background: linear-gradient(145deg, rgba(255, 255, 255, 0.98), rgba(235, 244, 253, 0.82));
		color: #31506e;
		box-shadow:
			inset 0 1px 0 #fff,
			0 4px 12px rgba(31, 72, 111, 0.07);
	}

	.mobile-pagehead-bar__nav:active {
		transform: scale(0.98);
	}

	.mobile-pagehead-bar__nav-icon {
		display: inline-grid;
		flex-shrink: 0;
		place-items: center;
		width: 32px;
		height: 32px;
		border-radius: 50%;
		background: rgba(68, 168, 255, 0.12);
		color: inherit;
	}

	body.light .mobile-pagehead-bar__nav-icon {
		background: rgba(13, 132, 251, 0.1);
	}

	.mobile-pagehead-bar__nav-label {
		flex: 0 1 auto;
		min-width: 0;
		overflow: hidden;
		text-overflow: ellipsis;
		white-space: nowrap;
		font-size: 0.76rem;
		font-weight: 650;
		line-height: 1.2;
		letter-spacing: -0.01em;
	}

	.mobile-pagehead-bar__share {
		display: inline-flex;
		flex-shrink: 0;
		align-items: center;
		justify-content: center;
		width: 38px;
		height: 38px;
		margin: 0;
		padding: 0;
		border: 1px solid rgba(119, 187, 250, 0.28);
		border-radius: 12px;
		background:
			linear-gradient(145deg, rgba(255, 255, 255, 0.1), rgba(255, 255, 255, 0.025));
		color: rgba(240, 247, 255, 0.92);
		cursor: pointer;
		box-shadow:
			inset 0 1px 0 rgba(255, 255, 255, 0.08),
			0 4px 12px rgba(2, 9, 20, 0.14);
		transition: transform 0.15s ease, border-color 0.15s ease, background-color 0.15s ease, color 0.15s ease;
	}

	body.light .mobile-pagehead-bar__share {
		border-color: rgba(24, 112, 195, 0.15);
		background: linear-gradient(145deg, rgba(255, 255, 255, 0.98), rgba(235, 244, 253, 0.82));
		color: #31506e;
		box-shadow:
			inset 0 1px 0 #fff,
			0 4px 12px rgba(31, 72, 111, 0.08);
	}

	.mobile-pagehead-bar__share:active {
		transform: scale(0.96);
	}

	.mobile-pagehead-bar__share.is-copied {
		border-color: rgba(45, 212, 191, 0.45);
		color: #5eead4;
	}

	body.light .mobile-pagehead-bar__share.is-copied {
		border-color: rgba(13, 148, 136, 0.35);
		color: #0f766e;
	}

	.mobile-pagehead-bar__icon {
		display: block;
	}

	.news-page-pagehead-intro .news-page-pagehead__title.section-head h1.post-page__title,
	.news-page-pagehead-intro .news-page-pagehead__title.section-head .post-page__title,
	.news-page-pagehead__title h2,
	.news-page-pagehead__title h1.post-page__title {
		font-size: 1.02rem;
		font-weight: 700;
		line-height: 1.2;
		letter-spacing: -0.01em;
	}

	.post-page__content,
	.article-page__content {
		font-size: 0.92rem;
		line-height: 1.68;
	}

	.cms-panel-top {
		gap: 0.5rem;
	}

	.cms-panel-top__meta {
		flex: 1 1 100%;
		order: 3;
	}
}

/* ——— Crimea Dock: финальный слой дизайна таббара ——— */
.tab-bar {
	padding: 10px max(12px, env(safe-area-inset-left, 0px)) calc(16px + env(safe-area-inset-bottom, 0px))
		max(12px, env(safe-area-inset-right, 0px));
}

.tab-bar__start,
.tab-bar.tab-bar--compact .tab-bar__start {
	gap: 3px;
	padding: 22px 14px 10px;
	border-radius: 32px;
	transform: none;
}

body.light .tab-bar__start::before,
body.dark .tab-bar__start::before,
body.light .tab-bar.tab-bar--compact .tab-bar__start::before,
body.dark .tab-bar.tab-bar--compact .tab-bar__start::before {
	display: block !important;
	content: '' !important;
	position: absolute;
	inset: auto 0 4px;
	height: 62px;
	border: 1px solid rgba(255, 255, 255, 0.14);
	border-radius: 28px;
	background: rgba(22, 24, 28, 0.62);
	backdrop-filter: blur(28px) saturate(180%);
	-webkit-backdrop-filter: blur(28px) saturate(180%);
	box-shadow:
		0 10px 28px rgba(2, 8, 18, 0.28),
		inset 0 1px 0 rgba(255, 255, 255, 0.08);
	transform: none;
	z-index: 0;
	overflow: hidden;
}

body.light .tab-bar__start::before,
body.light .tab-bar.tab-bar--compact .tab-bar__start::before {
	border-color: rgba(0, 0, 0, 0.08);
	background: rgba(255, 255, 255, 0.72);
	box-shadow:
		0 10px 28px rgba(0, 0, 0, 0.08),
		inset 0 1px 0 rgba(255, 255, 255, 0.65);
}

body.light .tab-bar__start::after,
body.dark .tab-bar__start::after,
body.light .tab-bar.tab-bar--compact .tab-bar__start::after,
body.dark .tab-bar.tab-bar--compact .tab-bar__start::after {
	display: none;
	content: none;
}

.tab-bar__secondary,
body.light .tab-bar__secondary {
	width: 48px;
	height: 48px;
	min-width: 48px;
	min-height: 48px;
	border: 0;
	border-radius: 16px;
	background: transparent;
	color: rgba(224, 234, 245, 0.72);
	box-shadow: none;
}

body.light .tab-bar__secondary {
	color: #5b6f84;
}

.tab-bar__secondary:hover,
.tab-bar__secondary:focus-visible,
body.light .tab-bar__secondary:hover,
body.light .tab-bar__secondary:focus-visible {
	border: 0;
	background: rgba(44, 147, 242, 0.14);
	color: #72bdff;
	box-shadow: inset 0 0 0 1px rgba(83, 170, 249, 0.16);
	transform: translateY(-2px);
	filter: none;
}

body.light .tab-bar__secondary:hover,
body.light .tab-bar__secondary:focus-visible {
	background: rgba(13, 132, 251, 0.09);
	color: #0876d7;
	box-shadow: inset 0 0 0 1px rgba(13, 132, 251, 0.12);
}

.tab-bar__secondary.is-active,
.tab-bar__secondary[aria-current='page'],
#tabFavoritesBtn.is-active {
	background: linear-gradient(145deg, rgba(30, 148, 249, 0.26), rgba(13, 108, 204, 0.11));
	color: #8bcaff;
	box-shadow:
		inset 0 0 0 1px rgba(91, 180, 255, 0.2),
		0 6px 14px rgba(0, 72, 146, 0.13);
}

body.light .tab-bar__secondary.is-active,
body.light .tab-bar__secondary[aria-current='page'],
body.light #tabFavoritesBtn.is-active {
	background: linear-gradient(145deg, rgba(13, 132, 251, 0.15), rgba(13, 132, 251, 0.055));
	color: #086fc9;
}

.tab-bar__secondary.is-active::after,
.tab-bar__secondary[aria-current='page']::after,
#tabFavoritesBtn.is-active::after {
	content: '';
	position: absolute;
	left: 50%;
	bottom: 4px;
	width: 4px;
	height: 4px;
	border-radius: 50%;
	background: #4eaeff;
	box-shadow: 0 0 8px rgba(78, 174, 255, 0.75);
	transform: translateX(-50%);
}

.tab-bar__logo {
	width: 62px;
	height: 62px;
	min-width: 62px;
	min-height: 62px;
	margin: 0 4px;
	border: 4px solid rgba(20, 25, 35, 0.94);
	border-radius: 50%;
	background:
		radial-gradient(circle at 32% 22%, rgba(255, 255, 255, 0.34), transparent 27%),
		linear-gradient(145deg, #ff992f 0%, #ff5650 48%, #d62f4d 100%);
	box-shadow:
		0 13px 27px rgba(213, 47, 69, 0.4),
		0 0 0 1px rgba(255, 255, 255, 0.14),
		inset 0 1px 0 rgba(255, 255, 255, 0.28);
	transform: translateY(-10px);
}

body.light .tab-bar__logo {
	border-color: rgba(250, 252, 255, 0.96);
	box-shadow:
		0 13px 25px rgba(204, 53, 68, 0.28),
		0 0 0 1px rgba(30, 88, 142, 0.1),
		inset 0 1px 0 rgba(255, 255, 255, 0.34);
}

.tab-bar__logo:hover,
.tab-bar__logo:focus-visible {
	transform: translateY(-13px) scale(1.045);
	filter: brightness(1.04);
	box-shadow:
		0 17px 32px rgba(213, 47, 69, 0.46),
		0 0 0 4px rgba(255, 93, 78, 0.11);
}

.tab-bar__logo .icon-tab {
	width: 28px;
	height: 28px;
	transform-origin: center;
	animation: tab-bar-sequence-rotate 5s ease-in-out 0.8s infinite;
	will-change: transform;
}

.tab-bar__logo.pulse-animate::after {
	inset: 1px;
	border-radius: 50%;
	animation: tab-bar-sequence-ring 5s ease-out 0.8s infinite;
}

.tab-bar__scroll {
	width: 48px;
	height: 48px;
	min-width: 48px;
	min-height: 48px;
	margin-left: 0 !important;
	padding: 0;
	border: 0;
	border-radius: 16px;
	background: transparent;
	color: rgba(224, 234, 245, 0.72);
	box-shadow: none;
}

body.light .tab-bar__scroll {
	color: #5b6f84;
}

.tab-bar__scroll:hover,
.tab-bar__scroll:focus-visible {
	border: 0;
	background: rgba(44, 147, 242, 0.14);
	color: #72bdff;
	box-shadow: inset 0 0 0 1px rgba(83, 170, 249, 0.16);
	transform: translateY(-2px);
	filter: none;
}

body.light .tab-bar__scroll:hover,
body.light .tab-bar__scroll:focus-visible {
	background: rgba(13, 132, 251, 0.09);
	color: #0876d7;
	box-shadow: inset 0 0 0 1px rgba(13, 132, 251, 0.12);
}

.tab-bar__scroll::before,
.tab-bar__scroll-label {
	display: none;
}

.tab-bar .tab-bar__secondary .icon-tab,
.tab-bar__scroll-icon {
	width: 21px;
	height: 21px;
}

@media (max-width: 575.98px) {
	.tab-bar__start,
	.tab-bar.tab-bar--compact .tab-bar__start {
		gap: 1px;
		padding: 20px 8px 8px;
	}

	body.light .tab-bar__start::before,
	body.dark .tab-bar__start::before,
	body.light .tab-bar.tab-bar--compact .tab-bar__start::before,
	body.dark .tab-bar.tab-bar--compact .tab-bar__start::before {
		inset: auto 0 2px;
		height: 56px;
		border-radius: 24px;
	}

	.tab-bar__secondary,
	body.light .tab-bar__secondary,
	.tab-bar__scroll {
		width: 43px;
		height: 43px;
		min-width: 43px;
		min-height: 43px;
		border-radius: 14px;
	}

	.tab-bar__logo {
		width: 57px;
		height: 57px;
		min-width: 57px;
		min-height: 57px;
		margin: 0 2px;
		transform: translateY(-9px);
	}
}

/* Crimea Dock: стекло (как Instagram) + чёрные/белые иконки; «+» без изменений */
body.dark .tab-bar__start::before,
body.dark .tab-bar.tab-bar--compact .tab-bar__start::before {
	border-color: rgba(255, 255, 255, 0.14);
	background: rgba(22, 24, 28, 0.62);
	backdrop-filter: blur(28px) saturate(180%);
	-webkit-backdrop-filter: blur(28px) saturate(180%);
	box-shadow:
		0 10px 28px rgba(2, 8, 18, 0.28),
		inset 0 1px 0 rgba(255, 255, 255, 0.08);
}

body.light .tab-bar__start::before,
body.light .tab-bar.tab-bar--compact .tab-bar__start::before {
	border-color: rgba(0, 0, 0, 0.08);
	background: rgba(255, 255, 255, 0.72);
	backdrop-filter: blur(28px) saturate(180%);
	-webkit-backdrop-filter: blur(28px) saturate(180%);
	box-shadow:
		0 10px 28px rgba(0, 0, 0, 0.08),
		inset 0 1px 0 rgba(255, 255, 255, 0.65);
}

body.dark .tab-bar__secondary,
body.dark .tab-bar__scroll {
	background: transparent;
	color: #fff;
	box-shadow: none;
}

body.light .tab-bar__secondary,
body.light .tab-bar__scroll {
	background: transparent;
	color: #000;
	box-shadow: none;
}

body.dark .tab-bar__secondary:hover,
body.dark .tab-bar__secondary:focus-visible,
body.dark .tab-bar__scroll:hover,
body.dark .tab-bar__scroll:focus-visible {
	background: rgba(255, 255, 255, 0.1);
	color: #fff;
	box-shadow: none;
}

body.light .tab-bar__secondary:hover,
body.light .tab-bar__secondary:focus-visible,
body.light .tab-bar__scroll:hover,
body.light .tab-bar__scroll:focus-visible {
	background: rgba(0, 0, 0, 0.06);
	color: #000;
	box-shadow: none;
}

body.dark .tab-bar__secondary.is-active,
body.dark .tab-bar__secondary[aria-current='page'],
body.dark #tabFavoritesBtn.is-active {
	background: rgba(255, 255, 255, 0.12);
	color: #fff;
}

body.light .tab-bar__secondary.is-active,
body.light .tab-bar__secondary[aria-current='page'],
body.light #tabFavoritesBtn.is-active {
	background: rgba(0, 0, 0, 0.08);
	color: #000;
}

body.dark .tab-bar__logo {
	border-color: rgba(20, 25, 35, 0.94);
	color: #fff;
}

body.light .tab-bar__logo {
	border-color: rgba(250, 252, 255, 0.98);
	color: #fff;
}

.tab-bar__badge-count {
	border: 0;
	box-shadow: 0 3px 10px rgba(255, 92, 53, 0.34);
}

/* ——— Личный кабинет: профильный дашборд ——— */
.cabinet-dashboard {
	position: relative;
	isolation: isolate;
	overflow: hidden;
	padding: clamp(1rem, 2.4vw, 1.45rem);
	border-color: rgba(61, 157, 242, 0.2);
	background:
		linear-gradient(140deg, rgba(13, 132, 251, 0.1), transparent 48%),
		linear-gradient(320deg, rgba(124, 84, 208, 0.07), transparent 45%),
		var(--ui-surface);
}

.cabinet-dashboard::before {
	content: '';
	position: absolute;
	z-index: -1;
	right: -90px;
	top: -130px;
	width: 330px;
	height: 330px;
	border-radius: 50%;
	background: radial-gradient(circle, rgba(42, 151, 247, 0.2), rgba(124, 84, 208, 0.06) 45%, transparent 70%);
	pointer-events: none;
}

.cabinet-dashboard__head,
.cabinet-section-head {
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 1rem;
}

.cabinet-dashboard__head {
	margin-bottom: 1rem;
}

.cabinet-dashboard__eyebrow,
.cabinet-section-head > div > span {
	display: block;
	margin-bottom: 0.2rem;
	color: var(--ui-accent-text);
	font-size: 0.64rem;
	font-weight: 750;
	letter-spacing: 0.09em;
	text-transform: uppercase;
}

.cabinet-dashboard .cabinet-panel__title,
.cabinet-section-head .cabinet-panel__title {
	margin: 0;
	padding: 0;
	border: 0;
	color: var(--ui-heading);
	font-family: 'Unbounded', 'Manrope', system-ui, sans-serif;
	font-size: clamp(0.98rem, 2vw, 1.2rem);
	line-height: 1.35;
}

.cabinet-dashboard__suggest {
	flex: 0 0 auto;
	display: inline-flex;
	align-items: center;
	justify-content: center;
	gap: 0.48rem;
	min-height: 42px;
	padding: 0 0.9rem;
	border: 1px solid rgba(78, 174, 255, 0.34);
	border-radius: 12px;
	background: linear-gradient(145deg, #1697ff, #0873d3);
	color: #fff;
	font: inherit;
	font-size: 0.78rem;
	font-weight: 680;
	box-shadow: 0 8px 20px rgba(0, 102, 205, 0.23);
	cursor: pointer;
	transition: transform 0.18s ease, box-shadow 0.18s ease, filter 0.18s ease;
}

.cabinet-dashboard__suggest:hover {
	transform: translateY(-2px);
	filter: brightness(1.06);
	box-shadow: 0 12px 25px rgba(0, 102, 205, 0.3);
}

.cabinet-profile {
	position: relative;
	padding: 1rem;
	border-color: var(--ui-border);
	background:
		linear-gradient(120deg, rgba(13, 132, 251, 0.08), transparent 58%),
		var(--ui-surface-soft);
	box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.055);
}

body.light .cabinet-profile {
	box-shadow:
		0 6px 18px rgba(37, 75, 112, 0.05),
		inset 0 1px 0 #fff;
}

.cabinet-profile__avatar-wrap {
	position: relative;
	flex: 0 0 auto;
	display: block;
	width: 82px;
	height: 82px;
}

.cabinet-profile__avatar {
	width: 82px;
	height: 82px;
	box-shadow:
		0 0 0 4px rgba(13, 132, 251, 0.14),
		0 9px 25px rgba(0, 50, 105, 0.2);
}

.cabinet-profile__avatar--empty {
	display: grid;
	place-items: center;
	background: linear-gradient(145deg, #1697ff, #6c55d7);
	color: #fff;
	font-family: 'Unbounded', 'Manrope', system-ui, sans-serif;
	font-size: 1.25rem;
}

.cabinet-profile__online {
	position: absolute;
	right: 1px;
	bottom: 3px;
	width: 15px;
	height: 15px;
	border: 3px solid var(--ui-surface-strong);
	border-radius: 50%;
	background: #31cc78;
	box-shadow: 0 0 10px rgba(49, 204, 120, 0.52);
}

.cabinet-profile__name {
	color: var(--ui-heading);
	font-size: 1.12rem;
}

.cabinet-profile__meta {
	display: flex;
	flex-wrap: wrap;
	align-items: center;
	gap: 0.4rem 0.65rem;
}

.cabinet-profile__verified {
	display: inline-flex;
	align-items: center;
	gap: 0.3rem;
	color: #36b977;
	font-weight: 650;
}

.cabinet-profile__verified::before {
	content: '✓';
	display: inline-grid;
	place-items: center;
	width: 16px;
	height: 16px;
	border-radius: 50%;
	background: rgba(49, 204, 120, 0.14);
	font-size: 0.65rem;
}

.cabinet-profile__logout {
	padding: 0;
	border: 0;
	background: transparent;
	color: var(--text-muted);
	font: inherit;
	font-size: 0.72rem;
	font-weight: 620;
	cursor: pointer;
	transition: color 0.18s ease;
}

.cabinet-profile__logout:hover {
	color: #f06b6b;
}

.cabinet-stats {
	display: grid;
	grid-template-columns: repeat(3, minmax(0, 1fr));
	gap: 0.65rem;
	margin-top: 0.8rem;
}

.cabinet-stat {
	display: flex;
	align-items: center;
	gap: 0.7rem;
	min-width: 0;
	padding: 0.75rem;
	border: 1px solid var(--ui-border);
	border-radius: 14px;
	background: var(--ui-surface-soft);
	color: inherit;
	text-decoration: none;
	box-shadow: 0 5px 15px rgba(12, 41, 70, 0.05);
	transition: transform 0.18s ease, border-color 0.18s ease, box-shadow 0.18s ease;
}

.cabinet-stat:hover {
	transform: translateY(-2px);
	border-color: var(--ui-border-accent);
	color: inherit;
	box-shadow: var(--ui-shadow-soft);
}

.cabinet-stat__icon {
	flex: 0 0 38px;
	display: grid;
	place-items: center;
	width: 38px;
	height: 38px;
	border-radius: 11px;
}

.cabinet-stat__icon--favorite {
	background: rgba(245, 158, 11, 0.12);
	color: #eaa223;
}

.cabinet-stat__icon--proposal {
	background: rgba(13, 132, 251, 0.11);
	color: #329ef6;
}

.cabinet-stat__icon--approved {
	background: rgba(49, 204, 120, 0.11);
	color: #34bb76;
}

.cabinet-stat > span:last-child {
	display: flex;
	flex-direction: column;
	min-width: 0;
}

.cabinet-stat strong {
	color: var(--ui-heading);
	font-size: 1.1rem;
	line-height: 1.1;
}

.cabinet-stat small {
	margin-top: 0.2rem;
	overflow: hidden;
	color: var(--text-muted);
	font-size: 0.67rem;
	text-overflow: ellipsis;
	white-space: nowrap;
}

.cabinet-quick-links {
	display: grid;
	grid-template-columns: repeat(3, minmax(0, 1fr));
	gap: 0.55rem;
	margin-top: 0.7rem;
}

.cabinet-quick-links a {
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 0.5rem;
	padding: 0.57rem 0.68rem;
	border-radius: 10px;
	color: var(--text-muted);
	font-size: 0.7rem;
	font-weight: 620;
	text-decoration: none;
	transition: background-color 0.18s ease, color 0.18s ease;
}

.cabinet-quick-links a:hover {
	background: var(--ui-accent-soft);
	color: var(--ui-accent-text);
}

.cabinet-quick-links span {
	color: var(--ui-accent-text);
}

.cabinet-section-head {
	margin-bottom: 0.9rem;
	padding-bottom: 0.75rem;
	border-bottom: 1px solid var(--ui-divider);
}

.cabinet-section-head__count {
	flex: 0 0 auto;
	display: inline-grid;
	place-items: center;
	min-width: 32px;
	height: 32px;
	padding: 0 0.55rem;
	border: 1px solid var(--ui-border-accent);
	border-radius: 10px;
	background: var(--ui-accent-soft);
	color: var(--ui-accent-text);
	font-size: 0.76rem;
	font-weight: 750;
}

.cabinet-empty-state {
	display: grid;
	grid-template-columns: auto minmax(0, 1fr) auto;
	align-items: center;
	gap: 0.85rem;
	padding: 1rem;
	border: 1px dashed var(--ui-border-accent);
	border-radius: 15px;
	background: var(--ui-surface-soft);
}

.cabinet-empty-state__icon {
	display: grid;
	place-items: center;
	width: 42px;
	height: 42px;
	border-radius: 12px;
	background: var(--ui-accent-soft);
	color: var(--ui-accent-text);
	font-size: 1.15rem;
	font-weight: 700;
}

.cabinet-empty-state strong {
	display: block;
	color: var(--ui-heading);
	font-size: 0.84rem;
}

.cabinet-empty-state p {
	margin: 0.18rem 0 0;
	color: var(--text-muted);
	font-size: 0.74rem;
	line-height: 1.45;
}

.cabinet-empty-state a {
	padding: 0.45rem 0.65rem;
	border-radius: 9px;
	background: var(--ui-accent-soft);
	color: var(--ui-accent-text);
	font-size: 0.7rem;
	font-weight: 650;
	text-decoration: none;
	white-space: nowrap;
}

.cabinet-content-card--favorite {
	display: block;
}

.cabinet-content-card__link {
	display: flex;
	min-height: 100%;
	color: inherit;
	text-decoration: none;
}

.cabinet-content-card__link:hover {
	color: inherit;
}

.cabinet-content-card--favorite:hover {
	transform: translateY(-3px);
	border-color: var(--ui-border-accent);
	box-shadow: var(--ui-shadow);
}

.cabinet-content-card--favorite:hover .cabinet-content-card__media img {
	transform: scale(1.04);
}

.cabinet-favorite-remove {
	position: absolute;
	z-index: 3;
	right: 0.55rem;
	top: 0.55rem;
	display: grid;
	place-items: center;
	width: 30px;
	height: 30px;
	padding: 0;
	border: 1px solid rgba(255, 255, 255, 0.16);
	border-radius: 9px;
	background: rgba(15, 22, 32, 0.72);
	color: rgba(255, 255, 255, 0.76);
	backdrop-filter: blur(8px);
	-webkit-backdrop-filter: blur(8px);
	cursor: pointer;
	opacity: 0;
	transform: translateY(-3px);
	transition: opacity 0.18s ease, transform 0.18s ease, background-color 0.18s ease, color 0.18s ease;
}

.cabinet-content-card--favorite:hover .cabinet-favorite-remove,
.cabinet-favorite-remove:focus-visible {
	opacity: 1;
	transform: translateY(0);
}

.cabinet-favorite-remove:hover {
	background: rgba(207, 57, 67, 0.9);
	color: #fff;
}

.cabinet-favorite-remove.is-loading {
	opacity: 0.55;
}

.cabinet-proposal-filters {
	display: flex;
	flex-wrap: wrap;
	gap: 0.42rem;
	margin-bottom: 0.8rem;
}

.cabinet-proposal-filters button {
	display: inline-flex;
	align-items: center;
	gap: 0.38rem;
	padding: 0.4rem 0.65rem;
	border: 1px solid var(--ui-border);
	border-radius: 999px;
	background: var(--ui-surface-soft);
	color: var(--text-muted);
	font: inherit;
	font-size: 0.68rem;
	font-weight: 650;
	cursor: pointer;
	transition: border-color 0.18s ease, background-color 0.18s ease, color 0.18s ease;
}

.cabinet-proposal-filters button span {
	display: inline-grid;
	place-items: center;
	min-width: 18px;
	height: 18px;
	padding: 0 0.25rem;
	border-radius: 999px;
	background: rgba(120, 144, 177, 0.12);
	font-size: 0.6rem;
}

.cabinet-proposal-filters button:hover,
.cabinet-proposal-filters button.is-active {
	border-color: var(--ui-border-accent);
	background: var(--ui-accent-soft);
	color: var(--ui-accent-text);
}

.cabinet-content-card[hidden] {
	display: none !important;
}

@media (max-width: 767.98px) {
	.cabinet-dashboard__head {
		align-items: flex-start;
		flex-direction: column;
	}

	.cabinet-dashboard__suggest {
		width: 100%;
	}

	.cabinet-stats {
		grid-template-columns: 1fr;
	}

	.cabinet-quick-links {
		grid-template-columns: 1fr;
	}

	.cabinet-stat {
		padding: 0.65rem;
	}

	.cabinet-empty-state {
		grid-template-columns: auto minmax(0, 1fr);
	}

	.cabinet-empty-state a {
		grid-column: 1 / -1;
		text-align: center;
	}

	.cabinet-favorite-remove {
		opacity: 1;
		transform: none;
	}
}

.suggest-form__req { color: #ff7a59; margin-left: 0.2rem; }
.suggest-form__optional { font-weight: 400; opacity: 0.65; font-size: 0.82em; }
.suggest-modal__lead { margin: -0.35rem 0 1rem; font-size: 0.88rem; line-height: 1.45; opacity: 0.78; }
.suggest-form__hint { margin: 0 0 0.85rem; opacity: 0.82; line-height: 1.45; }
.suggest-form__quota { margin: 0 0 0.85rem; padding: 0.65rem 0.85rem; border-radius: 12px; background: linear-gradient(135deg, rgba(29, 143, 255, 0.16), rgba(29, 143, 255, 0.06)); border: 1px solid rgba(29, 143, 255, 0.22); font-size: 0.88rem; }
.suggest-form__section { margin-bottom: 1rem; padding-bottom: 0.85rem; border-bottom: 1px solid rgba(120, 144, 177, 0.12); }
.suggest-form__section:last-of-type { border-bottom: 0; margin-bottom: 0.35rem; padding-bottom: 0; }
.suggest-form__section-title { margin: 0 0 0.65rem; font-size: 0.78rem; font-weight: 700; letter-spacing: 0.06em; text-transform: uppercase; opacity: 0.72; }
.suggest-form__social-grid { display: grid; gap: 0.55rem; }
.suggest-form__social { display: grid; gap: 0.3rem; padding: 0.55rem 0.65rem; border-radius: 12px; border: 1px solid rgba(120, 144, 177, 0.16); background: rgba(8, 14, 28, 0.22); }
.suggest-form__social-label { font-size: 0.78rem; font-weight: 600; opacity: 0.85; }
.suggest-form__social--vk { border-left: 3px solid #4d7cff; }
.suggest-form__social--tg { border-left: 3px solid #2aabee; }
.suggest-form__social--max { border-left: 3px solid #7b61ff; }
body.light .suggest-form__social { background: rgba(255, 255, 255, 0.55); }
.suggest-form__fieldset { border: 1px solid rgba(120, 144, 177, 0.18); border-radius: 14px; padding: 0.75rem 0.85rem; margin: 0.5rem 0; background: rgba(8, 14, 28, 0.12); }
.suggest-form__legend { font-size: 0.88rem; padding: 0 0.35rem; font-weight: 600; }
.suggest-form__radio { display: flex; align-items: center; gap: 0.55rem; margin: 0.45rem 0; font-size: 0.92rem; padding: 0.45rem 0.55rem; border-radius: 10px; background: rgba(120, 144, 177, 0.06); }
.suggest-form__notice { margin: 0.55rem 0; padding: 0.75rem 0.85rem; border-radius: 12px; background: rgba(46, 204, 113, 0.12); border: 1px solid rgba(46, 204, 113, 0.22); font-size: 0.88rem; line-height: 1.45; }
.suggest-form__check { display: flex; align-items: flex-start; gap: 0.5rem; margin: 0.35rem 0; font-size: 0.9rem; padding: 0.35rem 0.25rem; border-radius: 8px; }
.suggest-form__check--promo { padding: 0.65rem 0.75rem; border-radius: 12px; background: linear-gradient(135deg, rgba(255, 154, 92, 0.18), rgba(255, 92, 53, 0.08)); border: 1px solid rgba(255, 154, 92, 0.28); font-weight: 600; }
.suggest-form__check--muted { opacity: 0.72; }
.suggest-form__checks { display: grid; grid-template-columns: repeat(auto-fill, minmax(180px, 1fr)); gap: 0.25rem 0.75rem; }
.suggest-form__price { font-size: 1.2rem; font-weight: 700; margin: 0.85rem 0 0.35rem; color: var(--text-primary); }
.suggest-form__media-zone { padding: 1rem; border-radius: 14px; border: 1.5px dashed rgba(120, 144, 177, 0.35); background: rgba(120, 144, 177, 0.06); text-align: center; transition: border-color 0.2s, background 0.2s; }
.suggest-form__media-zone.is-dragover { border-color: rgba(29, 143, 255, 0.65); background: rgba(29, 143, 255, 0.08); }
.suggest-form__section--media { border-bottom: 0; margin-bottom: 0; padding-bottom: 0; }
.suggest-form__media-bar { display: grid; gap: 0.55rem; }
.suggest-form__media-bar.is-dragover .suggest-form__media-add { border-color: rgba(29, 143, 255, 0.55); background: rgba(29, 143, 255, 0.08); }
.suggest-form__media-add { display: flex; align-items: center; gap: 0.75rem; width: 100%; padding: 0.7rem 0.85rem; border-radius: 14px; border: 1px solid rgba(120, 144, 177, 0.22); background: rgba(120, 144, 177, 0.07); color: inherit; cursor: pointer; text-align: left; transition: border-color 0.2s, background 0.2s, transform 0.15s; }
.suggest-form__media-add:hover { border-color: rgba(29, 143, 255, 0.4); background: rgba(29, 143, 255, 0.06); }
.suggest-form__media-add-icon { flex-shrink: 0; width: 2.5rem; height: 2.5rem; border-radius: 10px; display: inline-flex; align-items: center; justify-content: center; background: rgba(29, 143, 255, 0.12); color: #6eb6ff; }
.suggest-form__media-add-text { display: grid; gap: 0.15rem; line-height: 1.25; }
.suggest-form__media-add-text strong { font-size: 0.9rem; font-weight: 600; }
.suggest-form__media-add-text small { font-size: 0.76rem; opacity: 0.65; font-weight: 400; }
body.light .suggest-form__media-add { background: rgba(255, 255, 255, 0.65); }
.suggest-form__media-hint { margin: 0 0 0.65rem; font-size: 0.84rem; opacity: 0.72; }
.suggest-form__media-list { list-style: none; padding: 0; margin: 0; display: grid; gap: 0.4rem; }
.suggest-form__media-list:not(:empty) { margin-top: 0.15rem; }
.suggest-form__media-item { display: flex; align-items: center; gap: 0.55rem; padding: 0.4rem 0.5rem; border-radius: 10px; background: rgba(120, 144, 177, 0.08); border: 1px solid rgba(120, 144, 177, 0.12); }
.suggest-form__media-thumb { width: 40px; height: 40px; object-fit: cover; border-radius: 8px; flex-shrink: 0; }
.suggest-form__media-thumb--video { display: inline-flex; align-items: center; justify-content: center; background: rgba(29, 143, 255, 0.18); width: 40px; height: 40px; border-radius: 8px; }
.suggest-form__media-name { flex: 1; font-size: 0.78rem; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; opacity: 0.82; }
.suggest-form__media-remove { border: 0; background: rgba(255, 255, 255, 0.1); width: 26px; height: 26px; border-radius: 50%; color: inherit; font-size: 0.95rem; cursor: pointer; line-height: 1; flex-shrink: 0; opacity: 0.75; }
.suggest-form__media-remove:hover { opacity: 1; background: rgba(255, 90, 90, 0.2); }
.suggest-modal__step--form,
.suggest-modal__step--ad-legal,
.suggest-modal__step--quota { max-height: min(74vh, 700px); overflow: auto; padding-right: 0.15rem; }

.suggest-modal__step--ad-placement {
	max-height: min(calc(92vh - 3.5rem), 720px);
	overflow: hidden;
	padding-right: 0;
	display: flex;
	flex-direction: column;
	min-height: 0;
}

.suggest-ad-placement {
	display: flex;
	flex-direction: column;
	min-height: 0;
	flex: 1;
}

.suggest-ad-placement__layout {
	display: grid;
	grid-template-columns: minmax(0, 1fr) minmax(240px, 300px);
	gap: 1rem;
	align-items: start;
	flex: 1;
	min-height: 0;
}

.suggest-ad-placement__main {
	overflow-y: auto;
	max-height: min(calc(92vh - 9rem), 620px);
	padding-right: 0.45rem;
	scrollbar-gutter: stable;
}

.suggest-ad-placement__sidebar {
	display: flex;
	flex-direction: column;
	gap: 0.75rem;
	position: sticky;
	top: 0;
	min-width: 0;
	width: 100%;
}

.suggest-ad-placement__checkout {
	display: grid;
	gap: 0.65rem;
}
.suggest-form__footer { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.35fr); gap: 0.55rem; margin-top: 1rem; padding-top: 0.85rem; border-top: 1px solid rgba(120, 144, 177, 0.14); }
.suggest-form__btn { display: inline-flex; align-items: center; justify-content: center; min-height: 2.75rem; padding: 0.65rem 1rem; border-radius: 12px; font-size: 0.88rem; font-weight: 600; line-height: 1.2; cursor: pointer; border: none; transition: background 0.2s, border-color 0.2s, transform 0.12s; }
.suggest-form__btn:active { transform: scale(0.98); }
.suggest-form__btn--ghost { background: rgba(120, 144, 177, 0.1); border: 1px solid rgba(120, 144, 177, 0.22); color: inherit; }
.suggest-form__btn--ghost:hover { background: rgba(120, 144, 177, 0.18); border-color: rgba(120, 144, 177, 0.32); }
.suggest-form__btn--primary { background: linear-gradient(135deg, #1d8fff 0%, #0066dd 100%); color: #fff; box-shadow: 0 4px 14px rgba(29, 143, 255, 0.28); }
.suggest-form__btn--primary:hover { filter: brightness(1.06); }
.suggest-form__btn--primary:disabled { opacity: 0.65; cursor: wait; }
.suggest-form__actions { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.35fr); gap: 0.55rem; margin-top: 1rem; padding-top: 0.85rem; border-top: 1px solid rgba(120, 144, 177, 0.14); }
.suggest-form__actions .btn { min-height: 2.75rem; border-radius: 12px; font-weight: 600; font-size: 0.88rem; }
.suggest-form__actions .btn-outline-secondary { background: rgba(120, 144, 177, 0.1); border-color: rgba(120, 144, 177, 0.22); color: inherit; }
.suggest-form__actions .btn-primary { background: linear-gradient(135deg, #1d8fff 0%, #0066dd 100%); border: none; box-shadow: 0 4px 14px rgba(29, 143, 255, 0.28); }
.cabinet-quota-banner { margin: 0 0 0.85rem; padding: 0.65rem 0.85rem; border-radius: 12px; background: rgba(29, 143, 255, 0.1); font-size: 0.92rem; }
.cabinet-quota-banner__ad { border: 0; background: none; color: #1d8fff; text-decoration: underline; cursor: pointer; padding: 0; font: inherit; }
.admin-card__media-grid { display: flex; flex-wrap: wrap; gap: 0.5rem; margin-top: 0.45rem; }
.admin-card__media-grid img { width: 72px; height: 72px; object-fit: cover; border-radius: 8px; }
.admin-card__ad { margin-top: 0.65rem; padding-top: 0.55rem; border-top: 1px solid rgba(120, 144, 177, 0.14); font-size: 0.92rem; }
.post-contacts { display: flex; flex-wrap: wrap; align-items: center; gap: 0.65rem 1rem; margin: 1rem 0; padding: 0.75rem 0.9rem; border-radius: 12px; background: rgba(120, 144, 177, 0.08); }
.post-contacts__phone { font-weight: 600; text-decoration: none; color: inherit; }
.post-contacts__socials { display: inline-flex; gap: 0.45rem; }
.post-contacts__link { width: 36px; height: 36px; border-radius: 50%; display: inline-flex; align-items: center; justify-content: center; background: rgba(255, 255, 255, 0.08); text-decoration: none; }
.post-contacts__link.post-contacts__icon--vk .post-contacts__icon::before { content: "VK"; font-size: 0.68rem; font-weight: 800; }
.post-contacts__link.post-contacts__icon--telegram .post-contacts__icon::before { content: "TG"; font-size: 0.62rem; font-weight: 800; }
.post-contacts__link.post-contacts__icon--max .post-contacts__icon::before { content: "M"; font-size: 0.72rem; font-weight: 800; }

.suggest-modal__step--success {
	text-align: center;
	padding: 0.25rem 0.5rem 0.5rem;
}

.suggest-modal__step--success .suggest-modal__title {
	padding-right: 0;
	text-align: center;
	margin-bottom: 0.65rem;
}

.suggest-modal__step--success .suggest-modal__lead {
	text-align: center;
	margin-bottom: 1.15rem;
	max-width: 34ch;
	margin-left: auto;
	margin-right: auto;
}

.suggest-modal__success-icon {
	display: grid;
	place-items: center;
	width: 72px;
	height: 72px;
	margin: 0 auto 0.85rem;
	border-radius: 50%;
	background: rgba(74, 222, 128, 0.12);
	color: #4ade80;
}

.suggest-form__footer--center {
	display: flex;
	justify-content: center;
	gap: 0.55rem;
	grid-template-columns: none;
	max-width: 100%;
	margin-top: 0.25rem;
	padding-top: 0;
	border-top: none;
}

.suggest-form__footer--center .suggest-form__btn {
	min-width: 9.5rem;
	flex: 1 1 0;
	max-width: 11.5rem;
}

.admin-card {
	transform: none !important;
}

.admin-card:hover {
	transform: none !important;
}

.admin-card__actions {
	position: relative;
	z-index: 3;
	isolation: isolate;
}

.admin-card__actions .btn {
	transform: none !important;
	box-shadow: none;
	pointer-events: auto;
	min-width: 6.5rem;
}

.admin-card__actions .btn-success {
	background: #22c55e;
	border-color: #22c55e;
	color: #fff;
}

.admin-card__actions .btn-success:hover {
	background: #16a34a;
	border-color: #16a34a;
	color: #fff;
}

.admin-edit-modal {
	position: fixed;
	inset: 0;
	z-index: 2200;
	display: flex;
	align-items: center;
	justify-content: center;
	padding: 1rem;
	opacity: 0;
	visibility: hidden;
	transition: opacity 0.25s ease, visibility 0.25s ease;
}

.admin-edit-modal.is-open {
	opacity: 1;
	visibility: visible;
}

.admin-edit-modal[hidden] {
	display: none !important;
}

.admin-edit-modal__backdrop {
	position: absolute;
	inset: 0;
	background: var(--modal-backdrop, rgba(0, 0, 0, 0.55));
	backdrop-filter: blur(8px);
}

.admin-edit-modal__dialog {
	position: relative;
	width: min(100%, 560px);
	max-height: 90vh;
	overflow-y: auto;
	padding: 1.35rem 1.25rem 1.2rem;
}

.admin-edit-modal__close {
	position: absolute;
	top: 0.85rem;
	right: 0.85rem;
	border: none;
	background: rgba(120, 144, 177, 0.12);
	color: inherit;
	width: 34px;
	height: 34px;
	border-radius: 10px;
	cursor: pointer;
	font-size: 1.2rem;
	line-height: 1;
}

.admin-edit-modal__title {
	margin: 0 0 1rem;
	font-size: 1.15rem;
	padding-right: 2rem;
}

.cms-proposals-tab-badge {
	margin-left: 0.35rem;
	vertical-align: middle;
}

.cms-proposals-toolbar {
	margin-bottom: 0.25rem;
}

.admin-edit-modal__actions {
	display: flex;
	justify-content: flex-end;
	gap: 0.55rem;
	margin-top: 1rem;
	padding-top: 0.85rem;
	border-top: 1px solid rgba(120, 144, 177, 0.14);
}

.suggest-ad-format-grid {
	display: grid;
	gap: 0.45rem;
}

.suggest-ad-format-option {
	display: flex;
	align-items: center;
	gap: 0.55rem;
	padding: 0.62rem 0.75rem;
	border-radius: 12px;
	border: 1px solid rgba(120, 144, 177, 0.22);
	background: rgba(120, 144, 177, 0.06);
	cursor: pointer;
	transition: border-color 0.2s, background 0.2s;
}

.suggest-ad-format-option:has(input:checked) {
	border-color: rgba(29, 143, 255, 0.55);
	background: rgba(29, 143, 255, 0.1);
}

.suggest-ad-package-card {
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 0.75rem;
	padding: 0.85rem 0.9rem;
	margin-bottom: 0.85rem;
	border-radius: 14px;
	border: 1px solid rgba(255, 179, 71, 0.28);
	background: rgba(255, 179, 71, 0.08);
}

.suggest-ad-package-card__info {
	display: grid;
	gap: 0.2rem;
	flex: 1;
}

.suggest-ad-package-card__info small {
	opacity: 0.72;
	font-size: 0.78rem;
}

.suggest-ad-site-notice {
	margin: 0.85rem 0 0;
	padding: 0.75rem 0.85rem;
	border-radius: 12px;
	font-size: 0.82rem;
	line-height: 1.45;
	background: rgba(74, 222, 128, 0.08);
	border: 1px solid rgba(74, 222, 128, 0.22);
	color: var(--text-secondary);
}

.suggest-ad-price-tag {
	font-weight: 700;
	font-size: 0.95rem;
	color: #6eb6ff;
}

.suggest-ad-package-card.is-disabled {
	opacity: 0.45;
	pointer-events: none;
}

.suggest-ad-groups.is-disabled {
	opacity: 0.45;
	pointer-events: none;
}

.suggest-ad-groups-list {
	display: grid;
	gap: 0.45rem;
}

.suggest-ad-group-row {
	display: grid;
	grid-template-columns: minmax(0, 1fr) auto minmax(7rem, auto);
	gap: 0.55rem;
	align-items: center;
	padding: 0.62rem 0.7rem;
	border-radius: 12px;
	border: 1px solid rgba(120, 144, 177, 0.16);
	background: rgba(120, 144, 177, 0.05);
}

.suggest-ad-group-row__name {
	font-size: 0.86rem;
	font-weight: 600;
	line-height: 1.25;
}

.suggest-ad-group-row__price {
	font-weight: 700;
	font-size: 0.84rem;
	color: #6eb6ff;
	white-space: nowrap;
}

button.suggest-ad-group-row__add {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	min-width: 7rem;
	height: 2rem;
	padding: 0 0.85rem;
	border-radius: 10px;
	border: 1px solid #1a7fe8;
	background: linear-gradient(135deg, #1d8fff 0%, #0066dd 100%);
	color: #fff;
	font: inherit;
	font-size: 0.78rem;
	font-weight: 700;
	line-height: 1;
	cursor: pointer;
	box-shadow: 0 2px 10px rgba(29, 143, 255, 0.35);
	flex-shrink: 0;
	transition: filter 0.15s ease, transform 0.12s ease;
}

button.suggest-ad-group-row__add:hover:not(:disabled):not(.is-in-cart) {
	filter: brightness(1.08);
}

button.suggest-ad-group-row__add:active:not(:disabled):not(.is-in-cart) {
	transform: scale(0.98);
}

button.suggest-ad-group-row__add:disabled {
	opacity: 0.45;
	cursor: not-allowed;
	box-shadow: none;
}

button.suggest-ad-group-row__add.is-in-cart,
#suggestPackageAddBtn.is-in-cart {
	background: rgba(74, 222, 128, 0.14);
	border-color: rgba(74, 222, 128, 0.35);
	color: #4ade80;
}

.suggest-ad-group-row.is-locked {
	opacity: 0.45;
}

.suggest-ad-placement__cart {
	padding: 0;
	border-radius: 14px;
	overflow: hidden;
	display: flex;
	flex-direction: column;
	max-height: min(58vh, 520px);
	min-height: 320px;
}

.suggest-ad-cart__title {
	margin: 0;
	padding: 0.85rem 0.9rem 0.65rem;
	font-size: 0.95rem;
	border-bottom: 1px solid rgba(120, 144, 177, 0.14);
}

.suggest-ad-cart__body {
	flex: 1;
	padding: 0.65rem 0.9rem;
	display: grid;
	gap: 0.75rem;
	overflow-y: auto;
}

.suggest-ad-cart__block-title {
	font-size: 0.68rem;
	font-weight: 700;
	text-transform: uppercase;
	letter-spacing: 0.05em;
	opacity: 0.55;
	margin-bottom: 0.4rem;
}

.suggest-ad-cart__line {
	display: grid;
	grid-template-columns: minmax(0, 1fr) auto;
	gap: 0.35rem 0.5rem;
	align-items: center;
	font-size: 0.82rem;
	padding: 0.35rem 0;
}

.suggest-ad-cart__line--item {
	grid-template-columns: minmax(0, 1fr) auto auto;
	padding: 0.55rem 0;
	border-bottom: 1px solid rgba(120, 144, 177, 0.1);
}

.suggest-ad-cart__line-main {
	display: flex;
	justify-content: space-between;
	gap: 0.5rem;
	grid-column: 1 / -1;
}

.suggest-ad-cart__line-name {
	line-height: 1.35;
	font-weight: 600;
}

.suggest-ad-cart__line-price {
	font-weight: 700;
	color: #6eb6ff;
	white-space: nowrap;
}

.suggest-ad-cart__line-qty {
	opacity: 0.7;
	font-size: 0.78rem;
	text-align: center;
	min-width: 1.2rem;
}

.suggest-ad-cart__qty-controls {
	display: inline-flex;
	align-items: center;
	gap: 0.25rem;
}

.suggest-ad-cart__qty-btn {
	width: 26px;
	height: 26px;
	border-radius: 8px;
	border: 1px solid rgba(120, 144, 177, 0.25);
	background: rgba(120, 144, 177, 0.1);
	color: inherit;
	cursor: pointer;
	line-height: 1;
}

.suggest-ad-cart__remove {
	width: 26px;
	height: 26px;
	border-radius: 8px;
	border: none;
	background: rgba(248, 113, 113, 0.12);
	color: #f87171;
	cursor: pointer;
	line-height: 1;
}

.suggest-ad-cart__site-note {
	margin: 0.25rem 0 0;
	padding: 0.55rem 0.65rem;
	border-radius: 10px;
	font-size: 0.76rem;
	line-height: 1.4;
	background: rgba(74, 222, 128, 0.08);
	color: var(--text-secondary);
}

.suggest-ad-cart__empty {
	margin: 0;
	font-size: 0.84rem;
	opacity: 0.7;
	line-height: 1.45;
}

.suggest-ad-cart__line--format {
	grid-template-columns: minmax(0, 1fr);
}

.suggest-ad-cart__line--package {
	grid-template-columns: minmax(0, 1fr) auto;
}

.suggest-ad-cart__footer {
	padding: 0.65rem 0.9rem 0.75rem;
	border-top: 1px solid rgba(120, 144, 177, 0.16);
	background: rgba(8, 14, 28, 0.22);
	flex-shrink: 0;
}

.suggest-ad-cart__offer {
	display: flex;
	align-items: flex-start;
	gap: 0.65rem;
	font-size: 0.8rem;
	line-height: 1.45;
	color: var(--text-secondary);
	cursor: pointer;
	user-select: none;
}

.suggest-ad-cart__offer-box {
	position: relative;
	display: inline-flex;
	flex-shrink: 0;
	width: 20px;
	height: 20px;
	margin-top: 0.05rem;
}

.suggest-ad-cart__offer-box input {
	position: absolute;
	inset: 0;
	opacity: 0;
	margin: 0;
	cursor: pointer;
	z-index: 2;
}

.suggest-ad-cart__offer-mark {
	position: relative;
	display: block;
	width: 20px;
	height: 20px;
	border-radius: 5px;
	border: 2px solid #6eb6ff;
	background: rgba(8, 14, 28, 0.75);
	box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.06);
	transition: background 0.15s ease, border-color 0.15s ease;
}

.suggest-ad-cart__offer-box input:checked + .suggest-ad-cart__offer-mark {
	background: linear-gradient(135deg, #1d8fff 0%, #0066dd 100%);
	border-color: #1d8fff;
}

.suggest-ad-cart__offer-box input:checked + .suggest-ad-cart__offer-mark::after {
	content: '';
	position: absolute;
	left: 6px;
	top: 2px;
	width: 5px;
	height: 10px;
	border: solid #fff;
	border-width: 0 2px 2px 0;
	transform: rotate(45deg);
}

.suggest-ad-cart__offer-box input:focus-visible + .suggest-ad-cart__offer-mark {
	outline: 2px solid rgba(29, 143, 255, 0.55);
	outline-offset: 2px;
}

.suggest-ad-cart__offer-text {
	flex: 1;
	min-width: 0;
}

.suggest-ad-cart__offer a {
	color: #6eb6ff;
	text-decoration: underline;
	text-underline-offset: 2px;
}

.suggest-ad-cart__offer a:hover {
	color: #9dceff;
}

.suggest-ad-cart__pay {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	width: 100%;
	min-height: 2.75rem;
	padding: 0.72rem 1rem;
	border: none;
	border-radius: 12px;
	background: linear-gradient(135deg, #1d8fff 0%, #0066dd 100%);
	color: #fff;
	font: inherit;
	font-size: 0.88rem;
	font-weight: 700;
	line-height: 1.2;
	cursor: pointer;
	box-shadow: 0 4px 14px rgba(29, 143, 255, 0.28);
	transition: filter 0.15s ease, opacity 0.15s ease;
}

.suggest-ad-cart__pay:hover:not(:disabled) {
	filter: brightness(1.06);
}

.suggest-ad-cart__pay:disabled {
	opacity: 0.45;
	cursor: not-allowed;
	box-shadow: none;
}

.suggest-ad-cart__total {
	margin: 0;
	font-size: 1.05rem;
	font-weight: 700;
}

.suggest-ad-placement__actions {
	margin-top: 1rem;
}

@media (max-width: 720px) {
	.suggest-ad-placement__layout {
		grid-template-columns: 1fr;
	}

	.suggest-ad-group-row {
		grid-template-columns: 1fr auto;
		grid-template-areas:
			"name price"
			"btn btn";
	}

	.suggest-ad-group-row__add {
		grid-area: btn;
		width: 100%;
		margin-top: 0.25rem;
	}

	.suggest-ad-placement__main {
		max-height: none;
		padding-right: 0;
	}

	.suggest-ad-placement__sidebar {
		position: static;
	}

	.suggest-ad-placement__cart {
		max-height: none;
		min-height: 0;
	}
}

.cabinet-proposal__actions {
	display: flex;
	flex-wrap: wrap;
	gap: 0.45rem;
	margin-top: 0.75rem;
	padding-top: 0.7rem;
	border-top: 1px solid rgba(120, 144, 177, 0.16);
}

.cabinet-proposal__btn {
	border: 1px solid rgba(120, 144, 177, 0.24);
	border-radius: 10px;
	background: rgba(120, 144, 177, 0.08);
	color: inherit;
	font: inherit;
	font-size: 0.82rem;
	font-weight: 600;
	padding: 0.38rem 0.75rem;
	cursor: pointer;
	transition: border-color 0.18s ease, background-color 0.18s ease;
}

.cabinet-proposal__btn:hover:not(:disabled) {
	border-color: rgba(68, 168, 255, 0.45);
	background: rgba(29, 143, 255, 0.1);
}

.cabinet-proposal__btn--delete {
	border-color: rgba(248, 113, 113, 0.35);
	color: #f87171;
	background: rgba(248, 113, 113, 0.08);
}

.cabinet-proposal__btn--delete:hover:not(:disabled) {
	border-color: rgba(248, 113, 113, 0.55);
	background: rgba(248, 113, 113, 0.14);
}

.cabinet-proposal__btn:disabled {
	opacity: 0.6;
	cursor: wait;
}

.admin-card__body,
.admin-card__contact {
	word-break: break-word;
	white-space: pre-wrap;
}

.admin-card__published {
	margin-top: 0.75rem;
	padding-top: 0.65rem;
	border-top: 1px solid rgba(120, 144, 177, 0.16);
	font-size: 0.92rem;
	word-break: break-word;
}

.admin-card__published-note {
	color: var(--text-muted);
	font-size: 0.85rem;
}

.cabinet-proposal__published {
	margin-top: 0.65rem;
	padding-top: 0.55rem;
	border-top: 1px solid rgba(120, 144, 177, 0.16);
}

.cabinet-proposal__published a {
	color: #44a8ff;
	font-weight: 600;
	text-decoration: none;
}

.cabinet-proposal__published a:hover {
	text-decoration: underline;
}

.account-toast--confirm .account-toast__title {
	margin-top: 0.15rem;
}

.account-toast__icon {
	display: grid;
	place-items: center;
	width: 56px;
	height: 56px;
	margin: 0 auto 0.75rem;
	border-radius: 50%;
}

.account-toast__icon--danger {
	background: rgba(248, 113, 113, 0.14);
	color: #f87171;
}

.account-toast--confirm .account-toast__actions .btn-outline-danger {
	border-color: rgba(248, 113, 113, 0.45);
	color: #f87171;
	background: rgba(248, 113, 113, 0.1);
}

.account-toast--confirm .account-toast__actions .btn-outline-danger:hover {
	border-color: rgba(248, 113, 113, 0.65);
	background: rgba(248, 113, 113, 0.18);
	color: #fca5a5;
}

/* Ретро-баннер на городских страницах новостей */
.retro-city-banner {
	display: flex;
	align-items: center;
	gap: 0.85rem;
	margin: 0;
	padding: 0.85rem 1rem;
	border-radius: 14px;
	border: 1px dashed rgba(125, 141, 165, 0.45);
	text-decoration: none;
	color: inherit;
	transition: border-color 0.2s ease, transform 0.2s ease, box-shadow 0.2s ease;
}
.retro-city-banner:hover {
	border-color: rgba(96, 165, 250, 0.65);
	transform: translateY(-1px);
	box-shadow: 0 8px 24px rgba(8, 12, 22, 0.18);
	color: inherit;
}
.retro-city-banner__icon {
	font-size: 1.45rem;
	line-height: 1;
	flex: 0 0 auto;
}
.retro-city-banner__body {
	display: flex;
	flex-direction: column;
	gap: 0.2rem;
	min-width: 0;
	flex: 1 1 auto;
}
.retro-city-banner__title {
	font-family: 'Unbounded', 'Manrope', system-ui, sans-serif;
	font-size: clamp(0.92rem, 1.6vw, 1.08rem);
	font-weight: 700;
	letter-spacing: -0.035em;
	line-height: 1.28;
	color: var(--text-primary);
}
.retro-city-banner__hint {
	font-size: 0.82rem;
	opacity: 0.78;
	line-height: 1.35;
	color: var(--text-secondary, rgba(255, 255, 255, 0.72));
}
.retro-city-banner__arrow {
	flex: 0 0 auto;
	opacity: 0.72;
	font-size: 1.1rem;
}

.post-page__duplicate-note,
.post-page__also-in {
	margin: 0.85rem 0 0;
	padding: 0.75rem 0.9rem;
	border-radius: 10px;
	border: 1px solid rgba(125, 141, 165, 0.28);
	background: rgba(255, 255, 255, 0.03);
	font-size: 0.92rem;
	line-height: 1.45;
}
.post-page__duplicate-note a,
.post-page__also-in a {
	text-decoration: underline;
	text-underline-offset: 0.12em;
}
body.light .post-page__duplicate-note,
body.light .post-page__also-in {
	background: rgba(232, 244, 255, 0.55);
	border-color: rgba(125, 141, 165, 0.25);
}

.retro-feed-hint {
	margin: 0 0 0.85rem;
	padding: 0.85rem 1rem;
	border-radius: 12px;
	border: 1px dashed rgba(125, 141, 165, 0.38);
	font-size: 0.92rem;
	line-height: 1.45;
	opacity: 0.92;
}

.retro-feed-hint + .news-page-feed-panel .vk-realty-feed-mount {
	flex: 0 0 auto;
	min-height: auto;
}

.post-page__comment-note--retro a {
	font-weight: 600;
}

.news-chip--multi-cities {
	max-width: calc(100% - 0.5rem);
	white-space: nowrap;
	overflow: hidden;
	text-overflow: ellipsis;
}

/* Мобильное меню категорий: push + blur, вид как у desktop sidebar */
:root {
	--mobile-site-menu-width: min(calc(100vw - 24px), 272px);
}

.site-page-shell {
	position: relative;
	z-index: 1;
	transition:
		transform 0.38s cubic-bezier(0.32, 0.72, 0, 1),
		filter 0.38s ease;
	transform: none;
}

body.mobile-site-menu-open .site-page-shell,
body.mobile-site-menu-open .tab-bar {
	transform: translateX(var(--mobile-site-menu-width));
	filter: blur(5px) saturate(0.92);
	pointer-events: none;
	user-select: none;
}

/* Телефон: портрет ≤768px или landscape (см. MOBILE_SHELL_MQ в site.js) */
@media (max-width: 768px), ((orientation: landscape) and (max-height: 500px) and (max-width: 932px) and (hover: none) and (pointer: coarse)) {
	:root {
		--crimea-tabbar-clearance: calc(104px + env(safe-area-inset-bottom, 0px));
		--crimea-mobile-tabbar-radius: 20px;
		--crimea-mobile-tabbar-strip-height: 66px;
		--crimea-mobile-tabbar-strip-offset: 6px;
	}

	.tab-bar {
		left: 0;
		right: 0;
		padding:
			0
			max(0px, env(safe-area-inset-left, 0px))
			max(0px, env(safe-area-inset-bottom, 0px))
			max(0px, env(safe-area-inset-right, 0px));
		justify-content: stretch;
		transition:
			transform 0.38s cubic-bezier(0.32, 0.72, 0, 1),
			filter 0.38s ease;
	}

	.tab-bar.tab-bar--compact {
		padding-bottom: max(0px, env(safe-area-inset-bottom, 0px));
	}

	.tab-bar__start,
	.tab-bar.tab-bar--compact .tab-bar__start {
		width: 100%;
		max-width: 100%;
		justify-content: space-between;
		align-items: flex-end;
		gap: 2px;
		padding: 16px 6px 10px;
		border-radius: var(--crimea-mobile-tabbar-radius, 20px);
		transform: none;
	}

	body.light .tab-bar__start::before,
	body.dark .tab-bar__start::before,
	body.light .tab-bar.tab-bar--compact .tab-bar__start::before,
	body.dark .tab-bar.tab-bar--compact .tab-bar__start::before {
		top: auto;
		bottom: var(--crimea-mobile-tabbar-strip-offset, 6px);
		left: 0;
		right: 0;
		height: var(--crimea-mobile-tabbar-strip-height, 66px);
		border-radius: var(--crimea-mobile-tabbar-radius, 20px);
	}

	.tab-bar__start > * {
		flex: 1 1 0;
		min-width: 0;
	}

	.tab-bar__secondary,
	body.light .tab-bar__secondary,
	.tab-bar__scroll {
		width: 100%;
		max-width: 50px;
		height: auto;
		aspect-ratio: 1;
		min-width: 0;
		min-height: 0;
		margin: 0 auto;
		border-radius: 15px;
	}

	.tab-bar__logo {
		flex: 0 0 68px;
		width: 68px;
		max-width: 68px;
		min-width: 68px;
		height: 68px;
		min-height: 68px;
		margin: 0 auto;
		transform: translateY(-8px);
		border-radius: 20px;
	}

	.tab-bar.tab-bar--compact .tab-bar__logo {
		transform: translateY(-6px);
	}

	.tab-bar .tab-bar__secondary .icon-tab,
	.tab-bar__scroll-icon {
		width: 28px;
		height: 28px;
	}

	.tab-bar__start > .tab-bar__secondary .icon-tab,
	.tab-bar__start > .tab-bar__scroll .icon-tab,
	.tab-bar__start > .tab-bar__scroll .tab-bar__scroll-icon {
		transform: translateY(-4px);
	}

	.tab-bar__logo .icon-tab {
		width: 38px;
		height: 38px;
	}

	.mobile-menu-fab {
		display: none !important;
	}
}

.mobile-site-menu {
	position: fixed;
	inset: 0;
	z-index: 1200;
	display: block;
	pointer-events: none;
	visibility: hidden;
	height: 100%;
	max-height: 100dvh;
}

body.mobile-site-menu-open .mobile-site-menu {
	pointer-events: auto;
	visibility: visible;
}

.mobile-site-menu__backdrop {
	position: fixed;
	inset: 0;
	border: 0;
	padding: 0;
	margin: 0;
	background: rgba(8, 10, 16, 0.28);
	opacity: 0;
	transition: opacity 0.38s ease;
	cursor: pointer;
}

body.mobile-site-menu-open .mobile-site-menu__backdrop {
	opacity: 1;
}

.mobile-site-menu__panel {
	position: absolute;
	top: 0;
	left: 0;
	bottom: 0;
	width: var(--mobile-site-menu-width);
	max-width: 100%;
	height: 100%;
	max-height: 100dvh;
	background: var(--sidebar-bg, #141820);
	border-right: 1px solid var(--sidebar-border, rgba(255, 255, 255, 0.08));
	box-shadow: 12px 0 40px rgba(0, 0, 0, 0.35);
	transform: translateX(-102%);
	transition: transform 0.38s cubic-bezier(0.32, 0.72, 0, 1);
	z-index: 2;
	overflow: hidden;
	display: flex;
	flex-direction: column;
}

.mobile-site-menu__body {
	flex: 1 1 0;
	height: 0;
	min-height: 0;
	overflow-x: hidden;
	overflow-y: auto;
	overscroll-behavior: contain;
	touch-action: pan-y;
	-webkit-overflow-scrolling: touch;
}

.mobile-site-menu__footer-dock {
	flex: 0 0 auto;
	padding:
		10px 12px
		calc(10px + env(safe-area-inset-bottom, 0px));
	border-top: 1px solid rgba(255, 255, 255, 0.08);
	background:
		linear-gradient(180deg, rgba(20, 24, 32, 0) 0%, rgba(14, 17, 24, 0.94) 28%, rgba(10, 12, 18, 0.98) 100%);
	backdrop-filter: blur(14px);
	-webkit-backdrop-filter: blur(14px);
}

body.light .mobile-site-menu__footer-dock {
	border-top: none;
	background: var(--sidebar-bg, #f5f7fb);
	backdrop-filter: none;
	-webkit-backdrop-filter: none;
}

body.mobile-site-menu-open .mobile-site-menu__panel {
	transform: translateX(0);
}

.mobile-site-menu__close {
	position: fixed;
	top: calc(10px + env(safe-area-inset-top, 0px));
	left: calc(var(--mobile-site-menu-width) + 10px);
	z-index: 5;
	display: inline-flex;
	align-items: center;
	justify-content: center;
	width: 40px;
	height: 40px;
	padding: 0;
	border-radius: 50%;
	border: 1px solid rgba(255, 193, 72, 0.55);
	background: rgba(12, 14, 20, 0.72);
	color: #fff;
	cursor: pointer;
	opacity: 0;
	pointer-events: none;
	transition:
		opacity 0.28s ease,
		background-color 0.2s ease,
		transform 0.2s ease;
}

body.mobile-site-menu-open .mobile-site-menu__close {
	opacity: 1;
	pointer-events: auto;
}

body.light .mobile-site-menu__close {
	border-color: rgba(0, 0, 0, 0.1);
	background: rgba(0, 0, 0, 0.04);
}

.mobile-site-menu__close:hover,
.mobile-site-menu__close:focus-visible {
	background: rgba(255, 255, 255, 0.12);
	transform: scale(1.03);
}

.mobile-site-menu__sidebar.sidebar {
	display: flex;
	flex-direction: column;
	align-items: stretch;
	width: 100%;
	min-height: 0;
	height: auto;
	overflow: visible;
	padding:
		calc(12px + env(safe-area-inset-top, 0px))
		12px
		16px;
	box-sizing: border-box;
}

@media (max-width: 768px), ((orientation: landscape) and (max-height: 500px) and (max-width: 932px) and (hover: none) and (pointer: coarse)) {
	.mobile-site-menu .mobile-site-menu__sidebar.sidebar {
		display: flex !important;
		visibility: visible !important;
	}

	.mobile-site-menu .mobile-site-menu__sidebar .logo,
	.mobile-site-menu .mobile-site-menu__sidebar .menu,
	.mobile-site-menu .mobile-site-menu__sidebar .sidebar-footer-tools {
		display: flex !important;
		visibility: visible !important;
	}

	/* appstorrent.css ≤1210px скрывает подписи и сужает пункты до иконок */
	.mobile-site-menu .mobile-site-menu__sidebar.sidebar .menu .item,
	.mobile-site-menu .mobile-site-menu__sidebar.sidebar .menu span.item.coming-soon {
		display: flex !important;
		align-items: center;
		width: 100% !important;
		max-width: none !important;
		min-height: 48px;
		padding: 0 10px;
		box-sizing: border-box;
	}

	.mobile-site-menu .mobile-site-menu__sidebar.sidebar .menu .item span,
	.mobile-site-menu .mobile-site-menu__sidebar.sidebar .menu span.item.coming-soon > span {
		display: block !important;
		flex: 1 1 auto;
		min-width: 0;
		opacity: 1 !important;
	}

	.mobile-site-menu .mobile-site-menu__sidebar .menu {
		flex-direction: column;
		width: 100%;
		padding: 24px 0 8px;
		margin: 0;
		box-sizing: border-box;
	}

	.mobile-site-menu .mobile-site-menu__sidebar .menu.site-nav::before {
		left: 12px;
	}

	.mobile-site-menu .mobile-site-menu__sidebar .menu li {
		display: flex;
		width: 100%;
		box-sizing: border-box;
	}

	.mobile-site-menu .mobile-site-menu__sidebar .logo {
		display: flex !important;
		align-items: center;
		margin: 0 0 8px;
		padding: 2px;
		width: 100%;
		box-sizing: border-box;
	}

	.mobile-site-menu .mobile-site-menu__sidebar .logo img {
		height: 38px;
		width: auto;
		max-width: 100%;
	}

	.mobile-site-menu .mobile-site-menu__sidebar .sidebar-footer-tools,
	.mobile-site-menu .mobile-site-menu__sidebar .mobile-site-menu__footer-slot {
		width: 100%;
		max-width: none;
		margin-left: 0;
		margin-right: 0;
		padding: 12px 0 0;
		align-self: stretch;
		box-sizing: border-box;
	}

	.mobile-site-menu .mobile-site-menu__sidebar .header-services-btn {
		width: 100%;
	}
}

.mobile-site-menu__sidebar.sidebar .logo {
	margin: 0 0 8px;
	padding: 2px;
	width: 100%;
	box-sizing: border-box;
}

.mobile-site-menu__sidebar.sidebar .menu.site-nav {
	margin-top: 0;
	width: 100%;
}

.mobile-site-menu__sidebar .menu .item,
.mobile-site-menu__sidebar .menu span.item.coming-soon {
	max-width: none !important;
	width: 100% !important;
}

.mobile-site-menu__sidebar .menu li.menu-news {
	flex-wrap: nowrap !important;
	align-items: center;
	width: 100%;
	gap: 6px;
}

.mobile-site-menu__sidebar .menu li.menu-news > .cities-flyout {
	display: none !important;
	position: absolute !important;
	width: 0 !important;
	height: 0 !important;
	overflow: hidden !important;
	flex: 0 0 0 !important;
	padding: 0 !important;
	margin: 0 !important;
}

.mobile-site-menu__sidebar .menu li.menu-news > .item {
	flex: 1 1 auto;
	min-width: 0;
}

.mobile-site-menu__sidebar .menu li.menu-news > .cities-drop__btn {
	margin-left: auto;
	flex: 0 0 auto;
	width: 36px;
	height: 36px;
	min-width: 36px;
	padding: 0;
	border-radius: 10px;
	display: inline-flex;
	align-items: center;
	justify-content: center;
}

.mobile-site-menu__sidebar .menu span.item.coming-soon {
	width: 100% !important;
	max-width: none !important;
}

.mobile-site-menu__sidebar .cities-flyout,
.mobile-site-menu__sidebar .menu-news.is-open .cities-flyout,
.mobile-site-menu__sidebar .sidebar-footer-about.is-open .cities-flyout {
	display: none !important;
}

.mobile-site-menu__footer-slot.sidebar-footer-tools,
.mobile-site-menu__footer-dock > .sidebar-footer-tools {
	margin: 0;
	padding: 10px;
	gap: 8px;
	width: 100%;
	box-sizing: border-box;
	border: 1px solid rgba(255, 255, 255, 0.1);
	border-radius: 16px;
	background: rgba(255, 255, 255, 0.04);
	box-shadow:
		inset 0 1px 0 rgba(255, 255, 255, 0.07),
		0 8px 20px rgba(0, 0, 0, 0.18);
	border-top: none;
}

body.light .mobile-site-menu__footer-slot.sidebar-footer-tools,
body.light .mobile-site-menu__footer-dock > .sidebar-footer-tools {
	border-color: rgba(32, 85, 137, 0.12);
	background: rgba(255, 255, 255, 0.72);
	box-shadow:
		0 8px 20px rgba(35, 70, 105, 0.08),
		inset 0 1px 0 #fff;
}

.mobile-site-menu__footer-slot .header-services-btn,
.mobile-site-menu__footer-dock .header-services-btn {
	width: 100%;
	min-height: 48px;
	border-radius: 14px;
	font-size: 0.9rem;
	font-weight: 700;
	gap: 0.55rem;
	box-shadow: 0 10px 22px rgba(16, 102, 214, 0.28);
}

.mobile-site-menu__footer-slot .header-services-btn__icon,
.mobile-site-menu__footer-dock .header-services-btn__icon {
	width: 28px;
	height: 28px;
	border-radius: 9px;
}

.mobile-site-menu__footer-slot .sidebar-footer-tools__split,
.mobile-site-menu__footer-dock .sidebar-footer-tools__split {
	display: grid !important;
	grid-template-columns: 1fr 1fr;
	gap: 8px;
	width: 100%;
}

.mobile-site-menu__footer-slot .sidebar-footer-about,
.mobile-site-menu__footer-dock .sidebar-footer-about {
	display: flex !important;
	min-width: 0;
}

.mobile-site-menu__footer-slot .theme-toggle,
.mobile-site-menu__footer-slot .footer-about-drop__btn,
.mobile-site-menu__footer-dock .theme-toggle,
.mobile-site-menu__footer-dock .footer-about-drop__btn {
	display: flex !important;
	flex-direction: column;
	align-items: center;
	justify-content: center;
	gap: 4px;
	width: 100%;
	height: auto;
	min-height: 54px;
	padding: 8px 6px;
	border-radius: 14px;
	font-size: 0.68rem;
	font-weight: 600;
	line-height: 1.15;
	letter-spacing: 0.02em;
	color: rgba(243, 246, 251, 0.88);
}

body.light .mobile-site-menu__footer-slot .theme-toggle,
body.light .mobile-site-menu__footer-slot .footer-about-drop__btn,
body.light .mobile-site-menu__footer-dock .theme-toggle,
body.light .mobile-site-menu__footer-dock .footer-about-drop__btn {
	color: rgba(20, 32, 48, 0.88);
}

.mobile-site-menu__footer-slot .theme-toggle {
	width: 100%;
}

.mobile-site-menu__footer-slot .theme-toggle::after {
	content: 'Тема';
}

.mobile-site-menu__footer-slot .footer-about-drop__btn::after {
	content: 'О сайте';
}

.mobile-site-menu__footer-slot .footer-about-drop__icon,
.mobile-site-menu__footer-dock .footer-about-drop__icon {
	width: 22px;
	height: 22px;
}

.mobile-site-menu__footer-slot .theme-toggle .icon-theme,
.mobile-site-menu__footer-dock .theme-toggle .icon-theme {
	width: 22px;
	height: 22px;
}

.mobile-site-menu-submodal {
	position: fixed;
	inset: 0;
	z-index: 10;
	display: block;
	pointer-events: none;
	visibility: hidden;
}

.mobile-site-menu-submodal.is-open {
	pointer-events: auto;
	visibility: visible;
}

.mobile-site-menu-submodal__backdrop {
	position: absolute;
	inset: 0;
	background: rgba(4, 6, 10, 0.42);
	opacity: 0;
	transition: opacity 0.28s ease;
}

.mobile-site-menu-submodal.is-open .mobile-site-menu-submodal__backdrop {
	opacity: 1;
}

.mobile-site-menu-submodal__dialog {
	position: fixed;
	top: 50%;
	left: 50%;
	transform: translate(-50%, -50%) scale(0.96);
	width: min(320px, calc(100vw - 32px));
	max-height: min(70vh, 420px);
	padding: 14px 12px 12px;
	border-radius: 16px;
	border: 1px solid var(--glass-border, rgba(255, 255, 255, 0.12));
	background: var(--glass-bg, rgba(20, 24, 32, 0.94));
	box-shadow: 0 16px 40px rgba(0, 0, 0, 0.35);
	opacity: 0;
	transition: opacity 0.28s ease, transform 0.28s ease;
	overflow: hidden;
	display: flex;
	flex-direction: column;
	z-index: 2;
}

.mobile-site-menu-submodal.is-open .mobile-site-menu-submodal__dialog {
	opacity: 1;
	transform: translate(-50%, -50%) scale(1);
}

.mobile-site-menu-submodal__close {
	position: absolute;
	top: 8px;
	right: 8px;
	display: inline-flex;
	align-items: center;
	justify-content: center;
	width: 32px;
	height: 32px;
	padding: 0;
	border: 0;
	border-radius: 10px;
	background: rgba(255, 255, 255, 0.08);
	color: var(--text-primary);
	cursor: pointer;
}

.mobile-site-menu-submodal__title {
	margin: 0 36px 10px 4px;
	font-size: 0.92rem;
	font-weight: 700;
	line-height: 1.3;
	color: var(--text-primary);
}

.mobile-site-menu-submodal__links {
	display: flex;
	flex-direction: column;
	gap: 4px;
	overflow-y: auto;
	-webkit-overflow-scrolling: touch;
	padding: 0 2px 2px;
}

.mobile-site-menu-submodal__link {
	display: block;
	padding: 10px 12px;
	border-radius: 10px;
	color: var(--text-primary);
	font-size: 0.88rem;
	font-weight: 600;
	text-decoration: none;
	transition: background-color 0.15s ease;
}

.mobile-site-menu-submodal__link:hover,
.mobile-site-menu-submodal__link:focus-visible {
	background: rgba(255, 255, 255, 0.08);
}

.mobile-menu-fab {
	display: none !important;
}

/* Мобильный тапбар на iPhone: класс crimea-mobile-tabbar выставляет site.js */
body.crimea-mobile-tabbar {
	--crimea-tabbar-clearance: calc(112px + env(safe-area-inset-bottom, 0px));
	--crimea-mobile-tabbar-radius: 20px;
	--crimea-mobile-tabbar-strip-height: 66px;
	--crimea-mobile-tabbar-strip-offset: 6px;
}

body.crimea-mobile-tabbar .tab-bar {
	left: 0 !important;
	right: 0 !important;
	width: 100% !important;
	padding-left: max(0px, env(safe-area-inset-left, 0px)) !important;
	padding-right: max(0px, env(safe-area-inset-right, 0px)) !important;
	padding-bottom: max(0px, env(safe-area-inset-bottom, 0px)) !important;
	justify-content: stretch !important;
}

body.crimea-mobile-tabbar .tab-bar__start,
body.crimea-mobile-tabbar .tab-bar.tab-bar--compact .tab-bar__start {
	width: 100% !important;
	max-width: none !important;
	justify-content: space-between !important;
	align-items: flex-end !important;
	gap: 3px !important;
	padding: 14px 4px 10px !important;
	border-radius: var(--crimea-mobile-tabbar-radius, 20px) !important;
	transform: none !important;
}

body.light.crimea-mobile-tabbar .tab-bar__start::before,
body.dark.crimea-mobile-tabbar .tab-bar__start::before,
body.light.crimea-mobile-tabbar .tab-bar.tab-bar--compact .tab-bar__start::before,
body.dark.crimea-mobile-tabbar .tab-bar.tab-bar--compact .tab-bar__start::before {
	top: auto !important;
	bottom: var(--crimea-mobile-tabbar-strip-offset, 6px) !important;
	left: 0 !important;
	right: 0 !important;
	height: var(--crimea-mobile-tabbar-strip-height, 66px) !important;
	border-radius: var(--crimea-mobile-tabbar-radius, 20px) !important;
}

body.light.crimea-mobile-tabbar .tab-bar__start::after,
body.dark.crimea-mobile-tabbar .tab-bar__start::after,
body.light.crimea-mobile-tabbar .tab-bar.tab-bar--compact .tab-bar__start::after,
body.dark.crimea-mobile-tabbar .tab-bar.tab-bar--compact .tab-bar__start::after {
	display: none !important;
	content: none !important;
}

body.crimea-mobile-tabbar .tab-bar__start > * {
	flex: 1 1 0 !important;
	min-width: 0 !important;
}

body.crimea-mobile-tabbar .tab-bar__secondary,
body.crimea-mobile-tabbar .tab-bar__scroll,
body.light.crimea-mobile-tabbar .tab-bar__secondary,
body.light.crimea-mobile-tabbar .tab-bar__scroll,
body.dark.crimea-mobile-tabbar .tab-bar__secondary,
body.dark.crimea-mobile-tabbar .tab-bar__scroll {
	width: 100% !important;
	max-width: 58px !important;
	min-width: 0 !important;
	min-height: 54px !important;
	height: auto !important;
	aspect-ratio: 1 !important;
	margin: 0 auto !important;
	border-radius: 16px !important;
}

body.crimea-mobile-tabbar .tab-bar__logo {
	flex: 0 0 68px !important;
	width: 68px !important;
	max-width: 68px !important;
	min-width: 68px !important;
	height: 68px !important;
	min-height: 68px !important;
	margin: 0 auto !important;
	transform: translateY(-8px) !important;
	border-radius: 20px !important;
}

body.crimea-mobile-tabbar .tab-bar .tab-bar__secondary .icon-tab,
body.crimea-mobile-tabbar .tab-bar__scroll-icon,
body.crimea-mobile-tabbar .tab-bar__profile-icon {
	width: 28px !important;
	height: 28px !important;
}

body.crimea-mobile-tabbar .tab-bar__logo .icon-tab {
	width: 38px !important;
	height: 38px !important;
}

.tab-bar__start > .tab-bar__secondary .icon-tab,
.tab-bar__start > .tab-bar__scroll .icon-tab,
.tab-bar__start > .tab-bar__scroll .tab-bar__scroll-icon {
	transform: translateY(-4px);
}

body.crimea-mobile-tabbar .tab-bar__start > .tab-bar__secondary .icon-tab,
body.crimea-mobile-tabbar .tab-bar__start > .tab-bar__scroll .icon-tab,
body.crimea-mobile-tabbar .tab-bar__start > .tab-bar__scroll .tab-bar__scroll-icon {
	transform: translateY(-4px) !important;
}

/* ——— Mobile fluid typography (финальный слой) ——— */
@media (max-width: 767.98px), ((orientation: landscape) and (max-height: 500px) and (max-width: 932px) and (hover: none) and (pointer: coarse)) {
	/* Базовый rem-масштаб: ~14px на узких экранах, до 16px на крупных телефонах */
	html {
		font-size: clamp(14px, 11.5px + 0.72vw, 16px);
		-webkit-text-size-adjust: 100%;
		text-size-adjust: 100%;
	}

	:root {
		--m-fs-micro: clamp(0.625rem, 0.58rem + 0.24vw, 0.75rem);
		--m-fs-caption: clamp(0.6875rem, 0.64rem + 0.26vw, 0.8125rem);
		--m-fs-sm: clamp(0.75rem, 0.69rem + 0.3vw, 0.875rem);
		--m-fs-base: clamp(0.8125rem, 0.75rem + 0.34vw, 0.9375rem);
		--m-fs-md: clamp(0.875rem, 0.8rem + 0.38vw, 1rem);
		--m-fs-lg: clamp(0.9375rem, 0.85rem + 0.44vw, 1.0625rem);
		--m-fs-xl: clamp(1rem, 0.92rem + 0.5vw, 1.125rem);
		--m-fs-h3: clamp(1.0625rem, 0.96rem + 0.58vw, 1.25rem);
		--m-fs-h2: clamp(1.125rem, 1rem + 0.68vw, 1.45rem);
		--m-fs-h1: clamp(1.25rem, 1.06rem + 0.95vw, 1.65rem);
		--m-fs-post: clamp(1rem, 0.93rem + 0.32vw, 1.0625rem);
		--m-fs-feed: clamp(0.8125rem, 0.74rem + 0.4vw, 0.9375rem);
		--m-fs-meta: clamp(0.6875rem, 0.63rem + 0.24vw, 0.8125rem);
		--m-fs-chip: clamp(0.65rem, 0.6rem + 0.22vw, 0.78rem);
	}

	body {
		font-size: var(--m-fs-base);
		line-height: 1.5;
	}

	.page-breadcrumbs {
		font-size: var(--m-fs-caption);
	}

	.news-page-banner__placeholder {
		font-size: var(--m-fs-caption);
	}

	.mobile-life-modal__lead {
		font-size: var(--m-fs-md);
	}

	.header-rates__line,
	.header-chip-scale--weather .weather-ticker__text {
		font-size: var(--m-fs-sm);
	}

	.header-mobile-weather-card__eyebrow,
	.header-mobile-life-card__eyebrow {
		font-size: var(--m-fs-micro);
	}

	.header-mobile-weather-card__city {
		font-size: clamp(0.92rem, 0.84rem + 0.35vw, 1.05rem);
	}

	.header-mobile-weather-card__temp {
		font-size: clamp(1.65rem, 1.42rem + 0.75vw, 2rem);
	}

	.header-mobile-weather-card__desc,
	.header-mobile-weather-card__feels {
		font-size: var(--m-fs-caption);
	}

	.header-mobile-life-card__title {
		font-size: clamp(0.88rem, 0.8rem + 0.32vw, 1rem);
	}

	.header-mobile-life-card__hint {
		font-size: var(--m-fs-caption);
	}

	body.home-page .home-welcome__eyebrow,
	body.home-page .home-krym-showcase__eyebrow,
	.services-hero__eyebrow,
	.dev-page__eyebrow,
	.ads-page__eyebrow {
		font-size: var(--m-fs-micro);
	}

	body.home-page .home-welcome h1 {
		font-size: var(--m-fs-h1);
	}

	body.home-page .home-welcome__copy > p,
	body.home-page .home-krym-showcase__intro p,
	.services-hero__lead,
	.ads-page__lead,
	.dev-page__lead {
		font-size: var(--m-fs-base);
		color: var(--text-secondary);
	}

	body.light.home-page .home-welcome__copy > p,
	body.light.home-page .home-krym-showcase__intro p,
	body.light .services-hero__lead,
	body.light .ads-page__lead,
	body.light .dev-page__lead,
	body.light.home-page .seo-article__lead,
	body.light.home-page .seo-article__block p {
		color: #2f4054;
	}

	body.dark.home-page .home-welcome__copy > p,
	body.dark.home-page .home-krym-showcase__intro p,
	body.dark .services-hero__lead,
	body.dark .ads-page__lead,
	body.dark .dev-page__lead {
		color: #d2dae3;
	}

	body.home-page .home-city-links__label,
	body.home-page .home-city-links__chip,
	body.home-page .home-quick-links span,
	body.home-page .home-welcome__actions > *,
	body.home-page .home-krym-showcase__tags span,
	body.home-page .home-krym-showcase .section-all,
	.services-hero__visual-label,
	.services-hero__visual-cities span,
	.services-hero__visual-caption,
	.services-hero__metrics span,
	.services-hero__action-text small,
	.services-hero__float,
	.ads-page__float,
	.dev-page__float {
		font-size: var(--m-fs-caption);
	}

	body.home-page .home-services-preview .home-service-panel__head small,
	body.home-page .home-services-preview .home-service-panel__head a,
	body.home-page .news-slide__meta,
	body.home-page .news-slide__tag,
	body.home-page .news-teaser__meta,
	body.home-page .news-teaser__tag,
	body.home-page .news-marquee__card .news-teaser__line,
	body.home-page .pets-marquee__card .news-teaser__line {
		font-size: var(--m-fs-caption);
	}

	.services-hero__frame .page-breadcrumbs,
	body.home-page .section-head .section-all,
	.section-head .section-all {
		font-size: var(--m-fs-caption);
	}

	.seo-article__eyebrow,
	.seo-article__meta,
	.seo-article__toc a,
	.articles-grid__meta,
	.articles-grid__tag {
		font-size: var(--m-fs-caption);
	}

	.news-page-side-weather__updated,
	.news-page-side-weather__metric-label,
	.post-page__meta,
	.post-page__meta time,
	.post-tags a,
	.mobile-pagehead-bar__title {
		font-size: var(--m-fs-meta);
	}

	.tab-bar__badge-count {
		font-size: var(--m-fs-micro);
	}

	/* Заголовки страниц и разделов */
	.post-page__title,
	.news-page-pagehead-intro .news-page-pagehead__title.section-head h1.post-page__title,
	.news-page-pagehead-intro .news-page-pagehead__title.section-head .post-page__title,
	.news-page-pagehead__title h2,
	.news-page-pagehead__title h1.post-page__title,
	.section-head h2,
	body.home-page .home-krym-showcase__intro h2,
	body.home-page section[aria-labelledby="sec-news"] .news-layout__hero .news-slide__body h3 {
		font-size: var(--m-fs-h2);
	}

	/* Текст поста и ленты */
	.post-page__content {
		font-size: var(--m-fs-post);
		line-height: 1.6;
	}

	.news-teaser__line,
	.news-feed__line,
	.news-page-feed-panel .news-teaser__line,
	.news-page-feed-panel .news-feed__line,
	.realty-grid .news-teaser__line,
	body.home-page .news-latest-panel > ul.news-feed .news-feed__line,
	body.home-page .home-krym-showcase .news-teasers .news-teaser__line,
	body.home-page .home-services-preview .home-service-panel__feed .news-teaser__line {
		font-size: var(--m-fs-feed);
	}

	.news-teaser__meta,
	.news-feed__meta,
	.news-chip,
	body.home-page .home-krym-showcase .news-teasers .news-chip--on-photo {
		font-size: var(--m-fs-chip);
	}

	.mobile-pagehead-bar__title {
		font-size: var(--m-fs-md);
	}

	.about-story__lead,
	.seo-article__lead,
	.article-page__content,
	.article-page__content p {
		font-size: var(--m-fs-base);
	}
}

/* Узкие телефоны: чуть компактнее базовый rem */
@media (max-width: 360px) {
	html {
		font-size: clamp(13.5px, 12.5px + 0.55vw, 14.5px);
	}
}

/* Крупные телефоны */
@media (min-width: 414px) and (max-width: 767.98px) {
	html {
		font-size: clamp(15px, 14px + 0.35vw, 16px);
	}
}

@media (prefers-reduced-motion: reduce) {
	.site-page-shell,
	.mobile-site-menu__panel,
	.mobile-site-menu__backdrop,
	.mobile-site-menu__close,
	.mobile-site-menu-submodal__backdrop,
	.mobile-site-menu-submodal__dialog {
		transition: none !important;
	}
}

/* Финальный слой: стекло + иконки; light/compact не должны становиться тёмными при скролле */
@media (max-width: 767.98px), ((orientation: landscape) and (max-height: 500px) and (max-width: 932px) and (hover: none) and (pointer: coarse)) {
	body.has-tabbar .tab-bar__start,
	body.has-tabbar .tab-bar.tab-bar--compact .tab-bar__start,
	body.crimea-mobile-tabbar .tab-bar__start,
	body.crimea-mobile-tabbar .tab-bar.tab-bar--compact .tab-bar__start {
		width: 100% !important;
		max-width: none !important;
		flex-wrap: nowrap !important;
		justify-content: space-between !important;
		align-items: flex-end !important;
		gap: 3px !important;
		padding: 14px 4px 10px !important;
		transform: none !important;
	}

	body.has-tabbar .tab-bar__start::before,
	body.has-tabbar .tab-bar.tab-bar--compact .tab-bar__start::before,
	body.crimea-mobile-tabbar .tab-bar__start::before,
	body.crimea-mobile-tabbar .tab-bar.tab-bar--compact .tab-bar__start::before {
		display: block !important;
		content: '' !important;
		top: auto !important;
		bottom: var(--crimea-mobile-tabbar-strip-offset, 6px) !important;
		left: 0 !important;
		right: 0 !important;
		height: var(--crimea-mobile-tabbar-strip-height, 66px) !important;
		border-radius: var(--crimea-mobile-tabbar-radius, 20px) !important;
		backdrop-filter: blur(28px) saturate(180%) !important;
		-webkit-backdrop-filter: blur(28px) saturate(180%) !important;
	}

	body.dark.has-tabbar .tab-bar__start::before,
	body.dark.has-tabbar .tab-bar.tab-bar--compact .tab-bar__start::before,
	body.dark.crimea-mobile-tabbar .tab-bar__start::before,
	body.dark.crimea-mobile-tabbar .tab-bar.tab-bar--compact .tab-bar__start::before {
		border-color: rgba(255, 255, 255, 0.14) !important;
		background: rgba(22, 24, 28, 0.62) !important;
		box-shadow: 0 10px 28px rgba(2, 8, 18, 0.28) !important;
	}

	body.light.has-tabbar .tab-bar__start::before,
	body.light.has-tabbar .tab-bar.tab-bar--compact .tab-bar__start::before,
	body.light.crimea-mobile-tabbar .tab-bar__start::before,
	body.light.crimea-mobile-tabbar .tab-bar.tab-bar--compact .tab-bar__start::before {
		border-color: rgba(0, 0, 0, 0.08) !important;
		background: rgba(255, 255, 255, 0.72) !important;
		box-shadow: 0 10px 28px rgba(0, 0, 0, 0.08) !important;
	}

	body.light.has-tabbar .tab-bar__secondary,
	body.light.has-tabbar .tab-bar__scroll,
	body.light.has-tabbar .tab-bar.tab-bar--compact .tab-bar__secondary,
	body.light.has-tabbar .tab-bar.tab-bar--compact .tab-bar__scroll,
	body.light.crimea-mobile-tabbar .tab-bar__secondary,
	body.light.crimea-mobile-tabbar .tab-bar__scroll {
		color: #000 !important;
	}

	body.dark.has-tabbar .tab-bar__secondary,
	body.dark.has-tabbar .tab-bar__scroll,
	body.dark.has-tabbar .tab-bar.tab-bar--compact .tab-bar__secondary,
	body.dark.has-tabbar .tab-bar.tab-bar--compact .tab-bar__scroll,
	body.dark.crimea-mobile-tabbar .tab-bar__secondary,
	body.dark.crimea-mobile-tabbar .tab-bar__scroll {
		color: #fff !important;
	}

	body.has-tabbar .tab-bar__logo,
	body.has-tabbar .tab-bar.tab-bar--compact .tab-bar__logo,
	body.crimea-mobile-tabbar .tab-bar__logo {
		color: #fff !important;
	}

	body.has-tabbar .tab-bar__start > *,
	body.crimea-mobile-tabbar .tab-bar__start > * {
		flex: 1 1 0 !important;
		min-width: 0 !important;
	}

	body.has-tabbar #tabMenuOpen,
	body.has-tabbar #tabProfileBtn,
	body.crimea-mobile-tabbar #tabMenuOpen,
	body.crimea-mobile-tabbar #tabProfileBtn {
		display: flex !important;
	}
}

/* Десктоп: иконки +2px и по центру соединяющей полосы; кнопку «+» не трогаем */
@media (min-width: 768px) {
	body.has-tabbar .tab-bar__start,
	body.has-tabbar .tab-bar.tab-bar--compact .tab-bar__start {
		align-items: flex-end;
		/* полоса ::before: bottom 4px, height 62px → центр на 35px от низа;
		   кнопки 48px → нижний край на 11px = 4 + (62-48)/2 */
		padding-bottom: 11px;
	}

	body.has-tabbar .tab-bar__secondary,
	body.has-tabbar .tab-bar__scroll,
	body.has-tabbar .tab-bar.tab-bar--compact .tab-bar__secondary,
	body.has-tabbar .tab-bar.tab-bar--compact .tab-bar__scroll {
		align-self: flex-end;
		display: inline-flex;
		align-items: center;
		justify-content: center;
	}

	body.has-tabbar .tab-bar .tab-bar__secondary .icon-tab,
	body.has-tabbar .tab-bar__scroll-icon,
	body.has-tabbar .tab-bar__profile-icon {
		width: 23px;
		height: 23px;
	}
}

/* Десктоп: без «Меню»; порядок: Главная, Поиск, +, Избранное, Аккаунт, Вверх */
@media (min-width: 768px) {
	body.has-tabbar #tabMenuOpen {
		display: none !important;
	}

	body.has-tabbar #tabHomeBtn { order: 1; }
	body.has-tabbar #tabSearchOpen { order: 2; }
	body.has-tabbar #openSuggestModal { order: 3; }
	body.has-tabbar #tabFavoritesBtn { order: 4; }
	body.has-tabbar #tabProfileBtn { order: 5; }
	body.has-tabbar #tabScrollTop { order: 6; }
}


.news-page-pagehead__lead {
	margin: 0.35rem 0 0;
	max-width: 42rem;
	font-size: 0.95rem;
	line-height: 1.45;
	opacity: 0.82;
}

/* CMS: входящие новости */
.cms-news-inbox {
	display: grid;
	gap: 1rem;
}

.cms-news-toolbar {
	display: flex;
	flex-wrap: wrap;
	gap: 0.75rem;
	align-items: flex-end;
	padding: 0.85rem 1rem;
	border-radius: 16px;
	background: linear-gradient(180deg, rgba(255, 255, 255, 0.04), rgba(255, 255, 255, 0.02));
	border: 1px solid rgba(130, 160, 200, 0.16);
}

.cms-news-filter {
	display: grid;
	gap: 0.28rem;
	min-width: 180px;
	flex: 1;
}

.cms-news-filter span {
	font-size: 0.72rem;
	letter-spacing: 0.04em;
	text-transform: uppercase;
	opacity: 0.62;
	font-weight: 700;
}

.cms-news-filter select,
.cms-news-field input,
.cms-news-field textarea {
	width: 100%;
	border-radius: 12px;
	border: 1px solid rgba(130, 160, 200, 0.22);
	background: rgba(8, 14, 28, 0.45);
	color: inherit;
	padding: 0.65rem 0.8rem;
	font: inherit;
}

.cms-news-filter select:focus,
.cms-news-field input:focus,
.cms-news-field textarea:focus {
	outline: none;
	border-color: rgba(64, 150, 255, 0.55);
	box-shadow: 0 0 0 3px rgba(39, 136, 255, 0.18);
}

.cms-news-list {
	display: grid;
	gap: 0.55rem;
}

.cms-news-empty {
	margin: 0;
	padding: 1.25rem;
	border-radius: 14px;
	border: 1px dashed rgba(130, 160, 200, 0.28);
	opacity: 0.75;
}

.cms-news-row {
	display: flex;
	gap: 0.85rem;
	align-items: center;
	width: 100%;
	text-align: left;
	padding: 0.7rem 0.85rem;
	border-radius: 16px;
	border: 1px solid rgba(130, 160, 200, 0.14);
	background: rgba(10, 16, 30, 0.55);
	color: inherit;
	cursor: pointer;
	transition: border-color 0.18s ease, transform 0.18s ease, background 0.18s ease;
}

.cms-news-row:hover {
	border-color: rgba(94, 176, 255, 0.4);
	background: rgba(20, 36, 64, 0.55);
	transform: translateY(-1px);
}

.cms-news-row__thumb {
	width: 78px;
	height: 58px;
	object-fit: cover;
	border-radius: 10px;
	flex-shrink: 0;
}

.cms-news-row__placeholder {
	display: inline-flex;
	width: 78px;
	height: 58px;
	align-items: center;
	justify-content: center;
	font-size: 0.65rem;
	opacity: 0.55;
	border-radius: 10px;
	background: rgba(255, 255, 255, 0.04);
}

.cms-news-row__body {
	display: flex;
	flex-direction: column;
	gap: 0.25rem;
	min-width: 0;
	flex: 1;
}

.cms-news-row__body strong {
	font-size: 0.95rem;
	line-height: 1.35;
	font-weight: 650;
}

.cms-news-row__body small {
	opacity: 0.68;
	font-size: 0.78rem;
}

.cms-news-row__chev {
	opacity: 0.35;
	font-size: 1.35rem;
	line-height: 1;
}

.cms-news-card {
	display: grid;
	gap: 1rem;
}

.cms-news-card__top {
	display: flex;
	justify-content: space-between;
	align-items: center;
	gap: 0.75rem;
}

.cms-news-pill {
	display: inline-flex;
	align-items: center;
	padding: 0.35rem 0.7rem;
	border-radius: 999px;
	font-size: 0.75rem;
	background: rgba(39, 136, 255, 0.14);
	border: 1px solid rgba(94, 176, 255, 0.28);
}

.cms-news-card__grid {
	display: grid;
	grid-template-columns: 1fr 1fr;
	gap: 0.9rem 1rem;
	padding: 1rem;
	border-radius: 18px;
	background: linear-gradient(165deg, rgba(255, 255, 255, 0.045), rgba(255, 255, 255, 0.02));
	border: 1px solid rgba(130, 160, 200, 0.16);
}

.cms-news-field {
	display: grid;
	gap: 0.35rem;
	align-content: start;
}

.cms-news-field--full {
	grid-column: 1 / -1;
}

.cms-news-field--row {
	display: flex;
	flex-wrap: wrap;
	align-items: center;
	gap: 0.65rem;
}

.cms-news-field > span:first-child {
	font-size: 0.72rem;
	letter-spacing: 0.04em;
	text-transform: uppercase;
	opacity: 0.62;
	font-weight: 700;
}

.cms-news-field textarea {
	min-height: 12rem;
	resize: vertical;
	line-height: 1.5;
}

.cms-news-hint {
	margin: 0;
	font-size: 0.78rem;
	opacity: 0.62;
}

.cms-news-inline-link,
.cms-news-source-link {
	display: inline-block;
	margin-top: 0.2rem;
	font-size: 0.82rem;
	color: #8ec5ff;
	text-decoration: none;
}

.cms-news-tg-btn {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	min-height: 2.6rem;
	padding: 0.55rem 0.9rem;
	border-radius: 12px;
	border: 1px solid rgba(56, 189, 248, 0.35);
	background: rgba(14, 165, 233, 0.12);
	color: #7dd3fc;
	text-decoration: none;
	font-weight: 600;
}

.cms-news-tg-btn:hover {
	background: rgba(14, 165, 233, 0.2);
}

.cms-news-chips {
	display: flex;
	flex-wrap: wrap;
	gap: 0.45rem;
}

.cms-news-chip {
	appearance: none;
	border: 1px solid rgba(130, 160, 200, 0.28);
	background: rgba(255, 255, 255, 0.03);
	color: inherit;
	border-radius: 999px;
	padding: 0.45rem 0.8rem;
	font: inherit;
	font-size: 0.84rem;
	cursor: pointer;
	transition: background 0.15s ease, border-color 0.15s ease, color 0.15s ease;
}

.cms-news-chip:hover {
	border-color: rgba(94, 176, 255, 0.45);
}

.cms-news-chip.is-on {
	background: rgba(39, 136, 255, 0.22);
	border-color: rgba(94, 176, 255, 0.55);
	color: #fff;
	font-weight: 650;
}

.cms-news-chip.is-locked {
	cursor: default;
	opacity: 1;
}

.cms-news-chip.is-locked:hover {
	border-color: rgba(94, 176, 255, 0.55);
}

.cms-news-media {
	display: grid;
	grid-template-columns: repeat(auto-fill, minmax(140px, 1fr));
	gap: 0.65rem;
	margin-bottom: 0.65rem;
}

.cms-news-media__item {
	display: flex;
	flex-direction: column;
	gap: 0.35rem;
}

.cms-news-media__item img,
.cms-news-media__item video {
	width: 100%;
	max-height: 140px;
	object-fit: cover;
	border-radius: 10px;
	background: #000;
}

.cms-news-media__note {
	font-size: 0.75rem;
	padding: 0.5rem;
	border-radius: 8px;
	background: rgba(255, 193, 7, 0.08);
	border: 1px dashed rgba(255, 193, 7, 0.35);
}

.cms-news-media__remove {
	appearance: none;
	border: 0;
	background: transparent;
	color: #fca5a5;
	font-size: 0.78rem;
	cursor: pointer;
	text-align: left;
	padding: 0;
}

.cms-news-upload {
	display: inline-flex;
	align-items: center;
	gap: 0.5rem;
	padding: 0.45rem 0.75rem;
	border-radius: 10px;
	border: 1px dashed rgba(130, 160, 200, 0.35);
	font-size: 0.82rem;
	cursor: pointer;
}

.cms-news-upload input {
	max-width: 14rem;
}

.cms-news-card__footer {
	display: flex;
	flex-wrap: wrap;
	align-items: center;
	gap: 0.55rem;
	justify-content: space-between;
	padding-top: 0.35rem;
	position: relative;
}

.cms-news-footer-left,
.cms-news-footer-right {
	display: flex;
	flex-wrap: wrap;
	align-items: center;
	gap: 0.55rem;
}

.cms-news-footer-right {
	margin-left: auto;
}

.cms-news-link-btn {
	appearance: none;
	background: none;
	border: 0;
	padding: 0.35rem 0.15rem;
	font: inherit;
	font-weight: 600;
	font-size: 0.9rem;
	color: rgba(220, 230, 245, 0.88);
	cursor: pointer;
	text-decoration: none;
}

.cms-news-link-btn:hover {
	color: #fff;
}

.cms-news-schedule-wrap {
	position: relative;
}

.cms-news-schedule-btn {
	appearance: none;
	display: inline-flex;
	align-items: center;
	gap: 0.45rem;
	border-radius: 999px;
	padding: 0.58rem 1rem;
	font: inherit;
	font-weight: 650;
	cursor: pointer;
	border: 1px solid rgba(130, 160, 200, 0.28);
	background: rgba(255, 255, 255, 0.06);
	color: inherit;
}

.cms-news-schedule-btn.is-set {
	border-color: rgba(94, 176, 255, 0.45);
	background: rgba(39, 136, 255, 0.16);
	color: #cfe8ff;
}

.cms-news-schedule-btn__icon {
	flex: 0 0 auto;
	opacity: 0.9;
}

.cms-news-schedule-pop {
	position: absolute;
	right: 0;
	bottom: calc(100% + 10px);
	z-index: 40;
	width: min(320px, calc(100vw - 2rem));
	padding: 0.85rem;
	border-radius: 18px;
	border: 1px solid rgba(130, 160, 200, 0.28);
	background: #1a2230;
	box-shadow: 0 18px 40px rgba(0, 0, 0, 0.45);
}

.cms-news-schedule-pop__head {
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 0.5rem;
	margin-bottom: 0.55rem;
}

.cms-news-schedule-pop__title {
	font-weight: 700;
	font-size: 0.95rem;
}

.cms-news-schedule-nav {
	appearance: none;
	width: 2rem;
	height: 2rem;
	border-radius: 999px;
	border: 1px solid rgba(130, 160, 200, 0.25);
	background: rgba(255, 255, 255, 0.04);
	color: inherit;
	cursor: pointer;
	font-size: 1.1rem;
	line-height: 1;
}

.cms-news-schedule-weekdays,
.cms-news-schedule-grid {
	display: grid;
	grid-template-columns: repeat(7, 1fr);
	gap: 0.2rem;
}

.cms-news-schedule-weekdays {
	margin-bottom: 0.25rem;
	font-size: 0.72rem;
	opacity: 0.55;
	text-align: center;
}

.cms-news-cal-day {
	appearance: none;
	border: 0;
	background: transparent;
	color: inherit;
	border-radius: 10px;
	min-height: 2rem;
	font: inherit;
	font-size: 0.88rem;
	cursor: pointer;
}

.cms-news-cal-day.is-empty {
	pointer-events: none;
}

.cms-news-cal-day.is-today {
	box-shadow: inset 0 -2px 0 #5eb0ff;
}

.cms-news-cal-day.is-selected {
	background: rgba(59, 155, 255, 0.9);
	color: #fff;
	font-weight: 700;
}

.cms-news-cal-day:not(.is-empty):hover {
	background: rgba(255, 255, 255, 0.08);
}

.cms-news-schedule-time {
	display: flex;
	align-items: center;
	gap: 0.4rem;
	margin: 0.75rem 0 0.85rem;
}

.cms-news-schedule-time select {
	appearance: none;
	border-radius: 10px;
	border: 1px solid rgba(130, 160, 200, 0.28);
	background: rgba(0, 0, 0, 0.25);
	color: inherit;
	padding: 0.45rem 0.55rem;
	font: inherit;
}

.cms-news-schedule-queue {
	width: 100%;
	border-radius: 999px;
}

.cms-news-publish-modal__body {
	font-size: 0.95rem;
	line-height: 1.5;
	color: inherit;
}

.cms-news-publish-modal__lead {
	margin: 0 0 0.5rem;
	font-weight: 600;
}

.cms-news-publish-modal__cities {
	margin: 0 0 1rem;
	font-size: 1rem;
}

.cms-news-publish-modal__cities-label {
	font-weight: 650;
	opacity: 0.85;
}

.cms-news-publish-modal__actions {
	display: flex;
	flex-direction: column;
	gap: 0.65rem;
	margin: 0 0 0.25rem;
}

.cms-news-publish-modal__btn {
	display: flex;
	align-items: center;
	justify-content: center;
	text-align: center;
	text-decoration: none;
	box-sizing: border-box;
	width: 100%;
}

.cms-news-publish-modal__vk {
	margin: 0.85rem 0 0;
	padding-left: 1.15rem;
}

.cms-news-publish-modal__vk .is-bad {
	color: #fecaca;
}

.cms-news-publish-modal__vk .is-warn {
	color: #fde68a;
	font-weight: 500;
}

.cms-news-publish-modal.is-error .admin-edit-modal__title {
	color: #fecaca;
}

.cms-news-publish-modal.is-loading .admin-edit-modal__title {
	color: inherit;
}

.cms-news-publish-modal__loading {
	display: flex;
	flex-direction: column;
	align-items: center;
	justify-content: center;
	gap: 0.85rem;
	padding: 0.75rem 0 0.35rem;
	text-align: center;
}

.cms-news-publish-modal__spinner {
	width: 2.1rem;
	height: 2.1rem;
	border-radius: 50%;
	border: 3px solid rgba(130, 180, 255, 0.25);
	border-top-color: #3b9bff;
	animation: cms-news-spin 0.75s linear infinite;
}

@keyframes cms-news-spin {
	to {
		transform: rotate(360deg);
	}
}

.cms-news-primary-btn.is-busy {
	opacity: 0.82;
	cursor: wait;
}

body.light.cms-panel-page .cms-news-publish-modal__vk .is-bad {
	color: #b91c1c;
}

body.light.cms-panel-page .cms-news-primary-btn--soft {
	color: #0b5cab;
}


.cms-news-publish-status[hidden] {
	display: none;
}

.cms-news-publish-status.is-error {
	border-color: rgba(248, 113, 113, 0.35);
	background: rgba(248, 113, 113, 0.12);
	color: #fecaca;
}

.cms-news-ghost-btn,
.cms-news-primary-btn,
.cms-news-danger-btn {
	appearance: none;
	border-radius: 12px;
	padding: 0.6rem 1rem;
	font: inherit;
	font-weight: 650;
	cursor: pointer;
	border: 1px solid transparent;
}

.cms-news-ghost-btn {
	background: rgba(255, 255, 255, 0.04);
	border-color: rgba(130, 160, 200, 0.28);
	color: inherit;
}

.cms-news-primary-btn {
	background: linear-gradient(180deg, #3b9bff, #2076e8);
	color: #fff;
	border-color: rgba(80, 170, 255, 0.5);
	box-shadow: 0 8px 18px rgba(32, 118, 232, 0.28);
}

.cms-news-primary-btn--soft {
	background: rgba(39, 136, 255, 0.16);
	color: #9ecfff;
	border-color: rgba(94, 176, 255, 0.35);
	box-shadow: none;
}

.cms-news-danger-btn {
	background: rgba(239, 68, 68, 0.12);
	border-color: rgba(248, 113, 113, 0.35);
	color: #fca5a5;
}

@media (max-width: 900px) {
	.cms-news-card__grid {
		grid-template-columns: 1fr;
	}
}

/* ——— CMS light theme: readable contrast on all admin pages ——— */
body.light.cms-panel-page {
	--cms-accent: #0d84fb;
	--cms-line: rgba(30, 50, 80, 0.12);
	--cms-surface: #ffffff;
	--cms-surface-strong: #f7fafc;
	--cms-border: rgba(30, 50, 80, 0.14);
	--cms-shadow: 0 10px 28px rgba(30, 55, 90, 0.08);
	color: #243447 !important;
	background:
		radial-gradient(ellipse 48% 28% at 18% 0%, rgba(13, 132, 251, 0.1), transparent 72%),
		#e8eef6 !important;
}

body.light.cms-panel-page .cms-panel-top {
	background: rgba(255, 255, 255, 0.92);
	border-color: var(--cms-border);
	box-shadow: 0 8px 24px rgba(30, 55, 90, 0.08);
	color: #1c2430;
}

body.light.cms-panel-page .cms-panel-top__meta strong,
body.light.cms-panel-page .cms-panel-top__meta,
body.light.cms-panel-page .cms-nav__intro strong,
body.light.cms-panel-page .cms-panel-card__head h1,
body.light.cms-panel-page .cms-panel-card__title {
	color: #152033 !important;
}

body.light.cms-panel-page .cms-panel-top__eyebrow,
body.light.cms-panel-page .cms-nav__label,
body.light.cms-panel-page .cms-panel-card__eyebrow,
body.light.cms-panel-page .cms-panel-tabs__group,
body.light.cms-panel-page .cms-panel-card__lead,
body.light.cms-panel-page .text-muted,
body.light.cms-panel-page .cms-editor-section__hint,
body.light.cms-panel-page .cms-articles-form-hint,
body.light.cms-panel-page .cms-articles-empty,
body.light.cms-panel-page .cms-news-hint {
	color: #3f5168 !important;
}

body.light.cms-panel-page .cms-nav,
body.light.cms-panel-page .cms-panel-card,
body.light.cms-panel-page .glass-panel {
	background: #ffffff !important;
	border-color: var(--cms-border) !important;
	box-shadow: var(--cms-shadow);
	color: #243447;
}

body.light.cms-panel-page .cms-panel-card__head {
	background: #f5f8fc;
	border-bottom-color: rgba(30, 50, 80, 0.1);
}

body.light.cms-panel-page .cms-panel-tabs__btn {
	color: #3a4d66 !important;
	background: transparent;
}

body.light.cms-panel-page .cms-panel-tabs__btn small {
	color: #6a7c94 !important;
}

body.light.cms-panel-page .cms-panel-tabs__btn:hover {
	background: #f0f5fb;
	border-color: rgba(13, 132, 251, 0.2);
	color: #152033 !important;
}

body.light.cms-panel-page .cms-panel-tabs__btn.is-active {
	background: linear-gradient(100deg, rgba(13, 132, 251, 0.12), rgba(13, 132, 251, 0.04));
	border-color: rgba(13, 132, 251, 0.35);
	color: #0b5fad !important;
	box-shadow: none;
}

body.light.cms-panel-page .cms-panel-tabs__btn.is-active small {
	color: #3d6fa0 !important;
}

body.light.cms-panel-page .cms-panel-tabs__icon {
	background: #f0f5fb;
	border-color: rgba(30, 50, 80, 0.12);
	color: #0d84fb;
}

body.light.cms-panel-page .cms-panel-tabs__btn.is-active .cms-panel-tabs__icon {
	background: rgba(13, 132, 251, 0.14);
	border-color: rgba(13, 132, 251, 0.28);
	color: #0b5fad;
}

body.light.cms-panel-page .cms-field > span,
body.light.cms-panel-page .cms-news-field > span:first-child,
body.light.cms-panel-page .cms-news-filter span,
body.light.cms-panel-page .cms-editor-section h3,
body.light.cms-panel-page .cms-login-form label span {
	color: #2f4056 !important;
	opacity: 1 !important;
	font-weight: 700;
}

body.light.cms-panel-page .cms-field input,
body.light.cms-panel-page .cms-field textarea,
body.light.cms-panel-page .cms-field select,
body.light.cms-panel-page .cms-articles-search,
body.light.cms-panel-page .cms-rich-editor,
body.light.cms-panel-page .cms-news-filter select,
body.light.cms-panel-page .cms-news-field input,
body.light.cms-panel-page .cms-news-field textarea,
body.light.cms-panel-page .cms-login-form input {
	background: #ffffff !important;
	border-color: rgba(30, 50, 80, 0.18) !important;
	color: #152033 !important;
}

body.light.cms-panel-page .cms-field input::placeholder,
body.light.cms-panel-page .cms-field textarea::placeholder,
body.light.cms-panel-page .cms-news-field input::placeholder,
body.light.cms-panel-page .cms-news-field textarea::placeholder {
	color: #8a97a8;
}

body.light.cms-panel-page .cms-post-picker__hint,
body.light.cms-panel-page .cms-post-picker__empty,
body.light.cms-panel-page .cms-post-picker__loading,
body.light.cms-panel-page .cms-post-picker__pos,
body.light.cms-panel-page .cms-post-picker__sub,
body.light.cms-panel-page .cms-editor-section__hint {
	color: #3f5168 !important;
	opacity: 1 !important;
}

body.light.cms-panel-page .cms-post-picker__label,
body.light.cms-panel-page .cms-post-picker__result strong {
	color: #122033 !important;
}

body.light.cms-panel-page .cms-post-picker__results {
	background: #f3f7fc;
	border-color: rgba(30, 50, 80, 0.14);
}

body.light.cms-panel-page .cms-post-picker__result {
	background: #ffffff;
	border: 1px solid rgba(30, 50, 80, 0.1);
}

body.light.cms-panel-page .cms-post-picker__result:hover {
	background: #f8fbff;
	border-color: rgba(13, 132, 251, 0.28);
}

body.light.cms-panel-page .cms-post-picker__thumb-placeholder {
	background: #e8eef6;
	color: #5a6b82;
}

body.light.cms-panel-page .cms-post-picker__card {
	background: #ffffff !important;
	border-color: rgba(30, 50, 80, 0.12) !important;
}

body.light.cms-panel-page .cms-item-card,
body.light.cms-panel-page .cms-articles-row,
body.light.cms-panel-page .cms-sublist,
body.light.cms-panel-page .cms-sublist__item,
body.light.cms-panel-page .cms-editor-section,
body.light.cms-panel-page .cms-post-picker,
body.light.cms-panel-page .cms-media-field__preview {
	background: #f7fafc !important;
	border-color: rgba(30, 50, 80, 0.12) !important;
	color: #243447;
}

body.light.cms-panel-page .cms-item-card:hover,
body.light.cms-panel-page .cms-articles-row:hover {
	background: #ffffff !important;
	border-color: rgba(13, 132, 251, 0.3) !important;
}

body.light.cms-panel-page .cms-articles-row__meta,
body.light.cms-panel-page .cms-articles-row__slug,
body.light.cms-panel-page .cms-post-picker__loading {
	color: #5a6b82 !important;
}

body.light.cms-panel-page .cms-media-field__preview span {
	color: #6a7c94;
}

/* Incoming news — light */
body.light.cms-panel-page .cms-news-toolbar {
	background: #f5f8fc;
	border-color: rgba(30, 50, 80, 0.12);
}

body.light.cms-panel-page .cms-news-row {
	background: #ffffff !important;
	border-color: rgba(30, 50, 80, 0.12) !important;
	color: #152033 !important;
	box-shadow: 0 2px 10px rgba(30, 55, 90, 0.04);
}

body.light.cms-panel-page .cms-news-row:hover {
	background: #f8fbff !important;
	border-color: rgba(13, 132, 251, 0.35) !important;
}

body.light.cms-panel-page .cms-news-row__body strong {
	color: #122033 !important;
}

body.light.cms-panel-page .cms-news-row__body small,
body.light.cms-panel-page .cms-news-row__chev {
	color: #5a6b82 !important;
	opacity: 1;
}

body.light.cms-panel-page .cms-news-row__placeholder {
	background: #eef3f9;
	color: #6a7c94;
}

body.light.cms-panel-page .cms-news-empty {
	background: #f7fafc;
	border-color: rgba(30, 50, 80, 0.18);
	color: #5a6b82;
}

body.light.cms-panel-page .cms-news-card__grid {
	background: #ffffff;
	border-color: rgba(30, 50, 80, 0.12);
}

body.light.cms-panel-page .cms-news-pill {
	background: rgba(13, 132, 251, 0.1);
	border-color: rgba(13, 132, 251, 0.28);
	color: #0b5fad;
}

body.light.cms-panel-page .cms-news-chip {
	background: #ffffff;
	border-color: rgba(30, 50, 80, 0.18);
	color: #243447;
}

body.light.cms-panel-page .cms-news-chip:hover {
	border-color: rgba(13, 132, 251, 0.4);
}

body.light.cms-panel-page .cms-news-chip.is-on {
	background: rgba(13, 132, 251, 0.12);
	border-color: rgba(13, 132, 251, 0.45);
	color: #0b5fad;
}

body.light.cms-panel-page .cms-news-ghost-btn {
	background: #ffffff;
	border-color: rgba(30, 50, 80, 0.18);
	color: #243447;
}

body.light.cms-panel-page .cms-news-primary-btn--soft {
	background: rgba(13, 132, 251, 0.1);
	border-color: rgba(13, 132, 251, 0.3);
	color: #0b5fad;
}

body.light.cms-panel-page .cms-news-danger-btn {
	background: rgba(220, 38, 38, 0.08);
	border-color: rgba(220, 38, 38, 0.28);
	color: #b91c1c;
}

body.light.cms-panel-page .cms-news-link-btn {
	color: #3a4d66;
}

body.light.cms-panel-page .cms-news-link-btn:hover {
	color: #152033;
}

body.light.cms-panel-page .cms-news-schedule-btn {
	background: #eef3f9;
	border-color: rgba(30, 50, 80, 0.16);
	color: #243447;
}

body.light.cms-panel-page .cms-news-schedule-btn.is-set {
	background: rgba(13, 132, 251, 0.12);
	border-color: rgba(13, 132, 251, 0.35);
	color: #0b5fad;
}

body.light.cms-panel-page .cms-news-schedule-pop {
	background: #ffffff;
	border-color: rgba(30, 50, 80, 0.14);
	box-shadow: 0 16px 36px rgba(30, 55, 90, 0.16);
	color: #243447;
}

body.light.cms-panel-page .cms-news-schedule-nav,
body.light.cms-panel-page .cms-news-schedule-time select {
	background: #f4f7fb;
	border-color: rgba(30, 50, 80, 0.16);
	color: #243447;
}

body.light.cms-panel-page .cms-news-cal-day:not(.is-empty):hover {
	background: rgba(13, 132, 251, 0.08);
}

body.light.cms-panel-page .cms-news-publish-status {
	background: rgba(22, 163, 74, 0.1);
	border-color: rgba(22, 163, 74, 0.28);
	color: #166534;
}

body.light.cms-panel-page .cms-news-publish-status.is-error {
	background: rgba(220, 38, 38, 0.08);
	border-color: rgba(220, 38, 38, 0.28);
	color: #991b1b;
}

body.light.cms-panel-page .cms-news-tg-btn {
	background: rgba(14, 165, 233, 0.1);
	border-color: rgba(14, 165, 233, 0.35);
	color: #0369a1;
}

body.light.cms-panel-page .cms-news-inline-link,
body.light.cms-panel-page .cms-news-source-link {
	color: #0d5cbd;
}

body.light.cms-panel-page .cms-news-upload {
	background: #f7fafc;
	border-color: rgba(30, 50, 80, 0.2);
	color: #3a4d66;
}

body.light.cms-panel-page .cms-news-media__note {
	background: rgba(245, 158, 11, 0.1);
	border-color: rgba(217, 119, 6, 0.35);
	color: #92400e;
}

body.light.cms-panel-page .cms-news-media__remove {
	color: #b91c1c;
}

body.light.cms-panel-page .btn-outline-secondary,
body.light.cms-panel-page .btn-outline-primary,
body.light.cms-panel-page .btn-outline-danger {
	background: #ffffff;
}

body.light.cms-panel-page .btn-outline-secondary {
	border-color: rgba(30, 50, 80, 0.18);
	color: #35485e;
}

body.light.cms-panel-page .cms-login-form,
body.light.cms-panel-page #cmsLoginGate .glass-panel {
	background: #ffffff !important;
	color: #243447;
}

body.light.cms-panel-page .cms-form-error {
	color: #b91c1c;
}

body.light.cms-panel-page .cms-save-status {
	color: #15803d;
}

body.light.cms-panel-page .cms-save-status.is-error {
	color: #b91c1c;
}

body.light.cms-panel-page .cms-proposals-tab-badge,
body.light.cms-panel-page .admin-badge {
	color: #0b5fad;
}

/* CMS: users tab */
.cms-users-toolbar {
	display: flex;
	flex-wrap: wrap;
	align-items: center;
	justify-content: space-between;
	gap: 0.75rem;
	margin-bottom: 0.35rem;
}
.cms-users-search {
	display: flex;
	flex-wrap: wrap;
	align-items: center;
	gap: 0.45rem;
	flex: 1 1 240px;
}
.cms-users-search__input {
	min-width: min(100%, 220px);
	max-width: 320px;
	margin: 0;
}
.cms-users-count {
	margin: 0;
	opacity: 0.78;
	font-size: 0.92rem;
}
.cms-users-card__main {
	display: flex;
	gap: 0.85rem;
	align-items: flex-start;
}
.cms-users-card__avatar {
	width: 48px;
	height: 48px;
	border-radius: 50%;
	object-fit: cover;
	flex: 0 0 auto;
	background: rgba(120, 144, 177, 0.18);
}
.cms-users-card__avatar--lg {
	width: 72px;
	height: 72px;
}
.cms-users-card__avatar--empty {
	display: inline-block;
}
.cms-users-card__name {
	margin: 0 0 0.25rem;
	font-size: 1.05rem;
}
.cms-users-card__badge {
	display: inline-block;
	margin-left: 0.35rem;
	padding: 0.1rem 0.4rem;
	border-radius: 999px;
	font-size: 0.72rem;
	font-weight: 700;
	vertical-align: middle;
	background: rgba(29, 143, 255, 0.18);
	color: #7ec4ff;
}
body.light .cms-users-card__badge {
	color: #0b5fad;
	background: rgba(13, 132, 251, 0.12);
}
.cms-users-card__dates,
.cms-users-card__stats {
	display: flex;
	flex-wrap: wrap;
	gap: 0.35rem 1rem;
	margin: 0.35rem 0 0;
	font-size: 0.9rem;
}
.cms-users-pager {
	display: flex;
	flex-wrap: wrap;
	align-items: center;
	justify-content: space-between;
	gap: 0.65rem;
	margin-top: 1rem;
}
.cms-users-pager__btns {
	display: flex;
	gap: 0.45rem;
}
.cms-users-detail__head {
	display: flex;
	gap: 0.9rem;
	align-items: flex-start;
	margin-bottom: 1rem;
}
.cms-users-detail__section {
	margin: 1rem 0 0.4rem;
	font-size: 0.98rem;
}
.cms-users-detail__list {
	margin: 0;
	padding-left: 1.1rem;
}
.cms-users-detail__list li {
	margin: 0.25rem 0;
}

/* Legal + cookie consent */
.legal-doc {
	padding: 1.25rem 1.35rem 1.5rem;
	line-height: 1.55;
}
.legal-doc__lead {
	font-size: 1.02rem;
	opacity: 0.92;
}
.legal-doc h2 {
	margin-top: 1.35rem;
	margin-bottom: 0.55rem;
	font-size: 1.12rem;
}
.legal-doc ul {
	padding-left: 1.2rem;
}
.legal-side-links li {
	margin: 0.45rem 0;
}
.cookie-banner {
	position: fixed;
	left: 0;
	right: 0;
	bottom: 0;
	/* Ниже тапбара (999) и сайдбара — иначе «Услуги / тема / i» не кликаются */
	z-index: 980;
	padding: 0.85rem 1rem calc(0.85rem + env(safe-area-inset-bottom, 0px));
	pointer-events: none;
	opacity: 0;
	transform: translateY(12px);
	transition: opacity 0.25s ease, transform 0.25s ease;
}
.cookie-banner.is-open {
	opacity: 1;
	transform: translateY(0);
}
.cookie-banner__panel {
	max-width: 920px;
	margin: 0 auto;
	display: flex;
	flex-wrap: wrap;
	align-items: center;
	justify-content: space-between;
	gap: 0.85rem 1rem;
	padding: 0.95rem 1.05rem;
	pointer-events: auto;
}
.cookie-banner__text {
	margin: 0;
	flex: 1 1 280px;
	font-size: 0.92rem;
	line-height: 1.45;
}
.cookie-banner__actions {
	display: flex;
	flex-wrap: wrap;
	gap: 0.45rem;
}
/* Выше полосы тапбара */
body.has-tabbar .cookie-banner {
	bottom: calc(var(--crimea-tabbar-clearance) + 10px);
	padding-bottom: 0.85rem;
}
body.has-tabbar.crimea-mobile-tabbar .cookie-banner {
	bottom: calc(var(--crimea-tabbar-clearance) + 12px);
}
/* Десктоп: не наезжать на левое меню (Услуги / тема / i) */
@media (min-width: 768px) {
	body.has-tabbar .sidebar-desktop {
		z-index: 1000 !important;
	}
	body.has-tabbar .cookie-banner {
		left: var(--appstorrent-sidebar-w);
		padding-left: 1rem;
	}
	body.has-tabbar .cookie-banner__panel {
		margin-left: 0;
		margin-right: auto;
		max-width: min(920px, 100%);
	}
}
