:root { --blue: #00AEEF; --dark: #1A1A1B; --light-gray: #F4F7F6; }

* { box-sizing: border-box; margin: 0; padding: 0; }
body { font-family: 'Inter', sans-serif; background-color: var(--light-gray); color: var(--dark); line-height: 1.5; }
.container { max-width: 1000px; margin: 0 auto; padding: 0 20px; }

/* Header */
.top-nav { background: #fff; padding: 20px 0; border-bottom: 4px solid var(--blue); position: sticky; top: 0; z-index: 100; }
.flex-header { display: flex; justify-content: space-between; align-items: center; }
.logo { font-size: 24px; font-weight: 800; }
.logo strong { color: var(--blue); }
.city-label { font-size: 12px; font-weight: bold; background: #eee; padding: 5px 10px; border-radius: 4px; }

/* Manchete Principal (Blocos Separados) */
.main-story { background: #fff; margin-top: 30px; border-radius: 12px; overflow: hidden; box-shadow: 0 4px 15px rgba(0,0,0,0.05); }
.story-image { width: 100%; height: 450px; } /* Altura fixa para não quebrar no PC */
.story-image img { width: 100%; height: 100%; object-fit: cover; }

.story-details { padding: 30px; }
.category-tag { background: var(--blue); color: #fff; padding: 4px 10px; border-radius: 4px; font-size: 11px; font-weight: bold; }
h1 { font-size: 32px; font-weight: 900; margin: 15px 0; line-height: 1.2; }

/* Caixa IA */
.ai-summary { background: #F0F9FF; border-left: 5px solid var(--blue); padding: 20px; border-radius: 8px; margin-top: 20px; }
.ai-title { font-weight: 800; color: var(--blue); font-size: 13px; margin-bottom: 10px; }
.ai-summary ul { padding-left: 20px; }
.ai-summary li { margin-bottom: 8px; font-size: 15px; }

/* Feed de Notícias */
.feed-title { margin: 40px 0 20px; font-size: 20px; font-weight: 800; border-bottom: 2px solid var(--dark); display: inline-block; }
.news-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(280px, 1fr)); gap: 20px; margin-bottom: 60px; }
.news-card { background: #fff; border-radius: 8px; border: 1px solid #ddd; overflow: hidden; text-decoration: none; color: inherit; transition: 0.3s; }
.news-card:hover { border-color: var(--blue); transform: translateY(-3px); }
.news-card img { width: 100%; height: 180px; object-fit: cover; }
.news-card-body { padding: 15px; }
.news-card h3 { font-size: 15px; font-weight: 700; line-height: 1.4; }

.footer { text-align: center; padding: 50px; background: #fff; border-top: 1px solid #ddd; font-size: 13px; }

@media (max-width: 768px) {
    .story-image { height: 250px; }
    h1 { font-size: 22px; }
}