/*
  The Ratgeber on paper (docs/content/topic-guide-format.md): loaded with media="print", so it never blocks the page on
  screen. Only the article prints: black on white, tables with ruled cells that keep their rows together, checklists
  with an empty box to tick by hand, and the address behind every external link.
*/

@page {
  margin: 16mm 14mm;
}

.hw-public-bar,
.hw-public-footer,
.hw-guide-nav,
.hw-guide-aside,
.hw-guide-toc,
.hw-guide-search,
.hw-guide-related,
.hw-guide-heimrunde-more {
  display: none !important;
}

html,
body,
.hw-public,
.hw-guide,
.hw-guide-article,
.hw-guide-heimrunde {
  background: #FFFFFF !important;
  color: #000000 !important;
  box-shadow: none !important;
}

.hw-guide {
  display: block;
  max-width: none;
  padding: 0;
}

.hw-guide-article {
  padding: 0;
  border: 0;
}

.hw-guide-body,
.hw-guide-heimrunde,
.hw-guide-sources {
  max-width: none;
  font-size: 11pt;
}

.hw-guide-lead,
.hw-guide-updated,
.hw-guide-breadcrumb ol,
.hw-guide-heimrunde .hw-guide-reviewed {
  color: #333333;
}

.hw-guide a:not([class]) {
  color: #000000;
  font-weight: 400;
  text-decoration: underline;
}

.hw-guide-body a[href^="http"]::after,
.hw-guide-sources a::after {
  content: " (" attr(href) ")";
  font-size: 9pt;
  overflow-wrap: anywhere;
}

.hw-guide-body h2,
.hw-guide-body h3 {
  break-after: avoid;
}

.hw-guide-body table {
  display: table;
  width: 100%;
  overflow: visible;
  font-size: 10.5pt;
}

.hw-guide-body th,
.hw-guide-body td {
  border: 1px solid #000000;
}

.hw-guide-body thead {
  display: table-header-group;
}

.hw-guide-body tr,
.hw-guide-body li,
.hw-shot {
  break-inside: avoid;
}

.hw-guide-body .contains-task-list {
  padding-left: 0;
  list-style: none;
}

.hw-guide-body .task-list-item input[type="checkbox"] {
  width: 12pt;
  height: 12pt;
  margin: 0 6pt 0 0;
  vertical-align: -2pt;
  appearance: none;
  border: 1px solid #000000;
  background: #FFFFFF;
}

.hw-guide-heimrunde {
  border: 1px solid #000000 !important;
  break-inside: avoid;
}

.hw-shot {
  float: none !important;
  width: 45mm !important;
  margin: 0 auto 6mm !important;
}
