/* === REPIXEL.de  Print Styles === */
@media print {

/* === REPIXEL.de Print Styles  === */

/* ---------- RESET & BASE ---------- */
*, *::before, *::after {
  background: none !important;
  color: #000 !important;
  box-shadow: none !important;
  text-shadow: none !important;
}

@page {
  margin: 2cm;
}

body {
  font-family: "Times New Roman", serif;
  font-size: 12pt;
  line-height: 1.4;
  color: #000 !important;
}

/* ---------- HIDE UNNECESSARY ELEMENTS ---------- */
.info-list, .info-list *, .info-list a,
aside,
.no-print,
.advertisement,
.hide,
.hideout,
.screenreader-txt,
.screen-reader-text,
audio,
video,
iframe,
canvas,
svg,
img,
.headnav-box,
.headnav-box *,
.main-nav,
.search-form,
.post-navigation,
.post-navigation a,
.wplink { /* hides WordPress “powered by” / π link */
  display: none !important;
  visibility: hidden !important;
}

/* ---------- LAYOUT ---------- */
#wrapper {
  width: 84% !important;
  margin: 2% 5% 0 10% !important;
  padding: 0 !important;
}

main,
.main,
main *,
.main *,
pre,
ul, ol, li, dt,
h1, h2, h3, h4, h5, h6,
a,
:before,
:after {
  background: white !important;
  border: none !important;
  margin: 0;
  padding: 0;
  width: auto;
  color: #000 !important;
}

/* ---------- TYPOGRAPHY ---------- */
p, table {
  font-family: serif;
  font-size: 12pt;
  margin: 1rem 0 0 0;
  padding: 0;
  color: #333;
  background: #fff !important;
  border: none;
  outline: none;
}

p, h2, h3 {
  orphans: 3;
  widows: 3;
}

h1, h2, h3, h4, h5, h6 {
  font-weight: bold;
  page-break-after: avoid;
  page-break-inside: avoid;
}

h2, h3 {
  page-break-before: always;
}

/* ---------- LINKS ---------- */
a,
a:visited {
  page-break-inside: avoid;
  text-decoration: none !important;
  color: #000 !important;
}

a::after {
  content: " (" attr(href) ")";
  font-size: 10pt;
}

a[href^="#"]::after,
a[href^="javascript:"]::after {
  content: "";
}

abbr[title]::after {
  content: " (" attr(title) ")";
}

/* ---------- TABLES ---------- */
table {
  border-collapse: collapse;
  width: 100%;
}

th, td {
  border: 1px solid #000;
  padding: 4pt;
}

thead {
  display: table-header-group;
}

tr, pre, blockquote, table {
  page-break-inside: avoid;
}

/* ---------- CODE BLOCKS ---------- */
pre, code {
  font-family: "Courier New", monospace;
  font-size: 10pt;
  white-space: pre-wrap;
}

/* ---------- IMAGES ---------- */
img, .site-description {
  display: none !important;
  max-width:0% !important;
}

/* ---------- LISTS ---------- */
ul, ul li {
  list-style-type: none !important;
}

/* ---------- SITE TITLE ---------- */
.site-header,
 .site-header h1,
 .site-header h1 a { 
display:block !important;
color:#888 !important; 
visibility:visible !important;
  text-shadow: none !important;
  text-decoration: none !important;
  font-size: 34pt;
  margin-bottom: 0.4em;
}

/* ---------- FOOTER VISIBLE ON PRINT ---------- */
#sitefooter,
#sitefooter *,
.site-footer,
.site-footer *,
.footer-pages,
.footer-pages li,
.footer-pages a,
.pfl,
.pfl * {
  display: block !important;
  visibility: visible !important;
  background: white !important;
  color: #000 !important;
  width: 100% !important;
  text-align: center !important;
}

/* Footer link layout: stacked + centered */
.footer-pages {
  margin: 1em 0;
  padding: 0;
  text-align: center;
}

.footer-pages li {
  display: block !important;
  margin: 0.2em 0 !important;
  padding: 0;
  text-align: center;
  clear: both;
}

.footer-pages a {
  font-size: 11pt;
  color: #000 !important;
  text-decoration: none !important;
}

.footer-pages a::after {
  content: " (" attr(href) ")";
  font-size: 9pt;
  color: #666;
}

/* Hide   fbl link */
.fbl-link,
.footer-pages a[href*="pi"],
a[href*="pi"] {
  display: none !important;
  visibility: hidden !important;
}

/* ---------- CONTENT COLOR ---------- */
.contentboxes:not(h3) {
  color: #444 !important;
}
}