/* Estilos do Tema Tekshine Blog Custom */

/* --- 1. CABEÇALHO (SITE HEADER) --- */
.site-header {
    background-color: var(--color-secondary);
    color: var(--color-white);
    padding: 15px 0;
    position: sticky;
    top: 0;
    z-index: 999;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.header-container {
    max-width: 1440px;
    width: 90%;
    margin: 0 auto;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.site-logo .custom-logo-img {
    height: 52px;
    width: auto;
    display: block;
}

.menu-menu-principal-container-wrapper {
    display: flex;
    align-items: center;
    gap: 35px;
}

.main-navigation {
    position: relative;
}

.main-navigation ul.menu {
    list-style: none;
    display: flex;
    align-items: center;
    gap: 30px;
    margin: 0;
    padding: 0;
}

.main-navigation ul.menu > li {
    position: relative;
    padding: 10px 0;
}

.main-navigation ul.menu > li > a {
    font-family: 'Be Vietnam Pro', sans-serif;
    font-weight: 500;
    font-size: 16px;
    color: var(--color-white);
    transition: color 0.3s ease;
}

.main-navigation ul.menu > li > a:hover,
.main-navigation ul.menu > li.current-menu-item > a,
.main-navigation ul.menu > li.current_page_item > a {
    color: var(--color-primary) !important;
}

/* Submenu Dropdown */
.main-navigation ul.menu .sub-menu {
    display: none;
    position: absolute;
    top: 100%;
    left: 50%;
    transform: translateX(-50%);
    background-color: var(--color-secondary);
    min-width: 220px;
    box-shadow: 0 8px 25px rgba(0,0,0,0.4);
    padding: 10px 0;
    list-style: none;
    border-radius: 4px;
    border: 1px solid rgba(255,255,255,0.1);
    flex-direction: column;
    align-items: flex-start;
    gap: 0;
    z-index: 999;
}

.main-navigation ul.menu .sub-menu li {
    width: 100%;
    padding: 0;
    margin: 0;
}

.main-navigation ul.menu .sub-menu a {
    display: block;
    padding: 12px 20px;
    font-size: 14px;
    color: #CCCCCC;
    width: 100%;
    font-family: 'Be Vietnam Pro', sans-serif;
    font-weight: 500;
    transition: background-color 0.3s ease, color 0.3s ease;
}

.main-navigation ul.menu .sub-menu a:hover {
    background-color: rgba(255, 255, 255, 0.05);
    color: var(--color-primary) !important;
}

/* Exibir no hover */
.main-navigation ul.menu li:hover > .sub-menu {
    display: flex;
}

/* Item de menu com filhos (Dropdown arrow) */
.main-navigation ul.menu .menu-item-has-children > a {
    display: flex;
    align-items: center;
    gap: 6px;
}

.main-navigation ul.menu .menu-item-has-children > a::after {
    content: '';
    width: 0;
    height: 0;
    border-left: 4px solid transparent;
    border-right: 4px solid transparent;
    border-top: 4px solid var(--color-white);
    margin-top: 2px;
    transition: border-color 0.3s ease;
}

.main-navigation ul.menu .menu-item-has-children > a:hover::after,
.main-navigation ul.menu .menu-item-has-children.current-menu-item > a::after {
    border-top-color: var(--color-primary);
}

.header-search-icon {
    display: flex;
    align-items: center;
}

.search-toggle-btn {
    display: flex;
    align-items: center;
    padding: 5px;
    transition: transform 0.2s ease;
}

.search-toggle-btn:hover {
    transform: scale(1.1);
}

/* Menu Hambúrguer (Mobile) */
.menu-toggle {
    display: none;
    background: none;
    border: none;
    cursor: pointer;
    flex-direction: column;
    gap: 6px;
}

.menu-toggle .bar {
    width: 25px;
    height: 3px;
    background-color: var(--color-white);
    transition: all 0.3s ease;
}


/* --- 2. HERO SLIDER --- */
.hero-slider-section {
    background-color: var(--color-background);
    padding: 40px 0;
}

.slider-container {
    max-width: 1440px;
    width: 90%;
    margin: 0 auto;
    position: relative;
    border-radius: 20px;
    overflow: hidden;
    height: 520px;
    box-shadow: 0 10px 30px rgba(0,0,0,0.1);
}

.slider-wrapper {
    position: relative;
    width: 100%;
    height: 100%;
}

.slide-item {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-size: cover;
    background-position: center;
    opacity: 0;
    transition: opacity 0.8s ease-in-out;
    display: flex;
    align-items: flex-end;
    z-index: 1;
}

.slide-item.active {
    opacity: 1;
    z-index: 2;
}

.slide-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(to top, rgba(0,0,0,0.95) 0%, rgba(0,0,0,0.5) 60%, rgba(0,0,0,0) 100%);
}

.slide-content {
    position: relative;
    z-index: 3;
    width: 100%;
    max-width: 700px;
    padding: 40px 60px;
    color: var(--color-white);
}

.slide-meta {
    font-size: 14px;
    margin-bottom: 15px;
    color: var(--color-primary);
    font-weight: 300;
}

.slide-meta a {
    color: var(--color-white);
}

.slide-title {
    font-family: var(--font-heading);
    font-weight: 500;
    font-size: 38px;
    line-height: 1.2;
    margin-bottom: 15px;
}

.slide-excerpt {
    font-size: 16px;
    margin-bottom: 25px;
    opacity: 0.85;
}

.slide-btn {
    display: inline-block;
    background-color: var(--color-primary);
    color: var(--color-secondary);
    padding: 12px 28px;
    border-radius: 5px;
    font-family: var(--font-button);
    font-weight: 600;
    font-size: 15px;
    box-shadow: 0 4px 15px rgba(198,165,75,0.4);
    transition: all 0.3s ease;
}

.slide-btn:hover {
    background-color: var(--color-secondary);
    color: var(--color-white);
    transform: translateY(-2px);
}

/* Dots Navegação */
.slider-dots {
    position: absolute;
    bottom: 25px;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    gap: 10px;
    z-index: 10;
}

.slider-dots .dot {
    width: 10px;
    height: 10px;
    background-color: rgba(255,255,255,0.4);
    border-radius: 50%;
    cursor: pointer;
    transition: all 0.3s ease;
}

.slider-dots .dot.active {
    background-color: var(--color-primary);
    width: 25px;
    border-radius: 5px;
}

/* Setas de Navegação do Slider */
.slider-arrow {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    background-color: rgba(13, 13, 13, 0.45);
    border: 1px solid rgba(255, 255, 255, 0.12);
    color: #FFFFFF;
    width: 44px;
    height: 44px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: all 0.3s ease;
    z-index: 12;
}

.slider-arrow:hover {
    background-color: var(--color-primary);
    color: var(--color-secondary);
    border-color: var(--color-primary);
    box-shadow: 0 4px 12px rgba(198, 165, 75, 0.3);
}

.slider-arrow svg {
    display: block;
    transition: transform 0.2s ease;
}

.prev-arrow {
    left: 20px;
}

.next-arrow {
    right: 20px;
}

.prev-arrow:hover svg {
    transform: translateX(-2px);
}

.next-arrow:hover svg {
    transform: translateX(2px);
}


/* --- 3. FILTROS DE CATEGORIAS --- */
.filters-section {
    padding: 20px 0;
}

.filters-container {
    max-width: 1440px;
    width: 90%;
    margin: 0 auto;
}

.category-buttons-bar {
    display: flex;
    gap: 15px;
    flex-wrap: wrap;
}

.filter-btn {
    display: inline-block;
    text-decoration: none;
    background-color: var(--color-white);
    color: var(--color-secondary);
    border: none;
    padding: 10px 20px;
    font-family: var(--font-heading);
    font-size: 15px;
    font-weight: 500;
    cursor: pointer;
    border-radius: 5px;
    box-shadow: 0 2px 8px rgba(0,0,0,0.05);
    transition: all 0.3s ease;
}

.filter-btn:hover, .filter-btn.active {
    background-color: var(--color-secondary);
    color: var(--color-white);
}


/* --- 4. GRID PRINCIPAL & SIDEBAR --- */
.main-wrapper {
    padding: 40px 0;
}

.content-container {
    max-width: 1440px;
    width: 90%;
    margin: 0 auto;
    display: grid;
    grid-template-columns: 2fr 1fr;
    gap: 40px;
}

.blog-grid {
    display: flex;
    flex-direction: column;
    gap: 40px;
}

.posts-grid-wrapper {
    display: grid;
    grid-template-columns: 1fr;
    gap: 30px;
}

.blog-post-card {
    background-color: var(--color-white);
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 4px 15px rgba(0,0,0,0.04);
    display: flex;
    flex-direction: column;
    transition: transform 0.3s ease, box-shadow 0.3s ease, opacity 0.3s ease;
}

.blog-post-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 10px 25px rgba(0,0,0,0.08);
}

