.i-gallery-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(250px, 1fr));
  gap: 16px;
  margin: 20px 0;
  width: 100%;
}
.i-gallery-item {
  position: relative;
  overflow: hidden;
  border-radius: 4px;
  box-shadow: 0 2px 5px rgba(0,0,0,0.1);
  transition: transform 0.2s ease-in-out;
}
.i-gallery-item:hover {
  transform: scale(1.02);
}
.i-gallery-item img {
  display: block;
  width: 100%;
  height: 200px;
  object-fit: cover;
  transition: opacity 0.2s ease;
}
@media (max-width: 480px) {
  .i-gallery-grid {
    grid-template-columns: repeat(auto-fill, minmax(150px, 1fr));
    gap: 8px;
  }
  .i-gallery-item img {
    height: 150px;
  }
}