/*
 * print.css — Minimal print styles.
 */

@media print {
  *,
  *::before,
  *::after {
    background: transparent !important;
    color: var(--mj-print-black) !important;
    box-shadow: none !important;
    text-shadow: none !important;
  }

  .site-header,
  .site-footer,
  .mjc-nav-toggle,
  .mjc-primary-nav,
  .mjc-cta-band,
  nav,
  .mjc-skip-link {
    display: none !important;
  }

  a,
  a:visited {
    text-decoration: underline;
  }

  a[href]::after {
    content: " (" attr(href) ")";
  }

  abbr[title]::after {
    content: " (" attr(title) ")";
  }

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

  p,
  h2,
  h3 {
    orphans: 3;
    widows: 3;
  }

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

  body {
    font-size: 12pt;
    line-height: 1.5;
  }

  .mjc-wrap {
    max-width: 100%;
    padding: 0;
  }
}
