/* Gallery page specifics */
.gallery-categories {
  display: flex;
  justify-content: center;
  gap: 1rem;
  flex-wrap: wrap;
  margin-bottom: 2rem;
}

.gallery-categories span {
  padding: 0.4rem 1.2rem;
  border-radius: 999px;
  border: 1px solid var(--border);
  text-transform: uppercase;
  letter-spacing: 0.2em;
}

.image-modal img {
  width: 100%;
  border-radius: 24px;
}

.gallery-grid figure {
  margin: 0;
  position: relative;
  cursor: pointer;
  border: 1px solid var(--border);
  border-radius: 20px;
  padding: 1rem;
  background: rgba(10, 4, 20, 0.85);
}

.gallery-grid figure img {
  width: 100%;
  height: 230px;
  object-fit: cover;
  border-radius: 16px;
  box-shadow: var(--shadow);
}

.gallery-grid figcaption {
  text-align: center;
  margin-top: 0.8rem;
  display: block;
  line-height: 1.4;
}

