/*
 * MNC Jobs: the career page (overview, the pane of a job, the page of a job, the page layout).
 *
 * Redesigned on 26.11.2026 in the manner of a job portal: a search bar, filters that apply at
 * once, a compact list, and on a wide screen the chosen job next to the list.
 *
 * Colours come from the text colour of the theme (currentColor), so the same rules work on a
 * dark and on a light theme. The red is MultiNet's: #ED1C24 for lines and marks (3:1 against
 * black and white), #DA3832 behind white text (4.6:1). Text is never red.
 */

.mnc-jobs,
.mnc-job,
.mnc-careers {
    --mnc-accent: #ed1c24;
    --mnc-accent-fill: #da3832;
    --mnc-accent-fill-hover: #b82d28;
    --mnc-line: color-mix(in srgb, currentColor 18%, transparent);
    /* The edge of a field: 3:1 against the page, on black and on white. */
    --mnc-edge: color-mix(in srgb, currentColor 48%, transparent);
    --mnc-quiet: color-mix(in srgb, currentColor 74%, transparent);
    --mnc-surface: color-mix(in srgb, currentColor 4%, transparent);
    --mnc-surface-strong: color-mix(in srgb, currentColor 8%, transparent);
    --mnc-radius: 6px;
    --mnc-gap: 1rem;
    /* Room for a fixed header of the theme when something sticks or is scrolled to. */
    --mnc-top: 1.5rem;
}

/* For screen readers only (themes usually bring this class; this is the fallback). */
:where(.mnc-jobs, .mnc-job, .mnc-careers) .screen-reader-text {
    position: absolute;
    width: 1px;
    height: 1px;
    margin: -1px;
    padding: 0;
    overflow: hidden;
    clip-path: inset(50%);
    white-space: nowrap;
    border: 0;
}

/* Icons take the colour of the text next to them, a little quieter. */
.mnc-icon {
    flex: none;
    width: 1.125em;
    height: 1.125em;
    color: var(--mnc-quiet);
    vertical-align: -0.2em;
}

/*
 * Some themes hide every picture until their own script shows it, and fade every paragraph
 * (the MultiNet theme does both: «Jetzt bewerben» in a faded paragraph would fall below
 * 4.5:1). Inside the plugin's elements pictures and text are shown as they are.
 */
.mnc-careers img,
.mnc-job img {
    opacity: 1;
}

.mnc-jobs p,
.mnc-job p,
.mnc-careers p {
    opacity: 1;
}

/*
 * A theme may remove every focus ring, links with !important (MultiNet: `a { outline: none
 * !important }`). A focus that cannot be seen is a defect: here the plugin insists.
 */
.mnc-jobs :is(a, button, input, select):focus-visible,
.mnc-job :is(a, button):focus-visible,
.mnc-careers :is(a, button):focus-visible {
    outline: 2px solid currentColor !important;
    outline-offset: 2px;
}

/* A theme may make every text light (MultiNet: `* { font-weight: normal }`); bold stays bold. */
.mnc-jobs .mnc-jobs__title a,
.mnc-jobs .mnc-jobs__submit-text {
    font-weight: inherit;
}

/* --- Notices ----------------------------------------------------------------------------- */

.mnc-jobs__notice {
    margin: 0 0 var(--mnc-gap);
    padding: 0.875rem 1rem;
    background: var(--mnc-surface);
    border: 1px solid var(--mnc-line);
    border-left: 4px solid var(--mnc-accent);
    border-radius: var(--mnc-radius);
}

/* --- Search bar and filters ------------------------------------------------------------- */

.mnc-jobs__filters {
    display: grid;
    gap: 0.875rem;
    margin: 0 0 2rem;
    padding: clamp(1rem, 2.5vw, 1.5rem);
    background: var(--mnc-surface);
    border: 1px solid var(--mnc-line);
    border-radius: var(--mnc-radius);
}

.mnc-jobs__searchbar {
    display: flex;
    align-items: flex-end;
    gap: 0.5rem;
}

.mnc-jobs__field {
    display: flex;
    flex-direction: column;
    gap: 0.375rem;
    min-width: 0;
}

.mnc-jobs__field--search {
    flex: 1;
}

