.blog-wrapper {
  padding: 60px 20px;
  background: #fff;
  text-align: center;
}

.blog-titulo {
  font-size: 2rem;
  color: #0a0072;
  margin-bottom: 40px;
  font-weight: 800;
}

.blog-grid {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 30px;
}

.card-blog {
  background: #fdfdfd;
  border-radius: 12px;
  overflow: hidden;
  box-shadow: 0 6px 20px rgba(0, 0, 0, 0.08);
  width: 100%;
  max-width: 330px;
  text-align: left;
  display: flex;
  flex-direction: column;
}

.card-blog img {
  width: 100%;
  height: 180px;
  object-fit: cover;
}

.contenido-blog {
  padding: 20px;
  flex: 1;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
}

.contenido-blog h3 {
  font-size: 1.1rem;
  font-weight: 700;
  color: #0a0072;
  margin-bottom: 10px;
}

.contenido-blog p {
  font-size: 0.9rem;
  color: #444;
  margin-bottom: 15px;
  line-height: 1.4;
}

.contenido-blog a {
  color: #e40000;
  font-weight: bold;
  text-decoration: none;
  font-size: 0.9rem;
  align-self: flex-start;
}

.contenido-blog a:hover {
  text-decoration: underline;
}

/* RESPONSIVO */
@media (max-width: 768px) {
  .blog-grid {
    flex-direction: column;
    align-items: center;
  }

  .card-blog {
    max-width: 100%;
  }
}
