/* Print Styles */

@media print {
	body {
		background: white;
		color: black;
		font-size: 12pt;
		line-height: 1.5;
		margin: 0;
		padding: 0;
	}

	/* Hide non-essential elements */
	.site-header,
	.site-footer,
	.sidebar,
	.sidebar-footer,
	.primary-nav,
	.mobile-menu-toggle,
	.breadcrumb-nav,
	.pagination-nav,
	.related-posts,
	.comments,
	.ad-container,
	.breaking-news-bar,
	.featured-section,
	.category-section,
	.search-form {
		display: none;
	}

	/* Content adjustments */
	main {
		margin: 0;
		padding: 0;
	}

	h1,
	h2,
	h3 {
		page-break-after: avoid;
		margin-top: 1em;
		margin-bottom: 0.5em;
		color: black;
	}

	p {
		page-break-inside: avoid;
		margin-bottom: 0.5em;
	}

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

	a[href]::after {
		content: ' (' attr(href) ')';
		font-size: 0.8em;
	}

	img {
		max-width: 100%;
		page-break-inside: avoid;
	}

	blockquote {
		border-left: 3px solid #999;
		page-break-inside: avoid;
	}

	table {
		page-break-inside: avoid;
		border-collapse: collapse;
		width: 100%;
	}

	table th,
	table td {
		border: 1px solid #999;
		padding: 0.5em;
		text-align: left;
	}

	code,
	pre {
		page-break-inside: avoid;
		background: #f4f4f4;
		border: 1px solid #999;
		padding: 0.5em;
		overflow: auto;
	}

	/* Print article title and metadata */
	.post-title {
		font-size: 24pt;
		margin-bottom: 0.5em;
	}

	.post-meta {
		margin-bottom: 1em;
		font-size: 10pt;
		color: #666;
	}

	.post-meta-item {
		margin-right: 1em;
	}

	/* Page breaks */
	article {
		page-break-after: always;
	}

	/* Footer text */
	footer {
		margin-top: 2em;
		padding-top: 1em;
		border-top: 1px solid #999;
		font-size: 10pt;
		color: #666;
	}
}
