/* ==========================================================================
   CSS Variables & Theme Setup
   ========================================================================== */
:root {
    /* Colors - Light Theme (Default) */
    --bg-main: #f8fafc;
    --bg-surface: #ffffff;
    --bg-surface-hover: #f1f5f9;
    --bg-secondary: #e2e8f0;
    
    --text-main: #0f172a;
    --text-muted: #64748b;
    --text-inverse: #ffffff;
    
    --border-color: #e2e8f0;
    
    /* Brand Colors */
    --brand-primary: #0369a1; /* Deep Blue */
    --brand-secondary: #0ea5e9; /* Sky Blue */
    --accent: #10b981; /* Emerald Green */
    --warning: #f59e0b; /* Amber */
    --danger: #ef4444; /* Red */
    
    --danger-bg: #7f1d1d;
    --danger-surface: #991b1b;
    --danger-text: #fecaca;
    
    /* Typography */
    --font-sans: 'Inter', sans-serif;
    --font-heading: 'Outfit', sans-serif;
    
    /* Spacing & Sizes */
    --container-max: 1280px;
    --radius-sm: 8px;
    --radius-md: 16px;
    --radius-lg: 24px;
    --radius-full: 9999px;
    
    /* Shadows */
    --shadow-sm: 0 1px 2px 0 rgb(0 0 0 / 0.05);
    --shadow-md: 0 4px 6px -1px rgb(0 0 0 / 0.1), 0 2px 4px -2px rgb(0 0 0 / 0.1);
    --shadow-lg: 0 10px 15px -3px rgb(0 0 0 / 0.1), 0 4px 6px -4px rgb(0 0 0 / 0.1);
    --shadow-hover: 0 20px 25px -5px rgb(0 0 0 / 0.1), 0 8px 10px -6px rgb(0 0 0 / 0.1);
    
    /* Transitions */
    --transition-fast: 0.15s ease;
    --transition-normal: 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    --transition-slow: 0.5s cubic-bezier(0.4, 0, 0.2, 1);
}

/* Dark Theme Variables */
body.dark-theme {
    --bg-main: #0f172a;
    --bg-surface: #1e293b;
    --bg-surface-hover: #334155;
    --bg-secondary: #0f172a;
    
    --text-main: #f8fafc;
    --text-muted: #94a3b8;
    
    --border-color: #334155;
    
    --brand-primary: #38bdf8;
    
    --shadow-md: 0 4px 6px -1px rgb(0 0 0 / 0.3);
    --shadow-lg: 0 10px 15px -3px rgb(0 0 0 / 0.4);
    --shadow-hover: 0 20px 25px -5px rgb(0 0 0 / 0.5);
}

/* ==========================================================================
   Reset & Base Styles
   ========================================================================== */
*, *::before, *::after {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: var(--font-sans);
    background-color: var(--bg-main);
    color: var(--text-main);
    line-height: 1.5;
    transition: background-color var(--transition-normal), color var(--transition-normal);
    overflow-x: hidden;
}

a {
    color: inherit;
    text-decoration: none;
}

img {
    max-width: 100%;
    display: block;
}

ul {
    list-style: none;
}

button {
    font-family: inherit;
    border: none;
    background: none;
    cursor: pointer;
}

.container {
    width: 100%;
    max-width: var(--container-max);
    margin: 0 auto;
    padding: 0 20px;
}

/* Custom Scrollbar */
::-webkit-scrollbar {
    width: 10px;
}
::-webkit-scrollbar-track {
    background: var(--bg-main);
}
::-webkit-scrollbar-thumb {
    background: var(--border-color);
    border-radius: var(--radius-full);
}
::-webkit-scrollbar-thumb:hover {
    background: var(--text-muted);
}

/* ==========================================================================
   Typography & Utilities
   ========================================================================== */
h1, h2, h3, h4, h5, h6, .brand-text strong, .title {
    font-family: var(--font-heading);
    font-weight: 800;
    line-height: 1.2;
    letter-spacing: -0.02em;
}

