/*
 * Shaghaf compact site shell 3.0.1
 * Small, calm, lively orange header and footer. Loaded last on every page.
 */

:root {
	--sj-shell-orange: #f15a24;
	--sj-shell-orange-dark: #d94712;
	--sj-shell-orange-soft: #fff2eb;
	--sj-shell-ink: #171719;
	--sj-shell-muted: #6e6e73;
	--sj-shell-line: rgba(23, 23, 25, 0.10);
	--sj-shell-surface: rgba(255, 255, 255, 0.94);
	--sj-shell-font: "thmanyahserifdisplay", "Thmanyah Serif Display", Tahoma, Arial, sans-serif;
}

/* ---------- Header ---------- */
.sj-global-header,
.sj-global-header *,
.sj-global-header *::before,
.sj-global-header *::after {
	box-sizing: border-box;
}

.sj-global-header {
	position: sticky;
	top: 0;
	z-index: 1000;
	width: 100%;
	min-height: 62px;
	color: var(--sj-shell-ink);
	background: var(--sj-shell-surface);
	border: 0;
	border-bottom: 1px solid var(--sj-shell-line);
	box-shadow: none;
	font-family: var(--sj-shell-font);
	isolation: isolate;
	transition: background-color 180ms ease, box-shadow 180ms ease, border-color 180ms ease;
}

@supports ((-webkit-backdrop-filter: blur(16px)) or (backdrop-filter: blur(16px))) {
	.sj-global-header {
		-webkit-backdrop-filter: saturate(150%) blur(16px);
		backdrop-filter: saturate(150%) blur(16px);
	}
}

body.admin-bar .sj-global-header { top: 32px; }
.sj-global-header a { color: inherit; text-decoration: none; }
.sj-global-header button,
.sj-global-header input { font: inherit; }

.sj-global-accent {
	position: absolute;
	top: 0;
	right: 0;
	left: 0;
	height: 3px;
	background: linear-gradient(90deg, transparent 0 7%, var(--sj-shell-orange) 28% 72%, transparent 93% 100%);
	opacity: 0.9;
	pointer-events: none;
}

.sj-global-wrap {
	width: min(1240px, calc(100% - 32px));
	margin-inline: auto;
}

.sj-global-header-in {
	display: grid;
	grid-template-columns: auto minmax(0, 1fr) auto;
	align-items: center;
	gap: clamp(18px, 2.4vw, 36px);
	min-height: 62px;
	padding: 6px 0 4px;
}

.sj-global-logo {
	display: inline-flex;
	min-width: 0;
	align-items: center;
	justify-self: start;
	padding: 0;
	border-radius: 0;
	-webkit-tap-highlight-color: transparent;
}

.sj-global-logo-mark {
	position: relative;
	display: flex;
	width: auto;
	max-width: 180px;
	height: 42px;
	flex: 0 1 auto;
	align-items: center;
	justify-content: flex-start;
	overflow: visible;
	color: #fff;
	background: transparent;
	border: 0;
	border-radius: 0;
	box-shadow: none;
	font-size: 18px;
	font-weight: 950;
}

.sj-global-logo-mark::after {
	display: none;
	content: none;
}

.sj-global-logo-mark.has-image img {
	display: block;
	width: auto;
	max-width: 100%;
	height: 100%;
	object-fit: contain;
	object-position: center;
}

.sj-global-logo-mark.is-fallback {
	display: grid;
	width: 38px;
	max-width: none;
	height: 38px;
	flex: 0 0 38px;
	place-items: center;
	background: var(--sj-shell-ink);
	border: 1px solid rgba(23, 23, 25, 0.1);
	border-radius: 50%;
	box-shadow: 0 0 0 3px var(--sj-shell-orange-soft);
}

.sj-global-nav {
	display: flex;
	width: max-content;
	max-width: 100%;
	align-items: center;
	justify-content: center;
	justify-self: center;
	gap: 2px;
	min-height: 40px;
	padding: 0;
	background: transparent;
	border: 0;
	border-radius: 0;
	box-shadow: none;
}

.sj-global-nav-link {
	position: relative;
	display: inline-flex;
	min-height: 38px;
	align-items: center;
	justify-content: center;
	padding: 0 clamp(11px, 1.15vw, 16px);
	color: #444448;
	background: transparent;
	border: 0;
	border-radius: 11px;
	font-size: 13.5px;
	font-weight: 850;
	line-height: 1;
	white-space: nowrap;
	transition: color 160ms ease, background-color 160ms ease, transform 160ms ease;
}

