/* Public job listings: scoped, compact and independent from legacy card styles. */
.wf-jobs-page {
    --jobs-navy: #17345d;
    --jobs-blue: #2677b7;
    --jobs-teal: #17a6a4;
    --jobs-ink: #142a43;
    --jobs-muted: #73879b;
    --jobs-line: #d9e6f0;
    --jobs-soft: #f2f7fb;
    --jobs-card: #fff;
    background: #eef4f9;
    color: var(--jobs-ink);
}

.wf-jobs-page svg {
    fill: none;
    stroke: currentColor;
    stroke-width: 1.8;
    stroke-linecap: round;
    stroke-linejoin: round;
}

.wf-jobs-hero {
    position: relative;
    overflow: hidden;
    padding: 46px 0;
    background: #eef4f9;
}

.wf-jobs-hero__inner {
    position: relative;
    min-height: 280px;
    display: grid;
    grid-template-columns: minmax(0, 1.25fr) minmax(300px, .75fr);
    align-items: center;
    gap: 42px;
    padding: 38px 44px;
    overflow: hidden;
    border: 1px solid rgba(255, 255, 255, .18);
    border-radius: 28px;
    background: linear-gradient(125deg, #18345f 0%, #245f8e 55%, #1e9798 100%);
    box-shadow: 0 22px 48px rgba(31, 73, 108, .15);
    color: #fff;
}

.wf-jobs-hero__inner::before,
.wf-jobs-hero__inner::after {
    content: "";
    position: absolute;
    border-radius: 50%;
    pointer-events: none;
}

.wf-jobs-hero__inner::before {
    width: 310px;
    height: 310px;
    right: -86px;
    top: -135px;
    background: rgba(255, 255, 255, .095);
}

.wf-jobs-hero__inner::after {
    width: 190px;
    height: 190px;
    right: 230px;
    bottom: -145px;
    border: 28px solid rgba(255, 255, 255, .055);
}

.wf-jobs-hero__copy,
.wf-jobs-hero__visual {
    position: relative;
    z-index: 1;
}

.wf-jobs-eyebrow {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    margin-bottom: 14px;
    color: #86fff2;
    font-size: 12px;
    font-weight: 600;
    letter-spacing: .08em;
    text-transform: uppercase;
}

.wf-jobs-eyebrow svg {
    width: 17px;
    height: 17px;
}

.wf-public-area .wf-jobs-page .wf-jobs-hero h1 {
    max-width: 700px;
    margin: 0;
    color: #fff !important;
    font-size: clamp(34px, 4.2vw, 56px);
    font-weight: 600;
    line-height: 1.08;
    letter-spacing: -.035em;
}

.wf-jobs-hero__copy > p {
    max-width: 680px;
    margin: 16px 0 0;
    color: rgba(255, 255, 255, .83);
    font-size: 15px;
    font-weight: 350;
    line-height: 1.65;
}

.wf-jobs-breadcrumb {
    display: flex;
    align-items: center;
    gap: 8px;
    margin-top: 24px;
    font-size: 12px;
}

.wf-jobs-breadcrumb a,
.wf-jobs-breadcrumb span {
    display: inline-flex;
    align-items: center;
    min-height: 34px;
    padding: 7px 12px;
    border: 1px solid rgba(255, 255, 255, .18);
    border-radius: 10px;
    color: #fff;
    background: rgba(255, 255, 255, .08);
    text-decoration: none;
}

.wf-jobs-breadcrumb a:hover {
    border-color: rgba(255, 255, 255, .35);
    background: rgba(255, 255, 255, .14);
}

.wf-jobs-breadcrumb > svg {
    width: 14px;
    height: 14px;
    color: rgba(255, 255, 255, .6);
}

.wf-jobs-hero__visual {
    min-height: 190px;
}

.wf-jobs-hero__icon {
    position: absolute;
    top: 14px;
    left: 50%;
    width: 150px;
    height: 150px;
    display: grid;
    place-items: center;
    transform: translateX(-50%) rotate(-3deg);
    border: 1px solid rgba(255, 255, 255, .2);
    border-radius: 42px;
    background: linear-gradient(145deg, rgba(255, 255, 255, .19), rgba(255, 255, 255, .07));
    box-shadow: 0 24px 38px rgba(8, 40, 66, .18);
}

.wf-jobs-hero__icon svg {
    width: 74px;
    height: 74px;
    color: #fff;
    stroke-width: 1.35;
}

.wf-jobs-hero__metric {
    position: absolute;
    min-width: 118px;
    padding: 13px 15px;
    border: 1px solid rgba(255, 255, 255, .17);
    border-radius: 15px;
    background: rgba(16, 60, 89, .54);
    box-shadow: 0 15px 28px rgba(7, 39, 63, .13);
    backdrop-filter: blur(12px);
}

.wf-jobs-hero__metric strong,
.wf-jobs-hero__metric span {
    display: block;
}

.wf-jobs-hero__metric strong {
    color: #fff;
    font-size: 24px;
    font-weight: 600;
    line-height: 1;
}

.wf-jobs-hero__metric span {
    margin-top: 5px;
    color: rgba(255, 255, 255, .72);
    font-size: 10px;
}

.wf-jobs-hero__metric.is-sector {
    left: 2px;
    bottom: 1px;
}

.wf-jobs-hero__metric.is-language {
    right: 0;
    top: 0;
}

.wf-jobs-content {
    padding: 4px 0 88px;
}

.wf-jobs-filter-card,
.wf-jobs-toolbar,
.wf-job-card,
.wf-jobs-empty {
    border: 1px solid var(--jobs-line);
    background: var(--jobs-card);
    box-shadow: 0 12px 30px rgba(31, 67, 99, .055);
}

.wf-jobs-filter-card {
    position: sticky;
    top: 106px;
    padding: 18px;
    border-radius: 20px;
}

.wf-jobs-filter-head {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
    margin: -2px -2px 17px;
    padding: 0 2px 15px;
    border-bottom: 1px solid #e6eef5;
}

.wf-jobs-filter-head > div {
    display: flex;
    align-items: center;
    gap: 10px;
}

.wf-jobs-filter-head h2,
.wf-jobs-toolbar h2 {
    margin: 0;
    color: var(--jobs-ink);
    font-size: 17px;
    font-weight: 600;
}

.wf-jobs-filter-icon {
    width: 36px;
    height: 36px;
    display: grid;
    place-items: center;
    border-radius: 11px;
    color: #2c7bb2;
    background: #eaf4fb;
}

.wf-jobs-filter-icon svg {
    width: 18px;
    height: 18px;
}

.wf-active-filter-count {
    min-width: 28px;
    height: 28px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    border-radius: 9px;
    color: #176a92;
    background: #e5f3fa;
    font-size: 11px;
    font-weight: 600;
}

.wf-filter-field {
    min-width: 0;
    margin-bottom: 13px;
}

.wf-filter-field label {
    display: block;
    margin: 0 0 6px;
    color: #526a81;
    font-size: 11px;
    font-weight: 500;
}

.wf-filter-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 9px;
}

