/* Blog */

.post-cards {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 1.5rem;
  margin-top: 2rem;
}

.post-card {
  border: 1px solid #ddd;
  border-radius: 8px;
  padding: 1rem;
  background:rgb(27, 31, 37);
  box-shadow: 0 2px 6px rgba(0,0,0,0.1);
  transition: box-shadow 0.3s ease;
}

.post-card:hover {
  box-shadow: 0 4px 12px rgba(0,0,0,0.15);
}

.post-card h3 {
  margin-top: 0;
  margin-bottom: 0.5rem;
}

.post-card p {
  margin-bottom: 0.5rem;
  color:rgb(255, 255, 255);
}

.post-card a {
  text-decoration: none;
  color: #fff;
}

/* Proyectos */

.projects-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
  gap: 1.5rem;
  padding: 0;
  list-style: none;
}

.project-card {
  background:rgb(27, 31, 37);
  border: 1px solid #ddd;
  border-radius: 8px;
  box-shadow: 0 2px 6px rgb(0 0 0 / 0.1);
  padding: 1rem;
  display: flex;
  flex-direction: column;
  transition: transform 0.2s ease;
}

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

.project-image {
  width: 100%;
  height: 160px;
  object-fit: cover;
  border-radius: 6px;
  margin-bottom: 0.75rem;
}

.project-title {
  font-size: 1.2rem;
  margin: 0 0 0.5rem;
  color: #fff;
  text-decoration: underline;
}

.project-excerpt {
  flex-grow: 1;
  color: #555;
  margin-bottom: 0.75rem;
}

.project-date {
  font-size: 0.85rem;
  color: #999;
}
