@import url('https://fonts.googleapis.com/css2?family=Assistant:wght@400;500;600;700&display=swap');

@layer jp-module-custom-priority, jp-structural-contract-priority, jp-article-custom-priority, jp-menu-template-custom-priority, jp-parameter-priority, jp-structural-boundary-priority;

/*
 * Cabecalho do site - referencia visual SEEB/SE.
 *
 * A estrutura original do Helix3 e preservada: search, logo e banner topo
 * continuam sendo renderizados nas respectivas posicoes do layout.
 */

    /* O layout usa todos os tres elementos e recalcula as colunas pela area util. */
@media (min-width: 0px) {
    #sp-header {
        height: auto;
        min-height: 0;
        background: #ffffff;
        box-shadow: none !important;
        border-bottom: 1px solid #eeeeee;
    }

    /* O z-index do estado .menu-fixed continua sendo exclusivamente do Helix3. */
    #sp-header:not(.menu-fixed) {
        z-index: 100;
    }

    #sp-header > .container {
        width: 100%;
        height: auto;
        min-height: 0;
        padding-right: var(--bs-gutter-x, .75rem);
        padding-left: var(--bs-gutter-x, .75rem);
    }

    #sp-header > .container > .row {
        display: grid;
        grid-template-columns: repeat(auto-fit, minmax(min(320px, 100%), 1fr));
        align-items: stretch;
        height: auto;
        min-height: 0;
        min-width: 0;
        margin-right: calc(-.5 * var(--bs-gutter-x, 1.5rem));
        margin-left: calc(-.5 * var(--bs-gutter-x, 1.5rem));
        container-type: inline-size;
        container-name: header-row;
    }

    #sp-header > .container > .row > #sp-search,
    #sp-header > .container > .row > #sp-logo,
    #sp-header > .container > .row > #sp-banner-topo {
        display: flex;
        align-items: stretch;
        min-width: 0;
        height: auto;
        min-height: 0;
        padding-right: 0;
        padding-left: 0;
        box-sizing: border-box;
    }

    #sp-header .sp-column {
        display: flex;
        align-items: center;
        width: 100%;
        height: auto;
        min-height: 0;
        padding: 0;
        box-sizing: border-box;
    }

    /* Busca: preserva o modulo nativo e adapta a caixa ao espaco disponivel. */
    #sp-header #sp-search .sp-column {
        min-width: 0;
        justify-content: center;
    }

    #sp-header #sp-search .sp-module,
    #sp-header #sp-search .sp-module-content {
        width: 100%;
    }

    #sp-header #sp-search form {
        position: relative;
        display: flex;
        align-items: center;
        box-sizing: border-box;
        width: min(253px, 100%);
        max-width: 100%;
        min-width: 0;
        height: auto;
        aspect-ratio: 316 / 52;
        padding: 0 20px 0 60px;
        overflow: visible;
        background: #fff;
        border: 1px solid #d8d8d8;
        border-radius: 10px;
        margin: 0 auto;
    }

    #sp-header #sp-search label {
        position: absolute;
        width: 1px;
        height: 1px;
        margin: -1px;
        padding: 0;
        overflow: hidden;
        clip: rect(0, 0, 0, 0);
        white-space: nowrap;
        border: 0;
    }

    #sp-header #sp-search .awesomplete {
        display: block;
        flex: 1 1 auto;
        width: auto;
        max-width: 100%;
        min-width: 0;
        height: 30px;
    }

    #sp-header #sp-search input {
        display: block;
        box-sizing: border-box;
        width: 100%;
        max-width: 100%;
        height: 30px;
        padding: 0;
        color: #93a0b0;
        background: #fff;
        border: 0;
        border-radius: 0;
        box-shadow: none;
        font-size: 18px;
        font-weight: 700;
        line-height: 30px;
        outline: none;
    }

    #sp-header #sp-search input::placeholder {
        color: #93a0b0;
        opacity: 1;
        font-size: 18px;
        font-weight: 700;
    }

    #sp-header #sp-search form::before {
        position: absolute;
        top: 50%;
        left: 15px;
        width: 19px;
        height: 19px;
        box-sizing: border-box;
        content: "";
        border: 2.5px solid #cf1e2b;
        border-radius: 50%;
        transform: translateY(-50%);
    }

    #sp-header #sp-search form::after {
        position: absolute;
        top: calc(50% + 5px);
        left: 29px;
        width: 9px;
        height: 2.5px;
        content: "";
        background: #cf1e2b;
        border-radius: 2px;
        transform: rotate(45deg);
        transform-origin: left center;
    }

    /* Logo: cresce ate o limite visual da referencia e encolhe sem transbordar. */
    #sp-header #sp-logo .sp-column {
        align-items: center;
        justify-content: flex-start;
    }

    #sp-header #sp-logo .logo {
        display: flex;
        align-items: center;
        justify-content: flex-start;
        width: 100%;
        height: auto;
    }

    #sp-header #sp-logo .logo > a {
        position: relative;
        left: 0;
        display: flex;
        align-items: center;
        width: auto;
        max-width: 100%;
        margin: 0;
    }

    #sp-header #sp-logo img.sp-default-logo {
        display: block;
        width: auto;
        max-width: 228px;
        max-height: 70px;
        height: auto;
        margin: 0;
    }

    /* Banner topo: o ativo local contem as duas acoes da referencia. */
    #sp-header #sp-banner-topo .sp-column,
    #sp-header #sp-banner-topo .sp-module,
    #sp-header #sp-banner-topo .sp-module-content,
    #sp-header #sp-banner-topo .mod-banners,
    #sp-header #sp-banner-topo .mod-banners__items {
        display: flex;
        align-items: center;
        justify-content: flex-end;
        width: 100%;
        max-width: 100%;
        min-width: 0;
    }

    #sp-header #sp-banner-topo .mod-banners__item {
        flex: 0 1 auto;
        width: auto;
        max-width: 100% !important;
        min-width: 0;
    }

    #sp-header #sp-banner-topo .mod-banners__image {
        display: block;
        width: auto;
        max-width: 100% !important;
        height: auto;
        margin: 0 0 0 auto;
    }
}

/* Abaixo de 1200px, os tres itens ocupam as trilhas responsivas do grid. */
@media (max-width: 1199.98px) {
    #sp-header > .container > .row > #sp-search,
    #sp-header > .container > .row > #sp-logo,
    #sp-header > .container > .row > #sp-banner-topo {
        flex: 0 0 auto;
        width: auto;
        max-width: none;
    }
}

@media (min-width: 992px) {
    #sp-header > .container > .row > #sp-search {
        padding-left: 0;
    }
}

/*
 * Desktop: a area configurada pelo estilo continua sendo a unica referencia
 * de largura. A linha flex respeita as colunas col-lg-* geradas pelo Helix3,
 * mantendo a busca, a logo e o Banner Topo nas posicoes definidas no template.
 */
@media (min-width: 1200px) {
    #sp-header > .container > .row.row2 {
        display: flex;
        flex-wrap: nowrap;
    }

    #sp-header #sp-search .sp-column {
        justify-content: flex-start;
    }

    #sp-header #sp-search form {
        margin: 0 auto 0 0;
        padding-right: 12px;
        padding-left: 46px;
    }

    #sp-header #sp-search input,
    #sp-header #sp-search input::placeholder {
        font-size: 16px;
    }

    #sp-header #sp-logo .sp-column {
        justify-content: center;
    }

    #sp-header #sp-banner-topo .sp-column,
    #sp-header #sp-banner-topo .sp-module,
    #sp-header #sp-banner-topo .sp-module-content,
    #sp-header #sp-banner-topo .mod-banners,
    #sp-header #sp-banner-topo .mod-banners__items {
        justify-content: flex-end;
    }

    #sp-header #sp-banner-topo .mod-banners__item,
    #sp-header #sp-banner-topo .mod-banners__image {
        margin-right: 0;
        margin-left: auto;
    }
}

/*
 * Home desktop: as extremidades dos modulos de conteudo usam a mesma linha
 * externa de 1200px do Header, preservando os gutters entre colunas internas.
 */
