/*
Theme Name: Hello Elementor Child
Theme URI: https://elementor.com/hello-theme/
Description: Child theme do Hello Elementor. Força o template Elementor #41 como footer do site via tema.
Author: Juliana Costa
Author URI: https://julianatsoc.dev
Template: hello-elementor
Version: 1.1.0
Text Domain: hello-elementor-child
*/

/* =========================================================
   Página de resultados de busca (search.php)
   Visual no padrão dos widgets CAU. O formulário reutiliza as
   classes .cau-search (estilizadas no CSS do plugin).
   ========================================================= */
.cau-search-page {
	padding: 56px 20px 80px;
	font-family: 'Manrope', sans-serif;
	color: #1b3a4b;
}

.cau-search-page__inner {
	max-width: 860px;
	margin: 0 auto;
}

.cau-search-page__header {
	margin-bottom: 40px;
}

.cau-search-page__eyebrow {
	margin: 0 0 10px;
	font-size: 13px;
	font-weight: 700;
	letter-spacing: 0.14em;
	text-transform: uppercase;
	color: #1c4587;
}

.cau-search-page__title {
	margin: 0 0 8px;
	font-size: 34px;
	font-weight: 800;
	line-height: 1.15;
	color: #12324f;
}

.cau-search-page__title span {
	color: #1c4587;
}

.cau-search-page__count {
	margin: 0 0 24px;
	font-size: 15px;
	color: #5a6b7b;
}

/* Formulário de refino um pouco maior que o padrão do widget. */
.cau-search-page .cau-search {
	max-width: 560px;
	height: 52px;
}

.cau-search-page__results {
	display: flex;
	flex-direction: column;
	gap: 18px;
}

.cau-result {
	background-color: #ffffff;
	border: 1px solid #e4eaf1;
	border-left: 4px solid #1c4587;
	border-radius: 12px;
	padding: 22px 26px;
	box-shadow: 0 8px 22px rgba(18, 50, 79, 0.05);
	transition: box-shadow 0.2s ease, transform 0.2s ease;
}

.cau-result:hover {
	box-shadow: 0 12px 28px rgba(18, 50, 79, 0.10);
	transform: translateY(-2px);
}

.cau-result__title {
	margin: 0 0 8px;
	font-size: 20px;
	font-weight: 700;
	line-height: 1.25;
}

.cau-result__title a {
	color: #12324f;
	text-decoration: none;
}

.cau-result__title a:hover {
	color: #1c4587;
}

.cau-result__meta {
	margin: 0 0 10px;
	font-size: 12.5px;
	letter-spacing: 0.06em;
	text-transform: uppercase;
	color: #8090a0;
}

.cau-result__excerpt {
	margin: 0 0 14px;
	font-size: 15px;
	line-height: 1.6;
	color: #3f4f5f;
}

.cau-result__excerpt p {
	margin: 0;
}

.cau-result__link {
	display: inline-flex;
	align-items: center;
	gap: 8px;
	font-size: 14px;
	font-weight: 700;
	letter-spacing: 0.03em;
	text-transform: uppercase;
	color: #1c4587;
	text-decoration: none;
	transition: color 0.2s ease;
}

.cau-result__link:hover {
	color: #0f2f5c;
}

.cau-result__link svg {
	width: 16px;
	height: 16px;
	display: block;
}

.cau-search-page__empty {
	padding: 40px 30px;
	background-color: #f4f7fa;
	border: 1px dashed #c7d4e2;
	border-radius: 14px;
	text-align: center;
	font-size: 16px;
	color: #5a6b7b;
}

.cau-search-page__pagination {
	display: flex;
	justify-content: center;
	flex-wrap: wrap;
	gap: 8px;
	margin-top: 40px;
}

.cau-search-page__pagination .page-numbers {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	min-width: 42px;
	height: 42px;
	padding: 0 12px;
	border: 1px solid #d3dde8;
	border-radius: 10px;
	color: #12324f;
	font-size: 15px;
	font-weight: 600;
	text-decoration: none;
	transition: border-color 0.2s ease, color 0.2s ease, background-color 0.2s ease;
}

.cau-search-page__pagination .page-numbers:hover {
	border-color: #1c4587;
	color: #1c4587;
}

.cau-search-page__pagination .page-numbers.current {
	background-color: #1c4587;
	border-color: #1c4587;
	color: #ffffff;
}

.cau-search-page__pagination .page-numbers.dots {
	border-color: transparent;
}

@media (max-width: 600px) {
	.cau-search-page {
		padding: 40px 16px 60px;
	}

	.cau-search-page__title {
		font-size: 26px;
	}
}
