/* =========================================================
   カテゴリー一覧ページ [aind_category_page]
   ========================================================= */
.aind-catpage {
  margin-top: -8px;
}

.aind-catpage__grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 20px;
}

@media (max-width: 640px) {
  .aind-catpage__grid { grid-template-columns: 1fr; }
}

/* ── カード ── */
.aind-catpage__card {
  background: #fff;
  border: 1px solid #e2e2e2;
  overflow: hidden;
  display: flex;
  flex-direction: column;
}

.aind-catpage__viewall {
  margin-top: auto;
}

/* ── 見出し ── */
.aind-catpage__card-head {
  display: flex;
  align-items: center;
  gap: 14px;
  padding: 20px 20px 0;
}

/* ナンバリング */
.aind-catpage__card-num {
  font-size: 28px;
  font-weight: 900;
  color: #1e293b;
  line-height: 1;
  opacity: 0.15;
  font-family: 'Inter', 'Helvetica Neue', Arial, sans-serif;
  letter-spacing: -0.04em;
}

.aind-catpage__card-name,
.post_content h2.aind-catpage__card-name {
  font-size: 20px;
  font-weight: 900;
  color: #0f172a;
  margin: 0;
  line-height: 1.2;
  letter-spacing: 0.02em;
  background: none;
  border: none;
  border-radius: 0;
  padding: 0;
}

.aind-catpage__card-en {
  display: block;
  font-size: 9px;
  font-weight: 700;
  color: #94a3b8;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  margin-top: 2px;
}

/* ── 説明文 ── */
.aind-catpage__card-desc {
  font-size: 13px;
  color: #64748b;
  line-height: 1.7;
  margin: 0;
  padding: 10px 20px 18px;
}

/* ── 記事リスト ── */
.aind-catpage__articles {
  border-top: 1px solid #eee;
}

.aind-catpage__article {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 11px 20px;
  text-decoration: none;
  border-bottom: 1px solid #f5f5f5;
  transition: background 0.15s;
}

.aind-catpage__article:last-child {
  border-bottom: none;
}

.aind-catpage__article:hover {
  background: #fafafa;
}

.aind-catpage__article:hover .aind-catpage__article-title {
  color: #1e293b;
}

.aind-catpage__article-img {
  width: 64px;
  height: 44px;
  object-fit: cover;
  border-radius: 0;
  flex-shrink: 0;
}

.aind-catpage__article-noimg {
  width: 64px;
  height: 44px;
  background: #f1f5f9;
  border-radius: 0;
  flex-shrink: 0;
}

.aind-catpage__article-title {
  font-size: 13px;
  font-weight: 600;
  color: #475569;
  line-height: 1.5;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
  transition: color 0.15s;
}

/* ─�� 記事準備中 ── */
.aind-catpage__empty {
  text-align: center;
  padding: 28px 20px;
  font-size: 13px;
  color: #d1d5db;
  margin: 0;
  border-top: 1px solid #eee;
}

/* ── もっと見る ─��� */
.aind-catpage__viewall {
  display: block;
  text-align: center;
  padding: 12px 20px;
  font-size: 12px;
  font-weight: 700;
  color: #64748b;
  text-decoration: none;
  border-top: 1px solid #e5e7eb;
  background: #fafbfc;
  letter-spacing: 0.02em;
  transition: all 0.15s;
}

.aind-catpage__viewall:hover {
  background: #1e293b;
  color: #fff;
}
