.s-heading.active {display: block}

body header.with-border .top-line {
	padding-top: 20px;
	padding-bottom: 20px;
}

/* Пресс-центр: скрыть ссылку "СМИ о нас" в подменю, сам пункт меню не трогаем — на нём держится .shl-list и фильтр "Рубрики" */
.shl-list ul li:has(a[href="/press/media/"]) { display: none; }

/* Контакты: выше специфичность, чтобы перебить main.min.css (грузится последним, в footer.php) */
.s-header-line:has(~ .s-contacts-page) { border-bottom: none; }
body .s-contacts-page { padding-top: 75px; }

/* Футер: иконки соцсетей перекрывались соседним блоком */
body footer .ft-middle-line .ft-ml-middle .soc-icon { z-index: 9; }

/* «Предложить проект» в шапке — шрифт как у пунктов меню, цвет фирменный красный.
   Иконка-плюс: показываем красный hover-вариант (i1_h.png) постоянно вместо серого. */
body header .top-line .tl-right .tlr-prj {
	font-size: 16px;
	font-family: "Open Sans", sans-serif;
	font-weight: 600;
	color: #f83854;
}
body header .top-line .tl-right .tlr-prj::before { opacity: 0; }
body header .top-line .tl-right .tlr-prj::after { opacity: 1; }

/* Шапка: логотип к левому краю (был отступ 7.4% от ширины экрана),
   меню занимает всё свободное место и центрируется между логотипом и правым блоком */
body header .top-line {
	padding-left: 20px;
}
/* только десктоп: на ≤1100px десктопное меню скрыто, display его бы вернул */
@media (min-width: 1101px) {
	body header .top-line .tl-center {
		flex: 1;
		display: flex;
		justify-content: center;
	}
}

/* ==========================================================
   Новое мобильное меню — ≤1100px, там же где включается бургер.
   Десктопная мега-плитка (.mm-left/.mm-solo-block/.mm-middle) не трогается:
   :has() страхует от срабатывания, если .mnu-mob в разметке нет.
   ========================================================== */
.mnu-mob { display: none; }

