/*
Theme Name: Carteira Valorizada
Theme URI: https://carteiravalorizada.com.br
Author: Carteira Valorizada
Description: Tema editorial financeiro sob medida para o portal Carteira Valorizada, preservando todos os posts, categorias, tags e URLs existentes.
Version: 1.0.0
Text Domain: carteira-valorizada
*/

body {
    background-color: #F8FAFC;
    color: #1E293B;
    -webkit-font-smoothing: antialiased;
}
h1, h2, h3, h4, .font-display {
    font-family: 'Plus Jakarta Sans', sans-serif;
}
.no-scrollbar::-webkit-scrollbar {
    display: none;
}
.no-scrollbar {
    -ms-overflow-style: none;
    scrollbar-width: none;
}
.article-body p {
    margin-bottom: 1.45rem;
    line-height: 1.8;
    font-size: 1.075rem;
    color: #334155;
}
.article-body h2 {
    font-size: 1.5rem;
    font-weight: 700;
    color: #0F172A;
    margin-top: 2.25rem;
    margin-bottom: 1rem;
    letter-spacing: -0.02em;
}
.article-body h3 {
    font-size: 1.25rem;
    font-weight: 700;
    color: #0F172A;
    margin-top: 1.75rem;
    margin-bottom: 0.75rem;
}
.article-body ul, .article-body ol {
    margin-bottom: 1.45rem;
    padding-left: 1.5rem;
    color: #334155;
}
.article-body ul {
    list-style-type: disc;
}
.article-body ol {
    list-style-type: decimal;
}
.article-body li {
    margin-bottom: 0.5rem;
    line-height: 1.75;
}
.article-body img {
    border-radius: 1rem;
    margin: 1.5rem 0;
    max-width: 100%;
    height: auto;
}
.article-body blockquote {
    border-left: 4px solid #059669;
    background-color: #ECFDF5;
    padding: 1rem 1.25rem;
    border-radius: 0 0.75rem 0.75rem 0;
    margin: 1.5rem 0;
    color: #065F46;
    font-style: italic;
}
.custom-logo-link img {
    max-height: 52px;
    width: auto;
    object-fit: contain;
}


/* Fallback visual direto para evitar falha do script Tailwind */
.bg-navy { background-color: #0F172A !important; }
.bg-navy-light { background-color: #1E293B !important; }
.bg-ice { background-color: #F8FAFC !important; }
.bg-emerald { background-color: #059669 !important; }
.bg-emerald-light { background-color: #ECFDF5 !important; }
.text-navy { color: #0F172A !important; }
.text-emerald { color: #059669 !important; }
.text-gold { color: #D97706 !important; }

/* Garante que o rodapé do tema assuma o visual escuro do layout */
footer.bg-navy {
    background-color: #0F172A !important;
    color: #CBD5E1 !important;
}
footer.bg-navy a {
    color: #94A3B8;
}
footer.bg-navy a:hover {
    color: #FFFFFF;
}