/* ─────────────────────────────────────────────────────────────
   /writing — the index and post pages generated by
   tools/writing/build.js. Loaded after styles.css; reuses its
   tokens, grid, nav, footer and palette.

   A post is a stop on a route: the argument runs in columns 1–8;
   the rail on the right carries the § contents, the summary and
   the series (square stops, filled = this post).
   ───────────────────────────────────────────────────────────── */

/* ── Draft preview bar (dev server only) ───────────────────── */

.draft-bar {
  position: relative;
  z-index: 2;
  margin-top: var(--nav-h);
  padding: 10px var(--pad);
  background: var(--fg);
  color: var(--bg);
  font-family: var(--mono);
  font-size: 11px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.draft-bar ul {
  margin-top: 6px;
  font-family: var(--sans);
  font-size: 14px;
  letter-spacing: 0;
  text-transform: none;
}

.draft-bar li::before {
  content: "— ";
}

.draft-bar + main {
  padding-top: 0;
}

/* ── Shared rail type ──────────────────────────────────────── */

.rail-label {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 12px;
  margin-bottom: 14px;
  font-family: var(--mono);
  font-size: 11px;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--muted);
}

/* The route: this post's series as a vertical line with a square stop
   per post, filled = this post. The same marker as the role history on
   the homepage. */
.route-series {
  color: var(--fg);
  text-decoration: none;
}

.route-series:hover {
  color: var(--muted);
}

.route {
  margin-left: 4px;
  padding-left: 18px;
  border-left: 1px solid var(--fg);
}

.route li {
  position: relative;
  padding: 6px 0;
  font-size: 15px;
  line-height: 1.4;
  letter-spacing: -0.01em;
  color: var(--text);
}

.route li::before {
  content: "";
  position: absolute;
  top: 11px;
  left: -23px;
  width: 9px;
  height: 9px;
  border: 1px solid var(--fg);
  background: var(--bg);
}

.route li.is-current {
  font-weight: 500;
  color: var(--fg);
}

.route li.is-current::before {
  background: var(--fg);
}

.route a {
  text-decoration: none;
  transition: color 0.15s;
}

.route a:hover {
  color: var(--fg);
}

/* Parts: one toggle each; the line runs under the open ones. */
.route-group + .route-group,
.route-group + .route,
.route + .route-group {
  margin-top: 4px;
}

.route-group summary {
  display: flex;
  justify-content: space-between;
  gap: 12px;
  padding: 10px 0;
  border-bottom: 1px solid var(--hairline);
  list-style: none;
  cursor: pointer;
  font-family: var(--mono);
  font-size: 11px;
  letter-spacing: 0.07em;
  text-transform: uppercase;
  color: var(--muted);
}

.route-group summary::-webkit-details-marker {
  display: none;
}

.route-group summary:hover,
.route-group[open] summary {
  color: var(--fg);
}

.route-group summary span::after {
  content: " +";
}

.route-group[open] summary span::after {
  content: " −";
}

.route-group .route {
  margin-block: 10px 6px;
}

/* ── Post page ─────────────────────────────────────────────── */

.post {
  padding-block: clamp(36px, 5vw, 72px) var(--section-space);
  align-items: start;
}

.post-rail {
  grid-column: 10 / 13;
  grid-row: 1;
  position: sticky;
  top: calc(var(--nav-h) + 32px);
  max-height: calc(100vh - var(--nav-h) - 56px);
  overflow-y: auto;
  padding-right: 12px;
  scrollbar-width: thin;
  scrollbar-color: var(--faint) transparent;
}

.post-rail > * + * {
  margin-top: 40px;
}

.rail-summary > p:last-child {
  font-size: 15px;
  line-height: 1.5;
  letter-spacing: -0.01em;
  color: var(--text);
  text-wrap: pretty;
}

.toc summary {
  list-style: none;
  cursor: default;
}

.toc summary::-webkit-details-marker {
  display: none;
}

.toc ol {
  border-top: 1px solid var(--fg);
}

.toc a {
  display: flex;
  gap: 12px;
  padding: 10px 0;
  border-bottom: 1px solid var(--hairline);
  font-size: 15px;
  line-height: 1.4;
  letter-spacing: -0.01em;
  color: var(--text);
  text-decoration: none;
  transition: color 0.15s;
}

