/* ABST instant search — styled to the 2026 /b design system
 * (white panel, hairline border, Cabin body, navy accents). */

.abst-search-wrap {
	position: relative;
}

.abst-search-panel {
	position: absolute;
	top: calc(100% + 6px);
	left: 0;
	right: 0;
	min-width: 320px;
	max-height: 420px;
	overflow-y: auto;
	background: var(--abst-white, #ffffff);
	border: 1px solid var(--abst-hairline, rgba(0, 0, 0, 0.15));
	border-radius: var(--abst-radius-card, 5px);
	box-shadow: 0 8px 24px -6px rgba(13, 26, 53, 0.18);
	z-index: 9999;
	font-family: var(--abst-font-body, "Cabin", sans-serif);
	text-align: left;
}

.abst-search-group {
	text-transform: uppercase;
	letter-spacing: 1.5px;
	font-weight: 700;
	font-size: 12px;
	color: var(--abst-navy, #365187);
	padding: 12px 16px 6px;
	border-top: 1px solid var(--abst-hairline, rgba(0, 0, 0, 0.15));
}
.abst-search-group:first-child {
	border-top: 0;
}

.abst-search-item {
	display: block;
	padding: 9px 16px;
	text-decoration: none !important;
	cursor: pointer;
}
.abst-search-item.is-active,
.abst-search-item:hover {
	background: var(--abst-paper, #f7f6f4);
}

.abst-search-title {
	display: block;
	font-size: 15px;
	font-weight: 600;
	color: var(--abst-ink, #333333);
	line-height: 1.35;
}
.abst-search-item.is-active .abst-search-title,
.abst-search-item:hover .abst-search-title {
	color: var(--abst-blue, #2b7bb9);
}

.abst-search-cat {
	display: inline-block;
	margin-left: 8px;
	font-size: 11px;
	font-weight: 700;
	letter-spacing: 0.5px;
	text-transform: uppercase;
	color: var(--abst-muted, #a1a1a1);
}

.abst-search-excerpt {
	display: block;
	margin-top: 2px;
	font-size: 13px;
	font-weight: 400;
	color: var(--abst-text, #494949);
	line-height: 1.4;
	display: -webkit-box;
	-webkit-line-clamp: 2;
	-webkit-box-orient: vertical;
	overflow: hidden;
}

.abst-search-panel mark {
	background: none;
	color: var(--abst-navy, #365187);
	font-weight: 700;
	padding: 0;
}

.abst-search-empty {
	padding: 16px;
	font-size: 14px;
	color: var(--abst-muted, #a1a1a1);
}

/* "Did you mean" row above corrected results */
.abst-search-dym {
	display: block;
	padding: 12px 16px;
	font-size: 14px;
	color: var(--abst-text, #494949) !important;
	text-decoration: none !important;
	border-bottom: 1px solid var(--abst-hairline, rgba(0, 0, 0, 0.15));
}
.abst-search-dym strong {
	color: var(--abst-blue, #2b7bb9);
	font-weight: 700;
}
.abst-search-dym:hover {
	background: var(--abst-paper, #f7f6f4);
}
.abst-search-dym:hover strong {
	text-decoration: underline;
	text-underline-offset: 3px;
}
.abst-search-dym + .abst-search-group {
	border-top: 0;
}
