.vb-gallery {
  margin: 1.75rem 0 2rem;
}

.vb-gallery-lead {
  margin-bottom: 1rem;
}

.vb-filters {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
  margin-bottom: 1.25rem;
}

.vb-filter {
  appearance: none;
  border: 1px solid #d0d5dd;
  background: #fff;
  color: #344054;
  font: inherit;
  font-size: 0.875rem;
  line-height: 1.2;
  padding: 0.45rem 0.85rem;
  border-radius: 999px;
  cursor: pointer;
  transition: background 0.15s ease, border-color 0.15s ease, color 0.15s ease;
}

.vb-filter:hover {
  border-color: #98a2b3;
  background: #f9fafb;
}

.vb-filter.is-active {
  background: #1d2939;
  border-color: #1d2939;
  color: #fff;
}

.vb-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 1rem;
}

@media (min-width: 768px) {
  .vb-grid {
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 1.15rem;
  }
}

.vb-card {
  margin: 0;
  border-radius: 12px;
  overflow: hidden;
  background: #f2f4f7;
  border: 1px solid #eaecf0;
  display: flex;
  flex-direction: column;
  transition: box-shadow 0.2s ease, transform 0.2s ease;
}

.vb-card:hover {
  box-shadow: 0 8px 24px rgba(16, 24, 40, 0.1);
  transform: translateY(-2px);
}

.vb-card.is-hidden {
  display: none;
}

.vb-card-media {
  display: block;
  position: relative;
  aspect-ratio: 16 / 9;
  overflow: hidden;
  background: linear-gradient(120deg, #e4e7ec 25%, #f2f4f7 50%, #e4e7ec 75%);
  background-size: 200% 100%;
}

.vb-card-media img {
  display: block !important;
  width: 100% !important;
  height: 100% !important;
  max-width: none !important;
  margin: 0 !important;
  padding: 0 !important;
  object-fit: cover;
  vertical-align: middle;
}

.vb-card-body {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 0.75rem;
  padding: 0.7rem 0.85rem;
  background: #fff;
}

.vb-card-title {
  font-size: 0.875rem;
  font-weight: 600;
  color: #101828;
  line-height: 1.3;
}

.vb-download {
  flex-shrink: 0;
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
  font-size: 0.8125rem;
  font-weight: 600;
  color: #175cd3;
  text-decoration: none;
  white-space: nowrap;
}

.vb-download:hover {
  color: #1849a9;
  text-decoration: underline;
}

.vb-download svg {
  width: 14px;
  height: 14px;
  fill: currentColor;
}

.vb-hint {
  margin-top: 1rem;
  font-size: 0.9rem;
  color: #667085;
}
