/*
 * Print styles based on HTML5 Boilerplate.
 */

@media print {

	*,
	*::before,
	*::after {
		background: transparent !important;
		box-shadow: none !important;
		color: #000 !important;
		text-shadow: none !important;
	}

	html,
	body {
		overflow: visible !important;
	}

	body {
		font-size: 11pt;
		line-height: 1.4;
	}

	a,
	button,
	input,
	textarea,
	.wp-element-button {
		transition: none !important;
	}

	a,
	a:visited {
		text-decoration: underline;
	}

	/* Keep printouts readable without expanding every internal link. */
	.entry-content a[href^="http"]::after {
		content: " (" attr(href) ")";
		font-size: 0.9em;
		word-break: break-all;
	}

	.entry-content a[href^="#"]::after,
	.entry-content a[href^="mailto:"]::after,
	.entry-content a[href^="tel:"]::after {
		content: "";
	}

	/* Search and taxonomy links can contain long encoded facet queries. */
	a[href*="search%5B"]::after,
	a[href*="search["]::after,
	.wp-block-post-terms a::after {
		content: "";
	}

	.wp-block-post-terms.taxonomy-topics a::after {
		content: none !important;
	}

	header,
	.site-footer,
	.wp-block-navigation,
	.wp-block-buttons,
	.wp-block-search,
	.nc-in-page-navigation,
	.nc-section-navigation,
	form,
	iframe,
	video,
	audio,
	.no-print {
		display: none !important;
	}

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

	pre,
	blockquote {
		border: 1px solid #999;
		page-break-inside: avoid;
	}

	pre {
		white-space: pre-wrap !important;
	}

	tr,
	img {
		page-break-inside: avoid;
	}

	p,
	h2,
	h3 {
		orphans: 3;
		widows: 3;
	}

	h2,
	h3 {
		page-break-after: avoid;
	}
}
