/* The full jobs page, and the showcase extras on the home page (chips, "See all", swipe row on phones) */
.jbp { position: fixed; inset: 0; z-index: 960; display: none; overflow-y: auto; overscroll-behavior: contain; background: var(--bg, #0d0b0c); color: var(--text, #fff); }
.jbp.open { display: block; animation: jbpIn .2s ease; }
@keyframes jbpIn { from { opacity: 0; transform: translateY(8px); } to { opacity: 1; transform: none; } }
@media (prefers-reduced-motion: reduce) { .jbp.open { animation: none; } }

.jbp-in { width: min(var(--site-max, 1300px), 100% - 48px); margin: 0 auto; padding: 26px 0 70px; }
.jbp-head { margin-bottom: 18px; }
.jbp-title { margin: 0; font-size: clamp(1.7rem, 1.2rem + 1.8vw, 2.5rem); font-weight: 800; letter-spacing: -.015em; line-height: 1.1; }
.jbp-count { margin: 6px 0 0; color: var(--muted, #b9aeb2); font-weight: 600; min-height: 1.3em; }

.jbp-filters { display: grid; gap: 10px; margin-bottom: 22px; }
.jbp-search { display: flex; align-items: center; gap: 10px; height: 46px; padding: 0 16px; border-radius: 999px; background: rgba(255,255,255,.06); border: 1px solid rgba(255,255,255,.12); color: var(--muted, #b9aeb2); }
.jbp-search:focus-within { border-color: rgba(255,90,115,.7); }
.jbp-search input { flex: 1; min-width: 0; background: none; border: 0; outline: 0; color: var(--text, #fff); font: inherit; font-size: .95rem; }
.jbp-row { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 10px; }
.jbp-row select { height: 42px; min-width: 0; padding: 0 12px; border-radius: 12px; background: rgba(255,255,255,.06); color: var(--text, #fff); border: 1px solid rgba(255,255,255,.12); font: inherit; font-size: .88rem; cursor: pointer; }
.jbp-row select option { color: #111; }
.jbp-toggles { display: flex; flex-wrap: wrap; gap: 8px; align-items: center; }
.jbp-tog { height: 34px; padding: 0 14px; border-radius: 999px; cursor: pointer; font: inherit; font-size: .82rem; font-weight: 700; color: var(--text, #fff); background: rgba(255,255,255,.05); border: 1px solid rgba(255,255,255,.14); }
.jbp-tog.on { background: rgba(200,16,46,.28); border-color: rgba(255,90,115,.75); }
.jbp-clear, .jbp-link { background: none; border: 0; padding: 4px 6px; cursor: pointer; font: inherit; font-size: .82rem; font-weight: 700; color: var(--red-bright, #ff4d6a); text-decoration: underline; }

.jbp-grid .lpx-job-row { grid-template-columns: repeat(auto-fill, minmax(min(100%, 300px), 1fr)); }
.jbp-skel { min-height: 190px; }
.jbp-skel i { display: block; height: 12px; margin: 9px 0 0; border-radius: 6px; background: linear-gradient(90deg, rgba(255,255,255,.05), rgba(255,255,255,.12), rgba(255,255,255,.05)); background-size: 200% 100%; animation: jbpSh 1.2s linear infinite; }
.jbp-skel i.w { width: 70%; } .jbp-skel i.b { margin-top: 18px; } .jbp-skel i.s { width: 55%; }
.jbp-skel .lpx-job-av { background: rgba(255,255,255,.08); }
@keyframes jbpSh { to { background-position: -200% 0; } }
.jbp-end { display: grid; place-items: center; padding: 26px 0 8px; min-height: 60px; }
.jbp-more { height: 42px; padding: 0 26px; border-radius: 999px; cursor: pointer; font: inherit; font-weight: 700; color: #fff; background: rgba(255,255,255,.07); border: 1px solid rgba(255,255,255,.2); }
.jbp-more:hover { background: rgba(200,16,46,.22); }
.jbp-msg { margin: 0; color: var(--muted, #b9aeb2); font-size: .88rem; }
.jbp-empty { text-align: center; padding: 34px 10px; }
.jbp-empty b { display: block; font-size: 1.1rem; margin-bottom: 6px; } .jbp-empty p { margin: 0 0 10px; color: var(--muted, #b9aeb2); }
.jbp-spin { width: 22px; height: 22px; border-radius: 50%; border: 2.5px solid rgba(255,255,255,.15); border-top-color: #fff; animation: jbpSp .8s linear infinite; }
@keyframes jbpSp { to { transform: rotate(360deg); } }

@media (max-width: 900px) { .jbp-row { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 860px) { .jbp-in { width: calc(100% - 28px); padding-top: 18px; } }
@media (max-width: 560px) { .jbp-row { grid-template-columns: 1fr 1fr; } }

/* home page showcase: field chips, "See all N jobs", and a swipe row on phones */
.lpx-chips { display: flex; gap: 8px; overflow-x: auto; scrollbar-width: none; padding: 2px 0 14px; margin: 0 0 4px; -webkit-overflow-scrolling: touch; }
.lpx-chips::-webkit-scrollbar { display: none; }
.lpx-chip { flex: none; display: inline-flex; align-items: center; gap: 7px; height: 34px; padding: 0 14px; border-radius: 999px; cursor: pointer; font: inherit; font-size: .82rem; font-weight: 700; color: var(--text-1, #fff);
  background: rgba(255,255,255,.05); border: 1px solid rgba(255,255,255,.14); transition: background .15s, border-color .15s; }
.lpx-chip b { font-size: .72rem; opacity: .7; font-weight: 800; }
.lpx-chip:hover { border-color: rgba(255,90,115,.6); }
.lpx-chip.on { background: rgba(200,16,46,.28); border-color: rgba(255,90,115,.8); }
.lpx-job-row.is-busy { opacity: .55; transition: opacity .15s; }
.lpx-job-more { display: flex; justify-content: center; margin-top: 20px; }
.lpx-job-all { height: 44px; padding: 0 24px; border-radius: 999px; cursor: pointer; font: inherit; font-size: .9rem; font-weight: 700; color: #fff; display: inline-flex; align-items: center; gap: 8px;
  background: linear-gradient(135deg, rgba(200,16,46,.3), rgba(139,0,26,.22)); border: 1px solid rgba(255,90,115,.7); box-shadow: 0 0 12px rgba(200,16,46,.22); }
.lpx-job-all:hover { background: linear-gradient(135deg, rgba(200,16,46,.5), rgba(139,0,26,.4)); }
@media (max-width: 640px) {
  .lpx-jobs:not(.jbp-grid) .lpx-job-row { display: flex; overflow-x: auto; gap: 12px; scroll-snap-type: x mandatory; margin: 0 -14px; padding: 2px 14px 14px; scrollbar-width: none; -webkit-overflow-scrolling: touch; }
  .lpx-jobs:not(.jbp-grid) .lpx-job-row::-webkit-scrollbar { display: none; }
  .lpx-jobs:not(.jbp-grid) .lpx-job { flex: 0 0 84%; scroll-snap-align: start; }
}
html[data-theme="light"] .jbp { background: #fff; color: #18090C; }
html[data-theme="light"] .jbp-search, html[data-theme="light"] .jbp-row select, html[data-theme="light"] .jbp-tog, html[data-theme="light"] .lpx-chip, html[data-theme="light"] .jbp-more { background: #f6f2f3; border-color: rgba(0,0,0,.1); color: #18090C; }
html[data-theme="light"] .jbp-search input { color: #18090C; }
html[data-theme="light"] .jbp-tog.on, html[data-theme="light"] .lpx-chip.on { background: #fdecef; border-color: #C8102E; }
/* the dates line gets the whole footer width, the Apply button sits under it on the right: nothing is cut */
.lpx-jobs .lpx-job-foot { flex-wrap: wrap; row-gap: 10px; }
.lpx-jobs .lpx-job-foot .lpx-job-meta { flex: 1 1 100%; min-width: 0; }
.lpx-jobs .lpx-job-foot .lpx-job-meta > span { white-space: nowrap; }

/* the filter bar reuses the Events filter bar styles; only the small counts in the field list are added */
.jbp-filters { margin-bottom: 22px; }
.jbp-filters .talent-filter-block.ev-fb { margin-bottom: 0; }
.tcat-item .jbp-n { opacity: .6; font-weight: 700; margin-left: 4px; }
.jbp-filters .tcat-panel { max-height: 320px; overflow-y: auto; }

/* "Paid" and "Starting this month" in green glass, like the red glass buttons: see through, soft glow, never a solid fill */

.jbp-filters .ev-fb-panel .ev-filter-pill[data-t] { color: #9BF0BD; background: linear-gradient(135deg, rgba(74,222,128,.16), rgba(22,120,60,.1)); border: 1px solid rgba(74,222,128,.5);
  box-shadow: 0 0 10px rgba(74,222,128,.14), inset 0 1px 0 rgba(255,255,255,.1); -webkit-backdrop-filter: blur(10px); backdrop-filter: blur(10px); }
.jbp-filters .ev-fb-panel .ev-filter-pill[data-t]:hover { border-color: rgba(74,222,128,.85); background: linear-gradient(135deg, rgba(74,222,128,.26), rgba(22,120,60,.18)); }
.jbp-filters .ev-fb-panel .ev-filter-pill[data-t].active { color: #fff; border-color: rgba(110,240,160,.95); background: linear-gradient(135deg, rgba(74,222,128,.42), rgba(22,120,60,.3));
  box-shadow: 0 0 16px rgba(74,222,128,.35), inset 0 1px 0 rgba(255,255,255,.18); }
.jbp-filters .ev-fb-panel .ev-filter-pill[data-t]:focus-visible { outline: 2px solid #4ADE80; outline-offset: 2px; }
html[data-theme="light"] .jbp-filters .ev-fb-panel .ev-filter-pill[data-t] { color: #15803d; background: rgba(22,163,74,.08); border-color: rgba(22,163,74,.4); box-shadow: none; }
html[data-theme="light"] .jbp-filters .ev-fb-panel .ev-filter-pill[data-t].active { color: #0f5f2c; background: rgba(22,163,74,.2); border-color: #16a34a; }

/* while new results load the old ones stay, dimmed and calm: nothing jumps or flashes */
.jbp-grid .lpx-job-row { transition: opacity .18s ease; }
.jbp-grid .lpx-job-row.is-busy { opacity: .5; pointer-events: none; }
.jbp-filters, .jbp-filters * { overflow-anchor: none; }
.jbp-grid { overflow-anchor: none; }
.jbp-count { min-height: 1.3em; }
