.dg-gallery {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(220px, 1fr));
  gap: 15px;
}

.dg-item {
  position: relative;
  overflow: hidden;
  border-radius: 12px;
}

.dg-item img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.4s ease;
}

.dg-item:hover img {
  transform: scale(1.1);
}

.dg-caption {
  position: absolute;
  bottom: 0;
  width: 100%;
  background: rgba(0,0,0,0.6);
  color: white;
  font-size: 13px;
  padding: 6px;
  text-align: center;
}
