@font-face {
  font-family: "Linux Biolinum";
  src: url("linux-biolinum/LinuxBiolinum.woff2") format("woff2");
  font-weight: 400;
  font-style: normal;
  font-display: swap;
}

body {
  --theme-bg: #fffff8;
  --theme-fg: #111;
  font-family: et-book, "Linux Biolinum", "GFS Didot", Palatino, "Palatino Linotype",
               "Palatino LT STD", "Book Antiqua", Georgia, serif;
  background-color: var(--theme-bg);
  color: var(--theme-fg);
}

@media (prefers-color-scheme: dark) {
  body { --theme-bg: #151515; --theme-fg: #ddd; }
}
html[data-theme="light"] body { --theme-bg: #fffff8; --theme-fg: #111; }
html[data-theme="dark"] body { --theme-bg: #151515; --theme-fg: #ddd; }

html { font-size: 93.75%; }

a:focus-visible {
  outline: 2px solid currentColor;
  outline-offset: 2px;
}

.skip-link {
  position: absolute;
  left: 1rem;
  top: -4rem;
  z-index: 20;
  padding: 0.3rem 0.6rem;
  background-color: var(--theme-bg);
  color: var(--theme-fg);
  text-decoration: none;
}
.skip-link:focus { top: 0.4rem; }

.print-colophon-anchor {
  display: none;
}

/* Minimal site navigation (template.html5). Sticky so it stays reachable at
   the top of the viewport while scrolling. The background is the page's own
   colour, so the bar reads as seamless — it hides the content passing
   underneath without looking like a separate strip. z-index sits below the
   image zoom overlay (100). */
.site-nav {
  position: sticky;
  top: 0;
  z-index: 10;
  font-size: 1.3rem;
  margin-top: 1.6rem;
  padding: 0.5rem 0;
  background-color: var(--theme-bg);
  color: var(--theme-fg);
}
/* A quietly visible theme switch: a moon/sun icon in the nav bar. It stays
   subdued until hovered or keyboard-focused. The choice is stored in
   localStorage by the small inline script in template.html5. */
.theme-toggle {
  top: 0;
  position: relative;
  z-index: 30;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  vertical-align: middle;
  width: 19px;
  height: 19px;
  margin-right: 0.3em;
  opacity: 0.35;
  cursor: pointer;
  transition: opacity 0.2s;
}
.theme-toggle:hover,
.theme-toggle:focus-within { opacity: 1; }
.theme-toggle:has(input:focus-visible) {
  outline: 2px solid currentColor;
  outline-offset: 2px;
}
.theme-toggle input {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  margin: 0;
  opacity: 0;
  cursor: pointer;
}
.theme-toggle-face {
  display: grid;
  place-items: center;
  width: 15px;
  height: 15px;
  border: 1px solid currentColor;
  border-radius: 50%;
  font-size: 10px;
  line-height: 1;
}
.theme-toggle-face::before {
  content: "☾";
}
.theme-toggle input:checked + .theme-toggle-face::before {
  content: "☀";
}

.read-mode-toggle {
  position: absolute;
  clip: rect(0 0 0 0);
  clip-path: inset(50%);
}
.read-mode-button {
  display: none;
  align-items: center;
  justify-content: center;
  vertical-align: middle;
  width: 19px;
  height: 19px;
  margin-right: 0.3em;
  font-size: 1.1rem;
  line-height: 1;
  cursor: pointer;
  opacity: 0.35;
  transition: opacity 0.2s;
}
.read-mode-button:hover,
.read-mode-toggle:focus-visible + .read-mode-button {
  opacity: 1;
}
.read-mode-toggle:focus-visible + .read-mode-button {
  outline: 2px solid currentColor;
  outline-offset: 2px;
}
.poem-page .read-mode-button {
  display: inline-flex;
}
@media screen {
  body.read-mode {
    max-width: 46rem;
    margin: 4rem auto;
    padding: 0 1.5rem;
    font-size: 1.5rem;
    line-height: 1.7;
  }
  body.read-mode .site-nav,
  body.read-mode #title-block-header > :not(.title),
  body.read-mode .print-colophon-anchor,
  body.read-mode .margin-toggle,
  body.read-mode .sidenote-wrapper .marginnote,
  body.read-mode .published-note,
  body.read-mode .references,
  body.read-mode .read-mode-button,
  body.read-mode .skip-link {
    display: none !important;
  }
  body.read-mode #title-block-header,
  body.read-mode main,
  body.read-mode section,
  body.read-mode .poem-body {
    width: auto;
    max-width: 100%;
    margin: 0;
    padding: 0;
  }
  body.read-mode h1.title {
    width: auto;
    margin-bottom: 2rem;
    text-align: left;
  }
  body.read-mode p {
    width: auto;
    max-width: 100%;
    text-align: left;
  }
  body.read-mode .sidenote-wrapper {
    float: none;
  }
}

/* A hairline under the nav links that appears only once the page is scrolled.
   It spans .nav-links, so it ends at ΒΙΟΓΡΑΦΙΚΟ like the progress bar. A
   scroll-driven animation fades it in over the first few pixels, so the bar
   stays seamless at the top. Browsers without scroll timelines keep no line. */
@keyframes nav-edge {
  to { border-bottom-color: color-mix(in srgb, currentColor 30%, transparent); }
}
.nav-links::after {
  content: "";
  position: absolute;
  inset: auto 0 0 0;
  border-bottom: 1px solid transparent;
  pointer-events: none;
}
@supports (animation-timeline: scroll()) {
  .nav-links::after {
    animation: nav-edge linear both;
    animation-timeline: scroll(root);
    animation-range: 0 20px;
  }
}
/* Optional reading progress bar: enabled per page with `reading-progress: true`
   in the front matter. It lives inside .nav-links, so it stops at the last nav
   link instead of spanning the whole sticky bar; its width follows the root
   scroll position with no JS. Hidden without scroll timelines. */
.reading-progress {
  display: none;
}
@supports (animation-timeline: scroll()) {
  .reading-progress {
    display: block;
    position: absolute;
    inset: auto 0 0 0;
    height: 3px;
    background: currentColor;
    transform-origin: 0 50%;
    animation: reading-progress linear both;
    animation-timeline: scroll(root block);
  }
  @keyframes reading-progress {
    from { scale: 0 1; }
    to { scale: 1 1; }
  }
}
/* The catalog's Συλλογές / Ενότητες / Πεζογραφήματα views fit on one screen;
   with no root scroll range the bar would render full, so suppress it there. */
body:has(.cat-c:checked) .reading-progress,
body:has(.cat-u:checked) .reading-progress,
body:has(.cat-x:checked) .reading-progress {
  display: none;
}
.site-nav a {
  text-decoration: none;
  margin-right: 3em;
}
.nav-links a:last-of-type {
  margin-right: 0;
}
/* Home and Back read as a pair: tight gap between them, normal spacing after. */
.site-nav a.nav-home {
  margin-right: 0.6em;
}
.site-nav a:hover {
  text-decoration: underline;
}
.nav-links { display: inline; position: relative; }

/* Collapsible nav (CSS-only "checkbox hack", no JS). On wide screens the
   toggle is hidden and the links render inline exactly as before; on phones
   the links collapse behind a "☰ ΜΕΝΟΥ" button so the nav no longer wraps to
   six rows. The checkbox stays focusable (visually hidden) so the menu can be
   opened with the keyboard. */
.nav-toggle {
  display: none;
}
.nav-toggle-label {
  display: none;
}

@media (max-width: 760px) {
  .site-nav {
    margin-top: 1rem;
  }
  .nav-toggle {
    display: block;
    position: absolute;
    width: 1px;
    height: 1px;
    clip: rect(0 0 0 0);
    clip-path: inset(50%);
    overflow: hidden;
  }
  .nav-toggle-label {
    display: inline-block;
    cursor: pointer;
    -webkit-user-select: none;
    user-select: none;
  }
  /* Just the ☰ icon; the word "ΜΕΝΟΥ" appears on hover (mouse users on narrow
     windows). On touch it stays icon-only, so the checkbox carries an
     aria-label to keep it announced. */
  .nav-toggle-text {
    display: none;
  }
  .nav-toggle-label:hover .nav-toggle-text {
    display: inline;
  }
  .nav-toggle:focus ~ .nav-toggle-label {
    outline: 2px solid currentColor;
    outline-offset: 2px;
  }
  .nav-links {
    display: none;
  }
  .nav-toggle:checked ~ .nav-links {
    display: block;
    margin-top: 0.4rem;
  }
  .nav-links a {
    display: block;
    margin: 0.3rem 0;
  }
}

/* Date rendered as a margin note (template.html5): give its paragraph the
   same 55% text-column width Tufte uses for section paragraphs, so the
   floated .marginnote lands in the margin instead of off-screen. */
#title-block-header .date {
  width: 55%;
  margin: 0;
}

/* A float's top edge anchors to the top of its line box, never to a baseline,
   so the date note otherwise sits level with the title's *top* edge. Nudge it
   down onto the title's baseline: title line-box ascent (≈38px for the 3.2rem
   h1) minus the note's own ascent (≈15px) = 23px ≈ 1.533rem. Re-tune if the
   title's font-size/line-height in tufte.css changes. */
#title-block-header .date .marginnote {
  margin-top: 1.533rem;
  font-size: 1.3rem;
}

/* Constrain the title to the same 55% text column so the date note, now
   lifted beside the title, can never overlap it. */
#title-block-header .title {
  width: 55%;
}
@media (max-width: 760px) {
  #title-block-header .title {
    width: 100%;
    overflow-wrap: anywhere;
  }
}

