.ohso-not-found {
	--not-found-content-width: var(--wide-size);
	--not-found-gutter: max(var(--section-gutter), 1rem);
	--not-found-hero-frame-width: 85.5625rem;
	--not-found-hero-frame-offset: max(
		var(--section-gutter),
		calc((100% - var(--not-found-hero-frame-width)) / 2)
	);
	--not-found-hero-content-width: min(
		calc(100% - (var(--section-gutter) * 2)),
		var(--not-found-hero-frame-width)
	);
	background: var(--base);
}

.ohso-not-found__hero {
	position: relative;
	display: flex;
	box-sizing: border-box;
	min-height: 22rem;
	padding: 8.4375rem 0 4.21875rem;
	overflow: hidden;
	background: linear-gradient(180deg, var(--base) 0%, var(--secondary-ultra-light) 100%);
}

.ohso-not-found__hero-pattern,
.ohso-not-found__hero-ellipse {
	position: absolute;
	pointer-events: none;
	user-select: none;
}

.ohso-not-found__hero-pattern {
	top: -14rem;
	left: -21.5rem;
	width: 55.825rem;
	height: 54.25rem;
	max-width: none;
	opacity: 0.2;
}

.ohso-not-found__hero-ellipse {
	bottom: -36.0625rem;
	left: -37rem;
	width: 199.125rem;
	height: 41.6875rem;
	max-width: none;
}

.ohso-not-found__hero-inner {
	position: relative;
	z-index: 1;
	box-sizing: border-box;
	width: min(var(--not-found-hero-content-width), 44.375rem);
	margin-inline-start: var(--not-found-hero-frame-offset);
}

.ohso-not-found__eyebrow,
.ohso-not-found__title,
.ohso-not-found__panel p,
.ohso-not-found__panel h2 {
	margin: 0;
}

.ohso-not-found__eyebrow {
	margin-bottom: var(--space-xxs);
	color: var(--primary);
	font-family: var(--font-body);
	font-size: 0.9375rem;
	font-weight: 700;
	line-height: 1;
	text-transform: uppercase;
}

.ohso-not-found__title {
	color: var(--primary-dark);
	font-family: var(--font-heading);
	font-size: var(--text-2xl);
	font-weight: 400;
	line-height: 1.3;
}

.ohso-not-found__content {
	padding: var(--section-padding) var(--not-found-gutter);
	padding-top: 0px;
}

.ohso-not-found__inner {
	box-sizing: border-box;
	width: min(100%, var(--not-found-content-width));
	margin-inline: auto;
}

.ohso-not-found__panel {
	display: flex;
	min-height: 19rem;
	flex-direction: column;
	align-items: flex-start;
	justify-content: center;
	gap: var(--space-s);
	padding: clamp(2rem, 5vw, 4.21875rem);
	border-radius: var(--radius-m);
	background: linear-gradient(180deg, var(--base) 0%, var(--secondary-ultra-light) 100%);
}

.ohso-not-found__panel-label {
	color: var(--primary);
	font-family: var(--font-body);
	font-size: var(--text-s);
	font-weight: 700;
	line-height: 1.5;
}

.ohso-not-found__panel h2 {
	color: var(--primary-dark);
	font-family: var(--font-heading);
	font-size: var(--text-xl);
	font-weight: 400;
	line-height: 1.3;
}

.ohso-not-found__panel > p:not(.ohso-not-found__panel-label) {
	max-width: 42rem;
	color: var(--neutral-dark);
	font-family: var(--font-body);
	font-size: var(--text-m);
	line-height: 1.5;
}

.ohso-not-found__actions {
	display: flex;
	flex-wrap: wrap;
	gap: var(--space-xs);
	margin-top: var(--space-xs);
}

.ohso-not-found__button {
	display: inline-flex;
	box-sizing: border-box;
	min-height: 3.375rem;
	align-items: center;
	justify-content: center;
	padding: 0.84375rem 1.875rem;
	border: 0.125rem solid var(--primary);
	border-radius: var(--radius-full);
	font-family: var(--font-heading);
	font-size: var(--text-m);
	font-weight: 400;
	line-height: 1.3;
	text-align: center;
	text-decoration: none;
	transition: background-color var(--transition), border-color var(--transition), color var(--transition), transform var(--transition);
}

.ohso-not-found__button--primary {
	background: var(--primary);
	color: var(--base);
}

.ohso-not-found__button--secondary {
	background: transparent;
	color: var(--primary-dark);
}

@media (hover: hover) {
	.ohso-not-found__button:hover {
		border-color: var(--primary-dark);
		background: var(--primary-dark);
		color: var(--base);
	}
}

.ohso-not-found__button:focus-visible {
	outline: 0.1875rem solid var(--primary-dark);
	outline-offset: 0.1875rem;
}

@media (hover: hover) and (prefers-reduced-motion: no-preference) {
	.ohso-not-found__button:hover {
		transform: translateY(-0.125rem);
	}
}

@media (max-width: 62rem) {
	.ohso-not-found__hero {
		min-height: 18rem;
		padding-block: clamp(3.5rem, 10vw, 5rem);
	}
}

@media (max-width: 42rem) {
	.ohso-not-found__hero-pattern {
		left: -30rem;
	}

	.ohso-not-found__hero-ellipse {
		left: 50%;
		transform: translateX(-50%);
	}

	.ohso-not-found__content {
		padding-block: var(--space-l);
	}

	.ohso-not-found__panel {
		min-height: 0;
	}
}
