﻿.holder {
    display: flex;
}

.glyphicon {
    margin-right: 10px;
}

    .glyphicon:hover {
        color: #0094c6 !important;
    }

.panel-body {
    padding: 0px;
}

    .panel-body table tr td {
        padding-left: 15px;
    }

    .panel-body .table {
        margin-bottom: 0px;
    }

.mais-acessados-row {
    display: flex;
    justify-content: center;
    align-items: flex-start;
    gap: 40px;
    margin-bottom: 32px;
}

.mais-acessados-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 24px;
    justify-items: center;
    align-items: stretch;
    margin-bottom: 32px;
}

@media (max-width: 1199px) {
    .mais-acessados-row {
        gap: 18px;
    }

    .mais-acessados-grid {
        grid-template-columns: repeat(3, 1fr);
    }
}

@media (max-width: 991px) {
    .mais-acessados-row {
        flex-direction: column;
        align-items: center;
    }

    .mais-acessados-card-lateral {
        width: 100%;
        max-width: 340px;
        margin: 0 0 24px 0;
    }

    .mais-acessados-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 767px) {
    .mais-acessados-grid {
        grid-template-columns: 1fr;
    }

    .mais-acessados-card-lateral {
        max-width: 100%;
    }
}

.mais-acessados-card {
    background: #f6f6f6;
    border-bottom: 7px solid #0094c6;
    box-shadow: 0 2px 12px rgba(0,0,0,.05);
    width: 176px;
    height: 120px;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    transition: box-shadow .18s, background .18s, color .18s;
    text-align: center;
    font-weight: 700;
    font-size: 1.36rem;
    border-radius: 0;
}

    .mais-acessados-card:hover {
        background: #e7f5fd;
        color: #0094c6;
        box-shadow: 0 2px 18px rgba(0,0,0,.12);
        text-decoration: none;
    }

    .mais-acessados-card .icon {
        font-size: 2.6rem;
        margin-bottom: 10px;
        color: #111 !important;
    }

    .mais-acessados-card .texto {
        font-size: 14px;
        font-weight: 500;
        line-height: 1.18;
        color: black;
    }

.border-red {
    border-bottom-color: #c62828 !important;
}

.border-yellow {
    border-bottom-color: #f9a825 !important;
}

.border-green {
    border-bottom-color: #388e3c !important;
}

.border-darkgreen {
    border-bottom-color: #009688 !important;
}

.border-blue {
    border-bottom-color: #1976d2 !important;
}

.border-purple {
    border-bottom-color: #8e24aa !important;
}

.border-orange {
    border-bottom-color: #ef6c00 !important;
}

.border-brown {
    border-bottom-color: #6d4c41 !important;
}

.titulo-mais-acessados {
    color: black;
    font-weight: 700;
    font-size: 2rem;
    margin: 18px;
    letter-spacing: .02em;
}

.titulo-uppercase {
    text-transform: uppercase;
}

/* Card lateral personalizado */
.mais-acessados-card-lateral {
    background: #f2f6fa;
    box-shadow: 0 2px 8px rgba(0,0,0,.03);
    width: 317px;
    min-width: 227px;
    max-width: 320px;
    padding: 24px 25px 48px 25px;
    font-size: 15px;
    color: #23293e;
    display: flex;
    flex-direction: column;
    justify-content: flex-start;
    align-items: flex-start;
    margin-left: 0;
    border: none;
}

    .mais-acessados-card-lateral b {
        font-weight: 700;
        display: block;
        margin-bottom: 2px;
    }

    .mais-acessados-card-lateral p {
        margin-bottom: 8px;
        margin-top: 0;
    }

    .mais-acessados-card-lateral a {
        margin-top: 10px;
    }

    .mais-acessados-card-lateral a,
    .mais-acessados-card-lateral .email {
        color: #334b82;
        text-decoration: none;
        word-break: break-all;
    }

/* SERVIÇOS DISPONÍVEIS NOVO LAYOUT */
.servicos-disponiveis-wrapper {
    width: 100%;
    display: flex;
    flex-direction: column;
    align-items: center;
    margin-bottom: 48px;
}