/* "Also published in" note (template.html5): same narrowed text column so its
   floated .marginnote lands beside the title block, below any date note. */
#title-block-header .published-note {
  width: 55%;
  margin: 0;
}
#title-block-header .published-note .marginnote {
  font-size: 1.3rem;
}

span.marginnote.toc ul {
   list-style: none;
   padding-left: 0;
}

/* Opt-in marginnote index (poem-index.lua): collection dirs, then poems. */
span.marginnote .toc-dir {
  font-variant: small-caps;
  /* font-variant: normal; */
  /* letter-spacing: 0.03em; */
  letter-spacing: 0;
}

span.marginnote .toc-title {
  display: block; margin-bottom: 0.6em;
}

span.marginnote .toc-poem {
  font-variant: small-caps;
  display: inline-block;
}


/* Index links: no underline until hovered (Tufte underlines all links). */
span.marginnote .toc-dir,
span.marginnote .toc-poem {
  display: inline-block;
  text-decoration: none;
}

/* One indentation step per nesting level (level 1 is flush, like xmark). */
span.marginnote .toc-l2 { padding-left: 1.2em; }
span.marginnote .toc-l3 { padding-left: 2.4em; }
span.marginnote .toc-l4 { padding-left: 3.6em; }

/* Poem listings (poem-index.lua): shared styles for the multi-column catalog
   (.poem-catalog) and the single-column collection list (.poem-collection). */

