.custom-dropdown {
    position: relative;
    display: inline-block;
    width: 130px;
    height: 32px;
    font-family: 'Kanit', sans-serif;
    font-size: 14px;
    font-weight: 400;
    color: #1B7727;
    background: #fff;
    border: 1px solid #1B7727;
    border-radius: 8px;
    cursor: pointer;
    outline: none;
    padding: 0;
    transition: box-shadow 0.2s, border-color 0.2s;
}
.custom-dropdown.open {
    border-color: #1B7727;
    box-shadow: 0 2px 8px rgba(27,119,39,0.08);
}
.custom-dropdown-selected {
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 8px 0px;
    border-radius: 0;
    user-select: none;
    cursor: pointer;
    background: transparent;
    transition: background 0.15s;
    width: 100%;
    height: 100%;
    word-wrap: break-word;
    white-space: normal;
    overflow-wrap: break-word;
    gap: 4px;
}

.custom-dropdown-arrow {
    margin-left: 0px;
    margin-right: 4px;
    color: #1B7727;
    font-size: 18px;
    transition: transform 0.2s;
    pointer-events: none;
    display: flex;
    align-items: center;
    justify-content: center;
    width: 18px;
    height: 18px;
    padding: 0;
}
.custom-dropdown-list {
    position: absolute;
    left: 0;
    right: 0;
    top: 100%;
    background: #fff;
    border: 1px solid #E0E0E0;
    border-radius: 8px;
    margin: 0;
    padding: 4px 0;
    list-style: none;
    z-index: 10;
    box-shadow: 0 2px 8px rgba(0,0,0,0.04);
}
.custom-dropdown-list li {
    padding: 8px;
    font-family: 'Kanit', sans-serif;
    font-size: 16px;
    font-weight: 300;
    color: #465564;
    cursor: pointer;
    border-radius: 4px;
    transition: background 0.15s, color 0.15s;
}
.custom-dropdown-list li.selected,
.custom-dropdown-list li:hover {
    color: #1B7727;
    background: #F2F8F4;
    font-weight: 300;
}
.pgindex-dropdown-select:focus,
.pgindex-dropdown-select:hover {
    outline: none !important;
    box-shadow: none !important;
    border-color: #1B7727 !important;
    background: #fff !important;
}
.pgindex-dropdown-select:focus {
    outline: none !important;
    box-shadow: 0 0 0 2px #1B772733;
    border-color: #1B7727;
}
.pgindex-dropdown-arrow {
    color: #1B7727 !important;
    fill: #1B7727 !important;
    font-variation-settings: 'FILL' 1, 'wght' 400, 'GRAD' 0, 'opsz' 20;
    font-family: 'Material Symbols Outlined', 'Material Symbols Rounded', 'Material Symbols Sharp', sans-serif !important;
}
.pgindex-dropdown-arrow {
    color: #1B7727 !important;
}
.pgindex-dropdown-select + .material-symbols-outlined,
.pgindex-dropdown-select + .material-symbols-outlined + .material-symbols-outlined {
    width: 8px;
    height: 4.93px;
    color: #1B7727 !important;
    opacity: 1;
    position: absolute;
    left: auto;
    right: 4px;
    font-size: 20px !important;
    pointer-events: none;
    transform: rotate(0deg);
}
.pgindex-section-count {
    font-family: 'Kanit', sans-serif;
    font-weight: 300;
    font-style: normal;
    font-size: 14px;
    line-height: 100%;
    letter-spacing: 0%;
    color: #757575;
}
/* Título da página de notícias */
.pgtnoticias-titulo-da-pagina-atual {
    font-family: 'Kanit', sans-serif;
    font-weight: 600;
    font-style: normal;
    font-size: 40px;
    line-height: 100%;
    /* leading-trim: none;  propriedade não suportada, omitida */
    letter-spacing: 0%;
    color: #465564;
    margin-top: 8px;
}

.pgtnoticias-titulo-da-pagina {
    width: 100%;
    background-color: white;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: flex-start;
    padding: 0 16px;
    box-sizing: border-box;
    gap: 16px;
}

/* Breadcrumb Notícias - estilos específicos */
.breadcrumb-noticias {
    display: flex;
    align-items: center;
    justify-content: flex-start;
    margin-bottom: 8px;
    width: 100%;
}
.breadcrumb-noticias .breadcrumb-inicio {
    font-family: 'Kanit', sans-serif;
    font-weight: 500;
    font-style: normal;
    font-size: 16px;
    line-height: 100%;
    color: #465564;
    letter-spacing: 0%;
}
.breadcrumb-noticias .breadcrumb-atual {
    font-family: 'Kanit', sans-serif;
    font-weight: 300;
    font-style: normal;
    font-size: 16px;
    line-height: 132%;
    color: #465564;
    letter-spacing: 0%;
}
.breadcrumb-noticias .breadcrumb-separador {
    display: flex;
    align-items: center;
    justify-content: center;
    height: 8px;
    width: 20px;
    margin: 0 5px;
    position: relative;
    top: 0;
}
/* Breadcrumb inteligente */
.breadcrumb-item {
    font-family: 'Kanit', sans-serif;
    font-weight: 600;
    font-size: 16px;
    color: #465564;
    text-decoration: none;
}

.breadcrumb-item:hover {
    color: #1B7727;
}

/* Paginação - reticências */
.pgindex-pagination-ellipsis {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    font-family: 'Kanit', sans-serif;
    font-weight: 300;
    font-size: 16px;
    color: #757575;
    padding: 0 8px;
    min-width: 24px;
}

.pgindex-pagination-numbers {
    display: flex !important;
    align-items: center;
    gap: 4px;
    flex-wrap: nowrap;
    overflow: visible;
}


/* Fundo branco para o banner, igual ao header */
.banner-destaque-bgwhite {
    background: #fff;
    border-radius: 8px;
    padding: 0 16px;
    box-sizing: border-box;
    width: 100%;
    max-width: 100%;
    display: flex;
    justify-content: center;
}

.pgindex-dropdown-select,
.pgindex-dropdown-select option {
    font-family: 'Kanit', sans-serif;
    font-weight: 400;
    font-style: normal;
    font-size: 14px;
    line-height: 1;
    letter-spacing: 0;
    color: #1B7727;
}
/* Estilo para o dropdown de ordenação */
.pgindex-dropdown-select {
    width: 130px;
    height: 32px;
    border-radius: 4px;
    border-width: 1px;
    border: 1px solid #1B7727;
    padding-top: 4px !important;
    padding-right: 4px!important;
    padding-bottom: 4px!important;
    padding-left: 29px!important;
    gap: 0px;
    opacity: 1;
    background: #fff;
    box-sizing: border-box;
    /* Remover setas padrão do select se desejar customizar */
    appearance: none; 
}
/* Estilo para o texto 'Ordenação:' do filtro de notícias */
.pgindex-ordenacao-label {
    font-family: 'Kanit', sans-serif;
    font-weight: 300;
    font-style: normal;
    font-size: 16px;
    line-height: 1.32;
    letter-spacing: 0;
    color: #1B7727;
}
h3.pgindex-noticia-titulo,
h3.pgindex-noticia-titulo a {
    display: -webkit-box !important;
    -webkit-line-clamp: 2 !important;
    line-clamp: 2 !important;
    -webkit-box-orient: vertical !important;
    overflow: hidden !important;
    text-overflow: ellipsis !important;
    white-space: normal !important;
    max-height: 3.2em !important;
}
/* ========== ESTILOS PARA cc-bootstrap-wrapper.cc-all-posts-module ========== */

.cc-bootstrap-wrapper.cc-all-posts-module {
    padding-left: 1rem; /* Bootstrap px-3 = 16px */
    padding-right: 1rem;
}

@media (min-width: 768px) {
    .cc-bootstrap-wrapper.cc-all-posts-module {
        padding-left: 1.5rem; /* Bootstrap px-md-4 = 24px */
        padding-right: 1.5rem;
    }
}

@media (max-width: 767px) {
    .cc-bootstrap-wrapper.cc-all-posts-module {
        padding-left: 12px;
        padding-right: 12px;
    }
}

.cc-bootstrap-wrapper.cc-all-posts-module h2.title {
    font-family: 'Kanit', sans-serif !important;
    font-weight: 500 !important;
    font-style: normal !important;
    font-size: 24px !important;
    line-height: 1 !important;
    letter-spacing: 0 !important;
    vertical-align: middle !important;
    color: #26323F !important;
}

