@media print {
	.no-print {
		display: none !important;
	}
	
	/* Constrain the overall report container to A4 width */
	#reportContent {
		width: 210mm;
		margin: 0 auto;
	}

	/* Force a page break between pages if needed */
	.page-break {
		display: block;
		page-break-before: always;
	}

	/* Adjust the canvas (charts) so they don’t overflow */
	canvas {
		max-width: 100% !important;
		height: auto !important;
	}

	/* Wrap your charts in a container if needed */
	.chart-container {
		width: 100%;
		max-width: 210mm;
		margin: 0 auto;
	}

	/* Adjust tables to fit within the A4 width */
	table {
		width: 100% !important;
		table-layout: fixed;
		word-wrap: break-word;
		font-size: 10px;  /* Adjust this as needed */
	}

	/* Optionally reduce padding/margins for table cells */
	table th, table td {
		padding: 4px !important;
	}
}

#pieSubjectChart, 
#pieCountryChart {
	height: 400px !important; /* Set a fixed height */
}