/*
Theme Name: Portal Expresso PRO
Author: Expresso Rio
Version: 2.0
Description: Tema estilo portal de notícias (Metrópoles/G1) otimizado para SEO e velocidade
*/

/* RESET */

* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
  }

/* BASE */
body {
font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Arial, sans-serif;
background: #f1f1f1;
color: #111;
line-height: 1.5;
}

/* CONTAINER */
.container {
max-width: 1200px;
margin: auto;
background: #fff;
}

/* HEADER */
.header {
border-bottom: 1px solid #eee;
padding: 15px 20px;
background: #ffffff;
}

.logo {
font-size: 24px;
font-weight: bold;
color: #e10600;
}

/* MENU */
.menu {
display: flex;
gap: 15px;
margin-top: 10px;
}

.menu a {
text-decoration: none;
color: #333;
font-size: 14px;
font-weight: 600;
}

.menu a:hover {
color: #e10600;
}

/* DESTAQUE PRINCIPAL */
.destaque {
padding: 20px;
border-bottom: 1px solid #eee;
}

.destaque h1 {
font-size: 30px;
line-height: 1.3;
font-weight: 700;
}

.destaque a {
text-decoration: none;
color: #111;
}

.destaque a:hover h1 {
color: #e10600;
}

/* SUBDESTAQUE */
.subdestaque {
padding: 0 20px 15px;
color: #555;
font-size: 15px;
}

/* ÚLTIMAS NOTÍCIAS */
.lista {
display: flex;
flex-direction: column;
}

.lista a {
padding: 12px 20px;
border-bottom: 1px solid #eee;
font-size: 15px;
color: #222;
text-decoration: none;
transition: all 0.2s ease;
}

.lista a:hover {
background: #fafafa;
color: #e10600;
}

/* GRID DE NOTÍCIAS */
.grid {
display: grid;
grid-template-columns: repeat(3, 1fr);
gap: 18px;
padding: 20px;
}

.card {
display: block;
}

.card img {
width: 100%;
height: auto;
border-radius: 6px;
}

.card a {
display: block;
margin-top: 8px;
font-size: 16px;
font-weight: 600;
text-decoration: none;
color: #111;
}

.card a:hover {
color: #e10600;
}

/* CATEGORIA */
.categoria {
font-size: 12px;
font-weight: bold;
color: #e10600;
text-transform: uppercase;
margin-bottom: 5px;
}

/* SIDEBAR */
.sidebar {
padding: 20px;
border-left: 1px solid #eee;
}

.sidebar h3 {
font-size: 18px;
margin-bottom: 10px;
}

.sidebar a {
display: block;
font-size: 14px;
margin-bottom: 8px;
text-decoration: none;
color: #333;
}

.sidebar a:hover {
color: #e10600;
}

/* FOOTER */
.footer {
margin-top: 30px;
padding: 20px;
background: #111;
color: #fff;
text-align: center;
font-size: 14px;
}

/* RESPONSIVO */
@media (max-width: 1024px) {
.grid {
grid-template-columns: repeat(2, 1fr);
}
}

@media (max-width: 768px) {

.menu {
flex-wrap: wrap;
}

.grid {
grid-template-columns: 1fr;
}

.destaque h1 {
font-size: 22px;
}

}

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

/* LINKS */
a {
transition: color 0.2s ease;
}
