#gallery-wrp {
  display: flex;
  width: 100%;
  flex-direction: column;
  padding-bottom: 17px;
}

#gallery-grid {
  display: grid;
  width: 100%;
  grid-gap: 20px;
  grid-template-columns: repeat(4, 1fr);
}

@media only screen and (max-width: 1050px) {
  #gallery-grid {
    grid-gap: 25px;
    grid-template-columns: repeat(3, 1fr);
  }
}

@media only screen and (max-width: 600px) {
  #gallery-grid {
    grid-gap: calc(100vw * 25 / 600);
  }
}

@media only screen and (max-width: 800px) {
  #gallery-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media only screen and (max-width: 435px) {
  #gallery-grid {
    grid-gap: 25px;
    grid-template-columns: repeat(1, 1fr);
  }
}

.gallery-img-size {
  display: block;
  width: 100%;
  position: relative;
  padding-bottom: 67%;
}

.gallery-img {
  display: block;
  height: 100%;
  width: 100%;
  top: 0px;
  left: 0px;
  right: 0px;
  bottom: 0px;
  position: absolute;
  overflow: hidden;
}

.gallery-img a img {
  height: 100%;
  left: 50%;
  position: absolute;
  transform: translateX(-50%);
}

#gallery-more-wrp {
  display: flex;
  width: 100%;
  justify-content: center;
}

#gallery-more-link {
  font-size: 1em;
  font-family: RobotoMedium;
  overflow-wrap: break-word;
  margin: 0px;
  margin-top: 32px;
}