.wf-public-area .wf-jobs-page .wf-filter-select,
.wf-public-area .wf-jobs-page .wf-filter-field .bootstrap-select > .dropdown-toggle {
    width: 100% !important;
    height: 44px !important;
    min-height: 44px !important;
    padding: 0 12px !important;
    border: 1px solid #d6e3ed !important;
    border-radius: 11px !important;
    color: #405970 !important;
    background: #fff !important;
    box-shadow: none !important;
    font-size: 11.5px !important;
    font-weight: 400 !important;
}

.wf-public-area .wf-jobs-page .wf-filter-select {
    appearance: auto !important;
}

.wf-public-area .wf-jobs-page .wf-filter-field .bootstrap-select {
    width: 100% !important;
}

.wf-public-area .wf-jobs-page .wf-filter-field .bootstrap-select > .dropdown-toggle .filter-option {
    display: flex;
    align-items: center;
}

.wf-public-area .wf-jobs-page .wf-filter-select:focus,
.wf-public-area .wf-jobs-page .wf-filter-field .bootstrap-select.show > .dropdown-toggle {
    border-color: #73add0 !important;
    box-shadow: 0 0 0 3px rgba(48, 132, 181, .1) !important;
    outline: none !important;
}

.wf-jobs-page .bootstrap-select .dropdown-menu {
    padding: 7px !important;
    border: 1px solid #d9e5ee !important;
    border-radius: 13px !important;
    box-shadow: 0 18px 38px rgba(27, 65, 99, .14) !important;
}

.wf-jobs-page .bootstrap-select .bs-searchbox {
    padding: 4px 4px 8px;
}

