.pp-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
}

.pp-item {
  position: relative;
  overflow: hidden;
}

.pp-item img {
    display: block;
    aspect-ratio: 5 / 4!important;
    object-fit: cover!important;
} 



.pp-caption {
  position: absolute;
  bottom: 0;
  left: 0;
  width: 100%;
  background: rgba(0,0,0,0.7);
  color: #fff;
  padding: 8px;
  text-align: center;
  font-size: 14px;
  display: none;
}

.pp-item:hover .pp-caption {
  display: block;
}

#pp-lightbox {
  position: fixed;
  top: 0; left: 0; right: 0; bottom: 0;
  background: rgba(0, 0, 0, 0.8);
  justify-content: center;
  align-items: center;
  z-index: 9999;
  display: none;
}

#pp-lightbox img {
  max-width: 90%;
  max-height: 90%;
}

.pp-close {
  position: absolute;
  top: 20px;
  right: 30px;
  color: white;
  font-size: 30px;
  cursor: pointer;
  z-index: 10000;
}