.gallery-filters {
  text-align: center;
  margin-bottom: 30px;
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  justify-content: center;
}

.filter-btn.is-active {
  background-color: var(--color-gold) !important;
  color: var(--color-text) !important;
  border-color: var(--color-gold) !important;
}

.filter-btn:not(.is-active) {
  background-color: transparent !important;
  color: var(--color-gold) !important;
  border: 2px solid var(--color-gold) !important;
}

.gallery-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
  gap: 20px;
}

.gallery-card {
  background: var(--color-surface);
  border-radius: var(--radius-md);
  overflow: hidden;
  box-shadow: var(--shadow-sm);
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.gallery-card:hover {
  transform: translateY(-3px);
  box-shadow: var(--shadow-md);
}

.gallery-card img {
  width: 100%;
  height: 250px;
  object-fit: cover;
  display: block;
}

.gallery-card-body {
  padding: 15px;
}

.gallery-card-body h2 {
  margin: 0 0 8px;
  color: #333;
}

.gallery-card-body p {
  margin: 0 0 10px;
  color: #666;
  font-size: 14px;
}

.gallery-tag {
  background: var(--color-gold);
  color: var(--color-text);
  padding: 2px 8px;
  border-radius: var(--radius-pill);
  font-size: var(--font-size-sm);
  text-transform: capitalize;
}

.gallery-empty {
  text-align: center;
  color: #666;
  grid-column: 1 / -1;
  padding: 40px;
}

#galleryLightbox {
  border: none;
  border-radius: 8px;
  padding: 0;
  max-width: min(95vw, 960px);
  background: #111;
}

#galleryLightbox::backdrop {
  background: rgba(0, 0, 0, 0.85);
}

#galleryLightbox img {
  display: block;
  max-width: 100%;
  max-height: 85vh;
  margin: 0 auto;
}

#galleryLightboxClose {
  position: absolute;
  top: 8px;
  right: 12px;
  background: transparent;
  border: none;
  color: #fff;
  font-size: 28px;
  cursor: pointer;
}
