/*
Theme Name: Lifeon
Theme URI: https://exemplo.com
Author: Seu Nome
Author URI: https://exemplo.com
Description: Tema profissional para portal de notícias
Version: 5.3
License: GPL v2 or later
License URI: https://www.gnu.org/licenses/gpl-2.0.html
Text Domain: lifeon
Domain Path: /languages
*/

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
    font-size: 16px;
    line-height: 1.6;
    color: #222;
    background-color: #fff;
}

a {
    color: #000 !important;
    text-decoration: none;
}

a:hover {
    color: #333 !important;
}

h1, h2, h3, h4, h5, h6 {
    font-weight: 700;
    line-height: 1.2;
    margin-bottom: 1rem;
    color: #000;
}

.site-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

/* HEADER */
.site-header {
    background-color: #000;
    border-bottom: 1px solid #222;
    padding: 0.75rem 0;
    position: sticky;
    top: 0;
    z-index: 1000;
}

.header-content {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 2rem;
}

.site-branding {
    display: flex;
    align-items: center;
    gap: 15px;
    flex-shrink: 0;
}

.site-title {
    font-size: 1.75rem;
    font-weight: 800;
    color: #000;
    margin: 0;
}

.site-title a {
    color: #000;
    text-decoration: none;
}

.site-description {
    font-size: 0.75rem;
    color: #999;
    margin: 0;
    text-transform: uppercase;
    letter-spacing: 1px;
    display: none;
}

.site-logo-link {
    display: flex;
    align-items: center;
    text-decoration: none;
}

.site-logo {
    height: 24px;
    width: auto;
    max-width: 120px;
    display: block;
    transition: opacity 0.3s ease;
    filter: brightness(0) invert(1);
}

.site-logo-link:hover .site-logo {
    opacity: 0.8;
}

/* NAVEGAÇÃO */
.main-navigation {
    display: flex;
    gap: 2rem;
    align-items: center;
    flex-grow: 1;
}

.main-navigation ul {
    display: flex;
    list-style: none;
    margin: 0;
    padding: 0;
    gap: 2rem;
}

.main-navigation li {
    margin: 0;
    padding: 0;
}

.main-navigation a {
    color: #fff !important;
    font-weight: 600;
    font-size: 0.95rem;
    transition: color 0.3s ease;
    padding: 0.5rem 0;
    border-bottom: 2px solid transparent;
    text-decoration: none;
}

.main-navigation a:hover {
    color: #ccc !important;
    border-bottom-color: #fff;
}

/* BUSCA */
.header-search-form {
    display: flex;
    gap: 0.5rem;
    align-items: center;
    flex-shrink: 0;
}

.header-search-input {
    padding: 0.6rem 1rem;
    border: 1px solid #444;
    border-radius: 4px;
    font-size: 0.9rem;
    width: 200px;
    transition: all 0.3s ease;
    background-color: #222;
    color: #fff;
}

.header-search-input:focus {
    outline: none;
    border-color: #fff;
    box-shadow: 0 0 0 3px rgba(255, 255, 255, 0.1);
}

.header-search-input::placeholder {
    color: #999;
}

.header-search-button {
    padding: 0.6rem 0.75rem;
    background-color: #333;
    border: 1px solid #444;
    border-radius: 4px;
    cursor: pointer;
    transition: all 0.3s ease;
    width: 40px;
    height: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #fff;
}

.header-search-button:hover {
    background-color: #fff;
    color: #000;
    border-color: #fff;
}

/* BOTÃO ASSINE */
.btn-assine {
    background-color: #fff !important;
    background: #fff !important;
    color: #000 !important;
    padding: 0.75rem 1.5rem;
    border-radius: 4px;
    font-weight: 700;
    font-size: 0.9rem;
    transition: all 0.3s ease;
    display: inline-block;
    text-decoration: none;
    white-space: nowrap;
    border: 1px solid #e5e5e5;
    flex-shrink: 0;
}