/* Ícone à esquerda do título 'Todas as notícias' */
.cc-bootstrap-wrapper.cc-all-posts-module h2.title .header-icon {
    font-variation-settings: 'wght' 500; /* ajustar peso se necessário */
    font-size: 26px !important;
    vertical-align: middle;
    margin-right: 12px;
    color: #465564;
    display: inline-block;
}

/* Mobile - Título e controles centralizados */
@media (max-width: 767px) {
    .cc-bootstrap-wrapper.cc-all-posts-module h2.title {
        font-size: 20px !important;
        text-align: center !important;
    }

    .cc-bootstrap-wrapper.cc-all-posts-module h2.title .header-icon {
        font-size: 22px !important;
    }

    .cc-bootstrap-wrapper.cc-all-posts-module h2.title.orange {
        text-align: center !important;
        width: 100% !important;
        margin: 0 auto !important;
        display: block !important;
        padding-bottom: 24px;
    }
    
    /* Force center align para o row */
    .cc-bootstrap-wrapper.cc-all-posts-module .row {
        justify-content: center !important;
    }
    
    /* Force center align para a coluna */
    .cc-bootstrap-wrapper.cc-all-posts-module .col-12 {
        text-align: center !important;
    }
}

/* Cores */
.cc-bootstrap-wrapper .orange {
    color: #00a84a;
}

/* Estilos para o texto 'Ler mais' */
.ler-mais {
    font-family: 'Kanit', sans-serif;
    font-weight: 500;
    font-style: normal;
    font-size: 16px;
    line-height: 100%;
    letter-spacing: 0;
    text-decoration: underline;
    text-decoration-style: solid;
    text-underline-offset: 0;
    text-decoration-thickness: 0;
    color: #1B7727;
}

.ler-mais:hover {
    color: #239832;
}

.ler-mais:focus {
    color: #155C1E;
    width: 69px;
    height: 32px;
    opacity: 1;
    border-radius: 4px;
    border-width: 2px;
    padding: 4px;
    border: 2px solid #545FFF;
        background-color: transparent !important;
        border: 0px !important;
        padding: 0px !important;
    outline: none;
}

.ler-mais:active {
    color: #155C1E;
}

/* Estilos específicos para o texto 'Ler mais' dentro do link */
.pgindex-ler-mais-texto {
    font-family: 'Kanit', sans-serif;
    font-weight: 500;
    font-style: normal;
    font-size: 16px;
    line-height: 100%;
    letter-spacing: 0;
    text-decoration: underline;
    text-decoration-style: solid;
    color: #1B7727;
}
.pgindex-ler-mais:hover .pgindex-ler-mais-texto {
    color: #239832;
}
.pgindex-ler-mais:focus .pgindex-ler-mais-texto {
    color: #155C1E;
    border-radius: 4px;
    border-width: 2px;
    padding: 4px;
    border: 2px solid #545FFF;
    outline: none;
}
.pgindex-ler-mais:active .pgindex-ler-mais-texto {
    color: #155C1E;
}

/* All Posts Module */
.cc-bootstrap-wrapper.cc-all-posts-module {
    padding-top: 25px;
    padding-bottom: 40px;
}

/* Estilos específicos para `.container` quando dentro do módulo de todas as notícias */
.cc-bootstrap-wrapper.cc-all-posts-module > .container,
.cc-bootstrap-wrapper.cc-all-posts-module .container {
    background: #FEFEFE !important;
    border: 1px solid #C5C5C5 !important;
    border-radius: 16px !important;
    padding: 24px !important;
    /* tornar coluna flex para respeitar gap (se necessário) */
    display: flex !important;
    flex-direction: column !important;
}

/* Regras mais específicas para garantir aplicação quando houver CSS concorrente */
body.home .cc-bootstrap-wrapper.cc-all-posts-module .container,
body.blog .cc-bootstrap-wrapper.cc-all-posts-module .container,
.page .cc-bootstrap-wrapper.cc-all-posts-module .container,
.archive .cc-bootstrap-wrapper.cc-all-posts-module .container {
    background: #FEFEFE !important;
    border: 1px solid #C5C5C5 !important;
    border-radius: 16px !important;
    padding: 24px !important;
    display: flex !important;
    flex-direction: column !important;
}

/* Forçar alinhamento do título e ícone */
.cc-bootstrap-wrapper.cc-all-posts-module h2.title {
    display: inline-flex !important;
    align-items: center !important;
    gap: 12px !important;
    font-family: 'Kanit', sans-serif !important;
    font-weight: 500 !important;
    font-size: 24px !important;
    line-height: 1 !important;
    color: #465564 !important;
    margin: 0 0 16px 0 !important;
}

.cc-bootstrap-wrapper.cc-all-posts-module h2.title .header-icon {
    font-size: 26px !important;
    line-height: 1 !important;
    display: inline-flex !important;
    vertical-align: middle !important;
    margin-right: 6px !important;
    color: #465564 !important;
}

.cc-bootstrap-wrapper.cc-all-posts-module .cc-post .cc-post-metas {
    font-family: "OpenSans-Bold", Helvetica, Arial, sans-serif;
    text-transform: uppercase;
}

.cc-bootstrap-wrapper.cc-all-posts-module .cc-post .cc-post-metas span.cc-post-metas-category {
    color: #00a84a;
    font-size: 12px;
    line-height: 12px;
}

.cc-bootstrap-wrapper.cc-all-posts-module .cc-post .cc-post-metas span.cc-post-metas-separator {
    color: #afafaf;
}

.cc-bootstrap-wrapper.cc-all-posts-module .cc-post .cc-post-metas span.cc-post-metas-date {
    color: #b4b3b2;
    font-size: 11px;
}

.cc-bootstrap-wrapper.cc-all-posts-module .cc-post a.cc-post-title {
    color: #000;
    margin-bottom: 10px;
}

.cc-bootstrap-wrapper.cc-all-posts-module .cc-post a.cc-post-title:hover {
    color: #00a84a;
    text-decoration: none;
}



.cc-bootstrap-wrapper.cc-all-posts-module .cc-post a.cc-post-title h3 {
    font-family: "OpenSans-Semibold", Helvetica, Arial, sans-serif;
    font-size: 20px;
    line-height: 24px;
    min-height: 69px;
    padding-left: 15px;
}

.cc-bootstrap-wrapper.cc-all-posts-module .cc-post div.cc-post-excerpt {
    font-family: 'Kanit', sans-serif !important;
    font-weight: 300 !important;
    font-style: normal !important;
    font-size: 16px !important;
    line-height: 1.32 !important;
    letter-spacing: 0 !important;
    color: #26323F !important;
}

.cc-bootstrap-wrapper.cc-all-posts-module .cc-post div.cc-post-excerpt p {
    color: #6b6b6b;
    font-family: 'Geomanist Regular' !important;
    font-size: 16px;
    line-height: 24px;
    margin-bottom: 0;
}

.cc-bootstrap-wrapper.cc-all-posts-module .cc-post hr.cc-divider {
    border-bottom: 1px solid #9a9a9a;
    margin-top: 20px;
    margin-bottom: 15px;
}

/* Mapear estilos do card de busca (pgbusca-noticia-card) para o markup atual (.cc-post) */
.cc-bootstrap-wrapper.cc-all-posts-module .cc-post {
    display: block;
    padding: 12px 0;
}

.cc-bootstrap-wrapper.cc-all-posts-module .cc-post .cc-post-thumbnail img {
    width: 100%;
    height: auto;
    display: block;
    border-radius: 8px;
    object-fit: cover;
}

.cc-bootstrap-wrapper.cc-all-posts-module .cc-post .cc-post-title h3 {
    font-family: var(--font-primary);
    font-weight: 600;
    font-size: 20px;
    line-height: 1.2;
    margin: 0 0 8px 0;
    color: #26323F;
}

.cc-bootstrap-wrapper.cc-all-posts-module .cc-post .cc-post-excerpt {
    color: #6b6b6b;
    font-family: 'Geomanist Regular', Arial, sans-serif;
    font-size: 16px;
    line-height: 24px;
    margin-bottom: 0;
}

.cc-bootstrap-wrapper.cc-all-posts-module .cc-post .cc-post-metas {
    font-family: 'OpenSans-Bold', Helvetica, Arial, sans-serif;
    text-transform: uppercase;
    margin-bottom: 8px;
}