.sj-global-nav-link::after {
	position: absolute;
	right: 50%;
	bottom: 3px;
	width: 0;
	height: 2px;
	background: var(--sj-shell-orange);
	border-radius: 99px;
	content: "";
	transform: translateX(50%);
	transition: width 160ms ease;
}

.sj-global-nav-link:hover,
.sj-global-nav-link:focus-visible {
	color: var(--sj-shell-orange-dark);
	background: var(--sj-shell-orange-soft);
}

.sj-global-nav-link.is-active {
	color: var(--sj-shell-ink);
	background: var(--sj-shell-orange-soft);
	box-shadow: none;
}

.sj-global-nav-link.is-active::after { width: 18px; }

.sj-global-actions {
	display: flex;
	align-items: center;
	justify-self: end;
	gap: 7px;
}

.sj-global-search-toggle,
.sj-global-menu-toggle,
.sj-global-search-close {
	-webkit-appearance: none;
	appearance: none;
	display: inline-flex;
	min-width: 38px;
	height: 38px;
	min-height: 38px;
	align-items: center;
	justify-content: center;
	gap: 6px;
	padding: 0 11px;
	color: #3c3c40;
	background: #fff;
	border: 1px solid var(--sj-shell-line);
	border-radius: 12px;
	box-shadow: 0 2px 8px rgba(23, 23, 25, 0.035);
	cursor: pointer;
	line-height: 1;
	transition: color 160ms ease, background-color 160ms ease, border-color 160ms ease, transform 160ms ease;
}

.sj-global-menu-toggle { display: none; padding: 0; }
.sj-global-action-label { font-size: 12px; font-weight: 850; }

.sj-global-search-toggle:hover,
.sj-global-search-toggle:focus-visible,
.sj-global-menu-toggle:hover,
.sj-global-menu-toggle:focus-visible,
.sj-global-search-close:hover,
.sj-global-search-close:focus-visible {
	color: var(--sj-shell-orange-dark);
	background: var(--sj-shell-orange-soft);
	border-color: rgba(241, 90, 36, 0.28);
}

.sj-global-cta {
	display: inline-flex;
	height: 40px;
	min-height: 40px;
	align-items: center;
	justify-content: center;
	gap: 7px;
	padding: 0 14px;
	color: #fff !important;
	background: var(--sj-shell-orange);
	border: 1px solid var(--sj-shell-orange);
	border-radius: 12px;
	box-shadow: 0 7px 16px rgba(241, 90, 36, 0.16);
	font-size: 13px;
	font-weight: 950;
	line-height: 1;
	white-space: nowrap;
	transition: background-color 160ms ease, border-color 160ms ease, box-shadow 160ms ease, transform 160ms ease;
}

.sj-global-cta b {
	display: grid;
	width: 18px;
	height: 18px;
	place-items: center;
	color: var(--sj-shell-orange-dark);
	background: #fff;
	border-radius: 50%;
	font-size: 10px;
}

.sj-global-cta:hover,
.sj-global-cta:focus-visible {
	color: #fff !important;
	background: var(--sj-shell-orange-dark);
	border-color: var(--sj-shell-orange-dark);
	box-shadow: 0 9px 20px rgba(217, 71, 18, 0.2);
	transform: translateY(-1px);
}

.sj-global-icon {
	position: relative;
	display: block;
	width: 18px;
	height: 18px;
	flex: 0 0 18px;
}

.sj-global-icon-search::before {
	position: absolute;
	top: 1px;
	right: 1px;
	width: 10px;
	height: 10px;
	border: 1.7px solid currentColor;
	border-radius: 50%;
	content: "";
}

.sj-global-icon-search::after {
	position: absolute;
	left: 1px;
	bottom: 3px;
	width: 7px;
	height: 1.7px;
	background: currentColor;
	border-radius: 99px;
	content: "";
	transform: rotate(-45deg);
}

.sj-global-icon-menu::before,
.sj-global-icon-menu::after {
	position: absolute;
	right: 1px;
	width: 16px;
	height: 1.8px;
	background: currentColor;
	border-radius: 99px;
	content: "";
}

.sj-global-icon-menu::before { top: 5px; box-shadow: 0 5px 0 currentColor; }
.sj-global-icon-menu::after { top: 15px; }

