/* i23.eu — stampa e "Salva come PDF".
   Caricato solo in stampa (media="print"): toglie tutto ciò che non serve su carta. */

@page { margin: 16mm; }

.site-header,
.site-footer,
.page-footer,
.footer-stripe,
.back-to-top,
.breadcrumb,
.article-actions,
.article-nav,
.code-copy {
    display: none !important;
}

body { background: #fff; }

.code-block { overflow: visible; break-inside: avoid; }
.code-block pre.code-pre { white-space: pre-wrap; word-break: break-word; }
.callout, .resources { break-inside: avoid; }
h1, h2, h3, h4 { break-after: avoid; }

/* i link esterni mostrano l'indirizzo, così nel PDF restano utilizzabili */
.article-body a[href^="http"]::after {
    content: " (" attr(href) ")";
    font-size: .85em;
    word-break: break-all;
}