@media (min-width: 1200px) {
    body.itemid-101 #sp-destaque > .container > .row > #sp-noticias-destaque {
        padding-left: 0;
    }

    body.itemid-101 #sp-destaque > .container > .row > #sp-cards-destaque {
        padding-right: 0;
    }

    body.itemid-101 #sp-cards-central > .container > .row > [id="sp-cards-central"],
    body.itemid-101 #sp-campanhas > .container > .row > [id="sp-campanhas"],
    body.itemid-101 #sp-campanhas > .container > .row > [id="sp-campanhas"] > .sp-column,
    body.itemid-101 #sp-agenda > .container > .row > [id="sp-agenda"],
    body.itemid-101 #sp-galeria > .container > .row > [id="sp-galeria"],
    body.itemid-101 #sp-footer > .container > .row > #sp-footer1 {
        padding-left: 0;
        padding-right: 0;
    }

    body.itemid-101 #sp-conteudo-central > .container > .row > #sp-mais-noticias {
        padding-left: 0;
    }

    body.itemid-101 #sp-conteudo-central > .container > .row > #sp-jornal-resistencia {
        padding-right: 0;
    }

    :root:not(#mod-banners-css-priority#mod-banners-css-priority#mod-banners-css-priority) body.itemid-101 #sp-campanhas > .container > .row > [id="sp-campanhas"] > .sp-column {
        padding-left: 0 !important;
        padding-right: 0 !important;
    }
    /* O viewport estendido protege sombra, zoom e arraste sem aumentar o card. */
    body.itemid-101 #sp-cards-central .raxo-cards--feed-horizontal .raxo-cards-viewport {
        width: calc(100% + (2 * var(--raxo-hover-motion-gutter, 28px)));
        max-width: none;
        margin-inline: calc(var(--raxo-hover-motion-gutter, 28px) * -1);
        padding-inline: var(--raxo-hover-motion-gutter, 28px);
    }

    /* A galeria tem padding visual proprio; somente o gutter horizontal sai. */
    body.itemid-101 #sp-galeria #mod-joomgallery-122 {
        padding-left: 0 !important;
        padding-right: 0 !important;
    }
}

/* Abaixo de tres colunas, a busca ocupa a linha superior. */
@media (max-width: 991px) {
    #sp-header #sp-search form {
        margin-right: auto;
        margin-left: auto;
    }

    #sp-header #sp-banner-topo .sp-column,
    #sp-header #sp-banner-topo .sp-module,
    #sp-header #sp-banner-topo .sp-module-content,
    #sp-header #sp-banner-topo .mod-banners,
    #sp-header #sp-banner-topo .mod-banners__items {
        justify-content: center;
    }

    #sp-header #sp-banner-topo .mod-banners__item,
    #sp-header #sp-banner-topo .mod-banners__image {
        margin-right: auto;
        margin-left: auto;
    }
}

/* Seções do layout sem conteúdo renderizável não ocupam espaço visual. */
.body-innerwrapper > .personalizado-section-empty {
    display: none !important;
}

/*
 * Rodape principal: composicao restrita as quatro posicoes bottom existentes.
 * A newsletter nao faz parte do layout local e permanece fora deste escopo.
 */
#sp-bottom {
    box-sizing: border-box;
    background: #fafafa !important;
    padding: 32px 0 !important;
    box-shadow: 0 2px 15px 5px rgba(0, 0, 0, 0.10);
    margin-top: 35px;
}

#sp-bottom > .container {
    box-sizing: border-box;
    width: 100%;
    max-width: 1168.8px !important;
    margin-right: auto;
    margin-left: auto;
    padding-right: 0;
    padding-left: 0;
}

#sp-bottom > .container > .row {
    display: flex;
    flex-wrap: nowrap;
    align-items: stretch;
    justify-content: space-between;
    margin-right: 0;
    margin-left: 0;
}

#sp-bottom > .container > .row > [id="sp-bottom1"],
#sp-bottom > .container > .row > [id="sp-bottom2"],
#sp-bottom > .container > .row > [id="sp-bottom3"],
#sp-bottom > .container > .row > [id="sp-bottom4"] {
    box-sizing: border-box;
    flex: 0 0 auto;
    width: auto;
    max-width: none;
    min-width: 0;
    padding-top: 0;
    padding-bottom: 0;
}

#sp-bottom > .container > .row > [id="sp-bottom1"] {
    width: 200px;
    max-width: 200px;
}

#sp-bottom > .container > .row > [id="sp-bottom2"],
#sp-bottom > .container > .row > [id="sp-bottom3"] {
    width: 207px;
    max-width: 207px;
    border-left: 0.5px solid #d8d8d8;
    padding-left: 32px;
}

#sp-bottom > .container > .row > [id="sp-bottom4"] {
    width: 332px;
    max-width: 332px;
    border-left: 0.5px solid #d8d8d8;
    padding-left: 30px;
}

#sp-bottom .sp-column,
#sp-bottom .sp-module,
#sp-bottom .sp-module-content {
    width: 100%;
    min-width: 0;
}

#sp-bottom .sp-module {
    margin: 0;
}

#sp-bottom .sp-module-title {
    margin: 0 0 24px;
    color: #323232;
    font-family: Assistant, "Assistant Fallback", "Open Sans", sans-serif;
    font-size: 16px !important;
    font-weight: 700 !important;
    line-height: 20px;
    text-transform: none;
}

#sp-bottom .sp-module ul.nav.menu {
    display: flex !important;
    flex-direction: column;
    gap: 18px;
    margin: 0 !important;
    padding: 0 !important;
    list-style: none;
}

#sp-bottom .sp-module ul.nav.menu > li {
    display: block;
    margin: 0 !important;
    padding: 0;
    border: 0 !important;
}

#sp-bottom .sp-module ul.nav.menu > li.item-101 {
    display: none !important;
}

#sp-bottom #sp-bottom3 .sp-module ul.nav.menu > li.item-1207 {
    order: -1;
}

#sp-bottom .sp-module ul.nav.menu > li > a,
#sp-bottom .sp-module ul.nav.menu > li > a.separator {
    display: inline-flex;
    align-items: center;
    gap: 0;
    margin: 0;
    padding: 0;
    color: #686868;
    font-family: Assistant, "Assistant Fallback", "Open Sans", sans-serif;
    font-size: 14px;
    font-weight: 500;
    line-height: 20px;
    text-decoration: none;
}

#sp-bottom .sp-module ul.nav.menu > li > a::before,
#sp-bottom .sp-module ul.nav.menu > li > a::after {
    content: none !important;
}

#sp-bottom #sp-bottom2 .sp-module ul.nav.menu > li.parent > a.separator::after {
    width: 7px;
    height: 7px;
    margin-left: 9px;
    margin-top: -4px;
    content: "" !important;
    border-right: 1.5px solid #686868;
    border-bottom: 1.5px solid #686868;
    transform: rotate(45deg);
}

#sp-bottom #sp-bottom2 .sp-module ul.nav.menu > li.parent {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
}

#sp-bottom #sp-bottom2 .sp-module ul.nav.menu > li.parent > a.separator {
    cursor: pointer;
}

#sp-bottom #sp-bottom2 .sp-module ul.nav.menu > li.parent > a.separator::after {
    transition: transform 160ms ease;
}

#sp-bottom #sp-bottom2 .sp-module ul.nav.menu > li.parent.personalizado-footer-menu-open > a.separator::after {
    transform: rotate(225deg);
}

#sp-bottom #sp-bottom2 .sp-module ul.nav.menu > li.parent > ul {
    display: flex;
    flex-direction: column;
    gap: 8px;
    max-height: 0;
    margin: 0 0 0 8px;
    padding: 0;
    overflow: hidden;
    list-style: none;
    opacity: 0;
    visibility: hidden;
    transition: max-height 180ms ease, margin-top 180ms ease, opacity 180ms ease, visibility 180ms ease;
}

#sp-bottom #sp-bottom2 .sp-module ul.nav.menu > li.parent.personalizado-footer-menu-open > ul {
    max-height: 220px;
    margin-top: 8px;
    opacity: 1;
    visibility: visible;
}

#sp-bottom #sp-bottom2 .sp-module ul.nav.menu > li.parent > ul > li {
    margin: 0;
    padding: 0;
    border: 0 !important;
}

#sp-bottom #sp-bottom2 .sp-module ul.nav.menu > li.parent > ul > li > a {
    display: block;
    padding: 0;
    color: #686868;
    font-family: Assistant, "Assistant Fallback", "Open Sans", sans-serif;
    font-size: 14px;
    font-weight: 500;
    line-height: 12px;
    text-decoration: none;
}

#sp-bottom #sp-bottom2 .sp-module ul.nav.menu > li.parent > ul > li > a::before,
#sp-bottom #sp-bottom2 .sp-module ul.nav.menu > li.parent > ul > li > a::after {
    content: none !important;
}

#sp-bottom #sp-bottom1 .sp-column {
    display: flex;
    align-items: center;
    justify-content: center;
    height: 100%;
    min-height: 100%;
}

#sp-bottom #sp-bottom1 .sp-module,
#sp-bottom #sp-bottom1 .sp-module-content {
    display: flex;
    align-items: center;
    height: 100%;
}

#sp-bottom #sp-bottom1 .mod-redes-sociais {
    width: 100%;
    max-width: 200px;
    margin: 0 auto;
}

#sp-bottom #sp-bottom1 .mod-redes-sociais__logo {
    width: 200px;
    max-width: 100%;
    margin-right: auto;
    margin-bottom: 16px;
    margin-left: auto;
}

