/* libs */
@import './../libs/_simple-lightbox.min.v00001.css';
/* components */
@import './../components/_pagination.v00001.css';

.section {
  padding-top: 16px;
  color: var(--color-grey-light);
  background-color: var(--color-black-light);
}
.page-title {
  position: relative;
  margin-bottom: 24px;

  &::after {
    content: '';

    position: absolute;
    bottom: -2px;
    left: 0;

    display: block;
    width: 100px;
    height: 2px;
    background-color: var(--color-accent);
  }
}

.gallery__list {
  --items: 2;
}
.gallery__item {
  height: 200px;

  transition:
    opacity 0.3s ease,
    transform 0.8s ease;
  animation: 0.5s ease scaleIn;

  &.is-hidden {
    opacity: 0;
    transform: scale(0.9);
  }
}
.gallery__img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.gallery__text {
  white-space: pre-wrap;
}

@media screen and (min-width: 768px) {
  .gallery__list {
    --items: 3;
  }
}
@media screen and (min-width: 1024px) {
  .section {
    padding-top: 32px;
  }

  .gallery__list {
    --items: 4;
  }
  .gallery__item {
    height: 300px;
  }
}
@media screen and (min-width: 1440px) {
  .gallery__list {
    --items: 6;
  }
}
