/* Buscador del blog: lupa en la cabecera y formulario desplegable (header.php, searchform.php). */
.bnt-cabecera-blog {
	display: flex;
	align-items: flex-end;
	justify-content: space-between;
	gap: 1rem;
}

.bnt-buscador__boton {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	flex: 0 0 auto;
	width: 46px;
	height: 46px;
	margin-bottom: .25rem;
	padding: 0;
	border: 1px solid #e3dce1;
	border-radius: 50%;
	background: #fff;
	color: #410B34;
	font-size: 18px;
	line-height: 1;
	cursor: pointer;
	transition: color .15s ease, background-color .15s ease, border-color .15s ease;
}

.bnt-buscador__boton:hover,
.bnt-buscador__boton[aria-expanded="true"] {
	color: #fff;
	background: #E6007E;
	border-color: #E6007E;
}

.bnt-buscador__boton:focus-visible {
	outline: 2px solid #E6007E;
	outline-offset: 3px;
}

.bnt-buscador__panel {
	max-width: 640px;
	margin: 1.25rem 0 0 auto;
}

.bnt-buscador__panel:not([hidden]) {
	animation: bnt-buscador-entrada .18s ease-out;
}

@keyframes bnt-buscador-entrada {
	from { opacity: 0; transform: translateY(-6px); }
	to   { opacity: 1; transform: none; }
}

@media (prefers-reduced-motion: reduce) {
	.bnt-buscador__panel:not([hidden]) { animation: none; }
}

.bnt-buscador__boton i {
	font-size: 18px;
}

/* Tamaños en px: el tema de la web reduce el tamaño base y en el iPhone, por debajo de 16 px, el campo hace zoom.
   Selector reforzado: theme-elements.css usa .form-control:not(...):not(...) y se carga después. */
.bnt-busqueda .input-group > .form-control[name="s"] {
	min-height: 48px;
	padding: .5rem 1rem;
	font-size: 16px;
	line-height: 1.4;
}

.bnt-busqueda .input-group > .form-control[name="s"]:focus {
	border-color: #E6007E;
	box-shadow: 0 0 0 .2rem rgba(230, 0, 126, .15);
}

.bnt-busqueda .btn {
	display: inline-flex;
	align-items: center;
	gap: .4rem;
	padding: 0 1.4rem;
	font-size: 15px;
	font-weight: 600;
}

/* Página de resultados (search.php) */
.bnt-resultados__cabecera {
	margin: 1rem 0 2.5rem;
	text-align: center;
}

.bnt-resultados__cabecera h1 {
	margin-bottom: .25rem;
}

.bnt-resultados__vacio {
	max-width: 640px;
	margin: 0 auto 4rem;
	text-align: center;
}

@media (max-width: 575.98px) {
	.bnt-buscador__panel { max-width: none; }
}
