/*
Theme Name: ENWP BLOG
Theme URI: https://escolaninjawp.com.br/
Author: Escola Ninja WP
Author URI: https://escolaninjawp.com.br/
Description: Tema moderno e responsivo para blogs, otimizado para SEO e desempenho.
Version: 2.0.3
Requires at least: 5.0
Tested up to: 6.5
Requires PHP: 7.4
License: GPL-2.0+
Text Domain: enwp-blog-theme
Tags: blog, responsivo, SEO, minimalista, acessível
*/

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: 'Nunito Sans', 'Helvetica Neue', Arial, sans-serif;
}

/* BODY */
body {
    font-family: Arial, sans-serif;
    color: #333;
    background-color: #fff;
}

/* LINKS em preto */
a {
    text-decoration: none;
}
a:hover {
    color: #333 !important;
    text-decoration: underline;
}

/* HEADER */
/* Placeholder para a LOGO */
.img-placeholder-logo {
    width: 40px;
    height: 40px;
    background-color: #ccc;
    display: inline-block;
    border-radius: 4px;
}

/* Top Bar (barra superior) */
.top-bar .nav-link {
    font-weight: 500;
}
.top-bar .btn-dark {
    background-color: #000;
    color: #fff;
    font-weight: 600;
    border-radius: 4px;
}

/* Sub Bar (barra inferior) */
.sub-bar {
    background-color: #008B8B; /* Ajuste conforme o tom desejado */
    padding: 5px 0;
}
.sub-bar .navbar-toggler {
    border-color: rgba(255,255,255,0.1);
}
.sub-bar .navbar-toggler-icon {
    filter: invert(1); /* Ícone hamburguer em branco */
}
.sub-bar .nav-link {
    font-weight: 500;
    color: #fff !important;
}

/* DROPDOWN (Submenus) */
.dropdown-menu {
    border-radius: 4px;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
}
.dropdown-item {
    font-size: 0.95rem;
}
.dropdown-item:hover {
    background-color: #f2f2f2;
}
.sub-bar ul li{
    margin: 0 6px;
}

/* Ajuste para o Submenu ficar alinhado e funcional */
.sub-bar .navbar-nav {
    display: flex;
    align-items: center;
    justify-content: space-between;
}

/* Estilização do Submenu */
.sub-bar .navbar-nav .menu-item {
    position: relative;
}

/* Ajuste do Dropdown */
.sub-bar .navbar-nav .menu-item .sub-menu {
    position: absolute;
    top: 100%;
    left: 0;
    background: #fff;
    box-shadow: 0px 4px 10px rgba(0, 0, 0, 0.1);
    min-width: 200px;
    display: none;
    border-radius: 4px;
    z-index: 999;
    padding: 10px 0;
}

/* Exibir o submenu ao passar o mouse */
.sub-bar .navbar-nav .menu-item:hover > .sub-menu {
    display: block;
}

/* Estilização dos links do Submenu */
.sub-bar .navbar-nav .sub-menu .menu-item {
    padding: 8px 15px;
    list-style: none;
}

.sub-bar .navbar-nav .sub-menu .menu-item a {
    color: #333!important;
    font-size: 14px;
    text-decoration: none;
    display: block;
    font-weight: bold;
}

/* Efeito hover nos links do Submenu */
.sub-bar .navbar-nav .sub-menu .menu-item a:hover {
    border-radius: 2px;
}

/* Ajuste para submenu funcionar corretamente em telas menores */
@media (max-width: 992px) {
    .sub-bar .navbar-nav {
        flex-direction: column;
        align-items: flex-start;
    }

    .sub-bar .navbar-nav .menu-item .sub-menu {
        position: relative;
        top: auto;
        left: auto;
        background: transparent;
        box-shadow: none;
        display: block;
        padding: 0;
    }

    .sub-bar .navbar-nav .sub-menu .menu-item a {
        padding-left: 20px;
    }
}

/* Ajuste para o Top Bar */
.top-bar {
    background-color: #fff;
    padding: 10px 0;
}

.top-bar .navbar-nav {
    display: flex;
    align-items: center;
    justify-content: flex-start;
}

.top-bar .navbar-nav .menu-item {
    position: relative;
    padding: 10px;
}

