/**
 * A4 product sheet for single reference pages.
 */

@page {
	size: A4 portrait;
	margin: 11mm 13mm 14mm;
}

@media print {
	*,
	*::before,
	*::after {
		box-sizing: border-box !important;
		-webkit-print-color-adjust: exact !important;
		print-color-adjust: exact !important;
	}

	html,
	body.single-referenz {
		background: #fff !important;
		color: #252525 !important;
		font-family: Arial, Helvetica, sans-serif !important;
		font-size: 9pt !important;
		line-height: 1.38 !important;
	}

	body.single-referenz {
		margin: 0 !important;
		padding: 0 !important;
	}

	body.single-referenz .body_top,
	body.single-referenz .body_bottom,
	body.single-referenz #fix-wrapper,
	body.single-referenz #slider,
	body.single-referenz #footer,
	body.single-referenz #bottom,
	body.single-referenz #wpadminbar,
	body.single-referenz #top_link,
	body.single-referenz #mmenu,
	body.single-referenz .mmenu_overlay,
	body.single-referenz .smartmenu-content,
	body.single-referenz .mod_pct_megamenu,
	body.single-referenz .mod-bm-news,
	body.single-referenz #btn-controls,
	body.single-referenz .referance-slider .owl-nav,
	body.single-referenz .referance-slider .owl-dots {
		display: none !important;
	}

	body.single-referenz .wahl-print-only {
		display: flex !important;
	}

	body.single-referenz #contentwrapper,
	body.single-referenz #wrapper,
	body.single-referenz #container,
	body.single-referenz #main,
	body.single-referenz #main .inside,
	body.single-referenz #main .mod_article,
	body.single-referenz #main .mod_article > .container {
		width: 100% !important;
		max-width: none !important;
		min-height: 0 !important;
		margin: 0 !important;
		padding: 0 !important;
		border: 0 !important;
		box-shadow: none !important;
		overflow: visible !important;
	}

	body.single-referenz .wahl-print-header {
		align-items: center;
		justify-content: space-between;
		min-height: 20mm;
		margin: 0 0 8mm !important;
		padding: 0 0 4mm !important;
		border-bottom: 1.4mm solid #42c7e9;
		break-inside: avoid;
	}

	body.single-referenz .wahl-print-header__logo {
		width: 48mm !important;
		height: auto !important;
		max-height: 18mm;
		object-fit: contain;
		object-position: left center;
	}

	body.single-referenz .wahl-print-header__meta {
		display: flex;
		flex-direction: column;
		align-items: flex-end;
		gap: 1mm;
		color: #0069b4;
		font-size: 8pt;
		line-height: 1.1;
		letter-spacing: .16em;
		text-transform: uppercase;
	}

	body.single-referenz .wahl-print-header__meta strong {
		font-size: 12pt;
		letter-spacing: .04em;
	}

	body.single-referenz .product_references_headline {
		max-width: 175mm;
		margin: 0 0 7mm !important;
		padding: 0 !important;
		color: #0069b4 !important;
		font-size: 25pt !important;
		font-weight: 800 !important;
		line-height: 1.06 !important;
		letter-spacing: -.02em;
		text-transform: none !important;
		break-after: avoid;
	}

	body.single-referenz .post-description.reference-description {
		display: grid !important;
		grid-template-columns: 64mm minmax(0, 1fr);
		gap: 8mm;
		align-items: start;
		margin: 0 !important;
		padding: 0 !important;
		break-inside: avoid;
	}

	body.single-referenz #teaser-content.post-description__meta,
	body.single-referenz .post-description__image {
		width: auto !important;
		max-width: none !important;
		min-width: 0 !important;
		margin: 0 !important;
		padding: 0 !important;
		float: none !important;
		flex: none !important;
	}

	body.single-referenz #teaser-content {
		grid-column: 1;
		grid-row: 1;
	}

	body.single-referenz #teaser-content > .post-description__meta {
		margin: 0 0 6mm !important;
		padding: 5mm !important;
		border-left: 1.4mm solid #42c7e9;
		border-radius: 0 3mm 3mm 0;
		background: #eef8fc !important;
	}

	body.single-referenz .reference-properties {
		margin: 0 !important;
		padding: 0 !important;
		list-style: none !important;
	}

	body.single-referenz .reference-properties__item,
	body.single-referenz .reference-properties__item.mt-3 {
		display: grid !important;
		grid-template-columns: 22mm minmax(0, 1fr);
		gap: 2mm;
		margin: 0 !important;
		padding: 1.1mm 0 !important;
		border-bottom: .2mm solid rgba(0, 105, 180, .14);
		font-size: 8.5pt;
		line-height: 1.25;
	}

	body.single-referenz .reference-properties__item:last-child {
		border-bottom: 0;
	}

	body.single-referenz .reference-properties__item > div {
		width: auto !important;
		float: none !important;
	}

	body.single-referenz .reference-properties__item__title {
		color: #0069b4 !important;
		font-weight: 700;
	}

	body.single-referenz .driscription,
	body.single-referenz .reference-description__details {
		margin: 0 !important;
		padding: 0 !important;
	}

	body.single-referenz .reference-description__details p {
		margin: 0 0 2.2mm !important;
		font-size: 8.5pt !important;
		line-height: 1.38 !important;
		orphans: 3;
		widows: 3;
	}

	body.single-referenz .reference-description__details > p:first-child {
		margin: 0 0 3mm !important;
		color: #0069b4 !important;
		font-size: 13pt !important;
		line-height: 1.15 !important;
	}

	body.single-referenz .post-description__image {
		grid-column: 2;
		grid-row: 1;
	}

	body.single-referenz .post-description__image > a {
		display: block !important;
		margin: 0 !important;
		padding: 0 !important;
		text-decoration: none !important;
	}

	body.single-referenz .post-description__image > a > img {
		display: block !important;
		width: 100% !important;
		height: 86mm !important;
		margin: 0 !important;
		border-radius: 4mm !important;
		object-fit: cover !important;
		object-position: center !important;
	}

	body.single-referenz .referance-slider,
	body.single-referenz .referance-slider.owl-carousel {
		display: grid !important;
		grid-template-columns: repeat(4, minmax(0, 1fr));
		gap: 2mm;
		width: 100% !important;
		margin: 3mm 0 0 !important;
		padding: 0 !important;
	}

	body.single-referenz .referance-slider .owl-stage-outer,
	body.single-referenz .referance-slider .owl-stage {
		display: contents !important;
		width: auto !important;
		height: auto !important;
		margin: 0 !important;
		transform: none !important;
	}

	body.single-referenz .referance-slider .owl-item,
	body.single-referenz .referance-slider > .ce_text {
		display: block !important;
		width: auto !important;
		margin: 0 !important;
		padding: 0 !important;
		float: none !important;
	}

	body.single-referenz .referance-slider .owl-item.cloned {
		display: none !important;
	}

	body.single-referenz .referance-slider .slider_content,
	body.single-referenz .referance-slider .slider-img {
		width: 100% !important;
		height: 18mm !important;
		margin: 0 !important;
		padding: 0 !important;
	}

	body.single-referenz .referance-slider .slider-img img {
		display: block !important;
		width: 100% !important;
		height: 18mm !important;
		margin: 0 !important;
		border-radius: 2mm !important;
		object-fit: cover !important;
	}

	body.single-referenz .wahl-print-footer {
		position: fixed;
		left: 0;
		right: 0;
		bottom: 0;
		align-items: flex-end;
		justify-content: space-between;
		padding-top: 2.5mm;
		border-top: .5mm solid #0069b4;
		color: #52616b;
		font-size: 7.5pt;
		line-height: 1.25;
	}

	body.single-referenz .wahl-print-footer > div {
		display: flex;
		flex-direction: column;
		gap: .5mm;
	}

	body.single-referenz .wahl-print-footer > div:last-child {
		align-items: flex-end;
	}

	body.single-referenz .wahl-print-footer strong {
		color: #0069b4;
	}
}
