/* ================================================
   Mapa do Site — sf2023
   Carregado apenas no template page-mapa-do-site.php
   ================================================ */

/* Hero ------------------------------------------ */
.sitemap-hero {
	background-color: #000;
	padding: 3rem 0 2rem;
	margin-bottom: 2.5rem;
}

.sitemap-hero h1 {
	color: #FFB612;
	font-size: 2rem;
	font-weight: 800;
	text-transform: uppercase;
	letter-spacing: 0.05em;
	margin: 0;
}

.sitemap-hero p {
	color: #ccc;
	margin-top: 0.5rem;
	margin-bottom: 0;
	font-size: 0.95rem;
}

/* Seção ----------------------------------------- */
.sitemap-section {
	margin-bottom: 2.5rem;
}

.sitemap-section-title {
	font-size: 1rem;
	font-weight: 800;
	text-transform: uppercase;
	letter-spacing: 0.08em;
	color: #fff;
	background-color: #000;
	display: inline-block;
	padding: 0.35rem 0.85rem;
	border-left: 4px solid #FFB612;
	margin-bottom: 1rem;
}

/* Lista ----------------------------------------- */
.sitemap-list {
	list-style: none;
	padding: 0;
	margin: 0;
}

.sitemap-list li {
	border-bottom: 1px solid #f0f0f0;
}

.sitemap-list li:last-child {
	border-bottom: none;
}

.sitemap-list a {
	display: block;
	padding: 0.45rem 0.25rem;
	color: #111;
	text-decoration: none;
	font-size: 0.9rem;
	transition: color 0.15s ease, padding-left 0.15s ease;
}

.sitemap-list a:hover {
	color: #FFB612;
	padding-left: 0.5rem;
}

.sitemap-list a::before {
	content: '›';
	color: #FFB612;
	font-weight: 700;
	margin-right: 0.4rem;
}

/* Sub-páginas ------------------------------------ */
.sitemap-children {
	list-style: none;
	padding-left: 1.25rem;
	margin: 0;
}

.sitemap-children li {
	border-bottom: 1px solid #f8f8f8;
}

.sitemap-children a {
	font-size: 0.85rem;
	color: #555;
	padding: 0.3rem 0.25rem;
	display: block;
	text-decoration: none;
	transition: color 0.15s ease;
}

.sitemap-children a:hover {
	color: #FFB612;
}

.sitemap-children a::before {
	content: '–';
	color: #aaa;
	margin-right: 0.4rem;
}

/* Card ------------------------------------------ */
.sitemap-card {
	border: 1px solid #e8e8e8;
	border-radius: 6px;
	padding: 1.25rem 1.5rem;
	height: 100%;
	background: #fff;
}

/* Categoria sem posts --------------------------- */
.sitemap-empty {
	color: #bbb;
	font-size: 0.82rem;
	font-style: italic;
	padding: 0.3rem 0;
}

/* Paginação por bloco --------------------------- */
.sitemap-pagination {
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 0.5rem;
	margin-top: 0.75rem;
	padding-top: 0.6rem;
	border-top: 1px solid #f0f0f0;
	font-size: 0.78rem;
}

.sitemap-pagination button {
	background: #000;
	color: #FFB612;
	border: none;
	padding: 0.25rem 0.65rem;
	border-radius: 3px;
	font-size: 0.78rem;
	font-weight: 700;
	cursor: pointer;
	transition: background 0.15s ease;
	font-family: inherit;
}

.sitemap-pagination button:disabled {
	background: #e0e0e0;
	color: #aaa;
	cursor: default;
}

.sitemap-pagination button:not(:disabled):hover {
	background: #FFB612;
	color: #000;
}

.sitemap-pagination .sitemap-page-info {
	color: #888;
	white-space: nowrap;
}

/* Filtro de busca por bloco --------------------- */
.sitemap-filter-wrap {
	position: relative;
	margin-bottom: 0.75rem;
}

.sitemap-filter-wrap::before {
	content: '\f002';
	font-family: 'Font Awesome 5 Pro';
	font-weight: 900;
	position: absolute;
	left: 0.6rem;
	top: 50%;
	transform: translateY(-50%);
	color: #aaa;
	font-size: 0.75rem;
	pointer-events: none;
}

.sitemap-filter {
	width: 100%;
	border: 1px solid #ddd;
	border-radius: 4px;
	padding: 0.35rem 0.6rem 0.35rem 1.8rem;
	font-size: 0.82rem;
	font-family: inherit;
	color: #333;
	background: #fafafa;
	outline: none;
	transition: border-color 0.15s ease, box-shadow 0.15s ease;
}

.sitemap-filter:focus {
	border-color: #FFB612;
	box-shadow: 0 0 0 2px rgba(255, 182, 18, .18);
	background: #fff;
}

.sitemap-no-results {
	display: none;
	color: #aaa;
	font-size: 0.82rem;
	font-style: italic;
	padding: 0.4rem 0;
}