.cc-bootstrap-wrapper.cc-all-posts-module .cc-post .cc-post-metas span.cc-post-metas-category {
    color: #00a84a;
    font-size: 12px;
    line-height: 12px;
}

/* Layout responsivo similar ao card original */
@media (min-width: 576px) {
    .cc-bootstrap-wrapper.cc-all-posts-module .cc-post .cc-post-content {
        align-items: start;
    }
    .cc-bootstrap-wrapper.cc-all-posts-module .cc-post .cc-post-thumbnail {
        margin-bottom: 0;
    }
}

/* Ajuste específico: definir largura fixa da coluna esquerda (thumb) dentro de .cc-post-content */
@media (min-width: 576px) {
    .cc-bootstrap-wrapper.cc-all-posts-module .cc-post .cc-post-content .col-12.col-sm-5 {
        width: 24.666667% !important;
        -ms-flex: 0 0 28.666667% !important;
        flex: 0 0 25.666667% !important;
        max-width: 28.666667% !important;
    }
}

@media (max-width: 575px) {
    .cc-bootstrap-wrapper.cc-all-posts-module .cc-post .cc-post-thumbnail img {
        border-radius: 6px;
    }
}

/* Ajustes finos para ficar igual ao layout referenciado */
.cc-bootstrap-wrapper.cc-all-posts-module .cc-post {
    padding: 10px 0;
}

.cc-bootstrap-wrapper.cc-all-posts-module .cc-post-thumbnail {
    max-width: 234px;
}

.cc-bootstrap-wrapper.cc-all-posts-module .cc-post-thumbnail img {
    width: 234px;
    height: 150px;
    object-fit: cover;
    border-radius: 8px;
    display: block;
}

.cc-bootstrap-wrapper.cc-all-posts-module .cc-post .cc-post-title h3 {
    font-size: 22px;
    font-weight: 700;
    color: #26323f;
    margin-bottom: 6px;
}

.cc-bootstrap-wrapper.cc-all-posts-module .cc-post .cc-post-excerpt {
    margin-bottom: 8px;
}

.cc-bootstrap-wrapper.cc-all-posts-module .cc-post .cc-post-readmore {
    display: inline-block;
    color: #007F6D;
    font-weight: 600;
    font-size: 13px;
    text-decoration: none;
}

.cc-bootstrap-wrapper.cc-all-posts-module .cc-post .cc-post-readmore:hover {
    text-decoration: underline;
}

@media (max-width: 576px) {
    .cc-bootstrap-wrapper.cc-all-posts-module .cc-post-thumbnail img {
        width: 100%;
        height: auto;
    }
}

/* CSS moved from index.php */
@media (max-width: 767px) {
    .pgindex-modal {
        max-width: 100%;
        max-height: 95vh;
        margin: 0 12px;
        border-radius: 12px;
    }
}
@media (max-width: 600px) {
    .pgindex-modal-success {
        width: 383px !important;
        height: 324px !important;
        margin: 0 auto;
        border-radius: 16px;
        padding: 16px;
        display: flex;
        flex-direction: column;
        align-items: center;
    }
}

.pgindex-modal-body.pgindex-modal-body-success {
    width: 351px;
    height: 324px;
    opacity: 1;
    border-radius: 16px;
    padding-top: 16px;
    padding-right: 16px;
    padding-bottom: 24px;
    padding-left: 16px;
    box-sizing: border-box;
}

.pgindex-modal-success {
    max-width: 421px !important;
    width: 100%;
    background: #FEFEFE;
    border-radius: 16px;
    box-shadow: 0px 4px 16px 0px rgba(0, 0, 0, 0.25);
    padding: 16px;
}

/* Estilo específico para o corpo do modal de sucesso da busca */
.pgindex-modal-body.pgindex-modal-body-success {
    width: 383px;
    height: 324px;
    opacity: 1;
    border-radius: 16px;
    padding-top: 16px;
    padding-right: 16px;
    padding-bottom: 24px;
    padding-left: 16px;
    box-sizing: border-box;
}

/* Estilo específico para o modal de título da busca */
#pgindex-modal-title {
    gap: 24px;
    opacity: 1;
    border-radius: 16px;
    padding: 32px 0px;
    box-sizing: border-box;
}

/* ===============================================
   Page Busca - Estilos Centralizados
   =============================================== */

/* ========== MAIN CONTAINER ========== */

.pgindex-container-fluid {
    width: 100%;
    display: block;
    clear: both;
}

/* ========== HEADER SECTION ========== */

.pgindex-header-section {
    width: 100%;
    display: block;
    clear: both;
    padding: 0 16px;
    box-sizing: border-box;
}

/* ========== CONTAINER CONTEÚDO ========== */

.pgindex-content {
    margin-top: 24px;
    width: 100%;
    display: block;
    padding: 0 16px;
    box-sizing: border-box;
}

/* ========== OVERRIDE PADDING CONTAINERS ========== */

.pgindex-header-section.pgindex-container.container.mx-auto.py-3,
.pgindex-services-wrapper.pgindex-container.container.mx-auto.py-3,
.pgindex-section-header.pgindex-container.container.mx-auto.py-3,
.pgindex-noticias-wrapper.pgindex-container.container.mx-auto.py-3,
.pgindex-outros-wrapper.pgindex-container.container.mx-auto.py-3 {
    padding: 0px;
}

/* ========== WRAPPER SEÇÕES ========== */
/* ====== Banner Destaque ====== */
.banner-destaque {
    width: 100%;
    display: block;
    border-radius: 8px;
    overflow: hidden;
}
.banner-destaque-inner {
    position: relative;
    width: 100%;
    height: 420px;
    display: flex;
    align-items: flex-end;
    justify-content: flex-start;
    background-color: transparent;
}
.banner-destaque-bg {
    position: absolute;
    inset: 0;
    background-size: cover;
    background-position: center center;
    background-repeat: no-repeat;
    transform-origin: center center;
    transition: transform 0.3s ease;
    will-change: transform;
}
.banner-destaque-img img {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center center;
    display: block;
}
.banner-destaque-overlay {
    position: absolute;
    inset: 0;
    /* Requested gradient: top white 0% opacity -> stop at 50% then bottom black 100%.
       Overall opacity / midpoint control per spec: use 71% at 50% stop, bottom 100% black. */
    background: linear-gradient(180deg, rgba(255,255,255,0) 0%, rgba(0,0,0,0.71) 50%, rgba(0,0,0,1) 100%);
    pointer-events: none;
}
.banner-destaque-content {
    position: relative;
    z-index: 3;
    padding: 28px 24px;
    max-width: 720px;
    color: #fff;
}
.banner-destaque-meta {
    display: flex;
    align-items: center;
    gap: 10px;
    font-family: 'Kanit', sans-serif;
    font-size: 16px;
    font-weight: 500;
    font-style: normal;
    line-height: 100%;
    letter-spacing: 0%;
    color: #FEFEFE;
    margin-bottom: 8px;
}
.banner-destaque-label {
    display: inline-block;
    background: transparent; /* sem background */
    color: #FEFEFE;
    padding: 0 4px;
    border-radius: 0;
    font-size: 16px;
    font-weight: 500;
    text-transform: none;
}
.banner-destaque-dot {
    width: 8px;
    height: 8px;
    background: #ffffff;
    border-radius: 50%;
    opacity: 0.9;
    display: inline-block;
}
.banner-destaque-cat {
    color: #FEFEFE;
    font-weight: 500;
    font-size: 16px;
}
.banner-destaque-date {
    font-family: 'Kanit', sans-serif;
    font-weight: 300;
    font-style: normal;
    font-size: 14px;
    line-height: 100%;
    letter-spacing: 0%;
    color: #FEFEFE;
}
.banner-destaque-title {
    font-family: 'Kanit', sans-serif;
    font-weight: 600;
    font-style: normal;
    font-size: 40px;
    line-height: 103%;
    letter-spacing: 0%;
    color: #FEFEFE;
    margin: 0 0 10px 0;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
    text-overflow: ellipsis;
}
.banner-destaque-title a { color: inherit; text-decoration: none; }
.banner-destaque-title a:hover { text-decoration: underline; }

/* Hover zoom: scale the background layer on hover */
.banner-destaque-inner:hover .banner-destaque-bg {
    transform: scale(1.05);
}

