/*
 * Print: the journal on paper.
 *
 * Navigation, disclosures and margin notes go; plates and their captions
 * stay, because a plate caption is part of the record.
 */

@page {
	margin: 18mm 16mm;
}

.ej-topbar,
.ej-nav,
.ej-masthead__search,
.ej-toc,
.ej-margin-note,
.ej-footer__nav,
.ej-prevnext,
.ej-related,
.ej-comments-wrap,
.ej-chips,
.ej-pagination,
.skip-link,
#wpadminbar {
	display: none !important;
}

body {
	background: #fff;
	color: #000;
	font-size: 11pt;
	line-height: 1.5;
}

.ej-page {
	max-width: none;
	background: #fff;
}

.ej-masthead--compact .ej-masthead__row,
.ej-masthead--full .ej-masthead__lockup {
	border-bottom: 1.5pt double #000;
	padding-block: 0 8pt;
	justify-content: flex-start;
}

.ej-reading,
.ej-reading--single {
	display: block;
	padding: 0;
	max-width: none;
}

.ej-entry__header {
	text-align: left;
	align-items: flex-start;
	padding-inline: 0;
	max-width: none;
}

.ej-entry__title {
	font-size: 24pt;
}

.ej-byline {
	justify-content: flex-start;
}

.ej-plate__frame {
	border: 0.5pt solid #000;
}

.ej-plate__frame img {
	height: auto !important;
	max-height: 90mm;
	aspect-ratio: auto;
}

.ej-reading h2,
.ej-reading h3,
.ej-plate,
.ej-table-scroll,
.ej-log-entry {
	break-inside: avoid;
	page-break-inside: avoid;
}

.ej-reading h2,
.ej-reading h3 {
	break-after: avoid;
	page-break-after: avoid;
}

.ej-table-scroll {
	overflow: visible;
}

/* A printed link is only useful if the reader can see where it goes. */
.ej-reading a[href^="http"]::after {
	content: " (" attr( href ) ")";
	font-size: 8pt;
	color: #444;
	word-break: break-all;
}
