/* ==========================================================================
   Field Notes — base, reset, layout primitives
   ========================================================================== */
:root {
  --bg: #181818;
  --surface: #202020;
  --surface2: #242424;
  --text: #e9e9e9;
  --muted: #989898;
  --line: #343434;
  --blue: #69bde9;
  --pink: #ed55b3;
  --blue-dark: #286b91;
  --pink-dark: #8d2c64;
  --green: #8bcf9b;
  --amber: #e3bc72;
  --red: #ef7d7d;
  --max: 1180px;
  --reading: 760px;
  --radius: 9px;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }

body {
  margin: 0;
  background: var(--bg);
  color: var(--text);
  font-family: ui-serif, Georgia, Cambria, "Times New Roman", serif;
  line-height: 1.67;
}

a { color: var(--blue); text-underline-offset: .16em; }
a:hover { color: var(--pink); }
img { max-width: 100%; }

.wrap {
  width: min(calc(100% - 34px), var(--max));
  margin: auto;
}

.mono, nav, .brand, .eyebrow, .label, .meta, .tag, .more, footer, .type, .toc {
  font-family: ui-monospace, SFMono-Regular, Menlo, Monaco, Consolas, monospace;
}

/* ==========================================================================
   Header / nav
   ========================================================================== */
header.site-header {
  border-bottom: 1px solid var(--line);
  background: var(--bg);
  position: sticky;
  top: 0;
  z-index: 10;
}
.top {
  min-height: 78px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 28px;
}
.brand { text-decoration: none; font-size: .94rem; display: flex; align-items: center; gap: 12px; }
.brand-logo { display: block; height: 30px; width: auto; }
.brand-path {
  color: var(--blue);
  font-family: ui-monospace, SFMono-Regular, Menlo, Monaco, Consolas, monospace;
  font-size: .82rem;
}
nav.site-nav { display: flex; gap: 20px; flex-wrap: wrap; font-size: .78rem; }
nav.site-nav a { text-decoration: none; color: var(--muted); }
nav.site-nav a:hover, nav.site-nav a.active { color: var(--blue); }

/* ==========================================================================
   Footer
   ========================================================================== */
footer.site-footer {
  width: min(calc(100% - 34px), var(--max));
  margin: auto;
  padding: 28px 0 55px;
  border-top: 1px solid var(--line);
  font: .68rem ui-monospace, monospace;
  color: var(--muted);
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 25px;
  flex-wrap: wrap;
}
footer.site-footer a { text-decoration: none; color: var(--muted); }
footer.site-footer a:hover { color: var(--blue); }

.social-links { display: flex; align-items: center; gap: 16px; }
.social-links a { color: var(--muted); line-height: 0; }
.social-links a:hover { color: var(--blue); }
.social-links svg { width: 17px; height: 17px; }

/* ==========================================================================
   Shared page head (kicker + H1 + intro) used by list/topics/about pages
   ========================================================================== */
.pagehead { padding: 72px 0 45px; border-bottom: 1px solid var(--line); }
.pagehead h1 {
  font-size: clamp(2rem, 4vw, 3rem);
  line-height: 1.1;
  margin: 0 0 18px;
  letter-spacing: -.02em;
}
.pagehead p { max-width: 720px; color: var(--muted); font-size: 1.08rem; margin: 0; }

/* Tags / category pills shared between article footers, topic list, cloud */
.tag {
  font-size: .65rem;
  color: var(--muted);
  text-decoration: none;
  border: 1px solid var(--line);
  padding: 2px 7px;
  border-radius: 99px;
  display: inline-block;
}
.tag:hover { color: var(--pink); border-color: var(--pink-dark); }
.meta { font-size: .69rem; color: var(--muted); }

@media (max-width: 560px) {
  .wrap { width: min(calc(100% - 24px), var(--max)); }
  .top { align-items: flex-start; flex-direction: column; padding: 20px 0; gap: 11px; }
  nav.site-nav { gap: 13px; }
  .pagehead { padding-top: 48px; }
}

/* ==========================================================================
   Home — hero + latest 3-column
   ========================================================================== */