.btn-assine:hover {
    background-color: #f5f5f5 !important;
    background: #f5f5f5 !important;
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
    border-color: #ddd;
}

/* MAIN */
.site-main {
    padding: 2rem 0;
}

/* HERO */
.hero-section {
    display: grid;
    grid-template-columns: 2fr 1fr;
    gap: 2rem;
    margin-bottom: 3rem;
}

.hero-main {
    position: relative;
    overflow: hidden;
    border-radius: 4px;
    height: 450px;
    background: linear-gradient(135deg, #f0f0f0 0%, #e5e5e5 100%);
    display: flex;
    align-items: center;
    justify-content: center;
    color: #999;
}

.hero-content {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    background: linear-gradient(to top, rgba(0,0,0,0.9), rgba(0,0,0,0.5));
    padding: 2.5rem;
    color: white;
}

.hero-title {
    font-size: 2.2rem;
    font-weight: 800;
    line-height: 1.2;
    margin-bottom: 0.75rem;
    color: #fff;
}

.hero-title a {
    color: #fff !important;
    text-decoration: none;
}

.hero-title a:hover {
    color: #ffffff !important;
}

.hero-excerpt {
    font-size: 1rem;
    color: #f0f0f0;
    margin-bottom: 1rem;
    line-height: 1.5;
}

/* TRENDING */
.trending-section {
    background-color: #f5f5f5;
    padding: 2rem;
    border-radius: 4px;
    margin-bottom: 3rem;
}

.trending-title {
    font-size: 1.3rem;
    font-weight: 800;
    margin-bottom: 1.5rem;
    color: #000;
}

.trending-list {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 1.5rem;
}

.trending-item {
    display: flex;
    gap: 1rem;
    padding: 1rem;
    background: #fff;
    border-radius: 4px;
    transition: all 0.3s ease;
}

.trending-item:hover {
    box-shadow: 0 4px 12px rgba(0,0,0,0.1);
}

.trending-number {
    font-size: 1.5rem;
    font-weight: 800;
    color: #0066cc;
    min-width: 30px;
}

.trending-content h4 {
    font-size: 0.9rem;
    font-weight: 700;
    margin-bottom: 0.5rem;
    color: #000;
}

.trending-content p {
    font-size: 0.8rem;
    color: #666;
    margin: 0;
}

/* NEWS GRID */
.news-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
    gap: 2rem;
    margin-bottom: 2rem;
}

.news-card {
    background-color: #fff;
    border: 1px solid #e5e5e5;
    border-radius: 4px;
    overflow: hidden;
    transition: all 0.3s ease;
    display: flex;
    flex-direction: column;
    height: 100%;
}

.news-card:hover {
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.12);
    border-color: #ddd;
    transform: translateY(-4px);
}

.news-card-image {
    width: 100%;
    height: 200px;
    background: linear-gradient(135deg, #f0f0f0 0%, #e5e5e5 100%);
    overflow: hidden;
}

.news-card-content {
    padding: 1.5rem;
    flex-grow: 1;
    display: flex;
    flex-direction: column;
}

.news-card-category {
    display: inline-block;
    background-color: #f0f0f0;
    color: #666;
    padding: 0.25rem 0.75rem;
    border-radius: 3px;
    font-size: 0.7rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    margin-bottom: 0.75rem;
    width: fit-content;
}

.news-card.entry-title {
    font-size: 2.5rem;
    font-weight: 700;
    font-family: 'Helvetica Neue', Helvetica, Arial, sans-serif;
    margin-bottom: 1rem;
    line-height: 1.2;
    color: #000;
}flex-grow: 1;
}

.news-card-title a {
    color: inherit;
    text-decoration: none;
    transition: color 0.3s ease;
}

.news-card-title a:hover {
    color: #0066cc;
}

