.nautilux-faq {
	--nautilux-faq-column-count: 1;
	--nautilux-faq-column-gap: 1.25rem;
	--nautilux-faq-section-gap: 1rem;
	--nautilux-faq-question-gap: 0.75rem;
	--nautilux-faq-accordion-speed: 300ms;
	--nautilux-faq-border-color: rgba(0, 0, 0, 0.14);
	--nautilux-faq-muted-border-color: rgba(0, 0, 0, 0.08);
	--nautilux-faq-panel-background: #ffffff;
	--nautilux-faq-soft-background: #f6f7f9;
	--nautilux-faq-text-color: #1d2327;
	--nautilux-faq-muted-text-color: #3f4852;

	max-width: 100%;
	margin-right: auto;
	margin-left: auto;
	color: var(--nautilux-faq-text-color);
}

.nautilux-faq--columns-2 {
	--nautilux-faq-column-count: 2;
}

.nautilux-faq--columns-3 {
	--nautilux-faq-column-count: 3;
}

.nautilux-faq--columns-4 {
	--nautilux-faq-column-count: 4;
}

.nautilux-faq-columns {
	display: grid;
	grid-template-columns: repeat(var(--nautilux-faq-column-count), minmax(0, 1fr));
	gap: var(--nautilux-faq-column-gap);
}

.nautilux-faq-column {
	display: grid;
	align-content: start;
	gap: var(--nautilux-faq-section-gap);
	min-width: 0;
}

.nautilux-faq-section {
	overflow: hidden;
	border: 1px solid var(--nautilux-faq-border-color);
	border-radius: 0;
	background: var(--nautilux-faq-panel-background);
}

.nautilux-faq-section-heading,
.nautilux-faq-question-heading {
	margin: 0;
}

.nautilux-faq-section-toggle[role="button"],
.nautilux-faq-question-toggle[role="button"],
.nautilux-faq-question-title {
	-webkit-appearance: none;
	appearance: none;
	box-sizing: border-box;
	display: flex;
	align-items: center;
	justify-content: space-between;
	width: 100%;
	max-width: 100%;
	min-height: 0;
	margin: 0;
	border: 0;
	border-radius: 0;
	box-shadow: none;
	background-image: none;
	color: inherit;
	font: inherit;
	line-height: inherit;
	letter-spacing: inherit;
	text-decoration: none;
	text-transform: inherit;
	user-select: none;
	white-space: normal;
	cursor: pointer;
	-webkit-tap-highlight-color: transparent;
}

.nautilux-faq-section-toggle {
	padding: 1rem 1.25rem;
	background: var(--nautilux-faq-soft-background);
	font-weight: 700;
}

.nautilux-faq-section-toggle--icon-left,
.nautilux-faq-question-toggle--icon-left {
	justify-content: flex-start;
}

.nautilux-faq-section-title-content {
	display: inline-flex;
	flex: 1 1 auto;
	align-items: center;
	justify-content: flex-start;
	min-width: 0;
	max-width: 100%;
	gap: 0.5em;
	overflow-wrap: anywhere;
	white-space: normal;
}

.nautilux-faq-section-icon {
	display: inline-flex;
	flex: 0 0 auto;
	align-items: center;
	justify-content: center;
	color: currentColor;
	line-height: 1;
}

.nautilux-faq-section-icon svg {
	width: 1em;
	height: 1em;
	fill: currentColor;
}

.nautilux-faq-section-panel[hidden],
.nautilux-faq-answer[hidden] {
	display: none;
}

.nautilux-faq--animated .nautilux-faq-section-panel,
.nautilux-faq--animated .nautilux-faq-answer {
	overflow: hidden;
	transition: height var(--nautilux-faq-accordion-speed) ease, opacity var(--nautilux-faq-accordion-speed) ease;
}

.nautilux-faq-questions {
	display: grid;
	gap: var(--nautilux-faq-question-gap);
	padding: 1rem;
}

.nautilux-faq-question {
	border: 1px solid var(--nautilux-faq-muted-border-color);
	border-radius: 0;
	background: var(--nautilux-faq-panel-background);
	transition: background-color 0.18s ease, border-color 0.18s ease, box-shadow 0.18s ease;
}

.nautilux-faq-question-toggle {
	min-width: 0;
	padding: 0.9rem 1rem;
	background: transparent;
	font-weight: 600;
	overflow-wrap: anywhere;
	text-align: left;
}

.nautilux-faq-question-toggle[role="button"] {
	display: grid;
	grid-template-columns: minmax(0, 1fr) auto;
	column-gap: 1rem;
	justify-content: stretch;
}