.poem-list {
  font-size: 1.4rem;
}
.poem-list a {
  display: block;
  text-decoration: none;
  break-inside: avoid;
}
.poem-list a:hover {
  text-decoration: underline;
}
.poem-list .cat-tag {
  font-style: italic;
  opacity: 0.75;
  margin-left: 0.75em;
}
.poem-units .cat-tag {
  color: #888;
  opacity: 1;
}
.poem-list .cat-group {
  break-inside: avoid;
}
.poem-list .cat-letter {
  margin: 0em 0 0.3em;
  font-size: 1.1rem;
  font-weight: 400;
  font-style: normal;
  opacity: 0.75;
}
.poem-list .cat-group:first-child .cat-letter {
  margin-top: 0;
}

/* letters="false" (poem-catalog): keep the letter's box so each group keeps its
   separating gap, but do not print the glyph. */
.poem-list.cat-noletters .cat-letter {
  visibility: hidden;
}

/* Only the catalog lays out in columns; .poem-collection stays vertical. */
.poem-catalog {
  column-count: 3;
  column-gap: 2em;
}

/* On a phone the three columns collapse to ~70px each (2em gaps eat most of
   the width), so titles wrap character by character and the entries collide.
   Drop to a single column and shrink the list so it reads like a plain index. */
@media (max-width: 760px) {
  .poem-catalog {
    column-count: 1;
  }
  .poem-list {
    font-size: 1.2rem;
  }
}

