/* Grundlegende Typografie und Layout */
body {
    font-family: Arial, sans-serif;
    margin: 20px;
    color: #333;
}
.container.print-container {
    width: 800px;
    margin: 0 auto;
    padding: 20px;
    border: 1px solid #ccc;
    box-shadow: 0 0 10px rgba(0,0,0,0.1);
}

/* Stil für einzelne Events */
.event-print-mode {
    margin-bottom: 40px;
    padding-bottom: 20px;
    border-bottom: 1px dashed #eee;
    page-break-inside: avoid;
}
.event-print-mode:last-child {
    border-bottom: none;
}

/* Header-Bereich mit Logo und Titel */
.event-header-print {
    display: flex;
    justify-content: flex-start;
    align-items: center;
    margin-bottom: 20px;
    gap: 15px;
}
.event-header-print h2 {
    font-size: 14pt;
    color: #003366;
    margin-top: 0;
    margin-bottom: 0;
    flex-grow: 1;
    word-break: break-word;
}
.event-header-print .mpz-small-logo {
    max-height: 35px;
    margin-left: -14px;
    width: auto;
    flex-shrink: 0;
}
.event-logo-print {
    max-width: 150px;
    height: auto;
    margin-left: 20px;
    flex-shrink: 0;
}

/* Metadaten-Bereich (Datum, Uhrzeit, etc.) */
.event-meta-print {
    display: flex;
    flex-direction: column;
    gap: 5px;
}
.event-meta-print span {
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 1.1em;
}
.event-meta-print strong {
    color: #555;
}

/* Inhaltsbereich */
.event-content-print p,
.event-content-print li {
    line-height: 1.6;
    margin-bottom: 10px;
}
.event-content-print ul.liste {
    list-style-type: disc;
    margin-left: 25px;
}
.event-footer-print {
    margin-top: 30px;
    padding-top: 20px;
    border-top: 1px dashed #ccc;
}

/* QR-Code und Link-Styles */
.link-item {
    display: flex;
    gap: 15px;
    margin-bottom: 15px;
}
.event-content-print .link-item img {
    border: 1px solid #eee;
    width: 50px;
    height: 50px;
    flex-shrink: 0;
}
.link-item .qr-code-wrapper {
    flex-shrink: 0;
}
.link-item .text-content {
    display: flex;
    flex-direction: column;
    justify-content: center;
}
.link-item .text-content h3 {
    margin: 0;
    font-size: 1.1em;
    color: #333;
}
.link-item .text-content a {
    font-size: 1.1em;
    text-decoration: underline;
    color: #0066cc;
    word-break: break-all;
}
.event-footer-print .qr-code-wrapper img {
    width: 150px;
    height: 150px;
    border: 1px solid #eee;
}

/* Print-spezifische Regeln */
@media print {
    body {
        margin: 0;
        padding-top: 0;
    }
    .container.print-container {
        box-shadow: none;
        border: none;
        width: auto;
        padding: 0;
    }
    .event-article-wrapper {
        break-before: auto;
        page-break-inside: avoid;
    }
    .event-print-mode {
        page-break-inside: avoid;
    }
    .no-print {
        display: none;
    }
}