/*
 * Секция buh-sferi.
 * Шрифты наследуются от темы. Все правила ограничены классом секции.
 */

.buh-sferi {
	--buh-sferi-heading: #173d62;
	--buh-sferi-accent: #397cb5;
	--buh-sferi-text: #24374a;
	--buh-sferi-background: #f7f9fc;

	box-sizing: border-box;
	width: 100%;
	padding: 54px 24px 58px;
	background: var(--buh-sferi-background);
	color: var(--buh-sferi-text);
}

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

.buh-sferi__container {
	width: 100%;
	max-width: 1280px;
	margin: 0 auto;
}

.buh-sferi__header {
	margin: 0 0 52px;
	text-align: center;
}

.buh-sferi .buh-sferi__title {
	margin: 0;
	padding: 0;
	color: var(--buh-sferi-heading);
	font-size: 48px;
	font-size: clamp(34px, 4vw, 48px);
	font-weight: 700;
	line-height: 1.12;
	text-wrap: balance;
}

.buh-sferi__title-accent {
	color: var(--buh-sferi-accent);
}

.buh-sferi .buh-sferi__lead {
	max-width: 1000px;
	margin: 20px auto 0;
	padding: 0;
	color: var(--buh-sferi-text);
	font-size: 17px;
	line-height: 1.55;
}

.buh-sferi .buh-sferi__grid {
	display: grid;
	grid-template-columns: repeat(3, minmax(0, 1fr));
	gap: 46px 48px;
	margin: 0;
	padding: 0;
	list-style: none;
}

.buh-sferi .buh-sferi__item {
	display: grid;
	grid-template-columns: 44px minmax(0, 1fr);
	align-items: start;
	column-gap: 20px;
	min-width: 0;
	margin: 0;
	padding: 0;
	list-style: none;
}

.buh-sferi__icon {
	display: block;
	width: 44px;
	height: 44px;
	margin-top: 3px;
}

/* Без файла иконки место остаётся пустым, изображение не выводится. */
.buh-sferi__icon img {
	display: block;
	width: 100%;
	height: 100%;
	margin: 0;
	object-fit: contain;
}

.buh-sferi__content {
	min-width: 0;
}

.buh-sferi .buh-sferi__copy {
	min-width: 0;
	margin: 0;
	padding: 0;
	color: var(--buh-sferi-text);
	font-size: 18px;
	line-height: 1.5;
	overflow-wrap: break-word;
}

.buh-sferi .buh-sferi__item-title {
	display: block;
	margin: 0 0 16px;
	padding: 0;
	color: var(--buh-sferi-heading);
	font-size: 20px;
	line-height: 1.35;
	font-weight: 700;
	letter-spacing: 0;
	text-transform: none;
	overflow-wrap: anywhere;
	hyphens: auto;
}

@media (max-width: 1024px) {
	.buh-sferi {
		padding: 42px 24px 46px;
	}

	.buh-sferi__header {
		margin-bottom: 40px;
	}

	.buh-sferi .buh-sferi__grid {
		grid-template-columns: repeat(2, minmax(0, 1fr));
		gap: 34px 36px;
	}

	.buh-sferi .buh-sferi__item {
		grid-template-columns: 40px minmax(0, 1fr);
		column-gap: 16px;
	}

	.buh-sferi__icon {
		width: 40px;
		height: 40px;
	}
}

@media (max-width: 767px) {
	.buh-sferi {
		padding: 32px 20px 36px;
	}

	.buh-sferi__header {
		margin-bottom: 30px;
		text-align: left;
	}

	.buh-sferi .buh-sferi__title {
		font-size: 30px;
		line-height: 1.15;
	}

	.buh-sferi .buh-sferi__lead {
		margin-top: 16px;
		font-size: 16px;
		line-height: 1.5;
	}

	.buh-sferi .buh-sferi__grid {
		grid-template-columns: minmax(0, 1fr);
		gap: 26px;
	}

	.buh-sferi .buh-sferi__item {
		grid-template-columns: 36px minmax(0, 1fr);
		column-gap: 14px;
	}

	.buh-sferi__icon {
		width: 36px;
		height: 36px;
		margin-top: 2px;
	}

	.buh-sferi .buh-sferi__copy {
		font-size: 16px;
		line-height: 1.5;
	}

	.buh-sferi .buh-sferi__item-title {
		margin-bottom: 12px;
		font-size: 18px;
	}
}
