.bp-buscador {
	display: flex;
	flex-wrap: wrap;
	align-items: flex-end;
	gap: 1rem;
}

.bp-buscador__campo {
	display: flex;
	flex: 1 1 14rem;
	flex-direction: column;
	gap: 0.375rem;
}

.bp-buscador__campo select {
	width: 100%;
}

.bp-buscador__campo select:disabled {
	cursor: not-allowed;
	opacity: 0.6;
}

.bp-buscador__acciones {
	flex: 0 0 auto;
}

.bp-buscador__estado {
	flex-basis: 100%;
	margin: 0;
	font-size: 0.875em;
	opacity: 0.75;
}

.bp-buscador__estado:empty {
	display: none;
}

.bp-resultados {
	margin-top: 1.5rem;
}

.bp-resultados:empty,
.bp-resultados[hidden] {
	display: none;
}

.bp-resultados__total,
.bp-resultados__vacio {
	margin: 0 0 1rem;
}

.bp-resultados__lista {
	display: grid;
	grid-template-columns: repeat(auto-fill, minmax(14rem, 1fr));
	gap: 1.5rem;
	margin: 0;
	padding: 0;
	list-style: none;
}

.bp-resultado {
	display: flex;
	flex-direction: column;
	gap: 0.5rem;
	margin: 0;
}

.bp-resultado__enlace {
	display: flex;
	flex-direction: column;
	gap: 0.5rem;
	text-decoration: none;
	color: inherit;
}

.bp-resultado__imagen img {
	display: block;
	width: 100%;
	aspect-ratio: 4 / 3;
	object-fit: cover;
	border-radius: 0.375rem;
}

.bp-resultado__titulo {
	font-weight: 600;
	line-height: 1.3;
}

.bp-resultado__enlace:hover .bp-resultado__titulo,
.bp-resultado__enlace:focus-visible .bp-resultado__titulo {
	text-decoration: underline;
}

.bp-resultado__extracto {
	margin: 0;
	font-size: 0.9em;
	line-height: 1.5;
	opacity: 0.8;
}

.bp-resultados__paginacion {
	display: flex;
	flex-wrap: wrap;
	gap: 0.5rem;
	margin-top: 1.5rem;
}

.bp-resultados__paginacion .page-numbers {
	padding: 0.25rem 0.625rem;
}

.bp-resultados__paginacion .current {
	font-weight: 700;
}

.bp-cargando {
	opacity: 0.5;
	pointer-events: none;
	transition: opacity 0.2s ease;
}
