/*
Theme Name: News JDV
Theme URI: http://diariodavizinhanca.com.br
Author: João Carlos Cardoso
Author URI: http://diariodavizinhanca.com.br
Description: Tema profissional e responsivo para o jornal local Diário da Vizinhança.
Version: 2.0
License: GPLv2 or later
Text Domain: news
*/

 :root {
            --primary-color: #FF3131;
            --secondary-color: #1f2937;
        }

        body {
            font-family: 'Inter', sans-serif;
            color-scheme: light;
            background-color: #f3f4f6;
            overflow-x: hidden;
        }

        body.sidebar-open { overflow: hidden; }

        .article-card {
            transition: transform 0.3s ease, box-shadow 0.3s ease;
            border: 1px solid rgba(15, 23, 42, 0.06);
        }
        .article-card:hover {
            transform: translateY(-4px);
            box-shadow: 0 10px 15px -3px rgba(0,0,0,0.1), 0 4px 6px -2px rgba(0,0,0,0.05);
        }

        .section-title {
            border-left: 5px solid var(--primary-color);
            padding-left: 0.75rem;
            font-weight: 700;
        }

        .container { text-align: center; padding-top: 50px; }

        .link {
            display: inline-block;
            margin-bottom: 20px;
            font-size: 1.2rem;
            font-weight: bold;
            color: #FF3131;
            text-decoration: none;
            transition: color 0.3s;
        }
        .link:hover { color: #D62828; }

        .msg { font-size: 1rem; color: #4b5563; }
        @media (min-width: 768px) { .msg { font-size: 1.2rem; } }

        .aspect-1-1 { aspect-ratio: 1/1; }

        .sidebar-opinion-card { border-left: 3px solid #ef4444; padding-left: 0.5rem; margin-bottom: 1.5rem; }
        .sidebar-opinion-card:last-child { margin-bottom: 0; }

        .pesames-card { border: 2px solid #9ca3af; background-color: #e5e7eb; box-shadow: none; }
        .pesames-card .article-content { padding: 1rem; text-align: center; }

        .xiii-section { background-color: #374151; color: #f3f4f6; padding: 2.5rem 0; }
        .xiii-section .section-title { border-left-color: #ff3131; color: #f3f4f6; }
        .xiii-card { background-color: #1f2937; color: #f3f4f6; transition: background-color 0.3s; }
        .xiii-card:hover { background-color: #4b5563; }
        .xiii-card a { color: #fca5a5; }
        .xiii-card a:hover { color: #f87171; }

        .charges-section { background-color: #1f2937; padding: 2.5rem 0; color: #ffffff; }
        .charges-section .section-title { border-left-color: #ff3131; color: #ffffff; }
        .charges-card { background-color: #ffffff; border: 1px solid #94a3b8; }
        .charges-card a { color: #ff3131; }
        .charges-card a:hover { color: #FF3131; }

        .especiais-section .section-title { border-left-color: #ff3131; color: #ff3131; }
        .especiais-card { border-left-color: #ff3131; }

        .post-navigation { margin: 20px 0; font-size: 16px; }
        .prev-post a, .next-post a { color: #ff3131; text-decoration: none; }
        .post-navigation a:hover { text-decoration: underline; }

        .menu-toggle {
            background-color: #FF3131;
            color: white;
            width: 60px;
            height: 60px;
            border-radius: 50%;
            border: none;
            position: fixed;
            bottom: 90px;
            right: 20px;
            font-size: 18px;
            font-weight: bold;
            cursor: pointer;
            display: flex;
            align-items: center;
            justify-content: center;
            box-shadow: 0 4px 6px rgba(0, 0, 0, 0.2);
            z-index: 1003;
        }
        .menu-toggle:hover { background-color: #D62828; }

        #overlay {
            transition: opacity .28s ease;
        }

        .sidebar-transition {
            transition: transform .28s ease, opacity .28s ease;
        }

        .submenu-toggle + ul {
            display: block;
            max-height: 0;
            overflow: hidden;
            transition: max-height .28s ease;
        }

        .submenu-toggle.open + ul {
            max-height: 600px;
        }

        .submenu-toggle span {
            display: inline-block;
            transition: transform .28s ease;
        }

        .submenu-toggle.open span {
            transform: rotate(45deg);
        }

        .sidebar-block-title {
            font-size: 10px;
            font-weight: 900;
            text-transform: uppercase;
            letter-spacing: .18em;
            color: #94a3b8;
            padding: 0 1rem;
            margin-top: 1.5rem;
            margin-bottom: .6rem;
        }

        .sidebar-tag-link {
            display: flex;
            align-items: center;
            justify-content: space-between;
            gap: .75rem;
            width: 100%;
            padding: .9rem 1rem;
            border-radius: 1rem;
            font-weight: 800;
            font-size: .92rem;
            color: #0f172a;
            transition: all .2s ease;
            text-decoration: none;
        }

        .sidebar-tag-link:hover {
            background: #f8fafc;
            color: var(--primary-color);
        }

        .sidebar-tag-count {
            flex-shrink: 0;
            font-size: 10px;
            font-weight: 800;
            background: #f1f5f9;
            color: #64748b;
            padding: .3rem .55rem;
            border-radius: 999px;
            line-height: 1;
        }

        .menu-toggle, button, a { -webkit-tap-highlight-color: transparent; }