/**
 * 打印样式：隐藏导航/侧栏/按钮，展开链接 URL。
 *
 * @package Aurora_Base
 * @since   1.0.0
 */

@media print {
	/* 打印时强制浅色，避免深色令牌浪费墨水 */
	:root {
		--ab-color-bg: #fff;
		--ab-color-surface: #fff;
		--ab-color-surface-alt: #fff;
		--ab-color-text: #000;
		--ab-color-heading: #000;
		--ab-color-text-muted: #333;
		--ab-color-border: #bbb;
	}

	.ab-site-header,
	.ab-site-footer,
	.ab-nav,
	.ab-sidebar,
	.ab-nav__toggle,
	.ab-skip-link,
	.ab-btn,
	.ab-pagination,
	.ab-post-nav,
	.ab-comments,
	.ab-search-form,
	.ab-404__list {
		display: none !important;
	}

	body {
		background: #fff;
		color: #000;
		font-size: 12pt;
	}

	.ab-container,
	.ab-main-wrap {
		max-width: none;
		padding: 0;
		margin: 0;
	}

	.ab-layout {
		display: block;
	}

	a {
		color: #000;
		text-decoration: underline;
	}

	a[href^="http"]::after {
		content: " (" attr(href) ")";
		font-size: 9pt;
		word-break: break-all;
	}

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

	h1,
	h2,
	h3 {
		page-break-after: avoid;
	}

	article {
		page-break-inside: avoid;
	}
}
