/*
 * Print styles, aimed at the detail page: a clean copy of one work, without
 * the site furniture. List views stay legible but aren't specially designed.
 */

@page { margin: 2cm; }

body {
  background: #fff;
  color: #000;
  font-size: 12pt;
}

.site-nav,
.theme-toggle,
.search-form,
.tabs,
.pagination,
.entry-actions,
.entry-footer,
.export-links,
.messages,
.busy,
.settings-links,
dialog { display: none !important; }

.site-header { border-bottom: 1px solid #999; }
.site-title { font-size: 12pt; }
.site-title a { color: #000; text-decoration: none; }
.tagline { font-size: 10pt; }

.wrap { max-width: none; padding: 0; }
main.wrap { padding-top: .5cm; }

.entry-detail { max-width: none; }
.entry-title { font-size: 18pt; }
.attribution { color: #000; }

.entry-meta {
  border-color: #999;
  font-size: 10pt;
  /* Keep the header block with the opening of the work. */
  break-after: avoid;
}

.entry-content {
  white-space: pre-wrap;
  font-family: Georgia, "Times New Roman", serif;
  font-size: 12pt;
  line-height: 1.5;
  orphans: 3;
  widows: 3;
}

/* Audio players and images print as nothing useful; keep the labels. */
.attachment audio { display: none; }
.attachment img { max-width: 100%; }

a { color: #000; text-decoration: none; }
/* Spell out where links point, since a printed page can't be clicked. */
.entry-meta a::after { content: " (" attr(href) ")"; font-size: 9pt; }

.site-footer { border-top: 1px solid #999; color: #000; font-size: 9pt; }
