/* NH554-IMG: pictures on sample audit pages, the samples overview and /about/. Colours come from theme.css tokens. */
.nx-card { margin: 0 0 18px; }
.nx-card img, .nx-fig img, .nx-card-img { display: block; width: 100%; max-width: 100%; height: auto; border: 1px solid var(--border); border-radius: 12px; background: var(--bg-elev); }
.nx-thumb { display: block; width: 160px; max-width: 100%; height: auto; margin: 2px 0 6px; border: 1px solid var(--border); border-radius: 6px; background: var(--bg-elev); }
.card > .nx-thumb { width: 240px; margin: 4px 0 10px; }
.nx-fig { margin: 18px 0; max-width: 760px; }
.nx-fig-row { display: grid; grid-template-columns: repeat(auto-fit, minmax(260px, 1fr)); gap: 16px; margin: 18px 0 24px; max-width: 980px; }
.nx-fig-row .nx-fig { margin: 0; }
@media (max-width: 600px) { .nx-thumb { width: 120px; } .card > .nx-thumb { width: 100%; } }
