/* RESET */
*{
margin:0;
padding:0;
box-sizing:border-box;
font-family:Arial, Helvetica, sans-serif;
}

/* BODY */
body{
background:#f5f7fb;
color:#111;
line-height:1.6;
}

/* CONTAINER */
.container{
max-width:1100px;
margin:auto;
padding:0 15px;
}

/* HEADER */
header{
background:white;
padding:20px 0;
border-bottom:1px solid #eee;
position:sticky;
top:0;
z-index:999;
}

header .container{
display:flex;
justify-content:space-between;
align-items:center;
flex-wrap:wrap;
gap:20px;
}

/* LOGO */
.logo{
display:flex;
align-items:center;
gap:10px;
}

.logo img{
height:60px;
display:block;
}

/* NAV */
.nav{
display:flex;
align-items:center;
gap:20px;
flex-wrap:wrap;
}

.nav a{
text-decoration:none;
color:#444;
font-size:14px;
transition:0.2s;
}

.nav a:hover{
color:#0a58ff;
}

/* SEARCH */
.search-box{
display:flex;
align-items:center;
margin-left:10px;
}

.search-box input{
padding:8px 12px;
border:1px solid #ddd;
border-radius:4px 0 0 4px;
font-size:14px;
outline:none;
}

.search-box button{
padding:8px 12px;
border:none;
background:#0a58ff;
color:white;
border-radius:0 4px 4px 0;
cursor:pointer;
}

/* HERO */
.hero{
padding:50px 0 20px 0;
}

.hero h1{
font-size:36px;
margin-bottom:10px;
}

.hero p{
color:#666;
font-size:16px;
}

/* GRID */
.grid{
display:grid;
grid-template-columns:repeat(auto-fit,minmax(300px,1fr));
gap:20px;
padding:30px 0;
}

/* CARD */
.card{
background:white;
border-radius:10px;
overflow:hidden;
box-shadow:0 5px 20px rgba(0,0,0,0.05);
transition:0.2s;
}

.card:hover{
transform:translateY(-5px);
}

.card img{
width:100%;
height:180px;
object-fit:cover;
display:block;
max-width:100%;
aspect-ratio:16/9;
}

.card-content{
padding:20px;
}

.card-title{
font-size:20px;
font-weight:600;
margin-bottom:10px;
line-height:1.4;
}

.card-desc{
font-size:14px;
color:#666;
margin-bottom:15px;
line-height:1.6;
}

.read-more{
color:#0a58ff;
font-weight:600;
text-decoration:none;
}

/* ADS */
.ads{
background:white;
padding:20px;
margin:30px 0;
text-align:center;
border-radius:8px;
}

/* POST */
.post-content{
max-width:900px;
margin:40px auto;
padding:0 20px;
}

.post-content h1{
text-align:center;
margin:25px 0;
font-size:36px;
line-height:1.4;
}

.post-content img{
display:block;
margin:25px auto 30px auto;
width:100%;
max-width:900px;
border-radius:10px;
object-fit:cover;
}

.post-content p{
text-align:justify;
margin-bottom:24px;
text-indent:35px;
font-size:18px;
line-height:1.9;
color:#222;
}

/* FOOTER */
footer{
background:white;
margin-top:40px;
padding:40px 0;
border-top:1px solid #eee;
}

.footer-grid{
display:grid;
grid-template-columns:repeat(auto-fit,minmax(200px,1fr));
gap:20px;
}

.footer-title{
font-weight:700;
margin-bottom:10px;
font-size:16px;
}

.footer-links a{
display:block;
text-decoration:none;
color:#666;
margin-bottom:6px;
font-size:14px;
transition:0.2s;
}

.footer-links a:hover{
color:#0a58ff;
}

.copyright{
text-align:center;
margin-top:20px;
color:#888;
font-size:13px;
}

/* BUTTONS */
button{
transition:0.2s;
}

button:hover{
opacity:0.9;
}

/* CONTACT FORM */
.contact-form{
width:100%;
max-width:600px;
margin:30px auto;
display:flex;
flex-direction:column;
gap:14px;
background:#fff;
padding:30px;
border-radius:10px;
box-shadow:0 5px 20px rgba(0,0,0,0.05);
}

.contact-form label{
font-weight:600;
font-size:15px;
margin-top:6px;
}

.contact-form input,
.contact-form textarea{
width:100%;
padding:12px;
border:1px solid #ddd;
border-radius:6px;
font-size:16px;
background:#fff;
box-sizing:border-box;
}

.contact-form textarea{
min-height:160px;
resize:vertical;
}

.contact-form button{
width:100%;
padding:14px;
background:#0a58ff;
color:#fff;
border:none;
border-radius:6px;
font-size:16px;
font-weight:600;
cursor:pointer;
}

.contact-form button:hover{
background:#0047d6;
}

#form-msg{
margin-top:10px;
text-align:center;
font-weight:600;
color:green;
}

.ad-slot{
    width:100%;
    min-height:90px;
    margin:30px auto;
    display:flex;
    align-items:center;
    justify-content:center;
}

/* RESPONSIVO */
@media(max-width:768px){

header .container{
flex-direction:column;
align-items:flex-start;
}

.nav{
flex-direction:column;
align-items:flex-start;
width:100%;
}

.search-box{
margin-left:0;
width:100%;
}

.search-box input{
width:100%;
}

.hero h1{
font-size:28px;
}

.post-content h1{
font-size:28px;
}

.post-content p{
font-size:16px;
text-indent:20px;
}

.ads{
text-align:center;
margin:30px auto;
max-width:900px;
}

.grid{
grid-template-columns:1fr;
}

.card img{
height:220px;
}
}