/* Full-screen search box (opened by the header search button) */
.search-overlay {
	position: fixed;
	top: 0;
	left: 0;
	width: 100%;
	height: 100%;
	background: #ffffff;
	z-index: 300;
	display: flex;
	flex-direction: column;
	font-family: "Poppins", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
}

.search-overlay[hidden] {
	display: none;
}

.search-top {
	display: flex;
	align-items: center;
	gap: 4px;
	height: 56px;
	padding: 0 6px;
	border-bottom: 1px solid #e2e8f0;
	flex-shrink: 0;
}

.search-back, .search-clear {
	width: 44px;
	height: 44px;
	border: none;
	background: transparent;
	color: #1a202c;
	cursor: pointer;
	display: flex;
	align-items: center;
	justify-content: center;
	flex-shrink: 0;
}

.search-input {
	flex: 1;
	min-width: 0;
	height: 40px;
	border: none;
	outline: none;
	font-family: inherit;
	font-size: 16px;
	background: transparent;
	color: #1a202c;
}

.search-results {
	flex: 1;
	overflow-y: auto;
	padding: 8px 12px 24px 12px;
}

.search-msg, .search-label {
	padding: 16px 4px;
	font-size: 14px;
	color: #718096;
}

.search-label {
	padding-bottom: 6px;
	font-weight: 600;
}

.search-row {
	display: flex;
	gap: 12px;
	padding: 8px 0;
	text-decoration: none;
	color: #1a202c;
}

.search-thumb {
	width: 112px;
	aspect-ratio: 16 / 9;
	border-radius: 8px;
	overflow: hidden;
	background: #edf2f7;
	flex-shrink: 0;
}

.search-thumb img {
	width: 100%;
	height: 100%;
	object-fit: cover;
	display: block;
}

.search-info {
	min-width: 0;
	display: flex;
	flex-direction: column;
	justify-content: center;
	gap: 4px;
}

.search-title {
	font-size: 14px;
	font-weight: 600;
	line-height: 1.35;
	display: -webkit-box;
	-webkit-line-clamp: 2;
	-webkit-box-orient: vertical;
	overflow: hidden;
}

.search-meta {
	font-size: 11px;
	color: #718096;
}