.post-card-image {
    position: relative;
    overflow: hidden;
}

.post-card-image img {
    width: 100%;
    height: 350px;
    object-fit: cover;
    transition: transform 0.5s ease;
}

.blog-post-card:hover .post-card-image img {
    transform: scale(1.03);
}

.post-card-content {
    padding: 30px;
}

.post-card-categories {
    font-size: 13px;
    text-transform: uppercase;
    font-weight: 600;
    color: var(--color-primary);
    margin-bottom: 10px;
    display: block;
}

.post-card-title {
    font-family: var(--font-heading);
    font-size: 24px;
    font-weight: 500;
    line-height: 1.3;
    margin-bottom: 15px;
}

.post-card-title a {
    color: var(--color-secondary);
    text-decoration: none;
    transition: color 0.3s ease;
}



.post-card-meta {
    font-size: 14px;
    color: var(--color-text-light);
    margin-bottom: 15px;
}

.meta-separator {
    margin: 0 5px;
}

.post-card-excerpt {
    font-size: 16px;
    color: var(--color-text-dark);
    margin-bottom: 20px;
    line-height: 1.7;
}

.post-card-more {
    font-family: var(--font-heading);
    font-weight: 600;
    color: var(--color-primary);
    font-size: 15px;
    position: relative;
}

.post-card-more::after {
    content: ' →';
    transition: margin 0.3s ease;
}

.post-card-more:hover::after {
    margin-left: 5px;
}

/* Paginação */
.blog-pagination {
    margin-top: 20px;
}

.pagination .nav-links {
    display: flex;
    gap: 8px;
}

.pagination .page-numbers {
    padding: 10px 18px;
    background-color: var(--color-white);
    border-radius: 5px;
    font-weight: 600;
    box-shadow: 0 2px 8px rgba(0,0,0,0.05);
}

.pagination .page-numbers.current, .pagination .page-numbers:hover {
    background-color: var(--color-secondary);
    color: var(--color-white);
}


/* --- 5. SIDEBAR --- */
.site-sidebar {
    display: flex;
    flex-direction: column;
    gap: 40px;
}

.sidebar-block {
    background-color: var(--color-white);
    padding: 30px;
    border-radius: 12px;
    box-shadow: 0 4px 15px rgba(0,0,0,0.04);
}

.sidebar-title {
    font-family: var(--font-heading);
    font-size: 20px;
    border-bottom: 2px solid var(--color-primary);
    padding-bottom: 10px;
    margin-bottom: 20px;
}

