/**
 * GoTango — FAQ & Accordion Styles
 */

.gt-faq-section {
	padding: clamp(56px, 7vw, 104px) 0 clamp(64px, 8vw, 128px);
}

.gt-faq-header {
	margin-bottom: clamp(40px, 5vw, 64px);
	display: flex;
	flex-direction: column;
	gap: 16px;
}

.gt-faq-list {
	display: flex;
	flex-direction: column;
	border-top: 1px solid var(--gt-ink);
}

.gt-faq-item {
	border-bottom: 1px solid var(--gt-border);
	transition: background-color 0.3s ease;
}

.gt-faq-item:target,
.gt-faq-item.is-targeted {
	background-color: var(--gt-sand);
	outline: 2px solid var(--gt-crimson);
	outline-offset: -2px;
}

.gt-faq-summary {
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 20px;
	min-height: 68px;
	padding: 16px 0;
	font-family: var(--gt-font-sans);
	font-size: clamp(18px, 1.1rem + 0.2vw, 22px);
	font-weight: 500;
	color: var(--gt-ink);
	cursor: pointer;
	list-style: none;
	user-select: none;
}

.gt-faq-summary::-webkit-details-marker {
	display: none;
}

.gt-faq-summary::marker {
	display: none;
}

.gt-faq-chevron {
	flex: none;
	width: 20px;
	height: 20px;
	display: flex;
	align-items: center;
	justify-content: center;
	transition: transform 0.25s ease;
}

.gt-faq-chevron svg {
	width: 14px;
	height: 8px;
	stroke: var(--gt-ink);
}

.gt-faq-item[open] .gt-faq-chevron {
	transform: rotate(180deg);
}

.gt-faq-content {
	padding: 4px 0 28px;
	font-size: 16px;
	line-height: 1.65;
	color: #3A3532;
	max-width: 65ch;
}

.gt-faq-content p {
	margin: 0 0 16px;
}

.gt-faq-content p:last-child {
	margin-bottom: 0;
}