.text-white { color: var(--text-inverse); }
.text-muted { color: var(--text-muted) !important; }
.text-light { color: rgba(255,255,255,0.7) !important; }
.text-danger-light { color: var(--danger-text) !important; }
.text-warning { color: var(--warning) !important; }
.bg-white { background-color: var(--text-inverse); }
.bg-warning { background-color: var(--warning); }

/* Badges */
.badge {
    display: inline-block;
    padding: 4px 12px;
    border-radius: var(--radius-full);
    font-size: 0.75rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    margin-bottom: 12px;
}
.badge-primary { background: var(--brand-primary); color: white; }
.badge-accent { background: var(--accent); color: white; }

.cat-tag {
    position: absolute;
    top: 16px;
    left: 16px;
    background: rgba(0,0,0,0.6);
    backdrop-filter: blur(4px);
    color: white;
    padding: 4px 12px;
    border-radius: var(--radius-full);
    font-size: 0.7rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    z-index: 2;
}
.tag-accent { background: var(--accent); color: #000; }

/* Image Hover Wrapper */
.img-wrapper {
    position: relative;
    overflow: hidden;
    width: 100%;
    height: 100%;
}
.img-wrapper img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform var(--transition-slow);
}
.card-hover:hover .img-wrapper img,
.news-card:hover .img-wrapper img,
.news-card:hover .card-img-wrap img {
    transform: scale(1.05);
}

.overlay-gradient {
    position: absolute;
    inset: 0;
    background: linear-gradient(to top, rgba(0,0,0,0.9) 0%, rgba(0,0,0,0.4) 50%, transparent 100%);
    z-index: 1;
}

/* ==========================================================================
   Header & Topbar
   ========================================================================== */
.topbar {
    background-color: #082f49; /* Very dark blue */
    color: #e0f2fe;
    font-size: 0.75rem;
    font-weight: 500;
    padding: 8px 0;
}
.topbar-inner {
    display: flex;
    justify-content: space-between;
    align-items: center;
}
.live-status {
    display: flex;
    align-items: center;
    gap: 8px;
}
.status-dot {
    width: 8px;
    height: 8px;
    background-color: var(--danger);
    border-radius: 50%;
    animation: pulse 2s infinite;
}
@keyframes pulse {
    0% { box-shadow: 0 0 0 0 rgba(239, 68, 68, 0.7); }
    70% { box-shadow: 0 0 0 6px rgba(239, 68, 68, 0); }
    100% { box-shadow: 0 0 0 0 rgba(239, 68, 68, 0); }
}
.top-actions {
    display: flex;
    gap: 16px;
}

/* Main Header */
.main-header {
    background-color: rgba(255, 255, 255, 0.85);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    border-bottom: 1px solid var(--border-color);
    position: sticky;
    top: 0;
    z-index: 100;
    transition: background-color var(--transition-normal), border-color var(--transition-normal);
}
body.dark-theme .main-header {
    background-color: rgba(15, 23, 42, 0.85);
}

.header-content {
    display: flex;
    align-items: center;
    justify-content: space-between;
    height: 80px;
}

.brand-logo {
    display: flex;
    align-items: center;
    gap: 12px;
    text-decoration: none;
}
.brand-logo img {
    height: 48px;
    width: auto;
    max-width: 100%;
    object-fit: contain;
    transition: opacity var(--transition-fast);
}
.logo-dark-img {
    display: none;
}
body.dark-theme .logo-light-img {
    display: none;
}
body.dark-theme .logo-dark-img {
    display: block;
}