.hero { padding: 52px 0 36px; max-width: 720px; margin: 0 auto; text-align: center; }
.hero h1 {
  font-size: clamp(2rem, 4vw, 3rem);
  line-height: 1.1;
  letter-spacing: -.02em;
  margin: 0;
  font-weight: 650;
}
.hero .intro { font-size: 1.1rem; color: var(--muted); max-width: 640px; margin: 16px auto 0; }

.home-latest { border-top: 1px solid var(--line); padding-top: 32px; }
.home-latest .label {
  font-size: .7rem;
  letter-spacing: .1em;
  text-transform: uppercase;
  color: var(--blue);
  margin-bottom: 4px;
}
.home-latest .card-grid { padding-top: 22px; padding-bottom: 20px; }
.home-latest-links {
  display: grid;
  grid-template-columns: 1fr;
  gap: 14px;
  padding-top: 26px;
  padding-bottom: 90px;
  border-top: 1px solid var(--line);
}
@media (min-width: 640px) {
  .home-latest-links { grid-template-columns: repeat(2, 1fr); }
}
@media (min-width: 980px) {
  .home-latest-links { grid-template-columns: repeat(3, 1fr); }
}
.more {
  display: block;
  text-align: center;
  padding: 12px 18px;
  border: 1px solid var(--line);
  border-radius: 99px;
  background: var(--surface);
  font-size: .72rem;
  color: var(--blue);
  text-decoration: none;
  font-family: ui-monospace, monospace;
  transition: background-color .15s ease, border-color .15s ease, color .15s ease;
}
.more:hover { color: var(--pink); border-color: var(--pink-dark); background: var(--surface2); }

/* Content thumbnails — real image, or a type-colored default with an icon */
.content-thumb {
  aspect-ratio: 16 / 9;
  border: 1px solid var(--line);
  border-radius: 7px;
  display: grid;
  place-items: center;
  overflow: hidden;
}
.content-thumb img { width: 100%; height: 100%; object-fit: cover; display: block; }
.content-thumb svg { width: 28%; height: 28%; opacity: .9; }
.content-thumb.type-writing {
  background: linear-gradient(135deg, rgba(105, 189, 233, .28), rgba(40, 107, 145, .35)), #171c20;
  color: var(--blue);
}
.content-thumb.type-videos {
  background: linear-gradient(135deg, rgba(237, 85, 179, .24), rgba(141, 44, 100, .35)), #201720;
  color: var(--pink);
}
.content-thumb.type-artifacts {
  background: linear-gradient(135deg, rgba(227, 188, 114, .22), rgba(150, 110, 40, .3)), #201c14;
  color: var(--amber);
}

@media (max-width: 850px) {
  .hero { padding: 40px 0 28px; }
}

/* ==========================================================================
   About page
   ========================================================================== */
