/*
 * Tisk. Kroniky a texty o kauzách si lidé tisknou (vizuální zadání, kap. 3.9):
 * skryté menu a patička, černý text na bílé, adresy odkazů vypsané za textem,
 * rozumné zalomení stránek.
 */
@page { margin: 2cm; }

html, body { background: #fff !important; color: #000 !important; }
body { font-size: 11.5pt; line-height: 1.5; }

header.wp-block-template-part,
footer.wp-block-template-part,
.wp-block-navigation,
.wp-block-search,
.wp-block-query-pagination,
.wp-block-post-navigation-link,
.tejnka-pruh,
.tejnka-kontakt,
.skip-link { display: none !important; }

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

/* Adresa odkazu za textem, ale jen u odkazů v obsahu a jen tam, kde to
   něco říká — ne u kotev ani u obrázků. */
.wp-block-post-content a[href^="http"]::after,
.wp-block-post-content a[href^="/"]::after {
	content: " (" attr(href) ")";
	font-size: 0.85em;
	word-break: break-all;
}
.wp-block-post-content a[href^="/"]::after { content: " (tejnka.cz" attr(href) ")"; }
.wp-block-post-content a:has(img)::after { content: none; }

h1, h2, h3, h4 { break-after: avoid; page-break-after: avoid; }
p, li, blockquote { orphans: 3; widows: 3; }
img, figure, table, blockquote { break-inside: avoid; page-break-inside: avoid; }
img { max-width: 100% !important; }

.tejnka-chybi { border: 1px dashed #666 !important; background: none !important; }
