.pdgs-gallery{
  display:grid;
  grid-template-columns:repeat(3,minmax(0,1fr));
  gap:14px;
}

.pdgs-gallery__item{
  position:relative;
  display:block;
  overflow:hidden;
  border-radius:22px;
  background:#e8e1d7;
  box-shadow:var(--pdgs-shadow-sm);
}

.pdgs-gallery__item img{
  display:block;
  width:100%;
  height:250px;
  object-fit:cover;
  transition:transform .45s ease;
}

.pdgs-gallery__item:hover img{
  transform:scale(1.05);
}

.pdgs-gallery__item--hidden{
  display:none;
}

.pdgs-gallery__more{
  position:absolute;
  right:14px;
  bottom:14px;
  display:inline-flex;
  align-items:center;
  justify-content:center;
  min-width:52px;
  min-height:40px;
  padding:8px 12px;
  border-radius:999px;
  background:rgba(25,22,21,.76);
  color:#fff;
  font-weight:800;
  box-shadow:0 10px 24px rgba(23,17,12,.18);
}

@media (max-width:1024px){
  .pdgs-gallery{
    grid-template-columns:repeat(2,minmax(0,1fr));
  }
}

@media (max-width:767px){
  .pdgs-gallery{
    grid-template-columns:1fr;
  }

  .pdgs-gallery--hero{
    grid-template-columns:repeat(4,minmax(0,1fr));
    grid-auto-flow:column;
    grid-auto-columns:minmax(0,1fr);
    gap:10px;
  }

  .pdgs-gallery--hero .pdgs-gallery__item{
    width:100%;
    min-width:0;
    border-radius:16px;
  }

  .pdgs-gallery--hero .pdgs-gallery__item img{
    height:46px;
  }
}