#sp-bottom #sp-bottom1 .mod-redes-sociais__links {
    justify-content: center;
}

#sp-bottom #sp-bottom1 .mod-redes-sociais__icon {
    width: 28px;
    height: 28px;
    flex-basis: 28px;
}

#sp-bottom #sp-bottom4 .mod-dados-contato__list {
    gap: 24px !important;
}

#sp-bottom #sp-bottom4 .mod-dados-contato__item {
    align-items: center;
    gap: 12px;
    border: 0 !important;
}

#sp-bottom #sp-bottom4 .mod-dados-contato__icon {
    width: 24px;
    height: 24px;
    flex-basis: 24px;
    color: #686868;
}

#sp-bottom #sp-bottom4 .mod-dados-contato__link,
#sp-bottom #sp-bottom4 .mod-dados-contato__value {
    color: #686868 !important;
    font-family: Assistant, "Assistant Fallback", "Open Sans", sans-serif;
    font-size: 14px !important;
    font-weight: 500;
    line-height: 0px !important;
}

#sp-bottom #sp-bottom4 .mod-dados-contato__icon--address + .mod-dados-contato__value {
    line-height: 18px !important;
}

#sp-bottom #sp-bottom4 .mod-dados-contato__value--address .mod-dados-contato__line {
    display: block;
    white-space: normal;
}

#sp-footer {
    box-sizing: border-box;
    padding: 16px 0 !important;
    background: #302d2d !important;
    color: #fff !important;
    font-family: Assistant, "Assistant Fallback", "Open Sans", sans-serif;
    font-size: 12px;
}

#sp-footer a {
    color: #fff !important;
}

@media (min-width: 960px) {
    #sp-bottom #sp-bottom4 .mod-dados-contato__icon--address + .mod-dados-contato__value {
        white-space: normal;
        word-break: keep-all;
        overflow-wrap: normal;
    }

    #sp-bottom #sp-bottom4 .mod-dados-contato__value--address .mod-dados-contato__line {
        display: block;
        white-space: nowrap;
    }
}

@media (max-width: 959.98px) {
    #sp-bottom > .container {
        padding-right: 16px;
        padding-left: 16px;
    }

    #sp-bottom > .container > .row {
        display: grid;
        grid-template-columns: repeat(12, minmax(0, 1fr));
        row-gap: 0;
    }

    #sp-bottom > .container > .row > [id="sp-bottom1"] {
        grid-column: 1 / -1;
        width: 200px;
        max-width: 200px;
        margin: 0 auto 32px;
    }

    #sp-bottom > .container > .row > [id="sp-bottom2"],
    #sp-bottom > .container > .row > [id="sp-bottom3"],
    #sp-bottom > .container > .row > [id="sp-bottom4"] {
        width: auto;
        max-width: none;
        grid-column: span 4;
        padding-left: 16px;
    }
}

@media (max-width: 689.98px) {
    #sp-bottom {
        padding-right: 32px !important;
        padding-left: 32px !important;
    }

    #sp-bottom > .container {
        padding-right: 0;
        padding-left: 0;
    }

    #sp-bottom > .container > .row {
        display: flex;
        flex-direction: column;
        align-items: center;
    }

    #sp-bottom > .container > .row > [id="sp-bottom1"] {
        width: 200px;
        max-width: 200px;
        margin: 0 auto;
        padding-bottom: 24px;
    }

    #sp-bottom > .container > .row > [id="sp-bottom2"],
    #sp-bottom > .container > .row > [id="sp-bottom3"],
    #sp-bottom > .container > .row > [id="sp-bottom4"] {
        width: 100%;
        max-width: 300px;
        margin: 0 auto;
        border-top: 0;
        border-right: 0;
        border-bottom: 0.5px solid #d8d8d8;
        border-left: 0;
        padding: 24px 0;
    }

    #sp-bottom > .container > .row > [id="sp-bottom2"] {
        padding-top: 24px;
    }

    #sp-bottom > .container > .row > [id="sp-bottom4"] {
        border-bottom: 0;
    }
}

/*
 * Fale Conosco: somente o item de menu 1206 recebe a composicao do site de
 * referencia; cabecalho, navegacao e demais paginas permanecem intocados.
 */
body.itemid-1206 #sp-main-body {
    box-sizing: border-box;
    width: 100% !important;
    max-width: 1168.8px !important;
    margin-right: auto !important;
    margin-left: auto !important;
    padding: 32px 0 40px !important;
}

body.itemid-1206 #sp-main-body > .container,
body.itemid-1206 #sp-main-body > .container > .row,
body.itemid-1206 #sp-main-body > .container > .row > #sp-component {
    width: 100%;
    max-width: none;
    margin-right: 0;
    margin-left: 0;
    padding-right: 0;
    padding-left: 0;
}

body.itemid-1206 .contact-reference {
    box-sizing: border-box;
    padding-right: 12px;
    padding-left: 12px;
    color: #323232;
    font-family: Assistant, "Assistant Fallback", "Open Sans", sans-serif;
}

body.itemid-1206 .contact-reference__title {
    box-sizing: border-box;
    margin: 0;
    padding: 0 0 8px;
    border-bottom: 3px solid #302d2d;
    color: #302d2d;
    font-family: Assistant, "Assistant Fallback", "Open Sans", sans-serif;
    font-size: 22px;
    font-weight: 600;
    line-height: 24px;
}

body.itemid-1206 .contact-reference__grid {
    display: grid;
    grid-template-columns: minmax(0, 7fr) minmax(0, 5fr);
    gap: 40px;
    margin-top: 40px;
}

body.itemid-1206 .contact-reference__column {
    min-width: 0;
}

body.itemid-1206 .contact-reference__column > h2 {
    margin: 0 0 16px;
    color: #323232;
    font-family: Assistant, "Assistant Fallback", "Open Sans", sans-serif;
    font-size: 18px;
    font-weight: 700;
    line-height: 24px;
}

body.itemid-1206 .contact-reference__form form {
    display: flex;
    flex-direction: column;
    gap: 16px;
    margin: 0;
}

body.itemid-1206 .contact-reference__field,
body.itemid-1206 .contact-reference__message {
    width: 100%;
    min-width: 0;
}

body.itemid-1206 .contact-reference__field input,
body.itemid-1206 .contact-reference__message textarea {
    box-sizing: border-box;
    display: block;
    width: 100%;
    min-height: 42px;
    margin: 0;
    padding: 8px 16px;
    border: 1px solid #cacaca;
    border-radius: 4px;
    background: #fff;
    color: #323232;
    box-shadow: none;
    font-family: Assistant, "Assistant Fallback", "Open Sans", sans-serif;
    font-size: 16px;
    font-weight: 500;
    line-height: 24px;
}

body.itemid-1206 .contact-reference__message textarea {
    height: 72px;
    min-height: 72px;
    overflow: auto;
    resize: vertical;
}

body.itemid-1206 .contact-reference__field input::placeholder,
body.itemid-1206 .contact-reference__message textarea::placeholder {
    color: #8b8b8b;
    opacity: 1;
}

body.itemid-1206 .contact-reference__field input:focus,
body.itemid-1206 .contact-reference__message textarea:focus {
    border-color: #8b8b8b;
    outline: 2px solid rgba(205, 33, 34, 0.18);
    outline-offset: 1px;
}

body.itemid-1206 .contact-reference__message {
    display: flex;
    flex-direction: column;
    gap: 8px;
}

body.itemid-1206 .contact-reference__message p {
    margin: 0;
    color: #686868;
    font-size: 14px;
    font-weight: 400;
    line-height: 16px;
}

body.itemid-1206 .contact-reference__submit {
    align-self: flex-start;
    min-height: 40px;
    padding: 8px 16px;
    border: 0;
    border-radius: 4px;
    background: #cd2122;
    color: #fff;
    cursor: pointer;
    font-family: Assistant, "Assistant Fallback", "Open Sans", sans-serif;
    font-size: 16px;
    font-weight: 600;
    line-height: 24px;
}

body.itemid-1206 .contact-reference__submit:hover,
body.itemid-1206 .contact-reference__submit:focus-visible {
    background: #b91d1e;
}

body.itemid-1206 .contact-reference__details {
    display: flex;
    flex-direction: column;
    gap: 8px;
}

body.itemid-1206 .contact-reference__details p {
    margin: 0;
    color: #434343;
    font-size: 16px;
    font-weight: 400;
    line-height: 30px;
}

body.itemid-1206 .contact-reference__details strong {
    font-weight: 600;
}

body.itemid-1206 .contact-reference__address {
    margin-top: 8px !important;
    line-height: 20px !important;
}

body.itemid-1206 .contact-reference .form-control.invalid,
body.itemid-1206 .contact-reference .form-control[aria-invalid="true"] {
    border-color: #cd2122;
}