.sidebar-block ul {
    list-style: none;
    display: flex;
    flex-direction: column;
    gap: 15px;
}

.sidebar-block li a {
    display: flex;
    align-items: center;
    gap: 15px;
}

.categories-block li {
    position: relative;
    padding-left: 15px;
}

.categories-block li::before {
    content: '•';
    color: var(--color-primary);
    position: absolute;
    left: 0;
    font-size: 18px;
}

/* Recent posts sidebar design */
.recent-posts-block ul {
    gap: 0 !important; /* Reset layout gaps for custom borders */
}

.recent-posts-block li {
    border-bottom: 1px solid #F0F0F0;
    padding-bottom: 16px;
    margin-bottom: 16px !important;
}

.recent-posts-block li:last-child {
    border-bottom: none;
    padding-bottom: 0;
    margin-bottom: 0 !important;
}

.recent-posts-block li a {
    display: flex;
    align-items: flex-start; /* Align elements to the top */
    gap: 15px;
}

.recent-thumb {
    flex-shrink: 0; /* Prevents Flexbox from squeezing the thumbnail width */
    width: 60px;
    height: 60px;
}

.recent-thumb img {
    width: 100%;
    height: 100%;
    border-radius: 8px;
    object-fit: cover;
}

.recent-info {
    display: flex;
    flex-direction: column;
}

.recent-title {
    font-size: 14px;
    font-weight: 600;
    line-height: 1.4;
    color: #222222;
    transition: color 0.3s ease;
}

.recent-title:hover {
    color: var(--color-primary);
}

.recent-date {
    font-size: 12px;
    color: var(--color-text-light);
    margin-top: 6px;
}


/* --- 6. SINGLE POST --- */
.single-post-wrapper {
    padding: 60px 0;
}

.site-main {
    min-width: 0;
}

.single-post-card {
    background-color: var(--color-white);
    border-radius: 20px;
    overflow: hidden;
    padding: 40px;
    box-shadow: 0 4px 20px rgba(0,0,0,0.04);
    max-width: 100%;
    box-sizing: border-box;
}

.post-content img,
.post-content figure,
.post-content .wp-block-image {
    max-width: 100% !important;
    height: auto !important;
    box-sizing: border-box;
}

.post-featured-image img {
    width: 100%;
    border-radius: 12px;
    margin-bottom: 30px;
}

.post-header .post-title {
    font-family: var(--font-heading);
    font-size: 36px;
    line-height: 1.2;
    margin: 15px 0;
}

.post-header .post-categories a {
    background-color: rgba(198,165,75,0.1);
    color: var(--color-primary);
    padding: 6px 12px;
    border-radius: 4px;
    font-size: 13px;
    font-weight: 600;
    text-transform: uppercase;
}

.post-content {
    font-size: 16px;
    line-height: 1.9;
    color: #666666;
    margin-top: 30px;
    font-family: var(--font-body);
}

.post-content a {
    color: #0066CC; /* Azul premium para links */
    text-decoration: underline;
    transition: color 0.2s ease;
}

.post-content a:hover {
    color: #004499; /* Azul escuro no hover */
}

.post-content p {
    margin-bottom: 25px;
}

.post-content h2, .post-content h3, .post-content h4 {
    font-family: 'Poppins', sans-serif;
    color: #1a1a1a;
    font-weight: 500;
    margin-top: 45px;
    margin-bottom: 20px;
    line-height: 1.4;
}

.post-content h2 {
    font-size: 26px;
}

.post-content h3 {
    font-size: 22px;
}

.post-content strong,
.post-content b {
    font-weight: 600; /* Reduzido de 700/bold para 600 para ficar um negrito muito mais macio e elegante */
}

.post-content ul, .post-content ol {
    margin-bottom: 25px;
    padding-left: 20px;
    color: #666666;
}

.post-content li {
    margin-bottom: 12px;
    line-height: 1.8;
}

/* Legendas de imagem centralizadas e em itálico */
.post-content figcaption, 
.post-content .wp-caption-text {
    display: block;
    text-align: center;
    color: #888888;
    font-size: 14px;
    margin-top: 12px;
    margin-bottom: 30px;
    font-style: italic;
}


/* --- 7. RODAPÉ (FOOTER) --- */
/* --- 7. RODAPÉ (FOOTER) --- */
.footer-cta {
    background-color: var(--color-background);
    padding: 40px 0 60px 0;
}

.cta-container {
    max-width: 1440px;
    width: 90%;
    margin: 0 auto;
    background-color: #000000;
    border-radius: 16px;
    padding: 60px;
    display: grid;
    grid-template-columns: 1fr 1.1fr;
    gap: 50px;
    align-items: center;
    color: var(--color-white);
    box-shadow: 0 10px 30px rgba(0,0,0,0.15);
}

.cta-title {
    font-family: var(--font-heading);
    font-size: 30px;
    font-weight: 600;
    margin-bottom: 20px;
}

.cta-description {
    font-size: 15px;
    line-height: 1.7;
    margin-bottom: 30px;
    opacity: 0.9;
}

.cta-btn {
    display: inline-block;
    background-color: var(--color-primary);
    color: var(--color-secondary);
    padding: 12px 28px;
    border-radius: 5px;
    font-family: 'Be Vietnam Pro', sans-serif;
    font-weight: 600;
    font-size: 14px;
    text-transform: uppercase;
    transition: all 0.3s ease;
}

.cta-btn:hover {
    background-color: var(--color-white);
    color: var(--color-secondary);
    transform: translateY(-2px);
}

.video-wrapper {
    position: relative;
    padding-bottom: 56.25%; /* 16:9 */
    height: 0;
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 10px 25px rgba(0,0,0,0.3);
}

