/* Phone remote 0.8.1 gallery; shared download styles stay unchanged. */
section.screens .screen-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  align-items: start;
  gap: 24px;
}
section.screens .screen-grid figure {
  width: 100%;
  max-width: none;
  min-width: 0;
  margin: 0;
  grid-column: auto;
  grid-row: auto;
}
section.screens .screen-grid img {
  display: block;
  width: 100%;
  max-width: 100%;
  height: 400px;
  max-height: none;
  aspect-ratio: auto;
  object-fit: contain;
  object-position: center;
  background: #f4f7ef;
  border-radius: 16px;
}
section.screens .screen-grid figcaption {
  margin-top: 12px;
}
@media (max-width: 900px) {
  section.screens .screen-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
  section.screens .screen-grid figure:last-child {
    grid-column: 1 / -1;
  }
  section.screens .screen-grid figure:last-child img {
    height: 300px;
  }
}
@media (max-width: 580px) {
  section.screens .screen-grid {
    grid-template-columns: minmax(0, 1fr);
    gap: 28px;
  }
  section.screens .screen-grid figure:last-child img {
    height: auto;
    max-height: 300px;
  }
}
