@media print {
	@page {
		margin: .5in;
	}

	* {
		box-sizing: border-box;
		-webkit-print-color-adjust: exact !important;
		color-adjust: exact !important;
		print-color-adjust: exact !important;
		/* background: #ffffff !important; */
		background-image: none !important;
		padding-left: 0 !important;
		padding-right: 0 !important;
		border-radius: 0 !important;
	}

	body {
		box-decoration-break: clone;
        margin: 0;
        padding: 1rem !important;
	}

	a[href]:after {
		content: "" !important;
	}
	
	/* Only show link URLs starting with http/s, not jumplinks -- can't test in preview
	a[href^="http://"]:after, 
	a[href^="https://"]:after {
		content: " (" attr(href) ")" !important;
		word-break: break-all;
		font-size: 0.85em;
		color: #555;
	}
	*/


	/* Hide non-essential elements */
	
	header,
	footer,
	#connected .carousel,
	#section-closing,
	#xychart,
	#piechart,
	.image.popup .magnify {
		display: none !important;
	}


	/* Rows */
	
	.row {
		grid-template-columns: 1fr !important;
	}

	.content .header > .row > .col, 
	.content .container {
		width: 100%;
		max-width: none;
		margin-inline: auto;
		padding: 0;
	}

	.max-width-800 {
		max-width: none;
	}


    /* Page breaks */

    div {
        page-break-inside: auto;
        break-inside: auto;
    }

	h1, h2, h3, h4, h5, h6 {
        page-break-after: avoid;
        break-after: avoid-page;
        margin-top: 0;
    }
    
    p {
        orphans: 3;
        widows: 3;
        page-break-inside: avoid;
    }

	#section-innovating,
	#section-strengthening,
	#section-connecting,
	#section-financials,
	#section-innovating h3,
	#section-strengthening h3,
	#section-connecting h3,
	#section-financials h3,
	.print-break-before {
        display: block !important;
        page-break-before: always !important;
        break-before: page !important;
        -webkit-column-break-before: always;
        margin-top: 0 !important;
        padding-top: 0 !important;
        clear: both;
        width: 100%;
	}

	#welcome-letter .factbox,
	.quote,
	#worldcat-stats,
	#section-financials table { 
		break-inside: avoid; 
	}


    /* Images */
    
	img {
		page-break-inside: avoid !important;
		page-break-before: auto !important;
		page-break-after: auto !important;
        break-inside: avoid !important;
        max-width: 100%;
        height: auto;
        margin-block-end: 1rem !important;
    }

	p.image,
	#xychart-mobile,
	#piechart-mobile {
		margin: 2rem auto !important;
		visibility: visible;
		transform: none !important;
		transition: none !important;
		display: block !important;
	}

	#xychart-mobile, 
	#piechart-mobile {
		break-after: always;
	}

	p.image,
	.image.mp-medium,
	#piechart-mobile,
	#xychart-mobile {
		max-width: 600px !important;
	}

	.image.mp-small {
		max-width: 300px !important;
	}


	/* Hero */
	
	.report-hero-bg {
		padding: 0 !important;
	}

	.report-hero-main {
		margin: 0 !important;
		padding: 0 !important;
	}

	.report-hero-main p.jumplink {
	  	margin: 2rem 0 1rem !important;
	}
	
	.report-hero-main p.jumplink a {
		padding: 0 !important;
	}
	
	
	/* Body sections */

	#section-innovating,
	#section-strengthening,
	#section-connecting,
	#section-financials,
	#section-innovating h3,
	#section-strengthening h3,
	#section-connecting h3,
	#section-financials h3,
	.print-break-before {
        display: block !important;
        page-break-before: always !important;
        break-before: page !important;
        -webkit-column-break-before: always;
        margin-top: 0 !important;
        padding-top: 0 !important;
        clear: both !important;
        width: 100% !important;
	}

	#section-innovating header,
	#section-strengthening header,
	#section-connecting header,
	#section-financials header {
		display: block !important;
	}

	.content .header {
		margin-block-end: 0rem !important;
		padding: 2.5rem 0 !important;
	}
	
	#welcome-letter .container {
		max-width: none !important;
		width: 100% !important;
		padding: 0 !important;
	}

	#welcome-letter .pullquote {
		float: none !important;
		width: auto !important;
		margin: 2rem 0 !important;
	}

	.content .header > .row > .col * {
		color: black !important;
	}
	
	.content .header p.tag {
		margin: 0 0 1rem !important;
		border: none !important;
	}

	.callout {
		padding: 1rem !important;
	}

	ul {
		padding-left: 1.5rem !important;
	}
	
	.caption.center {
		margin-block-end: 2rem !important;
	}

	#worldcat-stats p.image {
		margin: 0 auto !important;
	}

	#worldcat-stats p.image img {
		margin-block-end: 0 !important;
	}

	#worldcat-stats p.stat {
		margin: 0 0 2rem !important;
	}

	#section-financials table .highlight {
		background: var(--gray-subtle) !important;
	}

	#section-financials h5 .marker.yellow {
		background: var(--yellow) !important;
	}
	
	#section-financials h5 .marker.orange {
		background: var(--orange) !important;
	}
	
	#section-financials h5 .marker.ltblue {
		background: var(--cyan) !important;
	}
	
	#section-financials h5 .marker.medblue {
		background: var(--blue) !important;
	}
	
	#section-financials h5 .marker.ltgreen {
		background: var(--lime) !important;
	}
	
	#section-financials h5 .marker.medgreen {
		background: var(--lime-dark) !important;
	}
	
	#section-financials h5 .marker.grey {
		background: var(--background-4) !important;
	}

	#section-financials table th, 
	#section-financials table td {
		padding: 8px !important;
	}
	
}