/*
Theme Name: agents_theme
Theme URI: http://example.com/my-custom-theme
Author: Dmitry Nabozhev
Author URI: 
Description: Это тема для WordPress agents_theme
Version: 1.0
License: GNU General Public License v2 or later
License URI: http://www.gnu.org/licenses/gpl-2.0.html
Text Domain: agents_theme
*/

/* Основные стили шрифтов */

/* Main container styles */
.container {
	max-width: 1410px;
	width: 100%;
	margin: 0 auto;
	padding: 0 0px;
	box-sizing: border-box;
}

/* Header styles */
.main_header {
	padding: 20px 0;
}

.header-row {
	display: flex;
	justify-content: space-between;
	align-items: center;
}

.logo-container img {
	width: 415px;
	height: 190px;
	object-fit: contain;
}

.header-menu-list {
	display: flex;
	list-style: none;
	margin: 0;
	padding: 0;
}

.header-menu-list li {
	margin-left: 20px;
}

.header-menu-list a {
	text-decoration: none;
	color: #333;
	font-weight: 400;
	font-size: 14px;
	
	transition: color 0.3s;
	margin-top: 20px;
  padding: 12px 24px;
  background: linear-gradient(180deg, #ED8052 0%, #B80306 100%);
  color: white;
  border: none;
  border-radius: 19px;
  cursor: pointer;
  font-size: 16px;
  margin-bottom: 20px;
}

#menu-item-14 a {
	margin-top: 20px;
  padding: 12px 24px;
  background: linear-gradient(180deg, #ED8052 0%, #B80306 100%);
  color: white;
  border: none;
  border-radius: 19px;
  cursor: pointer;
  font-size: 16px;
  margin-bottom: 20px;
}

.header-menu-list a:hover {
	color: #0073aa;
}

/* Custom font styles */
.a-simpler-dnm {
	font-family: "a_SimplerDnm", sans-serif;
	font-weight: 700;
	font-style: normal;
	font-size: 24px;
	line-height: 1;
	letter-spacing: 0;
}

/* Responsive styles */
@media (max-width: 768px) {
	.header-row {
		flex-direction: column;
		align-items: flex-start;
	}

	.logo-container img {
		width: 100%;
		height: auto;
		max-width: 300px;
	}

	.header-menu {
		margin-top: 20px;
	}

	.header-menu-list {
		flex-direction: column;
	}

	.header-menu-list li {
		margin: 5px 0;
	}
}




/*станции шкала */

/* Стили для аккордеона */
.accordion_item {
	transition: all 0.3s ease;
}

.accordion_item.passed .accordion_content {
	display: none;
}

.accordion_item.passed.active .accordion_content {
	display: block;
}

.accordion_item.active .accordion_content {
	display: block;
}


/* Progress section styles */
.stations_status {
	position: relative;
	height: 397px;
	background: linear-gradient(90deg, #9DCDE1 0%, #D7F4F2 100%);
	border-radius: 30px;
	margin: 0px auto;
	padding: 40px 0;
width: 1410px;
	overflow: hidden;
}


.stations_status::before {
		position: absolute;
			content: '';
			left: 0px;
			top: 0px;
			width: 509px;
			height: 397px;
		background-image: url('/wp-content/themes/agents_theme/img/Mask group.png');
	}



.stations_status .container {

			padding-left: 70px;
}

.stations_status h2 {
	font-family: "Golos Text", sans-serif;
	font-size: 28px;
	font-weight: 400;
	color: rgba(34, 90, 107, 1);
position: relative;
z-index: 1;
	margin-bottom: 30px;
	text-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
}

.status_wrapper {
	display: flex;
	justify-content: space-between;

	gap: 40px;
}

.status_list {
	position: relative;
	z-index: 2;
	display: flex;
	gap: 20px;
	flex: 1;
padding-left: 12px;
	padding-top: 45px;

}

.station {
	width: 150px;
	height: 150px;
	background-image: url('/wp-content/themes/agents_theme/img/no_active.png');
	background-size: contain;
	background-repeat: no-repeat;
	background-position: center;
	display: flex;
	flex-direction: column;
	align-items: center;
	justify-content: center;
	position: relative;
	cursor: pointer;
	transition: all 0.3s ease;
}


.station.passed {
		background-image: url('/wp-content/themes/agents_theme/img/passed.png');
}

.station.passed::after {
	position: absolute;
	content: '';
	left: 16px;
	top: 9px;
	background-image: url('/wp-content/themes/agents_theme/img/setka.png');
	width: 117px;
	height: 128px;
}


.station.active {
	background-image: url('/wp-content/themes/agents_theme/img/active_bg.png');
	background-size: contain, contain;
	background-repeat: no-repeat, no-repeat;
	background-position: center, center;
}

.station.active::after {
	position: absolute;
	content: '';
	left: -12px;
	top: -20px;
	background-image: url('/wp-content/themes/agents_theme/img/pricel.png');
	width: 174px;
	height: 186px;
}




.station p {
	font-family: "a_SimplerDnm", sans-serif;
	font-size: 86px;
	color: #0686AD;
	margin: 0;
	opacity: 0;
	transition: opacity 0.3s ease;
}

.finish .station p {
	color: #E20A13 !important;
	width: fit-content !important;
 }

.station b {
	font-family: "a_SimplerDnm", sans-serif;
	font-size: 24px;
	font-weight: 700;
	color: rgba(255, 255, 255, 0.6);
	margin-top: 10px;
	transition: color 0.3s ease;
	position: absolute;
	bottom: -50px;
}


.station.passed p {
	opacity: 1;
}

.station.passed b,
.station.active b {
	color: #fff;
}

.status_message {
	width: 420px;
	height: 265px;
	display: flex;
	flex-direction: column;
	justify-content: center;
}

.status_message p {
	font-family: "Golos Text", sans-serif;
	font-size: 14px;
	color: rgba(34, 90, 107, 1);
	margin-bottom: 20px;
}

.congrats-image {
	width: 100%;
	height: auto;
	max-height: 250px;
	object-fit: contain;
	display: none;
}

.ruki-group {
	position: absolute;
	top: 88px;
	left: 0px;
	width: 571px;
	height: auto;
	z-index: 0;
}

/* Responsive styles */
@media (max-width: 1200px) {
	.status_wrapper {
		flex-direction: column;
		gap: 30px;
	}

	.status_message {
		width: 100%;
		height: auto;
		text-align: center;
	}

	.congrats-image {
		margin: 0 auto;
	}
}

@media (max-width: 768px) {
	.stations_status {
		height: auto;
		padding: 30px 0;
	}

	.status_list {
		flex-wrap: wrap;
	}

	.station {
		width: 80px;
		height: 120px;
	}

	.station p {
		font-size: 50px;
	}
}


/* Congrats block styles */
.posdr {
	display: none;
position: relative;

	border-radius: 20px;
	padding: 20px;
	padding-left: 0;
	margin-top: -35px;
	margin-left: -40px;
}

.posdr h3 {
	font-family: "Golos Text", sans-serif;
	font-size: 28px;
	font-weight: 700;
	color: rgba(226, 10, 19, 1);
	text-transform: uppercase;
	margin-bottom: 5px;
}

.posdr p {
	font-family: "Golos Text", sans-serif;
	font-size: 20px;
	color: rgba(226, 10, 19, 1);
	margin-bottom: 15px;
	width: 210px;
	height: 48px;
	text-align: left;
}

.initial-description {
	display: block;
}

.posdr {
	display: none;
}

/* Когда есть прогресс, скрываем начальное описание */
.has-progress .initial-description {
	display: none;
}

.has-progress .posdr {
	display: block;
}

.posdr .congrats-image {
	width: 340px;
	max-height: 370px;
	display: block;
	position: absolute;
right: -15px;
	top: -96px;
}



/*задания стили */

/* Quests stations section */
.quests_stations {
	margin: 10px 0;

}

.accordion_items {
	display: flex;
	flex-direction: column;
	gap: 10px;
}

.accordion_item {
	background: #E2F9FD;
	width: 100%;
	padding: 20px 20px 10px;
	border-radius: 15px;
	overflow: hidden;
	border-bottom: 1px solid rgba(204, 204, 204, 0.6);
}

.accordion_item:not(.active) {
	padding: 0px;
	padding-left: 20px;
	padding-right: 20px;
	background: #F0F0F0;
}

.accordion_item:not(.active).passed {
	background: #80F2FF;
}

.accordion_item:not(.active).passed .accordion_header h4 {
	color: rgba(34, 90, 107, 1);
}

.accordion_item:not(.active) .accordion_content {
	display: none;
}

.accordion_header {
	display: flex;
	justify-content: space-between;
	align-items: center;
	height: 70px;
	padding: 0 0px;
	border-bottom: 1px solid rgba(109, 172, 204, 0.6);
	cursor: pointer;
}

.accordion_item:not(.active) .accordion_header {
	background: #F0F0F0;
	color: rgba(163, 163, 163, 1);
	border-radius: 15px;
	border-bottom: none;
}

.accordion_item.passed .accordion_header {
	background: #80F2FF;
	color: rgba(34, 90, 107, 1);
}

.accordion_item .accordion_header h4 {
	margin: 0;
	padding: 10px;
	padding-left: 0;
	font-size: 40px;
	font-weight: 700;
		font-family: "a_SimplerDnm", sans-serif;
		text-transform: uppercase;
		
				/* для остальных браузеров */

}

.accordion_item.active .accordion_header h4 {
	background: linear-gradient(180deg, #E60004 0%, #FE7676 52.21%, #E60004 52.46%, #C00205 100%);
		-webkit-background-clip: text;
		/* для Chrome, Safari, Edge */
		background-clip: text;
		-webkit-text-fill-color: transparent;
		/* для Chrome, Safari, Edge */
		color: transparent;
}


.accordion_item:not(.active) .accordion_header h4 {
	color: rgba(163, 163, 163, 1);
	background: none;
}

.accordion_content h3 {
	color: rgba(34, 90, 107, 1);
	font-size: 24px;
	font-weight: 700;
	margin-bottom: 10px;
}

.accordion_content strong {
		color: rgba(34, 90, 107, 1);
			font-size: 18px;
			font-weight: 700;
				margin-bottom: 5px;
				display: block;
}


.accordion_content p {
			color: rgba(34, 90, 107, 1);
				font-size: 16px;
				font-weight: 400;
}

.status {
	display: flex;
	align-items: center;
	gap: 8px;
}

.status-icon {
	width: 18px;
	height: 20px;
}

.accordion_item.passed .status span {
	color: rgba(34, 90, 107, 1);
}

.accordion_item.passed .status-icon {
	content: url('/wp-content/themes/agents_theme/img/yes_icon.svg');
}

.accordion_content {
	padding-top: 10px;
}

.items_grid {
	display: grid;
	grid-template-columns: repeat(auto-fill, minmax(100px, 1fr));
	gap: 10px;
	margin: 10px 0;
}

.item {
	display: flex;
	flex-direction: column;
	align-items: center;
	opacity: 0.6;
	transition: opacity 0.3s;
	cursor: pointer;
}

.item.selected {
	opacity: 1;
}

.item_icon {
	position: relative;
	width: 100px;
	height: 100px;
	background: #BEE2F4;
	border-radius: 15px;
	display: flex;
	justify-content: center;
	align-items: center;
}

.item_icon img {
	max-width: 80%;
	max-height: 80%;
	object-fit: contain;
}

.check_circle {
	position: absolute;
	bottom: 5px;
	right: 5px;
	width: 27px;
	height: 27px;
	background: white;
	border-radius: 50%;

}

.item.selected .check_circle {
	display: flex;
	justify-content: center;
	align-items: center;
}

.item.selected .check_circle::after {
	content: '';
	display: block;
	width: 18px;
	height: 13px;
	background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 18 13'%3E%3Cpath d='M6.5 12.5L0.5 6.5L2 5L6.5 9.5L16 0L17.5 1.5L6.5 12.5Z' fill='%233D9BB8'/%3E%3C/svg%3E");
}

.item p {
	margin: 10px 0 0;
	font-family: 'Golos Text', sans-serif;
	font-weight: 400;
	font-size: 12px;
	line-height: 1;
	color: rgba(34, 90, 107, 1);
	text-align: center;
}

.next_station_btn {
	width: 230px;
	height: 47px;
	margin-bottom: 20px;
	border-radius: 100px;
	background: linear-gradient(180deg, #FFFFFF 0%, #BFD9E3 100%);
	border: 1px solid rgba(126, 192, 225, 1);
	padding: 0 30px;
	font-family: 'Golos Text', sans-serif;
	font-weight: 500;
	font-size: 16px;
	color: rgba(34, 90, 107, 1);
	cursor: pointer;
	transition: all 0.3s ease;
}

.next_station_btn:hover {
	opacity: 0.8;
}

.error_message {
	color: #e74c3c;
	margin-top: 15px;
	font-weight: 500;
}

.accordion_item.passed .status span {
	color: rgba(34, 90, 107, 1);
}

.accordion_item.passed .status-icon {
	content: url('/wp-content/themes/agents_theme/img/yes_icon.svg');
}


/* Статус "Не выполнено" */
.status span {
	color: rgba(230, 0, 4, 1);
}

/* Статус "Выполнено" */
.accordion_item.passed .status span {
	color: rgba(0, 154, 154, 1);
}


/* Стили для второй станции */
.station2_items_grid {
	display: grid;
	grid-template-columns: repeat(auto-fill, minmax(262px, 1fr));
	gap: 10px;
	margin: 10px 0;
}

.riddle_item {
	background: rgba(190, 226, 244, 0.6);
	border-radius: 10px;
	padding: 15px;
	min-height: 222px;
	height: fit-content;
	display: flex;
	justify-content: center;
	flex-direction: column;
	background-color: #CCEBF8;
}

.riddle_item h4 {
	text-align: center;
	margin: 0 0 15px 0;
	font-size: 18px;
	color: rgba(34, 90, 107, 1);
}

.riddle_item.active h4 {text-align: left;
font-weight: 700;}

.riddle_content {
	flex-grow: 1;
	display: flex;
	flex-direction: column;
}

.riddle_content p {
	flex-grow: 1;
	margin: 0 0 15px 0;
	font-size: 15px;
	line-height: 1.3;
	color: #000;
}

.answer_input {
	display: flex;
	position: relative;
}

.answer_input input {
	flex-grow: 1;
	padding: 10px 15px;
	border-radius: 30px;
	border: 1px solid rgba(126, 192, 225, 1);
	font-size: 16px;
	padding-right: 50px;
	max-width: 232px;
	box-shadow: 0px 1px 2px 0px rgba(100, 158, 178, 1) inset;
	background-color: #fff;
}

.answer_input button {
	position: absolute;
	right: 7px;
	top: 50%;
	transform: translateY(-50%);
	background: none;
	border: none;
	cursor: pointer;
	padding: 0;
	width: 38px;
	height: 38px;
}

.riddle_item.passed {
	background-color: rgba(190, 226, 244, 1);
}

.riddle_item.passed h4 {
	color: rgba(0, 154, 154, 1);
}

.answer_input input.error {
	border-color: #ff0000;
	box-shadow: 0 0 5px rgba(255, 0, 0, 0.5);
	transition: all 0.3s ease;
}





/*3 станция */

.word_scramble_container {
	display: flex;
	flex-wrap: wrap;
	gap: 5px;
	margin: 10px 0;
}

.word_scramble_item {
	background: #CCEBF8;
	border-radius: 10px;
	padding: 15px 20px;
	height: 68px;
	display: flex;
	flex-direction: row;
	justify-content: flex-start;
	align-items: center;
	width: fit-content;
	gap: 10px;
}

.scrambled_word {
	font-family: 'Golos', sans-serif;
	font-weight: 700;
	font-size: 24px;
	line-height: 100%;
	letter-spacing: 0.3em;
color: rgb(34, 90, 107);
	text-transform: uppercase;
}

.answer_container {
	display: flex;
	gap: 10px;
	align-items: center;
	padding-right: 30px;
	position: relative;
}

.letter_input {
	width: 32px;
	height: 38px;
	box-shadow: inset 0px 1px 2px 0px rgba(100, 159, 178, 0.345);
	border-radius: 5px !important;
	border: 1px solid #ccc;
	background-color: #ffffff;
	text-align: center;
	font-family: 'Golos', sans-serif;
	border-radius: 5px;
	font-weight: 400;
	font-size: 24px;
	line-height: 100%;
	letter-spacing: 0.3em;
	text-transform: uppercase;
	padding: 0;
	text-indent: 5px;
}

.letter_input.correct {
	color: rgba(0, 154, 154, 1);
}

.letter_input.incorrect {
	color: rgba(230, 0, 4, 1);
}

.result_icon {
	width: 25px;
	height: 25px;
	margin-left: 10px;
	display: none;
	position: absolute;
	right: -8px;
}

.word_scramble_item.passed .scrambled_word {
	color: rgba(34, 90, 107, 1);
}

.word_scramble_item.failed .scrambled_word {
color: rgba(34, 90, 107, 1);
}

@media (max-width: 768px) {
	.word_scramble_item {
		width: 100%;
	}
}


/*4 станция */

.logic_tasks_container {
	display: flex;
	flex-wrap: wrap;
	gap: 20px;
	margin: 30px 0;
}

.logic_task {
	background: #D4EAF4;
	border-radius: 10px;
	padding: 15px 20px;
	width: 443px;
	height: 300px;
	display: flex;
	flex-direction: column;
}

.logic_task h4 {
	text-align: center;
	margin: 0 0 10px 0;
	font-family: 'Golos', sans-serif;
	color: rgba(34, 90, 107, 1);
}

.logic_task .task_num {
	font-weight: 700;
	font-size: 16px;
}

.logic_task .task_title {
	font-weight: 400;
	font-size: 14px;
}

.logic_task h4 span:first-child::after {
	content: "|";
	margin: 0 10px;
	color: rgba(169, 206, 217, 1);
}

.task_image,
.main_image {
	margin: 0 auto 15px;
	text-align: center;
}

.answer_options {
	display: flex;
	gap: 10px;
	justify-content: center;
	position: relative;
}

.option_btn {
	width: 93px;
	height: 47px;
	border-radius: 5px;
	background: linear-gradient(180deg, #FFFFFF 0%, #BFD9E3 100%);
	border: 1px solid rgba(126, 192, 225, 1);
	font-family: 'Golos', sans-serif;
	font-size: 16px;
	cursor: pointer;
	padding: 0 20px;
}

.image_options,
.parts_options {
	display: flex;
	gap: 10px;
	justify-content: center;
	margin-bottom: 15px;
	position: relative;
}

.image_option,
.part_option {
	cursor: pointer;
	position: relative;
}

.part_option {
	background: #BEE2F4;
	border-radius: 5px;
	display: flex;
	justify-content: center;
	align-items: center;
	width: 87px;
	height: 47px;
	padding: 20px;
}

.result_icon {
	position: absolute;
	right: -30px;
	top: 50%;
	transform: translateY(-50%);
	width: 25px;
	height: 25px;
	display: none;
}

.logic_task.passed .result_icon {
	display: block;
}

/* Стили для задачи 6 (Соедини пары) */
.pairs_container {
	display: flex;
	flex-direction: column;

}

.pair_items {
	display: flex;
	justify-content: center;
	align-items: center;
	gap: 10px;
}

.pair_item {
	display: flex;
	flex-direction: column;
	align-items: center;
background-color: #BEE2F4;
margin-bottom: 10px;
padding-bottom: 4px;
border-radius: 15px;
}

.pair_image {
	background: #BEE2F4;
	border-radius: 15px;

	text-align: center;
}

.pair_slot {
	width: 121px;
	height: 52px;
	border-radius: 12px;
	border: 1px dashed rgba(126, 192, 225, 1);
	background: #E5F3FB;
	display: flex;
	justify-content: center;
	align-items: center;
	cursor: pointer;
}

.pair_slot img {
width: auto;
height: 30px;
}

.pair_options {
	display: flex;
	gap: 10px;
	justify-content: center;
}

.pair_option {
	background: #BEE2F4;
	border-radius: 15px;
width: 127px;
height: 72px;
	cursor: pointer;
	display: flex;
	align-items: center;
}

.pair_option img {
	display: block;
	margin: 0 auto;
	width: auto;
	height: 60px;
}

/* Адаптивность */
@media (max-width: 992px) {
	.logic_task {
		width: 100%;
		height: auto;
	}
}


.task_2 .image_option {width: 127px;
height: 157px;
border-radius: 15px;
display: flex;
	justify-content: center;
	align-items: center;
background-color: #BEE2F4;}

.task_2 .image_option img { max-width: 95%;}




.task_2 .image_options {
	margin-top: 40px;
}

.task_5 .button_options {
	display: flex;
	justify-content: space-between;
	position: relative;
}

.task_5 .button_options .option_btn {
	width: 190px;
}

.task_5 .image_option {
	border-radius: 15px;
}


.task_1 .result_icon {
	right: 104px;
		top: -227%;
		transform: translateY(-50%);
		width: 25px;
		height: 25px;
		display: none;
		background: white;
		padding: 20px;
		border-radius: 7px;
}

.task_1 .result_icon svg {
	margin-top: -14px;
		margin-left: -9px;
}

.task_2 .result_icon {
	right: 187px;
		top: -15%;
}


.task_3 .result_icon {
right: 110px;
	top: 24px;
}

.task_4 .result_icon {
right: 168px;
	top: -103px;
}
.task_5 .result_icon {
right: 188px;
	top: -103px;
}

.task_6.passed {
	border: 2px solid #009A9A !important;
}
.task_6.nopassed {
	border: 2px solid #E60004;
}

.word_scramble_container .result_icon {
	right: -11px;
}


span.station_name {
	color: rgba(163, 163, 163, 1);
	font-size: 20px;
	font-weight: 400;
	flex: 1;
	position: relative;
	padding-left: 50px;
}

 span.station_name::after {
	content: '';
	position: absolute;
	left: 30px;
	width: 1px;
	top: -5px;
	height: 36px;
	background-color: rgba(163, 163, 163, 1);
}
.passed span.station_name::after {
	content: '';
	position: absolute;
	left: 30px;
	width: 1px;
	top: -5px;
	height: 36px;
	background-color: rgba(6, 134, 173, 1);
}

.passed span.station_name {
	color: rgba(34, 90, 107, 1);
}

.active span.station_name {
	color: #E2F9FD;
}

.active span.station_name::after {display: none;}

.accordion_item {
	opacity: 0;
	transform: translateY(-30px);
	transition: all 0.6s ease-out;
}

/* Убедитесь, что у аккордеона нет начального скрытия */
.accordion_items {
	visibility: visible !important;
}
/*5 станция */

/* Станция 5 - Забавные примеры */
.dino_math_container {
	display: flex;
	gap: 10px;
	margin: 20px 0 0;
}

.dino_legend,
.dino_examples {

	border-radius: 10px;
	padding: 0px;
}

.dino_legend {
	width: 536px;
	height: 400px;
	display: flex;
	align-items: center;
	justify-content: center;
}

.dino_legend_img {
	max-width: 100%;
	max-height: 100%;
}

.dino_examples {
	flex: 1;
}

.dino_example {
	display: flex;
	align-items: center;
	margin-bottom: 5px;
	background: #CCEBF8;
	border-radius: 10px;
}

.dino_equation {
	display: flex;
	align-items: center;
	gap: 10px;

}

.dino_equation span {
	font-size: 40px;
	font-weight: 400;
	color: rgba(34, 90, 107, 1);
}

.dino_img {
	width: 95px;
	height: auto;
	object-fit: contain;
}

.dino_answer {
	width: 58px;
	height: 58px;
	padding: 8px;
	margin: 0 10px;
	border: 1px solid #ccc;
	border-radius: 5px !important;
	background-color: #ffffff;
	color: rgba(0, 154, 154, 1);
	text-align: center;
	font-size: 24px;
	box-shadow: 0px 1px 2px 0px rgba(100, 159, 178, 0.452) inset;
}

.dino_result {
	width: 25px;
	height: 25px;
}

.complete_quest_btn {
	margin-top: 20px;
	padding: 12px 24px;
	background: linear-gradient(180deg, #ED8052 0%, #B80306 100%);
	color: white;
	border: none;
	border-radius: 19px;
	cursor: pointer;
	font-size: 16px;
	margin-bottom: 20px;
}

/* Баннер завершения */
.quest_complete_banner {

margin-bottom: 40px;
	width: 1410px;
	height: 578px;
	z-index: 100;
	display: flex;
	justify-content: center;
	align-items: center;
	background: white;
	border-radius: 10px;
	/*box-shadow: 0 0 20px rgba(0, 0, 0, 0.2);*/
}

/* Формы после завершения */
.post_quest_forms {
	display: flex;
	gap: 20px;
margin-bottom: 40px;
	padding: 20px;
	flex-direction: column;
}

.post_quest_forms h3 {
	color: rgba(34, 90, 107, 1);
	font-size: 24px;
	font-weight: 700;
}




.post_quest_forms>div {
	flex: 1;
	background: #f5f5f5;
	padding: 20px;
	border-radius: 10px;
}

.post_quest_forms form {
	display: flex;
	flex-direction: column;
	gap: 10px;
	min-height: 370px;
	height: auto;
}

.post_quest_forms input,
.post_quest_forms textarea {
	padding: 10px;
	border: 1px solid #ddd;
	border-radius: 4px;
}




.main_footer .container {
align-items: center;
display: flex;
justify-content: start;
border-top: 1px solid rgba(128, 183, 200, 1);
height: 100px;
}

.main_footer .footer_logo_img {
	display: flex;
	width: 170px;
	height: auto;
}


/* Стили для пройденных загадок */
.riddle_item.passed input[readonly] {
	color: rgba(0, 154, 154, 1) !important;
	background-color: #f0f9f9 !important;
	border-color: #009A9A !important;
}

/* Скрытие кнопки для пройденных загадок */
.riddle_item.passed .check_answer {
	display: block !important;
	opacity: .8;
	pointer-events: none;
}

/* Стили для активных полей ввода */
.station2_items_grid input {
	transition: all 0.3s ease;
}

.station2_items_grid input.error {
	border-color: #E60004;
	box-shadow: 0 0 5px rgba(230, 0, 4, 0.3);
}








/*формы заявок */



/* Стили для форм */
.participant-form {
	padding: 25px;
	border-radius: 10px;
	margin-bottom: 30px;
	box-shadow: 0 2px 5px rgba(0, 0, 0, 0.1);
}

.participant-form h3 {
	color: #225a6b;
	margin-top: 0;
}

.participant-form h4 {
	color: rgba(34, 90, 107, 1);

	font-size: 24px;
	font-weight: 700;
}

.participant-form label {
	display: flex;
	margin-bottom: 5px;
	font-weight: bold;
	font-size: 14px;
	padding-left: 0px;
	font-weight: 400;
	color: rgba(34, 90, 107, 1);
}

.participant-form input[type="text"],
.participant-form input[type="tel"],
.participant-form input[type="email"],
.participant-form input[type="file"] {
	width: 100%;
	padding: 12px;
	margin-bottom: 15px;
	border: 1px solid #ddd;
	border-radius: 4px;
	box-sizing: border-box;
	font-size: 16px;
	background: white;
	max-width: 330px;
	min-width: 250px;
	height: 38px;
	box-shadow: 0px 1px 2px 0px rgba(100, 158, 178, .5) inset;
}


.input_wrap {
margin-top: 5px;
  display: flex;
  justify-content: start;
  flex-wrap: wrap;
  gap: 10px;
}

.participant-form hr {
	margin: 20px 0;
	border: 0;
	border-top: 1px solid #ccc;
}

/* Стили для кастомного чекбокса */
.checkbox-agreement {
	margin: 0px 0;
}

.checkbox-label {
	display: flex;
	align-items: center;
	cursor: pointer;
	font-size: 14px;
	color: #666;
}

.checkbox-label input[type="checkbox"] {
	display: none;
}

.checkmark {
	display: inline-block;
	width: 30px;
	height: 31px;

	flex-shrink: 0;
	background-repeat: no-repeat;
}

.checkbox-label input[type="checkbox"]+.checkmark svg {
	opacity: 0.6;
	transition: opacity 0.3s ease;
}

.checkbox-label input[type="checkbox"]:checked+.checkmark svg {
	opacity: 1;
}

.checkbox-label a {
	color: #009A9A;
	text-decoration: underline;
}

.form-message {
	margin-top: 10px;
	font-weight: bold;
}

.form-agreement.checkbox-agreement {
display: flex;
align-items: center;
margin-top: -10px;
}

.form-agreement.checkbox-agreement button {
	margin-right: 30px;
}

.red {
	color: rgba(226, 10, 19, 1);
}

#video-contest-form {
	height: 222px;
	min-height: auto;
}

.participant-form input[type="file"] {
	width: 415px;
	min-width: auto;
	max-width: none;
}






/* Стили для кастомного поля загрузки файла */
.custom-file-upload {
	margin-top: 5px;
	margin-bottom: 10px;
}

.up_text {
	font-size: 18px;
}

.file-upload-label {
	display: flex;
	align-items: center;
	padding: 12px;
height: 48px;
width: 415px;
	border-radius: 4px;
	background: white;
	cursor: pointer;
	transition: all 0.3s ease;
	box-shadow: 0px 1px 2px 0px rgba(174, 141, 141, 1) inset;
}

.file-upload-label:hover {
	border-color: #007a7a;
	background: #f0f9f9;
}

.file-name {
	flex: 1;
	color: #666;
	overflow: hidden;
	text-overflow: ellipsis;
	white-space: nowrap;
	text-indent: 10px;
}

.file-browse {
	background: linear-gradient(180deg, #ED8052 0%, #B80306 100%);
	color: white;
	padding: 6px 12px;
	border-radius: 4px;
	font-size: 14px;
	margin-left: 10px;
	transition: all 0.3s ease;
}

.file-upload-label:hover .file-browse {
	background: linear-gradient(180deg, #e5673a 0%, #9c0205 100%);
}

/* Стиль когда файл выбран */
.file-upload-label.has-file {

	background: #f0f9f9;
}

.file-upload-label.has-file .file-name {
	color: #009A9A;
	font-weight: 500;
	
}

.file-browse {display: none !important;}









/* Скрываем оригинальный чекбокс */
.visually-hidden {
	position: absolute;
	width: 1px;
	height: 1px;
	margin: -1px;
	padding: 0;
	overflow: hidden;
	clip: rect(0, 0, 0, 0);
	border: 0;
}

/* Кастомный чекбокс */
.custom-checkbox {
	width: 30px;
	height: 30px;
	border: 2px solid #009A9A;
	border-radius: 5px;
	background: white;
	display: flex;
	align-items: center;
	justify-content: center;
	margin-right: 10px;
	flex-shrink: 0;
}


/* Когда чекбокс отмечен */
input[type="checkbox"]:checked+.custom-checkbox {
	background: #ffffff;
			background-image: url('/wp-content/themes/agents_theme/img/gl.png');
			background-repeat: no-repeat;
			background-position: center;
}

input[type="checkbox"]:checked+.custom-checkbox .checkmark {
	opacity: 1;
}

/* Стили для label и текста */
.checkbox-label {
	display: flex;
	align-items: center;
	cursor: pointer;
	margin-top: 15px;
}

.checkbox-label p {
	margin: 0;
	font-size: 14px;
	color: #666;
}





/* Баннер для новых посетителей */
.welcome-banner {
	position: fixed;
	top: 0;
	left: 0;
	width: 100%;
	height: 100%;
	z-index: 9999;
	display: flex;
	align-items: center;
	justify-content: center;
	opacity: 0;
	visibility: hidden;
	transition: all 0.5s ease;
}

.welcome-banner.active {
	opacity: 1;
	visibility: visible;
}

.banner-overlay {
	position: absolute;
	top: 0;
	left: 0;
	width: 100%;
	height: 100%;
	background: rgba(0, 0, 0, 0.5);
}

.banner-content {
	position: relative;
	z-index: 2;
	transform: translateY(-100px);
	transition: transform 0.5s ease;
}

.welcome-banner.active .banner-content {
	transform: translateY(0);
}

.banner-image {
	width: 1265px;
	height: 778px;
	max-width: 90vw;
	max-height: 90vh;
	object-fit: contain;
	border-radius: 10px;
	cursor: pointer;
	/*box-shadow: 0 10px 30px rgba(0, 0, 0, 0.3);*/
}

.banner-close {
	position: absolute;
	top: -40px;
	right: -40px;
	width: 40px;
	height: 40px;
	background: #fff;
	border: none;
	border-radius: 50%;
	font-size: 24px;
	font-weight: bold;
	cursor: pointer;
	color: #333;
	transition: all 0.3s ease;
}

.banner-close:hover {
	background: #e74c3c;
	color: white;
	transform: scale(1.1);
}

/* Адаптивность для мобильных */
@media (max-width: 1400px) {
	.banner-image {
		width: 90vw;
		height: auto;
	}

	.banner-close {
		top: -30px;
		right: -30px;
		width: 30px;
		height: 30px;
		font-size: 18px;
	}
}




/*страницы обычные */


/* Стили для страницы с правилами */
.page-content {
	padding: 40px 0;
	min-height: 60vh;
	background: linear-gradient(135deg, #f5f7fa 0%, #c3cfe2 100%);
}

.page-wrapper {
	display: flex;
	justify-content: center;
	align-items: flex-start;
}

.page-card {
	background: white;
	border-radius: 20px;
	padding: 50px;
	box-shadow: 0 20px 40px rgba(0, 0, 0, 0.1);
	max-width: 1000px;
	width: 100%;
	margin: 0 20px;
}

.page-header {
	text-align: center;
	margin-bottom: 40px;
	padding-bottom: 30px;
	border-bottom: 3px solid #009A9A;
}

.page-title {
	color: #225a6b;
	font-size: 42px;
	font-weight: 700;
	margin: 0;
	text-transform: uppercase;
	letter-spacing: 1px;
}

.page-content-inner {
	font-size: 18px;
	line-height: 1.8;
	color: #333;
}

.page-content-inner h2 {
	color: #ED8052;
	font-size: 28px;
	margin: 35px 0 20px;
	border-left: 4px solid #ED8052;
	padding-left: 15px;
}

.page-content-inner h3 {
	color: #225a6b;
	font-size: 22px;
	margin: 30px 0 15px;
}

.page-content-inner p {
	margin-bottom: 20px;
}

.page-content-inner ul,
.page-content-inner ol {
	margin: 20px 0;
	padding-left: 30px;
}

.page-content-inner li {
	margin-bottom: 10px;
	position: relative;
}

.page-content-inner strong {
	color: #009A9A;
	font-weight: 600;
}

.page-content-inner a {
	color: #ED8052;
	text-decoration: none;
	font-weight: 500;
	transition: color 0.3s ease;
}

.page-content-inner a:hover {
	color: #B80306;
	text-decoration: underline;
}

.page-content-inner blockquote {
	background: #E2F9FD;
	border-left: 5px solid #009A9A;
	padding: 25px;
	margin: 30px 0;
	border-radius: 10px;
	font-style: italic;
}

.page-content-inner table {
	width: 100%;
	border-collapse: collapse;
	margin: 25px 0;
}

.page-content-inner table th {
	background: #009A9A;
	color: white;
	padding: 15px;
	text-align: left;
}

.page-content-inner table td {
	padding: 12px 15px;
	border-bottom: 1px solid #ddd;
}

.page-content-inner table tr:nth-child(even) {
	background: #f9f9f9;
}

.page-error {
	text-align: center;
	padding: 60px 20px;
}

.page-error h2 {
	color: #d63638;
	font-size: 32px;
	margin-bottom: 20px;
}

/* Адаптивность */
@media (max-width: 768px) {



	.page-content {
		padding: 20px 0;
	}

	.page-card {
		padding: 30px 20px;
		margin: 0 15px;
		border-radius: 15px;
	}

	.page-title {
		font-size: 32px;
	}

	.page-content-inner {
		font-size: 16px;
	}

	.page-content-inner h2 {
		font-size: 24px;
	}

	.page-content-inner h3 {
		font-size: 20px;
	}


.task_1 .result_icon {
	right: 38px; 
}

.task_2 .result_cup {
	right: 114px;
}

.task_2 .result_glasses {
	right: 46px;
	top: 17%;
}

.task_2 .result_tea_pot {
	right: 181px;
}



.task_3 .result_6 {right: 0px;}
.task_3 .result_8 {right: 208px;}
.task_3 .result_12 {right: 134px;}
.task_3 .result_16 {right: 68px;}



}

@media (max-width: 480px) {
	.page-card {
		padding: 20px 15px;
		margin: 0 10px;
		border-radius: 12px;
	}

	.page-title {
		font-size: 28px;
	}

	.page-header {
		margin-bottom: 30px;
		padding-bottom: 20px;
	}

	.page-content-inner ul,
	.page-content-inner ol {
		padding-left: 20px;
	}
}


.task_2 .result_glasses {
right: 83px;
top: 14%;
}


.task_2 .result_cup {
right: 189px;
	top: 14%;
}



.task_2 .result_tea_pot {
right: 320px;
	top: 10%;
}




.task_3 .result_8 {
	right: 317px;
}
.task_3 .result_12 {
right: 212px;
}
.task_3 .result_16{
right: 110px;
}
.task_3 .result_6 {
right: 8px;
}

.task_5 .result_Даша {
	right: 19px;
}
.task_5 .result_Саша {
	right: 222px;
}