.print-artikel {margin-bottom:25px;}
/* PRINT CSS */
@media print {
  body {
        width: 21cm;
        height: 29.7cm;
        margin: 1cm;
        font-family: Arial, sans-serif;
        font-size: 12pt;
        line-height: 1.4;
    }

    /* Alle Bilder ausblenden */
    img:not(.et_pb_image_0_tb_header img) {
        display: none;
    }
    .wp-block-gallery.has-nested-images figure.wp-block-image img {
      display: none;
    }

    /* Bildergalerie am Ende der Seite */
    .print-gallery {
        page-break-before: always; /* Startet eine neue Seite für die Galerie */
    }

    /* Container für die Galerie am Ende der Seite */
    .print-gallery img, .wp-block-gallery.has-nested-images figure.wp-block-image .print-gallery img {
        display: inline-block !important;
        width: 100px; /* Miniaturansichten */
        height: auto;
        margin: 5px;
    }
    .leaflet-container {
        display: none; /* Karte während des Druckens ausblenden */
    }

    .print-map {
        page-break-before: always; /* Startet die Karte auf einer neuen Seite */
    }
.imageheader {display:none !important;}

.single-post {width: 100%; margin: 0; float: none !important;}
#content {width: 100%; margin: 0; float: none !important;}
@page { margin: 1cm }
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 {font-size: 14pt; margin-top: 25px;}

.header-wrap {margin-top: 0cm;}
/* Hiding unnecessary elements for the print */
.et_pb_row.et_pb_row_0_tb_body.et_pb_gutters1 {padding: 0;}

.header-wrap2, .topbar-content, .autor-box, .entry-footer, .related-posts, .post-navigation, #comments, #footer, .entry-meta, .podcast, .wp-block-embed, .print-artikel, .ausstattung-col, .kontaktbox, #mega-menu-wrap-primary-menu, .et_pb_module.et_pb_code.et_pb_code_0_tb_body, .et_pb_module.et_pb_db_php_code.et_pb_db_php_code_0_tb_body, #rank-math-toc, .empfehlungen, footer {display: none !important;}

/* Alle Seitenumbrueche definieren */
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;}
table, pre {page-break-inside:avoid}
ul, ol, dl  {page-break-before:avoid}

/* Linkfarbe und Linkverhalten darstellen */
a:link, a:visited, a {
background: transparent;
color: #520;
font-weight: bold;
text-decoration: underline;
text-align: left;
}

/* Adding custom messages before and after the content */
.single-post:after {
content: "\ Viel Spass mit unserem Artikel, Ihre Anja Fischer ";
color: #999 !important;
font-size: 1em;
padding-top: 30px;
}

}
