/* Matches cv_news filter and row styling without a dependency on that extension. */
.cv-stellen [hidden] { display: none !important; }
.cv-stellen .cv-stellen-categories {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    grid-auto-rows: 1fr;
    gap: .5rem;
    margin-bottom: 2rem;
}
.cv-stellen .cv-stellen-filter-button {
    margin: 0;
    box-sizing: border-box;
    background-color: transparent;
    color: #000;
    border: 1px solid #e5e5e5;
    display: flex;
    width: 100%;
    min-width: 0;
    min-height: 2.75rem;
    align-items: center;
    justify-content: space-between;
    gap: .5rem;
    white-space: normal;
    text-align: left;
    padding: .625rem;
    font-family: inherit;
    font-size: 1rem;
    line-height: 1.25;
    border-radius: .25rem;
    cursor: pointer;
    transition: color .15s ease-in-out, background-color .15s ease-in-out, border-color .15s ease-in-out;
}
.cv-stellen .cv-stellen-filter-title {
    display: flex;
    align-items: center;
    gap: .5rem;
    min-width: 0;
}
.cv-stellen .cv-stellen-filter-icon {
    display: block;
    flex: 0 0 1rem;
    width: 1rem;
    height: 1rem;
}
.cv-stellen .cv-stellen-department-icon {
    display: block;
    flex: 0 0 auto;
    width: 1.25rem;
    height: 1.25rem;
    object-fit: contain;
}
.cv-stellen .cv-stellen-filter-title .cv-stellen-department-icon {
    /* Preserve white details while turning the red artwork black. */
    filter: grayscale(1) contrast(100);
}
/* Optical alignment for the website's font. */
.cv-stellen .cv-stellen-filter-label {
    display: block;
    min-width: 0;
    overflow-wrap: anywhere;
    margin: 0;
    padding: 0;
    transform: translateY(.1em);
}
.cv-stellen .cv-stellen-filter-button-active { background-color: #f5f5f5; border-color: #e3222b; }
.cv-stellen .cv-stellen-filter-button:hover:not(.cv-stellen-filter-button-active) { background-color: #f5f5f5; border-color: transparent; }
.cv-stellen .cv-stellen-filter-button:active { background-color: #f5f5f5; }
.cv-stellen .cv-stellen-filter-button-badge {
    display: inline-flex;
    flex-shrink: 0;
    align-items: center;
    justify-content: center;
    box-sizing: border-box;
    min-width: 1rem;
    height: 1rem;
    font-size: .7rem;
    line-height: 1;
    font-weight: normal;
    background-color: #000;
    color: #fff;
    border-radius: 3px;
    padding: 0 3px;
}
.cv-stellen .cv-stellen-filter-button-badge > span {
    display: block;
    font-size: inherit;
    line-height: 1;
    margin: 0;
    padding: 0;
    transform: translateY(.1em);
}
.cv-stellen .cv-stellen-item {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 1rem;
    margin-bottom: 1rem;
    padding: 1rem;
    background-color: #f5f5f5;
}
.cv-stellen .cv-stellen-job-heading {
    display: flex;
    flex: 1;
    min-width: 0;
    align-items: center;
    gap: .625rem;
}
.cv-stellen .cv-stellen-job-icons {
    display: flex;
    flex: 0 0 auto;
    flex-wrap: wrap;
    align-items: center;
    gap: .25rem;
    max-width: 3.25rem;
}
.cv-stellen .cv-stellen-job-icons .cv-stellen-department-icon { width: 1.5rem; height: 1.5rem; }
.cv-stellen .cv-stellen-item h2 { flex: 1; min-width: 0; font-size: 1rem; line-height: 1.4; margin: 0; padding: 0; color: #000; overflow-wrap: anywhere; transform: translateY(.1em); }
.cv-stellen .cv-stellen-item a { color: #000; text-decoration: none; }
.cv-stellen .cv-stellen-item a:hover { text-decoration: underline; }
.cv-stellen .cv-stellen-link { flex-shrink: 0; font-size: 1rem; line-height: 1.4; margin: 0; padding: 0; transform: translateY(.1em); }
.cv-stellen button:focus-visible, .cv-stellen a:focus-visible { outline: 2px solid #e3222b; outline-offset: 3px; }
.cv-stellen .cv-stellen-sr-only { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0, 0, 0, 0); white-space: nowrap; border: 0; }
@media (max-width: 991px) {
    .cv-stellen .cv-stellen-categories { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (max-width: 575px) {
    .cv-stellen .cv-stellen-categories { grid-template-columns: minmax(0, 1fr); }
    .cv-stellen .cv-stellen-item { flex-direction: column; align-items: flex-start; }
    .cv-stellen .cv-stellen-job-heading { width: 100%; }
    .cv-stellen .cv-stellen-filter-button { max-width: 100%; }
}