.mnc-jobs__field label {
    font-size: 0.8125rem;
    font-weight: 700;
    letter-spacing: 0.04em;
    text-transform: uppercase;
    color: var(--mnc-quiet);
}

.mnc-jobs__search-box,
.mnc-jobs__select-box {
    position: relative;
    display: block;
}

.mnc-jobs__search-box > .mnc-icon,
.mnc-jobs__select-box > .mnc-icon {
    position: absolute;
    top: 50%;
    left: 0.875rem;
    transform: translateY(-50%);
    pointer-events: none;
}

.mnc-jobs .mnc-jobs__field :is(input, select) {
    box-sizing: border-box;
    width: 100%;
    min-height: 3rem;
    margin: 0;
    padding: 0.625rem 0.875rem 0.625rem 2.75rem;
    font: inherit;
    /* Never below 16 px: a phone zooms into a field with smaller text. */
    font-size: max(1rem, 16px);
    line-height: 1.3;
    color: inherit;
    background-color: transparent;
    border: 1px solid var(--mnc-edge);
    border-radius: var(--mnc-radius);
    box-shadow: none;
    transition: border-color 0.15s ease, background-color 0.15s ease;
}

.mnc-jobs .mnc-jobs__field :is(input, select):hover {
    border-color: currentColor;
}

.mnc-jobs .mnc-jobs__field :is(input, select):focus-visible {
    border-color: currentColor;
    background-color: var(--mnc-surface-strong);
}

.mnc-jobs .mnc-jobs__field input::-webkit-search-cancel-button {
    filter: grayscale(1);
}

/* A select of its own drawing: the arrow is a border, so it has the colour of the text. */
.mnc-jobs .mnc-jobs__field select {
    padding-right: 2.5rem;
    appearance: none;
    cursor: pointer;
}

.mnc-jobs__select-box::after {
    content: '';
    position: absolute;
    top: 50%;
    right: 1rem;
    width: 0.5rem;
    height: 0.5rem;
    border-right: 2px solid currentColor;
    border-bottom: 2px solid currentColor;
    transform: translateY(-70%) rotate(45deg);
    pointer-events: none;
}

/* The opened list of a select is the browser's; it gets the browser's readable colours. */
.mnc-jobs option {
    color: CanvasText;
    background-color: Canvas;
}

.mnc-jobs__refine {
    display: flex;
    flex-wrap: wrap;
    align-items: flex-end;
    gap: 0.75rem 1rem;
}

.mnc-jobs__refine:empty {
    display: none;
}

.mnc-jobs__field--select {
    flex: 1 1 13rem;
    max-width: 22rem;
}

/* --- Buttons: «Suchen», «Jetzt bewerben» -------------------------------------------------- */

.mnc-jobs .mnc-jobs__submit,
.mnc-job .mnc-job__button {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    box-sizing: border-box;
    min-height: 3rem;
    margin: 0;
    padding: 0.75rem 1.75rem;
    font: inherit;
    font-size: 0.9375rem;
    font-weight: 700;
    line-height: 1.2;
    letter-spacing: 0.05em;
    text-transform: uppercase;
    text-decoration: none;
    color: #fff;
    background-color: var(--mnc-accent-fill);
    border: 0;
    border-radius: var(--mnc-radius);
    cursor: pointer;
    transition: background-color 0.15s ease, transform 0.15s ease;
}

/* The theme may colour every element itself: the text of a filled button stays white. */
.mnc-jobs .mnc-jobs__submit *,
.mnc-job .mnc-job__button * {
    color: #fff;
}

.mnc-jobs .mnc-jobs__submit:hover,
.mnc-job .mnc-job__button:hover {
    background-color: var(--mnc-accent-fill-hover);
}

.mnc-jobs .mnc-jobs__submit:active,
.mnc-job .mnc-job__button:active {
    transform: translateY(1px);
}

.mnc-jobs .mnc-jobs__submit > .mnc-icon {
    display: none;
    color: #fff;
}

/*
 * The ring of a filled button is drawn inside it, on the button's own colour, where white is
 * readable: outside, a white ring would vanish on a white page.
 */
.mnc-jobs .mnc-jobs__submit:focus-visible,
.mnc-job .mnc-job__button:focus-visible {
    outline: 2px solid #fff !important;
    outline-offset: -6px;
}