.news-card-excerpt {
    font-size: 0.9rem;
    color: #666;
    margin-bottom: 1rem;
    line-height: 1.5;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.news-card-meta {
    font-size: 0.8rem;
    color: #999;
    border-top: 1px solid #f0f0f0;
    padding-top: 1rem;
}

/* CATEGORY SECTIONS */
.category-section {
    margin-bottom: 3rem;
    padding-bottom: 2rem;
    border-bottom: 1px solid #e5e5e5;
}

.category-section:last-child {
    border-bottom: none;
}

.category-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 1.5rem;
}

.category-title {
    font-size: 1.5rem;
    font-weight: 800;
    color: #000;
    margin: 0;
    display: flex;
    align-items: center;
    gap: 1rem;
}

.category-badge {
    background-color: #f0f0f0;
    color: #000 !important;
    padding: 0.5rem 1rem;
    border-radius: 4px;
    font-size: 1.1rem;
    font-weight: 700;
    letter-spacing: 0.5px;
}

.category-badge-special {
    background-color: #dc3545;
    color: #fff;
    padding: 0.75rem 1.5rem;
    border-radius: 4px;
    font-size: 1.2rem;
    font-weight: 800;
    letter-spacing: 1px;
    display: inline-block;
}

.see-all {
    color: #0066cc;
    font-weight: 600;
    text-decoration: none;
    transition: color 0.3s ease;
    font-size: 0.95rem;
}

.see-all:hover {
    color: #004499;
    text-decoration: underline;
}

/* ÚLTIMAS NOTÍCIAS */
.latest-news-footer {
    display: flex;
    justify-content: center;
    align-items: center;
    margin-top: 2.5rem;
    padding-top: 2rem;
    border-top: 1px solid #e5e5e5;
}

.btn-ver-mais {
    background-color: #000;
    color: #fff !important;
    padding: 1rem 2.5rem;
    border-radius: 4px;
    font-weight: 700;
    font-size: 1rem;
    letter-spacing: 0.5px;
    transition: all 0.3s ease;
    display: inline-block;
    text-decoration: none;
    text-transform: uppercase;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
    border: none;
    cursor: pointer;
}

.btn-ver-mais:hover {
    background-color: #333;
    color: #fff !important;
    transform: translateY(-2px);
    box-shadow: 0 6px 16px rgba(0, 0, 0, 0.2);
}

/* FOOTER */
.site-footer {
    background-color: #000;
    color: #fff;
    padding: 3rem 0 1rem;
    margin-top: 3rem;
}

.footer-content {
    display: block;
    margin-bottom: 2rem;
    padding-bottom: 2rem;
    border-bottom: 1px solid #333;
}

.footer-logo {
    flex-shrink: 0;
}

.footer-logo a {
    display: flex;
    align-items: center;
}

.footer-logo-img {
    height: 80px;
    width: auto;
    max-width: 300px;
    display: block;
}

.footer-categories {
    flex-grow: 1;
}

.footer-categories-title {
    font-size: 1.1rem;
    font-weight: 800;
    margin-bottom: 1rem;
    color: #fff;
}

.footer-categories-list {
    list-style: none;
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(150px, 1fr));
    gap: 1rem;
}

.footer-categories-list li a {
    color: #fff;
    text-decoration: none;
    transition: color 0.3s ease;
    font-size: 0.95rem;
}

.footer-categories-list li a:hover {
    color: #ccc;
    text-decoration: underline;
}

.site-info {
    text-align: center;
    padding-top: 1rem;
    border-top: none;
    font-size: 0.85rem;
    color: #999;
}

/* SEÇÃO DE VÍDEOS - FUNDO PRETO FORÇADO */
.videos-section {
    background-color: #000 !important;
    background: #000 !important;
    color: #fff !important;
    padding: 3rem 0 !important;
    margin: 3rem 0 !important;
}

/* Forçar fundo preto em todos os elementos da seção de vídeos */
.videos-section,
.videos-section *:not(.video-thumbnail):not(.video-thumbnail *) {
    background-color: #000 !important;
}