@media (max-width: 1023.98px) {
    body.itemid-1206 .contact-reference__grid {
        grid-template-columns: minmax(0, 1fr);
        gap: 40px;
    }
}

@media (max-width: 575.98px) {
    body.itemid-1206 #sp-main-body {
        padding: 32px 16px 40px !important;
    }

    body.itemid-1206 .contact-reference__grid {
        margin-top: 32px;
    }
}

/*
 * Aparencia compartilhada dos breadcrumbs para layouts do Joomla/Helix.
 * A geometria e tratada uma vez pelo contrato estrutural abaixo.
 */
@layer jp-structural-boundary-priority {
html body.site.site #sp-main-body#sp-main-body :where(
    .jp-directory__breadcrumb,
    .jp-category-cards__breadcrumb,
    .jp-agenda__breadcrumb,
    .jp-article-layout__breadcrumb,
    nav.mod-breadcrumbs__wrapper,
    nav[aria-label="Breadcrumb"]
) {
    position: relative !important;
    font-family: Assistant, "Assistant Fallback", "Open Sans", sans-serif !important;
    font-size: 14px !important;
    font-weight: 500 !important;
    line-height: 16px !important;
    text-align: left !important;
}

html body.site.site #sp-main-body#sp-main-body :where(
    .jp-directory__breadcrumb,
    .jp-category-cards__breadcrumb,
    .jp-agenda__breadcrumb,
    .jp-article-layout__breadcrumb,
    nav.mod-breadcrumbs__wrapper,
    nav[aria-label="Breadcrumb"]
) :where(ol, ul, .breadcrumb, .jp-directory__breadcrumb-list, .jp-category-cards__breadcrumb-list, .jp-agenda__breadcrumb-list) {
    display: flex !important;
    flex-wrap: wrap !important;
    align-items: center !important;
    gap: 0 !important;
    margin: 0 !important;
    padding: 0 !important;
    list-style: none !important;
    color: inherit !important;
    font: inherit !important;
}

html body.site.site #sp-main-body#sp-main-body :where(
    .jp-directory__breadcrumb,
    .jp-category-cards__breadcrumb,
    .jp-agenda__breadcrumb,
    .jp-article-layout__breadcrumb,
    nav.mod-breadcrumbs__wrapper,
    nav[aria-label="Breadcrumb"]
) :where(li, .breadcrumb-item, .jp-directory__breadcrumb-item, .jp-category-cards__breadcrumb-item, .jp-agenda__breadcrumb-item) {
    display: inline-flex !important;
    align-items: center !important;
    margin: 0 !important;
    padding: 0 !important;
    color: inherit;
    font: inherit !important;
}

html body.site.site #sp-main-body#sp-main-body :where(
    .jp-directory__breadcrumb,
    .jp-category-cards__breadcrumb,
    .jp-agenda__breadcrumb,
    .jp-article-layout__breadcrumb,
    nav.mod-breadcrumbs__wrapper,
    nav[aria-label="Breadcrumb"]
) :where(li, .breadcrumb-item, .jp-directory__breadcrumb-item, .jp-category-cards__breadcrumb-item, .jp-agenda__breadcrumb-item)
  + :where(li, .breadcrumb-item, .jp-directory__breadcrumb-item, .jp-category-cards__breadcrumb-item, .jp-agenda__breadcrumb-item)::before {
    display: inline-block !important;
    float: none !important;
    width: auto !important;
    height: auto !important;
    margin: 0 12px !important;
    padding: 0 !important;
    content: "\203A" !important;
    color: #8b8b8b !important;
    font-family: Assistant, "Assistant Fallback", "Open Sans", sans-serif !important;
    font-size: 18px !important;
    font-weight: 500 !important;
    line-height: 16px !important;
}

html body.site.site #sp-main-body#sp-main-body :where(
    .jp-directory__breadcrumb,
    .jp-category-cards__breadcrumb,
    .jp-agenda__breadcrumb,
    .jp-article-layout__breadcrumb,
    nav.mod-breadcrumbs__wrapper,
    nav[aria-label="Breadcrumb"]
) :where(a, .jp-category-cards__breadcrumb-link) {
    color: #8b8b8b !important;
    font: inherit !important;
    text-decoration: none !important;
}

html body.site.site #sp-main-body#sp-main-body :where(
    .jp-directory__breadcrumb,
    .jp-category-cards__breadcrumb,
    .jp-agenda__breadcrumb,
    .jp-article-layout__breadcrumb,
    nav.mod-breadcrumbs__wrapper,
    nav[aria-label="Breadcrumb"]
) :where(a, .jp-category-cards__breadcrumb-link):is(:hover, :focus-visible) {
    color: #302d2d !important;
    text-decoration: underline !important;
}

html body.site.site #sp-main-body#sp-main-body :where(
    .jp-directory__breadcrumb,
    .jp-category-cards__breadcrumb,
    .jp-agenda__breadcrumb,
    .jp-article-layout__breadcrumb,
    nav.mod-breadcrumbs__wrapper,
    nav[aria-label="Breadcrumb"]
) :where([aria-current="page"], .breadcrumb-item.active, .mod-breadcrumbs__here) {
    color: #cd2122 !important;
    font: inherit !important;
}

html body.site.site #sp-main-body#sp-main-body :where(
    .jp-directory__breadcrumb,
    .jp-category-cards__breadcrumb,
    .jp-agenda__breadcrumb,
    .jp-article-layout__breadcrumb,
    nav.mod-breadcrumbs__wrapper,
    nav[aria-label="Breadcrumb"]
) :where(.divider, .icon-location, .mod-breadcrumbs__divider) {
    display: none !important;
}

@media (max-width: 575.98px) {
/*
 * JoomGallery keeps the complete hierarchy in one horizontal breadcrumb.
 * This exception belongs to the same priority layer as the generic template
 * rule above, so the global responsive wrapping cannot split the path.
 */
html body.site.site #sp-main-body#sp-main-body .jg-gallery-page > .jg-personalized-breadcrumb > .jp-category-cards__breadcrumb-list {
    display: flex !important;
    flex-wrap: nowrap !important;
    min-width: 0 !important;
    max-width: 100% !important;
    overflow: hidden !important;
    white-space: nowrap !important;
}

html body.site.site #sp-main-body#sp-main-body .jg-gallery-page > .jg-personalized-breadcrumb > .jp-category-cards__breadcrumb-list > .jp-category-cards__breadcrumb-item {
    flex: 0 1 auto !important;
    min-width: 0 !important;
    max-width: 100% !important;
    white-space: nowrap !important;
}

html body.site.site #sp-main-body#sp-main-body .jg-gallery-page > .jg-personalized-breadcrumb > .jp-category-cards__breadcrumb-list > .jp-category-cards__breadcrumb-item:last-child {
    flex: 1 1 4rem !important;
    min-width: 4rem !important;
    overflow: hidden !important;
    text-overflow: ellipsis !important;
}

html body.site.site #sp-main-body#sp-main-body .jg-gallery-page > .jg-personalized-breadcrumb > .jp-category-cards__breadcrumb-list > .jp-category-cards__breadcrumb-item:not(:last-child) > span,
html body.site.site #sp-main-body#sp-main-body .jg-gallery-page > .jg-personalized-breadcrumb > .jp-category-cards__breadcrumb-list > .jp-category-cards__breadcrumb-item:not(:last-child) > a,
html body.site.site #sp-main-body#sp-main-body .jg-gallery-page > .jg-personalized-breadcrumb > .jp-category-cards__breadcrumb-list > .jp-category-cards__breadcrumb-item:last-child > span,
html body.site.site #sp-main-body#sp-main-body .jg-gallery-page > .jg-personalized-breadcrumb > .jp-category-cards__breadcrumb-list > .jp-category-cards__breadcrumb-item:last-child > a {
    display: block !important;
    min-width: 0 !important;
    max-width: 100% !important;
    overflow: hidden !important;
    text-overflow: ellipsis !important;
    white-space: nowrap !important;
}
}
}

/* O contato usa separador inline e a mesma aparencia global. */
html body.site.site #sp-main-body#sp-main-body .contact-reference__breadcrumb {
    display: flex !important;
    align-items: center !important;
    gap: 0 !important;
}
html body.site.site #sp-main-body#sp-main-body .contact-reference__breadcrumb > span[aria-hidden="true"] {
    margin: 0 12px !important;
}
/*
 * A posicao do breadcrumb e um contrato comum aos templates e menus.
 * As regras da JoomGallery seguem isoladas, como definidas pelo componente.
 */
