@media print {
  * {
    -webkit-print-color-adjust: exact !important;
    color-adjust: exact !important;
    print-color-adjust: exact !important;
  }

  @page {
    size: A4;
    margin: 0.2in;
    @top-left { content: none; }
    @top-center { content: none; }
    @top-right { content: none; }
    @bottom-left { content: none; }
    @bottom-center { content: none; }
    @bottom-right { content: none; }
  }

  .header,
  .header__container,
  .header__logo,
  .header__right,
  .header__links,
  .header__lang,
  .footer,
  script {
    display: none !important;
  }

  body {
    font-family: "Times New Roman", serif;
    font-size: 9.5pt;
    line-height: 1.15;
    color: #000;
    background: white;
    margin: 0;
    padding: 0;
  }

  main {
    max-width: 100%;
    margin: 0;
    padding: 0;
  }

  .markdown-body {
    max-width: 100%;
    margin: 0;
    padding: 0;
    font-family: inherit;
    line-height: 1.15;
  }

  h1 {
    font-size: 18pt;
    font-weight: bold;
    text-align: center;
    margin: 0 0 6pt 0;
    color: #000;
    border-bottom: 1.5px solid #000;
    padding-bottom: 3pt;
  }

  h2 {
    font-size: 13pt;
    font-weight: bold;
    margin: 4pt 0 3pt 0;
    color: #000;
    border-bottom: 1px solid #333;
    padding-bottom: 1pt;
    page-break-after: avoid;
    break-after: avoid;
  }

  h2:nth-of-type(4) {
    page-break-before: always;
    break-before: page;
  }

  h3 {
    font-size: 11pt;
    font-weight: bold;
    margin: 3pt 0 2pt 0;
    color: #000;
    page-break-after: avoid;
    break-after: avoid;
    page-break-inside: avoid;
    break-inside: avoid;
  }

  h3,
  h3 + p,
  h3 + p + ul {
    page-break-inside: avoid;
    break-inside: avoid;
  }

  h3 + p {
    margin-top: 1pt;
    margin-bottom: 1.5pt;
  }

  h3 + p + ul {
    margin-top: 1.5pt;
  }

  p {
    margin: 2pt 0;
    text-align: justify;
    orphans: 2;
    widows: 2;
  }

  a {
    color: #000;
    text-decoration: underline;
  }

  a[href]:after {
    content: "";
  }

  ul, ol {
    margin: 2pt 0;
    padding-left: 8pt;
  }

  li {
    margin: 1pt 0;
    page-break-inside: avoid;
    break-inside: avoid;
  }

  hr {
    border: none;
    border-top: 0.5px solid #333;
    margin: 4pt 0;
    page-break-after: avoid;
    break-after: avoid;
  }

  strong, b {
    font-weight: bold;
    color: #000;
  }

  em, i {
    font-style: italic;
  }

  code, pre {
    font-family: "Courier New", monospace;
    font-size: 8.5pt;
  }

  h2:first-of-type + p {
    text-align: left;
    line-height: 1.3;
  }

  h2:nth-of-type(3) + p {
    line-height: 1.2;
  }

  h3 + p strong {
    display: block;
    margin-bottom: 1pt;
  }

  .markdown-body > *:first-child {
    margin-top: 0;
  }

  .markdown-body > *:last-child {
    margin-bottom: 0;
  }

  * {
    background: white !important;
    color: black !important;
  }

  h1, h2, h3 {
    font-weight: bold !important;
  }

  .__cf_email__ {
    unicode-bidi: bidi-override;
    direction: rtl;
  }
}

@media screen {
  .print-preview {
    max-width: 8.5in;
    min-height: 11in;
    margin: 8px auto;
    padding: 0.2in;
    background: white;
    box-shadow: 0 0 4px rgba(0,0,0,0.1);
    font-family: "Times New Roman", serif;
    font-size: 9.5pt;
    line-height: 1.15;
  }
}