.sj-global-icon-close::before,
.sj-global-icon-close::after {
	position: absolute;
	top: 8px;
	right: 1px;
	width: 16px;
	height: 1.8px;
	background: currentColor;
	content: "";
	transform: rotate(45deg);
}
.sj-global-icon-close::after { transform: rotate(-45deg); }

.sj-global-search-panel,
.sj-global-menu-panel {
	position: absolute;
	top: 100%;
	right: 0;
	left: 0;
	z-index: 30;
	background: rgba(255, 255, 255, 0.98);
	border-bottom: 1px solid var(--sj-shell-line);
	box-shadow: 0 14px 34px rgba(23, 23, 25, 0.08);
}

.sj-global-search-panel[hidden],
.sj-global-menu-panel[hidden] { display: none !important; }

.sj-global-search-box {
	display: grid;
	grid-template-columns: minmax(0, 1fr) auto;
	gap: 8px;
	padding: 12px 0;
}

.sj-global-search-form {
	display: grid;
	grid-template-columns: auto minmax(0, 1fr) auto;
	align-items: center;
	gap: 10px;
	min-height: 48px;
	padding: 4px 5px 4px 14px;
	background: #f5f5f7;
	border: 1px solid var(--sj-shell-line);
	border-radius: 14px;
}

.sj-global-search-form:focus-within {
	background: #fff;
	border-color: rgba(241, 90, 36, 0.42);
	box-shadow: 0 0 0 3px rgba(241, 90, 36, 0.08);
}

.sj-global-search-form input {
	width: 100%;
	min-width: 0;
	padding: 0;
	color: var(--sj-shell-ink);
	background: transparent;
	border: 0;
	outline: 0;
	font-size: 15px;
}

.sj-global-search-form button {
	height: 38px;
	padding: 0 18px;
	color: #fff;
	background: var(--sj-shell-orange);
	border: 0;
	border-radius: 10px;
	font-size: 12.5px;
	font-weight: 900;
	cursor: pointer;
}

.sj-global-search-close { height: 48px; border-radius: 14px; }

.sj-global-menu-list {
	display: grid;
	grid-template-columns: repeat(3, minmax(0, 1fr));
	gap: 7px;
	margin: 0;
	padding: 12px 0 14px;
	list-style: none;
}

.sj-global-menu-list li { margin: 0; }
.sj-global-menu-list a {
	display: flex;
	min-height: 42px;
	align-items: center;
	padding: 0 13px;
	color: #353539;
	background: #f7f7f8;
	border: 1px solid rgba(23, 23, 25, 0.07);
	border-radius: 11px;
	font-size: 13px;
	font-weight: 850;
}
.sj-global-menu-list a:hover,
.sj-global-menu-list a:focus-visible,
.sj-global-menu-list a.is-active {
	color: var(--sj-shell-orange-dark);
	background: var(--sj-shell-orange-soft);
	border-color: rgba(241, 90, 36, 0.2);
}
.sj-global-menu-list .sj-global-menu-cta a {
	color: #fff;
	background: var(--sj-shell-orange);
	border-color: var(--sj-shell-orange);
}

.sj-global-header.is-scrolled {
	background: rgba(255, 255, 255, 0.97);
	border-bottom-color: rgba(23, 23, 25, 0.12);
	box-shadow: 0 7px 24px rgba(23, 23, 25, 0.06);
}
.sj-global-header.is-scrolled .sj-global-header-in { min-height: 58px; }
.sj-global-header.is-scrolled .sj-global-logo-mark.has-image { height: 36px; }
.sj-global-header.is-scrolled .sj-global-logo-mark.is-fallback { width: 35px; height: 35px; flex-basis: 35px; }

/* ---------- Footer ---------- */
.career-footer,
.career-footer *,
.career-footer *::before,
.career-footer *::after { box-sizing: border-box; }

.career-footer {
	position: relative;
	clear: both;
	width: 100%;
	margin: 0;
	color: var(--sj-shell-ink);
	background: #fff;
	border: 0;
	border-top: 1px solid var(--sj-shell-line);
	font-family: var(--sj-shell-font);
	isolation: isolate;
}

.career-footer__accent {
	position: absolute;
	top: -1px;
	right: max(16px, calc((100% - 1240px) / 2));
	width: 72px;
	height: 3px;
	background: var(--sj-shell-orange);
	border-radius: 0 0 999px 999px;
}

.career-footer__wrap {
	width: min(1240px, calc(100% - 32px));
	margin: 0 auto;
	padding: 24px 0 16px;
	background: transparent;
	border: 0;
	border-radius: 0;
	box-shadow: none;
}

