/* JobsNearMe.ca — job board styles. Navy #10233F, green #0A6B49, amber #F5B83D. */
.jnm {
	--jnm-navy: #10233F;
	--jnm-green: #0A6B49;
	--jnm-green-dark: #0A5239;
	--jnm-amber: #F5B83D;
	--jnm-tint: #F2F5F8;
	--jnm-line: #DCE3EA;
	--jnm-muted: #44546A;
	color: var(--jnm-navy);
	font-size: 16px;
	line-height: 1.55;
}
.jnm *, .jnm *::before, .jnm *::after { box-sizing: border-box; }
.jnm h1, .jnm h2, .jnm h3 { font-family: Sora, "Segoe UI", system-ui, sans-serif; color: inherit; letter-spacing: -0.01em; margin: 0; }
.jnm h1 { font-size: clamp(30px, 5vw, 56px); line-height: 1.1; font-weight: 700; }
.jnm h2 { font-size: clamp(24px, 3vw, 32px); line-height: 1.2; font-weight: 700; }
.jnm h3 { font-size: 20px; font-weight: 600; }
.jnm a { color: var(--jnm-green); }
.jnm a:hover { color: var(--jnm-navy); }
.jnm-wrap { max-width: 1200px; margin: 0 auto; padding: 0 24px; }

