/* Lupa Busca Blog */
.lbb-open {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	background: none;
	border: 0;
	padding: 6px;
	margin: 0;
	color: inherit;
	cursor: pointer;
	line-height: 1;
	box-shadow: none;
}
.lbb-open:hover,
.lbb-open:focus-visible { color: var(--lbb-cor, #1e73be); }
.lbb-open:focus-visible { outline: 2px solid var(--lbb-cor, #1e73be); outline-offset: 2px; border-radius: 4px; }

.lbb-menu-item { display: flex; align-items: center; list-style: none; }

/* Botão flutuante */
.lbb-open--floating {
	position: fixed;
	bottom: 24px;
	z-index: 99998;
	width: 56px;
	height: 56px;
	border-radius: 50%;
	background: var(--lbb-cor, #1e73be);
	color: #fff;
	box-shadow: 0 6px 18px rgba(0, 0, 0, .25);
	transition: transform .15s ease;
}
.lbb-open--floating:hover,
.lbb-open--floating:focus-visible { color: #fff; transform: scale(1.07); }
.lbb-open--floating .lbb-icon { width: 24px; height: 24px; }
.lbb-pos-right { right: 24px; }
.lbb-pos-left { left: 24px; }

/* Janela de pesquisa */
.lbb-overlay {
	position: fixed;
	inset: 0;
	z-index: 99999;
	background: rgba(15, 20, 30, .6);
	display: flex;
	align-items: flex-start;
	justify-content: center;
	padding: 10vh 16px 16px;
	box-sizing: border-box;
}
.lbb-overlay[hidden] { display: none; }
.lbb-panel {
	width: 100%;
	max-width: 640px;
	max-height: 80vh;
	display: flex;
	flex-direction: column;
	background: #fff;
	color: #222;
	border-radius: 14px;
	box-shadow: 0 20px 50px rgba(0, 0, 0, .3);
	overflow: hidden;
	animation: lbb-in .18s ease;
}
@keyframes lbb-in { from { opacity: 0; transform: translateY(-10px); } to { opacity: 1; transform: none; } }

.lbb-form {
	display: flex;
	align-items: center;
	gap: 10px;
	padding: 14px 16px;
	border-bottom: 1px solid #eee;
	margin: 0;
}
.lbb-form-icon { display: flex; color: var(--lbb-cor, #1e73be); }
.lbb-input {
	flex: 1;
	min-width: 0;
	border: 0 !important;
	outline: none !important;
	box-shadow: none !important;
	background: transparent !important;
	font-size: 18px !important;
	padding: 6px 0 !important;
	color: #222;
}
.lbb-close {
	background: none;
	border: 0;
	font-size: 28px;
	line-height: 1;
	color: #888;
	cursor: pointer;
	padding: 0 4px;
}
.lbb-close:hover { color: #222; background: none; }

.lbb-results { overflow-y: auto; }
.lbb-msg { padding: 18px 16px; color: #666; font-size: 15px; margin: 0; }

.lbb-item {
	display: flex;
	align-items: center;
	gap: 12px;
	padding: 10px 16px;
	text-decoration: none !important;
	color: inherit !important;
	border-bottom: 1px solid #f2f2f2;
}
.lbb-item:hover,
.lbb-item.is-active { background: #f4f7fb; }
.lbb-thumb {
	flex: none;
	width: 56px;
	height: 56px;
	border-radius: 8px;
	object-fit: cover;
	background: #eef1f5;
}
.lbb-thumb--empty { display: flex; align-items: center; justify-content: center; color: #b0b7c3; }
.lbb-text { min-width: 0; }
.lbb-title { display: block; font-weight: 600; font-size: 16px; line-height: 1.3; color: #222; }
.lbb-title mark { background: none; color: var(--lbb-cor, #1e73be); padding: 0; }
.lbb-meta { display: block; font-size: 13px; color: #888; margin-top: 3px; }

.lbb-more {
	display: block;
	padding: 14px 16px;
	text-align: center;
	font-weight: 600;
	color: var(--lbb-cor, #1e73be) !important;
	text-decoration: none !important;
}
.lbb-more:hover { background: #f4f7fb; }

body.lbb-lock { overflow: hidden; }

@media (max-width: 600px) {
	.lbb-overlay { padding: 0; }
	.lbb-panel { max-width: none; max-height: 100%; height: 100%; border-radius: 0; }
	.lbb-open--floating { width: 50px; height: 50px; bottom: 16px; }
	.lbb-pos-right { right: 16px; }
	.lbb-pos-left { left: 16px; }
}
