/**
 * Sendang: print.css
 *
 * Dimuat dengan media="print" di semua halaman situs: header pill, footer,
 * tombol, dan bar aksi disembunyikan saat dicetak.
 *
 * Target cetak: A4 potret, margin 16 mm, hitam-putih.
 */

/* ---------- Halaman cetak (A4) ---------- */

@page {
	size: A4 portrait;
	margin: 16mm;

	@bottom-right {
		content: counter(page) " / " counter(pages);
		font-family: var(--wp--preset--font-family--sans, sans-serif);
		font-size: 8pt;
		color: black;
	}
}

/* ---------- Situs umum saat dicetak ---------- */

@media print {
	html,
	body {
		background: white;
		color: black;
	}

	.wp-site-blocks > header,
	.wp-site-blocks > footer,
	.sd-header,
	.sd-drawer,
	.sd-cta-bar,
	.sd-article-actions,
	.sd-share,
	.sd-wa-button-wrap,
	.wp-block-buttons {
		display: none !important;
	}

	a {
		color: black;
		text-decoration: none;
	}
}
