/* Job Portal - ESM Jobs frontend styles. Navy / olive / white system. */
:root {
	--jp-navy: #0b2447;
	--jp-navy-2: #19376d;
	--jp-olive: #5b6b2f;
	--jp-olive-2: #4a5826;
	--jp-sky: #eaf2fb;
	--jp-text: #1f2937;
	--jp-muted: #6b7280;
	--jp-border: #e3e8ef;
	--jp-bg: #f7f9fc;
	--jp-radius: 10px;
	--jp-shadow: 0 1px 2px rgba(11, 36, 71, .06), 0 4px 14px rgba(11, 36, 71, .06);
}

.jp-wrap { max-width: 1240px; margin: 0 auto; padding: 0 16px; box-sizing: border-box; }
.jp-wrap *, .jp-wrap *::before, .jp-wrap *::after, .jp-search, .jp-search *, .jp-filters * { box-sizing: border-box; }
.jp-main { background: var(--jp-bg); padding-bottom: 40px; color: var(--jp-text); }
.jp-center { text-align: center; margin-top: 24px; }
.jp-search .screen-reader-text { position: absolute !important; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0, 0, 0, 0); white-space: nowrap; border: 0; }
.jp-empty { padding: 32px; text-align: center; color: var(--jp-muted); background: #fff; border: 1px dashed var(--jp-border); border-radius: var(--jp-radius); }
.jp-small { font-size: 12.5px; color: var(--jp-muted); margin: 8px 0 0; line-height: 1.5; }
.jp-link { color: var(--jp-navy-2); font-weight: 600; text-decoration: none; }
.jp-link:hover { text-decoration: underline; }

/* Buttons */
.jp-btn { display: inline-flex; align-items: center; justify-content: center; gap: 6px; background: var(--jp-navy); color: #fff !important; border: 1px solid var(--jp-navy); border-radius: 8px; padding: 10px 18px; font-size: 14px; font-weight: 600; line-height: 1.2; cursor: pointer; text-decoration: none !important; transition: background .15s, border-color .15s; }
.jp-btn:hover { background: var(--jp-navy-2); border-color: var(--jp-navy-2); }
.jp-btn-olive { background: var(--jp-olive); border-color: var(--jp-olive); }
.jp-btn-olive:hover { background: var(--jp-olive-2); border-color: var(--jp-olive-2); }
.jp-btn-outline { background: #fff; color: var(--jp-navy) !important; }
.jp-btn-outline:hover { background: var(--jp-sky); }
.jp-btn-outline.is-saved { background: var(--jp-sky); border-color: var(--jp-navy-2); }
.jp-btn-sm { padding: 7px 14px; font-size: 13px; }
.jp-btn-block { display: flex; width: 100%; margin-top: 10px; }
.jp-btn[disabled], .jp-btn.is-loading { opacity: .6; pointer-events: none; }

/* Search form */
.jp-search { display: flex; gap: 8px; background: #fff; padding: 8px; border-radius: 12px; box-shadow: var(--jp-shadow); flex-wrap: wrap; }
.jp-search-field { flex: 1 1 200px; }
.jp-search-keyword { flex: 2 1 240px; }
.jp-search input, .jp-search select { width: 100%; height: 46px; border: 1px solid var(--jp-border); border-radius: 8px; padding: 0 12px; font-size: 15px; background: #fff; color: var(--jp-text); }
.jp-search .jp-btn { height: 46px; padding: 0 24px; flex: 0 0 auto; }
.jp-search-compact { box-shadow: none; border: 1px solid var(--jp-border); }

/* Search bar (single row) - form.jp-sbar prefix so theme/Elementor button & input styles cannot override. */
form.jp-sbar, form.jp-sbar * { box-sizing: border-box; }
form.jp-sbar { display: flex; flex-direction: row; flex-wrap: nowrap; align-items: center; gap: 0; margin: 0; background: #fff; border-radius: 10px; padding: 8px 8px 8px 20px; box-shadow: 0 2px 6px rgba(11, 36, 71, .08), 0 8px 24px rgba(11, 36, 71, .10); width: 100%; }
form.jp-sbar .jp-sbar-field { display: flex; flex-direction: row; align-items: center; gap: 14px; flex: 1 1 0; min-width: 0; margin: 0; padding: 0; }
form.jp-sbar .jp-sbar-kw { flex-grow: 1.35; }
form.jp-sbar .jp-sbar-icon { display: block; flex: 0 0 auto; width: 24px; height: 24px; color: var(--jp-navy); }
form.jp-sbar input[type="text"],
form.jp-sbar input[type="text"]:focus { flex: 1 1 auto; min-width: 0; width: 100%; height: 48px; border: 0 !important; border-radius: 0; outline: 0; box-shadow: none !important; background: transparent !important; padding: 0 !important; margin: 0; font-size: 16px; line-height: 48px; color: var(--jp-text); }
form.jp-sbar input[type="text"]::placeholder { color: #5f6b84; opacity: 1; }
form.jp-sbar .jp-sbar-divider { display: block; flex: 0 0 1px; width: 1px; align-self: stretch; margin: 6px 26px; background: #d5dbe5; }
form.jp-sbar button.jp-sbar-btn,
form.jp-sbar button.jp-sbar-btn:hover,
form.jp-sbar button.jp-sbar-btn:focus { flex: 0 0 auto; display: inline-flex; align-items: center; justify-content: center; gap: 12px; height: 54px; margin: 0 0 0 16px; padding: 0 30px; border: 0; border-radius: 8px; background: var(--jp-navy); color: #fff; font-size: 15px; font-weight: 600; line-height: 1; letter-spacing: .4px; text-transform: uppercase; text-decoration: none; cursor: pointer; transition: background .15s; white-space: nowrap; box-shadow: none; }
form.jp-sbar button.jp-sbar-btn:hover,
form.jp-sbar button.jp-sbar-btn:focus { background: var(--jp-navy-2); }
form.jp-sbar .jp-sbar-btn span { color: inherit; }
form.jp-sbar .jp-sbar-arrow { display: block; width: 20px; height: 20px; flex: 0 0 auto; }
form.jp-sbar .screen-reader-text { position: absolute !important; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0, 0, 0, 0); white-space: nowrap; border: 0; }
@media (max-width: 767px) {
	form.jp-sbar { flex-direction: column; align-items: stretch; padding: 6px 14px 14px; }
	form.jp-sbar .jp-sbar-divider { flex-basis: 1px; width: auto; height: 1px; margin: 0; align-self: auto; }
	form.jp-sbar button.jp-sbar-btn, form.jp-sbar button.jp-sbar-btn:hover, form.jp-sbar button.jp-sbar-btn:focus { width: 100%; margin: 10px 0 0; height: 50px; }
}

/* Grid */
.jp-grid { display: grid; gap: 14px; grid-template-columns: 1fr; }
@media (min-width: 600px) { .jp-grid { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 900px) {
	.jp-cols-3, .jp-cols-4, .jp-cols-5, .jp-cols-6 { grid-template-columns: repeat(3, 1fr); }
	.jp-cols-1 { grid-template-columns: 1fr; }
}
@media (min-width: 1100px) { .jp-cols-4, .jp-cols-6 { grid-template-columns: repeat(4, 1fr); } .jp-cols-5 { grid-template-columns: repeat(5, 1fr); } }
@media (min-width: 1280px) { .jp-cols-6 { grid-template-columns: repeat(6, 1fr); } }

/* Job card */
.jp-card { background: #fff; border: 1px solid var(--jp-border); border-radius: var(--jp-radius); padding: 14px; display: flex; flex-direction: column; gap: 10px; box-shadow: var(--jp-shadow); transition: border-color .15s, transform .15s; min-width: 0; }
.jp-card:hover { border-color: #b9c7da; transform: translateY(-1px); }
.jp-card-head { display: flex; gap: 10px; align-items: flex-start; min-width: 0; }
.jp-logo { flex: 0 0 44px; width: 44px; height: 44px; border-radius: 8px; border: 1px solid var(--jp-border); overflow: hidden; display: flex; align-items: center; justify-content: center; background: var(--jp-sky); }
.jp-logo img { width: 100%; height: 100%; object-fit: contain; background: #fff; }
.jp-logo-initials { font-weight: 700; color: var(--jp-navy); font-size: 15px; }
.jp-logo-lg { flex-basis: 72px; width: 72px; height: 72px; }
.jp-logo-lg .jp-logo-initials { font-size: 22px; }
.jp-card-titles { min-width: 0; }
.jp-card-title { font-size: 15px; line-height: 1.3; margin: 0 0 2px; font-weight: 700; }
.jp-card-title a { color: var(--jp-navy); text-decoration: none; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }
.jp-card-title a:hover { color: var(--jp-olive); }
.jp-card-company { font-size: 13px; color: var(--jp-muted); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.jp-card-meta { list-style: none; margin: 0; padding: 0; display: grid; gap: 5px; font-size: 12.5px; color: #374151; }
.jp-card-meta li { display: flex; align-items: center; gap: 6px; min-width: 0; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; margin: 0; }
.jp-ico { flex: 0 0 14px; width: 14px; height: 14px; background: var(--jp-olive); -webkit-mask: var(--m) center / contain no-repeat; mask: var(--m) center / contain no-repeat; }
.jp-ico-loc { --m: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='M12 2a7 7 0 0 0-7 7c0 5 7 13 7 13s7-8 7-13a7 7 0 0 0-7-7zm0 9.5A2.5 2.5 0 1 1 12 6a2.5 2.5 0 0 1 0 5.5z'/%3E%3C/svg%3E"); }
.jp-ico-money { --m: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='M6 3h12v2h-4.3c.6.6 1 1.3 1.2 2H18v2h-3.1c-.4 2.4-2.5 4-5.4 4h-.3l6.3 8h-2.6L6.8 13v-2h2.7c1.8 0 3.1-.8 3.4-2H6V7h6.7c-.4-1.2-1.6-2-3.2-2H6z'/%3E%3C/svg%3E"); }
.jp-ico-money.jp-ico-cash { --m: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='M2 6h20v12H2zm2 2v8h16V8zm8 1.5a2.5 2.5 0 1 1 0 5 2.5 2.5 0 0 1 0-5zM5 9.5h2v1H5zm12 4h2v1h-2z'/%3E%3C/svg%3E"); }
.jp-ico-exp { --m: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='M9 3h6v3h5a1 1 0 0 1 1 1v12a1 1 0 0 1-1 1H4a1 1 0 0 1-1-1V7a1 1 0 0 1 1-1h5zm2 2v1h2V5z'/%3E%3C/svg%3E"); }
.jp-ico-edu { --m: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='M12 3 1 9l11 6 9-4.9V17h2V9zM5 13.2V17c0 1.7 3.1 3 7 3s7-1.3 7-3v-3.8L12 17z'/%3E%3C/svg%3E"); }
.jp-ico-type { --m: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='M12 2a10 10 0 1 0 0 20 10 10 0 0 0 0-20zm1 10.4 3.5 2.1-1 1.7L11 13V6h2z'/%3E%3C/svg%3E"); }
.jp-card-foot { margin-top: auto; display: flex; flex-direction: column; gap: 10px; }
.jp-card-actions { display: flex; gap: 8px; }
.jp-card-actions .jp-btn { flex: 1 1 0; min-width: 0; padding: 8px 6px; white-space: nowrap; font-family: inherit; }
.jp-card.is-removing { opacity: 0; transform: scale(.97); transition: opacity .2s, transform .2s; }
.jp-empty-box { padding: 32px; text-align: center; background: #fff; border: 1px dashed var(--jp-border); border-radius: var(--jp-radius); }
.jp-empty-box .jp-empty { padding: 0 0 16px; border: 0; background: none; }
.jp-preview-note { margin: 0 0 12px; padding: 8px 12px; font-size: 12.5px; color: var(--jp-muted); background: var(--jp-sky); border-radius: 6px; }
.jp-card-badges { display: flex; gap: 4px; flex-wrap: wrap; }

/* ---- Job card v3: big logo + company + chips, title, 2-col tiles grid, View / Save buttons ---- */
.jp-card { container-type: inline-size; padding: 20px; gap: 16px; border-radius: 16px; border-color: #e6e9ef; box-shadow: 0 2px 10px rgba(15,27,61,.06); }
.jp-card:hover { transform: none; box-shadow: 0 6px 18px rgba(15,27,61,.10); }
.jp-card .jp-card-head { align-items: center; gap: 16px; }
.jp-card .jp-logo { flex: 0 0 84px; width: 84px; height: 84px; border-radius: 14px; border: 1px solid #dfe3ea; background: #fff; padding: 6px; box-sizing: border-box; }
.jp-card .jp-logo img { background: transparent; }
.jp-card .jp-logo-initials { font-size: 24px; }
.jp-card-headtxt { min-width: 0; display: flex; flex-direction: column; gap: 10px; }
.jp-card .jp-card-company { font-size: 20px; font-weight: 800; color: #0f1b3d; white-space: normal; line-height: 1.2; }
.jp-card .jp-card-title { font-size: 25px; font-weight: 800; line-height: 1.2; margin: 0; }
.jp-card .jp-card-title a { color: #0f1b3d; }
.jp-card-chips { display: flex; flex-wrap: wrap; gap: 8px; }
.jp-card .jp-chip, .jp-card .jp-badge { display: inline-flex; align-items: center; gap: 6px; font-size: 13px; font-weight: 600; letter-spacing: 0; text-transform: none; padding: 7px 11px; border-radius: 10px; line-height: 1.2; }
.jp-card .jp-chip::before, .jp-card .jp-badge::before { content: ""; flex: 0 0 16px; width: 16px; height: 16px; background: currentColor; -webkit-mask: var(--m) center / contain no-repeat; mask: var(--m) center / contain no-repeat; }
.jp-card .jp-chip-verified { background: #e3f5e9; color: #1e8e3e; --m: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='M12 2a10 10 0 1 0 0 20 10 10 0 0 0 0-20zm-1.6 14.4L6 12l1.4-1.4 3 3 6.2-6.2L18 8.8z'/%3E%3C/svg%3E"); }
.jp-card .jp-chip-cat { background: #e6f0fd; color: #1a5fc4; --m: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='M4 21V3h10v6h6v12h-7v-4h-2v4zM7 7v2h2V7zm0 4v2h2v-2zm0 4v2h2v-2zm9-2v2h2v-2zm0 4v2h2v-2z'/%3E%3C/svg%3E"); }
.jp-card .jp-badge { --m: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='M9 11a3.5 3.5 0 1 0 0-7 3.5 3.5 0 0 0 0 7zm7 0a3 3 0 1 0 0-6 3 3 0 0 0 0 6zM9 13c-3 0-7 1.5-7 4.5V20h14v-2.5C16 14.5 12 13 9 13zm7.2.1c.5-.1.8-.1.8-.1 3 0 5 1.4 5 3.9V20h-4v-2.5c0-1.6-.6-3-1.8-4.4z'/%3E%3C/svg%3E"); background: #fdf0dc; color: #8a5a14; }
.jp-card .jp-badge-veteran-friendly { background: #e3e8f3; color: #0f1b3d; }
.jp-card .jp-badge-open-to-all { background: #eef2f7; color: #0f1b3d; }

/* details grid */
.jp-card .jp-card-meta { grid-template-columns: 1fr 1fr; gap: 0; font-size: 15px; color: #0f1b3d; }
.jp-card .jp-card-meta li { display: flex; align-items: center; gap: 12px; padding: 14px 0; white-space: normal; overflow: visible; text-overflow: clip; min-width: 0; }
.jp-card .jp-card-meta li:nth-child(n+3) { border-top: 1px solid #e9ecf1; }
.jp-card .jp-card-meta li:nth-child(odd):not(:last-child) { border-right: 1px solid #e9ecf1; padding-right: 12px; }
.jp-card .jp-card-meta li:nth-child(even) { padding-left: 16px; }
.jp-meta-txt { display: flex; flex-direction: column; min-width: 0; line-height: 1.3; }
.jp-meta-txt small { font-size: .8em; color: #6b7280; font-weight: 700; text-transform: uppercase; letter-spacing: .03em; }
.jp-meta-txt b { font-size: 1.07em; font-weight: 800; color: inherit; overflow-wrap: anywhere; }
.jp-card .jp-m-loc small, .jp-card .jp-m-apply small { color: #e53935; }
.jp-card .jp-m-salary small { color: #1e8e3e; }
.jp-card .jp-m-exp small { color: #1a73e8; }
.jp-card .jp-m-type small { color: #7e57c2; }
.jp-card .jp-m-posted small { color: #f57c00; }
.jp-tile { flex: 0 0 44px; width: 44px; height: 44px; border-radius: 12px; display: flex; align-items: center; justify-content: center; }
.jp-card .jp-tile .jp-ico { width: 22px; height: 22px; flex-basis: 22px; margin: 0; }
.jp-tile-loc { background: #fdecea; } .jp-card .jp-ico-loc { background: #e53935; }
.jp-tile-money { background: #1e8e3e; border-radius: 50%; } .jp-card .jp-ico-money { background: #fff; width: 20px; height: 20px; flex-basis: 20px; }
.jp-tile-exp { background: #e8f1fd; } .jp-card .jp-ico-exp { background: #1a73e8; }
.jp-tile-type { background: #f0eafa; } .jp-card .jp-ico-type { background: #7e57c2; --m: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath fill-rule='evenodd' d='M6 2h8l6 6v14H6zM8.5 12h7v1.6h-7zm0 3.5h7v1.6h-7zm0-7h3v1.6h-3z'/%3E%3C/svg%3E"); }
.jp-tile-posted { background: #fff1e0; } .jp-card .jp-tile-posted .jp-ico { background: #f57c00; --m: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath fill-rule='evenodd' d='M7 2h2v2h6V2h2v2h3v18H4V4h3zM6 9v11h12V9zm2 2h3v3H8zm5 0h3v3h-3zm-5 4h3v3H8z'/%3E%3C/svg%3E"); }
.jp-tile-apply { background: #fdecea; } .jp-card .jp-tile-apply .jp-ico { background: #e53935; --m: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath fill-rule='evenodd' d='M7 2h2v2h6V2h2v2h3v18H4V4h3zM6 9v11h12V9zm2 2h3v3H8zm5 0h3v3h-3zm-5 4h3v3H8z'/%3E%3C/svg%3E"); }

/* buttons */
.jp-card .jp-card-foot { border-top: 1px solid #e9ecf1; padding-top: 16px; }
.jp-card-actions { gap: 12px; }
.jp-card-actions .jp-btn { padding: 0 10px; height: 50px; font-size: 16px; font-weight: 700; border-radius: 10px; gap: 10px; border-width: 1.5px; font-family: inherit; white-space: nowrap; min-width: 0; }
.jp-card-view::before, .jp-save::before { content: ""; flex: 0 0 22px; width: 22px; height: 22px; background: currentColor; -webkit-mask: var(--m) center / contain no-repeat; mask: var(--m) center / contain no-repeat; }
.jp-card-view::before { --m: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath fill-rule='evenodd' d='M12 5C6.5 5 2.7 9 1 12c1.7 3 5.5 7 11 7s9.3-4 11-7c-1.7-3-5.5-7-11-7zm0 11.5a4.5 4.5 0 1 1 0-9 4.5 4.5 0 0 1 0 9zm0-7a2.5 2.5 0 1 0 0 5 2.5 2.5 0 0 0 0-5z'/%3E%3C/svg%3E"); }
.jp-save::before { --m: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath fill-rule='evenodd' d='M6 2h12v20l-6-4.5L6 22zm2 2v14.1l4-3 4 3V4z'/%3E%3C/svg%3E"); }
.jp-save.is-saved::before { --m: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='M6 2h12v20l-6-4.5L6 22z'/%3E%3C/svg%3E"); }
.jp-card .jp-card-view { background: #0b5fcb; border-color: #0b5fcb; }
.jp-card .jp-card-view:hover { background: #094ca3; border-color: #094ca3; }
.jp-card .jp-save { background: #fff; border-color: #1e7a3a; color: #1e7a3a !important; }
.jp-card .jp-save:hover { background: #1e7a3a; color: #fff !important; }
.jp-card .jp-save.is-saved { background: #e3f5e9; }

/* smaller cards (more columns) */
@container (max-width: 400px) {
	.jp-card .jp-logo { flex-basis: 64px; width: 64px; height: 64px; }
	.jp-card .jp-card-company { font-size: 17px; }
	.jp-card .jp-card-title { font-size: 20px; }
	.jp-card .jp-card-meta { font-size: 13.5px; }
	.jp-tile { flex-basis: 38px; width: 38px; height: 38px; border-radius: 10px; }
	.jp-card .jp-tile .jp-ico { width: 19px; height: 19px; flex-basis: 19px; }
	.jp-card .jp-ico-money { width: 17px; height: 17px; flex-basis: 17px; }
	.jp-card-actions .jp-btn { height: 44px; font-size: 14.5px; gap: 8px; }
	.jp-card-view::before, .jp-save::before { flex-basis: 18px; width: 18px; height: 18px; }
}
@container (max-width: 290px) {
	.jp-card .jp-card-meta { grid-template-columns: 1fr; }
	.jp-card .jp-card-meta li:nth-child(n+2) { border-top: 1px solid #e9ecf1; }
	.jp-card .jp-card-meta li:nth-child(odd):not(:last-child) { border-right: 0; }
	.jp-card .jp-card-meta li:nth-child(even) { padding-left: 0; }
	.jp-card-actions { flex-direction: column; gap: 8px; }
	.jp-card .jp-card-head { flex-wrap: wrap; }
}

/* Badges */
.jp-badge { display: inline-block; font-size: 10.5px; font-weight: 700; letter-spacing: .3px; text-transform: uppercase; padding: 3px 7px; border-radius: 4px; background: var(--jp-sky); color: var(--jp-navy-2); line-height: 1.3; }
.jp-badge-esm-preferred { background: var(--jp-olive); color: #fff; }
.jp-badge-veteran-friendly { background: var(--jp-navy); color: #fff; }
.jp-badge-open-to-all { background: var(--jp-sky); color: var(--jp-navy); }
.jp-badge-legend { display: grid; gap: 12px; }
.jp-badge-legend-item p { margin: 4px 0 0; font-size: 14px; color: var(--jp-muted); }

/* Categories */
.jp-cat-grid { display: grid; gap: 8px; grid-template-columns: repeat(3, 1fr); }
@media (max-width: 599px) {
	.jp-cat { padding: 10px 4px; }
	.jp-cat-icon { width: 40px; height: 40px; }
	.jp-cat-icon svg { width: 22px; height: 22px; }
	.jp-cat-name { font-size: 12px; }
	.jp-cat-count { font-size: 11px; }
	.jp-search .jp-btn { width: 100%; }
}
@media (min-width: 600px) { .jp-cat-grid { grid-template-columns: repeat(4, 1fr); } }
@media (min-width: 1000px) { .jp-cat-grid { grid-template-columns: repeat(8, 1fr); } }
.jp-cat { display: flex; flex-direction: column; align-items: center; text-align: center; gap: 6px; padding: 16px 8px; background: #fff; border: 1px solid var(--jp-border); border-radius: var(--jp-radius); text-decoration: none !important; color: var(--jp-navy); transition: border-color .15s, box-shadow .15s; }
.jp-cat:hover { border-color: var(--jp-olive); box-shadow: var(--jp-shadow); }
.jp-cat-icon { width: 52px; height: 52px; border-radius: 50%; background: var(--jp-sky); color: var(--jp-navy); display: flex; align-items: center; justify-content: center; }
.jp-cat:hover .jp-cat-icon { background: var(--jp-olive); color: #fff; }
.jp-cat-name { font-size: 13.5px; font-weight: 700; line-height: 1.25; }
.jp-cat-count { font-size: 12px; color: var(--jp-muted); }

/* Gulf */
.jp-gulf-grid { display: grid; gap: 12px; grid-template-columns: repeat(2, 1fr); }
@media (min-width: 700px) { .jp-gulf-grid { grid-template-columns: repeat(3, 1fr); } }
@media (min-width: 1000px) { .jp-gulf-grid { grid-template-columns: repeat(6, 1fr); } }
.jp-gulf { display: block; padding: 16px; border-radius: var(--jp-radius); background: var(--jp-navy); color: #fff !important; text-decoration: none !important; border-left: 4px solid var(--jp-olive); }
.jp-gulf:hover { background: var(--jp-navy-2); }
.jp-gulf-name { display: block; font-weight: 700; font-size: 16px; }
.jp-gulf-meta { font-size: 12.5px; opacity: .85; }
.jp-gulf-flag { display: block; margin-bottom: 8px; }
.jp-gulf-flag img { display: block; width: 44px; height: auto; border-radius: 3px; box-shadow: 0 0 0 1px rgba(255, 255, 255, .25); }

/* Archive */
.jp-page-hero { background: var(--jp-navy); color: #fff; padding: 28px 0; margin-bottom: 20px; }
.jp-page-hero h1 { color: #fff; margin: 0; font-size: clamp(22px, 3vw, 32px); }
.jp-term-intro { max-width: 820px; opacity: .9; margin-top: 8px; font-size: 15px; }
.jp-term-intro p { margin: 0 0 6px; }
.jp-guide-link { color: #cfe0f5; }
.jp-listing { display: grid; gap: 20px; }
@media (min-width: 900px) { .jp-listing.has-filters { grid-template-columns: var(--jp-side, 270px) 1fr; align-items: start; } }
.jp-listing-count { font-size: 14px; color: var(--jp-muted); margin-bottom: 12px; font-weight: 600; }
.jp-listing .jp-cols-3 { grid-template-columns: 1fr; }
@media (min-width: 600px) { .jp-listing .jp-cols-3 { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 1100px) { .jp-listing .jp-cols-3 { grid-template-columns: repeat(3, 1fr); } }

/* Filters */
.jp-filters { background: #fff; border: 1px solid var(--jp-border); border-radius: var(--jp-radius); padding: 14px; }
.jp-filters p { margin: 0 0 12px; }
.jp-filters label, .jp-label { display: block; font-size: 12.5px; font-weight: 700; color: var(--jp-navy); margin-bottom: 4px; }
.jp-filters input, .jp-filters select, .jp-cover, .jp-report-form select, .jp-report-form textarea { width: 100%; border: 1px solid var(--jp-border); border-radius: 7px; padding: 8px 10px; font-size: 14px; background: #fff; color: var(--jp-text); }
.jp-filters-actions { display: flex; align-items: center; justify-content: space-between; gap: 10px; }
.jp-filters-toggle { display: none; }
@media (max-width: 899px) {
	.jp-filters-toggle { display: block; width: 100%; background: var(--jp-sky); border: 0; border-radius: 7px; padding: 10px; font-weight: 700; color: var(--jp-navy); cursor: pointer; }
	.jp-filters-body { display: none; margin-top: 12px; }
	.jp-filters.is-open .jp-filters-body { display: block; }
}

/* Pagination */
.jp-pagination { display: flex; gap: 6px; justify-content: center; flex-wrap: wrap; margin-top: 24px; }
.jp-pagination .page-numbers { min-width: 38px; height: 38px; display: inline-flex; align-items: center; justify-content: center; padding: 0 10px; border: 1px solid var(--jp-border); border-radius: 7px; background: #fff; color: var(--jp-navy); text-decoration: none; font-weight: 600; }
.jp-pagination .current { background: var(--jp-navy); color: #fff; border-color: var(--jp-navy); }

/* Single job */
.jp-single { display: grid; gap: 20px; padding-top: 24px; }
@media (min-width: 960px) { .jp-single { grid-template-columns: 1fr 340px; align-items: start; } }
.jp-single-main, .jp-box { background: #fff; border: 1px solid var(--jp-border); border-radius: var(--jp-radius); padding: 20px; min-width: 0; }
.jp-single-head { display: flex; gap: 16px; align-items: flex-start; margin-bottom: 16px; }
.jp-single-title { font-size: clamp(20px, 2.6vw, 28px); margin: 0 0 4px; color: var(--jp-navy); line-height: 1.25; }
.jp-single-company { color: var(--jp-muted); margin-bottom: 8px; font-weight: 600; }
.jp-details { display: grid; grid-template-columns: repeat(auto-fill, minmax(140px, 1fr)); gap: 10px; margin: 0 0 20px; padding: 14px; background: var(--jp-sky); border-radius: 8px; }
.jp-details div { min-width: 0; }
.jp-details dt { font-size: 11.5px; text-transform: uppercase; letter-spacing: .4px; color: var(--jp-muted); font-weight: 700; margin: 0; }
.jp-details dd { margin: 2px 0 0; font-weight: 600; color: var(--jp-navy); font-size: 14.5px; overflow-wrap: anywhere; }
.jp-single-content h2, .jp-related h2 { font-size: 19px; color: var(--jp-navy); margin: 0 0 10px; }
.jp-single-content { font-size: 15.5px; line-height: 1.7; overflow-wrap: anywhere; }
.jp-single-side { display: grid; gap: 16px; }
@media (min-width: 960px) { .jp-single-side { position: sticky; top: 20px; } }
.jp-trust h3 { font-size: 16px; margin: 0 0 10px; color: var(--jp-navy); }
.jp-trust ul { list-style: none; margin: 0; padding: 0; display: grid; gap: 7px; font-size: 14px; }
.jp-trust li { margin: 0; }
.jp-yes::before { content: "\2713"; color: var(--jp-olive); font-weight: 700; margin-right: 6px; }
.jp-no { color: var(--jp-muted); }
.jp-no::before { content: "\2022"; margin-right: 6px; }
.jp-notice { padding: 10px 12px; border-radius: 7px; font-size: 14px; margin: 10px 0; }
.jp-notice-ok { background: #eef4e1; color: #3f4c1d; border: 1px solid #cfdcae; }
.jp-notice-warn { background: #fff7e6; color: #8a5a00; border: 1px solid #f3dca5; }
.jp-notice-err { background: #fdecec; color: #9b1c1c; border: 1px solid #f5c2c2; }
.jp-apply-msg:empty, .jp-report-msg:empty { display: none; }
.jp-report { margin-top: 14px; font-size: 14px; }
.jp-report summary { cursor: pointer; color: #9b1c1c; font-weight: 600; }
.jp-report-form { display: grid; gap: 8px; margin-top: 10px; }
.jp-related { margin-top: 28px; }

/* ======================= Job Search Page ======================= */
.jp-sp { --jp-sp-left: 250px; --jp-sp-right: 262px; --jp-sp-navy: var(--jp-navy, #0f2a5a); width: 100%; margin: 0 auto; color: #1f2937; }
.jp-sp *, .jp-sp *::before, .jp-sp *::after { box-sizing: border-box; }
.jp-sp-form { margin: 0; }
.jp-sp [hidden] { display: none !important; }
.jp-i { display: inline-block; flex: 0 0 auto; width: 16px; height: 16px; background: currentColor; -webkit-mask: var(--m) center / contain no-repeat; mask: var(--m) center / contain no-repeat; vertical-align: middle; }
.jp-i-search { --m: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='M15.5 14h-.8l-.3-.3A6.5 6.5 0 1 0 14 15.5l.3.3v.8l5 5 1.5-1.5-5-5zm-6 0a4.5 4.5 0 1 1 0-9 4.5 4.5 0 0 1 0 9z'/%3E%3C/svg%3E"); } .jp-i-pin { --m: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='M12 2a7 7 0 0 0-7 7c0 5.2 7 13 7 13s7-7.8 7-13a7 7 0 0 0-7-7zm0 9.6A2.6 2.6 0 1 1 12 6.4a2.6 2.6 0 0 1 0 5.2z'/%3E%3C/svg%3E"); } .jp-i-rupee { --m: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='M6 4h12v2h-3.5c.7.7 1.2 1.7 1.4 3H18v2h-2.1c-.4 3-2.6 5-6.2 5H9l7 6h-3L6 16v-2h3.7c2 0 3.3-.9 3.8-3H6V9h7.3c-.4-1.8-1.4-3-3.3-3H6z'/%3E%3C/svg%3E"); } .jp-i-brief { --m: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath fill-rule='evenodd' d='M10 4h4a2 2 0 0 1 2 2v1h4a1 1 0 0 1 1 1v11a1 1 0 0 1-1 1H4a1 1 0 0 1-1-1V8a1 1 0 0 1 1-1h4V6a2 2 0 0 1 2-2zm0 2v1h4V6z'/%3E%3C/svg%3E"); }
.jp-i-cap { --m: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='M12 3L1 9l4 2.2V16c0 1.7 3.1 3 7 3s7-1.3 7-3v-4.8l2-1.1V16h2V9L12 3zm0 14c-2.8 0-5-.8-5-1.5v-3.2l5 2.7 5-2.7v3.2c0 .7-2.2 1.5-5 1.5z'/%3E%3C/svg%3E"); } .jp-i-bell { --m: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='M12 22a2.5 2.5 0 0 0 2.5-2.5h-5A2.5 2.5 0 0 0 12 22zm7-6V11a7 7 0 0 0-5.5-6.8V3.5a1.5 1.5 0 0 0-3 0v.7A7 7 0 0 0 5 11v5l-2 2v1h18v-1z'/%3E%3C/svg%3E"); } .jp-i-list { --m: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='M3 5h2v2H3zm4 0h14v2H7zM3 11h2v2H3zm4 0h14v2H7zM3 17h2v2H3zm4 0h14v2H7z'/%3E%3C/svg%3E"); } .jp-i-grid { --m: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='M4 4h7v7H4zm9 0h7v7h-7zM4 13h7v7H4zm9 0h7v7h-7z'/%3E%3C/svg%3E"); }
.jp-i-chev { --m: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='M7 10l5 5 5-5z'/%3E%3C/svg%3E"); } .jp-i-filter { --m: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='M3 5h18l-7 8v6l-4 2v-8z'/%3E%3C/svg%3E"); } .jp-i-plane { --m: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='M21 16v-2l-8-5V3.5a1.5 1.5 0 0 0-3 0V9l-8 5v2l8-2.5V19l-2 1.5V22l3.5-1 3.5 1v-1.5L13 19v-5.5z'/%3E%3C/svg%3E"); }
.jp-fg-icon-category { --m: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath fill-rule='evenodd' d='M10 4h4a2 2 0 0 1 2 2v1h4a1 1 0 0 1 1 1v11a1 1 0 0 1-1 1H4a1 1 0 0 1-1-1V8a1 1 0 0 1 1-1h4V6a2 2 0 0 1 2-2zm0 2v1h4V6z'/%3E%3C/svg%3E"); } .jp-fg-icon-location { --m: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='M12 2a7 7 0 0 0-7 7c0 5.2 7 13 7 13s7-7.8 7-13a7 7 0 0 0-7-7zm0 9.6A2.6 2.6 0 1 1 12 6.4a2.6 2.6 0 0 1 0 5.2z'/%3E%3C/svg%3E"); } .jp-fg-icon-job_type { --m: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='M12 2a10 10 0 1 0 0 20 10 10 0 0 0 0-20zm.5 5H11v6l5.2 3.1.8-1.3-4.5-2.7z'/%3E%3C/svg%3E"); }
.jp-fg-icon-salary { --m: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='M6 4h12v2h-3.5c.7.7 1.2 1.7 1.4 3H18v2h-2.1c-.4 3-2.6 5-6.2 5H9l7 6h-3L6 16v-2h3.7c2 0 3.3-.9 3.8-3H6V9h7.3c-.4-1.8-1.4-3-3.3-3H6z'/%3E%3C/svg%3E"); } .jp-fg-icon-experience { --m: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath fill-rule='evenodd' d='M10 4h4a2 2 0 0 1 2 2v1h4a1 1 0 0 1 1 1v11a1 1 0 0 1-1 1H4a1 1 0 0 1-1-1V8a1 1 0 0 1 1-1h4V6a2 2 0 0 1 2-2zm0 2v1h4V6z'/%3E%3C/svg%3E"); } .jp-fg-icon-qualification { --m: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='M12 3L1 9l4 2.2V16c0 1.7 3.1 3 7 3s7-1.3 7-3v-4.8l2-1.1V16h2V9L12 3zm0 14c-2.8 0-5-.8-5-1.5v-3.2l5 2.7 5-2.7v3.2c0 .7-2.2 1.5-5 1.5z'/%3E%3C/svg%3E"); }
.jp-fg-icon-skills { --m: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='M13 2L4 14h6l-1 8 9-12h-6z'/%3E%3C/svg%3E"); } .jp-fg-icon-esm, .jp-fg-icon-veteran { --m: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='M12 2L4 5v6c0 5 3.4 9.7 8 11 4.6-1.3 8-6 8-11V5l-8-3zm-1.2 14.2L7 12.4l1.4-1.4 2.4 2.4 4.8-4.8 1.4 1.4z'/%3E%3C/svg%3E"); }

/* layout */
.jp-sp-layout { display: grid; gap: 20px; align-items: start; grid-template-columns: minmax(0, 1fr); }
.jp-sp.has-left .jp-sp-layout { grid-template-columns: var(--jp-sp-left) minmax(0, 1fr); }
.jp-sp.has-right .jp-sp-layout { grid-template-columns: minmax(0, 1fr) var(--jp-sp-right); }
.jp-sp.has-left.has-right .jp-sp-layout { grid-template-columns: var(--jp-sp-left) minmax(0, 1fr) var(--jp-sp-right); }
.jp-sp-main { display: flex; flex-direction: column; gap: 18px; min-width: 0; }
.jp-sp-left, .jp-sp-right { position: sticky; top: 20px; }
.jp-sp.is-loading .jp-sp-results-wrap { opacity: .45; pointer-events: none; transition: opacity .15s; }

/* filters */
.jp-sp-filters { background: #fff; border: 1px solid #e3e8ef; border-radius: 12px; padding: 16px; }
.jp-sp-fhead { display: flex; align-items: center; justify-content: space-between; gap: 10px; margin-bottom: 6px; }
.jp-sp-ftitle { font-size: 15px; font-weight: 700; color: var(--jp-sp-navy); }
.jp-sp-reset { font-size: 12px; font-weight: 700; color: #1d4ed8; text-decoration: none; }
.jp-sp-reset:hover { text-decoration: underline; }
.jp-fg { border-bottom: 1px solid #eef1f5; padding: 10px 0; }
.jp-fg:last-of-type { border-bottom: 0; }
.jp-fg-head { display: flex; align-items: center; gap: 8px; width: 100%; padding: 0; margin: 0; background: none; border: 0; box-shadow: none; text-align: left; cursor: pointer; font: inherit; color: var(--jp-sp-navy); }
.jp-fg-head:hover, .jp-fg-head:focus { background: none; color: var(--jp-sp-navy); }
.jp-fg-icon { color: var(--jp-sp-navy); }
.jp-fg-title { flex: 1; font-size: 13px; font-weight: 700; }
.jp-fg-head > .jp-i-chev { width: 20px; height: 20px; color: #64748b; transform: rotate(180deg); transition: transform .15s; }
.jp-fg.is-open > .jp-fg-head > .jp-i-chev { transform: none; }
.jp-fg-body { display: none; padding-top: 8px; }
.jp-fg.is-open > .jp-fg-body { display: block; }
.jp-list { display: flex; flex-direction: column; }
.jp-list.jp-inline { flex-direction: row; flex-wrap: wrap; gap: 4px 16px; }
.jp-opt { display: flex; align-items: center; gap: 8px; padding: 4px 0; font-size: 12px; color: #374151; cursor: pointer; line-height: 1.3; }
.jp-opt[hidden] { display: none !important; }
.jp-opt input { flex: 0 0 auto; width: 14px; height: 14px; margin: 0; accent-color: var(--jp-sp-navy); }
.jp-opt-count { color: #6b7280; }
.jp-node-line { display: flex; align-items: center; justify-content: space-between; gap: 6px; }
.jp-node-toggle { flex: 0 0 auto; width: 22px; height: 22px; padding: 0; border: 0; background: none; color: #64748b; cursor: pointer; display: inline-flex; align-items: center; justify-content: center; }
.jp-node-toggle::before { content: ""; width: 18px; height: 18px; background: currentColor; -webkit-mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='M7 10l5 5 5-5z'/%3E%3C/svg%3E") center / contain no-repeat; mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='M7 10l5 5 5-5z'/%3E%3C/svg%3E") center / contain no-repeat; transition: transform .15s; }
.jp-node.is-open > .jp-node-line > .jp-node-toggle::before { transform: rotate(180deg); }
.jp-node-toggle:hover, .jp-node-toggle:focus { background: none; color: var(--jp-sp-navy); }
.jp-node-kids { display: none; margin: 0 0 4px 7px; padding-left: 10px; border-left: 1px solid #e5e7eb; }
.jp-node.is-open > .jp-node-kids { display: block; }
.jp-list[data-limited] .jp-node[data-extra], .jp-list[data-limited] .jp-opt[data-extra] { display: none; }
.jp-list.show-all .jp-node[data-extra] { display: block; }
.jp-list.show-all .jp-opt[data-extra], .jp-list.is-searching .jp-opt[data-extra] { display: flex; }
.jp-more { align-self: flex-start; margin-top: 6px; padding: 0; background: none; border: 0; box-shadow: none; font-size: 12px; font-weight: 600; color: #1d4ed8; cursor: pointer; }
.jp-more:hover, .jp-more:focus { background: none; color: #1e40af; text-decoration: underline; }
.jp-sel, .jp-sp-skillsearch { display: block; width: 100%; height: 36px; margin: 6px 0 0; padding: 0 10px; font: inherit; font-size: 12px; color: #1f2937; background: #fff; border: 1px solid #d1d5db; border-radius: 6px; box-shadow: none; }
.jp-sp-skillsearch { margin: 0 0 6px; }
.jp-sp-selects { margin: 4px 0; }
.jp-near-msg { margin: 4px 0 0; font-size: 11.5px; color: #b45309; }
.jp-sp-applybtn { width: 100%; margin-top: 12px; padding: 10px; font-weight: 700; color: #fff; background: var(--jp-sp-navy); border: 0; border-radius: 8px; cursor: pointer; }
.jp-sp-mtoggle { display: none; align-items: center; gap: 6px; padding: 8px 14px; font-weight: 600; color: var(--jp-sp-navy); background: #fff; border: 1px solid #cbd5e1; border-radius: 8px; cursor: pointer; }

/* hero */
.jp-sp-hero { background: linear-gradient(135deg, #0a2149 0%, #17407a 100%); color: #fff; border-radius: 14px; overflow: hidden; }
.jp-sp-hero-in { padding: 26px 26px 18px; }
.jp-sp-title { margin: 0 0 6px; font-size: 30px; line-height: 1.2; font-weight: 800; color: inherit; }
.jp-sp-hl { color: #a3e635; }
.jp-sp-sub { margin: 0 0 18px; font-size: 15px; opacity: .92; color: inherit; }
.jp-sp-search { display: flex; align-items: stretch; gap: 0; padding: 8px; background: #fff; border-radius: 10px; color: #111827; }
.jp-sp-field { flex: 1 1 0; min-width: 0; display: flex; align-items: center; gap: 10px; padding: 6px 14px; margin: 0; border-right: 1px solid #e5e7eb; cursor: text; }
.jp-sp-field:nth-last-child(2) { border-right: 0; }
.jp-sp-field > .jp-i { width: 22px; height: 22px; color: #1f2937; }
.jp-sp-field > .jp-i-chev { width: 20px; height: 20px; color: #6b7280; }
.jp-sp-fbody { display: flex; flex-direction: column; flex: 1; min-width: 0; line-height: 1.25; }
.jp-sp-flabel { font-size: 12px; font-weight: 700; color: #1f2937; }
.jp-sp-field input, .jp-sp-field select { width: 100%; height: auto; margin: 0; padding: 2px 0 0; font: inherit; font-size: 12.5px; color: #6b7280; background: transparent; border: 0; border-radius: 0; box-shadow: none; outline: 0; appearance: none; -webkit-appearance: none; }
.jp-sp-field input::placeholder { color: #9ca3af; opacity: 1; }
.jp-sp-f-cat, .jp-sp-f-cat select { cursor: pointer; }
.jp-sp-submit { flex: 0 0 auto; min-width: 150px; padding: 0 26px; margin-left: 6px; font-size: 15px; font-weight: 700; color: #fff; background: #0a2149; border: 0; border-radius: 8px; cursor: pointer; }
.jp-sp-submit:hover, .jp-sp-submit:focus { background: #07173a; color: #fff; }
.jp-sp-popular { display: flex; flex-wrap: wrap; align-items: center; gap: 8px; margin-top: 14px; }
.jp-sp-poplabel { font-size: 12px; font-weight: 700; margin-right: 4px; }
.jp-sp-chip { padding: 4px 12px; font-size: 12px; color: #fff; text-decoration: none; background: rgba(255,255,255,.12); border: 1px solid rgba(255,255,255,.4); border-radius: 999px; }
.jp-sp-chip:hover { background: rgba(255,255,255,.25); color: #fff; }

/* results bar */
.jp-sp-resbar { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 12px; margin-bottom: 12px; }
.jp-sp-count { margin: 0; font-size: 18px; font-weight: 500; color: var(--jp-sp-navy); }
.jp-sp-count strong { font-weight: 800; }
.jp-sp-term { font-weight: 800; color: #1e3a8a; overflow-wrap: anywhere; }
.jp-sp-tools { display: flex; align-items: center; gap: 12px; }
.jp-sp-sort { display: flex; align-items: center; gap: 8px; margin: 0; font-size: 12.5px; color: #4b5563; }
.jp-sp-sort select { height: 36px; padding: 0 28px 0 10px; font: inherit; font-size: 12.5px; color: #1f2937; background-color: #fff; border: 1px solid #cbd5e1; border-radius: 6px; box-shadow: none; }
.jp-sp-views { display: inline-flex; }
.jp-sp-vbtn { display: inline-flex; align-items: center; gap: 6px; height: 36px; padding: 0 14px; font: inherit; font-size: 12.5px; font-weight: 600; color: var(--jp-sp-navy); background: #fff; border: 1px solid #cbd5e1; border-radius: 0; cursor: pointer; }
.jp-sp-vbtn:first-child { border-radius: 6px 0 0 6px; }
.jp-sp-vbtn:last-child { border-radius: 0 6px 6px 0; margin-left: -1px; }
.jp-sp-vbtn.is-active { color: #fff; background: var(--jp-sp-navy); border-color: var(--jp-sp-navy); }
.jp-sp-vbtn:hover:not(.is-active) { background: #f1f5f9; color: var(--jp-sp-navy); }

/* list rows */
.jp-sp-list { display: flex; flex-direction: column; gap: 12px; }
.jp-sp-grid { display: none; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 16px; }
.jp-sp-results.is-grid .jp-sp-list, .jp-sp-results.is-list .jp-sp-grid { display: none; }
.jp-sp-results.is-grid .jp-sp-grid { display: grid; }
.jp-row { display: flex; align-items: flex-start; gap: 16px; padding: 14px 16px; background: #fff; border: 1px solid #e3e8ef; border-radius: 10px; transition: box-shadow .15s; }
.jp-row:hover { box-shadow: 0 4px 14px rgba(15, 42, 90, .08); }
.jp-row .jp-logo { flex: 0 0 80px; width: 80px; height: 80px; padding: 6px; background: #fff; border: 1px solid #e3e8ef; border-radius: 8px; }
.jp-row .jp-logo img { width: 100%; height: 100%; object-fit: contain; }
.jp-row-main { flex: 1 1 auto; min-width: 0; }
.jp-row-title { margin: 0; font-size: 17px; line-height: 1.3; font-weight: 700; }
.jp-row-title a { color: #1e3a8a; text-decoration: none; }
.jp-row-title a:hover { text-decoration: underline; }
.jp-row-company { margin-top: 2px; font-size: 13px; color: #374151; }
.jp-row-meta { display: flex; flex-wrap: wrap; gap: 6px 18px; margin: 8px 0 0; padding: 0; list-style: none; font-size: 12.5px; color: #374151; }
.jp-row-meta li { display: inline-flex; align-items: center; gap: 6px; margin: 0; }
.jp-row-meta .jp-i { width: 14px; height: 14px; color: var(--jp-sp-navy); }
.jp-row-tags { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 10px; }
.jp-row-tags > span { padding: 4px 10px; font-size: 11.5px; font-weight: 500; line-height: 1.3; letter-spacing: 0; text-transform: none; border-radius: 6px; }
.jp-tag-cat { color: #1e4f9a; background: #e3eefc; }
.jp-tag-sub { color: #334155; background: #eaeef4; }
.jp-row .jp-badge { color: #2f6b1f; background: #dff3d8; }
.jp-row .jp-badge-veteran-friendly { color: #1e3a8a; background: #e3e8f3; }
.jp-row .jp-badge-open-to-all { color: #334155; background: #eef2f7; }
.jp-tag-skill { color: #7a4b00; background: #fdecc8; }
.jp-row-side { flex: 0 0 auto; align-self: stretch; display: flex; flex-direction: column; align-items: flex-end; justify-content: space-between; gap: 10px; }
.jp-row-top { display: flex; align-items: center; gap: 10px; min-height: 20px; }
.jp-new { padding: 2px 9px; font-size: 11px; font-weight: 700; color: #fff; background: #e53935; border-radius: 4px; }
.jp-row-posted { font-size: 11.5px; color: #6b7280; white-space: nowrap; }
.jp-row-actions { display: flex; align-items: center; gap: 10px; }
.jp-row .jp-save-icon { display: inline-flex; align-items: center; justify-content: center; width: 42px; height: 42px; padding: 0; color: var(--jp-sp-navy); background: #fff; border: 1px solid #cbd5e1; border-radius: 6px; cursor: pointer; }
.jp-row .jp-save-icon:hover { background: #f1f5f9; color: var(--jp-sp-navy) !important; }
.jp-row .jp-save-icon.is-saved { background: #e8eefb; border-color: var(--jp-sp-navy); }
.jp-row .jp-row-view { display: inline-flex; align-items: center; justify-content: center; height: 42px; padding: 0 22px; font-size: 14px; font-weight: 700; color: #fff; background: var(--jp-sp-navy); border: 0; border-radius: 6px; text-decoration: none; white-space: nowrap; }
.jp-row .jp-row-view:hover { background: #0a1f45; color: #fff; }

/* foot / pagination */
.jp-sp-foot { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 12px; margin-top: 18px; }
.jp-sp-pages { display: flex; gap: 8px; margin: 0; }
.jp-sp-pages .page-numbers { display: inline-flex; align-items: center; justify-content: center; min-width: 34px; height: 34px; padding: 0 8px; font-size: 13px; border-radius: 6px; }
.jp-sp-showing { font-size: 12.5px; color: #4b5563; }
.jp-sp-empty { padding: 28px; text-align: center; background: #fff; border: 1px dashed #cbd5e1; border-radius: 10px; }

/* right boxes */
.jp-sp-right { display: flex; flex-direction: column; gap: 14px; }
.jp-sp-box { padding: 14px; background: #fff; border: 1px solid #e3e8ef; border-radius: 12px; }
.jp-sp-boxhead { display: flex; align-items: flex-start; gap: 10px; }
.jp-sp-boxicon { width: 22px; height: 22px; margin-top: 1px; color: var(--jp-sp-navy); }
.jp-sp-boxtitle { margin: 0; font-size: 14px; font-weight: 700; color: var(--jp-sp-navy); }
.jp-sp-boxsub { margin: 2px 0 0; font-size: 11.5px; line-height: 1.4; color: #6b7280; }
.jp-sp-savebtn { display: block; width: 100%; margin-top: 12px; padding: 10px; font-size: 13px; font-weight: 700; color: #fff; background: #2e6b2e; border: 0; border-radius: 6px; cursor: pointer; }
.jp-sp-savebtn:hover, .jp-sp-savebtn:focus { background: #245524; color: #fff; }
.jp-sp-savebtn.is-loading { opacity: .6; pointer-events: none; }
.jp-sp-savemsg { margin: 8px 0 0; font-size: 11.5px; line-height: 1.4; }
.jp-sp-savemsg.is-ok { color: #1e7a3a; }
.jp-sp-savemsg.is-err { color: #b91c1c; }
.jp-sp-saved { margin: 10px 0 0; padding: 0; list-style: none; }
.jp-sp-saved li { display: flex; align-items: center; justify-content: space-between; gap: 8px; padding: 5px 0; border-top: 1px solid #eef1f5; font-size: 12px; }
.jp-sp-saved a { color: #1d4ed8; text-decoration: none; overflow-wrap: anywhere; }
.jp-sp-del { flex: 0 0 auto; width: 18px; height: 18px; padding: 0; background: none; border: 0; color: #9ca3af; cursor: pointer; }
.jp-sp-del::before { content: ""; display: block; width: 14px; height: 14px; margin: auto; background: currentColor; -webkit-mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='M18.3 5.7L12 12l6.3 6.3-1.4 1.4L10.6 13.4 4.3 19.7 2.9 18.3 9.2 12 2.9 5.7 4.3 4.3l6.3 6.3 6.3-6.3z'/%3E%3C/svg%3E") center / contain no-repeat; mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='M18.3 5.7L12 12l6.3 6.3-1.4 1.4L10.6 13.4 4.3 19.7 2.9 18.3 9.2 12 2.9 5.7 4.3 4.3l6.3 6.3 6.3-6.3z'/%3E%3C/svg%3E") center / contain no-repeat; }
.jp-sp-del:hover, .jp-sp-del:focus { background: none; color: #b91c1c; }
.jp-sp-rows { margin: 10px 0 0; padding: 0; list-style: none; }
.jp-sp-rows li { margin: 0; border-bottom: 1px solid #eef1f5; }
.jp-sp-rows li:last-child { border-bottom: 0; }
.jp-sp-rows a { display: flex; align-items: center; gap: 8px; padding: 7px 0; font-size: 12.5px; color: #111827; text-decoration: none; }
.jp-sp-rows .jp-i { width: 14px; height: 14px; color: var(--jp-sp-navy); }
.jp-sp-rowname { flex: 1; min-width: 0; }
.jp-sp-rowcount { font-size: 12px; color: #6b7280; white-space: nowrap; }
.jp-sp-flag { flex: 0 0 22px; width: 22px; height: 15px; overflow: hidden; border-radius: 2px; }
.jp-sp-flag img { width: 100%; height: 100%; object-fit: cover; display: block; }
.jp-sp-rows a:hover .jp-sp-rowname { color: #1d4ed8; }
.jp-sp-boxlink { display: block; margin-top: 8px; font-size: 12.5px; font-weight: 700; color: #1d4ed8; text-decoration: none; }

/* responsive */
@media (max-width: 1180px) {
	.jp-sp.has-right .jp-sp-layout { grid-template-columns: minmax(0, 1fr); }
	.jp-sp.has-left.has-right .jp-sp-layout { grid-template-columns: var(--jp-sp-left) minmax(0, 1fr); }
	.jp-sp.has-left.has-right .jp-sp-right { grid-column: 1 / -1; display: grid; grid-template-columns: repeat(auto-fit, minmax(240px, 1fr)); position: static; }
	.jp-sp.has-right:not(.has-left) .jp-sp-right { display: grid; grid-template-columns: repeat(auto-fit, minmax(240px, 1fr)); position: static; }
}
@media (max-width: 860px) {
	.jp-sp .jp-sp-layout, .jp-sp.has-left.has-right .jp-sp-layout { grid-template-columns: minmax(0, 1fr); }
	.jp-sp-search { flex-direction: column; gap: 4px; }
	.jp-sp-field { border-right: 0; border-bottom: 1px solid #e5e7eb; padding: 10px 8px; }
	.jp-sp-field:nth-last-child(2) { border-bottom: 0; }
	.jp-sp-submit { margin: 6px 0 0; min-height: 46px; }
	.jp-sp-title { font-size: 24px; }
	.jp-row { flex-wrap: wrap; }
	.jp-row-main { flex-basis: calc(100% - 100px); }
	.jp-row-side { flex-basis: 100%; flex-direction: row-reverse; align-items: center; }
	.jp-sp-grid { grid-template-columns: minmax(0, 1fr); }
}

/* ---- Tablet + mobile: filters open as a full screen drawer ---- */
.jp-sp-close, .jp-sp-drawer-foot { display: none; }
@media (max-width: 1024px) {
	.jp-sp .jp-sp-layout, .jp-sp.has-left .jp-sp-layout, .jp-sp.has-right .jp-sp-layout, .jp-sp.has-left.has-right .jp-sp-layout { grid-template-columns: minmax(0, 1fr); }
	.jp-sp.has-right .jp-sp-right { display: grid; grid-template-columns: repeat(auto-fit, minmax(240px, 1fr)); position: static; grid-column: auto; }
	.jp-sp-mtoggle { display: inline-flex; }
	.jp-sp-left { position: fixed; top: 0; left: 0; right: 0; bottom: 0; z-index: 100000; display: flex; flex-direction: column; background: #fff; visibility: hidden; transform: translateX(-100%); transition: transform .25s ease, visibility 0s linear .25s; overflow: hidden; }
	.jp-sp.filters-open .jp-sp-left { visibility: visible; transform: none; transition: transform .25s ease; }
	.jp-sp-filters { flex: 1 1 auto; min-height: 0; overflow-y: auto; -webkit-overflow-scrolling: touch; border: 0; border-radius: 0; padding: 0 18px 16px; }
	.jp-sp-fhead { position: sticky; top: 0; z-index: 2; margin: 0 -18px 4px; padding: 14px 18px; background: inherit; border-bottom: 1px solid #eef1f5; }
	.jp-sp-ftitle { margin-right: auto; font-size: 17px; }
	.jp-sp-close { display: inline-flex; align-items: center; justify-content: center; width: 38px; height: 38px; padding: 0; margin-left: 4px; color: var(--jp-sp-navy); background: #f1f5f9; border: 0; border-radius: 50%; cursor: pointer; }
	.jp-sp-close::before { content: ""; width: 18px; height: 18px; background: currentColor; -webkit-mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='M18.3 5.7L12 12l6.3 6.3-1.4 1.4L10.6 13.4 4.3 19.7 2.9 18.3 9.2 12 2.9 5.7 4.3 4.3l6.3 6.3 6.3-6.3z'/%3E%3C/svg%3E") center / contain no-repeat; mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='M18.3 5.7L12 12l6.3 6.3-1.4 1.4L10.6 13.4 4.3 19.7 2.9 18.3 9.2 12 2.9 5.7 4.3 4.3l6.3 6.3 6.3-6.3z'/%3E%3C/svg%3E") center / contain no-repeat; }
	.jp-sp-close:hover, .jp-sp-close:focus { background: #e2e8f0; color: var(--jp-sp-navy); }
	.jp-sp-drawer-foot { display: block; flex: 0 0 auto; padding: 12px 18px calc(12px + env(safe-area-inset-bottom, 0px)); background: #fff; border-top: 1px solid #e3e8ef; }
	.jp-sp-done { display: block; width: 100%; height: 48px; font-size: 15px; font-weight: 700; color: #fff; background: var(--jp-sp-navy); border: 0; border-radius: 8px; cursor: pointer; }
	.jp-sp-done:hover, .jp-sp-done:focus { background: #0a1f45; color: #fff; }
}
body.jp-sp-lock { overflow: hidden; }

/* ---- Job Details Accordion (Elementor widget) ---- */
.jp-jda { display: flex; flex-direction: column; gap: 12px; }
.jp-jda__item { background: #fff; border: 1px solid #e3e8ef; border-radius: 12px; overflow: hidden; }
.jp-jda__head { display: flex; align-items: center; gap: 14px; padding: 14px 18px; cursor: pointer; list-style: none; }
.jp-jda__head::-webkit-details-marker { display: none; }
.jp-jda__head::marker { content: ''; }
.jp-jda__icon { display: inline-flex; align-items: center; justify-content: center; flex: 0 0 auto; width: 44px; height: 44px; border-radius: 10px; font-size: 20px; line-height: 1; }
.jp-jda__icon svg { width: 20px; height: 20px; }
.jp-jda__title { flex: 1 1 auto; margin: 0; font-size: 18px; font-weight: 700; line-height: 1.3; }
.jp-jda__toggle { display: inline-flex; flex: 0 0 auto; font-size: 14px; transition: transform .2s; }
.jp-jda__toggle svg { width: 14px; height: 14px; }
.jp-jda__item[open] .jp-jda__toggle { transform: rotate(180deg); }
.jp-jda__toggle-opened { display: none; }
.jp-jda__item[open] .jp-jda__toggle:has(.jp-jda__toggle-opened) { transform: none; }
.jp-jda__item[open] .jp-jda__toggle-opened { display: inline-flex; }
.jp-jda__item[open] .jp-jda__toggle:has(.jp-jda__toggle-opened) .jp-jda__toggle-closed { display: none; }
.jp-jda__content { padding: 0 18px 16px 76px; }
.jp-jda__content > :first-child { margin-top: 0; }
.jp-jda__content > :last-child { margin-bottom: 0; }
.jp-jda__content ul, .jp-jda__content ol { margin: 0; padding-left: 18px; }
@media (max-width: 767px) { .jp-jda__content { padding-left: 18px; } }

/* ---- Latest Jobs Carousel (Elementor widget) ---- */
.jp-car { --jp-car-slides: 3; --jp-car-gap: 14px; }
.jp-car__stage { position: relative; }
.jp-car__viewport { overflow: hidden; }
.jp-car__track { display: flex !important; gap: var(--jp-car-gap); overflow-x: auto; scroll-snap-type: x mandatory; scroll-behavior: smooth; scrollbar-width: none; -webkit-overflow-scrolling: touch; grid-template-columns: none; }
.jp-car__track::-webkit-scrollbar { display: none; }
.jp-car__track > * { flex: 0 0 calc((100% - (var(--jp-car-slides) - 1) * var(--jp-car-gap)) / var(--jp-car-slides)); min-width: 0; scroll-snap-align: start; box-sizing: border-box; }
.jp-car__arrow { position: absolute; top: 50%; transform: translateY(-50%); z-index: 2; width: 40px; height: 40px; padding: 0; display: inline-flex; align-items: center; justify-content: center; border: 1px solid #d5dbe3; border-radius: 50%; background: #fff; color: #1f2937; font-size: 14px; line-height: 1; cursor: pointer; box-shadow: 0 2px 8px rgba(0,0,0,.12); }
.jp-car__arrow--prev { left: 6px; }
.jp-car__arrow--next { right: 6px; }
.jp-car__arrow[disabled] { opacity: .4; cursor: default; }
.jp-car__dots { display: flex; justify-content: center; gap: 8px; margin-top: 14px; }
.jp-car__dot { width: 9px; height: 9px; padding: 0; border: 0; border-radius: 50%; background: #cbd5e1; cursor: pointer; }
.jp-car__dot.is-active { background: #5b6b2f; }

/* Carousel cards: always the full design (2-column details, buttons side by side), whatever the slide width */
.jp-car .jp-card .jp-logo { flex: 0 0 84px; width: 84px; height: 84px; }
.jp-car .jp-card .jp-card-company { font-size: 20px; }
.jp-car .jp-card .jp-card-title { font-size: 25px; }
.jp-car .jp-card .jp-card-meta { grid-template-columns: 1fr 1fr; font-size: 15px; }
.jp-car .jp-card .jp-card-meta li:nth-child(n+2) { border-top: 0; }
.jp-car .jp-card .jp-card-meta li:nth-child(n+3) { border-top: 1px solid #e9ecf1; }
.jp-car .jp-card .jp-card-meta li:nth-child(odd):not(:last-child) { border-right: 1px solid #e9ecf1; }
.jp-car .jp-card .jp-card-meta li:nth-child(even) { padding-left: 16px; }
.jp-car .jp-card .jp-tile { flex: 0 0 46px; width: 46px; height: 46px; border-radius: 12px; }
.jp-car .jp-card .jp-tile .jp-ico { width: 22px; height: 22px; flex-basis: 22px; }
.jp-car .jp-card .jp-ico-money { width: 20px; height: 20px; flex-basis: 20px; }
.jp-car .jp-card .jp-card-head { flex-wrap: nowrap; }
.jp-car .jp-card-actions { flex-direction: row; gap: 12px; }
.jp-car .jp-card-actions .jp-btn { flex: 1 1 0; height: 50px; font-size: 16px; gap: 10px; }
.jp-car .jp-card-view::before, .jp-car .jp-save::before { flex-basis: 22px; width: 22px; height: 22px; }

/* ---- Carousel card design: always 2-column details + 2 inline buttons (same look as the screenshot) ---- */
.jp-car__track { padding-block: 6px 14px; }
.jp-car__track > .jp-card { height: auto; align-self: stretch; }
.jp-car .jp-card .jp-card-meta { grid-template-columns: 1fr 1fr; }
.jp-car .jp-card .jp-card-meta li:nth-child(2) { border-top: 0; }
.jp-car .jp-card .jp-card-meta li:nth-child(n+3) { border-top: 1px solid #e9ecf1; }
.jp-car .jp-card .jp-card-meta li:nth-child(odd):not(:last-child) { border-right: 1px solid #e9ecf1; padding-right: 12px; }
.jp-car .jp-card .jp-card-meta li:nth-child(even) { padding-left: 16px; }
.jp-car .jp-card .jp-card-actions { flex-direction: row; gap: 12px; }
.jp-car .jp-card .jp-card-head { flex-wrap: nowrap; }
@container (max-width: 330px) {
	.jp-car .jp-card .jp-card-meta { font-size: 12.5px; }
	.jp-car .jp-card .jp-card-meta li { gap: 8px; padding-top: 11px; padding-bottom: 11px; }
	.jp-car .jp-card .jp-card-meta li:nth-child(odd):not(:last-child) { padding-right: 8px; }
	.jp-car .jp-card .jp-card-meta li:nth-child(even) { padding-left: 10px; }
	.jp-car .jp-card .jp-tile { flex-basis: 32px; width: 32px; height: 32px; border-radius: 9px; }
	.jp-car .jp-card .jp-tile .jp-ico { width: 16px; height: 16px; flex-basis: 16px; }
	.jp-car .jp-card .jp-ico-money { width: 14px; height: 14px; flex-basis: 14px; }
	.jp-car .jp-card .jp-card-actions { gap: 8px; }
	.jp-car .jp-card .jp-card-actions .jp-btn { height: 42px; font-size: 13.5px; gap: 6px; padding: 0 6px; }
	.jp-car .jp-card .jp-card-view::before, .jp-car .jp-card .jp-save::before { flex-basis: 16px; width: 16px; height: 16px; }
	.jp-car .jp-card .jp-logo { flex-basis: 56px; width: 56px; height: 56px; }
	.jp-car .jp-card .jp-card-company { font-size: 16px; }
	.jp-car .jp-card .jp-card-title { font-size: 18px; }
	.jp-car .jp-card .jp-chip, .jp-car .jp-card .jp-badge { font-size: 11.5px; padding: 5px 8px; }
}

/* ---- Job Fairs & Events (Elementor widget) ---- */
.jp-fairs { --jp-fairs-side: 300px; display: grid; grid-template-columns: minmax(0, 1fr); gap: 24px; align-items: start; }
.jp-fairs.has-side { grid-template-columns: minmax(0, 1fr) var(--jp-fairs-side); }
.jp-fairs__labelwrap { margin-bottom: 14px; }
.jp-fairs__label { display: inline-flex; align-items: center; gap: 10px; background: #0f1b3d; color: #fff; font-weight: 700; font-size: 15px; padding: 12px 24px; border-radius: 10px; }
.jp-fairs__label svg { width: 1em; height: 1em; fill: currentColor; }
.jp-fairs__list { display: flex; flex-direction: column; gap: 12px; }
.jp-evt { display: flex; align-items: stretch; gap: 14px; background: #fff; border: 1px solid #e6e9ef; border-radius: 12px; padding: 8px; box-shadow: 0 1px 6px rgba(15,27,61,.05); --jp-ev-main: #1e8e3e; --jp-ev-soft: #e3f5e9; }
.jp-evt--blue { --jp-ev-main: #1a62d6; --jp-ev-soft: #e3edfc; }
.jp-evt--red { --jp-ev-main: #b3261e; --jp-ev-soft: #fde7e5; }
.jp-evt--orange { --jp-ev-main: #d9730d; --jp-ev-soft: #fdeedd; }
.jp-evt__date { flex: 0 0 96px; width: 96px; display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 4px; padding: 10px 6px; border-radius: 10px; background: var(--jp-ev-soft); color: var(--jp-ev-main); text-align: center; box-sizing: border-box; }
.jp-evt__day { font-size: 34px; font-weight: 800; line-height: 1; }
.jp-evt__mon { font-size: 13px; font-weight: 700; text-transform: uppercase; }
.jp-evt__pill { display: inline-block; margin-top: 4px; background: var(--jp-ev-main); color: #fff; font-size: 10.5px; font-weight: 700; text-transform: uppercase; letter-spacing: .3px; padding: 4px 10px; border-radius: 5px; line-height: 1.2; }
.jp-evt.is-completed .jp-evt__date, .jp-evt.is-cancelled .jp-evt__date { filter: grayscale(.7); }
.jp-evt__body { flex: 1 1 auto; min-width: 0; display: grid; grid-template-columns: minmax(0, 1.3fr) auto minmax(0, 1.2fr) auto; grid-template-areas: "who who who tag" "venue time elig btn"; column-gap: 24px; row-gap: 6px; align-items: center; padding: 6px 8px 6px 0; }
.jp-evt__facts, .jp-evt__act { display: contents; }
.jp-evt__who { grid-area: who; display: flex; align-items: center; gap: 14px; min-width: 0; }
.jp-evt__logo { flex: 0 0 44px; width: 44px; height: 44px; display: inline-flex; align-items: center; justify-content: center; overflow: hidden; }
.jp-evt__logo:empty { display: none; }
.jp-evt__logo img { width: 100%; height: 100%; object-fit: contain; }
.jp-evt__titles { min-width: 0; }
.jp-evt__title { margin: 0; font-size: 18px; font-weight: 800; line-height: 1.25; color: #0f1b3d; }
.jp-evt__title a { color: inherit; text-decoration: none; }
.jp-evt__title a:hover { color: #0b5fcb; }
.jp-evt__org { margin-top: 2px; font-size: 14px; font-weight: 600; color: #0f1b3d; }
.jp-evt__fact { display: flex; align-items: center; gap: 10px; min-width: 0; font-size: 13px; color: #0f1b3d; line-height: 1.4; }
.jp-evt__venue { grid-area: venue; }
.jp-evt__time { grid-area: time; white-space: nowrap; }
.jp-evt__elig { grid-area: elig; }
.jp-evt__elig b { display: block; font-weight: 600; }
.jp-evt__elig small { display: block; font-size: 11px; color: #6b7280; }
.jp-evt__ico { flex: 0 0 auto; display: inline-flex; font-size: 18px; color: #0f1b3d; line-height: 1; }
.jp-evt__ico svg { width: 18px; height: 18px; fill: currentColor; }
.jp-evt__tag { grid-area: tag; justify-self: end; background: #e3edfc; color: #0f1b3d; font-size: 11.5px; font-weight: 600; padding: 6px 12px; border-radius: 6px; line-height: 1.2; }
.jp-evt__btn { grid-area: btn; justify-self: end; display: inline-flex; align-items: center; justify-content: center; gap: 8px; min-width: 150px; background: #0f1b3d; color: #fff !important; border: 1px solid #0f1b3d; border-radius: 8px; padding: 12px 20px; font-size: 13.5px; font-weight: 700; text-decoration: none !important; line-height: 1.2; box-sizing: border-box; transition: background .15s; }
.jp-evt__btn:hover { background: #1a2d5c; }
.jp-evt__btn svg { width: 1em; height: 1em; fill: currentColor; }
.jp-fairs__side { display: flex; flex-direction: column; gap: 16px; }
.jp-fairs__box { background: #f2f6fb; border: 1px solid #e1e8f2; border-radius: 12px; padding: 18px; }
.jp-fairs__box-title { display: flex; align-items: center; gap: 10px; margin: 0 0 12px; font-size: 17px; font-weight: 800; color: #0f1b3d; }
.jp-fairs__box-title i { font-size: 20px; }
.jp-fairs__box-title svg { width: 20px; height: 20px; fill: currentColor; }
.jp-fairs__box ul { list-style: none; margin: 0; padding: 0; display: flex; flex-direction: column; gap: 9px; }
.jp-fairs__box li { position: relative; margin: 0; padding-left: 28px; font-size: 13px; line-height: 1.45; color: #1f2a44; }
.jp-fairs__box li a { color: inherit; text-decoration: none; display: block; }
.jp-fairs__box li a:hover { text-decoration: underline; }
.jp-fairs__box li::before { content: ""; position: absolute; left: 0; top: .1em; width: 18px; height: 18px; background-color: #0f1b3d; -webkit-mask: var(--jp-m) center / contain no-repeat; mask: var(--jp-m) center / contain no-repeat; }
.jp-fairs__box.is-check li::before { background-color: #1e8e3e; --jp-m: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='M12 2a10 10 0 1 0 0 20 10 10 0 0 0 0-20zm-1.6 14.4L6 12l1.4-1.4 3 3 6.2-6.2L18 8.8z'/%3E%3C/svg%3E"); }
.jp-fairs__box.is-doc li::before { --jp-m: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath fill-rule='evenodd' d='M6 2h8l6 6v14H6zM8.5 12h7v1.6h-7zm0 3.5h7v1.6h-7z'/%3E%3C/svg%3E"); }
.jp-fairs__box.is-dot li::before { --jp-m: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Ccircle cx='12' cy='12' r='4'/%3E%3C/svg%3E"); }
.jp-fairs__box.is-link li { padding-left: 28px; padding-right: 20px; }
.jp-fairs__box.is-link li::before { --jp-m: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='M12 12a4 4 0 1 0 0-8 4 4 0 0 0 0 8zm0 2c-3.3 0-8 1.7-8 5v2h16v-2c0-3.3-4.7-5-8-5z'/%3E%3C/svg%3E"); }
.jp-fairs__box.is-link li::after { content: ""; position: absolute; right: 2px; top: .45em; width: 7px; height: 7px; border-top: 1.5px solid #5b6478; border-right: 1.5px solid #5b6478; transform: rotate(45deg); }
@media (max-width: 1024px) {
	.jp-fairs.has-side { grid-template-columns: minmax(0, 1fr); }
	.jp-fairs__side { display: grid; grid-template-columns: repeat(auto-fit, minmax(240px, 1fr)); }
}
@media (max-width: 860px) {
	.jp-evt__body { grid-template-columns: minmax(0, 1fr) auto; grid-template-areas: "who tag" "venue venue" "time time" "elig elig" "btn btn"; row-gap: 10px; }
	.jp-evt__btn { justify-self: stretch; }
}
@media (max-width: 600px) {
	.jp-evt { flex-direction: column; }
	.jp-evt__date { width: auto; flex-basis: auto; flex-direction: row; justify-content: flex-start; gap: 10px; }
	.jp-evt__body { padding: 4px 6px 8px; grid-template-columns: minmax(0, 1fr); grid-template-areas: "who" "tag" "venue" "time" "elig" "btn"; }
	.jp-evt__tag { justify-self: start; }
}

/* Job Apply Box widget: "Apply Now" + "Save Job" side by side (only the widget, class jp-apply-box--row) */
.jp-apply-box--row { background: transparent; border: 0; padding: 0; }
.jp-apply-box--row .jp-apply-actions { display: flex; flex-direction: row; align-items: stretch; gap: 12px; width: 100%; }
.jp-apply-box--row .jp-apply-actions .jp-btn { box-sizing: border-box; flex: 1 1 0; width: auto; min-width: 0; margin: 0; height: auto; min-height: 48px; padding: 10px 14px; font-size: 15px; font-weight: 700; line-height: 1.25; text-align: center; border-radius: 6px; border-width: 1.5px; gap: 10px; white-space: normal; overflow: visible; font-family: inherit; }
.jp-apply-box--row .jp-apply-actions .jp-btn::before { flex: none; }
.jp-apply-box--row .jp-apply { background: #0a3d91; border-color: #0a3d91; }
.jp-apply-box--row .jp-apply:hover { background: #082f70; border-color: #082f70; }
.jp-apply-box--row .jp-apply::before { content: ""; flex: 0 0 20px; display: block; width: 20px; height: 20px; background: currentColor; -webkit-mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='M14 3h7v7h-2V6.4l-8.3 8.3-1.4-1.4L17.6 5H14zM5 5h6v2H7v10h10v-4h2v6H5z'/%3E%3C/svg%3E") center / contain no-repeat; mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='M14 3h7v7h-2V6.4l-8.3 8.3-1.4-1.4L17.6 5H14zM5 5h6v2H7v10h10v-4h2v6H5z'/%3E%3C/svg%3E") center / contain no-repeat; }
.jp-apply-box--row .jp-save { background: #fff; border-color: #1e7a3a; color: #1e7a3a !important; }
.jp-apply-box--row .jp-save:hover { background: #1e7a3a; border-color: #1e7a3a; color: #fff !important; }
.jp-apply-box--row .jp-save.is-saved { background: #e3f5e9; }
.jp-apply-box--row .jp-save::before { flex-basis: 20px; width: 20px; height: 20px; }
.jp-apply-box--row.jp-no-apply-icon .jp-apply::before, .jp-apply-box--row.jp-no-save-icon .jp-save::before { display: none; }
.jp-apply-box--row .jp-label, .jp-apply-box--row .jp-cover { display: block; width: 100%; }
.jp-apply-box--row .jp-cover { margin-bottom: 10px; }
.jp-apply-box--row .jp-small { margin: 10px 0 0; }
@media (max-width: 480px) {
	.jp-apply-box--row .jp-apply-actions { gap: 8px; }
	.jp-apply-box--row .jp-apply-actions .jp-btn { min-height: 44px; font-size: 14px; gap: 6px; padding: 8px 8px; }
	.jp-apply-box--row .jp-apply::before, .jp-apply-box--row .jp-save::before { flex-basis: 17px; width: 17px; height: 17px; }
}

/* ======================================================================
 * Job Search Page - Layout 2 (compact): hero + steps + filters box + rows
 * ==================================================================== */
.jp-sp--compact { --jp-sp-left: 240px; display: flex; flex-direction: column; gap: 16px; }
.jp-sp--compact .jp-sp-form { display: flex; flex-direction: column; gap: 16px; }
.jp-sp--compact .jp-sp-hero { background: #0f2f6e; border-radius: 12px; }
.jp-sp--compact .jp-sp-hero-in { padding: 20px 22px 22px; }
.jp-sp--compact .jp-sp-title { margin: 0 0 14px; font-size: 26px; line-height: 1.25; font-weight: 800; color: #fff; }
.jp-sp--compact .jp-sp-search { align-items: center; gap: 8px; padding: 6px; border-radius: 8px; }
.jp-sp--compact .jp-sp-field { border: 0; padding: 4px 10px; }
.jp-sp--compact .jp-sp-field > .jp-i { width: 18px; height: 18px; color: #6b7280; }
.jp-sp--compact .jp-sp-field input { font-size: 14px; color: #111827; padding: 6px 0; }
.jp-sp--compact .jp-sp-submit { flex: 0 0 auto; min-width: 0; height: 40px; margin: 0; padding: 0 22px; font-size: 14px; font-weight: 700; color: #fff; background: #0a3d91; border-radius: 6px; white-space: nowrap; }
.jp-sp--compact .jp-sp-submit:hover, .jp-sp--compact .jp-sp-submit:focus { background: #082f70; }

/* steps strip */
.jp-steps { padding: 10px 14px 14px; background: #fff; border: 1px solid #e3e8ef; border-radius: 12px; }
.jp-steps-heading { margin: 0 0 10px; text-align: center; font-size: 11px; font-weight: 800; letter-spacing: .04em; text-transform: uppercase; color: #2f7d32; }
.jp-steps-row { display: flex; align-items: stretch; justify-content: center; gap: 0; }
.jp-step { flex: 1 1 0; min-width: 0; display: flex; align-items: center; gap: 10px; padding: 10px 14px; background: #fff; border: 1px solid #e3e8ef; border-bottom: 3px solid var(--jp-step, #0f2a5a); border-radius: 8px; color: #0f2a5a; text-decoration: none; }
a.jp-step:hover { box-shadow: 0 3px 10px rgba(15, 42, 90, .1); color: #0f2a5a; }
.jp-step-ico { flex: 0 0 32px; width: 32px; height: 32px; display: inline-flex; align-items: center; justify-content: center; border-radius: 50%; background: var(--jp-step, #0f2a5a); color: #fff; }
.jp-step-ico svg { width: 16px; height: 16px; }
.jp-step-title { font-size: 13px; font-weight: 700; line-height: 1.25; }
.jp-step-arrow { flex: 0 0 22px; align-self: center; width: 22px; height: 22px; margin: 0 6px; border-radius: 50%; background: #2f7d32; position: relative; }
.jp-step-arrow::before { content: ""; position: absolute; inset: 0; background: #fff; -webkit-mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='M9 6l6 6-6 6-1.4-1.4L12.2 12 7.6 7.4z'/%3E%3C/svg%3E") center / 80% no-repeat; mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='M9 6l6 6-6 6-1.4-1.4L12.2 12 7.6 7.4z'/%3E%3C/svg%3E") center / 80% no-repeat; }

/* layout + filters box (always inline, never a drawer) */
.jp-sp--compact.has-left .jp-sp-layout { grid-template-columns: var(--jp-sp-left) minmax(0, 1fr); gap: 16px; }
.jp-sp--compact .jp-sp-left { position: static; display: block; visibility: visible; transform: none; z-index: auto; overflow: visible; background: transparent; }
.jp-sp--compact .jp-sp-filters { border: 1px solid #e3e8ef; border-radius: 12px; padding: 14px; overflow: visible; }
.jp-sp--compact .jp-sp-fhead { position: static; margin: 0 0 10px; padding: 0; border: 0; }
.jp-sp--compact .jp-sp-ftitle { margin-right: 0; font-size: 15px; }
.jp-sp--compact .jp-sp-reset { color: #2f7d32; }
.jp-sp--compact .jp-cf { margin: 0 0 12px; }
.jp-sp--compact .jp-cf-label { display: block; margin: 0 0 4px; font-size: 12px; font-weight: 700; color: #0f2a5a; }
.jp-sp--compact .jp-cf .jp-sel { margin: 0; height: 40px; font-size: 13px; }
.jp-sp--compact .jp-cf-check { margin: 0 0 8px; }
.jp-sp--compact .jp-sp-mtoggle, .jp-sp--compact .jp-sp-drawer-foot, .jp-sp--compact .jp-sp-close { display: none; }

/* results */
.jp-sp--compact .jp-sp-main { gap: 0; }
.jp-sp--compact .jp-sp-resbar { margin-bottom: 10px; }
.jp-sp--compact .jp-sp-count { font-size: 12.5px; font-weight: 400; color: #6b7280; }
.jp-sp--compact .jp-sp-count strong { font-weight: 600; color: inherit; }
.jp-sp--compact .jp-sp-list { gap: 10px; }

/* compact row */
.jp-row.jp-row-c { align-items: center; gap: 12px; padding: 12px 14px; border-radius: 8px; flex-wrap: nowrap; }
.jp-row-c .jp-logo.jp-row-logo { flex: 0 0 44px; width: 44px; height: 44px; padding: 0; border-radius: 6px; overflow: hidden; }
.jp-row-c .jp-row-title { font-size: 14.5px; line-height: 1.3; }
.jp-row-c .jp-row-company { margin-top: 2px; font-size: 12px; color: #4b5563; }
.jp-row-c .jp-row-details { margin-top: 2px; font-size: 12px; color: #4b5563; }
.jp-row-c .jp-row-tags { gap: 6px; margin-top: 6px; }
.jp-row-c .jp-row-tags > span { padding: 2px 8px; font-size: 10.5px; border-radius: 4px; }
.jp-row-c .jp-row-actions { flex: 0 0 auto; display: flex; align-items: center; gap: 8px; }
.jp-row.jp-row-c .jp-row-view { height: 34px; padding: 0 16px; font-size: 12.5px; border-radius: 4px; }
.jp-row-c .jp-row-savebtn { display: inline-flex; align-items: center; justify-content: center; height: 34px; margin: 0; padding: 0 18px; font: inherit; font-size: 12.5px; font-weight: 700; line-height: 1; color: #1e7a3a; background: #fff; border: 1.5px solid #1e7a3a; border-radius: 4px; box-shadow: none; cursor: pointer; }
.jp-row-c .jp-row-savebtn::before { display: none; }
.jp-row-c .jp-row-savebtn:hover { color: #fff; background: #1e7a3a; }
.jp-row-c .jp-row-savebtn.is-saved { background: #e3f5e9; color: #1e7a3a; }

@media (max-width: 860px) {
	.jp-sp--compact.has-left .jp-sp-layout { grid-template-columns: minmax(0, 1fr); }
	.jp-sp--compact .jp-sp-hero-in { padding: 18px 16px 18px; }
	.jp-sp--compact .jp-sp-title { font-size: 22px; }
	.jp-sp--compact .jp-sp-search { flex-direction: row; gap: 6px; }
	.jp-sp--compact .jp-sp-field { border: 0; padding: 4px 8px; }
	.jp-sp--compact .jp-sp-submit { margin: 0; min-height: 0; height: 40px; padding: 0 16px; }
}
@media (max-width: 767px) {
	.jp-steps { padding: 8px 8px 10px; }
	.jp-steps-row { gap: 0; }
	.jp-step { flex-direction: column; justify-content: flex-start; gap: 6px; padding: 8px 4px; text-align: center; }
	.jp-step-ico { flex-basis: 26px; width: 26px; height: 26px; }
	.jp-step-ico svg { width: 14px; height: 14px; }
	.jp-step-title { font-size: 10.5px; }
	.jp-step-arrow { flex-basis: 14px; width: 14px; height: 14px; margin: 0 3px; }
}
@media (max-width: 600px) {
	.jp-row.jp-row-c { flex-wrap: wrap; align-items: flex-start; }
	.jp-row-c .jp-row-main { flex: 1 1 calc(100% - 60px); }
	.jp-row-c .jp-row-actions { flex: 1 1 100%; justify-content: flex-start; }
	.jp-row.jp-row-c .jp-row-view, .jp-row-c .jp-row-savebtn { min-width: 88px; }
}