.videos-section .site-container {
    background-color: #000 !important;
    background: #000 !important;
}

.videos-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 2rem;
}

.videos-title {
    font-size: 1.5rem;
    font-weight: 800;
    color: #fff;
    display: flex;
    align-items: center;
    gap: 0.75rem;
    margin: 0;
}

.play-icon {
    background-color: #e50914;
    color: #fff;
    width: 36px;
    height: 36px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 4px;
    font-size: 0.9rem;
}

.btn-ver-mais-videos {
    background-color: transparent;
    color: #fff;
    border: 1px solid #fff;
    padding: 0.75rem 1.5rem;
    border-radius: 4px;
    text-decoration: none;
    font-weight: 600;
    font-size: 0.9rem;
    transition: all 0.3s ease;
}

.btn-ver-mais-videos:hover {
    background-color: #fff;
    color: #000;
}

.videos-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 1.5rem;
}

.video-card {
    background-color: #111;
    border-radius: 8px;
    overflow: hidden;
    transition: transform 0.3s ease;
}

.video-card:hover {
    transform: translateY(-5px);
}

.video-card-link {
    text-decoration: none;
    color: #fff;
    display: block;
}

.video-thumbnail {
    position: relative;
    width: 100%;
    aspect-ratio: 16/9;
    overflow: hidden;
}

.video-thumbnail img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.video-duration {
    position: absolute;
    bottom: 10px;
    right: 10px;
    background-color: rgba(0, 0, 0, 0.8);
    color: #fff;
    padding: 0.25rem 0.5rem;
    border-radius: 4px;
    font-size: 0.75rem;
    font-weight: 600;
}

.video-info {
    padding: 1rem;
}

.video-category {
    color: #e50914;
    font-size: 0.75rem;
    font-weight: 600;
    display: flex;
    align-items: center;
    gap: 0.25rem;
    margin-bottom: 0.5rem;
}

.video-title {
    font-size: 1rem;
    font-weight: 700;
    color: #fff;
    line-height: 1.4;
    margin: 0;
}

/* MENU HAMBURGUER */
.mobile-menu-toggle {
    display: none;
    flex-direction: column;
    gap: 4px;
    background: transparent;
    border: none;
    cursor: pointer;
    padding: 8px;
    z-index: 1001;
}

.mobile-menu-toggle span {
    display: block;
    width: 24px;
    height: 2px;
    background-color: #fff;
    transition: all 0.3s;
}

/* RESPONSIVO */
@media (max-width: 768px) {
    .footer-content {
        grid-template-columns: 1fr;
        gap: 2rem;
    }

    .footer-categories-list {
        grid-template-columns: repeat(auto-fill, minmax(120px, 1fr));
    }

    .hero-section {
        grid-template-columns: 1fr;
    }

    .news-grid {
        grid-template-columns: repeat(auto-fill, minmax(200px, 1fr));
        gap: 1.5rem;
    }

    .mobile-menu-toggle {
        display: flex;
    }

    .header-content {
        gap: 1rem;
    }

    .main-navigation {
        display: none;
        position: fixed;
        top: 60px;
        left: 0;
        width: 100%;
        background-color: #000;
        padding: 1rem;
        z-index: 999;
    }

    .main-navigation.active {
        display: block;
    }

    .main-navigation ul {
        flex-direction: column;
        gap: 0;
    }

    .main-navigation li {
        border-bottom: 1px solid #333;
    }

    .main-navigation a {
        display: block;
        padding: 1rem;
        border-bottom: none;
    }

    .mobile-menu-toggle.active span:nth-child(1) {
        transform: rotate(45deg) translate(5px, 5px);
    }

    .mobile-menu-toggle.active span:nth-child(2) {
        opacity: 0;
    }

    .mobile-menu-toggle.active span:nth-child(3) {
        transform: rotate(-45deg) translate(7px, -6px);
    }

    .header-search-input {
        width: 150px;
        font-size: 0.85rem;
    }

    .videos-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 1rem;
    }

    .videos-header {
        flex-direction: column;
        align-items: flex-start;
        gap: 1rem;
    }

    .btn-ver-mais-videos {
        width: 100%;
        text-align: center;
    }
}

