.sitemap-breadcrumb {
    padding: 18px 15px 0;
    font-size: 0.85rem;
    color: #888;
}

.sitemap-breadcrumb a {
    color: #888;
    text-decoration: none;
}

.sitemap-breadcrumb a:hover {
    color: var(--thm-base, #c39d19);
    text-decoration: underline;
}

.sitemap-breadcrumb span[aria-hidden] {
    margin: 0 6px;
}

.sitemap-breadcrumb span[aria-current] {
    color: #444;
    font-weight: 600;
}

.sitemap-content {
    padding: 20px 0 70px;
}

.sitemap-intro {
    max-width: 720px;
    margin: 0 auto 30px;
    text-align: center;
    color: #666;
    font-size: 1rem;
    line-height: 1.6;
}

.sitemap-busca {
    max-width: 480px;
    margin: 0 auto 45px;
}

.sitemap-busca .input-group {
    display: flex;
    align-items: center;
    background: #fff;
    border: 1px solid #ddd;
    border-radius: 30px;
    overflow: hidden;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.07);
}

/* Reseta o addon padrão do Bootstrap (que vem com fundo/borda próprios e
   criava aquele "degrau" separado do campo) - aqui é só o ícone, sem caixa. */
.sitemap-busca .input-group-addon {
    display: flex;
    align-items: center;
    padding: 0 18px;
    color: var(--thm-base, #c39d19);
    background: transparent;
    border: none;
}

.sitemap-busca .form-control {
    flex: 1;
    border: none;
    outline: none;
    padding: 14px 0 14px 20px;
    font-size: 15px;
    background: transparent;
    box-shadow: none;
}

.sitemap-busca .form-control:focus {
    outline: none;
    box-shadow: none;
}

.sitemap-busca-vazio {
    text-align: center;
    margin-top: 15px;
    color: #888;
}

.sitemap-busca-vazio.hidden {
    display: none;
}

/* ---------------------------------------------------------------- */
/* 3 colunas de verdade (flex) - o equilibrio entre elas e calculado */
/* no PHP (MistController::mapaDoSite), nao deixado pro CSS "columns"*/
/* tentar balancear sozinho: com uma categoria de 58 paginas e outras*/
/* de 1, o balanceamento automatico do navegador nao da conta.       */
/* ---------------------------------------------------------------- */

.sitemap-colunas {
    display: flex;
    align-items: flex-start;
    gap: 30px;
}

.sitemap-coluna {
    flex: 1 1 0;
    min-width: 0;
    display: flex;
    flex-direction: column;
    gap: 30px;
}

.sitemap-bloco-categoria {
    background: #fff;
    border-radius: 12px;
    padding: 22px 20px;
    box-shadow: 0 2px 12px rgba(0, 0, 0, 0.06);
}

.sitemap-categoria-titulo {
    font-size: 1.05rem;
    font-weight: 800;
    text-transform: uppercase;
    letter-spacing: 0.4px;
    margin: 0 0 16px;
    padding-bottom: 12px;
    border-bottom: 2px solid var(--thm-base, #c39d19);
}

.sitemap-categoria-titulo a {
    color: #2b2b2b;
    text-decoration: none;
    display: flex;
    align-items: center;
    gap: 8px;
}

.sitemap-categoria-titulo a:hover {
    color: var(--thm-base, #c39d19);
}

.sitemap-categoria-titulo i {
    color: var(--thm-base, #c39d19);
}

.sitemap-lista-paginas {
    list-style: none;
    margin: 0;
    padding: 0;
}

.sitemap-item-pagina {
    margin-bottom: 8px;
}

/* Links em card: badge de ícone circular à esquerda, borda fina, texto
   QUEBRA em várias linhas dentro do card (nunca estoura a coluna) - hover
   levanta com sombra e contorno na cor do site. */
.sitemap-item-pagina > a {
    display: flex;
    align-items: flex-start;
    gap: 10px;
    width: 100%;
    box-sizing: border-box;
    color: #2b2b2b;
    font-weight: 600;
    font-size: 0.88rem;
    text-decoration: none;
    padding: 10px 12px;
    border-radius: 8px;
    border: 1px solid #eaeaea;
    background: #fff;
    transition: border-color 0.2s ease, box-shadow 0.2s ease, transform 0.15s ease;
}

.sitemap-item-pagina > a span {
    min-width: 0;
    flex: 1 1 auto;
    white-space: normal;
    word-break: break-word;
    line-height: 1.35;
}

.sitemap-item-pagina > a i {
    flex-shrink: 0;
    margin-top: 1px;
    display: flex;
    align-items: center;
    justify-content: center;
    width: 22px;
    height: 22px;
    border-radius: 50%;
    background: var(--thm-base, #c39d19);
    color: #fff;
    font-size: 0.65rem;
    transition: transform 0.2s ease;
}

.sitemap-item-pagina > a:hover {
    border-color: var(--thm-base, #c39d19);
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.08);
    transform: translateY(-1px);
}

.sitemap-item-pagina > a:hover i {
    transform: scale(1.1);
}

.sitemap-lista-posts {
    list-style: none;
    margin: 8px 0 0;
    padding: 0 0 0 14px;
    border-left: 2px solid #eee;
}

.sitemap-item-post {
    margin-bottom: 6px;
}

.sitemap-item-post a {
    display: flex;
    align-items: flex-start;
    gap: 8px;
    width: 100%;
    box-sizing: border-box;
    color: #666;
    font-size: 0.78rem;
    text-decoration: none;
    padding: 6px 10px;
    border-radius: 6px;
    background: transparent;
    transition: background-color 0.2s ease, color 0.2s ease;
}

.sitemap-item-post a span {
    min-width: 0;
    flex: 1 1 auto;
    white-space: normal;
    word-break: break-word;
    line-height: 1.35;
}

.sitemap-item-post a i {
    flex-shrink: 0;
    margin-top: 2px;
    display: flex;
    align-items: center;
    justify-content: center;
    width: 16px;
    height: 16px;
    border-radius: 50%;
    background: #d8d8d8;
    color: #fff;
    font-size: 0.55rem;
    transition: background-color 0.2s ease;
}

.sitemap-item-post a:hover {
    background: #f6f6f6;
    color: var(--thm-base, #c39d19);
}

.sitemap-item-post a:hover i {
    background: var(--thm-base, #c39d19);
}

@media (max-width: 992px) {
    .sitemap-colunas {
        flex-direction: column;
        gap: 30px;
    }

    .sitemap-coluna {
        gap: 20px;
    }
}

@media (max-width: 600px) {
    .sitemap-bloco-categoria {
        padding: 18px 16px;
    }
}