/* Ensure the clickable link covers content but does not block the zoom */
.banner-destaque-link { display: block; color: inherit; text-decoration: none; }
.banner-destaque-excerpt {
    font-family: 'Kanit', sans-serif;
    font-size: 16px;
    line-height: 1.4;
    color: rgba(255, 255, 255, 0.92);
    max-height: 4.2em;
    overflow: hidden;
    margin-bottom: 0px;
    margin-top: 24px;
}
/* CTA removed from banner (button markup removed) */

/* Responsive sizes */
/* Desktop-specific overrides per request */
@media (min-width: 1025px) {
    .banner-destaque { max-width: 1080px; margin: 0 auto; }
    .banner-destaque-inner { height: 415px; }
    .banner-destaque { border-radius: 8px; }
    .banner-destaque-content {
        padding: 122px 345px 40px 37px;
        gap: 10px;
    }
    .banner-destaque-overlay {
        /* Desktop: use transparent->black gradient so image remains visible */
        background: linear-gradient(180deg, rgba(0,0,0,0) 0%, rgba(0,0,0,0.15) 30%, rgba(0,0,0,0.4) 60%, rgba(0,0,0,0.65) 100%);
        pointer-events: none;
    }
}

@media (max-width: 1024px) {
    .banner-destaque-inner { height: 360px; }
    .banner-destaque-title { font-size: 30px; }
}
@media (max-width: 768px) {
    .banner-destaque-inner { height: 300px; }
    .banner-destaque-content { padding: 20px; }
    .banner-destaque-title { font-size: 24px; }
    .banner-destaque-excerpt { font-size: 15px; }
}
@media (max-width: 420px) {
    .banner-destaque-inner { height: 220px; }
    .banner-destaque-title { font-size: 20px; }
}

.pgindex-section-wrapper {
    width: 100%;
}

.pgindex-services-section,
.pgindex-noticias-section,
.pgindex-outros-section {
    width: 100%;
    margin-bottom: 24px;
}

/* ========== HEADER SEÇÃO ========== */

.pgindex-section-header {
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
    margin-bottom: 24px;
    gap: 16px;
    flex-wrap: wrap;
}

.pgindex-section-title {
    display: flex;
    align-items: center;
    gap: 12px;
}

.pgindex-section-title .material-symbols-outlined {
    font-size: 28px;
    color: #465564;
}

.pgindex-section-title h2 {
    font-family: 'Kanit', sans-serif;
    font-size: 24px;
    font-weight: 500;
    color: #465564;
    margin: 0;
    line-height: 100%;
}

.pgindex-section-meta {
    display: flex;
    align-items: center;
    gap: 24px;
    flex-wrap: wrap;
}

.pgindex-section-separator {
    width: 1px;
    height: 20px;
    background-color: #929292;
}

.pgindex-section-controls {
    display: flex;
    align-items: center;
    gap: 8px;
}

.pgindex-ordenacao-label {
    font-family: 'Kanit', sans-serif;
    font-size: 16px;
    font-weight: 300;
    color: #1B7727;
    margin: 0;
    line-height: 132%;
}

/* ========== DROPDOWN ========== */

.pgindex-dropdown-wrapper {
    position: relative;
}

.pgindex-dropdown-btn {
    display: flex;
    align-items: center;
    gap: 0;
    font-family: 'Kanit', sans-serif;
    font-size: 14px;
    font-weight: 400;
    color: #1B7727;
    background: #fff;
    border: 1px solid #1B7727;
    border-radius: 4px;
    padding: 8px 16px;
    cursor: pointer;
    transition: all 0.2s ease;
    white-space: nowrap;
    height: 32px;
    line-height: 100%;
}

.pgindex-dropdown-btn:hover {
    background: #F5F5F5;
}

.pgindex-dropdown-btn[aria-expanded="true"] {
    background: #E6F6F2;
    border-color: #1B7727;
}

.pgindex-dropdown-btn .material-symbols-outlined {
    font-size: 18px;
    color: #1B7727;
    transition: transform 0.2s ease;
    order: -1;
}

.pgindex-dropdown-btn[aria-expanded="true"] .material-symbols-outlined {
    transform: rotate(180deg);
}

.pgindex-dropdown-text {
    display: inline-block;
}

.pgindex-dropdown-menu {
    display: none;
    position: absolute;
    top: calc(100% + 4px);
    right: 0;
    background: #fff;
    border: 1px solid #D7E2DD;
    border-radius: 8px;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.12);
    min-width: 160px;
    z-index: 1000;
    overflow: hidden;
}

.pgindex-dropdown-menu.open {
    display: block;
}

.pgindex-dropdown-item {
    display: block;
    width: 100%;
    text-align: left;
    padding: 10px 16px;
    background: #fff;
    border: none;
    font-family: 'Kanit', sans-serif;
    font-size: 14px;
    font-weight: 400;
    color: #1B7727;
    cursor: pointer;
    transition: all 0.2s ease;
    line-height: 100%;
}

.pgindex-dropdown-item:hover {
    background: #F5F5F5;
}

.pgindex-dropdown-item.active {
    background: #E6F6F2;
    color: #1B7727;
    font-weight: 500;
}

/* ========== BOTÃO AVISE PRA GENTE ========== */

.pgindex-avise-container {
    display: flex;
    justify-content: center;
    align-items: center;
    margin-top: 64px;
    margin-bottom: 24px;
    width: 100%;
    padding: 0;
    box-sizing: border-box;
}

.pgindex-avise-btn {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    width: 100%;
    height: 72px;
    padding: 16px;
    border-radius: 8px;
    border: 1px solid #C5C5C5;
    background: linear-gradient(90deg, #EEEEEE 0%, #D9F2EF 100%);
    cursor: pointer;
    transition: all 0.2s ease;
    box-sizing: border-box;
}

.pgindex-avise-btn:hover {
    border-color: #17B288;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.08);
}

.pgindex-avise-btn:focus-visible {
    outline: 2px solid #545FFF;
    outline-offset: 2px;
}

  
.pgindex-avise-btn .material-symbols-outlined {
    font-size: 24px;
    color: #1B7727;
    flex-shrink: 0;
}

.pgindex-avise-text {
    font-family: 'Kanit', sans-serif;
    font-weight: 500;
    font-size: 16px;
    line-height: 100%;
    color: #1B7727;
    text-decoration: underline;
    text-decoration-style: solid;
    text-decoration-thickness: 1.5px;
}

/* ========== CARDS SERVIÇOS/NOTÍCIAS/OUTROS ========== */

.pgindex-services-grid,
.pgindex-outros-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 24px;
    margin-bottom: 24px;
}

.pgindex-noticias-grid {
    display: block;
    margin-bottom: 24px;
}

.pgindex-noticias-grid>*,
.pgindex-outros-grid>* {
    margin-bottom: 0;
}

.pgindex-noticias-grid>* {
    margin-bottom: 16px;
}

.pgindex-outros-grid>*:last-child {
    margin-bottom: 0;
}

.pgindex-service-card,
.pgindex-noticia-card,


.pgindex-service-card {
    width: 100%;
    height: auto;
    min-height: 172px;
    border-radius: 16px;
    border: 1px solid #D7E2DD;
    background: #FEFEFE;
    box-sizing: border-box;
    padding: 16px;
    display: flex;
    flex-direction: column;
    gap: 8px;
    opacity: 1;
}

.pgindex-service-header {
    display: flex;
    align-items: center;
    gap: 8px;
    margin-bottom: 8px;
}

.pgindex-service-categoria {
    font-size: 32px;
    color: #B59C75;
    display: flex;
    align-items: center;
}

.pgindex-service-categoria .material-symbols-outlined {
    font-size: 32px;
    color: #B59C75;
}

.pgindex-service-tipo,
.pgindex-service-orgao {
    font-family: 'Kanit', sans-serif;
    font-size: 14px;
    font-weight: 500;
    line-height: 100%;
    letter-spacing: 0%;
    padding: 0 4px;
    border-radius: 8px;
    height: 21px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    box-sizing: border-box;
}

.pgindex-service-tipo {
    margin-left: 4px;
}

/* ONLINE - padrão */
.pgindex-service-tipo[data-tipo="ONLINE"] {
    width: 56px;
    background: #E7FFEB;
    color: #006557;
}

/* PRESENCIAL */
.pgindex-service-tipo[data-tipo="PRESENCIAL"] {
    width: 87px;
    background: #E3F3FF;
    color: #0D5EAF;
}

/* SEMIPRESENCIAL */
.pgindex-service-tipo[data-tipo="SEMIPRESENCIAL"] {
    width: 117px;
    background: #FFF9E1;
    color: #916105;
}