@layer jp-structural-contract-priority {
    html body.site.site:has(#sp-main-body :is(
        .jp-directory__breadcrumb,
        .jp-category-cards__breadcrumb,
        .jp-agenda__breadcrumb,
        .jp-article-layout__breadcrumb,
        .contact-reference__breadcrumb,
        nav.mod-breadcrumbs__wrapper,
        nav[aria-label="Breadcrumb"]
    )) #sp-main-body#sp-main-body:not(:has(.jg-gallery-page)) {
        padding-top: 30px !important;
    }

    html body.site.site section#sp-main-body#sp-main-body#sp-main-body:not(:has(.jg-gallery-page)) :is(
        .jp-directory__breadcrumb,
        .jp-category-cards__breadcrumb,
        .jp-agenda__breadcrumb,
        .jp-article-layout__breadcrumb,
        .contact-reference__breadcrumb,
        nav.mod-breadcrumbs__wrapper,
        nav[aria-label="Breadcrumb"]
    ):not(.jg-personalized-breadcrumb) {
        position: relative !important;
        inset: auto !important;
        left: auto !important;
        box-sizing: border-box !important;
        width: min(1176px, calc(100vw - 24px)) !important;
        min-width: 0 !important;
        max-width: 100% !important;
        min-height: 16px !important;
        height: auto !important;
        margin: 0 auto 32px !important;
        padding: 0 !important;
        transform: none !important;
        overflow: hidden !important;
        white-space: nowrap !important;
    }

    html body.site.site section#sp-main-body#sp-main-body#sp-main-body:not(:has(.jg-gallery-page))
    .jp-article-layout:has(> .jp-article-layout__breadcrumb) {
        padding-top: 0 !important;
    }

    html body.site.site section#sp-main-body#sp-main-body#sp-main-body:not(:has(.jg-gallery-page))
    .jp-article-layout--contact-basic {
        padding-top: 0 !important;
        padding-left: 0 !important;
        padding-right: 0 !important;
    }

    html body.site.site section#sp-main-body#sp-main-body#sp-main-body:not(:has(.jg-gallery-page))
    .jp-meu-banco__breadcrumb-top {
        padding-top: 0 !important;
    }

    @media (min-width: 992px) {
        #sp-header:not(.menu-fixed):has(#sp-menu .sp-megamenu-parent > li.personalizado-menu-open),
        #sp-header:not(.menu-fixed):has(#sp-menu .sp-megamenu-parent > li.sp-has-child:hover),
        #sp-header:not(.menu-fixed):has(#sp-menu .sp-megamenu-parent > li.sp-has-child:focus-within) {
            position: relative !important;
            z-index: 1040 !important;
        }

        #sp-header > .container > .row.row2 {
            position: relative !important;
            z-index: 1 !important;
        }

        #sp-header > .container > .row.row2 > #sp-menu {
            position: relative !important;
            z-index: 1 !important;
        }
    }
}

@media (min-width: 640px) and (max-width: 991px) {
    #sp-header > .container > .row > #sp-search {
        grid-column: 1 / -1;
    }

    #sp-header #sp-search .sp-column {
        justify-content: center;
    }
}

/* Com uma unica coluna, a busca tambem fica centralizada. */
@media (max-width: 639px) {
    #sp-header #sp-search .sp-column {
        justify-content: center;
    }
}

/* Usa a largura real do container para as transicoes, inclusive em 991/992px. */
@container header-row (max-width: 959px) {
    #sp-header > .container > .row > #sp-search,
    #sp-header > .container > .row > #sp-logo,
    #sp-header > .container > .row > #sp-banner-topo,
    #sp-header .sp-column {
        min-height: 0px;
    }

    #sp-header .sp-column {
        padding-top: 0px;
        padding-bottom: 8px;
    }

    #sp-header #sp-banner-topo .sp-column,
    #sp-header #sp-banner-topo .sp-module,
    #sp-header #sp-banner-topo .sp-module-content,
    #sp-header #sp-banner-topo .mod-banners,
    #sp-header #sp-banner-topo .mod-banners__items {
        justify-content: center;
    }

    #sp-header #sp-banner-topo .mod-banners__item,
    #sp-header #sp-banner-topo .mod-banners__image {
        margin-right: auto;
        margin-left: auto;
    }
}

@container header-row (min-width: 640px) and (max-width: 959px) {
    #sp-header > .container > .row > #sp-search {
        grid-column: 1 / -1;
    }

    #sp-header #sp-search .sp-column {
        justify-content: center;
    }
}

@container header-row (max-width: 639px) {
    #sp-header #sp-search .sp-column {
        justify-content: center;
    }
}

/* A barra superior permanece vazia no layout local. */
#sp-top-bar {
    display: none !important;
}

/* Barra de navegacao desktop: 50px vermelha, com links brancos. */
@media (min-width: 992px) {
    section#sp-menu {
        position: relative;
        z-index: 90;
        height: 50px;
        background: #cd2122;
    }

    section#sp-menu > .container {
        width: 100%;
        height: 50px;
        padding-right: 0;
        padding-left: 0;
    }

    section#sp-menu > .container > .row {
        display: flex;
        flex-wrap: nowrap;
        height: 50px;
        margin-right: 0;
        margin-left: 0;
    }

    section#sp-menu > .container > .row > [id="sp-menu"] {
        flex: 0 0 100%;
        width: 100%;
        max-width: 100%;
        height: 50px;
        padding-right: 0;
        padding-left: 0;
    }

    section#sp-menu > .container > .row > [id="sp-menu"] > .sp-column,
    section#sp-menu .sp-megamenu-wrapper {
        width: 100%;
        height: 50px;
    }

    section#sp-menu .sp-megamenu-wrapper {
        display: flex;
        align-items: stretch;
    }

    section#sp-menu .sp-megamenu-parent {
        display: flex !important;
        align-items: stretch;
        float: none;
        width: 100%;
        height: 50px;
        margin: 0;
        padding: 0;
    }

    section#sp-menu .sp-megamenu-parent > li {
        display: flex;
        align-items: center;
        height: 50px;
    }

    section#sp-menu .sp-megamenu-parent > li > a {
        display: flex;
        align-items: center;
        justify-content: center;
        min-height: 42px;
        padding: 8px 22px;
        color: #fff;
        border-bottom: 3px solid transparent;
        font-family: Assistant, "Open Sans", sans-serif;
        font-size: 16px;
        font-weight: 600;
        line-height: 24px;
        text-decoration: none;
        text-transform: uppercase;
    }

    section#sp-menu .sp-megamenu-parent > li.active > a,
    section#sp-menu .sp-megamenu-parent > li.current-item > a {
        color: #fff;
        border-bottom-color: #fff;
    }

    section#sp-menu .sp-megamenu-parent > li > a:hover,
    section#sp-menu .sp-megamenu-parent > li > a:focus {
        color: #fff;
        background: transparent;
        text-decoration: none;
    }
}

/* Menu mobile: mantem o acionador do offcanvas e evita links comprimidos. */
@media (max-width: 991px) {
    section#sp-menu,
    section#sp-menu > .container,
    section#sp-menu > .container > .row,
    section#sp-menu > .container > .row > [id="sp-menu"],
    section#sp-menu > .container > .row > [id="sp-menu"] > .sp-column,
    section#sp-menu .sp-megamenu-wrapper {
        height: 50px;
    }

    section#sp-menu {
        position: relative;
        z-index: 90;
        display: block;
        background: #cd2122;
    }

    section#sp-menu > .container {
        width: 100%;
        padding-right: 0;
        padding-left: 0;
    }

    section#sp-menu > .container > .row {
        display: flex;
        flex-wrap: nowrap;
        margin-right: 0;
        margin-left: 0;
    }

    section#sp-menu > .container > .row > [id="sp-menu"] {
        flex: 0 0 100%;
        width: 100%;
        max-width: 100%;
        padding-right: 0;
        padding-left: 0;
    }

    section#sp-menu .sp-megamenu-parent {
        display: none !important;
    }

    section#sp-menu .sp-megamenu-wrapper {
        display: flex;
        align-items: center;
    }

    section#sp-menu #offcanvas-toggler {
        display: flex !important;
        align-items: center;
        justify-content: center;
        width: 50px;
        height: 50px;
        margin-left: 16px;
        color: #fff;
        font-size: 20px;
    }
}

/* ==========================================================================
 * BARRA VERMELHA SUPERIOR (ROW1) - 48px a 50px
 * ========================================================================== */
#sp-header > .container > .row.row1 {
    position: relative;
    isolation: isolate;
    display: grid;
    grid-template-columns: minmax(0, 1fr) minmax(0, 253px);
    gap: 16px;
    align-items: center;
    height: 48px;
    min-height: 48px;
    max-height: 50px;
    background-color: #cd2122;
}

/* Estende apenas a pintura; a caixa e o conteudo permanecem no container */
#sp-header > .container > .row.row1::before {
    content: "";
    position: absolute;
    inset: 0;
    z-index: -1;
    background-color: inherit;
    box-shadow: 0 0 0 100vmax #cd2122;
    clip-path: inset(0 -100vmax);
    pointer-events: none;
}