.toc a:hover,
.toc a[aria-current="true"] {
  color: var(--fg);
}

.toc a[aria-current="true"] {
  font-weight: 500;
}

.toc-n {
  flex-shrink: 0;
  min-width: 2.2em;
  padding-top: 3px;
  font-family: var(--mono);
  font-size: 11px;
  font-weight: 400;
  letter-spacing: 0.06em;
}

.post-main {
  grid-column: 1 / 9;
  grid-row: 1;
  min-width: 0;
}

.post-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 8px 22px;
  padding-bottom: 14px;
  border-bottom: 1px solid var(--hairline);
  font-family: var(--mono);
  font-size: 11px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--muted);
}

.post-meta a {
  color: var(--fg);
  text-decoration: none;
  border-bottom: 1px solid var(--hairline);
}

.post-meta a:hover {
  border-bottom-color: var(--fg);
}

.post-title {
  margin-top: clamp(26px, 3vw, 36px);
  font-size: clamp(38px, 4.8vw, 68px);
  font-weight: 400;
  line-height: 0.98;
  letter-spacing: -0.04em;
  text-wrap: balance;
}

/* ── Prose ─────────────────────────────────────────────────── */

.prose {
  margin-top: clamp(36px, 4.5vw, 60px);
  font-size: var(--prose-size);
  line-height: 1.65;
  letter-spacing: var(--prose-track);
}

html[data-theme="dark"] .prose {
  line-height: 1.7;
}

.prose > :is(p, ul, ol, h2, h3, h4, blockquote, table, dl) {
  max-width: var(--measure);
}

.prose > * + * {
  margin-top: 1.1em;
}

.prose > :first-child {
  margin-top: 0;
}

.prose h2 {
  margin-top: 2.6em;
  font-size: clamp(23px, 2.1vw, 28px);
  font-weight: 400;
  line-height: 1.15;
  letter-spacing: -0.03em;
  text-wrap: balance;
}

.prose h2 + *,
.prose h3 + *,
.prose h4 + * {
  margin-top: 0.7em;
}

.sec-n {
  display: inline-block;
  min-width: 2.6em;
  font-family: var(--mono);
  font-size: 12px;
  letter-spacing: 0.08em;
  vertical-align: 0.3em;
  color: var(--muted);
}

.prose .sec-n {
  text-decoration: none;
}

.prose h3 {
  margin-top: 2em;
  font-size: 19px;
  font-weight: 500;
  line-height: 1.3;
  letter-spacing: -0.02em;
}

.prose h4 {
  margin-top: 1.8em;
  font-family: var(--mono);
  font-size: 12px;
  font-weight: 500;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.prose strong {
  font-weight: 500;
}

.prose a {
  text-decoration: underline;
  text-decoration-thickness: 1px;
  text-decoration-color: var(--muted);
  text-underline-offset: 3px;
  transition: text-decoration-color 0.15s;
}

.prose a:hover {
  text-decoration-color: var(--fg);
}

.prose ul > li,
.prose ol > li {
  position: relative;
  padding-left: 22px;
}

.prose li + li {
  margin-top: 0.4em;
}

.prose ul > li::before {
  content: "—";
  position: absolute;
  left: 0;
  color: var(--faint);
}

.prose ol {
  counter-reset: item;
}

.prose ol > li {
  counter-increment: item;
}

.prose ol > li::before {
  content: counter(item, decimal-leading-zero);
  position: absolute;
  left: 0;
  top: 0.55em;
  font-family: var(--mono);
  font-size: 11px;
  line-height: 1.5;
  color: var(--muted);
}

.prose li > :is(ul, ol) {
  margin-top: 0.4em;
}

.prose blockquote {
  margin-inline: 0;
  padding-left: 18px;
  border-left: 1px solid var(--fg);
  color: var(--text);
}

.prose blockquote > * + * {
  margin-top: 0.8em;
}

.prose hr {
  max-width: var(--measure);
  margin-block: 2.6em;
  border: 0;
  border-top: 1px dashed var(--dash);
}

.prose :not(pre) > code {
  padding: 1px 5px;
  border: 1px solid var(--hairline);
  background: var(--surface);
  font-family: var(--mono);
  font-size: 0.82em;
  overflow-wrap: anywhere;
}

.prose table {
  display: block;
  overflow-x: auto;
  border-collapse: collapse;
  font-size: 15px;
  line-height: 1.45;
}

.prose th {
  padding: 0 18px 9px 0;
  border-bottom: 1px solid var(--fg);
  font-family: var(--mono);
  font-size: 11px;
  font-weight: 400;
  letter-spacing: 0.07em;
  text-align: left;
  text-transform: uppercase;
  color: var(--muted);
}

.prose td {
  padding: 9px 18px 9px 0;
  border-bottom: 1px solid var(--hairline);
  vertical-align: top;
}

.prose > img {
  height: auto;
}

/* ── Code with its real output ─────────────────────────────── */

.prose > .code {
  margin-top: 1.6em;
}

.prose > .code + * {
  margin-top: 1.6em;
}

.code {
  border: 1px solid var(--hairline);
}

.code-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  padding: 9px 14px;
  border-bottom: 1px solid var(--hairline);
  background: var(--surface);
  font-family: var(--mono);
  font-size: 11px;
  letter-spacing: 0.07em;
  text-transform: uppercase;
  color: var(--muted);
}

