/* =====================================================================
 * START: assets/css/nahse-single-job.css  (NAHSE DFW Jobs v1.0.4)
 * ---------------------------------------------------------------------
 * TO-DO
 *  1. Upload to /wp-content/themes/Avada-Child-Theme/assets/css/
 *  2. Loads only on single job pages (versioned with filemtime).
 *  3. If the Avada header height changes, adjust --nahse-sj-hero-top
 *     and --nahse-sj-sticky-top below.
 *  4. v1.0.4: header-dependent values follow the site's Avada breakpoints
 *     (Large > 1213, Medium 641 to 1213, Small <= 640). Sticky elements
 *     only run on Large, where the desktop header shows. Layout steps
 *     (1100 / 900 / 767 / 480) are content-driven and do not touch Avada.
 * ---------------------------------------------------------------------
 * Every selector is scoped under .nahse-sj except the Avada resets,
 * which are scoped to body.single-job.
 * v1.0.3: print styles, end marker for the mobile apply bar, Avada To Top
 * button steps aside while the apply bar shows.
 * ===================================================================== */

/* ---------- Avada resets (job posts only) ---------- */
body.single-job #main { padding: 0 !important; margin: 0 !important; max-width: none !important; width: 100% !important; }
body.single-job #main > .fusion-row { max-width: none !important; width: 100% !important; padding-left: 0 !important; padding-right: 0 !important; margin: 0 !important; }
body.single-job .avada-page-titlebar-wrapper,
body.single-job .fusion-page-title-bar { display: none !important; }

/* ---------- Tokens ---------- */
.nahse-sj {
	--nahse-sj-hero-top: 140px;
	--nahse-sj-sticky-top: 112px;
	--nahse-sj-navy: #0a1433;
	--nahse-sj-blue: #003194;
	--nahse-sj-deep: #07163f;
	--nahse-sj-gold: #f2c14e;
	--nahse-sj-sand: #f6f5f2;
	--nahse-sj-ink: #2a3354;
	--nahse-sj-muted: #4a5373;
	--nahse-sj-soft: #7a8199;
	--nahse-sj-line: #eceef4;
	--nahse-sj-pale: #c7d3ff;
	--nahse-sj-sky: #9fb8ff;
	--nahse-sj-ease: cubic-bezier(.2, .7, .2, 1);
	--nahse-sj-sans: 'Instrument Sans', system-ui, -apple-system, 'Segoe UI', sans-serif;
	--nahse-sj-serif: 'Instrument Serif', Georgia, serif;

	display: block;
	width: 100%;
	background: var(--nahse-sj-sand);
	color: var(--nahse-sj-navy);
	font-family: var(--nahse-sj-sans);
	font-size: 16px;
	line-height: 1.5;
	-webkit-font-smoothing: antialiased;
	overflow-x: clip;
}
.nahse-sj *, .nahse-sj *::before, .nahse-sj *::after { box-sizing: border-box; }
.nahse-sj [hidden] { display: none !important; }
.nahse-sj img { max-width: 100%; height: auto; }

/* Headings: keep Avada typography out */
.nahse-sj h1, .nahse-sj h2, .nahse-sj h3 {
	margin: 0; padding: 0; font-family: var(--nahse-sj-sans); text-transform: none; color: inherit; background: none; border: 0;
}
.nahse-sj p { margin: 0; }
.nahse-sj ul, .nahse-sj dl { margin: 0; padding: 0; list-style: none; }
.nahse-sj dd { margin: 0; }

/* Explicit link + button styles so Avada's globals cannot leak in */
.nahse-sj a, .nahse-sj a:visited { color: var(--nahse-sj-blue); text-decoration: none; box-shadow: none; border-bottom: 0; transition: color .2s, background .2s, border-color .2s, transform .3s, box-shadow .3s; }
.nahse-sj a:hover, .nahse-sj a:focus { color: var(--nahse-sj-navy); text-decoration: none; }
.nahse-sj button {
	-webkit-appearance: none; appearance: none; margin: 0; font-family: var(--nahse-sj-sans); text-transform: none; letter-spacing: normal;
	line-height: 1.2; box-shadow: none; min-height: 0; height: auto; width: auto; cursor: pointer; text-shadow: none;
}
.nahse-sj a:focus-visible, .nahse-sj button:focus-visible { outline: 3px solid var(--nahse-sj-gold); outline-offset: 3px; }

