body{

font-family:Arial, sans-serif;
margin:0;
background:#f5f5f5;

}

.container{

max-width:1100px;
margin:auto;
padding:20px;

}

h1,h2{

color:#333;

}

/* HEADER */

header{

background:white;
box-shadow:0 2px 8px rgba(0,0,0,0.08);

}

.header-container{

max-width:1100px;
margin:auto;
padding:15px 20px;

}

.site-title{

font-size:28px;
font-weight:bold;

}

nav{

margin-top:10px;

}

nav a{

margin-right:20px;
text-decoration:none;
color:#2c7be5;
font-weight:bold;

}

nav a:hover{

text-decoration:underline;

}

/* GRID ARTICULOS */

.grid{

display:grid;
grid-template-columns:repeat(auto-fit,minmax(250px,1fr));
gap:20px;

}

.card{

background:white;
padding:20px;
border-radius:8px;
box-shadow:0 2px 6px rgba(0,0,0,0.1);

}

.card img{

width:100%;
height:160px;
object-fit:cover;
border-radius:6px;

}

/* IMAGEN ARTICULO */

.article-image{

width:100%;
max-width:900px;
height:auto;

border-radius:8px;

margin:20px auto;

display:block;

}

/* RELACIONADOS */

.related{

margin-top:40px;
padding-top:20px;
border-top:1px solid #ddd;

}

.related ul{

padding-left:20px;

}

/* FOOTER */

footer{

background:#222;
color:white;
text-align:center;
padding:20px;
margin-top:40px;

}

footer a{

color:#ddd;
text-decoration:none;
margin:0 10px;

}

footer a:hover{

color:white;

}

form {
max-width:600px;
}

form input,
form textarea{
width:100%;
padding:10px;
margin-bottom:15px;
border:1px solid #ccc;
border-radius:4px;
font-size:16px;
}

form button{
background:#2b7cff;
color:white;
padding:12px 20px;
border:none;
border-radius:4px;
font-size:16px;
cursor:pointer;
}

form button:hover{
background:#1f5fd6;
}