/**
 * Pesquisa — barra “pergunta” da abertura (protótipo .busca).
 * Style: is-style-lzm-search-pergunta
 *
 * Só visual. Estrutura = core/search (label + input + botão).
 * No editor: rótulo visível, botão com ícone, preferir botão interno.
 */

.wp-block-search.is-style-lzm-search-pergunta {
	max-width: 470px;
	width: 100%;
}

.wp-block-search.is-style-lzm-search-pergunta .wp-block-search__label {
	display: block;
	margin: 0 0 12px;
	padding: 0;
	border: 0;
	clip: auto;
	width: auto;
	height: auto;
	overflow: visible;
	position: static;
	white-space: normal;
	font-family: var(--wp--preset--font-family--corpo, inherit);
	font-size: 11px;
	font-weight: 600;
	line-height: 1.3;
	letter-spacing: 0.18em;
	text-transform: uppercase;
	color: var(--wp--preset--color--heron-claro, #cfe0e4);
}

/* Esconde o rótulo se o usuário deixar só para leitores de tela. */
.wp-block-search.is-style-lzm-search-pergunta
	.wp-block-search__label.screen-reader-text {
	border: 0;
	clip: rect(1px, 1px, 1px, 1px);
	clip-path: inset(50%);
	height: 1px;
	margin: -1px;
	overflow: hidden;
	padding: 0;
	position: absolute;
	width: 1px;
	word-wrap: normal;
}

.wp-block-search.is-style-lzm-search-pergunta .wp-block-search__inside-wrapper {
	display: flex;
	align-items: center;
	gap: 12px;
	box-sizing: border-box;
	width: 100%;
	margin: 0;
	padding: 7px 7px 7px 18px;
	border: 0;
	border-radius: var(--wp--custom--raio, 6px);
	background: rgba(243, 239, 241, 0.2);
	-webkit-backdrop-filter: blur(12px);
	backdrop-filter: blur(12px);
	box-shadow: 0 24px 60px -26px rgba(0, 0, 0, 0.45);
	transition: background 0.2s ease;
}

.wp-block-search.is-style-lzm-search-pergunta
	.wp-block-search__inside-wrapper:focus-within {
	background: rgba(243, 239, 241, 0.28);
}

.wp-block-search.is-style-lzm-search-pergunta
	.wp-block-search__inside-wrapper::before {
	content: none;
}

.wp-block-search.is-style-lzm-search-pergunta .wp-block-search__input {
	flex: 1 1 auto;
	min-width: 0;
	margin: 0;
	padding: 12px 0;
	border: 0 !important;
	border-radius: 0 !important;
	background: transparent !important;
	box-shadow: none !important;
	outline: none;
	font-family: var(--wp--preset--font-family--corpo, inherit);
	font-size: 15px;
	line-height: 1.3;
	color: #fff;
	-webkit-appearance: none;
	appearance: none;
}

.wp-block-search.is-style-lzm-search-pergunta .wp-block-search__input::placeholder {
	color: rgba(240, 231, 235, 0.75);
	opacity: 1;
}

.wp-block-search.is-style-lzm-search-pergunta .wp-block-search__input:focus,
.wp-block-search.is-style-lzm-search-pergunta .wp-block-search__input:focus-visible {
	outline: none;
	box-shadow: none;
	border: 0 !important;
}

.wp-block-search.is-style-lzm-search-pergunta .wp-block-search__button {
	appearance: none;
	box-sizing: border-box;
	display: inline-flex;
	align-items: center;
	justify-content: center;
	flex: 0 0 auto;
	width: 44px;
	height: 44px;
	min-width: 44px;
	min-height: 44px;
	margin: 0;
	margin-inline-start: 0;
	padding: 0;
	border: 0 !important;
	border-radius: var(--wp--custom--raio, 6px) !important;
	background: var(--wp--preset--color--sage, #7c8b6e) !important;
	color: #fff !important;
	line-height: 0;
	cursor: pointer;
	transition:
		transform 0.16s ease,
		background 0.16s ease;
}

.wp-block-search.is-style-lzm-search-pergunta .wp-block-search__button:hover,
.wp-block-search.is-style-lzm-search-pergunta .wp-block-search__button:focus {
	background: #6b7a5f !important;
	transform: translateY(-1px);
}

.wp-block-search.is-style-lzm-search-pergunta .wp-block-search__button svg,
.wp-block-search.is-style-lzm-search-pergunta .wp-block-search__button .search-icon {
	display: block;
	width: 18px;
	height: 18px;
	fill: currentColor;
}

.wp-block-search.is-style-lzm-search-pergunta .wp-block-search__button::after {
	content: none;
}

@media (max-width: 560px) {
	.wp-block-search.is-style-lzm-search-pergunta .wp-block-search__input {
		font-size: 15px;
	}
}

@media (prefers-reduced-motion: reduce) {
	.wp-block-search.is-style-lzm-search-pergunta .wp-block-search__inside-wrapper,
	.wp-block-search.is-style-lzm-search-pergunta .wp-block-search__button {
		transition: none;
	}

	.wp-block-search.is-style-lzm-search-pergunta .wp-block-search__button:hover,
	.wp-block-search.is-style-lzm-search-pergunta .wp-block-search__button:focus {
		transform: none;
	}
}
