/* NutriSegredos Reading Enhancer - Estilos Base */

/* Aplicar apenas em posts individuais */
.single-post .entry-content,
.single-post article {
    max-width: 700px !important;
    margin: 0 auto !important;
    padding: 0 20px !important;
    box-sizing: border-box;
}

/* Melhoria da tipografia para parágrafos */
.single-post .entry-content p {
    color: #1a1a1a !important;
    line-height: 1.75;
    margin-bottom: 24px;
    text-align: justify;
    hyphens: auto;
    word-wrap: break-word;
}

/* Hierarquia visual para headings */
.single-post .entry-content h1 {
    font-weight: 700 !important;
    margin-top: 40px !important;
    margin-bottom: 20px !important;
    line-height: 1.3 !important;
    color: #000000 !important;
}

.single-post .entry-content h2 {
    font-weight: 600 !important;
    margin-top: 32px !important;
    margin-bottom: 16px !important;
    line-height: 1.4 !important;
    color: #000000 !important;
}

.single-post .entry-content h3 {
    font-weight: 500 !important;
    margin-top: 28px !important;
    margin-bottom: 14px !important;
    line-height: 1.4 !important;
    color: #000000 !important;
}

.single-post .entry-content h4 {
    font-weight: 500 !important;
    margin-top: 24px !important;
    margin-bottom: 12px !important;
    line-height: 1.4 !important;
    color: #000000 !important;
}

/* Melhorar espaçamento de listas */
.single-post .entry-content ul,
.single-post .entry-content ol {
    margin-bottom: 24px;
    padding-left: 30px;
}

.single-post .entry-content li {
    margin-bottom: 8px;
    line-height: 1.7;
}

/* Melhorar aparência de links */
.single-post .entry-content a {
    color: #2563eb;
    text-decoration: underline;
    text-decoration-thickness: 1px;
    text-underline-offset: 2px;
    transition: color 0.2s ease;
}

.single-post .entry-content a:hover {
    color: #1d4ed8;
    text-decoration-thickness: 2px;
}

/* Melhorar aparência de texto em negrito */
.single-post .entry-content strong,
.single-post .entry-content b {
    font-weight: 700 !important;
    color: #000000 !important;
}

/* Melhorar aparência de texto em itálico */
.single-post .entry-content em,
.single-post .entry-content i {
    font-style: italic;
    color: #2a2a2a !important;
}

/* Melhorar aparência de citações */
.single-post .entry-content blockquote {
    border-left: 4px solid #e5e7eb;
    padding-left: 20px;
    margin: 32px 0;
    font-style: italic;
    color: #6b7280;
    background-color: #f9fafb;
    padding: 20px;
    border-radius: 4px;
}

/* Melhorar aparência de código */
.single-post .entry-content code {
    background-color: #f3f4f6;
    padding: 2px 6px;
    border-radius: 3px;
    font-family: 'Courier New', monospace;
    font-size: 0.9em;
    color: #dc2626;
}

.single-post .entry-content pre {
    background-color: #1f2937;
    color: #f9fafb;
    padding: 20px;
    border-radius: 6px;
    overflow-x: auto;
    margin: 24px 0;
}

.single-post .entry-content pre code {
    background-color: transparent;
    color: inherit;
    padding: 0;
}

/* Melhorar aparência de imagens */
.single-post .entry-content img {
    max-width: 100%;
    height: auto;
    border-radius: 6px;
    box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.1);
    margin: 24px 0;
}

/* Responsividade para tablets */
@media (max-width: 1024px) and (min-width: 769px) {
    .single-post .entry-content,
    .single-post article {
        max-width: 90%;
        padding: 0 32px;
    }
}

/* Responsividade para dispositivos móveis */
@media (max-width: 768px) {
    .single-post .entry-content,
    .single-post article {
        max-width: 100%;
        padding: 0 16px;
    }
    
    .single-post .entry-content p {
        text-align: left;
        font-size: 16px;
        line-height: 1.6;
    }
    
    .single-post .entry-content h1 {
        font-size: 28px;
        margin-top: 32px;
        margin-bottom: 16px;
    }
    
    .single-post .entry-content h2 {
        font-size: 24px;
        margin-top: 28px;
        margin-bottom: 14px;
    }
    
    .single-post .entry-content h3 {
        font-size: 20px;
        margin-top: 24px;
        margin-bottom: 12px;
    }
    
    .single-post .entry-content blockquote {
        padding: 16px;
        margin: 24px 0;
    }
}

/* Responsividade para telas muito pequenas */
@media (max-width: 480px) {
    .single-post .entry-content,
    .single-post article {
        padding: 0 12px;
    }
    
    .single-post .entry-content p {
        font-size: 15px;
        margin-bottom: 20px;
    }
}

/* Melhorar legibilidade em modo escuro (se suportado pelo tema) */
@media (prefers-color-scheme: dark) {
    .single-post .entry-content p {
        color: #e5e7eb;
    }
    
    .single-post .entry-content strong,
    .single-post .entry-content b {
        color: #f3f4f6;
    }
    
    .single-post .entry-content a {
        color: #60a5fa;
    }
    
    .single-post .entry-content a:hover {
        color: #93c5fd;
    }
}