@media (max-width: 480px) {
    .news-grid {
        grid-template-columns: 1fr;
    }

    .header-search-form {
        display: none;
    }

    .btn-assine {
        padding: 0.5rem 1rem;
        font-size: 0.8rem;
    }

    .btn-ver-mais {
        padding: 0.75rem 1.5rem;
        font-size: 0.85rem;
        width: 100%;
        text-align: center;
    }

    .videos-grid {
        grid-template-columns: 1fr;
    }

    .videos-title {
        font-size: 1.2rem;
    }
}


/* ENTRY TITLE - POST PAGE */
.entry-title {
    font-family: 'Helvetica Neue', Helvetica, Arial, sans-serif;
    font-weight: 700;
    font-size: 2.5rem;
    line-height: 1.2;
    margin-bottom: 1rem;
    color: #000;
}

.entry-title a {
    color: #000;
    text-decoration: none;
}

.entry-title a:hover {
    color: #333;
}


/* AVATAR DO AUTOR - FORÇAR PRETO */
.entry-meta-container > div > div:first-child,
article .entry-meta-container div[style*="border-radius: 50%"] {
    background: #000 !important;
    background-color: #000 !important;
    background-image: none !important;
    color: #fff !important;
}


/* BARRA DE NOTÍCIAS ROLANDO */
.news-ticker {
    background-color: #f5f5f5;
    border-bottom: 1px solid #ddd;
    display: flex;
    align-items: center;
    overflow: hidden;
    margin-top: 0 !important;
    height: 40px;
}

.news-ticker-label {
    background-color: #e5e5e5 !important;
    background: #e5e5e5 !important;
    color: #000 !important;
    padding: 0 1.5rem;
    font-weight: 700;
    font-size: 0.85rem;
    height: 100%;
    display: flex;
    align-items: center;
    flex-shrink: 0;
}

.news-ticker-content {
    flex: 1;
    overflow: hidden;
    position: relative;
}

.news-ticker-items {
    display: flex;
    gap: 2rem;
    animation: ticker-scroll 15s linear infinite;
    white-space: nowrap;
}

.news-ticker-item a {
    color: #222;
    text-decoration: none;
    font-size: 0.9rem;
    font-weight: 500;
    transition: color 0.3s;
}

.news-ticker-item a:hover {
    color: #0066cc;
}

.news-ticker-separator {
    color: #999;
    margin: 0 1rem;
}

@keyframes ticker-scroll {
    0% {
        transform: translateX(0);
    }
    100% {
        transform: translateX(-50%);
    }
}

.news-ticker-items:hover {
    animation-play-state: paused;
}


/* BREADCRUMB NAVIGATION */
.breadcrumb-navigation {
    padding: 1rem 0;
    margin-bottom: 1.5rem;
    border-bottom: 1px solid #e5e5e5;
}

.breadcrumb-list {
    list-style: none;
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 0.5rem;
    font-size: 0.85rem;
}

.breadcrumb-item {
    display: inline-flex;
}

.breadcrumb-item a {
    color: #666;
    text-decoration: none;
    transition: color 0.3s;
}

.breadcrumb-item a:hover {
    color: #000;
}

.breadcrumb-current {
    color: #000;
    font-weight: 500;
}

.breadcrumb-separator {
    color: #999;
    user-select: none;
}


/* AUTHOR BOX EXPANDIDO */
.author-box-expanded {
    background: #f8f8f8;
    border: 1px solid #e5e5e5;
    border-radius: 8px;
    padding: 2rem;
    margin: 3rem 0;
}

.author-box-header {
    display: flex;
    gap: 1.5rem;
    align-items: flex-start;
    margin-bottom: 2rem;
}

