/* Acorn header school search: the dropdown under the header search box.
   The search box itself keeps the Elementor Search Form styling. Tokens fall back to the Acorn values. */

.acsh-host {
	position: relative;
}

.acsh,
.acsh * {
	box-sizing: border-box;
}

.acsh {
	position: absolute;
	top: calc(100% + 8px);
	left: 0;
	right: 0;
	z-index: 1000;
	display: grid;
	gap: 4px;
	padding: 8px;
	border: 1px solid var(--border, #d5d9e2);
	border-radius: var(--radius-lg, 16px);
	background-color: var(--surface, #fff);
	box-shadow: 0 12px 32px rgba(35, 31, 32, 0.18);
	color: var(--ink, #231f20);
	font-family: var(--font-body, "Atkinson Hyperlegible", Arial, sans-serif);
	font-size: 16px;
	line-height: 24px;
	text-align: left;
}

.acsh[hidden] {
	display: none;
}

.acsh .acsh__item {
	display: flex;
	align-items: center;
	gap: 12px;
	min-height: 60px;
	padding: 8px 12px;
	border-radius: var(--radius-md, 8px);
	color: inherit;
	text-decoration: none;
}

.acsh .acsh__item:hover,
.acsh .acsh__item.is-active {
	background-color: var(--navy-100, #eceef3);
	color: inherit;
}

.acsh .acsh__item:focus-visible {
	outline: var(--focus-width, 3px) solid var(--focus, #2e3549);
	outline-offset: -3px;
}

.acsh__crest {
	display: flex;
	align-items: center;
	justify-content: center;
	flex: none;
	width: 44px;
	height: 44px;
	border-radius: var(--radius-pill, 999px);
	background-color: var(--navy-100, #eceef3);
	font-family: var(--font-display, Poppins, "Helvetica Neue", Arial, sans-serif);
	font-size: 15px;
	line-height: 1;
	font-weight: 700;
	color: var(--navy, #2e3549);
	overflow: hidden;
}

.acsh__crest img {
	display: block;
	width: 100%;
	height: 100%;
	border-radius: 50%;
	object-fit: contain;
}

.acsh__text {
	display: block;
	min-width: 0;
}

.acsh__name {
	display: block;
	font-family: var(--font-display, Poppins, "Helvetica Neue", Arial, sans-serif);
	font-size: 16px;
	line-height: 24px;
	font-weight: 600;
	color: var(--navy, #2e3549);
}

.acsh__meta {
	display: block;
	font-size: 14px;
	line-height: 20px;
	color: var(--ink-muted, #5a6275);
}

.acsh .acsh__note {
	margin: 0;
	padding: 8px 12px;
	font-size: 14px;
	line-height: 22px;
	color: var(--ink-muted, #5a6275);
}

.acsh .acsh__note a {
	color: var(--red, #be202a);
	font-weight: 700;
	text-decoration: underline;
}

.acsh .acsh__note a:hover {
	color: var(--red-hover, #9a1a22);
}
