.ImageGallery {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(19rem, 1fr));
  gap: 1rem;
  counter-reset: galleryList;
}

.ImageGallery:last-child {
  margin-bottom: 0;
}

.ImageGallery-title {
  font-size: clamp(1.5rem, 3vw, 2rem);
  line-height: 1.25;
}

.ImageGallery-frame {
  margin-bottom: var(--spaceLg);
}

.ImageGallery-item {
  background: var(--colorBrand);
  overflow: hidden;
  counter-increment: galleryList;
  position: relative;
}

.ImageGallery-itemText {
  font-size: var(--textBaseSize);
}

.ImageGallery-item:after {
  content: counter(galleryList, decimal-leading-zero);
  color: hsl(0, 0%, calc((var(--colorBrand-l) - 60) * -100%));
  font-weight: 700;
  font-size: var(--textLg);
  position: absolute;
  left: 0;
  top: 0;
  right: 0;
  bottom: 0;
  display: flex;
  justify-content: center;
  align-items: center;
  transition: var(--animationBase);
  transform: scale(0);
  opacity: 0;
  text-align: center;
  padding: var(--spaceSm);
}

@media (max-width: 25rem) {
  .ImageGallery-item:after {
    font-size: var(--testSm);
  }
}

.ImageGallery-item.is-last img {
  opacity: .3;
}

.ImageGallery-item.is-last:after {
  content: attr(data-more-text);
  transform: scale(1);
  opacity: 1;
}

.ImageGallery-item:hover:after {
  transform: scale(1);
  opacity: 1;
}

.ImageGallery-item:hover img {
  opacity: .4;
}

.ImageGallery-item img {
  transition: var(--animationBase);
}

/*# sourceMappingURL=image-gallery.min.css.map */
