/* Blog filter UI
 * Ownership: /blog category filter bar and blog card category pills.
 */


.vp-blog-filters {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 12px;
  max-width: 1100px;
  margin: 0 auto 2rem;
}

.vp-blog-filter {
  appearance: none;
  border: none;
  background: var(--vp-pill-bg-primary);
  color: var(--vp-pill-text-primary);
  border-radius: var(--vp-pill-radius);
  min-height: 40px;
  padding: 10px 18px;
  font-size: 15px;
  font-weight: var(--vp-button-weight);
  line-height: 1.2;
  white-space: nowrap;
  cursor: pointer;
  box-shadow: var(--vp-button-shadow-soft);
  transition: opacity 0.2s ease, box-shadow 0.2s ease, transform 0.2s ease;
}

.vp-blog-filter:hover,
.vp-blog-filter:focus-visible {
  opacity: 0.92;
  outline: none;
  box-shadow:
    0 0 0 2px hsl(var(--hero-cta-primary-bg) / .28),
    var(--vp-button-shadow-soft);
}

.vp-blog-filter.is-active {
  background: #000;
  color: #fff;
  box-shadow:
    0 0 0 2px hsl(0 0% 0% / .18),
    var(--vp-button-shadow-soft);
}

.vp-blog-filter[hidden] {
  display: none !important;
}

.vp-blog-card[hidden] {
  display: none !important;
}



.vp-blog-card-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.vp-blog-card-tag {
  display: inline-flex;
  align-items: center;
  min-height: 28px;
  padding: 6px 12px;
  border-radius: var(--vp-pill-radius);
  background: var(--vp-pill-bg-primary);
  color: var(--vp-pill-text-primary);
  font-size: var(--vp-pill-font-size);
  font-weight: var(--vp-button-weight);
  line-height: 1;
  box-shadow: var(--vp-pill-shadow);
}
