@charset "UTF-8";
/* =============================================================================
   Search results (search.php) and page not found (404.php). Not designed —
   derived (2026-10-15): the legal pages' navy band (legal.css), the news
   sidebar's search field, and the article's type.
   ========================================================================== */

.system-page__lead {
	margin: 0 0 var(--space-8);
	font-family: var(--font-display);
	font-size: var(--fs-copy-20);
	line-height: 1.5;
	color: var(--color-navy);
}

.site-search { gap: var(--space-3); }

.site-search__submit { flex: none; }

.system-page__routes {
	display: flex;
	flex-wrap: wrap;
	gap: var(--space-3) var(--space-6);
	margin: var(--space-10) 0 0;
	padding: 0;
	list-style: none;
	font-family: var(--font-body);
	font-size: var(--fs-ui-base);
}

.system-page__routes a {
	font-weight: var(--fw-medium);
	color: var(--color-crimson);
	text-underline-offset: 0.2em;
}

/* --- Results ------------------------------------------------------------------ */

.search-results {
	margin: var(--space-10) 0 0;
	padding: 0;
	list-style: none;
}

.search-results__item {
	padding-block: var(--space-6);
	border-block-start: 1px solid var(--color-slate-200);
}

.search-results__item:last-child { border-block-end: 1px solid var(--color-slate-200); }

.search-results__type {
	margin: 0;
	font-family: var(--font-body);
	font-size: var(--fs-ui-xs);
	font-weight: var(--fw-semibold);
	letter-spacing: var(--ls-eyebrow);
	text-transform: uppercase;
	color: var(--color-crimson);
}

.search-results__title {
	margin: var(--space-2) 0 0;
	font-family: var(--font-display);
	font-size: var(--fs-editorial-lg);
	font-weight: var(--fw-medium);
	line-height: var(--lh-tight);
}

.search-results__title a {
	color: var(--color-navy);
	text-decoration: none;
}

.search-results__title a:hover { color: var(--color-crimson); }

.search-results__text {
	margin: var(--space-2) 0 0;
	font-family: var(--font-body);
	font-size: var(--fs-ui-base);
	line-height: var(--lh-body);
	color: var(--color-slate-700);
}

.search-results__pages .nav-links {
	display: flex;
	flex-wrap: wrap;
	gap: var(--space-2);
	margin-block-start: var(--space-10);
	font-family: var(--font-body);
	font-size: var(--fs-ui-sm);
}

.search-results__pages .page-numbers {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	min-width: 2.5rem;
	height: 2.5rem;
	padding-inline: var(--space-3);
	border: 1px solid var(--color-border);
	border-radius: var(--radius-pill);
	color: var(--color-navy);
	text-decoration: none;
}

.search-results__pages .page-numbers.current,
.search-results__pages a.page-numbers:hover {
	border-color: var(--color-crimson);
	color: var(--color-crimson);
}

/* The 404's "Error 404" eyebrow on the navy band: the magenta made for dark grounds. */
.legal-hero__eyebrow {
	margin: 0 0 var(--space-4);
	color: var(--color-crimson-on-dark);
}
