/* Importação da fonte Poppins e Outfit do Google Fonts */
@import url("https://fonts.googleapis.com/css2?family=Outfit:wght@400;500;700;900&family=Poppins:wght@400;500;700&display=swap");

/* Estilos para os templates personalizados */

/* Estilos gerais de tipografia - Modificado para herdar do tema */
body,
p,
span,
div,
a,
/* button, */
input,
textarea,
select {
    font-family: 'Outfit', sans-serif !important;
}


/* Ajustes para o conteúdo principal */
#primary {
    max-width: 800px;
    margin: 0 auto;
    padding: 0 16px;
    font-family: 'Poppins', sans-serif !important;
    font-size: 19px;
    line-height: 1.6;
    color: #333;
}

/* Landing Page Specific Font Overrides */
.single-revidia_lp h1,
.single-revidia_lp h2,
.single-revidia_lp h3,
.single-revidia_lp p,
.single-revidia_lp a,
.single-revidia_lp span,
.single-revidia_lp div:not(.fa) {
    font-family: 'Outfit', sans-serif !important;
}


#main {
    padding: 0;
    margin: 0;
}

#primary h2 {
    font-family: 'Poppins', sans-serif !important;
    font-size: 1.7em !important;
    line-height: 1.4 !important;
    color: #111 !important;
    margin-top: 30px !important;
    margin-bottom: 15px !important;
    font-weight: bold !important;
}



p {
    margin-bottom: 20px;
    /* Adicionado espaçamento inferior */
}


h1.single--title,
h1.entry-title {
    font-size: 42px;
    /* Tamanho aumentado para 42px conforme solicitado */
    margin-top: 30px;
    /* Espaçamento superior adicionado conforme imagem */
    margin-bottom: 20px;
    /* Margem inferior mantida */
    margin-left: 30px;
    /* Margem esquerda adicionada conforme solicitado */
    font-weight: bold;
}


/* Estilos para botões - RESTAURADO O FORMATO ORIGINAL COMPLETO */
.block-btns {
    margin: 20px 0;
    width: 100%;
    max-width: 100%;
    display: flex;
    flex-direction: column;
}

.block-btn {
    margin: 3px 0px 3px 0px;
    width: 100%;
}

.block-btns .block-btn:not(:first-child) {
    margin: 0px 0px 3px 0px;
    contain-intrinsic-block-size: auto 100px;
}

/* Estilo para a descrição do post */
.post-descricao {
    text-align: center;
    font-size: 16px;
    /* Aumentado para 16px conforme solicitado */
    font-family: 'Poppins', sans-serif;
    color: #333333;
    margin: 25px auto 30px auto;
    /* Aumentado o espaçamento superior e inferior */
    line-height: 1.4;
    max-width: 90%;
    padding-top: 10px;
    /* Adicionado padding superior */
}

/* Estilo para o texto "Você permanecerá no mesmo site" */
#permanecerNoSite {
    text-align: center;
    font-size: 12px;
    font-family: 'Poppins', sans-serif;
    color: #777777;
    /* Cor mais escura para maior visibilidade */
    opacity: 0.9;
    /* Aumentada a opacidade para maior visibilidade */
    margin-top: 5px;
    margin-bottom: 15px;
    font-weight: 500;
    /* Adicionado peso para maior visibilidade */
}

.stc-btn {
    display: flex;
    justify-content: center;
    align-items: center;
    background-color: #0D5C14;
    /* Verde escuro conforme solicitado */
    width: 380px;
    /* Largura fixa de 380px conforme solicitado */
    height: 43px;
    /* Altura fixa de 43px conforme solicitado */
    margin: 0 auto;
    /* Centralizar o botão */
    padding: 0 20px;
    font-family: "Poppins", sans-serif;
    font-size: 16px;
    font-weight: 500;
    line-height: 1.2;
    border-radius: 4px;
    /* Bordas mais retas como na imagem */
    color: #ffffff;
    border-style: none;
    text-align: center;
    text-decoration: none;
    display: flex;
    transition: all 0.3s ease;
    position: relative;
    box-sizing: border-box;
}

/* Adiciona seta aos botões .stc-btn */
.stc-btn::after {
    content: "\f061";
    /* Código unicode para seta direita do Font Awesome */
    font-family: "Font Awesome 5 Free";
    font-weight: 900;
    margin-left: 10px;
    color: #ffffff;
    /* Seta branca */
}

.stc-btn:hover {
    background-color: #0D3F14;
    opacity: 0.9;
    color: #ffffff !important;
    /* Garantir que o texto permaneça branco no hover */
}

.stc-btn:hover span {
    color: #ffffff !important;
    /* Garantir que o texto dentro do span permaneça branco no hover */
}

/* Estilos para o texto adicional - Modificado para herdar tipografia do tema */
.block-wallpaper-text {
    /* color, font-family, font-size, line-height, letter-spacing, font-weight removidos para herdar do tema */
    margin-bottom: 15px;
}

/* Estilos para anúncios */
.code-block {
    margin: 30px auto 15px auto;
    /* Aumentado espaçamento superior */
    text-align: center;
    clear: both;
}

