.gallery-lightbox {
  display: grid;
  grid-column-gap: 1rem;
  grid-row-gap: 1rem;
  margin-top: 1.5rem;
}
@media screen and (min-width: 544px) {
  .gallery-lightbox {
    grid-template-columns: 1fr 1fr 1fr;
  }
}
@media screen and (min-width: 768px) {
  .gallery-lightbox {
    grid-template-columns: 1fr 1fr 1fr 1fr;
  }
}

.gallery-lightbox-item {
  border: 3px solid transparent;
  margin: auto;
  position: relative;
  transition: border 0.25s;
  overflow: hidden;
}
.gallery-lightbox-item:hover {
  border: 3px solid #367e8f;
}
.gallery-lightbox-item:hover .gallery-lightbox-item__expand {
  bottom: 10px;
}

.gallery-lightbox-item__media {
  display: block;
}

.gallery-lightbox-item__expand {
  position: absolute;
  right: 10px;
  bottom: -35px;
  transition: bottom 0.25s;
}

.gallery-lightbox__title {
  font-size: 1.5rem;
  font-weight: normal;
}
@media screen and (min-width: 544px) {
  .gallery-lightbox__title {
    font-size: 2rem;
  }
}
@media screen and (min-width: 768px) {
  .gallery-lightbox__title {
    font-size: 3rem;
  }
}

#cboxLoadedContent {
  background: #000;
}