.gallery {
  display: flex;
  flex-direction: column;
  align-items: center;
}

.gallery .images {
  /* gap: 15px; */
  gap: 14px;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  /* max-width: 95%; */
  /* max-width: 100%;
  margin-top: 40px;
  columns: 5 340px;
  list-style: none; */
}

.gallery .images .card {
  display: flex;
  /* cursor: pointer; */
  overflow: hidden;
  position: relative;
  margin-bottom: 14px;
  border-radius: 4px;
}

.gallery .images img {
  width: 100%;
  height: 246px;
  z-index: 2;
  position: relative;
}

.images .details {
  position: absolute;
  z-index: 4;
  width: 100%;
  bottom: -100px;
  display: flex;
  align-items: center;
  padding: 15px 20px;
  justify-content: space-between;
  transition: bottom 0.1s ease;
  background: linear-gradient(to top, rgba(0, 0, 0, 0.7), transparent);
}

.images li:hover .details {
  bottom: 0;
}


@media screen and (max-width: 688px) {

  .gallery .images {
    /* max-width: 100%;
    padding: 0 13px;
    margin-top: 20px; */
    grid-template-columns: repeat(1, 1fr);
  }

  .images .details {
    bottom: 0px;
  }

  .gallery .load-more {
    padding: 10px 25px;
    font-size: 1.05rem;
  }
}