/* BoostNet Playground - Knowledge Galaxy & Article Cards */
.knowledge-filter-bar {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
  justify-content: center;
  margin-bottom: 2.5rem;
}

.filter-pill {
  padding: 0.5rem 1.2rem;
  font-size: 0.95rem;
  font-weight: 800;
  border: var(--play-border-width) solid var(--play-border);
  border-radius: 999px;
  background: var(--play-surface);
  box-shadow: 2px 2px 0 var(--play-border);
  cursor: pointer;
  transition: all 0.15s ease;
}

.filter-pill:hover, .filter-pill.active {
  background: var(--play-coral);
  color: #fff;
  transform: translateY(-2px);
  box-shadow: var(--play-shadow-sm);
}

.article-card-bento {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(320px, 1fr));
  gap: clamp(20px, 3vw, 32px);
}

.article-card {
  background: var(--play-surface);
  border: var(--play-border-width) solid var(--play-border);
  border-radius: var(--play-radius-lg);
  box-shadow: var(--play-shadow-md);
  display: flex;
  flex-direction: column;
  overflow: hidden;
  transition: transform 0.2s cubic-bezier(0.34, 1.56, 0.64, 1), box-shadow 0.2s ease;
  text-decoration: none;
  color: inherit;
}

.article-card:hover {
  transform: translateY(-5px);
  box-shadow: var(--play-shadow-lg);
}

.article-card-cover {
  width: 100%;
  aspect-ratio: 16 / 9;
  border-bottom: var(--play-border-width) solid var(--play-border);
  background: var(--play-paper);
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
}

.article-card-cover img, .article-card-cover svg {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.article-card-body {
  padding: 1.5rem;
  display: flex;
  flex-direction: column;
  flex-grow: 1;
}

.article-card-meta {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  margin-bottom: 0.75rem;
  font-size: 0.8rem;
  font-weight: 800;
}

.article-card-title {
  font-size: 1.25rem;
  line-height: 1.4;
  margin-bottom: 0.75rem;
  font-weight: 800;
  color: var(--play-ink);
}

.article-card-summary {
  font-size: 0.9rem;
  color: var(--play-muted);
  line-height: 1.6;
  margin-bottom: 1.25rem;
  flex-grow: 1;
}

.article-card-footer {
  margin-top: auto;
  padding-top: 1rem;
  border-top: 1px dashed #e0e0e0;
  display: flex;
  align-items: center;
  justify-content: space-between;
  font-size: 0.85rem;
  font-weight: 700;
}