/* Ajuste do Dropdown no Top Bar */
.top-bar .navbar-nav .menu-item .sub-menu {
    position: absolute;
    top: 100%;
    left: 0;
    background: #ffffff;
    box-shadow: 0px 4px 10px rgba(0, 0, 0, 0.1);
    min-width: 200px;
    display: none;
    border-radius: 4px;
    z-index: 999;
    padding: 10px 0;
    border: 1px solid #e0e0e0;
}

/* Exibir o submenu ao passar o mouse */
.top-bar .navbar-nav .menu-item:hover > .sub-menu {
    display: block;
}

/* Estilização dos links do Submenu */
.top-bar .navbar-nav .sub-menu .menu-item {
    padding: 8px 15px;
    list-style: none;
}

.top-bar .navbar-nav .sub-menu .menu-item a {
    color: #333 !important;
    font-size: 14px;
    text-decoration: none;
    display: block;
    font-weight: bold;
    transition: background 0.3s ease-in-out;
}

/* Efeito hover nos links do Submenu */
.top-bar .navbar-nav .sub-menu .menu-item a:hover {
    border-radius: 4px;
}

/* Ajuste para submenu funcionar corretamente em telas menores */
@media (max-width: 992px) {
    .top-bar .navbar-nav {
        flex-direction: column;
        align-items: flex-start;
    }

    .top-bar .navbar-nav .menu-item .sub-menu {
        position: relative;
        top: auto;
        left: auto;
        background: transparent;
        box-shadow: none;
        display: block;
        padding: 0;
    }

    .top-bar .navbar-nav .sub-menu .menu-item a {
        padding-left: 20px;
    }
}


    /* HERO SECTION */
.hero {
    background-color: #eee;
}
.hero-title {
    font-size: 2rem;
    font-weight: bold;
}
.hero-desc {
    font-size: 1.125rem;
    margin-bottom: 1.5rem;
}
.img-placeholder-hero {
    width: 100%;
    height: 300px;
    background-color: #ccc;
    border-radius: 4px;
}

/* CONTEÚDO PRINCIPAL */
/* Cada caixa de post (link que envolve a box) */
.post-box {
    display: block;
    text-decoration: none;
    color: inherit;
    transition: background-color 0.3s;
}

.img-placeholder {
    width: 100%;
    min-height: 120px;
    background-color: #ccc;
    border-radius: 4px;
}
.img-placeholder-right {
    width: 100%;
    height: 500px;
    background-color: #bbb;
    border-radius: 4px;
}

/* Títulos dos posts */
.blog-title {
    font-size: 1.25rem;
    font-weight: 700;
    margin-bottom: 0.5rem;
    color: #212529;
}
.blog-excerpt {
    font-size: 1rem;
    margin-bottom: 1rem;
}
.blog-readmore {
    font-weight: 600;
    color: #000 !important;
}
.blog-readmore:hover {
    text-decoration: underline;
}

/* NEWSLETTER */
.newsletter-fullwidth {
    background-color: #004d40;
}
.newsletter-fullwidth .form-label {
    color: #fff;
}
.newsletter-fullwidth .form-control {
    border-radius: 4px;
    border: 1px solid #ddd;
}

/* FOOTER */
footer h5 {
    color: #212529;
}
footer a {
    color: #000 !important;
    text-decoration: none;
}
footer a:hover {
    color: #333 !important;
    text-decoration: underline;
}
.post-box:hover,
.post-box:hover * {
    text-decoration: none !important;
}
.btn-cta {
    background-color: #008B8B;
    color: #fff;
    font-weight: 600;
    border-radius: 4px;
    text-decoration: none;
}
.btn-cta:hover {
    background-color: #008B8B;
    color: #fff;
    text-decoration: none!important;
}

.entry-content img {
    max-width: 100%;
    height: auto;
    display: block;
    margin: 0 auto;
}
.entry-content h2, .entry-content h3, .entry-content h4, .entry-content h5, .entry-content h6 {
    margin-top: 2rem;
    margin-bottom: 1rem;
    font-weight: 700;
}

.entry-title{
    font-size: 2.6rem;
    font-weight: 700;
    margin: 35px 0;
}

hr {
    border: none; /* Remove a borda padrão */
    height: 1px; /* Define a altura da linha */
    background-color: #d6d6d6; /* Cinza suave */
    margin: 20px 0; /* Espaçamento vertical */
    opacity: 0.7; /* Torna a linha mais sutil */
}

