/* ============================================
   PROFª LEIDES - CSS PERSONALIZADO CORRIGIDO
   Tema: Hever (WordPress.com)
   profaleides.com.br
   ============================================ */

/* ============================================
   1. CABEÇALHO GLOBAL (HEADER) - CORRIGIDO
   ============================================ */

/* Fundo do cabeçalho */
.site-header,
#masthead,
.header-wrapper {
    background-color: #FFFFFF !important;
    border-bottom: 3px solid #D6B06A !important;
    box-shadow: 0 2px 15px rgba(31, 42, 68, 0.08) !important;
}

/* Nome do site - REMOVIDO ::before que duplicava */
.site-title,
.site-title a {
    color: #1F2A44 !important;
    font-weight: 700 !important;
    font-size: 1.4rem !important;
    text-decoration: none !important;
    transition: color 0.3s ease !important;
}

.site-title a:hover {
    color: #4A6B5A !important;
}

/* ============================================
   2. MENU DE NAVEGAÇÃO - SELETORES HEVER
   ============================================ */

/* Menu principal - múltiplos seletores para garantir */
.main-navigation a,
.main-navigation ul li a,
.nav-menu a,
.menu-primary-container a,
#site-navigation a,
.header-navigation a {
    color: #1F2A44 !important;
    font-weight: 500 !important;
    font-size: 0.95rem !important;
    padding: 8px 14px !important;
    border-radius: 20px !important;
    transition: all 0.3s ease !important;
    text-decoration: none !important;
}

.main-navigation a:hover,
.main-navigation ul li a:hover,
.nav-menu a:hover,
.menu-primary-container a:hover,
#site-navigation a:hover,
.header-navigation a:hover {
    background-color: #4A6B5A !important;
    color: #FFFFFF !important;
}

/* Item ativo do menu */
.main-navigation .current-menu-item a,
.main-navigation .current_page_item a,
.main-navigation .current-menu-item > a,
.main-navigation .current_page_item > a {
    background-color: #4A6B5A !important;
    color: #FFFFFF !important;
    font-weight: 600 !important;
}

/* ============================================
   3. PÁGINA INICIAL - FUNDO CORRIGIDO
   ============================================ */

/* Fundo da página inicial - REMOVIDO gradiente problemático */
.home .site-content,
.home #content,
.home .content-area {
    background-color: #F7F5F2 !important;
}

/* Título principal da home */
.home .entry-title,
.home h1,
.home .wp-block-heading {
    color: #1F2A44 !important;
    font-weight: 700 !important;
}

/* Destaque para partes do título em dourado */
.home .entry-content h1 strong,
.home .entry-content h2 strong,
.home h1 strong,
.home h2 strong {
    color: #D6B06A !important;
}

/* Botões da página inicial */
.home .wp-block-button__link,
.home .button,
.home a.button,
.wp-block-button__link {
    background-color: #4A6B5A !important;
    color: #FFFFFF !important;
    border-radius: 30px !important;
    padding: 14px 32px !important;
    font-weight: 600 !important;
    text-transform: uppercase !important;
    font-size: 0.85rem !important;
    letter-spacing: 1px !important;
    border: 2px solid #4A6B5A !important;
    transition: all 0.3s ease !important;
    text-decoration: none !important;
}

.home .wp-block-button__link:hover,
.home .button:hover,
.wp-block-button__link:hover {
    background-color: #1F2A44 !important;
    border-color: #1F2A44 !important;
    transform: translateY(-2px) !important;
    box-shadow: 0 6px 20px rgba(31, 42, 68, 0.2) !important;
}

/* Botão outline (secundário) */
.home .is-style-outline .wp-block-button__link,
.is-style-outline .wp-block-button__link {
    background-color: transparent !important;
    color: #4A6B5A !important;
    border: 2px solid #4A6B5A !important;
}

.home .is-style-outline .wp-block-button__link:hover,
.is-style-outline .wp-block-button__link:hover {
    background-color: #4A6B5A !important;
    color: #FFFFFF !important;
}

/* ============================================
   4. BLOG - LAYOUT COM CARDS
   ============================================ */

/* Fundo da área do blog */
.blog .site-content,
.blog #content,
.archive .site-content,
.archive #content,
.search .site-content,
.search #content {
    background-color: #F7F5F2 !important;
    padding-top: 40px !important;
    padding-bottom: 60px !important;
}

/* Cards para cada post */
.blog .post,
.blog article,
.archive .post,
.archive article,
.search .post,
.search article {
    background: #FFFFFF !important;
    border-radius: 16px !important;
    border: 2px solid #D6B06A !important;
    box-shadow: 0 8px 30px rgba(31, 42, 68, 0.08) !important;
    padding: 40px !important;
    margin-bottom: 40px !important;
    transition: transform 0.3s ease, box-shadow 0.3s ease !important;
}

