/* 
    Theme Name: CPT Nacional 
    Theme URI: https: //eita.coop.br
    Author: Cooperativa EITA 
    Author URI: https: //eita.coop.br/
    Template: blocksy 
    Version: 1.8.32 
    License: GNU General Public License v2 or later 
    License URI: https: //www.gnu.org/licenses/gpl-2.0.html    
    Requires at least: 5.2 
    Requires PHP: 7.0 Tested up to: 5.5 
    Text Domain: cpt 
    Tags: blog,
 */
.poppins {
    font-family: Poppins
}

.sora {
    font-family: Sora
}

.mb0 {
    margin-bottom: 0 !important;
}

.mb05 {
    margin-bottom: .5rem !important;
}

.mb1 {
    margin-bottom: 1rem !important;
}

.z-1 {
    z-index: -1;
}

.margin_auto img {
    margin: auto !important;
}

h1 {
    margin-bottom: 4.5rem !important;
}

h1,
h2 {
    text-transform: uppercase !important;
}

.wp-block-button__link:hover {
    color: white !important;
}

.botao_invertido a {
    background: transparent;
    border: 1px solid;
}

.box_titulo {
    padding: 8px !important;
}

.wp-block-getwid-content-slider {
    margin-bottom: 0 !important;
}

/* Ajustes para o Getwid ter gap de 2.5rem */
@media (min-width: 1000px) {
    :root {
        --theme-content-spacing: 2.5rem;
    }
}

.getwid-columns {
    margin-left: -22.5px;
    margin-right: -22.5px;
}

.getwid-columns-4>*,
.getwid-columns-3>* {
    padding-left: 22.5px;
    padding-right: 22.5px;
}

.wp-block-getwid-custom-post-type__post {
    margin-top: 2.5rem;
}

/* A variável theme-content-spacing tbm é usada para o espaço após o parágrafo; precisou então diminuir */
p {
    margin-block-end: calc(var(--theme-content-spacing) / 2) !important;
}

.wp-block-getwid-post-carousel.has-slides-gap-normal .slick-slide {
    margin: 0 22.5px;
}

.wp-block-getwid-post-carousel.has-slides-gap-normal .slick-list {
    margin: 0 -22.5px;
}

/* Padronização do border-width */
:root :where(.wp-block-button.is-style-outline--1 .wp-block-button__link),
:root :where(.wp-block-button.is-style-outline--2 .wp-block-button__link),
:root :where(.wp-block-button.is-style-outline--3 .wp-block-button__link) {
    border-width: 1px !important;
}

hr {
    height: 1px !important;
}


#DivisorMenu {
    z-index: 1;
    background-repeat: repeat-x;
}

#DivisorMenu+div {
    padding-top: 140px !important;
}

#DivisorMenu+#Voltar {
    padding-top: 50px !important;
    padding-bottom: 8px;
}

#DivisorMenu+#Slider {
    padding-top: 0px !important;
}

@media (max-width: 782px) {
    #DivisorMenu+#Slider {
        padding-top: 25px !important;
    }
}


/* Toggle */
.cpt_toggle .wp-block-getwid-toggle__row {
    border-top: 1px solid var(--theme-palette-color-4);
    padding: .5em 1em;
}

.cpt_toggle .wp-block-getwid-toggle__row:last-child {
    border-bottom: 1px solid var(--theme-palette-color-4);
}

.cpt_toggle .wp-block-getwid-toggle__header-wrapper {
    margin-bottom: 0 !important;
    border: 0 !important;
}

.cpt_toggle .wp-block-getwid-toggle__header {
    padding-left: 0;
}

.cpt_toggle h3 a {
    color: var(--theme-palette-color-4);
}

.cpt_toggle .wp-block-getwid-toggle__content {
    border: 0 !important;
    padding: 0 0 1em;
}

.cpt_toggle .wp-block-getwid-toggle .wp-block-getwid-toggle__header-wrapper a {
    justify-content: space-between;
}

.cpt_toggle_fundo_azul .wp-block-getwid-toggle__row {
    border-color: white !important;
}

.cpt_toggle_fundo_azul h3 a {
    color: white !important;
}

.cpt_toggle_fundo_azul .wp-block-getwid-toggle__row {
    border-color: white;
}

.lista_especial {
    list-style: none;
    padding: 0;
}

.lista_especial li {
    border-top: 1px solid var(--theme-palette-color-4);
    padding: 1rem 0;
    font-size: 21px;
    font-weight: 700;
}

.lista_especial li:last-child {
    border-bottom: 1px solid var(--theme-palette-color-4);
}

/* Vozes da Resistência */

