.gallery-grid {
  display: grid;
  grid-template-columns: repeat(4, 180px);
  gap: 10px;
  width: 860px;
  margin: 0 auto;
  overflow-x: auto;
}

.gallery-item {
  width: 180px;
  aspect-ratio: 3 / 4;
  overflow: hidden;
  border-radius: 6px;
  background: #f9f9f9;
  text-align: center;
}

.gallery-item img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  border-radius: 6px;
  display: block;
}

.gallery-item h4 {
  margin-top: 8px;
  font-size: 0.9rem;
  color: #333;
  text-align: center;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}