@media print {
  nav,
  header,
  footer,
  .print-hidden,
  button,
  .no-print {
    display: none !important;
  }

  body {
    font-size: 12pt;
    line-height: 1.6;
    color: #000;
    background: #fff;
  }

  h1,
  h2,
  h3 {
    page-break-after: avoid;
    page-break-inside: avoid;
  }

  img {
    page-break-inside: avoid;
    max-width: 100% !important;
  }

  a[href^='http']:after {
    content: ' (' attr(href) ')';
    font-size: 10pt;
    color: #666;
  }

  article {
    max-width: 100% !important;
    margin: 0 !important;
    padding: 1cm !important;
  }

  * {
    box-shadow: none !important;
    text-shadow: none !important;
  }
}
