.masonry-grid {
  margin: 80px auto;
}

.gallery-item {
  width: 320px;
  display: block;
  margin-bottom: 16px;
  border-radius: 8px;
  overflow: hidden;
  background: #fff;
  border: 1px solid #d1d1d1;
  text-decoration: none;
}

.gallery-item__caption {
  position: absolute;
  inset: 0;
  background: rgba(0, 0, 0, 0.6);
  color: #fff;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  align-items: start;
  padding: 24px;
  opacity: 0;
  transition: opacity 0.2s;
  z-index: 2;
}

.gallery-item:hover .gallery-item__caption {
  opacity: 1;
}

.gallery-item__title {
  font-size: 1.25rem;
  font-weight: 700;
  margin-bottom: 0;
}

.gallery-item__tools {
  font-size: 1rem;
}

.gallery-item__description {
  font-size: 0.875rem;
  margin-top: 16px;
  color: #e6e6e6;
}

.gallery-overlay {
  position: fixed;
  top: 0;
  left: 0;
  width: 100vw;
  height: 100vh;
  background: rgba(0, 0, 0, 0.7);
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 9999;
}

.gallery-overlay img {
  max-height: 80vh;
  border-radius: 8px;
  cursor: zoom-in;
}

.gallery-overlay video {
  max-height: 80vh;
  border-radius: 8px;
  cursor: pointer;
}

.gallery-overlay__close {
  position: absolute;
  top: 48px;
  right: 48px;
  font-size: 2.5rem;
  color: #fff;
  cursor: pointer;
  font-weight: bold;
  z-index: 10000;
  user-select: none;
}

.banner {
  background: none;
  gap: 24px;
}

.banner__text h1 {
  font-size: 1.75rem;
}

.banner__text p {
  font-size: 1rem;
  margin-top: 16px;
  padding-right: 64px;
}

@media screen and (max-width: 63.99em) {
  .banner__text p {
    padding-right: 0;
  }
  /* 
  .gallery-item__caption {
    position: relative;
    background: none;
    color: #353535;
    display: flex;
    flex-direction: column;
    justify-content: start;
    align-items: start;
    padding: 16px 24px;
    opacity: 1;
    border-top: 1px solid #d1d1d1;
  }

  .gallery-item__description {
    color: #575757;
  } */
}