/* Estilos para separador - Modificado para remover linhas */
.separador {
    font-size: 12px;
    text-align: center;
    color: #b0b0b0;
    margin: 0 0 10px 0;
    font-family: 'Poppins', sans-serif;
    display: block;
    /* Alterado para block em vez de flex */
}

.separador::before,
.separador::after {
    content: none;
    /* Removido o conteúdo para eliminar as linhas */
}

.separador::before {
    margin-right: .25em;
}

.separador::after {
    margin-left: .25em;
}

/* Estilos para o botão de tutorial - RESTAURADO O FORMATO ORIGINAL COMPLETO */
#showDivButton {
    border: none;
    color: white;
    /* Restaurado */
    padding: 15px 32px;
    text-align: center;
    text-decoration: none;
    display: inline-block;
    font-size: 16px;
    /* Restaurado */
    margin: 4px 2px;
    cursor: pointer;
    background-color: #0b4010;
    border-radius: 30px;
    font-weight: bold;
    /* Restaurado */
    font-family: "Poppins", sans-serif;
    /* Restaurado */
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 20%);
}

/* Estilos para o conteúdo desbloqueado */
.esconder {
    display: none;
}

.esconder h2 {
    /* font-size, font-family, font-weight removidos para herdar do tema */
}

/* Estilos para FAQs expansíveis - Modificado para herdar tipografia do tema */
.collapsible {
    cursor: pointer;
    display: flex;
    align-items: center;
    /* font-weight, font-size, color, font-family removidos para herdar do tema */
    padding: 18px;
    background-color: #f9f9f9;
    border-radius: 5px;
    margin-bottom: 5px;
    transition: 0.3s;
    width: 100%;
    box-sizing: border-box;
}

.collapsible:hover {
    background-color: #f0f0f0;
}

.collapsible i {
    margin-right: 8px;
    /* color removido para herdar do tema */
    transition: 0.3s;
}

.content {
    display: none;
    margin-left: 20px;
    padding: 10px 0;
    /* color, font-family removidos para herdar do tema */
    overflow: hidden;
    background-color: #fff;
    border-left: 3px solid #135219;
    margin-bottom: 15px;
    padding-left: 15px;
    width: 100%;
    box-sizing: border-box;
}

.active i.fa-plus:before {
    content: "\f068";
    /* Muda o ícone de + para - */
}

/* Layout principal - Maximizado para ocupar toda a tela */
.single-container {
    width: 100%;
    max-width: 100%;
    box-sizing: border-box;
    padding: 0;
    margin: 0;
}

.single--content,
.single-article,
.entry-content,
.single-describe {
    width: 95%;
    max-width: 95%;
    box-sizing: border-box;
    padding: 0 5px;
    margin: 0 auto;
}

.block-simple-mobile,
.block-align-container {
    width: 100%;
    max-width: 100%;
    box-sizing: border-box;
    padding: 0;
}

/* Responsividade - Maximizada para ocupar toda a tela - Modificado para herdar tipografia do tema, exceto botões, título, separador e aviso */
@media (max-width: 768px) {

    h1.single--title,
    h1.entry-title {
        font-size: 32px;
        /* Aumentado para 32px conforme solicitado */
        text-align: center;
        /* Alinhamento centralizado mobile conforme especificado */
        margin-top: 20px;
        /* Espaçamento superior mobile ajustado */
        margin-left: 0;
        /* Remover margem esquerda no mobile */
        /* line-height removido para herdar do tema */
        margin-bottom: 15px;
        padding: 0 2px;
        font-weight: 900;
        /* Mais grosso (Black) conforme solicitado */
        letter-spacing: -0.5px;
        /* Ajuste fino para estética */
        line-height: 1.1;
        /* Line-height mais justo para títulos grandes */
    }

    h2 {
        /* font-size, line-height removidos para herdar do tema */
        margin-top: 25px;
        margin-bottom: 15px;
    }

    h3 {
        /* font-size, line-height removidos para herdar do tema */
        margin-top: 20px;
        margin-bottom: 10px;
        /* Ajustado para melhor espaçamento com parágrafo seguinte */
    }

    p {
        /* font-size, line-height removidos para herdar do tema */
        margin-bottom: 20px;
        /* Adicionado espaçamento inferior */
    }

    /* Descrição do post no responsivo */
    .post-descricao {
        font-size: 16px;
        /* Aumentado para 16px para consistência */
        margin: 25px auto 30px auto;
        /* Aumentado o espaçamento superior e inferior */
        padding-top: 10px;
        /* Adicionado padding superior */
    }

    /* Removida sobrescrita de propriedades do botão para manter consistência */

    .block-wallpaper-text {
        /* font-size removido para herdar do tema */
    }

    #showDivButton {
        padding: 20px 80px;
        font-size: 12px;
        /* Restaurado */
        border-radius: 30px;
        font-weight: bold;
        /* Restaurado */
        width: 100%;
    }

    /* Estilo responsivo para o texto "Você permanecerá no mesmo site" */
    #permanecerNoSite {
        font-size: 11px;
        /* Aumentado para melhor visibilidade */
        margin-top: 5px;
        margin-bottom: 12px;
        color: #777777;
        /* Cor mais escura para maior visibilidade */
        opacity: 0.9;
        /* Aumentada a opacidade para maior visibilidade */
    }

    .collapsible {
        /* font-size removido para herdar do tema */
        padding: 15px;
        width: 100%;
    }

    .content {
        width: 100%;
        margin-left: 0;
    }

    /* Layout maximizado para ocupar toda a tela */
    .single-container {
        width: 100%;
        max-width: 100%;
        padding: 0;
    }

    .single--content,
    .single-article,
    .entry-content,
    .single-describe {
        width: 95%;
        max-width: 95%;
        margin: 0 auto;
        padding: 0 2px;
    }

    .block-simple-mobile,
    .block-align-container {
        width: 100%;
        max-width: 100%;
        margin: 0;
        padding: 0 2px;
    }

    /* Botões ocupando a largura total do contêiner */
    .block-btn {
        margin: 3px 0;
        display: flex;
        justify-content: center;
    }

    .stc-btn {
        width: 380px;
        /* Mantendo a largura fixa de 380px no mobile também */
        height: 43px;
        /* Mantendo a altura fixa de 43px no mobile também */
    }

    /* Esconder apenas anúncios fixed mobile do AdInserter, permitindo os do plugin */
    div[id^="ai-viewport-"][data-insertion-position="fixed"] {
        display: none !important;
    }

    .ai-sticky-widget {
        display: none !important;
    }

    .ai-sticky-content {
        display: none !important;
    }
}

