.jobs-listing {
    background-color: #ebebeb;
    padding: 50px;
}
.jobs-listing h2 {
    font-weight: var(--font-weight-bold);
    margin-bottom: 20px;
}
.jobs-listing__filters {
    margin-bottom: 20px;
    position: relative;
}
.jobs-listing__filter-row {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    align-items: center;
    justify-content: space-between;
}
.jobs-listing__filter-buttons {
    display: flex;
    gap: 30px;
}
.jobs-listing__filter-toggle {
    display: flex;
    align-items: center;
    gap: 5px;
    padding: 8px 12px 8px 22px;
    background: var(--color-text-light);
    border: none;
    border-radius: 10px;
    cursor: pointer;
    width: 200px;
    font-size: 1.45rem;
    font-weight: var(--font-weight-bold);
    color: #000000;
}
.jobs-listing__filter-toggle::after {
    content: '';
    flex-shrink: 0;
    margin-left: auto;
    width: 20px;
    height: 20px;
    background-image: url("data:image/svg+xml,%3Csvg width='20' height='20' viewBox='0 0 20 20' fill='none' xmlns='http://www.w3.org/2000/svg'%3E%3Cline x1='2' y1='4' x2='18' y2='4' stroke='%23000' stroke-width='1'/%3E%3Ccircle cx='6' cy='4' r='2' fill='%23fff' stroke='%23000' stroke-width='1'/%3E%3Cline x1='2' y1='10' x2='18' y2='10' stroke='%23000' stroke-width='1'/%3E%3Ccircle cx='14' cy='10' r='2' fill='%23fff' stroke='%23000' stroke-width='1'/%3E%3Cline x1='2' y1='16' x2='18' y2='16' stroke='%23000' stroke-width='1'/%3E%3Ccircle cx='9' cy='16' r='2' fill='%23fff' stroke='%23000' stroke-width='1'/%3E%3C/svg%3E");
    background-repeat: no-repeat;
    background-position: center;
    background-size: contain;
}
.jobs-listing__badge {
    background: var(--color-text-primary);
    color: var(--color-text-light);
    border-radius: 50%;
    min-width: 18px;
    height: 18px;
    padding: 0 4px;
    font-size: 11px;
    display: none;
    align-items: center;
    justify-content: center;
}
.jobs-listing__search input {
    padding: 8px 36px 8px 12px;
    background: var(--color-text-light);
    border: none;
    border-radius: 10px;
    font-size: 1.45rem;
}
.jobs-listing__search {
    position: relative;
    display: inline-block;
}
.jobs-listing__search::after {
    content: '';
    position: absolute;
    right: 12px;
    top: 50%;
    transform: translateY(-50%);
    width: 20px;
    height: 20px;
    pointer-events: none;
    background-image: url("data:image/svg+xml,%3Csvg width='20' height='20' viewBox='0 0 20 20' fill='none' xmlns='http://www.w3.org/2000/svg'%3E%3Ccircle cx='8' cy='8' r='6' stroke='%23000' stroke-width='1' fill='none'/%3E%3Cline x1='12.5' y1='12.5' x2='18' y2='18' stroke='%23000' stroke-width='1' stroke-linecap='round'/%3E%3C/svg%3E");
    background-repeat: no-repeat;
    background-position: center;
    background-size: contain;
}
.jobs-listing__panel {
    display: none;
    position: absolute;
    background: #d5dde0;
    border-radius: 10px;
    padding: 20px;
    margin-top: 10px;
    z-index: 1;
}
.jobs-listing__panel.is-open {
    display: block;
}
.jobs-listing__panel-columns {
    display: flex;
    gap: 30px;
}
.jobs-listing__filter-column {
    flex: 1;
    min-width: 0;
    width: 200px;
}
.jobs-listing__switch {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 2px 0;
    cursor: pointer;
}
.jobs-listing__switch input {
    position: absolute;
    opacity: 0;
    width: 0;
    height: 0;
}
.jobs-listing__switch-slider {
    position: relative;
    width: 36px;
    height: 20px;
    background-color: #abb2b6;
    border-radius: 20px;
    flex-shrink: 0;
    transition: background-color var(--transition-fast);
}
.jobs-listing__switch-slider::before {
    content: '';
    position: absolute;
    top: 2px;
    left: 2px;
    width: 16px;
    height: 16px;
    background-color: var(--color-text-light);
    border-radius: 50%;
    transition: transform var(--transition-fast);
}
.jobs-listing__switch input:checked + .jobs-listing__switch-slider {
    background-color: var(--color-text-primary);
}
.jobs-listing__switch input:checked + .jobs-listing__switch-slider::before {
    transform: translateX(16px);
}
.jobs-listing__switch input:focus + .jobs-listing__switch-slider {
    box-shadow: 0 0 0 2px rgba(0, 0, 0, 0.1);
}
.jobs-listing__panel-footer {
    display: block;
    text-align: right;
    padding-right: 40px;
    gap: 10px;
    padding-top: 20px;
    margin-top: 20px;
    border-top: 1px solid #abb2b6;
}
.jobs-listing__reset-btn,
.jobs-listing__apply-btn {
    padding: 10px 20px;
    border: none;
    border-radius: 10px;
    cursor: pointer;
}
.jobs-listing__reset-btn {
    background: transparent;
    text-decoration: underline;
}
.jobs-listing__apply-btn {
    display: none;
    background: var(--color-text-primary);
    color: var(--color-text-light);
}
.jobs-listing__panel-close {
    position: absolute;
    bottom: 20px;
    right: 20px;
    background: none;
    border: none;
    cursor: pointer;
    padding: 5px;
}
.jobs-listing__panel-close img {
    width: 20px;
    height: 20px;
}
.jobs-listing__grid {
    display: flex;
    flex-wrap: wrap;
    column-gap: 30px;
    row-gap: 20px;
}
.jobs-listing__tile {
    width: 100%;
    padding: 15px;
    display: flex;
    flex-direction: column;
    background-color: var(--color-text-light);
    border-radius: 10px;
    text-decoration: none;
    color: inherit;
}
.jobs-listing__title {
    margin: 0 0 10px 0;
}
.jobs-listing__text {
    margin: 0 0 15px 0;
    flex-grow: 1;
}
.jobs-listing__footer {
    display: flex;
    justify-content: space-between;
    align-items: center;
}
.jobs-listing__locations i {
    margin-right: 5px;
}
.jobs-listing__arrow img {
    width: 20px;
    height: 20px;
}
.jobs-listing__tile--initiativ,
.jobs-listing__tile--initiativ:hover {
    background-color: #abb2b6;
    color: var(--color-text-light);
}
.jobs-listing__tile--initiativ .jobs-listing__title {
    color: var(--color-text-light);
}
.jobs-listing__no-results {
    padding: 40px;
    text-align: center;
    background: var(--color-text-light);
    border-radius: 10px;
    margin-top: 50px;
    display: none;
}

