/* DarkBlog — impression (écoconception RWEB_0031).
   Chargé avec <link … media="print"> : noir sur blanc quel que soit le thème,
   interface masquée (en-tête, menu, lien d'évitement), contenu pleine largeur,
   blocs non coupés entre deux pages, adresses des liens imprimées. */
@page { margin: 1.5cm; }
:root, :root[data-theme] { color-scheme: light !important; }
html { font-size: 11pt !important; }
html, body { background: #fff !important; color: #000 !important; }
body { max-width: 100% !important; margin: 0 !important; padding: 0 !important; letter-spacing: normal !important; }
body * { color: #000 !important; background: transparent !important; box-shadow: none !important; text-shadow: none !important; }

.navbar, .skip-link, .comfort, .hide-spoiler, button, img.banner { display: none !important; }
hr { border-top-color: #999 !important; }

a { text-decoration: underline; }
article a[href^="http"]::after { content: " (" attr(href) ")"; font-size: .85em; overflow-wrap: anywhere; }
footer a::after { content: none !important; }

h1 { font-size: 20pt; }
h2 { font-size: 15pt; border-bottom: 1px solid #999 !important; }
h3 { font-size: 12.5pt; }
h1, h2, h3 { break-after: avoid; page-break-after: avoid; }
p, li { orphans: 3; widows: 3; }

pre, blockquote, code { border-color: #999 !important; }
pre { white-space: pre-wrap; border: 1px solid #999 !important; border-left-width: 3px !important; margin: 1em 0 !important; }
blockquote { margin: 1em 0 !important; }
pre, blockquote, table, figure, img { break-inside: avoid; page-break-inside: avoid; }
img { max-width: 100% !important; }
img.center { max-width: 60% !important; }