.titulo-servicos-disponiveis {
    color: #232323;
    font-weight: 700;
    font-size: 2rem;
    margin-bottom: 32px;
    margin-top: 8px;
    letter-spacing: .02em;
    text-align: center;
}

.servicos-disponiveis-newgrid {
    display: grid;
    grid-template-columns: repeat(6, 1fr);
    gap: 26px 30px;
    justify-items: center;
    align-items: stretch;
    width: 100%;
    max-width: 1400px;
}

@media (max-width: 1300px) {
    .servicos-disponiveis-newgrid {
        grid-template-columns: repeat(4, 1fr);
        max-width: 950px;
    }
}

@media (max-width: 991px) {
    .servicos-disponiveis-newgrid {
        grid-template-columns: repeat(2, 1fr);
        max-width: 650px;
    }
}

@media (max-width: 640px) {
    .servicos-disponiveis-newgrid {
        grid-template-columns: 1fr;
        max-width: 340px;
    }
}

.servicos-disponiveis-newcard {
    background: #fff;
    color: #232323;
    box-shadow: 0 4px 16px rgba(0,0,0,.14);
    padding: 22px 12px 22px 12px;
    min-width: 170px;
    min-height: 65px;
    max-width: 260px;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    transition: box-shadow .16s, background .16s, color .16s, transform .16s;
    text-align: center;
    font-weight: 700;
    font-size: 15px;
    border: none;
    text-decoration: none;
    outline: none;
    cursor: pointer;
    letter-spacing: .01em;
}

    .servicos-disponiveis-newcard:hover,
    .servicos-disponiveis-newcard:focus {
        background: #e7f5fd;
        color: #0094c6;
        box-shadow: 0 2px 18px rgba(0, 0, 0, .12);
        text-decoration: none;
    }

.noticia-card,
article.format-image.hentry {
    min-height: 370px;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
}

.noticia-title,
.post-title {
    min-height: 2.8em;
    display: block;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: normal;
}

.noticia-info,
header {
    flex-shrink: 0;
}

@media (max-width: 991px) {
    .noticia-card,
    article.format-image.hentry {
        min-height: 220px;
    }
}

/* FUNCIONÁRIOS CAROUSEL - NOVO LAYOUT */
#funcionarios-secretarias-carousel .item {
    display: flex !important;
    justify-content: center;
    padding: 16px 8px;
}

/* Novo layout dos cards de funcionários */
.funcionario-card {
    position: relative;
    background: #fff;
    box-shadow: 0 4px 18px rgba(0,0,0,0.10);
    overflow: hidden; 
    display: flex;
    flex-direction: column;
    align-items: center;
    width: 290px;
    height: 420px;
    margin: 0 auto;
    font-family: 'Segoe UI', 'Arial', sans-serif;
}

.funcionario-card-top {
    background: #378123;
    width: 100%;
    height: 116px;
}

.funcionario-content {
    position: relative;
    width: 100%;
    display: flex;
    flex-direction: column;
    align-items: center;
    margin-top: -48px;
}

.funcionario-img {
    width: 90px !important;
    height: 90px !important;
    object-fit: cover;
    border-radius: 12px;
    box-shadow: 0 2px 12px rgba(0,0,0,0.12);
    background: #fff;
    display: block;
    position: absolute;
    top: -45px;
    left: 50%;
    transform: translateX(-50%);
    z-index: 2;
    border: 4px solid #fff;
}

.funcionario-nome {
    color: #fff;
    font-size: 2.25rem;
    font-weight: 600;
    text-align: center;
    margin-bottom: 0;
    padding: 0 8px 14px 8px;
    line-height: 1.25;
    max-width: 90%;
    word-break: break-word;
}

.funcionario-card-body {
    background: #f9f9f9;
    padding: 54px 18px 18px 18px;

    box-shadow: 0 2px 8px rgba(0,0,0,.08);
    margin-top: 0;
    position: relative;
    z-index: 1;
    width: 240px;
    height: 363px;
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    box-sizing: border-box;
    justify-content: flex-start;
}

.funcionario-card-title {
    color: #232323;
    font-size: 19px;
    font-weight: 700;
    margin-bottom: 20px;
    text-align: center;
    width: 100%;
    margin-top: 26px;
    overflow-wrap: break-word;
    word-break: break-word;
}

