/* Section: FAQ */
.websly-faq__items {
	display: flex;
	flex-direction: column;
	gap: var(--websly-space-md);
}

.websly-faq__item {
	background: var(--websly-color-surface);
	border: 1px solid var(--websly-color-border);
	border-radius: var(--websly-radius-md);
	overflow: hidden;
}

.websly-faq__question {
	display: flex;
	justify-content: space-between;
	align-items: center;
	padding: var(--websly-space-md);
	cursor: pointer;
	list-style: none; /* Hide default marker */
}

.websly-faq__question::-webkit-details-marker {
	display: none; /* Safari */
}

.websly-faq__question h3 {
	margin: 0;
	font-size: var(--websly-text-lg);
}

.websly-faq__icon {
	flex-shrink: 0;
	width: 1.5rem;
	height: 1.5rem;
	position: relative;
}

.websly-faq__icon::before,
.websly-faq__icon::after {
	content: '';
	position: absolute;
	background-color: currentColor;
	top: 50%;
	left: 50%;
	transform: translate(-50%, -50%);
	transition: transform 0.2s ease;
}

.websly-faq__icon::before {
	width: 2px;
	height: 100%;
}

.websly-faq__icon::after {
	width: 100%;
	height: 2px;
}

.websly-faq__item[open] .websly-faq__icon::before {
	transform: translate(-50%, -50%) rotate(90deg);
}

.websly-faq__answer {
	padding: 0 var(--websly-space-md) var(--websly-space-md) var(--websly-space-md);
}
