/**
 * Home FAQ section styles — Figma node 2617:3498.
 */

.gh-faq {
	max-width: 1120px;
	margin: 0 auto;
	padding: 80px 0;
	display: flex;
	flex-direction: column;
	gap: 48px;
}

.gh-faq__title {
	margin: 0;
	font-family: 'schibsted_grotesk_demi', Arial, sans-serif;
	font-weight: normal;
	font-size: 32px;
	line-height: 40px;
	color: var(--gh-text-primary);
	text-align: center;
}

.gh-faq__list {
	display: flex;
	flex-direction: column;
}

.gh-faq__item {
	border-bottom: 1px solid #e6e6e6;
}
.gh-faq__item:focus{
	outline: none;
}
.gh-faq__q {
	display: flex;
	align-items: flex-start;
	justify-content: space-between;
	gap: 160px;
	padding: 24px 0;
	cursor: pointer;
	list-style: none;
	/* Kill the blue mobile tap-highlight + accidental text selection on toggle. */
	-webkit-tap-highlight-color: transparent;
	user-select: none;
	-webkit-user-select: none;
	font-family: 'schibsted_grotesk_demi', Arial, sans-serif;
	font-weight: normal;
	font-size: 20px;
	line-height: 28px;
	color: var(--gh-text-primary);
	transition: color 0.2s ease;
}

/* Remove default disclosure marker. */
.gh-faq__q::-webkit-details-marker {
	display: none;
}

.gh-faq__q-text {
	flex: 1 1 auto;
}

.gh-faq__icon {
	flex-shrink: 0;
	color: var(--gh-text-primary);
}

.gh-faq__item:not([open]) .gh-faq__icon--minus {
	display: none;
}

.gh-faq__item[open] .gh-faq__icon--plus {
	display: none;
}

.gh-faq__a {
	padding: 0 0 24px;
	max-width: 928px;
	animation: gh-faq-reveal 0.28s ease;
}

@keyframes gh-faq-reveal {
	from {
		opacity: 0;
		transform: translateY(-6px);
	}

	to {
		opacity: 1;
		transform: translateY(0);
	}
}

/* Smoothly expand/collapse where the browser supports it. */
@supports (interpolate-size: allow-keywords) {
	:root {
		interpolate-size: allow-keywords;
	}

	.gh-faq__item::details-content {
		height: 0;
		overflow: hidden;
		transition: height 0.28s ease, content-visibility 0.28s allow-discrete;
	}

	.gh-faq__item[open]::details-content {
		height: auto;
	}
}

@media (prefers-reduced-motion: reduce) {
	.gh-faq__icon,
	.gh-faq__a {
		transition: none;
		animation: none;
	}
}

.gh-faq__a p {
	margin: 0;
	font-family: 'avenir_next_worldmedium', 'Verdana';
	font-weight: normal;
	font-size: 16px;
	line-height: 28px;
	color: var(--gh-text-secondary);
}

@media (max-width: 1023px) {
	.gh-faq {
		padding: 56px 0;
	}

	.gh-faq__q {
		gap: 32px;
	}
}

@media (max-width: 768px) {
	/* Mobile — Figma node 3247:12998. Horizontal gutter comes from the global
	   .site-content (16px at this tier), so the section adds none of its own. */
	.gh-faq {
		padding: 80px 0;
		gap: 24px;
	}

	/* Title left-aligns on mobile (Figma node 3247:12998). */
	.gh-faq__title {
		text-align: left;
	}

	.gh-faq__q {
		gap: 16px;
		font-size: 18px;
	}

	.gh-faq__a {
		max-width: none;
	}
}
