@page {
    size: A4 portrait;
    margin: 1.5cm;
}


* {
    box-sizing: border-box;
}

html,
body {
    margin: 0;
    padding: 0;
    background: #fff;
}

body {
    color: #333;
    font-family: Arial, Helvetica, sans-serif;
    font-size: 11pt;
    line-height: 1.25;
}
.print-page-spacer--top {
}

.print-page-spacer--bottom {
}

.print-page {
    width: 100%;
}

.print-letterhead {
    display: grid;
    grid-template-columns: 200px 1fr 150px;
    align-items: center;
    gap: 1rem;

    margin-bottom: 0.9cm;
    padding-bottom: 0.45cm;

    border-bottom: 1.5px solid #c50000;
}

.print-letterhead__left,
.print-letterhead__right {
    display: flex;
    align-items: center;
}

.print-letterhead__right {
    justify-content: flex-end;
}

.print-letterhead__logo {
    display: block;
    max-width: 200px;
    max-height: 70px;
    width: auto;
    height: auto;
}

.print-letterhead__hirschstange {
    display: block;
    max-width: 100px;
    max-height: 40px;
    width: auto;
    height: auto;
}

.print-letterhead__center {
    text-align: center;
    color: rgba(0, 0, 0, 0.8);
    font-size: 13pt;
    font-weight: 600;
    line-height: 1.2;
}

.print-title {
    margin: 0 0 1cm;
    color: #777;
    font-size: 22pt;
    font-weight: 400;
}

.print-month {
    margin-bottom: 0.5cm;
    break-inside: auto;
    page-break-inside: auto;
}

.print-month__title {
    margin: 0 0 0.3cm;
    padding-bottom: 0.16cm;
    border-bottom: 1.5px solid #000;
    color: #444;
    font-size: 16pt;
    font-weight: 400;

    break-after: avoid;
    page-break-after: avoid;
}

.print-events-table {
    width: 100%;
    table-layout: fixed;
    border-collapse: separate;
    border-spacing: 0;
    border-top: 1px solid #d8d8d8;
    border-left: 1px solid #e0e0e0;
    font-size: 10pt;
}

.print-events-table tr {
    break-inside: avoid;
    page-break-inside: avoid;
}

.print-events-table td {
    padding: 0.16cm 0.18cm;
    border-right: 1px solid #e0e0e0;
    border-bottom: 1px solid #d8d8d8;
    vertical-align: top;
    overflow-wrap: anywhere;
    word-break: normal;
}

.print-events-table__date {
    width: 18%;
    white-space: normal;
}

.print-events-table__title {
    width: 28%;
    font-weight: 400;
}

.print-events-table__location {
    width: 25%;
}

.print-events-table__speakers {
    width: 29%;
}

.print-footer {
    display: flex;
    justify-content: space-between;
    align-items: flex-end;
    gap: .5cm;

    margin-top: .5cm;
    padding-top: 0.4cm;

    border-top: 1px solid #999;

    break-inside: avoid;
    page-break-inside: avoid;
}

.print-footer__text {
    font-size: 10pt;
    line-height: 1.35;
    color: #444;
}

.print-footer__text strong {
    color: #000;
    font-weight: 700;
}

.print-footer__date {
    margin-bottom: 0.25cm;
    color: #666;
    font-size: 9.5pt;
}

.print-footer__qr img {
    display: block;
    width: 2cm;
    height: auto;
}

@media print {
    .print-month__title {
        break-after: avoid;
        page-break-after: avoid;
    }

    .print-events-table tr {
        break-inside: avoid;
        page-break-inside: avoid;
    }

    .print-month {
        orphans: 3;
        widows: 3;
    }
}