.code-head--out {
  border-top: 1px solid var(--hairline);
  background: none;
}

.code > .code-head--out:first-child {
  border-top: 0;
}

.copy {
  padding: 3px 0;
  font-family: var(--mono);
  font-size: 11px;
  letter-spacing: 0.07em;
  text-transform: uppercase;
  color: var(--muted);
  transition: color 0.15s;
  position: relative;
}

.copy:hover,
.copy:focus-visible {
  color: var(--fg);
}

/* Small marks, full-size tap areas. */
.copy::after,
.canvas-tools :is(button, a)::after {
  content: "";
  position: absolute;
  inset: -12px -8px;
}

.code pre {
  margin: 0;
  padding: 16px 14px;
  overflow-x: auto;
  background: var(--surface);
  font-family: var(--mono);
  font-size: 14px;
  line-height: 1.6;
  tab-size: 4;
  scrollbar-width: thin;
  scrollbar-color: var(--faint) transparent;
}

.code pre.out {
  background: none;
}

.code code {
  font: inherit;
}

/* Monochrome highlighting: weight for keywords, tone for comments. */
.hljs-keyword,
.hljs-built_in,
.hljs-literal,
.hljs-type,
.hljs-selector-tag {
  font-weight: 500;
}

.hljs-comment,
.hljs-quote,
.hljs-meta,
.hljs-doctag {
  color: var(--muted);
}

.hljs-string,
.hljs-number,
.hljs-title,
.hljs-params,
.hljs-attr,
.hljs-variable {
  color: var(--fg);
}

.hljs-deletion {
  color: var(--muted);
  text-decoration: line-through;
}

.hljs-addition {
  font-weight: 500;
}

/* ── Figures ───────────────────────────────────────────────── */

.prose > .plate {
  margin-top: 2em;
}

.prose > .plate + * {
  margin-top: 2em;
}

.plate {
  position: relative;
  border: 1px solid var(--fg);
}

/* Columns 4–12 instead of 4–10: (9 columns + 8 gaps) over (7 + 6). */
.plate--wide {
  width: calc((900% + 2 * var(--gap)) / 7);
}

.plate-media {
  display: grid;
  place-items: center;
  padding: clamp(18px, 3vw, 40px);
  background:
    repeating-linear-gradient(90deg, transparent 0 15px, var(--surface) 15px 16px),
    repeating-linear-gradient(0deg, transparent 0 15px, var(--surface) 15px 16px),
    var(--bg);
}

.plate-media img {
  width: auto;
  max-width: 100%;
  height: auto;
}

/* Figures are drawn black on transparent; flip them with the page. */
html[data-theme="dark"] .plate-media img[src$=".svg"] {
  filter: invert(1);
}

