/* Variables */

@media print {
  /* Global START */

  @page {
    margin: .5cm;

    size: 8.5in 11in;

    orphans:2;

    widows:2;
  }

  * {
    text-shadow: none !important;
    filter:none !important;
    -ms-filter: none !important;
    -webkit-print-color-adjust: exact;
    print-color-adjust: exact;
  }

  html, body, a {
    background-color: transparent;
    color: #000;
  }

  .min-h-screen {
    min-height: 0;
  }

  body {
    padding-top: 0;
  }

  header {
    padding-top: 0;
  }

  pre, blockquote {
    page-break-inside: avoid;
  }

  /* Defining all page breaks - START */

  a,
  blockquote,
  table,
  pre
  {
    page-break-inside: avoid;
  }

  h1, h2, h3, h4, h5, h6, img {
    page-break-after:avoid;
    page-break-inside:avoid
  }

  ul, ol, dl  {
    page-break-before:avoid
  }

  /* Defining all page breaks - END */

  [class*='bg-'] {
    background-color: transparent;
  }

  div,
  a,
  p,
  .text-white
  {
    color: #000 !important;
  }

  .post-content a[href]{
    text-decoration: underline;
  }
    .post-content a[href]::after {
      content: " (" attr(href) ")";
      visibility: hidden;
    }

  .site-logo{
    margin-left: auto;
    margin-right: auto;
  }

  .row {
    max-width: 100%;
  }

  .columns {
    max-width: 100%;
    flex: 0 0 100%;
    padding-left: 16px;
    padding-right: 16px;
  }

  /* HIDE ALL THE FOLLOWING!! */

  .hide-for-print,
  .ad-header,
  .adgrid-ad-target,
  .primary-menu-wrapper,
  [data-open-modal],
  .menu-opener,
  #embed-video-container,
  footer {
    display: none;
  }

  iframe{
    display: none !important;
  }

  .wp-block-embed.wp-embed-aspect-4-3 .wp-block-embed__wrapper{
    padding-bottom: 0;
  }

  .wp-block-embed{
    margin-bottom: 0;
  }
      .wp-block-embed__wrapper > *{
        padding: 0;
        margin: 0;
      }
}