/* Estilos para Posts Relacionados - Layout responsivo */
/* Container do grid de posts relacionados */
.related-posts-grid {
    display: grid !important;
    grid-template-columns: repeat(3, 1fr) !important; /* 3 colunas para desktop */
    gap: 20px;
    margin-bottom: 30px;
}

/* Artigo individual */
.related-post {
    border: 1px solid #eee;
    border-radius: 8px;
    overflow: hidden;
    display: flex;
    flex-direction: column;
    background-color: #fff;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.05);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    margin-bottom: 20px;
}

.related-post:hover {
    transform: translateY(-5px);
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
}

/* Container da miniatura com proporção fixa */
.post-thumbnail {
    position: relative;
    width: 100%;
    padding-bottom: 56.25%; /* Proporção 16:9 para desktop */
    overflow: hidden;
}

/* Remover atributos width e height das imagens para permitir controle via CSS */
.post-thumbnail img {
    position: absolute !important;
    top: 0;
    left: 0;
    width: 100% !important;
    height: 100% !important;
    object-fit: cover;
    object-position: center;
    transition: transform 0.3s ease;
    max-width: none !important;
}

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

/* Conteúdo do post */
.related-post-content {
    padding: 20px;
    flex-grow: 1;
    display: flex;
    flex-direction: column;
}

/* Título do post */
.related-post-title {
    font-size: 16px; /* Reduzido para 3 colunas */
    line-height: 1.4;
    margin: 0;
    flex-grow: 1;
    overflow: hidden;
    height: auto;
}

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

/* Responsividade */
@media (max-width: 768px) {
    .related-posts-grid {
        grid-template-columns: 1fr !important; /* 1 coluna para mobile */
    }
    
    .related-post {
        text-align: center;
    }
    
    .related-post-title {
        font-size: 18px; /* Maior para 1 coluna */
    }
    
    .post-thumbnail {
        padding-bottom: 70%;
    }
    
    .related-post-content {
        padding: 20px 15px;
    }
}

@media (max-width: 576px) {
    .related-posts-grid {
        gap: 15px;
    }
    
    .related-post {
        margin-bottom: 25px;
    }
    
    .post-thumbnail {
        padding-bottom: 75%;
    }
    
    .related-post-content {
        padding: 15px 10px;
    }
    
    .related-post-title {
        margin-top: 10px;
        margin-bottom: 10px;
    }
}

/* Author Card */
.author-card {
    display: flex;
    align-items: center;
    padding: 20px;
    margin: 30px 0;
    background-color: #fff;
    border-radius: 3px;
    border: 1px solid #ddd;
}

/* Avatar: torna-o circular */
.author-card-avatar img {
    width: 80px;
    height: 80px;
    border-radius: 50%;
    object-fit: cover;
    margin-right: 20px;
}

/* Conteúdo */
.author-card-content {
    flex: 1;
}

.author-card-name {
    margin: 0 0 10px;
    font-size: 1.5rem;
    font-weight: 700;
}

.author-card-name a {
    color: #212529;
    text-decoration: none;
    transition: color 0.3s ease;
}

.author-card-name a:hover {
    color: #008B8B;
}

.author-card-bio {
    margin: 0 0 15px;
    font-size: 1rem;
    line-height: 1.5;
    color: #555;
}

/* Social Links */
.author-card-social {
    display: flex;
    gap: 15px;
}

.author-card-social-link {
    font-size: 1.5rem;
    color: #008B8B;
    transition: color 0.3s ease;
}

.author-card-social-link:hover {
    color: #005f5f;
}

/* FOOTER */
.site-footer {
    font-size: 0.9rem;
}

.footer-columns {
    margin-bottom: 30px;
}

.footer-column {
    margin-bottom: 20px;
}

.footer-logo img {
    max-width: 60%;
    height: auto;
}

.footer-title {
    font-size: 1.2rem;
    font-weight: bold;
    margin-bottom: 15px;
    color: #212529;
}

/* Menu do rodapé */
.footer-menu {
    list-style: none;
    padding: 0;
    margin: 0;
}
.footer-menu ul{
    list-style: none;
    padding: 0;
    margin: 0;
}
.footer-menu li {
    margin-bottom: 8px;
    list-style: none;
}

