/* Print stylesheet — version sobre, sans navigation. */

@page {
  margin: 1.8cm 1.6cm 2cm;
}

body {
  background: #fff;
  color: #000;
  font-size: 11pt;
  line-height: 1.45;
}

.site-header,
.site-footer__nav,
.toc,
.skip-link,
.related {
  display: none !important;
}

.site-footer {
  border-top: 1px solid #ccc;
  margin-top: 1cm;
  padding-top: 0.5cm;
  font-size: 9pt;
}

.main {
  padding: 0;
  max-width: none;
}

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

a[href^="http"]::after {
  content: " (" attr(href) ")";
  font-size: 0.85em;
  color: #555;
  word-break: break-all;
}

h1, h2, h3 {
  page-break-after: avoid;
  break-after: avoid;
}

p, li {
  orphans: 3;
  widows: 3;
}

.note {
  border: 1px solid #999;
  background: #f6f6f6;
  page-break-inside: avoid;
}
