/* Block / FAQ (widget axn-faq). Two column: header 4/12 (376, sticky) · one-column offset ·
   items 7/12 (688), gap 64. Centred (.is-centred): an 820 column, header centred, 48 above the
   items. Each item is a <details>: the summary is the H5 question row
   (min 72, padding 24 0) with a plus/minus icon; the answer is Body/M secondary, padded 0 64 24 0.
   Items are divided by a 1px rule underneath — the last one keeps it. Hover turns the question
   text/link; focus draws a ring around the row at radius 8. Mobile: stacks, row 20 0, answer
   0 0 20 0. Surface comes from the section shell. */

.axn-faq__grid {
	display: grid;
	grid-template-columns: minmax(0, 376fr) minmax(0, 88fr) minmax(0, 688fr);
	align-items: start;
	gap: var(--space-64);
}

.axn-faq__header {
	position: sticky;
	top: calc(var(--header-h-scrolled) + var(--space-32));
	display: flex;
	flex-direction: column;
	align-items: flex-start;
	gap: var(--space-24);
}

.axn-faq__items {
	grid-column: 3;
	display: flex;
	flex-direction: column;
}

.axn-faq__item {
	border-bottom: 1px solid var(--border-subtle);
}

.axn-faq__item > summary {
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: var(--space-24);
	min-height: 72px;
	padding: var(--space-24) 0;
	border-radius: var(--radius-8);
	list-style: none;
	cursor: pointer;
	font-family: var(--font-display);
	font-size: var(--type-h5-size);
	line-height: var(--type-h5-line);
	font-weight: 600;
	letter-spacing: -0.005em;
	color: var(--text-primary);
	transition: color var(--dur-fast) var(--ease);
}

.axn-faq__item > summary::-webkit-details-marker {
	display: none;
}

.axn-faq__item > summary::after {
	content: "";
	flex: none;
	width: 24px;
	height: 24px;
	background: var(--text-accent);
	-webkit-mask: url("../../icons/plus.svg") center / 24px 24px no-repeat;
	mask: url("../../icons/plus.svg") center / 24px 24px no-repeat;
}

.axn-faq__item[open] > summary::after {
	-webkit-mask-image: url("../../icons/minus.svg");
	mask-image: url("../../icons/minus.svg");
}

.axn-faq__item > summary:hover {
	color: var(--text-link);
}

.axn-faq__item > summary:focus-visible {
	outline: 2px solid var(--border-focus);
	outline-offset: 0;
}

.axn-faq__answer {
	padding: 0 var(--space-64) var(--space-24) 0;
	font-size: var(--type-body-m-size);
	line-height: var(--type-body-m-line);
	color: var(--text-secondary);
}

.axn-faq__answer > * {
	margin: 0;
}

.axn-faq__answer > * + * {
	margin-top: var(--space-12);
}

@media (prefers-reduced-motion: no-preference) {
	.axn-faq__item[open] > .axn-faq__answer {
		animation: axn-faq-in var(--dur) var(--ease);
	}
}

@keyframes axn-faq-in {
	from {
		opacity: 0;
		transform: translateY(-4px);
	}
}

/* Centred layout. */
.axn-faq.is-centred .axn-faq__grid {
	display: flex;
	flex-direction: column;
	align-items: stretch;
	gap: var(--space-48);
	max-width: 820px;
}

.axn-faq.is-centred .axn-faq__header {
	position: static;
	align-items: center;
	text-align: center;
}

.axn-faq.is-centred .axn-section-header {
	align-items: center;
}

@media (max-width: 1023px) {
	.axn-faq:not(.is-centred) .axn-faq__grid {
		grid-template-columns: minmax(0, 1fr) minmax(0, 1.6fr);
		gap: var(--space-48);
	}

	.axn-faq__items {
		grid-column: 2;
	}
}

@media (max-width: 767px) {
	.axn-faq:not(.is-centred) .axn-faq__grid {
		grid-template-columns: 1fr;
		gap: var(--space-32);
	}

	.axn-faq__header {
		position: static;
	}

	.axn-faq__items {
		grid-column: 1;
	}

	.axn-faq__item > summary {
		padding: var(--space-20) 0;
	}

	.axn-faq__answer {
		padding: 0 0 var(--space-20);
	}
}

.axn-faq__answer a {
	color: var(--text-link);
	text-decoration: underline;
	text-decoration-thickness: 1px;
	text-underline-offset: 3px;
}
