/* ===== CONTENEDOR BLOG ===== */

.blog-container{
max-width:1100px;
margin:auto;
padding:40px 20px;
}


/* ===== TITULO BLOG ===== */

.blog-title{
text-align:center;
margin-bottom:40px;
}

.blog-title h1{
margin-bottom:10px;
font-size:32px;
}

.blog-title p{
color:#666;
font-size:16px;
}


/* ===== GRID ARTICULOS ===== */

.blog-grid{
display:grid;
grid-template-columns:repeat(auto-fit,minmax(280px,1fr));
gap:30px;
}


/* ===== TARJETAS ===== */

.blog-card{
background:white;
border-radius:10px;
overflow:hidden;
box-shadow:0 3px 10px rgba(0,0,0,0.1);
transition:.3s;
}

.blog-card:hover{
transform:translateY(-5px);
}


/* ===== IMAGEN ===== */

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


/* ===== CONTENIDO TARJETA ===== */

.blog-card-content{
padding:20px;
}

.blog-card-content h3{
margin-top:0;
margin-bottom:10px;
font-size:20px;
}

.blog-card-content p{
font-size:14px;
color:#555;
line-height:1.5;
}


/* ===== BOTON ===== */

.blog-card-content a{
display:inline-block;
margin-top:10px;
padding:8px 12px;
background:fuchsia;
color:white;
text-decoration:none;
border-radius:6px;
font-size:14px;
transition:.25s;
}

.blog-card-content a:hover{
background:limegreen;
color:black;
}


/* ===== RESPONSIVE ===== */

@media (max-width:768px){

.blog-container{
padding:30px 15px;
}

.blog-grid{
gap:20px;
}

.blog-card img{
height:170px;
}

}

@media (max-width:600px){

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

.blog-card img{
height:160px;
}

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

}