/*!
Theme Name: eaborovkov-optimized
Theme URI: https://eaborovkov.ru/
Author: Евгений Боровков
Author URI: https://eaborovkov.ru/
Description: Максимально оптимизированная тема eaborovkov (PageSpeed, mobile UI, conditional assets). Активируйте вместо eaborovkov-v3.
Version: 1.5.4
Tested up to: 6.7
Requires PHP: 7.4
License: GNU General Public License v2 or later
License URI: LICENSE
Text Domain: eaborovkov
Tags: custom-background, custom-logo, custom-menu, featured-images, threaded-comments, translation-ready

This theme, like WordPress, is licensed under the GPL.
Use it to make something cool, have fun, and share what you've learned.

eaborovkov is based on Underscores https://underscores.me/, (C) 2012-2020 Automattic, Inc.
Underscores is distributed under the terms of the GNU GPL v2 or later.

Normalizing styles have been helped along thanks to the fine work of
Nicolas Gallagher and Jonathan Neal https://necolas.github.io/normalize.css/
*/

.stk-block-carousel__slider {
	align-items: center;
	justify-content: center;
}

.cons_head {
	text-align: center;
	color: rgba(51, 51, 51, 1);
}
.cons_title {
	font-size: 40px;
	line-height: 48px;
	margin-bottom: 32px;
	font-weight: 900;
}
.cons_desc {
	font-size: 24px;
	line-height: 28px;
}
.cons_items {
	margin-top: 64px;
}
.cons_items_title {
	text-align: center;
	font-weight: 600;
	font-size: 36px;
	line-height: 44px;
}
.cons_row {
	margin-top: 32px;
	display: flex;
	flex-wrap: wrap;
	gap: 40px;
}
.cons_item {
	width: calc(100% / 2 - 20px);
	background: rgba(239, 239, 239, 1);
	padding: 32px;
	border-radius: 24px;
}
.cons_item_title {
	font-size: 30px;
	line-height: 36px;
	font-weight: 600;
	margin-bottom: 16px;
}
.cons_item_text {
	font-size: 20px;
	line-height: 32px;
}
.cons_items_bot {
	margin-top: 64px;
	border: 4px solid rgba(51, 51, 51, 1);
	border-radius: 16px;
	text-align: center;
	padding: 16px 32px;
}
.cons_items_bot a {
	color: rgba(51, 51, 51, 1);
	text-decoration: none;
	border-bottom: 1px solid rgba(51, 51, 51, 1);
}
.cost {
	margin-top: 64px;
	padding: 90px 0;
	background: rgba(239, 239, 239, 1);
}
.page-template-tmpl-nastavnichestvo .cost {
	/* Контент остаётся в wrapper, “во всю ширину” делаем только фон. */
	background: transparent;
	position: relative;
}
.page-template-tmpl-nastavnichestvo .cost::before {
	content: '';
	position: absolute;
	top: 0;
	bottom: 0;
	left: 50%;
	transform: translateX(-50%);
	width: calc(100vw - (100vw - 100%));
	background: rgba(239, 239, 239, 1);
	z-index: 0;
}
.page-template-tmpl-nastavnichestvo .cost > .container {
	position: relative;
	z-index: 1;
}
.cost_items {
	display: flex;
	gap: 40px;
}
.cost_items a {
	color: rgba(51, 51, 51, 1);
	text-decoration: none;
	border-bottom: 1px solid rgba(51, 51, 51, 1);
}
.cost_item {
	width: calc(100% / 2 - 20px);
	padding: 56px 64px;
	text-align: center;
	border-radius: 24px;
}
.cost_item_left {
	background: #fff;
}
.cost_item_left_title {
	font-weight: 600;
	font-size: 30px;
	line-height: 36px;
	margin-bottom: 56px;
}
.cost_item_price {
	font-size: 24px;
	line-height: 30px;
	display: flex;
	text-align: center;
	gap: 10px;
	margin-bottom: 56px;
	align-items: center;
	justify-content: center;
}
.cost_item_price span {
	padding: 12px 16px;
	border-radius: 16px;
	background: rgba(239, 239, 239, 1);
}
.cost_item_text {
	font-size: 24px;
	line-height: 30px;
}
.page-template-tmpl-consult .wrapper {
	height: auto;
}
.cost .container {
	width: 100%;
	max-width: 1760px;
	padding: 0 60px;
	margin: 0 auto;
}
.cost_item_right {
	background: linear-gradient(
		104.24deg,
		rgba(126, 126, 126, 0.67) -6.68%,
		#7e7e7e 34.95%,
		rgba(126, 126, 126, 0.65) 104.33%
	);
}
.cost_item_right_title {
	color: #fff;
	font-weight: 600;
	font-size: 30px;
	line-height: 36px;
	margin-bottom: 56px;
	padding-bottom: 56px;
	border-bottom: 1px solid #fff;
}
.cost_item_soc {
	display: flex;
	justify-content: center;
	gap: 90px;
}
.cost_item_soc .link_social {
	margin-bottom: 0;
}
.cost_item_soc .link_social span {
	color: #fff;
}
.cost_bot {
	margin-top: 32px;
	border: 4px solid rgba(51, 51, 51, 1);
	border-radius: 16px;
	text-align: center;
	padding: 16px 32px;
	background: #fff;
}
.rews {
	margin-top: 120px;
	padding-bottom: 56px;
}
.rew_title {
	text-align: center;
	font-weight: 600;
	font-size: 36px;
	line-height: 44px;
	margin-bottom: 40px;
}
.rew_item_wrap {
	display: flex;
	align-items: flex-end;
	gap: 32px;
}
.rew_item_wrap + .rew_item_wrap {
	margin-top: 40px;
}
.rew_img {
	width: 150px;
	height: 150px;
	border-radius: 50%;
}
.rew_item {
	width: 100%;
	padding: 48px 48px 32px;
	background: rgba(249, 249, 249, 1);
	border: 1px solid rgba(223, 223, 223, 1);
	border-radius: 48px 48px 48px 12px;
}
.rew_text {
	font-size: 18px;
	line-height: 26px;
	padding-bottom: 49px;
	margin-bottom: 32px;
	border-bottom: 1px solid rgba(223, 223, 223, 1);
}
.rew_bot {
	display: flex;
	align-items: center;
	justify-content: space-between;
}
.rew_name {
	font-size: 22px;
	line-height: 26px;
	font-weight: 600;
	margin-bottom: 12px;
}
.rew_work {
	font-size: 18px;
	line-height: 1;
	color: rgba(119, 119, 119, 1);
}
.rew_work a {
	color: #000;
	opacity: 0.7;
	text-decoration: none;
	display: inline-block;
	border-bottom: 1px solid rgb(0 0 0 / 50%);
}
.rew_date {
	color: rgba(119, 119, 119, 1);
	font-size: 24px;
	line-height: 30px;
}
.rew_item_wrap.hidden {
	display: none;
}
.more_rews {
	padding: 20px 170px;
	display: flex;
	align-items: center;
	justify-content: center;
	background: rgba(223, 223, 223, 1);
	color: rgba(51, 51, 51, 1);
	font-size: 24px;
	line-height: 30px;
	text-align: center;
	border-radius: 16px;
	margin: 40px auto 0;
	width: 520px;
	text-decoration: none;
	border: 0;
	cursor: pointer;
	font-family: inherit;
}