.desktop-nav {
    display: flex;
    gap: 24px;
}
.desktop-nav a {
    font-weight: 600;
    font-size: 0.9rem;
    color: var(--text-muted);
    position: relative;
    padding: 8px 0;
    transition: color var(--transition-fast);
}
.desktop-nav a:hover, .desktop-nav a.active {
    color: var(--text-main);
}
.desktop-nav a::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 0;
    height: 2px;
    background-color: var(--brand-primary);
    transition: width var(--transition-normal);
}
.desktop-nav a:hover::after, .desktop-nav a.active::after {
    width: 100%;
}

.header-tools {
    display: flex;
    gap: 12px;
}
.tool-btn {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background-color: var(--bg-secondary);
    color: var(--text-main);
    display: grid;
    place-items: center;
    font-size: 1rem;
    transition: all var(--transition-fast);
}
.tool-btn:hover {
    background-color: var(--brand-primary);
    color: white;
}
.mobile-menu-btn {
    display: none;
}

/* Mobile Nav */
.mobile-nav {
    display: none;
    flex-direction: column;
    background-color: var(--bg-surface);
    position: absolute;
    top: 80px;
    left: 0;
    width: 100%;
    border-bottom: 1px solid var(--border-color);
    padding: 16px 20px;
    box-shadow: var(--shadow-md);
}
.mobile-nav.active {
    display: flex;
}
.mobile-nav a {
    padding: 12px 0;
    font-weight: 600;
    border-bottom: 1px solid var(--border-color);
}
.mobile-nav a:last-child {
    border-bottom: none;
}

/* Breaking Ticker */
.breaking-ticker {
    background-color: var(--bg-surface);
    border-bottom: 1px solid var(--border-color);
    padding: 10px 0;
}
.ticker-inner {
    display: flex;
    align-items: center;
    gap: 16px;
}
.ticker-badge {
    background-color: var(--brand-primary);
    color: white;
    padding: 4px 10px;
    border-radius: var(--radius-full);
    font-size: 0.7rem;
    font-weight: 700;
    text-transform: uppercase;
    white-space: nowrap;
}
.ticker-text-wrapper {
    overflow: hidden;
    white-space: nowrap;
    width: 100%;
}
.ticker-text {
    font-size: 0.85rem;
    animation: ticker 30s linear infinite;
    display: inline-block;
}
@keyframes ticker {
    0% { transform: translateX(100%); }
    100% { transform: translateX(-100%); }
}

/* ==========================================================================
   Hero Section
   ========================================================================== */
.hero-section {
    display: grid;
    grid-template-columns: 2fr 1fr;
    gap: 20px;
    margin: 40px 0;
}

.hero-lead {
    position: relative;
    border-radius: var(--radius-lg);
    overflow: hidden;
    min-height: 500px;
    box-shadow: var(--shadow-md);
    transition: box-shadow var(--transition-normal);
}
.hero-lead:hover {
    box-shadow: var(--shadow-hover);
}

.hero-content {
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    padding: 40px;
    z-index: 2;
    color: white;
}
.hero-lead .title {
    font-size: clamp(2rem, 4vw, 3.5rem);
    margin-bottom: 16px;
}
.hero-lead .excerpt {
    font-size: 1.1rem;
    color: rgba(255,255,255,0.8);
    margin-bottom: 20px;
    max-width: 800px;
}

.hero-sidebar {
    display: flex;
    flex-direction: column;
    gap: 20px;
}
.hero-side-card {
    position: relative;
    border-radius: var(--radius-lg);
    overflow: hidden;
    flex: 1;
    min-height: 240px;
    box-shadow: var(--shadow-md);
}
.hero-side-card .hero-content {
    padding: 24px;
}
.title-sm {
    font-size: 1.25rem;
}

/* ==========================================================================
   Ad Banner
   ========================================================================== */
.ad-banner-image {
    margin: 40px auto;
    width: 100%;
    display: flex;
    justify-content: center;
    border-radius: var(--radius-md);
    overflow: hidden;
}
.ad-banner-image img {
    width: 100%;
    height: auto;
    display: block;
}

/* ==========================================================================
   Sections & Grid Layouts
   ========================================================================== */