.plate figcaption {
  display: flex;
  flex-wrap: wrap;
  align-items: baseline;
  gap: 4px 0;
  padding: 10px 14px;
  border-top: 1px solid var(--hairline);
  font-size: 15px;
  line-height: 1.5;
  color: var(--text);
}

.fig-n {
  margin-right: 0.6em;
  font-family: var(--mono);
  font-size: 11px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--fg);
}

.plate-todo {
  width: 100%;
  min-height: 160px;
  padding: 18px 20px;
  border: 1px dashed var(--fg);
  background: var(--bg);
}

.plate-todo p:not(.todo-label) {
  margin-top: 10px;
  max-width: 40em;
  font-size: 15px;
  line-height: 1.5;
  color: var(--muted);
}

.todo-label {
  font-family: var(--mono);
  font-size: 11px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

/* ── Post footer ───────────────────────────────────────────── */

.post-foot {
  margin-top: clamp(56px, 7vw, 96px);
  border-top: 1px solid var(--fg);
}

.pager {
  display: grid;
  grid-template-columns: 1fr 1fr;
  border-bottom: 1px solid var(--hairline);
}

.pager-link {
  display: flex;
  flex-direction: column;
  gap: 6px;
  padding: 18px 18px 18px 0;
  text-decoration: none;
}

.pager-link--next {
  grid-column: 2;
  align-items: flex-end;
  padding: 18px 0 18px 18px;
  border-left: 1px dashed var(--dash);
  text-align: right;
}

.pager-dir {
  font-family: var(--mono);
  font-size: 11px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--muted);
}

.pager-t {
  font-size: 18px;
  line-height: 1.3;
  letter-spacing: -0.02em;
}

.pager-link:hover .pager-dir {
  color: var(--fg);
}

.post-foot-links {
  display: flex;
  flex-wrap: wrap;
  gap: 0 24px;
}

/* ── Index page ────────────────────────────────────────────── */

.writing-head {
  padding-block: clamp(52px, 7vw, 96px) clamp(40px, 5vw, 72px);
}

/* Facts sit under the précis, not above the title. */
.writing-facts {
  margin: clamp(26px, 3.5vw, 40px) 0 0;
  padding: 14px 0 0;
  border-top: 1px solid var(--hairline);
  border-bottom: 0;
}

.writing-head .hero-meta a {
  color: var(--fg);
  text-decoration: none;
  border-bottom: 1px solid var(--hairline);
}

.writing-head .hero-meta a:hover {
  border-bottom-color: var(--fg);
}

.writing-title {
  font-size: clamp(46px, 9vw, 132px);
  font-weight: 400;
  line-height: 0.87;
  letter-spacing: -0.04em;
  text-transform: uppercase;
}

.writing-precis {
  margin-top: clamp(22px, 3vw, 36px);
  max-width: 34em;
  font-size: clamp(17px, 1.55vw, 22px);
  line-height: 1.42;
  letter-spacing: -0.014em;
}

.writing-route {
  padding-bottom: var(--section-space);
}

.writing-empty {
  padding: 18px 0;
  border-top: 1px solid var(--fg);
  border-bottom: 1px solid var(--hairline);
  color: var(--muted);
}

/* One topic per row; the line down the left joins the stops. */
.lines {
  position: relative;
  border-top: 1px solid var(--fg);
}

.lines::before {
  content: "";
  position: absolute;
  top: 0;
  bottom: 0;
  left: 4px;
  border-left: 1px solid var(--fg);
}

.line {
  display: grid;
  grid-template-columns: repeat(12, 1fr);
  column-gap: var(--gap);
  padding-block: 26px;
  border-bottom: 1px solid var(--hairline);
}

.line-head {
  grid-column: 1 / 4;
  position: relative;
  padding-left: 26px;
  font-weight: 400;
}

.line-head::before {
  content: "";
  position: absolute;
  top: 8px;
  left: 0;
  width: 9px;
  height: 9px;
  border: 1px solid var(--fg);
  background: var(--bg);
}

.line.is-current .line-head::before {
  background: var(--fg);
}

.line-name {
  display: block;
  font-size: clamp(19px, 1.7vw, 23px);
  line-height: 1.2;
  letter-spacing: -0.028em;
}