.footer-menu li a {
    color: #000;
    text-decoration: none;
    transition: color 0.3s ease;
}

.footer-menu li a:hover {
    color: #008B8B;
}

/* Redes Sociais */
.footer-social-links a {
    font-size: 1.5rem;
    color: #008B8B;
    transition: color 0.3s ease;
}

.footer-social-links a:hover {
    color: #005f5f;
}

/* Direitos autorais */
.footer-bottom p {
    margin: 0;
    color: #555;
}
.archive-header {
    margin: 30px 0;
    font-weight: 700;
}
.archive-header h1 {
    font-size: 2.6rem;
    margin: 20px 0;
    font-weight: 700;
}

/* Estilo para o Índice */
.post-toc {
    background: #fff;
    border: 1px solid #e0e0e0;
    padding: 15px;
    border-radius: 3px;
    margin-bottom: 25px;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.05);
}

.toc-title {
    font-size: 18px;
    font-weight: bold;
    margin-bottom: 10px;
    color: #333;
    text-align: left;
}

.toc-list {
    list-style: none;
    padding-left: 0;
}

.toc-item {
    margin: 5px 0;
}

.toc-item a {
    text-decoration: none;
    color: #0073aa;
    font-size: 16px;
    transition: color 0.3s;
}

.toc-item a:hover {
    color: #005680;
}

/* Diferenciar H2 e H3 */
.toc-level-2 {
    font-weight: bold;
    padding-left: 5px;
}

.toc-level-3 {
    font-size: 14px;
    padding-left: 15px;
}

/* Estilo do Box de Venda Fixa */
.box-venda-fixa {
    background: #25D366; /* Verde do WhatsApp */
    border: 2px solid #1ebe5d; /* Borda com tom mais escuro do verde */
    padding: 20px;
    border-radius: 4px;
    text-align: left;
    margin: 40px 0;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.1);
    color: #ffffff; /* Texto branco */
}

/* Título do Box */
.box-venda-title {
    font-size: 30px;
    font-weight: bold;
    color: #ffffff; /* Título branco para contraste */
    margin: 10px 0 !important;
}

/* Descrição do Box */
.box-venda-desc {
    font-size: 16px;
    color: #f2f2f2; /* Cinza claro para melhor legibilidade */
    margin-bottom: 15px;
}

/* Botão CTA (Branco com texto verde) */
.box-venda-btn {
    display: inline-block;
    background: #ffffff!important; /* Botão branco */
    color: #25D366!important; /* Texto do botão com o verde do WhatsApp */
    padding: 12px 20px;
    font-size: 16px;
    font-weight: bold;
    border-radius: 6px;
    text-decoration: none;
    transition: background 0.3s ease, transform 0.2s ease-in-out;
}

/* Efeito hover no botão */
.box-venda-btn:hover {
    background: #f2f2f2!important; /* Um tom mais escuro do branco */
    transform: scale(1.05);
    text-decoration: none!important;
}

.box-venda-btn {
    display: inline-block;
    background: #0073aa;
    color: #fff;
    padding: 12px 20px;
    font-size: 16px;
    font-weight: bold;
    border-radius: 6px;
    text-decoration: none;
    transition: background 0.3s ease;
}

.box-venda-btn:hover {
    background: #005680;
}
/* Estilo da Página 404 */
.error-404 {
    background: #ffffff;
    border: 2px solid #e0e0e0;
    padding: 40px;
    border-radius: 8px;
    text-align: center;
    margin: 60px auto;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.08);
}

.error-title {
    font-size: 80px;
    font-weight: bold;
    color: #25D366; /* Verde WhatsApp */
    margin: 0;
}

.error-subtitle {
    font-size: 24px;
    font-weight: bold;
    color: #333;
    margin-top: 10px;
}

.error-message {
    font-size: 16px;
    color: #666;
    margin-bottom: 20px;
}

/* Botão de Voltar */
.error-btn {
    display: inline-block;
    background: #25D366; /* Verde WhatsApp */
    color: #ffffff;
    padding: 12px 20px;
    font-size: 16px;
    font-weight: bold;
    border-radius: 6px;
    text-decoration: none;
    transition: background 0.3s ease, transform 0.2s ease-in-out;
}

