@media print {
  @page {
    size: auto;
    margin: 0mm;
  }

  @page {
    size: A4; /* DIN A4 standard, Europe */
    margin: 2cm 1cm;
    padding: 1cm;

    @bottom-center {
      content: element(pageFooter);
      height: 120px;
    }
  }

  html {
    margin: 0;
  }

  .header {
    top: 0.5;
  }

  .header,
  .hero,
  .sidebar,
  footer,
  footer.footer {
    display: none;
  }

  .hero {
    padding-top: 7rem;
    --sp-section: 1.5rem;
  }
  .hero .container {
    --sp: 0.5rem;
  }

  .container {
    max-width: 100% !important;
    padding: 0 1rem;
    margin: 0 auto;
  }

  .article,
  .article-print {
    padding-top: 2rem;
    width: 100%;
  }

  /* .article a[href]::after,
  .article-print a[href]::after {
    content: " (" attr(href) ")";
  }
  .article .tags a[href]::after,
  .article-print .tags a[href]::after {
    content: "";
  } */

  .article .share,
  .article-print .share,
  .section-post-more,
  .newsletter {
    display: none;
  }

  .topbar .menu-header-espace,
  .topbar .languages,

  .navbar .btn-menu svg,
  .navbar .sidebar,
  .navbar .sidebar-overlay,

  .navbar .account,
  .navbar .main-menu,
  .navbar .btn-search,
  .navbar .form-search,
  .navbar .scroll-top {
    display: none;
  }

  .card.poll.poll-fixed,
  .newsletter {
    display: none;
  }

  #wpadminbar,
  #anw-container,
  #cya11y-container {
    display: none;
  }

  #wp-admin-bar-query-monitor,
  #query-monitor-main {
    display: none;
  }
}