/* Catalog sort switch (poem-index.lua switch="true"). Eight radio inputs choose
   which of the pre-rendered lists is shown — alphabetical, by date, by season,
   by word count, or filtered to collections / units / poems / prose. Pure CSS,
   no JS; the radios stay focusable (visually hidden) so the toggle also works
   from the keyboard. */
.cat-sort .cat-radio {
  position: absolute;
  clip: rect(0 0 0 0);
  clip-path: inset(50%);
}
.cat-sort .cat-label {
  cursor: pointer;
  font-size: 1.5rem;
  opacity: 0.75;
  margin-right: 1.2em;
  -webkit-user-select: none;
  user-select: none;
}
.cat-sort .cat-label:hover {
  opacity: 1;
}
.cat-sort .cat-radio:checked + .cat-label {
  opacity: 1;
  text-decoration: underline;
}
.cat-sort .cat-radio:focus + .cat-label {
  outline: 1px dotted;
}
.cat-sort .poem-catalog {
  margin-top: 0.4rem;
  display: none;
}
.poem-catalog.cat-collections {
  margin-top: 1lh;
  line-height: 1.6;
}
.cat-sort .cat-radio.cat-c:checked ~ .poem-catalog.cat-collections,
.cat-sort .cat-radio.cat-u:checked ~ .poem-catalog.cat-units,
.cat-sort .cat-radio.cat-p:checked ~ .poem-catalog.cat-poems,
.cat-sort .cat-radio.cat-x:checked ~ .poem-catalog.cat-prose {
  display: block;
}
.cat-sort .cat-radio.cat-a:checked ~ .poem-catalog.cat-alpha {
  display: block;
}
.cat-sort .cat-radio.cat-d:checked ~ .poem-catalog.cat-date {
  display: block;
}
.cat-sort .cat-radio.cat-s:checked ~ .poem-catalog.cat-season {
  display: grid;
}
.cat-sort .cat-radio.cat-w:checked ~ .poem-catalog.cat-words {
  display: block;
}

/* Alphabetical view: a nested radio pair flips between the two pre-rendered
   orderings (Α–Ω / Ω–Α) without JS. */
.poem-catalog.cat-alpha {
  column-count: auto;
}
.cat-sort .alpha-radio {
  position: absolute;
  clip: rect(0 0 0 0);
  clip-path: inset(50%);
}
.cat-sort .alpha-label {
  cursor: pointer;
  display: inline-block;
  font-size: 1.1rem;
  opacity: 0.75;
  margin-right: 0.3em;
  -webkit-user-select: none;
  user-select: none;
}
.cat-sort .alpha-label:hover {
  opacity: 1;
}
.cat-sort .alpha-radio:checked + .alpha-label {
  opacity: 1;
  text-decoration: underline;
}
.cat-sort .alpha-radio:focus + .alpha-label {
  outline: 1px dotted;
}
.alpha-list {
  display: none;
}
.alpha-radio.alpha-asc:checked ~ .alpha-lists .alpha-asc-list,
.alpha-radio.alpha-desc:checked ~ .alpha-lists .alpha-desc-list {
  display: block;
}
.alpha-lists {
  column-count: 3;
  column-gap: 2em;
  margin-top: 0.4rem;
}
@media (max-width: 760px) {
  .alpha-lists {
    column-count: 1;
  }
}

/* Word-count view: a nested radio pair flips between the two pre-rendered
   orderings (fewest / most words) without JS. */