@media (max-width: 1100px) {
	.main-mnu:has(.mnu-mob) > .my-container.flex { display: none; }

	.mnu-mob {
		--mnu-bg: #0E1729;
		--mnu-line: #23304C;
		--mnu-muted: #9AA3B8;
		--mnu-dim: #6C7794;
		--mnu-red: #F0374E;

		display: none;
		flex-direction: column;
		position: fixed;
		inset: 0;
		z-index: 1000;
		height: 100dvh;
		background: var(--mnu-bg);
		overflow: hidden;
		overscroll-behavior: none;
		touch-action: none;
		-webkit-tap-highlight-color: transparent;
	}

	.main-mnu.active .mnu-mob { display: flex; }

	.mnu-mob__top {
		flex: none;
		display: flex;
		align-items: center;
		justify-content: space-between;
		padding: 10px 20px;
		border-bottom: 1px solid var(--mnu-line);
	}

	.mnu-mob__logo { display: block; line-height: 0; }
	.mnu-mob__logo img { display: block; height: 40px; width: auto; }

	/* шапка на мобилке — отступы и высота логотипа как в бургер-меню */
	body header.with-border .top-line {
		padding: 10px 20px;
	}

	/* ширина задана явно (логотип 157x54), иначе до загрузки картинки шапка ниже и прыгает */
	body header .top-line .tl-logo img { height: 40px; width: 116px; }

	/* Бургер: снимаем padding библиотеки, бокс держим родным (24px = центр иконки),
	   top опускает иконку на глаз — по центру строки она смотрится выше логотипа. */
	body header .top-line .tl-right .hamburger {
		display: flex !important;
		align-items: center;
		height: auto !important;
		padding: 0 !important;
		margin-left: 15px;
		position: relative;
		top: 9px;
	}

	body header .top-line .tl-right .hamburger .hamburger-box {
		display: block;
		height: 24px;
	}

	.mnu-mob__close {
		flex: none;
		border: 0;
		background: none;
		padding: 6px;
		margin: -6px;
		cursor: pointer;
		line-height: 0;
	}

	.mnu-mob__close svg {
		display: block;
		width: 24px; height: 24px;
		stroke: #fff; fill: none;
		stroke-width: 2; stroke-linecap: round;
	}

	.mnu-mob__nav {
		flex: 1 1 auto;
		min-height: 0;
		overflow-y: auto;
		-webkit-overflow-scrolling: touch;
		overscroll-behavior: contain;
		touch-action: pan-y;
		padding: 8px 20px 0;
	}

	.mnu-mob__list {
		margin: 0;
		padding: 0;
		list-style: none;
		counter-reset: mnu;
	}

	.mnu-mob__link {
		display: flex;
		align-items: center;
		gap: 16px;
		padding: 18px 0;
		border-bottom: 1px solid var(--mnu-line);
		font-size: 20px;
		font-weight: 700;
		color: #fff;
		text-decoration: none;
		transition: color .2s;
	}

	.mnu-mob__link:active,
	.mnu-mob__link.is-current { color: var(--mnu-red); }

	.mnu-mob__link::before {
		counter-increment: mnu;
		content: '0' counter(mnu);
		flex: none;
		width: 16px;
		font-size: 11px;
		font-weight: 400;
		color: var(--mnu-red);
	}

	.mnu-mob__btm {
		flex: none;
		margin-top: auto;
		padding: 20px;
		border-top: 1px solid var(--mnu-line);
	}

	.mnu-mob__cta {
		display: flex;
		align-items: center;
		justify-content: center;
		gap: 9px;
		padding: 14px;
		background: var(--mnu-red);
		color: #fff;
		font-size: 15px;
		text-decoration: none;
	}

	.mnu-mob__cta svg {
		flex: none;
		width: 18px; height: 18px;
		stroke: currentColor; fill: none;
		stroke-width: 2; stroke-linecap: round; stroke-linejoin: round;
	}

	.mnu-mob__phones {
		display: flex;
		align-items: baseline;
		justify-content: space-between;
		gap: 12px;
		margin-top: 18px;
	}

	.mnu-mob__tel {
		font-size: 16px; font-weight: 700;
		color: #fff;
		text-decoration: none;
	}

	.mnu-mob .mnu-mob__fax {
		font-size: 12px;
		font-weight: 400;
		color: var(--mnu-dim);
		text-decoration: none;
	}

	.mnu-mob__mail {
		display: inline-block;
		margin-top: 6px;
		font-size: 13px;
		color: var(--mnu-red);
		text-decoration: none;
	}

	.mnu-mob__foot {
		display: flex;
		align-items: center;
		justify-content: space-between;
		gap: 12px;
		margin-top: 18px;
	}

	.mnu-mob__soc {
		flex: none;
		display: flex;
		gap: 19px;
	}

	.mnu-mob__soc .soc-icon {
		width: 24px;
		height: 24px;
		display: inline-block;
		position: relative;
		margin: 0;
	}

	.mnu-mob__soc .soc-icon::before {
		content: "";
		position: absolute;
		left: 0; top: 0;
		width: 100%; height: 100%;
		background-repeat: no-repeat;
		background-position: 50% 50%;
		background-size: contain;
	}

	.mnu-mob__soc .soc-icon.vk::before { background-image: url(/img/i9.png); }
	.mnu-mob__soc .soc-icon.tg::before { background-image: url(/img/tg.png); }
	.mnu-mob__soc .soc-icon.mx::before { background-image: url(/img/max.svg); }

	.mnu-mob__copy {
		font-size: 10px;
		line-height: 1.5;
		color: var(--mnu-dim);
		text-align: right;
	}

	.mnu-mob__copy a { color: inherit; text-decoration: none; }
}

@media (max-width: 1100px) and (max-height: 700px) {
	.mnu-mob__link { padding: 14px 0; font-size: 18px; }
	.mnu-mob__btm { padding: 16px 20px; }
	.mnu-mob__phones { margin-top: 14px; }
	.mnu-mob__foot { margin-top: 14px; }
}

/* Баннер "Приближаем будущее" (страница О Фонде) */
.about-banner {
	position: relative;
}

.about-banner .ab-img {
	display: block;
	width: 100%;
	height: auto;
	aspect-ratio: 16 / 6;
	object-fit: cover;
	object-position: center;
}

.about-banner .ab-content {
	position: absolute;
	left: 58%;
	top: 37%;
	right: 2%;
}

