/* Jobs hub — Shaghaf Figma identity. */
:root {
	--sj-jobs-accent: #f96925;
	--sj-jobs-accent-dark: #e95617;
	--sj-jobs-accent-soft: #fff1e9;
	--sj-jobs-control: #d9d9d9;
	--sj-jobs-ink: #171719;
	--sj-jobs-muted: #6e6e73;
	--sj-jobs-line: #e5e5e8;
	--sj-jobs-soft: #f7f7f8;
	--sj-jobs-card: #fff;
}

body.post-type-archive-job,
body.single-job { background: #f7f7f8; }
body.post-type-archive-job .site-content > .shaghaf-container,
body.single-job .site-content > .shaghaf-container { width: 100%; max-width: none; padding: 0; }

.sj-jobs-page,
.sj-job-single {
	box-sizing: border-box;
	width: min(1320px, calc(100% - 40px));
	margin: 0 auto;
	padding: 38px 0 72px;
	color: var(--sj-jobs-ink);
	font-family: "thmanyahserifdisplay", "Thmanyah Serif Display", Tahoma, Arial, sans-serif;
}
.sj-jobs-page *, .sj-jobs-page *::before, .sj-jobs-page *::after,
.sj-job-single *, .sj-job-single *::before, .sj-job-single *::after { box-sizing: border-box; }
.sj-jobs-page svg, .sj-job-single svg { width: 1.15em; height: 1.15em; fill: none; stroke: currentColor; stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; }

/* Simple page intro — stats intentionally removed. */
.sj-jobs-hero { margin: 0 auto 22px; text-align: center; }
.sj-jobs-heading { display: grid; justify-items: center; gap: 7px; }
.sj-jobs-eyebrow,
.sj-job-single__eyebrow {
	display: inline-flex;
	width: max-content;
	align-items: center;
	padding: 6px 11px;
	color: #c94712;
	background: #fff2eb;
	border: 1px solid rgba(249,105,37,.16);
	border-radius: 999px;
	font-size: 12px;
	font-weight: 900;
}
.sj-jobs-heading h1 { margin: 3px 0 0; font-size: clamp(38px,4vw,54px); font-weight: 950; letter-spacing: -.035em; line-height: 1.05; }
.sj-jobs-heading p { max-width: 640px; margin: 3px 0 0; color: var(--sj-jobs-muted); font-size: 15px; font-weight: 650; line-height: 1.8; }

/* Search — exact component language from the provided Figma reference. */
.sj-jobs-search {
	display: flex;
	width: min(620px, 100%);
	min-height: 48px;
	align-items: stretch;
	margin: 0 auto 18px;
	padding: 2px;
	direction: rtl;
	background: var(--sj-jobs-control);
	border: 0;
	border-radius: 999px;
	box-shadow: none;
	overflow: hidden;
}
.sj-jobs-search__field { display: flex; flex: 1 1 auto; align-items: center; min-width: 0; padding: 0 20px; }
.sj-jobs-search input { width: 100%; min-width: 0; height: 42px; padding: 0; color: #2d2d30; background: transparent !important; border: 0 !important; outline: 0 !important; box-shadow: none !important; font: inherit; font-size: 14px; font-weight: 650; text-align: right; }
.sj-jobs-search input::placeholder { color: #a2a2a2; opacity: 1; }
.sj-jobs-search__submit {
	display: inline-flex;
	min-width: 88px;
	min-height: 42px;
	align-items: center;
	justify-content: center;
	margin: 0;
	padding: 0 22px;
	color: #fff;
	background: var(--sj-jobs-accent);
	border: 0;
	border-radius: 999px;
	box-shadow: none;
	font: inherit;
	font-size: 14px;
	font-weight: 850;
	cursor: pointer;
	transition: transform .16s ease, background .16s ease;
}
.sj-jobs-search__submit:hover { background: var(--sj-jobs-accent-dark); transform: translateY(-1px); }
.sj-jobs-search__submit:focus-visible { outline: 2px solid rgba(249,105,37,.34); outline-offset: 2px; }
.sj-jobs-search:focus-within, .sj-jobs-search input:focus, .sj-jobs-search input:focus-visible { border: 0 !important; outline: 0 !important; box-shadow: none !important; background-color: transparent; }

/* Segmented categories */
.sj-jobs-toolbar { display: flex; align-items: center; justify-content: space-between; gap: 18px; margin-bottom: 22px; }
.sj-jobs-quick {
	display: flex;
	min-width: 0;
	width: max-content;
	max-width: 100%;
	align-items: center;
	gap: 0;
	padding: 2px;
	background: var(--sj-jobs-control);
	border: 0;
	border-radius: 999px;
	overflow-x: auto;
	scrollbar-width: none;
}
.sj-jobs-quick::-webkit-scrollbar { display: none; }
.sj-jobs-chip {
	display: inline-flex;
	min-height: 40px;
	flex: 0 0 auto;
	align-items: center;
	justify-content: center;
	padding: 0 22px;
	color: #565656;
	background: transparent;
	border: 0;
	border-radius: 999px;
	text-decoration: none;
	font-size: 13px;
	font-weight: 700;
	box-shadow: none;
	transition: color .16s ease, background .16s ease, transform .16s ease;
}
.sj-jobs-chip:hover,
.sj-jobs-chip:focus-visible { color: #b73e0d; background: rgba(0,0,0,.035); outline: 0; box-shadow: none; }
.sj-jobs-chip.is-active { color: #fff; background: var(--sj-jobs-accent); box-shadow: none; }

.sj-jobs-sort { position: relative; display: flex; align-items: center; flex: 0 0 auto; min-width: 148px; min-height: 42px; background: var(--sj-jobs-control); border: 0; border-radius: 999px; overflow: hidden; }
.sj-jobs-sort__icon { position: absolute; right: 13px; display: inline-flex; color: #777; pointer-events: none; }
.sj-jobs-sort select { width: 100%; height: 40px; padding: 0 38px 0 14px; color: #505055; background: transparent; border: 0; outline: 0; font: inherit; font-size: 12px; font-weight: 800; cursor: pointer; }

.sj-jobs-results-head { display: flex; align-items: center; justify-content: space-between; gap: 16px; margin: 0 2px 12px; color: #85858c; font-size: 12px; font-weight: 700; }
.sj-jobs-results-head p { margin: 0; }
.sj-jobs-results-head strong { color: #56565c; }
.sj-jobs-results-head a { color: #cf4814; text-decoration: none; font-weight: 900; }

/* Job cards — 20px radius and a full-height image rail. */
.sj-jobs-grid { display: grid; grid-template-columns: repeat(2, minmax(0,1fr)); gap: 14px; }
.sj-job-card {
	position: relative;
	min-height: 138px;
	background: var(--sj-jobs-card);
	border: 1px solid #e2e2e5;
	border-radius: 20px;
	box-shadow: 0 4px 16px rgba(24,24,27,.035);
	overflow: hidden;
	transition: border-color .16s ease, box-shadow .16s ease, transform .16s ease;
}
.sj-job-card:hover { border-color: #d7d7dc; box-shadow: 0 12px 28px rgba(24,24,27,.075); transform: translateY(-2px); }
.sj-job-card__main { display: grid; grid-template-columns: 118px minmax(0,1fr); min-height: 138px; color: inherit; text-decoration: none; }
.sj-job-card__media {
	position: relative;
	display: grid;
	width: 118px;
	height: 100%;
	min-height: 138px;
	place-items: center;
	overflow: hidden;
	background: #ededee;
	border-left: 1px solid #e7e7ea;
}
.sj-job-card__media-fallback { display: grid; position: absolute; inset: 0; place-items: center; color: #cf4814; background: #fff1e9; font-size: 31px; font-weight: 950; }
.sj-job-card__media img { position: absolute; inset: 0; width: 100%; height: 100%; padding: 0; object-position: center; background: transparent; }
.sj-job-card__media img.is-cover { object-fit: cover; }
.sj-job-card__media img.is-logo { object-fit: contain; padding: 12px; background: #f2f2f3; }
.sj-job-card__body { display: flex; min-width: 0; flex-direction: column; justify-content: space-between; gap: 9px; padding: 17px 19px 14px; }
.sj-job-card__top { display: grid; min-width: 0; gap: 4px; }
.sj-job-card__title { display: block; overflow: hidden; color: #1f1f21; font-size: 17px; font-weight: 950; line-height: 1.45; text-overflow: ellipsis; white-space: nowrap; transition: color .16s ease; }
.sj-job-card:hover .sj-job-card__title { color: #141416; }
.sj-job-card__company { overflow: hidden; color: #57575d; font-size: 13px; font-weight: 800; text-overflow: ellipsis; white-space: nowrap; }
.sj-job-card__meta { display: flex; gap: 12px; flex-wrap: wrap; color: #7d7d84; font-size: 11.5px; font-weight: 750; }
.sj-job-card__meta span, .sj-job-card__age { display: inline-flex; align-items: center; gap: 4px; }
.sj-job-card__foot { display: flex; align-items: center; justify-content: space-between; gap: 10px; padding-top: 2px; }
.sj-job-card__age { color: #98989e; font-size: 11px; font-weight: 700; }
.sj-job-card__bookmark { display: inline-flex; color: #b1b1b6; font-size: 17px; }

.sj-jobs-empty { display: grid; min-height: 320px; place-items: center; align-content: center; gap: 8px; padding: 40px; text-align: center; background: #fff; border: 1px solid var(--sj-jobs-line); border-radius: 20px; }
.sj-jobs-empty__icon { display: grid; width: 52px; height: 52px; place-items: center; color: #cf4814; background: #fff1e9; border-radius: 50%; font-size: 22px; }
.sj-jobs-empty h2 { margin: 6px 0 0; font-size: 23px; }
.sj-jobs-empty p { margin: 0; color: var(--sj-jobs-muted); }
.sj-jobs-empty a { margin-top: 8px; color: #fff; background: var(--sj-jobs-accent); border-radius: 999px; padding: 10px 18px; text-decoration: none; font-weight: 900; }

.sj-jobs-pagination { margin-top: 28px; }
.sj-jobs-pagination .page-numbers { display: flex; justify-content: center; gap: 7px; padding: 0; margin: 0; list-style: none; }
.sj-jobs-pagination a, .sj-jobs-pagination span { display: grid; min-width: 40px; height: 40px; place-items: center; padding: 0 12px; color: #57575c; background: var(--sj-jobs-control); border: 0; border-radius: 999px; text-decoration: none; font-size: 12px; font-weight: 850; }
.sj-jobs-pagination .current { color: #fff; background: var(--sj-jobs-accent); border-color: var(--sj-jobs-accent); }

/* Single job */
.sj-job-breadcrumb { display: flex; align-items: center; gap: 8px; margin-bottom: 16px; color: #99999f; font-size: 12px; font-weight: 700; overflow: hidden; white-space: nowrap; }
.sj-job-breadcrumb a { color: #6d6d73; text-decoration: none; }
.sj-job-breadcrumb span:last-child { overflow: hidden; text-overflow: ellipsis; }
.sj-job-single__hero { display: flex; align-items: center; justify-content: space-between; gap: 24px; padding: 28px; background: #fff; border: 1px solid var(--sj-jobs-line); border-radius: 20px; box-shadow: 0 12px 34px rgba(24,24,27,.045); }
.sj-job-single__identity { display: flex; min-width: 0; align-items: center; gap: 20px; }
.sj-job-single__logo { position: relative; display: grid; width: 92px; height: 92px; flex: 0 0 92px; place-items: center; overflow: hidden; color: #cf4814; background: #fff1e9; border: 1px solid #e5e5e8; border-radius: 20px; font-size: 32px; font-weight: 950; }
.sj-job-single__logo img { position: absolute; inset: 0; width: 100%; height: 100%; padding: 0; object-fit: contain; background: #f8f8f8; }
.sj-job-single__hero h1 { margin: 10px 0 4px; font-size: clamp(30px,4vw,48px); font-weight: 950; line-height: 1.12; letter-spacing: -.025em; }
.sj-job-single__company { margin: 0; color: #55555b; font-size: 16px; font-weight: 850; }
.sj-job-single__meta { display: flex; flex-wrap: wrap; gap: 6px; margin-top: 12px; }
.sj-job-single__meta span { display: inline-flex; align-items: center; min-height: 32px; padding: 0 12px; color: #66666c; background: var(--sj-jobs-control); border: 0; border-radius: 999px; font-size: 11.5px; font-weight: 800; }
.sj-job-apply { display: inline-flex; min-height: 44px; align-items: center; justify-content: center; gap: 7px; padding: 0 18px; color: #c94712; background: var(--sj-jobs-control); border: 0; border-radius: 999px; text-decoration: none; font-size: 13px; font-weight: 950; white-space: nowrap; transition: transform .16s ease; }
.sj-job-apply.is-primary { min-height: 48px; padding: 0 23px; color: #fff; background: var(--sj-jobs-accent); border-color: var(--sj-jobs-accent); box-shadow: none; }
.sj-job-apply:hover { transform: translateY(-1px); }
.sj-job-single__layout { display: grid; grid-template-columns: minmax(0,1fr) 340px; gap: 20px; align-items: start; margin-top: 20px; }
.sj-job-single__content, .sj-job-summary-card { background: #fff; border: 1px solid var(--sj-jobs-line); border-radius: 20px; box-shadow: 0 8px 26px rgba(24,24,27,.03); }
.sj-job-single__content { padding: clamp(24px,4vw,44px); }
.sj-job-single__content h2, .sj-job-summary-card h2 { margin: 0 0 18px; color: #242427; font-size: 20px; font-weight: 950; }
.sj-job-single__prose { color: #45454b; font-size: 16px; font-weight: 600; line-height: 2; }
.sj-job-single__prose :where(p,ul,ol,h2,h3,h4) { max-width: 78ch; }
.sj-job-single__prose a { color: #cf4814; }
.sj-job-summary-card { padding: 22px; }
.sj-job-summary-card dl { display: grid; gap: 0; margin: 0 0 18px; }
.sj-job-summary-card dl div { display: grid; grid-template-columns: 92px minmax(0,1fr); gap: 10px; padding: 12px 0; border-bottom: 1px solid #eeeeF1; }
.sj-job-summary-card dt { color: #96969d; font-size: 11.5px; font-weight: 800; }
.sj-job-summary-card dd { margin: 0; color: #424248; font-size: 12.5px; font-weight: 850; }
.sj-job-summary-card .sj-job-apply { width: 100%; }
.sj-job-source-note { margin: 12px 4px 0; color: #9a9aa0; font-size: 10.5px; font-weight: 650; line-height: 1.8; }

@media (max-width: 900px) {
	.sj-jobs-page, .sj-job-single { width: min(100% - 24px, 760px); padding-top: 26px; }
	.sj-jobs-toolbar { align-items: stretch; flex-direction: column; }
	.sj-jobs-quick { width: 100%; }
	.sj-jobs-sort { align-self: flex-end; }
	.sj-jobs-grid { grid-template-columns: 1fr; }
	.sj-job-single__layout { grid-template-columns: 1fr; }
}
@media (max-width: 620px) {
	.sj-jobs-page, .sj-job-single { width: min(100% - 18px, 560px); padding-bottom: 50px; }
	.sj-jobs-heading h1 { font-size: 40px; }
	.sj-jobs-heading p { font-size: 14px; }
	.sj-jobs-search { min-height: 46px; }
	.sj-jobs-search__field { padding: 0 15px; }
	.sj-jobs-search input { font-size: 13px; }
	.sj-jobs-search__submit { min-width: 78px; padding: 0 18px; }
	.sj-jobs-chip { padding-inline: 17px; }
	.sj-job-card__main { grid-template-columns: 92px minmax(0,1fr); min-height: 124px; }
	.sj-job-card__media { width: 92px; min-height: 124px; }
	.sj-job-card__body { padding: 14px 13px 11px; }
	.sj-job-card__title { font-size: 15.5px; }
	.sj-job-card__meta { gap: 8px; }
	.sj-job-single__hero { align-items: flex-start; flex-direction: column; padding: 20px; }
	.sj-job-single__identity { align-items: flex-start; gap: 13px; }
	.sj-job-single__logo { width: 66px; height: 66px; flex-basis: 66px; }
	.sj-job-single__hero h1 { font-size: 27px; }
	.sj-job-apply.is-primary { width: 100%; }
	.sj-job-single__content { padding: 22px 18px; }
}


/* 3.1.6 precision pass. */
.sj-jobs-search,
.sj-jobs-quick,
.sj-jobs-sort {
	isolation: isolate;
	box-shadow: none;
}
.sj-jobs-search__field { background: transparent !important; border: 0 !important; box-shadow: none !important; }
.sj-jobs-search input::-webkit-search-cancel-button { opacity: .55; cursor: pointer; }
.sj-jobs-search input:focus::placeholder { color: #8f8f93; }
.sj-jobs-chip:focus-visible,
.sj-jobs-sort select:focus-visible,
.sj-jobs-search__submit:focus-visible { outline: 0; box-shadow: none; }
.sj-job-card__main:focus-visible { outline: 0; box-shadow: inset 0 0 0 2px rgba(25,25,27,.09); border-radius: 20px; }
.sj-job-card__media::after { content: ""; position: absolute; inset: 0; pointer-events: none; box-shadow: inset -1px 0 rgba(255,255,255,.18); }
@media (max-width: 620px) {
	.sj-jobs-toolbar { gap: 12px; margin-bottom: 18px; }
	.sj-jobs-results-head { margin-bottom: 10px; }
	.sj-jobs-grid { gap: 11px; }
	.sj-job-card { border-radius: 20px; }
	.sj-job-card__media img.is-logo { padding: 9px; }
}

/* 3.1.7 — smart-link + detail polish. */
.sj-job-card__main { grid-template-columns: 124px minmax(0,1fr); min-height: 146px; }
.sj-job-card__media { width: 124px; min-height: 146px; align-self: stretch; }
.sj-job-card__body { min-height: 146px; padding: 17px 20px 14px; }
.sj-job-card__title {
	display: -webkit-box;
	overflow: hidden;
	white-space: normal;
	text-overflow: clip;
	-webkit-box-orient: vertical;
	-webkit-line-clamp: 2;
	line-clamp: 2;
}
.sj-job-card__foot-actions { display: inline-flex; align-items: center; gap: 9px; }
.sj-job-card__apply-ready {
	display: inline-flex;
	min-height: 26px;
	align-items: center;
	gap: 4px;
	padding: 0 9px;
	color: #b94313;
	background: #fff1e9;
	border-radius: 999px;
	font-size: 10px;
	font-weight: 900;
	white-space: nowrap;
}
.sj-job-card__apply-ready > span { font-size: 10px; }

.sj-job-single__heading { min-width: 0; }
.sj-job-single__actions { display: flex; flex: 0 0 auto; align-items: center; gap: 8px; }
.sj-job-apply.is-secondary { color: #5f5f65; background: #ededee; }
.sj-job-apply.is-primary:hover,
.sj-job-apply.is-primary:focus-visible { color: #fff; background: var(--sj-jobs-accent-dark); }
.sj-job-apply:focus-visible,
.sj-job-source-link:focus-visible { outline: 2px solid rgba(249,105,37,.25); outline-offset: 3px; }
.sj-job-link-status {
	display: inline-flex;
	width: max-content;
	max-width: 100%;
	align-items: center;
	gap: 6px;
	margin-top: 10px;
	padding: 5px 9px;
	color: #6a4a3d;
	background: #fff8f4;
	border-radius: 999px;
	font-size: 10.5px;
	font-weight: 800;
}
.sj-job-link-status > span {
	display: grid;
	width: 17px;
	height: 17px;
	place-items: center;
	color: #fff;
	background: var(--sj-jobs-accent);
	border-radius: 50%;
	font-size: 10px;
}
.sj-job-section-head {
	display: flex;
	align-items: flex-start;
	justify-content: space-between;
	gap: 18px;
	margin-bottom: 24px;
	padding-bottom: 18px;
	border-bottom: 1px solid #eeeeF1;
}
.sj-job-section-head > div { display: grid; gap: 3px; }
.sj-job-section-head > div > span { color: #9a9aa0; font-size: 10.5px; font-weight: 850; }
.sj-job-section-head h2 { margin: 0; }
.sj-job-section-head > a {
	flex: 0 0 auto;
	color: #c94712;
	text-decoration: none;
	font-size: 11.5px;
	font-weight: 900;
}
.sj-job-summary-card { position: sticky; top: 88px; }
.sj-job-summary-card .sj-job-apply.is-primary { margin-top: 2px; }
.sj-job-source-link {
	display: flex;
	min-height: 38px;
	align-items: center;
	justify-content: center;
	margin-top: 8px;
	color: #707076;
	background: #f3f3f4;
	border-radius: 999px;
	text-decoration: none;
	font-size: 11.5px;
	font-weight: 850;
}
.sj-job-source-link:hover { color: #b94313; background: #fff1e9; }

@media (max-width: 900px) {
	.sj-job-summary-card { position: static; }
	.sj-job-single__hero { align-items: flex-start; }
	.sj-job-single__actions { flex-direction: column; align-items: stretch; }
}
@media (max-width: 620px) {
	.sj-job-card__main { grid-template-columns: 96px minmax(0,1fr); min-height: 132px; }
	.sj-job-card__media { width: 96px; min-height: 132px; }
	.sj-job-card__body { min-height: 132px; padding: 13px 13px 11px; }
	.sj-job-card__apply-ready { min-height: 23px; padding-inline: 7px; font-size: 9px; }
	.sj-job-single__actions { width: 100%; }
	.sj-job-single__actions .sj-job-apply { width: 100%; }
	.sj-job-link-status { white-space: normal; line-height: 1.5; }
	.sj-job-section-head { align-items: center; }
	.sj-job-section-head > a { display: none; }
}

/* 3.1.9 — reliable logo/image media + rich job details. */
.sj-job-card__media {
	background: #f0f0f1;
}
.sj-job-card__media img.is-cover {
	object-fit: cover;
	object-position: center;
	background: #f0f0f1;
}
.sj-job-card__media img.is-logo {
	object-fit: contain;
	object-position: center;
	padding: 14px;
	background: #f6f6f7;
}
.sj-job-card__media-fallback {
	z-index: 0;
}
.sj-job-card__media img {
	z-index: 1;
}

.sj-job-single__cover {
	position: relative;
	width: 100%;
	aspect-ratio: 16 / 6.8;
	margin: 20px 0 0;
	overflow: hidden;
	background: #ececef;
	border: 1px solid var(--sj-jobs-line);
	border-radius: 20px;
	box-shadow: 0 8px 26px rgba(24,24,27,.035);
}
.sj-job-single__cover img {
	display: block;
	width: 100%;
	height: 100%;
	object-fit: cover;
	object-position: center;
}
.sj-job-single__prose {
	overflow-wrap: anywhere;
}
.sj-job-single__prose > :first-child { margin-top: 0; }
.sj-job-single__prose > :last-child { margin-bottom: 0; }
.sj-job-single__prose :where(h2,h3,h4) {
	margin-top: 1.55em;
	margin-bottom: .55em;
	color: #242427;
	font-weight: 950;
	line-height: 1.45;
}
.sj-job-single__prose h2 { font-size: 22px; }
.sj-job-single__prose h3 { font-size: 19px; }
.sj-job-single__prose h4 { font-size: 17px; }
.sj-job-single__prose :where(p,ul,ol) { margin-top: 0; margin-bottom: 1em; }
.sj-job-single__prose :where(ul,ol) { padding-inline-start: 1.35em; }
.sj-job-single__prose li + li { margin-top: .35em; }
.sj-job-single__prose img {
	display: block;
	max-width: 100%;
	height: auto;
	margin: 18px auto;
	border-radius: 16px;
}
.sj-job-single__prose figure { max-width: 100%; margin: 22px 0; }
.sj-job-single__prose table {
	display: block;
	max-width: 100%;
	overflow-x: auto;
	border-collapse: collapse;
}
.sj-job-single__prose :where(th,td) {
	padding: 10px 12px;
	border: 1px solid #e4e4e7;
	text-align: start;
}
.sj-job-single__prose blockquote {
	margin: 1.2em 0;
	padding: 14px 16px;
	background: #fff7f2;
	border-inline-start: 4px solid var(--sj-jobs-accent);
	border-radius: 12px;
}

@media (max-width: 620px) {
	.sj-job-single__cover { aspect-ratio: 16 / 9; margin-top: 14px; }
	.sj-job-single__prose { font-size: 15px; line-height: 1.95; }
	.sj-job-single__prose h2 { font-size: 20px; }
}


/* 3.1.9 — company logos stay fully visible; broken media falls back cleanly. */
.sj-job-card__media img.is-logo {
	object-fit: contain;
	object-position: center;
	padding: 11px;
	background: #f2f2f3;
}
.sj-job-card__media img.is-cover {
	object-fit: cover;
	object-position: center;
	padding: 0;
}
.sj-job-single__logo img {
	object-fit: contain;
	object-position: center;
}
.sj-job-single__cover img.is-logo {
	object-fit: contain;
	padding: 24px;
	background: #f2f2f3;
}


/* 3.2.1 — source-free public UI + precision polish. */
body.single-job .sj-job-single a[href*="ewdifh.com"],
body.single-job .sj-job-single a[href*="rss.app"] { display: none !important; }

.sj-job-card__bookmark { display: none !important; }
.sj-job-card__details {
	display: inline-flex;
	align-items: center;
	gap: 5px;
	color: #77777d;
	font-size: 10.5px;
	font-weight: 850;
	white-space: nowrap;
	transition: color .16s ease, transform .16s ease;
}
.sj-job-card:hover .sj-job-card__details { color: #c94712; transform: translateX(-2px); }
.sj-job-card__apply-ready { color: #276546; background: #eef8f1; }
.sj-job-card__apply-ready > span { color: #237a4b; }

.sj-job-single__hero {
	background: linear-gradient(180deg,#fff 0%,#fdfdfd 100%);
	box-shadow: 0 10px 32px rgba(24,24,27,.04);
}
.sj-job-single__actions { min-width: 170px; justify-content: flex-end; }
.sj-job-apply.is-primary {
	box-shadow: 0 7px 18px rgba(249,105,37,.17);
	transition: transform .16s ease, background .16s ease, box-shadow .16s ease;
}
.sj-job-apply.is-primary:hover { box-shadow: 0 10px 24px rgba(249,105,37,.23); }
.sj-job-apply-unavailable {
	display: inline-flex;
	min-height: 44px;
	align-items: center;
	justify-content: center;
	padding: 0 16px;
	color: #77777d;
	background: #f2f2f3;
	border: 1px solid #e5e5e7;
	border-radius: 999px;
	font-size: 11.5px;
	font-weight: 800;
	white-space: nowrap;
}
.sj-job-summary-card__head { display: grid; gap: 2px; margin-bottom: 8px; }
.sj-job-summary-card__head > span { color: #9a9aa0; font-size: 10px; font-weight: 850; }
.sj-job-summary-card__head h2 { margin: 0 0 8px; }
.sj-job-summary-card dl div:last-child { border-bottom: 0; }
.sj-job-summary-missing {
	padding: 12px 14px;
	color: #77777d;
	background: #f7f7f8;
	border: 1px solid #ececef;
	border-radius: 14px;
	font-size: 11px;
	font-weight: 750;
	line-height: 1.7;
	text-align: center;
}
.sj-job-trust-note {
	margin: 12px 4px 0;
	padding-inline-start: 18px;
	position: relative;
	color: #94949a;
	font-size: 10.5px;
	font-weight: 650;
	line-height: 1.8;
}
.sj-job-trust-note::before { content: "✓"; position: absolute; inset-inline-start: 0; top: .08em; color: #3c8a61; font-weight: 950; }
.sj-job-details-pending {
	padding: 18px;
	color: #68686e;
	background: #f8f8f9;
	border: 1px dashed #dcdce0;
	border-radius: 16px;
}
.sj-job-details-pending strong { display: block; margin-bottom: 5px; color: #343438; }
.sj-job-details-pending p { margin: 0 !important; }

/* Links kept inside the actual job description. */
.sj-job-single__prose a:not([href*="ewdifh.com"]):not([href*="rss.app"]) {
	font-weight: 850;
	text-underline-offset: 3px;
	text-decoration-thickness: 1px;
}
.sj-job-single__prose .shaghaf-inline-action,
.sj-job-single__prose .shaghaf-official-actions a {
	display: inline-flex;
	min-height: 42px;
	align-items: center;
	justify-content: center;
	margin: 4px 0;
	padding: 0 16px;
	color: #fff !important;
	background: var(--sj-jobs-accent);
	border-radius: 999px;
	text-decoration: none !important;
	font-size: 12px;
	font-weight: 900;
}
.sj-job-single__prose .shaghaf-inline-action:hover,
.sj-job-single__prose .shaghaf-official-actions a:hover { background: var(--sj-jobs-accent-dark); }
.sj-job-single__prose .shaghaf-link-row { margin: .6em 0 1.1em; }
.sj-job-single__prose .shaghaf-official-actions {
	margin-top: 24px;
	padding: 18px;
	background: #fff8f4;
	border: 1px solid rgba(249,105,37,.14);
	border-radius: 16px;
}

@media (max-width: 620px) {
	.sj-job-single__hero { padding: 18px; gap: 18px; }
	.sj-job-single__actions { min-width: 0; width: 100%; }
	.sj-job-apply-unavailable { width: 100%; white-space: normal; text-align: center; }
	.sj-job-summary-card { padding: 18px; }
	.sj-job-card__details { font-size: 9.5px; }
}


/* 3.2.2 — clean article-first single job layout. */
.sj-job-single { max-width: 1180px; }
.sj-job-single__hero { padding: clamp(20px,3vw,30px); }
.sj-job-single__hero h1 {
	max-width: 860px;
	font-size: clamp(27px,3vw,40px);
	line-height: 1.25;
	letter-spacing: -.018em;
}
.sj-job-single__company { margin-top: 8px; font-size: 14px; }
.sj-job-single__layout { grid-template-columns: minmax(0,1fr) 310px; gap: 24px; }
.sj-job-single__content { padding: clamp(24px,3.6vw,42px); }
.sj-job-single__prose {
	color: #3e3e43;
	font-size: 16px;
	font-weight: 560;
	line-height: 2.05;
}
.sj-job-single__prose :where(p,ul,ol,h2,h3,h4) { max-width: 82ch; }
.sj-job-single__prose > p:empty,
.sj-job-single__prose > div:empty { display: none; }
.sj-job-single__prose h3 {
	margin-top: 1.8em;
	padding-bottom: 8px;
	border-bottom: 1px solid #ededf0;
	font-size: 18px;
}
.sj-job-single__prose ul { margin-inline: 0; }
.sj-job-single__prose .shaghaf-link-row { margin: 10px 0 16px; }
.sj-job-single__prose .shaghaf-inline-action {
	min-height: 40px;
	padding-inline: 18px;
	box-shadow: 0 5px 14px rgba(249,105,37,.13);
}
.sj-job-summary-card { border-radius: 18px; box-shadow: 0 7px 24px rgba(24,24,27,.028); }
.sj-job-section-head { margin-bottom: 28px; }
.sj-job-section-head > div > span { display: none; }
.sj-job-section-head h2 { font-size: 18px; }

@media (max-width: 900px) {
	.sj-job-single__layout { grid-template-columns: 1fr; }
	.sj-job-single__aside { order: -1; }
	.sj-job-summary-card { position: static; }
}
@media (max-width: 620px) {
	.sj-job-single__hero h1 { font-size: 25px; }
	.sj-job-single__content { padding: 22px 17px; }
	.sj-job-single__prose { font-size: 15px; line-height: 1.95; }
}

/* 3.3.0 — real taxonomy with the exact grey/orange Figma segmented language. */
body.tax-job_category { background: #f7f7f8; }
body.tax-job_category .site-content > .shaghaf-container { width: 100%; max-width: none; padding: 0; }

.sj-jobs-toolbar { align-items: flex-end; }
.sj-jobs-filters {
	display: grid;
	min-width: 0;
	flex: 1 1 auto;
	gap: 12px;
}
.sj-jobs-filter-group {
	display: grid;
	min-width: 0;
	gap: 6px;
}
.sj-jobs-filter-label {
	padding-inline: 3px;
	color: #8b8b91;
	font-size: 10.5px;
	font-weight: 900;
}

.sj-jobs-quick {
	display: flex;
	width: max-content;
	max-width: 100%;
	min-width: 0;
	align-items: center;
	gap: 0;
	padding: 2px;
	background: var(--sj-jobs-control);
	border: 0;
	border-radius: 999px;
	box-shadow: none;
	overflow-x: auto;
	overscroll-behavior-inline: contain;
	scrollbar-width: none;
}
.sj-jobs-quick::-webkit-scrollbar { display: none; }

.sj-jobs-chip {
	display: inline-flex;
	min-height: 40px;
	flex: 0 0 auto;
	align-items: center;
	justify-content: center;
	padding: 0 21px;
	color: #565656;
	background: transparent;
	border: 0;
	border-radius: 999px;
	box-shadow: none;
	text-decoration: none;
	font-size: 12.5px;
	font-weight: 750;
	white-space: nowrap;
	transition: color .16s ease, background .16s ease;
}
.sj-jobs-chip:hover:not(.is-active) {
	color: #333337;
	background: rgba(255,255,255,.32);
}
.sj-jobs-chip.is-active {
	color: #fff;
	background: var(--sj-jobs-accent);
}
.sj-jobs-chip:focus-visible {
	outline: 2px solid rgba(249,105,37,.34);
	outline-offset: 2px;
}
.sj-jobs-sort { margin-bottom: 1px; }

.sj-job-card__categories {
	display: flex;
	min-width: 0;
	flex-wrap: wrap;
	gap: 5px;
	margin-top: 2px;
}
.sj-job-card__categories > span {
	display: inline-flex;
	min-height: 22px;
	align-items: center;
	padding: 0 8px;
	color: #6c6c72;
	background: #f2f2f3;
	border-radius: 999px;
	font-size: 9.5px;
	font-weight: 850;
}
.sj-job-single__categories {
	display: flex;
	flex-wrap: wrap;
	gap: 6px;
	margin-top: 9px;
}
.sj-job-single__categories a {
	display: inline-flex;
	min-height: 28px;
	align-items: center;
	padding: 0 10px;
	color: #55555b;
	background: #f1f1f2;
	border: 1px solid #e5e5e8;
	border-radius: 999px;
	text-decoration: none;
	font-size: 10.5px;
	font-weight: 850;
}
.sj-job-single__categories a:hover,
.sj-job-single__categories a:focus-visible {
	color: #232327;
	background: #e9e9eb;
	outline: 0;
}

@media (max-width: 900px) {
	.sj-jobs-toolbar { align-items: stretch; }
	.sj-jobs-sort { align-self: flex-end; }
}
@media (max-width: 620px) {
	.sj-jobs-filter-label { font-size: 10px; }
	.sj-jobs-chip { min-height: 38px; padding-inline: 16px; font-size: 11.5px; }
	.sj-job-card__categories { flex-wrap: nowrap; overflow: hidden; }
	.sj-job-card__categories > span { max-width: 150px; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
}

/* 3.3.1 — Figma overflow taxonomy bar: four visible chips + fixed +, full-width reveal + fixed −. */
.sj-jobs-category-stack {
	display: grid;
	width: 100%;
	min-width: 0;
	gap: 0;
}
.sj-jobs-category-stack.is-expanded { gap: 10px; }

/* The shell itself never scrolls: only its chip rail does, so + / − stays pinned at the left edge. */
.sj-jobs-category-stack .sj-jobs-quick {
	display: flex;
	width: max-content;
	max-width: 100%;
	min-width: 0;
	align-items: center;
	gap: 0;
	overflow: hidden;
}
.sj-jobs-category-stack.has-overflow > .sj-jobs-quick:first-child {
	width: fit-content;
}
.sj-jobs-chip-list {
	display: flex;
	min-width: 0;
	align-items: center;
	gap: 0;
	overflow-x: auto;
	overflow-y: hidden;
	overscroll-behavior-inline: contain;
	scrollbar-width: none;
	-webkit-overflow-scrolling: touch;
}
.sj-jobs-chip-list::-webkit-scrollbar { display: none; }

.sj-jobs-chip-toggle {
	display: inline-flex;
	width: 36px;
	min-width: 36px;
	height: 36px;
	min-height: 36px;
	flex: 0 0 36px;
	align-items: center;
	justify-content: center;
	margin: 0;
	padding: 0;
	color: #fff;
	background: var(--sj-jobs-accent);
	border: 0;
	border-radius: 999px;
	box-shadow: none;
	cursor: pointer;
	font: inherit;
	font-size: 24px;
	font-weight: 500;
	line-height: 1;
	transition: background .16s ease, transform .16s ease;
}
.sj-jobs-chip-toggle:hover { background: #ea5d1c; }
.sj-jobs-chip-toggle:focus-visible {
	background: #ea5d1c;
	outline: 0;
	box-shadow: 0 0 0 3px rgba(249,105,37,.18);
}
.sj-jobs-chip-toggle:active { transform: scale(.96); }
.sj-jobs-chip-toggle__symbol {
	display: block;
	line-height: 1;
	transform: translateY(-1px);
}

/* Expanded row mirrors the reference: a long grey capsule under the compact row, with − fixed at far left. */
.sj-jobs-category-stack .sj-jobs-quick--overflow {
	width: 100%;
	max-width: 100%;
	min-height: 40px;
	justify-content: stretch;
	transform-origin: top center;
}
.sj-jobs-quick--overflow .sj-jobs-chip-list {
	flex: 1 1 auto;
}
.sj-jobs-category-stack.is-expanded .sj-jobs-quick--overflow:not([hidden]) {
	animation: sj-jobs-category-reveal .18s cubic-bezier(.2,.7,.2,1) both;
}
@keyframes sj-jobs-category-reveal {
	from { opacity: 0; transform: translateY(-6px) scaleY(.96); }
	to   { opacity: 1; transform: translateY(0) scaleY(1); }
}

@media (prefers-reduced-motion: reduce) {
	.sj-jobs-category-stack.is-expanded .sj-jobs-quick--overflow:not([hidden]) { animation: none; }
	.sj-jobs-chip-toggle { transition: none; }
}

@media (max-width: 620px) {
	.sj-jobs-category-stack.is-expanded { gap: 8px; }
	.sj-jobs-chip-toggle {
		width: 34px;
		min-width: 34px;
		height: 34px;
		min-height: 34px;
		flex-basis: 34px;
		font-size: 22px;
	}
	.sj-jobs-category-stack.has-overflow > .sj-jobs-quick:first-child {
		width: 100%;
	}
	.sj-jobs-category-stack .sj-jobs-quick--overflow {
		width: 100%;
	}
}