.video-wrapper iframe {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
}

.site-footer {
    background-color: #000000;
    color: var(--color-white);
    padding: 80px 0 30px 0;
    border-top: 1px solid rgba(255,255,255,0.1);
}

.footer-container {
    max-width: 1440px;
    width: 90%;
    margin: 0 auto;
    display: grid;
    grid-template-columns: 1.2fr 1fr 1.1fr 1.1fr;
    gap: 50px;
}

.footer-logo-img {
    height: 42px;
    width: auto;
    display: block;
}

.footer-social-icons {
    display: flex;
    gap: 15px;
    margin: 20px 0;
}

.footer-social-icons .social-icon {
    color: var(--color-white);
    transition: color 0.3s ease;
}

.footer-social-icons .social-icon:hover {
    color: var(--color-primary);
}

.footer-desc {
    font-size: 14px;
    opacity: 0.7;
    line-height: 1.6;
    margin-bottom: 15px;
}

.footer-email a {
    font-size: 14px;
    color: var(--color-white);
    font-weight: 500;
    text-decoration: underline;
    transition: color 0.3s ease;
}

.footer-email a:hover {
    color: var(--color-primary);
}

.footer-title {
    font-family: 'Be Vietnam Pro', sans-serif;
    font-size: 14px;
    font-weight: 600;
    margin-bottom: 25px;
    color: var(--color-primary) !important;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.footer-col ul {
    list-style: none;
    display: flex;
    flex-direction: column;
    gap: 15px;
    padding: 0;
    margin: 0;
}

.footer-col ul a {
    color: #FFFFFF;
    font-size: 15px;
    transition: color 0.3s ease;
}

.footer-col ul a:hover {
    color: var(--color-primary);
}

.footer-bottom {
    max-width: 1440px;
    width: 90%;
    margin: 60px auto 0 auto;
    padding-top: 25px;
    border-top: 1px solid rgba(255,255,255,0.08);
    text-align: center;
    font-size: 14px;
    opacity: 0.5;
}


/* --- 8. RESPONSIVIDADE (MEDIA QUERIES) --- */
@media (max-width: 1024px) {
    .content-container {
        grid-template-columns: 1fr;
        gap: 30px;
    }
    
    .cta-container {
        grid-template-columns: 1fr;
        text-align: center;
        padding: 40px;
        gap: 30px;
    }

    .footer-container {
        grid-template-columns: 1fr 1fr;
        gap: 40px;
    }
}

@media (max-width: 991px) {
    .main-navigation {
        position: static;
        display: flex;
        flex-direction: row-reverse;
        align-items: center;
        gap: 15px;
    }

    .menu-toggle {
        display: flex;
    }
    
    .main-navigation ul.menu {
        display: none;
        flex-direction: column;
        position: absolute;
        top: 100%;
        left: 0;
        width: 100%;
        background-color: rgba(13, 13, 13, 0.98); /* Preto oficial com leve transparência */
        backdrop-filter: blur(10px);
        -webkit-backdrop-filter: blur(10px);
        padding: 15px 0;
        gap: 0;
        box-shadow: 0 15px 30px rgba(0, 0, 0, 0.45);
        z-index: 999;
        border-top: 1px solid rgba(255, 255, 255, 0.05);
        border-bottom: 1px solid rgba(255, 255, 255, 0.05);
    }
    
    .main-navigation ul.menu.toggled {
        display: flex;
    }
    
    .main-navigation ul.menu > li {
        width: 100%;
        margin: 0;
    }
    
    .main-navigation ul.menu > li > a {
        display: block;
        padding: 14px 24px; /* Mais compacto e minimalista */
        font-size: 14px;
        font-weight: 500;
        width: 100%;
        border-bottom: 1px solid rgba(255, 255, 255, 0.04);
        color: #FFFFFF;
        transition: all 0.3s ease;
    }
    
    .main-navigation ul.menu > li > a:hover,
    .main-navigation ul.menu > li.current-menu-item > a {
        color: var(--color-primary) !important;
        background-color: rgba(255, 255, 255, 0.02);
    }
    
    .main-navigation ul.menu > li:last-child > a {
        border-bottom: none;
    }
    
    /* Submenu no Mobile */
    .main-navigation ul.menu .sub-menu {
        display: none;
        position: static;
        transform: none;
        background-color: rgba(255, 255, 255, 0.02);
        width: 100%;
        box-shadow: none;
        padding: 0;
        border: none;
        border-radius: 0;
        gap: 0;
        z-index: 99;
    }
    
    .main-navigation ul.menu .sub-menu li a {
        padding: 10px 35px; /* Recuo elegante e compacto */
        font-size: 13px;
        border-bottom: 1px solid rgba(255, 255, 255, 0.02);
    }
    
    .main-navigation ul.menu li.menu-item-has-children:hover .sub-menu,
    .main-navigation ul.menu li.menu-item-has-children:active .sub-menu {
        display: flex;
        flex-direction: column;
    }
    
    /* Hambúrguer animação */
    .menu-toggle.active .bar:nth-child(1) {
        transform: translateY(9px) rotate(45deg);
    }
    .menu-toggle.active .bar:nth-child(2) {
        opacity: 0;
    }
    .menu-toggle.active .bar:nth-child(3) {
        transform: translateY(-9px) rotate(-45deg);
    }

    .category-buttons-bar {
        flex-wrap: nowrap;
        overflow-x: auto;
        padding-bottom: 12px;
        -webkit-overflow-scrolling: touch;
    }

    .filter-btn {
        flex-shrink: 0;
    }
}

@media (max-width: 768px) {
    .breadcrumbs-container {
        display: none !important;
    }

    .slider-container {
        height: 380px;
    }

    .slide-content {
        padding: 25px;
    }

    .slide-title {
        font-size: 18px; /* Reduzido para dar respiro */
        line-height: 1.35;
        margin-bottom: 12px;
    }

    .slide-meta {
        font-size: 11px;
        margin-bottom: 10px;
    }

    .slide-excerpt {
        display: none !important; /* Esconder descrição longa no mobile para eliminar sobreposição com botões/dots */
    }

    .slider-dots {
        bottom: 12px !important;
    }

    .slider-arrow {
        width: 34px;
        height: 34px;
        background-color: rgba(13, 13, 13, 0.6);
    }

    .slider-arrow svg {
        width: 16px;
        height: 16px;
    }

    .prev-arrow {
        left: 10px;
    }

    .next-arrow {
        right: 10px;
    }

    .single-post-hero-banner {
        height: 340px !important;
    }

    .hero-post-title {
        font-size: 26px !important;
        line-height: 1.3 !important;
    }

    .footer-container {
        grid-template-columns: 1fr;
        gap: 30px;
    }

    .footer-cta {
        padding: 20px 0 40px 0;
    }

    .cta-container {
        padding: 30px 20px;
    }

    .cta-title {
        font-size: 24px;
    }

    .single-post-card {
        padding: 24px 16px !important;
        border-radius: 12px;
    }

    .post-share-section {
        flex-direction: column;
        align-items: center;
        text-align: center;
        gap: 15px;
    }

    .share-buttons-group {
        display: flex;
        flex-direction: row;
        justify-content: center;
        gap: 12px;
        width: auto;
    }
}

/* --- 9. BANNER DE CAPA DO POST INDIVIDUAL --- */
.single-post-hero-banner {
    width: 100%;
    height: 480px;
    background-size: cover;
    background-position: center;
    position: relative;
    display: flex;
    justify-content: center;
    align-items: center;
    text-align: center;
}

.hero-banner-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.72); /* Aumentado o escurecimento para dar mais contraste ao texto branco */
    z-index: 1;
}

