.pls-live-search {
	position: relative;
	width: 100%;
	z-index: 30;
}

.pls-search-form,
.pls-input-row {
	width: 100%;
}

.pls-input-row {
	display: flex;
	align-items: stretch;
	border: 1px solid #c9c9c9;
	border-radius: 6px;
	background: #fff;
	overflow: hidden;
}

.pls-search-input {
	flex: 1 1 auto;
	min-width: 0;
	width: 100%;
	border: 0 !important;
	box-shadow: none !important;
	background: transparent !important;
	padding: 12px 14px !important;
	margin: 0 !important;
	font: inherit;
}

.pls-search-input:focus {
	outline: 2px solid currentColor;
	outline-offset: -2px;
}

.pls-search-button {
	flex: 0 0 46px;
	display: inline-flex;
	align-items: center;
	justify-content: center;
	border: 0;
	border-left: 1px solid #ddd;
	background: transparent;
	cursor: pointer;
	padding: 10px;
}

.pls-search-button svg {
	width: 22px;
	height: 22px;
	fill: currentColor;
}

.pls-results {
	position: absolute;
	top: calc(100% + 6px);
	left: 0;
	right: 0;
	max-height: min(520px, 70vh);
	overflow-y: auto;
	background: #fff;
	border: 1px solid #d7d7d7;
	border-radius: 8px;
	box-shadow: 0 12px 30px rgba(0,0,0,.16);
	z-index: 99999;
}

.pls-result-item {
	display: flex;
	gap: 12px;
	align-items: center;
	padding: 10px 12px;
	color: inherit !important;
	text-decoration: none !important;
	border-bottom: 1px solid #ededed;
	background: #fff;
}

.pls-result-item:last-child {
	border-bottom: 0;
}

.pls-result-item:hover,
.pls-result-item:focus,
.pls-result-item.is-active {
	background: #f3f5f7;
	outline: none;
}

.pls-result-thumb {
	width: 70px;
	height: 70px;
	flex: 0 0 70px;
	object-fit: cover;
	border-radius: 5px;
	background: #ececec;
}

.pls-thumb-placeholder::after {
	content: "";
	display: block;
	width: 100%;
	height: 100%;
	background: linear-gradient(135deg, transparent 42%, rgba(0,0,0,.08) 43%, rgba(0,0,0,.08) 57%, transparent 58%);
}

.pls-result-copy {
	display: flex;
	flex-direction: column;
	min-width: 0;
	line-height: 1.35;
}

.pls-result-title {
	font-weight: 700;
}

.pls-result-type {
	font-size: .72rem;
	text-transform: uppercase;
	letter-spacing: .05em;
	opacity: .58;
	margin-top: 2px;
}

.pls-result-excerpt {
	font-size: .88rem;
	opacity: .75;
	margin-top: 4px;
}

.pls-message {
	padding: 14px;
}

@media (max-width: 520px) {
	.pls-result-thumb {
		width: 56px;
		height: 56px;
		flex-basis: 56px;
	}

	.pls-result-excerpt {
		display: none;
	}
}