@media (max-width: 768px) {
    .jobs-listing__filter-row {
        flex-direction: column;
        align-items: stretch;
    }
    .jobs-listing__filter-buttons {
        flex-wrap: wrap;
    }
    .jobs-listing__filter-toggle {
        flex: 1;
        min-width: calc(50% - 5px);
        justify-content: center;
    }
    .jobs-listing__search {
        width: 100%;
    }
    .jobs-listing__search input {
        width: 100%;
        box-sizing: border-box;
    }
    .jobs-listing__panel {
        width: 100%;
        position: fixed;
        top: -10px;
        left: 0;
        z-index: 11;
        max-height: 100vh;
        overflow: auto;
    }
    .jobs-listing__panel-columns {
        flex-direction: column;
        gap: 20px;
    }
    .jobs-listing__filter-column {
        padding-bottom: 15px;
        border-bottom: 1px solid #abb2b6;
        width: 100%;
    }
    .jobs-listing__filter-column:last-child {
        border-bottom: none;
        padding-bottom: 0;
    }
    .jobs-listing__panel-footer {
        display: flex;
        justify-content: space-between;
    }
    .jobs-listing__apply-btn {
        display: inline-block;
    }
    .jobs-listing__tile {
        width: 100%;
    }
    .jobs-listing__panel-close {
        display: none;
    }
}