/* CV — browser Print / Save as PDF. Hide chrome; keep the document. */

@media print {
	body.template-cv {
		background: #fff !important;
		color: #000 !important;
		font-size: 11pt;
	}

	body.template-cv .screen-only {
		display: none !important;
	}

	body.template-cv .cv-doc {
		max-width: none;
		margin: 0;
		padding: 0;
	}

	body.template-cv a {
		color: inherit !important;
		text-decoration: none !important;
	}

	/* Keep live project URLs readable in print (hostname is the link text). */
	body.template-cv .cv-plive {
		color: inherit !important;
	}

	body.template-cv .cv-section {
		break-inside: avoid;
		page-break-inside: avoid;
	}

	body.template-cv .cv-experience-item,
	body.template-cv .cv-skill-item,
	body.template-cv .cv-project-item {
		break-inside: avoid;
		page-break-inside: avoid;
	}

	/* Keep bullet lists quieter than company/role in print too. */
	body.template-cv .cv-experience-item ul,
	body.template-cv .cv-experience-item ul li,
	body.template-cv .cv-skill-item ul,
	body.template-cv .cv-skill-item ul li {
		font-size: 9.5pt;
		font-weight: 400;
	}

	body.template-cv .cv-header,
	body.template-cv .cv-experience-item,
	body.template-cv .cv-skill-item,
	body.template-cv .cv-project-item {
		border-color: #ccc !important;
	}

	/* Hide WP admin bar / leftover UI if present while printing. */
	#wpadminbar,
	.wp-block-skip-link {
		display: none !important;
	}
}
