/* Страница «Благотворительность» (шаблон «2021 Фонд»). Только классы fund_ и правила внутри .fund, чтобы не задевать остальной сайт.
   #5B6572 — затемнённый #6B7683: на светлых подложках исходный не даёт контраста 4.5:1. */

.fund_eyebrow {
	margin-bottom: .75rem;
	font-weight: 500;
	color: #FF4F1B;
}

.fund_section_title {
	font-size: clamp(1.75rem, 3.4vw, 2.5rem);
	font-weight: 500;
	line-height: 1.15;
	letter-spacing: -.01em;
}

.fund .bg-secondary .text-info,
.fund .bg-danger-light .text-info,
.fund .text-info.bg-secondary {
	color: #5B6572 !important;
}

.fund_art {
	display: grid;
	place-items: center;
	aspect-ratio: 1 / 1;
	max-width: 420px;
}

.fund_art_paw {
	width: 62%;
	height: 62%;
}

.fund_photo {
	max-width: 420px;
}

.fund_photo_img {
	display: block;
	width: 100%;
	height: auto;
	aspect-ratio: 4 / 3;
	object-fit: cover;
}

.fund_art_note {
	position: relative;
	margin-top: .75rem;
	padding: 1rem 1.25rem;
	box-shadow: 0 8px 24px rgba(34, 34, 34, .08);
}

.fund_step {
	display: flex;
	flex-direction: column;
	padding: 1.5rem;
}

.fund_step_num {
	display: grid;
	place-items: center;
	width: 40px;
	height: 40px;
	margin-bottom: 1rem;
	border-radius: 50%;
	background-color: #FFEEE9;
	color: #FF4F1B;
	font-weight: 500;
	font-variant-numeric: tabular-nums;
}

.fund_step-final .fund_step_num {
	background-color: #fff;
}

.fund_standard {
	display: flex;
	gap: 1.25rem;
	padding: 1.5rem;
}

.fund_icon {
	display: grid;
	place-items: center;
	flex: 0 0 56px;
	width: 56px;
	height: 56px;
}

.fund_icon svg {
	width: 28px;
	height: 28px;
}

.fund_budget {
	display: grid;
	gap: .75rem;
}

.fund_budget_row {
	display: flex;
	align-items: center;
	gap: 1rem;
	padding: 1rem 1.25rem;
}

.fund_budget_dot {
	flex: 0 0 12px;
	width: 12px;
	height: 12px;
	border-radius: 50%;
	background-color: #FF4F1B;
}

.fund_budget_row:nth-child(2) .fund_budget_dot { background-color: #FF8A5C; }
.fund_budget_row:nth-child(3) .fund_budget_dot { background-color: #FFB39A; }
.fund_budget_row:nth-child(4) .fund_budget_dot { background-color: #FFD2C2; }
.fund_budget_row:nth-child(5) .fund_budget_dot { background-color: #FFE1D6; }

.fund_docs {
	display: grid;
	gap: .75rem;
}

.fund_doc {
	display: flex;
	flex-direction: column;
	gap: .25rem;
	padding: 1rem 1.25rem;
	color: #222;
	text-decoration: none;
	transition: box-shadow .15s ease;
}

a.fund_doc:hover {
	color: #222;
	box-shadow: inset 0 0 0 1px #FF4F1B;
}

.fund_doc_title {
	font-weight: 500;
	line-height: 1.3;
}

.fund_doc_meta {
	display: inline-flex;
	align-items: center;
	gap: .5rem;
	font-size: .875rem;
}

.fund_requisites dt {
	font-weight: 400;
	color: #6B7683;
}

.fund_requisites dd {
	margin-bottom: .75rem;
}

.fund_requisites dd:last-child {
	margin-bottom: 0;
}

/* Реквизиты в две колонки: название поля слева, значение справа */
@media (min-width: 576px) {
	.fund_requisites {
		display: grid;
		grid-template-columns: 10rem 1fr;
		gap: .5rem 1.25rem;
	}

	.fund_requisites dd {
		margin-bottom: 0;
	}
}

.fund_reports_wrap {
	border: 1px solid #E3E8EE;
	border-radius: 24px;
	background-color: #fff;
}

.fund_reports {
	min-width: 640px;
	font-variant-numeric: tabular-nums;
}

.fund_reports > :not(caption) > * > * {
	padding: 1.125rem 1.375rem;
	border-bottom-color: #E3E8EE;
}

.fund_reports td:nth-child(2) {
	min-width: 17rem;
}

.fund_reports thead th {
	background-color: #F7F9FB;
	font-size: .8125rem;
	font-weight: 500;
	letter-spacing: .06em;
	text-transform: uppercase;
	white-space: nowrap;
	color: #8A94A1;
}

.fund_reports > :not(:first-child) {
	border-top: 0;
}

.fund_reports tbody tr:last-child > * {
	border-bottom: 0;
}

.fund_status {
	display: inline-flex;
	align-items: center;
	gap: .5rem;
	padding: .375rem .75rem;
	border-radius: 50rem;
	font-size: .875rem;
	white-space: nowrap;
}

.fund_status::before {
	content: "";
	flex: 0 0 8px;
	width: 8px;
	height: 8px;
	border-radius: 50%;
	background-color: currentColor;
}

.fund_status-ok {
	background-color: #E9F7EE;
	color: #23803F;
}

.fund_status-soon {
	background-color: #FFEEE9;
	color: #FF4F1B;
}

a.fund_file,
a.fund_file:focus {
	font-weight: 500;
	text-decoration: none;
	color: #FF4F1B;
}

a.fund_file:hover {
	color: #FF4F1B;
	text-decoration: underline;
}

.fund_help {
	padding: 2rem 1.5rem;
	border-radius: 20px;
}

@media (min-width: 768px) {
	.fund_photo_img {
		aspect-ratio: 4 / 5;
	}

	.fund_art_note {
		max-width: 360px;
		margin: -3.5rem 0 0 1.25rem;
	}

	.fund_help {
		padding: 3.5rem 4rem;
		border-radius: 50px;
	}
}

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