.sfaq-wrap {
	margin: 1.5em 0;
}

.sfaq-item {
	border-bottom: 1px solid #ddd;
	padding: 0.9em 0;
}

.sfaq-item:first-child {
	border-top: 1px solid #ddd;
}

.sfaq-question-heading {
	margin: 0;
	font-size: 1.05em;
}

.sfaq-question {
	display: flex;
	align-items: center;
	gap: 0.5em;
	font-weight: 600;
	cursor: default;
}

.sfaq-display-accordion .sfaq-question {
	cursor: pointer;
	list-style: none;
}

.sfaq-display-accordion .sfaq-question::-webkit-details-marker {
	display: none;
}

.sfaq-display-accordion .sfaq-question::before {
	content: "+";
	display: inline-block;
	width: 1em;
	flex: 0 0 auto;
	text-align: center;
	transition: transform 0.15s ease;
}

.sfaq-display-accordion .sfaq-accordion-item[open] > .sfaq-question::before {
	transform: rotate(45deg);
}

.sfaq-answer {
	margin-top: 0.6em;
	line-height: 1.6;
}

.sfaq-display-accordion .sfaq-answer {
	padding-left: 1.5em;
}

.sfaq-icon {
	flex: 0 0 auto;
	width: 24px;
	height: 24px;
	line-height: 24px;
	font-size: 20px;
	text-align: center;
}

.sfaq-icon-image {
	width: 24px;
	height: 24px;
	object-fit: contain;
}

.sfaq-icon-fa {
	font-size: 1.1em;
}


.sfaq-question:focus-visible,
.sfaq-question:focus {
	outline: 2px solid currentColor;
	outline-offset: 2px;
}

/* ---- Style presets ---- */

/* "default": the plain divider-line look defined above; no extra rules needed. */

/* "bordered": each FAQ gets its own full box. */
.sfaq-style-bordered .sfaq-item {
	border: 1px solid #ddd;
	border-radius: 4px;
	padding: 0.9em 1em;
	margin-bottom: 0.6em;
}

.sfaq-style-bordered .sfaq-item:first-child {
	border-top: 1px solid #ddd;
}

/* "card": elevated white cards with spacing between them. */
.sfaq-style-card .sfaq-item {
	background: #fff;
	border: 1px solid #eee;
	border-radius: 6px;
	box-shadow: 0 1px 3px rgba(0, 0, 0, 0.06);
	padding: 1em 1.2em;
	margin-bottom: 0.8em;
}

.sfaq-style-card .sfaq-item:first-child {
	border-top: 1px solid #eee;
}

/* "minimal": no borders or boxes, just spacing and typography. */
.sfaq-style-minimal .sfaq-item,
.sfaq-style-minimal .sfaq-item:first-child {
	border: none;
	padding: 0.7em 0;
}

.sfaq-style-minimal .sfaq-question {
	font-weight: 500;
}
