/* Categories grid - 2 x 2 layout */
.categories {
  display: grid;
  grid-template-columns: repeat(2, 1fr); /* 2 columns */
  gap: 1.5em;
  padding: 2em;
  text-align: center;
}

.categories img {
  width: 100%;
  height: 200px;
  object-fit: cover;
  border-radius: 200px; /* no rounded corners */
  transition: transform 0.2s;
}

.categories img:hover {
  transform: scale(1.05); /* optional hover effect */
}

/* Vertical scroll galleries for individual category pages */
.vertical-gallery {
  max-width: 800px;
  margin: 0 auto;
  padding: 2em 1em;
}

.artwork {
  margin-bottom: 3em;
}

.artwork img {
  width: 100%;
  height: auto;
  border-radius: 0; /* no rounded corners */
  cursor: pointer;
  transition: transform 0.2s;
}

.artwork img:hover {
  transform: scale(1.02);
}

.artwork-info {
  margin-top: 0.5em;
  font-size: 0.9em;
  color: #333;
}

.artwork-info h2 {
  margin: 0.2em 0;
  font-size: 1.2em;
}

/* Responsive adjustment: stack categories on small screens */
@media (max-width: 500px) {
  .categories {
    grid-template-columns: 1fr;
  }
}
