/*--------------------------------------------------------------
TABLE OF CONTENTS:
----------------------------------------------------------------
# Margins
# Typography
# Page breaks
# Links
# Visibility
--------------------------------------------------------------*/
@media print {

  /* Margins */
  @page {
    margin:2cm;
  }
  .entry {
    margin-top:1em;
  }
  .entry .entry-header {
    margin:0;
  }

  /* Fonts */
  body {
    font:13pt Georgia, "Times New Roman", Times, serif;
    line-height:1.3;
    background:#fff !important;
    color:#000;
  }
  h1 {
    font-size:24pt;
  }
  h2,
  h3,
  h4,
  .has-regular-font-size,
  .has-large-font-size,
  h2.author-title,
  p.author-bio,
  .comments-title, h3 {
    font-size:14pt;
    margin-top:25px;
  }

  /* Page breaks */
  a {
    page-break-inside:avoid;
  }
  blockquote {
    page-break-inside:avoid;
  }
  h1,
  h2,
  h3,
  h4,
  h5,
  h6 {
    page-break-after:avoid;
    page-break-inside:avoid;
  }
  img {
    page-break-inside:avoid;
    page-break-after:avoid;
  }
  table, pre {
    page-break-inside:avoid;
  }
  ul, ol, dl {
    page-break-before:avoid;
  }
  abbr[title]:after {
    content:" (" attr(title) ")";
  }
  /*
  .team{
    page-break-inside:avoid;
    page-break-after:avoid;
  }*/

  /* Links */
  a:link, a:visited, a {
    background:transparent;
    font-weight:bold;
    text-decoration:underline;
    text-align:left;
  }
  a {
    page-break-inside:avoid;
  }
  p a[href^=http]:after {
    content:" < " attr(href) "> ";
  }
  a:after > img {
    content:"";
  }
  article a[href^="#"]:after {
    content:"";
  }
  a:not(:local-link):after {
    content:" < " attr(href) "> ";
  }

  /* Visibility */
  .no-print,
  .layout-header,
  .layout-sidebar-header-top,
  .layout-header-fake-sticky,
  .layout-banner,
  .layout-sidebar-top,
  .layout-sidebar,
  .layout-footer,
  .post-navigation,
  .tabs,
  .btn-go-top,
  .entry .entry-title:before,
  .entry-footer,
  .author-description:before,
  .contact-formulary,
  .widget-area,
  .about-author,
  .comment-form-section {
    display:none !important;
  }
  .entry .entry-content .wp-block-button .wp-block-button__link,
  .entry .entry-content .button {
    color:#000;
    background:none;
  }

  .layout-section { padding:0 }
}