.wf-jobs-page .bootstrap-select .bs-searchbox .form-control {
    height: 38px !important;
    min-height: 38px !important;
    border-radius: 9px !important;
    font-size: 11.5px !important;
}

.wf-jobs-page .bootstrap-select .dropdown-item {
    padding: 8px 9px !important;
    border-radius: 8px !important;
    font-size: 11.5px !important;
}

.wf-jobs-filter-actions {
    display: grid;
    grid-template-columns: 1fr;
    gap: 8px;
    padding-top: 4px;
}

.wf-jobs-button {
    min-height: 43px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    padding: 9px 12px;
    border: 1px solid #d7e3ed;
    border-radius: 11px;
    font-size: 11.5px;
    font-weight: 500;
    line-height: 1.2;
    text-decoration: none;
    transition: border-color .18s ease, background-color .18s ease, box-shadow .18s ease;
}

.wf-jobs-button svg {
    width: 16px;
    height: 16px;
    flex: 0 0 16px;
}

.wf-jobs-button.is-primary {
    border-color: #2f7fba;
    color: #fff;
    background: linear-gradient(135deg, #286eb0, #268fa5);
    box-shadow: 0 8px 18px rgba(37, 117, 164, .16);
}

.wf-jobs-button.is-primary:hover {
    border-color: #246da5;
    color: #fff;
    background: linear-gradient(135deg, #235f9a, #217f94);
}

.wf-jobs-button.is-secondary {
    color: #516a80;
    background: #f8fafc;
}

.wf-jobs-button.is-secondary:hover {
    border-color: #b9ccdb;
    color: #245f87;
    background: #eef5fa;
}

.wf-jobs-toolbar {
    min-height: 74px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 18px;
    margin-bottom: 14px;
    padding: 15px 18px;
    border-radius: 18px;
}

.wf-jobs-toolbar p {
    margin: 4px 0 0;
    color: var(--jobs-muted);
    font-size: 11.5px;
}

.wf-jobs-visible-count {
    display: inline-flex;
    align-items: center;
    gap: 5px;
    padding: 8px 10px;
    border: 1px solid #d8e7f0;
    border-radius: 10px;
    color: #587187;
    background: #f5f9fc;
    font-size: 10.5px;
    white-space: nowrap;
}

.wf-jobs-visible-count svg {
    width: 15px;
    height: 15px;
    color: #2a82b7;
}

.wf-jobs-visible-count strong {
    color: #1d557c;
    font-weight: 600;
}

.wf-jobs-results {
    position: relative;
    min-height: 250px;
}

.wf-jobs-list {
    display: grid;
    gap: 12px;
    margin: 0;
    padding: 0;
    list-style: none;
}

.wf-job-card {
    position: relative;
    display: grid;
    grid-template-columns: 104px minmax(0, 1fr) auto;
    align-items: center;
    gap: 18px;
    min-height: 156px;
    padding: 16px 18px 16px 15px;
    overflow: hidden;
    border-radius: 18px;
    color: inherit;
    text-decoration: none;
    transition: border-color .2s ease, box-shadow .2s ease, transform .2s ease;
}

.wf-job-card::before {
    content: "";
    position: absolute;
    inset: 0 auto 0 0;
    width: 3px;
    background: linear-gradient(#2d78b3, #24a4a4);
    opacity: 0;
    transition: opacity .2s ease;
}

.wf-job-card:hover {
    border-color: #bcd5e5;
    color: inherit;
    box-shadow: 0 18px 38px rgba(29, 76, 111, .1);
    transform: translateY(-2px);
}

.wf-job-card:hover::before {
    opacity: 1;
}

.wf-job-logo {
    width: 104px;
    height: 104px;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 13px;
    border: 1px solid #e1eaf2;
    border-radius: 15px;
    background: linear-gradient(145deg, #f5f9fc, #eaf3f9);
}

.wf-job-logo img {
    width: 100%;
    max-width: 90px;
    max-height: 66px;
    object-fit: contain;
}

.wf-job-main {
    min-width: 0;
    display: block;
}

.wf-job-badges {
    display: flex;
    align-items: center;
    flex-wrap: wrap;
    gap: 6px;
    margin-bottom: 8px;
}

.wf-job-badge {
    display: inline-flex;
    align-items: center;
    max-width: 250px;
    min-height: 25px;
    padding: 4px 8px;
    overflow: hidden;
    border-radius: 8px;
    font-size: 9.5px;
    font-weight: 500;
    line-height: 1.25;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.wf-job-badge.is-new {
    color: #148158;
    background: #e6f7ef;
}

.wf-job-badge.is-sector {
    color: #365f80;
    background: #eef5fa;
}

.wf-job-title {
    display: block;
    margin: 0;
    color: #152a43;
    font-size: 16px;
    font-weight: 600;
    line-height: 1.38;
}

.wf-job-company-row {
    display: flex;
    align-items: center;
    flex-wrap: wrap;
    gap: 7px 12px;
    margin-top: 7px;
}

.wf-job-company,
.wf-job-date {
    display: inline-flex;
    align-items: center;
    gap: 5px;
    color: #708499;
    font-size: 10.5px;
}

.wf-job-company svg {
    width: 14px;
    height: 14px;
    color: #4385b2;
}

.wf-job-date::before {
    content: "";
    width: 4px;
    height: 4px;
    border-radius: 50%;
    background: #9fb1c0;
}

.wf-job-meta {
    display: flex;
    align-items: center;
    flex-wrap: wrap;
    gap: 7px;
    margin-top: 11px;
}

.wf-job-meta > span {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    min-height: 28px;
    max-width: 260px;
    padding: 5px 8px;
    overflow: hidden;
    border: 1px solid #e0eaf2;
    border-radius: 9px;
    color: #536b81;
    background: #f8fafc;
    font-size: 10px;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.wf-job-meta svg {
    width: 14px;
    height: 14px;
    flex: 0 0 14px;
    color: #3f8ab8;
}

.wf-job-action {
    min-width: 116px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 7px;
    padding: 10px 12px;
    border: 1px solid #cae0ed;
    border-radius: 11px;
    color: #236c9d;
    background: #f1f8fc;
    font-size: 10.5px;
    font-weight: 500;
}

.wf-job-action svg {
    width: 15px;
    height: 15px;
    transition: transform .2s ease;
}

.wf-job-card:hover .wf-job-action {
    border-color: #98c4dc;
    color: #fff;
    background: #267cae;
}

.wf-job-card:hover .wf-job-action svg {
    transform: translateX(2px);
}

.wf-jobs-empty {
    padding: 58px 24px;
    border-radius: 18px;
    text-align: center;
}

.wf-jobs-empty__icon {
    width: 54px;
    height: 54px;
    display: grid;
    place-items: center;
    margin: 0 auto 14px;
    border-radius: 16px;
    color: #337eaa;
    background: #eaf5fb;
}

.wf-jobs-empty__icon svg {
    width: 25px;
    height: 25px;
}

.wf-jobs-empty h3 {
    margin: 0;
    color: var(--jobs-ink);
    font-size: 17px;
    font-weight: 600;
}

.wf-jobs-empty p {
    max-width: 520px;
    margin: 7px auto 0;
    color: var(--jobs-muted);
    font-size: 12px;
}

.wf-jobs-pagination:empty {
    display: none;
}

.wf-cursor-pagination {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 9px;
    margin-top: 22px;
}

.wf-page-button,
.wf-page-label {
    min-height: 40px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    border: 1px solid #d2e1eb;
    border-radius: 11px;
    background: #fff;
}

.wf-page-button {
    width: 40px;
    color: #236b9a;
    transition: border-color .18s ease, background-color .18s ease, color .18s ease;
}

.wf-page-button svg {
    width: 17px;
    height: 17px;
}

.wf-page-button:hover {
    border-color: #2f7fb0;
    color: #fff;
    background: #2f7fb0;
}

.wf-page-button.is-disabled {
    color: #a8b7c4;
    background: #f3f6f8;
    cursor: not-allowed;
}

.wf-page-label {
    padding: 8px 14px;
    color: #62798d;
    font-size: 10.5px;
}

#filter-overlay-loader {
    position: absolute;
    inset: 0;
    z-index: 10;
    display: flex;
    align-items: flex-start;
    justify-content: center;
    padding-top: 90px;
    border-radius: 18px;
    background: rgba(238, 244, 249, .78);
    opacity: 0;
    visibility: hidden;
    backdrop-filter: blur(3px);
    transition: opacity .2s ease, visibility .2s ease;
}

.wf-jobs-loader {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    padding: 11px 15px;
    border: 1px solid #d3e2ec;
    border-radius: 12px;
    color: #365c78;
    background: #fff;
    box-shadow: 0 14px 34px rgba(34, 75, 106, .12);
    font-size: 11px;
}

.wf-jobs-loader .spinner-border {
    width: 18px;
    height: 18px;
    color: #2487aa;
    border-width: 2px;
}

@media (max-width: 1199.98px) {
    .wf-jobs-hero__inner {
        grid-template-columns: minmax(0, 1fr) 300px;
        padding: 34px;
    }

    .wf-filter-grid {
        grid-template-columns: 1fr;
        gap: 0;
    }

    .wf-job-card {
        grid-template-columns: 88px minmax(0, 1fr) 42px;
        gap: 14px;
    }

    .wf-job-logo {
        width: 88px;
        height: 88px;
    }

    .wf-job-action {
        min-width: 42px;
        width: 42px;
        height: 42px;
        padding: 0;
    }

    .wf-job-action span {
        display: none;
    }
}

@media (max-width: 991.98px) {
    .wf-jobs-hero {
        padding: 32px 0;
    }

    .wf-jobs-hero__inner {
        min-height: 250px;
        grid-template-columns: minmax(0, 1fr) 260px;
        border-radius: 22px;
    }

    .wf-jobs-hero__icon {
        width: 128px;
        height: 128px;
    }

    .wf-jobs-hero__icon svg {
        width: 62px;
        height: 62px;
    }

    .wf-jobs-filter-card {
        position: static;
        padding: 17px;
    }

    .wf-filter-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
        gap: 9px;
    }

    .wf-jobs-filter-actions {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }
}

@media (max-width: 767.98px) {
    .wf-jobs-hero__inner {
        grid-template-columns: 1fr;
        min-height: 0;
        padding: 30px 24px;
    }

    .wf-jobs-hero__visual {
        display: none;
    }

    .wf-jobs-hero h1 {
        font-size: 35px;
    }

    .wf-jobs-content {
        padding-bottom: 68px;
    }

    .wf-jobs-toolbar {
        align-items: flex-start;
    }

    .wf-job-card {
        grid-template-columns: 72px minmax(0, 1fr);
        min-height: 0;
        padding: 14px;
    }

    .wf-job-logo {
        width: 72px;
        height: 72px;
        padding: 9px;
    }

    .wf-job-action {
        position: absolute;
        right: 13px;
        bottom: 13px;
    }

    .wf-job-main {
        padding-right: 0;
    }

    .wf-job-meta {
        padding-right: 48px;
    }

    .wf-job-meta > span {
        max-width: 100%;
    }
}

@media (max-width: 575.98px) {
    .wf-jobs-hero {
        padding: 20px 0 26px;
    }

    .wf-jobs-hero__inner {
        padding: 26px 20px;
        border-radius: 18px;
    }

    .wf-jobs-hero__copy > p {
        font-size: 13px;
    }

    .wf-jobs-breadcrumb {
        margin-top: 19px;
    }

    .wf-filter-grid,
    .wf-jobs-filter-actions {
        grid-template-columns: 1fr;
        gap: 0;
    }

    .wf-jobs-filter-actions {
        gap: 8px;
    }

    .wf-jobs-toolbar {
        flex-direction: column;
        min-height: 0;
        padding: 14px;
    }

    .wf-jobs-visible-count {
        align-self: flex-start;
    }

    .wf-job-card {
        grid-template-columns: 58px minmax(0, 1fr);
        gap: 11px;
        border-radius: 15px;
    }

    .wf-job-logo {
        width: 58px;
        height: 58px;
        border-radius: 12px;
    }

    .wf-job-title {
        font-size: 14px;
    }

    .wf-job-badge {
        max-width: 170px;
    }

    .wf-job-company-row {
        align-items: flex-start;
        flex-direction: column;
        gap: 4px;
    }

    .wf-job-date::before {
        display: none;
    }

    .wf-job-meta {
        grid-column: 1 / -1;
    }

    .wf-page-label {
        padding-inline: 10px;
    }
}

@media (prefers-reduced-motion: reduce) {
    .wf-job-card,
    .wf-job-card::before,
    .wf-job-action svg,
    .wf-jobs-button,
    .wf-page-button {
        transition: none !important;
    }
}