.news-section {
    margin: 60px 0;
}
.section-header {
    display: flex;
    justify-content: space-between;
    align-items: flex-end;
    margin-bottom: 24px;
    padding-bottom: 12px;
    border-bottom: 1px solid var(--border-color);
}
.section-title-wrapper {
    display: flex;
    align-items: center;
    gap: 16px;
}
.accent-bar {
    width: 6px;
    height: 40px;
    background-color: var(--accent);
    border-radius: var(--radius-full);
}
.section-title {
    font-size: 2rem;
    margin-bottom: 4px;
}
.section-subtitle {
    font-size: 0.85rem;
    color: var(--text-muted);
    text-transform: uppercase;
    letter-spacing: 0.1em;
    font-weight: 600;
}
.view-all-link {
    font-size: 0.9rem;
    font-weight: 700;
    color: var(--brand-primary);
    display: flex;
    align-items: center;
    gap: 8px;
    transition: transform var(--transition-fast);
    white-space: nowrap;
}
.view-all-link:hover {
    transform: translateX(4px);
}
.view-all-link.text-light {
    color: rgba(255,255,255,0.7);
}
.view-all-link.text-danger-light {
    color: var(--danger-text);
}

.news-grid-4 {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 24px;
}

/* Cards */
.news-card {
    background-color: var(--bg-surface);
    border-radius: var(--radius-md);
    overflow: hidden;
    border: 1px solid var(--border-color);
    transition: all var(--transition-normal);
    display: flex;
    flex-direction: column;
}
.news-card:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-lg);
    border-color: var(--brand-primary);
}
.card-img-wrap {
    position: relative;
    aspect-ratio: 16 / 10;
    overflow: hidden;
}
.card-img-wrap img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform var(--transition-slow);
}
.card-content {
    padding: 20px;
    flex: 1;
    display: flex;
    flex-direction: column;
}
.card-title {
    font-size: 1.1rem;
    margin-bottom: 12px;
}
.card-desc {
    font-size: 0.9rem;
    color: var(--text-muted);
    margin-bottom: 16px;
    flex: 1;
}
.card-meta {
    font-size: 0.75rem;
    color: var(--text-muted);
    border-top: 1px solid var(--border-color);
    padding-top: 12px;
    font-weight: 500;
}

/* Theme Band (Mundo) */
.theme-band {
    background-color: #020617;
    padding: 60px 0;
    margin: 60px 0;
    color: white;
}
.theme-dark .dark-card {
    background-color: #0f172a;
    border-color: #334155;
    color: white;
}
.theme-dark .dark-card .card-desc {
    color: #94a3b8;
}
.theme-dark .dark-card .card-meta {
    color: #64748b;
    border-color: #334155;
}

/* Danger Band (Policia) */
.police-band {
    background-color: var(--danger-bg);
    padding: 60px 0;
    margin: 60px 0;
    color: white;
}
.danger-card {
    background-color: var(--danger-surface);
    border-color: rgba(255,255,255,0.1);
    color: white;
}
.danger-card:hover {
    border-color: rgba(255,255,255,0.3);
}
.danger-card .card-desc, .danger-card .card-title {
    color: white;
}
.danger-card .card-meta {
    border-color: rgba(255,255,255,0.1);
    color: var(--danger-text);
}

/* Split Layout (Brasil) */
.split-layout {
    display: grid;
    grid-template-columns: 1.5fr 1fr;
    gap: 30px;
}
.feature-card {
    position: relative;
    border-radius: var(--radius-lg);
    overflow: hidden;
    min-height: 450px;
}
.feature-content {
    position: absolute;
    bottom: 0;
    left: 0;
    padding: 30px;
    z-index: 2;
    color: white;
    width: 100%;
}
.feature-content .title {
    font-size: 2rem;
    margin-bottom: 16px;
}

