/*
 * Non quia difficilia sunt non audemus,
 * sed quia non audemus difficilia sunt.
 *
 * Nicht weil die Dinge schwer sind, wagen wir sie nicht,
 * sondern weil wir sie nicht wagen, sind sie schwer.
 *
 * Seneca, Epistulae morales ad Lucilium 104, 26
 */
p:has(> #jugendliche) {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 0;
    margin-top: 14px;
    margin-bottom: 0;
}
#jugendliche,
#alle {
    display: inline-block;
    min-height: 40px;
    margin-right: 0;
    padding: 10px 14px 8px;
    border-width: 1px;
    border-style: solid;
    border-color: var(--ktw-feldrand);
    line-height: 20px;
    font-size: 15px;
    text-decoration: none;
}
#jugendliche {
    margin-left: 10px;
    border-radius: 8px 0 0 8px;
}
#alle {
    margin-left: -1px;
    border-radius: 0 8px 8px 0;
}
#jugendliche.ktw-filter-an,
#alle.ktw-filter-an {
    position: relative;
    z-index: 1;
}
#jugendliche.ktw-filter-an,
#alle.ktw-filter-an {
    border-color: #17509d;
    background-color: #f3f6fa;
    color: #17509d;
    font-weight: 600;
}
@media (pointer: fine) {
    #jugendliche,
    #alle {
        min-height: 36px;
        padding: 6px 12px;
    }
}
.ktw-sf[data-ktw-profil="ch"] #jugendliche,
.ktw-sf[data-ktw-profil="ch"] #alle {
    border-color: rgba(223, 39, 39, .65);
}
.ktw-sf[data-ktw-profil="ch"] #jugendliche.ktw-filter-an,
.ktw-sf[data-ktw-profil="ch"] #alle.ktw-filter-an {
    border-color: var(--awb-color5);
    color: var(--awb-color5);
}
@supports (color: color-mix(in srgb, red 50%, white)) {
    .ktw-sf[data-ktw-profil="ch"] #jugendliche.ktw-filter-an,
    .ktw-sf[data-ktw-profil="ch"] #alle.ktw-filter-an {
        background-color: color-mix(in srgb, var(--awb-color5) 5%, #ffffff);
    }
}
