/*CSS página Órgãos:*/

/*O que já foi feito será reutilizado da página Serviços ou da Serviço, acima*/

#orgao_noticias span.data-publicacao {
    font-size: 0.75rem;
    line-height: 1;
}

#orgao_noticias span.titulo {
    font-size: 0.90rem;
    font-weight: 600;
    line-height: 1;
    margin-top: 0.25rem;
}

.secao1-orgaos.container-fluid {
    width: 100%;
    background-color: #EEF5FB;
    padding: 27px 14%;
    margin-bottom: 27px;
    display: flex;
    align-items: center;
}


/*Parte 2 da página, depois da seção em azul claro: */

.containerGeral-orgaos.container-fluid {
    width: 80%;
    background-color: transparent;

    body.orgaos-bg, .orgaos-bg {
        background: linear-gradient(to bottom, #FFFFFF 0%, #F5F5F5 100%);
        min-height: 100vh;
    }
}

.colunaPesquisaFiltros.col-3 {
    background-color: transparent;
    padding-right: 2%;
    padding-left: 0;
    padding-top: 0;
    margin-left: 7%;
}

.inicio-ancora3 {
    /*Layout: */
    width: 40px;
    height: 34px;
    opacity: 1;
    top: 338px;
    left: 302px;
    /*Tipografia: */
    color: #323232;
    font-weight: 500;
    font-size: 13px; /* original Figma 16px */
    line-height: 34px;
    letter-spacing: 7%;
    text-decoration: none;

}

.servicos-page3 {
    /*Layout: */
    width: 54px;
    height: 34px;
    opacity: 1;
    top: 338px;
    left: 302px;
    /*Tipografia: */
    color: #323232;
    font-weight: 500;
    font-size: 13px; /* original Figma 16px */
    line-height: 34px;
    letter-spacing: 0.07em;
    text-decoration: none;
}


/*Campo de pesquisa: */
/*boa parte das classes do campo de pesquisa foi reultilizado da página Servicos*/
.campoPesquisa-orgaos {
    height: 65px; /*original Figma 95px*/
    top: 355px;
    left: 694px;
    opacity: 1;
    margin-bottom: 18px;

}

.containerCampo-pesquisa-orgaos {
    position: relative;
    height: 40px; /*original Figma 56px*/
    opacity: 1;
}

/*nova classe para arrumar as classes so na pagina orgaos_todos */
.containerCampo-pesquisa.container-fluid.p-0.orgaosContainerPesquisa {
    margin-top: 5px;
    margin-bottom: 20px;
}


/* Filtros: */

.filtros-orgaos {
    display: flex;
    flex-direction: column; /* organiza tudo em coluna */
    gap: 18px; /* espaçamento entre título e links */
}

/*nova classe para arrumar as classes .menu-link.link-menu-lateral so na pagina orgaos_todos */
.menu-link.link-menu-lateral.menuOrgaos {
    margin-left: 0px;
    width: 100%;
    max-width: 251px;
    margin-bottom: 10px;
}


.link-todos2 {
    height: 41px; /*original Figma 56px*/
    background-color: #F0F0F0;
    padding-left: 15px;
    display: flex; /* ativa flexbox */
    align-items: center; /* centraliza verticalmente */
}

.link-todos2 a {
    text-decoration: none;
}

.link-todos2:hover {
    background-color: #D9D9D9; /* cor de fundo ao passar o mouse */
    cursor: pointer; /* muda o cursor para indicar que é clicável */
}


.link-prefeitura {
    height: 41px; /*original Figma 56px*/
    background-color: #F0F0F0;
    padding-left: 15px;
    display: flex; /* ativa flexbox */
    align-items: center; /* centraliza verticalmente */
}

.link-prefeitura a {
    text-decoration: none;
}

.link-prefeitura:hover {
    background-color: #D9D9D9; /* cor de fundo ao passar o mouse */
    cursor: pointer; /* muda o cursor para indicar que é clicável */
}


.link-secretarias {
    height: 41px; /*original Figma 56px*/
    background-color: #F0F0F0;
    padding-left: 15px;
    display: flex; /* ativa flexbox */
    align-items: center; /* centraliza verticalmente */
}

.link-secretarias a {
    text-decoration: none;
}

.link-secretarias:hover {
    background-color: #D9D9D9; /* cor de fundo ao passar o mouse */
    cursor: pointer; /* muda o cursor para indicar que é clicável */
}


.link-outrosOrgaos {
    height: 41px; /*original Figma 56px*/
    background-color: #F0F0F0;
    padding-left: 15px;
    display: flex; /* ativa flexbox */
    align-items: center; /* centraliza verticalmente */
}

.link-outrosOrgaos a {
    text-decoration: none;
}

.link-outrosOrgaos:hover {
    background-color: #D9D9D9; /* cor de fundo ao passar o mouse */
    cursor: pointer; /* muda o cursor para indicar que é clicável */
}


.coluna2-Orgaos.col-8 {
    background-color: transparent;
    padding-left: 1.7%;
    padding-top: 36px;

}

.orgaos22-titulo {
    width: 73px; /*original Figma 89px*/
    height: 20px; /*original Figma 34px*/
    top: 355px;
    left: 709px;
    opacity: 1;
    /*Tipografia: */
    font-weight: 500;
    font-size: 13px; /*original Figma 16px*/
    color: #323232;
    line-height: 30px;
    letter-spacing: 7%;
    margin: 0;
    padding: 0;
}

/*Essa linha tem outro nome porque tem margem diferente das demais*/
.border-bottom.linha-horizontal-orgaos1 {
    width: 100%;
    height: 0px;
    opacity: 1;
    border-width: 1px;
    color: #C7C7C7;;
    margin-left: 15px;
    margin-bottom: 20px;
    margin-top: 0;
    padding: 0;
}


.border-bottom.linha-horizontal-orgaos {
    width: 109%;
    margin-left: -4%;
    margin-top: 10px;


}

/*Nome dos Gabinetes, Secretarias, etc */
.nomesOrgaos {
    /*Layout*/
    width: auto;
    height: auto; /*original Figma 34px*/
    opacity: 1;
    color: #1B2F53;
    font-weight: 700;
    font-size: 20px; /* original Figma 24px */
    line-height: 34px;
    letter-spacing: 0.07em;
    margin-bottom: 1px;
    margin-top: 0.73vw;
    padding: 0;
}

.nomesEredes {
    display: flex;
    align-items: center; /* alinha verticalmente a foto e o bloco de textos */
    gap: 8px; /* espaço entre os itens */
    margin-bottom: 3px;
}

/* #fotoid {
    width: 120px;
    height: 120px;
    border-radius: 50%;
    object-fit: cover;
} */


/*.foto_orgao{*/
/*  width: 25px;   !*original Figma 29px*!*/
/*  height: 25px; !*original Figma 29px*!*/
/*  border-radius: 50%; !* deixa a imagem redonda *!*/
/*  object-fit: cover;    !* corta a imagem pra caber sem deformar *!*/
/*  margin: 0;*/
/*  padding: 0;*/
/*}*/


.nomesTextos {
    display: flex;
    flex-direction: column; /* força cargo em cima do nome */
    gap: 0;
}

.nomesCargos {
    /*Layout*/
    width: 60%;
    height: 16px; /*original Figma 34px*/
    opacity: 1;
    /*Tipografia*/
    color: #1B2F53;
    font-weight: 700;
    font-size: 10px; /* original Figma 14px */
    line-height: 34px;
    letter-spacing: 7%;
    padding: 0;
    margin: 0;
}

.nomes {
    /*Layout*/
    width: 100%; /*original Figma 238px*/
    height: 18px; /*original Figma 34px*/
    opacity: 1;
    /*Tipografia*/
    font-weight: 400;
    font-size: 14px; /* original Figma 14px */
    color: #585858;
    line-height: 34px;
    letter-spacing: 7%;
    margin-right: 15px;
}

.nomes.mb-0.nomes-gestor {
    height: 18px; /*original Figma 34px*/
    /*Tipografia*/
    font-weight: 400;
    font-size: 14px; /* original Figma 14px */
    color: #585858;
    letter-spacing: 7%;
    margin-right: 15px;
}


.redesSociais.ms-auto.d-flex.gap-3.orgaos-redesSociais {
    display: flex; /* coloca os ícones em linha */
    gap: 6px; /* espaço entre eles */
    align-items: center; /* centraliza verticalmente */
    opacity: 1;
    margin-top: 14px;
    margin-left: 0;
    padding: 0;

}

.redesSociais.ms-auto.d-flex.gap-3.orgaos-redesSociais a i {
    color: #2973FA;
    font-size: 12px;
    text-decoration: none;

}

.coluna2-Orgaos.col-8 {
    padding-left: 40px;
    padding-top: 36px;

}

.colunaPesquisaFiltros.col-3 {
    /*background-color: rgb(183, 227, 233);*/
    padding-right: 10px;
    padding-left: 0;
    padding-top: 0;
    margin-left: 7%;
}

/*tira linha de baixo do numero da pagina em paginacao*/
.br-pagination .page.active {
    text-decoration: none;

}

.br-pagination .page {
    text-decoration: none;
}

/*Classes para Filtrar Documentos e Pesquisa ficarem alinhados, colados na margem esquerda e direita de orgao_completo.html: */
.row.justify-content-sm-center.orgao-completo-filtro {
    justify-content: space-between !important; /* um gruda na esquerda, outro na direita  */
}

.col-md-3.filtro-nova-classe{
    padding: 0 !important;
    margin: 0 !important;
    margin-left: -1% !important; /* cola na borda direita */

}

.competencia-titulo {
    font-size: 2.2rem;
    font-weight: 700;
    color: #111F3A;
    margin-bottom: 20px;
    letter-spacing: -0.04em;
}

.competencia-btn-veja-mais {
    background-color: transparent;
    color: var(--pmw-color-blue);
    border: 1.5px solid var(--pmw-color-blue);
    border-radius: 3px;
    padding: 4px 48px;
    font-size: 1.2rem;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
}

.competencia-btn-veja-mais:hover {
    background-color: var(--pmw-color-blue);
    color: white;
}

.orgao-doc-filter-btn {
    background-color: transparent;
    color: var(--pmw-color-stronggray);
    border: 1.5px solid #6C6C6C;
    border-radius: 3px;
    padding: 8px 24px;
    font-size: 1rem;
    font-weight: 500;
    cursor: pointer;
    transition: all 0.3s ease;
    min-width: 200px;
}

.orgao-doc-filter-btn:hover,
.orgao-doc-filter-btn:focus {
    background-color: transparent;
    color: var(--pmw-color-stronggray);
    border-color: #6C6C6C;
}

.orgao-doc-filter-btn:active {
    background-color: transparent !important;
    color: var(--pmw-color-stronggray) !important;
    border-color: #6C6C6C !important;
}

.dropdown-menu {
    display: none;
}

.dropdown-menu.show {
    display: block;
}

.orgao-card-gestor {
    border: 1px solid #E0E0E0;
    border-radius: 8px;
    overflow: hidden;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
}

.orgao-gestor-foto {
    width: 100%;
    height: 350px;
    overflow: hidden;
}

.orgao-gestor-foto img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.orgao-gestor-info {
    padding: 20px 20px 10px;
}

.orgao-gestor-cargo {
    font-size: 1rem;
    font-weight: 400;
    color: #666;
    margin-bottom: 8px;
}

.orgao-gestor-nome {
    font-size: 1.25rem;
    font-weight: 700;
    color: #1B2F53;
    margin: 0;
}

.orgao-gestor-perfil-btn {
    display: block;
    text-align: center;
    padding: 12px 20px;
    margin: 16px 20px;
    border: 1.5px solid var(--pmw-color-blue);
    border-radius: 4px;
    color: var(--pmw-color-blue);
    font-size: 1rem;
    font-weight: 500;
    text-decoration: none;
    transition: all 0.3s ease;
}

.orgao-gestor-perfil-btn:hover {
    background-color: var(--pmw-color-blue);
    color: white;
}

.orgao-gestor-contato {
    padding: 20px;
    border-top: 1px solid #E0E0E0;
}

.orgao-contato-titulo {
    font-size: 1rem;
    font-weight: 600;
    color: #666;
    margin-bottom: 16px;
}

.orgao-contato-item {
    display: flex;
    align-items: flex-start;
    gap: 12px;
    margin-bottom: 16px;
    font-size: 0.95rem;
    color: #333;
    line-height: 1.5;
}

.orgao-contato-item i {
    color: var(--pmw-color-blue);
    font-size: 1.1rem;
    margin-top: 2px;
    flex-shrink: 0;
}

.orgao-contato-item:last-child {
    margin-bottom: 0;
}

#noticia_principal .tag-container {
    display: inline-block;
}

