.gallery-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(min(100%, 22rem), 1fr));
  gap: var(--gutter-standard);
}
.gallery-grid a {
  position: relative;
  background-color: var(--color-background);
  aspect-ratio: 4/3;
  height: auto;
}
.gallery-grid a img,
.gallery-grid a figcaption, .gallery-grid a:after {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  z-index: 1;
}
.gallery-grid a:after {
  content: "";
  z-index: 2;
  transition: all 0.6s cubic-bezier(0.59, 0, 0.06, 1);
  background: var(--color-black);
  mix-blend-mode: multiply;
  opacity: 0;
}
.gallery-grid a figcaption {
  z-index: 3;
  opacity: 0;
  padding: 0;
  transition: all 0.6s cubic-bezier(0.59, 0, 0.06, 1);
}
.gallery-grid a p {
  position: absolute;
  bottom: 0;
  padding: var(--space-l);
}
.gallery-grid a:hover figcaption {
  opacity: 1;
}
.gallery-grid a:hover:after {
  opacity: 0.4;
}
/*# sourceMappingURL=gallery_grid.css.map */