.about-banner .ab-hdr {
	display: block;
	color: #fff;
	text-transform: uppercase;
	font-family: "CirceExtraBold", sans-serif;
	font-size: 5vw;
	line-height: 6vw;
}

.about-banner .ab-btn {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	gap: 10px;
	margin-top: 10.5vw;
	padding: 20px 36px 24px;
	background: #E54B59;
	border-radius: 30px;
	color: #fff;
	font-size: 16px;
	line-height: 15px;
	font-family: "CirceRegular", sans-serif;
	text-decoration: none;
	transition: background .3s;
}

.about-banner .ab-btn:hover {
	background: #d13d4b;
	color: #fff;
}

@media (max-width: 767px) {
	.about-banner .ab-img {
		height: 420px;
		object-fit: cover;
		object-position: center;
	}

	.about-banner .ab-content {
		left: 20px;
		right: 20px;
		top: auto;
		bottom: 30px;
	}

	.about-banner .ab-hdr {
		font-size: 30px;
		line-height: 34px;
	}

	.about-banner .ab-btn {
		margin-top: 18px;
		padding: 12px 24px 14px;
		font-size: 13px;
		line-height: 14px;
	}
}

/* Мобильный баннер "Приближаем будущее" (страница О Фонде) */
@media (max-width: 480px) {
	.about-banner-mob .ab-img {
		display: none;
	}

	.about-banner-mob {
		height: 133.33vw;
		background: url('/img/main_about_mob.jpg') center / cover no-repeat;
	}

	.about-banner-mob .ab-content {
		left: 16px;
		right: 16px;
		bottom: 24px;
	}

	/* !important: перебивает инлайновый .ab-hdr.ab-hdr-new (4.27vw) в index__.php — та же специфичность, но он подключён позже по каскаду */
	.about-banner-mob .ab-hdr.ab-hdr-new {
		font-size: 32px !important;
		line-height: 33px !important;
		letter-spacing: -0.05em;
	}
}

/* Мобильный баннер "Начните работать с нами" (страница Предложить проект) */
@media (max-width: 480px) {
	.about-banner-mob-partner .ab-img {
		display: none;
	}

	.about-banner-mob-partner {
		height: 133.33vw;
		background: url('/img/fpi_banner2_mob.jpg') center / cover no-repeat;
	}

	.about-banner-mob-partner .ab-content {
		left: 16px;
		right: 16px;
		bottom: 24px;
	}

	/* !important: перебивает инлайновый .ab-hdr.ab-hdr-new (4.27vw) в partnership/add-project/index__.php */
	.about-banner-mob-partner .ab-hdr.ab-hdr-new {
		font-size: 32px !important;
		line-height: 33px !important;
		letter-spacing: -0.05em;
	}
}

/* Блок с цитатами (страница О Фонде) — подтянуть ближе к тексту над ним */
.srs-about {
	margin-top: -20px;
}

/* Фикс контейнера на этой странице: main.min.css грузится последним в footer.php
   и его правило .my-container{max-width:100%} перебивает более узкие 1660px
   из project.css/direction.css (которые на этой странице не подключены вовсе).
   div.my-container специфичнее плоского .my-container — выигрывает всегда. */
div.my-container {
	max-width: 1660px;
	margin: 0 auto;
}

/* ============================================================
   Блоки "Центры Фонда" / "Органы управления" / "Документы" — v3
   Единая система .fpi-section (чередование серый/белый фон),
   контейнер внутри секции (.fpi-section__inner) — max-width:1416px.
   Шрифты — сайтовые: CirceExtraBold / RobotoMedium / RobotoLight.
   ============================================================ */

