/* ===== Category Filters ===== */
.blog-category-filter {
  width: 100%;
  display: flex;
  justify-content: center;
  position: static;
  min-height: 0;
  padding: 0;
  background: transparent;
  box-shadow: none;
  z-index: auto;
}

.blog-category-filter__list {
  width: 80%;
  padding: 7px 18px;
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
  gap: 32px;
  list-style: none;
  margin: 0;
  border-radius: 999px;
  border: 1px solid var(--color-font-dark);
}

.blog-category-filter__pill {
  display: inline-block;
  padding: 6px 2px;
  border-radius: 0;
  border: 0;
  background-color: transparent;
  color: var(--color-font-mid);
  font-family: 'Inter', sans-serif;
  font-size: 15px;
  font-weight: 500;
  line-height: 20px;
  cursor: pointer;
  transition:
    color 0.2s ease;
}

.blog-category-filter__pill:hover {
  color: var(--dl-color-theme-primary1);
}

/* .blog-category-filter__pill.is-active {
  color: var(--dl-color-theme-primary1);
  font-weight: 600;
} */

/* .blog-category-filter__pill.is-active:hover {
  color: var(--dl-color-theme-primary2);
} */

/* ===== Mobile (<= 767px) ===== */
@media (max-width: 767px) {
  .blog-category-filter__list {
    width: 90%;
    flex-wrap: nowrap;
    overflow-x: auto;
    gap: 12px;
    -webkit-overflow-scrolling: touch;
    scrollbar-width: none;
  }

  .blog-category-filter__list::-webkit-scrollbar {
    display: none;
  }

  .blog-category-filter__pill {
    flex-shrink: 0;
    padding: 6px 2px;
    font-size: 13px;
  }
}

/* ===== Tablet (768px - 1024px) ===== */
@media (min-width: 768px) and (max-width: 1024px) {
  .blog-category-filter__list {
    width: calc(100% - 120px);
    min-width: calc(100% - 120px);
    max-width: calc(100% - 120px);
    box-sizing: border-box;
  }
}
