
/*
Theme Name: DIÁRIO73 Premium
Author: DIÁRIO73
Version: 2.0
*/

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

body{
font-family:Arial,sans-serif;
background:#efefef;
color:#111;
}

a{
text-decoration:none;
color:inherit;
}

.topbar{
background:#111;
color:#fff;
padding:8px 0;
font-size:14px;
}

.container{
width:1200px;
margin:auto;
}

.header{
background:#c40000;
padding:18px 0;
}

.logo{
font-size:42px;
font-weight:900;
color:#fff;
}

.nav{
background:#fff;
border-bottom:3px solid #c40000;
}

.nav ul{
display:flex;
list-style:none;
gap:25px;
padding:15px 0;
font-weight:bold;
}

.hero{
display:grid;
grid-template-columns:2fr 1fr;
gap:20px;
margin-top:20px;
}

.hero-main{
position:relative;
height:500px;
overflow:hidden;
border-radius:6px;
}

.hero-main img{
width:100%;
height:100%;
object-fit:cover;
}

.overlay{
position:absolute;
bottom:0;
left:0;
right:0;
padding:30px;
background:linear-gradient(transparent,rgba(0,0,0,.9));
color:#fff;
}

.overlay h1{
font-size:42px;
line-height:1.1;
}

.side-news{
display:flex;
flex-direction:column;
gap:20px;
}

.side-card{
background:#fff;
border-radius:6px;
overflow:hidden;
box-shadow:0 2px 6px rgba(0,0,0,.08);
}

.side-card img{
width:100%;
height:170px;
object-fit:cover;
}

.side-card .content{
padding:15px;
}

.section-title{
font-size:28px;
margin:40px 0 20px;
border-left:6px solid #c40000;
padding-left:12px;
}

.news-grid{
display:grid;
grid-template-columns:repeat(3,1fr);
gap:20px;
}

.news-card{
background:#fff;
border-radius:6px;
overflow:hidden;
box-shadow:0 2px 6px rgba(0,0,0,.08);
}

.news-card img{
width:100%;
height:220px;
object-fit:cover;
}

.news-card .content{
padding:15px;
}

.news-card h3{
font-size:22px;
margin-bottom:10px;
}

.single-post{
background:#fff;
padding:30px;
margin-top:30px;
border-radius:6px;
}

.single-post h1{
font-size:42px;
margin-bottom:20px;
}

.single-post img{
width:100%;
margin:20px 0;
border-radius:6px;
}

footer{
margin-top:50px;
background:#111;
color:#fff;
padding:40px 0;
text-align:center;
}

@media(max-width:768px){

.container{
width:95%;
}

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

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

.overlay h1{
font-size:28px;
}

.logo{
font-size:32px;
}

.nav ul{
overflow:auto;
white-space:nowrap;
}
}
