.header_open_search_btn,
.header_open_search_btn:hover,
.header_open_search_btn:focus {
	visibility: hidden;
	opacity: 0;
	transition: opacity 0.2s ease;
}

.header_open_search_btn.active,
.header_open_search_btn.active:hover,
.header_open_search_btn.active:focus {
	visibility: visible;
	opacity: 1;
}

.main_home {
	margin-top: 60px;
}

.home_hero {
	max-width: 767px;
	margin: 0 auto;
	display: flex;
	flex-direction: column;
	align-items: center;
	min-height: calc(100vh - 60px);
}

.home_tags {
	display: flex;
	align-items: center;
	justify-content: center;
	flex-wrap: wrap;
	gap: 14px;
	margin: 32px 0;
}

.home_tag {
	padding: 4px 12px;
	border: 1px solid #032f1e0d;
	border-radius: 16px;
	color: #4C5460;
	font-size: 12px;
}

.home_tag:nth-child(2n) {
	background: #E2F4EE;
	color: #032f1e;
	border-color: #4ade804d;
}

.home_title {
	font-size: 80px;
	font-weight: 700;
	max-width: 640px;
	margin: 0 auto;
	text-align: center;
}

.home_subtitle {
	font-size: 36px;
	color: #4C5460;
	text-align: center;
	margin-top: 16px;
}

.home_open_search_popup_btn,
.home_open_search_popup_btn:hover,
.home_open_search_popup_btn:focus {
	box-shadow: 0 4px 24px -4px rgba(0, 0, 0, 0.15);
	display: flex;
	align-items: center;
	gap: 16px;
	padding: 0 24px;
	min-height: 76px;
	min-width: 450px;
	border-radius: 24px;
	background: #fff;
	color: #4C5460;
	border: none;
	outline: none;
	margin: 24px auto;
}

.home_open_search_popup_btn_i {
	display: flex;
	width: 24px;
	min-width: 24px;
	height: 24px;
}

.home_open_search_popup_btn_i svg {
	width: 100%;
	height: auto;
	fill: #4C5460;
}

.home_open_search_popup_btn_txt {
	color: #4C5460;
}

.home_success {
	display: flex;
	justify-content: center;
	gap: 48px;
}

.home_success_title {
	font-size: 24px;
	font-weight: 700;
	text-align: center;
}

.home_success_txt {
	color: #4C5460;
	font-size: 12px;
	font-weight: 500;
	text-align: center;
}


/*Tools*/
.tools {
	display: flex;
	flex-direction: column;
	align-items: center;
	max-width: 1152px;
	margin: 0 auto;
	padding: 100px 0;
}

.title_h2 {
	font-size: 48px;
	font-weight: 700;
	max-width: 767px;
	text-align: center;
}

.txt {
	color: #4C5460;
	text-align: center;
	max-width: 767px;
	margin: 0;
}