.poem-catalog.cat-words {
  column-count: auto;
}
.cat-sort .word-radio {
  position: absolute;
  clip: rect(0 0 0 0);
  clip-path: inset(50%);
}
.cat-sort .word-label {
  cursor: pointer;
  display: inline-block;
  font-size: 1.1rem;
  opacity: 0.75;
  margin-right: 0.3em;
  -webkit-user-select: none;
  user-select: none;
}
.cat-sort .word-label:hover {
  opacity: 1;
}
.cat-sort .word-radio:checked + .word-label {
  opacity: 1;
  text-decoration: underline;
}
.cat-sort .word-radio:focus + .word-label {
  outline: 1px dotted;
}
.word-list {
  display: none;
}
.word-radio.word-asc:checked ~ .word-lists .word-asc-list,
.word-radio.word-desc:checked ~ .word-lists .word-desc-list {
  display: block;
}
.word-lists {
  column-count: 3;
  column-gap: 2em;
  margin-top: 0.4rem;
}
@media (max-width: 760px) {
  .word-lists {
    column-count: 1;
  }
}

/* Chronological view: a nested radio pair flips between the two pre-rendered
   orderings (oldest / newest first) without JS. */
.poem-catalog.cat-date {
  column-count: auto;
}
.cat-sort .date-radio {
  position: absolute;
  clip: rect(0 0 0 0);
  clip-path: inset(50%);
}
.cat-sort .date-label {
  cursor: pointer;
  display: inline-block;
  font-size: 1.1rem;
  opacity: 0.75;
  margin-right: 0.3em;
  -webkit-user-select: none;
  user-select: none;
}
.cat-sort .date-label:hover {
  opacity: 1;
}
.cat-sort .date-radio:checked + .date-label {
  opacity: 1;
  text-decoration: underline;
}
.cat-sort .date-radio:focus + .date-label {
  outline: 1px dotted;
}
.date-list {
  display: none;
}
.date-radio.date-asc:checked ~ .date-lists .date-asc-list,
.date-radio.date-desc:checked ~ .date-lists .date-desc-list {
  display: block;
}
.date-lists {
  column-count: 3;
  column-gap: 2em;
  margin-top: 0.4rem;
}
@media (max-width: 760px) {
  .date-lists {
    column-count: 1;
  }
}

/* Date view: leave one blank line after each year group so the year blocks
   read as separate chunks rather than one continuous list. */
.poem-catalog.cat-date .cat-group {
  margin-bottom: 1lh;
}

/* Seasonal view: four columns, one per season. The year is redundant here —
   it is the group's own tag, so no per-title year is printed. Undated poems
   fall into a full-width row below the four seasons. */
.poem-catalog.cat-season {
  column-count: auto;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 1lh 2em;
}
.poem-catalog.cat-season .cat-group {
  break-inside: auto;
}
.poem-catalog.cat-season .cat-group.cat-undated {
  grid-column: 1 / -1;
}
@media (max-width: 760px) {
  .poem-catalog.cat-season {
    grid-template-columns: 1fr;
  }
}

span.marginnote .toc-dir:hover,
span.marginnote .toc-poem:hover {
  text-decoration: underline;
}

/* Margin notes: pandoc-sidenote emits each block note ({^-}) in a full-width
   wrapper, but Tufte's float assumes a 55%-wide containing block — so pin the
   wrapper to the text column, or the note (with its -60% right margin) flies
   off the right edge. Margin images get a subtle shadow. */
div.sidenote-wrapper {
  width: 55%;
}

.marginnote img {
  box-shadow: 0 1px 5px rgba(0, 0, 0, 0.25);
}

/* Book covers (publications.md): size knob; click opens the full image. */
:root {
  --cover-w: 120px;
}
img.cover {
  width: var(--cover-w);
}

/* Click-to-zoom overlay, no JS: the thumbnail links to #zoom-x and the element
   with that id is revealed by :target. Clicking anywhere links back to #. */
.zoom {
  display: none;
}
.zoom:target {
  display: flex;
  position: fixed;
  inset: 0;
  z-index: 100;
  align-items: center;
  justify-content: center;
  background: rgba(0, 0, 0, 0.8);
}
.zoom img {
  position: relative;
  z-index: 1;
  max-width: 92vw;
  max-height: 92vh;
}
.zoom-close {
  position: absolute;
  inset: 0;
}
.zoom:target::after {
  content: "Κλικ οπουδήποτε για κλείσιμο";
  position: absolute;
  bottom: 1.5rem;
  left: 50%;
  transform: translateX(-50%);
  z-index: 2;
  pointer-events: none;
  color: rgba(255, 255, 255, 0.85);
  font-size: 1.4rem;
}