.error-btn:hover {
    background: #1ebe5d;
    transform: scale(1.05);
}

/* Barra de Pesquisa */
.error-search {
    margin-top: 20px;
}
/* Estilo da Página de Pesquisa */
.search-header {
    text-align: center;
    margin-bottom: 30px;
}

.search-title {
    font-size: 26px;
    font-weight: bold;
    color: #333;
}

.search-title span {
    color: #25D366; /* Verde do WhatsApp para destaque */
}

/* Estilo para quando não houver resultados */
.no-results {
    background: #ffffff;
    border: 2px solid #e0e0e0;
    padding: 40px;
    border-radius: 8px;
    text-align: center;
    margin: 60px auto;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.08);
}

.no-results-title {
    font-size: 24px;
    font-weight: bold;
    color: #333;
    margin-bottom: 10px;
}

.no-results-text {
    font-size: 16px;
    color: #666;
    margin-bottom: 20px;
}

/* Botão para voltar à Home */
.no-results-btn {
    display: inline-block;
    background: #25D366; /* Verde WhatsApp */
    color: #ffffff;
    padding: 12px 20px;
    font-size: 16px;
    font-weight: bold;
    border-radius: 6px;
    text-decoration: none;
    transition: background 0.3s ease, transform 0.2s ease-in-out;
}

.no-results-btn:hover {
    background: #1ebe5d;
    transform: scale(1.05);
}

/* Barra de Pesquisa dentro do box de erro */
.no-results-search {
    margin-top: 20px;
}

.container-posts img {
    width: 100%;           /* Largura de 100% do container */
    height: 180px;         /* Altura fixa similar à imagem roxa */
    object-fit: cover;     /* Mantém a proporção da imagem */
    object-position: center; /* Centraliza a imagem */
    border-radius: 8px;    /* Cantos arredondados como na imagem */
    transition: transform 0.3s ease; /* Efeito suave ao passar o mouse */
}

/* Opcional: efeito hover para destacar a imagem quando passar o mouse */
.container-posts a:hover img {
    transform: scale(1.03);
}

/* Estilo específico para cards post */
.post-box {
    display: block;
    text-decoration: none;
    margin-bottom: 20px;
    transition: all 0.3s ease;
}

/* Adicione uma sombra sutil nos cards, similar ao card roxo */
.post-box:hover {
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
}

/* Estilo para o título dos posts */
.blog-title {
    font-size: 1.3rem;
    margin-top: 10px;
    margin-bottom: 10px;
    color: #333;
}

/* Estilo para o resumo dos posts */
.blog-excerpt {
    color: #666;
    font-size: 0.95rem;
    line-height: 1.5;
}

/* Estilo para o "Leia mais" */
.blog-readmore {
    color: #7353d9; /* Cor roxa similar à imagem */
    font-weight: bold;
    font-size: 0.9rem;
}

/* Estilos para newsletter - versão otimizada e responsiva */
.newsletter-fullwidth {
    padding: 30px 0;
}

/* Estrutura e alinhamento do container */
.newsletter-fullwidth .container {
    text-align: left;
    max-width: 1140px;
    margin: 0 auto;
}

/* Estilização de texto */
.newsletter-fullwidth h3 {
    font-size: 24px;
    margin-bottom: 15px;
    font-weight: 600;
    text-align: left;
}

.newsletter-fullwidth p {
    font-size: 16px;
    margin-bottom: 20px;
    line-height: 1.5;
    text-align: left;
}

/* Formulário e campos */
.newsletter-fullwidth form {
    background-color: transparent !important;
    padding: 0 !important;
    margin: 20px 0 !important;
    box-shadow: none !important;
    width: 100%;
    border-radius: 0;
}

.newsletter-fullwidth form .row {
    display: flex;
    flex-wrap: wrap;
    margin-left: -10px;
    margin-right: -10px;
    gap: 15px 0; /* Espaçamento vertical entre linhas */
}

.newsletter-fullwidth form .col-12 {
    padding: 0 10px;
    margin-bottom: 15px;
}

.newsletter-fullwidth form .form-label {
    display: block;
    margin-bottom: 8px;
    font-weight: 500;
    text-align: left;
}