.hero-banner-content {
    position: relative;
    z-index: 2;
    max-width: 850px;
    width: 90%;
    color: var(--color-white);
    padding: 20px;
}

.hero-post-categories {
    margin-bottom: 25px;
}

.hero-post-categories a {
    display: inline-block;
    color: var(--color-primary) !important; /* Dourado institucional */
    font-family: 'Poppins', sans-serif;
    font-size: 12px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 1.5px;
    margin: 0;
    transition: color 0.3s ease;
    text-decoration: none;
}

.hero-post-categories a:hover {
    color: var(--color-white) !important;
}

.hero-post-categories .category-separator {
    color: rgba(255, 255, 255, 0.4);
    font-weight: 500;
    margin: 0 10px;
}

.hero-post-title {
    font-family: 'Poppins', sans-serif;
    font-size: 40px;
    line-height: 1.35;
    font-weight: 500;
    color: #FFFFFF !important; /* Título em Branco Puro para elegância máxima */
    text-shadow: 0 2px 15px rgba(0,0,0,0.6);
    margin-bottom: 25px;
    letter-spacing: -0.5px;
}

.hero-post-meta {
    font-family: 'Poppins', sans-serif;
    font-size: 13px;
    font-weight: 500;
    color: rgba(255, 255, 255, 0.75);
    display: flex;
    justify-content: center;
    align-items: center;
    flex-wrap: wrap;
    gap: 12px;
}

.hero-post-meta a {
    color: rgba(255, 255, 255, 0.75);
}

.hero-post-meta .meta-separator {
    color: var(--color-primary); /* Bullets em dourado */
    font-weight: bold;
    margin: 0 4px;
}

.single-post-card .post-featured-image {
    display: none; /* Hide standard image since it is now rendered in the hero banner */
}

/* --- 10. ÁREA DE COMENTÁRIOS NATIVOS --- */
.post-comments-area {
    margin-top: 50px;
    padding-top: 30px;
    border-top: 1px solid #EEEEEE;
}

.comments-title {
    font-family: var(--font-heading);
    font-size: 22px;
    font-weight: 600;
    margin-bottom: 25px;
    color: var(--color-secondary);
}

.comment-list {
    list-style: none;
    padding: 0;
    margin: 0 0 40px 0;
}

.comment-list .comment {
    margin-bottom: 25px;
    padding-bottom: 20px;
    border-bottom: 1px solid #F0F0F0;
}

.comment-body {
    padding-left: 10px;
}

.comment-meta {
    font-size: 13px;
    color: var(--color-text-light);
    margin-bottom: 8px;
}

.comment-author .fn {
    font-family: var(--font-heading);
    font-weight: 600;
    font-size: 15px;
    color: var(--color-secondary);
    font-style: normal;
}

.comment-metadata a {
    color: var(--color-text-light);
}

.comment-content {
    font-size: 15px;
    line-height: 1.6;
    margin-top: 10px;
    color: var(--color-text-dark);
}

.comment-reply-link {
    display: inline-block;
    margin-top: 10px;
    font-size: 13px;
    font-weight: 600;
    color: var(--color-primary);
}

/* Formulário de Comentários */
.comment-respond {
    margin-top: 40px;
    padding: 30px;
    background-color: #FAFAFA;
    border-radius: 12px;
    border: 1px solid #F0F0F0;
}

.comment-reply-title {
    font-family: 'Poppins', sans-serif;
    font-size: 22px;
    font-weight: 600;
    margin-bottom: 15px;
    color: #1a1a1a;
}

.comment-respond .logged-in-as {
    font-size: 14px;
    color: #777777;
    margin-bottom: 25px;
    font-family: 'Lato', sans-serif;
}