.nautilux-faq-question-toggle--icon-left[role="button"] {
	grid-template-columns: auto minmax(0, 1fr);
	justify-content: stretch;
}

.nautilux-faq-question-toggle[role="button"] .nautilux-faq-toggle-icon {
	margin-right: 0;
	margin-left: 0;
}

.nautilux-faq-section-toggle[role="button"],
.nautilux-faq-section-toggle[role="button"]:hover,
.nautilux-faq-section-toggle[role="button"]:focus {
	background: var(--nautilux-faq-soft-background);
	color: inherit;
	box-shadow: none;
	text-decoration: none;
}

.nautilux-faq-question-toggle[role="button"],
.nautilux-faq-question-toggle[role="button"]:hover,
.nautilux-faq-question-toggle[role="button"]:focus,
.nautilux-faq-question-title {
	background: transparent;
	color: inherit;
	box-shadow: none;
	text-decoration: none;
}

.nautilux-faq-question-title {
	cursor: default;
}

.nautilux-faq-question--highlighted {
	animation: nautilux-faq-question-highlight 1.35s ease;
}

@keyframes nautilux-faq-question-highlight {
	45% {
		background-color: var(--nautilux-faq-anchor-highlight-blink-background);
		box-shadow: 0 0 0 6px var(--nautilux-faq-anchor-highlight-glow-color);
	}
}

.nautilux-faq-answer {
	padding: 0 1rem 1rem;
	color: var(--nautilux-faq-muted-text-color);
}

.nautilux-faq-answer > :first-child {
	margin-top: 0;
}

.nautilux-faq-answer > :last-child {
	margin-bottom: 0;
}

.nautilux-faq-toggle-icon {
	position: relative;
	display: inline-flex;
	flex: 0 0 auto;
	align-items: center;
	justify-content: center;
	width: 0.85em;
	height: 0.85em;
	color: currentColor;
	margin-left: 1rem;
	line-height: 1;
	transition: transform 0.18s ease;
}

.nautilux-faq-toggle-icon--left {
	margin-right: 1rem;
	margin-left: 0;
}

.nautilux-faq-toggle-icon--right {
	margin-left: 1rem;
}

.nautilux-faq-toggle-icon::before,
.nautilux-faq-toggle-icon::after {
	content: "";
	position: absolute;
	top: 50%;
	left: 50%;
	width: 100%;
	height: 2px;
	border-radius: 999px;
	background: currentColor;
	transform: translate(-50%, -50%);
	transition: transform 0.18s ease, opacity 0.18s ease;
}

.nautilux-faq-toggle-icon::after {
	transform: translate(-50%, -50%) rotate(90deg);
}

.nautilux-faq-toggle-icon--custom svg {
	width: 1em;
	height: 1em;
	fill: currentColor;
}

.nautilux-faq-toggle-icon--custom::before,
.nautilux-faq-toggle-icon--custom::after {
	display: none;
}

.nautilux-faq-section-toggle[aria-expanded="true"] .nautilux-faq-toggle-icon::after,
.nautilux-faq-question-toggle[aria-expanded="true"] .nautilux-faq-toggle-icon::after {
	opacity: 0;
	transform: translate(-50%, -50%) rotate(0deg);
}

.nautilux-faq-section-toggle[aria-expanded="true"] .nautilux-faq-toggle-icon--custom,
.nautilux-faq-question-toggle[aria-expanded="true"] .nautilux-faq-toggle-icon--custom {
	transform: rotate(180deg);
}

.nautilux-faq-section-toggle:focus-visible,
.nautilux-faq-question-toggle:focus-visible {
	outline: 2px solid currentColor;
	outline-offset: -2px;
}

.nautilux-faq-screen-reader-text {
	position: absolute;
	width: 1px;
	height: 1px;
	padding: 0;
	margin: -1px;
	overflow: hidden;
	clip: rect(0, 0, 0, 0);
	white-space: nowrap;
	border: 0;
}

@media (max-width: 1024px) {
	.nautilux-faq--columns-2 .nautilux-faq-columns {
		grid-template-columns: minmax(0, 1fr);
	}
}

@media (max-width: 767px) {
	.nautilux-faq-columns {
		grid-template-columns: minmax(0, 1fr);
	}

	.nautilux-faq-section-toggle {
		padding: 0.875rem 1rem;
	}

	.nautilux-faq-questions {
		padding: 0.875rem;
	}

	.nautilux-faq-question-toggle {
		padding: 0.8rem 0.875rem;
	}

	.nautilux-faq-answer {
		padding: 0 0.875rem 0.875rem;
	}
}
