@use "../01-abstract/variables" as *;

@media print {
	* {
		font-family: Arial, Helvetica, sans-serif !important;
		color: $color-dark !important;
		text-decoration: none;
		text-shadow: none !important;
		background: transparent !important;
		filter: none !important;
	}/* Black prints faster: h5bp.com/s */
	a,
	a:visited {
		text-decoration: none;
	}

	a[href]::after {
		content: " (" attr(href) ")";
	}

	abbr[title]::after {
		content: " (" attr(title) ")";
	}

	.ir a::after,
	a[href^="javascript:"]::after,
	a[href^="#"]::after {
		content: "";
	}/* Don't show links for images, or javascript/internal links */
	pre,
	blockquote {
		border: 0;
		page-break-inside: avoid;
	}

	thead {
		display: table-header-group;
	}/* h5bp.com/t */
	tr,
	img {
		page-break-inside: avoid;
	}

	img {
		max-width: 100% !important;
	}

	@page {
		margin: .5cm;
	}

	p,
	h2,
	h3 {
		orphans: 3;
		widows: 3;
	}

	h2,
	h3 {
		page-break-after: avoid;
	}

	.inline-element-with-padding {
		padding: 0;
	}

	/* remove useless content */
	.skip-links,
	.header,
	.footer,
	.widget-area,
	.breadcrumb,
	.wp-pagenavi {
		display: none !important;
	}

	/* show hidden content */
	.wp-block-beapi-accordion-panel,
	.wp-block-beapi-faq-block .faq__panel {
		display: block !important;
	}

	/* reset width */
	.content {
		width: 100% !important;
		padding: 10px 0 !important;
		margin: 10px 0 !important;
	}
}
