/* EGRO Transparenzmeldung – print stylesheet (the "Als PDF speichern" route).
   Loaded with media="print", so it only applies in the print dialog. It strips
   the site chrome and renders the notice as a plain, readable sheet. */

@page {
	size: A4;
	margin: 18mm 16mm;
}

@media print {
	html,
	body {
		background: #fff !important;
		color: #000 !important;
		font-size: 11pt;
		line-height: 1.45;
	}

	/* Site chrome has no place on the sheet. */
	.site-header,
	.site-breadcrumb,
	.site-footer,
	.nav-toggle,
	#wpadminbar {
		display: none !important;
	}

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

	.egro-tm-notice {
		max-width: none;
		margin: 0;
		padding: 0;
	}

	.egro-tm-notice .page-title {
		margin: 0 0 6mm;
		font-size: 18pt;
		line-height: 1.2;
	}

	.egro-tm-notice__meta {
		margin: 0 0 8mm;
		color: #333 !important;
	}

	.egro-tm-notice__section {
		margin: 0 0 6mm;
		padding: 0 0 2mm;
		border-bottom: 0.3mm solid #999;
		break-inside: avoid;
		page-break-inside: avoid;
	}

	.egro-tm-notice__section-title {
		margin: 0 0 3mm;
		font-size: 12pt;
	}

	.egro-tm-notice__list {
		display: block;
		margin: 0;
	}

	.egro-tm-notice__list dt {
		margin: 0;
		font-size: 9pt;
		font-weight: 700;
		color: #444 !important;
	}

	.egro-tm-notice__list dd {
		margin: 0 0 3mm;
		font-size: 11pt;
		color: #000 !important;
	}

	.egro-tm-notice__footer {
		margin: 8mm 0 0;
		padding: 0;
		background: transparent !important;
		border-top: 0.3mm solid #999;
		padding-top: 5mm;
		break-inside: avoid;
		page-break-inside: avoid;
	}

	.egro-tm-notice__qr-image {
		width: 40mm;
		border: 0;
	}

	/* The print sheet cannot be clicked: buttons, the download link and the
	   whole approval form go. */
	.egro-tm-notice__print,
	.egro-tm-notice__print-hint,
	.egro-tm-notice__download,
	.egro-tm-notice__decide {
		display: none !important;
	}

	.egro-tm-notice__withheld {
		padding: 0;
		font-size: 9pt;
		background: transparent !important;
		color: #444 !important;
	}

	.egro-tm-notice__private {
		padding: 0;
		background: transparent !important;
		color: #444 !important;
	}

	.egro-tm-notice__url {
		font-size: 10pt;
		overflow-wrap: anywhere;
	}

	.egro-tm-notice a {
		color: #000 !important;
		text-decoration: none;
	}
}
