@media print {
  body {
    font-family: Arial, sans-serif;
    font-size: 12pt;
    color: #000;
  }

  header,
  footer,
  nav,
  aside {
    display: none;
    /* Hide elements not needed in print */
  }

  main {
    width: 100%;
  }

  h1,
  h2,
  h3,
  h4,
  h5,
  h6 {
    color: #000;
    page-break-after: avoid;
    /* Avoid breaking headings across pages */
  }

  p {
    margin: 1em 0;
  }

  a {
    color: #000;
    text-decoration: none;
  }

  img {
    max-width: 100%;
    height: auto;
  }

  table {
    width: 100%;
    border-collapse: collapse;
  }

  th,
  td {
    border: 1px solid #000;
    padding: 8px;
  }

  ul,
  ol {
    margin: 1em 0;
    padding-left: 20px;
  }

  li {
    margin-bottom: 0.5em;
  }
}

/*
  form{display:none !important;}
  */