.author-box-avatar {
    width: 80px;
    height: 80px;
    border-radius: 50%;
    background: #000;
    color: #fff;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 2rem;
    font-weight: 700;
    flex-shrink: 0;
}

.author-box-info {
    flex: 1;
}

.author-box-name {
    font-size: 1.5rem;
    font-weight: 700;
    margin-bottom: 0.25rem;
}

.author-box-name a {
    color: #000;
    text-decoration: none;
    transition: color 0.3s;
}

.author-box-name a:hover {
    color: #0066cc;
}

.author-box-posts-count {
    font-size: 0.9rem;
    color: #666;
    margin-bottom: 1rem;
}

.author-box-bio {
    font-size: 1rem;
    line-height: 1.6;
    color: #333;
    margin-bottom: 1rem;
}

.author-box-social {
    display: flex;
    gap: 1rem;
    margin-top: 1rem;
}

.author-box-social a {
    width: 36px;
    height: 36px;
    border-radius: 50%;
    background: #fff;
    border: 1px solid #ddd;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #333;
    transition: all 0.3s;
}

.author-box-social a:hover {
    background: #000;
    color: #fff;
    border-color: #000;
}

.author-box-recent-posts {
    border-top: 1px solid #ddd;
    padding-top: 1.5rem;
}

.author-box-recent-title {
    font-size: 1.1rem;
    font-weight: 700;
    margin-bottom: 1rem;
    color: #000;
}

.author-box-posts-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(200px, 1fr));
    gap: 1.5rem;
    margin-bottom: 1.5rem;
}

.author-box-post-item {
    display: flex;
    flex-direction: column;
    gap: 0.75rem;
}

.author-box-post-thumbnail {
    display: block;
    border-radius: 4px;
    overflow: hidden;
    aspect-ratio: 16/9;
}

.author-box-post-thumbnail img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.3s;
}

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

.author-box-post-content {
    display: flex;
    flex-direction: column;
    gap: 0.25rem;
}

.author-box-post-title {
    font-size: 0.95rem;
    font-weight: 600;
    line-height: 1.3;
    margin: 0;
}

.author-box-post-title a {
    color: #000;
    text-decoration: none;
    transition: color 0.3s;
}

.author-box-post-title a:hover {
    color: #0066cc;
}

.author-box-post-date {
    font-size: 0.8rem;
    color: #999;
}

.author-box-view-all {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    color: #000;
    font-weight: 600;
    text-decoration: none;
    transition: color 0.3s;
}

.author-box-view-all:hover {
    color: #0066cc;
}

@media (max-width: 768px) {
    .author-box-expanded {
        padding: 1.5rem;
    }

    .author-box-header {
        flex-direction: column;
        align-items: center;
        text-align: center;
    }

    .author-box-avatar {
        width: 64px;
        height: 64px;
        font-size: 1.5rem;
    }

    .author-box-social {
        justify-content: center;
    }

    .author-box-posts-grid {
        grid-template-columns: 1fr;
    }
}


/* TABLE OF CONTENTS (ÍNDICE) */
.table-of-contents {
    background: #f8f8f8;
    border: 1px solid #e5e5e5;
    border-radius: 8px;
    padding: 1.5rem;
    margin: 2rem 0;
}

.toc-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 1rem;
}

.toc-title {
    font-size: 1.1rem;
    font-weight: 700;
    margin: 0;
    color: #000;
}

.toc-toggle {
    background: none;
    border: none;
    cursor: pointer;
    padding: 0.5rem;
    color: #666;
    transition: transform 0.3s, color 0.3s;
}

.toc-toggle:hover {
    color: #000;
}

.toc-toggle-collapsed {
    transform: rotate(-90deg);
}

.toc-nav {
    max-height: 400px;
    overflow-y: auto;
    transition: max-height 0.3s;
}

