.product-links a {
  display: block;
  padding: .55rem .85rem;
  border: 1px solid var(--rule);
  border-radius: .45rem;
  background: var(--selected);
  font-weight: 650;
  text-decoration: none;
}

.product-links a:hover { text-decoration: underline; }

article > .screenshot-gallery {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(min(100%, 17rem), 1fr));
  gap: 1.75rem;
  max-width: none;
  margin-top: 1rem;
}

.screenshot-gallery figure { margin: 0; }

.screenshot-gallery img {
  display: block;
  width: 100%;
  height: auto;
  border: 1px solid var(--rule);
  border-radius: .6rem;
}

.screenshot-gallery figcaption {
  margin-top: .6rem;
  color: var(--secondary);
}

@media (prefers-color-scheme: dark) {
  .brand img { filter: invert(1); }
}
