/* ============================================================================
   "JobHive" classic job-board theme (revertible). Scoped to body.jobboard.
   Toggle: SiteSettings jobboard_theme = "true".
   ============================================================================ */
body.jobboard { background: #f4f6fb; }
body.jobboard .sp-crumb, body.jobboard .td-cathead, body.jobboard .sp-results-head { display: none; }
body.jobboard .sp-wrap { max-width: 1280px; margin: 0 auto; padding: 0 16px 30px; }
/* Browse mode (landing): full-width card list, sidebar hidden. */
body.jobboard .sp-side { display: none; }   /* jobs never show the filter sidebar (1.png 2026-09-15) */
body.jobboard .sp-grid { display: block; }
/* Search mode (results): two-column with the filter sidebar; cards fit the column. */
.jb-page-head { background: #fff; border-bottom: 1px solid #e7e9f2; padding: 24px 0; }
.jb-page-head .jb-wrap { max-width: 1280px; margin: 0 auto; padding: 0 16px; }
.jb-page-h { font-size: 28px; font-weight: 800; color: #0f172a; margin: 0; }
.jb-page-sub { font-size: 14px; color: #64748b; margin: 4px 0 0; }
.jb-col-head { display: flex; align-items: center; justify-content: space-between; margin-bottom: 14px; }
.jb-col-count { font-size: 14px; color: #475569; font-weight: 600; }

/* ---- Header ---- */
.jb-header { background: #fff; border-bottom: 1px solid #e7e9f2; }
.jb-wrap { max-width: 1280px; margin: 0 auto; padding: 0 16px; }
.jb-header-row { display: flex; align-items: center; gap: 34px; height: 64px; }
.jb-logo { display: flex; align-items: center; gap: 10px; font-size: 20px; font-weight: 800; color: #0f172a; text-decoration: none; letter-spacing: -.3px; }
.jb-logo-ic { display: inline-flex; align-items: center; justify-content: center; width: 30px; height: 30px; border-radius: 8px; background: #2b50ec; color: #fff; font-size: 12px; font-weight: 800; }
.jb-nav { display: flex; gap: 24px; }
.jb-nav a { color: #334155; font-size: 15px; font-weight: 600; text-decoration: none; }
.jb-nav a:hover { color: #2b50ec; }
.jb-actions { margin-left: auto; display: flex; align-items: center; gap: 18px; }
.jb-signin { color: #0f172a; font-weight: 600; font-size: 15px; text-decoration: none; }
.jb-post-btn { background: #2b50ec; color: #fff; font-weight: 700; font-size: 15px; padding: 10px 20px; border-radius: 9px; text-decoration: none; }
.jb-post-btn:hover { background: #1e3fd0; }

/* ---- Hero ---- */
/* Day photo behind the brand-blue overlay; fixed-height layer = no shift when the
   hero grows (filters/responsive). */
.jb-hero { position: relative; overflow: hidden; background: #eef2f7; }
.jb-hero::before { content: ''; position: absolute; top: 0; left: 0; right: 0; height: 470px;
  background-image: linear-gradient(rgba(255,255,255,.14), rgba(248,250,252,.42)), url('/uploads/jb-hero-day2.jpg');
  background-size: cover; background-position: center bottom; z-index: 0; }
.jb-hero-inner { position: relative; z-index: 1; }
.jb-hero-inner { max-width: 1280px; margin: 0 auto; padding: 26px 16px 30px; }
.jb-hero-h { font-size: 42px; font-weight: 800; color: #0f172a; margin: 0 0 8px; letter-spacing: -1px; }
.jb-hero-sub { color: #334155; font-size: 16px; margin: 0 0 20px; }
.jb-feature-pills { display: flex; gap: 12px; margin-bottom: 22px; flex-wrap: wrap; }
.jb-fpill { color: #1e293b; font-size: 13px; font-weight: 600; background: rgba(255,255,255,.75); border: 1px solid rgba(15,23,42,.12); padding: 7px 16px; border-radius: 999px; }
.jb-search { background: #fff; border-radius: 14px; padding: 16px; box-shadow: 0 20px 50px rgba(9,14,40,.28); }
.jb-search-row { display: flex; gap: 10px; align-items: stretch; }
.jb-in { position: relative; display: flex; align-items: center; flex: 1; }
.jb-in-title { flex: 1.5; }
.jb-in .jb-ic { position: absolute; left: 15px; width: 18px; height: 18px; opacity: .55; pointer-events: none; background-repeat: no-repeat; background-position: center; background-size: contain; }
.jb-ic-search { background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23334155' stroke-width='2' stroke-linecap='round'%3E%3Ccircle cx='11' cy='11' r='7'/%3E%3Cline x1='21' y1='21' x2='16.65' y2='16.65'/%3E%3C/svg%3E"); }
.jb-ic-pin { background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23334155' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M21 10c0 7-9 12-9 12s-9-5-9-12a9 9 0 0 1 18 0z'/%3E%3Ccircle cx='12' cy='10' r='3'/%3E%3C/svg%3E"); }
.jb-s-title, .jb-s-loc { width: 100%; height: 52px; border: 1px solid #e2e8f0; border-radius: 10px; padding: 0 16px 0 44px; font-size: 15px; background: #fff; box-sizing: border-box; }
.jb-s-title:focus, .jb-s-loc:focus, .jb-s-sel:focus { outline: none; border-color: #2b50ec; box-shadow: 0 0 0 3px rgba(43,80,236,.12); }
.jb-s-btn { border: none; border-radius: 10px; background: #2b50ec; color: #fff; font-weight: 700; font-size: 15px; padding: 0 30px; cursor: pointer; white-space: nowrap; }
.jb-s-btn:hover { background: #1e3fd0; }
.jb-search-filters { display: flex; gap: 10px; margin-top: 12px; }
.jb-selwrap { position: relative; flex: 1; }
.jb-selwrap::before { content: ""; position: absolute; left: 15px; top: 50%; transform: translateY(-50%); width: 18px; height: 18px; opacity: .55; background-repeat: no-repeat; background-position: center; background-size: contain; pointer-events: none; }
.jb-sel-job::before { background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23334155' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Crect x='2' y='7' width='20' height='14' rx='2'/%3E%3Cpath d='M16 7V5a2 2 0 0 0-2-2h-4a2 2 0 0 0-2 2v2'/%3E%3C/svg%3E"); }
.jb-sel-sal::before { background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23334155' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M16 6.2A3.6 3.6 0 0 0 9.5 7.5V17c0 1.2-1.5 2-3.5 2h11.5'/%3E%3Cpath d='M6.5 12h7'/%3E%3C/svg%3E"); }
.jb-sel-dist::before { background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23334155' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M4 15s1-1 4-1 5 2 8 2 4-1 4-1V3s-1 1-4 1-5-2-8-2-4 1-4 1z'/%3E%3Cline x1='4' y1='22' x2='4' y2='15'/%3E%3C/svg%3E"); }
.jb-s-sel { width: 100%; height: 48px; border: 1px solid #e2e8f0; border-radius: 10px; padding: 0 34px 0 44px; font-size: 14px; background-color: #fff; color: #0f172a;
    appearance: none; -webkit-appearance: none;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16'%3E%3Cpath fill='none' stroke='%23666' stroke-width='1.5' stroke-linecap='round' stroke-linejoin='round' d='M3 6l5 5 5-5'/%3E%3C/svg%3E"); background-repeat: no-repeat; background-position: right 12px center; background-size: 12px; }
.jb-trending { margin-top: 22px; color: #334155; font-size: 14px; display: flex; gap: 12px; flex-wrap: wrap; align-items: center; }
.jb-trending span { font-weight: 600; }
.jb-trending a { color: #1e293b; text-decoration: none; background: rgba(255,255,255,.75); padding: 6px 14px; border-radius: 999px; font-weight: 600; }
.jb-trending a:hover { background: rgba(255,255,255,.95); }

/* ---- Browse by sector ---- */
.jb-sectors-wrap { max-width: 1280px; margin: 34px auto 6px; padding: 0 16px; }
.jb-sectors-head { display: flex; align-items: flex-end; justify-content: space-between; margin-bottom: 16px; }
.jb-sec-h { font-size: 24px; font-weight: 800; color: #0f172a; margin: 0; }
.jb-sec-sub { font-size: 14px; color: #64748b; margin: 4px 0 0; }
.jb-sec-all { color: #2b50ec; font-weight: 700; font-size: 14px; text-decoration: none; white-space: nowrap; }
.jb-sectors { display: grid; grid-template-columns: repeat(4, 1fr); gap: 14px; }
@media (max-width: 900px) { .jb-sectors { grid-template-columns: repeat(2, 1fr); } }
.jb-sector { display: flex; flex-direction: column; gap: 8px; background: #fff; border: 1px solid #e7e9f2; border-radius: 12px; padding: 18px; text-decoration: none; transition: box-shadow .15s, border-color .15s; }
.jb-sector:hover { box-shadow: 0 8px 22px rgba(15,23,42,.08); border-color: #cdd6f5; }
.jb-sector-ic { width: 40px; height: 40px; border-radius: 10px; display: flex; align-items: center; justify-content: center; color: #fff; font-weight: 800; font-size: 16px; }
.jb-sector-nm { font-size: 15px; font-weight: 700; color: #0f172a; }
.jb-sector-ct { font-size: 13px; color: #64748b; }

/* ---- Results header ---- */
.jb-results-head { max-width: 1280px; margin: 30px auto 8px; padding: 0 16px; display: flex; align-items: flex-end; justify-content: space-between; }
.jb-rh-title { font-size: 24px; font-weight: 800; color: #0f172a; margin: 0; }
.jb-rh-sub { font-size: 13px; color: #64748b; margin-top: 2px; }
.jb-sortsel { height: 40px; border: 1px solid #e2e8f0; border-radius: 9px; padding: 0 14px; font-size: 14px; background: #fff; color: #0f172a; }

/* ---- Job cards ---- */
body.jobboard .jb-list { max-width: 1280px; margin: 0 auto; padding: 8px 0 0; display: flex; flex-direction: column; gap: 14px; }   /* 9.png: same edges as the sector grid (the wrapper already pads 16px) */
.jb-card { display: flex; align-items: flex-start; gap: 16px; background: #fff; border: 1px solid #e7e9f2; border-radius: 14px; padding: 20px 22px; text-decoration: none; color: inherit; transition: box-shadow .15s, border-color .15s; }
.jb-card:hover { box-shadow: 0 10px 28px rgba(15,23,42,.10); border-color: #cdd6f5; }
.jb-card-feat { border-left: 4px solid #2b50ec; }
.jb-avatar { flex: 0 0 auto; width: 48px; height: 48px; border-radius: 11px; display: flex; align-items: center; justify-content: center; color: #fff; font-weight: 800; font-size: 19px; }
.jb-c0 { background: #2b50ec; } .jb-c1 { background: #0ea5e9; } .jb-c2 { background: #8b5cf6; }
.jb-c3 { background: #ef4444; } .jb-c4 { background: #10b981; } .jb-c5 { background: #f59e0b; }
.jb-card-main { flex: 1; min-width: 0; }
.jb-card-title { font-size: 18px; font-weight: 700; color: #0f172a; }
.jb-card-company { font-size: 14px; color: #64748b; margin: 3px 0 8px; }
.jb-card-desc { font-size: 14px; color: #475569; line-height: 1.5; margin-bottom: 12px; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }
.jb-card-badges { display: flex; flex-wrap: wrap; gap: 8px; }
.jb-badge { display: inline-flex; align-items: center; gap: 5px; font-size: 12px; font-weight: 600; color: #475569; background: #f1f5f9; padding: 5px 11px; border-radius: 7px; }
.jb-badge-sal { background: #ecfdf5; color: #059669; font-weight: 700; }
.jb-badge-remote { background: #eff6ff; color: #2563eb; }
.jb-badge-loc { background: #f8fafc; color: #475569; }
.jb-badge-cat { background: #f5f3ff; color: #7c3aed; }
.jb-bic { width: 13px; height: 13px; background-repeat: no-repeat; background-position: center; background-size: contain; display: inline-block; }
.jb-bic-dollar { background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23059669' stroke-width='2.2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M16 6.2A3.6 3.6 0 0 0 9.5 7.5V17c0 1.2-1.5 2-3.5 2h11.5'/%3E%3Cpath d='M6.5 12h7'/%3E%3C/svg%3E"); }
.jb-bic-pin { background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23475569' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M21 10c0 7-9 12-9 12s-9-5-9-12a9 9 0 0 1 18 0z'/%3E%3Ccircle cx='12' cy='10' r='3'/%3E%3C/svg%3E"); }
.jb-card-right { flex: 0 0 auto; display: flex; flex-direction: column; align-items: flex-end; justify-content: space-between; align-self: stretch; gap: 12px; min-height: 84px; }
.jb-bookmark { width: 20px; height: 20px; opacity: .4; background-repeat: no-repeat; background-position: center;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%2364748b' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M19 21l-7-5-7 5V5a2 2 0 0 1 2-2h10a2 2 0 0 1 2 2z'/%3E%3C/svg%3E"); }
.jb-card-ago { font-size: 12px; color: #94a3b8; white-space: nowrap; margin-top: auto; }
.jb-card-btns { display: flex; gap: 8px; }
.jb-details { border: 1px solid #d1d5db; color: #334155; font-weight: 600; font-size: 13px; padding: 8px 15px; border-radius: 8px; background: #fff; }
.jb-apply { background: #2b50ec; color: #fff; font-weight: 700; font-size: 13px; padding: 8px 16px; border-radius: 8px; }
.jb-card:hover .jb-apply { background: #1e3fd0; }
@media (max-width: 720px) { .jb-card { flex-wrap: wrap; } .jb-card-right { align-self: flex-start; width: 100%; flex-direction: row; align-items: center; min-height: 0; } .jb-hero-h { font-size: 30px; } .jb-search-row { flex-direction: column; } .jb-sectors { grid-template-columns: 1fr; } }


/* 5.png: compact + responsive hero search, pay From-To dropdowns */
.jb-feature-pills { margin-bottom: 14px; }
.jb-search-row { flex-wrap: wrap; }
.jb-search-filters { flex-wrap: wrap; }
.jb-payrange { display: flex; align-items: center; gap: 8px; flex: 1.4; min-width: 240px; }
.jb-payrange .jb-pay-sel { flex: 1; }
.jb-payrange .jb-pay-sel:disabled { background: #f1f5f9; color: #94a3b8; cursor: not-allowed; opacity: 1; }
.jb-payrange.jb-payrange-off { opacity: .85; }
.jb-payrange .jb-pay-sel { padding-left: 14px; }
.jb-payrange .jb-pay-sel { background-image: none; }
.jb-payrange-sep { color: #64748b; font-size: 13px; font-weight: 600; flex: 0 0 auto; }
@media (max-width: 860px) {
  .jb-search-row { flex-direction: column; }
  .jb-in, .jb-s-btn { width: 100%; }
  .jb-selwrap, .jb-payrange { flex: 1 1 100%; min-width: 0; }
}


/* 1.png: distance in row 1, Search button in row 2, aligned From-To */
.jb-search-row .jb-in-title { flex: 2; }
.jb-search-row .jb-in-loc { flex: 1.4; }
.jb-search-row .jb-sel-dist { flex: 1; }
.jb-search-row .jb-s-sel { height: 52px; }
.jb-search-filters { align-items: stretch; }
.jb-search-filters .jb-selwrap, .jb-search-filters .jb-payrange { flex: 1; }
.jb-search-filters .jb-payrange { flex: 1.6; }
.jb-search-filters .jb-s-btn { flex: 0 0 auto; height: 48px; }


/* jobs hero location autosuggest */
.jb-in-loc { position: relative; }
.jb-loc-suggest { position: absolute; top: calc(100% + 6px); left: 0; right: 0; background: #fff; border: 1px solid #e2e8f0; border-radius: 10px; box-shadow: 0 14px 34px rgba(9,14,40,.20); z-index: 60; max-height: 330px; overflow-y: auto; text-align: left; }
.jb-loc-item { display: flex; justify-content: space-between; align-items: center; gap: 10px; padding: 9px 14px; cursor: pointer; font-size: 14px; border-bottom: 1px solid #f1f5f9; }
.jb-loc-item:last-child { border-bottom: none; }
.jb-loc-item:hover, .jb-loc-item.jb-loc-on { background: #eff2fb; }
.jb-loc-nm { color: #0f172a; font-weight: 500; }
.jb-loc-sub { color: #94a3b8; font-size: 12px; flex: 0 0 auto; }

/* Jobs hero: job type checkbox panel (1.png 2026-09-15) */
.jb-jt { position: relative; }
.jb-jt-btn { text-align: left; cursor: pointer; width: 100%; }
.jb-jt-btn::after { content: ""; position: absolute; right: 16px; top: 50%; width: 8px; height: 8px; border-right: 2px solid #334155; border-bottom: 2px solid #334155; transform: translateY(-70%) rotate(45deg); }
.jb-jt-pop { position: fixed; z-index: 1000; min-width: 300px; background: #fff; border: 1px solid #dfe3ea; border-radius: 12px; box-shadow: 0 12px 32px rgba(15, 23, 42, .14); padding: 12px 14px; display: grid; grid-template-columns: repeat(3, auto); gap: 6px 22px; }
.jb-jt-group { min-width: 120px; }
.jb-jt-h { font-size: 12px; font-weight: 700; color: #64748b; text-transform: uppercase; letter-spacing: .04em; margin: 4px 0 6px; }
.jb-jt-opt { display: flex; align-items: center; gap: 8px; padding: 5px 0; font-size: 14px; color: #1f2937; cursor: pointer; white-space: nowrap; }
.jb-jt-opt input { width: 16px; height: 16px; accent-color: #2563eb; }
.jb-jt-foot { grid-column: 1 / -1; display: flex; justify-content: space-between; align-items: center; margin-top: 6px; padding-top: 8px; border-top: 1px solid #eef0f4; }
.jb-jt-clear { background: none; border: 0; color: #64748b; font-size: 13px; cursor: pointer; padding: 6px 4px; }
.jb-jt-done { background: #2563eb; color: #fff; border: 0; border-radius: 8px; padding: 7px 16px; font-weight: 600; cursor: pointer; }
@media (max-width: 720px) { .jb-jt-pop { grid-template-columns: 1fr; min-width: min(320px, calc(100vw - 16px)); max-width: calc(100vw - 16px); box-sizing: border-box; } .jb-jt-opt { white-space: normal; } }
.jb-jt-pop[hidden] { display: none; }

/* hero filters stack on phones (9.png responsive pass, 2026-09-15): beats the desktop flex rules above */
@media (max-width: 860px) {
  .jb-search-filters .jb-selwrap, .jb-search-filters .jb-payrange, .jb-search-filters .jb-s-btn { flex: 1 1 100%; min-width: 0; width: 100%; }
  .jb-search-filters .jb-payrange { display: flex; }
  .jb-jt-btn { white-space: nowrap; overflow: hidden; text-overflow: ellipsis; padding-right: 36px; }
}
/* all-sectors view (2.png 2026-09-15) */
.jb-sectors-all { margin-bottom: 44px; }
.jb-sector-empty .jb-sector-ct { color: #94a3b8; }
.jb-sector-empty .jb-sector-ic { opacity: .75; }

/* ---- Reed / Jobsite style results (UK 2026-09-24) ---- */
body.jobboard .sp-grid.jb-grid-side { display: grid; grid-template-columns: 270px minmax(0, 1fr); gap: 24px; max-width: 1280px; margin: 24px auto 0; padding: 0 16px; align-items: start; }
body.jobboard .jb-grid-side .jb-list { padding-top: 0; }
.jb-side { position: static; align-self: start; }
.jb-side-form { background: #fff; border: 1px solid #e5e7eb; border-radius: 14px; padding: 16px; }
.jb-side-head { display: flex; justify-content: space-between; align-items: center; margin-bottom: 6px; }
.jb-side-head h3 { font-size: 1.05rem; font-weight: 800; margin: 0; color: #0f172a; }
.jb-side-head a { font-size: .85rem; color: #2563eb; text-decoration: none; }
.jb-side-sec { border-top: 1px solid #f1f5f9; padding: 12px 0 6px; }
.jb-side-h { font-size: .8rem; font-weight: 700; text-transform: uppercase; letter-spacing: .04em; color: #64748b; margin-bottom: 8px; }
.jb-side-sel { width: 100%; padding: 9px 10px; border: 1px solid #d1d5db; border-radius: 10px; background: #fff; font-size: .92rem; }
.jb-side-opt { display: flex; align-items: center; gap: 8px; padding: 4px 0; font-size: .93rem; color: #1f2937; cursor: pointer; }
.jb-side-opt input { width: 16px; height: 16px; accent-color: #2563eb; }
.jb-side-apply { width: 100%; margin: 10px 0 4px; padding: 10px; border: 0; border-radius: 10px; background: #2563eb; color: #fff; font-weight: 700; cursor: pointer; }
.jb-side-link { display: flex; justify-content: space-between; padding: 5px 0; font-size: .9rem; color: #1f2937; text-decoration: none; }
.jb-side-link b { color: #64748b; font-weight: 600; }
.jb-side-link:hover, .jb-side-link-on { color: #2563eb; }
.jb-rhead { display: flex; justify-content: space-between; align-items: flex-end; gap: 12px; margin-bottom: 10px; }
.jb-rhead .jb-rh-title { font-size: 1.45rem; font-weight: 800; margin: 0; color: #0f172a; }
.jb-rhead .jb-rh-sub { color: #475569; font-size: .92rem; margin-top: 2px; }
.jb-sortwrap { display: flex; align-items: center; gap: 8px; font-size: .88rem; color: #475569; white-space: nowrap; }
.jb-chips { display: flex; flex-wrap: wrap; gap: 8px; margin: 0 0 14px; }
.jb-chip { display: inline-flex; align-items: center; gap: 6px; padding: 5px 12px; border-radius: 999px; background: #eff6ff; color: #1d4ed8; font-size: .85rem; font-weight: 600; text-decoration: none; border: 1px solid #bfdbfe; }
.jb-chip span { font-size: 1.05rem; line-height: 1; }
.jb-chip-clear { align-self: center; font-size: .85rem; color: #64748b; }
.jb-empty { background: #fff; border: 1px solid #e5e7eb; border-radius: 14px; padding: 36px 28px; text-align: center; color: #334155; }
.jb-empty-ic { display: inline-flex; width: 56px; height: 56px; border-radius: 50%; background: #eff6ff; align-items: center; justify-content: center; margin-bottom: 10px; }
.jb-empty h3 { font-size: 1.25rem; font-weight: 800; margin: 4px 0 6px; color: #0f172a; }
.jb-empty ul { display: inline-block; text-align: left; margin: 8px 0 18px; padding-left: 18px; line-height: 1.8; list-style: disc; }
.jb-empty-btns { display: flex; gap: 10px; justify-content: center; flex-wrap: wrap; }
.jb-empty-btn { padding: 10px 16px; border-radius: 10px; background: #2563eb; color: #fff; font-weight: 700; text-decoration: none; }
.jb-empty-btn2 { background: #fff; color: #2563eb; border: 1px solid #2563eb; }
@media (max-width: 900px) {
  body.jobboard .sp-grid.jb-grid-side { grid-template-columns: 1fr; }
  .jb-side { position: static; }
  .jb-rhead { flex-direction: column; align-items: flex-start; }
}

.jb-side-sum { display: none; }
@media (max-width: 900px) {
  .jb-side-sum { display: flex; align-items: center; justify-content: center; gap: 8px; list-style: none; cursor: pointer; padding: 11px; border: 1px solid #2563eb; border-radius: 10px; color: #2563eb; font-weight: 700; background: #fff; margin-bottom: 10px; }
  .jb-side-sum::-webkit-details-marker { display: none; }
  .jb-side-det[open] .jb-side-sum { background: #eff6ff; }
}

/* Reed style search panel: one row, the button sits at the end (UK 2026-09-24) */
.jb-search-row .jb-s-btn { flex: 0 0 auto; height: 52px; }

/* job title suggestions (UK 2026-09-24) */
.jb-in-title { position: relative; }
.jb-sug { position: fixed; background: #fff; border: 1px solid #e5e7eb; border-radius: 12px; box-shadow: 0 12px 30px rgba(15,23,42,.14); z-index: 60; overflow: hidden; }
.jb-sug-i { padding: 10px 14px; font-size: .95rem; color: #1f2937; cursor: pointer; display: flex; justify-content: space-between; align-items: baseline; gap: 12px; }
.jb-sug-sec { font-size: .78rem; color: #94a3b8; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; max-width: 45%; }
.jb-sug-i b { font-weight: 800; color: #0f172a; }
.jb-sug-i:hover, .jb-sug-on { background: #eff6ff; }

/* ---- Reed style job card (10.png, UK 2026-09-24) ---- */
body.jobboard .jb-card { position: relative; display: flex; gap: 20px; align-items: flex-start; background: #fff; border: 1px solid #e5e7eb; border-radius: 14px; padding: 22px 24px; }
body.jobboard .jb-card:hover { border-color: #c7d2fe; box-shadow: 0 6px 20px rgba(15, 23, 42, .07); }
body.jobboard .jb-card-feat { border-left: 4px solid #2563eb; }
.jb-cover { position: absolute; inset: 0; z-index: 1; border-radius: 14px; }
.jb-card-main { flex: 1; min-width: 0; }
.jb-tag { display: inline-block; font-size: .78rem; color: #475569; background: #f1f5f9; border-radius: 6px; padding: 3px 9px; margin-bottom: 8px; }
.jb-card-title { font-size: 1.35rem; font-weight: 800; color: #0f172a; margin: 0 0 4px; line-height: 1.25; }
.jb-card:hover .jb-card-title { color: #1d4ed8; text-decoration: underline; }
.jb-card-by { font-size: .92rem; color: #475569; margin-bottom: 12px; }
.jb-card-by b { color: #1d4ed8; font-weight: 600; }
.jb-facts { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 8px 24px; margin-bottom: 10px; max-width: 620px; }
.jb-fact { display: flex; align-items: center; gap: 9px; font-size: .97rem; color: #1f2937; min-width: 0; }
.jb-fic { font-style: normal; width: 16px; text-align: center; color: #334155; font-weight: 600; }
.jb-fsvg { width: 15px; height: 15px; flex: 0 0 15px; color: #334155; }
.jb-card-desc { font-size: .93rem; color: #475569; margin: 4px 0 0; line-height: 1.5; }
.jb-card-side { position: relative; z-index: 2; display: flex; flex-direction: column; align-items: flex-end; gap: 14px; flex: 0 0 auto; }
.jb-fav-form { margin: 0; }
.jb-fav { width: 38px; height: 38px; border-radius: 50%; border: 0; background: transparent; display: inline-flex; align-items: center; justify-content: center; cursor: pointer; color: #0f172a; }
.jb-fav.on { color: #e11d48; }
.jb-logo { width: 150px; height: 70px; border: 1px solid #e5e7eb; border-radius: 10px; display: flex; align-items: center; justify-content: center; padding: 8px; background: #fff; }
.jb-logo img { max-width: 100%; max-height: 100%; object-fit: contain; }
@media (max-width: 720px) {
  body.jobboard .jb-card { flex-direction: column-reverse; padding: 18px; }
  .jb-card-side { flex-direction: row-reverse; justify-content: space-between; width: 100%; align-items: center; }
  .jb-facts { grid-template-columns: 1fr; }
  .jb-logo { width: 120px; height: 56px; }
}

.jb-card-side .zp-fav-form.jb-fav-form { position: static; top: auto; right: auto; }
.jb-card-side .zp-fav.jb-fav { box-shadow: none; background: transparent; }

/* job card heart: thin outline, no background, red fill when saved (UK 2026-09-24) */
.jb-card-side .zp-fav.jb-fav, .jb-card-side .zp-fav.jb-fav:hover { background: none; box-shadow: none; transform: none; width: 32px; height: 32px; padding: 0; }
.jb-card-side .zp-fav.jb-fav svg.jb-heart { width: 26px; height: 26px; fill: none; stroke: #0f172a; stroke-width: 1.8; stroke-linejoin: round; transition: stroke .15s, fill .15s; }
.jb-card-side .zp-fav.jb-fav:hover svg.jb-heart { stroke: #e11d48; }
.jb-card-side .zp-fav.jb-fav.on svg.jb-heart { fill: #e11d48; stroke: #e11d48; }

.jb-fact-pay { font-weight: 600; color: #0f172a; }

/* job card fact icons: one thin line style (2.png, UK 2026-09-24) */
.jb-lic { width: 20px; height: 20px; flex: 0 0 20px; fill: none; stroke: #334155; stroke-width: 1.25; stroke-linecap: round; stroke-linejoin: round; shape-rendering: geometricPrecision; }