/* Epigraph blockquote: Tufte's look — indented (UA 40px), narrower paragraph,
   italic text, with the vertical spacing of Tufte's div.epigraph. Longhand
   vertical margins so the browser's 40px left/right indent is preserved. */
blockquote {
  font-style: italic;
  margin-top: 3em;
  margin-bottom: 3em;
}

blockquote footer {
  font-style: normal;
}

/* Keep the epigraph's margin notes on the same edge as every other note.
   The blockquote's fixed 40px indent shifts/narrows the note's containing
   block, so plain -60%/50% (or Tufte's -82%/59%) lands off by 8-130px.
   These tuned values line the note up with the rest of the margin. */
blockquote .sidenote,
blockquote .marginnote {
  margin-right: -65%;
  min-width: 53.5%;
}

.spacer {
  height: 3rem;
}

/* Poem ornaments (poem-ornament.lua). A stanza separator written as a lone
   "*" is wrapped in .ornament, and the whole poem in .poem-body, which
   shrink-wraps to the poem's longest line so the ornament centres on that
   line rather than on the fixed 55% text column. Stanzas stay left-aligned. */
.poem-body {
  width: max-content;
  max-width: 55%;
}
.poem-body > p {
  width: auto;
  text-align: left;
}
.poem-body .ornament {
  text-align: center;
}
@media (max-width: 760px) {
  .poem-body {
    max-width: 100%;
  }
}

/* Bibliography (pandoc --citeproc): the generated #refs list is a block, so it
   needs Tufte's text-column width to line up with the surrounding text. */
.references {
  width: 55%;
}
@media (max-width: 760px) {
  div.references {
    width: 100%;
    margin-left: 0;
  }
}

/* Blog-post index (post-index.lua): the full-width list page and the
   "Όλες οι αναρτήσεις →" link inside the margin note. */
.toc-more {
  font-style: italic;
}

/* Margin-note rows: title on the left, date on the right. */
.post-row {
  display: flex;
  justify-content: space-between;
  gap: 1rem;
  margin: 0;
}
.post-when {
  color: #888;
  white-space: nowrap;
}

/* A heading carrying the post-index note is constrained to the 55% text
   column, like paragraphs, so the floated note lands in the margin instead
   of off-screen. (Same technique as #title-block-header .title.) */
h2.post-index {
  width: 55%;
}

/* A float anchors to the top of its line box, not a baseline. Nudge the note
   down so its first line sits on the heading's baseline: heading ascent (≈26px
   for the 2.2rem h2) minus note ascent (≈15px) ≈ 11px ≈ 0.73rem. Re-tune if the
   heading or note font-size changes.
   The note is a list of titles/dates, not a quote, so keep it upright — the
   heading it lives in is italic (Tufte's h2) and the note would inherit that. */
h2.post-index .post-mn {
  margin-top: 0.73rem;
  font-style: normal;
}

/* The toggle label lives inside the heading now; keep it at body size so it
   doesn't inherit the h2's 2.2rem (visible ≤760px). */
h2.post-index .margin-toggle {
  font-size: 1rem;
}

.post-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem 0.6rem;
  margin: 1.4rem 0 1.6rem;
}
.post-action {
  display: inline-block;
  padding: 0.2em 0.6em;
  border: 1px solid color-mix(in srgb, currentColor 35%, transparent);
  border-radius: 2px;
  font-size: 1rem;
  line-height: 1.4;
  text-decoration: none;
  white-space: nowrap;
}
.post-action:hover,
.post-action:focus {
  border-color: currentColor;
  text-decoration: underline;
}
.post-action.primary {
  background: color-mix(in srgb, currentColor 8%, transparent);
}

.audio-player audio {
  display: block;
  width: 100%;
  max-width: 32rem;
}
.audio-player p {
  margin: 0.4rem 0 0;
  font-size: 1rem;
}

kbd {
  display: inline-block;
  min-width: 1.6em;
  padding: 0.1em 0.35em;
  border: 1px solid color-mix(in srgb, currentColor 45%, transparent);
  border-bottom-width: 2px;
  border-radius: 3px;
  background: color-mix(in srgb, currentColor 6%, transparent);
  font: inherit;
  font-size: 0.85em;
  line-height: 1.2;
  text-align: center;
}