.about { max-width: var(--reading); padding: 70px 0 95px; }
.about-header { display: flex; align-items: center; gap: 28px; }
.about-photo {
  width: 150px;
  height: 150px;
  border-radius: var(--radius);
  object-fit: contain;
  background: var(--surface);
  flex-shrink: 0;
  border: 1px solid var(--line);
}
@media (max-width: 560px) {
  .about-header { flex-direction: column; text-align: center; gap: 18px; }
}
.about h1 { font-size: clamp(2rem, 4vw, 3rem); line-height: 1.1; margin: 0 0 28px; letter-spacing: -.02em; }
.about h2 { color: var(--blue); font-size: 1.5rem; margin: 2.2em 0 .65em; }
.about p { font-size: 1.05rem; }
.about .lede { font-size: 1.25rem; color: #d8d8d8; margin: 0 0 28px; }
.about .social-links { margin: 22px 0 40px; padding-bottom: 32px; border-bottom: 1px solid var(--line); }

/* ==========================================================================
   Misc
   ========================================================================== */
.resource-link {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: .85rem;
  font-family: ui-monospace, monospace;
  color: var(--green);
  text-decoration: none;
  border: 1px solid var(--line);
  padding: 10px 18px;
  border-radius: 99px;
  background: var(--surface);
  transition: background-color .15s ease, border-color .15s ease, color .15s ease;
}
.resource-link svg { width: 15px; height: 15px; flex-shrink: 0; }
.resource-link:hover { color: var(--pink); border-color: var(--pink-dark); background: var(--surface2); }
.source { color: var(--blue); }

/* ==========================================================================
   Topics — tag cloud
   ========================================================================== */
.tags-main { padding: 48px 0 90px; }
.tag-section {
  display: grid;
  grid-template-columns: 190px 1fr;
  gap: 40px;
  padding: 27px 0;
  border-bottom: 1px solid var(--line);
}
.tag-section:last-child { border: 0; }
.tag-section h2 {
  font: .72rem ui-monospace, monospace;
  color: var(--blue);
  text-transform: uppercase;
  letter-spacing: .1em;
  margin: 5px 0;
}
.tag-section p { color: var(--muted); margin: 0 0 12px; }
.cloud { display: flex; gap: 10px; flex-wrap: wrap; }
.big-tag {
  font: .78rem ui-monospace, monospace;
  color: var(--muted);
  text-decoration: none;
  border: 1px solid var(--line);
  padding: 7px 10px;
  border-radius: 99px;
}
.big-tag:hover { color: var(--pink); border-color: var(--pink-dark); }
.big-tag .count { color: #666; }

@media (max-width: 650px) {
  .tag-section { grid-template-columns: 1fr; gap: 12px; }
}

/* Generic responsive card grid — reused by the topics page and by
   unified content-card grids (term/category pages) */
.card-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 22px;
  padding: 44px 0 90px;
}
@media (min-width: 640px) {
  .card-grid { grid-template-columns: repeat(2, 1fr); }
}
@media (min-width: 980px) {
  .card-grid { grid-template-columns: repeat(3, 1fr); }
}

/* Topics page — one card per category */
.topic-card {
  display: block;
  text-decoration: none;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--surface);
  overflow: hidden;
  transition: background-color .15s ease, border-color .15s ease;
}
.topic-card:hover { background: var(--surface2); border-color: var(--blue-dark); }
.topic-thumb { aspect-ratio: 16 / 9; background: #101214; overflow: hidden; }
.topic-thumb img { width: 100%; height: 100%; object-fit: cover; display: block; }
.topic-card-body { padding: 22px 24px; }
.topic-card h2 { font-size: 1.35rem; margin: 0 0 10px; color: var(--pink); }
.topic-card p { color: var(--muted); font-size: .95rem; margin: 0 0 16px; }
.topic-count { font: .72rem ui-monospace, monospace; color: var(--blue); }

/* Content cards — one card per writing/video/artifact item, mixed together */
.content-card {
  display: block;
  text-decoration: none;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--surface);
  overflow: hidden;
  transition: background-color .15s ease, border-color .15s ease;
}
.content-card:hover { background: var(--surface2); border-color: var(--blue-dark); }
.content-card-body { padding: 20px 22px; }
.content-card .eyebrow {
  font-size: .68rem;
  letter-spacing: .08em;
  text-transform: uppercase;
  margin: 0 0 10px;
  font-family: ui-monospace, SFMono-Regular, Menlo, Monaco, Consolas, monospace;
}
.content-card.type-writing .eyebrow { color: var(--blue); }
.content-card.type-videos .eyebrow { color: var(--pink); }
.content-card.type-artifacts .eyebrow { color: var(--amber); }
.content-card h2 { font-size: 1.2rem; line-height: 1.25; margin: 0 0 10px; color: var(--text); }
.content-card p { color: var(--muted); font-size: .92rem; margin: 0; }
.content-card .meta { margin-top: 12px; }
.content-card .tags { display: flex; gap: 6px; flex-wrap: wrap; margin-top: 12px; }
/* Tags here are plain labels, not links — the whole card is already
   the click target, so no hover reaction on the tag itself. */
.content-card .tag:hover { color: var(--muted); border-color: var(--line); }


/* ==========================================================================
   Article shell — TOC sidebar + reading column
   ========================================================================== */
.shell {
  width: min(calc(100% - 34px), var(--max));
  margin: auto;
  display: grid;
  grid-template-columns: 210px minmax(0, var(--reading));
  gap: 72px;
  align-items: start;
}
.shell.no-toc { grid-template-columns: 1fr; max-width: var(--reading); }
.toc { position: sticky; top: 110px; padding-top: 52px; font-size: .72rem; line-height: 1.6; color: var(--muted); }
.toc strong {
  display: block;
  color: var(--blue);
  text-transform: uppercase;
  letter-spacing: .1em;
  margin-bottom: 10px;
  font-size: .68rem;
}
.toc a { display: block; text-decoration: none; color: var(--muted); margin: 0 0 7px; }
.toc a:hover { color: var(--pink); }
.toc ul { list-style: none; margin: 0; padding: 0; }
.toc ul ul { padding-left: 13px; font-size: .69rem; }