.blog_load_more {
	margin: 40px auto 0;
	display: flex;
	justify-content: center;
}

.more_posts {
	padding: 20px 170px;
	display: flex;
	align-items: center;
	justify-content: center;
	background: rgba(223, 223, 223, 1);
	color: rgba(51, 51, 51, 1);
	font-size: 24px;
	line-height: 30px;
	text-align: center;
	border-radius: 16px;
	width: 520px;
	border: 0;
	cursor: pointer;
}
.more_posts[disabled] {
	opacity: 0.7;
	cursor: default;
}

.blog_pagination {
	margin: 40px auto 0;
	display: flex;
	justify-content: center;
}

.blog_pagination .page-numbers {
	display: flex;
	flex-wrap: wrap;
	align-items: center;
	justify-content: center;
	gap: 8px;
	list-style: none;
	margin: 0;
	padding: 0;
}

.blog_pagination .page-numbers li {
	margin: 0;
	padding: 0;
	list-style: none;
}

.blog_pagination a.page-numbers,
.blog_pagination span.page-numbers {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	min-width: 44px;
	padding: 12px 16px;
	background: rgba(223, 223, 223, 1);
	color: rgba(51, 51, 51, 1);
	font-size: 18px;
	line-height: 1.2;
	text-align: center;
	border-radius: 12px;
	text-decoration: none;
}

.blog_pagination span.page-numbers.current {
	background: rgba(51, 51, 51, 1);
	color: #fff;
}

.blog_pagination a.page-numbers:hover {
	opacity: 0.85;
}
.foot_soc {
	display: flex;
	align-items: center;
	gap: 48px;
}
.foot_soc .link_social {
	margin-bottom: 0;
}
.wrap_foot {
	align-items: flex-end;
}
.menu_foot {
	display: flex;
	flex-wrap: wrap;
	min-width: 950px;
}
.menu_foot li {
	width: calc(100% / 2 - 20px);
}

@media (max-width: 1600px) {
	.cost_item_soc {
		gap: 45px;
	}
}
@media (max-width: 1200px) {
	.menu_foot {
		min-width: initial;
		flex-direction: column;
	}
	.cost_item_soc {
		gap: 20px;
	}
}
@media (max-width: 992px) {
	.cost_items {
		flex-direction: column;
	}
	.cost_item {
		width: 100%;
	}
}
@media (max-width: 768px) {
	.foot_soc {
		margin-top: 30px;
	}
	.menu_foot {
		align-items: center;
	}
	.cons_items_title {
		font-size: 30px;
		line-height: 38px;
	}
	.cons_row {
		flex-direction: column;
	}
	.cons_item {
		width: 100%;
	}
	.cons_item_title {
		font-size: 26px;
	}
	.rew_img {
		display: none;
	}
}
@media (max-width: 578px) {
	.foot_soc {
		display: flex;
		align-items: center;
		gap: 30px;
		justify-content: center;
	}
	.cons_title {
		font-size: 32px;
		line-height: 40px;
	}
	.cost_item {
		padding: 30px;
	}
	.cost_item_soc {
		flex-direction: column;
	}
	.cost .container {
		padding: 0 16px;
	}
	.more_rews {
		padding: 20px;
		width: auto;
	}
	.more_posts {
		padding: 20px;
		width: auto;
	}
	.rew_bot {
		flex-direction: column;
		align-items: flex-start;
	}
	.rew_date {
		margin-top: 10px;
	}
}