.comment-respond .logged-in-as a {
    color: var(--color-primary);
    font-weight: 600;
    transition: color 0.3s ease;
}

.comment-respond .logged-in-as a:hover {
    color: var(--color-secondary);
    text-decoration: underline;
}

.must-log-in {
    font-family: 'Poppins', sans-serif;
    font-size: 15px;
    color: #666666;
    background-color: #F8F9FA;
    border: 1px solid #E2E8F0;
    padding: 20px;
    border-radius: 8px;
    text-align: center;
    margin: 30px 0;
}

.must-log-in a {
    color: var(--color-primary);
    font-weight: 600;
    text-decoration: underline;
    transition: color 0.3s ease;
}

.must-log-in a:hover {
    color: var(--color-secondary);
}

.comment-form p {
    margin-bottom: 20px;
}

.comment-form label {
    display: block;
    font-family: 'Poppins', sans-serif;
    font-size: 14px;
    font-weight: 600;
    margin-bottom: 8px;
    color: #1a1a1a;
}

.comment-form input[type="text"],
.comment-form input[type="email"],
.comment-form input[type="url"],
.comment-form textarea {
    width: 100%;
    padding: 14px 18px;
    border: 1px solid #E2E8F0;
    border-radius: 8px;
    font-family: var(--font-body);
    font-size: 15px;
    background-color: #F8FAFC;
    color: #333333;
    transition: all 0.3s ease;
    box-shadow: inset 0 1px 2px rgba(0,0,0,0.02);
}

.comment-form input:focus,
.comment-form textarea:focus {
    border-color: var(--color-primary);
    background-color: var(--color-white);
    box-shadow: 0 0 0 3px rgba(198, 165, 75, 0.18);
    outline: none;
}

.comment-form input[type="submit"] {
    background-color: var(--color-primary);
    color: var(--color-secondary);
    border: none;
    padding: 14px 35px;
    border-radius: 6px;
    font-family: 'Be Vietnam Pro', sans-serif;
    font-weight: 600;
    font-size: 13px;
    letter-spacing: 0.8px;
    text-transform: uppercase;
    cursor: pointer;
    box-shadow: 0 4px 12px rgba(198,165,75,0.25);
    transition: all 0.3s ease;
}

.comment-form input[type="submit"]:hover {
    background-color: var(--color-secondary);
    color: var(--color-white);
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(0,0,0,0.15);
}

/* --- 11. COMPARTILHAMENTO DE ARTIGO --- */
.post-share-section {
    margin-top: 40px;
    padding-top: 25px;
    border-top: 1px solid #ECECEC;
    display: flex;
    align-items: center;
    gap: 15px;
}

.share-label {
    font-family: 'Poppins', sans-serif;
    font-size: 14px;
    font-weight: 600;
    color: #1a1a1a;
}

.share-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 44px;
    height: 44px;
    border-radius: 50%; /* Formato circular premium */
    color: #555555 !important;
    background-color: transparent !important;
    border: 1px solid #E2E8F0 !important;
    box-shadow: none !important;
    transition: all 0.3s cubic-bezier(0.25, 0.8, 0.25, 1);
    text-decoration: none;
}

.whatsapp-share-btn:hover {
    background-color: #25D366 !important;
    color: #FFFFFF !important;
    border-color: #25D366 !important;
    box-shadow: 0 4px 12px rgba(37, 211, 102, 0.2) !important;
    transform: translateY(-2px);
}

/* --- 12. ARTIGOS RELACIONADOS --- */
.related-posts-section {
    margin-top: 60px;
    padding: 60px 0;
    background-color: #F8FAFC; /* Light background to contrast with main page */
    border-top: 1px solid #ECECEC;
    width: 100%;
}

.related-posts-container {
    max-width: 1440px;
    width: 90%;
    margin: 0 auto;
}

.related-title {
    font-family: 'Poppins', sans-serif;
    font-size: 22px;
    font-weight: 600;
    margin-bottom: 25px;
    color: #1a1a1a;
}

.related-posts-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 25px;
}

.related-post-card {
    background-color: #FFFFFF;
    border-radius: 12px;
    overflow: hidden;
    padding: 16px;
    box-shadow: 0 4px 15px rgba(0,0,0,0.02);
    transition: all 0.3s ease;
}

.related-post-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 25px rgba(0,0,0,0.07);
}

.related-card-image {
    width: 100%;
    height: 150px;
    overflow: hidden;
    border-radius: 8px;
}

.related-card-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s ease;
}

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

.related-card-content {
    padding: 15px 0 0 0;
}

.related-post-card-title {
    font-family: 'Poppins', sans-serif;
    font-size: 15px;
    font-weight: 600;
    line-height: 1.4;
    margin-bottom: 8px;
}

.related-post-card-title a {
    color: #222222;
    transition: color 0.3s ease;
}

.related-post-card-title a:hover {
    color: var(--color-primary);
}

.related-post-date {
    font-size: 12px;
    color: var(--color-text-light);
}

@media (max-width: 768px) {
    .related-posts-grid {
        grid-template-columns: 1fr;
        gap: 25px;
    }
}

/* --- 13. AVISO DE COOKIES --- */
.cookie-consent-banner {
    position: fixed;
    bottom: -150px;
    left: 50%;
    transform: translateX(-50%);
    width: 90%;
    max-width: 800px;
    background-color: rgba(0, 0, 0, 0.95);
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 12px;
    padding: 16px 28px;
    z-index: 10000;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.4);
    transition: bottom 0.5s ease-in-out;
}

.cookie-consent-banner.show {
    bottom: 30px;
}

.cookie-content {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 20px;
}