main.article-main { padding: 54px 0 90px; min-width: 0; }
.eyebrow { font-size: .74rem; color: var(--blue); margin-bottom: 12px; }
article h1 {
  font-size: clamp(1.8rem, 3.5vw, 2.75rem);
  line-height: 1.1;
  letter-spacing: -.02em;
  margin: 0 0 16px;
}
.dek { font-size: 1.16rem; line-height: 1.55; color: var(--muted); margin: 0 0 22px; }
.article-meta { font-size: .72rem; color: var(--muted); display: flex; gap: 12px; flex-wrap: wrap; align-items: center; margin-bottom: 42px; }

article p { margin: 0 0 1.25em; }

@media (max-width: 850px) {
  .shell { grid-template-columns: 1fr; width: min(calc(100% - 28px), var(--reading)); }
  .toc { position: static; order: 0; padding-top: 32px; border-bottom: 1px solid var(--line); padding-bottom: 25px; }
  main.article-main { padding-top: 36px; }
}
@media (max-width: 560px) {
  .shell { width: min(calc(100% - 24px), var(--reading)); }
}

/* ==========================================================================
   Article typography — headings, inline code, kbd
   ========================================================================== */
article h2, article h3, article h4 { scroll-margin-top: 110px; }
article h2 { font-size: 1.72rem; line-height: 1.22; margin: 2.25em 0 .7em; color: var(--blue); letter-spacing: -.02em; }
article h3 { font-size: 1.26rem; line-height: 1.3; margin: 1.9em 0 .55em; color: var(--text); }
article h4 {
  font-size: .92rem;
  line-height: 1.35;
  margin: 1.7em 0 .5em;
  color: var(--pink);
  font-family: ui-monospace, SFMono-Regular, Menlo, Monaco, Consolas, monospace;
  text-transform: uppercase;
  letter-spacing: .06em;
}

article :not(pre) > code {
  font-family: ui-monospace, SFMono-Regular, Menlo, Monaco, Consolas, monospace;
  padding: .12em .38em;
  border: 1px solid #3a4650;
  border-radius: 4px;
  background: #20262a;
  color: #b9ddf1;
  font-size: .88em;
}
.kbd {
  display: inline-block;
  padding: .07em .42em;
  border: 1px solid #4a4a4a;
  border-bottom-width: 2px;
  border-radius: 4px;
  background: #222;
  color: #ddd;
  font-size: .78em;
  line-height: 1.4;
  font-family: ui-monospace, SFMono-Regular, Menlo, Monaco, Consolas, monospace;
}

/* ==========================================================================
   Code blocks — Hugo/Chroma render-codeblock hook output
   ========================================================================== */
