/* ===============================
   NJAP FAQ section
================================ */

.njap-faq {
	max-width: var(--njap-max-width);
	margin: 48px auto 0;
	padding-top: 32px;
}

.njap-faq-heading {
	font-size: 18px;
	font-weight: 700;
	margin: 0 0 16px;
}

.njap-faq-list {
	display: flex;
	flex-direction: column;
	gap: 8px;
}

/* details/summary reset & styling */

.njap-faq-item {
	border-radius: 10px;
	border: 1px solid #efefef;
	overflow: hidden;
}

.njap-faq-item[open] {
	background-color: #ffffff;
}

.njap-faq-question {
	list-style: none;
	cursor: pointer;
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 16px;
	padding: 14px 16px;
	font-size: 14px;
	font-weight: 600;
}

.njap-faq-question::-webkit-details-marker {
	display: none;
}

.njap-faq-question-text {
	flex: 1;
}

/* plus/minus icon */

.njap-faq-icon {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	width: 20px;
	height: 20px;
	border-radius: 999px;
	border: 1px solid #d1d5db;
	font-size: 14px;
	line-height: 1;
}

.njap-faq-item[open] .njap-faq-icon {
	content: "-";
	background-color: #111111;
	color: #ffffff;
}

/* answer body */

.njap-faq-answer {
	padding: 20px;
	font-size: 14px;
	line-height: 1.6;
	color: var(--njap-text);
	border-top: 1px solid #e5e5e5;
}

.njap-faq-answer p:last-child {
	margin-bottom: 0;
}
