/* Block / Hero — type=page. Rail (56×3 accent mark + breadcrumb), then Display/L heading
   beside a 440 Body/Lead intro (gap 80). Hairline at the bottom. Also works with .is-dark. */

.axn-page-hero {
	padding: 72px var(--page-margin);
	background: var(--surface-page);
	border-bottom: 1px solid var(--border-subtle);
}

.axn-page-hero.is-dark {
	border-bottom-color: transparent;
}

.axn-page-hero .axn-container {
	display: flex;
	flex-direction: column;
	gap: 36px;
}

.axn-page-hero__rail {
	display: flex;
	flex-direction: column;
	align-items: flex-start;
	gap: var(--space-20);
}

.axn-page-hero__rail::before {
	content: "";
	width: 56px;
	height: 3px;
	background: var(--accent-rule);
}

.axn-page-hero__cols {
	display: flex;
	align-items: flex-start;
	gap: 80px;
}

.axn-page-hero__cols > :first-child {
	flex: 1 1 0;
	min-width: 0;
}

.axn-page-hero__intro {
	flex: 0 0 440px;
	padding-top: 10px;
}

/* Breadcrumb */
.axn-breadcrumb ol {
	display: flex;
	flex-wrap: wrap;
	align-items: center;
	gap: var(--space-8);
	margin: 0;
	padding: 0;
	list-style: none;
}

.axn-breadcrumb li {
	display: inline-flex;
	align-items: center;
	gap: var(--space-8);
}

.axn-breadcrumb a {
	color: var(--text-link);
	font-size: var(--type-body-m-size);
	line-height: var(--type-body-m-line);
	text-decoration: underline;
	text-decoration-thickness: 1px;
	text-underline-offset: 3px;
}

.axn-breadcrumb a:hover {
	text-decoration-color: var(--c-logo-blue);
	text-decoration-thickness: 2px;
}

.axn-breadcrumb .axn-icon {
	width: 16px;
	height: 16px;
	color: var(--text-secondary);
}

.axn-breadcrumb [aria-current] {
	font-size: var(--type-body-s-size);
	line-height: var(--type-body-s-line);
	color: var(--text-secondary);
}

@media (max-width: 1023px) {
	.axn-page-hero__cols {
		gap: var(--space-40);
	}

	.axn-page-hero__intro {
		flex-basis: 320px;
	}
}

/* Pale-blue hero (solution and case pages). */
.axn-page-hero.has-surface-accent {
	background: var(--surface-accent);
}

/* Hero Width=Mobile: padding 44, rail gap 16, 48-wide accent mark, 24 between blocks. */
@media (max-width: 767px) {
	.axn-page-hero {
		padding: 44px var(--page-margin);
	}

	.axn-page-hero .axn-container {
		gap: var(--space-24);
	}

	.axn-page-hero__rail {
		gap: var(--space-16);
	}

	.axn-page-hero__rail::before {
		width: 48px;
	}

	.axn-page-hero__cols {
		flex-direction: column;
		gap: var(--space-24);
	}

	.axn-page-hero__intro {
		flex: none;
		padding-top: 0;
	}
}