.career-footer a { color: inherit; text-decoration: none; }
.career-footer p { margin: 0; }

.career-footer__main {
	display: grid;
	grid-template-columns: auto minmax(0, 1fr) auto;
	align-items: center;
	gap: clamp(20px, 3vw, 42px);
	padding-bottom: 18px;
	border-bottom: 1px solid rgba(23, 23, 25, 0.08);
}

.career-footer__identity {
	display: inline-flex;
	min-width: max-content;
	align-items: center;
	gap: 9px;
	border-radius: 12px;
}

.career-footer__mark {
	display: grid;
	width: 40px;
	height: 40px;
	flex: 0 0 40px;
	place-items: center;
	overflow: hidden;
	color: #fff;
	background: var(--sj-shell-ink);
	border: 0;
	border-radius: 50%;
	box-shadow: 0 0 0 3px var(--sj-shell-orange-soft);
	font-size: 18px;
	font-weight: 950;
}

.career-footer__logo {
	display: block;
	width: 100%;
	height: 100%;
	object-fit: cover;
	border-radius: inherit;
}

.career-footer__brand-copy { display: grid; gap: 3px; line-height: 1; }
.career-footer__brand-copy strong { font-size: 16px; font-weight: 950; }
.career-footer__brand-copy small { color: var(--sj-shell-muted); font-size: 10px; font-weight: 750; }

.career-footer__nav {
	display: flex;
	min-width: 0;
	align-items: center;
	justify-content: center;
	flex-wrap: wrap;
	gap: 2px 16px;
}

.career-footer__nav a,
.career-footer__legal-list a {
	position: relative;
	display: inline-flex;
	min-height: 32px;
	align-items: center;
	color: #5d5d63;
	font-size: 12.5px;
	font-weight: 800;
	line-height: 1;
	transition: color 150ms ease;
}

.career-footer__nav a::after {
	position: absolute;
	right: 0;
	bottom: 3px;
	width: 0;
	height: 2px;
	background: var(--sj-shell-orange);
	border-radius: 99px;
	content: "";
	transition: width 150ms ease;
}

.career-footer__nav a:hover,
.career-footer__nav a:focus-visible,
.career-footer__legal-list a:hover,
.career-footer__legal-list a:focus-visible { color: var(--sj-shell-orange-dark); }
.career-footer__nav a:hover::after,
.career-footer__nav a:focus-visible::after { width: 14px; }

body.shaghaf-theme .career-footer__primary-link,
.career-footer__primary-link {
	display: inline-flex;
	height: 38px;
	min-height: 38px;
	align-items: center;
	justify-content: center;
	gap: 8px;
	padding: 0 14px;
	color: #fff !important;
	background: var(--sj-shell-orange);
	border: 1px solid var(--sj-shell-orange);
	border-radius: 11px;
	box-shadow: 0 6px 15px rgba(241, 90, 36, 0.14);
	font-size: 12.5px;
	font-weight: 950;
	white-space: nowrap;
	transition: background-color 150ms ease, border-color 150ms ease, transform 150ms ease;
}

.career-footer__primary-link b { font-size: 15px; line-height: 1; }
.career-footer__primary-link:hover,
.career-footer__primary-link:focus-visible {
	color: #fff !important;
	background: var(--sj-shell-orange-dark);
	border-color: var(--sj-shell-orange-dark);
	transform: translateY(-1px);
}

.career-footer__bottom {
	display: grid;
	grid-template-columns: minmax(0, 1fr) auto auto;
	align-items: center;
	gap: 14px;
	padding-top: 13px;
}

