/*
Print styles for Synopse BauO NRW
*/

@page {
	size:   A4 landscape;
	margin: 0;
}

@media print {

	:root {
		--wp--style--global--content-size: 100%;
	}

	.wp-block-navigation,
	footer.wp-block-template-part,
	.syn-legend-panel,
	.syn-pagenierung,
	.mobile-meta-accordion,
	.wp-block-search,
	a.wp-element-button,
	.skip-link,
	#seopress-js-module-seo-metabox {
		display: none !important;
	}

	body {
		background: #fff !important;
		color:      #000 !important;
		font-size:  10pt;
	}

	a::after {
		content:   " (" attr(href) ")";
		font-size: 0.8em;
	}

	a[href^="#"]::after {
		content: "";
	}

	.wp-site-blocks > .syn-wrapper {
		position: relative;
		top:      auto !important;
	}

	.wp-site-blocks > .syn-wrapper > div {
		display: none;
	}

	.wp-site-blocks > .syn-wrapper > .syn-paragraph-title {
		display: block;
	}

	.wp-site-blocks > .syn-wrapper > .syn-paragraph-title .col-2-3 {
		grid-column: 1 / -1;
	}

	.wp-site-blocks > .syn-wrapper > .syn-paragraph-title .has-text-align-left {
		text-align:  center;
	}

	table.synopsis-block {
		display:      table;
		table-layout: fixed;
		width:        100%;
	}

	.synopsis-block-wrapper {
		margin: 0;
	}

	.synopsis-block-wrapper:first-child > table.synopsis-block thead {
		display: table-header-group;
	}

	p {
		page-break-inside: avoid;
	}

	table {
		border-spacing: 0;
	}

	table.synopsis-block tbody {
		display: table-row-group;

	}

	table.synopsis-block tr {
		display: table-row;
	}

	table.synopsis-block th,
	table.synopsis-block td {
		display:        table-cell !important;
		width:          auto;
		vertical-align: top;
		padding:        0 10px 0 10px !important;
	}

	table.synopsis-block th {
		padding-bottom: 10px;
		border-bottom:  1px solid var(--wp--preset--color--cyan);
		font-weight:    700;
		text-align:     left;
	}

}
