/*!
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.7
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: stretch;
	justify-content: flex-start;
}

.stk-block-carousel figure.wp-block-image {
	display: flex;
	flex-direction: column;
	align-items: center;
	width: 100%;
	max-width: 100%;
	margin-left: auto;
	margin-right: auto;
}

.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;
}
.cost_items .cost_item_text a {
	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;
	}
	.cons_title_rest {
		font-size: 20px;
		line-height: 28px;
	}
	.nastav_legacy,
	.rew_finale {
		padding: 20px 16px;
	}
	.rew_finale_btn {
		width: 100%;
	}
	.page-template-tmpl-nastavnichestvo .cost_item_soc {
		align-items: center;
	}
}

.cons_title_rest {
	display: block;
	margin-top: 16px;
	font-size: 28px;
	line-height: 36px;
	font-weight: 600;
}
.cons_regalia {
	margin: 0 0 28px;
	text-align: center;
	font-size: 18px;
	line-height: 26px;
}
.cons_regalia a {
	color: rgba(51, 51, 51, 1);
	border-bottom: 1px solid rgba(51, 51, 51, 1);
	text-decoration: none;
}
.cons_item_text ul,
.cost_item_right_lead ul {
	margin: 0;
	padding-left: 1.2em;
}
.cons_item_text li + li,
.cost_item_right_lead li + li {
	margin-top: 10px;
}
.cons_item_text p {
	margin: 0;
}
.nastav_legacy {
	margin: 0 0 40px;
	padding: 20px 28px;
	border-radius: 16px;
	background: rgba(51, 51, 51, 1);
	color: #fff;
	text-align: center;
	font-size: 20px;
	line-height: 30px;
}
.nastav_legacy a {
	color: #fff;
	font-weight: 700;
	border-bottom: 1px solid #fff;
	text-decoration: none;
}
.cost_item_details {
	font-size: 18px;
	line-height: 28px;
	text-align: left;
}
.cost_item_details p {
	margin: 0 0 16px;
}
.cost_item_details p:last-child {
	margin-bottom: 0;
}
.page-template-tmpl-nastavnichestvo .cost_item_left_title,
.page-template-tmpl-consult .cost_item_left_title,
.page-template-tmpl-nastavnichestvo .cost_item_price,
.page-template-tmpl-consult .cost_item_price {
	margin-bottom: 28px;
}
.page-template-tmpl-nastavnichestvo .cost_item_right_title {
	margin-bottom: 24px;
	padding-bottom: 24px;
}
.cost_item_right_lead {
	color: #fff;
	text-align: left;
	font-size: 18px;
	line-height: 26px;
	margin-bottom: 36px;
}
.cost_item_right_lead p {
	margin: 0 0 12px;
}
.page-template-tmpl-nastavnichestvo .cost_item_soc {
	align-items: flex-end;
}
.page-template-tmpl-nastavnichestvo .cost_item_soc .link_social--tg a,
.page-template-tmpl-nastavnichestvo .cost_item_soc .link_social--tg img {
	width: 112px;
	height: 112px;
}
.page-template-tmpl-nastavnichestvo .cost_item_soc .link_social--tg span {
	font-weight: 700;
	font-size: 22px;
}
.page-template-tmpl-nastavnichestvo .cost_item_soc .link_social:not(.link_social--tg) {
	opacity: 0.72;
}
.page-template-tmpl-nastavnichestvo .cost_item_soc .link_social:not(.link_social--tg) a,
.page-template-tmpl-nastavnichestvo .cost_item_soc .link_social:not(.link_social--tg) img {
	width: 48px;
	height: 48px;
}
.more_rews:disabled {
	opacity: 0.7;
	cursor: default;
}
.rew_finale {
	margin-top: 40px;
	padding: 32px 40px;
	border: 4px solid rgba(51, 51, 51, 1);
	border-radius: 16px;
	text-align: center;
	background: #fff;
}
.rew_finale p {
	margin: 0 0 24px;
	font-size: 22px;
	line-height: 32px;
}
.rew_finale_btn {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	padding: 16px 32px;
	border-radius: 16px;
	background: rgba(51, 51, 51, 1);
	color: #fff;
	font-size: 20px;
	line-height: 28px;
	font-weight: 600;
	text-decoration: none;
}
@media (max-width: 578px) {
	.page-template-tmpl-nastavnichestvo .cost_item_soc {
		align-items: center;
	}
}
