/* ============================================================
   FAQ Accordion Widget
   ============================================================ */

.faq-accordion {
	width: 100%;
}

.faq-item {
	padding: 20px 24px;
	background-color: #f5f5f5;
	transition: background-color 0.3s ease;
}

.faq-item + .faq-item {
	margin-top: 10px;
}

.faq-item:not(.is-active):hover {
	background-color: #eeeeee;
}

/* ── Header ── */
.faq-header {
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 16px;
	cursor: pointer;
	-webkit-user-select: none;
	user-select: none;
}

.faq-title {
	flex: 1;
	min-width: 0;
	font-size: 16px;
	font-weight: 600;
	color: #374151;
	line-height: 1.5;
	word-wrap: break-word;
	overflow-wrap: break-word;
	white-space: normal;
	transition: color 0.25s ease;
}

.faq-item.is-active .faq-title {
	color: #1a2e5a;
}

/* ── Toggle Icon ── */
.faq-toggle {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	width: 36px;
	height: 36px;
	flex-shrink: 0;
	background-color: #2d2d2d;
	border-radius: 4px;
	transition: background-color 0.3s ease, transform 0.3s ease;
}

.faq-toggle svg {
	width: 14px;
	height: 14px;
	color: #ffffff;
	display: block;
}

.faq-item.is-active .faq-toggle {
	background-color: #1a2e5a;
	transform: rotate(180deg);
}

/* ── Body (answer) ── */
.faq-body {
	padding: 12px 0 0;
	font-size: 15px;
	line-height: 1.7;
	color: #555555;
}

.faq-body p {
	margin: 0 0 10px 0;
}

.faq-body p:last-child {
	margin-bottom: 0;
}