/* Hero */
.jnm-hero { background: var(--jnm-navy); color: #fff; padding: 72px 0 64px; }
.jnm-hero--slim { padding: 32px 0; }
.jnm-hero--slim h1 { font-size: clamp(26px, 4vw, 40px); margin-top: 10px; }
.jnm-hero .jnm-wrap { display: flex; flex-direction: column; gap: 20px; }
.jnm-eyebrow { margin: 0; font-size: 14px; font-weight: 600; letter-spacing: 0.08em; text-transform: uppercase; color: var(--jnm-amber); }
.jnm-lead { margin: 0; font-size: 19px; color: #D5DDE8; max-width: 640px; }
.jnm-trust { list-style: none; margin: 8px 0 0; padding: 24px 0 0; border-top: 1px solid #2E4366; display: flex; flex-wrap: wrap; gap: 12px 40px; color: #D5DDE8; font-size: 15px; }
.jnm-trust strong { color: #fff; }

/* Forms */
.jnm-search { background: #fff; border-radius: 14px; padding: 12px; display: flex; flex-wrap: wrap; gap: 12px; align-items: flex-end; color: var(--jnm-navy); }
.jnm-search .jnm-field { flex: 2 1 240px; }
.jnm-search .jnm-btn { flex: 1 1 160px; height: 52px; }
.jnm-field { display: flex; flex-direction: column; gap: 4px; }
.jnm-field label, .jnm-checks legend { font-size: 14px; font-weight: 600; padding: 0; }
.jnm-field input, .jnm-field select, .jnm-field textarea {
	width: 100%; min-height: 48px; border: 1px solid #B9C4D0; border-radius: 8px; padding: 10px 14px;
	font: inherit; color: var(--jnm-navy); background: #fff;
}
.jnm-field input:focus, .jnm-field select:focus, .jnm-field textarea:focus,
.jnm-btn:focus-visible, .jnm a:focus-visible { outline: 3px solid var(--jnm-amber); outline-offset: 2px; }
.jnm-checks { border: 0; margin: 0; padding: 0; display: flex; flex-direction: column; }
.jnm-checks label { display: flex; align-items: center; gap: 10px; min-height: 40px; font-size: 15px; }
.jnm-checks input, .jnm-consent input { width: 18px; height: 18px; accent-color: var(--jnm-green); flex: none; }

/* Buttons */
.jnm-btn {
	display: inline-flex; align-items: center; justify-content: center; min-height: 44px; padding: 10px 22px;
	border-radius: 8px; border: 1.5px solid transparent; font: inherit; font-weight: 600; text-decoration: none; cursor: pointer; white-space: nowrap;
}
.jnm .jnm-btn--primary { background: var(--jnm-green); color: #fff; }
.jnm .jnm-btn--primary:hover { background: var(--jnm-green-dark); color: #fff; }
.jnm .jnm-btn--outline { background: #fff; color: var(--jnm-green); border-color: var(--jnm-green); }
.jnm .jnm-btn--outline:hover { background: var(--jnm-green); color: #fff; }
.jnm-btn--block { width: 100%; }

/* Sections */
.jnm-section { padding: 64px 0; }
.jnm-section--tint { background: var(--jnm-tint); }
.jnm-section--dark { background: var(--jnm-navy); color: #fff; }
.jnm-section .jnm-wrap { display: flex; flex-direction: column; gap: 28px; }
.jnm-section__head { display: flex; flex-wrap: wrap; align-items: flex-end; justify-content: space-between; gap: 16px; }
.jnm-section__head a { font-weight: 600; }

/* Job cards */
.jnm-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(300px, 1fr)); gap: 20px; }
.jnm-list { display: flex; flex-direction: column; gap: 16px; }
.jnm-card { background: #fff; border: 1px solid var(--jnm-line); border-radius: 14px; padding: 22px; display: flex; flex-wrap: wrap; gap: 16px; align-items: flex-start; justify-content: space-between; }
.jnm-card__body { flex: 1 1 260px; min-width: 0; display: flex; flex-direction: column; gap: 8px; }
.jnm .jnm-card__title { font-size: 18px; line-height: 1.3; }
.jnm .jnm-card__title a { color: var(--jnm-navy); text-decoration: none; }
.jnm .jnm-card__title a:hover { color: var(--jnm-green); text-decoration: underline; }
.jnm-card__meta, .jnm-card__foot { margin: 0; color: var(--jnm-muted); }
.jnm-card__meta { font-size: 15px; }
.jnm-card__foot { font-size: 13px; }
.jnm-tags { list-style: none; margin: 0; padding: 0; display: flex; flex-wrap: wrap; gap: 8px; font-size: 13px; font-weight: 500; }
.jnm-tags li { padding: 5px 10px; border-radius: 6px; background: #E6ECF2; }
.jnm-tags .jnm-tags__pay { background: #D9EBE4; color: var(--jnm-green-dark); }

/* Tiles, provinces, pills */
.jnm-tiles { display: grid; grid-template-columns: repeat(auto-fit, minmax(240px, 1fr)); gap: 12px; }
.jnm .jnm-tile { display: block; padding: 20px; background: var(--jnm-tint); border-radius: 12px; color: var(--jnm-navy); font-family: Sora, "Segoe UI", system-ui, sans-serif; font-weight: 600; text-decoration: none; }
.jnm .jnm-tile:hover { background: #D9EBE4; color: var(--jnm-navy); }
.jnm-provinces { display: grid; grid-template-columns: repeat(auto-fit, minmax(250px, 1fr)); gap: 12px; }
.jnm .jnm-province { display: flex; align-items: center; gap: 14px; padding: 12px 14px; border: 1px solid #2E4366; border-radius: 10px; color: #fff; text-decoration: none; font-weight: 500; }
.jnm .jnm-province:hover { background: #1B3256; color: #fff; }
.jnm-province__code { flex: none; width: 44px; height: 32px; border-radius: 6px; background: var(--jnm-green); border: 2px solid #fff; display: flex; align-items: center; justify-content: center; font-family: Sora, "Segoe UI", system-ui, sans-serif; font-weight: 700; font-size: 13px; letter-spacing: 0.04em; }
.jnm-pills { display: flex; flex-wrap: wrap; gap: 10px; }
.jnm .jnm-pill { min-height: 44px; display: inline-flex; align-items: center; padding: 8px 16px; border-radius: 999px; background: #1B3256; color: #fff; text-decoration: none; font-size: 15px; }
.jnm .jnm-pill:hover { background: var(--jnm-green); color: #fff; }
.jnm .jnm-pills--light .jnm-pill { background: #fff; border: 1px solid var(--jnm-line); color: var(--jnm-navy); }
.jnm .jnm-pills--light .jnm-pill:hover { border-color: var(--jnm-green); color: var(--jnm-green); background: #fff; }

/* Breadcrumbs */
.jnm-crumbs { font-size: 14px; color: var(--jnm-muted); }
.jnm-hero .jnm-crumbs, .jnm-hero .jnm-crumbs a { color: #B8C6DA; }
.jnm-hero .jnm-crumbs [aria-current] { color: #fff; }

/* Results layout */
.jnm-layout { display: flex; flex-wrap: wrap; gap: 28px; align-items: flex-start; padding-top: 32px; padding-bottom: 64px; }
.jnm-filters { flex: 1 1 250px; background: #fff; border: 1px solid var(--jnm-line); border-radius: 14px; padding: 22px; }
.jnm-filters form { display: flex; flex-direction: column; gap: 16px; }
.jnm-clear { font-size: 14px; font-weight: 600; text-align: center; }
.jnm-results { flex: 999 1 560px; min-width: 0; display: flex; flex-direction: column; gap: 16px; }
.jnm-count { margin: 0; font-weight: 600; }
.jnm-intro { background: #fff; border: 1px solid var(--jnm-line); border-radius: 14px; padding: 22px; }
.jnm-intro > :first-child { margin-top: 0; }
.jnm-intro > :last-child { margin-bottom: 0; }
.jnm-empty { background: #fff; border: 1px solid var(--jnm-line); border-radius: 14px; padding: 40px 24px; text-align: center; display: flex; flex-direction: column; gap: 12px; align-items: center; }
.jnm-empty p { margin: 0; color: var(--jnm-muted); }
.jnm-notice { margin: 0; padding: 14px 18px; background: #FFF3D6; border-radius: 10px; color: #5A3D00; font-size: 15px; }
.jnm .jnm-notice a { color: #5A3D00; font-weight: 600; }
.jnm-notice--ok { background: #D9EBE4; color: var(--jnm-green-dark); }
.jnm-notice--error { background: #FBE3DD; color: #7A1F0B; }
.jnm .nav-links { display: flex; flex-wrap: wrap; gap: 8px; justify-content: center; padding-top: 12px; }
.jnm .page-numbers { min-width: 44px; height: 44px; padding: 0 14px; display: inline-flex; align-items: center; justify-content: center; border-radius: 8px; background: #fff; border: 1px solid var(--jnm-line); color: var(--jnm-navy); text-decoration: none; font-weight: 600; }
.jnm .page-numbers.current { background: var(--jnm-navy); color: #fff; border-color: var(--jnm-navy); }

/* Job page */
.jnm-single { display: flex; flex-direction: column; gap: 24px; padding-top: 24px; padding-bottom: 64px; }
.jnm-jobhead { background: #fff; border: 1px solid var(--jnm-line); border-radius: 16px; padding: 28px; display: flex; flex-wrap: wrap; gap: 24px; align-items: flex-start; justify-content: space-between; }
.jnm-jobhead__main { flex: 1 1 420px; min-width: 0; display: flex; gap: 18px; align-items: flex-start; }
.jnm-jobhead__main > div:last-child { display: flex; flex-direction: column; gap: 10px; min-width: 0; }
.jnm-jobhead h1 { font-size: clamp(26px, 3.6vw, 38px); }
.jnm-jobhead p { margin: 0; }
.jnm-jobhead__employer { font-size: 17px; }
.jnm-logo { flex: none; width: 64px; height: 64px; border-radius: 12px; overflow: hidden; background: #E6ECF2; }
.jnm-logo img { width: 100%; height: 100%; object-fit: contain; display: block; }
.jnm-layout--job { padding: 0; }
.jnm-jobbody { flex: 999 1 560px; min-width: 0; background: #fff; border: 1px solid var(--jnm-line); border-radius: 16px; padding: 32px; }
.jnm-content { color: #2F3E52; line-height: 1.65; }
.jnm-content h2 { font-size: 22px; font-weight: 600; margin: 28px 0 10px; color: var(--jnm-navy); }
.jnm-content > :first-child { margin-top: 0; }
.jnm-apply { margin-top: 32px; padding-top: 28px; border-top: 1px solid #E6ECF2; display: flex; flex-direction: column; gap: 14px; align-items: flex-start; }
.jnm-apply p { margin: 0; }
.jnm-form { width: 100%; display: flex; flex-direction: column; gap: 14px; align-items: flex-start; }
.jnm-form > .jnm-field, .jnm-form__row { width: 100%; }
.jnm-form__row { display: flex; flex-wrap: wrap; gap: 14px; }
.jnm-form__row .jnm-field { flex: 1 1 220px; }
.jnm-consent { display: flex; gap: 10px; align-items: flex-start; font-size: 14px; color: #2F3E52; }
.jnm-consent input { margin-top: 2px; }
.jnm-hp { position: absolute; left: -9999px; }
.jnm-side { flex: 1 1 300px; display: flex; flex-direction: column; gap: 20px; }
.jnm-panel { background: #fff; border: 1px solid var(--jnm-line); border-radius: 16px; padding: 24px; display: flex; flex-direction: column; gap: 12px; }
.jnm .jnm-panel h2 { font-size: 18px; font-weight: 600; }
.jnm-panel p { margin: 0; font-size: 15px; }
.jnm-panel--dark { background: var(--jnm-navy); border-color: var(--jnm-navy); color: #fff; }
.jnm-panel--dark p { color: #D5DDE8; }
.jnm-summary { margin: 0; display: grid; grid-template-columns: auto 1fr; gap: 10px 16px; font-size: 15px; }
.jnm-summary dt { color: var(--jnm-muted); }
.jnm-summary dd { margin: 0; font-weight: 500; }
.jnm-similar { display: flex; flex-direction: column; gap: 18px; }

/* Accounts and dashboards */
.jnm-account { max-width: 1000px; margin: 0 auto; padding: 24px 0 64px; display: flex; flex-direction: column; gap: 20px; }
.jnm-account > p { margin: 0; }
.jnm-tabs { display: flex; flex-wrap: wrap; gap: 6px 8px; border-bottom: 1px solid var(--jnm-line); padding-bottom: 12px; }
.jnm .jnm-tabs a { min-height: 44px; display: inline-flex; align-items: center; padding: 8px 16px; border-radius: 8px; color: var(--jnm-navy); text-decoration: none; font-weight: 600; }
.jnm .jnm-tabs a:hover { background: var(--jnm-tint); }
.jnm .jnm-tabs a[aria-current] { background: var(--jnm-navy); color: #fff; }
.jnm-help { font-size: 14px; color: var(--jnm-muted); margin: 0; }
.jnm-checks--grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(160px, 1fr)); gap: 0 16px; }
.jnm-checks--grid legend { grid-column: 1 / -1; }
.jnm-checks .jnm-field { margin: 0 0 8px 28px; }
.jnm-tablewrap { overflow-x: auto; background: #fff; border: 1px solid var(--jnm-line); border-radius: 14px; }
.jnm-table { width: 100%; border-collapse: collapse; font-size: 15px; min-width: 640px; }
.jnm-table th, .jnm-table td { text-align: left; padding: 14px 16px; border-bottom: 1px solid #E6ECF2; vertical-align: top; font-weight: 400; }
.jnm-table thead th { font-weight: 600; background: var(--jnm-tint); }
.jnm-table tbody th { font-weight: 600; }
.jnm-table tbody tr:last-child th, .jnm-table tbody tr:last-child td { border-bottom: 0; }
.jnm-actions { display: flex; gap: 14px; align-items: center; }
.jnm-actions form { margin: 0; }
.jnm-linkbtn { background: none; border: 0; padding: 0; min-height: 44px; font: inherit; font-weight: 600; color: var(--jnm-green); text-decoration: underline; cursor: pointer; }
.jnm-linkbtn:hover { color: var(--jnm-navy); }
.jnm-inline-form { display: flex; flex-wrap: wrap; gap: 12px; align-items: center; justify-content: space-between; }
.jnm-dash { display: flex; flex-direction: column; gap: 14px; }
.jnm-dash p { margin: 0; color: var(--jnm-muted); }
.jnm-rows { list-style: none; margin: 0; padding: 0; background: #fff; border: 1px solid var(--jnm-line); border-radius: 14px; }
.jnm-rows li { display: flex; flex-wrap: wrap; gap: 8px 16px; align-items: center; justify-content: space-between; padding: 12px 18px; border-bottom: 1px solid #E6ECF2; }
.jnm-rows li:last-child { border-bottom: 0; }
.jnm-rows form { margin: 0; }
.jnm-alertbox { margin: 0; background: #fff; border: 1px solid var(--jnm-line); border-radius: 14px; padding: 16px 20px; display: flex; flex-wrap: wrap; gap: 12px 20px; align-items: center; justify-content: space-between; }
.jnm-jobhead__actions { display: flex; flex-wrap: wrap; gap: 10px; align-items: center; }
.jnm-jobhead__actions form { margin: 0; }
.jnm-login form { display: flex; flex-direction: column; gap: 14px; }
.jnm-login form p { margin: 0; display: flex; flex-direction: column; gap: 4px; }
.jnm-login label { font-size: 14px; font-weight: 600; }
.jnm-login input[type="text"], .jnm-login input[type="password"] { min-height: 48px; border: 1px solid #B9C4D0; border-radius: 8px; padding: 10px 14px; font: inherit; }
.jnm-login .login-remember { flex-direction: row; }
.jnm-login input[type="submit"] { min-height: 48px; padding: 10px 22px; border: 0; border-radius: 8px; background: var(--jnm-green); color: #fff; font: inherit; font-weight: 600; cursor: pointer; align-self: flex-start; }

/* Company directory */
.jnm .jnm-company { display: flex; gap: 16px; align-items: center; background: #fff; border: 1px solid var(--jnm-line); border-radius: 14px; padding: 20px; color: var(--jnm-navy); text-decoration: none; }
.jnm .jnm-company:hover { border-color: var(--jnm-green); }
.jnm-company strong { display: block; font-family: Sora, "Segoe UI", system-ui, sans-serif; font-size: 17px; }
.jnm-company span { font-size: 14px; color: var(--jnm-muted); }
.jnm .jnm-trust a { color: #fff; font-weight: 600; }
