/* Spaltenansicht: übernimmt Schrift, Schriftgröße und Farbe vom Elementor-Texteditor. */
.triozean-liste {
    width: 100%;
    container-type: inline-size;
}

.triozean-liste__header,
.triozean-termin {
    display: grid;
    grid-template-columns: minmax(105px, 1fr) minmax(90px, .75fr) minmax(0, 2.5fr) minmax(0, 1.8fr);
    column-gap: 1.2em;
    align-items: start;
}

.triozean-liste__header {
    font-weight: 700;
    padding-bottom: .5em;
}

.triozean-termin {
    margin: 0;
    padding: .4em 0;
    transition: background-color .18s ease;
    border-bottom: 1px solid color-mix(in srgb, currentColor 18%, transparent);
}

.triozean-termin > span {
    min-width: 0;
    overflow-wrap: anywhere;
}

.triozean-termin__datum,
.triozean-termin__zeit {
    white-space: nowrap;
}

@container (max-width: 650px) {
    .triozean-liste__header {
        display: none;
    }

    .triozean-termin {
        grid-template-columns: max-content minmax(0, 1fr);
        gap: .2em .8em;
    }

    .triozean-termin__titel,
    .triozean-termin__ort {
        grid-column: 1 / -1;
    }

    .triozean-termin__ort::before {
        content: "Ort: ";
        font-weight: 700;
    }
}

/* Dezente Hervorhebung ohne Änderung der Theme-Typografie. */
@media (hover: hover) and (pointer: fine) {
    .triozean-liste .triozean-termin:hover {
        background-color: rgba(255, 255, 255, .13);
    }
}

.triozean-liste .triozean-termin:focus-within {
    background-color: rgba(255, 255, 255, .13);
}

.triozean-keine-termine {
    margin: 0;
}