.funcionario-card-infos {
    display: flex;
    flex-direction: column;
    gap: 12px;
    width: 100%;
    margin: 0 0 22px 0;
    padding: 0;
    list-style: none;
}

    .funcionario-card-infos li {
        display: flex;
        align-items: center;
        gap: 10px;
        font-size: 15px;
        color: #232323;
        font-weight: 500;
        line-height: 1.3;
        padding: 0;
        margin: 0;
        min-height: 43px;
        box-sizing: border-box;
    }

    .funcionario-card-infos .icon {
        flex-shrink: 0;
        background: #378123;
        color: #fff;
        border-radius: 7px;
        width: 30px;
        height: 30px;
        display: flex;
        align-items: center;
        justify-content: center;
        font-size: 1.25rem;
        margin: 0;
    }

    .funcionario-card-infos li .email,
    .funcionario-card-infos li .glyphicon-envelope + span,
    .funcionario-card-infos li span.email {
        word-break: break-all;
        overflow-wrap: break-word;
        white-space: normal;
        display: inline-block;
        max-width: 170px;
    }

    .funcionario-card-infos li span:not(.icon) {
        text-align: left;
        word-break: break-word;
    }

.funcionario-card-perfil {
    text-align: center;
    margin-top: 18px;
    width: 100%;
    display: none; 
}


.funcionario-card-perfil-fixo {
    position: absolute;
    right: 14px;
    bottom: 14px;
    z-index: 3;
    display: flex;
    align-items: center;
}

    .funcionario-card-perfil-fixo a {
        font-size: 15px;
        color: #378123;
        font-weight: 700;
        text-decoration: none;
        background: transparent;
        border-radius: 4px;
        padding: 2px 8px 2px 0;
        display: flex;
        align-items: center;
        transition: background 0.15s;
    }

        .funcionario-card-perfil-fixo a:hover {
            background: #e7f5fd;
            color: #2366b8;
        }

.perfil-arrow {
    display: inline-block;
    margin-left: 4px;
    background: #d2d4d7;
    color: #fff;
    border-radius: 4px;
    width: 22px;
    height: 22px;
    font-size: 17px;
    text-align: center;
    line-height: 22px;
    font-weight: bold;
}


@media (max-width: 991px) {
    .funcionario-card {
        width: 98vw;
        max-width: 340px;
        min-height: 380px;
    }

    .funcionario-img {
        width: 72px !important;
        height: 72px !important;
        top: -36px;
    }

    .funcionario-card-body {
        padding-top: 40px;
    }
}

#funcionarios-secretarias-carousel .owl-nav {
    display: flex !important;
    justify-content: center;
    margin-top: 14px;
    position: static;
}

#funcionarios-secretarias-carousel .owl-dots {
    display: flex !important;
    justify-content: center;
    margin-top: 8px;
    gap: 6px;
}

#funcionarios-secretarias-carousel .owl-dot span {
    width: 12px;
    height: 12px;
    background: #2366b8;
    border-radius: 50%;
    display: block;
    transition: background .2s;
}

#funcionarios-secretarias-carousel .owl-dot.active span {
    background: #0094c6;
}

.owl-carousel .owl-nav button.owl-prev,
.owl-carousel .owl-nav button.owl-next {
    display: inline-block;
    background: #378123;
    color: #fff;
    border-radius: 50%;
    width: 36px;
    height: 36px;
    border: none;
    margin: 0 6px;
    font-size: 1.7rem;
    transition: background 0.2s;
}

    .owl-carousel .owl-nav button.owl-prev:hover,
    .owl-carousel .owl-nav button.owl-next:hover {
        background: #113e6e;
    }

.owl-carousel .owl-item img {
    width: 90px !important;
    height: 90px !important;
    object-fit: cover;
    border-radius: 12px;
    display: block;
}


#funcionarios-secretarias-carousel.centralizado .owl-stage {
    margin-left: auto !important;
    margin-right: auto !important;
    display: flex !important;
    justify-content: center;
}


#funcionarios-secretarias-carousel .item {
    display: flex !important;
    justify-content: center;

}