.pgindex-service-orgao {
    background: #DFFFFB;
    color: #004C41;
    width: auto;
}

.pgindex-service-info {
    display: flex;
    flex-direction: column;
    gap: 4px;
}

.pgindex-service-titulo {
    font-family: 'Kanit', sans-serif;
    font-weight: 500;
    font-size: 16px;
    line-height: 100%;
    letter-spacing: 0;
    color: #3C4650;
    margin: 0;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
    height: 47.5px;
}

.pgindex-service-footer {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-top: 0;
    padding-top: 0;
    gap: 12px;
}

.pgindex-service-link-descricao {
    font-family: 'Kanit', sans-serif;
    font-weight: 400;
    font-size: 14px;
    line-height: 100%;
    letter-spacing: 0%;
    color: #465564;
    text-decoration: underline;
    text-decoration-style: solid;
    text-decoration-thickness: 1px;
    cursor: pointer;
    transition: all 0.2s ease;
    white-space: nowrap;
    width: 85px;
    height: 21px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    border-radius: 8px;
    padding: 0;
}

.pgindex-service-link-descricao:hover {
    color: #465564;
    background-color: #E9F6EB;
    padding: 0;
}

.pgindex-service-link-descricao:focus-visible {
    outline: 2px solid #545FFF;
    outline-offset: 2px;
    border-radius: 2px;
}

.pgindex-service-link-descricao:active {
    color: #1B7727;
}

.pgindex-service-link-acessar {
    display: inline-flex;
    align-items: center;
    font-family: 'Kanit', sans-serif;
    font-weight: 500;
    font-size: 14px;
    line-height: 100%;
    letter-spacing: 0%;
    color: #239832;
    text-decoration: none;
    gap: 4px;
    transition: all 0.2s ease;
    white-space: nowrap;
    width: 78px;
    height: 24px;
    justify-content: center;
    border-radius: 8px;
    padding: 0;
}

.pgindex-service-link-acessar:hover {
    color: #239832;
    background-color: #E9F6EB;
    padding: 0;
}

.pgindex-service-link-acessar:focus-visible {
    outline: 2px solid #545FFF;
    outline-offset: 2px;
    border-radius: 2px;
}

.pgindex-service-link-acessar:active {
    color: #1B7727;
}

.pgindex-service-link-acessar .material-symbols-outlined {
    font-size: 21px;
    text-decoration: none;
}

/* ========== NOTÍCIAS CARD ========== */
.pgindex-noticia-card {
    padding: 8px;
    overflow: hidden;
    width: 100%;
    max-width: 100%;
    display: flex;
    flex-direction: row;
    background: transparent;
    border: none;
    gap: 16px;
    align-items: flex-start;
    min-height: auto;
    row-gap: 16px;
}

.pgindex-noticia-card:hover {
    background: #E9F6EB;
}


/* Outros Card - Layout simples */
.pgindex-outro-card {
    width: 100%;
    max-width: 100%;
    min-height: 149px;
    padding: 24px;
    gap: 8px;
    border-radius: 16px;
    border: 1px solid #C5C5C5;
    background: #FEFEFE;
    box-sizing: border-box;
    display: flex;
    flex-direction: column;
    justify-content: center;
    transition: all 0.2s ease;
}

.pgindex-outro-card:hover {
    border-color: #17B288;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.08);
}

