/* Buscador minimalista de la barra lateral. */
.marabelia-search-widget {
	margin-bottom: 34px;
	padding-top: 20px;
}

.marabelia-search-form {
	display: grid;
	grid-template-columns: minmax(0, 1fr) 52px;
	min-height: 50px;
	margin: 0;
	background: #ededed;
	box-shadow: inset 0 0 0 1px rgba(0, 0, 0, .035);
	transition: background-color .25s ease, box-shadow .25s ease;
}

.marabelia-search-form:focus-within {
	background: #fff;
	box-shadow: inset 0 0 0 1px #2b2b2b;
}

.marabelia-search-field {
	width: 100%;
	height: 50px !important;
	margin: 0 !important;
	padding: 0 16px !important;
	border: 0 !important;
	background: transparent !important;
	color: #2b2b2b !important;
	font-family: "Lora", serif !important;
	font-size: 17px !important;
	font-weight: 400 !important;
	box-shadow: none !important;
}

.marabelia-search-field::placeholder {
	color: #858585;
	opacity: 1;
}

.marabelia-search-field::-webkit-search-cancel-button {
	-webkit-appearance: none;
}

.marabelia-search-submit {
	display: flex;
	align-items: center;
	justify-content: center;
	width: 52px;
	height: 50px;
	min-height: 0;
	margin: 0;
	padding: 0;
	border: 0;
	background: transparent;
	color: #222;
	box-shadow: none;
	transition: color .25s ease, background-color .25s ease;
}

.marabelia-search-submit:hover,
.marabelia-search-submit:focus-visible {
	background: #ef3f3a;
	color: #fff;
}

.marabelia-search-submit svg {
	width: 25px;
	height: 25px;
	fill: none;
	stroke: currentColor;
	stroke-linecap: round;
	stroke-width: 2;
}

/* Aire estable entre la cabecera, los resultados y la barra lateral. */
body.search-results .blog-wrapper,
body.search-no-results .blog-wrapper {
	padding-top: clamp(54px, 5vw, 76px) !important;
	padding-bottom: clamp(54px, 5vw, 76px) !important;
}

body.search-results #post-list > article,
body.search-no-results #post-list > article {
	margin-bottom: 40px;
}

@media only screen and (max-width: 849px) {
	.marabelia-search-widget {
		margin-bottom: 28px;
	}

	body.search-results .blog-wrapper,
	body.search-no-results .blog-wrapper {
		padding-top: 36px !important;
		padding-bottom: 44px !important;
	}
}