.line-count {
  display: block;
  margin-top: 6px;
  font-family: var(--mono);
  font-size: 11px;
  letter-spacing: 0.07em;
  text-transform: uppercase;
  color: var(--muted);
}

.line-posts {
  grid-column: 4 / 11;
}

.line-posts .entry {
  padding-top: 0;
}

.line-posts > li + .line-part,
.line-part + li {
  margin-top: 26px;
}

.line-part + li > .entry {
  padding-top: 0;
}

.line-part-name {
  margin-bottom: 12px;
  font-family: var(--mono);
  font-size: 11px;
  font-weight: 400;
  letter-spacing: 0.07em;
  text-transform: uppercase;
  color: var(--muted);
}

.line-posts li + li > .entry {
  padding-top: 15px;
}

.line-posts li:last-child > .entry {
  border-bottom: 0;
  padding-bottom: 0;
}

.line-posts .entry .t {
  font-size: 19px;
  line-height: 1.3;
  letter-spacing: -0.024em;
}

.line-posts .entry .d {
  grid-column: 1 / 2;
  max-width: var(--measure);
  font-size: 16px;
  line-height: 1.55;
  color: var(--text);
  text-wrap: pretty;
}

.line-posts .entry .m {
  margin-top: 4px;
}

.line-posts .entry .go {
  grid-row: 1 / 4;
}

.line-posts .entry.is-draft .t::after {
  content: "Draft";
  margin-left: 10px;
  padding: 2px 6px;
  border: 1px dashed var(--fg);
  font-family: var(--mono);
  font-size: 11px;
  letter-spacing: 0.07em;
  text-transform: uppercase;
  vertical-align: 0.25em;
}

/* ── Footer ────────────────────────────────────────────────── */

.writing-page .footer-inner a:not(.to-top) {
  text-decoration: none;
  border-bottom: 1px solid var(--hairline);
}

.writing-page .footer-inner a:not(.to-top):hover {
  color: var(--fg);
  border-bottom-color: var(--fg);
}

/* ── Handwritten notes ─────────────────────────────────────── */

/* The page runs under the title; the rail runs beside both. The
   article's parts sit straight on the post grid. */
.post--canvas .post-rail {
  grid-row: 1 / span 2;
}

.post--canvas .post-main {
  display: contents;
}

.post--canvas .post-head {
  grid-column: 1 / 10;
  grid-row: 1;
}

.post--canvas .post-foot {
  grid-column: 1 / 10;
}

.notes {
  grid-column: 1 / 10;
  margin-top: clamp(36px, 4.5vw, 60px);
}

.canvas {
  position: relative;
  border: 1px solid var(--fg);
}

/* Ink is exported on transparent; it stays on paper in dark mode. */
.canvas-stage {
  position: relative;
  height: min(76vh, 780px);
  overflow: hidden;
  background: #ffffff;
  cursor: grab;
  touch-action: none;
  user-select: none;
  -webkit-user-select: none;
}

.canvas-stage.is-dragging {
  cursor: grabbing;
}

.canvas-stage:focus-visible {
  outline: 2px solid var(--fg);
  outline-offset: -2px;
}

.canvas-stage img {
  position: absolute;
  top: 0;
  left: 0;
  max-width: none;
  height: auto;
  transform-origin: 0 0;
  will-change: transform;
  pointer-events: none;
}

.canvas-stage img.is-animating {
  transition: transform 0.45s cubic-bezier(0.2, 0.7, 0.2, 1);
}

.canvas-bar {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 8px 18px;
  padding: 8px 14px;
  border-top: 1px solid var(--hairline);
  font-family: var(--mono);
  font-size: 11px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--muted);
}

@media (pointer: coarse) {
  .canvas-hint {
    display: none;
  }
}

.canvas-tools {
  display: flex;
  align-items: center;
  gap: 4px 16px;
}

.canvas-tools :is(button, a) {
  padding: 4px 0;
  font: inherit;
  letter-spacing: inherit;
  text-transform: inherit;
  color: var(--fg);
  text-decoration: none;
  transition: color 0.15s;
  position: relative;
}

.canvas-tools button[data-canvas-zoom] {
  min-width: 18px;
  font-size: 15px;
  line-height: 1;
}

