.search-page {
	padding: 2rem 1rem;
	max-width: 800px;
	margin: 0 auto;
}

.search-form {
	margin-bottom: 2rem;
}

.search-input-group {
	position: relative;
	width: 100%;
}

.search-input {
	width: 100%;
	padding: 0.75rem 3rem 0.75rem 1rem;
	border: 2px solid #ddd;
	border-radius: 6px;
	font-size: 1rem;
	transition: border-color 0.2s;
	box-sizing: border-box;
}

.search-input:focus {
	outline: none;
	border-color: #3498db;
	box-shadow: 0 0 0 3px rgba(52, 152, 219, 0.1);
}

.search-submit {
	position: absolute;
	top: 0;
	right: 0;
	height: 100%;
	width: 2.75rem;
	background: transparent;
	color: #3498db;
	border: none;
	border-radius: 0 6px 6px 0;
	font-size: 1rem;
	cursor: pointer;
	transition: color 0.2s;
}

.search-submit:hover {
	color: #2980b9;
}

.search-results.loading {
	opacity: 0.6;
}

.search-stats {
	margin-bottom: 1.5rem;
	color: #666;
	font-size: 0.95rem;
}

.search-result-group {
	margin-bottom: 2rem;
	margin-left: 0;
}

.result-group-title {
	font-size: 1.1rem;
	font-weight: 600;
	color: #2c3e50;
	margin: 0 0 0.75rem 0;
	padding-bottom: 0.35rem;
	border-bottom: 2px solid #3498db;
	text-transform: uppercase;
	letter-spacing: 0.5px;
}

.search-result-item {
	display: flex;
	gap: 1rem;
	padding: 1rem;
	margin-bottom: 0.75rem;
	margin-left: 1.5rem;
	background: #fff;
	border: 1px solid #e0e0e0;
	border-radius: 8px;
	box-shadow: 0 1px 3px rgba(0,0,0,0.08);
	transition: box-shadow 0.2s, border-color 0.2s;
}

.search-result-item:hover {
	border-color: #3498db;
	box-shadow: 0 2px 8px rgba(52,152,219,0.12);
}

.result-image {
	flex-shrink: 0;
	width: 80px;
	height: 80px;
	border-radius: 4px;
	overflow: hidden;
}

.result-image img {
	width: 100%;
	height: 100%;
	object-fit: cover;
}

.result-content {
	flex: 1;
	min-width: 0;
}

.result-title {
	margin: 0 0 0.25rem 0;
	font-size: 1rem;
}

.result-title a {
	color: #2980b9;
	text-decoration: none;
}

.result-title a:hover {
	text-decoration: underline;
}

.result-date {
	display: block;
	font-size: 0.8rem;
	color: #999;
	margin-bottom: 0.25rem;
}

.result-excerpt {
	margin: 0;
	font-size: 0.9rem;
	color: #555;
	line-height: 1.5;
}

.search-min-length,
.search-empty,
.search-no-results,
.search-error {
	text-align: center;
	padding: 2rem;
	color: #888;
}

.search-error {
	color: #c0392b;
}

.search-pagination {
	display: flex;
	justify-content: center;
	gap: 0.25rem;
	margin-top: 1.5rem;
}

.page-link {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	min-width: 2.25rem;
	padding: 0.4rem 0.6rem;
	border: 1px solid #ddd;
	border-radius: 4px;
	background: #fff;
	color: #333;
	text-decoration: none;
	font-size: 0.9rem;
	transition: background 0.2s, border-color 0.2s;
}

.page-link:hover {
	background: #f0f0f0;
	border-color: #bbb;
}

.page-link.active {
	background: #3498db;
	border-color: #3498db;
	color: #fff;
}
