/* ベース */
.archive-page {
  background: #fff;
  color: var(--text-color, #333);
}
.container {
  margin: 0 auto;
  padding: 56px 24px;
}

/* ヒーロー */
.archive-hero {
  padding-top: 24px;
  padding-bottom: 8px;
}

/* グリッド */
.post-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
  margin-top: 18px;
}
@media (max-width: 980px) {
  .post-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}
@media (max-width: 640px) {
  .post-grid {
    grid-template-columns: 1fr;
  }
}

/* カード */
.post-card {
  display: flex;
  flex-direction: column;
  background: #fff;
  border: 1px solid #eee;
  border-radius: 8px;
  overflow: hidden;
  box-shadow: var(--global-shadow);
}
.post-thumb {
  display: block;
  background: #f6f6f6;
}
.post-thumb img,
.thumb-placeholder {
  width: 100%;
  height: 100%;
  display: block;
  object-fit: cover;
  aspect-ratio: 16/9;
}
.thumb-placeholder {
  display: grid;
  place-items: center;
  color: #aaa;
  font-size: 12px;
  letter-spacing: 0.08em;
}

/* 本文 */
.post-body {
  padding: 16px;
  display: flex;
  flex-direction: column;
  gap: 10px;
}
.post-meta {
  display: flex;
  gap: 10px;
  align-items: center;
  font-size: 12px;
  color: #888;
  flex-wrap: wrap;
}
.post-cats a {
  color: #888;
  text-decoration: none;
}
.post-cats a:hover {
  text-decoration: underline;
}

.post-title {
  font-size: 18px;
  line-height: 1.5;
  margin: 0;
}
.post-title a {
  color: inherit;
  text-decoration: none;
}
.post-title a:hover {
  text-decoration: underline;
}

.post-excerpt {
  margin: 0;
  color: #555;
  line-height: 1.8;
  font-size: 14px;
}

/* ボタン */
.btn-more {
  display: inline-block;
  align-self: flex-start;
  margin-top: 2px;
  padding: 8px 14px;
  border-radius: 999px;
  background: rgba(var(--main-color-rgb, 232, 199, 199), 0.2);
  color: var(--text-color, #333);
  text-decoration: none;
  font-weight: 600;
  font-size: 13px;
  letter-spacing: 0.04em;
  border: 1px solid rgba(var(--main-color-rgb, 232, 199, 199), 0.35);
}
.btn-more:hover {
  background: rgba(var(--main-color-rgb, 232, 199, 199), 0.3);
}

/* ページネーション */
.pagination {
  margin: 28px 0 0;
  text-align: center;
}
.pagination .page-numbers {
  display: inline-block;
  min-width: 36px;
  padding: 8px 10px;
  margin: 0 3px;
  border: 1px solid #e6e6e6;
  border-radius: 8px;
  text-decoration: none;
  color: #444;
  font-size: 14px;
}
.pagination .current {
  background: rgba(var(--main-color-rgb, 232, 199, 199), 0.25);
  border-color: rgba(var(--main-color-rgb, 232, 199, 199), 0.6);
  font-weight: 700;
}
.pagination a:hover {
  background: #fafafa;
}

/* ないとき */
.no-posts {
  text-align: center;
  color: #777;
  padding: 40px 0;
}
