/* Gabarits de repli : liste d'articles, article, recherche, 404. */
.post-list {
  margin: 0;
  padding: 0;
  list-style: none;
  border-top: 1px solid var(--line-2);
}
.post-item {
  padding: 28px 0;
  border-bottom: 1px solid var(--line-2);
}
.post-item article { display: flex; flex-direction: column; gap: 8px; }
.post-item__meta { font-size: 13px; color: var(--accent); }
.post-item__title { font-weight: 600; font-size: 22px; letter-spacing: -0.01em; }
.post-item__excerpt { color: var(--text-2); font-size: 15px; max-width: 820px; }

.post-thumb img { border-radius: var(--r-xl); max-height: 560px; width: 100%; object-fit: cover; }

.pagination .nav-links {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}
.pagination .page-numbers {
  min-width: 44px;
  min-height: 44px;
  padding: 0 14px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: var(--r-pill);
  border: 1px solid var(--line-7);
}
.pagination .page-numbers.current { background: var(--text); color: var(--bg); border-color: var(--text); }

.search-form {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  max-width: 560px;
}
.search-form input {
  flex: 1 1 240px;
  min-height: 48px;
  padding: 12px 16px;
  border-radius: var(--r-sm);
  border: 1px solid var(--line-7);
  background: var(--bg);
  color: var(--text);
}
.search-form input:focus { outline: none; border-color: var(--accent); box-shadow: 0 0 0 3px rgba(0, 168, 145, .25); }