.toc-nav.toc-collapsed {
    max-height: 0;
    overflow: hidden;
}

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

.toc-item {
    margin-bottom: 0.5rem;
}

.toc-level-2 {
    padding-left: 0;
}

.toc-level-3 {
    padding-left: 1.5rem;
    font-size: 0.9rem;
}

.toc-link {
    color: #333;
    text-decoration: none;
    display: block;
    padding: 0.5rem 0.75rem;
    border-radius: 4px;
    transition: all 0.3s;
    line-height: 1.4;
}

.toc-link:hover {
    background: #fff;
    color: #0066cc;
}

.toc-link.toc-active {
    background: #000;
    color: #fff;
    font-weight: 600;
}

/* BARRA DE PROGRESSO DE LEITURA */
.reading-progress-bar {
    position: fixed;
    top: 0;
    left: 0;
    height: 3px;
    background: linear-gradient(90deg, #0066cc, #00aaff);
    z-index: 9999;
    width: 0%;
    transition: width 0.1s;
}

@media (max-width: 768px) {
    .table-of-contents {
        padding: 1rem;
    }

    .toc-title {
        font-size: 1rem;
    }

    .toc-level-3 {
        padding-left: 1rem;
        font-size: 0.85rem;
    }
}


/* LIGHTBOX PARA IMAGENS */
.lightbox {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 99999;
    display: none;
    align-items: center;
    justify-content: center;
}

.lightbox.lightbox-active {
    display: flex;
}

.lightbox-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.95);
    cursor: pointer;
}

.lightbox-content {
    position: relative;
    max-width: 90%;
    max-height: 90%;
    z-index: 1;
    display: flex;
    flex-direction: column;
    align-items: center;
}

.lightbox-image {
    max-width: 100%;
    max-height: 80vh;
    object-fit: contain;
    border-radius: 4px;
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.5);
}

.lightbox-caption {
    color: #fff;
    margin-top: 1rem;
    font-size: 0.95rem;
    text-align: center;
    max-width: 600px;
}

.lightbox-counter {
    color: #999;
    margin-top: 0.5rem;
    font-size: 0.85rem;
}

.lightbox-close,
.lightbox-prev,
.lightbox-next {
    position: absolute;
    background: rgba(255, 255, 255, 0.1);
    border: 2px solid rgba(255, 255, 255, 0.3);
    color: #fff;
    font-size: 2rem;
    width: 50px;
    height: 50px;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: all 0.3s;
    border-radius: 50%;
    backdrop-filter: blur(10px);
}

.lightbox-close:hover,
.lightbox-prev:hover,
.lightbox-next:hover {
    background: rgba(255, 255, 255, 0.2);
    border-color: rgba(255, 255, 255, 0.6);
    transform: scale(1.1);
}

.lightbox-close {
    top: 20px;
    right: 20px;
    font-size: 2.5rem;
    line-height: 1;
}

.lightbox-prev {
    left: 20px;
    top: 50%;
    transform: translateY(-50%);
}

.lightbox-prev:hover {
    transform: translateY(-50%) scale(1.1);
}

.lightbox-next {
    right: 20px;
    top: 50%;
    transform: translateY(-50%);
}

.lightbox-next:hover {
    transform: translateY(-50%) scale(1.1);
}

/* Cursor pointer nas imagens do conteúdo */
.entry-content img {
    cursor: pointer;
    transition: transform 0.3s, box-shadow 0.3s;
}

.entry-content img:hover {
    transform: scale(1.02);
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
}

@media (max-width: 768px) {
    .lightbox-close,
    .lightbox-prev,
    .lightbox-next {
        width: 40px;
        height: 40px;
        font-size: 1.5rem;
    }

    .lightbox-close {
        top: 10px;
        right: 10px;
    }

    .lightbox-prev {
        left: 10px;
    }

    .lightbox-next {
        right: 10px;
    }

    .lightbox-caption {
        font-size: 0.85rem;
        padding: 0 1rem;
    }
}


