/* Aligned photographs without visible panels; the main image uses the same size. */
.project-gallery {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 18px;
  align-items: start;
}

.project-gallery--top {
  padding-top: 116px;
}

.project-gallery__item {
  min-width: 0;
  margin: 0;
}

.project-gallery__frame {
  display: grid;
  width: 100%;
  aspect-ratio: 1;
  place-items: center;
  overflow: visible;
  border: 0;
  border-radius: 0;
  background: transparent;
  box-shadow: none;
}

.project-gallery__frame img {
  display: block;
  width: 100%;
  height: 100%;
  min-height: 0;
  max-width: 100%;
  max-height: 100%;
  object-fit: contain;
  transform: none;
}

a.project-gallery__frame:focus-visible {
  outline: 3px solid var(--gold, #d7ad63);
  outline-offset: 4px;
}

.artwork-single--gallery {
  display: block;
}

.artwork-single--gallery .artwork-single__details {
  max-width: 860px;
  padding-top: 48px;
}

@media (max-width: 900px) {
  .project-gallery {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .project-gallery--top {
    padding-top: 98px;
  }
}

@media (max-width: 620px) {
  .project-gallery {
    grid-template-columns: minmax(0, 1fr);
  }

}
