/**
 * Glansco FAQ Accordion + FAQ Item styles.
 *
 * Built on native <details>/<summary> — no JavaScript needed for the
 * open/close behavior or the chevron rotation animation.
 */

.glansco-faq {
	padding: 96px 0;
}

.glansco-faq__container {
	max-width: 1200px;
	margin: 0 auto;
	padding: 0 24px;
}

.glansco-faq-accordion {
	display: flex;
	flex-direction: column;
	gap: 16px;
}

.glansco-faq-item {
	background: #fff;
	border: 1px solid rgba( 0, 0, 0, 0.08 );
	border-radius: 12px;
	padding: 4px 24px;
}

.glansco-faq-item__question {
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 16px;
	padding: 20px 0;
	font-family: var( --glansco-font-heading, "Segoe UI", sans-serif );
	font-weight: 600;
	cursor: pointer;
	list-style: none;
}

.glansco-faq-item__question::-webkit-details-marker {
	display: none;
}

.glansco-faq-item__chevron {
	flex-shrink: 0;
	width: 10px;
	height: 10px;
	border-right: 2px solid var( --glansco-color-primary, #0a5f4a );
	border-bottom: 2px solid var( --glansco-color-primary, #0a5f4a );
	transform: rotate( 45deg );
	transition: transform 0.25s ease;
}

.glansco-faq-item[open] .glansco-faq-item__chevron {
	transform: rotate( -135deg );
}

.glansco-faq-item__answer {
	padding: 0 0 20px;
	font-family: var( --glansco-font-body, "Segoe UI", sans-serif );
	color: #5b6b68;
	line-height: 1.7;
}