.pgindex-outro-titulo {
    font-family: 'Kanit', sans-serif;
    font-weight: 500;
    font-size: 24px;
    line-height: 100%;
    letter-spacing: 0%;
    color: #26323F;
    margin: 0;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.pgindex-outro-titulo a {
    color: inherit;
    text-decoration: none;
}

.pgindex-outro-titulo a:hover {
    color: #17B288;
}

.pgindex-outro-data {
    font-family: 'Kanit', sans-serif;
    font-weight: 300;
    font-size: 14px;
    line-height: 132%;
    color: #757575;
    margin: 0;
}

/* Responsividade para Outros */
@media (max-width: 768px) {
    .pgindex-outro-card {
        max-width: 100%;
        min-height: auto;
        padding: 20px;
    }

    .pgindex-outro-titulo {
        font-size: 20px;
    }
}

@media (max-width: 767px) {
    .pgindex-outro-card {
        padding: 16px;
    }

    .pgindex-outro-titulo {
        font-size: 18px;
        line-height: 120%;
    }

    .pgindex-outro-data {
        font-size: 12px;
    }
}

.pgindex-noticia-thumbnail {
    width: 100%;
    max-width: 334px;
    height: 150px;
    overflow: hidden;
    flex-shrink: 0;
    border-radius: 8px;
    opacity: 1;
    transform: rotate(0deg);
}

.pgindex-noticia-thumbnail img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

.pgindex-noticia-content {
    padding: 0;
    display: flex;
    flex-direction: column;
    gap: 8px;
    flex: 1;
    margin-left: 0;
    min-width: 0;
    max-height: 150px;
    overflow: hidden;
    width: 100%;
    max-width: 382px;
}

.pgindex-noticia-meta {
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 12px;
    color: #757575;
    flex-wrap: wrap;
}

.pgindex-noticia-separator {
    width: 6px;
    height: 6px;
    display: inline-block;
    border-radius: 50%;
    background: #757575;
    margin: 0 6px;
}

.pgindex-noticia-categoria {
    font-family: 'Kanit', sans-serif;
    font-weight: 500;
    color: #757575;
    font-size: 16px;
    line-height: 100%;
    letter-spacing: 0%;
    text-transform: none;
}

/* Cores específicas por tag */
.pgindex-noticia-categoria[data-tag="infraestrutura"] {
    color: #785C5C;
}

.pgindex-noticia-categoria[data-tag="desenvolvimento economico"] {
    color: #068379;
}

.pgindex-noticia-categoria[data-tag="segurança"] {
    color: #3F86CC;
}

.pgindex-noticia-data {
    font-family: 'Kanit', sans-serif;
    font-weight: 300;
    font-size: 14px;
    line-height: 100%;
    letter-spacing: 0%;
    color: #757575;
}

.pgindex-noticia-titulo {
    font-family: 'Kanit', sans-serif;
    font-weight: 500;
    font-size: 24px;
    line-height: 132%;
    color: #465564;
    margin: 0;
}

.pgindex-noticia-titulo a {
    color: inherit;
    text-decoration: none;
}

.pgindex-noticia-titulo a:hover {
    color: #17B288;
}

.pgindex-noticia-hora {
    font-family: 'Kanit', sans-serif;
    font-weight: 300;
    font-size: 14px;
    line-height: 100%;
    letter-spacing: 0%;
    color: #757575;
}

.pgindex-noticia-excerpt {
    font-family: 'Kanit', sans-serif;
    font-weight: 300;
    font-size: 16px;
    line-height: 132%;
    color: #26323F;
    margin: 0;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.pgindex-noticia-ler-mais {
    display: inline-flex;
    align-items: center;
    gap: 4px;
    font-family: 'Kanit', sans-serif;
    font-weight: 500;
    font-size: 16px;
    line-height: 100%;
    letter-spacing: 0%;
    color: #1B7727;
    text-decoration: underline;
    text-decoration-style: solid;
    text-decoration-thickness: 1px;
    margin-top: auto;
}

.pgindex-noticia-ler-mais:hover {
    color: #155f1f;
}

.pgindex-noticia-ler-mais .material-symbols-outlined {
    font-size: 18px;
}

/* ========== VER MAIS LINK (compartilhado) ========== */
.pgindex-ver-mais {
    display: flex;
    justify-content: center;
    margin-top: 8px;
}

.pgindex-ver-mais-link {
    font-family: 'Kanit', sans-serif;
    font-weight: 500;
    font-size: 16px;
    line-height: 100%;
    color: #1B7727;
    text-decoration: none;
    display: inline-flex;
    align-items: center;
    gap: 4px;
}

.pgindex-ver-mais-text {
    text-decoration: underline;
}

.pgindex-ver-mais-link .material-symbols-outlined {
    font-size: 18px;
    line-height: 1;
}

.pgindex-ver-mais-link:hover {
    color: #155f1f;
}

/* Responsivo - Telas menores */
@media (max-width: 767px) {
    .pgindex-avise-container {
        margin-top: 32px;
        margin-bottom: 16px;
        padding: 0 26px;
    }

    .pgindex-ver-mais {
        justify-content: flex-end;
    }
}

/* ========== MODAL FEEDBACK ========== */

.pgindex-modal-overlay {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-color: rgba(0, 0, 0, 0.5);
    z-index: 9999;
    align-items: center;
    justify-content: center;
    backdrop-filter: blur(2px);
}

.pgindex-modal-overlay.open {
    display: flex;
    animation: pgindex-fade-in 0.3s ease;
}

@keyframes pgindex-fade-in {
    from {
        opacity: 0;
    }

    to {
        opacity: 1;
    }
}

.pgindex-modal {
    background: #fff;
    border-radius: 12px;
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.15);
    width: 100%;
    max-width: 748px;
    margin: 0 16px;
    max-height: 90vh;
    animation: pgindex-slide-up 0.3s ease;
    box-sizing: border-box;
    position: relative;
}

@keyframes pgindex-slide-up {
    from {
        transform: translateY(20px);
        opacity: 0;
    }

    to {
        transform: translateY(0);
        opacity: 1;
    }
}

.pgindex-modal-header {
    display: flex;
    align-items: flex-start;
    justify-content: flex-start;
    padding: 24px 24px 0px 24px;
    flex-wrap: wrap;
    width: 100%;
}

.pgindex-modal-header h2 {
    font-family: 'Kanit', sans-serif;
    font-size: 24px;
    font-weight: 500;
    color: #465564;
    margin: 0;
    line-height: 100%;
    flex-basis: 100%;
    padding-bottom: 8px;
}

.pgindex-modal-subtitle {
    font-family: 'Kanit', sans-serif;
    font-size: 16px;
    font-weight: 300;
    color: #26323F;
    margin: 0;
    line-height: 132%;
    flex-basis: 100%;
    letter-spacing: 0%;
}

.pgindex-modal-close {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 32px;
    height: 32px;
    background: none;
    border: none;
.pgindex-title {
  display: -webkit-box;
  -webkit-line-clamp: 2;
  line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: normal;
}
.pgindex-noticia-titulo {
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: normal;
    line-clamp: 2;
}
.pgindex-title a,
.pgindex-noticia-titulo a {
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: normal;
    line-clamp: 2;
}
h3.pgindex-noticia-titulo {
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: normal;
    line-clamp: 2;
}
.pgindex-title a,
.pgindex-noticia-titulo a,
h3.pgindex-noticia-titulo {
    display: -webkit-box !important;
    -webkit-line-clamp: 2 !important;
    line-clamp: 2 !important;
    -webkit-box-orient: vertical !important;
    overflow: hidden !important;
    text-overflow: ellipsis !important;
    white-space: normal !important;
    max-height: 3.2em !important;
}
/* ...existing code... */
    color: #757575;
    transition: color 0.2s ease;
    padding: 0;
    position: absolute;
    top: 16px;
    right: 16px;
    flex-shrink: 0;
}

.pgindex-modal-close:hover {
    color: #465564;
}

.pgindex-modal-close .material-symbols-outlined {
    font-size: 24px;
}

.pgindex-modal-body {
    padding: 0px 24px 24px 24px;
}

.pgindex-modal-subtitle {
    font-family: 'Kanit', sans-serif;
    font-size: 14px;
    color: #757575;
    margin: 0 0 20px 0;
    line-height: 1.5;
}

/* ========== FORMULÁRIO FEEDBACK ========== */

.pgindex-feedback-form {
    display: flex;
    flex-direction: column;
    gap: 16px;
}

.pgindex-form-group {
    display: flex;
    flex-direction: column;
    gap: 0;
    position: relative;
}

.pgindex-feedback-textarea {
    font-family: 'Kanit', sans-serif;
    font-size: 16px;
    font-weight: 300;
    color: #757575;
    border: 1px solid #929292;
    border-radius: 4px;
    padding: 12px 16px;
    width: 100%;
    height: 159px;
    resize: none;
    transition: border-color 0.2s ease, box-shadow 0.2s ease;
    box-sizing: border-box;
    background: #FEFEFE;
    line-height: 132%;
    letter-spacing: 0%;
}

.pgindex-feedback-textarea::placeholder {
    color: #757575;
    font-family: 'Kanit', sans-serif;
    font-size: 16px;
    font-weight: 300;
    line-height: 132%;
}

.pgindex-feedback-textarea:focus {
    outline: none;
    border-color: #929292;
    box-shadow: none;
}

.pgindex-textarea-counter {
    position: absolute;
    bottom: 12px;
    right: 16px;
    font-family: 'Kanit', sans-serif;
    font-size: 16px;
    font-weight: 300;
    color: #757575;
    line-height: 132%;
    letter-spacing: 0%;
    pointer-events: none;
}

.pgindex-form-actions {
    display: flex;
    justify-content: flex-end;
    gap: 12px;
    margin-top: 8px;
}

.pgindex-btn-enviar {
    font-family: 'Kanit', sans-serif;
    font-size: 14px;
    font-weight: 500;
    color: #fff;
    background: #C5C5C5;
    border: none;
    border-radius: 8px;
    padding: 10px 24px;
    cursor: pointer;
    transition: all 0.2s ease;
    min-width: 120px;
}

.pgindex-btn-enviar:hover:not(:disabled) {
    background: #B0B0B0;
}

.pgindex-btn-enviar:focus-visible {
    outline: 2px solid #545FFF;
    outline-offset: 2px;
}

.pgindex-btn-enviar:disabled {
    opacity: 0.5;
    cursor: not-allowed;
}

.pgindex-btn-enviar.active {
    background: #1B7727;
    border: 1px solid #E3E3E3;
    color: #fff;
}

.pgindex-btn-enviar.active:hover {
    background: #E9F6EB;
    border: 1px solid #E3E3E3;
    color: #1B7727;
}

/* ========== MODAL SUCESSO ========== */

.pgindex-modal-success {
    max-width: 383px;
    width: 100%;
    background: #FEFEFE;
    border-radius: 16px;
    box-shadow: 0px 4px 16px 0px rgba(0, 0, 0, 0.25);
    padding: 16px;
}

.pgindex-modal-header-success {
    border-bottom: none;
    justify-content: flex-end;
    padding: 0;
    margin-bottom: 0;
}

.pgindex-modal-body-success {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 16px;
    text-align: center;
    padding: 24px 16px 16px 16px;
}

.pgindex-success-icon {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 56px;
    height: 56px;
    background: none;
    border-radius: 50%;
    order: 1;
}

.pgindex-success-icon .material-symbols-outlined {
    font-size: 56px;
    color: #26A737;
}

.pgindex-success-title {
    font-family: 'Kanit', sans-serif;
    font-size: 24px;
    font-weight: 500;
    color: #465564;
    margin: 0;
    line-height: 100%;
    letter-spacing: 0%;
    order: 2;
}

.pgindex-success-text {
    font-family: 'Kanit', sans-serif;
    font-size: 16px;
    font-weight: 300;
    color: #26323F;
    line-height: 132%;
    letter-spacing: 0%;
    margin: 0;
    order: 3;
    flex-grow: 1;
    display: flex;
    align-items: center;
}

.pgindex-btn-entendi {
    width: 100%;
    height: 57px;
    font-family: 'Kanit', sans-serif;
    font-size: 16px;
    font-weight: 500;
    color: #fff;
    background: #1B7727;
    border: none;
    border-radius: 8px;
    padding: 8px 53px;
    cursor: pointer;
    transition: all 0.2s ease;
    order: 4;
}

.pgindex-btn-entendi:hover {
    background: #1B7727;
    opacity: 0.9;
}

.pgindex-btn-entendi:focus-visible {
    outline: 2px solid #545FFF;
    outline-offset: 2px;
}

/* ========== RESPONSIVO - TABLETS ========== */

@media (max-width: 768px) {
    .pgindex-service-card {
        width: 100%;
        max-width: 100%;
        height: auto;
        min-height: auto;
    }

    .pgindex-services-grid {
        display: grid;
        grid-template-columns: 1fr;
        gap: 16px;
    }

    .pgindex-noticias-grid,
    .pgindex-outros-grid {
        gap: 16px;
    }

    .pgindex-section-header {
        flex-direction: column;
        align-items: flex-start;
    }

    .pgindex-section-meta {
        width: 100%;
        justify-content: space-between;
    }
}

.pgindex-avise-btn {
    max-width: calc(100% - 32px);
    height: 64px;
    padding: 12px 16px;
}

.pgindex-avise-text {
    font-size: 15px;
}

.pgindex-avise-btn .material-symbols-outlined {
    font-size: 22px;
}

.pgindex-modal {
    max-width: 90%;
    max-width: 748px;
    margin: 0 16px;
}

/* Responsivo Notícias - Tablets */
@media (max-width: 768px) {
    .pgindex-noticia-card {
        flex-direction: column !important;
        min-height: auto !important;
        row-gap: 16px !important;
        display: flex !important;
        gap: 12px !important;
        padding: 12px !important;
        border: 1px solid #D7E2DD !important;
        border-radius: 8px !important;
        background: #FEFEFE !important;
    }

    .pgindex-noticia-thumbnail {
        width: 100% !important;
        min-width: 100% !important;
        height: 193px !important;
        border-radius: 8px !important;
        flex-shrink: 0 !important;
    }

    .pgindex-noticia-content {
        margin-left: 0 !important;
        padding: 0 !important;
        width: 100% !important;
        max-height: none !important;
        overflow: visible !important;
        display: flex !important;
        flex-direction: column !important;
        gap: 8px !important;
        flex: 1 !important;
        min-width: 0 !important;
        height: auto !important;
    }

    .pgindex-noticia-titulo {
        font-size: 20px !important;
        display: -webkit-box !important;
        -webkit-line-clamp: 3 !important;
        line-clamp: 3 !important;
        -webkit-box-orient: vertical !important;
        overflow: hidden !important;
    }
    
    .pgindex-noticia-excerpt {
        display: none !important;
    }
    
    .pgindex-noticia-meta,
    .pgindex-noticia-titulo,
    .pgindex-ler-mais {
        display: block !important;
        visibility: visible !important;
        opacity: 1 !important;
    }

    .pgindex-noticia-separator {
        display: none !important;
    }

    .pgindex-noticia-data,
    .pgindex-noticia-hora {
        display: inline !important;
        white-space: nowrap !important;
    }
}


/* ========== RESPONSIVO - MOBILE ========== */

@media (max-width: 767px) {
    .pgindex-header-section {
        padding: 0 12px;
    }

    .pgindex-service-card {
        width: 100%;
        max-width: 100%;
        height: auto;
        min-height: auto;
    }

    .pgindex-services-grid {
        grid-template-columns: 1fr;
        gap: 12px;
    }

    .pgindex-section-header {
        align-items: flex-start;
        padding: 0 12px;
        box-sizing: border-box;
    }

    .pgindex-section-title {
        align-self: flex-start;
        margin-bottom: 10px;
        flex-basis: 100%;
    }

    .pgindex-section-title h2 {
        font-size: 18px;
        text-align: left;
        word-wrap: break-word;
    }

    .pgindex-section-meta {
        align-self: flex-start;
    }

    .pgindex-section-count {
        text-align: left;
        padding-bottom: 24px;
    }

    .pgindex-section-separator {
        display: none;
    }

    .pgindex-section-controls {
        align-self: flex-start;
    }

    .pgindex-section-meta {
        width: 100%;
        flex-direction: column !important;
        gap: 12px !important;
        align-items: center !important;
        justify-content: center !important;
    }

    .pgindex-section-count {
        order: 2;
    }

    .pgindex-section-controls {
        width: 100%;
        justify-content: center !important;
        flex-direction: row !important;
        flex-wrap: wrap !important;
        padding-bottom: 24px;
        order: 1;
    }

    .pgindex-dropdown-btn {
        width: 100%;
        justify-content: space-between;
    }

    .pgindex-dropdown-menu {
        right: 0;
        left: auto;
        min-width: 100%;
    }

    .pgindex-avise-container {
        margin-top: 32px;
        margin-bottom: 16px;
        padding: 0 12px;
    }

    .pgindex-avise-btn {
        max-width: 100%;
        margin: 0;
        height: 56px;
        padding: 12px 12px;
        gap: 6px;
    }

    .pgindex-avise-text {
        font-size: 14px;
    }

    .pgindex-avise-btn .material-symbols-outlined {
        font-size: 20px;
    }

    .pgindex-modal {
        max-width: 100%;
        max-height: 95vh;
        margin: 0 12px;
        border-radius: 12px;
    }

    .pgindex-modal-header {
        padding: 16px;
    }

    .pgindex-modal-header h2 {
        font-size: 18px;
    }

    .pgindex-modal-body {
        padding: 16px;
    }

    .pgindex-feedback-textarea {
        height: 120px;
        padding: 12px 12px;
        font-size: 14px;
    }

    .pgindex-feedback-textarea::placeholder {
        font-size: 14px;
    }

    .pgindex-textarea-counter {
        font-size: 14px;
        bottom: 8px;
        right: 12px;
    }

    .pgindex-services-grid,
    .pgindex-noticias-grid,
    .pgindex-outros-grid {
        grid-template-columns: 1fr;
        gap: 12px;
    }

    .pgindex-service-card,
    .pgindex-noticia-card,
    .pgindex-outro-card {
        max-width: 100%;
        padding: 16px 16px 8px 16px;
    }

    /* Responsivo Notícias - Mobile */
    .pgindex-noticia-card {
        flex-direction: column !important;
        min-height: auto !important;
        margin-bottom: 12px !important;
        padding: 0 !important;
        border: none !important;
        border-radius: 8px !important;
        background: transparent !important;
        display: flex !important;
        gap: 12px !important;
        overflow: visible !important;
        height: auto !important;
    }

    .pgindex-noticia-thumbnail {
        width: 100% !important;
        min-width: 100% !important;
        height: 200px !important;
        max-height: none !important;
        margin-bottom: 0 !important;
        border-radius: 8px !important;
        flex-shrink: 0 !important;
    }

    .pgindex-noticia-content {
        margin-left: 0 !important;
        padding: 0 !important;
        width: 100% !important;
        max-height: none !important;
        overflow: visible !important;
        display: flex !important;
        flex-direction: column !important;
        gap: 8px !important;
        flex: 1 !important;
        min-width: 0 !important;
        height: auto !important;
    }

    .pgindex-noticia-meta {
        font-size: 11px !important;
        display: flex !important;
        visibility: visible !important;
        opacity: 1 !important;
        gap: 6px;
    }

    .pgindex-noticia-categoria {
        font-size: 14px !important;
        display: block !important;
        visibility: visible !important;
        opacity: 1 !important;
        padding-bottom: 8px;
    }

    .pgindex-noticia-data {
        font-size: 12px !important;
        display: inline !important;
        visibility: visible !important;
        opacity: 1 !important;
        white-space: nowrap !important;
    }

    .pgindex-noticia-hora {
        font-size: 12px !important;
        display: inline !important;
        visibility: visible !important;
        opacity: 1 !important;
    }

    .pgindex-noticia-titulo {
        font-size: 16px !important;
        line-height: 120% !important;
        display: block !important;
        overflow: visible !important;
        visibility: visible !important;
        opacity: 1 !important;
    }

    h3.pgindex-noticia-titulo,
    h3.pgindex-noticia-titulo a {
        padding-top: 8px !important;
    }

    .pgindex-noticia-excerpt {
        font-size: 12px;
        line-height: 120%;
        display: none !important;
    }

    .pgindex-noticia-ler-mais {
        font-size: 12px !important;
        display: block !important;
        visibility: visible !important;
        opacity: 1 !important;
        margin-top: 8px !important;
    }

    .pgindex-card-titulo {
        font-size: 16px;
    }

    .pgindex-card-footer {
        font-size: 13px;
    }

    .pgindex-card-acessar .material-symbols-outlined {
        font-size: 18px;
    }

    .pgindex-modal-close {
        width: 32px;
        height: 32px;
    }

    .pgindex-modal-body-success {
        padding: 16px;
        gap: 12px;
    }

    .pgindex-modal-success {
        max-width: 100%;
        padding: 12px;
    }

    .pgindex-success-title {
        font-size: 20px;
    }

    .pgindex-success-text {
        font-size: 14px;
    }

    .pgindex-btn-entendi {
        width: 100%;
        height: auto;
        padding: 12px 16px;
        font-size: 14px;
        margin-top: 12px;
    }
}

/* ========== SERVIÇOS - LISTAGEM COMPLETA ========== */
.pgindex-services-listagem-section {
    width: 100%;
    display: block;
    clear: both;
}

.pgindex-services-listagem-section .pgindex-services-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 24px;
    margin-top: 24px;
    margin-bottom: 32px;
}

