:root {
	--csfaq-primary: #04faa0;
	--csfaq-bg: #001011;
	--csfaq-text: #ebe9e9;
	--csfaq-radius: 8px;
	--csfaq-speed: 300ms;
}

.csfaq-wrapper {
	background-color: var(--csfaq-bg);
	border-radius: var(--csfaq-radius);
	padding: 16px 24px;
	margin: 24px 0;
	max-width: 100%;
	box-sizing: border-box;
}

.csfaq-item {
	border-bottom: 1px solid color-mix(in srgb, var(--csfaq-text) 15%, transparent);
}

.csfaq-item:last-child {
	border-bottom: none;
}

.csfaq-question {
	width: 100%;
	text-align: left;
	background: transparent;
	border: none;
	color: var(--csfaq-text);
	padding: 16px 0;
	font-size: 1rem;
	font-weight: 600;
	cursor: pointer;
	display: flex;
	justify-content: space-between;
	align-items: center;
	line-height: 1.4;
	font-family: inherit;
	outline: none;
}

.csfaq-question:focus-visible {
	outline: 2px solid var(--csfaq-primary);
	outline-offset: 2px;
	border-radius: 4px;
}

.csfaq-question:hover {
	color: var(--csfaq-primary);
}

.csfaq-question::after {
	content: "+";
	font-size: 1.4rem;
	font-weight: 400;
	color: var(--csfaq-primary);
	transition: transform var(--csfaq-speed) ease;
	flex-shrink: 0;
	margin-left: 16px;
}

.csfaq-question[aria-expanded="true"]::after {
	transform: rotate(45deg);
}

.csfaq-answer {
	overflow: hidden;
	max-height: 0;
	transition: max-height var(--csfaq-speed) ease;
	color: var(--csfaq-text);
	opacity: 0.85;
	padding: 0 0 0;
	line-height: 1.6;
	font-size: 0.95rem;
}

.csfaq-answer.is-open {
	max-height: 1000px;
	padding: 0 0 16px;
}

.csfaq-answer p {
	margin: 0 0 12px;
}

.csfaq-answer p:last-child {
	margin-bottom: 0;
}

.csfaq-answer a {
	color: var(--csfaq-primary);
	text-decoration: underline;
}

.csfaq-answer a:hover {
	text-decoration: none;
}

.csfaq-answer ul,
.csfaq-answer ol {
	margin: 0 0 12px 20px;
	padding: 0;
}

.csfaq-answer li {
	margin-bottom: 4px;
}
