
/* Design des blocs d'articles dans les pages de catégorie */

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

.posts-list article {
  border: 1px solid #e0e0e0;
  border-radius: 12px;
  overflow: hidden;
  background-color: #fff;
  box-shadow: 0 2px 8px rgba(0,0,0,0.05);
  transition: transform 0.2s ease;
  display: flex;
  flex-direction: column;
}

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

.posts-list .post-thumbnail {
  width: 100%;
  height: 200px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: #f4f4f4;
}

.posts-list .post-thumbnail img {
  max-width: 100%;
  max-height: 100%;
  height: auto;
  width: auto;
  object-fit: contain;
  object-position: center;
  background-color: #f9f9f9;
}

.posts-list .entry-header {
  padding: 1rem 1rem 0.5rem 1rem;
  font-size: 1.1rem;
  font-weight: 600;
}

.posts-list .entry-title {
  margin: 0;
  font-size: 1.1rem;
  line-height: 1.4;
}

.posts-list .entry-title a {
  text-decoration: none;
  color: #333;
}

.posts-list .entry-summary {
  padding: 0 1rem 1rem 1rem;
  font-size: 0.95rem;
  color: #666;
  flex-grow: 1;
}
