.nelly-faq {
	--nelly-faq-border: #dcdcde;
	--nelly-faq-radius: 6px;
	--nelly-faq-gap: .5rem;
	--nelly-faq-pad: 1rem 1.25rem;
	--nelly-faq-q-color: inherit;
	--nelly-faq-q-bg: transparent;
	--nelly-faq-a-bg: transparent;
	--nelly-faq-focus: #2271b1;
	--nelly-faq-duration: 300ms;
	margin: 0 0 2rem;
}
.nelly-faq [hidden] { display: none !important; }
.nelly-faq__group-title { margin: 2rem 0 1rem; }
.nelly-faq > .nelly-faq__group:first-child > .nelly-faq__group-title { margin-top: 0; }
.nelly-faq__items { display: flex; flex-direction: column; gap: var(--nelly-faq-gap); }
.nelly-faq__item {
	border: 1px solid var(--nelly-faq-border);
	border-radius: var(--nelly-faq-radius);
	background: var(--nelly-faq-a-bg);
}
.nelly-faq__question {
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 1rem;
	padding: var(--nelly-faq-pad);
	cursor: pointer;
	list-style: none;
	font-weight: 600;
	color: var(--nelly-faq-q-color);
	background: var(--nelly-faq-q-bg);
	border-radius: inherit;
}
.nelly-faq__question::-webkit-details-marker { display: none; }
.nelly-faq__question::marker { content: ""; }
.nelly-faq__question:focus-visible { outline: 2px solid var(--nelly-faq-focus); outline-offset: 2px; }

/* Question icon (closed = plus, open = minus by default). */
.nelly-faq__icon {
	display: inline-flex;
	flex: 0 0 auto;
	align-items: center;
	justify-content: center;
	font-size: 1.1em;
	line-height: 1;
	color: currentcolor;
}
.nelly-faq__icon-closed,
.nelly-faq__icon-open { display: inline-flex; align-items: center; line-height: 1; }
.nelly-faq__icon-open { display: none; }
.nelly-faq__item[open]:not(.is-closing) > .nelly-faq__question .nelly-faq__icon-closed { display: none; }
.nelly-faq__item[open]:not(.is-closing) > .nelly-faq__question .nelly-faq__icon-open { display: inline-flex; }
.nelly-faq__icon svg { display: block; width: 1em; height: 1em; fill: currentcolor; }
.nelly-faq__icon i { font-size: 1em; line-height: 1; }

.nelly-faq__answer-inner { padding: 0 1.25rem 1rem; }
.nelly-faq__answer-inner > :first-child { margin-top: 0; }
.nelly-faq__answer-inner > :last-child { margin-bottom: 0; }

/* Search */
.nelly-faq__sr-only {
	position: absolute;
	width: 1px;
	height: 1px;
	margin: -1px;
	padding: 0;
	overflow: hidden;
	clip: rect(0, 0, 0, 0);
	white-space: nowrap;
	border: 0;
}
.nelly-faq__search {
	--nelly-faq-search-icon-size: 1.1rem;
	--nelly-faq-search-icon-left: 1rem;
	--nelly-faq-search-icon-gap: .6rem;
	position: relative;
	margin: 0 0 1.5rem;
}
.nelly-faq__search-icon {
	position: absolute;
	top: 50%;
	left: var(--nelly-faq-search-icon-left);
	width: var(--nelly-faq-search-icon-size);
	height: var(--nelly-faq-search-icon-size);
	transform: translateY(-50%);
	color: #6b7075;
	pointer-events: none;
}
.nelly-faq__search-icon svg {
	display: block;
	width: 100%;
	height: 100%;
	fill: none;
	stroke: currentcolor;
	stroke-width: 2;
	stroke-linecap: round;
}
.nelly-faq__search-input {
	width: 100%;
	box-sizing: border-box;
	padding: .75rem 2.5rem .75rem calc(var(--nelly-faq-search-icon-left) + var(--nelly-faq-search-icon-size) + var(--nelly-faq-search-icon-gap));
	border: 1px solid var(--nelly-faq-border);
	border-radius: var(--nelly-faq-radius);
	font: inherit;
	color: inherit;
	background: transparent;
	-webkit-appearance: none;
	appearance: none;
}
.nelly-faq__search-input::-webkit-search-cancel-button { display: none; }
.nelly-faq__search-input:focus-visible { outline: 2px solid var(--nelly-faq-focus); outline-offset: 2px; }
.nelly-faq__search-clear {
	position: absolute;
	top: 50%;
	right: .5rem;
	width: 2rem;
	height: 2rem;
	padding: 0;
	transform: translateY(-50%);
	border: 0;
	background: transparent;
	color: inherit;
	font-size: 1.5rem;
	line-height: 1;
	cursor: pointer;
}
.nelly-faq__search-clear:focus-visible { outline: 2px solid var(--nelly-faq-focus); }
.nelly-faq__no-results { margin: 1rem 0; }