.mnc-jobs__reset {
    display: inline-flex;
    align-items: center;
    gap: 0.375rem;
    min-height: 3rem;
    font-weight: 700;
    text-decoration: underline;
    text-underline-offset: 0.2em;
}

/* --- Layout: the list, and the chosen job next to it ------------------------------------- */

.mnc-jobs__results {
    /* Paging and searching lead here; room above, also under a fixed header of the theme. */
    scroll-margin-top: 6rem;
    transition: opacity 0.15s ease;
}

.mnc-jobs__results[aria-busy='true'] {
    opacity: 0.5;
}

.mnc-jobs__pane[hidden] {
    display: none;
}

/*
 * A wide screen with a job chosen: the search bar over both columns, the list on the left,
 * the job on the right (set by the script).
 */
@media (min-width: 1100px) {
    .mnc-jobs[data-mnc-split] .mnc-jobs__layout {
        display: grid;
        grid-template-columns: minmax(0, 5fr) minmax(0, 7fr);
        column-gap: 1.5rem;
        align-items: start;
    }

    .mnc-jobs[data-mnc-split] .mnc-jobs__main {
        display: contents;
    }

    .mnc-jobs[data-mnc-split] .mnc-jobs__filters {
        grid-column: 1 / -1;
    }

    .mnc-jobs[data-mnc-split] .mnc-jobs__results {
        grid-column: 1;
    }

    .mnc-jobs[data-mnc-split] .mnc-jobs__pane {
        grid-column: 2;
        grid-row: 2 / span 2;
    }
}

/* --- The list ------------------------------------------------------------------------------ */

.mnc-jobs__count,
.mnc-jobs__empty {
    margin: 0 0 0.75rem;
}

.mnc-jobs__count:focus {
    outline: none;
}

.mnc-jobs__count {
    font-size: 0.8125rem;
    font-weight: 700;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    color: var(--mnc-quiet);
}

.mnc-jobs__empty {
    padding: 2.5rem 1.5rem;
    text-align: center;
    background: var(--mnc-surface);
    border: 1px dashed var(--mnc-edge);
    border-radius: var(--mnc-radius);
}

.mnc-jobs__list {
    margin: 0 0 1.5rem;
    padding: 0;
    list-style: none;
    border: 1px solid var(--mnc-line);
    border-radius: var(--mnc-radius);
    overflow: hidden;
}

.mnc-jobs__card {
    position: relative;
    display: grid;
    grid-template-columns: minmax(0, 1fr) auto;
    align-items: center;
    gap: 0.75rem 1.5rem;
    margin: 0;
    padding: 1.25rem 1.5rem;
    overflow-wrap: anywhere;
    border-bottom: 1px solid var(--mnc-line);
    transition: background-color 0.15s ease, box-shadow 0.15s ease;
}

.mnc-jobs__card:last-child {
    border-bottom: 0;
}

.mnc-jobs__card:hover {
    background-color: var(--mnc-surface);
    box-shadow: inset 3px 0 0 var(--mnc-accent);
}

/* The job shown next to the list (set by the script). */
.mnc-jobs__card[aria-current='true'] {
    background-color: var(--mnc-surface-strong);
    box-shadow: inset 4px 0 0 var(--mnc-accent);
}

.mnc-jobs__card-main {
    min-width: 0;
}

/*
 * The title of a job stands out, and looks the same whatever heading level the page gives it
 * (SP-13, SP-02). Not left to the theme: its heading styles differ from level to level.
 */
.mnc-jobs .mnc-jobs__title {
    margin: 0 0 0.5rem;
    font-size: 1.25rem;
    font-weight: 700;
    line-height: 1.3;
    letter-spacing: 0;
    text-transform: none;
}

.mnc-jobs .mnc-jobs__title a {
    color: inherit;
    text-decoration: none;
}

/* The whole card opens the job; the link of the title covers it. */
.mnc-jobs .mnc-jobs__title a::after {
    content: '';
    position: absolute;
    inset: 0;
}

.mnc-jobs__card:hover .mnc-jobs__title a,
.mnc-jobs .mnc-jobs__title a:focus-visible {
    text-decoration: underline;
    text-decoration-color: var(--mnc-accent);
    text-decoration-thickness: 2px;
    text-underline-offset: 0.2em;
}

