/*
 Theme Name: dabliumendes
 Theme URI: https://folhago.com.br
 Author: dabliumendes
 Author URI: https://folhago.com.br
 Description: Tema de portal de noticias profissional. Score 100/100/100 PageSpeed.
 Version: 3.6.0
 License: GNU General Public License v2 or later
 License URI: https://www.gnu.org/licenses/gpl-2.0.html
 Text Domain: dabliumendes
*/

        /* â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•
           NEWS BRASIL â€” DESIGN SYSTEM & ACCESSIBILITY RULES
           Score: 100 Acessibilidade | 100 PrÃ¡ticas | 100 SEO
           â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•

           â˜…â˜…â˜… REGRA INVIOLÃVEL â€” LEIA ANTES DE ALTERAR QUALQUER COR â˜…â˜…â˜…

           Este template passou por auditoria PageSpeed Insights com score
           100/100/100. As cores abaixo foram calculadas com a fÃ³rmula WCAG 2.1
           de contraste (https://dequeuniversity.com/rules/axe/4.11/color-contrast).
           O ratio mÃ­nimo exigido Ã© 4.5:1 para texto normal e 3:1 para texto grande.

           QUALQUER alteraÃ§Ã£o de cor DEVE ser verificada contra esta tabela.
           Se o ratio cair abaixo de 4.5:1, o score de acessibilidade CAI.

           â”€â”€ TABELA DE CORES APROVADAS â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€

           DARK THEME (fundo #0E0E0E):
           â”Œâ”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”¬â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”¬â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”¬â”€â”€â”€â”€â”€â”€â”€â”€â”€â”¬â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”
           â”‚ VariÃ¡vel         â”‚ Cor       â”‚ Ratio      â”‚ Status  â”‚ Uso                       â”‚
           â”œâ”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”¼â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”¼â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”¼â”€â”€â”€â”€â”€â”€â”€â”€â”€â”¼â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”¤
           â”‚ --text-primary   â”‚ #FFFFFF   â”‚ 19.33:1    â”‚ âœ“ PASS  â”‚ TÃ­tulos, texto principal   â”‚
           â”‚ --text-secondary â”‚ #B0B0B0   â”‚  8.90:1    â”‚ âœ“ PASS  â”‚ Corpo do artigo, subtÃ­tuloâ”‚
           â”‚ --text-muted     â”‚ #999999   â”‚  6.78:1    â”‚ âœ“ PASS  â”‚ Datas, metas, captions    â”‚
           â”‚ --red-text       â”‚ #FF4444   â”‚  5.66:1    â”‚ âœ“ PASS  â”‚ Links, tags, breadcrumb   â”‚
           â”‚ --red (bg)       â”‚ #CC0000   â”‚  â€”â€”        â”‚ â€”â€”      â”‚ Background de tags/botÃµes  â”‚
           â”‚ #FFF on --red    â”‚ #FFFâ†’#C00 â”‚  5.89:1    â”‚ âœ“ PASS  â”‚ Texto branco em tag/botÃ£o â”‚
           â””â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”´â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”´â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”´â”€â”€â”€â”€â”€â”€â”€â”€â”€â”´â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”˜

           LIGHT THEME (fundo #FFFFFF):
           ┌─────────────────────┬───────────┬────────────┬─────────┬───────────────────────────┐
           │ Variável            │ Cor       │ Ratio      │ Status  │ Uso                       │
           ├─────────────────────┼───────────┼────────────┼─────────┼───────────────────────────┤
           │ --text-primary      │ #111111   │ 18.88:1    │ ✓ PASS  │ Títulos, texto principal  │
           │ --text-secondary    │ #333333   │ 12.63:1    │ ✓ PASS  │ Corpo do artigo, subtítulo│
           │ --text-muted        │ #595959   │  7.00:1    │ ✓ PASS  │ Datas, metas, captions    │
           │ --red-text          │ #B52020   │  6.58:1    │ ✓ PASS  │ Links, tags, breadcrumb   │
           │ --red (bg)          │ #CC0000   │  ———       │ ———     │ Background de tags/botões │
           │ #FFF on --red       │ #FFF→#C00 │  5.89:1    │ ✓ PASS  │ Texto branco em tag/botão │
           └─────────────────────┴───────────┴────────────┴─────────┴───────────────────────────┘

           –– REGRAS DE USO DAS CORES –––––––––––––––––––––––––––––––––––––––

           1. VERMELHO COMO TEXTO (links, tags inline, breadcrumb, "Atualizado"):
              â†’ Usar SEMPRE var(--red-text), NUNCA var(--red)
              â†’ Dark: #FF4444 (5.66:1) | Light: #B52020 (6.58:1)

           2. VERMELHO COMO BACKGROUND (tags, botÃµes, badges "AO VIVO"):
              â†’ Usar SEMPRE var(--red) com color: #FFFFFF
              â†’ #CC0000 em ambos os temas (branco sobre = 5.89:1)

           3. TEXTO SECUNDÃRIO (corpo de artigos, excerpts):
              â†’ Usar var(--text-secondary)
              â†’ Dark: #B0B0B0 (8.90:1) | Light: #333333 (12.63:1)

           4. TEXTO MUTED (datas, horÃ¡rios, captions, contadores):
              â†’ Usar var(--text-muted)
              â†’ Dark: #999999 (6.78:1) | Light: #595959 (7.00:1)
              â†’ NUNCA usar #666 ou menor no dark (falha contraste)
              â†’ NUNCA usar #777 ou maior no light (falha contraste)

           5. CINZA Ã‰ PROIBIDO ABAIXO DESTES LIMITES:
              â†’ Fundo escuro (#0E0E0E): mÃ­nimo #888888 (5.45:1)
              â†’ Fundo branco (#FFFFFF): mÃ¡ximo #767676 (4.54:1)
              â†’ Na dÃºvida, use var(--text-muted) que jÃ¡ estÃ¡ calibrado

           6. NOVOS ELEMENTOS devem usar APENAS as variÃ¡veis acima.
              NÃƒO inventar cores hardcoded. NÃƒO usar #777, #888, #aaa
              sem verificar contraste em AMBOS os temas.

           â”€â”€ REGRAS DE ACESSIBILIDADE HTML â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€

           7. Todo <button> sem texto visÃ­vel PRECISA de aria-label
           8. Todo SVG decorativo PRECISA de aria-hidden="true"
           9. Todo SVG com significado PRECISA de role="img" + aria-label
          10. Landmarks obrigatÃ³rios: <header role="banner">,
              <main role="main">, <footer role="contentinfo">,
              <nav aria-label="..."> em cada navegaÃ§Ã£o
          11. Ãreas de toque mÃ­nimo: 44x44px em mobile
          12. Focus visible: outline 3px var(--red) em todos os interativos
          13. Tema padrÃ£o: light (data-theme="light" no <html>)
          14. localStorage 'news-theme' sobrescreve o padrÃ£o

           â”€â”€ FONTES â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€

          15. --font-sans: Encode Sans (UI, nav, tags, meta)
          16. --font-serif: Merriweather (tÃ­tulos, corpo editorial)
          17. Pesos carregados: Encode Sans 400,600,700,800
                                Merriweather 400,700,900
          18. Google Fonts com display=swap obrigatÃ³rio

           â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•
        */

        *, *::before, *::after { margin:0; padding:0; box-sizing:border-box; }

        :root {
            --red: #CC0000;
            --red-text: #FF4444;
            --red-dark: #A30000;
            --red-glow: rgba(204,0,0,0.35);
            --dark-bg: #0E0E0E;
            --dark-surface: #161616;
            --dark-card: #1C1C1C;
            --dark-border: #2A2A2A;
            --text-primary: #FFFFFF;
            --text-secondary: #B0B0B0;
            --text-muted: #999999;
            --accent-blue: #1DA1F2;
            --accent-yellow: #FFD600;
            --branch: #2A2A2A;
            --branch-active: #CC0000;
            --font-sans: 'Encode Sans', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
            --font-body: 'Open Sans', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
            --ease: cubic-bezier(0.22, 1, 0.36, 1);
            --spring: cubic-bezier(0.34, 1.56, 0.64, 1);
        }

        [data-theme="light"] {
            --dark-bg: #FFFFFF;
            --dark-surface: #F5F5F5;
            --dark-card: #FFFFFF;
            --dark-border: #E2E2E2;
            --text-primary: #111111;
            --text-secondary: #333333;
            --text-muted: #595959;
            --red: #CC0000;
            --red-text: #B52020;
            --red-dark: #A30000;
            --branch: #D4D4D4;
            --branch-active: #CC0000;
            --red-glow: rgba(204,0,0,0.15);
        }

        [data-theme="light"] .site-header { background: #FFFFFF; box-shadow: 0 1px 3px rgba(0,0,0,0.06); }
        [data-theme="light"] .progress-bar { box-shadow: 0 0 8px rgba(204,0,0,0.2); }
        [data-theme="light"] .article-body { color: #222222; }
        [data-theme="light"] .article-body p { color: #2A2A2A; }
        [data-theme="light"] .article-body strong { color: #111111; }
        [data-theme="light"] .article-body h2 { color: #111111; }
        [data-theme="light"] .article-body blockquote { background: #F7F7F5; color: #1A1A1A; border-left-color: var(--red-text); }
        [data-theme="light"] .article-body blockquote cite { color: #555555; }
        [data-theme="light"] .article-body a { color: #B52020; text-decoration-color: rgba(181,32,32,0.3); }
        [data-theme="light"] .article-subtitle { color: #333333; }
        [data-theme="light"] .article-title { color: #0A0A0A; }
        [data-theme="light"] .article-author__name { color: #111111; }
        [data-theme="light"] .article-date { color: #444444; }
        [data-theme="light"] .article-breadcrumb { color: #444444; }
        [data-theme="light"] .article-img-caption { color: #555555; }
        [data-theme="light"] .sidebar-box { background: #FAFAFA; border-color: #E8E8E8; }
        [data-theme="light"] .sidebar-related-item__title { color: #222222; }
        [data-theme="light"] .sidebar-tag { background: #F0F0F0; border-color: #DCDCDC; color: #555555; }
        [data-theme="light"] .sidebar-tag:hover { color: var(--red-text); }
        [data-theme="light"] .share-btn { background: #F5F5F5; border-color: #E0E0E0; color: #555555; }
        [data-theme="light"] .author-box__inner { background: #FAFAFA; border-color: #E8E8E8; }
        [data-theme="light"] .author-box__bio { color: #444444; }
        [data-theme="light"] .comments-teaser__inner { background: #FAFAFA; border-color: #E8E8E8; }
        [data-theme="light"] .comments-teaser__count { color: #111111; }
        [data-theme="light"] .related-card { background: #FFFFFF; border: 1px solid #E8E8E8; }
        [data-theme="light"] .related-card__title { color: #1A1A1A; }
        [data-theme="light"] .placeholder-img { background: #E8E8E8; color: #999; }
        [data-theme="light"] .branch-dot { fill: #FFFFFF; }
        [data-theme="light"] .branch-label__pill { background: #FFFFFF; border-color: #E0E0E0; }
        [data-theme="light"] .latest-item__title,
        [data-theme="light"] .most-read-item__title { color: #1A1A1A; }
        [data-theme="light"] .section-header { border-bottom-color: var(--red-text); }
/* CSS Part 2 - appended to style.css */

        .theme-toggle {
            width: 44px; height: 44px;
            border-radius: 50%;
            background: var(--dark-card);
            border: 1px solid var(--dark-border);
            display: flex; align-items: center; justify-content: center;
            cursor: pointer;
            color: var(--text-primary);
            transition: all 0.3s;
            position: relative;
            overflow: hidden;
        }
        .theme-toggle:hover { border-color: var(--red); color: var(--red); }
        .theme-toggle svg { width: 16px; height: 16px; transition: transform 0.4s var(--spring), opacity 0.3s; }
        .theme-toggle__sun, .theme-toggle__moon { position: absolute; display: flex; align-items: center; justify-content: center; }
        .theme-toggle__sun { opacity: 0; transform: rotate(-90deg) scale(0.5); }
        .theme-toggle__moon { opacity: 1; transform: rotate(0) scale(1); }
        [data-theme="light"] .theme-toggle__sun { opacity: 1; transform: rotate(0) scale(1); }
        [data-theme="light"] .theme-toggle__moon { opacity: 0; transform: rotate(90deg) scale(0.5); }

        body, .site-header, .sidebar-box, .article-body blockquote,
        .share-btn, .sidebar-tag, .related-card, .author-box__inner,
        .comments-teaser__inner, .site-footer, .branch-label__pill {
            transition: background-color 0.4s ease, color 0.3s ease, border-color 0.3s ease;
        }

        html { scroll-behavior: smooth; }
        body { font-family: var(--font-sans); background: var(--dark-bg); color: var(--text-primary); line-height: 1.6; -webkit-font-smoothing: antialiased; overflow-x: hidden; }
        a { color: inherit; text-decoration: none; }
        img { display: block; max-width: 100%; height: auto; }

        .progress-bar { position: fixed; top: 0; left: 0; width: 0%; height: 3px; background: #FFFFFF; z-index: 201; transition: width 0.1s linear; box-shadow: 0 0 8px rgba(255,255,255,0.4); }

        .site-header { background: var(--red); border-bottom: none; position: sticky; top: 0; z-index: 100; }
        [data-theme="light"] .site-header { background: var(--red); box-shadow: none; }
        .header-inner { max-width: 1280px; margin: 0 auto; padding: 0 20px; display: flex; align-items: center; justify-content: space-between; height: 52px; }
        .header-left { display:flex; align-items:center; gap:16px; }
        .back-btn { display: flex; align-items: center; gap: 5px; font-size: 14px; font-weight: 700; color: #FFFFFF; background: none; border: none; cursor: pointer; transition: opacity 0.2s; min-height: 44px; padding: 0 4px; }
        .back-btn:hover { opacity: 0.8; }
        .back-btn svg { width: 18px; height: 18px; stroke: #fff; fill: none; stroke-width: 2.5; }
        .logo { display:flex; flex-direction: column; align-items: flex-start; gap: 2px; }
        .logo-main { font-weight:800; font-size:22px; letter-spacing:-1px; color:#FFFFFF; line-height:1; }
        .logo-sub { font-size:9px; font-weight:800; letter-spacing:3px; text-transform:uppercase; color:#FFFFFF; }
        .header-right { display:flex; align-items:center; gap:8px; }
        .header-right button:not(.theme-toggle) { background:none; border:none; cursor:pointer; color:#FFFFFF; transition:opacity 0.2s; display:flex; align-items:center; justify-content:center; width:44px; height:44px; }
        .header-right button:not(.theme-toggle):hover { opacity:0.75; }

        .theme-toggle { width: 44px; height: 44px; border-radius: 50%; background: rgba(255,255,255,0.15); border: 1px solid rgba(255,255,255,0.25); display: flex; align-items: center; justify-content: center; cursor: pointer; color: #FFFFFF; transition: all 0.3s; position: relative; overflow: hidden; }
        .theme-toggle:hover { background: rgba(255,255,255,0.25); }

        .social-proof-bar { background: #B50000; display: flex; align-items: center; justify-content: center; gap: 8px; padding: 6px 16px; font-size: 12px; font-weight: 600; color: #FFFFFF; }
        .social-proof-bar__dot { width: 8px; height: 8px; background: #4ADE80; border-radius: 50%; position: relative; flex-shrink: 0; animation: dotBlink 1.5s ease-in-out infinite; }
        @keyframes dotBlink { 0%,100%{opacity:1;} 50%{opacity:0.3;} }
        .social-proof-bar__dot::after { content:''; position:absolute; inset:-4px; border-radius:50%; background:rgba(74,222,128,0.4); animation: proofPing 2s ease-in-out infinite; }
        @keyframes proofPing { 0%,100%{transform:scale(1);opacity:.5} 50%{transform:scale(1.8);opacity:0} }
        .social-proof-bar__count { font-weight: 800; color: #fff; }
        .social-proof-bar__text { color: #FFFFFF; }
/* CSS Part 3 â€” Article hero, featured image, article body, sidebar */

        .article-hero { max-width: 900px; margin: 0 auto; padding: 48px 24px 0; }
        .article-breadcrumb { display: flex; align-items: center; gap: 8px; font-size: 13px; font-weight: 600; color: var(--text-secondary); margin-bottom: 20px; }
        .article-breadcrumb a { color: var(--red-text); transition: opacity 0.2s; }
        .article-breadcrumb a:hover { opacity: 0.7; }
        .article-breadcrumb__sep { color: var(--text-muted); }
        .article-tag { display: inline-flex; align-items: center; background: var(--red); color: #fff; font-size: 10px; font-weight: 700; letter-spacing: 1.5px; text-transform: uppercase; padding: 4px 12px; border-radius: 3px; margin-bottom: 16px; }
        .article-title { font-family: var(--font-body); font-size: clamp(1.8rem, 3.5vw, 2.6rem); font-weight: 900; line-height: 1.18; margin-bottom: 16px; letter-spacing: -0.3px; }
        .article-subtitle { font-size: 1.15rem; color: var(--text-secondary); line-height: 1.55; margin-bottom: 24px; max-width: 720px; }
        .article-meta-bar { display: flex; align-items: center; justify-content: space-between; padding: 16px 0; border-top: 1px solid var(--dark-border); border-bottom: 1px solid var(--dark-border); margin-bottom: 32px; flex-wrap: wrap; gap: 12px; }
        .article-author { display: flex; align-items: center; gap: 12px; }
        .article-author__avatar { width: 42px; height: 42px; border-radius: 50%; overflow: hidden; border: 2px solid var(--dark-border); }
        .article-author__avatar img, .article-author__avatar .placeholder-img { width:100%; height:100%; object-fit:cover; }
        .article-author__name { font-weight: 700; font-size: 14px; }
        .article-author__detail { font-size: 12px; color: var(--text-muted); display: flex; align-items: center; gap: 8px; }
        .article-author__col-tag { font-size: 9px; font-weight: 700; letter-spacing: 1px; text-transform: uppercase; padding: 2px 7px; border-radius: 2px; }
        .article-author__col-tag--economia { background: #00C853; color: #0a0a0a; }
        .article-author__col-tag--politica { background: var(--accent-blue); color: #fff; }
        .article-meta-right { display: flex; align-items: center; gap: 16px; }
        .article-date { font-size: 12px; color: var(--text-muted); display: flex; flex-direction: column; gap: 1px; }
        .article-date__updated { color: var(--red-text); font-weight: 600; }
        .share-btns { display: flex; gap: 8px; }
        .share-btn { width: 44px; height: 44px; border-radius: 50%; background: var(--red); border: none; display: flex; align-items: center; justify-content: center; cursor: pointer; color: #FFFFFF; font-size: 15px; font-weight: 700; transition: all 0.2s; box-shadow: 0 2px 8px rgba(204,0,0,.2); }
        .share-btn:hover { opacity: 0.85; transform: scale(1.05); }
        .share-btn:active { transform: scale(0.95); }
        [data-theme="light"] .share-btn { background: var(--red); color: #fff; border: none; box-shadow: 0 2px 8px rgba(204,0,0,.15); }

        .article-featured-img { max-width: 960px; margin: 0 auto 8px; padding: 0 24px; }
        .article-img-wrap { border-radius: 10px; overflow: hidden; aspect-ratio: 16/9; position: relative; }
        @media (max-width: 768px) { .article-featured-img { max-width: 100%; padding: 0; margin: 0 0 8px; } .article-img-wrap { border-radius: 0; } }
        .article-img-wrap img, .article-img-wrap .placeholder-img { width: 100%; height: 100%; object-fit: cover; }
        .article-img-caption { max-width: 900px; margin: 0 auto; padding: 8px 24px 32px; font-size: 12px; color: var(--text-muted); font-style: italic; }
        .article-img-caption span { color: var(--text-secondary); font-style: normal; font-weight: 600; }

        .article-body-wrap { max-width: 960px; margin: 0 auto; padding: 0 24px; display: grid; grid-template-columns: 48px minmax(0, 1fr) 260px; gap: 20px 28px; align-items: start; overflow-x: hidden; }
        .reaction-col { position: sticky; top: 90px; align-self: start; display: flex; flex-direction: column; align-items: center; gap: 14px; padding-top: 8px; }
        .reaction-col .reaction-btn { display: flex; flex-direction: column; align-items: center; gap: 3px; background: none; border: none; cursor: pointer; }
        .reaction-col .reaction-btn .icon-circle { width: 44px; height: 44px; border-radius: 50%; background: var(--red); border: none; box-shadow: 0 3px 10px rgba(204,0,0,.25); display: flex; align-items: center; justify-content: center; transition: transform 0.2s, box-shadow 0.2s; }
        [data-theme="light"] .reaction-col .reaction-btn .icon-circle { background: var(--red); box-shadow: 0 3px 10px rgba(204,0,0,.2); }
        .reaction-col .reaction-btn .icon-circle:hover { transform: scale(1.1); box-shadow: 0 5px 16px rgba(204,0,0,.35); }
        .reaction-col .reaction-btn .icon-circle:active { transform: scale(0.9); }
        .reaction-col .reaction-btn .icon-circle svg { width: 18px; height: 18px; stroke: #fff; fill: none; stroke-width: 2; }
        .reaction-col .reaction-btn.liked .icon-circle { background: #fff; border: 2px solid var(--red); box-shadow: 0 3px 10px rgba(0,0,0,.08); }
        .reaction-col .reaction-btn.liked .icon-circle svg { stroke: var(--red); fill: var(--red); }
        .reaction-col .reaction-btn .r-count { font-size: 11px; font-weight: 700; color: var(--text-muted); }
        /** Glow neon sutil no balão de comentários — pisca enquanto o contador incrementa */
        @keyframes commentGlow { 0%,100% { box-shadow: 0 0 4px rgba(204,0,0,.15); } 50% { box-shadow: 0 0 14px rgba(204,0,0,.55), 0 0 28px rgba(204,0,0,.2); } }
        .comment-glow .icon-circle { animation: commentGlow 1.2s ease-in-out infinite; }
        .comment-glow .r-count { color: var(--red-text) !important; transition: color .3s; }

        .article-body { font-family: var(--font-body); font-size: 18px; line-height: 1.55; color: var(--text-secondary); }
        .article-body p { margin-bottom: 26px; }
        .article-body p:first-of-type::first-letter { font-size: 3rem; font-weight: 900; color: var(--red-text); float: left; line-height: 1; margin: 6px 12px 0 0; font-family: var(--font-body); }
        .article-body h2 { font-family: var(--font-sans); font-size: 1.2rem; font-weight: 800; color: var(--text-primary); margin: 40px 0 16px; padding-left: 16px; border-left: 3px solid var(--red); }
        .article-body blockquote { margin: 32px 0; padding: 24px 28px; background: var(--dark-card); border-left: 3px solid var(--red); border-radius: 0 8px 8px 0; font-style: italic; color: var(--text-primary); font-size: 1.05rem; line-height: 1.7; position: relative; }
        .article-body blockquote::before { content: '\201C'; position: absolute; top: -8px; left: 16px; font-size: 4rem; color: var(--red-text); opacity: 0.2; font-family: var(--font-body); line-height: 1; }
        .article-body blockquote cite { display: block; font-style: normal; font-size: 13px; color: var(--text-muted); margin-top: 12px; font-family: var(--font-sans); }
        .article-body a { color: var(--red-text); text-decoration: underline; text-decoration-color: rgba(204,0,0,0.3); transition: text-decoration-color 0.2s; }
        .article-body a:hover { text-decoration-color: var(--red); }
        .article-body strong { color: var(--text-primary); }
        .article-inline-img { margin: 32px -40px; border-radius: 8px; overflow: hidden; }
        .article-inline-img .placeholder-img { width: 100%; aspect-ratio: 16/9; }
        .article-inline-img figcaption { font-family: var(--font-sans); font-size: 12px; color: var(--text-muted); padding: 8px 0; font-style: italic; }
        /* Proteção: conteúdo dinâmico não estoura o grid */
        .article-body img, .article-body iframe, .article-body table, .article-body figure, .article-body .wp-block-embed { max-width: 100%; overflow: hidden; }
/* CSS Part 4 â€” Sidebar, branches, author, related, comments, footer */

        .article-sidebar { position: sticky; top: 90px; align-self: start; max-height: calc(100vh - 100px); overflow-y: auto; scrollbar-width: thin; scrollbar-color: var(--dark-border) transparent; display: flex; flex-direction: column; gap: 24px; }
        .article-sidebar::-webkit-scrollbar { width: 4px; }
        .article-sidebar::-webkit-scrollbar-thumb { background: var(--dark-border); border-radius: 4px; }
        .article-sidebar::-webkit-scrollbar-track { background: transparent; }
        .sidebar-box { background: var(--dark-card); border-radius: 8px; padding: 20px; border: 1px solid var(--dark-border); }
        .sidebar-box__title { font-size: 13px; font-weight: 800; text-transform: uppercase; letter-spacing: 1.5px; color: var(--text-muted); margin-bottom: 16px; padding-bottom: 12px; border-bottom: 2px solid var(--red); }
        .sidebar-related-item { padding: 12px 0; border-bottom: 1px solid var(--dark-border); cursor: pointer; transition: opacity 0.2s; }
        .sidebar-related-item:last-child { border-bottom: none; }
        .sidebar-related-item:hover { opacity: 0.7; }
        .sidebar-related-item__tag { font-size: 11px; font-weight: 700; color: var(--red-text); text-transform: uppercase; letter-spacing: 0.5px; margin-bottom: 4px; }
        .sidebar-related-item__title { font-family: var(--font-body); font-size: 15px; font-weight: 700; line-height: 1.4; color: var(--text-primary); }
        .sidebar-related-item__time { font-size: 12px; color: var(--text-muted); margin-top: 4px; }
        .sidebar-tags { display: flex; flex-wrap: wrap; gap: 8px; }
        .sidebar-tag { font-size: 12px; font-weight: 600; padding: 5px 12px; border-radius: 100px; background: var(--dark-surface); border: 1px solid var(--dark-border); color: var(--text-muted); cursor: pointer; transition: all 0.2s; }
        .sidebar-tag:hover { border-color: var(--red); color: var(--red); }
        .article-tags-bar { max-width: 900px; margin: 0 auto; padding: 24px 24px 0; display: flex; align-items: center; gap: 10px; flex-wrap: wrap; }
        .article-tags-bar__label { font-size: 12px; font-weight: 700; color: var(--text-muted); text-transform: uppercase; letter-spacing: 1px; }

        .branch-svg { display:block; width:100%; height:100px; overflow:visible; position:relative; z-index:1; margin:-4px 0; pointer-events:none; }
        .branch-svg.tall { height:120px; }
        .branch-line { fill:none; stroke:var(--branch); stroke-width:1.5; stroke-linecap:round; }
        .branch-glow { fill:none; stroke:var(--red); stroke-width:2; stroke-linecap:round; opacity:.25; filter:blur(4px); }
        .branch-active { fill:none; stroke:var(--red); stroke-width:2; stroke-linecap:round; stroke-dasharray:6 12; animation:branchFlow 2.5s linear infinite; }
        @keyframes branchFlow { to { stroke-dashoffset:-36; } }
        .branch-dot { fill:var(--dark-bg); stroke:var(--branch); stroke-width:2; }
        .branch-dot-active { fill:var(--red); stroke:none; }
        .branch-ring { fill:none; stroke:var(--red); stroke-width:1.5; }
        .branch-svg .reveal-el { opacity:0; transition:opacity 0.8s var(--ease); }
        .branch-svg.visible .reveal-el { opacity:1; }
        .branch-svg.visible .reveal-el:nth-child(2) { transition-delay:.15s; }
        .branch-svg.visible .reveal-el:nth-child(3) { transition-delay:.25s; }
        .reveal-draw { stroke-dasharray:500; stroke-dashoffset:500; transition:stroke-dashoffset 1s var(--ease); }
        .branch-svg.visible .reveal-draw { stroke-dashoffset:0; }
        .branch-label { display:flex; justify-content:center; margin:-14px 0 20px; position:relative; z-index:2; }
        .branch-label__pill { background:var(--dark-surface); border:1px solid var(--dark-border); border-radius:100px; padding:5px 18px; font-size:11px; font-weight:700; letter-spacing:2px; text-transform:uppercase; color:var(--text-muted); display:flex; align-items:center; gap:8px; }
        .branch-label__dot { width:6px; height:6px; background:var(--red); border-radius:50%; }

        .author-box { max-width: 900px; margin: 0 auto; padding: 0 24px; }
        .author-box__inner { display: flex; align-items: center; gap: 20px; background: var(--dark-card); border: 1px solid var(--dark-border); border-radius: 12px; padding: 24px; }
        .author-box__avatar { width: 64px; height: 64px; border-radius: 50%; overflow: hidden; flex-shrink: 0; border: 2px solid var(--dark-border); }
        .author-box__avatar .placeholder-img { width:100%; height:100%; }
        .author-box__info { flex: 1; }
        .author-box__name { font-weight: 700; font-size: 16px; margin-bottom: 2px; display: flex; align-items: center; gap: 8px; }
        .author-box__tag { font-size: 9px; font-weight: 700; letter-spacing: 1px; text-transform: uppercase; padding: 2px 7px; border-radius: 2px; background: #00C853; color: #0a0a0a; }
        .author-box__bio { font-size: 13px; color: var(--text-muted); line-height: 1.5; }
        .author-box__link { font-size: 12px; font-weight: 700; color: var(--red-text); margin-top: 6px; display: inline-block; transition: opacity 0.2s; }
        .author-box__link:hover { opacity: 0.7; }

        .related-section { max-width: 1280px; margin: 0 auto; padding: 0 24px 48px; }
        .related-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px; }
        .related-card { background: var(--dark-card); border-radius: 8px; overflow: hidden; cursor: pointer; transition: transform 0.3s, box-shadow 0.3s; }
        .related-card:hover { transform: translateY(-4px); box-shadow: 0 12px 32px rgba(0,0,0,.4); }
        .related-card__img { aspect-ratio: 16/9; overflow: hidden; position: relative; }
        .related-card__img .placeholder-img { width:100%; height:100%; transition:transform 0.5s; }
        .related-card:hover .related-card__img .placeholder-img { transform:scale(1.06); }
        .related-card__img .r-tag { position: absolute; bottom: 6px; left: 6px; background: var(--red); color: #fff; font-size: 9px; font-weight: 700; letter-spacing: 1px; text-transform: uppercase; padding: 3px 8px; border-radius: 2px; }
        .related-card__body { padding: 14px; }
        .related-card__title { font-family: var(--font-body); font-size: 15px; line-height: 1.25; margin-bottom: 6px; display:-webkit-box; -webkit-line-clamp:3; -webkit-box-orient:vertical; overflow:hidden; }
        .related-card__meta { font-size: 11px; color: var(--text-muted); }

        .comments-teaser { max-width: 900px; margin: 0 auto; padding: 0 24px 40px; }
        .comments-teaser__inner { background: var(--dark-card); border: 1px solid var(--dark-border); border-radius: 12px; padding: 28px; text-align: center; }
        .comments-teaser__count { font-size: 14px; font-weight: 700; margin-bottom: 4px; }
        .comments-teaser__count span { color: var(--red-text); }
        .comments-teaser__text { font-size: 13px; color: var(--text-muted); margin-bottom: 16px; }
        .comments-btn { display: inline-flex; align-items: center; gap: 8px; background: var(--red); color: #fff; font-family: var(--font-sans); font-size: 13px; font-weight: 700; padding: 10px 24px; border-radius: 6px; border: none; cursor: pointer; transition: background 0.2s; }
        .comments-btn:hover { background: var(--red-dark); }

        .site-footer { background: var(--red); border-top: none; padding: 32px 0; }
        [data-theme="light"] .site-footer { background: var(--red); }
        .footer-inner { max-width: 1280px; margin: 0 auto; padding: 0 24px; display: flex; flex-direction: column; align-items: center; gap: 12px; text-align: center; }
        .footer-inner .logo-main { color: #FFFFFF; }
        .footer-inner .logo-sub { color: #FFFFFF; }
        .footer-inner span { color: #FFFFFF; font-size: 12px; }
        .footer-inner a { color: #FFFFFF; transition: opacity 0.2s; }
        .footer-inner a:hover { opacity: 0.75; }
        .footer-links { display: flex; gap: 20px; }
        .footer-links a { min-height: 44px; display: flex; align-items: center; font-size: 13px; font-weight: 700; color: #fff; }
        [data-theme="light"] .footer-inner { color: #fff; }
        [data-theme="light"] .footer-inner a { color: #fff; }
        [data-theme="light"] .footer-inner span { color: #FFFFFF; }

        .placeholder-img { background:var(--dark-border); display:flex; align-items:center; justify-content:center; color:var(--text-muted); font-size:12px; font-weight:500; }
/* CSS Part 5 â€” Responsive, progressive read more, reaction bars, chat, accessibility, inline suggestions */

        @media (max-width:1024px) {
            .article-body-wrap { grid-template-columns: 48px minmax(0, 1fr); }
            .article-sidebar { position: static; max-height: none; overflow-y: visible; flex-direction: row; flex-wrap: wrap; grid-column: 1 / -1; }
            .sidebar-box { flex: 1; min-width: 260px; }
            .related-grid { grid-template-columns: repeat(2, 1fr); }
        }
        @media (max-width:768px) {
            .article-body-wrap { grid-template-columns: minmax(0, 1fr); }
            .article-hero { padding-top: 32px; }
            .article-title { font-size: 1.6rem; }
            .article-meta-bar { flex-direction: column; align-items: flex-start; }
            .article-inline-img { margin: 24px 0; }
            .article-body { font-family: var(--font-body); font-size: 18px; line-height: 1.55; }
            .related-grid { grid-template-columns: 1fr; }
            .author-box__inner { flex-direction: column; text-align: center; }
            .footer-inner { flex-direction: column; gap: 12px; text-align: center; }
            .footer-links { flex-wrap: wrap; justify-content: center; }
            .branch-svg { height: 60px; }
            /** Fix: wp_is_mobile() pode falhar em alguns devices. Garantir que blocos extras fiquem ocultos no mobile até o JS revelar via clique */
            .content-block:not(.js-revealed) { max-height: 0 !important; opacity: 0 !important; overflow: hidden; }
        }

        .content-block { opacity: 0; max-height: 0; overflow: hidden; transition: opacity 0.6s ease, max-height 0.8s ease; }
        .content-block.revealed { opacity: 1; max-height: 5000px; }
        .first-block-wrapper { position: relative; }
        .text-fade-overlay { position: absolute; bottom: 0; left: 0; right: 0; height: 100px; background: linear-gradient(to bottom, transparent 0%, var(--dark-bg) 100%); pointer-events: none; z-index: 1; transition: opacity 0.5s; }
        [data-theme="light"] .text-fade-overlay { background: linear-gradient(to bottom, transparent 0%, #FFFFFF 100%); }
        .read-more-zone { display: flex; flex-direction: column; align-items: center; gap: 0; padding: 4px 0 28px; position: relative; z-index: 2; }
        .read-more-zone.hidden { display: none; }
        .progress-dots { display: flex; gap: 6px; margin-bottom: 10px; }
        .progress-dot { width: 7px; height: 7px; border-radius: 50%; background: var(--dark-border); transition: background 0.3s, transform 0.3s; }
        .progress-dot.filled { background: var(--red); transform: scale(1.2); }

        .read-more-hook { font-family: var(--font-body); font-size: 15px; font-weight: 400; font-style: italic; color: var(--text-secondary); text-align: center; line-height: 1.45; max-width: 320px; margin-bottom: 14px; padding: 0 12px; position: relative; }
        .read-more-hook::before, .read-more-hook::after { font-family: var(--font-body); font-size: 28px; font-weight: 900; color: var(--red); line-height: 1; position: relative; top: 4px; }
        .read-more-hook::before { content: '\201C'; margin-right: 2px; }
        .read-more-hook::after { content: '\201D'; margin-left: 2px; }

        .read-more-btn { display: inline-flex; align-items: center; gap: 10px; padding: 16px 40px; background: var(--red); color: #fff; border: none; border-radius: 32px; font-family: var(--font-sans); font-size: 16px; font-weight: 800; cursor: pointer; position: relative; box-shadow: 0 4px 0 0 var(--red-dark), 0 8px 20px var(--red-glow); transform: translateY(0); transition: transform 0.15s, box-shadow 0.15s; text-shadow: 0 1px 2px rgba(0,0,0,0.2); margin-bottom: 12px; }
        .read-more-btn:active { transform: translateY(3px); box-shadow: 0 1px 0 0 var(--red-dark), 0 2px 6px var(--red-glow); }
        .read-more-btn::after { content: ''; position: absolute; inset: -3px; border-radius: 35px; box-shadow: 0 0 20px var(--red-glow); animation: glowPulse 2s ease-in-out infinite; pointer-events: none; }
        @keyframes glowPulse { 0%,100% { opacity:.4; } 50% { opacity:1; } }
        .read-more-btn svg { width: 16px; height: 16px; animation: bounceDown 1.5s ease infinite; }
        @keyframes bounceDown { 0%,100% { transform:translateY(0); } 50% { transform:translateY(4px); } }

        .read-more-social { display: flex; align-items: center; justify-content: center; gap: 6px; flex-wrap: wrap; font-size: 12px; color: var(--text-muted); margin-bottom: 6px; }
        .read-more-social__live { display: inline-flex; align-items: center; gap: 5px; }
        .read-more-social__dot { width: 6px; height: 6px; background: #4ADE80; border-radius: 50%; flex-shrink: 0; animation: dotBlink 1.5s ease-in-out infinite; }
        .read-more-social__num { font-weight: 800; color: var(--red-text); }
        .read-more-social__sep { width: 3px; height: 3px; background: var(--text-muted); border-radius: 50%; margin: 0 4px; flex-shrink: 0; }
        .read-more-social__stat { display: inline-flex; align-items: center; gap: 4px; }
        .read-more-social__stat svg { width: 12px; height: 12px; stroke: var(--text-muted); fill: none; stroke-width: 2; }
        .read-more-counter { font-size: 11px; color: var(--text-muted); }

        .reaction-btn--whatsapp .icon-circle { background: #25D366 !important; border: none !important; box-shadow: 0 3px 10px rgba(37,211,102,.3) !important; }
        .reaction-btn--whatsapp .icon-circle:hover, .reaction-btn--whatsapp .icon-circle:active { box-shadow: 0 5px 16px rgba(37,211,102,.45) !important; }
        .reaction-btn--whatsapp .icon-circle svg { fill: #fff !important; stroke: none !important; }
        .reaction-col__author { display: flex; flex-direction: column; align-items: center; gap: 3px; text-decoration: none; color: inherit; }
        .reaction-col__avatar { width: 44px; height: 44px; border-radius: 50%; overflow: hidden; border: 2px solid var(--red); cursor: pointer; transition: transform 0.2s, border-color 0.2s; }
        .reaction-col__avatar:hover { transform: scale(1.1); border-color: var(--red-text); }
        .reaction-col__avatar img, .reaction-col__avatar .placeholder-img { width: 100%; height: 100%; object-fit: cover; }
        .reaction-col__avatar-label { font-size: 9px; font-weight: 700; color: var(--text-muted); text-align: center; max-width: 52px; line-height: 1.15; }
        .reaction-bar .reaction-col__author .reaction-col__avatar { width: 40px; height: 40px; }
        .reaction-bar .reaction-col__avatar-label { display: none; }
        .reaction-col__name { font-size: 10px; font-weight: 700; color: var(--text-muted); text-align: center; line-height: 1.1; }

        .reaction-bar { position: fixed; right: 12px; bottom: 90px; display: none; flex-direction: column; align-items: center; gap: 10px; z-index: 90; opacity: 0; transform: translateX(60px); transition: opacity 0.4s, transform 0.4s var(--ease); }
        .reaction-bar.visible { opacity: 1; transform: translateX(0); }
        .reaction-bar .reaction-btn { display: flex; flex-direction: column; align-items: center; gap: 2px; background: none; border: none; cursor: pointer; }
        .reaction-bar .reaction-btn .icon-circle { width: 44px; height: 44px; border-radius: 50%; background: var(--red); border: none; box-shadow: 0 3px 12px rgba(204,0,0,.3); display: flex; align-items: center; justify-content: center; transition: transform 0.2s, box-shadow 0.2s; }
        .reaction-bar .reaction-btn .icon-circle:active { transform: scale(0.9); }
        .reaction-bar .reaction-btn .icon-circle svg { width: 18px; height: 18px; stroke: #fff; fill: none; stroke-width: 2; }
        .reaction-bar .reaction-btn.liked .icon-circle { background: #fff; border: 2px solid var(--red); box-shadow: 0 3px 12px rgba(0,0,0,.1); }
        .reaction-bar .reaction-btn.liked .icon-circle svg { stroke: var(--red); fill: var(--red); }
        .reaction-bar .reaction-btn .r-count { font-size: 10px; font-weight: 700; color: var(--text-muted); }
        @media (min-width: 769px) { .reaction-col { display: flex; } .reaction-bar { display: none !important; } }
        @media (max-width: 768px) { .reaction-col { display: none; } .reaction-bar { display: flex; } }

        /* ═══ WHATSAPP WIDGET (notificação Clara) ═══ */
        .wa-widget { position: fixed; top: -200px; left: 16px; right: 16px; max-width: 380px; z-index: 150; transition: top 0.5s cubic-bezier(0.34, 1.56, 0.64, 1); pointer-events: none; }
        .wa-widget.show { top: 92px; pointer-events: all; }
        @media (min-width: 600px) { .wa-widget { left: auto; right: 24px; } }

        .wa-widget-card { background: #fff; border-radius: 16px; box-shadow: 0 8px 32px rgba(0,0,0,.15), 0 2px 8px rgba(0,0,0,.08); overflow: hidden; cursor: pointer; transition: transform .2s, box-shadow .2s; }
        .wa-widget-card:hover { transform: translateY(-2px); box-shadow: 0 12px 40px rgba(0,0,0,.2); }
        .wa-widget-card:active { transform: scale(.98); }

        .wa-widget-header { display: flex; align-items: center; gap: 8px; padding: 8px 12px; background: #f0f2f5; border-bottom: 1px solid #e0e0e0; }
        .wa-widget-wa-icon { width: 18px; height: 18px; flex-shrink: 0; }
        .wa-widget-app-name { font-size: 13px; font-weight: 600; color: #54656F; flex: 1; }
        .wa-widget-time { font-size: 12px; color: #8696A0; }
        .wa-widget-close { width: 24px; height: 24px; background: rgba(0,0,0,.05); border: none; border-radius: 50%; cursor: pointer; display: flex; align-items: center; justify-content: center; transition: background .2s; }
        .wa-widget-close:hover { background: rgba(0,0,0,.1); }
        .wa-widget-close svg { width: 14px; height: 14px; stroke: #667781; fill: none; stroke-width: 2; }

        .wa-widget-body { display: flex; align-items: flex-start; gap: 12px; padding: 14px 16px 10px; }
        .wa-widget-avatar { width: 48px; height: 48px; flex-shrink: 0; border-radius: 50%; overflow: hidden; }
        .wa-widget-avatar img { width: 100%; height: 100%; object-fit: cover; }
        .wa-widget-text { flex: 1; min-width: 0; }
        .wa-widget-name { font-size: 15px; font-weight: 700; color: #075E54; margin-bottom: 3px; }
        .wa-widget-msg { font-size: 14px; color: #111B21; line-height: 1.45; display: inline; }
        .wa-widget-cursor { display: inline-block; width: 2px; height: 16px; background: #25D366; margin-left: 1px; vertical-align: text-bottom; animation: waCursorBlink 0.55s step-end infinite; }
        @keyframes waCursorBlink { 0%,100%{opacity:1} 50%{opacity:0} }

        .wa-widget-reply { display: flex; align-items: center; justify-content: center; gap: 6px; padding: 10px; background: #f0f2f5; border-top: 1px solid #e0e0e0; opacity: 0; transition: opacity 0.4s; }
        .wa-widget-reply.show { opacity: 1; }
        .wa-widget-reply svg { width: 16px; height: 16px; color: #25D366; }
        .wa-widget-reply span { font-size: 14px; font-weight: 600; color: #075E54; }

        [data-theme="dark"] .wa-widget-card { background: #1F2C33; }
        [data-theme="dark"] .wa-widget-header { background: #233239; border-color: #374045; }
        [data-theme="dark"] .wa-widget-app-name { color: #8696A0; }
        [data-theme="dark"] .wa-widget-close svg { stroke: #8696A0; }
        [data-theme="dark"] .wa-widget-name { color: #00A884; }
        [data-theme="dark"] .wa-widget-msg { color: #E9EDEF; }
        [data-theme="dark"] .wa-widget-reply { background: #233239; border-color: #374045; }

        /* ═══ WHATSAPP CHAT CLONE ═══ */
        .wa-chat-overlay { position: fixed; inset: 0; z-index: 200; pointer-events: none; opacity: 0; transition: opacity 0.3s; }
        .wa-chat-overlay.open { pointer-events: all; opacity: 1; }
        .wa-chat-backdrop { position: absolute; inset: 0; background: rgba(0,0,0,.5); opacity: 0; transition: opacity 0.3s; }
        .wa-chat-overlay.open .wa-chat-backdrop { opacity: 1; }

        .wa-chat-panel { position: absolute; bottom: 0; left: 0; right: 0; height: 85vh; max-width: 420px; margin: 0 auto; background: #ECE5DD; border-radius: 16px 16px 0 0; display: flex; flex-direction: column; transform: translateY(100%); transition: transform 0.35s cubic-bezier(.22,1,.36,1); overflow: hidden; box-shadow: 0 -4px 30px rgba(0,0,0,.2); }
        .wa-chat-overlay.open .wa-chat-panel { transform: translateY(0); }

        /* Header */
        .wa-chat-header { display: flex; align-items: center; gap: 10px; padding: 10px 8px 10px 4px; background: #075E54; color: #fff; flex-shrink: 0; }
        .wa-back-btn { background: none; border: none; color: #fff; cursor: pointer; display: flex; align-items: center; padding: 6px; }
        .wa-back-btn svg { width: 22px; height: 22px; }
        .wa-avatar { position: relative; width: 40px; height: 40px; flex-shrink: 0; }
        .wa-avatar img { width: 40px; height: 40px; border-radius: 50%; object-fit: cover; }
        .wa-online-dot { position: absolute; bottom: 0; right: 0; width: 12px; height: 12px; background: #25D366; border: 2px solid #075E54; border-radius: 50%; }
        .wa-contact-info { flex: 1; min-width: 0; }
        .wa-contact-name { font-size: 16px; font-weight: 600; letter-spacing: .2px; }
        .wa-contact-status { font-size: 12px; color: rgba(255,255,255,.7); }
        .wa-header-actions { display: flex; gap: 2px; }
        .wa-header-btn { background: none; border: none; color: #fff; cursor: pointer; padding: 8px; display: flex; align-items: center; }
        .wa-header-btn svg { width: 20px; height: 20px; }

        /* Messages Area */
        .wa-messages { flex: 1; overflow-y: auto; padding: 8px 12px; display: flex; flex-direction: column; gap: 4px;
            background-color: #ECE5DD;
            background-image: url("data:image/svg+xml,%3Csvg width='120' height='120' viewBox='0 0 120 120' xmlns='http://www.w3.org/2000/svg'%3E%3Cg fill='%23d4c9b8' fill-opacity='0.25'%3E%3Ccircle cx='10' cy='10' r='2'/%3E%3Ccircle cx='50' cy='30' r='1.5'/%3E%3Ccircle cx='90' cy='15' r='1'/%3E%3Ccircle cx='30' cy='60' r='1.5'/%3E%3Ccircle cx='70' cy='70' r='2'/%3E%3Ccircle cx='110' cy='50' r='1'/%3E%3Ccircle cx='20' cy='100' r='1.5'/%3E%3Ccircle cx='60' cy='110' r='1'/%3E%3Ccircle cx='100' cy='90' r='2'/%3E%3C/g%3E%3C/svg%3E");
        }
        .wa-messages::-webkit-scrollbar { width: 0; }

        /* Date badge */
        .wa-date-badge { align-self: center; margin: 8px 0; }
        .wa-date-badge span { background: #E2DDD5; color: #54656F; font-size: 11px; padding: 4px 12px; border-radius: 8px; font-weight: 500; letter-spacing: .3px; box-shadow: 0 1px 1px rgba(0,0,0,.06); }

        /* System message */
        .wa-system-msg { align-self: center; margin: 4px 0 8px; }
        .wa-system-msg span { background: #FFEFC3; color: #54656F; font-size: 11px; padding: 6px 16px; border-radius: 8px; display: block; text-align: center; line-height: 1.4; box-shadow: 0 1px 1px rgba(0,0,0,.06); }

        /* Chat bubbles — WhatsApp style */
        .chat-bubble { max-width: 82%; padding: 6px 8px 4px; border-radius: 8px; font-size: 14px; line-height: 1.45; position: relative; }
        .chat-bubble.bot { background: #fff; color: #111B21; align-self: flex-start; border-top-left-radius: 0; box-shadow: 0 1px 0.5px rgba(11,20,26,.13); margin-left: 2px; }
        .chat-bubble.user { background: #D9FDD3; color: #111B21; align-self: flex-end; border-top-right-radius: 0; box-shadow: 0 1px 0.5px rgba(11,20,26,.13); margin-right: 2px; }
        .chat-bubble .bubble-time { font-size: 11px; color: #667781; text-align: right; margin-top: 2px; float: right; margin-left: 8px; line-height: 20px; }
        .chat-bubble.bot .bubble-sender { font-size: 12.5px; font-weight: 600; color: #075E54; margin-bottom: 2px; }
        .chat-bubble.user .bubble-time::after { content: ''; display: inline; }

        /* Bubble tails */
        .wa-bubble-tail { display: none; }
        .chat-bubble.bot .wa-bubble-tail { display: block; position: absolute; top: 0; left: -8px; width: 8px; height: 13px; }
        .chat-bubble.bot .wa-bubble-tail::before { content: ''; position: absolute; top: 0; left: 0; border-right: 8px solid #fff; border-bottom: 8px solid transparent; }

        /* Typing indicator */
        .typing-indicator { display: none; align-self: flex-start; background: #fff; padding: 8px 14px 8px 10px; border-radius: 8px; border-top-left-radius: 0; box-shadow: 0 1px 0.5px rgba(11,20,26,.13); margin-left: 2px; position: relative; flex-direction: column; }
        .typing-indicator.show { display: flex; }
        .typing-indicator .typing-name { font-size: 12px; font-weight: 600; color: #075E54; margin-bottom: 3px; }
        .typing-indicator .typing-dots { display: flex; gap: 3px; align-items: center; }
        .typing-indicator .typing-dots span { width: 7px; height: 7px; background: #90A4AE; border-radius: 50%; animation: waBounce 1.4s ease-in-out infinite; }
        .typing-indicator .typing-dots span:nth-child(2) { animation-delay: .15s; }
        .typing-indicator .typing-dots span:nth-child(3) { animation-delay: .3s; }
        @keyframes waBounce { 0%,60%,100%{transform:translateY(0);background:#B0BEC5} 30%{transform:translateY(-5px);background:#075E54} }

        /* Quick questions */
        .wa-quick-questions { display: flex; flex-direction: column; gap: 6px; align-self: flex-start; max-width: 90%; margin: 4px 0 8px; }
        .wa-quick-label { font-size: 11px; color: #667781; font-weight: 500; margin-bottom: 2px; }
        .wa-quick-btn { background: transparent; border: 1px solid #25D366; color: #075E54; font-size: 13px; padding: 8px 14px; border-radius: 20px; cursor: pointer; text-align: left; font-family: var(--font-sans); transition: all .2s; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; max-width: 100%; }
        .wa-quick-btn:hover { background: #25D366; color: #fff; transform: translateX(4px); }
        .wa-quick-btn:active { transform: scale(.97); }

        /* Input bar */
        .wa-input-bar { display: flex; align-items: center; gap: 6px; padding: 6px 8px; background: #F0F2F5; flex-shrink: 0; }
        .wa-emoji-btn { background: none; border: none; color: #54656F; cursor: pointer; display: flex; align-items: center; padding: 6px; flex-shrink: 0; }
        .wa-emoji-btn svg { width: 24px; height: 24px; }
        .wa-input { flex: 1; padding: 10px 14px; border-radius: 8px; border: none; background: #fff; font-size: 15px; font-family: var(--font-sans); color: #111B21; outline: none; min-width: 0; }
        .wa-input::placeholder { color: #8696A0; }
        .wa-send-btn { width: 42px; height: 42px; border-radius: 50%; background: #00A884; border: none; color: #fff; display: flex; align-items: center; justify-content: center; cursor: pointer; flex-shrink: 0; transition: background .2s, transform .15s; }
        .wa-send-btn:hover { background: #008069; }
        .wa-send-btn:active { transform: scale(.92); }
        .wa-send-btn svg { width: 20px; height: 20px; }

        /* Desktop: make panel wider */
        @media (min-width: 600px) {
            .wa-chat-panel { max-width: 440px; height: 80vh; border-radius: 12px; bottom: 20px; }
        }

        .sr-only { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0,0,0,0); white-space: nowrap; border: 0; }
        a:focus-visible, button:focus-visible, input:focus-visible { outline: 3px solid var(--red); outline-offset: 2px; }
        .sidebar-related-item__tag { color: var(--red-text); font-weight: 800; }
        .sidebar-tag:hover { border-color: var(--red); color: var(--red); }
        .author-box__link { font-size: 13px; font-weight: 800; color: var(--red-text); }
        [data-theme="light"] .share-btn { background: var(--red); color: #fff; border: none; }
        [data-theme="light"] .article-breadcrumb { color: #333; }
        [data-theme="light"] .article-breadcrumb a { color: #B52020; }
        [data-theme="light"] .sidebar-related-item__tag { color: #B52020; }
        [data-theme="light"] .sidebar-tag { color: #444; }
        [data-theme="light"] .sidebar-related-item__time { color: #555; }
        [data-theme="light"] .branch-label__pill { color: #444; }
        [data-theme="light"] .comments-teaser__text { color: #555; }
        .comments-btn { min-height: 44px; font-size: 14px; font-weight: 800; padding: 12px 28px; }

        .inline-suggestions { margin: 8px 0 20px; padding: 16px 0; border-top: 2px solid var(--red); border-bottom: 1px solid var(--dark-border); }
        .inline-suggestions__label { font-size: 10px; font-weight: 800; letter-spacing: 2px; text-transform: uppercase; color: var(--red-text); margin-bottom: 12px; display: flex; align-items: center; gap: 6px; }
        .inline-suggestions__label::before { content: ''; width: 4px; height: 4px; background: var(--red); border-radius: 50%; flex-shrink: 0; }
        .inline-suggestions__list { display: flex; flex-direction: column; gap: 0; }
        .inline-suggestion { display: flex; align-items: flex-start; gap: 12px; padding: 10px 0; border-bottom: 1px solid var(--dark-border); text-decoration: none; color: inherit; transition: background 0.15s; }
        .inline-suggestion:last-child { border-bottom: none; }
        .inline-suggestion:hover { opacity: 0.8; }
        .inline-suggestion__number { font-family: var(--font-body); font-size: 20px; font-weight: 900; color: var(--red); line-height: 1; min-width: 22px; flex-shrink: 0; padding-top: 2px; }
        .inline-suggestion__content { flex: 1; min-width: 0; }
        .inline-suggestion__tag { font-size: 9px; font-weight: 800; letter-spacing: 1.5px; text-transform: uppercase; color: var(--red-text); margin-bottom: 3px; }
        .inline-suggestion__title { font-family: var(--font-body); font-size: 14px; font-weight: 700; line-height: 1.35; color: var(--text-primary); display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }
        .inline-suggestion__arrow { flex-shrink: 0; width: 16px; height: 16px; color: var(--red); align-self: center; opacity: 0; transform: translateX(-4px); transition: opacity 0.2s, transform 0.2s; }
        .inline-suggestion:hover .inline-suggestion__arrow { opacity: 1; transform: translateX(0); }
        .inline-suggestion__arrow svg { width: 16px; height: 16px; stroke: currentColor; fill: none; stroke-width: 2.5; }

        .quick-q { padding: 8px 14px; background: #fff; border: 1px solid #ccc; border-radius: 16px; font-size: 13px; color: #8B0000; font-weight: 700; cursor: pointer; font-family: var(--font-sans); transition: background 0.15s; min-height: 40px; }
        .quick-q:hover { background: #fef2f2; border-color: var(--red); }

/* â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•
   HOME PAGE â€” CSS EXCLUSIVO (nao duplica regras do single)
   Adicionado em 2026-03-14
   â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â• */

/* â•â•â• Container â•â•â• */
.container { max-width: 1280px; margin: 0 auto; padding: 0 24px; }

/* â•â•â• HAMBURGER â•â•â• */
.hamburger { background: none; border: none; cursor: pointer; display: flex; flex-direction: column; gap: 4px; padding: 8px; min-width:44px; min-height:44px; justify-content:center; }
.hamburger span { display: block; width: 22px; height: 2px; background: #FFFFFF; }

/* â•â•â• LIVE BUTTON â•â•â• */
.live-btn {
    display: flex; align-items: center; gap: 6px;
    background: rgba(255,255,255,0.15); color: #fff; padding: 8px 16px; border-radius: 4px;
    font-size: 11px; font-weight: 800; letter-spacing: 1.5px; text-transform: uppercase;
    border: 1px solid rgba(255,255,255,0.25); cursor: pointer; transition: background 0.2s; min-height:44px;
}
.live-btn:hover { background: rgba(255,255,255,0.25); }
.live-dot { width: 6px; height: 6px; background: #fff; border-radius: 50%; animation: blink 1.4s ease infinite; }

/* â•â•â• MAIN NAV â•â•â• */
.main-nav { border-top: 1px solid rgba(255,255,255,0.15); overflow: visible; }
.main-nav > ul { display: flex; flex-wrap: wrap; list-style: none; margin: 0; padding: 0; justify-content: center; }
.main-nav li { position: relative; }
.main-nav a {
    display: flex; align-items: center; padding: 10px 16px; font-size: 12px; font-weight: 700;
    color: #FFFFFF; text-transform: uppercase; letter-spacing: 0.8px;
    transition: color 0.2s, background 0.2s; position: relative; min-height: 44px; text-decoration: none;
}
.main-nav a:hover, .main-nav a.active { color: #fff; }
.main-nav > ul > li > a.active::after { content:''; position: absolute; bottom:0; left:16px; right:16px; height:3px; background: #fff; }

/* Submenu Desktop */
.main-nav ul.sub-menu {
    display: none; position: absolute; top: 100%; left: 0; flex-direction: column;
    background: var(--red); min-width: 220px; box-shadow: 0 8px 24px rgba(0,0,0,0.3);
    z-index: 100; padding: 0; margin: 0; border-radius: 0 0 6px 6px; overflow: hidden;
}
[data-theme="light"] .main-nav ul.sub-menu { background: #CC0000; }
[data-theme="dark"] .main-nav ul.sub-menu { background: var(--dark-bg); border: 1px solid var(--dark-border); border-top: none; }

.main-nav li:hover > ul.sub-menu { display: flex; }
.main-nav ul.sub-menu li { width: 100%; }
.main-nav ul.sub-menu a {
    padding: 12px 18px; min-height: auto; font-size: 13px; text-transform: none;
    letter-spacing: normal; border-bottom: 1px solid rgba(255,255,255,0.1);
}
.main-nav ul.sub-menu li:last-child a { border-bottom: none; }
.main-nav ul.sub-menu a:hover { background: rgba(0,0,0,0.15); color: #fff; }
.main-nav li.menu-item-has-children > a { padding-right: 28px; }
.main-nav li.menu-item-has-children > a::before {
    content: ''; position: absolute; right: 12px; top: 50%; transform: translateY(-50%);
    border-left: 4px solid transparent; border-right: 4px solid transparent; border-top: 4px solid currentColor;
}

/* â•â•â• TOP HEADLINES â•â•â• */
.headlines-section { background: var(--dark-surface); border-bottom: 1px solid var(--dark-border); padding: 32px 0 28px; }
.headlines-grid { display: grid; grid-template-columns: 1fr 400px; gap: 40px; align-items: start; }
.headline-main__tag {
    display: inline-flex; align-items: center; gap: 6px;
    font-size: 11px; font-weight: 700; letter-spacing: 1.5px; text-transform: uppercase;
    color: var(--red-text); margin-bottom: 12px;
}
.headline-main__tag::before {
    content:''; width: 8px; height: 8px; background: var(--red); border-radius: 50%;
    animation: blink 1.4s ease infinite;
}
.headline-main__title {
    font-family: var(--font-body); font-size: clamp(2rem, 3.5vw, 2.8rem);
    font-weight: 900; line-height: 1.12; margin-bottom: 20px; cursor: pointer; transition: color 0.2s;
}
.headline-main__title:hover { color: var(--red-text); }
.headline-bullets { display: flex; flex-direction: column; gap: 14px; }
.headline-bullet {
    display: flex; align-items: flex-start; gap: 12px;
    font-size: 15px; line-height: 1.4; cursor: pointer; transition: color 0.2s;
}
.headline-bullet:hover { color: var(--red-text); }
.headline-bullet__icon {
    flex-shrink: 0; width: 20px; height: 20px; margin-top: 2px;
    background: var(--red); border-radius: 4px;
    display: flex; align-items: center; justify-content: center;
}
.headline-bullet__icon svg { fill: #fff; width: 10px; height: 10px; }
.headline-bullet__author { font-weight: 700; text-transform: uppercase; font-size: 12px; letter-spacing: 0.5px; color: var(--text-primary); }
.headline-bullet__text { color: var(--text-secondary); }
.headline-bullet__avatar {
    width: 30px; height: 30px; border-radius: 50%; overflow: hidden; flex-shrink: 0;
    border: 2px solid var(--dark-border); transition: border-color 0.3s;
}
.headline-bullet:hover .headline-bullet__avatar { border-color: var(--red); }
.headline-bullet__avatar img, .headline-bullet__avatar .placeholder-img { width:100%; height:100%; object-fit:cover; }
.headline-bullet__col-tag {
    font-size: 9px; font-weight: 700; letter-spacing: 1px; text-transform: uppercase;
    padding: 2px 7px; border-radius: 2px; margin-left: 6px; display: inline-flex; vertical-align: middle;
}
.headline-bullet__col-tag--economia { background: #00C853; color: #0a0a0a; }
.headline-bullet__col-tag--politica { background: var(--accent-blue); color: #fff; }
.headline-bullet__col-tag--tech { background: #AB47BC; color: #fff; }

/* Headline Live card */
.headline-live { background: var(--dark-card); border: 1px solid var(--dark-border); border-radius: 8px; overflow: hidden; cursor: pointer; transition: border-color 0.3s; }
.headline-live:hover { border-color: var(--red); }
.headline-live__video { aspect-ratio: 16/9; position: relative; overflow: hidden; }
.headline-live__video .placeholder-img { width:100%; height:100%; }
.headline-live__badge {
    position: absolute; top: 12px; left: 12px;
    background: var(--red); color: #fff;
    font-size: 10px; font-weight: 700; letter-spacing: 1.5px; text-transform: uppercase;
    padding: 4px 10px; border-radius: 3px; display: flex; align-items: center; gap: 5px;
}
.headline-live__play {
    position: absolute; top: 50%; left: 50%; transform: translate(-50%,-50%);
    width: 52px; height: 52px; border-radius: 50%;
    background: rgba(0,0,0,0.5); backdrop-filter: blur(6px);
    display: flex; align-items: center; justify-content: center;
    border: 2px solid rgba(255,255,255,0.3); transition: background 0.3s, border-color 0.3s;
}
.headline-live:hover .headline-live__play { background: var(--red); border-color: var(--red); }
.headline-live__play svg { fill: #fff; width: 18px; height: 18px; margin-left: 2px; }
.headline-live__info { padding: 14px 16px; }
.headline-live__program { font-weight: 700; font-size: 14px; margin-bottom: 2px; }
.headline-live__desc { font-size: 13px; color: var(--text-muted); }
.headline-live__time {
    display: inline-flex; align-items: center; gap: 6px;
    font-size: 11px; color: var(--text-muted); margin-top: 8px;
}
.headline-live__time::before { content:''; width:6px; height:6px; background: var(--red); border-radius:50%; animation: blink 1.4s ease infinite; }

/* â•â•â• COLUNISTAS BAR â•â•â• */
.columnists-bar { margin-top: 24px; padding-top: 18px; border-top: 1px solid var(--dark-border); position: relative; text-align: center; }
.columnists-bar__label { font-size: 10px; font-weight: 700; letter-spacing: 2px; text-transform: uppercase; color: var(--text-muted); margin-bottom: 14px; text-align: center; }
.columnists-bar__list { display: flex; gap: 0; position: relative; justify-content: center; margin: 0 auto; max-width: 800px; }
.col-chip {
    display: flex; align-items: center; gap: 10px; padding: 10px 16px;
    background: var(--dark-card); border-radius: 8px; cursor: pointer; transition: all 0.3s;
    position: relative; z-index: 1; flex: 1; border: 1px solid var(--dark-border);
}
.col-chip + .col-chip { margin-left: 12px; }
.col-chip:hover { background: #242424; border-color: var(--red); transform: translateY(-2px); }
[data-theme="light"] .col-chip:hover { background: #f0f0f0; }
.col-chip__avatar {
    width: 36px; height: 36px; border-radius: 50%; overflow: hidden; flex-shrink: 0;
    border: 2px solid var(--dark-border); transition: border-color 0.3s; position: relative;
}
.col-chip:hover .col-chip__avatar { border-color: var(--red); }
.col-chip__avatar::after {
    content: ''; position: absolute; inset: -4px; border-radius: 50%;
    border: 1.5px solid var(--red); opacity: 0; transform: scale(0.8);
    transition: opacity 0.3s, transform 0.3s;
}
.col-chip:hover .col-chip__avatar::after { opacity: 0.5; transform: scale(1); }
.col-chip__avatar img, .col-chip__avatar .placeholder-img { width:100%;height:100%;object-fit:cover; }
.col-chip__info { flex: 1; min-width: 0; }
.col-chip__name { font-weight: 700; font-size: 13px; display: flex; align-items: center; gap: 6px; margin-bottom: 2px; }
.col-chip__tag {
    font-size: 9px; font-weight: 700; letter-spacing: 1px; text-transform: uppercase;
    padding: 2px 6px; border-radius: 2px; display: inline-flex;
}
.col-chip__tag--economia { background: #00C853; color: #0a0a0a; }
.col-chip__tag--politica { background: var(--accent-blue); color: #fff; }
.col-chip__tag--tech { background: #AB47BC; color: #fff; }
.col-chip__title { font-size: 12px; color: var(--text-secondary); line-height: 1.3; display: -webkit-box; -webkit-line-clamp: 1; -webkit-box-orient: vertical; overflow: hidden; }
.col-chip__connector { position: absolute; left: -8px; top: 50%; width: 5px; height: 5px; background: var(--dark-border); border-radius: 50%; transform: translateY(-50%); transition: background 0.3s; z-index: 2; }
.col-chip:hover .col-chip__connector { background: var(--red); }
.col-chip__connector-line { position: absolute; left: -14px; top: 50%; width: 14px; height: 1.5px; background: var(--dark-border); transform: translateY(-50%); z-index: 0; transition: background 0.3s; }
.col-chip:hover .col-chip__connector-line { background: var(--red); }

/* â•â•â• MARKET STRIP â•â•â• */
.market-strip {
    background: var(--dark-surface); border: 1px solid var(--dark-border); border-radius: 6px;
    padding: 14px 24px; display: flex; align-items: center; gap: 28px; overflow-x: auto;
    margin: 20px 0; scrollbar-width: none;
}
.market-strip::-webkit-scrollbar { display: none; }
.market-item { display:flex; align-items:center; gap:8px; flex-shrink:0; }
.market-item__name { font-size:11px; font-weight:700; color:var(--text-muted); letter-spacing:0.5px; }
.market-item__val { font-size:13px; font-weight:600; }
.market-item__chg { font-size:12px; font-weight:700; }
.market-item__chg.up { color:#4ADE80; }
.market-item__chg.down { color:#FF4444; }
[data-theme="light"] .market-item__chg.up { color:#15803D; }
[data-theme="light"] .market-item__chg.down { color:#B91C1C; }
.market-div { width:1px; height:18px; background: var(--dark-border); flex-shrink:0; }

/* â•â•â• HERO â•â•â• */
.hero { padding: 20px 0; }
.hero-grid { display: grid; grid-template-columns: 1fr 380px; gap: 16px; }
.hero-main { position: relative; border-radius: 8px; overflow: hidden; cursor: pointer; min-height: 460px; }
.hero-main__img { width:100%;height:100%;object-fit:cover;position:absolute;inset:0;transition:transform 0.6s ease; }
.hero-main:hover .hero-main__img { transform: scale(1.03); }
.hero-main__overlay { position:absolute;inset:0;background:linear-gradient(to top,rgba(0,0,0,.95) 0%,rgba(0,0,0,.35) 45%,rgba(0,0,0,.05) 75%);display:flex;flex-direction:column;justify-content:flex-end;padding:28px; }
.tag { display:inline-flex;align-items:center;background:var(--red);color:#fff;font-size:10px;font-weight:700;letter-spacing:1px;text-transform:uppercase;padding:4px 10px;border-radius:3px;margin-bottom:10px;width:fit-content; }
.tag--blue { background:var(--accent-blue); }
.tag--yellow { background:var(--accent-yellow);color:#111; }
.hero-main__title { font-family:var(--font-body);font-size:34px;font-weight:900;line-height:1.12;margin-bottom:8px;max-width:580px;color:#FFFFFF; }
.hero-main__excerpt { font-size:14px;color:rgba(255,255,255,0.85);max-width:500px;line-height:1.5; }
.hero-sidebar { display:flex;flex-direction:column;gap:12px; }
.hero-card { position:relative;border-radius:8px;overflow:hidden;cursor:pointer;flex:1;min-height:140px; }
.hero-card__img { width:100%;height:100%;object-fit:cover;position:absolute;inset:0;transition:transform 0.5s ease; }
.hero-card:hover .hero-card__img { transform:scale(1.05); }
.hero-card__overlay { position:absolute;inset:0;background:linear-gradient(to top,rgba(0,0,0,.9) 0%,rgba(0,0,0,.15) 65%);display:flex;flex-direction:column;justify-content:flex-end;padding:16px; }
.hero-card__title { font-family:var(--font-body);font-size:18px;line-height:1.2;color:#FFFFFF; }
.hero-card__meta { font-size:11px;color:rgba(255,255,255,0.85);margin-top:4px; }

/* â•â•â• NEWS GRID & CARDS â•â•â• */
.news-section { margin-bottom: 12px; }
.news-grid { display:grid;grid-template-columns:repeat(4,1fr);gap:16px; }
.news-card { background:var(--dark-card);border-radius:8px;overflow:hidden;cursor:pointer;transition:transform 0.3s,box-shadow 0.3s; }
.news-card:hover { transform:translateY(-4px);box-shadow:0 12px 32px rgba(0,0,0,.4); }
[data-theme="light"] .news-card { border: 1px solid var(--dark-border); }
.news-card__img-wrap { position:relative;aspect-ratio:16/9;overflow:hidden; }
.news-card__img-wrap .placeholder-img { width:100%;height:100%;transition:transform 0.5s; }
.news-card__img-wrap img { width:100%;height:100%;object-fit:cover;transition:transform 0.5s; }
.news-card:hover .news-card__img-wrap .placeholder-img,
.news-card:hover .news-card__img-wrap img { transform:scale(1.06); }
.news-card__img-wrap .tag { position:absolute;bottom:8px;left:8px;margin:0; }
.news-card__body { padding:14px; }
.news-card__title { font-family:var(--font-body);font-size:16px;font-weight:900;line-height:1.25;margin-bottom:6px;display:-webkit-box;-webkit-line-clamp:3;-webkit-box-orient:vertical;overflow:hidden; }
.news-card__meta { font-size:11px;color:var(--text-muted); }

/* â•â•â• FEATURED ROW â•â•â• */
.featured-row { display:grid;grid-template-columns:1fr 1fr;gap:16px;margin-bottom:12px; }
.featured-card { position:relative;border-radius:8px;overflow:hidden;cursor:pointer;min-height:300px; }
.featured-card__img { width:100%;height:100%;object-fit:cover;position:absolute;inset:0;transition:transform 0.6s; }
.featured-card:hover .featured-card__img { transform:scale(1.04); }
.featured-card__overlay { position:absolute;inset:0;background:linear-gradient(to top,rgba(0,0,0,.9) 0%,rgba(0,0,0,.15) 55%);display:flex;flex-direction:column;justify-content:flex-end;padding:24px; }
.featured-card__title { font-family:var(--font-body);font-size:24px;font-weight:900;line-height:1.2;margin-bottom:6px;color:#FFFFFF; }
.featured-card__excerpt { font-size:13px;color:rgba(255,255,255,0.85);max-width:400px; }

/* â•â•â• LATEST + SIDEBAR â•â•â• */
.content-with-sidebar { display:grid;grid-template-columns:1fr 320px;gap:28px;margin-bottom:12px; }
.latest-item { display:grid;grid-template-columns:44px 1fr;gap:14px;padding:16px 0;border-bottom:1px solid var(--dark-border);cursor:pointer;transition:opacity 0.2s; }
.latest-item:hover { opacity:.8; }
.latest-item__num { font-family:var(--font-body);font-size:32px;color:var(--red-text);line-height:1; }
.latest-item__tag { font-size:10px;font-weight:700;color:var(--red-text);text-transform:uppercase;letter-spacing:.5px;margin-bottom:3px; }
.latest-item__title { font-size:14px;font-weight:900;line-height:1.35; }
.latest-item__time { font-size:11px;color:var(--text-muted);margin-top:3px; }
[data-theme="light"] .sidebar-widget { border: 1px solid var(--dark-border); }
.most-read-item { display:flex;gap:10px;padding:10px 0;border-bottom:1px solid var(--dark-border);cursor:pointer;transition:opacity 0.2s; }
.most-read-item:last-child { border-bottom:none; }
.most-read-item:hover { opacity:.75; }
.most-read-item__rank { font-family:var(--font-body);font-size:26px;color:var(--red-text);line-height:1;flex-shrink:0;width:26px; }
.most-read-item__title { font-size:13px;font-weight:900;line-height:1.35; }

/* â•â•â• NEWSLETTER â•â•â• */
.newsletter-bar { background:linear-gradient(135deg,var(--red) 0%,#8B0000 100%);border-radius:8px;padding:32px 36px;display:flex;align-items:center;justify-content:space-between;gap:28px;margin-bottom:12px; }
.newsletter-bar h3 { font-size:18px;font-weight:700;margin-bottom:3px;color:#FFFFFF; }
.newsletter-bar p { font-size:13px;color:#FFFFFF; }
.newsletter-form { display:flex;gap:8px;flex-shrink:0; }
.newsletter-input { padding:10px 16px;border:2px solid rgba(255,255,255,.3);border-radius:4px;background:rgba(255,255,255,.1);color:#fff;font-family:var(--font-sans);font-size:13px;width:260px;outline:none;transition:border-color 0.3s; }
.newsletter-input::placeholder { color:rgba(255,255,255,.45); }
.newsletter-input:focus { border-color:#fff; }
.newsletter-btn { padding:10px 22px;background:#fff;color:var(--red);font-family:var(--font-sans);font-weight:700;font-size:13px;border:none;border-radius:4px;cursor:pointer;transition:background 0.2s; }
.newsletter-btn:hover { background:#f0f0f0; }

/* â•â•â• VIDEO GRID â•â•â• */
.video-grid { display:grid;grid-template-columns:repeat(3,1fr);gap:16px; }
.video-card { cursor:pointer;transition:transform 0.3s; }
.video-card:hover { transform:translateY(-3px); }
.video-card__thumb { position:relative;aspect-ratio:16/9;border-radius:8px;overflow:hidden;margin-bottom:10px; }
.video-card__thumb .placeholder-img { width:100%;height:100%; }
.video-card__thumb img { width:100%;height:100%;object-fit:cover; }
.video-card__play { position:absolute;inset:0;display:flex;align-items:center;justify-content:center;background:rgba(0,0,0,.25);opacity:0;transition:opacity 0.3s; }
.video-card:hover .video-card__play { opacity:1; }
.video-card__play-icon { width:44px;height:44px;background:var(--red);border-radius:50%;display:flex;align-items:center;justify-content:center; }
.video-card__play-icon svg { fill:#fff;width:16px;height:16px; }
.video-card__duration { position:absolute;bottom:6px;right:6px;background:rgba(0,0,0,.8);padding:2px 7px;border-radius:3px;font-size:11px;font-weight:600;color:#fff; }
.video-card__title { font-family:var(--font-body);font-size:15px;font-weight:900;line-height:1.3;margin-bottom:3px; }
.video-card__meta { font-size:11px;color:var(--text-muted); }

/* â•â•â• FOOTER â€” HOME GRID â•â•â• */
[data-theme="light"] .site-footer { background: var(--red); }
.footer-grid { display:grid;grid-template-columns:1.5fr repeat(3,1fr);gap:36px;margin-bottom:32px; }
.footer-brand .logo { margin-bottom:12px; }
.footer-brand .logo-main { color: #FFFFFF; }
.footer-brand .logo-sub { color: #FFFFFF; }
.footer-brand p { font-size:13px;color:#FFFFFF;line-height:1.6;max-width:260px; }
.footer-social { display:flex;gap:8px;margin-top:14px; }
.footer-social a { width:44px;height:44px;background:rgba(255,255,255,0.15);border-radius:50%;display:flex;align-items:center;justify-content:center;font-size:13px;color:#FFFFFF;transition:all 0.2s; }
.footer-social a:hover { background:rgba(255,255,255,0.25);color:#fff; }
.footer-col h4 { font-size:12px;font-weight:700;text-transform:uppercase;letter-spacing:1px;margin-bottom:14px;color:#FFFFFF; }
.footer-col a { display:block;font-size:13px;color:#FFFFFF;padding:5px 0;transition:opacity 0.2s; }
.footer-col a:hover { opacity:0.65; }
.footer-bottom { border-top:1px solid rgba(255,255,255,0.15);padding-top:18px;display:flex;align-items:center;justify-content:space-between;font-size:12px;color:#FFFFFF; }

/* â•â•â• MOBILE MENU OVERLAY â•â•â• */
.menu-overlay {
    position: fixed; inset: 0; z-index: 200;
    pointer-events: none; opacity: 0; transition: opacity 0.3s;
}
.menu-overlay.open { pointer-events: all; opacity: 1; }
.menu-backdrop { position: absolute; inset: 0; background: rgba(0,0,0,0.5); opacity: 0; transition: opacity 0.3s; }
.menu-overlay.open .menu-backdrop { opacity: 1; }
.menu-panel {
    position: absolute; top: 0; left: 0; bottom: 0;
    width: 300px; max-width: 85vw; background: var(--dark-bg);
    transform: translateX(-100%); transition: transform 0.35s cubic-bezier(0.22,1,0.36,1);
    display: flex; flex-direction: column; overflow-y: auto;
}
[data-theme="light"] .menu-panel { background: #FFFFFF; }
.menu-overlay.open .menu-panel { transform: translateX(0); }
.menu-header {
    background: var(--red); padding: 20px; display: flex;
    align-items: center; justify-content: space-between;
}
.menu-header .logo-main { color: #fff; font-size: 22px; }
.menu-header .logo-sub { color: #fff; font-size: 8px; }
.menu-close {
    width: 44px; height: 44px; background: rgba(255,255,255,0.15);
    border: none; border-radius: 50%; cursor: pointer;
    display: flex; align-items: center; justify-content: center;
}
.menu-close svg { width: 18px; height: 18px; stroke: #fff; fill: none; stroke-width: 2.5; }
.menu-links { padding: 12px 0; flex: 1; overflow-y: auto; }
.menu-links ul { list-style: none; margin: 0; padding: 0; width: 100%; }
.mobile-nav-list { display: flex; flex-direction: column; }
.mobile-nav-list li { width: 100%; position: relative; }
.menu-links a {
    display: flex; align-items: center; justify-content: flex-start; gap: 12px;
    padding: 14px 20px; font-size: 15px; font-weight: 600;
    color: var(--text-primary); transition: background 0.15s;
    border-bottom: 1px solid var(--dark-border); text-decoration: none;
}
.menu-links a:hover { background: var(--dark-surface); }
.menu-links a.active { color: var(--red-text); font-weight: 800; }
.menu-links svg { width: 18px; height: 18px; stroke: var(--text-muted); fill: none; stroke-width: 2; flex-shrink: 0; }

/* Mobile Submenu Dropdowns */
.menu-links ul.sub-menu { display: none; background: rgba(0,0,0,0.03); border-bottom: 1px solid var(--dark-border); }
[data-theme="dark"] .menu-links ul.sub-menu { background: rgba(255,255,255,0.02); }
.menu-links li.menu-item-has-children.open > ul.sub-menu { display: block; }
.menu-links ul.sub-menu a {
    padding: 12px 20px 12px 40px; font-size: 14px; font-weight: 500;
    border-bottom: 1px solid rgba(0,0,0,0.04);
}
.menu-links ul.sub-menu li:last-child a { border-bottom: none; }
.menu-links .dropdown-toggle {
    position: absolute; right: 0; top: 0; width: 50px; height: 50px;
    display: flex; align-items: center; justify-content: center;
    background: transparent; border: none; padding: 0; cursor: pointer; color: var(--text-muted);
}
.menu-links .dropdown-toggle::after {
    content: ''; border-left: 5px solid transparent; border-right: 5px solid transparent;
    border-top: 5px solid currentColor; transition: transform 0.3s;
}
.menu-links li.menu-item-has-children.open > .dropdown-toggle::after { transform: rotate(180deg); }
.menu-footer-info {
    padding: 16px 20px; border-top: 1px solid var(--dark-border);
    font-size: 12px; color: var(--text-muted); line-height: 1.6;
}

/* â•â•â• HOME RESPONSIVE â•â•â• */
/* Utilities */
@media (min-width: 1025px) { .hide-on-desktop { display: none !important; } }
@media (max-width: 1024px) { .hide-on-mobile { display: none !important; } }

@media (max-width:1024px) {
    .headlines-grid { grid-template-columns:1fr; }
    .headline-live { max-width:500px; }
    .hero-grid { grid-template-columns:1fr; }
    .hero-sidebar { flex-direction:row; }
    .columnists-bar__list { flex-wrap:wrap; }
    .col-chip + .col-chip { margin-left:0; margin-top:8px; }
    .col-chip__connector, .col-chip__connector-line { display:none; }
    .news-grid { grid-template-columns:repeat(2,1fr); }
    .content-with-sidebar { grid-template-columns:1fr; }
    .video-grid { grid-template-columns:repeat(2,1fr); }
    .footer-grid { grid-template-columns:1fr 1fr; }
}
@media (max-width:768px) {
    .hero-main { min-height:320px; }
    .hero-main__title { font-size:26px; }
    .hero-sidebar { flex-direction:column; }
    .news-grid { grid-template-columns:1fr; }
    .featured-row { grid-template-columns:1fr; }
    .featured-card { min-height:220px; }
    .newsletter-bar { flex-direction:column;text-align:center; }
    .newsletter-form { flex-direction:column;width:100%; }
    .newsletter-input { width:100%; }
    .video-grid { grid-template-columns:1fr; }
    .footer-grid { grid-template-columns:1fr; }
    .footer-bottom { flex-direction:column;gap:10px;text-align:center; }
}

a.hero-main, a.hero-card, a.featured-card, a.news-card, a.video-card, a.sidebar-related-item, a.related-card {
    text-decoration: none; color: inherit; display: block;
}
a.hero-main:hover, a.hero-card:hover, a.featured-card:hover, a.related-card:hover { color: inherit; }
a.news-card { display: flex; flex-direction: column; }
a.video-card { display: block; }
a.sidebar-related-item { display: block; }

/* ═══════════════════════════════════════════════════════════
   CATEGORY PAGE (category.php)
   Hero, filter bar, post cards, sidebar colunistas, paginação
   v3.0.0
═══════════════════════════════════════════════════════════ */

/* ── Light theme overrides para categoria ── */
[data-theme="light"] .cat-hero__overlay { background:linear-gradient(to top,rgba(255,255,255,.97) 0%,rgba(255,255,255,.6) 40%,transparent 70%); }
[data-theme="light"] .cat-hero__title, [data-theme="light"] .cat-hero__excerpt { color:#111; }
[data-theme="light"] .cat-hero__meta { color:#595959; }
[data-theme="light"] .post-card { background:#fff; border:1px solid #E8E8E8; }
[data-theme="light"] .post-card__title { color:#1A1A1A; }
[data-theme="light"] .post-card__excerpt { color:#444; }
[data-theme="light"] .filter-btn { background:#F0F0F0; border-color:#DDD; color:#555; }
[data-theme="light"] .filter-btn.active, [data-theme="light"] .filter-btn:hover { color:#fff; }
[data-theme="light"] .pagination__btn { background:#F0F0F0; border-color:#DDD; color:#333; }
[data-theme="light"] .pagination__btn:hover { border-color:var(--red); }
[data-theme="light"] .pagination__btn.active { background:var(--red); color:#fff; border-color:var(--red); }

/* ── Category Hero ── */
.cat-hero-section { padding:32px 0 0; }
.cat-header { display:flex; align-items:center; justify-content:space-between; margin-bottom:28px; flex-wrap:wrap; gap:16px; }
.cat-header__left { display:flex; align-items:center; gap:16px; }
.cat-header__icon { width:48px; height:48px; border-radius:12px; background:var(--red); display:flex; align-items:center; justify-content:center; font-size:20px; color:#fff; font-weight:800; }
.cat-header__title { font-family:var(--font-body); font-size:2rem; font-weight:900; line-height:1.1; }
.cat-header__count { font-size:13px; color:var(--text-muted); margin-top:2px; }
.cat-header__desc { font-size:14px; color:var(--text-secondary); max-width:420px; line-height:1.5; }

.cat-hero { display:grid; grid-template-columns:1.4fr 1fr; gap:16px; margin-bottom:8px; }
.cat-hero__main { position:relative; border-radius:10px; overflow:hidden; cursor:pointer; min-height:400px; display:block; text-decoration:none; color:inherit; }
.cat-hero__main-img { width:100%;height:100%;object-fit:cover;position:absolute;inset:0; transition:transform 0.6s ease; }
.cat-hero__main:hover .cat-hero__main-img { transform:scale(1.03); }
.cat-hero__overlay { position:absolute;inset:0; background:linear-gradient(to top,rgba(0,0,0,.95) 0%,rgba(0,0,0,.4) 40%,rgba(0,0,0,.05) 70%); display:flex;flex-direction:column;justify-content:flex-end;padding:28px; }
.cat-hero__tag { display:inline-flex;align-items:center;gap:6px; background:var(--red);color:#fff;font-size:10px;font-weight:700;letter-spacing:1.5px;text-transform:uppercase; padding:4px 12px;border-radius:3px;margin-bottom:12px;width:fit-content; }
.cat-hero__tag--live::before { content:'';width:6px;height:6px;background:#fff;border-radius:50%;animation:blink 1.4s ease infinite; }
.cat-hero__title { font-family:var(--font-body);font-size:1.7rem;font-weight:900;line-height:1.2;margin-bottom:8px;max-width:540px; }
.cat-hero__excerpt { font-size:14px;color:var(--text-secondary);line-height:1.55;max-width:480px; }
.cat-hero__meta { font-size:12px;color:var(--text-muted);margin-top:8px; }

.cat-hero__side { display:flex;flex-direction:column;gap:12px; }
.cat-hero__side-card { position:relative;border-radius:10px;overflow:hidden;cursor:pointer;flex:1;min-height:120px; display:block; text-decoration:none; color:inherit; }
.cat-hero__side-card-img { width:100%;height:100%;object-fit:cover;position:absolute;inset:0;transition:transform 0.5s ease; }
.cat-hero__side-card:hover .cat-hero__side-card-img { transform:scale(1.05); }
.cat-hero__side-overlay { position:absolute;inset:0; background:linear-gradient(to top,rgba(0,0,0,.9) 0%,rgba(0,0,0,.15) 65%); display:flex;flex-direction:column;justify-content:flex-end;padding:16px; }
.cat-hero__side-title { font-family:var(--font-body);font-size:15px;font-weight:700;line-height:1.25;color:#fff; }
.cat-hero__side-meta { font-size:11px;color:var(--text-muted);margin-top:4px; }

/* ── Filter Bar ── */
.filter-bar { display:flex; align-items:center; gap:8px; padding:16px 0; overflow-x:auto; scrollbar-width:none; }
.filter-bar::-webkit-scrollbar { display:none; }
.filter-btn { font-family:var(--font-sans); font-size:12px; font-weight:700; padding:7px 16px; border-radius:100px; background:var(--dark-card); border:1px solid var(--dark-border); color:var(--text-muted); cursor:pointer; white-space:nowrap; transition:all 0.2s; text-decoration:none; display:inline-flex; align-items:center; }
.filter-btn:hover { border-color:var(--red); color:var(--red); }
.filter-btn.active { background:var(--red); border-color:var(--red); color:#fff; }

/* ── Post Cards (horizontal) ── */
.cat-content { display:grid; grid-template-columns:1fr 320px; gap:32px; padding-bottom:32px; }
.posts-list { display:flex; flex-direction:column; gap:20px; }
.post-card { display:grid; grid-template-columns:260px 1fr; gap:20px; background:var(--dark-card); border-radius:10px; overflow:hidden; cursor:pointer; transition:transform 0.3s,box-shadow 0.3s; text-decoration:none; color:inherit; }
.post-card:hover { transform:translateY(-3px); box-shadow:0 10px 30px rgba(0,0,0,.35); color:inherit; }
.post-card__img { aspect-ratio:16/10; overflow:hidden; position:relative; }
.post-card__img img, .post-card__img .placeholder-img { width:100%;height:100%;object-fit:cover;transition:transform 0.5s; }
.post-card:hover .post-card__img img, .post-card:hover .post-card__img .placeholder-img { transform:scale(1.05); }
.post-card__img-tag { position:absolute;bottom:8px;left:8px; background:var(--red);color:#fff;font-size:9px;font-weight:700;letter-spacing:1px;text-transform:uppercase; padding:3px 8px;border-radius:2px; }
.post-card__body { padding:18px 18px 18px 0; display:flex;flex-direction:column;justify-content:center; }
.post-card__cat { font-size:11px;font-weight:700;color:var(--red-text); text-transform:uppercase;letter-spacing:0.5px;margin-bottom:6px; }
.post-card__title { font-family:var(--font-body);font-size:1.1rem;font-weight:700;line-height:1.35;margin-bottom:8px; display:-webkit-box;-webkit-line-clamp:3;-webkit-box-orient:vertical;overflow:hidden; }
.post-card__excerpt { font-size:14px;color:var(--text-secondary);line-height:1.55;margin-bottom:10px; display:-webkit-box;-webkit-line-clamp:2;-webkit-box-orient:vertical;overflow:hidden; }
.post-card__meta { display:flex;align-items:center;gap:12px;font-size:12px;color:var(--text-muted); }
.post-card__author { display:flex;align-items:center;gap:6px; }
.post-card__author-avatar { width:24px;height:24px;border-radius:50%;overflow:hidden; }
.post-card__author-avatar img { width:100%;height:100%;object-fit:cover; }
.post-card__author-name { font-weight:600; }
.post-card__dot { width:3px;height:3px;background:var(--text-muted);border-radius:50%; }

/* ── Category Sidebar ── */
.cat-sidebar { position:sticky; top:68px; align-self:start; max-height:calc(100vh - 80px); overflow-y:auto; scrollbar-width:thin; scrollbar-color:var(--dark-border) transparent; display:flex; flex-direction:column; gap:20px; }
.cat-sidebar::-webkit-scrollbar { width:4px; }
.cat-sidebar::-webkit-scrollbar-thumb { background:var(--dark-border);border-radius:4px; }

.sidebar-col { display:flex;align-items:center;gap:12px;padding:12px 0; border-bottom:1px solid var(--dark-border);cursor:pointer;transition:opacity 0.2s; text-decoration:none; color:inherit; }
.sidebar-col:last-child { border-bottom:none; }
.sidebar-col:hover { opacity:.75; }
.sidebar-col__avatar { width:40px;height:40px;border-radius:50%;overflow:hidden;flex-shrink:0;border:2px solid var(--dark-border); }
.sidebar-col__avatar img { width:100%;height:100%;object-fit:cover; }
.sidebar-col__name { font-size:13px;font-weight:700; }
.sidebar-col__last { font-size:12px;color:var(--text-muted);line-height:1.3;margin-top:2px; display:-webkit-box;-webkit-line-clamp:2;-webkit-box-orient:vertical;overflow:hidden; }

/* ── Paginação ── */
.pagination { display:flex;align-items:center;justify-content:center;gap:6px;padding:32px 0 48px; }
.pagination__btn { width:40px;height:40px;border-radius:8px; background:var(--dark-card);border:1px solid var(--dark-border); display:flex;align-items:center;justify-content:center; font-family:var(--font-sans);font-size:14px;font-weight:600;color:var(--text-muted); cursor:pointer;transition:all 0.2s; text-decoration:none; }
.pagination__btn:hover { border-color:var(--red);color:var(--text-primary); }
.pagination__btn.active { background:var(--red);border-color:var(--red);color:#fff; }
.pagination__btn--arrow { font-size:18px; }
.pagination__btn--arrow svg { width:16px;height:16px;stroke:currentColor;fill:none;stroke-width:2; }

/* ── Responsivo Categoria ── */
@media (max-width:1024px) {
    .cat-hero { grid-template-columns:1fr; }
    .cat-hero__main { min-height:320px; }
    .cat-hero__side { flex-direction:row; }
    .cat-content { grid-template-columns:1fr; }
    .cat-sidebar { position:static;max-height:none;overflow-y:visible;flex-direction:row;flex-wrap:wrap; }
    .cat-sidebar .sidebar-box { flex:1;min-width:260px; }
}
@media (max-width:768px) {
    .cat-header__title { font-size:1.5rem; }
    .cat-hero__main { min-height:260px; }
    .cat-hero__title { font-size:1.3rem; }
    .cat-hero__side { flex-direction:column; }
    .post-card { grid-template-columns:1fr; }
    .post-card__body { padding:16px; }
}

/* ═══════════════════════════════════════════════════════════
   TAG PAGE (tag.php)
   Hero badge, related tags, sort bar, tag cards, trending, timeline, tag cloud
   v3.0.0
═══════════════════════════════════════════════════════════ */

/* ── Light theme overrides para tag ── */
[data-theme="light"] .tag-card { border:1px solid var(--dark-border); }

/* ── Tag Hero ── */
.tag-hero { padding:48px 0 32px; border-bottom:1px solid var(--dark-border); }
.tag-hero__badge { display:inline-flex;align-items:center;gap:8px;background:var(--red);color:#fff;padding:6px 16px;border-radius:4px;font-size:11px;font-weight:800;letter-spacing:1.5px;text-transform:uppercase;margin-bottom:16px; }
.tag-hero__badge svg { width:14px;height:14px;fill:#fff; }
.tag-hero__title { font-family:var(--font-body);font-size:clamp(2rem,4vw,3rem);font-weight:900;line-height:1.1;margin-bottom:8px; }
.tag-hero__count { font-size:14px;color:var(--text-muted);margin-bottom:12px; }
.tag-hero__count strong { color:var(--red-text);font-weight:800; }
.tag-hero__desc { font-size:15px;color:var(--text-secondary);line-height:1.6;max-width:640px; }

/* ── Related Tags ── */
.related-tags { display:flex;flex-wrap:wrap;gap:8px;margin-top:20px; }
.related-tags__label { font-size:11px;font-weight:700;text-transform:uppercase;letter-spacing:1px;color:var(--text-muted);margin-right:4px;display:flex;align-items:center; }
.tag-pill { font-size:12px;font-weight:600;padding:5px 14px;border-radius:100px;background:var(--dark-surface);border:1px solid var(--dark-border);color:var(--text-secondary);cursor:pointer;transition:all 0.2s;text-decoration:none; }
.tag-pill:hover { border-color:var(--red);color:var(--red-text); }
.tag-pill.active { background:var(--red);color:#fff;border-color:var(--red); }

/* ── Content Grid ── */
.tag-content { display:grid;grid-template-columns:1fr 300px;gap:32px;padding:32px 0; }

/* ── Sort Bar ── */
.sort-bar { display:flex;align-items:center;justify-content:space-between;margin-bottom:24px;padding-bottom:16px;border-bottom:1px solid var(--dark-border); }
.sort-bar__label { font-size:13px;color:var(--text-muted); }
.sort-bar__label strong { color:var(--text-primary);font-weight:700; }
.sort-btns { display:flex;gap:6px; }
.sort-btn { padding:6px 14px;border-radius:4px;font-size:12px;font-weight:600;background:var(--dark-surface);border:1px solid var(--dark-border);color:var(--text-secondary);cursor:pointer;transition:all 0.2s;font-family:var(--font-sans);text-decoration:none; }
.sort-btn:hover { border-color:var(--red); }
.sort-btn.active { background:var(--red);color:#fff;border-color:var(--red); }

/* ── Tag Cards (horizontal) ── */
.tag-cards { display:flex;flex-direction:column;gap:20px; }
.tag-card { display:grid;grid-template-columns:220px 1fr;gap:20px;background:var(--dark-card);border-radius:10px;overflow:hidden;cursor:pointer;transition:transform 0.3s,box-shadow 0.3s;text-decoration:none;color:inherit; }
.tag-card:hover { transform:translateY(-3px);box-shadow:0 8px 28px rgba(0,0,0,.15);color:inherit; }
.tag-card__img { aspect-ratio:16/10;overflow:hidden; }
.tag-card__img img, .tag-card__img .placeholder-img { width:100%;height:100%;object-fit:cover;transition:transform 0.5s; }
.tag-card:hover .tag-card__img img, .tag-card:hover .tag-card__img .placeholder-img { transform:scale(1.05); }
.tag-card__body { padding:16px 16px 16px 0;display:flex;flex-direction:column;justify-content:center; }
.tag-card__cat { font-size:10px;font-weight:800;letter-spacing:1.5px;text-transform:uppercase;color:var(--red-text);margin-bottom:6px; }
.tag-card__title { font-family:var(--font-body);font-size:17px;font-weight:700;line-height:1.3;margin-bottom:8px;display:-webkit-box;-webkit-line-clamp:3;-webkit-box-orient:vertical;overflow:hidden; }
.tag-card__excerpt { font-size:13px;color:var(--text-secondary);line-height:1.5;margin-bottom:10px;display:-webkit-box;-webkit-line-clamp:2;-webkit-box-orient:vertical;overflow:hidden; }
.tag-card__meta { display:flex;align-items:center;gap:8px;font-size:12px;color:var(--text-muted); }
.tag-card__author-pic { width:24px;height:24px;border-radius:50%;overflow:hidden;flex-shrink:0; }
.tag-card__author-pic img { width:100%;height:100%;object-fit:cover; }
.tag-card__dot { width:3px;height:3px;background:var(--text-muted);border-radius:50%; }

/* ── Tag Sidebar ── */
.tag-sidebar { position:sticky;top:80px;align-self:start;display:flex;flex-direction:column;gap:20px; }

/* ── Trending Items ── */
.trending-item { display:flex;gap:10px;padding:10px 0;border-bottom:1px solid var(--dark-border);cursor:pointer;text-decoration:none;color:inherit;transition:opacity 0.2s; }
.trending-item:last-child { border-bottom:none; }
.trending-item:hover { opacity:0.8; }
.trending-item__rank { font-family:var(--font-body);font-size:24px;font-weight:900;color:var(--red-text);line-height:1;min-width:24px;flex-shrink:0; }
.trending-item__title { font-size:13px;font-weight:600;line-height:1.35; }
.trending-item__time { font-size:11px;color:var(--text-muted);margin-top:3px; }

/* ── Tag Cloud ── */
.tag-cloud { display:flex;flex-wrap:wrap;gap:8px; }
.tag-cloud__item { font-size:12px;font-weight:600;padding:5px 12px;border-radius:100px;background:var(--dark-surface);border:1px solid var(--dark-border);color:var(--text-secondary);transition:all 0.2s;cursor:pointer;text-decoration:none; }
.tag-cloud__item:hover { border-color:var(--red);color:var(--red-text); }
.tag-cloud__item--lg { font-size:14px;font-weight:700;padding:6px 16px; }
.tag-cloud__item--sm { font-size:11px;padding:4px 10px; }

/* ── Timeline ── */
.timeline-item { display:flex;gap:10px;padding:8px 0;text-decoration:none;color:inherit;transition:opacity 0.2s; }
.timeline-item:hover { opacity:0.8; }
.timeline-item__dot { width:8px;height:8px;background:var(--red);border-radius:50%;flex-shrink:0;margin-top:6px;position:relative; }
.timeline-item__dot::after { content:'';position:absolute;top:10px;left:3px;width:2px;height:calc(100% + 8px);background:var(--dark-border); }
.timeline-item:last-child .timeline-item__dot::after { display:none; }
.timeline-item__text { font-size:12px;color:var(--text-secondary);line-height:1.4; }
.timeline-item__text strong { color:var(--text-primary);font-weight:700; }
.timeline-item__date { font-size:11px;color:var(--text-muted);margin-top:2px; }

/* ── Responsivo Tag ── */
@media (max-width:1024px) {
    .tag-content { grid-template-columns:1fr; }
    .tag-sidebar { position:static;flex-direction:row;flex-wrap:wrap; }
    .tag-sidebar .sidebar-box { flex:1;min-width:260px; }
}
@media (max-width:768px) {
    .tag-hero { padding:32px 0 24px; }
    .tag-hero__title { font-size:1.8rem; }
    .tag-card { grid-template-columns:1fr; }
    .tag-card__body { padding:16px; }
    .sort-bar { flex-direction:column;gap:10px;align-items:flex-start; }
}

/* ═══════════════════════════════════════════════════════════
   AUTHOR PAGE (author.php)
   Hero com avatar, stats, featured quote, articles grid
   v3.0.0
═══════════════════════════════════════════════════════════ */

/* ── Light theme overrides para author ── */
[data-theme="light"] .author-card { border:1px solid var(--dark-border); }
[data-theme="light"] .stat-card { border:1px solid var(--dark-border); }

/* ── Author Hero ── */
.author-hero { padding:48px 0 0;text-align:center; }
.author-hero__avatar { width:120px;height:120px;border-radius:50%;margin:0 auto 20px;overflow:hidden;border:4px solid var(--red);box-shadow:0 0 0 6px var(--red-glow); }
.author-hero__avatar img { width:100%;height:100%;object-fit:cover; }
.author-hero__name { font-family:var(--font-body);font-size:clamp(1.8rem,4vw,2.6rem);font-weight:900;line-height:1.15;margin-bottom:8px; }
.author-hero__tag { display:inline-flex;align-items:center;gap:6px;background:var(--red);color:#fff;padding:4px 14px;border-radius:4px;font-size:11px;font-weight:800;letter-spacing:1.5px;text-transform:uppercase;margin-bottom:16px; }
.author-hero__bio { font-size:16px;color:var(--text-secondary);line-height:1.7;max-width:600px;margin:0 auto 24px; }
.author-hero__social { display:flex;justify-content:center;gap:10px;margin-bottom:8px; }
.author-social-btn { width:44px;height:44px;border-radius:50%;background:var(--dark-card);border:1px solid var(--dark-border);display:flex;align-items:center;justify-content:center;cursor:pointer;color:var(--text-secondary);font-size:14px;font-weight:700;transition:all 0.2s;text-decoration:none; }
.author-social-btn:hover { background:var(--red);border-color:var(--red);color:#fff; }

/* ── Stats ── */
.author-stats { display:flex;justify-content:center;gap:16px;padding:28px 0;border-bottom:1px solid var(--dark-border); }
.stat-card { background:var(--dark-card);border-radius:10px;padding:18px 24px;text-align:center;min-width:120px; }
.stat-card__num { font-family:var(--font-body);font-size:28px;font-weight:900;color:var(--red-text);line-height:1;margin-bottom:4px; }
.stat-card__label { font-size:11px;font-weight:700;text-transform:uppercase;letter-spacing:1px;color:var(--text-muted); }

/* ── Featured Quote ── */
.featured-quote { max-width:700px;margin:0 auto 12px;text-align:center;padding:32px 24px; }
.featured-quote__marks { font-size:60px;color:var(--red);font-family:var(--font-body);line-height:1;opacity:0.3; }
.featured-quote__text { font-family:var(--font-body);font-size:22px;font-weight:400;font-style:italic;line-height:1.5;color:var(--text-primary);margin:0 auto 16px;max-width:560px; }
.featured-quote__source { font-size:13px;color:var(--text-muted);font-weight:600; }
.featured-quote__source a { color:var(--red-text);font-weight:700; }
.featured-quote__source a:hover { text-decoration:underline; }

/* ── Articles Grid ── */
.author-articles { padding:0 0 40px; }
.articles-grid { display:grid;grid-template-columns:repeat(3,1fr);gap:20px; }
.author-card { background:var(--dark-card);border-radius:10px;overflow:hidden;cursor:pointer;transition:transform 0.3s,box-shadow 0.3s;text-decoration:none;color:inherit; }
.author-card:hover { transform:translateY(-4px);box-shadow:0 12px 32px rgba(0,0,0,.15);color:inherit; }
.author-card__img { aspect-ratio:16/9;overflow:hidden;position:relative; }
.author-card__img img, .author-card__img .placeholder-img { width:100%;height:100%;object-fit:cover;transition:transform 0.5s; }
.author-card:hover .author-card__img img, .author-card:hover .author-card__img .placeholder-img { transform:scale(1.06); }
.author-card__cat { position:absolute;bottom:8px;left:8px;background:var(--red);color:#fff;font-size:9px;font-weight:700;letter-spacing:1px;text-transform:uppercase;padding:3px 8px;border-radius:2px; }
.author-card__body { padding:16px; }
.author-card__title { font-family:var(--font-body);font-size:16px;font-weight:700;line-height:1.3;margin-bottom:8px;display:-webkit-box;-webkit-line-clamp:3;-webkit-box-orient:vertical;overflow:hidden; }
.author-card__excerpt { font-size:13px;color:var(--text-secondary);line-height:1.5;margin-bottom:10px;display:-webkit-box;-webkit-line-clamp:2;-webkit-box-orient:vertical;overflow:hidden; }
.author-card__meta { font-size:11px;color:var(--text-muted);display:flex;align-items:center;gap:6px; }
.author-card__dot { width:3px;height:3px;background:var(--text-muted);border-radius:50%; }

/* ── Responsivo Author ── */
@media (max-width:1024px) { .articles-grid { grid-template-columns:repeat(2,1fr); } }
@media (max-width:768px) {
    .author-hero__avatar { width:100px;height:100px; }
    .author-stats { flex-wrap:wrap;gap:10px; }
    .stat-card { min-width:100px;padding:14px 18px; }
    .stat-card__num { font-size:22px; }
    .articles-grid { grid-template-columns:1fr; }
    .featured-quote__text { font-size:18px; }
}

/* ═══════════════════════════════════════════════════════════
   PAGE TEMPLATE (page.php)
   Hero breadcrumb, prose body, Gutenberg blocks, featured image
   v3.1.0
═══════════════════════════════════════════════════════════ */

/* ── Light theme overrides para page ── */
[data-theme="light"] .page-body blockquote { background:#F7F7F5;color:#1A1A1A; }

/* ── Page Hero ── */
.page-hero { max-width:900px;margin:0 auto;padding:48px 24px 0; }
.page-hero__breadcrumb { display:flex;align-items:center;gap:8px;font-size:13px;font-weight:600;color:var(--text-secondary);margin-bottom:20px; }
.page-hero__breadcrumb a { color:var(--red-text);transition:opacity 0.2s; }
.page-hero__breadcrumb a:hover { opacity:0.7; }
.page-hero__breadcrumb-sep { color:var(--text-muted); }
.page-hero__title { font-family:var(--font-body);font-size:clamp(2rem,4vw,2.8rem);font-weight:900;line-height:1.15;margin-bottom:12px; }
.page-hero__subtitle { font-size:1.1rem;color:var(--text-secondary);line-height:1.6;max-width:640px; }
.page-hero__meta { display:flex;align-items:center;gap:12px;font-size:12px;color:var(--text-muted);margin-top:16px;padding-top:16px;border-top:1px solid var(--dark-border); }
.page-hero__meta svg { width:14px;height:14px;stroke:var(--text-muted);fill:none;stroke-width:2; }

/* ── Featured Image ── */
.page-featured-img { max-width:900px;margin:24px auto 0;padding:0 24px; }
.page-featured-img img { border-radius:10px;width:100%; }

/* ── Page Body — Prose Content ── */
.page-body { max-width:720px;margin:0 auto;padding:40px 24px 60px; }
.page-body p { font-family:var(--font-body);font-size:1.05rem;line-height:1.85;color:var(--text-secondary);margin-bottom:24px; }
.page-body h2 { font-family:var(--font-sans);font-size:1.3rem;font-weight:800;margin:40px 0 16px;padding-left:14px;border-left:4px solid var(--red);line-height:1.3; }
.page-body h3 { font-family:var(--font-sans);font-size:1.1rem;font-weight:700;margin:32px 0 12px;color:var(--text-primary); }
.page-body ul, .page-body ol { font-family:var(--font-body);font-size:1.05rem;line-height:1.85;color:var(--text-secondary);margin:0 0 24px 24px; }
.page-body li { margin-bottom:8px; }
.page-body li::marker { color:var(--red); }
.page-body strong { color:var(--text-primary); }
.page-body a { color:var(--red-text);text-decoration:underline;text-decoration-color:rgba(204,0,0,0.3);transition:text-decoration-color 0.2s; }
.page-body a:hover { text-decoration-color:var(--red); }
.page-body blockquote { background:var(--dark-surface);border-left:4px solid var(--red);padding:20px 24px;margin:32px 0;border-radius:0 8px 8px 0;font-family:var(--font-body);font-size:1rem;font-style:italic;color:var(--text-secondary);line-height:1.7; }
.page-body blockquote cite { display:block;font-style:normal;font-size:13px;color:var(--text-muted);margin-top:10px;font-family:var(--font-sans); }
.page-body hr { border:none;height:1px;background:var(--dark-border);margin:40px 0; }
.page-body figure { margin:32px 0;border-radius:10px;overflow:hidden; }
.page-body figure img { width:100%;aspect-ratio:16/9;object-fit:cover; }
.page-body figcaption { font-size:12px;color:var(--text-muted);padding:8px 0;font-style:italic; }
.page-body table { width:100%;border-collapse:collapse;margin:24px 0;font-size:14px; }
.page-body th { text-align:left;padding:12px 16px;background:var(--dark-surface);font-weight:700;font-size:12px;text-transform:uppercase;letter-spacing:0.5px;border-bottom:2px solid var(--red); }
.page-body td { padding:12px 16px;border-bottom:1px solid var(--dark-border);color:var(--text-secondary); }
.page-body tr:hover td { background:var(--dark-surface); }

/* ── Gutenberg Blocks ── */
.page-body .wp-block-embed { margin:32px 0; }
.page-body .wp-block-embed iframe { max-width:100%;border-radius:8px; }
.page-body .wp-block-image { margin:32px 0; }
.page-body .wp-block-image img { border-radius:8px; }
.page-body .wp-block-gallery { display:grid;grid-template-columns:repeat(2,1fr);gap:8px;margin:32px 0; }
.page-body .wp-block-gallery img { border-radius:6px;width:100%;height:100%;object-fit:cover; }
.page-body .wp-block-buttons { display:flex;gap:10px;margin:24px 0;flex-wrap:wrap; }
.page-body .wp-block-button a { display:inline-flex;align-items:center;gap:8px;padding:12px 28px;background:var(--red);color:#fff;border-radius:6px;font-weight:700;font-size:14px;transition:background 0.2s;text-decoration:none; }
.page-body .wp-block-button a:hover { background:var(--red-dark);text-decoration:none; }
.page-body .wp-block-separator { border:none;height:1px;background:var(--dark-border);margin:40px 0; }
.page-body .wp-block-code { background:var(--dark-surface);border:1px solid var(--dark-border);border-radius:6px;padding:16px 20px;font-family:monospace;font-size:13px;overflow-x:auto;margin:24px 0; }
.page-body .has-text-align-center { text-align:center; }
.page-body .has-text-align-right { text-align:right; }

/* ── Responsivo Page ── */
@media (max-width:768px) {
    .page-hero { padding:32px 24px 0; }
    .page-hero__title { font-size:1.6rem; }
    .page-body { padding:28px 24px 40px; }
    .page-body h2 { font-size:1.15rem; }
    .page-body table { font-size:12px; }
    .page-body th, .page-body td { padding:8px 10px; }
    .page-featured-img { max-width:100%;padding:0; }
    .page-featured-img img { border-radius:0; }
}

/* ═══════════════════════════════════════════════════════════
   TAG PILLS — cards de post (category, author, tag)
   Clicáveis, redirecionam para tag.php
   v3.3.0
═══════════════════════════════════════════════════════════ */
.post-card__tags { display:flex;flex-wrap:wrap;gap:6px;margin-top:10px; }
.post-card__tag-pill { font-size:10px;font-weight:700;letter-spacing:0.5px;text-transform:uppercase;color:var(--text-muted);background:var(--dark-surface);border:1px solid var(--dark-border);padding:3px 10px;border-radius:100px;cursor:pointer;transition:all 0.2s;white-space:nowrap; }
.post-card__tag-pill:hover { background:var(--red);border-color:var(--red);color:#fff; }
[data-theme="light"] .post-card__tag-pill { background:#F0F0F0;border-color:#D8D8D8;color:#555; }
[data-theme="light"] .post-card__tag-pill:hover { background:var(--red);border-color:var(--red);color:#fff; }

/* sidebar-tag como link clicável */
a.sidebar-tag { cursor:pointer;text-decoration:none;transition:all 0.2s; }
a.sidebar-tag:hover { background:var(--red);border-color:var(--red);color:#fff; }

/* ═══════════════════════════════════════════════════════════
   COMMENTS SECTION — expansível via JS
   Avatares circulares, nomes, tempo relativo, formulário
   v3.4.0
═══════════════════════════════════════════════════════════ */
.comments-section { max-width:740px;margin:0 auto;padding:0 16px; }
.comments-section__inner { background:var(--dark-surface);border:1px solid var(--dark-border);border-radius:12px;padding:24px; }
.comments-section__title { font-family:'Encode Sans',sans-serif;font-size:18px;font-weight:700;color:var(--text-primary);margin:0 0 20px;padding-bottom:12px;border-bottom:1px solid var(--dark-border); }
.comments-section__empty { font-size:14px;color:var(--text-muted);text-align:center;padding:24px 0; }
.comment-item { display:flex;gap:12px;padding:14px 0;border-bottom:1px solid var(--dark-border); }
.comment-item:last-of-type { border-bottom:none; }
.comment-item__avatar { width:40px;height:40px;border-radius:50%;overflow:hidden;flex-shrink:0; }
.comment-item__avatar img,.comment-item__avatar .avatar { width:100%;height:100%;object-fit:cover;border-radius:50%; }
.comment-item__body { flex:1;min-width:0; }
.comment-item__meta { display:flex;align-items:center;gap:8px;margin-bottom:4px; }
.comment-item__meta strong { font-size:13px;font-weight:700;color:var(--text-primary); }
.comment-item__meta span { font-size:11px;color:var(--text-muted); }
.comment-item__text { font-size:14px;line-height:1.5;color:var(--text-secondary);margin:0; }

/* Light theme adjustments */
[data-theme="light"] .comments-section__inner { background:#fff;border-color:#e0e0e0; }
[data-theme="light"] .comment-item { border-color:#f0f0f0; }

/* Comment form */
.comment-form-wrap { margin-top:20px;padding-top:20px;border-top:1px solid var(--dark-border); }
.comment-form-wrap .comment-form label { display:block;font-size:12px;font-weight:600;color:var(--text-muted);margin-bottom:4px;text-transform:uppercase;letter-spacing:0.5px; }
.comment-form-wrap .comment-form input[type="text"],
.comment-form-wrap .comment-form input[type="email"],
.comment-form-wrap .comment-form input[type="url"],
.comment-form-wrap .comment-form textarea { width:100%;padding:10px 14px;background:var(--dark-bg);border:1px solid var(--dark-border);border-radius:8px;color:var(--text-primary);font-size:14px;font-family:'Encode Sans',sans-serif;transition:border-color 0.2s;box-sizing:border-box; }
.comment-form-wrap .comment-form textarea { min-height:80px;resize:vertical; }
.comment-form-wrap .comment-form input:focus,
.comment-form-wrap .comment-form textarea:focus { border-color:var(--red);outline:none; }
.comment-form-wrap .comment-submit-btn,.comment-form-wrap .form-submit input[type="submit"] { background:var(--red);color:#fff;border:none;padding:10px 28px;border-radius:100px;font-size:14px;font-weight:700;cursor:pointer;transition:all 0.2s;font-family:'Encode Sans',sans-serif; }
.comment-form-wrap .comment-submit-btn:hover,.comment-form-wrap .form-submit input[type="submit"]:hover { background:#e00;transform:translateY(-1px); }
[data-theme="light"] .comment-form-wrap { border-color:#e0e0e0; }
[data-theme="light"] .comment-form-wrap input,
[data-theme="light"] .comment-form-wrap textarea { background:#f8f8f8;border-color:#ddd;color:#222; }

/* Reaction button — estado "reacted" (já curtiu/salvou) */
.reaction-btn.reacted .icon-circle { background:var(--red); }
.reaction-btn.reacted .icon-circle svg { fill:#fff;stroke:#fff; }

/* Comment replies — indentação para respostas */
.comment-item--reply { margin-left:40px;padding-left:12px;border-left:2px solid var(--dark-border); }
.comment-item__reply-badge { font-size:11px;color:var(--red);font-weight:600;background:rgba(204,0,0,0.08);padding:1px 8px;border-radius:100px; }
.comment-item__actions { display:flex;align-items:center;gap:16px;margin-top:6px; }
.comment-item__likes { font-size:12px;color:var(--text-muted);cursor:pointer;transition:color 0.2s; }
.comment-item__likes:hover { color:var(--red); }
.comment-item__reply-link { font-size:12px;color:var(--text-muted);cursor:pointer;transition:color 0.2s; }
.comment-item__reply-link:hover { color:var(--text-primary); }
.comments-section__total { background:var(--red);color:#fff;font-size:12px;font-weight:700;padding:2px 10px;border-radius:100px;margin-left:8px;vertical-align:middle; }
[data-theme="light"] .comment-item--reply { border-left-color:#e0e0e0; }
@media (max-width:600px) { .comment-item--reply { margin-left:20px; } }
