/* Talent Hunts redesign: job-search page styles. Generated by ci_pages.py. */
        .jb-sr { position: absolute !important; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0; }
        .pg-page .th-btn--outline { background: #fff; color: var(--th-green-700) !important; box-shadow: inset 0 0 0 2px var(--th-green-700); }
        .pg-page .th-btn--outline:hover { background: var(--th-green-50); }

        /* Page heading (no banner) */
        .jb-head { max-width: 1200px; margin: 0 auto; padding: 40px 24px 8px; }
        .jb-head--intro { padding-top: 40px; }
        .jb-head .pg-crumbs ol { color: var(--th-muted); }
        .jb-head .pg-crumbs li + li::before { color: var(--th-line); }
        .jb-head .pg-crumbs a { color: var(--th-green-700); }
        .pg-page .jb-head h1 { margin: 0 0 12px; color: var(--th-ink); font-size: 44px; line-height: 52px; font-weight: 800; }
        .jb-head__intro { max-width: 720px; margin: 0; font-size: 18px; line-height: 28px; color: var(--th-muted); }
        .jb-search {
            display: grid; grid-template-columns: minmax(0, 1.6fr) minmax(0, 1fr) auto; gap: 8px;
            margin: 0 0 24px; padding: 8px; border: 1px solid var(--th-line); border-radius: 8px; background: var(--th-surface-alt);
        }
        .jb-search__field { position: relative; display: flex; align-items: center; margin: 0; }
        .jb-search__field svg { position: absolute; left: 14px; width: 20px; height: 20px; fill: none; stroke: var(--th-muted); stroke-width: 2; stroke-linecap: round; pointer-events: none; }
        .jb-search__field input, .jb-search__field select {
            width: 100%; height: 48px; padding: 0 14px 0 44px;
            border: 1px solid var(--th-line); border-radius: 8px; background: #fff;
            font-family: "Inter", system-ui, sans-serif; font-size: 16px; color: var(--th-ink);
            -webkit-appearance: none; appearance: none;
        }
        .jb-search__field select {
            background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 12 12' fill='none' stroke='%2355635A' stroke-width='2'%3E%3Cpath d='M2 4l4 4 4-4'/%3E%3C/svg%3E");
            background-repeat: no-repeat; background-position: right 14px center; background-size: 12px;
        }
        .jb-search__field input:focus, .jb-search__field select:focus { outline: none; border-color: var(--th-green-700); background-color: #fff; }
        .jb-search .th-btn { height: 48px; border: 0; cursor: pointer; }
        .jb-filters__foot .th-btn, .jb-refine { border: 0; cursor: pointer; }

        /* Layout */
        .jb-body { padding: 32px 0 96px; background: #fff; }
        .jb-layout {
            max-width: 1200px; margin: 0 auto; padding: 0 24px;
            display: grid; grid-template-columns: 272px minmax(0, 1fr); gap: 40px; align-items: start;
        }

        /* Filters */
        .jb-filters {
            position: sticky; top: calc(var(--pg-header) + 24px);
            max-height: calc(100vh - var(--pg-header) - 48px); overflow-y: auto; overscroll-behavior: contain;
            border: 1px solid var(--th-line); border-radius: 8px; background: #fff;
            scrollbar-width: thin; scrollbar-color: var(--th-line) transparent;
        }
        .jb-filters__head { display: flex; align-items: center; justify-content: space-between; padding: 16px 20px 8px; }
        .jb-filters__title { margin: 0; font-size: 13px; line-height: 16px; font-weight: 600; letter-spacing: .08em; text-transform: uppercase; color: var(--th-green-700); }
        .jb-filters__close, .jb-filters__foot { display: none; }
        .jb-group { border-top: 1px solid var(--th-line); }
        .jb-group:first-of-type { border-top: 0; }
        .jb-group summary {
            position: relative; list-style: none; cursor: pointer;
            padding: 14px 44px 14px 20px;
            font-family: "Muli", "Mulish", sans-serif; font-size: 16px; line-height: 22px; font-weight: 800; color: var(--th-ink);
        }
        .jb-group summary::-webkit-details-marker { display: none; }
        .jb-group summary::after {
            content: ""; position: absolute; right: 20px; top: 50%; width: 12px; height: 12px; margin-top: -6px;
            background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 12 12' fill='none' stroke='%231F6B3E' stroke-width='2'%3E%3Cpath d='M2 4l4 4 4-4'/%3E%3C/svg%3E") center / 12px no-repeat;
            transition: transform .2s ease;
        }
        .jb-group[open] summary::after { transform: rotate(180deg); }
        .jb-group fieldset { margin: 0; padding: 0; border: 0; min-width: 0; }
        .jb-options { display: flex; flex-direction: column; padding: 0 8px 8px; }
        .jb-group.is-collapsed .jb-opt:nth-child(n+9) { display: none; }
        .jb-opt {
            position: relative; display: flex; align-items: center; gap: 10px;
            margin: 0; padding: 7px 12px; border-radius: 6px; cursor: pointer;
            font-size: 14px; line-height: 20px; font-weight: 400; color: var(--th-ink);
        }
        .jb-opt:hover { background: var(--th-surface-alt); }
        .jb-opt input { width: 16px; height: 16px; margin: 0; flex: none; accent-color: var(--th-green-700); }
        .jb-opt__name { flex: 1; min-width: 0; }
        .jb-opt__count { flex: none; min-width: 28px; padding: 1px 6px; border-radius: 4px; background: var(--th-surface-alt); font-size: 12px; font-weight: 600; text-align: center; color: var(--th-muted); font-variant-numeric: tabular-nums; }
        .jb-opt:has(input:checked) { background: var(--th-green-50); font-weight: 600; }
        .jb-opt:has(input:checked) .jb-opt__count { background: #fff; color: var(--th-green-700); }
        .jb-opt--static { cursor: default; }
        .jb-opt--static:hover { background: none; }
        .jb-more { margin: 0 20px 16px; padding: 0; border: 0; background: none; font-family: "Inter", system-ui, sans-serif; font-size: 14px; font-weight: 600; color: var(--th-green-700); text-decoration: underline; text-underline-offset: 3px; cursor: pointer; }

        /* Results */
        .jb-results { min-width: 0; }
        .jb-results__bar { display: flex; align-items: baseline; justify-content: space-between; gap: 16px; margin-bottom: 20px; }
        .jb-results__count { margin: 0; font-size: 16px; color: var(--th-muted); }
        .jb-results__count strong { color: var(--th-ink); font-weight: 700; }
        .jb-results__cv { font-size: 15px; font-weight: 600; color: var(--th-green-700) !important; }
        .jb-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 20px; }
        .jb-card {
            display: flex; flex-direction: column; min-width: 0;
            padding: 20px; border: 1px solid var(--th-line); border-radius: 8px; background: #fff;
            transition: border-color .2s ease;
        }
        .jb-card:hover { border-color: var(--th-green-700); }
        .jb-card__date { margin: 0 0 8px; font-size: 13px; line-height: 18px; color: var(--th-muted); }
        .pg-page .jb-card__title {
            margin: 0 0 16px; font-size: 18px; line-height: 25px; font-weight: 800;
            /* room for 5 lines so the divider below lines up on every card */
            min-height: calc(25px * 5);
        }
        @media (max-width: 575px) { .pg-page .jb-card__title { min-height: 0; } }
        .jb-card__excerpt { padding-top: 16px; border-top: 1px solid var(--th-line); }
        .jb-card__title a { color: var(--th-ink) !important; text-decoration: none; }
        .jb-card__title a:hover { color: var(--th-green-700) !important; text-decoration: underline; text-underline-offset: 3px; }
        .jb-card__meta { display: grid; gap: 6px; margin: 0 0 16px; padding: 12px 0; border-top: 1px solid var(--th-line); border-bottom: 1px solid var(--th-line); }
        .jb-card__meta div { display: grid; grid-template-columns: 76px minmax(0, 1fr); gap: 8px; align-items: baseline; }
        .jb-card__meta dt { margin: 0; font-size: 12px; line-height: 20px; font-weight: 600; letter-spacing: .04em; text-transform: uppercase; color: var(--th-muted); }
        .jb-card__meta dd { margin: 0; font-size: 14px; line-height: 20px; font-weight: 600; color: var(--th-ink); overflow-wrap: break-word; hyphens: auto; }
        .jb-card__excerpt {
            display: -webkit-box; overflow: hidden; margin: 0 0 20px;
            font-size: 14px; line-height: 22px; color: var(--th-muted);
            -webkit-box-orient: vertical; -webkit-line-clamp: 4;
        }
        .jb-card__actions { display: grid; grid-template-columns: 1fr 1fr; gap: 8px; margin-top: auto; }
        .jb-card__actions .th-btn { height: 42px; padding: 0 12px; font-size: 14px; }

        /* Pagination */
        .jb-pag { margin: 40px 0 0; }
        .jb-pag ol { display: flex; flex-wrap: wrap; justify-content: center; gap: 6px; margin: 0; padding: 0; list-style: none; }
        .jb-pag a, .jb-pag__gap {
            display: flex; align-items: center; justify-content: center; min-width: 44px; height: 44px; padding: 0 12px;
            border: 1px solid var(--th-line); border-radius: 8px;
            font-size: 15px; font-weight: 600; color: var(--th-ink) !important; text-decoration: none;
        }
        .jb-pag a:hover { border-color: var(--th-green-700); color: var(--th-green-700) !important; }
        .jb-pag a[aria-current="page"] { background: var(--th-green-700); border-color: var(--th-green-700); color: #fff !important; }
        .jb-pag__gap { border-color: transparent; color: var(--th-muted); }
        .jb-pag__next { gap: 6px; }

        /* Submit-CV band */
        .jb-cv {
            display: flex; align-items: center; justify-content: space-between; gap: 24px; flex-wrap: wrap;
            margin-top: 48px; padding: 32px; border-radius: 16px; background: var(--th-green);
        }
        .pg-page .jb-cv h2 { margin: 0 0 6px; color: #fff; font-size: 24px; line-height: 32px; font-weight: 800; }
        .jb-cv p { margin: 0; max-width: 560px; font-size: 16px; line-height: 24px; font-weight: 500; color: #fff; }

        /* Phones: "Refine search" button opens the filters as a panel */
        .jb-refine {
            position: fixed; left: 16px; right: 16px; bottom: 16px; z-index: 950;
            display: none; align-items: center; justify-content: center; gap: 8px; height: 52px;
            border: 0; border-radius: 8px; background: var(--th-green-900); color: #fff;
            font-family: "Inter", system-ui, sans-serif; font-size: 16px; font-weight: 600;
            box-shadow: 0 8px 24px rgba(15, 61, 36, .3); cursor: pointer;
        }
        .jb-refine svg, .jb-filters__close svg { width: 20px; height: 20px; fill: none; stroke: currentColor; stroke-width: 2; stroke-linecap: round; }

        @media (max-width: 991px) { .pg-page .jb-head h1 { font-size: 36px; line-height: 44px; } }
        @media (max-width: 1199px) {
            .jb-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
        }
        @media (max-width: 991px) {
            .jb-layout { grid-template-columns: 1fr; }
            .jb-refine { display: flex; }
            .jb-filters {
                position: fixed; inset: 0; z-index: 1100; max-height: none; border: 0; border-radius: 0;
                display: flex; flex-direction: column; overflow: hidden;
                transform: translateY(100%); visibility: hidden; transition: transform .25s ease, visibility 0s linear .25s;
            }
            .jb-filters.is-open { transform: none; visibility: visible; transition: transform .25s ease; }
            .jb-filters__head { padding: 16px 20px; border-bottom: 1px solid var(--th-line); }
            .jb-filters__close { display: flex; align-items: center; justify-content: center; width: 44px; height: 44px; margin: -10px -10px -10px 0; border: 0; border-radius: 8px; background: none; color: var(--th-ink); cursor: pointer; }
            .jb-filters > details { flex: none; }
            .jb-filters { overflow-y: auto; }
            .jb-filters__foot { display: block; position: sticky; bottom: 0; margin-top: auto; padding: 12px 20px 20px; background: #fff; border-top: 1px solid var(--th-line); }
            .jb-filters__foot .th-btn { width: 100%; }
            body.jb-filters-open { overflow: hidden; }
            .jb-body { padding-bottom: 120px; }
        }
        @media (max-width: 767px) {
            .jb-head { padding: 28px 16px 0; }
            .pg-page .jb-head h1 { font-size: 32px; line-height: 40px; }
            .jb-head__intro { font-size: 16px; line-height: 24px; }
            .jb-search { grid-template-columns: 1fr; }
            .jb-layout { padding: 0 16px; }
            .jb-grid { grid-template-columns: 1fr; }
            .jb-results__bar { flex-direction: column; gap: 4px; }
            .jb-cv { padding: 28px 20px; border-radius: 8px; }
            .jb-cv .th-btn { width: 100%; }
        }
    
        .jb-none, .ar-none { grid-column: 1 / -1; margin: 0; padding: 32px; border: 1px dashed var(--th-line); border-radius: 8px; color: var(--th-muted); }