.fpi-section { padding: 60px 0; font-family: "RobotoLight", sans-serif; }
.fpi-section--grey { background: #F6F7F9; }

.fpi-section__inner {
	max-width: 1416px;
	margin: 0 auto;
	padding: 0 15px;
	box-sizing: border-box;
}

.fpi-section__title {
	margin: 0 0 30px;
	font-size: 32px;
	font-weight: normal;
	font-family: "CirceExtraBold", sans-serif;
	color: #f83854;
}

.fpi-section__head {
	display: flex;
	align-items: baseline;
	justify-content: space-between;
	gap: 20px;
	margin-bottom: 30px;
}

.fpi-section__head .fpi-section__title { margin-bottom: 0; }

.fpi-section__all {
	display: inline-flex;
	align-items: center;
	gap: 7px;
	font-size: 15px;
	font-family: "RobotoMedium", sans-serif;
	color: #f83854;
	text-decoration: none;
	white-space: nowrap;
}

.fpi-section__all svg {
	width: 16px; height: 16px;
	stroke: currentColor; fill: none;
	stroke-width: 2; stroke-linecap: round; stroke-linejoin: round;
	transition: transform .2s;
}

.fpi-section__all:hover svg { transform: translateX(3px); }

/* ---- Центры Фонда ---- */

.fpi-centers__grid {
	display: grid;
	grid-template-columns: repeat(3, minmax(0, 1fr));
	gap: 20px;
}

.fpi-centers__card {
	display: flex;
	flex-direction: column;
	width: 100%;
	padding: 24px;
	background: #fff;
	border: 1px solid #E7E9EE;
	text-align: left;
	font: inherit;
	cursor: pointer;
	position: relative;
	transition: border-color .2s;
	-webkit-tap-highlight-color: transparent;
	box-sizing: border-box;
}

.fpi-centers__card:hover { border-color: #C9CDD6; }
.fpi-centers__card.is-active { border-color: #16223F; }

.fpi-centers__card:focus-visible {
	outline: 2px solid #16223F;
	outline-offset: 3px;
}

.fpi-centers__card.is-active::after {
	content: '';
	position: absolute;
	left: 50%;
	bottom: -21px;
	transform: translateX(-50%);
	border: 10px solid transparent;
	border-bottom: 0;
	border-top: 10px solid #16223F;
}

.fpi-centers__icon {
	display: flex;
	align-items: center;
	justify-content: center;
	width: 64px;
	height: 64px;
	background: #27314E;
	flex: none;
}

.fpi-centers__icon svg,
.fpi-centers__icon img {
	width: 32px;
	height: 32px;
	stroke: #f83854;
	fill: none;
	stroke-width: 2;
	stroke-linecap: round;
	stroke-linejoin: round;
}

.fpi-centers__name {
	display: block;
	margin: 20px 0 0;
	font-size: 18px;
	font-family: "RobotoMedium", sans-serif;
	line-height: 1.35;
	color: #16223F;
	transition: color .2s;
}

.fpi-centers__card.is-active .fpi-centers__name { color: #f83854; }

.fpi-centers__toggle {
	display: flex;
	align-items: center;
	gap: 7px;
	margin-top: auto;
	padding-top: 20px;
	font-size: 14px;
	color: #8A90A0;
	transition: color .2s;
}

.fpi-centers__card:hover .fpi-centers__toggle,
.fpi-centers__card.is-active .fpi-centers__toggle { color: #f83854; }

.fpi-centers__toggle svg {
	width: 14px;
	height: 14px;
	stroke: currentColor;
	fill: none;
	stroke-width: 2;
	stroke-linecap: round;
	flex: none;
	transition: transform .25s;
}

.fpi-centers__card.is-active .fpi-centers__toggle svg { transform: rotate(180deg); }

.fpi-centers__source { display: none; }

.fpi-centers__detail {
	grid-column: 1 / -1;
	overflow: hidden;
	background: #fff;
	border-left: 3px solid #f83854;
	max-height: 0;
	transition: max-height .3s ease;
}

.fpi-centers__detail[hidden] { display: none; }

.fpi-centers__detail-inner { padding: 26px 30px; }

.fpi-centers__detail-title {
	margin: 0 0 12px;
	font-size: 20px;
	font-family: "RobotoMedium", sans-serif;
	color: #16223F;
}

.fpi-centers__detail-text {
	font-size: 15px;
	line-height: 1.75;
	color: #3C4356;
}

.fpi-centers__detail-text p { margin: 0 0 12px; }
.fpi-centers__detail-text p:last-child { margin-bottom: 0; }

/* ---- Органы управления (табы) ---- */

.fpi-gov__tabs {
	display: flex;
	align-items: flex-end;
	gap: 30px;
	border-bottom: 1px solid #E7E9EE;
	margin-bottom: 30px;
	overflow-x: auto;
	-webkit-overflow-scrolling: touch;
	scrollbar-width: none;
}

.fpi-gov__tabs::-webkit-scrollbar { display: none; }

.fpi-gov__tab {
	padding: 0 0 14px;
	border: 0; background: none;
	font: inherit; font-size: 16px;
	font-family: "RobotoMedium", sans-serif;
	color: #8A90A0;
	cursor: pointer;
	white-space: nowrap;
	border-bottom: 2px solid transparent;
	margin-bottom: -1px;
	transition: color .2s;
}

.fpi-gov__tab:hover { color: #16223F; }
.fpi-gov__tab:focus-visible { outline: 2px solid #16223F; outline-offset: 3px; }

.fpi-gov__tab.is-active {
	color: #16223F;
	border-bottom-color: #f83854;
}

.fpi-gov__count {
	margin-left: auto;
	padding-bottom: 14px;
	font-size: 13px;
	color: #B4B8C4;
	white-space: nowrap;
}

.fpi-gov__panel[hidden] { display: none; }

.fpi-gov__people {
	display: grid;
	grid-template-columns: repeat(2, minmax(0, 1fr));
	gap: 0 40px;
}

.fpi-gov__people--single { grid-template-columns: 1fr; }

.fpi-gov__person {
	display: flex;
	gap: 16px;
	padding: 16px 0;
	border-bottom: 1px solid #F0F1F4;
}

.fpi-gov__photo {
	flex: none;
	width: 165px; height: 200px;
	background: #E7E9EE;
	object-fit: cover;
	object-position: top center;
}

.fpi-gov__person--lead { padding: 24px; background: #F6F7F9; border-bottom: 0; }
.fpi-gov__person--lead .fpi-gov__photo { width: 288px; height: 354px; }

.fpi-gov__fio {
	font-size: 15px;
	font-family: "RobotoMedium", sans-serif;
	line-height: 1.35;
	color: #16223F;
}

.fpi-gov__person--lead .fpi-gov__fio { font-size: 19px; }

.fpi-gov__post {
	font-size: 13px;
	font-family: "RobotoLight", sans-serif;
	line-height: 1.55;
	color: #8A90A0;
	margin-top: 5px;
}

.fpi-gov__person--lead .fpi-gov__post { font-size: 14px; max-width: 380px; }

.fpi-gov__chair {
	display: inline-block;
	margin-top: 6px;
	font-size: 11px;
	letter-spacing: .5px;
	color: #f83854;
	text-transform: uppercase;
}

/* ---- Документы ---- */

.fpi-docs__grid {
	display: grid;
	grid-template-columns: repeat(2, minmax(0, 1fr));
	gap: 20px;
}

.fpi-docs__item {
	position: relative;
	display: flex;
	flex-direction: column;
	min-height: 170px;
	padding: 26px;
	background: #fff;
	border: 1px solid #E7E9EE;
	text-decoration: none;
	transition: border-color .2s, transform .2s;
	box-sizing: border-box;
}

.fpi-docs__item:hover { border-color: #f83854; transform: translateY(-2px); }
.fpi-docs__item:focus-visible { outline: 2px solid #16223F; outline-offset: 3px; }

.fpi-docs__item::after {
	content: '';
	position: absolute;
	top: 0; right: 0;
	border: 15px solid transparent;
	border-top-color: #F7B8C1;
	border-right-color: #F7B8C1;
	transition: border-top-color .2s, border-right-color .2s;
}

.fpi-docs__item:hover::after { border-top-color: #f83854; border-right-color: #f83854; }

.fpi-docs__label {
	font-size: 12px;
	letter-spacing: .6px;
	font-family: "RobotoMedium", sans-serif;
	color: #f83854;
	text-transform: uppercase;
}

.fpi-docs__name {
	margin-top: 10px;
	font-size: 17px;
	font-family: "RobotoMedium", sans-serif;
	line-height: 1.4;
	color: #16223F;
	max-width: 90%;
}

.fpi-docs__meta {
	display: flex;
	align-items: center;
	gap: 9px;
	margin-top: auto;
	padding-top: 20px;
	font-size: 13px;
	color: #8A90A0;
}

.fpi-docs__meta svg {
	width: 18px; height: 18px;
	stroke: #f83854; fill: none;
	stroke-width: 2; stroke-linecap: round; stroke-linejoin: round;
	flex: none;
}

@media (max-width: 900px) {
	.fpi-section { padding: 48px 0; }
	.fpi-centers__grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
	.fpi-gov__people { grid-template-columns: 1fr; }
	.fpi-docs__grid { grid-template-columns: 1fr; }
}

@media (max-width: 600px) {
	.fpi-section { padding: 36px 0; }
	.fpi-section__inner { padding: 0 16px; }
	.fpi-section__title { font-size: 24px; }
	.fpi-section__head { flex-direction: column; align-items: flex-start; gap: 10px; margin-bottom: 20px; }

	.fpi-centers__grid { grid-template-columns: 1fr; gap: 14px; }
	.fpi-centers__card { padding: 18px; }
	.fpi-centers__icon { width: 52px; height: 52px; }
	.fpi-centers__icon svg,
	.fpi-centers__icon img { width: 26px; height: 26px; }
	.fpi-centers__name { font-size: 16px; margin-top: 14px; }
	.fpi-centers__toggle { padding-top: 14px; }
	.fpi-centers__card.is-active::after { bottom: -15px; }
	.fpi-centers__detail-inner { padding: 20px; }

	.fpi-gov__tabs { gap: 20px; margin-bottom: 22px; }
	.fpi-gov__tab { font-size: 14px; }
	.fpi-gov__count { display: none; }
	.fpi-gov__person--lead { padding: 18px; }
	.fpi-gov__person--lead .fpi-gov__photo { width: 228px; height: 282px; }
	.fpi-gov__photo { width: 165px; height: 200px; }
	.fpi-gov__person--lead .fpi-gov__fio { font-size: 17px; }

	.fpi-docs__item { padding: 20px; min-height: 0; }
	.fpi-docs__name { font-size: 15px; }
}

/* ============================================================
   Страница «Конкурсы» — адаптив карточек от 1200px и ниже.

   Проблема: .con-bg жёстко 880×445, .con-text лежит абсолютом
   поверх картинки. На узком экране картинка уезжает за край,
   текст оказывается на пёстром фоне и не читается.

   Решение: карточка становится обычным блоком —
   картинка сверху во всю ширину, текст под ней на белом.

   Вставлять ПОСЛЕ основных стилей .con-item (main.min.css),
   иначе не перебьёт: там ширина задана без медиазапроса.
   ============================================================ */

@media (max-width: 1199px) {

	/* карточка: снимаем отступ под «шахматку» и inline-block */
	.s-project-page .con-item,
	.s-project-page .con-item.con-right {
		display: block;
		width: 100%;
		padding-left: 0;
		padding-right: 0;
		margin-bottom: 20px;
		border: 1px solid #E7E9EE;
		box-sizing: border-box;
	}

	/* контейнер картинки: тянется по ширине */
	.s-project-page .con-item .con-bg {
		width: 100% !important;
		height: auto !important;
		display: block;
		position: relative;
	}

	/* текст выводим из-под картинки в поток.
	   !important — исходные правила в main.min.css перебивают
	   по специфичности; без них текст остаётся поверх картинки */
	.s-project-page .con-item .con-bg .con-text,
	.s-project-page .con-item.con-right .con-bg .con-text,
	.con-item .con-bg .con-text {
		position: static !important;
		top: auto !important;
		left: auto !important;
		right: auto !important;
		bottom: auto !important;
		transform: none !important;
		float: none !important;
		width: auto !important;
		max-width: none !important;
		height: auto !important;
		margin: 0 !important;
		padding: 14px 16px 16px !important;
		background: #fff;
		text-align: left !important;
	}

	/* контейнер картинки перестаёт быть обёрткой для текста:
	   выносим .con-text за пределы блока с aspect-ratio */
	.s-project-page .con-item .con-bg {
		aspect-ratio: auto;
		height: auto;
	}

	.s-project-page .con-item .con-bg .con-img {
		position: relative !important;
		display: block;
		width: 100% !important;
		height: auto !important;
		aspect-ratio: 880 / 445;
		border-bottom: 1px solid #EDEFF3;
	}

	.s-project-page .con-item .con-text .ct-hdr {
		display: block;
		font-size: 17px;
		line-height: 1.3;
		color: #16223F;
	}

	/* описание под заголовком (у завершённых конкурсов) */
	.s-project-page .con-item .con-text .ct-hdr + * {
		display: block;
		margin-top: 6px;
		font-size: 13px;
		line-height: 1.55;
		color: #8A90A0;
	}

	.s-project-page .con-item .con-bg .con-text .ct-p,
	.con-item .con-bg .con-text .ct-p {
		margin: 0 !important;
		padding: 0 !important;
	}

	/* на десктопе :hover красит текст в белый поверх выезжающей плашки —
	   на мобилке этой плашки нет, текст лежит на белом фоне карточки.
	   Раньше тут стоял color:inherit, а наследовать не от кого —
	   у самой ссылки .con-item цвет не задан, и при залипающем tap-hover
	   подтягивался цвет ссылки по умолчанию (то синий, то красный).
	   Задаём цвет жёстко, в любом состоянии ссылки. */
	.s-project-page .con-item .con-bg .con-text .ct-hdr,
	.s-project-page .con-item:hover .con-bg .con-text .ct-hdr,
	.s-project-page .con-item:active .con-bg .con-text .ct-hdr,
	.s-project-page .con-item:visited .con-bg .con-text .ct-hdr {
		color: #1a2a43 !important;
	}
	.s-project-page .con-item .con-bg .con-text .ct-p,
	.s-project-page .con-item:hover .con-bg .con-text .ct-p,
	.s-project-page .con-item:active .con-bg .con-text .ct-p,
	.s-project-page .con-item:visited .con-bg .con-text .ct-p {
		color: #4b515b !important;
	}
	.s-project-page .con-item:hover .con-theme,
	.s-project-page .con-item:active .con-theme,
	.s-project-page .con-item:visited .con-theme {
		color: rgba(43, 43, 43, 0.5) !important;
	}

	/* маркер статуса ("Приём заявок"): был абсолютом поверх картинки —
	   опускаем в обычный поток, он и так первый перед .con-text в DOM,
	   поэтому просто встаёт над заголовком */
	.s-project-page .con-item .con-lvl {
		position: static;
		display: block;
		margin: 12px 16px 0;
		font-size: 13px;
		line-height: 1.4;
		color: #F0374E;
		text-transform: uppercase;
		letter-spacing: .3px;
	}

	/* пустой маркер (у завершённых конкурсов текста нет) — не оставляем пустой отступ.
	   Красная черта при этом всё равно остаётся: она привязана к заголовку,
	   а он есть у каждой карточки — в отличие от статуса "Приём заявок" */
	.s-project-page .con-item .con-lvl:has(> span:empty) {
		display: none;
	}

	.s-project-page .con-item .con-text .ct-hdr {
		position: relative;
		padding-top: 14px;
	}

	.s-project-page .con-item .con-text .ct-hdr::before {
		content: '';
		position: absolute;
		left: 0;
		top: 0;
		width: 28px;
		height: 2px;
		background: #F0374E;
	}
}

/* --- планшет: две колонки, чтобы не было простыни --- */

@media (min-width: 768px) and (max-width: 1199px) {

	.s-project-page .my-container {
		display: grid;
		grid-template-columns: 1fr 1fr;
		gap: 20px;
		align-items: start;
	}

	.s-project-page .con-item,
	.s-project-page .con-item.con-right {
		margin-bottom: 0;
	}
}

/* --- телефон --- */

@media (max-width: 600px) {

	.s-project-page .con-item .con-text {
		padding: 12px 14px 14px;
	}

	.s-project-page .con-item .con-text .ct-hdr {
		font-size: 16px;
	}
}

/* галерея новости с одним фото: без сдвига слайдера, иначе фото обрезано */
body .s-nd-gallery .snd-g-wrap .swiper-wrapper:has(> .swiper-slide:only-child) { transform: none; }

/* противодействие коррупции: ссылки на документы в одном виде с остальными — синие, без жирного */
body .s-stage-comp.ssc-white .ssc-block .ssc-itm .ssc-content a.ssc-p-1.red { color: #0000ee; font-family: "RobotoLight", sans-serif; text-decoration: none; }
