@page {
  margin: 30mm 30mm 30mm 30mm;
  size: auto;
}

* {
  color: #333 !important;
  background-color: transparent !important;
  box-shadow: none !important;
  text-shadow: none !important;
  border-color: #333 !important;
}

body {
  font-family: system-ui, sans-serif !important;
  margin: 0;
  font-size: 9pt;
}

article {
  display: block;
}

article>* {
  display: block;
  position: relative !important;
}

article>header>nav {
  display: block;
  text-align: center;
}

.logo {
  display: block;
  fill: #333 !important;

  svg {
    width: 30mm;
    height: auto;
  }
}

#page-main {
  margin-top: 0;
}


.menu-container,
.menu-extra,
.post-edit-link,
.share,
.post-navigation,
.tags,
.utility,
.related {
  display: none !important;
}

table,
blockquote,
dt,
tr,
img {
  break-inside: avoid;
}

thead {
  display: table-header-group;
}

p,
h2,
h3 {
  orphans: 3;
  widows: 3;
}

h2,
h3,
h4 {
  break-after: avoid;
}