#Vozes-da-Resistencia h3 {
    font-size: 18px;
    font-weight: 400;
    line-height: 28px;
    text-transform: uppercase;
    color: var(--theme-palette-color-1);
}

#Vozes-da-Resistencia p {
    font-size: 24px;
    font-weight: 300;
    line-height: 36px;
    color: var(--theme-palette-color-1);
}

#Vozes-da-Resistencia img {
    max-height: 400px;
}

#Vozes-da-Resistencia .slick-dots {
    bottom: -20px;
}

#Vozes-da-Resistencia .slick-dots li.slick-active button::before {
    color: white;
}

#Vozes-da-Resistencia .slick-dots li button::before {
    opacity: 1 !important;
    color: var(--theme-palette-color-1);
}

/* CPT Pelo Brasil */
.box_verde {
    background: var(--theme-palette-color-7);
    color: white;
    padding: .75rem 0;
    border: 1px solid var(--theme-palette-color-4);
    border-radius: 4px;
}

.box_verde ul {
    list-style-type: square;
    margin-bottom: .5em;
}

.toggle_icons {
    font-size: 30px;
    padding-left: 1em;
    display: flex;
    gap: 1.5rem;
}

.toggle_icons a i {
    color: white;
}

.toggle_icons a:hover i {
    color: var(--theme-palette-color-1);
}

/* Parcerias */
.parcerias {
    display: flex;
    flex-wrap: wrap;
    gap: 50px;
}

.parcerias img {
    max-height: 150px;
    max-width: 200px;
}

.parcerias>a {
    width: 210px;
}

/* Povos e Comunidades Tradicionais */
.fotos_pct {
    margin-top: 60px !important;
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    grid-gap: 20px;
}

@media (max-width: 999px) {
    .fotos_pct {
        grid-template-columns: repeat(1, 1fr);
    }
}

.fotos_pct img {
    width: 100%;
    height: 200px;
    object-fit: cover;
}

/* Apoie */

.botoes_apoie a.wp-element-button {
    background: var(--theme-palette-color-7);
    border-radius: 0;
    text-transform: none;
    font-size: 21px;
    font-weight: 700;
}

/* Notícias */
.noticias_grid img {
    height: 216px;
    object-fit: cover;
}

.noticias_grid .wp-block-getwid-template-post-featured-image {
    margin-bottom: 1rem;
}

#NoticiasForm {
    margin-bottom: 2.5rem;
}

#NoticiasForm>div {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    grid-gap: 1rem;
}



#NoticiasForm select,
#NoticiasForm input {
    background-color: white;
    border: 1px solid var(--theme-palette-color-4);
    height: 50px;
}

.noticia-card {
    margin-bottom: 2.5rem;
}

.noticia-card .ler_noticia {
    text-transform: uppercase;
    text-decoration: underline;
    font-size: 12px;
    font-weight: 700;
    display: block;
    line-height: 1;
}

.noticia-card h3 a {
    color: var(--theme-palette-color-4);
    line-height: 28px;
}

.noticia-card time,
.noticia-card .martirio {
    font-size: 12px;
    font-weight: 400;
}

.noticia-card img,
.noticia-card h3,
.noticia-card time,
.noticia-card .martirio {
    margin-bottom: 0.5rem !important;
}

.opiniao h3 a {
    color: var(--theme-palette-color-4);
}

.opiniao a.wp-block-read-more {
    color: white;
}

.martires h3 {
    font-size: 18px;
    line-height: 21px !important;
}

.martires h3 a {
    line-height: unset;
}

.martires #FiltersForm>div {
    grid-template-columns: 1fr;
}

.martires input {
    background-color: white;
    border: 1px solid var(--theme-palette-color-4);
    height: 50px;
    max-width: 500px;
    display: block;
}

.martires .noticias_grid img {
    aspect-ratio: 1/1;
    height: unset;
    min-height: 200px;
}

.jornal_pastoral_da_terra h3 {
    color: white;
}

.jornal_pastoral_da_terra img {
    object-fit: cover;
    aspect-ratio: 1/1;
    height: unset;
}

.biblioteca label {
    color: white;
}

.biblioteca #PostsGrid {
    grid-template-columns: 1fr !important;
}

.biblioteca-card {
    background: white;
    border-radius: 4px;
    height: 80px;
    padding: 1rem;
    margin-bottom: 0 !important;
}

.biblioteca-card a {
    display: flex;
    flex-wrap: nowrap;
    gap: 20px;
    align-items: center;
    height: 100%;
}

.biblioteca-card img {
    height: 60px;
    width: 60px;
    object-fit: cover;
}

.biblioteca-card h3 {
    width: 100%;
    font-weight: 500;
    text-decoration: underline;
    color: var(--theme-palette-color-1);
}

