/**
 * Clean Print and PDF layout styling.
 * Hides all navigation, headers, footers, and sidebars,
 * and sets up a clean, printable devotional document sheet.
 */

@media print {
	/* Hide WordPress, theme, and widget elements */
	header,
	footer,
	.site-header,
	.site-footer,
	aside,
	.sidebar,
	.widget-area,
	.print-exclude,
	.st-devotional-toolbar,
	.st-related-posts,
	.ast-post-social-sharing,
	#comments,
	#wpadminbar,
	.comments-area {
		display: none !important;
	}

	/* Setup paper spacing and layout */
	body {
		background: #ffffff !important;
		color: #000000 !important;
		font-size: 13pt !important;
		line-height: 1.6 !important;
		margin: 0 !important;
		padding: 20mm 15mm !important;
	}

	/* Reset widths and remove borders/shadows */
	#page,
	#content,
	.site-content,
	.content-area,
	main,
	article,
	.entry-content {
		width: 100% !important;
		max-width: 100% !important;
		margin: 0 !important;
		padding: 0 !important;
		box-shadow: none !important;
		border: none !important;
		background: transparent !important;
	}

	/* Devotional centering and spacing */
	.entry-title {
		font-size: 26pt !important;
		font-weight: bold !important;
		text-align: center !important;
		margin-bottom: 30px !important;
		color: #000000 !important;
		border-bottom: 2px double #000000 !important;
		padding-bottom: 10px !important;
	}

	.entry-content p {
		text-align: center !important;
		font-size: 14pt !important;
		margin-bottom: 15px !important;
		page-break-inside: avoid;
	}

	/* Keep headings formatted nicely */
	.entry-content h2,
	.entry-content h3 {
		font-size: 16pt !important;
		font-weight: bold !important;
		text-align: center !important;
		margin-top: 30px !important;
		margin-bottom: 15px !important;
		page-break-after: avoid;
	}

	/* Add a clean watermark at the top */
	body::before {
		content: "Shubh Tokri (shubhtokri.com) - आरती, चालीसा, मंत्र और भजन";
		display: block;
		text-align: center;
		font-size: 9pt;
		color: #888888;
		border-bottom: 1px solid #dddddd;
		margin-bottom: 25px;
		padding-bottom: 5px;
	}
}