#noticia_principal .tag-text {
    color: var(--pmw-color-blue);
    font-weight: 600;
    font-size: 0.875rem;
}

#noticia_principal .tag-underline {
    width: 100%;
    height: 3px;
    background: var(--brand-orange, #FFB400);
    margin-top: 4px;
}

.orgao-noticia-titulo {
    font-family: 'Inter', sans-serif;
    font-weight: 700;
    font-size: 1.75rem;
    color: #1B2F53;
    line-height: 1.3;
}

.orgao-noticia-resumo {
    font-size: 1rem;
    color: #666;
    line-height: 1.6;
}

#orgao_noticias .noticia-h-card {
    display: block;
    text-decoration: none;
    color: inherit;
    transition: all 0.2s ease;
}

#orgao_noticias .noticia-h-media {
    position: relative;
    width: 100%;
    aspect-ratio: 376 / 251;
    overflow: hidden;
    margin-bottom: 12px;
}

#orgao_noticias .noticia-h-media img,
#orgao_noticias .noticia-h-placeholder {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

#orgao_noticias .noticia-h-placeholder {
    background: linear-gradient(135deg, #e9eef7, #f6f8fc);
}

#orgao_noticias .noticia-h-body {
    padding: 8px 0;
}

#orgao_noticias .tag-container {
    display: inline-block;
    margin-bottom: 8px;
}