#sp-header > .container > .row.row1 > #sp-redes-topo {
    grid-column: 1;
    width: 100%;
    max-width: none;
    min-width: 0;
    height: 48px;
    min-height: 48px;
    max-height: 50px;
    padding: 0;
    display: flex;
    align-items: center;
}

#sp-header > .container > .row.row1 > #sp-search {
    grid-column: 2;
    width: 100%;
    max-width: none;
    min-width: 0;
    height: 48px;
    min-height: 48px;
    max-height: 50px;
    padding: 0;
    display: flex;
    align-items: center;
}

#sp-header > .container > .row.row1 > #sp-redes-topo > .sp-column,
#sp-header > .container > .row.row1 > #sp-search > .sp-column {
    justify-content: flex-end;
    height: 48px;
    min-height: 48px;
    max-height: 50px;
    padding: 0;
    align-items: center;
}

#sp-header > .container > .row.row1 > #sp-redes-topo .sp-module,
#sp-header > .container > .row.row1 > #sp-redes-topo .sp-module-content {
    width: 100%;
    display: flex;
    align-items: center;
    justify-content: flex-end;
}

#sp-header > .container > .row.row1 > #sp-search form {
    width: min(195px, 100%);
    margin: 0 0 0 auto;
}

/* ==========================================================================
 * ICONES DAS REDES SOCIAIS (MOD-REDES-SOCIAIS-142)
 * Facebook, Instagram, WhatsApp, Webmail
 * ========================================================================== */
#sp-header > .container > .row.row1 #mod-redes-sociais-142 .mod-redes-sociais__links {
    display: flex !important;
    align-items: center !important;
    justify-content: flex-end !important;
    gap: 24px !important; /* Espacamento consistente entre 22px e 26px */
    margin: 0 !important;
    padding: 0 !important;
    list-style: none !important;
}

#sp-header > .container > .row.row1 #mod-redes-sociais-142 .mod-redes-sociais__item {
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    margin: 0 !important;
    padding: 0 !important;
    border: none !important;
    background: transparent !important;
    box-shadow: none !important;
}

#sp-header > .container > .row.row1 #mod-redes-sociais-142 .mod-redes-sociais__link {
    display: inline-flex !important;
    align-items: center !important;
    justify-content: center !important;
    color: #ffffff !important;
    text-decoration: none !important;
    line-height: 1 !important;
}

#sp-header > .container > .row.row1 #mod-redes-sociais-142 .mod-redes-sociais__icon {
    display: inline-flex !important;
    align-items: center !important;
    justify-content: center !important;
    width: 20px !important;
    height: 20px !important;
}

#sp-header > .container > .row.row1 #mod-redes-sociais-142 .mod-redes-sociais__icon svg {
    display: block !important;
    width: 20px !important;
    height: 20px !important;
    fill: currentColor !important;
    overflow: visible !important;
}

/* Facebook: sem circulo/fundo individual, glifo branco e escala proporcional para equiparar peso visual */
#sp-header > .container > .row.row1 #mod-redes-sociais-142 .mod-redes-sociais__link--facebook {
    color: #ffffff !important;
}

#sp-header > .container > .row.row1 #mod-redes-sociais-142 .mod-redes-sociais__link--facebook .mod-redes-sociais__icon > svg > circle {
    display: none !important;
}

#sp-header > .container > .row.row1 #mod-redes-sociais-142 .mod-redes-sociais__link--facebook .mod-redes-sociais__icon > svg > path {
    fill: currentColor !important;
}

#sp-header > .container > .row.row1 #mod-redes-sociais-142 .mod-redes-sociais__link--facebook .mod-redes-sociais__icon svg {
    transform: scale(1.35) !important;
    transform-origin: center center !important;
}

/* ==========================================================================
 * FAIXA BRANCA PRINCIPAL (ROW2) - ~90px
 * Logomarca, Menu Principal e Botoes de Acao
 * ========================================================================== */
#sp-header > .container > .row.row2 {
    display: flex !important;
    flex-wrap: nowrap !important;
    align-items: center !important;
    justify-content: space-between !important;
    height: 90px !important;
    min-height: 90px !important;
    max-height: 90px !important;
    margin-right: calc(-.5 * var(--bs-gutter-x, 1.5rem)) !important;
    margin-left: calc(-.5 * var(--bs-gutter-x, 1.5rem)) !important;
    padding: 0 !important;
    box-sizing: border-box !important;
}

#sp-header > .container > .row.row2 > #sp-logo,
#sp-header > .container > .row.row2 > #sp-menu,
#sp-header > .container > .row.row2 > #sp-banner-topo {
    display: flex !important;
    align-items: center !important;
    height: 90px !important;
    min-height: 90px !important;
    max-height: 90px !important;
    padding-top: 0 !important;
    padding-bottom: 0 !important;
    margin-top: 0 !important;
    margin-bottom: 0 !important;
    box-sizing: border-box !important;
}

#sp-header > .container > .row.row2 > #sp-logo {
    flex: 0 0 auto !important;
    width: auto !important;
    max-width: none !important;
}

#sp-header > .container > .row.row2 > #sp-menu {
    flex: 1 1 auto !important;
    width: auto !important;
    max-width: none !important;
    justify-content: center !important;
}

#sp-header > .container > .row.row2 > #sp-banner-topo {
    flex: 0 0 auto !important;
    width: auto !important;
    max-width: none !important;
    justify-content: flex-end !important;
}

#sp-header > .container > .row.row2 .sp-column {
    display: flex !important;
    align-items: center !important;
    height: 90px !important;
    min-height: 90px !important;
    max-height: 90px !important;
    padding-top: 0 !important;
    padding-bottom: 0 !important;
    margin-top: 0 !important;
    margin-bottom: 0 !important;
    box-sizing: border-box !important;
}

/* Logomarca: proporcao preservada, perfeitamente centralizada verticalmente */
#sp-header #sp-logo .sp-column {
    justify-content: flex-start !important;
}

#sp-header #sp-logo .logo {
    display: flex !important;
    align-items: center !important;
    height: 90px !important;
    margin: 0 !important;
}

#sp-header #sp-logo .logo > a {
    display: flex !important;
    align-items: center !important;
    height: auto !important;
    width: auto !important;
    margin: 0 !important;
}

#sp-header #sp-logo img.sp-default-logo {
    display: block !important;
    width: auto !important;
    max-width: 228px !important;
    max-height: 70px !important;
    height: auto !important;
}

/* Menu Principal: tipografia, cores, espacamento */
#sp-header #sp-menu .sp-megamenu-wrapper {
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    height: 90px !important;
    width: 100% !important;
}

#sp-header #sp-menu .sp-megamenu-parent {
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    gap: 22px !important; /* Espacamento compacto entre 24px e 30px */
    float: none !important;
    height: 90px !important;
    margin: 0 !important;
    padding: 0 !important;
    list-style: none !important;
}

/* Oculta itens vazios ou sem link */
#sp-header #sp-menu .sp-megamenu-parent > li:empty,
#sp-header #sp-menu .sp-megamenu-parent > li:not(:has(> a)) {
    display: none !important;
}

#sp-header #sp-menu .sp-megamenu-parent > li {
    display: flex !important;
    align-items: center !important;
    position: relative !important;
    height: 90px !important;
    padding: 0 !important;
    margin: 0 !important;
}

#sp-header #sp-menu .sp-megamenu-parent > li > a,
#sp-header #sp-menu .sp-megamenu-parent > li > span {
    display: inline-flex !important;
    align-items: center !important;
    height: auto !important;
    line-height: normal !important;
    padding: 0 !important;
    margin: 0 !important;
    font-family: inherit !important;
    font-size: 14px !important;
    font-weight: 700 !important;
    color: #111111 !important; /* Normal = preto */
    text-transform: none !important;
    letter-spacing: normal !important;
    text-decoration: none !important;
    border: none !important;
    border-bottom: none !important;
    background: transparent !important;
    box-shadow: none !important;
    transition: color 0.15s ease !important;
}

/* Hover no item do menu */
#sp-header #sp-menu .sp-megamenu-parent > li > a:hover,
#sp-header #sp-menu .sp-megamenu-parent > li > a:focus,
#sp-header #sp-menu .sp-megamenu-parent > li:hover > a {
    color: #F01B1D !important; /* Hover = vermelho */
    background: transparent !important;
    border: none !important;
    text-decoration: none !important;
}

/* Item ativo */
#sp-header #sp-menu .sp-megamenu-parent > li.active > a,
#sp-header #sp-menu .sp-megamenu-parent > li.current-item > a {
    color: #F01B1D !important; /* Ativo = vermelho */
    background: transparent !important;
    border: none !important;
    text-decoration: none !important;
}

/* Setas dos submenus: acompanham cor e alinhamento */
#sp-header #sp-menu .sp-megamenu-parent > li.sp-has-child > a:after,
#sp-header #sp-menu .sp-megamenu-parent > li.sp-has-child > span:after {
    display: inline-block !important;
    margin-left: 6px !important;
    font-size: 11px !important;
    line-height: 1 !important;
    color: inherit !important;
    float: none !important;
    vertical-align: middle !important;
    transition: color 0.15s ease !important;
}

