/*
 * mod_oeffnungszeiten
 * Farben/Schrift orientieren sich am Leuholz-Template (template.css):
 * Gelb #ffda00, Streifen-Hellgelb #fff8cc, Textfarbe #263238, Schrift Gantari.
 */

.oz-wrap {
    display: grid;
    grid-template-columns: 1fr;
    gap: 2rem;
    font-family: 'Gantari', sans-serif;
    color: #263238;
    font-size: 16px;
    line-height: 145%;
    box-sizing: border-box;
}

.oz-wrap * {
    box-sizing: border-box;
}

@media (min-width: 768px) {
    .oz-wrap.oz-cols-2 {
        grid-template-columns: 1fr 1fr;
    }
}

.oz-box {
    width: 100%;
    min-width: 0;
}

.oz-table {
    width: 100%;
    border-collapse: collapse;
    text-align: left;
}

.oz-table thead th {
    background: #ffda00;
    font-weight: 400;
    padding: 20px;
    text-align: left;
}

.oz-title {
    display: block;
    font-size: 1.1em;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.03em;
}

.oz-subtitle {
    display: block;
    font-style: italic;
    font-weight: 300;
    font-size: 0.85em;
    margin-top: 6px;
    text-transform: none;
    letter-spacing: normal;
}

.oz-table tbody tr:nth-of-type(odd) {
    background-color: #ffffff;
}

.oz-table tbody tr:nth-of-type(even) {
    background-color: #fff8cc;
}

.oz-table td {
    padding: 14px 20px;
    vertical-align: top;
    border-bottom: 1px solid rgba(0, 0, 0, 0.15);
}

.oz-row:last-child td {
    border-bottom: 0;
}

.oz-label {
    display: block;
    font-weight: 700;
}

.oz-value {
    display: block;
    text-align: left;
    padding-top: 0;
}

.oz-row-hinweis td {
    text-align: left;
}

.oz-row-bold td {
    font-weight: 700;
}

/* Ab Tablet-Breite: Label und Zeit nebeneinander wie eine echte Tabelle */
@media (min-width: 768px) {
    .oz-row .oz-label,
    .oz-row .oz-value {
        display: table-cell;
    }

    .oz-label {
        width: 55%;
        border-right: 1px solid rgba(0, 0, 0, 0.15);
    }

    .oz-value {
        text-align: right;
    }
}
