/* Use the site's existing gallery, content, and navigation layouts. */
.gallery-item.project-thumbnail-app,
.gallery-item.project-thumbnail-icon {
  object-fit: contain;
  background: #1e1e1e;
  padding: 1rem;
}

.project-feature img {
  max-height: 32rem;
  object-fit: contain;
}

.projects-skip {
  position: fixed;
  top: -100px;
  left: 1rem;
  z-index: 1000;
  padding: 0.75rem 1rem;
  background: var(--color-white, #fff);
  color: var(--color-dark, #333);
}

.projects-skip:focus {
  top: 1rem;
}

.gallery-item-wrapper:focus-within .gallery-item {
  opacity: 0;
}

.gallery-item-wrapper:focus-within .overlay-text {
  opacity: 1;
}

.project-resource-links {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 1rem;
  margin: 1.5rem 0;
}

.project-resource-links img {
  display: block;
  width: 4rem;
  height: 4rem;
  object-fit: contain;
  flex-shrink: 0;
}

@media (min-width: 481px) and (max-width: 1024px) {
  .projects-page .gallery.gallery-3 {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}
