/*
Theme Name: Pixwell Child
Template: pixwell
Version: 2.1.0
Description: Tema filho customizado do TecMestre com regras de alto contraste para callouts, tabelas, FAQs, author box limpa (sem avatar) e simuladores.
*/

/* ==========================================================================
   1. CAIXAS DE DESTAQUE E CALLOUTS (ALTO CONTRASTE 100% LEGÍVEL EM MOBILE)
   ========================================================================== */

.tecmestre-callout-box,
.entry-content .tecmestre-callout-box,
.entry-content div[style*="background:#0f172a"],
.entry-content div[style*="background: #0f172a"],
.entry-content div[style*="background:#1e293b"],
.entry-content div[style*="background: #1e293b"] {
    background: #f0f9ff !important;
    border-left: 4px solid #0284c7 !important;
    border-radius: 8px !important;
    padding: 18px 22px !important;
    margin: 24px 0 !important;
    color: #0f172a !important;
    box-shadow: 0 1px 3px rgba(0, 0, 0, 0.05) !important;
}

.tecmestre-callout-box p,
.entry-content .tecmestre-callout-box p,
.entry-content div[style*="background:#0f172a"] p,
.entry-content div[style*="background: #0f172a"] p,
.entry-content div[style*="background:#1e293b"] p,
.entry-content div[style*="background: #1e293b"] p {
    color: #0f172a !important;
    font-size: 15px !important;
    line-height: 1.65 !important;
    margin-bottom: 0 !important;
}

.tecmestre-callout-box strong,
.entry-content .tecmestre-callout-box strong,
.entry-content div[style*="background:#0f172a"] strong,
.entry-content div[style*="background: #0f172a"] strong,
.entry-content div[style*="background:#1e293b"] strong,
.entry-content div[style*="background: #1e293b"] strong {
    color: #0369a1 !important;
    font-weight: 700 !important;
}

.tecmestre-callout-box code,
.entry-content .tecmestre-callout-box code,
.entry-content div[style*="background:#0f172a"] code,
.entry-content div[style*="background: #0f172a"] code {
    background: #e0f2fe !important;
    color: #0369a1 !important;
    padding: 2px 6px !important;
    border-radius: 4px !important;
    font-size: 0.9em !important;
}

/* ==========================================================================
   2. TABELAS DE DADOS (CRISP, LIMPAS E 100% LEGÍVEIS EM QUALQUER TELA)
   ========================================================================== */

.entry-content table,
table.has-fixed-layout {
    width: 100% !important;
    border-collapse: collapse !important;
    margin: 25px 0 !important;
    background: #ffffff !important;
    border: 1px solid #cbd5e1 !important;
    border-radius: 8px !important;
    overflow: hidden !important;
}

.entry-content table thead tr,
.entry-content table thead th,
.entry-content table tr:first-child th {
    background: #0f172a !important;
    color: #ffffff !important;
    font-weight: 700 !important;
    padding: 12px 14px !important;
    border: 1px solid #334155 !important;
    font-size: 14px !important;
    text-align: left !important;
}

.entry-content table tbody tr,
.entry-content table tr {
    background: #ffffff !important;
}

.entry-content table tbody tr:nth-child(even),
.entry-content table tr:nth-child(even) {
    background: #f8fafc !important;
}

.entry-content table td {
    padding: 11px 14px !important;
    border: 1px solid #e2e8f0 !important;
    color: #1e293b !important;
    font-size: 14px !important;
    line-height: 1.5 !important;
    background-color: transparent !important;
}

.entry-content table td strong {
    color: #0f172a !important;
    font-weight: 700 !important;
}

.entry-content table td code {
    background: #f1f5f9 !important;
    color: #0284c7 !important;
    padding: 3px 6px !important;
    border-radius: 4px !important;
    border: 1px solid #e2e8f0 !important;
    font-size: 13px !important;
}

/* ==========================================================================
   3. SEÇÃO FAQ E TEXTO GERAL DO ARTIGO (CONTRASTE MÁXIMO)
   ========================================================================== */

.entry-content h3 {
    color: #0284c7 !important;
    font-weight: 700 !important;
    font-size: 1.15rem !important;
    margin-top: 28px !important;
    margin-bottom: 10px !important;
    line-height: 1.4 !important;
}

.entry-content p,
.single-content p {
    color: #334155 !important;
    font-size: 16px !important;
    line-height: 1.75 !important;
}

.entry-content p strong,
.single-content p strong {
    color: #0f172a !important;
}

/* ==========================================================================
   4. BANNERS DE CTA E SIMULADORES (FUNDO ESCURO COM TEXTO BRANCO FORÇADO)
   ========================================================================== */

.entry-content div[style*="linear-gradient"] p,
.entry-content div[style*="linear-gradient"] span:not([style*="background:"]),
.entry-content div[style*="linear-gradient"] strong {
    color: #ffffff !important;
}

.entry-content div[style*="linear-gradient"] h3 {
    color: #00d4ff !important;
}

.entry-content div[style*="linear-gradient"] a {
    color: #0f172a !important;
    text-decoration: none !important;
}

/* ==========================================================================
   5. BREADCRUMBS
   ========================================================================== */

.breadcrumb-yoast,
.site-breadcrumb {
    font-size: 13.5px !important;
    color: #64748b !important;
    margin-bottom: 12px !important;
}

.breadcrumb-yoast a,
.site-breadcrumb a {
    color: #0284c7 !important;
    text-decoration: none !important;
}

.breadcrumb-yoast a:hover {
    text-decoration: underline !important;
}

/* ==========================================================================
   6. CAIXA DE AUTOR (BIO JONAS OLIVEIRA) - 100% SEM AVATAR E SEM COLISÃO
   ========================================================================== */

.author-avatar,
.single-meta-avatar {
    display: none !important;
}

.author-box,
.single .author-box,
.tecmestre-author-box-clean {
    display: block !important;
    background: #f8fafc !important;
    border: 1px solid #e2e8f0 !important;
    border-left: 4px solid #0284c7 !important;
    border-radius: 10px !important;
    padding: 22px 24px !important;
    margin: 35px 0 25px !important;
    box-shadow: 0 1px 3px rgba(0, 0, 0, 0.03) !important;
}

.tecmestre-author-box-clean .author-header,
.author-box .author-header {
    display: flex !important;
    flex-direction: row !important;
    justify-content: space-between !important;
    align-items: center !important;
    margin-bottom: 10px !important;
    border: none !important;
    padding: 0 !important;
}

.tecmestre-author-box-clean .author-header:after,
.author-box .author-header:after {
    display: none !important;
}

.author-title {
    margin: 0 !important;
    padding: 0 !important;
}

.author-title a {
    color: #0f172a !important;
    font-size: 1.15rem !important;
    font-weight: 700 !important;
    text-decoration: none !important;
}

.author-header .author-more {
    font-size: 13px !important;
    margin: 0 !important;
    padding: 0 !important;
}

.author-header .author-more a {
    color: #0284c7 !important;
    text-decoration: none !important;
    font-weight: 600 !important;
}

.author-description {
    color: #475569 !important;
    font-size: 14.5px !important;
    line-height: 1.65 !important;
    margin: 0 !important;
}

@media only screen and (max-width: 767px) {
    .tecmestre-author-box-clean .author-header,
    .author-box .author-header {
        flex-direction: column !important;
        align-items: flex-start !important;
        gap: 6px !important;
    }
}