.post-list .post-item {
  width: 66%;
  margin: 0 0 0.6rem 0;
}
.post-list .post-date {
  float: right;
  color: #888;
  font-size: 1.2rem;
}

/* On a phone the post list inherits body size (1.4rem) — too large — and the
   right-floated date drifts down out of its <p> into the next entry (floats
   don't extend their container). Shrink the entries, give them the full width,
   and drop the date onto its own line so nothing collides. */
@media (max-width: 760px) {
  .post-list .post-item {
    width: 100%;
    font-size: 1.2rem;
    line-height: 1.5;
    margin-bottom: 0.5rem;
  }
  .post-list .post-date {
    float: none;
    display: block;
    font-size: 1rem;
  }
}

.poems-unsorted .post-item {
  width: auto;
  max-width: 100%;
  line-height: 1.2;
  margin-bottom: 0.15rem;
}
.poems-unsorted .post-item a {
  text-decoration: none;
}
.poems-unsorted .post-date {
  float: none;
  display: inline;
  font-size: 1rem;
  margin-left: 0.5em;
  white-space: nowrap;
}
@media (max-width: 760px) {
  .poems-unsorted .post-item {
    font-size: 1.2rem;
    line-height: 1.2;
    margin-bottom: 0.15rem;
  }
  .poems-unsorted .post-date {
    font-size: 0.9rem;
    margin-left: 0.4em;
  }
}

@media (prefers-contrast: more) {
  .poem-list .cat-tag,
  .poem-list .cat-letter,
  .cat-sort .cat-label,
  .cat-sort .word-label {
    opacity: 1;
  }
}

@media (prefers-reduced-motion: reduce) {
  .reading-progress { display: none !important; }
  .nav-links::after {
    animation: none !important;
    border-bottom-color: color-mix(in srgb, currentColor 30%, transparent);
  }
}

@page { margin: 8mm 0; }

@media print {
  .site-nav,
  .skip-link,
  .theme-toggle,
  #title-block-header .date,
  #title-block-header .published-note,
  .reading-progress,
  .margin-toggle,
  .cat-sort > .cat-radio,
  .cat-sort > .cat-label,
  .word-radio,
  .word-label,
  .alpha-radio,
  .alpha-label,
  .alpha-desc-list,
  .post-actions,
  .read-mode-toggle,
  .read-mode-button,
  .audio-player {
    display: none !important;
  }
  .alpha-asc-list {
    display: block !important;
  }
  body {
    width: auto;
    max-width: none;
    margin: 0;
    padding-left: 26mm;
    padding-right: 13mm;
    background: #fff;
    color: #000;
  }
  section,
  section > p,
  .poem-list,
  div.sidenote-wrapper,
  .marginnote,
  .poem-body,
  .references {
    width: 100% !important;
    max-width: 100%;
  }
  section > p {
    width: auto !important;
    max-width: none !important;
  }
  .marginnote,
  .sidenote-wrapper {
    float: none;
    margin: 0;
    font-size: 1rem;
  }
  .poem-catalog,
  .word-lists,
  .date-lists,
  .alpha-lists {
    column-count: 1 !important;
  }
  .poem-catalog.cat-date,
  .poem-catalog.cat-season,
  .poem-catalog.cat-words,
  .poem-catalog.cat-collections,
  .poem-catalog.cat-units,
  .poem-catalog.cat-poems,
  .poem-catalog.cat-prose {
    display: none !important;
  }
  .poem-catalog.cat-alpha {
    display: block !important;
  }
  a {
    color: inherit;
    text-decoration: none;
  }
  p {
    widows: 2;
    orphans: 2;
  }
  .print-colophon-anchor {
    display: block;
    float: right;
    width: 140pt !important;
    height: auto;
    margin: 1.4rem 0 8pt 8pt;
    font-size: 1.05rem;
    line-height: 1.3;
  }
  .print-colophon {
    display: block;
    float: none;
    width: auto;
    margin: 0;
  }
  .print-colophon > span {
    display: block;
  }
}