.nahse-sj__wrap { position: relative; max-width: 1375px; margin: 0 auto; padding: 0 24px; }
.nahse-sj__sr { position: absolute !important; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; margin: -1px; padding: 0; border: 0; }

/* ---------- Hero ---------- */
.nahse-sj__hero { position: relative; background: var(--nahse-sj-blue); color: #fff; overflow: hidden; }
.nahse-sj__hero-glow { position: absolute; inset: 0; background: radial-gradient(ellipse 55% 90% at 90% 20%, rgba(120, 160, 255, .3), transparent 60%); pointer-events: none; }
.nahse-sj__ribbon { position: absolute; inset: 0; width: 100%; height: 100%; pointer-events: none; }
.nahse-sj__hero-inner { padding-top: var(--nahse-sj-hero-top); padding-bottom: 72px; display: flex; flex-direction: column; gap: 28px; }
.nahse-sj__hero-head { display: flex; flex-direction: column; gap: 22px; }

.nahse-sj .nahse-sj__back, .nahse-sj .nahse-sj__back:visited { align-self: flex-start; font-size: 14px; font-weight: 600; color: var(--nahse-sj-pale); }
.nahse-sj .nahse-sj__back:hover, .nahse-sj .nahse-sj__back:focus { color: #fff; }

.nahse-sj__org { display: flex; gap: 18px; align-items: center; flex-wrap: wrap; }
.nahse-sj__hero-tile {
	flex: none; width: 72px; height: 72px; border-radius: 20px; background: #fff; color: var(--tint, var(--nahse-sj-blue));
	display: flex; align-items: center; justify-content: center; font-size: 24px; font-weight: 700; letter-spacing: -.02em;
	box-shadow: 0 12px 30px rgba(0, 10, 40, .25); overflow: hidden;
}
.nahse-sj__org-text { display: flex; flex-direction: column; gap: 4px; min-width: 0; }
.nahse-sj__org-name { font-size: 17px; font-weight: 600; }
.nahse-sj .nahse-sj__cat, .nahse-sj .nahse-sj__cat:visited { align-self: flex-start; font-size: 14px; color: var(--nahse-sj-pale); text-decoration: underline; text-decoration-color: rgba(199, 211, 255, .35); text-underline-offset: 3px; }
.nahse-sj .nahse-sj__cat:hover, .nahse-sj .nahse-sj__cat:focus { color: #fff; text-decoration-color: #fff; }
.nahse-sj__badge { padding: 6px 14px; border-radius: 999px; background: var(--nahse-sj-gold); color: var(--nahse-sj-navy); font-size: 12px; font-weight: 700; letter-spacing: .04em; text-transform: uppercase; }

.nahse-sj .nahse-sj__title { margin: 0; max-width: 960px; font-weight: 600; font-size: clamp(38px, 4.6vw, 62px); line-height: 1.04; letter-spacing: -.035em; text-wrap: balance; color: #fff; overflow-wrap: anywhere; }

.nahse-sj__facts { display: grid; grid-template-columns: repeat(auto-fit, minmax(170px, 1fr)); gap: 20px; padding-top: 24px; border-top: 1px solid rgba(255, 255, 255, .18); }
.nahse-sj__fact { display: flex; flex-direction: column; gap: 6px; min-width: 0; }
.nahse-sj__fact dt { font-size: 12px; font-weight: 600; letter-spacing: .1em; text-transform: uppercase; color: var(--nahse-sj-sky); }
.nahse-sj__fact dd { font-size: 18px; font-weight: 600; color: #fff; overflow-wrap: anywhere; }

.nahse-sj__actions { display: flex; gap: 10px; flex-wrap: wrap; }
.nahse-sj .nahse-sj__btn {
	display: inline-flex; align-items: center; justify-content: center; gap: 6px; padding: 15px 26px; border-radius: 999px;
	font-size: 15px; font-weight: 600; line-height: 1.2; border: 1px solid transparent; text-align: center;
}
.nahse-sj .nahse-sj__btn--gold, .nahse-sj .nahse-sj__btn--gold:visited { background: var(--nahse-sj-gold); color: var(--nahse-sj-navy); border-color: var(--nahse-sj-gold); }
.nahse-sj .nahse-sj__btn--gold:hover, .nahse-sj .nahse-sj__btn--gold:focus { background: #fff; color: var(--nahse-sj-navy); border-color: #fff; }
.nahse-sj .nahse-sj__btn--ghost { padding: 15px 22px; background: transparent; color: #fff; border: 1px solid rgba(255, 255, 255, .45); }
.nahse-sj .nahse-sj__btn--ghost:hover { background: rgba(255, 255, 255, .1); color: #fff; }
.nahse-sj .nahse-sj__save[aria-pressed="true"] { background: rgba(255, 255, 255, .15); color: var(--nahse-sj-gold); }

/* ---------- Body ---------- */
.nahse-sj__body { background: #fff; }
.nahse-sj__grid { padding-top: 80px; padding-bottom: 96px; display: grid; grid-template-columns: minmax(0, 1fr) 320px; gap: 48px 64px; align-items: start; }
.nahse-sj__main { min-width: 0; display: flex; flex-direction: column; gap: 56px; }
.nahse-sj__block { display: flex; flex-direction: column; gap: 16px; }
.nahse-sj__block--list { gap: 18px; }
.nahse-sj .nahse-sj__eyebrow { font-size: 12px; font-weight: 600; letter-spacing: .1em; text-transform: uppercase; color: var(--nahse-sj-blue); line-height: 1.4; }
.nahse-sj .nahse-sj__h2 { font-size: clamp(24px, 2.4vw, 32px); letter-spacing: -.02em; font-weight: 600; line-height: 1.15; color: var(--nahse-sj-navy); }
.nahse-sj .nahse-sj__h2--lg { font-size: clamp(28px, 3vw, 40px); line-height: 1.1; letter-spacing: -.025em; }
.nahse-sj .nahse-sj__h2 em { font-family: var(--nahse-sj-serif); font-style: italic; font-weight: 400; color: var(--nahse-sj-blue); letter-spacing: -.01em; }

.nahse-sj__rich { display: flex; flex-direction: column; gap: 16px; font-size: 17px; line-height: 1.7; color: var(--nahse-sj-muted); text-wrap: pretty; overflow-wrap: anywhere; }
.nahse-sj__rich--lead > p:first-child { font-size: 20px; line-height: 1.6; color: var(--nahse-sj-navy); }
.nahse-sj__rich ul, .nahse-sj__rich ol { padding-left: 1.3em; list-style: revert; }
.nahse-sj__rich li { margin: 4px 0; }
.nahse-sj__rich strong { color: var(--nahse-sj-navy); }
.nahse-sj__rich a { text-decoration: underline; text-underline-offset: 3px; }
.nahse-sj__rich iframe { max-width: 100%; border: 0; border-radius: 16px; }
.nahse-sj__rich h2, .nahse-sj__rich h3 { font-size: 20px; font-weight: 600; color: var(--nahse-sj-navy); line-height: 1.3; }

.nahse-sj__list { display: flex; flex-direction: column; gap: 12px; }
.nahse-sj__list li { display: flex; gap: 14px; align-items: flex-start; font-size: 17px; line-height: 1.6; color: var(--nahse-sj-ink); margin: 0; padding: 0; }
.nahse-sj__list li::before { content: none; }
.nahse-sj__dot { flex: none; margin-top: 9px; width: 8px; height: 8px; border-radius: 50%; background: var(--nahse-sj-gold); box-shadow: 0 0 0 4px #fdf3d8; }

.nahse-sj__benefits { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 220px), 1fr)); gap: 12px; }
.nahse-sj__benefit { padding: 18px 20px; border-radius: 16px; background: var(--nahse-sj-sand); display: flex; flex-direction: column; gap: 4px; margin: 0; }
.nahse-sj__benefit-t { font-size: 16px; font-weight: 600; color: var(--nahse-sj-navy); }
.nahse-sj__benefit-d { font-size: 14px; color: var(--nahse-sj-muted); line-height: 1.5; }

.nahse-sj__employer { display: flex; gap: 20px; align-items: flex-start; padding: 28px; border-radius: 24px; background: #eef1fb; flex-wrap: wrap; }
.nahse-sj__emp-tile {
	flex: none; width: 64px; height: 64px; border-radius: 18px; background: var(--tint, var(--nahse-sj-blue)); color: #fff;
	display: flex; align-items: center; justify-content: center; font-size: 22px; font-weight: 700; overflow: hidden;
}
.nahse-sj__emp-text { flex: 1 1 300px; min-width: 0; display: flex; flex-direction: column; gap: 8px; }
.nahse-sj__emp-name { font-size: 22px; font-weight: 600; letter-spacing: -.015em; line-height: 1.25; }
.nahse-sj__rich--emp { font-size: 16px; line-height: 1.6; color: var(--nahse-sj-ink); gap: 12px; }
.nahse-sj__emp-links { display: flex; gap: 8px 18px; flex-wrap: wrap; }
.nahse-sj .nahse-sj__emp-count, .nahse-sj .nahse-sj__emp-site { font-size: 14px; font-weight: 600; color: var(--nahse-sj-blue); }
.nahse-sj .nahse-sj__emp-count:hover, .nahse-sj .nahse-sj__emp-site:hover { color: var(--nahse-sj-navy); }

/* Logo variant of any tile (featured image used as employer logo) */
.nahse-sj__hero-tile--logo, .nahse-sj__emp-tile--logo, .nahse-sj__sim-tile--logo { background: #fff; padding: 8px; }
.nahse-sj__emp-tile--logo, .nahse-sj__sim-tile--logo { border: 1px solid var(--nahse-sj-line); }
.nahse-sj [class*="-tile--logo"] img { width: 100%; height: 100%; object-fit: contain; display: block; }
/* Designed placeholder when there is no employer name */
.nahse-sj [class*="-tile--empty"] { background: linear-gradient(135deg, var(--tint), #0a1433); }
.nahse-sj__hero-tile.nahse-sj__hero-tile--empty { background: rgba(255, 255, 255, .14); box-shadow: inset 0 0 0 1px rgba(255, 255, 255, .3); }

/* ---------- Sidebar ---------- */
.nahse-sj__aside { min-width: 0; display: flex; flex-direction: column; gap: 16px; }
.nahse-sj__card { border-radius: 24px; background: #fff; border: 1px solid var(--nahse-sj-line); box-shadow: 0 24px 50px rgba(0, 49, 148, .1); overflow: hidden; }
.nahse-sj__card-head { position: relative; overflow: hidden; padding: 22px 24px; background: var(--nahse-sj-deep); color: #fff; display: flex; flex-direction: column; gap: 4px; }
.nahse-sj__card-head::before { content: ""; position: absolute; inset: 0; background: radial-gradient(circle at 100% 0%, rgba(0, 49, 148, .95), transparent 65%); pointer-events: none; }
.nahse-sj__card-eyebrow { position: relative; font-size: 12px; font-weight: 600; letter-spacing: .1em; text-transform: uppercase; color: var(--nahse-sj-gold); }
.nahse-sj__card-title { position: relative; font-size: 17px; font-weight: 600; line-height: 1.3; }
.nahse-sj__card-body { padding: 8px 24px 24px; display: flex; flex-direction: column; }
.nahse-sj__row { display: flex; justify-content: space-between; gap: 12px; padding: 13px 0; border-bottom: 1px solid #f0f2f7; font-size: 15px; }
.nahse-sj__row dt { color: var(--nahse-sj-soft); flex: none; }
.nahse-sj__row dd { font-weight: 600; text-align: right; min-width: 0; overflow-wrap: anywhere; }
.nahse-sj .nahse-sj__apply, .nahse-sj .nahse-sj__apply:visited { margin-top: 18px; padding: 16px 20px; border-radius: 999px; background: var(--nahse-sj-blue); color: #fff; font-weight: 600; font-size: 16px; text-align: center; display: block; }
.nahse-sj .nahse-sj__apply:hover, .nahse-sj .nahse-sj__apply:focus { background: var(--nahse-sj-navy); color: #fff; transform: translateY(-2px); }
.nahse-sj__apply-note { padding-top: 12px; font-size: 13px; line-height: 1.5; color: var(--nahse-sj-soft); text-align: center; }
.nahse-sj__dl { margin-top: 14px; padding: 10px 14px; border-radius: 12px; font-size: 13px; font-weight: 600; text-align: center; }
.nahse-sj__dl--soon { background: #fdf3d8; color: #6b5a2e; }
.nahse-sj__dl--open { background: #dff3ec; color: #155e4b; }
.nahse-sj__dl--closed { background: #f3f4f8; color: var(--nahse-sj-muted); }

.nahse-sj__refer { padding: 20px 24px; border-radius: 20px; background: var(--nahse-sj-sand); display: flex; flex-direction: column; gap: 8px; }
.nahse-sj__refer-t { font-size: 15px; font-weight: 600; }
.nahse-sj .nahse-sj__textbtn { align-self: flex-start; padding: 0; border: 0; background: none; color: var(--nahse-sj-blue); font-size: 14px; font-weight: 600; }
.nahse-sj .nahse-sj__textbtn:hover { color: var(--nahse-sj-navy); background: none; }

/* ---------- Similar roles ---------- */
.nahse-sj__similar { background: var(--nahse-sj-sand); }
.nahse-sj__similar-inner { padding-top: 88px; padding-bottom: 96px; display: flex; flex-direction: column; gap: 32px; }
.nahse-sj__similar-head { display: flex; justify-content: space-between; align-items: flex-end; gap: 24px; flex-wrap: wrap; }
.nahse-sj__similar-titles { display: flex; flex-direction: column; gap: 14px; }
.nahse-sj .nahse-sj__more { font-size: 15px; font-weight: 600; }
.nahse-sj__cards { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 300px), 1fr)); gap: 16px; }
.nahse-sj .nahse-sj__sim, .nahse-sj .nahse-sj__sim:visited { display: flex; flex-direction: column; gap: 16px; padding: 24px; border-radius: 22px; background: #fff; border: 1px solid var(--nahse-sj-line); color: var(--nahse-sj-navy); transition: transform .4s, box-shadow .4s, border-color .4s; }
.nahse-sj .nahse-sj__sim:hover, .nahse-sj .nahse-sj__sim:focus-visible { transform: translateY(-4px); box-shadow: 0 20px 40px rgba(0, 49, 148, .1); border-color: #c9d4f5; color: var(--nahse-sj-navy); }
.nahse-sj__sim-org { display: flex; gap: 12px; align-items: center; }
.nahse-sj__sim-tile { flex: none; width: 44px; height: 44px; border-radius: 12px; background: var(--tint, var(--nahse-sj-blue)); color: #fff; display: flex; align-items: center; justify-content: center; font-size: 15px; font-weight: 700; overflow: hidden; }
.nahse-sj__sim-orgname { font-size: 14px; font-weight: 600; color: var(--nahse-sj-muted); }
.nahse-sj__sim-title { font-size: 19px; font-weight: 600; letter-spacing: -.015em; line-height: 1.3; }
.nahse-sj__chips { display: flex; gap: 6px; flex-wrap: wrap; }
.nahse-sj__chip { padding: 5px 11px; border-radius: 999px; background: #f3f4f8; font-size: 13px; color: var(--nahse-sj-ink); line-height: 1.4; }
.nahse-sj__chip--blue { background: #eef1fb; font-weight: 600; color: var(--nahse-sj-blue); }

/* ---------- Mobile apply bar (redesign for small screens) ---------- */
.nahse-sj__mbar { display: none; }
.nahse-sj__mbar-end { display: block; height: 1px; margin-top: -1px; pointer-events: none; }

/* ---------- Motion (only when JS adds .nahse-sj--motion) ---------- */
@keyframes nahse-sj-rise { from { opacity: 0; transform: translateY(24px); } to { opacity: 1; transform: none; } }
@keyframes nahse-sj-draw { from { stroke-dashoffset: 1; } to { stroke-dashoffset: 0; } }
.nahse-sj--motion [data-hero] > *, .nahse-sj--motion [data-hero].nahse-sj__facts, .nahse-sj--motion [data-hero].nahse-sj__actions { animation: nahse-sj-rise 1s var(--nahse-sj-ease) both; }
.nahse-sj--motion .nahse-sj__hero-head > *:nth-child(1) { animation-delay: .15s; }
.nahse-sj--motion .nahse-sj__hero-head > *:nth-child(2) { animation-delay: .25s; }
.nahse-sj--motion .nahse-sj__hero-head > *:nth-child(3) { animation-delay: .35s; }
.nahse-sj--motion .nahse-sj__facts { animation-delay: .45s !important; }
.nahse-sj--motion .nahse-sj__actions { animation-delay: .55s !important; }
.nahse-sj--motion .nahse-sj__facts > *, .nahse-sj--motion .nahse-sj__actions > * { animation: none; }
.nahse-sj--motion .nahse-sj__ribbon path { stroke-dasharray: 1; animation: nahse-sj-draw 2.4s .3s cubic-bezier(.6, 0, .2, 1) both; }
.nahse-sj--motion [data-sec] { opacity: 0; transform: translateY(28px); transition: opacity .9s var(--nahse-sj-ease), transform .9s var(--nahse-sj-ease); }
.nahse-sj--motion [data-sec].is-in { opacity: 1; transform: none; }

@media (prefers-reduced-motion: reduce) {
	.nahse-sj *, .nahse-sj *::before, .nahse-sj *::after { animation: none !important; transition: none !important; }
	.nahse-sj [data-sec] { opacity: 1 !important; transform: none !important; }
}

/* ---------- Desktop only: sticky sidebar ---------- */
/* Avada Large screen only (> 1213px) */
@media (min-width: 1214px) {
	.nahse-sj__aside { position: sticky; top: var(--nahse-sj-sticky-top); }
	body.admin-bar .nahse-sj__aside { top: calc(var(--nahse-sj-sticky-top) + 32px); }
	.nahse-sj__aside.is-static { position: static; }
}

/* ---------- Header offset per Avada breakpoint ---------- */
@media (max-width: 1213px) { .nahse-sj { --nahse-sj-hero-top: 128px; } }
@media (max-width: 640px) { .nahse-sj { --nahse-sj-hero-top: 112px; } }

/* ---------- 1100: tablet landscape ---------- */
@media (max-width: 1100px) {
	.nahse-sj__grid { grid-template-columns: minmax(0, 1fr); gap: 48px; padding-top: 64px; padding-bottom: 80px; }
	/* Sidebar becomes a two-up band under the content */
	.nahse-sj__aside { display: grid; grid-template-columns: minmax(0, 1.4fr) minmax(0, 1fr); align-items: start; }
	.nahse-sj__facts { grid-template-columns: repeat(3, minmax(0, 1fr)); }
}

/* ---------- 900: tablet portrait ---------- */
@media (max-width: 900px) {
	.nahse-sj__aside { grid-template-columns: minmax(0, 1fr); }
	.nahse-sj__similar-inner { padding-top: 64px; padding-bottom: 72px; }

	.nahse-sj__mbar {
		position: fixed; left: 12px; right: 12px; bottom: calc(12px + env(safe-area-inset-bottom, 0px)); z-index: 90;
		display: flex; align-items: center; gap: 12px; padding: 10px 10px 10px 18px; border-radius: 999px;
		background: rgba(7, 22, 63, .96); color: #fff; box-shadow: 0 18px 40px rgba(0, 10, 40, .35);
		-webkit-backdrop-filter: blur(12px); backdrop-filter: blur(12px);
		transform: translateY(0); transition: transform .35s var(--nahse-sj-ease), opacity .35s;
	}
	.nahse-sj__mbar[hidden] { display: flex !important; transform: translateY(140%); opacity: 0; pointer-events: none; visibility: hidden; }
	.nahse-sj__mbar-text { flex: 1 1 auto; min-width: 0; display: flex; flex-direction: column; }
	.nahse-sj__mbar-title { font-size: 14px; font-weight: 600; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
	.nahse-sj__mbar-sub { font-size: 12px; color: var(--nahse-sj-pale); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
	.nahse-sj .nahse-sj__mbar-btn, .nahse-sj .nahse-sj__mbar-btn:visited { flex: none; padding: 12px 20px; border-radius: 999px; background: var(--nahse-sj-gold); color: var(--nahse-sj-navy); font-size: 14px; font-weight: 600; }
	.nahse-sj .nahse-sj__mbar-btn:hover { background: #fff; color: var(--nahse-sj-navy); }
	/* Avada To Top sits in the same corner: hide it only while the bar is up */
	body.nahse-sj-mbar-on #toTop { opacity: 0 !important; visibility: hidden !important; pointer-events: none !important; }
}

/* ---------- 767: phone ---------- */
@media (max-width: 767px) {
	.nahse-sj__wrap { padding-left: 20px; padding-right: 20px; }
	.nahse-sj__hero-inner { padding-bottom: 48px; gap: 24px; }
	.nahse-sj__hero-head { gap: 18px; }
	.nahse-sj__hero-tile { width: 56px; height: 56px; border-radius: 16px; font-size: 19px; }
	.nahse-sj__org { gap: 14px; }
	.nahse-sj__org-name { font-size: 16px; }
	.nahse-sj .nahse-sj__title { font-size: clamp(30px, 8.4vw, 40px); line-height: 1.08; }

	/* Facts: compact 2-column ledger (1px gaps draw the grid lines) */
	.nahse-sj__facts { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 1px; padding-top: 0; border-top: 0; border-radius: 18px; background: #2a52a6; overflow: hidden; border: 1px solid #2a52a6; position: relative; }
	.nahse-sj__fact { padding: 14px 16px; background: #0a3aa0; }
	.nahse-sj__fact:last-child:nth-child(odd) { grid-column: 1 / -1; }
	.nahse-sj__fact dt { font-size: 11px; }
	.nahse-sj__fact dd { font-size: 15px; }

	/* Actions: apply full width, save + share split */
	.nahse-sj__actions { display: grid; grid-template-columns: 1fr 1fr; gap: 8px; }
	.nahse-sj .nahse-sj__actions .nahse-sj__btn { width: 100%; padding: 14px 16px; }
	.nahse-sj .nahse-sj__actions .nahse-sj__btn--gold { grid-column: 1 / -1; }

	.nahse-sj__grid { padding-top: 48px; padding-bottom: 64px; gap: 40px; }
	.nahse-sj__main { gap: 44px; }
	.nahse-sj__rich { font-size: 16px; }
	.nahse-sj__rich--lead > p:first-child { font-size: 18px; }
	.nahse-sj__list li { font-size: 16px; }
	.nahse-sj__benefits { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 10px; }
	.nahse-sj__benefit { padding: 16px; }
	.nahse-sj__employer { padding: 22px; gap: 16px; }
	.nahse-sj__emp-tile { width: 52px; height: 52px; border-radius: 14px; font-size: 18px; }
	.nahse-sj__emp-name { font-size: 20px; }

	.nahse-sj__card { border-radius: 20px; }
	.nahse-sj__similar-inner { padding-top: 56px; padding-bottom: 104px; gap: 24px; }
	/* Similar roles: swipeable row instead of a stacked wall */
	.nahse-sj__cards { display: flex; overflow-x: auto; scroll-snap-type: x mandatory; gap: 12px; margin: 0 -20px; padding: 4px 20px 12px; scrollbar-width: none; }
	.nahse-sj__cards::-webkit-scrollbar { display: none; }
	.nahse-sj .nahse-sj__sim { flex: 0 0 82%; scroll-snap-align: start; padding: 20px; }
	.nahse-sj .nahse-sj__sim:hover { transform: none; }
	.nahse-sj__sim-title { font-size: 17px; }
	.nahse-sj__body { padding-bottom: 8px; }
}

/* ---------- 480: small phone ---------- */
@media (max-width: 480px) {
	.nahse-sj__wrap { padding-left: 16px; padding-right: 16px; }
	.nahse-sj__cards { margin: 0 -16px; padding: 4px 16px 12px; }
	.nahse-sj__benefits { grid-template-columns: minmax(0, 1fr); }
	.nahse-sj__facts { grid-template-columns: minmax(0, 1fr); }
	.nahse-sj__fact { display: flex; flex-direction: row; justify-content: space-between; align-items: baseline; gap: 12px; }
	.nahse-sj__fact dd { text-align: right; }
	.nahse-sj__row { font-size: 14px; }
	.nahse-sj .nahse-sj__sim { flex-basis: 88%; }
}

/* ---------- Print ---------- */
@media print {
	.nahse-sj [data-sec], .nahse-sj [data-hero], .nahse-sj [data-hero] > * { opacity: 1 !important; transform: none !important; animation: none !important; }
	.nahse-sj__mbar, .nahse-sj__actions, .nahse-sj__refer, .nahse-sj__ribbon, .nahse-sj__hero-glow { display: none !important; }
	.nahse-sj__aside { position: static !important; }
}

/* =====================================================================
 * END: assets/css/nahse-single-job.css
 * ===================================================================== */