.biblioteca-card span {
    width: 100px;
}

.biblioteca-card time {
    width: 100px;
    text-align: right;
    font-size: 18px;
    margin-right: 1rem;
}

.biblioteca-card h3,
.biblioteca-card img,
.biblioteca-card time {
    margin-bottom: 0 !important;
}

@media (max-width: 782px) {
    .biblioteca-card {
        height: unset;
    }

    .biblioteca-card a {
        flex-direction: column;
        align-items: initial;
    }

    .biblioteca-card time {
        text-align: unset;
    }
}

.caderno-de-conflitos #PostsGrid {
    grid-template-columns: 1fr !important;
}

.caderno-de-conflitos-card {
    display: grid;
    grid-template-columns: 268px 1fr;
    height: 380px;
    background: var(--theme-palette-color-5);
    padding: 1rem;
    grid-gap: 2.5rem;
    align-items: center;
    color: var(--theme-palette-color-4);
}

@media (max-width: 781px) {
    .caderno-de-conflitos-card {
        grid-template-columns: 1fr;
        height: auto;
    }
}

.caderno-de-conflitos-card img {
    height: 100% !important;
}

.caderno-de-conflitos-card .conflitos-content {
    align-self: center;
}

.caderno-de-conflitos-card .saiba_mais {
    color: var(--theme-palette-color-2) !important;
    text-transform: uppercase;
    font-size: 16px;
    font-weight: 600;
    text-decoration:
        underline;
}

.caderno-de-conflitos-card .buttons {
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.caderno-de-conflitos-card .button {
    max-width: 130px;
    background: transparent;
    color: var(--theme-palette-color-2);
    border: 1px solid var(--theme-palette-color-4);
    text-transform: unset;
}

#Massacres .wp-block-getwid-template-post-featured-background-image__content {
    align-self: end;
}

#DivisorMenu+#MassacresMenu {
    padding-top: 63px !important;
}

.menu_interno {
    list-style: none;
}

.menu_interno li {
    display: inline-block;
    margin-right: 2.5rem;
    font-weight: 700;
}

@media (max-width: 781px) {
    #Metodologia {
        padding: 0 !important;
    }
}

/* Conheça também - Campanhas */
.wp-block-getwid-post-carousel.custom-post-type-campanha .slick-track>* {
    height: 360px;
}

.wp-block-getwid-post-carousel.custom-post-type-campanha .wp-block-getwid-template-post-title {
    background: #171C21;
    padding: 0.75rem 1rem;
}

.wp-block-getwid-post-carousel.custom-post-type-campanha [data-slick-index="0"] h3 {
    background: var(--theme-palette-color-2);
}

.wp-block-getwid-post-carousel.custom-post-type-campanha [data-slick-index="1"] h3 {
    background: #000;
}

.wp-block-getwid-post-carousel.custom-post-type-campanha [data-slick-index="2"] h3 {
    background: #F7A743;
}

.wp-block-getwid-post-carousel.custom-post-type-campanha [data-slick-index="3"] h3 {
    background: var(--theme-palette-color-2);
}

.wp-block-getwid-post-carousel.custom-post-type-campanha [data-slick-index="4"] h3 {
    background: var(--theme-palette-color-7);
}


.wp-block-getwid-post-carousel.custom-post-type-campanha .wp-block-getwid-template-post-featured-background-image__content {
    align-self: end;
}

.wp-block-getwid-post-carousel.custom-post-type-campanha .slick-next,
.wp-block-getwid-post-carousel.custom-post-type-campanha .slick-prev {
    top: calc(100% + 4.5rem);
}

.wp-block-getwid-post-carousel .slick-prev::before,
.wp-block-getwid-content-slider__wrapper .slick-prev::before {
    content: url(/wp-content/uploads/2025/04/left-chevron-white.svg);
    opacity: 1;
}

.wp-block-getwid-post-carousel .slick-next::before,
.wp-block-getwid-content-slider__wrapper .slick-next::before {
    content: url(/wp-content/uploads/2025/04/right-large-white.svg);
    opacity: 1;
}

.wp-block-getwid-post-carousel img {
    height: 350px;
    object-fit: cover;
    width: 100%;
}

.wp-block-getwid-post-carousel.custom-post-type-campanha .slick-prev {
    left: calc(50% - 50px);
}

.wp-block-getwid-post-carousel.custom-post-type-campanha .slick-next {
    right: calc(50% - 50px);
}

/* ROMARIAS EMERGENCIAL*/

#Romarias {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    grid-gap: 2.5rem;
}

