.wp-block-search {
	position: relative;
}

.wpe-autocomplete {
	background: #fff;
	border: 1px solid #ddd;
	border-radius: 4px;
	box-shadow: 0 4px 12px rgba(0, 0, 0, .15);
	display: none;
	left: 0;
	list-style: none;
	margin: 0;
	max-height: 250px;
	overflow-y: auto;
	padding: 0;
	position: absolute;
	right: 0;
	top: 100%;
	z-index: 9999;
}

.wpe-autocomplete__header {
	border-bottom: 1px solid #f0f0f0;
	color: #888;
	display: flex;
	font-size: 11px;
	font-weight: 600;
	justify-content: space-between;
	letter-spacing: .06em;
	padding: 8px 12px;
	text-transform: uppercase;
}

.wpe-autocomplete__header--questions {
	align-items: center;
	gap: 6px;
	justify-content: flex-start;
}

.wpe-autocomplete__item {
	border-bottom: 1px solid #f0f0f0;
	cursor: pointer;
	list-style: none;
	padding: 10px 12px;
}

.wpe-autocomplete__item--question {
	color: #333;
	font-size: 13px;
	padding: 9px 12px 9px 30px;
}

.wpe-autocomplete__item--active {
	background: #f0f4ff;
}

/* Result rows: optional thumbnail on the left, text on the right. */
.wpe-autocomplete__item--result {
	align-items: flex-start;
	display: flex;
	gap: 10px;
}

.wpe-autocomplete__image {
	background: #f0f0f0;
	border-radius: 4px;
	flex: 0 0 48px;
	height: 48px;
	object-fit: cover;
	width: 48px;
}

.wpe-autocomplete__text {
	flex: 1 1 auto;
	min-width: 0;
}

.wpe-autocomplete__title {
	color: #111;
	font-size: 14px;
	font-weight: 500;
	overflow: hidden;
	text-overflow: ellipsis;
	white-space: nowrap;
}

.wpe-autocomplete__excerpt {
	-webkit-box-orient: vertical;
	-webkit-line-clamp: 2;
	color: #777;
	display: -webkit-box;
	font-size: 12px;
	line-height: 1.4;
	margin-top: 2px;
	overflow: hidden;
}

.wpe-autocomplete__footer {
	padding: 10px 12px;
	text-align: center;
}

.wpe-autocomplete__footer-link {
	color: #0073aa;
	font-size: 13px;
	text-decoration: none;
}
