/* =============================================================================
   Print
   =============================================================================
   An article should print as a document: publication, headline, byline, dates,
   body and captions. Everything that exists to navigate or monetise the site is
   removed, because on paper it is noise that costs ink.
   ========================================================================== */

@page {
	margin: 18mm 16mm;
}

/* --- Removed ------------------------------------------------------------- */
.utility-bar,
.section-nav,
.nav-toggle,
.breaking,
.ad-slot,
.newsletter,
.share,
.article-sidebar,
.author-box__links,
.related__grid,
.entry-tags,
.dev-ribbon,
.site-footer__menu,
.pagination,
.skip-link,
.search-form,
.related,
.empty-state,
.card__media {
	display: none !important;
}

/*
 * The article grid collapses to a single column: the sidebar is navigation and
 * advertising, neither of which belongs on paper.
 */
.article-grid {
	display: block !important;
}

.article-body {
	max-width: none !important;
}

/* --- Kept and simplified ------------------------------------------------- */
body {
	background: #fff;
	color: #000;
	font-family: Newsreader, Georgia, "Times New Roman", serif;
	font-size: 11pt;
	line-height: 1.45;
}

.container,
.container--text,
.container--wide {
	max-width: none;
	padding: 0;
	margin: 0;
}

/* The wordmark stays: a printed page should say where it came from. */
.masthead {
	padding: 0 0 6pt;
	border-bottom: 1pt solid #000;
	margin-bottom: 12pt;
	text-align: left;
}

.wordmark {
	font-size: 16pt;
	text-align: left;
}

h1 {
	font-size: 20pt;
	line-height: 1.12;
	margin-bottom: 6pt;
}

h2 { font-size: 14pt; margin-top: 14pt; }
h3 { font-size: 12pt; margin-top: 12pt; }

/* Keep a heading with the text that follows it. */
h1, h2, h3, h4 {
	break-after: avoid;
	page-break-after: avoid;
}

p, li, blockquote {
	orphans: 3;
	widows: 3;
}

figure {
	break-inside: avoid;
	page-break-inside: avoid;
	margin: 10pt 0;
}

figcaption {
	font-family: "Libre Franklin", Arial, sans-serif;
	font-size: 8.5pt;
	color: #333;
	margin-top: 3pt;
}

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

/*
 * Reveal link destinations, since a printed underline is unusable. Skipped for
 * in-page and javascript: hrefs, which would print as meaningless fragments.
 */
a {
	color: #000;
	text-decoration: underline;
}

.entry-content a[href^="http"]::after {
	content: " (" attr( href ) ")";
	font-family: "Libre Franklin", Arial, sans-serif;
	font-size: 8pt;
	word-break: break-all;
}

/* A disclosure must survive printing — that is what makes it a disclosure. */
.label--partner,
.label--sponsored {
	display: inline-block !important;
	border: 1pt solid #000;
	padding: 1pt 3pt;
	font-size: 8pt;
}


/* =============================================================================
   ARTICLE
   Keep: publication, headline, dek, byline, dates, body, images, captions and
   credits. A printed article should be a readable document, not a screenshot.
   ========================================================================== */
.entry-header {
	text-align: left;
	padding: 0 0 8pt;
}

.entry-title {
	font-size: 22pt;
	line-height: 1.1;
	margin: 0 0 6pt;
}

.entry-dek {
	font-size: 12pt;
	font-style: italic;
	margin: 0 0 8pt;
	max-width: none;
}

.byline--article {
	justify-content: flex-start;
	font-size: 9pt;
}

.byline__avatar,
.author-box__portrait {
	display: none !important;
}

.entry-figure img {
	aspect-ratio: auto;
	max-height: 90mm;
	object-fit: contain;
}

.entry-content {
	font-size: 10.5pt;
	line-height: 1.5;
}

.entry-content h2 { font-size: 13pt; margin-top: 12pt; }
.entry-content h3 { font-size: 11.5pt; margin-top: 10pt; }

.entry-content blockquote {
	border-left: 1pt solid #000;
	padding-left: 10pt;
}

.entry-content blockquote p { font-size: 11pt; }

.entry-content table {
	font-size: 8.5pt;
	page-break-inside: avoid;
}

/* An embed cannot print; say so rather than leaving a blank rectangle. */
.entry-content iframe {
	display: none;
}

/*
 * The author box stays: a printed article should say who wrote it. The portrait
 * and profile links do not.
 */
.author-box {
	border: 0;
	border-top: 1pt solid #000;
	padding: 6pt 0 0;
	margin-top: 12pt;
	background: none;
}

.author-box__bio { font-size: 9pt; }

/*
 * Body-link URLs are revealed by the existing rule in this stylesheet, so a
 * printed article's citations remain followable. That is the point of printing
 * journalism, and hiding them would make the document less useful, not tidier.
 */
