.app-screenshots {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 24px;
  margin: 24px 0 40px;
}

.app-screenshots figure {
  margin: 0;
  padding: 16px;
  background: var(--panel);
  border: 1px solid var(--border);
  border-radius: 16px;
}

.app-screenshots a {
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 360px;
  border-radius: 8px;
}

.app-screenshots a:focus-visible {
  outline: 2px solid var(--accent);
  outline-offset: 4px;
}

.app-screenshots img {
  display: block;
  width: auto;
  height: auto;
  max-width: 100%;
  max-height: 360px;
}

.app-screenshots figcaption {
  margin-top: 12px;
  color: var(--muted);
  text-align: center;
  font-size: 14px;
}

@media (max-width: 540px) {
  .app-screenshots {
    grid-template-columns: 1fr;
  }
}
