/* Morris Heart Associates: shared print styles for the education library.
   Native browser print only. Keeps the logo, practice name, page title,
   content, safety guidance, sources, and page address. */

@media print {
  *,
  *::before,
  *::after {
    background: #FFFFFF !important;
    color: #000000 !important;
    box-shadow: none !important;
    text-shadow: none !important;
  }

  body {
    font-size: 11pt;
    line-height: 1.45;
  }

  .skip-link,
  .nav-toggle,
  .site-nav,
  .edu-breadcrumb,
  .edu-related,
  .edu-back,
  .edu-card-count,
  .site-footer,
  .edu-featured,
  .edu-review-note,
  .no-print {
    display: none !important;
  }

  .site-header {
    border: 0;
    padding: 0.25rem 0;
  }

  .brand-logo {
    width: 200px;
    height: auto;
  }

  .print-only,
  .print-url {
    display: block !important;
  }

  .print-url {
    margin-top: 1.5rem;
    font-size: 9pt;
    overflow-wrap: anywhere;
  }

  a {
    color: #000000 !important;
    text-decoration: underline;
  }

  .edu-article,
  .edu-page,
  main,
  .wrap {
    max-width: none !important;
    width: 100% !important;
    padding-left: 0 !important;
    padding-right: 0 !important;
  }

  details {
    display: block;
  }

  details > summary {
    display: none;
  }

  details > * {
    display: block;
  }

  .edu-table-wrap {
    overflow: visible;
  }

  .edu-table {
    width: 100%;
    table-layout: auto;
  }

  .edu-table th,
  .edu-table td {
    overflow-wrap: anywhere;
  }

  .edu-emergency,
  .edu-diagram,
  .edu-notice {
    border: 1px solid #000000;
    break-inside: avoid;
  }

  .edu-flow li {
    break-inside: avoid;
  }

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

  .edu-sources {
    break-before: auto;
  }
}
