.jobs-landing {
    max-width: 75rem;
    margin-inline: auto;
    color: #354252;
}

.city-header {
    margin-bottom: 2rem;
}

.jobs-landing h1 {
    font-size: clamp(1.75rem, 3vw, 2.375rem);
    margin-bottom: 1rem;
    color: #172c3c;
}

.city-header p {
    max-width: 65rem;
    line-height: 1.6;
    margin: 0;
}

.city-results-layout {
    display: grid;
    grid-template-columns: minmax(0, 1fr) 20rem;
    gap: 2rem;
    align-items: start;
}

.city-results-toolbar {
    display: flex;
    flex-wrap: wrap;
    justify-content: space-between;
    align-items: baseline;
    gap: 0.5rem 1rem;
    margin-bottom: 1rem;
}

.city-results-toolbar h2 {
    font-size: 1.125rem;
    font-weight: 600;
    margin: 0;
}

.city-results-toolbar a,
.city-map-panel > a {
    font-size: 0.875rem;
    text-decoration: underline;
    text-underline-offset: 0.15em;
}

.jobs-landing .jobboerse__job-wrapper,
.city-map-panel,
.city-empty {
    background: #fff;
    border: 1px solid #dfe5e9;
    border-radius: 0.5rem;
    padding: 1.25rem;
    box-shadow: 0 3px 12px rgb(7 36 86 / 6%);
}

.jobs-landing .jobboerse__job-wrapper {
    margin-bottom: 1rem;
}

.jobs-landing .jobboerse__job-logo {
    display: flex;
    width: 80px;
    min-width: 80px;
    max-width: 80px;
    height: 80px;
    min-height: 80px;
    max-height: 80px;
    margin: 0 1rem 0 0;
    padding: 0.375rem;
    border: 1px solid #edf0f2;
    border-radius: 0.35rem;
    box-shadow: none;
}

.jobs-landing .jobboerse__job-logo--mobile {
    display: none;
}

.jobs-landing .jobboerse__job-logo a {
    display: flex;
    align-items: center;
    width: 100%;
    height: 100%;
}

.jobs-landing .jobboerse__job-img {
    height: 100%;
    object-fit: contain;
}

.jobs-landing .jobboerse__job-content {
    min-width: 0;
    font-size: 0.9375rem;
}

.jobs-landing .jobboerse__job-title-section {
    display: flex;
    flex-direction: row-reverse;
    align-items: flex-start;
    justify-content: space-between;
    gap: 0.5rem 1rem;
}

.jobs-landing .jobboerse__job-heading {
    flex: 1;
    font-size: 1.125rem;
    line-height: 1.4;
}

.jobs-landing .jobboerse__job-title {
    font-size: inherit;
    color: #286c7b !important;
}

.jobs-landing .jobboerse__job-aside {
    float: none;
    margin: 0;
    padding: 0.25rem 0.5rem;
    border-radius: 0.25rem;
    background: #edf5f6;
    color: #286c7b;
    font-size: 0.8125rem;
    font-weight: 600;
}

.jobs-landing .jobboerse__job-details {
    color: #596776;
    line-height: 1.6;
}

.city-map-panel {
    position: sticky;
    top: 1rem;
}

.city-map-panel summary {
    font-size: 1rem;
    font-weight: 600;
    cursor: pointer;
}

.city-map-panel[open] summary {
    margin-bottom: 0.375rem;
}

.city-map-panel p {
    font-size: 0.875rem;
    color: #596776;
    margin-bottom: 0.75rem;
}

.city-map {
    height: 280px;
    border-radius: 0.35rem;
    background: #edf1f3;
    margin-bottom: 0.75rem;
}

.city-more-results {
    text-align: center;
    padding: 1rem 0;
}

.city-more-results p {
    color: #596776;
    font-size: 0.875rem;
}

.jobs-landing a.btn-primary {
    color: #fff;
    background-color: #286c7b;
    border-color: #286c7b;
}

.jobs-landing a.btn-primary:hover {
    background-color: #194b57;
    border-color: #194b57;
}

@media (max-width: 991px) {
    .city-results-layout {
        grid-template-columns: minmax(0, 1fr);
        gap: 1.5rem;
    }

    .city-map-panel {
        grid-row: 1;
        position: static;
    }

    .city-map {
        height: 200px;
    }
}

@media (max-width: 575px) {
    .city-header {
        margin-bottom: 1.5rem;
    }

    .jobs-landing .jobboerse__job-wrapper {
        padding: 1rem;
    }

    .jobs-landing .jobboerse__job-logo {
        width: 52px;
        min-width: 52px;
        max-width: 52px;
        height: 52px;
        min-height: 52px;
        max-height: 52px;
        margin-right: 0.75rem;
    }

    .jobs-landing .jobboerse__job-title-section {
        flex-direction: column-reverse;
        margin-bottom: 0.5rem;
    }

    .jobs-landing .jobboerse__job-salary {
        text-align: left;
    }
}