#orgao_noticias .tag-text {
    color: var(--pmw-color-blue);
    font-weight: 600;
    font-size: 0.875rem;
}

#orgao_noticias .tag-underline {
    width: 100%;
    height: 3px;
    background: var(--brand-orange, #FFB400);
    margin-top: 4px;
}

#orgao_noticias .noticia-h-title {
    font-family: 'Inter', sans-serif;
    font-weight: 500;
    font-size: 1.1rem;
    line-height: 1.4;
    color: #333955;
    margin: 0;
    overflow: hidden;
    display: -webkit-box;
    -webkit-line-clamp: 3;
    line-clamp: 3;
    -webkit-box-orient: vertical;
}

#orgao_noticias .noticia-h-card:hover .noticia-h-title,
#orgao_noticias .noticia-h-card:hover .tag-text {
    color: var(--pmw-color-blue);
}

#orgao_noticias .noticia-h-media img {
    transition: transform 0.25s ease;
}

#orgao_noticias .noticia-h-card:hover .noticia-h-media img {
    transform: scale(1.05);
}

.orgao-banner-container {
    width: 100%;
    max-width: 1200px;
    margin: 0 auto;
    overflow: hidden;
    border-radius: 8px;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
}

.orgao-banner-image {
    width: 100%;
    height: auto;
    display: block;
    object-fit: cover;
}

