/**
 * nl-faq – FAQ accordion.
 *
 * Breakpoint template, see nl-base.css. Selectors use two classes so they win against
 * the Elementor kit (".elementor-kit-N h2") and the theme.
 */

/* Same fix as in nl-category-grid.css: full width in a wrapping flex container. */
.e-con-inner > .elementor-widget-nl-faq,
.e-con > .elementor-widget-nl-faq {
	width: var(--container-widget-width, 100%);
	--flex-grow: var(--container-widget-flex-grow);
}

.nl-faq.nl-portfolio {
	--nl-faq-pad: 20px;

	display: flex;
	flex-direction: column;
	gap: 24px;
	width: 100%;
}

.nl-faq .nl-faq__title {
	font-family: var(--nl-font-heading);
	font-size: 30px;
	font-weight: 900;
	line-height: 1.2;
	color: var(--nl-heading);
}

.nl-faq .nl-faq__list {
	display: flex;
	flex-direction: column;
	gap: 12px;
}

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

.nl-faq .nl-faq__item[open] {
	border-color: var(--nl-brand);
}

.nl-faq .nl-faq__question {
	display: flex;
	align-items: center;
	gap: 14px;
	min-height: 64px;
	padding: 12px var(--nl-faq-pad) 12px 12px;
	font-size: 17px;
	font-weight: 600;
	line-height: 1.4;
	color: var(--nl-navy);
	list-style: none;
	cursor: pointer;
}

.nl-faq .nl-faq__question::-webkit-details-marker {
	display: none;
}

.nl-faq .nl-faq__icon {
	display: flex;
	flex: none;
	align-items: center;
	justify-content: center;
	width: 40px;
	height: 40px;
	border-radius: var(--nl-r-pill);
	background: var(--nl-chip);
	color: var(--nl-brand);
}

.nl-faq .nl-faq__icon svg {
	width: 20px;
	height: 20px;
}

.nl-faq .nl-faq__item[open] .nl-faq__icon {
	background: var(--nl-brand);
	color: #fff;
}

.nl-faq .nl-faq__question-text {
	flex: 1;
}

.nl-faq .nl-faq__chevron {
	flex: none;
	width: 20px;
	height: 20px;
}

.nl-faq .nl-faq__item[open] .nl-faq__chevron {
	transform: rotate(180deg);
}

/* Indented under the question text: padding 12 + icon 40 + gap 14. */
.nl-faq .nl-faq__answer {
	padding: 0 var(--nl-faq-pad) 20px 66px;
	font-size: 16px;
	line-height: 1.6;
	color: var(--nl-text);
}

.nl-faq .nl-faq__answer :where(p, ul, ol) + :where(p, ul, ol) {
	margin-top: 12px;
}

.nl-faq .nl-faq__answer a {
	color: var(--nl-action);
}

@media (max-width: 767px) {
	.nl-faq.nl-portfolio {
		--nl-faq-pad: 16px;
	}

	.nl-faq .nl-faq__title {
		font-size: 22px;
	}

	.nl-faq .nl-faq__question {
		font-size: 16px;
	}
}