.canvas-tools :is(button, a):hover {
  color: var(--muted);
}

.canvas-close {
  display: none;
}

/* Full screen: the page covers the window; the bar stays at the bottom. */
.canvas-open,
.canvas-open body {
  overflow: hidden;
}

.canvas.is-full {
  position: fixed;
  inset: 0;
  z-index: 500;
  display: flex;
  flex-direction: column;
  border: 0;
  background: var(--bg);
}

.canvas.is-full .corner {
  display: none;
}

.canvas.is-full .canvas-stage {
  flex: 1;
  height: auto;
}

.canvas.is-full .canvas-close {
  display: grid;
  place-items: center;
  position: absolute;
  top: 14px;
  right: 14px;
  z-index: 1;
  width: 40px;
  height: 40px;
  border: 1px solid var(--fg);
  background: var(--bg);
  color: var(--fg);
  font-size: 22px;
  line-height: 1;
  transition: color 0.15s, background 0.15s;
}

.canvas.is-full .canvas-close:hover {
  background: var(--fg);
  color: var(--bg);
}

.notes-index .prose {
  margin-top: 0;
  padding-top: 12px;
  border-top: 1px solid var(--fg);
  font-size: 16px;
  line-height: 1.5;
}

.notes-empty {
  color: var(--muted);
}

@media (prefers-reduced-motion: reduce) {
  .canvas-stage img.is-animating {
    transition: none;
  }
}

@media (max-width: 1180px) {
  .post--canvas .post-head,
  .post--canvas .post-foot,
  .notes {
    grid-column: 1 / 9;
  }

  .post-rail {
    grid-column: 9 / 13;
  }
}

@media (max-width: 960px) {
  .post--canvas .post-head,
  .post--canvas .post-foot,
  .notes {
    grid-column: 1 / 13;
  }

  .post--canvas .post-head,
  .post--canvas .post-rail {
    grid-row: auto;
  }

  /* The page comes first; the rail follows it. */
  .post--canvas .post-rail {
    order: 1;
    margin: 40px 0 0;
  }

  .post--canvas .post-foot {
    order: 2;
  }

  .canvas-stage {
    height: 60svh;
  }
}

/* ── Responsive ────────────────────────────────────────────── */

@media (max-width: 1180px) {
  .post-main {
    grid-column: 1 / 9;
  }

  .line-posts {
    grid-column: 4 / 13;
  }
}

@media (max-width: 960px) {
  .post-rail,
  .post-main {
    grid-column: 1 / 13;
    grid-row: auto;
  }

  /* On narrow screens the rail becomes compact rows above the title. */
  .post-rail {
    position: static;
    max-height: none;
    overflow: visible;
    padding-right: 0;
    margin-bottom: 36px;
  }

  .post-rail > * + * {
    margin-top: 28px;
  }

  .toc {
    border-top: 1px solid var(--fg);
    border-bottom: 1px solid var(--hairline);
  }

  .toc summary {
    margin-bottom: 0;
    padding: 12px 0;
    cursor: pointer;
  }

  .toc summary::after {
    content: "+";
    font-size: 13px;
    color: var(--fg);
  }

  .toc[open] summary::after {
    content: "−";
  }

  .toc summary span {
    margin-left: auto;
  }

  .toc ol {
    padding-bottom: 6px;
  }

  .toc li:last-child a {
    border-bottom: 0;
  }

  .plate--wide {
    width: 100%;
  }

  .line-head,
  .line-posts {
    grid-column: 1 / 13;
  }

  .line-posts {
    margin-top: 18px;
    padding-left: 26px;
  }
}

@media (max-width: 780px) {
  .code pre {
    font-size: 13px;
  }

  .pager {
    grid-template-columns: 1fr;
  }

  .pager-link--next {
    grid-column: 1;
    align-items: flex-start;
    padding: 18px 0;
    border-left: 0;
    border-top: 1px dashed var(--dash);
    text-align: left;
  }

  .pager-link--empty {
    display: none;
  }
}

@media print {
  .post-rail,
  .post-foot .pager,
  .copy {
    display: none !important;
  }

  .post-main {
    grid-column: 1 / 13;
  }
}