/* Órgão Prefeito Section */
.orgao-prefeito-section {
    background: linear-gradient(to bottom, #FFFFFF 0%, #F5F5F5 100%);
    padding: 2.5rem 0;
}

.orgao-prefeito-container {
    max-width: 90rem;
    margin: 0 auto;
    padding: 0 1.25rem;
}

.orgao-prefeito-header {
    margin-bottom: 2rem;
}

.orgao-prefeito-titulo {
    font-family: 'Inter', sans-serif;
    font-size: 1rem; 
    font-weight: 200;
    color: #1B2F53;
    margin: 0 0 0.5rem 0;
    line-height: 2.25rem; /* 36px */
    letter-spacing: -0.04em; /* -4% */
    padding-bottom: 10px;
}

.orgao-prefeito-nome {
    position: relative;
    padding-left: 1.1875rem; /* 19px = 12px spacing + 7px bar */
    font-size: 2rem; /* 32px - adjusted from 42px */
    font-weight: 700;
    color: #1B2F53;
    margin: 0;
    line-height: 2.25rem; /* 36px */
    letter-spacing: -0.04em; /* -4% */
}

.orgao-prefeito-nome::before {
    content: '';
    position: absolute;
    left: 0;
    top: 0;
    width: 0.4375rem; /* 7px */
    height: 100%;
    background-color: var(--pmw-color-blue, #065EFF);
}

.orgao-prefeito-foto {
    height: 28rem; /* 370px */
    overflow: hidden;
    border-radius: 0.25rem;
    box-shadow: 0 0.125rem 0.5rem rgba(0, 0, 0, 0.1);
}

.orgao-prefeito-foto img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

.orgao-prefeito-placeholder {
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, #e9eef7, #f6f8fc);
}

.orgao-prefeito-info {
    display: flex;
    flex-direction: column;
    gap: 1.5rem; /* 24px */
}

.orgao-prefeito-nome-cargo {
    display: flex;
    align-items: center;
    gap: 1rem; /* 16px */
}

.orgao-prefeito-gestor-nome {
    font-size: 1.6rem; /* 26px */
    font-weight: 700;
    color: #111F3A;
    margin: 0;
    line-height: 2.25rem; /* 36px */
    letter-spacing: -0.04em; /* -4% */
}

.orgao-prefeito-gestor-cargo {
    font-size: 0.9rem;
    font-weight: 400;
    color: #666;
    margin: 0;
}

.orgao-prefeito-redes-sociais {
    display: flex;
    gap: 0.75rem; /* 12px */
    align-items: center;
}

.orgao-prefeito-redes-sociais a {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 2rem; /* 32px */
    height: 2rem; /* 32px */
    border-radius: 50%;
    background-color: #2973FA;
    color: white;
    text-decoration: none;
    transition: all 0.2s ease;
}

.orgao-prefeito-redes-sociais a:hover {
    background-color: #1B5DD8;
    transform: translateY(-0.125rem);
}

.orgao-prefeito-redes-sociais a i {
    font-size: 1rem;
}

.orgao-prefeito-biografia {
    font-size: 1.375rem; /* 22px */
    font-weight: 300; /* Light */
    line-height: 1.5rem; /* 24px */
    color: #333;
    letter-spacing: 0;
    transform: translate(0, -26px);
    white-space: pre-line;
}

.orgao-prefeito-biografia p {
    margin-bottom: 1rem;
}

.orgao-prefeito-biografia p:last-child {
    margin-bottom: 0;
}

@media (max-width: 768px) {
    .orgao-prefeito-content {
        grid-template-columns: 1fr;
        gap: 1.5rem;
    }

    .secao1-orgaos.container-fluid {
        padding: 0 !important;
        text-align: center;
        height: 100px !important;
        justify-content: center;
    }
    
    .orgao-prefeito-foto {
        width: 100%;
        max-width: 17.5rem;
        margin: 0 auto;
    }
    
    .orgao-prefeito-nome-cargo {
        flex-direction: column;
        align-items: flex-start;
        gap: 0.5rem;
    }

    .orgao-prefeito-nome {
        font-size: 2rem; /* 32px for mobile */
    }
}

