/* /press (lib_press.mjs): the download grid of the press kit. Colours from site.css. */
main.page:has(.press-group) { max-width: 72rem; }
main.page:has(.press-group) > :not(.press-group) { max-width: 46rem; }
.press-group { margin-top: 2.5rem; }
.press-group > p { max-width: 46rem; color: var(--muted); }
.press-grid { list-style: none; margin: 1rem 0 0; padding: 0; display: grid; gap: 24px; grid-template-columns: repeat(auto-fill, minmax(220px, 1fr)); }
.press-grid--app-screens { grid-template-columns: repeat(auto-fill, minmax(160px, 1fr)); }
.press-item { display: flex; flex-direction: column; gap: 8px; margin: 0; }
.press-item--scene { grid-column: 1 / -1; }
@media (min-width: 900px) { .press-item--scene { grid-column: span 3; } }
.press-item h3 { margin: 4px 0 0; font-size: 1rem; line-height: 1.4; font-weight: 600; }
.press-preview { display: flex; align-items: center; justify-content: center; aspect-ratio: 4 / 3; padding: 24px; border-radius: 12px; border: 1px solid var(--line); }
.press-preview--light { background: var(--lowest); }
.press-preview--dark { background: var(--fg); border-color: var(--fg); }
.press-preview img { display: block; max-width: 100%; max-height: 100%; width: auto; height: auto; }
.press-grid--logo .press-preview img { width: 100%; height: 72px; object-fit: contain; }
.press-grid--app-icon .press-preview img { max-height: 160px; }
.press-item--phone .press-preview { aspect-ratio: auto; padding: 12px; background: var(--low); border-color: var(--low); }
.press-item--scene .press-preview { aspect-ratio: auto; padding: 0; overflow: hidden; }
.press-item--scene .press-preview img { width: 100%; }
.press-files { list-style: none; margin: 0; padding: 0; display: grid; gap: 4px; font-size: .875rem; line-height: 20px; }
.press-files a { display: inline-block; padding: 6px 0; }
