/* Block / Feature grid — index variant (home "Fire områder"): ruled rows of
   icon · H3 title (380) · Body/L description · arrow. The whole row is the link. */

.axn-index .axn-container {
	display: flex;
	flex-direction: column;
	gap: var(--space-56);
}

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

.axn-index__row {
	position: relative;
	display: grid;
	grid-template-columns: 24px 380px minmax(0, 1fr) 24px;
	align-items: start;
	gap: var(--space-32);
	padding: var(--space-32) 0;
	border-top: 1px solid var(--border-subtle);
}

.axn-index__row::after {
	content: "";
	grid-column: 4;
	grid-row: 1;
	width: 24px;
	height: 24px;
	margin-top: 6px;
	background: var(--text-accent);
	-webkit-mask: url("../../icons/arrow-right-24.svg") center / 24px 24px no-repeat;
	mask: url("../../icons/arrow-right-24.svg") center / 24px 24px no-repeat;
	transition: transform var(--dur) var(--ease);
}

.axn-index__row:hover::after {
	transform: translateX(4px);
}

.axn-index__row .axn-ico {
	margin-top: 6px;
	color: var(--text-accent);
}

.axn-index__title {
	font-family: var(--font-display);
	font-size: var(--type-h3-size);
	line-height: var(--type-h3-line);
	font-weight: 600;
	letter-spacing: -0.0125em;
	color: var(--text-primary);
}

.axn-index__title a {
	color: inherit;
	text-decoration: none;
}

.axn-index__title a::after {
	content: "";
	position: absolute;
	inset: 0;
}

.axn-index__row:hover .axn-index__title a {
	text-decoration: underline;
	text-decoration-color: var(--c-logo-blue);
	text-decoration-thickness: 2px;
	text-underline-offset: 6px;
}

.axn-index__title a:focus-visible {
	outline: none;
}

.axn-index__title a:focus-visible::after {
	outline: 2px solid var(--border-focus);
	outline-offset: 4px;
	border-radius: var(--radius-8);
}

.axn-index__desc {
	font-size: var(--type-body-l-size);
	line-height: var(--type-body-l-line);
	letter-spacing: -0.0025em;
	color: var(--text-secondary);
}

@media (max-width: 1023px) {
	.axn-index__row {
		grid-template-columns: 24px 260px minmax(0, 1fr) 24px;
		gap: var(--space-24);
	}
}

/* Mobile: head row (icon · H4 title · arrow) with the description beneath. */
@media (max-width: 767px) {
	.axn-index__row {
		grid-template-columns: 24px minmax(0, 1fr) 24px;
		align-items: center;
		gap: 14px var(--space-12);
		padding: var(--space-24) 0;
	}

	.axn-index__row::after {
		grid-column: 3;
		margin-top: 0;
	}

	.axn-index__row .axn-ico {
		margin-top: 0;
	}

	.axn-index__title {
		font-size: var(--type-h4-size);
		line-height: var(--type-h4-line);
		letter-spacing: -0.01em;
	}

	.axn-index__desc {
		grid-column: 1 / -1;
		grid-row: 2;
		font-size: var(--type-body-m-size);
		line-height: var(--type-body-m-line);
	}
}