/* ==========================================================================
 * SUBMENUS DROPDOWN (Conforme Imagem de Referencia)
 * - Painel branco com linha superior vermelha (border-top 3px #F01B1D)
 * - Sombra suave sem bordas laterais/inferiores
 * - Itens em tipografia limpa, cor grafite (#444444), sem uppercase forçado
 * - Linha divisória sutil cinza claro (#eeeeee) entre os itens
 * - Espaçamento generoso e remoção de setas/ícones decorativos nos itens
 * ========================================================================== */
#sp-header #sp-menu .sp-megamenu-parent .sp-dropdown,
section#sp-menu .sp-megamenu-parent .sp-dropdown {
    background: #ffffff !important;
    border: none !important;
    border-top: 3px solid #F01B1D !important;
    box-shadow: 0 6px 18px rgba(0, 0, 0, 0.12) !important;
    border-radius: 0 0 4px 4px !important;
    padding: 0 !important;
    min-width: 250px !important;
}

#sp-header #sp-menu .sp-megamenu-parent .sp-dropdown .sp-dropdown-inner,
section#sp-menu .sp-megamenu-parent .sp-dropdown .sp-dropdown-inner {
    padding: 0 !important;
    background: transparent !important;
    box-shadow: none !important;
}

#sp-header #sp-menu .sp-megamenu-parent .sp-dropdown .sp-dropdown-items,
section#sp-menu .sp-megamenu-parent .sp-dropdown .sp-dropdown-items {
    padding: 0 !important;
    margin: 0 !important;
    list-style: none !important;
}

#sp-header #sp-menu .sp-megamenu-parent .sp-dropdown li.sp-menu-item,
section#sp-menu .sp-megamenu-parent .sp-dropdown li.sp-menu-item {
    border-bottom: 1px solid #eeeeee !important;
    margin: 0 !important;
    padding: 0 !important;
}

#sp-header #sp-menu .sp-megamenu-parent .sp-dropdown li.sp-menu-item:last-child,
section#sp-menu .sp-megamenu-parent .sp-dropdown li.sp-menu-item:last-child {
    border-bottom: none !important;
}

#sp-header #sp-menu .sp-megamenu-parent .sp-dropdown li.sp-menu-item > a,
#sp-header #sp-menu .sp-megamenu-parent .sp-dropdown li.sp-menu-item > span,
section#sp-menu .sp-megamenu-parent .sp-dropdown li.sp-menu-item > a,
section#sp-menu .sp-megamenu-parent .sp-dropdown li.sp-menu-item > span {
    display: block !important;
    padding: 12px 20px !important;
    color: #444444 !important;
    font-size: 15px !important;
    font-weight: 500 !important;
    line-height: 1.4 !important;
    text-transform: none !important;
    text-decoration: none !important;
    background: transparent !important;
    transition: color 0.15s ease, background-color 0.15s ease !important;
    white-space: nowrap !important;
}

/* Remove qualquer icone/seta antes ou depois do texto nos submenus */
#sp-header #sp-menu .sp-megamenu-parent .sp-dropdown li.sp-menu-item > a:before,
#sp-header #sp-menu .sp-megamenu-parent .sp-dropdown li.sp-menu-item > span:before,
section#sp-menu .sp-megamenu-parent .sp-dropdown li.sp-menu-item > a:after,
section#sp-menu .sp-megamenu-parent .sp-dropdown li.sp-menu-item > span:after {
    display: none !important;
    content: none !important;
}

/* Hover e estado ativo nos submenus */
#sp-header #sp-menu .sp-megamenu-parent .sp-dropdown li.sp-menu-item > a:hover,
#sp-header #sp-menu .sp-megamenu-parent .sp-dropdown li.sp-menu-item > a:focus,
section#sp-menu .sp-megamenu-parent .sp-dropdown li.sp-menu-item > a:hover,
section#sp-menu .sp-megamenu-parent .sp-dropdown li.sp-menu-item > a:focus {
    color: #F01B1D !important;
    background-color: #fafafa !important;
}

#sp-header #sp-menu .sp-megamenu-parent .sp-dropdown li.sp-menu-item.active > a,
section#sp-menu .sp-megamenu-parent .sp-dropdown li.sp-menu-item.active > a {
    color: #F01B1D !important;
    background-color: #fafafa !important;
    font-weight: 600 !important;
}

/* Botoes Canal de Denuncias, Area do Socio, Associe-se: intactos e centralizados */
#sp-header #sp-banner-topo .sp-column,
#sp-header #sp-banner-topo .sp-module,
#sp-header #sp-banner-topo .sp-module-content,
#sp-header #sp-banner-topo .mod-banners,
#sp-header #sp-banner-topo .mod-banners__items {
    display: flex !important;
    align-items: center !important;
    justify-content: flex-end !important;
    height: 90px !important;
    padding-top: 0 !important;
    padding-bottom: 0 !important;
    margin-top: 0 !important;
    margin-bottom: 0 !important;
}

/* ==========================================================================
 * AJUSTES RESPONSIVOS MOBILE / TABLET
 * ========================================================================== */
@media (max-width: 991px) {
    #sp-header > .container > .row.row1 {
        box-sizing: border-box;
        anchor-name: --topo-row1;
        grid-template-columns: minmax(0, max-content) minmax(0, 1fr);
        padding-right: 60px;
    }

    #sp-header > .container > .row.row1 > #sp-search .sp-module,
    #sp-header > .container > .row.row1 > #sp-search .sp-module-content,
    #sp-header > .container > .row.row1 > #sp-search .sp-module-content > search {
        min-width: 0;
        max-width: 100%;
    }

    body section#sp-menu #offcanvas-toggler {
        top: 24px;
        right: 8px;
        left: auto;
        box-sizing: border-box;
        width: 40px;
        height: 40px;
        margin: 0;
        padding: 0;
        color: #fff;
        line-height: 1;
        transform: translateY(-50%);
    }

    body section#sp-menu #offcanvas-toggler:focus-visible {
        outline: 2px solid currentColor;
        outline-offset: 2px;
    }

    @supports (top: anchor(--topo-row1 center)) {
        body section#sp-menu #offcanvas-toggler {
            top: anchor(--topo-row1 center);
        }
    }

    #sp-header > .container > .row.row2 {
        flex-wrap: wrap !important;
        height: auto !important;
        min-height: 70px !important;
        max-height: none !important;
    }

    #sp-header > .container > .row.row2 > #sp-logo,
    #sp-header > .container > .row.row2 > #sp-menu,
    #sp-header > .container > .row.row2 > #sp-banner-topo,
    #sp-header > .container > .row.row2 .sp-column {
        height: auto !important;
        min-height: 50px !important;
        max-height: none !important;
    }
}

@media (max-width: 480px) {
    #sp-header > .container > .row.row1 {
        grid-template-columns: minmax(0, max-content) minmax(80px, 1fr);
        gap: 8px;
    }

    #sp-header > .container > .row.row1 > #sp-search form {
        width: min(253px, 100%);
        max-width: 100%;
        min-width: 0;
        min-height: 38px;
        aspect-ratio: auto;
        padding-right: 8px;
        padding-left: 36px;
    }

    #sp-header > .container > .row.row1 > #sp-search form::before {
        left: 10px;
    }

    #sp-header > .container > .row.row1 > #sp-search form::after {
        left: 24px;
    }

    #sp-header > .container > .row.row1 > #sp-search input,
    #sp-header > .container > .row.row1 > #sp-search input::placeholder {
        font-size: 15px;
    }
}


