/*
Theme Name: SpeedNews Pro
Theme URI: https://seusite.com/
Author: Seu Nome
Author URI: https://seusite.com/
Description: Tema focado em Core Web Vitals com LCP de 0.9s e alta conversão de AdSense.
Version: 1.0
License: GNU General Public License v2 or later
License URI: http://www.gnu.org/licenses/gpl-2.0.html
Text Domain: speednews
*/

/* --- RESET E VARIAVEIS --- */
:root { 
    --primary: #1a1a1a; 
    --accent: #e63946; 
    --bg: #ffffff; 
    --text-light: #666;
    --border: #eee;
}

* { box-sizing: border-box; }

body { 
    font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif; 
    margin: 0; 
    color: var(--primary); 
    line-height: 1.6; 
    background: var(--bg);
}

.container { max-width: 1100px; margin: 0 auto; padding: 0 20px; }

/* --- HEADER FIXO --- */
header { 
    height: 60px; 
    background: #fff; 
    border-bottom: 1px solid var(--border); 
    position: sticky; 
    top: 0; 
    z-index: 1000; 
}

.header-content {
    display: flex;
    justify-content: space-between;
    align-items: center;
    height: 100%;
}

.logo a { 
    font-size: 1.5rem; 
    font-weight: 900; 
    text-decoration: none; 
    color: var(--accent); 
}

nav ul { list-style: none; display: flex; margin: 0; padding: 0; }
nav ul li { margin-left: 20px; }
nav ul li a { text-decoration: none; color: var(--primary); font-weight: 500; font-size: 0.9rem; }

/* --- GRID DE NOTICIAS --- */
.news-grid { 
    display: grid; 
    grid-template-columns: repeat(auto-fill, minmax(300px, 1fr)); 
    gap: 30px; 
    margin-top: 20px; 
}

.post-card { border-bottom: 1px solid var(--border); padding-bottom: 15px; }
.post-card a { text-decoration: none; color: inherit; }
.post-card img { 
    width: 100%; 
    aspect-ratio: 16/9; 
    object-fit: cover; 
    border-radius: 4px; 
    background: #eee; 
    display: block;
}

.post-card h2 { font-size: 1.2rem; margin: 15px 0 10px; line-height: 1.3; }
.post-card p { font-size: 0.9rem; color: var(--text-light); }

/* --- ADS PLACEHOLDERS (ANTI-CLS) --- */
.ad-placeholder { 
    background: #f9f9f9; 
    display: flex; 
    justify-content: center; 
    align-items: center; 
    margin: 20px 0; 
    min-height: 250px; 
    border: 1px dashed #ddd;
    clear: both;
}

.ad-top { min-height: 90px; }

/* --- ARTIGO (SINGLE) --- */
.entry-content { font-size: 1.15rem; max-width: 800px; margin: 0 auto; }
.entry-content p { margin-bottom: 1.5rem; }
.entry-content img { max-width: 100%; height: auto; }

/* --- RODAPÉ --- */
footer { background: var(--primary); color: #fff; padding: 40px 0; margin-top: 50px; text-align: center; }