.code-wrap { margin: 1.6em 0 1.9em; border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden; background: #0c0e10; }
.video-embed { position: relative; aspect-ratio: 16 / 9; margin: 0 0 2em; border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden; background: #000; }
.video-embed iframe { position: absolute; inset: 0; width: 100%; height: 100%; border: 0; }
.code-bar {
  display: flex;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 8px 14px;
  padding: 9px 12px;
  border-bottom: 1px solid #2d3132;
  color: #92999c;
  font-size: .72rem;
}
.code-bar span:first-child { color: var(--blue); }
.code-bar-right { display: flex; align-items: center; gap: 12px; }
.copy-btn {
  font-family: ui-monospace, SFMono-Regular, Menlo, Monaco, Consolas, monospace;
  font-size: .68rem;
  color: #92999c;
  background: none;
  border: 1px solid #2d3132;
  border-radius: 4px;
  padding: 3px 9px;
  cursor: pointer;
  transition: color .15s ease, border-color .15s ease;
}
.copy-btn:hover { color: var(--blue); border-color: var(--blue-dark); }
.copy-btn.copied { color: var(--green); border-color: var(--green); }
.code-wrap pre {
  margin: 0;
  padding: 18px;
  overflow: auto;
  color: #ddd;
  font: .86rem/1.6 ui-monospace, SFMono-Regular, Menlo, Monaco, Consolas, monospace;
  white-space: pre;
  tab-size: 2;
  background: transparent;
}

/* Chroma syntax token overrides, mapped to the site accent palette.
   render-codeblock.html emits `.Inner` (token spans only, no .chroma
   wrapper), so these are scoped to .code-wrap rather than .chroma. */
.code-wrap .c, .code-wrap .c1, .code-wrap .cm, .code-wrap .cp { color: #777; }  /* comments */
.code-wrap .k, .code-wrap .kc, .code-wrap .kd, .code-wrap .kn,
.code-wrap .kr, .code-wrap .kt { color: var(--blue); }              /* keywords */
.code-wrap .s, .code-wrap .s1, .code-wrap .s2, .code-wrap .sb,
.code-wrap .si, .code-wrap .sc { color: var(--pink); }               /* strings */
.code-wrap .m, .code-wrap .mi, .code-wrap .mf { color: var(--amber); } /* numbers */
.code-wrap .nf, .code-wrap .nb, .code-wrap .nc { color: #b9ddf1; }   /* function/builtin/class names */
.code-wrap .nx { color: #ddd; }                                      /* generic identifiers */
.code-wrap .o, .code-wrap .p { color: #ddd; }                        /* operators/punctuation */
.code-wrap .gp { color: var(--green); }                              /* terminal prompt ($) */
.code-wrap .go { color: #aeb7bb; }                                   /* terminal output */
.code-wrap .line { display: block; }

/* ==========================================================================
   Callouts
   ========================================================================== */
.callout {
  margin: 1.7em 0;
  padding: 16px 18px;
  border: 1px solid var(--line);
  border-left-width: 3px;
  border-radius: 0 var(--radius) var(--radius) 0;
  background: var(--surface);
}
.callout-title { display: block; font-size: .75rem; letter-spacing: .06em; text-transform: uppercase; margin-bottom: 7px; }
.callout p:last-child { margin-bottom: 0; }
.callout.info { border-left-color: var(--blue); background: linear-gradient(90deg, rgba(40,107,145,.18), rgba(32,32,32,.9)); }
.callout.info .callout-title { color: var(--blue); }
.callout.note { border-left-color: var(--pink); background: linear-gradient(90deg, rgba(141,44,100,.16), rgba(32,32,32,.9)); }
.callout.note .callout-title { color: var(--pink); }
.callout.warn { border-left-color: var(--amber); background: linear-gradient(90deg, rgba(227,188,114,.12), rgba(32,32,32,.9)); }
.callout.warn .callout-title { color: var(--amber); }
.callout.danger { border-left-color: var(--red); background: linear-gradient(90deg, rgba(239,125,125,.12), rgba(32,32,32,.9)); }
.callout.danger .callout-title { color: var(--red); }
.callout.success { border-left-color: var(--green); background: linear-gradient(90deg, rgba(139,207,155,.12), rgba(32,32,32,.9)); }
.callout.success .callout-title { color: var(--green); }

/* ==========================================================================
   Connected content — companion box, linking out to a related post/video
   ========================================================================== */
.connected {
  position: relative;
  margin: 1.8em 0;
  padding: 19px 21px 20px 24px;
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  overflow: hidden;
}
.connected:before {
  content: "";
  position: absolute;
  left: 0; top: 0; bottom: 0;
  width: 3px;
  background: linear-gradient(180deg, var(--blue), var(--pink));
}
.connected .callout-title { color: var(--muted); margin-bottom: 8px; }
.connected h3 { margin: 0 0 7px; font-size: 1.18rem; }
.connected h3 a { color: var(--text); text-decoration: none; }
.connected h3 a:hover { color: var(--blue); }
.connected .connected-meta { margin: 0 0 9px; color: var(--blue); font: .7rem ui-monospace, SFMono-Regular, Menlo, monospace; }
.connected p { margin: 0; color: var(--muted); font-size: .94rem; }

.connected-list { list-style: none; margin: 0; padding: 0; }
.connected-list li { padding: 9px 0; border-top: 1px solid var(--line); }
.connected-list li:first-child { border-top: 0; padding-top: 2px; }
.connected-list a {
  display: flex;
  justify-content: space-between;
  gap: 12px;
  color: var(--text);
  text-decoration: none;
  font-size: .98rem;
}
.connected-list a:after { content: "\2192"; color: var(--blue); flex-shrink: 0; }
.connected-list a:hover { color: var(--blue); }
.connected-list a:hover:after { color: var(--pink); }

/* ==========================================================================
   Blockquote, lists, checklist, tables, figures, details, dl, footnotes
   ========================================================================== */
article blockquote {
  margin: 1.8em 0;
  padding: .15em 0 .15em 1.2em;
  border-left: 3px solid var(--pink);
  color: #c9c9c9;
  font-style: italic;
}
article blockquote cite { display: block; margin-top: .55em; color: var(--muted); font-size: .86em; font-style: normal; }

article ul, article ol { padding-left: 1.45em; margin: 0 0 1.4em; }
article li { margin: .35em 0; }
article li::marker { color: var(--blue); }

/* GFM task lists (checklists) */
article ul li:has(> input[type="checkbox"]) { list-style: none; position: relative; padding-left: 1.65em; margin-left: -1.45em; }
article input[type="checkbox"] {
  appearance: none;
  position: absolute;
  left: 0; top: .42em;
  width: .8em; height: .8em;
  border: 1px solid #555;
  border-radius: 2px;
  background: #202020;
  margin: 0;
}
article input[type="checkbox"]:checked { background: var(--blue-dark); border-color: var(--blue); }
article input[type="checkbox"]:checked:after {
  content: "\2713";
  position: absolute;
  left: .13em; top: -.05em;
  color: white;
  font: .72em ui-monospace, monospace;
}

article table { display: block; overflow-x: auto; width: 100%; border-collapse: collapse; margin: 1.6em 0 2em; font-size: .94rem; }
article th, article td { padding: 10px 12px; border-bottom: 1px solid var(--line); text-align: left; vertical-align: top; }
article th {
  font-family: ui-monospace, SFMono-Regular, Menlo, monospace;
  color: var(--blue);
  font-size: .76rem;
  text-transform: uppercase;
  letter-spacing: .05em;
}
article tbody tr:hover { background: #1e1e1e; }

article figure { margin: 1.8em 0; }
article figure img { display: block; border-radius: var(--radius); border: 1px solid var(--line); }
article figcaption { margin-top: 9px; color: var(--muted); font-size: .82rem; }

article hr { border: 0; border-top: 1px solid var(--line); margin: 2.6em 0; }

article details {
  margin: 1.5em 0;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--surface);
  padding: 12px 14px;
}
article summary {
  cursor: pointer;
  color: var(--blue);
  font-family: ui-monospace, SFMono-Regular, Menlo, monospace;
  font-size: .82rem;
}
article details p { margin: 12px 0 0; color: #d0d0d0; }

article dl { margin: 1.4em 0 1.8em; }
article dt { font-family: ui-monospace, SFMono-Regular, Menlo, monospace; color: var(--blue); font-size: .88rem; margin-top: 1em; }
article dd { margin: .3em 0 0; color: var(--muted); }

article .footnotes,
article [data-footnotes] {
  font-size: .76rem;
  color: var(--muted);
  margin-top: 2em;
  border-top: 1px solid var(--line);
  padding-top: 1.2em;
}
article .footnotes ol,
article [data-footnotes] ol { padding-left: 1.25em; }
article .footnote-backref { color: var(--blue); text-decoration: none; }

.post-footer {
  margin-top: 54px;
  padding-top: 18px;
  border-top: 1px solid var(--line);
  display: flex;
  justify-content: space-between;
  gap: 18px;
  color: var(--muted);
  font: .72rem ui-monospace, monospace;
}
.post-footer a { color: var(--muted); text-decoration: none; }
.post-footer a:hover { color: var(--blue); }

@media (max-width: 560px) {
  .post-footer { flex-direction: column; }
}

.pager {
  max-width: var(--reading);
  margin: 30px 0 90px;
  padding-top: 24px;
  border-top: 1px solid var(--line);
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  align-items: center;
  gap: 10px 18px;
  color: var(--muted);
  font: .72rem ui-monospace, monospace;
}
.pager a { color: var(--blue); text-decoration: none; }
.pager a:hover { color: var(--pink); }
.pager .disabled { color: #555; }
.card-grid + .pager { max-width: none; }
