/* ================= NEWS SECTION ================= */

.news-section{
padding:70px 0;
background:#f8fafc;
}

.news-section .container{
max-width:1200px;
margin:auto;
padding:0 16px;
}

/* HEADER */

.news-header{
display:flex;
justify-content:space-between;
align-items:center;
margin-bottom:40px;
}

.news-header h2{
font-size:34px;
font-weight:800;
color:#1e293b;
}

.news-divider{
width:70px;
height:4px;
background:#2563eb;
border-radius:4px;
margin-top:6px;
}

.news-more-btn{
border:1px solid #2563eb;
color:#2563eb;
padding:8px 16px;
border-radius:6px;
text-decoration:none;
font-weight:600;
transition:.3s;
}

.news-more-btn:hover{
background:#2563eb;
color:white;
}

/* GRID */

.news-grid{
display:grid;
grid-template-columns:2fr 1fr;
gap:30px;
}

/* FEATURED */

.featured-card{
background:white;
border-radius:12px;
overflow:hidden;
box-shadow:0 10px 25px rgba(0,0,0,0.08);
transition:.3s;
}

.featured-card:hover{
transform:translateY(-4px);
}

.featured-image{
position:relative;
}

.featured-image img{
width:100%;
height:260px;
object-fit:cover;
}

.category{
position:absolute;
top:14px;
left:14px;
color:white;
padding:6px 12px;
border-radius:20px;
font-size:12px;
font-weight:700;
}

.readtime{
position:absolute;
bottom:14px;
right:14px;
background:rgba(0,0,0,0.7);
color:white;
padding:4px 10px;
border-radius:20px;
font-size:12px;
}

.featured-content{
padding:24px;
}

.featured-content h3{
font-size:22px;
margin-bottom:12px;
}

.featured-content p{
color:#64748b;
margin-bottom:16px;
}

.news-meta{
display:flex;
justify-content:space-between;
font-size:14px;
color:#64748b;
}

.read-more{
color:#2563eb;
font-weight:600;
}

/* SIDE NEWS */

.side-news{
display:flex;
flex-direction:column;
gap:20px;
}

.side-card{
display:flex;
background:white;
border-radius:10px;
overflow:hidden;
box-shadow:0 6px 15px rgba(0,0,0,0.06);
text-decoration:none;
color:inherit;
transition:.3s;
}

.side-card:hover{
transform:translateY(-3px);
}

.side-image{
position:relative;
width:120px;
flex-shrink:0;
}

.side-image img{
width:100%;
height:100%;
object-fit:cover;
}

.side-content{
padding:14px;
}

.side-content h4{
font-size:15px;
margin-bottom:6px;
}

.side-content p{
font-size:13px;
color:#64748b;
margin-bottom:6px;
}

.news-date{
font-size:12px;
color:#94a3b8;
}

/* CATEGORY COLORS */

.category.blue{background:#3b82f6;}
.category.green{background:#22c55e;}
.category.orange{background:#f97316;}
.category.red{background:#ef4444;}
.category.primary{background:#2563eb;}

/* RESPONSIVO */

@media(max-width:900px){

.news-grid{
grid-template-columns:1fr;
}

.side-card{
flex-direction:column;
}

.side-image{
width:100%;
height:160px;
}

}

@media(max-width:500px){

.featured-image img{
height:200px;
}

.news-header h2{
font-size:26px;
}

}