/* Blog preview grid */

.post-list-header {
  font-size: 2rem;
  margin-bottom: 2rem;
}

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

.post-list {
  display: flex;
  flex-direction: column;
  overflow: hidden;
  transition: transform 0.2s ease;
}

.post-list:hover {
  transform: translateY(-4px);
}

.post-list-link {
  display: flex;
  flex-direction: column;
  height: 100%;
  text-decoration: none;
  color: inherit;
}

.post-list-thumbnail {
  width: 100%;
  aspect-ratio: 1 / 1;
  overflow: hidden;
  background: #f5f5f5;
  border: 1px solid #333;
  padding: 15px;
}

.post-list-thumbnail img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.3s ease;
}

.post-list:hover .post-list-thumbnail img {
  transform: scale(1.02);
}

.post-list-content {
  padding: 1rem;
  flex: 1;
}

.post-list h2 {
  margin: 0 0 0.5rem 0;
  font-size: 1.1rem;
  line-height: 1.3;
}

.blog-date {
  color: #999;
  font-size: 0.85rem;
  margin: 0;
}
