/* Aufführungsarchiv: lokale variable Schrift, ruhiges Schwarz-Weiss-Raster.
 * Ausschliesslich Archivtitel und Archivinhalt; Navigation, Logo, Fusszeile
 * und unbekannte historische Tabellen behalten ihre Theme-Regeln.
 */
@font-face {
    font-family: "BAGAT Archive";
    src: url("fonts/InterVariable.woff2") format("woff2");
    font-style: normal;
    font-weight: 100 900;
    font-display: swap;
}

@font-face {
    font-family: "BAGAT Archive";
    src: url("fonts/InterVariable-Italic.woff2") format("woff2");
    font-style: italic;
    font-weight: 100 900;
    font-display: swap;
}

.bagat-performance-archive .main > h1,
.bagat-performance-archive .main .entry-content {
    font-family: "BAGAT Archive", "Helvetica Neue", Helvetica, Arial, sans-serif;
    font-weight: 300;
    font-synthesis: none;
    color: #000;
}

/* Titelgroesse, Abstand und mobile Sichtbarkeit bleiben beim Theme. */
.bagat-performance-archive .main > h1 {
    font-style: normal;
    letter-spacing: -0.035em;
}

.bagat-performance-archive .main .entry-content {
    width: 100%;
    max-width: none;
    min-width: 0;
    font-size: 15px;
    line-height: 1.65;
    letter-spacing: 0;
}

.bagat-performance-archive .main .entry-content :is(strong, b) {
    font-weight: 500;
    font-synthesis: none;
    color: inherit;
}

.bagat-performance-archive .main .entry-content :is(em, i) {
    font-style: italic;
}

.bagat-performance-archive .main .entry-content .bagat-archive-years {
    display: block;
    width: 100%;
    max-width: none;
    min-width: 0;
    margin: 0;
    padding: 0;
}

.bagat-performance-archive .main .entry-content .bagat-archive-year {
    display: block;
    min-width: 0;
    margin: 0;
    padding: 0;
    border: 0;
    --bagat-archive-date-column: 64px;
    background: transparent;
}

.bagat-performance-archive .main .entry-content .bagat-archive-year + .bagat-archive-year {
    margin-top: 30px;
    padding-top: 25px;
    border-top: 1px solid #dcdcdc;
}

/* Mehr Spezifität als .prose h2, auch bei später geladenem Theme-CSS. */
.bagat-performance-archive .main .entry-content h2.bagat-archive-year-title {
    margin: 0 0 5px;
    padding: 0;
    width: var(--bagat-archive-date-column);
    text-align: right;
    color: inherit;
    font-family: inherit;
    font-size: 27px;
    font-weight: 280;
    font-style: normal;
    line-height: 1.25;
    letter-spacing: -0.025em;
    text-transform: none;
}

.bagat-performance-archive .main .entry-content .bagat-archive-items {
    display: block;
    min-width: 0;
    margin: 0;
    padding: 0;
}

/* Auch zusammenfassende Einträge verwenden exakt dasselbe Listenraster. */
.bagat-performance-archive .main .entry-content .bagat-archive-entry {
    display: grid;
    grid-template-columns: var(--bagat-archive-date-column) minmax(0, 1.05fr) minmax(0, 1fr);
    column-gap: 20px;
    row-gap: 0;
    align-items: start;
    width: 100%;
    min-width: 0;
    margin: 0;
    padding: 19px 0;
    border: 0;
    border-radius: 0;
    background: transparent;
    box-shadow: none;
    font: inherit;
}

.bagat-performance-archive .main .entry-content .bagat-archive-entry + .bagat-archive-entry {
    border-top: 1px solid #ededed;
}

.bagat-performance-archive .main .entry-content :is(
    .bagat-archive-date,
    .bagat-archive-production,
    .bagat-archive-context,
    .bagat-archive-place,
    .bagat-archive-note
) {
    display: block;
    min-width: 0;
    max-width: 100%;
    margin: 0;
    padding: 0;
    color: inherit;
    font: inherit;
    letter-spacing: inherit;
    text-transform: none;
    white-space: normal;
    overflow-wrap: anywhere;
}

.bagat-performance-archive .main .entry-content .bagat-archive-date {
    grid-column: 1;
    text-align: right;
    font-size: 12px;
    line-height: 1.9;
    padding-top: 2px;
    font-variant-numeric: tabular-nums;
}

.bagat-performance-archive .main .entry-content .bagat-archive-production {
    grid-column: 2;
}

.bagat-performance-archive .main .entry-content .bagat-archive-context {
    grid-column: 3;
}

.bagat-performance-archive .main .entry-content .bagat-archive-place + .bagat-archive-note:not(:empty) {
    margin-top: 4px;
}

/* Historische Absätze behalten ihren Text und ihre Auszeichnungen,
 * ohne die grossen Absatzabstände der allgemeinen .prose-Regeln.
 */
.bagat-performance-archive .main .entry-content .bagat-archive-entry p {
    margin: 0;
    padding: 0;
    color: inherit;
    font: inherit;
}

.bagat-performance-archive .main .entry-content .bagat-archive-entry p + p {
    margin-top: 4px;
}

.bagat-performance-archive .main .entry-content .bagat-archive-entry a {
    color: inherit;
    font-size: inherit;
    text-decoration-thickness: 1px;
    text-underline-offset: 3px;
}

@media (max-width: 720px) {
    .bagat-performance-archive .main .entry-content {
        font-size: 15px;
        line-height: 1.65;
    }

    .bagat-performance-archive .main .entry-content .bagat-archive-year + .bagat-archive-year {
        margin-top: 25px;
        padding-top: 22px;
    }

    .bagat-performance-archive .main .entry-content h2.bagat-archive-year-title {
        font-size: 26px;
    }

    .bagat-performance-archive .main .entry-content .bagat-archive-entry {
        grid-template-columns: var(--bagat-archive-date-column) minmax(0, 1fr);
        column-gap: 14px;
        row-gap: 5px;
        padding: 18px 0;
    }

    .bagat-performance-archive .main .entry-content .bagat-archive-date {
        grid-column: 1;
        grid-row: 1 / 3;
    }

    .bagat-performance-archive .main .entry-content .bagat-archive-production {
        grid-column: 2;
        grid-row: 1;
    }

    .bagat-performance-archive .main .entry-content .bagat-archive-context {
        grid-column: 2;
        grid-row: 2;
    }
}