.cookie-content p {
    color: #FFFFFF;
    font-size: 14px;
    line-height: 1.5;
    margin: 0;
    font-family: 'Lato', sans-serif;
}

.cookie-content a {
    color: var(--color-primary);
    text-decoration: underline;
    font-weight: 600;
}

.cookie-content a:hover {
    color: #FFFFFF;
}

.cookie-btn {
    background-color: var(--color-primary);
    color: var(--color-secondary);
    border: none;
    padding: 10px 24px;
    border-radius: 6px;
    font-family: 'Be Vietnam Pro', sans-serif;
    font-weight: 700;
    font-size: 12px;
    text-transform: uppercase;
    cursor: pointer;
    white-space: nowrap;
    transition: all 0.3s ease;
    box-shadow: 0 4px 10px rgba(198, 165, 75, 0.2);
}

.cookie-btn:hover {
    background-color: #FFFFFF;
    color: #000000;
    transform: translateY(-1px);
}

@media (max-width: 768px) {
    .cookie-consent-banner {
        width: 95%;
        padding: 20px;
        bottom: -250px;
    }
    .cookie-consent-banner.show {
        bottom: 15px;
    }
    .cookie-content {
        flex-direction: column;
        text-align: center;
        gap: 15px;
    }
}

/* --- 14. PAGINAÇÃO --- */
.blog-pagination {
    margin: 50px 0;
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 8px;
    width: 100%;
}

.blog-pagination .page-numbers {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-width: 42px;
    height: 42px;
    padding: 0 10px;
    border-radius: 8px;
    background-color: var(--color-white);
    color: var(--color-secondary);
    font-family: 'Poppins', sans-serif;
    font-size: 14px;
    font-weight: 600;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.04);
    transition: all 0.3s ease;
    border: 1px solid #EAEAEA;
    text-decoration: none;
}

.blog-pagination a.page-numbers:hover {
    background-color: var(--color-secondary);
    color: var(--color-white) !important;
    border-color: var(--color-secondary);
    transform: translateY(-1px);
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.08);
}

.blog-pagination .page-numbers.current {
    background-color: var(--color-primary);
    color: var(--color-secondary);
    border-color: var(--color-primary);
    box-shadow: 0 4px 12px rgba(198, 165, 75, 0.25);
}

.blog-pagination .page-numbers.dots {
    background-color: transparent;
    border-color: transparent;
    box-shadow: none;
}

