/*
 * FAQ accordion section — homepage [mr_faq]
 * @package log-core
 */

.faq-wrap {
	max-width: 760px;
	margin: 46px auto 0;
	display: flex;
	flex-direction: column;
	gap: 12px;
}

.faq-item {
	background: #fff;
	border: 1px solid var(--line);
	border-radius: var(--r-md);
	overflow: hidden;
}

.faq-item.open { border-color: var(--sage-400, #7ab87a); }

.faq-q {
	width: 100%;
	display: flex;
	justify-content: space-between;
	align-items: center;
	gap: 16px;
	padding: 20px 22px;
	background: none;
	border: none;
	cursor: pointer;
	font-family: var(--body);
	font-size: 14.5px;
	font-weight: 600;
	color: var(--ink-900);
	text-align: left;
	transition: color .25s var(--ease);
}

.faq-q:hover { color: var(--plum-700); }
.faq-item.open .faq-q { color: var(--plum-700); }

.q-toggle {
	width: 28px;
	height: 28px;
	min-width: 28px;
	border-radius: 50%;
	border: 1.4px solid var(--line);
	display: flex;
	align-items: center;
	justify-content: center;
	transition: all .3s var(--ease);
	color: var(--ink-700);
}

.faq-item.open .q-toggle {
	background: var(--sage-500, #5fa35f);
	border-color: var(--sage-500, #5fa35f);
	color: #fff;
	transform: rotate(45deg);
}

.q-toggle .icon { width: 14px; height: 14px; }

.faq-a {
	max-height: 0;
	overflow: hidden;
	transition: max-height .35s ease;
}

.faq-a p {
	padding: 0 24px 22px;
	font-size: 14.5px;
	line-height: 1.7;
	color: var(--gray-600);
	margin: 0;
}

@media (max-width: 640px) {
	.faq-q { font-size: 14.5px; padding: 16px 18px; }
	.faq-a p { padding: 0 18px 18px; }
}