/* The ring of the title's link goes round the whole card, which the link covers. */
.mnc-jobs .mnc-jobs__title a:focus-visible {
    outline: none !important;
}

.mnc-jobs__card:has(.mnc-jobs__title a:focus-visible) {
    outline: 2px solid currentColor;
    outline-offset: -4px;
}

.mnc-jobs__facts {
    display: flex;
    flex-wrap: wrap;
    gap: 0.375rem 1.5rem;
    margin: 0 0 0.375rem;
}

.mnc-jobs__fact,
.mnc-jobs__fact dd {
    margin: 0;
}

.mnc-jobs__fact dd {
    display: inline-flex;
    align-items: center;
    gap: 0.4rem;
    font-size: 1rem;
}

.mnc-jobs__unit,
.mnc-jobs__published {
    display: inline-flex;
    align-items: center;
    gap: 0.4rem;
    margin: 0 1.5rem 0 0;
    font-size: 0.875rem;
    color: var(--mnc-quiet);
}

.mnc-jobs__more {
    position: relative;
    z-index: 1;
    margin: 0;
}

/* Large enough for a finger. */
.mnc-jobs__link,
.mnc-jobs__page {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    min-height: 2.75rem;
    font-weight: 700;
    white-space: nowrap;
    text-decoration: none;
}

.mnc-jobs__link .mnc-icon {
    color: var(--mnc-accent);
    transition: transform 0.15s ease;
}

.mnc-jobs__card:hover .mnc-jobs__link .mnc-icon {
    transform: translateX(3px);
}

.mnc-jobs__link:hover,
.mnc-jobs__page:hover {
    text-decoration: underline;
    text-underline-offset: 0.2em;
}

/* In the narrow list next to a job: one column per card. */
@media (min-width: 1100px) {
    .mnc-jobs[data-mnc-split] .mnc-jobs__card {
        grid-template-columns: minmax(0, 1fr);
        padding: 1rem 1.25rem;
    }

    /* «Stelle ansehen» stays on every card (SP-18), smaller, under the facts. */
    .mnc-jobs[data-mnc-split] .mnc-jobs__link {
        min-height: 2.75rem;
        font-size: 0.875rem;
    }

}

.mnc-jobs__group {
    margin: 0 0 2.5rem;
}

.mnc-jobs .mnc-jobs__group-title {
    margin: 0 0 1rem;
    font-size: 1.5rem;
    font-weight: 700;
}

.mnc-jobs__pages {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: center;
    gap: 0.5rem 1.5rem;
    margin: 0 0 1rem;
}

.mnc-jobs__page {
    padding: 0 1rem;
    border: 1px solid var(--mnc-edge);
    border-radius: var(--mnc-radius);
}

.mnc-jobs__page-now {
    color: var(--mnc-quiet);
}

/* --- The pane of a job (wide screens, with the script) ---------------------------------- */

.mnc-jobs__pane {
    /* The whole job, as long as it is; the page scrolls, not the pane (requested on 30.11.2026). */
    align-self: start;
    box-sizing: border-box;
    border: 1px solid var(--mnc-line);
    border-radius: var(--mnc-radius);
    background: var(--mnc-surface);
    animation: mnc-pane-in 0.2s ease-out;
}

@keyframes mnc-pane-in {
    from {
        opacity: 0;
        transform: translateY(6px);
    }
}

.mnc-jobs__pane-bar {
    /* «Auf eigener Seite öffnen» and «schliessen» stay in view while the page scrolls through the job. */
    position: sticky;
    top: var(--mnc-top);
    z-index: 2;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 1rem;
    padding: 0.5rem 0.75rem 0.5rem 1.5rem;
    border-bottom: 1px solid var(--mnc-line);
    /* Over the text that passes under it: the page's own background (read by the script),
       with the pane's tint on it. */
    background: linear-gradient(var(--mnc-surface), var(--mnc-surface)), var(--mnc-page-bg, Canvas);
}

.mnc-jobs__pane-page {
    display: inline-flex;
    align-items: center;
    gap: 0.4rem;
    min-height: 2.75rem;
    font-size: 0.875rem;
    font-weight: 700;
    text-decoration: none;
}

