/* ============================================================================
   JW-3424 — Find Jobs page redesign
   Ported from frontend-design/page-redesigns/find-jobs-redesign.html.
   Scoped under .find-jobs-wrapper (set by JobSearchController as the layout
   wrapper class). Nav / footer chrome is NOT here — it comes from the layout.
   Renames vs the designer export: .hero → .fj-hero, .container → .fj-container
   (bootstrap owns .container / .hero is taken by landing pages in style.css).
   ========================================================================== */

.find-jobs-wrapper {
    --fj-blue: #2B59FF;
    --fj-blue-deep: #2348F0;
    --fj-ink: #1B1E20;
    --fj-muted: #6B7280;
    --fj-muted-2: #8A90A2;
    --fj-line: #E7E9F0;
    --fj-pill: #F1F3F7;
    background: #FFFFFF;
    color: var(--fj-ink);
}

.find-jobs-wrapper .fj-container {
    max-width: 1240px;
    margin: 0 auto;
    padding: 0 24px;
}

/* ================= HERO ================= */
.find-jobs-wrapper .fj-hero {
    background: var(--fj-blue);
    padding: 46px 0 70px;
    text-align: center;
}
.find-jobs-wrapper .fj-hero h1 {
    color: #fff;
    font-size: 28px;
    font-weight: 600;
    letter-spacing: -0.3px;
    margin: 0;
}
.find-jobs-wrapper .fj-hero .sub {
    color: #fff;
    font-size: 12.5px;
    font-weight: 400;
    margin: 12px 0 0;
    opacity: 0.92;
}
.find-jobs-wrapper .fj-hero .sub b { font-weight: 600; }

