.gallery-list {
  list-style: none;
  margin: 0;
  padding: 0;
}

.gallery-item {
  display: flex;
  align-items: center;
  gap: 1rem;              /* space between image and text */
  margin-bottom: 1.5rem;
}

.gallery-item img:hover {
  transform: scale(1.03);
}

.gallery-item .info {
  flex: 1;                /* text takes remaining width */
}

.gallery-item .info h3 {
  margin: 0;
  font-size: 1.2rem;
}

.gallery-item .info p {
  margin: 0.3rem 0 0;
  color: #666;
}

.gallery-item img {
  max-width: 220px;   /* never wider than 150px */
  width: 100%;        /* scale down proportionally */
  height: auto;       /* keep aspect ratio */
  border-radius: 8px;
  cursor: pointer;
  flex-shrink: 0;     /* don’t let flexbox shrink it */
  transition: transform 0.2s ease;
  display: block;     /* remove any inline gap issues */
  margin-right: 35px;
}
