/* Behance Explore Category Carousel — ref galleries/best-of-behance */
.ac-home-content-chips,
header .categorys-container.ac-niche-tags {
  position: relative;
}
.ac-home-content-chips::after {
  content: "";
  position: absolute;
  right: 44px;
  top: 0;
  bottom: 0;
  width: 72px;
  background: linear-gradient(90deg, transparent, #fafbfc 85%);
  pointer-events: none;
  z-index: 2;
}
.ac-niche-tags {
  display: flex !important;
  align-items: center;
  gap: 0.35rem;
  padding: 0.5rem 0 !important;
}
.ac-niche-tags ul {
  display: flex !important;
  flex-wrap: nowrap;
  gap: 0.5rem;
  overflow-x: auto;
  scrollbar-width: none;
  list-style: none;
  margin: 0;
  padding: 0.1rem 0.15rem;
  scroll-behavior: smooth;
}
.ac-niche-tags ul::-webkit-scrollbar {
  display: none;
}
.ac-niche-tags__scroll {
  flex-shrink: 0;
  display: inline-flex !important;
  align-items: center;
  justify-content: center;
  width: 40px !important;
  height: 40px !important;
  border-radius: 50% !important;
  background: #fff !important;
  border: 1px solid #e8e8e8 !important;
  box-shadow: 0 2px 6px rgba(0, 0, 0, 0.06) !important;
  color: #191919 !important;
  cursor: pointer;
  z-index: 3;
}
.ac-niche-tags__scroll[hidden] {
  display: none !important;
}
.ac-niche-tags__scroll:hover {
  background: #f5f5f5 !important;
}
.ac-niche-tags ul li.ac-niche-tags__item {
  position: relative;
  flex-shrink: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  height: 44px;
  min-width: 0;
  padding: 0;
  margin: 0;
  border: 0 !important;
  border-radius: 999px !important;
  overflow: hidden;
  background: url("/static/behance/assets/template.png") center / cover no-repeat !important;
  transition: transform 0.15s ease;
}
.ac-niche-tags ul li::before {
  content: "" !important;
  display: block !important;
  position: absolute;
  inset: 0;
  background: rgba(0, 0, 0, 0.78);
  z-index: 0;
  transition: background 0.2s ease;
}
.ac-niche-tags ul li:not(.is-active):hover::before {
  background: rgba(0, 0, 0, 0.62);
}
.ac-niche-tags ul li:not(.is-active):hover {
  transform: translateY(-1px);
}
.ac-niche-tags ul li.is-active {
  background: #0057ff !important;
  box-shadow: none;
}
.ac-niche-tags ul li.is-active::before {
  background: transparent !important;
}
.ac-niche-tags ul li.is-active:hover {
  background: #004bd4 !important;
  transform: none;
}
.ac-niche-tags ul li a {
  position: relative;
  z-index: 1;
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  padding: 0 1rem;
  min-height: 44px;
  text-decoration: none;
  white-space: nowrap;
}
.ac-niche-tags ul li a span {
  font-size: 0.8125rem;
  font-weight: 600;
  line-height: 1.2;
  color: #fff !important;
  text-transform: capitalize;
}
.ac-niche-tags__icon {
  font-size: 0.75rem;
  color: #fff;
  opacity: 0.95;
}
.ac-niche-tags ul li:not(.is-active) a span,
.ac-niche-tags ul li:not(.is-active) .ac-niche-tags__icon {
  color: #fff !important;
}