@media (max-width: 999px) and (min-width: 782px) {
    #Romarias {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 781px) {
    #Romarias {
        grid-template-columns: 1fr;
    }
}

#Romarias img {
    width: 100%;
    height: 270px;
    object-fit: cover;
}

#Romarias p {
    font-size: 13px;
}

#Romarias h3 {
    position: absolute;
    bottom: ;
    top: 245px;
    z-index: 999;
    left: 1rem;
    color: white;
}

@media (max-width: 999px) and (min-width: 782px) {
    #Romarias h3 {
        top: 200px;
    }
}

@media (max-width: 781px) {
    #Romarias h3 {
        top: 180px;
    }
}

.romaria {
    position: relative;
    margin-top: -50px;
}

#mouseposition-extension-element-full-container {
    display: none;
}

/* Paineis */
.grid_paineis .fundo_card_articulacao {
    background: var(--theme-palette-color-5);
}

.grid_paineis .wp-block-getwid-template-post-featured-image {
    margin-bottom: 0;
}

.grid_paineis img {
    width: 100%;
    height: 440px;
    object-fit: cover;
    filter: grayscale(0.6);
}

.grid_paineis h3 a {
    color: var(--theme-palette-color-4);
}

.grid_paineis .wp-block-button__link {
    width: 200px;
    border: 1px solid;
}

.grid_paineis .wp-block-button__link:hover {
    border-color: var(--theme-palette-color-4);
    background: var(--theme-button-background-hover-color) !important;
}

/* NF Subscribe */
#nf-form-1-cont nf-fields-wrap {
    display: flex;
    gap: 20px;
    flex-wrap: wrap;
}

#nf-form-1-cont nf-field:first-child {
    width: 500px;
}

#nf-form-1-cont nf-field:nth-child(3) {
    flex-wrap: wrap;
}

#nf-form-1-cont .nf-before-form-content {
    display: none;
}

#block-19 {
    margin-top: 0;
}

#nf-form-1-cont #nf-label-field-6 {
    display: none;
}

input.ninja-forms-field.nf-element,
select.ninja-forms-field.nf-element {
    height: 40px;
    background: white;
    color: var(--theme-palette-color-4);
    border: 1px solid;
}

input.ninja-forms-field[type="checkbox"] {
    height: unset !important;
}

#nf-form-1-cont #nf-field-6::-moz-placeholder {
    color: gray;
}

#nf-form-1-cont #nf-label-field-5 {
    font-weight: normal;
}

.nf-form-fields-required,
.ninja-forms-req-symbol {
    display: none;
}

#nf-form-1-cont .nf-field-container {
    margin-bottom: 0 !important;
}

#block-9 {
    margin-top: 0;
}

#nf-label-field-12 {
    font-weight: normal;
}

#nf-field-24-wrap,
#nf-field-37-wrap {
    flex-wrap: wrap;
}

.nf-field-element input[type="submit"] {
    display: block;
    margin: 0 auto;
}

.nf-field-element input[type="submit"]:hover {
    background: var(--theme-palette-color-2);
    color: white;
}

/* Menu Mobile */
.ct-panel-actions {
    top: 30px;
    position: absolute;
    right: 0px;
}

/* Articulações */
.fundo_card_articulacao {
    padding: 1rem !important;
    background: #3BAD6B;
}

.custom-post-type-articulacao img {
    width: 100%;
    max-height: 375px;
    object-fit: cover;
}

.custom-post-type-articulacao .wp-block-getwid-template-post-featured-image {
    margin-bottom: 0px;
}

.custom-post-type-articulacao .wp-block-getwid-custom-post-type__post:nth-child(2) .fundo_card_articulacao {
    background-color: #F7A743;
}


.custom-post-type-articulacao .wp-block-getwid-custom-post-type__post:nth-child(3) .fundo_card_articulacao {
    background-color: #B14145;
}

/* Contatos */
.contatos_toggle .wp-block-list {
    background: var(--theme-palette-color-7);
    color: white;
    padding: .75rem 3rem;
    border: 1px solid var(--theme-palette-color-4);
    border-radius: 4px;
    list-style-type: square;
    margin-bottom: .5em;
}


.documentos_grid img {
    height: 350px;
}

/* Lista de documentos */
.wp-block-getwid-custom-post-type.lista_de_links .wp-block-getwid-custom-post-type__post {
    margin-top: 0.7rem !important;
    margin-bottom: 2rem !important;
}

.lista_de_links a {
    font-size: 1rem;
    font-weight: 500;
    border: 1px solid black;
    border-radius: 4px;
    padding: .5rem;
    margin: 1.5rem 0;
}

.lista_de_links a:hover {
    color: white !important;
    background: var(--theme-palette-color-2);
}