/* Efeito hover nos cards */
.blog .post:hover,
.blog article:hover,
.archive .post:hover,
.archive article:hover,
.search .post:hover,
.search article:hover {
    transform: translateY(-4px) !important;
    box-shadow: 0 12px 40px rgba(31, 42, 68, 0.15) !important;
}

/* Títulos dos posts */
.entry-title a,
.post .entry-title a,
article .entry-title a {
    color: #1F2A44 !important;
    font-size: 1.7rem !important;
    font-weight: 700 !important;
    line-height: 1.3 !important;
    text-decoration: none !important;
    transition: color 0.3s ease !important;
}

.entry-title a:hover,
.post .entry-title a:hover,
article .entry-title a:hover {
    color: #4A6B5A !important;
}

/* Resumo do post */
.entry-content p,
.entry-summary p,
.post .entry-content p,
.post .entry-summary p {
    color: #333333 !important;
    font-size: 1.05rem !important;
    line-height: 1.7 !important;
    margin-top: 15px !important;
}

/* Botão "Continuar lendo" */
.more-link,
.post .more-link,
a.more-link {
    display: inline-block !important;
    background-color: #1F2A44 !important;
    color: #FFFFFF !important;
    padding: 12px 28px !important;
    border-radius: 30px !important;
    font-weight: 600 !important;
    text-transform: uppercase !important;
    font-size: 0.8rem !important;
    letter-spacing: 1px !important;
    margin-top: 20px !important;
    text-decoration: none !important;
    transition: all 0.3s ease !important;
}

.more-link:hover,
.post .more-link:hover,
a.more-link:hover {
    background-color: #4A6B5A !important;
    transform: translateX(5px) !important;
}

/* Metadados (autor, data, categoria) */
.entry-meta,
.post .entry-meta {
    font-size: 0.85rem !important;
    color: #666666 !important;
    margin-top: 25px !important;
    padding-top: 20px !important;
    border-top: 1px solid #E8E4DF !important;
}

.entry-meta a,
.post .entry-meta a {
    color: #4A6B5A !important;
    font-weight: 500 !important;
    text-decoration: none !important;
}

.entry-meta a:hover,
.post .entry-meta a:hover {
    color: #C98B8E !important;
}

/* ============================================
   5. SIDEBAR E WIDGETS
   ============================================ */

/* Fundo dos widgets */
.widget,
.sidebar .widget,
#secondary .widget {
    background: #FFFFFF !important;
    border-radius: 12px !important;
    border: 1px solid #E8E4DF !important;
    padding: 25px !important;
    margin-bottom: 25px !important;
    box-shadow: 0 4px 15px rgba(31, 42, 68, 0.05) !important;
}

/* Títulos dos widgets */
.widget-title,
.sidebar .widget-title,
#secondary .widget-title {
    color: #1F2A44 !important;
    font-size: 1.1rem !important;
    font-weight: 700 !important;
    border-bottom: 2px solid #D6B06A !important;
    padding-bottom: 10px !important;
    margin-bottom: 15px !important;
}

/* Links nos widgets */
.widget a,
.sidebar .widget a,
#secondary .widget a {
    color: #4A6B5A !important;
    text-decoration: none !important;
    transition: color 0.3s ease !important;
}

.widget a:hover,
.sidebar .widget a:hover,
#secondary .widget a:hover {
    color: #D6B06A !important;
}

/* ============================================
   6. RODAPÉ (FOOTER)
   ============================================ */

.site-footer,
#colophon,
.footer-wrapper {
    background-color: #1F2A44 !important;
    color: #FFFFFF !important;
    padding: 40px 0 !important;
}

.site-footer a,
#colophon a,
.footer-wrapper a {
    color: #D6B06A !important;
    text-decoration: none !important;
}

.site-footer a:hover,
#colophon a:hover,
.footer-wrapper a:hover {
    color: #FFFFFF !important;
}

/* ============================================
   7. RESPONSIVO (MOBILE)
   ============================================ */

@media (max-width: 768px) {
    .blog .post,
    .blog article,
    .archive .post,
    .archive article,
    .search .post,
    .search article {
        padding: 25px !important;
        margin-bottom: 25px !important;
    }
    
    .entry-title a,
    .post .entry-title a,
    article .entry-title a {
        font-size: 1.4rem !important;
    }
    
    .main-navigation a,
    .main-navigation ul li a,
    .nav-menu a {
        padding: 6px 10px !important;
        font-size: 0.85rem !important;
    }
}