/* Responsive header: compact desktop navigation and right-aligned Helix toggle. */
@media (min-width: 992px) and (max-width: 1350px) {
    #sp-header > .container > .row.row2 {
        display: grid !important;
        grid-template-columns: minmax(190px, 225px) minmax(0, 1fr) minmax(230px, 270px) !important;
        align-items: center !important;
        gap: 8px !important;
        width: 100% !important;
        height: auto !important;
        min-height: 90px !important;
    }

    #sp-header > .container > .row.row2 > #sp-logo,
    #sp-header > .container > .row.row2 > #sp-menu,
    #sp-header > .container > .row.row2 > #sp-banner-topo {
        width: auto !important;
        max-width: 100% !important;
        min-width: 0 !important;
        margin: 0 !important;
        padding-inline: 0 !important;
    }

    #sp-header > .container > .row.row2 > #sp-logo { grid-column: 1; }
    #sp-header > .container > .row.row2 > #sp-menu { grid-column: 2; }
    #sp-header > .container > .row.row2 > #sp-banner-topo { grid-column: 3; }

    #sp-header #sp-menu .sp-column,
    #sp-header #sp-menu .sp-megamenu-wrapper {
        width: 100% !important;
        min-width: 0 !important;
    }

    #sp-header #sp-menu .sp-megamenu-parent {
        display: flex !important;
        align-items: center !important;
        justify-content: space-between !important;
        gap: clamp(3px, .45vw, 7px) !important;
        width: 100% !important;
        min-width: 0 !important;
        flex-wrap: nowrap !important;
    }

    #sp-header #sp-menu .sp-megamenu-parent > li { min-width: 0 !important; flex: 0 1 auto !important; }

    #sp-header #sp-menu .sp-megamenu-parent > li > a {
        padding-inline: clamp(2px, .3vw, 5px) !important;
        font-size: clamp(11px, .98vw, 13px) !important;
        white-space: nowrap !important;
    }

    #sp-header #sp-menu #offcanvas-toggler { display: none !important; }

    #sp-header #sp-banner-topo .sp-column,
    #sp-header #sp-banner-topo .sp-module,
    #sp-header #sp-banner-topo .sp-module-content,
    #sp-header #sp-banner-topo .mod-banners,
    #sp-header #sp-banner-topo .mod-banners__items {
        width: 100% !important;
        height: auto !important;
        min-width: 0 !important;
    }

    #sp-header #sp-banner-topo .mod-banners__items { flex-wrap: nowrap !important; gap: 6px !important; }

    #sp-header #sp-banner-topo .mod-banners__items > a {
        flex: 1 1 0 !important;
        min-width: 0 !important;
        min-height: 38px !important;
        padding: 7px 4px !important;
        font-size: clamp(9px, .82vw, 11px) !important;
        line-height: 1.12 !important;
        white-space: normal !important;
        text-align: center !important;
    }
}

@media (max-width: 991.98px) {
    #sp-header > .container > .row.row2 {
        display: grid !important;
        grid-template-columns: minmax(0, 1fr) 44px !important;
        align-items: center !important;
        gap: 8px !important;
        width: 100% !important;
        height: auto !important;
        min-height: 76px !important;
        max-height: none !important;
    }

    #sp-header > .container > .row.row2 > #sp-logo,
    #sp-header > .container > .row.row2 > #sp-menu,
    #sp-header > .container > .row.row2 > #sp-banner-topo {
        width: auto !important;
        max-width: 100% !important;
        min-width: 0 !important;
        height: auto !important;
        min-height: 0 !important;
        margin: 0 !important;
        padding-inline: 0 !important;
    }

    #sp-header > .container > .row.row2 > #sp-logo { grid-column: 1; grid-row: 1; }
    #sp-header > .container > .row.row2 > #sp-menu { grid-column: 2; grid-row: 1; }
    #sp-header > .container > .row.row2 > #sp-banner-topo { grid-column: 1 / -1; grid-row: 2; }

    #sp-header #sp-menu .sp-column,
    #sp-header #sp-menu .sp-megamenu-wrapper {
        display: flex !important;
        align-items: center !important;
        justify-content: flex-end !important;
        width: 100% !important;
        min-width: 0 !important;
        height: auto !important;
    }

    #sp-header #sp-menu .sp-megamenu-parent { display: none !important; }

    #sp-header #sp-menu #offcanvas-toggler {
        position: static !important;
        inset: auto !important;
        display: flex !important;
        align-items: center !important;
        justify-content: center !important;
        float: none !important;
        width: 44px !important;
        height: 44px !important;
        margin: 0 !important;
        padding: 0 !important;
        transform: none !important;
    }

    #sp-header #sp-banner-topo .sp-column,
    #sp-header #sp-banner-topo .sp-module,
    #sp-header #sp-banner-topo .sp-module-content,
    #sp-header #sp-banner-topo .mod-banners,
    #sp-header #sp-banner-topo .mod-banners__items {
        display: flex !important;
        align-items: center !important;
        justify-content: center !important;
        width: 100% !important;
        height: auto !important;
        min-width: 0 !important;
        padding: 0 !important;
    }

    #sp-header #sp-banner-topo .mod-banners__items { flex-wrap: nowrap !important; gap: 5px !important; }

    #sp-header #sp-banner-topo .mod-banners__items > a {
        flex: 1 1 0 !important;
        min-width: 0 !important;
        min-height: 42px !important;
        padding: 7px 4px !important;
        font-size: clamp(8px, 1.1vw, 10px) !important;
        line-height: 1.08 !important;
        white-space: normal !important;
        text-align: center !important;
    }
}

@media (min-width: 768px) and (max-width: 991.98px) {
    #sp-header > .container > .row.row2 {
        grid-template-columns: minmax(220px, 1fr) minmax(0, 1.4fr) 44px !important;
        min-height: 88px !important;
    }

    #sp-header > .container > .row.row2 > #sp-logo { grid-column: 1; grid-row: 1; }
    #sp-header > .container > .row.row2 > #sp-banner-topo { grid-column: 2; grid-row: 1; }
    #sp-header > .container > .row.row2 > #sp-menu { grid-column: 3; grid-row: 1; }
}

@media (min-width: 560px) and (max-width: 767.98px) {
    #sp-header > .container > .row.row2 {
        grid-template-columns: minmax(0, 220px) minmax(0, 1fr) 40px !important;
    }

    #sp-header > .container > .row.row2 > #sp-logo { grid-column: 1; grid-row: 1; }
    #sp-header > .container > .row.row2 > #sp-banner-topo { grid-column: 2; grid-row: 1; }
    #sp-header > .container > .row.row2 > #sp-menu { grid-column: 3; grid-row: 1; }

    #sp-header #sp-menu #offcanvas-toggler { width: 40px !important; }

    #sp-header #sp-banner-topo .mod-banners__items { gap: 4px !important; }

    #sp-header #sp-banner-topo .mod-banners__items > a {
        min-height: 42px !important;
        padding: 7px 3px !important;
        font-size: clamp(8px, 1.45vw, 10px) !important;
    }
}

@media (max-width: 559.98px) {
    #sp-header > .container > .row.row2 > #sp-logo { grid-column: 1; grid-row: 1; }
    #sp-header > .container > .row.row2 > #sp-menu { grid-column: 2; grid-row: 1; }
    #sp-header > .container > .row.row2 > #sp-banner-topo { grid-column: 1 / -1; grid-row: 2; }
}

/* Target the actual nested banner markup: items are DIVs containing button wrappers and links. */
@media (max-width: 1350px) {
    #sp-header #sp-banner-topo .mod-banners__items { display: flex !important; }

    #sp-header #sp-banner-topo .mod-banners__items > .mod-banners__item {
        flex: 1 1 0 !important;
        min-width: 0 !important;
        margin: 0 !important;
        box-sizing: border-box !important;
    }

    #sp-header #sp-banner-topo .mod-banners__item > div {
        display: flex !important;
        width: 100% !important;
        min-width: 0 !important;
        margin: 0 !important;
    }

    #sp-header #sp-banner-topo .mod-banners__item a[class*="btn-"] {
        display: flex !important;
        align-items: center !important;
        justify-content: center !important;
        width: 100% !important;
        min-width: 0 !important;
        white-space: normal !important;
        text-align: center !important;
    }
}

@media (min-width: 992px) and (max-width: 1350px) {
    #sp-header #sp-banner-topo .mod-banners__items { gap: 6px !important; }

    #sp-header #sp-banner-topo .mod-banners__item a[class*="btn-"] {
        min-height: 38px !important;
        padding: 7px 4px !important;
        font-size: clamp(9px, .82vw, 11px) !important;
        line-height: 1.12 !important;
    }
}

@media (max-width: 991.98px) {
    #sp-header #sp-banner-topo .mod-banners__items { gap: 5px !important; }

    #sp-header #sp-banner-topo .mod-banners__item a[class*="btn-"] {
        min-height: 42px !important;
        padding: 7px 4px !important;
        font-size: clamp(8px, 1.1vw, 10px) !important;
        line-height: 1.08 !important;
    }
}

@media (min-width: 560px) and (max-width: 767.98px) {
    #sp-header #sp-banner-topo .mod-banners__items { gap: 4px !important; }

    #sp-header #sp-banner-topo .mod-banners__item a[class*="btn-"] {
        padding: 7px 3px !important;
        font-size: clamp(8px, 1.45vw, 10px) !important;
    }
}


.jp-category-cards__page-title {
    margin: 16px 0 26px;
    padding: 0 0 10px;
    border-bottom: 3px solid #333333;
}
.jp-category-cards__page-title h1 {
    margin: 0;
    color: #111111;
    font-size: 24px;
    font-weight: 500;
    line-height: 1.25;
}
.jp-category-cards--template-archives .jp-archive-card__date {
    margin-top: 20px !important;
}

body.com-joomgallery #sp-main-body {
    padding-top: 30px !important;
    padding-bottom: 15px !important;
}