/* VB FILTER PILLS */
.filter-bar {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  /* justify-content: center; */
  margin-bottom: 30px;
}
.filter-pill {
  appearance: none;
  border: 1px solid transparent;
  background: #fff;
  color: var(--muted);
  border-radius: 999px;
  padding: 11px 20px;
  font-size: 16px;
  font-weight: 600;
  cursor: pointer;
  transition:
    background 0.2s,
    color 0.2s,
    box-shadow 0.2s;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.04);
}
.filter-pill:hover {
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.08);
  color: var(--fg);
}
.filter-pill.is-active {
  background: var(--fg);
  color: #fff;
  border-color: var(--fg);
  box-shadow: 0 4px 12px rgba(23, 22, 20, 0.25);
}

/* Masonry Grid */
.masonry-grid {
  position: relative;
}
.masonry-grid::after {
  content: "";
  display: block;
  clear: both;
}
.grid-sizer,
.masonry-item {
  width: calc(25% - 10.5px);
}
.masonry-item {
  float: left;
  margin: 0 0 20px;
  padding: 0;
  opacity: 0;
  transition: opacity 0.3s;
}
.masonry-item.is-visible {
  opacity: 1;
}
.masonry-item .card-inner {
  border-radius: 16px;
  overflow: hidden;
  background: #fff;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.04);
}
.masonry-item img {
  width: 100%;
  height: auto;
  display: block;
}
.masonry-item:hover .card-inner {
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.08);
}
.masonry-item figcaption {
  margin-top: 8px;
  font-size: 14px;
  line-height: 1.5;
  text-align: center;
  color: var(--fg);
}
@media (max-width: 960px) {
  .grid-sizer,
  .masonry-item {
    width: calc(33.333% - 9.34px);
  }
}
@media (max-width: 720px) {
  .grid-sizer,
  .masonry-item {
    width: calc(50% - 7px);
  }
}
@media (max-width: 480px) {
  .grid-sizer,
  .masonry-item {
    width: 100%;
  }
}

.masonry-item a {
  display: block;
  text-decoration: none;
  color: inherit;
  cursor: zoom-in;
}

.pswp-thumb-strip {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  z-index: 100;
  overflow-x: auto;
  overflow-y: hidden;
  -webkit-overflow-scrolling: touch;
  padding: 10px 16px;
  background: linear-gradient(to top, rgba(0, 0, 0, 0.6) 0%, transparent 100%);
  scrollbar-width: none;
  -ms-overflow-style: none;
}
.pswp-thumb-strip::-webkit-scrollbar {
  display: none;
}
.pswp-thumb-strip__inner {
  display: flex;
  gap: 6px;
  justify-content: center;
  min-width: min-content;
}
.pswp-thumb-strip__item {
  flex: 0 0 auto;
  width: 100px;
  height: 75px;
  border-radius: 6px;
  overflow: hidden;
  border: 2px solid transparent;
  cursor: pointer;
  padding: 0;
  background: rgba(255, 255, 255, 0.12);
  opacity: 0.55;
  transition:
    opacity 0.2s ease,
    border-color 0.2s ease,
    transform 0.2s ease;
  outline: none;
}
.pswp-thumb-strip__item:hover {
  opacity: 0.85;
}
.pswp-thumb-strip__item.is-active {
  opacity: 1;
  border-color: #fff;
  transform: scale(1.08);
}
.pswp-thumb-strip__item img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  pointer-events: none;
}

@media (max-width: 480px) {
  .pswp-thumb-strip__item {
    width: 72px;
    height: 54px;
  }
}
