/* ============================================================
   404 - Page not found
   Simple centred landing: eyebrow, serif heading, message,
   a home button and a short row of quick links.
   ============================================================ */

.error-404 {
	background: var(--color-cream-light);
	padding-block: 5rem;
}

@media (min-width: 1024px) {
	.error-404 {
		padding-block: 7rem;
	}
}

.error-404__inner {
	max-width: 40rem;
	margin-inline: auto;
	text-align: center;
}

.error-404__heading {
	margin-bottom: var(--space-md);
}

.error-404__text {
	margin-bottom: var(--space-lg);
	color: var(--color-text);
}

.error-404__actions {
	margin-bottom: var(--space-xl);
}

.error-404__links-label {
	margin-bottom: var(--space-sm);
	font-weight: 600;
	color: var(--color-heading);
}

.error-404__links ul {
	list-style: none;
	margin: 0;
	padding: 0;
	display: flex;
	flex-wrap: wrap;
	justify-content: center;
	gap: 0.5rem 1.5rem;
}

.error-404__links a {
	color: var(--color-teal-dark);
	text-decoration: underline;
	text-decoration-color: var(--color-accent);
	text-underline-offset: 3px;
	transition: color var(--transition);
}

.error-404__links a:hover,
.error-404__links a:focus-visible {
	color: var(--color-caramel-dark);
}
