/*
 * A post prints like an essay `[2026-11-21, Nik]`: the navigation gone, the
 * notes kept, and every photo whole.
 */

@page { margin: 18mm 16mm; }

:root {
  --ground: #fff;
  --ink: #000;
  --ink-soft: #333;
  --accent: #000;
}

html, body { background: #fff !important; color: #000; }
body { font-size: 10.5pt; line-height: 1.5; }

.site-nav,
.skip-link,
.face-switch,
.post-nav,
.gallery-nav,
.lightbox,
.site-footer .copyright { display: none !important; }

.site { padding: 0 !important; max-width: none; }
.site-header { padding: 0; margin-bottom: 8mm; }
.site-title { font-size: 18pt; }

/* The notes stay in a margin on paper, which is wide enough for one. */
.entry { max-width: 62%; margin-right: 0; }
.sidenote,
.marginnote {
  display: block !important;
  float: right;
  clear: right;
  width: 52%;
  margin-right: -60%;
  font-size: 8pt;
  line-height: 1.35;
  background: none !important;
  box-shadow: none !important;
}

.entry-title { font-size: 24pt; margin-right: -40%; }
.entry-body a { text-decoration: none; }

figure, .frame, img { break-inside: avoid; }
.js .frame img { opacity: 1 !important; }
.frame::before { display: none; }

/* A scroll gallery becomes a grid of every photo. */
.gallery { width: auto !important; margin: 4mm 0 !important; }
.gallery-track {
  display: grid !important;
  grid-template-columns: repeat(3, 1fr);
  gap: 2mm;
  overflow: visible !important;
  padding: 0 !important;
}
.gallery-item { height: auto !important; }
.gallery-item .frame { height: auto !important; width: 100% !important; }

.site-footer { border: 0; margin-top: 8mm; padding: 0; }
