@charset "UTF-8";

/* Print Stylesheet for SMET-Website, ed. 2023
 * by Sascha Leib for GROW.E.4
 * File name: print.css
 */
@media print {

	/* page layout defaults: */
	@page { size: A4 portrait; margin: 2cm 3.5cm 4cm 2.5cm; }
	
	/* hide unnecessary elements: */
	#globan, #headline-breadcrumb-layout, #footer-layout,
	#toTopButton, #sidebar, #sidebar-nav, .no-print	{
		display: none !important;
	}

	/* page headline: */
	#page-headline {
		background-color: transparent;
	}
	#page-headline-layout {
		padding-bottom: .5rem;
	}
	#page-headline-layout > h1 {
		font-size: 1.25rem;
		color: #000;
		margin: 1.5cm 0 0 0;
		text-align: center;
	}

	/* make the main block use the full page width: */
	#navigation-layout {
		display: block;
	}

	#main-content > h2 {
		text-align: center;
		margin-top: 1em;
		margin-bottom: 2.5cm;
	}
	
	/* workaround: force headlines to keep with the next paragraph: */
	main h1::after, main h2::after, main h3::after, main h4::after {
		content: '';
		display: block;
		height: 4.5em;
		margin-bottom: -4.5em;
		page-break-inside: avoid;
		break-inside: avoid;
	}

}