/* FORÇAR FUNDO PRETO NA SEÇÃO DE VÍDEOS - EXTRA */
section.videos-section {
    background-color: #000 !important;
    background: #000 !important;
}

.videos-section > * {
    background-color: transparent !important;
}

.videos-section .videos-header,
.videos-section .videos-grid,
.videos-section .video-card {
    background-color: transparent !important;
}

.video-card {
    background-color: #111 !important;
    background: #111 !important;
}


/* CATEGORIA ACIMA DO TÍTULO */
.post-category-badge {
    margin-bottom: 1rem;
}

.post-category-badge a {
    display: inline-block;
    background-color: #FF0000 !important;
    background: #FF0000 !important;
    color: #fff !important;
    padding: 0.5rem 1rem;
    font-size: 0.85rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    text-decoration: none;
    border-radius: 4px;
    transition: background-color 0.3s;
}

.post-category-badge a:hover {
    background-color: #CC0000 !important;
    background: #CC0000 !important;
}


/* ÍCONES SOCIAIS FLUTUANTES LATERAIS */
.social-share-sidebar {
    position: fixed;
    left: 20px;
    top: 50%;
    transform: translateY(-50%);
    display: flex;
    flex-direction: column;
    gap: 0.75rem;
    z-index: 1000;
}

.social-share-btn {
    width: 48px;
    height: 48px;
    background-color: #fff;
    border: 1px solid #e5e5e5;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #333;
    text-decoration: none;
    transition: all 0.3s;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
}

.social-share-btn:hover {
    background-color: #000;
    color: #fff;
    border-color: #000;
    transform: scale(1.1);
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.2);
}

.social-share-btn svg {
    width: 20px;
    height: 20px;
}

/* Esconder em telas pequenas */
@media (max-width: 1024px) {
    .social-share-sidebar {
        display: none;
    }
}


/* WIDGET DE POSTS MAIS RECENTES NO MEIO DO CONTEÚDO */
.in-content-recent-posts {
    background: #fff;
    border: 1px solid #e5e5e5;
    padding: 2rem;
    margin: 2.5rem 0;
    border-radius: 4px;
}

.in-content-recent-title {
    font-size: 1.3rem;
    font-weight: 700;
    margin: 0 0 1.5rem 0;
    color: #000;
    font-family: Georgia, 'Times New Roman', Times, serif !important;
}

.in-content-recent-list {
    list-style: none;
    padding: 0;
    margin: 0;
}

.in-content-recent-item {
    margin-bottom: 1rem;
    padding-left: 1.5rem;
    position: relative;
}

.in-content-recent-item:before {
    content: '→';
    position: absolute;
    left: 0;
    color: #000;
    font-size: 1rem;
    line-height: 1.5;
}

.in-content-recent-item a {
    color: #000 !important;
    text-decoration: none;
    font-size: 1rem;
    line-height: 1.5;
    font-family: Georgia, 'Times New Roman', Times, serif;
    transition: color 0.3s;
}

.in-content-recent-item a:hover {
    color: #FF0000 !important;
}

@media (max-width: 768px) {
    .in-content-recent-posts {
        padding: 1.5rem;
        margin: 2rem 0;
    }
}


/* ESPAÇAMENTO E FONTE DO CORPO DO POST */
.entry-content {
    font-family: Georgia, 'Times New Roman', Times, serif !important;
    font-size: 1.1rem !important;
    line-height: 1.8 !important;
    color: #333 !important;
}

.entry-content p {
    margin-bottom: 1.5rem !important;
    font-family: Georgia, 'Times New Roman', Times, serif !important;
}

.entry-content h1,
.entry-content h2,
.entry-content h3,
.entry-content h4,
.entry-content h5,
.entry-content h6 {
    font-family: 'Helvetica Neue', Helvetica, Arial, sans-serif !important;
    margin-top: 2rem !important;
    margin-bottom: 1rem !important;
}