.mnc-jobs__pane-page:hover {
    text-decoration: underline;
}

.mnc-jobs .mnc-jobs__pane-close {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 2.75rem;
    height: 2.75rem;
    margin: 0;
    padding: 0;
    color: inherit;
    background: transparent;
    border: 0;
    border-radius: 50%;
    cursor: pointer;
}

.mnc-jobs .mnc-jobs__pane-close:hover {
    background: var(--mnc-surface-strong);
}

.mnc-jobs__pane-close .mnc-icon {
    width: 1.375rem;
    height: 1.375rem;
    color: inherit;
}

.mnc-jobs__pane-body {
    padding: 1.5rem 1.75rem 2rem;
}

.mnc-jobs .mnc-jobs__pane-title {
    margin: 0 0 1.25rem;
    font-size: 1.75rem;
    font-weight: 700;
    line-height: 1.2;
}

.mnc-jobs__pane-title:focus {
    outline: none;
}

.mnc-jobs__pane-loading,
.mnc-jobs__pane-failed {
    padding: 2rem 1.75rem;
    color: var(--mnc-quiet);
}

/* In the pane the job has no way back and no bar of its own: the list is next to it. */
.mnc-jobs__pane .mnc-job {
    max-width: none;
}

.mnc-jobs__pane .mnc-job__back,
.mnc-jobs__pane .mnc-job__sticky {
    display: none;
}

/* --- The page of a job --------------------------------------------------------------------- */

/* A comfortable line length, unless the theme sets the width of its content itself. */
:where(.mnc-job) {
    max-width: 50rem;
}

/* A long word is broken only when it does not fit on a line of its own. */
.mnc-job {
    overflow-wrap: break-word;
    line-height: 1.6;
}

/* The facts as tiles, two by two: label with its icon, value below (SP-20: «Publiziert am:» …). */
.mnc-job__facts {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 0.75rem;
    margin: 0 0 1.5rem;
}

.mnc-job__fact {
    display: flex;
    flex-direction: column;
    gap: 0.25rem;
    min-width: 0;
    padding: 0.875rem 1rem;
    background: var(--mnc-surface);
    border: 1px solid var(--mnc-line);
    border-radius: var(--mnc-radius);
}

.mnc-job__fact dt {
    display: flex;
    align-items: center;
    gap: 0.4rem;
    font-size: 0.8125rem;
    font-weight: 400;
    color: var(--mnc-quiet);
}

.mnc-job__fact dd {
    margin: 0;
    font-weight: 700;
}

.mnc-job__apply {
    margin: 0 0 2.5rem;
}

.mnc-job__section {
    margin: 0 0 2.5rem;
}

.mnc-job .mnc-job__section > :is(h2, h3) {
    position: relative;
    margin: 0 0 1rem;
    padding-bottom: 0.625rem;
    font-size: 1.375rem;
    font-weight: 700;
    line-height: 1.3;
}

/* The theme's red line, small, under each heading of the job. */
.mnc-job .mnc-job__section > :is(h2, h3)::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 2.5rem;
    height: 3px;
    background: var(--mnc-accent);
    border-radius: 3px;
}

.mnc-job__text > :first-child {
    margin-top: 0;
}

.mnc-job__text > :last-child {
    margin-bottom: 0;
}

.mnc-job__text :is(ul, ol) {
    padding-left: 1.25rem;
}

.mnc-job__text li {
    margin: 0 0 0.375rem;
    padding-left: 0.25rem;
}

.mnc-job__text li::marker {
    color: var(--mnc-accent);
}

.mnc-job__interested {
    padding: 1.5rem;
    background: var(--mnc-surface);
    border: 1px solid var(--mnc-line);
    border-radius: var(--mnc-radius);
}

.mnc-job__interested .mnc-job__apply {
    margin: 1.25rem 0 0;
}

/* Pictures of the CRM (added on 19.11.2026): never wider than the text, never distorted. */
.mnc-job__banner {
    margin: 0 0 1.5rem;
}

.mnc-job__banner img,
.mnc-job__pictures img {
    display: block;
    width: 100%;
    max-width: 100%;
    height: auto;
    border-radius: var(--mnc-radius);
}

.mnc-job__pictures {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(min(100%, 18rem), 1fr));
    gap: 0.75rem;
    margin: -1rem 0 2.5rem;
    padding: 0;
    list-style: none;
}