/* Responsivo - Tablet */
@media (max-width: 768px) {
    .pgindex-services-listagem-section .pgindex-services-grid {
        gap: 16px;
    }
}

/* Responsivo - Mobile */
@media (max-width: 767px) {
    .pgindex-services-listagem-section .pgindex-services-grid {
        gap: 12px;
    }
}

/* ========== PAGINAÇÃO ========== */
.pgindex-pagination {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 16px;
    margin-top: 32px;
    margin-bottom: 32px;
}

.pgindex-pagination-ellipsis {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    font-family: 'Kanit', sans-serif;
    font-weight: 300;
    font-size: 16px;
    color: #757575;
    padding: 0 8px;
    min-width: 24px;
}

.pgindex-pagination-numbers {
    display: flex !important;
    align-items: center;
    gap: 4px;
    flex-wrap: nowrap; /* Força uma linha */
    overflow: visible;
}

@media (max-width: 768px) {
    .pgindex-pagination {
        gap: 8px;
    }
    .pgindex-pagination-numbers {
        gap: 2px;
    }
}

.pgindex-pagination-prev,
.pgindex-pagination-next {
    display: inline-flex;
    align-items: center;
    padding: 0;
    background: transparent;
    border: none;
    border-radius: 0;
    color: #465564;
    text-decoration: none;
    font-family: 'Kanit', sans-serif;
    font-weight: 300;
    font-size: 16px;
    line-height: 132%;
    letter-spacing: 0%;
    transition: all 0.2s ease;
    cursor: pointer;
}