.blog-pagination .page-numbers.prev,
.blog-pagination .page-numbers.next {
    padding: 0 18px;
    font-size: 13px;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

/* --- 15. CAIXA DE BUSCA NO HEADER --- */
.header-search-icon {
    position: relative;
}

.header-search-form-wrapper {
    display: none;
    position: absolute;
    top: 130%;
    right: 0;
    width: 280px;
    background-color: var(--color-secondary);
    padding: 12px;
    border-radius: 6px;
    border: 1px solid rgba(255,255,255,0.1);
    box-shadow: 0 8px 25px rgba(0,0,0,0.3);
    z-index: 1000;
}

.header-search-form-wrapper.active {
    display: block;
    animation: slideDownFade 0.2s ease-out;
}

.header-search-form-wrapper .search-form {
    display: flex;
    align-items: center;
    background-color: rgba(255,255,255,0.06);
    border: 1px solid rgba(255,255,255,0.15);
    border-radius: 4px;
    padding: 2px;
}

.header-search-form-wrapper .search-field {
    background: transparent;
    border: none;
    color: var(--color-white);
    padding: 8px 12px;
    font-size: 14px;
    width: 100%;
}

.header-search-form-wrapper .search-field:focus {
    outline: none;
}

.header-search-form-wrapper .search-submit {
    background-color: var(--color-primary);
    border: none;
    color: var(--color-white);
    cursor: pointer;
    padding: 8px 12px;
    border-radius: 3px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.header-search-form-wrapper .search-submit:hover {
    background-color: var(--color-white);
}

.header-search-form-wrapper .search-submit:hover svg {
    stroke: #000000;
}

@keyframes slideDownFade {
    from {
        opacity: 0;
        transform: translateY(-8px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* --- 16. BREADCRUMBS (YOAST) --- */
.breadcrumbs-container {
    max-width: 1440px;
    width: 90%;
    margin: 30px auto 15px auto; /* Usar margem positiva para evitar sobreposição */
}

.yoast-breadcrumbs-wrapper #breadcrumbs {
    font-family: 'Poppins', sans-serif;
    font-size: 13px;
    font-weight: 500;
    color: #555555; /* Cor mais escura para aumentar legibilidade */
    margin: 0;
    line-height: 1.5;
}

.yoast-breadcrumbs-wrapper #breadcrumbs a {
    color: #444444; /* Cor mais escura para aumentar legibilidade */
    text-decoration: none;
    transition: color 0.3s ease;
}

.yoast-breadcrumbs-wrapper #breadcrumbs a:hover {
    color: var(--color-primary);
}

.yoast-breadcrumbs-wrapper .breadcrumb-separator {
    color: var(--color-primary);
    font-weight: bold;
    margin: 0 8px;
}

/* --- 17. COMPARTILHAMENTO EXPANDIDO (B2B) --- */
.share-buttons-group {
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
}

.linkedin-share-btn:hover {
    background-color: #0A66C2 !important;
    color: #FFFFFF !important;
    border-color: #0A66C2 !important;
    box-shadow: 0 4px 12px rgba(10, 102, 194, 0.25) !important;
    transform: translateY(-2px);
}

.email-share-btn:hover {
    background-color: #64748B !important;
    color: #FFFFFF !important;
    border-color: #64748B !important;
    box-shadow: 0 4px 12px rgba(100, 116, 139, 0.25) !important;
    transform: translateY(-2px);
}

/* --- Gutenberg / Block Button Styling --- */
.post-content .wp-block-button__link,
.post-content .wp-element-button {
    background-color: transparent !important;
    color: #1a1a1a !important;
    border: 2px solid #1a1a1a !important;
    padding: 12px 28px !important;
    border-radius: 30px !important;
    font-family: 'Poppins', sans-serif !important;
    font-size: 14px !important;
    font-weight: 600 !important;
    text-decoration: none !important;
    box-shadow: none !important;
    transition: all 0.3s ease !important;
    display: inline-block;
}

.post-content .wp-block-button__link:hover,
.post-content .wp-element-button:hover {
    background-color: #1a1a1a !important;
    color: #FFFFFF !important;
    transform: translateY(-2px);
    box-shadow: 0 4px 15px rgba(0,0,0,0.12) !important;
}

/* --- 18. SIDEBAR NEWSLETTER --- */
.sidebar-newsletter-block {
    background-color: #FAFAFA;
    border: 1px solid #EEEEEE;
    border-radius: 12px;
    padding: 25px !important;
}

.sidebar-newsletter-block p {
    font-size: 13px;
    color: #666666;
    line-height: 1.5;
    margin-bottom: 20px;
}

.sidebar-newsletter-form {
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.sidebar-newsletter-form input {
    width: 100%;
    padding: 10px 14px;
    border: 1px solid #DDDDDD;
    border-radius: 6px;
    font-size: 14px;
    background-color: #FFFFFF;
    transition: border-color 0.3s ease;
}

.sidebar-newsletter-form input:focus {
    border-color: var(--color-primary);
    outline: none;
}

.newsletter-submit-btn {
    background-color: var(--color-primary);
    color: var(--color-secondary);
    border: none;
    padding: 12px;
    border-radius: 6px;
    font-family: 'Be Vietnam Pro', sans-serif;
    font-weight: 700;
    font-size: 12px;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    cursor: pointer;
    box-shadow: 0 4px 10px rgba(198, 165, 75, 0.2);
    transition: all 0.3s ease;
}

.newsletter-submit-btn:hover {
    background-color: var(--color-secondary);
    color: var(--color-white);
    transform: translateY(-1px);
}

/* --- 19. LAYOUT DE ARQUIVO E BUSCA (ARCHIVE) --- */
.archive-header-banner {
    background-color: var(--color-secondary);
    color: var(--color-white);
    padding: 60px 0;
    text-align: center;
    border-bottom: 1px solid rgba(255,255,255,0.06);
}

.archive-header-container {
    max-width: 1440px;
    width: 90%;
    margin: 0 auto;
}

.archive-meta-label {
    font-family: 'Be Vietnam Pro', sans-serif;
    font-size: 13px;
    color: var(--color-primary);
    text-transform: uppercase;
    letter-spacing: 2px;
    font-weight: 600;
    display: block;
    margin-bottom: 12px;
}

.archive-page-title {
    font-family: var(--font-heading);
    font-size: 36px;
    font-weight: 500;
    margin: 0;
}

.archive-description {
    font-size: 15px;
    color: #CCCCCC;
    max-width: 600px;
    margin: 15px auto 0 auto;
    line-height: 1.6;
}

.no-results-found {
    text-align: center;
    padding: 60px 20px;
    background-color: var(--color-white);
    border-radius: 12px;
    box-shadow: 0 4px 15px rgba(0,0,0,0.02);
}

.no-results-found h2 {
    font-family: 'Poppins', sans-serif;
    font-size: 24px;
    margin-bottom: 15px;
    color: var(--color-secondary);
}

.no-results-found p {
    font-size: 15px;
    color: #666666;
    margin-bottom: 30px;
}

.no-results-search-form {
    max-width: 400px;
    margin: 0 auto;
}

.no-results-search-form .search-form {
    display: flex;
    border: 1px solid #DDDDDD;
    border-radius: 6px;
    overflow: hidden;
}

.no-results-search-form .search-field {
    width: 100%;
    border: none;
    padding: 12px;
    font-size: 14px;
}

.no-results-search-form .search-field:focus {
    outline: none;
}

.no-results-search-form .search-submit {
    background-color: var(--color-primary);
    border: none;
    color: var(--color-secondary);
    padding: 0 20px;
    cursor: pointer;
}

/* --- 20. BARRA DE PROGRESSO DE LEITURA (READING PROGRESS BAR) --- */
.reading-progress-bar {
    position: fixed;
    top: 0;
    left: 0;
    height: 4px;
    background-color: var(--color-primary);
    width: 0%;
    z-index: 9999;
    transition: width 0.1s ease-out;
}

/* --- 21. BOTÃO VOLTAR AO TOPO (BACK TO TOP) --- */
.back-to-top-btn {
    position: fixed;
    bottom: 30px;
    right: 30px;
    width: 46px;
    height: 46px;
    background-color: var(--color-secondary);
    color: var(--color-white);
    border: 1px solid rgba(255, 255, 255, 0.12);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    opacity: 0;
    visibility: hidden;
    transition: all 0.3s cubic-bezier(0.25, 0.8, 0.25, 1);
    z-index: 998;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.25);
}

.back-to-top-btn.show {
    opacity: 1;
    visibility: visible;
}

.back-to-top-btn:hover {
    background-color: var(--color-primary);
    color: var(--color-secondary);
    border-color: var(--color-primary);
    transform: translateY(-4px) scale(1.05);
    box-shadow: 0 6px 20px rgba(198, 165, 75, 0.3);
}

.back-to-top-btn svg {
    transition: transform 0.3s ease;
}

.back-to-top-btn:hover svg {
    transform: translateY(-2px);
}
