.gallery-page {
  max-width: 920px;
  margin: 0 auto;
  padding: 1.75rem 1rem 3rem;
  font-family: inherit;
  color: inherit;
}

.gallery-intro {
  max-width: 62ch;
  font: inherit;
  color: inherit;
}

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

.gallery-card {
  background: transparent;
  border-radius: 0;
  overflow: hidden;
  box-shadow: none;
  transition: opacity 160ms ease, transform 160ms ease;
}

.gallery-card:hover {
  transform: translateY(-1px);
  opacity: 0.92;
}

.gallery-card__link {
  display: block;
  color: inherit;
  text-decoration: none;
  font: inherit;
}

.gallery-card__image-wrap {
  aspect-ratio: 4 / 3;
  background: transparent;
  border-bottom: 1px solid currentColor;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 0.55rem;
}

.gallery-card__image-wrap img {
  display: block;
  max-width: 100%;
  max-height: 100%;
  width: auto;
  height: auto;
  object-fit: contain;
  object-position: center;
}

.gallery-card__body {
  padding: 0.8rem 0.85rem 0.9rem;
}

.gallery-card__body h2,
.gallery-card__body h3 {
  margin: 0 0 0.35rem;
  font: inherit;
  color: inherit;
}

.gallery-card__body p {
  margin: 0;
  font: inherit;
  color: inherit;
  opacity: 0.72;
}

.gallery-hidden {
  display: none;
}

@media (max-width: 900px) {
  .gallery-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 560px) {
  .gallery-page {
    padding: 1.2rem 0.9rem 2rem;
  }

  .gallery-grid {
    grid-template-columns: 1fr;
  }

  .gallery-header h1 {
    font: inherit;
  }
}

.gslide-description,
.glightbox-clean .gslide-description,
.gdesc-inner,
.glightbox-clean .gdesc-inner {
  display: none !important;
}

.gslide-media {
  margin-bottom: 0 !important;
}

.gallery-disclaimer {
  margin: 0 0 1.5rem;
  padding: 0.85rem 1rem;
  border: 1px solid currentColor;
  font: inherit;
  color: inherit;
}

.gallery-disclaimer p {
  margin: 0 0 0.75rem;
}

.gallery-disclaimer p:last-child {
  margin-bottom: 0;
}