/* Esconder apenas anúncios fixed mobile do AdInserter, permitindo os do plugin */
div[id^="ai-viewport-"][data-insertion-position="fixed"] {
    display: none !important;
}

.ai-sticky-widget {
    display: none !important;
}

.ai-sticky-content {
    display: none !important;
}

/* Permitir que o anúncio fixo do plugin seja exibido */
.fixed_mobile {
    display: block !important;
}

/* Estilos para artigos relacionados */
.related-posts {
    margin: 40px 0;
    padding: 20px;
    background-color: #f9f9f9;
    border-radius: 5px;
}

.related-title {
    font-size: 24px;
    margin-bottom: 20px;
    text-align: center;
}

.related-posts-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 20px;
}

.related-post {
    background: #fff;
    border-radius: 5px;
    overflow: hidden;
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.1);
    transition: transform 0.3s ease;
}

.related-post:hover {
    transform: translateY(-5px);
}

.related-post-thumbnail {
    display: block;
    width: 100%;
    height: 180px;
    overflow: hidden;
}

.related-post-thumbnail img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.3s ease;
}

.related-post:hover .related-post-thumbnail img {
    transform: scale(1.05);
}

.related-post-title {
    padding: 15px;
    margin: 0;
    font-size: 16px;
    line-height: 1.4;
}

.related-post-title a {
    color: #333;
    text-decoration: none;
}

.related-post-title a:hover {
    color: #0D5C14;
}

@media (max-width: 768px) {
    .related-posts-grid {
        grid-template-columns: 1fr;
    }

    .related-post-thumbnail {
        height: 200px;
    }
}

/* =========================================
   SMART STICKY HEADER (PLUGIN SUPPORT)
   ========================================= */
.site-header.header-hidden {
    transform: translateY(-100%) !important;
    box-shadow: none !important;
}

.site-header.header-visible {
    transform: translateY(0) !important;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.05) !important;
    position: sticky !important;
    /* Garante que é sticky */
    top: 0 !important;
    z-index: 99999 !important;
    /* Z-index máximo */
    background: rgba(255, 255, 255, 0.95) !important;
    /* Garante fundo visível */
}

/* =========================================
   Revidia Ad Manager Alignment Helpers
   ========================================= */
.revidia-ad-block {
    max-width: 100%;
    box-sizing: border-box;
}

/* Clearfix for float alignments */
.clearfix::after {
    content: "";
    clear: both;
    display: table;
}

/* =========================================
   USER REQUESTED STYLES (PRELOADER & SEPARATOR)
   ========================================= */
#preload {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(255, 255, 255, 0.8);
    display: none;
    align-items: center;
    justify-content: center;
    z-index: 9999;
    backdrop-filter: blur(4px);
}

.spinner {
    border: 8px solid #f3f3f3;
    border-top: 8px solid #3498db;
    border-radius: 50%;
    width: 60px;
    height: 60px;
    animation: spin 1s linear infinite;
}

@keyframes spin {
    0% {
        transform: rotate(0deg);
    }

    100% {
        transform: rotate(360deg);
    }
}

/* Modified .separator to avoid conflict with existing .separador if any. 
   Using specific user class. */
.separator {
    font-size: 12px;
    display: flex;
    color: #b0b0b0;
    align-items: center;
    /* text-align: center; */
}

.separator::before,
.separator::after {
    content: '';
    flex: 1;
    border-bottom: 1px solid #d9d9d9;
}

.separator::before {
    margin-right: .25em;
}

.separator::after {
    margin-left: .25em;
}