.newsletter-fullwidth form .form-control {
    width: 100%;
    padding: 10px 15px;
    border: 1px solid rgba(255, 255, 255, 0.3);
    background-color: rgba(255, 255, 255, 0.1);
    color: inherit;
    border-radius: 4px;
    height: 45px;
}

.newsletter-fullwidth form .form-control::placeholder {
    color: rgba(255, 255, 255, 0.7);
}

/* Estilização do botão */
.newsletter-fullwidth .btn-light {
    background-color: #fff;
    color: #004d40; /* Usar a cor complementar ao fundo da newsletter */
    font-weight: 600;
    padding: 12px 25px;
    border: none;
    border-radius: 4px;
    cursor: pointer;
    transition: all 0.3s ease;
    width: 100%;
    height: 45px;
    margin-top: 24px; /* Espaçamento importante entre o campo e o botão */
}

.newsletter-fullwidth .btn-light:hover {
    background-color: rgba(255, 255, 255, 0.9);
    transform: translateY(-2px);
}

/* Mensagens de resposta */
.newsletter-response {
    width: 100%;
}

.newsletter-fullwidth .newsletter-response .alert {
    text-align: left;
    margin-top: 15px;
    padding: 12px 15px;
    background-color: transparent;
    border: none;
    border-radius: 4px;
    font-weight: 500;
}

.newsletter-fullwidth .newsletter-response .alert-danger {
    background-color: rgba(220, 53, 69, 0.1);
    border: 1px solid rgba(220, 53, 69, 0.3);
}

.newsletter-fullwidth .newsletter-footer {
    margin-top: 15px;
    font-size: 14px;
    opacity: 0.9;
}

/* Responsividade */
@media (max-width: 768px) {
    .newsletter-fullwidth {
        padding: 25px 0;
    }
    
    .newsletter-fullwidth h3 {
        font-size: 22px;
    }
    
    .newsletter-fullwidth form .col-md-5,
    .newsletter-fullwidth form .col-md-2 {
        width: 100%;
    }
    
    .newsletter-fullwidth .btn-light {
        margin-top: 5px; /* Ajuste do espaçamento em telas menores */
    }
    
    .newsletter-fullwidth form .align-self-end {
        align-self: stretch !important;
    }
}

/* Ajuste extra para telas muito pequenas */
@media (max-width: 576px) {
    .newsletter-fullwidth .container {
        padding-left: 15px;
        padding-right: 15px;
    }
    
    .newsletter-fullwidth h3 {
        font-size: 20px;
    }
    
    .newsletter-fullwidth p {
        font-size: 15px;
    }
}

/* =========== CITAÇÕES COM ESTILO NEUTRO ELEGANTE =========== */
blockquote {
    position: relative;
    padding: 40px 50px 40px 80px;
    margin: 40px 0;
    background: linear-gradient(135deg, rgba(250, 250, 250, 0.9) 0%, rgba(245, 245, 245, 0.85) 100%);
    border-left: 6px solid #666666; /* Cinza neutro */
    border-right: 1px solid rgba(0, 0, 0, 0.1);
    border-top: 1px solid rgba(0, 0, 0, 0.1);
    border-bottom: 1px solid rgba(0, 0, 0, 0.1);
    border-radius: 0 12px 12px 0;
    box-shadow: 0 15px 30px rgba(0, 0, 0, 0.05), 0 5px 15px rgba(0, 0, 0, 0.03);
    font-family: 'Georgia', serif;
    font-style: italic;
    letter-spacing: 0.6px;
    line-height: 1.8;
    overflow: hidden;
    transition: all 0.4s ease;
}

/* Corrigido: usando o código Unicode para aspas de abertura */
blockquote::before {
    content: "\201C"; /* Código Unicode para aspas duplas de abertura */
    font-family: 'Georgia', serif;
    position: absolute;
    top: 20px;
    left: 25px;
    font-size: 8em;
    color: rgba(0, 0, 0, 0.08); /* Cinza muito claro */
    z-index: 0;
    line-height: 0.8;
}

/* Aspas decorativas no final - adicionado pseudoelemento para isso */
blockquote::after {
    content: "\201D"; /* Código Unicode para aspas duplas de fechamento */
    font-family: 'Georgia', serif;
    position: absolute;
    bottom: -20px;
    right: 30px;
    font-size: 5em;
    color: rgba(0, 0, 0, 0.05);
    line-height: 0.8;
}

