/* Foglio di stampa (ondata 0, voce 14). Caricato con media="print" da index.html:
   non pesa sul primo caricamento. Via ciò che serve solo a schermo (header, menu,
   avviso cookie, newsletter, sommario, barre fisse, footer); testo inchiostro su
   bianco; niente tagli dentro tabelle, figure e riquadri. */
@media print {
  @page { margin: 16mm 14mm; }

  html, body { background: #fff !important; color: #2a231a !important; }

  .skip-link, .mf-header, .mf-footer, .cookie-consent-banner, .mf-newsletter, .mf-lm-box,
  .mf-toc, aside[aria-label="Sommario"], .mf-toc-mobile, .mf-reading-bar, .resume-reading-box,
  [role="dialog"], button, [data-related-articles] { display: none !important; }

  main::before {
    content: "MaterialeFormativo · materialeformativo.com";
    display: block;
    margin-bottom: 8mm;
    padding-bottom: 2mm;
    border-bottom: 1px solid #2a231a;
    font: 600 10pt/1.3 "Karla", system-ui, sans-serif;
  }

  body { font-size: 11.5pt; line-height: 1.5; }
  a { color: inherit !important; }
  .mf-container, .mf-article-grid, .article-content { max-width: none !important; width: auto !important; }
  .mf-article-grid { display: block !important; }

  th { background: #fff !important; color: #2a231a !important; border-bottom: 1.5pt solid #2a231a !important; }
  .article-table-scroll { overflow: visible !important; }
  table, tr, figure, pre, blockquote, .article-summary, .mf-strumento-risultato { break-inside: avoid; }
  h1, h2, h3, h4 { break-after: avoid; }
  * { box-shadow: none !important; }
}
