/* ============================================================
   Вопрос-ответ (ihear): аккордеон архива + страница вопроса.
   Базовые (hero, aside, прогресс, пагинация) — из news.css.
   ============================================================ */

.help-list { padding-bottom: 72px; }

/* ---------- Аккордеон ---------- */
.faq-list { display: flex; flex-direction: column; gap: 14px; }

.faq-item {
	background: #fff;
	border: 1px solid var(--line);
	border-radius: var(--radius);
	overflow: hidden;
	transition: box-shadow var(--tr), border-color var(--tr), transform var(--tr);
}
.faq-item:hover { border-color: rgba(240, 89, 77, .35); }
.faq-item.is-open { border-color: transparent; box-shadow: var(--shadow); }

.faq-item__q {
	display: flex;
	align-items: center;
	gap: 18px;
	width: 100%;
	padding: 20px 24px;
	border: 0;
	background: none;
	cursor: pointer;
	text-align: left;
	font: inherit;
	color: var(--dark);
}
.faq-item__num {
	flex: none;
	display: inline-flex;
	align-items: center;
	justify-content: center;
	width: 44px;
	height: 44px;
	border-radius: 13px;
	background: var(--accent-soft);
	color: var(--accent-dark);
	font-size: 15px;
	font-weight: 800;
	letter-spacing: .02em;
	transition: background var(--tr), color var(--tr);
}
.faq-item.is-open .faq-item__num { background: var(--news-grad); color: #fff; }
.faq-item__q-text {
	flex: 1;
	font-size: 17px;
	font-weight: 700;
	line-height: 1.4;
}
.faq-item__plus {
	position: relative;
	flex: none;
	width: 22px;
	height: 22px;
}
.faq-item__plus::before,
.faq-item__plus::after {
	content: "";
	position: absolute;
	top: 50%;
	left: 50%;
	width: 16px;
	height: 2px;
	border-radius: 2px;
	background: var(--accent);
	transform: translate(-50%, -50%);
	transition: transform var(--tr);
}
.faq-item__plus::after { transform: translate(-50%, -50%) rotate(90deg); }
.faq-item.is-open .faq-item__plus::after { transform: translate(-50%, -50%) rotate(0); }

.faq-item__panel {
	max-height: 0;
	overflow: hidden;
	transition: max-height .45s cubic-bezier(.22, 1, .36, 1);
}
.faq-item__panel-inner { padding: 0 24px 26px; }
.faq-item__answer {
	color: var(--text);
	font-size: 1.0125rem;
	line-height: 1.72;
}
.faq-item__answer > * + * { margin-top: .85em; }
.faq-item__answer ul,
.faq-item__answer ol { padding-left: 1.3em; }
.faq-item__answer a { color: var(--accent); }

.faq-item__more {
	display: inline-flex;
	align-items: center;
	gap: 8px;
	margin-top: 18px;
	color: var(--accent);
	font-weight: 700;
	text-decoration: none;
}
.faq-item__more span { transition: transform var(--tr); }
.faq-item__more:hover span { transform: translateX(5px); }

.help-none { padding: 60px 0; text-align: center; color: var(--muted); }

/* ---------- Страница вопроса ---------- */
.help-single-hero .news-single-hero__title { max-width: 1100px; }

.help-aside__list { list-style: none; margin: 0; padding: 0; }
.help-aside__list a {
	display: block;
	padding: 12px 0;
	border-bottom: 1px solid var(--line);
	color: var(--dark);
	text-decoration: none;
	font-weight: 600;
	line-height: 1.45;
	font-size: 15px;
	transition: color var(--tr);
}
.help-aside__list a:hover { color: var(--accent); }
.help-aside__list li:last-child a { border-bottom: 0; }

/* ---------- Ещё вопросы (чипы) ---------- */
.help-related { padding: 60px 0 76px; background: var(--surface); margin-top: 44px; }
.help-chips { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 14px; }
.help-chip {
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 16px;
	padding: 20px 24px;
	background: #fff;
	border: 1px solid var(--line);
	border-radius: var(--radius);
	text-decoration: none;
	color: var(--dark);
	font-weight: 600;
	line-height: 1.42;
	transition: transform var(--tr), box-shadow var(--tr), border-color var(--tr);
}
.help-chip:hover { transform: translateY(-4px); box-shadow: var(--shadow); border-color: transparent; }
.help-chip__arrow { flex: none; color: var(--accent); font-weight: 800; transition: transform var(--tr); }
.help-chip:hover .help-chip__arrow { transform: translateX(5px); }

@media (max-width: 720px) {
	.help-chips { grid-template-columns: 1fr; }
	.faq-item__q { gap: 14px; padding: 18px; }
	.faq-item__num { width: 38px; height: 38px; }
	.faq-item__panel-inner { padding: 0 18px 22px; }
}
