/**
 * NoPixels Sectorum — Print-Stylesheet (Phase 11)
 *
 * Wird nur beim window.print() (oder via [data-np-sec-print]-Button) aktiv.
 * Versteckt UI-Chrome (Tabs, Filter, Header-Buttons, Footer-Promo),
 * macht Battle-Logs/News/Stats druckbar — minimaler PDF-Export.
 *
 * Browsers können die Print-View direkt als "PDF speichern" rausrendern,
 * deshalb ist hier KEIN PHP-PDF-Generator nötig.
 */
@media print {
	@page { margin: 12mm; }

	body {
		background: #fff !important;
		color: #000 !important;
		font-family: Georgia, 'Times New Roman', serif !important;
		font-size: 11pt !important;
		line-height: 1.4 !important;
	}

	/* Site-Chrome wegblenden — Theme-Header, Footer, Sidebar */
	header.site-header,
	footer.site-footer,
	nav, aside,
	.site-navigation,
	#wpadminbar { display: none !important; }

	/* Plugin-Chrome wegblenden */
	.np-sec-tabs,
	.np-sec-pills,
	.np-sec-filter-bar,
	.np-sec-stage-controls,
	.np-sec-header-actions,
	.np-sec-help-btn,
	.np-sec-promo,
	.np-sec-poweredby,
	[data-np-sec-print],
	[data-np-sec-push-toggle],
	.np-sec-modal,
	.np-sec-lightbox,
	.np-sec-tooltip { display: none !important; }

	/* Karten-Tab: Hex-Map in S/W mit klaren Konturen */
	.np-sec-stage {
		background: #fff !important;
		border: 1px solid #000 !important;
		page-break-inside: avoid;
	}
	.np-sec-hex {
		stroke: #000 !important;
		stroke-width: 1.5px !important;
	}
	.np-sec-hex-text { fill: #000 !important; }

	/* News / Battle-Log lesbar */
	.np-sec-news-story,
	.np-sec-news-item,
	.np-sec-battle-row,
	.np-sec-archive-card {
		background: #fff !important;
		color: #000 !important;
		border: 1px solid #ccc !important;
		page-break-inside: avoid;
		margin-bottom: 10pt !important;
		padding: 8pt !important;
	}

	.np-sec-news-section-title { font-weight: 700; margin-top: 10pt; }

	a, a:visited {
		color: #000 !important;
		text-decoration: none !important;
	}
	a[href]:after { content: ' (' attr( href ) ')'; font-size: 8pt; color: #666; }

	/* SVG-Charts in S/W */
	.np-sec-chart-line,
	.np-sec-chart-bar,
	.np-sec-chart-donut {
		filter: grayscale( 100% ) !important;
	}

	h1, h2, h3, h4 {
		color: #000 !important;
		page-break-after: avoid;
	}

	/* Foto-Galerie: nur 2 pro Reihe, ungefärbt */
	.np-sec-gallery {
		display: grid !important;
		grid-template-columns: 1fr 1fr !important;
		gap: 6pt !important;
	}
	.np-sec-gallery img { max-width: 100% !important; height: auto !important; }
}
