/**
 * Print styles.
 *
 * A flipbook cannot be printed — it is one spread on screen and the rest is
 * absolutely positioned out of view. So printing a project page prints the
 * article instead: the same content, set as a document.
 */

@media print {

	.pfd-rack,
	.pfd-desk,
	.pfd-solo,
	.pfd-zoom,
	.pfd-single-actions,
	.pfd-related,
	.pfd-archive-filters {
		display: none !important;
	}

	.pfd-article,
	.pfd-article[hidden] {
		display: block !important;
	}

	.pfd-single {
		max-width: none;
		margin: 0;
		padding: 0;
	}

	.pfd-single-title {
		font-size: 28pt;
		line-height: 1.05;
		margin: 0 0 6pt;
	}

	.pfd-single-kicker,
	.pfd-single-meta {
		font-size: 9pt;
		letter-spacing: 0.08em;
		text-transform: uppercase;
	}

	.pfd-single-meta {
		display: flex;
		gap: 18pt;
		margin: 0 0 18pt;
		padding: 0 0 10pt;
		border-bottom: 1pt solid #000;
	}

	.pfd-single-meta div { display: flex; gap: 5pt; }
	.pfd-single-meta dt { font-weight: 700; }
	.pfd-single-meta dt::after { content: ':'; }
	.pfd-single-meta dd { margin: 0; }

	.pfd-a-section {
		/* Keep a page's heading with its first lines. */
		break-inside: avoid-page;
		page-break-inside: avoid;
		margin: 0 0 16pt;
	}

	.pfd-a-h {
		font-size: 14pt;
		margin: 0 0 5pt;
		break-after: avoid-page;
		page-break-after: avoid;
	}

	.pfd-article p {
		font-size: 10.5pt;
		line-height: 1.45;
		orphans: 3;
		widows: 3;
		margin: 0 0 7pt;
		max-width: none;
	}

	.pfd-a-figure {
		margin: 0 0 8pt;
		break-inside: avoid-page;
		page-break-inside: avoid;
	}

	.pfd-a-figure img {
		max-width: 100%;
		max-height: 42vh;
		height: auto;
	}

	.pfd-a-figure figcaption {
		font-size: 8.5pt;
		margin-top: 3pt;
	}

	/* A video cannot print; say what it was rather than leaving a black box. */
	.pfd-a-video { display: none; }
	.pfd-a-figure:has( .pfd-a-video )::after {
		content: '[ Video ]';
		display: block;
		font-size: 9pt;
		padding: 10pt;
		border: 1pt dashed #999;
		text-align: center;
	}

	.pfd-a-quote {
		font-size: 13pt;
		font-style: normal;
		margin: 0 0 14pt;
		padding-left: 10pt;
		border-left: 2pt solid #000;
	}

	.pfd-a-metrics,
	.pfd-a-credits {
		display: flex;
		flex-wrap: wrap;
		gap: 10pt 24pt;
		margin: 0 0 12pt;
	}

	.pfd-a-pair dt {
		font-size: 8.5pt;
		letter-spacing: 0.07em;
		text-transform: uppercase;
	}

	.pfd-a-pair dd {
		margin: 0;
		font-size: 15pt;
		font-weight: 700;
	}

	/* Print the destination of a link, since a reader cannot click paper. */
	.pfd-article a[href^="http"]::after {
		content: ' (' attr( href ) ')';
		font-size: 8pt;
		word-break: break-all;
	}

	a { text-decoration: none; color: #000; }
}