.pgindex-pagination-prev:hover,
.pgindex-pagination-next:hover {
    background: transparent;
    border-color: transparent;
    color: #1B7727;
}

.pgindex-pagination-prev .material-symbols-outlined,
.pgindex-pagination-next .material-symbols-outlined {
    font-size: 24px;
    color: #1B7727;
    font-variation-settings: 'FILL' 0, 'wght' 400, 'GRAD' 0, 'opsz' 24;
}

.pgindex-pagination-numbers {
    display: flex;
    gap: 0;
    align-items: center;
    background: #E3E3E3;
    border-radius: 8px;
    height: 38px;
}

.pgindex-pagination-link {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 36px;
    height: 36px;
    background: transparent;
    border: none;
    border-right: 1px solid #D7E2DD;
    border-radius: 0;
    color: #465564;
    text-decoration: none;
    font-family: 'Kanit', sans-serif;
    font-weight: 500;
    font-size: 14px;
    transition: all 0.2s ease;
}

.pgindex-pagination-link:last-of-type {
    border-right: none;
}

.pgindex-pagination-link:hover {
    background: transparent;
    border-color: #D7E2DD;
    color: #1B7727;
}

.pgindex-pagination-current {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 36px;
    height: 36px;
    background: #1B7727;
    border: none;
    border-right: 1px solid #D7E2DD;
    border-radius: 5px;
    color: #FEFEFE;
    font-family: 'Kanit', sans-serif;
    font-weight: 600;
    font-size: 14px;
}

.pgindex-pagination-current.pgindex-pagination-first {
    border-radius: 8px 0px 0px 8px;
}

.pgindex-pagination-current.pgindex-pagination-last {
    border-right: none;
    border-radius: 0px 8px 8px 0px;
}

.pgindex-pagination-current:last-of-type {
    border-right: none;
}

/* Responsivo - Mobile */
@media (max-width: 767px) {
    .pgindex-pagination {
        gap: 8px;
    }

    .pgindex-pagination-prev,
    .pgindex-pagination-next {
        padding: 6px 12px;
        font-size: 12px;
    }

    .pgindex-pagination-numbers {
        gap: 0;
        background: #E3E3E3;
        border-radius: 8px;
        height: 34px;
    }

    .pgindex-pagination-link,
    .pgindex-pagination-current {
        width: 32px;
        height: 32px;
        font-size: 12px;
    }
}

/* ========== CAIXA DE SUGESTÃO ========== */
.pgindex-suggestion-box {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    background: #E8F5E9;
    border-radius: 8px;
    padding: 16px;
    margin-top: 32px;
    font-family: 'Kanit', sans-serif;
    font-size: 14px;
    color: #2E7D32;
    text-align: center;
}

.pgindex-suggestion-box .material-symbols-outlined {
    font-size: 20px;
    color: #2E7D32;
}

/* Cache buster: 20251118120000 */

.pgindex-noticias-wrapper.pgindex-container.container.mx-auto.py-3 {
    background-color: transparent !important;
    border: 0px !important;
    padding: 0px !important;
}

/* ===== Copiado de page-secretarios.css: cabeçalho / breadcrumb / título ===== */
.pgtnoticias-titulo-da-pagina {
    width: 100%;
    height: 154px;
    background-color: white;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: flex-start;
    padding: 0 16px;
    box-sizing: border-box;
    gap: 16px;
}

.sec.col-md-12{
  margin-top: -30px;
}

.pgtnoticias-div-infor-titulos {
    max-width: 1076px;
    width: 100%;
    display: flex;
    flex-direction: column;
    justify-content: flex-start;
    align-items: flex-start;
    margin: 0 auto;
    box-sizing: border-box;
    padding: 0px 0px 30px 0px;
}

@media (min-width: 1200px) {
}

@media (max-width: 767px) {
    .pgtnoticias-titulo-da-pagina {
        height: 146px;
        gap: 20px;
        padding-top: 16px;
        padding-bottom: 16px;
        padding-left: 12px;
    }
}

.pgtnoticias-titulo-da-pagina-atual {
    font-family: 'Kanit', sans-serif;
    font-weight: 600;
    font-style: normal;
    font-size: 40px;
    /* designer requested exact 100% line-height */
    line-height: 100%;
    letter-spacing: 0%;
    color: #465564;
}

.page-description {
    font-family: 'Kanit', sans-serif;
    font-weight: 300;
    font-size: 16px;
    line-height: 1.32;
    letter-spacing: 0;
    color: #465564;
}

/* ===== fim do bloco copiado ===== */
/* FORÇA EXIBIÇÃO DOS ELEMENTOS DE TEXTO DOS CARDS DE NOTÍCIA NO MOBILE (AJUSTE IGUAL À BUSCA) */
@media (max-width: 767px) {
    .pgindex-noticia-content,
    .pgindex-noticia-meta,
    .pgindex-noticia-titulo,
    .pgindex-noticia-titulo a,
    .pgindex-ler-mais {
        display: block !important;
        visibility: visible !important;
        opacity: 1 !important;
        color: inherit !important;
    }
    .pgindex-noticia-titulo {
        -webkit-line-clamp: 3 !important;
        line-clamp: 3 !important;
        display: -webkit-box !important;
        -webkit-box-orient: vertical !important;
        overflow: hidden !important;
    }
    .pgindex-ler-mais {
        margin-top: 8px !important;
    }
    .pgindex-noticia-excerpt {
        display: none !important;
    }
}

/* ========== RESPONSIVO - EXTRA SMALL (< 420px) ========== */
@media (max-width: 419px) {
    .pgindex-header-section,
    .pgindex-section-header {
        padding: 0 8px !important;
    }
    
    .pgindex-services-grid,
    .pgindex-noticias-grid,
    .pgindex-outros-grid {
        grid-template-columns: 1fr !important;
        gap: 8px !important;
    }
    
    .pgindex-service-card,
    .pgindex-noticia-card,
    .pgindex-outro-card {
        padding: 12px !important;
    }
    
    .pgindex-section-title h2 {
        font-size: 16px !important;
    }
    
    .pgindex-avise-btn {
        height: 48px !important;
        padding: 8px 12px !important;
        gap: 4px !important;
    }
    
    .pgindex-avise-text {
        font-size: 12px !important;
    }
    
    .pgindex-avise-btn .material-symbols-outlined {
        font-size: 18px !important;
    }
    
    .pgindex-noticia-thumbnail {
        height: 150px !important;
    }
    
    .pgindex-modal {
        max-width: calc(100% - 16px) !important;
        margin: 0 8px !important;
    }
    
    .pgindex-modal-header,
    .pgindex-modal-body {
        padding: 12px !important;
    }
    
    .pgindex-pagination {
        gap: 4px !important;
    }
    
    .pgindex-pagination-link,
    .pgindex-pagination-current {
        width: 28px !important;
        height: 28px !important;
        font-size: 10px !important;
    }
}