/* public_html/css/faq_style.css */
/* Версия 202606050140 */
/* Изменено 05.06.2026 01:40:00 */

/* Стили страницы FAQ. Основаны на визуальном поведении блока FAQ на главной. */

.faq-page-section {
	position: relative;
}

.faq-page-section__head {
	max-width: 920px;
	margin: 0 auto 34px;
}

.mainfaq {
	display: grid;
	gap: 16px;
}

.mainfaq__item {
	background: #ffffff;
	box-shadow: 0 3px 10px #2e2e2e10;
	border-radius: 15px;
	border: 1px solid #2e2e2e10;
	overflow: hidden;
}

.mainfaq__button {
	position: relative;
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 18px;
	width: 100%;
	padding: 17px;
	border: 0;
	background: transparent;
	color: #2e2e2e;
	font-size: clamp(17px, 2vw, 20px);
	line-height: 1.35;
	font-weight: 500;
	text-align: left;
	cursor: pointer;
}

.mainfaq__plus {
	position: relative;
	flex: 0 0 22px;
	width: 22px;
	height: 22px;
}

.mainfaq__plus::before,
.mainfaq__plus::after {
	content: "";
	position: absolute;
	top: 50%;
	left: 50%;
	width: 18px;
	height: 2px;
	border-radius: 999px;
	background: #2e2e2e;
	transform: translate(-50%, -50%);
	transition: transform 0.25s ease, opacity 0.25s ease;
}

.mainfaq__plus::after {
	transform: translate(-50%, -50%) rotate(90deg);
}

.mainfaq__item.is-open .mainfaq__plus::after {
	opacity: 0;
	transform: translate(-50%, -50%) rotate(90deg) scaleX(0);
}

.mainfaq__answer {
	display: none;
	padding: 0 28px 26px;
}

.mainfaq__answer p {
	margin: 0;
	color: #5b6271;
	font-size: clamp(16px, 2vw, 18px);
	line-height: 1.7;
}

.mainfaq__answer,
.mainfaq__answer * {
	text-align: left;
}

.mainfaq__answer,
.mainfaq__answer div,
.mainfaq__answer span,
.mainfaq__answer p,
.mainfaq__answer ul,
.mainfaq__answer ol,
.mainfaq__answer li {
	color: #5b6271;
	font-size: clamp(16px, 2vw, 18px);
	line-height: 1.7;
}

/* Адаптив */

@media only screen and (max-width: 991px) {
	.mainfaq__button {
		font-size: 20px;
	}
}

@media only screen and (max-width: 767px) {
	.mainfaq__answer p {
		line-height: 1.4;
	}

	.mainfaq__button {
		padding: 20px 22px;
		font-size: 18px;
	}

	.mainfaq__answer {
		padding: 0 22px 22px;
	}
}
