
:root {
    --primary: #003fcb;
    --primary-dark: #003199;
    --secondary: #2c3e50;
    --accent: #e67e22;
    --bg: #f4f4f4;
    --card-bg: #ffffff;
    --text: #222;
    --muted: #666;
    --border: #e0e0e0;
    --radius: 8px;
    --shadow: 0 2px 10px rgba(0,0,0,0.08);
}
* { margin: 0; padding: 0; box-sizing: border-box; }
body { font-family: 'Segoe UI', Arial, sans-serif; background: var(--bg); color: var(--text); }
a {
    all: unset;
    cursor: pointer;
}
/* ===== TOP BAR ===== */
.top-bar {
    background: var(--secondary);
    color: #aaa;
    font-size: 12px;
    padding: 6px 0;
}
.top-bar .container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 6px;
}
.top-bar a { color: #aaa; text-decoration: none; }
.top-bar .social-links a {
    color: #fff;
    margin-left: 10px;
    font-size: 14px;
    transition: color 0.2s;
}
.top-bar .social-links a:hover { color: var(--primary); }
.top-bar .cotacao-bar {
    display: flex; gap: 16px; align-items: center;
}
.cotacao-bar .item { display: flex; align-items: center; gap: 4px; }
.cotacao-bar .up { color: #2ecc71; }
.cotacao-bar .down { color: #e74c3c; }

/* ===== HEADER ===== */
header{display: none}
@media screen and (min-width: 360px) {
    .header-search input {
        border: none; outline: none;
        padding: 8px 14px; flex: 1;
        font-size: 14px; background: transparent;
        width: 70%;
    }
    .header-search input::placeholder {
        color: #fff;              /* Cor do placeholder */
        opacity: 1;               /* Garante a cor em alguns navegadores */
    }
    .slide-container {
        position: relative;
        border-radius: var(--radius);
        overflow: hidden;
        background: #111;
        aspect-ratio: 4 / 4;
        max-height: 520px;
    }
    .category-card img {
        width: 100%;
        height: auto;
        object-fit: cover;
        display: block;
    }
}

@media screen and (min-width: 768px) {
    #mob-topo{display: none}

    header {
        display: block;
        background: var(--card-bg);
        border-bottom: 3px solid var(--primary);
        padding: 14px 0;
        position: sticky;
        top: 0;
        z-index: 100;
        box-shadow: 0 2px 8px rgba(0,0,0,0.1);
    }
    header .container {
        display: flex;
        justify-content: space-between;
        align-items: center;
        flex-wrap: wrap;
        gap: 12px;
    }
    .logo { display: flex; align-items: center; gap: 10px; text-decoration: none; }
    .logo-icon {
        width: auto; height: 60px;
        background: transparent;
        border-radius: 8px;
        display: flex; align-items: center; justify-content: center;
        color: #fff; font-size: 22px;
    }
    .logo-text { line-height: 1.1; }
    .logo-text strong { font-size: 22px; color: var(--primary); font-weight: 900; letter-spacing: -0.5px; }
    .logo-text span { display: block; font-size: 10px; color: var(--muted); letter-spacing: 2px; text-transform: uppercase; }
    .header-search {
        display: flex; align-items: center;
        
        overflow: hidden;
        max-width: 320px; width: 100%;
    }
    .header-search input {
        border: none; outline: none;
        padding: 9px 17px; flex: 1;
        font-size: 14px; background: transparent;
        width: 79%;
    }
    
    .header-search button {
        background: var(--primary); border: none;
        color: #fff; padding: 8px 16px; cursor: pointer;
        transition: background 0.2s;
    }
    .header-search button:hover { background: var(--primary-dark); }
    .slide-container {
        position: relative;
        border-radius: var(--radius);
        overflow: hidden;
        background: #111;
        aspect-ratio: 16/7;
        max-height: 420px;
    }
}
/* ===== NAV ===== */
.header-search {
    display: flex; align-items: center;
    
    overflow: hidden;
    max-width: 320px; width: 100%;
}
.header-search input {
    border: none; outline: none;
    padding: 8px 14px; flex: 1;
    font-size: 14px; background: transparent;
}
.header-search button {
    background: var(--primary); border: none;
    color: #fff; padding: 9px 17px; cursor: pointer;
    transition: background 0.2s;
}
.header-search button:hover { background: var(--primary-dark); }
nav {
    background: var(--primary);
    box-shadow: 0 2px 6px rgba(0,0,0,0.15);
}
nav .container { display: flex; align-items: center; }
nav .menu-toggle {
    display: none; background: none; border: none;
    color: #fff; font-size: 20px; padding: 12px;
    cursor: pointer;
}
nav ul {
    list-style: none; display: flex; flex-wrap: wrap;
    margin: 0; padding: 0;
}
nav ul li a {
    display: block; padding: 12px 16px;
    color: #fff; text-decoration: none;
    font-size: 13px; font-weight: 600;
    text-transform: uppercase; letter-spacing: 0.5px;
    transition: background 0.2s;
}
nav ul li a:hover, nav ul li a.active { background: var(--primary-dark); }
nav ul li a i { margin-right: 5px; font-size: 11px; }
#nav-menu { display: flex; }

/* ===== CONTAINER ===== */
.container { max-width: 1200px; margin: 0 auto; padding: 0 16px; }

/* ===== TICKER ===== */
.ticker-bar {
    background: var(--secondary);
    color: #fff;
    padding: 8px 0;
    overflow: hidden;
    font-size: 13px;
}
.ticker-bar .container { display: flex; align-items: center; gap: 10px; overflow: hidden; }
.ticker-label {
    background: var(--accent);
    padding: 2px 10px;
    border-radius: 3px;
    font-weight: bold;
    font-size: 11px;
    white-space: nowrap;
    flex-shrink: 0;
}
.ticker-track {
    display: flex;
    gap: 40px;
    white-space: nowrap;
    animation: ticker 30s linear infinite;
    flex-shrink: 0;
}

@keyframes ticker {
    from { transform: translateX(0); }
    to { transform: translateX(-50%); }
}
.ticker-track span { color: #ccc; }
.ticker-track span a { color: #fff; text-decoration: none; }
.ticker-track span a:hover { color: var(--accent); }

/* ===== MAIN LAYOUT ===== */
.main-wrapper { padding: 20px 0; }
.main-grid {
    display: grid;
    grid-template-columns: 1fr 300px;
    gap: 24px;
}

/* ===== SECTION TITLE ===== */
.section-title {
    display: flex; align-items: center; gap: 10px;
    margin-bottom: 16px;
}
.section-title h2 {
    font-size: 18px; font-weight: 800;
    text-transform: uppercase; letter-spacing: 0.5px;
    color: var(--secondary);
}
.section-title .bar {
    flex: 1; height: 3px;
    background: linear-gradient(to right, var(--primary), transparent);
    border-radius: 2px;
}
.section-title .icon-circle {
    width: 30px; height: 30px;
    background: var(--primary);
    border-radius: 50%;
    display: flex; align-items: center; justify-content: center;
    color: #fff; font-size: 12px; flex-shrink: 0;
}

/* ===== HERO SLIDE ===== */
.hero-section { margin-bottom: 24px; }

.slide {
    display: none;
    position: absolute;
    inset: 0;
    animation: fadeSlide 0.6s ease;
}
.slide.active { display: block; }
@keyframes fadeSlide { from { opacity: 0; } to { opacity: 1; } }
.slide img {
    width: 100%; height: 100%;
    object-fit: cover; display: block;
}
.slide-overlay {
    position: absolute; bottom: 0; left: 0; right: 0;
    background: linear-gradient(to top, rgba(0,0,0,0.88) 0%, transparent 100%);
    padding: 30px 24px 20px;
    color: #fff;
}
.slide-overlay .tag {
    background: var(--primary);
    padding: 3px 10px; border-radius: 3px;
    font-size: 11px; font-weight: 700;
    text-transform: uppercase; letter-spacing: 1px;
    display: inline-block; margin-bottom: 8px;
}
.slide-overlay h2 {
    font-size: clamp(16px, 3vw, 28px);
    line-height: 1.3; margin-bottom: 6px;
}
.slide-overlay p { font-size: 13px; color: #ccc; }
.slide-controls {
    position: absolute; bottom: 16px; right: 16px;
    display: flex; gap: 6px; z-index: 10;
}
.slide-dot {
    width: 10px; height: 10px; border-radius: 50%;
    background: rgba(255,255,255,0.4);
    cursor: pointer; transition: background 0.2s;
    border: none;
}
.slide-dot.active { background: var(--primary); transform: scale(1.2); }
.slide-btn {
    position: absolute; top: 50%; transform: translateY(-50%);
    background: rgba(0,0,0,0.5); border: none;
    color: #fff; width: 36px; height: 36px;
    border-radius: 50%; cursor: pointer;
    display: flex; align-items: center; justify-content: center;
    font-size: 16px; z-index: 10; transition: background 0.2s;
}
.slide-btn:hover { background: var(--primary); }
.slide-btn.prev { left: 12px; }
.slide-btn.next { right: 12px; }

/* ===== FEATURED NEWS ===== */
.featured-grid {
    display: grid;
    grid-template-columns: 2fr 1fr 1fr;
    gap: 16px;
    margin-bottom: 24px;
}
.news-card {
    background: var(--card-bg);
    border-radius: var(--radius);
    overflow: hidden;
    box-shadow: var(--shadow);
    transition: transform 0.2s, box-shadow 0.2s;
    cursor: pointer;
}
.news-card:hover { transform: translateY(-3px); box-shadow: 0 8px 20px rgba(0,0,0,0.12); }
.news-card img { width: 100%; height: 180px; object-fit: cover; display: block; }
.news-card.main-card img { height: 260px; }
.news-card .card-body { padding: 14px; }
.news-card .tag {
    display: inline-block;
    background: var(--primary);
    color: #fff;
    font-size: 10px; font-weight: 700;
    padding: 2px 8px; border-radius: 3px;
    text-transform: uppercase; letter-spacing: 1px;
    margin-bottom: 8px;
}
.news-card .tag.economia { background: #27ae60; }
.news-card .tag.politica { background: #2980b9; }
.news-card .tag.esporte { background: #8e44ad; }
.news-card .tag.saude { background: #16a085; }
.news-card .tag.policia { background: #7f8c8d; }
.news-card .tag.agro { background: #d35400; }
.news-card .tag.cultura { background: #c0392b; }
.news-card h3 {
    font-size: 15px; line-height: 1.4;
    margin-bottom: 8px; color: var(--text);
}
.news-card.main-card h3 { font-size: 20px; }
.news-card .meta {
    display: flex; align-items: center; gap: 10px;
    font-size: 11px; color: var(--muted);
}
.news-card .meta i { font-size: 10px; }

/* ===== ASIDE / SIDEBAR ===== */
.sidebar { display: flex; flex-direction: column; gap: 20px; }

/* ===== WIDGET ===== */
.widget {
    background: var(--card-bg);
    border-radius: var(--radius);
    box-shadow: var(--shadow);
    overflow: hidden;
}
.widget-header {
    background: var(--secondary);
    color: #fff;
    padding: 10px 14px;
    font-size: 13px; font-weight: 700;
    text-transform: uppercase; letter-spacing: 0.5px;
    display: flex; align-items: center; gap: 8px;
}
.widget-body { padding: 14px; }

/* ===== PREVISÃO DO TEMPO ===== */
.weather-current {
    display: flex; align-items: center; gap: 14px;
    margin-bottom: 14px;
    background: linear-gradient(135deg, #2980b9, #6dd5fa);
    border-radius: 8px; padding: 14px; color: #fff;
}
.weather-icon { font-size: 48px; }
.weather-info .city { font-size: 12px; opacity: 0.85; }
.weather-info .temp { font-size: 38px; font-weight: 700; line-height: 1; }
.weather-info .desc { font-size: 13px; opacity: 0.9; }
.weather-details { display: flex; gap: 8px; font-size: 11px; opacity: 0.8; margin-top: 4px; }
.weather-forecast {
    display: grid; grid-template-columns: repeat(4, 1fr);
    gap: 6px; margin-top: 10px;
}
.forecast-day {
    background: #f8f9fa; border-radius: 6px;
    padding: 8px 4px; text-align: center; font-size: 11px;
}
.forecast-day .day { color: var(--muted); font-weight: 600; margin-bottom: 4px; }
.forecast-day i { font-size: 18px; margin-bottom: 4px; display: block; }
.forecast-day .temps { color: var(--text); }
.forecast-day .temps span { color: var(--muted); }

/* ===== COTAÇÃO ===== */
.cotacao-list { display: flex; flex-direction: column; gap: 8px; }
.cotacao-item {
    display: flex; justify-content: space-between; align-items: center;
    padding: 10px 12px;
    background: #f8f9fa; border-radius: 6px;
    font-size: 13px;
}
.cotacao-item .moeda { font-weight: 700; display: flex; align-items: center; gap: 8px; }
.cotacao-item .moeda .flag { font-size: 18px; }
.cotacao-item .valor { font-weight: 700; font-size: 15px; }
.cotacao-item .variacao { font-size: 11px; padding: 2px 6px; border-radius: 10px; font-weight: 600; }
.variacao.up { background: #d5f5e3; color: #1e8449; }
.variacao.down { background: #fadbd8; color: #922b21; }
.cotacao-updated { text-align: center; font-size: 10px; color: var(--muted); margin-top: 8px; }

/* ===== ADS ===== */
.ad-block {
    background: var(--card-bg);
    border-radius: var(--radius);
    box-shadow: var(--shadow);
    overflow: hidden;
    text-align: center;
}
.ad-label {
    font-size: 9px; color: var(--muted);
    letter-spacing: 1px; text-transform: uppercase;
    padding: 4px; border-bottom: 1px solid var(--border);
}
.ad-content {
    padding: 12px;
    background: linear-gradient(135deg, #f5f7fa, #e8ecf0);
    min-height: 120px;
    display: flex; align-items: center; justify-content: center;
    flex-direction: column; gap: 6px;
    cursor: pointer; transition: opacity 0.2s;
}
.ad-content:hover { opacity: 0.9; }
.ad-content .ad-placeholder-icon { font-size: 28px; color: #bbb; }
.ad-content p { font-size: 11px; color: var(--muted); }
.ad-content strong { font-size: 13px; color: var(--secondary); }
.ad-banner .ad-content { min-height: 90px; }
.ad-leaderboard .ad-content {  }
.ad-rectangle .ad-content { min-height: 250px; }

/* ===== NEWS LIST ===== */
.news-list { display: flex; flex-direction: column; gap: 12px; }
.news-list-item {
    display: flex; gap: 12px;
    background: var(--card-bg);
    border-radius: var(--radius);
    overflow: hidden;
    box-shadow: var(--shadow);
    cursor: pointer;
    transition: transform 0.2s;
}
.news-list-item:hover { transform: translateX(3px); }
.news-list-item img {
    width: 100px; flex-shrink: 0;
    height: 80px; object-fit: cover;
}
.news-list-item .info { padding: 10px 10px 10px 0; flex: 1; }
.news-list-item .info h4 { font-size: 13px; line-height: 1.4; margin-bottom: 4px; }
.news-list-item .info .meta { font-size: 11px; color: var(--muted); }

/* ===== VIDEO SECTION ===== */
.video-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 16px;
    margin-bottom: 24px;
}
.video-card {
    background: var(--card-bg);
    border-radius: var(--radius);
    overflow: hidden;
    box-shadow: var(--shadow);
    cursor: pointer;
    transition: transform 0.2s;
}
.video-card:hover { transform: translateY(-3px); }
.video-thumb {
    position: relative;
    background: #111;
    aspect-ratio: 16/9;
}
.video-thumb img { width: 100%; height: 100%; object-fit: cover; display: block; }
.video-play {
    position: absolute; inset: 0;
    display: flex; align-items: center; justify-content: center;
    background: rgba(0,0,0,0.3);
    transition: background 0.2s;
}
.video-card:hover .video-play { background: rgba(0,0,0,0.5); }
.video-play i { font-size: 42px; color: #fff; filter: drop-shadow(0 2px 4px rgba(0,0,0,0.5)); }
.video-thumb .duration {
    position: absolute; bottom: 8px; right: 8px;
    background: rgba(0,0,0,0.8); color: #fff;
    font-size: 11px; padding: 2px 6px; border-radius: 3px;
}
.video-card .card-body { padding: 12px; }
.video-card h4 { font-size: 13px; line-height: 1.4; margin-bottom: 6px; }
.video-card .meta { font-size: 11px; color: var(--muted); }

/* ===== CATEGORY SECTIONS ===== */
.category-section { margin-bottom: 28px; }
.category-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 14px;
}
.category-card {
    background: var(--card-bg);
    border-radius: var(--radius);
    overflow: hidden;
    box-shadow: var(--shadow);
    cursor: pointer;
    transition: transform 0.2s;
}
.category-card:hover { transform: translateY(-2px); }
.category-card img { width: 100%; height: auto; object-fit: cover; display: block; }
.category-card .card-body { padding: 10px 12px; }
.category-card h4 { font-size: 13px; line-height: 1.4; margin-bottom: 4px; }
.category-card .meta { font-size: 10px; color: var(--muted); }

/* ===== AD FULL WIDTH ===== */
.ad-full {
    margin: 0 0 24px;
    border-radius: var(--radius);
    overflow: hidden;
    box-shadow: var(--shadow);
}
.ad-full .ad-content { }

/* ===== TRENDING ===== */
.trending-list { list-style: none; }
.trending-list li {
    display: flex; align-items: flex-start; gap: 10px;
    padding: 10px 0;
    border-bottom: 1px solid var(--border);
    font-size: 13px;
    cursor: pointer;
}
.trending-list li:last-child { border-bottom: none; }
.trending-list li:hover { color: var(--primary); }
.trending-num {
    font-size: 18px; font-weight: 900;
    color: var(--primary); flex-shrink: 0;
    line-height: 1.2; min-width: 22px;
}

/* ===== MOST READ ===== */
.most-read-list { display: flex; flex-direction: column; gap: 10px; }
.most-read-item {
    display: flex; align-items: center; gap: 10px;
    padding: 8px;
    background: #f8f9fa; border-radius: 6px;
    font-size: 12px; cursor: pointer;
    transition: background 0.2s;
}
.most-read-item:hover { background: #ebebeb; }
.most-read-item .rank {
    font-size: 18px; font-weight: 900;
    color: #ddd; flex-shrink: 0;
    width: 24px; text-align: center;
}
.most-read-item:nth-child(1) .rank { color: #f39c12; }
.most-read-item:nth-child(2) .rank { color: #95a5a6; }
.most-read-item:nth-child(3) .rank { color: #a04000; }

/* ===== NEWSLETTER ===== */
.newsletter-section {
    background: linear-gradient(135deg, var(--secondary), #3d566e);
    color: #fff;
    padding: 36px 0;
    margin: 24px 0;
}
.newsletter-section .container {
    display: flex; align-items: center; justify-content: space-between;
    gap: 24px; flex-wrap: wrap;
}
.newsletter-text h3 { font-size: 22px; margin-bottom: 6px; }
.newsletter-text p { color: #adb5bd; font-size: 14px; }
.newsletter-form { display: flex; gap: 0; flex-wrap: wrap; gap: 8px; }
.newsletter-form input {
    padding: 12px 16px; border: none; border-radius: 6px 0 0 6px;
    font-size: 14px; min-width: 260px; outline: none;
    border-radius: 6px;
}
.newsletter-form button {
    background: var(--primary); color: #fff;
    border: none; padding: 12px 24px;
    border-radius: 6px; cursor: pointer;
    font-size: 14px; font-weight: 600;
    transition: background 0.2s;
}
.newsletter-form button:hover { background: var(--primary-dark); }

/* ===== FOOTER ===== */
footer {
    background: var(--secondary);
    color: #adb5bd;
    padding: 40px 0 0;
}
.footer-grid {
    display: grid;
    grid-template-columns: 2fr 1fr 1fr 1fr;
    gap: 32px;
    margin-bottom: 32px;
}
.footer-col h4 {
    color: #fff; font-size: 14px;
    text-transform: uppercase; letter-spacing: 1px;
    margin-bottom: 16px;
    padding-bottom: 8px;
    border-bottom: 2px solid var(--primary);
    display: inline-block;
}
.footer-col p { font-size: 13px; line-height: 1.7; margin-bottom: 14px; }
.footer-social { display: flex; gap: 8px; flex-wrap: wrap; }
.footer-social a {
    width: 36px; height: 36px;
    border-radius: 6px;
    display: flex; align-items: center; justify-content: center;
    font-size: 16px; color: #fff; text-decoration: none;
    transition: transform 0.2s, opacity 0.2s;
}
.footer-social a:hover { transform: translateY(-2px); opacity: 0.85; }
.footer-social .fb { background: #1877f2; }
.footer-social .tw { background: #1da1f2; }
.footer-social .ig { background: linear-gradient(45deg, #f09433, #e6683c, #dc2743, #cc2366, #bc1888); }
.footer-social .yt { background: #ff0000; }
.footer-social .wa { background: #25d366; }
.footer-social .tg { background: #0088cc; }
.footer-links { list-style: none; }
.footer-links li { margin-bottom: 8px; }
.footer-links a { color: #adb5bd; text-decoration: none; font-size: 13px; transition: color 0.2s; display: flex; align-items: center; gap: 6px; }
.footer-links a:hover { color: #fff; }
.footer-links a::before { content: '›'; color: var(--primary); font-size: 16px; }
.footer-bottom {
    border-top: 1px solid rgba(255,255,255,0.1);
    padding: 16px 0;
    display: flex; justify-content: space-between; align-items: center;
    flex-wrap: wrap; gap: 10px;
    font-size: 12px;
}
.footer-bottom a { color: #adb5bd; text-decoration: none; }
.footer-bottom a:hover { color: #fff; }

/* ===== WHATSAPP BTN ===== */
.whatsapp-btn {
    position: fixed; bottom: 24px; right: 24px;
    background: #25d366;
    color: #fff; width: 58px; height: 58px;
    border-radius: 50%; display: flex;
    align-items: center; justify-content: center;
    font-size: 28px; text-decoration: none;
    box-shadow: 0 4px 16px rgba(37,211,102,0.4);
    z-index: 999;
    transition: transform 0.2s, box-shadow 0.2s;
    animation: pulse-wa 2s infinite;
}
.whatsapp-btn:hover { transform: scale(1.1); box-shadow: 0 6px 20px rgba(37,211,102,0.6); }
@keyframes pulse-wa {
    0%, 100% { box-shadow: 0 4px 16px rgba(37,211,102,0.4); }
    50% { box-shadow: 0 4px 24px rgba(37,211,102,0.7), 0 0 0 8px rgba(37,211,102,0.1); }
}
.whatsapp-tooltip {
    position: fixed; bottom: 32px; right: 90px;
    background: #fff; color: #333;
    padding: 8px 14px; border-radius: 6px;
    font-size: 12px; box-shadow: 0 2px 8px rgba(0,0,0,0.15);
    z-index: 998; white-space: nowrap;
    opacity: 0; pointer-events: none;
    transition: opacity 0.2s;
}
.whatsapp-btn:hover + .whatsapp-tooltip, .whatsapp-tooltip:hover { opacity: 1; }

/* ===== BACK TO TOP ===== */
.back-to-top {
    position: fixed; bottom: 24px; left: 24px;
    background: var(--secondary);
    color: #fff; width: 42px; height: 42px;
    border-radius: 8px; display: flex;
    align-items: center; justify-content: center;
    font-size: 16px; cursor: pointer;
    box-shadow: var(--shadow); border: none;
    z-index: 999; transition: background 0.2s;
    opacity: 0; pointer-events: none;
}
.back-to-top.show { opacity: 1; pointer-events: all; }
.back-to-top:hover { background: var(--primary); }

/* ===== BREAKING NEWS BAR ===== */
.breaking-bar {
    background: var(--primary);
    color: #fff;
    padding: 8px 0;
    font-size: 13px;
}
.breaking-bar .container { display: flex; align-items: center; gap: 10px; }
.breaking-label {
    background: #fff; color: var(--primary);
    font-weight: 900; padding: 2px 10px;
    border-radius: 3px; font-size: 11px;
    text-transform: uppercase; letter-spacing: 1px;
    flex-shrink: 0; animation: blink 1.5s infinite;
}
@keyframes blink { 0%,100% { opacity:1; } 50% { opacity:0.5; } }
.breaking-text { overflow: hidden; }
.breaking-scroll { white-space: nowrap; animation: ticker 20s linear infinite; display: inline-block; }

/* ===== RESPONSIVE ===== */
@media (max-width: 1024px) {
    .main-grid { grid-template-columns: 1fr; }
    .sidebar { display: grid; grid-template-columns: 1fr 1fr; }
    .footer-grid { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 768px) {
    .featured-grid { grid-template-columns: 1fr; }
    .video-grid { grid-template-columns: 1fr 1fr; }
    .category-grid { grid-template-columns: 1fr 1fr; }
    .sidebar { grid-template-columns: 1fr; }
    #nav-menu { display: none; flex-direction: column; position: absolute; top: 100%; left: 0; right: 0; background: var(--primary-dark); z-index: 200; }
    #nav-menu.open { display: flex; }
    nav .menu-toggle { display: block; }
    nav { position: relative; }
    .footer-grid { grid-template-columns: 1fr; gap: 20px; }
    .newsletter-section .container { flex-direction: column; text-align: center; }
    .cotacao-bar { display: none !important; }
}
@media (max-width: 480px) {
    .video-grid { grid-template-columns: 1fr; }
    .category-grid { grid-template-columns: 1fr; }
    .weather-forecast { grid-template-columns: repeat(2, 1fr); }
}
/* ===== ARTICLE ===== */
  .article-container { background: var(--card-bg); border-radius: var(--radius); box-shadow: var(--shadow); overflow: hidden; }

  .article-header { padding: 28px 32px 0; }
  .article-category-bar { display: flex; align-items: center; gap: 10px; margin-bottom: 14px; }
  .article-tag {
    display: inline-block; padding: 4px 14px; border-radius: 4px;
    font-size: 11px; font-weight: 700; text-transform: uppercase;
    letter-spacing: 1px; color: #fff; background: var(--primary);
  }
  .article-tag.economia { background: #27ae60; }
  .article-tag.politica { background: #2980b9; }
  .article-tag.esporte { background: #8e44ad; }
  .article-tag.saude { background: #16a085; }
  .article-tag.policia { background: #7f8c8d; }
  .article-tag.agro { background: #d35400; }
  .article-tag.cultura { background: #e74c3c; }

  .article-header h1 {
    font-size: clamp(22px, 3.5vw, 34px);
    font-weight: 900; line-height: 1.25;
    color: var(--secondary); margin-bottom: 14px;
    letter-spacing: -.3px;
  }
  .article-header .subtitle {
    font-size: 17px; color: #555; line-height: 1.6;
    font-weight: 400; margin-bottom: 18px;
    border-left: 4px solid var(--primary);
    padding-left: 14px; background: #fafafa;
    padding: 12px 16px; border-radius: 0 6px 6px 0;
  }

  .article-meta {
    display: flex; align-items: center; flex-wrap: wrap; gap: 16px;
    padding: 14px 0; border-top: 1px solid var(--border); border-bottom: 1px solid var(--border);
    margin-bottom: 0; font-size: 13px; color: var(--muted);
  }
  .article-meta .author { display: flex; align-items: center; gap: 8px; }
  .author-avatar {
    width: 36px; height: 36px; border-radius: 50%;
    background: var(--primary); color: #fff;
    display: flex; align-items: center; justify-content: center;
    font-size: 14px; font-weight: 700; flex-shrink: 0;
  }
  .author-info .name { font-weight: 700; color: var(--text); font-size: 13px; }
  .author-info .role { font-size: 11px; color: var(--muted); }
  .meta-sep { color: var(--border); }
  .meta-item { display: flex; align-items: center; gap: 5px; }

  /* ===== SHARE BAR ===== */
  .share-bar {
    display: flex; align-items: center; gap: 8px; flex-wrap: wrap;
    padding: 14px 32px; background: #fafafa;
    border-bottom: 1px solid var(--border); font-size: 13px;
  }
  .share-label { color: var(--muted); font-weight: 600; margin-right: 4px; }
  .share-btn {
    display: flex; align-items: center; gap: 6px;
    padding: 7px 14px; border-radius: 6px;
    color: #fff; font-size: 12px; font-weight: 600;
    text-decoration: none; cursor: pointer; border: none;
    transition: opacity .2s, transform .15s;
  }
  .share-btn:hover { opacity: .88; transform: translateY(-1px); }
  .share-btn.fb { background: #1877f2; }
  .share-btn.wa { background: #25d366; }
  .share-btn.tw { background: #1da1f2; }
  .share-btn.tg { background: #0088cc; }
  .share-btn.cp { background: var(--secondary); }
  .share-count { margin-left: auto; display: flex; align-items: center; gap: 6px; color: var(--muted); font-size: 12px; }

  /* ===== FEATURED IMAGE ===== */
  .article-featured-img { position: relative; margin: 0; }
  .article-featured-img img { width: 100%; max-height: 480px; object-fit: cover; display: block; }
  .img-caption {
    background: rgba(0,0,0,.65); color: #ddd;
    font-size: 11px; padding: 8px 16px;
    font-style: italic;
  }
  .img-caption i { margin-right: 4px; }

  /* ===== ARTICLE BODY ===== */
  .article-body { padding: 28px 32px; }
  .article-body p {
    font-size: 16px; line-height: 1.85;
    color: #333; margin-bottom: 20px;
    text-align: justify;
  }
  .article-body p:first-child::first-letter {
    font-size: 62px; font-weight: 900;
    float: left; line-height: .75;
    margin: 4px 10px 0 0;
    color: var(--primary);
  }
  .article-body h2 {
    font-size: 22px; font-weight: 800;
    color: var(--secondary); margin: 30px 0 14px;
    padding-bottom: 8px;
    border-bottom: 2px solid var(--border);
  }
  .article-body h3 {
    font-size: 18px; font-weight: 700;
    color: var(--secondary); margin: 24px 0 12px;
  }
  .article-body .highlight-box {
    background: linear-gradient(135deg, #fff5f5, #ffe8e8);
    border-left: 5px solid var(--primary);
    border-radius: 0 8px 8px 0;
    padding: 18px 20px; margin: 24px 0;
    font-size: 15px; color: #444; line-height: 1.7;
    font-style: italic;
  }
  .article-body .highlight-box strong { color: var(--primary); font-style: normal; }
  .article-body blockquote {
    border-left: 5px solid var(--primary);
    margin: 28px 0; padding: 16px 24px;
    background: #f9f9f9; border-radius: 0 8px 8px 0;
    font-size: 18px; color: #444; font-style: italic;
    line-height: 1.6;
  }
  .article-body blockquote cite {
    display: block; font-size: 12px;
    font-style: normal; margin-top: 8px;
    color: var(--muted);
  }
  .article-body .info-box {
    background: #eaf4fb; border: 1px solid #aed6f1;
    border-radius: 8px; padding: 18px 20px; margin: 24px 0;
  }
  .article-body .info-box h4 { color: #2980b9; margin-bottom: 10px; font-size: 14px; text-transform: uppercase; letter-spacing: 1px; }
  .article-body .info-box ul { padding-left: 20px; font-size: 14px; line-height: 2; }
  .article-body .article-img-inline { margin: 24px 0; border-radius: 8px; overflow: hidden; box-shadow: var(--shadow); }
  .article-body .article-img-inline img { width: 100%; display: block; }
  .article-body .article-img-inline .caption { font-size: 11px; color: var(--muted); padding: 8px 12px; background: #f8f9fa; font-style: italic; }
  .article-body ul { padding-left: 24px; margin-bottom: 20px; font-size: 16px; line-height: 2; }
  .article-body ul li::marker { color: var(--primary); }
  .article-body .data-box {
    background: var(--secondary); color: #fff;
    border-radius: 10px; padding: 22px;
    margin: 28px 0; display: grid;
    grid-template-columns: repeat(3, 1fr); gap: 16px;
    text-align: center;
  }
  .data-box .stat-val { font-size: 28px; font-weight: 900; color: #fff; }
  .data-box .stat-label { font-size: 11px; color: #adb5bd; margin-top: 4px; text-transform: uppercase; letter-spacing: 1px; }
  .data-box .stat-change { font-size: 12px; margin-top: 2px; }
  .data-box .stat-change.up { color: #2ecc71; }
  .data-box .stat-change.down { color: #e74c3c; }

  /* ===== TAGS FOOTER ===== */
  .article-tags { padding: 0 32px 20px; display: flex; flex-wrap: wrap; gap: 8px; align-items: center; }
  .article-tags span { font-size: 12px; font-weight: 600; color: var(--muted); }
  .article-tags a {
    padding: 4px 12px; border: 1px solid var(--border);
    border-radius: 20px; font-size: 12px; text-decoration: none;
    color: var(--muted); transition: all .2s;
  }
  .article-tags a:hover { border-color: var(--primary); color: var(--primary); background: #fff5f5; }

  /* ===== AUTHOR BOX ===== */
  .author-box {
    margin: 0 32px 28px;
    background: #f8f9fa;
    border-radius: 10px; padding: 20px;
    display: flex; gap: 18px;
    border: 1px solid var(--border);
  }
  .author-box-avatar {
    width: 72px; height: 72px; border-radius: 50%;
    background: linear-gradient(135deg, var(--primary), var(--accent));
    display: flex; align-items: center; justify-content: center;
    color: #fff; font-size: 26px; font-weight: 900; flex-shrink: 0;
  }
  .author-box-info h4 { font-size: 16px; color: var(--secondary); margin-bottom: 4px; }
  .author-box-info .author-role { font-size: 11px; color: var(--primary); text-transform: uppercase; letter-spacing: 1px; font-weight: 700; margin-bottom: 8px; }
  .author-box-info p { font-size: 13px; color: var(--muted); line-height: 1.6; }
  .author-box-social { display: flex; gap: 8px; margin-top: 10px; }
  .author-box-social a { width: 28px; height: 28px; border-radius: 6px; display: flex; align-items: center; justify-content: center; color: #fff; font-size: 12px; text-decoration: none; }
  .author-box-social .tw { background: #1da1f2; }
  .author-box-social .ig { background: #bc1888; }
  .author-box-social .li { background: #0a66c2; }

  /* ===== SHARE BOTTOM ===== */
  .share-bottom {
    margin: 0 32px 28px; padding: 20px;
    background: linear-gradient(135deg, #f8f9fa, #eff1f3);
    border-radius: 10px; text-align: center;
  }
  .share-bottom h4 { font-size: 15px; color: var(--secondary); margin-bottom: 14px; }
  .share-bottom .share-btns { display: flex; justify-content: center; gap: 10px; flex-wrap: wrap; }

  /* ===== COMMENTS ===== */
  .comments-section { padding: 0 32px 32px; }
  .comments-section .section-title { display: flex; align-items: center; gap: 10px; margin-bottom: 20px; }
  .comments-section .section-title h3 { font-size: 18px; font-weight: 800; color: var(--secondary); }
  .comments-section .section-title .bar { flex: 1; height: 3px; background: linear-gradient(to right, var(--primary), transparent); border-radius: 2px; }
  .comment-form { margin-bottom: 28px; }
  .comment-form textarea {
    width: 100%; padding: 14px; border: 2px solid var(--border);
    border-radius: 8px; font-size: 14px; font-family: inherit;
    resize: vertical; min-height: 110px; outline: none;
    transition: border-color .2s;
  }
  .comment-form textarea:focus { border-color: var(--primary); }
  .comment-form-row { display: flex; gap: 10px; margin-top: 10px; }
  .comment-form input {
    flex: 1; padding: 10px 14px; border: 2px solid var(--border);
    border-radius: 8px; font-size: 14px; outline: none; transition: border-color .2s;
  }
  .comment-form input:focus { border-color: var(--primary); }
  .comment-form button {
    background: var(--primary); color: #fff; border: none;
    padding: 10px 24px; border-radius: 8px; font-size: 14px;
    font-weight: 700; cursor: pointer; transition: background .2s;
    white-space: nowrap;
  }
  .comment-form button:hover { background: var(--primary-dark); }
  .comment-list { display: flex; flex-direction: column; gap: 18px; }
  .comment-item { display: flex; gap: 14px; }
  .comment-avatar {
    width: 42px; height: 42px; border-radius: 50%; flex-shrink: 0;
    display: flex; align-items: center; justify-content: center;
    font-weight: 700; font-size: 16px; color: #fff;
  }
  .comment-bubble { flex: 1; background: #f8f9fa; border-radius: 0 10px 10px 10px; padding: 14px 16px; border: 1px solid var(--border); }
  .comment-bubble .name { font-weight: 700; font-size: 13px; color: var(--secondary); }
  .comment-bubble .time { font-size: 11px; color: var(--muted); margin-bottom: 6px; }
  .comment-bubble p { font-size: 14px; color: #444; line-height: 1.6; }
  .comment-actions { display: flex; gap: 14px; margin-top: 8px; }
  .comment-actions button { background: none; border: none; font-size: 12px; color: var(--muted); cursor: pointer; display: flex; align-items: center; gap: 4px; transition: color .2s; }
  .comment-actions button:hover { color: var(--primary); }
  .comment-reply { margin-left: 56px; }
  .comment-reply .comment-bubble { background: #fff; border-left: 3px solid var(--primary); }


  /* ===== MOST READ ===== */
  .most-read-list { display: flex; flex-direction: column; gap: 8px; }
  .most-read-item { display: flex; align-items: flex-start; gap: 10px; padding: 8px; background: #f8f9fa; border-radius: 6px; font-size: 12px; cursor: pointer; transition: background .2s; }
  .most-read-item:hover { background: #ebebeb; }
  .most-read-item .rank { font-size: 17px; font-weight: 900; color: #ddd; flex-shrink: 0; width: 22px; text-align: center; line-height: 1.3; }
  .most-read-item:nth-child(1) .rank { color: #f39c12; }
  .most-read-item:nth-child(2) .rank { color: #95a5a6; }
  .most-read-item:nth-child(3) .rank { color: #a04000; }

  /* ===== SOCIAL WIDGET ===== */
  .social-list { display: flex; flex-direction: column; gap: 7px; }
  .social-list a { display: flex; align-items: center; gap: 10px; padding: 9px 12px; border-radius: 6px; text-decoration: none; color: #fff; font-size: 12px; font-weight: 600; transition: opacity .2s; }
  .social-list a:hover { opacity: .88; }
  .social-list .fb { background: #1877f2; }
  .social-list .ig { background: linear-gradient(45deg,#f09433,#dc2743,#bc1888); }
  .social-list .yt { background: #ff0000; }
  .social-list .wa { background: #25d366; }
  .social-list .tg { background: #0088cc; }
  .social-list a span { margin-left: auto; opacity: .8; font-size: 10px; }


  /* ===== PROGRESS BAR ===== */
  .reading-progress { position: fixed; top: 0; left: 0; height: 3px; background: var(--primary); z-index: 9999; transition: width .1s; width: 0%; }

  /* ===== FONT SIZE TOOLBAR ===== */
  .article-toolbar {
    display: flex; align-items: center; justify-content: space-between;
    padding: 10px 32px; background: #fafafa;
    border-bottom: 1px solid var(--border); flex-wrap: wrap; gap: 8px;
  }
  .font-controls { display: flex; align-items: center; gap: 6px; }
  .font-controls span { font-size: 12px; color: var(--muted); }
  .font-btn { background: #fff; border: 1px solid var(--border); border-radius: 5px; padding: 4px 10px; cursor: pointer; font-size: 13px; transition: all .2s; }
  .font-btn:hover { border-color: var(--primary); color: var(--primary); }
  .toolbar-actions { display: flex; align-items: center; gap: 8px; }
  .toolbar-btn { background: #fff; border: 1px solid var(--border); border-radius: 5px; padding: 5px 12px; cursor: pointer; font-size: 12px; color: var(--muted); display: flex; align-items: center; gap: 5px; transition: all .2s; }
  .toolbar-btn:hover { border-color: var(--primary); color: var(--primary); }

  /* ===== RESPONSIVE ===== */
  @media (max-width: 1024px) { .main-grid { grid-template-columns: 1fr; } .footer-grid { grid-template-columns: 1fr 1fr; } }
  @media (max-width: 768px) {
    .article-header { padding: 18px 18px 0; }
    .share-bar { padding: 12px 18px; }
    .article-body { padding: 18px 18px; }
    .article-body p { font-size: 15px; }
    .article-tags { padding: 0 18px 16px; }
    .author-box { margin: 0 18px 22px; }
    .share-bottom { margin: 0 18px 22px; }
    .comments-section { padding: 0 18px 24px; }
    .article-toolbar { padding: 10px 18px; }
    .data-box { grid-template-columns: 1fr 1fr; }
    nav .menu-toggle { display: block; }
    #nav-menu { display: none; flex-direction: column; position: absolute; top: 100%; left: 0; right: 0; background: var(--primary-dark); z-index: 200; }
    #nav-menu.open { display: flex; }
    nav { position: relative; }
    .cotacao-bar { display: none !important; }
    .footer-grid { grid-template-columns: 1fr; }
    .newsletter-section .container { flex-direction: column; text-align: center; }
  }
  @media (max-width: 480px) {
    .article-body p:first-child::first-letter { font-size: 44px; }
    .share-btn { padding: 6px 10px; font-size: 11px; }
    .data-box { grid-template-columns: 1fr; }
    .comment-form-row { flex-direction: column; }
  }
