/* =========================
   Articles Hub (Common)
========================= */

.articles-hub {
  margin-top: 20px;
}

.articles-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 16px;
  margin-top: 16px;
}

@media (max-width: 900px) {
  .articles-grid {
    grid-template-columns: 1fr;
  }
}

/* ---------- Card ---------- */

.article-card {
  display: block;
  border: 1px solid rgba(0,0,0,.10);
  border-radius: 16px;
  padding: 16px;
  background: #fff;
  text-decoration: none;
  color: inherit;
  box-shadow: 0 8px 24px rgba(0,0,0,.06);
  transition: transform .15s ease, box-shadow .15s ease, border-color .15s ease;
}

.article-card:hover {
  transform: translateY(-2px);
  border-color: rgba(0,0,0,.18);
  box-shadow: 0 12px 32px rgba(0,0,0,.10);
}

.article-card__meta {
  display: flex;
  gap: 10px;
  align-items: center;
  flex-wrap: wrap;
  font-size: 12px;
  opacity: .75;
  margin-bottom: 8px;
}

.article-chip {
  display: inline-block;
  padding: 4px 10px;
  border-radius: 999px;
  border: 1px solid rgba(0,0,0,.12);
  background: rgba(0,0,0,.03);
  font-size: 12px;
  font-weight: 600;
}

.article-card__title {
  font-weight: 800;
  line-height: 1.4;
  margin-bottom: 8px;
}

.article-card__excerpt {
  font-size: 14px;
  line-height: 1.6;
  opacity: .85;
  margin-bottom: 12px;
}

.article-card__arrow {
  font-weight: 700;
  font-size: 13px;
  opacity: .9;
}

/* ---------- Button ---------- */

.articles-actions {
  margin-top: 16px;
}

.btn-ghost {
  border: 1px solid rgba(0,0,0,.14);
  background: #fff;
  border-radius: 14px;
  padding: 10px 16px;
  font-weight: 800;
  cursor: pointer;
  transition: all .15s ease;
}

.btn-ghost:hover {
  border-color: rgba(0,0,0,.25);
}

/* ---------- Inline List ---------- */

.articles-inline {
  margin-top: 18px;
  border: 1px solid rgba(0,0,0,.10);
  border-radius: 20px;
  background: #fff;
  box-shadow: 0 18px 48px rgba(0,0,0,.10);
  overflow: hidden;
}

.articles-inline__head {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 16px;
  border-bottom: 1px solid rgba(0,0,0,.08);
}

.articles-inline__title {
  font-weight: 900;
  font-size: 18px;
}

.articles-inline__inner {
  padding: 16px;
  overflow: auto; /* ←枠内スクロール */
}

/* ---------- Empty State ---------- */

.articles--empty [data-articles-list] {
  display: none;
}
