.mfr-jobs {
    --mfr-bg: #101412;
    --mfr-card: #151a17;
    --mfr-text: #ffffff;
    --mfr-muted: #c4c9c6;
    --mfr-line: rgba(255,255,255,.18);
    --mfr-yellow: #ffc400;
    --mfr-blue: #0aa5df;
    color: var(--mfr-text);
}

.mfr-jobs__heading {
    margin: 0 0 30px;
}

.mfr-jobs__heading h2 {
    margin: 0;
    color: var(--mfr-text);
    font-size: clamp(28px, 3vw, 42px);
    line-height: 1.1;
    font-weight: 400;
    text-transform: uppercase;
    letter-spacing: .01em;
}

.mfr-jobs__heading span {
    display: block;
    width: 80px;
    height: 3px;
    margin-top: 14px;
    background: rgba(255,255,255,.22);
}

.mfr-jobs__grid {
    display: grid;
    gap: 18px;
}

.mfr-job-card {
    display: grid;
    grid-template-columns: 1fr;
    overflow: hidden;
    background: var(--mfr-card);
    border: 1px solid var(--mfr-line);
    transition: transform .2s ease, border-color .2s ease, background .2s ease;
}

.mfr-job-card:hover {
    transform: translateY(-2px);
    border-color: rgba(255,196,0,.65);
    background: #171d19;
}

.mfr-job-card.has-image {
    grid-template-columns: minmax(220px, 31%) 1fr;
}

.mfr-job-card__image {
    min-height: 100%;
    background: #0c0f0d;
}

.mfr-job-card__image img {
    display: block;
    width: 100%;
    height: 100%;
    min-height: 260px;
    object-fit: cover;
}

.mfr-job-card__body {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    padding: 28px 30px 30px;
}

.mfr-job-card__date {
    margin-bottom: 12px;
    color: var(--mfr-yellow);
    font-size: 13px;
    font-weight: 600;
    text-transform: uppercase;
}

.mfr-job-card h3 {
    margin: 0 0 15px;
    color: var(--mfr-text);
    font-size: clamp(23px, 2.5vw, 34px);
    line-height: 1.16;
    font-weight: 400;
}

.mfr-job-card__description {
    width: 100%;
    color: var(--mfr-muted);
    font-size: 15px;
    line-height: 1.65;
}

.mfr-job-card__description > :first-child { margin-top: 0; }
.mfr-job-card__description > :last-child { margin-bottom: 0; }

.mfr-job-card__button {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 12px;
    min-width: 180px;
    margin-top: 24px;
    padding: 14px 24px;
    border-radius: 999px;
    background: var(--mfr-yellow);
    color: #0b0e0c !important;
    text-decoration: none !important;
    text-transform: uppercase;
    font-size: 13px;
    font-weight: 500;
    line-height: 1;
    transition: transform .2s ease, filter .2s ease;
}

.mfr-job-card__button:hover {
    transform: translateY(-1px);
    filter: brightness(1.06);
}

.mfr-job-card__button span {
    font-size: 19px;
    line-height: 1;
}

.mfr-jobs__empty {
    padding: 28px;
    border-left: 4px solid var(--mfr-blue);
    background: var(--mfr-card);
    color: var(--mfr-muted);
}

@media (max-width: 760px) {
    .mfr-job-card.has-image {
        grid-template-columns: 1fr;
    }

    .mfr-job-card__image img {
        min-height: 220px;
        max-height: 320px;
    }

    .mfr-job-card__body {
        padding: 22px;
    }
}


.mfr-jobs__pagination {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 14px;
    flex-wrap: wrap;
    margin-top: 34px;
}

.mfr-jobs__pages {
    display: flex;
    align-items: center;
    gap: 8px;
}

.mfr-jobs__page {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-width: 42px;
    height: 42px;
    padding: 0 13px;
    border: 1px solid var(--mfr-line);
    border-radius: 999px;
    color: var(--mfr-text) !important;
    text-decoration: none !important;
    font-size: 14px;
    transition: background .2s ease, color .2s ease, border-color .2s ease;
}

.mfr-jobs__page:hover,
.mfr-jobs__page.is-current {
    background: var(--mfr-yellow);
    border-color: var(--mfr-yellow);
    color: #0b0e0c !important;
}

.mfr-jobs__page--nav {
    min-width: auto;
    padding: 0 18px;
}

.mfr-jobs__ellipsis {
    color: var(--mfr-muted);
    padding: 0 2px;
}

@media (max-width: 560px) {
    .mfr-jobs__pagination {
        gap: 10px;
    }

    .mfr-jobs__pages {
        order: 3;
        width: 100%;
        justify-content: center;
    }
}