.mnc-job__list {
    margin: 0;
    padding: 0;
    list-style: none;
}

.mnc-job__list li {
    margin: 0 0 0.25rem;
    overflow-wrap: anywhere;
}

/* Large enough for a finger (44 px), like every other link on the page. Not a flex box: the
   space before "(öffnet in einem neuen Tab)" would be dropped. */
.mnc-job__list a {
    display: inline-block;
    box-sizing: border-box;
    min-height: 2.75rem;
    padding: 0.625rem 0;
}

.mnc-job__file,
.mnc-job__new-tab,
.mnc-job__meta {
    color: var(--mnc-quiet);
    font-size: 0.9em;
}

.mnc-job__related {
    padding-top: 1.5rem;
    border-top: 1px solid var(--mnc-line);
}

.mnc-job__reference {
    color: var(--mnc-quiet);
}

.mnc-job__share {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 0.5rem 1.5rem;
    margin: 1rem 0 0;
}

/* Large enough for a finger, like every other link here. */
.mnc-job__share-link,
.mnc-job__back a,
.mnc-job__contact a {
    display: inline-flex;
    align-items: center;
    min-height: 2.75rem;
}

.mnc-job__back a {
    font-weight: 700;
}

/* A mail address has no place to break: it is broken where the line ends, inside the column. */
.mnc-job__contact a {
    max-width: 100%;
    overflow-wrap: anywhere;
}

.mnc-job .mnc-job__copy {
    min-height: 2.75rem;
    text-transform: none;
    margin: 0;
    padding: 0.5rem 1rem;
    font: inherit;
    color: inherit;
    background: transparent;
    border: 1px solid var(--mnc-edge);
    border-radius: var(--mnc-radius);
    cursor: pointer;
}

.mnc-job__copy[hidden] {
    display: none;
}

/*
 * On a phone «Jetzt bewerben» stays in view at the bottom of the screen while the job is read
 * (SP-22). The bar belongs to the job: it sticks to the bottom of the screen only as long as
 * the job is on it, and leaves with the job, so the website's footer is never under it. On
 * wider screens the two buttons in the text are enough, and this third one is not there.
 */
.mnc-job__sticky {
    display: none;
}

@media (max-width: 600px) {
    /* A link that gets the keyboard focus stops above the bar instead of under it. */
    html:has(.mnc-job__sticky) {
        scroll-padding-bottom: 5.5rem;
    }

    .mnc-job__sticky {
        position: sticky;
        z-index: 50;
        bottom: 0;
        display: flex;
        padding: 0.75rem 0 calc(0.75rem + env(safe-area-inset-bottom, 0px));
        /* The page's own background, read by the script; the browser's without it. */
        background-color: var(--mnc-page-bg, Canvas);
        border-top: 1px solid var(--mnc-line);
    }

    /* While a button in the text is on the screen, the bar would only repeat it (set by the script). */
    .mnc-job__sticky[data-mnc-away] {
        visibility: hidden;
    }

    .mnc-job__sticky .mnc-job__button {
        flex: 1;
    }

    .mnc-job__apply .mnc-job__button {
        width: 100%;
    }
}

/* --- Phones ------------------------------------------------------------------------------- */

@media (max-width: 599px) {
    /* «Suchen» shows its icon only; its name stays for a screen reader. */
    .mnc-jobs .mnc-jobs__submit {
        width: 3rem;
        padding: 0;
    }

    .mnc-jobs .mnc-jobs__submit > .mnc-icon {
        display: block;
        width: 1.375rem;
        height: 1.375rem;
    }

    .mnc-jobs__submit-text {
        position: absolute;
        width: 1px;
        height: 1px;
        overflow: hidden;
        clip-path: inset(50%);
        white-space: nowrap;
    }

    .mnc-jobs__field--select {
        max-width: none;
    }

    .mnc-jobs__card {
        grid-template-columns: minmax(0, 1fr);
        gap: 0.25rem;
        padding: 1rem;
    }

    .mnc-jobs .mnc-jobs__title {
        font-size: 1.125rem;
    }

    /*
     * The facts of a job as compact lines (label, value), not tiles: «Jetzt bewerben» below
     * them stays on the first screen (SP-21).
     */
    .mnc-job__facts {
        grid-template-columns: max-content minmax(0, 1fr);
        gap: 0.375rem 0.875rem;
        padding: 0.875rem 1rem;
        background: var(--mnc-surface);
        border: 1px solid var(--mnc-line);
        border-radius: var(--mnc-radius);
    }

    .mnc-job__fact {
        display: contents;
    }

    .mnc-job__fact dt {
        font-size: 0.875rem;
    }
}

