/* search-results.css
   Extraído do template de resultados de busca.
   Enfileire condicionalmente apenas em is_search() — ver snippet de
   functions.php. */

.content-wrapper {
	display: flex;
	flex-wrap: nowrap;
	gap: 20px;
}

.main-content {
	flex: 3;
	max-width: 100%;
}

@media (min-width: 992px) {
	.main-content {
		max-width: 75%;
	}
}

.sidebar {
	display: none;
}

@media (min-width: 992px) {
	.sidebar {
		display: block;
		flex: 1;
		max-width: 25%;
		background: #f9f9f9;
		padding: 15px;
		border: 1px solid #ddd;
		border-radius: 10px;
	}
}

.post-list-item {
	display: flex;
	gap: 15px;
	background: #fff;
	border: 1px solid #ddd;
	border-radius: 10px;
	padding: 15px;
	margin-bottom: 20px;
	box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
}

.post-list-item img {
	border-radius: 10px;
	width: 100px;
	height: 100px;
	object-fit: cover;
}

.post-title a {
	font-weight: bold;
	color: #c22;
}

.post-title a:hover {
	text-decoration: underline;
}

.pagination {
	text-align: center;
	margin: 20px 0;
}

.pagination a,
.pagination span {
	display: inline-block;
	padding: 8px 12px;
	margin: 0 5px;
	border: 1px solid #ddd;
	border-radius: 5px;
	text-decoration: none;
	color: #333;
	background-color: #fff;
}

.pagination a:hover {
	background: #c22;
	color: #fff;
}

.pagination .current {
	background: #c22;
	color: #fff;
	font-weight: bold;
}

.pagination .page-numbers.prev,
.pagination .page-numbers.next {
	background: #000000;
	color: #fff;
}