/* Linhas decorativas na parte inferior - agora como pseudoelemento separado */
blockquote .blockquote-line {
    content: "";
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    height: 4px;
    background: linear-gradient(to right, rgba(0, 0, 0, 0.2), transparent);
}

blockquote p {
    position: relative;
    z-index: 1;
    margin-bottom: 15px;
    color: #333;
    font-size: 1.15em;
    text-shadow: 0 1px 1px rgba(255, 255, 255, 0.7);
}

blockquote p:last-of-type {
    margin-bottom: 0;
}

blockquote cite {
    display: block;
    font-style: normal;
    font-weight: 600;
    font-size: 0.9em;
    margin-top: 20px;
    color: #555;
    font-family: 'Arial', sans-serif;
    letter-spacing: 1.5px;
    text-transform: uppercase;
    position: relative;
    padding-top: 10px;
}

blockquote cite:before {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    width: 40px;
    height: 2px;
    background: rgba(0, 0, 0, 0.2);
}

blockquote:hover {
    transform: translateY(-5px);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.08), 0 15px 25px rgba(0, 0, 0, 0.05);
    border-right: 1px solid rgba(0, 0, 0, 0.15);
    border-top: 1px solid rgba(0, 0, 0, 0.15);
    border-bottom: 1px solid rgba(0, 0, 0, 0.15);
}

/* =========== TABELAS COM ESTILO NEUTRO ELEGANTE =========== */
table {
    width: 100%;
    border-collapse: separate;
    border-spacing: 0;
    margin: 30px 0;
    font-family: 'Arial', sans-serif;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.08);
    border-radius: 8px;
    overflow: hidden;
    background: #fff;
    border: 2px solid rgba(0, 0, 0, 0.1); /* Borda externa cinza */
}

table thead tr {
    background: linear-gradient(135deg, #4A4A4A, #666666); /* Gradiente cinza neutro */
    color: white;
    text-align: left;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 1px;
}

table th {
    padding: 16px 20px;
    font-size: 0.9em;
    border-bottom: 3px solid rgba(0, 0, 0, 0.2); /* Borda inferior do cabeçalho */
    border-right: 1px solid rgba(255, 255, 255, 0.2); /* Divisória entre colunas do cabeçalho */
}

table th:last-child {
    border-right: none;
}

table td {
    padding: 14px 20px;
    border-bottom: 1px solid rgba(0, 0, 0, 0.1); /* Borda entre linhas */
    border-right: 1px solid rgba(0, 0, 0, 0.05); /* Borda entre colunas */
    font-size: 0.95em;
    color: #444;
}

table td:last-child {
    border-right: none;
}

table tbody tr:last-child td {
    border-bottom: none;
}

table tbody tr {
    transition: all 0.3s ease;
}

table tbody tr:nth-child(even) {
    background-color: rgba(0, 0, 0, 0.02); /* Cinza muito claro para linhas alternadas */
}

table tbody tr:hover {
    background-color: rgba(0, 0, 0, 0.04); /* Cinza claro para hover */
    cursor: default;
}

/* Estilização para a primeira coluna */
table tbody tr td:first-child {
    font-weight: 600;
    color: #333;
    border-left: 4px solid transparent; /* Preparação para o hover effect */
}

table tbody tr:hover td:first-child {
    border-left: 4px solid rgba(0, 0, 0, 0.2); /* Indicador lateral cinza */
}

/* Animação sutil ao carregar a página */
@keyframes fadeIn {
    from { opacity: 0; transform: translateY(10px); }
    to { opacity: 1; transform: translateY(0); }
}

blockquote, table {
    animation: fadeIn 0.6s ease-out forwards;
}

/* Estilo moderno para paginação numerada de posts */
.page-numbers {
    display: inline-block;
    width: 45px;
    height: 45px;
    line-height: 45px;
    text-align: center;
    margin: 0 5px;
    text-decoration: none;
    color: #333;
    background-color: #f4f4f4;
    border-radius: 3px;
    transition: all 0.3s ease;
}

.page-numbers:hover {
    background-color: #e0e0e0;
}

.page-numbers.dots {
    background: transparent;
    font-weight: bold;
}

.page-numbers.next, .page-numbers.prev {
    padding: 0 15px;
    width: auto;
}