.sidebar-list {
    background-color: var(--bg-surface);
    border: 1px solid var(--border-color);
    border-radius: var(--radius-lg);
    padding: 24px;
}
.sidebar-title {
    font-size: 1.2rem;
    margin-bottom: 20px;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    color: var(--brand-primary);
}
.list-wrapper {
    display: flex;
    flex-direction: column;
}
.list-item {
    display: grid;
    grid-template-columns: 100px 1fr;
    gap: 16px;
    padding: 16px 0;
    border-bottom: 1px solid var(--border-color);
    transition: transform var(--transition-fast);
}
.list-item:last-child {
    border-bottom: none;
    padding-bottom: 0;
}
.list-item:hover {
    transform: translateX(5px);
}
.list-img {
    height: 80px;
    border-radius: var(--radius-sm);
    overflow: hidden;
}
.list-img img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}
.list-cat {
    font-size: 0.7rem;
    font-weight: 700;
    color: var(--brand-secondary);
    text-transform: uppercase;
    display: block;
    margin-bottom: 4px;
}
.list-title {
    font-size: 1rem;
    line-height: 1.3;
    margin-bottom: 8px;
}
.list-meta {
    font-size: 0.75rem;
    color: var(--text-muted);
}

/* ==========================================================================
   Newsletter
   ========================================================================== */