/* Too narrow for two columns: the value goes under its label instead of breaking in a word. */
@media (max-width: 22.5rem) {
    .mnc-job__facts {
        grid-template-columns: minmax(0, 1fr);
        gap: 0;
    }

    .mnc-job__fact dd {
        margin-bottom: 0.5rem;
    }
}

/* --- The page layout «MNC Jobs: Karriereseite» (classic themes) ------------------------- */

.mnc-careers {
    display: block;
    --mnc-top: 1.5rem;
}

.mnc-careers__banner {
    position: relative;
    height: clamp(12rem, 22vw, 19rem);
    overflow: hidden;
    background: #111;
}

.mnc-careers__banner-image {
    display: block;
    width: 100%;
    height: 100%;
    object-fit: cover;
}

/* The theme's header lies over the picture: a shade keeps its logo and menu readable. */
.mnc-careers__banner::after {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(to bottom, rgb(0 0 0 / 55%), rgb(0 0 0 / 0%) 45%, rgb(0 0 0 / 0%) 70%, rgb(0 0 0 / 35%));
    pointer-events: none;
}

/* Without a picture: room for the theme's header, nothing more. */
.mnc-careers__banner--plain {
    height: 8.5rem;
    background: none;
}

.mnc-careers__banner--plain::after {
    display: none;
}

/* The width of the theme's own column, so the title stands under the logo. */
.mnc-careers__container {
    box-sizing: border-box;
    width: 100%;
    margin: 0 auto;
    padding: 2.5rem 15px 5rem;
}

@media (min-width: 576px) {
    .mnc-careers__container {
        max-width: 540px;
    }
}

@media (min-width: 768px) {
    .mnc-careers__container {
        max-width: 720px;
    }
}

@media (min-width: 992px) {
    .mnc-careers__container {
        max-width: 960px;
    }
}

@media (min-width: 1200px) {
    .mnc-careers__container {
        max-width: 1140px;
    }
}

@media (min-width: 1600px) {
    .mnc-careers__container {
        max-width: 1500px;
    }
}

.mnc-careers__head {
    margin: 0 0 2rem;
}

.mnc-careers .mnc-careers__title {
    margin: 0 0 0.75rem;
    font-size: clamp(1.75rem, 1.1rem + 2.2vw, 2.75rem);
    font-weight: 700;
    line-height: 1.15;
}

/* The theme's red line under a title. */
.mnc-careers__line {
    display: block;
    width: min(315px, 60%);
    height: 4px;
    background: var(--mnc-accent);
    border-radius: 4px;
    transform-origin: left center;
    animation: mnc-line-in 0.8s ease-out both;
}

@keyframes mnc-line-in {
    from {
        transform: scaleX(0);
    }
}

/* HR's introduction above the list (SP-09). */
.mnc-careers__content > p {
    max-width: 46rem;
    font-size: 1.125rem;
    line-height: 1.6;
}

.mnc-careers__content > .mnc-jobs,
.mnc-careers__content > .mnc-job {
    margin-top: 2rem;
}

@media (max-width: 767px) {
    .mnc-careers__banner--plain {
        height: 5rem;
    }

    .mnc-careers__container {
        padding-top: 1.75rem;
    }
}

@media (prefers-reduced-motion: reduce) {
    .mnc-careers__line,
    .mnc-jobs__pane {
        animation: none;
    }

    .mnc-jobs__card,
    .mnc-jobs__results,
    .mnc-jobs__link .mnc-icon {
        transition: none;
    }
}

@media print {
    .mnc-jobs__filters,
    .mnc-jobs__pages,
    .mnc-jobs__pane,
    .mnc-job__share,
    .mnc-job__sticky,
    .mnc-job__apply,
    .mnc-careers__banner {
        display: none;
    }
}
