/**
 * Global print stylesheet (loaded with media="print").
 * Hides site chrome so single posts/pages print clean. Confirm final
 * print rules with UWMC (MASTER_DEV_NOTES: "Confirm final print styles").
 */

/* Hide navigation, header, footer, and interactive chrome when printing. */
header,
.wp-block-template-part,
.uw-print-btn,
.header-nav-wrapper,
.wp-block-navigation,
nav,
form.wp-block-search,
.wp-block-buttons {
	display: none !important;
}

/* Reset backgrounds/colors for ink economy and legibility. */
* {
	background: transparent !important;
	color: #000 !important;
	box-shadow: none !important;
	text-shadow: none !important;
}

body {
	margin: 0;
	padding: 0;
	font-size: 12pt;
	line-height: 1.4;
}

/* Show link URLs after links so printed copy is usable. */
.entry-content a[href]::after,
.wp-block-post-content a[href]::after {
	content: " (" attr( href ) ")";
	font-size: 9pt;
	word-break: break-all;
}

/* Avoid awkward breaks. */
h1, h2, h3, h4 {
	page-break-after: avoid;
}

img {
	max-width: 100% !important;
	page-break-inside: avoid;
}