.newsletter {
    background: linear-gradient(135deg, var(--brand-primary), #0284c7);
    border-radius: var(--radius-lg);
    padding: 40px;
    color: white;
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 40px;
    box-shadow: var(--shadow-lg);
    margin: 40px 0 80px;
}
.nl-content h2 {
    font-size: 2rem;
    margin-bottom: 12px;
}
.nl-content p {
    color: rgba(255,255,255,0.8);
    font-size: 1.1rem;
}
.nl-form {
    display: flex;
    gap: 12px;
    width: 100%;
    max-width: 500px;
}
.nl-form input {
    flex: 1;
    padding: 16px 20px;
    border: none;
    border-radius: var(--radius-md);
    font-size: 1rem;
    outline: none;
}
.btn-primary {
    background-color: var(--accent);
    color: white;
    padding: 0 24px;
    border-radius: var(--radius-md);
    font-weight: 700;
    font-size: 1rem;
    transition: background-color var(--transition-fast), transform var(--transition-fast);
}
.btn-primary:hover {
    background-color: #059669;
    transform: scale(1.02);
}

/* ==========================================================================
   Footer
   ========================================================================== */
.main-footer {
    background-color: #020617;
    color: #94a3b8;
    padding: 80px 0 24px;
}
.footer-grid {
    display: grid;
    grid-template-columns: 2fr 1fr 1fr 1fr;
    gap: 40px;
    margin-bottom: 60px;
}
.footer-logo .brand-icon {
    filter: grayscale(100%);
    background: #334155;
}
.footer-desc {
    margin: 20px 0;
    font-size: 0.9rem;
    max-width: 300px;
}
.social-links {
    display: flex;
    gap: 16px;
}
.social-links a {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background-color: #1e293b;
    color: white;
    display: grid;
    place-items: center;
    transition: background-color var(--transition-fast);
}
.social-links a:hover {
    background-color: var(--brand-primary);
}
.footer-links h4 {
    color: white;
    font-size: 1.1rem;
    margin-bottom: 20px;
    text-transform: uppercase;
    letter-spacing: 0.05em;
}
.footer-links ul li {
    margin-bottom: 12px;
}
.footer-links a {
    transition: color var(--transition-fast);
}
.footer-links a:hover {
    color: white;
}
.footer-bottom {
    border-top: 1px solid #1e293b;
    padding-top: 24px;
    display: flex;
    justify-content: space-between;
    font-size: 0.85rem;
}

/* ==========================================================================
   Responsive Design
   ========================================================================== */
@media (max-width: 1024px) {
    .news-grid-4 {
        grid-template-columns: repeat(2, 1fr);
    }
    .hero-section {
        grid-template-columns: 1fr;
    }
    .hero-lead {
        min-height: 400px;
    }
    .hero-sidebar {
        flex-direction: row;
    }
    .split-layout {
        grid-template-columns: 1fr;
    }
    .footer-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 768px) {
    .desktop-nav {
        display: none;
    }
    .mobile-menu-btn {
        display: grid;
    }
    .hero-sidebar {
        flex-direction: column;
    }
    .hero-lead .title {
        font-size: 2rem;
    }
    .ad-banner {
        flex-direction: column;
        align-items: flex-start;
        gap: 20px;
    }
    .newsletter {
        flex-direction: column;
        text-align: center;
    }
    .nl-form {
        flex-direction: column;
    }
    .btn-primary {
        padding: 16px;
    }
    .footer-grid {
        grid-template-columns: 1fr;
    }
    .footer-bottom {
        flex-direction: column;
        gap: 12px;
        text-align: center;
    }
}

@media (max-width: 480px) {
    .news-grid-4 {
        grid-template-columns: 1fr;
    }
    .top-actions .location {
        display: none;
    }
    .section-title {
        font-size: 1.5rem;
    }
}

/* ==========================================================================
   Category Page
   ========================================================================== */
.page-content {
    padding-bottom: 80px;
}
.category-page-header {
    display: flex;
    align-items: center;
    gap: 16px;
    margin: 40px 0 30px;
    padding-bottom: 20px;
    border-bottom: 1px solid var(--border-color);
}
.category-page-header .page-title {
    font-size: 2.5rem;
}
.category-page-header .accent-bar {
    height: 48px;
}
.news-grid-3 {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 24px;
}
.pagination {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 8px;
    margin-top: 60px;
}
.page-num {
    width: 40px;
    height: 40px;
    display: grid;
    place-items: center;
    border-radius: var(--radius-sm);
    background-color: var(--bg-surface);
    border: 1px solid var(--border-color);
    font-weight: 600;
    color: var(--text-muted);
    transition: all var(--transition-fast);
}
.page-num:hover, .page-num.active {
    background-color: var(--brand-primary);
    color: white;
    border-color: var(--brand-primary);
}

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

/* ==========================================================================
   Single Post Page
   ========================================================================== */
.single-layout {
    display: grid;
    grid-template-columns: 2.5fr 1fr;
    gap: 40px;
    margin-top: 20px;
}
.post-header {
    margin-bottom: 24px;
}
.post-title {
    font-size: clamp(2rem, 4vw, 2.8rem);
    line-height: 1.2;
    margin-bottom: 16px;
    color: var(--text-dark);
}
.post-subtitle {
    font-size: 1.25rem;
    color: var(--brand-secondary);
    font-weight: 500;
    margin-bottom: 20px;
    line-height: 1.5;
}
.post-meta-bar {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 16px 0;
    border-top: 1px solid var(--border-color);
    border-bottom: 1px solid var(--border-color);
    margin-bottom: 30px;
    color: var(--text-muted);
    font-size: 0.9rem;
}
.post-meta-left strong {
    color: var(--text-dark);
}
.share-btns {
    display: flex;
    gap: 12px;
}
.share-btns a {
    width: 36px;
    height: 36px;
    border-radius: 50%;
    background-color: var(--bg-surface);
    border: 1px solid var(--border-color);
    display: grid;
    place-items: center;
    color: var(--text-regular);
    transition: all var(--transition-fast);
}
.share-btns a:hover {
    background-color: var(--brand-primary);
    color: white;
    border-color: var(--brand-primary);
}
.post-featured-img {
    width: 100%;
    border-radius: var(--radius-lg);
    margin-bottom: 10px;
    box-shadow: var(--shadow-sm);
}
.post-img-caption {
    font-size: 0.85rem;
    color: var(--text-muted);
    text-align: right;
    margin-bottom: 30px;
}
.post-content {
    font-size: 1.15rem;
    line-height: 1.8;
    color: var(--text-regular);
}
.post-content p {
    margin-bottom: 24px;
}
.post-content h2, .post-content h3 {
    color: var(--text-dark);
    margin: 40px 0 20px;
}
.sidebar-widget {
    margin-bottom: 40px;
    background-color: var(--bg-surface);
    border-radius: var(--radius-md);
    padding: 24px;
    box-shadow: var(--shadow-sm);
}
.widget-title {
    font-size: 1.2rem;
    margin-bottom: 20px;
    padding-bottom: 10px;
    border-bottom: 2px solid var(--brand-primary);
    display: inline-block;
}
.sidebar-news-list {
    display: flex;
    flex-direction: column;
    gap: 20px;
}
.sidebar-news-item {
    display: flex;
    gap: 12px;
    align-items: center;
}
.sidebar-news-item img {
    width: 80px;
    height: 60px;
    object-fit: cover;
    border-radius: var(--radius-sm);
    flex-shrink: 0;
}
.sidebar-news-item h4 {
    font-size: 0.95rem;
    line-height: 1.3;
}
.sidebar-news-item:hover h4 {
    color: var(--brand-primary);
}
.related-news-section {
    margin: 60px 0;
    padding-top: 40px;
    border-top: 1px solid var(--border-color);
}
.related-news-section .section-title {
    margin-bottom: 30px;
}

@media (max-width: 992px) {
    .single-layout {
        grid-template-columns: 1fr;
    }
}

/* ==========================================================================
   Innovation Features (Zen Mode & Audio Player)
   ========================================================================== */
.innovation-toolbar {
    display: flex;
    gap: 16px;
    margin-bottom: 30px;
    background-color: var(--bg-surface);
    padding: 12px 20px;
    border-radius: var(--radius-full);
    box-shadow: var(--shadow-sm);
    border: 1px solid var(--border-color);
    width: fit-content;
}
.inno-btn {
    background: none;
    border: none;
    color: var(--text-dark);
    font-size: 0.95rem;
    font-weight: 600;
    display: flex;
    align-items: center;
    gap: 8px;
    cursor: pointer;
    padding: 8px 16px;
    border-radius: var(--radius-full);
    transition: all var(--transition-fast);
}
.inno-btn i {
    font-size: 1.1rem;
    color: var(--brand-primary);
}
.inno-btn:hover {
    background-color: var(--bg-body);
    color: var(--brand-primary);
}
.inno-btn.active {
    background-color: var(--brand-primary);
    color: white;
}
.inno-btn.active i {
    color: white;
}

/* Zen Mode Overlay */
body.zen-mode {
    background-color: #fcfcfc;
    transition: background-color 0.5s ease;
}
body.zen-mode .topbar,
body.zen-mode .main-header,
body.zen-mode .sidebar,
body.zen-mode .ad-banner-image,
body.zen-mode .related-news-section,
body.zen-mode .main-footer,
body.zen-mode .share-btns,
body.zen-mode .post-meta-bar > div:first-child,
body.zen-mode .post-img-caption {
    display: none !important;
}
body.zen-mode .single-layout {
    grid-template-columns: minmax(auto, 800px);
    justify-content: center;
}
body.zen-mode .post-meta-bar {
    border: none;
    margin-bottom: 0;
    padding-bottom: 0;
    justify-content: center;
}
body.zen-mode .innovation-toolbar {
    margin: 0 auto 40px auto;
}
body.zen-mode .post-title {
    text-align: center;
}
body.zen-mode .post-subtitle {
    text-align: center;
}
body.zen-mode .post-content {
    font-size: 1.25rem; /* Slightly larger for easier reading */
    line-height: 2;
    max-width: 800px;
    margin: 0 auto;
    color: #333;
}
body.zen-mode.dark-theme {
    background-color: #111;
}
body.zen-mode.dark-theme .post-content {
    color: #e0e0e0;
}
