/* ─── DOMAIN ARTICLES LIST PAGE ─── */
/* .reg-hero / .reg-body は common.css に統合済みの共通ヒーロー・コンテナを流用 */

.art-hero-inner {
  max-width: 1200px;
  margin: 0 auto;
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 20px;
  flex-wrap: wrap;
}
.art-stat {
  text-align: center;
  background: var(--bg);
  border: 1px solid var(--border);
  border-radius: 10px;
  padding: 10px 20px;
  flex-shrink: 0;
}
.art-stat-num {
  font-family: var(--mono);
  font-size: 22px;
  font-weight: 700;
  color: var(--accent);
}
.art-stat-label {
  font-size: var(--fs-xs);
  color: var(--text-muted);
  margin-top: 2px;
}

.art-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(320px, 1fr));
  gap: 20px;
}

.art-card {
  display: flex;
  flex-direction: column;
  gap: 14px;
  padding: 24px 26px;
  text-decoration: none;
  color: inherit;
  transition: box-shadow .15s, border-color .15s, transform .15s;
}
.art-card:hover {
  border-color: var(--accent);
  box-shadow: 0 4px 18px rgba(0,0,0,.07);
  transform: translateY(-1px);
}

.art-card-badge-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
}
.art-cat-badge {
  background: var(--accent-light);
  color: var(--accent);
  font-size: var(--fs-xs);
  font-weight: 700;
  padding: 3px 10px;
  border-radius: 999px;
  letter-spacing: .02em;
  white-space: nowrap;
}
.art-card-date {
  font-size: var(--fs-xs);
  color: var(--text-muted);
  white-space: nowrap;
}

.art-card-title {
  font-family: var(--display);
  font-size: 18px;
  font-weight: 700;
  color: var(--text);
  line-height: 1.5;
}
.art-card:hover .art-card-title {
  color: var(--accent);
}

.art-card-excerpt {
  font-size: var(--fs-md);
  color: var(--text-muted);
  line-height: 1.75;
  flex: 1;
}

.art-card-cta {
  font-size: var(--fs-sm);
  color: var(--accent);
  font-weight: 700;
}

.art-empty {
  grid-column: 1 / -1;
  text-align: center;
  padding: 60px 0;
  color: var(--text-muted);
}
.art-empty-icon {
  font-size: 36px;
  margin-bottom: 10px;
}
.art-empty[hidden] { display: none; }

/* ─── 検索・絞り込みUI（全カテゴリ対応の記事一覧） ─── */
.art-filter {
  display: flex;
  flex-direction: column;
  gap: 12px;
  margin-bottom: 22px;
}
.art-filter-row {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 12px;
}
.art-sort {
  display: flex;
  align-items: center;
  gap: 6px;
}
.sort-label {
  font-size: var(--fs-xs);
  color: var(--text-muted);
  font-weight: 700;
  white-space: nowrap;
}
.art-chip-row {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}
.art-chip {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 6px 14px;
  border: 1.5px solid var(--border);
  border-radius: 999px;
  background: var(--surface);
  color: var(--text);
  font-family: var(--body);
  font-size: var(--fs-sm);
  cursor: pointer;
  transition: border-color .15s, background .15s, color .15s;
}
.art-chip:hover { border-color: var(--accent); }
.art-chip.active {
  border-color: var(--accent);
  background: var(--accent-light);
  color: var(--accent);
  font-weight: 700;
}
.art-chip.is-empty { display: none; }
.art-chip-count {
  font-family: var(--mono);
  font-size: var(--fs-xs);
  color: var(--text-muted);
}
.art-chip.active .art-chip-count { color: var(--accent); }

.art-card[hidden] { display: none; }
.art-badges {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
}
.art-cat-badge--category {
  background: var(--text);
  color: var(--surface);
}
.art-clear-btn {
  margin-top: 14px;
  padding: 7px 18px;
  border: 1.5px solid var(--accent);
  border-radius: 6px;
  background: transparent;
  color: var(--accent);
  font-family: var(--body);
  font-size: var(--fs-sm);
  font-weight: 700;
  cursor: pointer;
}
.art-clear-btn:hover { background: var(--accent-light); }

@media (max-width: 680px) {
  .art-grid { grid-template-columns: 1fr; }
  .art-hero-inner { flex-direction: column; align-items: flex-start; }
}