.btn_gradient {
	min-width: 280px;
	min-height: 48px;
	padding: 0 24px;
	display: flex;
	justify-content: center;
	align-items: center;
	gap: 8px;
	color: #fff;
	border: none;
	outline: none;
	background: linear-gradient(90deg, #FBBC04 0%, #F97316 60%, #F97316 100%);
	border-radius: 8px;
	margin-top: 32px;
}

.btn_gradient_i {
	display: flex;
	width: 18px;
	height: 18px;
}

.btn_gradient_i svg {
	width: 100%;
	height: auto;
	fill: #fff;
}

.btn_gradient_txt {
	font-weight: 500;
}

.tool_list {
	display: grid;
	grid-template-columns: repeat(3, minmax(0, 1fr));
	gap: 16px;
	margin: 32px 0 0;
	padding: 0;
	list-style: none;
}

.tool_item a {
	height: 100%;
	display: flex;
	flex-direction: column;
	align-items: center;
	gap: 12px;
	border-radius: 20px;
	border: 1px solid #E2F4EE;
	padding: 16px;
	transition: 0.3s;
	position: relative;
}

.tool_item a:hover {
	box-shadow: 0 0 20px 0 rgba(0, 0, 0, 0.08);
}

.tool_item a.has_tab {
	opacity: 0.8;
	background: #f3f3f3;
}

.tool_item_tab {
	position: absolute;
	top: 0;
	left: 0;
	display: flex;
	align-items: center;
	background: #FF7E1B;
	color: #fff;
	padding: 4px 12px;
	border-bottom-right-radius: 16px;
	border-top-left-radius: 16px;
	font-size: 14px;
}

.tool_i {
	background: #E2F4EE;
	display: flex;
	justify-content: center;
	align-items: center;
	border-radius: 50%;
	width: 40px;
	height: 40px;
}

.tool_i svg {
	width: 20px;
	height: 20px;
}

.tool_name {
	font-size: 16px;
	font-weight: 700;
	text-align: center;
	color: #032f1e;
	margin: 0;
}

.tool_txt {
	font-size: 14px;
	color: #4C5460;
	text-align: center;
	margin: 0;
}

/*How score*/
.how_score {
	background: #F0F4F1;
	padding: 100px 0;
}

.how_score_wr {
	display: flex;
	flex-direction: column;
	align-items: center;
	max-width: 1152px;
	margin: 0 auto;
}

.txt_gradient {
	background: linear-gradient(90deg, #F97316, #FBBC04, #F97316);
	background-size: 300%;
	-webkit-background-clip: text;
	-webkit-text-fill-color: transparent;
}

.how_score_rules {
	max-width: 896px;
	margin: 32px auto 0;
}

.rules {
	margin-top: 16px;
	background: #fff;
	border: 1px solid #032f1e1a;
	border-radius: 8px;
}

.rule {
	padding: 32px;
	display: flex;
	flex-direction: column;
	gap: 16px;
	height: auto;
}

.rule_title_wr {
	display: flex;
	align-items: center;
	gap: 16px;
}

.rule_number {
	display: flex;
	width: 56px;
	height: 56px;
	justify-content: center;
	align-items: center;
	font-size: 30px;
	font-weight: 700;
	background: #E2F4EE;
	border-radius: 50%;
}

.rule_title {
	font-size: 30px;
	font-weight: 700;
	margin: 0;
}

.rule_txt {
	color: #4C5460;
}

.rule_btn {
	display: flex !important;
	align-items: center;
	gap: 8px;
	color: #032f1e;
	background: transparent;
	box-shadow: 0 0 0 1px #032f1e1a;
	border-radius: 8px;
	border: none;
	background: #F0F4F1;
	padding: 8px 16px;
	margin-left: auto;
	margin-top: auto;
	transition: 0.3s;
}

.rule_btn:hover {
	background: #e6f3ef;
	box-shadow: 0 0 0 2px #032f1e;
	color: #032f1e;
}

.rule_btn_txt {
	color: #032f1e;
}

.rule_btn_i {
	width: 16px;
	display: flex;
}

.rule_btn_i svg {
	width: 100%;
	height: auto;
}

.rules_controls {
	display: flex;
	justify-content: space-between;
	align-items: center;
}

.rules_num {
	padding: 8px 16px;
	min-height: 40px;
	display: flex;
	align-items: center;
	gap: 4px;
	background: #e6f3ef;
	border-radius: 30px;
	color: #065f46;
	font-weight: 500;
	border: 1px solid #032f1e1a;
}

.rules_num_current {
	display: flex;
	width: 30px;
	height: 38px;
	justify-content: center;
	align-items: center;
	border-radius: 16px;
	border: 1px solid rgb(209 250 229);
	background: #fff;
	color: #002e20;
	font-weight: 700;

}

.rules_nav {
	display: flex;
	gap: 8px;
}

.rules_nav_btn,
.rules_nav_btn:hover,
.rules_nav_btn:focus {
	display: flex;
	align-items: center;
	justify-content: center;
	height: 40px;
	width: 40px;
	background: #fff;
	box-shadow: 0 0 0 1px #032f1e1a;
	border-radius: 8px;
	border: none;
	outline: none;
	padding: 0;
	transition: 0.3s;
}

.rules_nav_btn:hover {
	background: #e6f3ef;
	box-shadow: 0 0 0 2px #032f1e;
}

.rules_nav_btn svg {
	width: 24px;
	height: auto;
}

.rules_pagination {
	position: relative;
	display: flex;
	justify-content: center;
	gap: 8px;
	margin-top: 32px;
}

.rules_pagination .swiper-pagination-bullet {
	display: flex;
	align-items: center;
	justify-content: center;
	height: 24px;
	width: 24px;
	background: transparent;
	color: #032f1e;
	font-size: 14px;
	box-shadow: 0 0 0 1px #032f1e1a;
	border-radius: 4px;
	border: none;
	outline: none;
	padding: 0;
	margin: 0 !important;
	opacity: 1;
	transition: 0.3s;
}

.rules_pagination .swiper-pagination-bullet:hover {
	box-shadow: 0 0 0 2px #032f1e;
}

.rules_pagination .swiper-pagination-bullet-active {
	background: #032f1e;
	color: #fff;
}


/*Dialogs*/

/* dialogs common */
.dialog_window {
	background: #fff;
	border-radius: 20px;
	padding: 24px;
}

.dialog_close_btn,
.dialog_close_btn:focus {
	width: 48px;
	height: 48px;
	display: flex;
	justify-content: center;
	align-items: center;
	border: none;
	outline: none;
	background: transparent;
	border-radius: 50%;
	background: #fff;
	transition: background 0.2s ease;
}

.dialog_close_btn:hover {
	background: #e6f2f0;
}

.dialog_close_i {
	display: flex;
}

.dialog_close_i svg {
	width: 16px;
	height: 16px;
	fill: #4C5460 !important;
}

/* dialogs common END */



@media (max-width: 767px) {
	.home_hero {
		padding: 48px 16px;
	}

	.home_tags {
		margin: 0 0 24px;
	}

	.home_title {
		font-size: 48px;
	}

	.home_subtitle {
		font-size: 20px;
	}

	.home_open_search_popup_btn,
	.home_open_search_popup_btn:hover,
	.home_open_search_popup_btn:focus {
		min-width: 0;
		width: 100%;
	}

	.how_score {
		padding: 48px 16px;
	}

	.title_h2 {
		font-size: 36px;
	}

	.how_score_rules {
		max-width: 100%;
	}

	.rules_num {
		padding: 4px 10px;
		font-size: 14px;
	}

	.rule_number {
		width: 40px;
		height: 40px;
		font-size: 24px;
	}

	.rule_title {
		font-size: 20px;
	}

	.tools {
		padding: 48px 16px;
	}

	.tool_list {
		grid-template-columns: repeat(1, minmax(0, 1fr));
	}





}