/* search bar straddles the blue / white boundary — sits ~half in the blue */
.find-jobs-wrapper .search-wrap {
    max-width: 1240px;
    margin: -36px auto 0;
    padding: 0 24px;
    position: relative;
    z-index: 5;
}
/* ---- Search bar: sectioned, with flush full-height SEARCH + filter buttons ---- */
.find-jobs-wrapper .search-bar {
    background: #FFFFFF;
    border-radius: 8px;
    height: 72px;
    display: flex;
    align-items: stretch;
    padding: 0;
    overflow: hidden;
    box-shadow: 0 18px 40px rgba(16, 33, 96, 0.16);
}
.find-jobs-wrapper .s-field { display: flex; align-items: center; gap: 14px; padding: 0 26px; min-width: 0; }
.find-jobs-wrapper .s-field.keyword { flex: 1.05; }
.find-jobs-wrapper .s-field.location { flex: 1; }
.find-jobs-wrapper .s-icon { flex: none; display: flex; align-items: center; justify-content: center; background: transparent; }
.find-jobs-wrapper .s-icon svg { width: 25px; height: 25px; stroke: var(--fj-blue); }
.find-jobs-wrapper .s-divider { width: 1px; flex: none; align-self: center; height: 40px; background: #E6E9F2; }
.find-jobs-wrapper .s-field input {
    border: none; outline: none; background: transparent; box-shadow: none;
    width: 100%; min-width: 0;
    font-family: inherit; font-size: 15.5px; font-weight: 400; color: var(--fj-ink);
}
.find-jobs-wrapper .s-field input::placeholder { color: #9AA0AD; opacity: 1; font-weight: 400; }
/* SEARCH button — full height, flush */
.find-jobs-wrapper .btn-search {
    flex: none; border: none; cursor: pointer; border-radius: 0;
    background: var(--fj-blue); color: #fff;
    padding: 0 56px;
    font-family: inherit;
    font-size: 15px; font-weight: 600; letter-spacing: .03em; text-transform: uppercase;
}
.find-jobs-wrapper .btn-search:hover { background: #2A4FE6; color: #fff; }
/* filter button — full height, flush to the right corner */
.find-jobs-wrapper .sb-filter {
    flex: none; width: 82px; border: none; cursor: pointer;
    background: #EEF2FE;
    display: flex; align-items: center; justify-content: center;
}
.find-jobs-wrapper .sb-filter svg { width: 22px; height: 22px; stroke: var(--fj-blue); }
.find-jobs-wrapper .sb-filter:hover { background: #E3EAFE; }
.find-jobs-wrapper .sb-filter.is-active { background: var(--fj-blue); }
.find-jobs-wrapper .sb-filter.is-active svg { stroke: #fff; }
.find-jobs-wrapper .round-wrap { position: relative; }

/* ---- Sort flyout ---- */
.find-jobs-wrapper .sort-flyout {
    display: none; position: absolute; top: calc(100% + 12px); right: 0; z-index: 60;
    background: #fff; border-radius: 14px;
    box-shadow: 0 14px 38px rgba(15, 23, 42, 0.16), 0 1px 3px rgba(15, 23, 42, 0.06);
    padding: 8px 0; min-width: 196px; border: 1px solid #EAEDF6;
}
.find-jobs-wrapper .sort-flyout.is-open { display: block; }
.find-jobs-wrapper .sort-flyout__header {
    padding: 8px 18px 6px; font-size: 11px; font-weight: 600;
    color: #9AA0AD; text-transform: uppercase; letter-spacing: .05em;
}
.find-jobs-wrapper .sort-item {
    display: block; width: 100%; padding: 10px 18px; text-align: left;
    border: 0; background: transparent; font-family: inherit;
    font-size: 14px; font-weight: 500; color: #374151; cursor: pointer;
}
.find-jobs-wrapper .sort-item:hover { background: #F3F6FF; color: var(--fj-blue); }
.find-jobs-wrapper .sort-item.is-active { color: var(--fj-blue); font-weight: 600; }

/* ---- Filter panel ---- */
.find-jobs-wrapper .filter-panel {
    display: none; background: #fff; border-radius: 20px;
    margin-top: 12px; padding: 26px 28px;
    box-shadow: 0 18px 40px rgba(16, 33, 96, 0.10);
}
.find-jobs-wrapper .filter-panel.is-open { display: block; }
.find-jobs-wrapper .filter-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; }
.find-jobs-wrapper .filter-field label { display: block; font-size: 14px; font-weight: 600; color: var(--fj-ink); margin-bottom: 10px; }
.find-jobs-wrapper .filter-field select,
.find-jobs-wrapper .filter-field input {
    width: 100%; height: 48px;
    border: 1px solid #E2E6F0; border-radius: 12px;
    padding: 0 16px; font-family: inherit; font-size: 14px; color: #6B7280;
    background: #fff; outline: none;
}
.find-jobs-wrapper .filter-field input::placeholder { color: #9AA0AD; }
.find-jobs-wrapper .filter-field select {
    appearance: none; -webkit-appearance: none; cursor: pointer;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='14' height='14' viewBox='0 0 24 24' fill='none' stroke='%236B7280' stroke-width='2.4' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpolyline points='6 9 12 15 18 9'/%3E%3C/svg%3E");
    background-repeat: no-repeat; background-position: right 16px center;
    padding-right: 40px;
}
.find-jobs-wrapper .filter-field select:focus,
.find-jobs-wrapper .filter-field input:focus { border-color: #B9C6FF; }
.find-jobs-wrapper .filter-apply-wrap { display: flex; justify-content: center; margin-top: 26px; }
.find-jobs-wrapper .btn-apply-filters {
    display: inline-flex; align-items: center; justify-content: center;
    background: var(--fj-blue); color: #fff; border: none; border-radius: 999px;
    height: 50px; padding: 0 42px; font-size: 15px; font-weight: 600; cursor: pointer;
    transition: filter .15s ease; text-decoration: none;
}
.find-jobs-wrapper .btn-apply-filters:hover { filter: brightness(1.05); color: #fff; text-decoration: none; }

/* select2 inside the filter panel — match the designer inputs */
.find-jobs-wrapper .filter-panel .select2-container .select2-selection--multiple,
.find-jobs-wrapper .filter-panel .select2-container .select2-selection--single {
    min-height: 48px;
    border: 1px solid #E2E6F0;
    border-radius: 12px;
    padding: 6px 8px;
}
.find-jobs-wrapper .filter-panel .select2-container--default.select2-container--focus .select2-selection--multiple,
.find-jobs-wrapper .filter-panel .select2-container--default.select2-container--open .select2-selection--multiple {
    border-color: #B9C6FF;
}
.find-jobs-wrapper .filter-panel .select2-container--default .select2-selection--multiple .select2-selection__choice {
    background: #EEF2FE; border: none; border-radius: 8px; color: var(--fj-ink);
    padding: 3px 8px; display: inline-flex; align-items: center; gap: 6px;
}

/* ================= RESULTS ROW (count + sort) ================= */
.find-jobs-wrapper .results-row {
    display: flex; align-items: center; justify-content: space-between;
    gap: 16px; padding: 36px 0 22px;
}
.find-jobs-wrapper .results-count {
    font-size: 15px; font-weight: 500; color: var(--fj-ink); margin: 0;
}
.find-jobs-wrapper .results-count .number,
.find-jobs-wrapper .results-count b { color: var(--fj-blue); font-weight: 600; }
.find-jobs-wrapper .sort-wrap { display: flex; align-items: center; gap: 12px; flex: none; }
.find-jobs-wrapper .sort-text { font-size: 14px; font-weight: 600; color: var(--fj-ink); }
.find-jobs-wrapper .sort-select {
    display: inline-flex; align-items: center; gap: 16px;
    background: #fff; border: 1px solid #E2E6F0; border-radius: 999px;
    padding: 9px 18px; font-family: inherit; font-size: 14px; font-weight: 500; color: var(--fj-ink);
    cursor: pointer; transition: border-color .15s ease;
}
.find-jobs-wrapper .sort-select svg { width: 11px; height: 11px; stroke: #6B7280; }
.find-jobs-wrapper .sort-select:hover { border-color: #C9D2EA; }

/* ================= MAIN GRID ================= */
.find-jobs-wrapper .grid {
    display: grid;
    grid-template-columns: 384px 1fr;
    gap: 20px;
    align-items: start;
}
.find-jobs-wrapper .grid > * { min-width: 0; }   /* long content must never widen a track */
.find-jobs-wrapper .grid.no-results { grid-template-columns: 1fr; }
.find-jobs-wrapper .grid.no-results .preview { display: none; }
.find-jobs-wrapper .grid.no-results .job-col { border: none; height: auto !important; overflow: visible; }
.find-jobs-wrapper .grid.no-results .pagination { display: none; }
/* Left column wrapper: bordered panel + pagination BELOW it (outside the border). */
.find-jobs-wrapper .job-side { display: flex; flex-direction: column; overflow-anchor: none; }
.find-jobs-wrapper .job-col {
    background: #fff;
    border: 1px solid #E6EBF7;
    border-radius: 18px;
    padding: 14px;
    overflow-y: auto;            /* height synced to the preview in JS */
    scrollbar-width: thin; scrollbar-color: transparent transparent;
}
.find-jobs-wrapper .job-col:hover { scrollbar-color: #C9D2EA transparent; }
.find-jobs-wrapper .pagination {
    flex: none; display: flex; align-items: center; justify-content: center;
    flex-wrap: wrap; gap: 8px; margin: 16px auto 0;
}
.find-jobs-wrapper .page-btn {
    min-width: 40px; height: 40px; padding: 0 12px;
    display: inline-flex; align-items: center; justify-content: center;
    border: 1px solid #E2E6F0; border-radius: 999px; background: #fff;
    font-family: inherit; font-size: 14px; font-weight: 500; color: var(--fj-ink);
    cursor: pointer; transition: border-color .15s ease, color .15s ease;
}
.find-jobs-wrapper .page-btn:hover:not(:disabled):not(.is-active) { border-color: #C9D2EA; color: var(--fj-blue); }
.find-jobs-wrapper .page-btn.is-active { background: var(--fj-blue); border-color: var(--fj-blue); color: #fff; font-weight: 600; cursor: default; }
.find-jobs-wrapper .page-btn:disabled { opacity: .4; cursor: default; }
.find-jobs-wrapper .page-btn svg { width: 14px; height: 14px; stroke: currentColor; }
.find-jobs-wrapper .page-ellipsis { color: #9AA0AD; font-size: 14px; padding: 0 2px; }
/* scrollbar hidden by default; appears on hover */
.find-jobs-wrapper .job-col::-webkit-scrollbar { width: 8px; }
.find-jobs-wrapper .job-col::-webkit-scrollbar-track { background: transparent; }
.find-jobs-wrapper .job-col::-webkit-scrollbar-thumb { background: transparent; border-radius: 8px; transition: background .2s ease; }
.find-jobs-wrapper .job-col:hover::-webkit-scrollbar-thumb { background: #CDD5E8; }
.find-jobs-wrapper .job-col:hover::-webkit-scrollbar-thumb:hover { background: #B6C0DA; }

/* ---- Left list ---- */
.find-jobs-wrapper .job-card {
    background: #fff;
    border: 1px solid var(--fj-line);
    border-radius: 16px;
    padding: 16px 16px 15px;
    margin-bottom: 12px;
    position: relative;
    cursor: pointer;
    transition: box-shadow .15s ease, border-color .15s ease;
}
.find-jobs-wrapper .job-card:hover { border-color: #C9D4FF; box-shadow: 0 6px 18px rgba(16,33,96,.06); }
.find-jobs-wrapper .job-card.active {
    background: linear-gradient(165deg, #4066FF 0%, #2348F0 100%);
    border-color: #2E52F5;
    box-shadow: 0 10px 24px rgba(43, 89, 255, 0.28);
}

.find-jobs-wrapper .jc-title { font-size: 15px; font-weight: 600; color: var(--fj-ink); line-height: 1.3; overflow-wrap: anywhere; margin: 0; }
.find-jobs-wrapper .job-card.active .jc-title { color: #fff; }

.find-jobs-wrapper .jc-company { display: flex; align-items: center; gap: 7px; margin-top: 9px; }
.find-jobs-wrapper .jc-company svg { width: 14px; height: 14px; stroke: var(--fj-muted-2); flex: none; }
.find-jobs-wrapper .jc-company span { font-size: 12.5px; font-weight: 500; color: var(--fj-muted); min-width: 0; overflow-wrap: anywhere; }
.find-jobs-wrapper .job-card.active .jc-company svg { stroke: rgba(255,255,255,.85); }
.find-jobs-wrapper .job-card.active .jc-company span { color: rgba(255,255,255,.9); }

/* pills wrap onto extra rows when they don't fit; the 56px right padding keeps
   every row clear of the absolutely-positioned corner logo */
.find-jobs-wrapper .jc-pills { display: flex; flex-wrap: wrap; align-items: center; gap: 7px; margin-top: 13px; padding-right: 56px; }
.find-jobs-wrapper .pill {
    display: inline-flex; align-items: center; gap: 6px;
    background: var(--fj-pill); color: var(--fj-muted);
    border-radius: 999px; padding: 6px 11px;
    font-size: 11px; font-weight: 500; white-space: nowrap; flex: none;
    max-width: 100%; overflow: hidden; text-overflow: ellipsis;   /* one huge pill truncates rather than spills */
}
.find-jobs-wrapper .pill svg { width: 12px; height: 12px; stroke: var(--fj-muted); flex: none; }
.find-jobs-wrapper .job-card.active .pill { background: rgba(255,255,255,.16); color: #fff; }
.find-jobs-wrapper .job-card.active .pill svg { stroke: #fff; }

/* small "View Job →" link — bottom-left, vertically centred against the
   corner logo pinned bottom-right (the row matches the logo's 38px height) */
.find-jobs-wrapper .jc-foot { margin-top: 8px; padding-right: 56px; display: flex; align-items: center; min-height: 38px; }
.find-jobs-wrapper .jc-view {
    display: inline-flex; align-items: center; gap: 6px;
    background: none; border: none; padding: 0;
    color: var(--fj-blue); font-family: inherit; font-size: 12.5px; font-weight: 600;
    cursor: pointer; text-decoration: none;
}
.find-jobs-wrapper .jc-view svg { width: 13px; height: 13px; stroke: currentColor; flex: none; transition: transform .15s ease; }
.find-jobs-wrapper .jc-view:hover { text-decoration: underline; color: var(--fj-blue); }
.find-jobs-wrapper .jc-view:hover svg { transform: translateX(3px); }
.find-jobs-wrapper .job-card.active .jc-view { color: #fff; }

.find-jobs-wrapper .jc-corner {
    position: absolute; right: 15px; bottom: 14px;
    display: flex; align-items: center; gap: 8px;
}
.find-jobs-wrapper .jc-logo {
    width: 38px; height: 38px; border-radius: 9px;
    display: flex; align-items: center; justify-content: center;
    background: #fff; border: 1px solid var(--fj-line);
    overflow: hidden; flex: none;
}
.find-jobs-wrapper .jc-logo img { max-width: 100%; max-height: 100%; object-fit: contain; display: block; }
/* Premium card — gold "★ PREMIUM" pill lives in the pills row, so the
   title always gets the full card width and never wraps early */
.find-jobs-wrapper .pill--premium {
    background: linear-gradient(135deg, #FFC85C 0%, #F5A623 100%);
    color: #5B3A00; font-weight: 600; letter-spacing: .05em; font-size: 10.5px;
}
.find-jobs-wrapper .pill--premium svg { width: 11px; height: 11px; fill: #5B3A00; stroke: none; }
.find-jobs-wrapper .job-card.active .pill--premium {
    background: linear-gradient(135deg, #FFC85C 0%, #F5A623 100%);
    color: #5B3A00;
}
.find-jobs-wrapper .job-card.active .pill--premium svg { fill: #5B3A00; stroke: none; }

/* ---- Right preview: lavender header block, white description ---- */
.find-jobs-wrapper .preview {
    border: 1px solid #E6EBF7;
    border-radius: 18px;
    padding: 14px;
    background: #FFFFFF;
}
.find-jobs-wrapper .pv-card {
    background: #F4F7FE;
    border: 1px solid #EAEFFB;
    border-radius: 14px;
    padding: 22px 26px 24px;
}
/* premium sits ABOVE the whole logo+title+company block, small */
.find-jobs-wrapper .pv-premium {
    display: inline-flex; align-items: center; gap: 5px;
    background: linear-gradient(135deg, #FFC85C 0%, #F5A623 100%); color: #5B3A00;
    border-radius: 999px; padding: 4px 10px;
    font-size: 10px; font-weight: 600; letter-spacing: .05em;
}
.find-jobs-wrapper .pv-premium--desk { margin-bottom: 14px; }
.find-jobs-wrapper .pv-premium--mob { display: none; }
.find-jobs-wrapper .pv-premium svg { width: 11px; height: 11px; fill: #5B3A00; display: block; flex: none; }
.find-jobs-wrapper .pv-head { display: flex; align-items: flex-start; gap: 16px; }
.find-jobs-wrapper .pv-head-top { display: contents; }   /* desktop: the logo sits inline in the flex head row */
.find-jobs-wrapper .pv-logo {
    flex: none; width: 50px; height: 50px; border-radius: 13px;
    background: #fff; border: 1px solid #EAEFFB;
    display: flex; align-items: center; justify-content: center;
    overflow: hidden;
}
.find-jobs-wrapper .pv-logo img { max-width: 100%; max-height: 100%; object-fit: contain; display: block; }
.find-jobs-wrapper .pv-titles { flex: 1; min-width: 0; }
.find-jobs-wrapper .pv-title { font-size: 24px; font-weight: 600; color: var(--fj-ink); letter-spacing: -0.3px; line-height: 1.18; overflow-wrap: anywhere; }
.find-jobs-wrapper .pv-company {
    font-size: 15px; font-weight: 600; color: var(--fj-blue); margin-top: 7px; overflow-wrap: anywhere;
    display: flex; align-items: center; flex-wrap: wrap; gap: 12px;
}
/* location chip — soft blue tint, sits after the company name */
.find-jobs-wrapper .pv-loc {
    display: inline-flex; align-items: center; gap: 6px;
    background: #E7EEFF; border-radius: 999px; padding: 6px 12px;
    font-size: 12.5px; font-weight: 500; color: #3D4657;
    min-width: 0; max-width: 100%; overflow-wrap: anywhere;
}
.find-jobs-wrapper .pv-loc svg { width: 13px; height: 13px; stroke: var(--fj-blue); flex: none; }

.find-jobs-wrapper .pv-meta {
    display: grid; grid-template-columns: repeat(3, 1fr);
    gap: 12px; margin-top: 24px;
}
.find-jobs-wrapper .pv-meta-item { display: flex; align-items: center; gap: 11px; min-width: 0; }
.find-jobs-wrapper .pv-meta-item > div { min-width: 0; }
.find-jobs-wrapper .pv-meta-icon { flex: none; width: 22px; height: 22px; }
.find-jobs-wrapper .pv-meta-icon svg { width: 22px; height: 22px; stroke: var(--fj-blue); }
.find-jobs-wrapper .pv-meta-label { font-size: 11.5px; font-weight: 500; color: var(--fj-muted-2); }
.find-jobs-wrapper .pv-meta-value { font-size: 13.5px; font-weight: 600; color: var(--fj-ink); margin-top: 2px; overflow-wrap: anywhere; }

.find-jobs-wrapper .pv-content {
    background: #fff;
    padding: 22px 18px 12px;
}
.find-jobs-wrapper .pv-h2 { font-size: 17px; font-weight: 600; color: var(--fj-blue); margin-bottom: 12px; }
/* the real description is raw feed / employer HTML — give it sane typography */
.find-jobs-wrapper .pv-desc-body,
.find-jobs-wrapper .pv-desc-body p,
.find-jobs-wrapper .pv-desc-body li {
    font-size: 14px; font-weight: 400; color: #3E444F; line-height: 1.7;
}
.find-jobs-wrapper .pv-desc-body p { margin: 0 0 12px; }
.find-jobs-wrapper .pv-desc-body ul,
.find-jobs-wrapper .pv-desc-body ol { padding-left: 20px; margin: 0 0 12px; }
.find-jobs-wrapper .pv-desc-body h1,
.find-jobs-wrapper .pv-desc-body h2,
.find-jobs-wrapper .pv-desc-body h3,
.find-jobs-wrapper .pv-desc-body h4,
.find-jobs-wrapper .pv-desc-body strong,
.find-jobs-wrapper .pv-desc-body b { font-size: 15px; font-weight: 600; color: var(--fj-ink); line-height: 1.4; }
.find-jobs-wrapper .pv-desc-body h1,
.find-jobs-wrapper .pv-desc-body h2,
.find-jobs-wrapper .pv-desc-body h3,
.find-jobs-wrapper .pv-desc-body h4 { margin: 18px 0 10px; }
.find-jobs-wrapper .pv-desc-body img { max-width: 100%; height: auto; }
.find-jobs-wrapper .pv-desc-body table { max-width: 100%; }

.find-jobs-wrapper .btn-apply {
    display: inline-flex; align-items: center; gap: 10px;
    background: var(--fj-blue); color: #fff; border: none;
    border-radius: 999px; height: 52px; padding: 0 34px;
    font-size: 16px; font-weight: 600; text-decoration: none;
    margin: 24px 0 4px;
}
.find-jobs-wrapper .btn-apply:hover { color: #fff; text-decoration: none; filter: brightness(1.05); }
.find-jobs-wrapper .btn-apply svg { width: 18px; height: 18px; stroke: #fff; }

/* ================= EMPTY STATE ================= */
.find-jobs-wrapper .fj-empty {
    text-align: center;
    padding: 60px 20px;
}
.find-jobs-wrapper .fj-empty h2 { font-size: 22px; font-weight: 600; color: var(--fj-ink); margin: 0 0 8px; }
.find-jobs-wrapper .fj-empty p { font-size: 14px; color: var(--fj-muted); margin: 0 0 20px; }
.find-jobs-wrapper .fj-empty .btn-back-search {
    display: inline-flex; align-items: center; gap: 8px;
    color: var(--fj-blue); font-size: 14px; font-weight: 600; text-decoration: none;
}
.find-jobs-wrapper .fj-empty .btn-back-search:hover { text-decoration: underline; color: var(--fj-blue); }

/* ================= CTA BANNER ================= */
/* 30px below the banner = the designer footer's margin-top (chrome footer has none) */
.find-jobs-wrapper .cta-wrap { margin-top: 46px; margin-bottom: 30px; }
.find-jobs-wrapper .bnr {
    position: relative; width: 100%;
    border-radius: 16px; overflow: hidden;
    background: linear-gradient(135deg, #2C4CEA 0%, #1E3CD8 100%);
    color: #fff;
    border: 1px solid rgba(255, 255, 255, 0.12);
}
.find-jobs-wrapper .bnr--left { display: grid; grid-template-columns: 0.95fr 1.05fr; align-items: stretch; min-height: 300px; }
.find-jobs-wrapper .bnr--left .media { position: relative; overflow: hidden; background: #11227A; }
.find-jobs-wrapper .bnr--left .media img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; display: block; max-width: 100%; }
.find-jobs-wrapper .bnr--left .media::after { content: ""; position: absolute; inset: 0; background: linear-gradient(270deg, rgba(30, 60, 216, 0.55) 0%, rgba(30, 60, 216, 0) 26%); }
.find-jobs-wrapper .bnr--left .body { padding: 40px 44px; display: flex; flex-direction: column; justify-content: center; align-items: center; min-width: 0; }
.find-jobs-wrapper .bnr--left .body__inner { display: flex; flex-direction: column; align-items: flex-start; text-align: left; width: max-content; max-width: 100%; }
.find-jobs-wrapper .bnr-badge {
    display: inline-flex; align-items: center; gap: 6px; align-self: flex-start;
    padding: 5px 11px; border-radius: 999px;
    font-size: 11px; font-weight: 600; line-height: 1; letter-spacing: 0.04em; text-transform: uppercase;
    margin-bottom: 11px; color: #fff;
    background: rgba(255, 255, 255, 0.14); border: 1px solid rgba(255, 255, 255, 0.26);
}
.find-jobs-wrapper .bnr-badge svg { width: 10px; height: 10px; }
.find-jobs-wrapper .bnr-title { margin: 0; font-size: 30px; font-weight: 600; line-height: 1.12; letter-spacing: -0.02em; color: #fff; }
.find-jobs-wrapper .bnr-subtitle { margin: 7px 0 0; font-size: 13.5px; line-height: 1.5; color: rgba(255, 255, 255, 0.84); max-width: 540px; }
.find-jobs-wrapper .bnr-divider { height: 1px; background: rgba(255, 255, 255, 0.22); margin: 22px 0; width: 100%; }
.find-jobs-wrapper .stats { display: flex; gap: 42px; }
.find-jobs-wrapper .stat__num { font-size: 28px; font-weight: 600; letter-spacing: -0.02em; line-height: 1; color: #fff; }
.find-jobs-wrapper .stat__label { margin-top: 5px; font-size: 11.5px; color: rgba(255, 255, 255, 0.80); }
.find-jobs-wrapper .bnr-btn {
    display: inline-flex; align-items: center; gap: 8px;
    height: 42px; padding: 0 20px; border-radius: 10px;
    font-family: inherit; font-size: 13px; font-weight: 600;
    cursor: pointer; text-decoration: none; white-space: nowrap;
    border: 1px solid transparent;
    margin-top: 26px; align-self: flex-start;
}
.find-jobs-wrapper .bnr-btn--primary { background: #fff; color: #1E44E6; box-shadow: 0 6px 16px rgba(8, 18, 60, 0.20); }
.find-jobs-wrapper .bnr-btn--primary:hover { background: #EFF3FF; color: #1E44E6; text-decoration: none; transform: translateY(-1px); box-shadow: 0 9px 22px rgba(8, 18, 60, 0.28); }
.find-jobs-wrapper .bnr-btn svg { width: 14px; height: 14px; }

/* ================= SEO content block ================= */
.find-jobs-wrapper .job-query-info-faq { max-width: 1240px; margin: 0 auto; padding: 30px 24px 0; }

/* ================= RESPONSIVE ================= */
/* desktop defaults for mobile-only elements */
.find-jobs-wrapper .search-actions { display: contents; }
.find-jobs-wrapper .sb-sort-wrap { display: none; }
.find-jobs-wrapper .pv-toggle { display: none; font-weight: 600; }

@media (max-width: 1100px) {
    .find-jobs-wrapper .grid { grid-template-columns: 340px 1fr; }
    /* worst case row is 9 items (‹ 1 … n-1 n n+1 … last ›) — compact pills keep it on one line */
    .find-jobs-wrapper .pagination { gap: 6px; }
    .find-jobs-wrapper .page-btn { min-width: 36px; height: 36px; padding: 0 10px; font-size: 13px; }
}

@media (max-width: 900px) {
    .find-jobs-wrapper .fj-container { padding: 0 16px; }

    /* hero */
    .find-jobs-wrapper .fj-hero { padding: 30px 0 64px; }
    .find-jobs-wrapper .fj-hero h1 { font-size: 22px; }
    .find-jobs-wrapper .fj-hero .sub { font-size: 12px; margin-top: 8px; }

    /* search: white card with stacked fields + action row (Search / filter / sort) */
    .find-jobs-wrapper .search-wrap { padding: 0 16px; margin-top: -40px; }
    .find-jobs-wrapper .search-bar { flex-direction: column; align-items: stretch; height: auto; overflow: visible; border-radius: 14px; padding: 4px 0 14px; }
    .find-jobs-wrapper .s-field { height: 54px; padding: 0 18px; }
    .find-jobs-wrapper .s-field.keyword, .find-jobs-wrapper .s-field.location { flex: none; }
    .find-jobs-wrapper .s-icon svg { width: 22px; height: 22px; }
    .find-jobs-wrapper .s-field input { font-size: 14.5px; }
    .find-jobs-wrapper .s-divider { width: auto; height: 1px; align-self: stretch; margin: 0 18px; }
    .find-jobs-wrapper .search-actions { display: flex; gap: 10px; padding: 8px 14px 0; }
    .find-jobs-wrapper .btn-search { flex: 1; border-radius: 10px; height: 48px; padding: 0; font-size: 14px; }
    .find-jobs-wrapper .sb-filter { width: 54px; height: 48px; border-radius: 10px; }
    .find-jobs-wrapper .sb-sort-wrap { display: block; }
    .find-jobs-wrapper .sb-sort {
        width: 54px; height: 48px; border-radius: 10px; border: none; cursor: pointer;
        background: #EEF2FE; display: flex; align-items: center; justify-content: center;
    }
    .find-jobs-wrapper .sb-sort svg { width: 20px; height: 20px; stroke: var(--fj-blue); }
    .find-jobs-wrapper .sb-sort.is-active { background: var(--fj-blue); }
    .find-jobs-wrapper .sb-sort.is-active svg { stroke: #fff; }
    .find-jobs-wrapper .filter-panel { padding: 18px 16px; border-radius: 14px; }
    .find-jobs-wrapper .filter-grid { grid-template-columns: 1fr; gap: 14px; }

    /* results row: centred count, desktop sort control hidden (sort lives in the search bar) */
    .find-jobs-wrapper .results-row { justify-content: center; padding: 24px 0 14px; }
    .find-jobs-wrapper .results-count { font-size: 13px; text-align: center; }
    .find-jobs-wrapper .sort-wrap { display: none; }

    /* single column: the preview flows inline right below the active card */
    .find-jobs-wrapper .grid { grid-template-columns: 1fr; }
    .find-jobs-wrapper .job-col { border: none; padding: 0; overflow: visible; height: auto !important; }
    .find-jobs-wrapper .preview { margin: 0 0 12px; }
    .find-jobs-wrapper .pv-card { padding: 18px 16px 20px; }
    /* mobile head redesign: logo + PREMIUM badge share the top row,
       the title and company get the full card width below them */
    .find-jobs-wrapper .pv-premium--desk { display: none; }
    .find-jobs-wrapper .pv-premium--mob { display: inline-flex; }
    .find-jobs-wrapper .pv-head { display: block; }
    .find-jobs-wrapper .pv-head-top {
        display: flex; align-items: center; justify-content: space-between;
        gap: 12px; margin-bottom: 14px;
    }
    .find-jobs-wrapper .pv-logo { width: 46px; height: 46px; border-radius: 12px; }
    .find-jobs-wrapper .pv-title { font-size: 20px; line-height: 1.25; }
    .find-jobs-wrapper .pv-company { font-size: 14.5px; gap: 10px; }
    .find-jobs-wrapper .pv-loc { font-size: 12px; }
    .find-jobs-wrapper .pv-meta { grid-template-columns: 1fr; gap: 16px; margin-top: 20px; }
    .find-jobs-wrapper .pv-content { padding: 18px 4px 8px; }

    /* collapsible description */
    .find-jobs-wrapper .pv-desc.is-collapsed { max-height: 560px; overflow: hidden; }
    .find-jobs-wrapper .pv-toggle {
        display: flex; align-items: center; justify-content: center; gap: 7px;
        width: 100%; margin-top: 14px; border: none; background: transparent;
        color: var(--fj-blue); font-family: inherit; font-size: 14px; font-weight: 600; cursor: pointer;
    }
    .find-jobs-wrapper .pv-toggle svg { width: 14px; height: 14px; stroke: var(--fj-blue); transition: transform .15s ease; }
    .find-jobs-wrapper .pv-toggle.is-open svg { transform: rotate(180deg); }
    /* apply matches the mobile Search button: 48px rounded rectangle */
    .find-jobs-wrapper .btn-apply { width: 100%; justify-content: center; margin-top: 16px; height: 48px; border-radius: 10px; font-size: 15px; }
    .find-jobs-wrapper .btn-apply svg { width: 16px; height: 16px; }

    .find-jobs-wrapper .pagination { margin-top: 20px; }

    /* CTA banner stacks: photo on top, body below */
    .find-jobs-wrapper .cta-wrap { margin-top: 34px; }
    .find-jobs-wrapper .bnr--left { grid-template-columns: 1fr; min-height: 0; }
    .find-jobs-wrapper .bnr--left .media { height: 210px; }
    .find-jobs-wrapper .bnr--left .body { padding: 26px 20px 30px; align-items: flex-start; }
    .find-jobs-wrapper .bnr--left .body__inner { width: 100%; max-width: 100%; }
    .find-jobs-wrapper .bnr-title { font-size: 24px; }
    .find-jobs-wrapper .bnr-subtitle { font-size: 12.5px; }
    .find-jobs-wrapper .bnr-divider { margin: 18px 0; }
    .find-jobs-wrapper .stats { gap: 28px; }
    .find-jobs-wrapper .stat__num { font-size: 22px; }
}

/* small phones: tightest pagination pills so the 9-item worst case stays on one line */
@media (max-width: 480px) {
    .find-jobs-wrapper .pagination { gap: 3px; }
    .find-jobs-wrapper .page-btn { min-width: 32px; height: 32px; padding: 0 8px; font-size: 12.5px; }
    .find-jobs-wrapper .page-ellipsis { padding: 0; font-size: 12.5px; }
}