.career-footer__fineprint {
	color: #74747a;
	font-size: 11px;
	font-weight: 650;
	line-height: 1.5;
}
.career-footer__fineprint a { color: #303034; font-weight: 900; }

.career-footer__legal-list {
	display: flex;
	align-items: center;
	gap: 14px;
}
.career-footer__legal-list a { min-height: 28px; font-size: 10.8px; font-weight: 750; }

.career-footer__toplink {
	display: grid;
	width: 32px;
	height: 32px;
	place-items: center;
	color: var(--sj-shell-orange-dark) !important;
	background: var(--sj-shell-orange-soft);
	border: 1px solid rgba(241, 90, 36, 0.16);
	border-radius: 10px;
	font-size: 15px;
	font-weight: 950;
	transition: background-color 150ms ease, transform 150ms ease;
}
.career-footer__toplink:hover,
.career-footer__toplink:focus-visible { background: #ffe8dc; transform: translateY(-1px); }

.sj-global-header :where(a, button, input):focus-visible,
.career-footer a:focus-visible {
	outline: 3px solid rgba(241, 90, 36, 0.22);
	outline-offset: 2px;
}

@media (max-width: 1080px) {
	.sj-global-header-in { gap: 16px; }
	.sj-global-nav-link { padding-inline: 10px; font-size: 13px; }
	.sj-global-action-label { display: none; }
	.sj-global-search-toggle { width: 38px; padding: 0; }

	.career-footer__main { grid-template-columns: auto minmax(0, 1fr); }
	.career-footer__primary-link { display: none; }
	.career-footer__nav { justify-content: flex-end; }
}

@media (max-width: 860px) {
	body.admin-bar .sj-global-header { top: 46px; }
	.sj-global-wrap,
	.career-footer__wrap { width: min(100% - 24px, 1240px); }
	.sj-global-header { min-height: 58px; }
	.sj-global-header-in {
		grid-template-columns: auto 1fr auto;
		gap: 10px;
		min-height: 58px;
		padding: 5px 0 3px;
	}
	.sj-global-logo { justify-self: start; }
	.sj-global-logo-mark.has-image { max-width: 145px; height: 38px; }
	.sj-global-logo-mark.is-fallback { width: 36px; height: 36px; flex-basis: 36px; }
	.sj-global-search-panel:not([hidden]) { display: block !important; }
	.sj-global-nav { display: none; }
	.sj-global-actions { grid-column: 3; }
	.sj-global-menu-toggle { display: inline-flex; }
	.sj-global-search-toggle { display: inline-flex; }
	.sj-global-cta { display: none; }
	.sj-global-menu-list { grid-template-columns: repeat(2, minmax(0, 1fr)); }
	.sj-global-header.is-scrolled .sj-global-header-in { min-height: 55px; }
	.sj-global-header.is-scrolled .sj-global-logo-mark.has-image { height: 34px; }
	.sj-global-header.is-scrolled .sj-global-logo-mark.is-fallback { width: 34px; height: 34px; flex-basis: 34px; }

	.career-footer__wrap { padding-top: 21px; }
	.career-footer__main { grid-template-columns: 1fr; gap: 14px; }
	.career-footer__nav { justify-content: flex-start; gap-inline: 14px; }
	.career-footer__bottom { grid-template-columns: minmax(0, 1fr) auto; }
	.career-footer__legal-list { grid-row: 2; grid-column: 1 / -1; justify-content: flex-start; }
	.career-footer__toplink { grid-column: 2; grid-row: 1; }
}

@media (max-width: 560px) {
	.sj-global-wrap,
	.career-footer__wrap { width: min(100% - 16px, 1240px); }
	.sj-global-logo-mark.has-image { max-width: 125px; height: 36px; }
	.sj-global-search-toggle,
	.sj-global-menu-toggle { width: 36px; min-width: 36px; height: 36px; min-height: 36px; border-radius: 11px; }
	.sj-global-actions { gap: 5px; }
	.sj-global-search-box { grid-template-columns: 1fr; }
	.sj-global-search-form { min-height: 46px; }
	.sj-global-search-close { width: 100%; height: 40px; }
	.sj-global-menu-list { grid-template-columns: 1fr; max-height: calc(100vh - 80px); overflow: auto; }
	.sj-global-menu-list a { min-height: 40px; }

	.career-footer__wrap { padding: 20px 0 14px; }
	.career-footer__identity { min-width: 0; }
	.career-footer__nav { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 4px 8px; }
	.career-footer__nav a { min-height: 30px; font-size: 11.5px; }
	.career-footer__bottom { gap: 8px; }
	.career-footer__fineprint { padding-inline-end: 4px; font-size: 10.5px; }
	.career-footer__legal-list { gap: 12px; }
}

@media (hover: none) {
	.sj-global-cta:hover,
	.career-footer__primary-link:hover,
	.career-footer__toplink:hover { transform: none; }
}

@media (prefers-reduced-motion: reduce) {
	.sj-global-header *,
	.sj-global-header *::before,
	.sj-global-header *::after,
	.career-footer *,
	.career-footer *::before,
	.career-footer *::after {
		animation-duration: 0.01ms !important;
		animation-iteration-count: 1 !important;
		transition-duration: 0.01ms !important;
		scroll-behavior: auto !important;
	}
}
