/**
 * Jobs List page — static design (AI Studio reference)
 * Brand: #EA5400 | Font: Inter (enqueued in static.php)
 */

.rul-jobs-page {
	--jobs-brand: #ea5400;
	--jobs-brand-dark: #d14a00;
	--jobs-brand-soft: rgba(234, 84, 0, 0.1);
	--jobs-type-option-bg: var(--jobs-brand);
	--jobs-type-option-color: #ffffff;
	--jobs-black: #000000;
	--jobs-ink: #0a0a0a;
	--jobs-muted: #6b7280;
	--jobs-slate-50: #f8fafc;
	--jobs-slate-100: #f1f5f9;
	--jobs-slate-200: #e2e8f0;
	--jobs-slate-300: #cbd5e1;
	--jobs-slate-400: #94a3b8;
	--jobs-slate-500: #64748b;
	--jobs-slate-600: #475569;
	--jobs-rose: #f43f5e;
	--jobs-radius-xl: 12px;
	--jobs-radius-2xl: 16px;
	--jobs-radius-3xl: 24px;
	/* Match header nav wrap (.rul-nav-wrap / header .container-fluid) */
	--jobs-max: 1488px;
	--jobs-narrow: 1155px;
	/* Figma stroke is 0.2px @ 20% — 1px hairline needs ~4% so it stays whisper-quiet */
	--jobs-grid-line: rgba(107, 114, 128, 0.04);
	--jobs-wash: #fff4f0;
	--jobs-page-bg: #fafbfd;

	font-family: "Open Sans", Inter, ui-sans-serif, system-ui, -apple-system, sans-serif;
	color: var(--jobs-black);
	/* Figma Career #3919:2531 — bottom gap owned by alert (match Job Single 40px) */
	background: var(--jobs-page-bg);
	padding-bottom: 0;
	-webkit-font-smoothing: antialiased;
}

.rul-jobs-page *,
.rul-jobs-page *::before,
.rul-jobs-page *::after {
	box-sizing: border-box;
}

.rul-jobs-container {
	width: 100%;
	max-width: var(--jobs-max);
	margin: 0 auto;
	/* Bootstrap .container-fluid default */
	padding: 0 15px;
}

/*
 * Align with live header nav (.rul-nav-wrap.container-fluid):
 * - >=1200: 50px side padding (footer.css → header .container-fluid)
 * - >=1700: max-width 1600 + padding 0 (footer.css !important)
 * Note: header.css sets .rul-nav-wrap padding 0 at 1520px, but footer
 * header .container-fluid (higher specificity) keeps 50px until 1700px.
 */
@media (min-width: 1200px) {
	.rul-jobs-container {
		padding-left: 50px;
		padding-right: 50px;
	}
}

@media (min-width: 1700px) {
	.rul-jobs-page {
		--jobs-max: 1600px;
	}

	.rul-jobs-container {
		max-width: 1600px;
		padding-left: 0;
		padding-right: 0;
	}
}

@media (max-width: 767px) {
	.rul-jobs-container {
		padding-left: 16px;
		padding-right: 16px;
	}
}

.rul-jobs-container--narrow {
	max-width: var(--jobs-narrow);
}

/* Figma cards are 1155 wide — don't let the shared 50px container pad shrink them. */
@media (min-width: 992px) {
	.rul-jobs-container.rul-jobs-container--narrow {
		padding-left: 0;
		padding-right: 0;
	}
}

/* Elementor boxed parent already adds ~10px — cancel it so we don't double-pad */
.e-con.e-parent:has(.rul-jobs-page),
.e-con.e-parent:has(.elementor-widget-rul-jobs-list) {
	--padding-left: 0px;
	--padding-right: 0px;
	--padding-bottom: 0px;
	padding-left: 0 !important;
	padding-right: 0 !important;
	padding-bottom: 0 !important;
}

/* -------------------------------------------------------------------------- */
/* Banner / Hero (Figma Job-New-UI)                                           */
/* -------------------------------------------------------------------------- */

.rul-jobs-hero {
	position: relative;
	overflow: hidden;
	padding: 56px 0 48px;
	isolation: isolate;
}

.rul-jobs-hero__grid,
.rul-jobs-hero__wash {
	position: absolute;
	inset: 0;
	pointer-events: none;
}

.rul-jobs-hero__grid {
	z-index: 0;
	/*
	 * Figma Career banner grid (#3919:2532 cols + #3919:2566 rows):
	 * transparent 60×60 squares, stroke rgba(107,114,128,0.2).
	 * Use 1px hairlines — Figma’s 0.2px strokes disappear in browsers.
	 */
	background-color: transparent;
	background-image:
		repeating-linear-gradient(
			to right,
			transparent 0,
			transparent 59px,
			var(--jobs-grid-line) 59px,
			var(--jobs-grid-line) 60px
		),
		repeating-linear-gradient(
			to bottom,
			transparent 0,
			transparent 59px,
			var(--jobs-grid-line) 59px,
			var(--jobs-grid-line) 60px
		);
	background-size: 60px 60px;
	background-position: 0 0;
}

.rul-jobs-hero__wash {
	z-index: 1;
	/* Figma #3919:2581 — peach wash sits over the grid */
	background: linear-gradient(180deg, rgba(255, 255, 255, 0) 0%, var(--jobs-wash) 75%);
}

.rul-jobs-hero__inner {
	position: relative;
	z-index: 2;
	max-width: var(--jobs-max);
}

.rul-jobs-hero__layout {
	display: grid;
	grid-template-columns: minmax(0, 1fr);
	gap: 28px;
	align-items: start;
}

.rul-jobs-hero__copy {
	max-width: 683px;
	width: 100%;
}

.rul-jobs-hero__title {
	margin: 0;
	font-family: "DM Sans", "Open Sans", sans-serif;
	font-size: clamp(32px, 6.2vw, 42px);
	font-weight: 700;
	line-height: 1.15;
	letter-spacing: 0.8px;
	color: var(--jobs-black);
	word-break: break-word;
}

.rul-jobs-hero__subtitle {
	margin: 16px 0 0;
	max-width: 583px;
	font-family: "Open Sans", sans-serif;
	font-size: 16px;
	font-weight: 500;
	line-height: 1.55;
	color: var(--jobs-muted);
}

.rul-jobs-hero__cta {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	margin-top: 20px;
	min-height: 48px;
	padding: 12px 20px;
	font-family: "Open Sans", sans-serif;
	font-size: 16px;
	font-weight: 600;
	line-height: 24px;
	color: #ffffff !important;
	text-decoration: none !important;
	white-space: nowrap;
	background: var(--jobs-brand);
	border-radius: 50px;
	box-shadow: 0 1px 2px 0 rgba(16, 24, 40, 0.05);
	transition: background-color 0.15s ease, transform 0.15s ease;
}

.rul-jobs-hero__cta:hover,
.rul-jobs-hero__cta:focus {
	background: var(--jobs-brand-dark);
	color: #ffffff !important;
	text-decoration: none !important;
	outline: none;
}

.rul-jobs-hero__stats {
	display: grid;
	grid-template-columns: repeat(3, minmax(0, 1fr));
	gap: 16px 20px;
	width: 100%;
	margin-top: 28px;
	padding-top: 28px;
	border-top: 1px solid rgba(10, 10, 10, 0.08);
}

.rul-jobs-hero__stat {
	min-width: 0;
}

.rul-jobs-hero__stat-value {
	margin: 0;
	font-family: "Open Sans", sans-serif;
	/* Scales down before wrapping — “200-500” / “IT & BPO” stay one line */
	font-size: clamp(22px, 4.8vw, 32px);
	font-weight: 700;
	line-height: 1.15;
	letter-spacing: -0.8px;
	color: var(--jobs-ink);
	white-space: nowrap;
}

.rul-jobs-hero__stat-label {
	margin: 8px 0 0;
	font-family: "Open Sans", sans-serif;
	font-size: 11px;
	font-weight: 600;
	line-height: 16.5px;
	color: rgba(10, 10, 10, 0.55);
}

.rul-jobs-hero__media {
	width: 100%;
	max-width: 620px;
	margin: 0;
	order: -1; /* Image first on mobile for stronger banner presence */
	overflow: hidden;
	border-radius: 16px; /* Figma Rectangle 54 */
}

.rul-jobs-page .rul-jobs-hero__image {
	display: block;
	width: 100%;
	height: auto;
	aspect-ratio: 620 / 356;
	object-fit: cover;
	border-radius: 16px; /* Figma 3919:3358 */
}

/* ---------- Tablet: stacked, readable, image after copy ---------- */
@media (min-width: 768px) {
	.rul-jobs-hero {
		padding: 64px 0 56px;
	}

	.rul-jobs-hero__layout {
		gap: 36px;
	}

	.rul-jobs-hero__media {
		order: 0;
		max-width: 720px;
	}

	.rul-jobs-hero__title {
		font-size: clamp(44px, 5vw, 56px);
		line-height: 1.12;
		letter-spacing: 1.4px;
	}

	.rul-jobs-hero__subtitle {
		margin-top: 20px;
		font-size: 18px;
		line-height: 28px;
	}

	.rul-jobs-hero__cta {
		margin-top: 24px;
	}

	.rul-jobs-hero__stats {
		gap: 20px 28px;
		margin-top: 32px;
		padding-top: 32px;
		max-width: 640px;
	}

	.rul-jobs-hero__stat-value {
		font-size: clamp(28px, 3.2vw, 40px);
		letter-spacing: -1.2px;
	}

	.rul-jobs-hero__stat-label {
		margin-top: 10px;
	}

	.rul-jobs-hero__media,
	.rul-jobs-page .rul-jobs-hero__image {
		border-radius: 16px;
	}
}

/*
 * Side-by-side only when there is room for copy + image without
 * crushing stats (user noted ~1425px+ looks good).
 * 1200–1439: fluid image column; 1440+: Figma-sized 620px image.
 */
@media (min-width: 1200px) {
	.rul-jobs-hero {
		padding: 72px 0 72px;
	}

	.rul-jobs-hero__layout {
		grid-template-columns: minmax(0, 1.15fr) minmax(340px, 0.9fr);
		gap: 40px;
		align-items: center;
	}

	.rul-jobs-hero__copy {
		max-width: none;
	}

	.rul-jobs-hero__media {
		max-width: none;
		margin: 0;
		padding-top: 0;
	}

	.rul-jobs-hero__title {
		font-size: clamp(48px, 3.6vw, 60px);
		line-height: 1.12;
		letter-spacing: 1.6px;
	}

	.rul-jobs-hero__subtitle {
		font-size: 18px;
		line-height: 28px;
	}

	.rul-jobs-hero__stats {
		gap: 24px 28px;
		max-width: none;
	}

	.rul-jobs-hero__stat-value {
		font-size: clamp(32px, 2.4vw, 40px);
		letter-spacing: -1.4px;
	}
}

@media (min-width: 1440px) {
	.rul-jobs-hero {
		padding: 80px 0 95px;
	}

	.rul-jobs-hero__layout {
		grid-template-columns: minmax(0, 1fr) 620px;
		gap: 48px;
		align-items: start;
	}

	.rul-jobs-hero__copy {
		max-width: 683px;
	}

	.rul-jobs-hero__title {
		font-size: 68px;
		line-height: 77px;
		letter-spacing: 2px;
	}

	.rul-jobs-hero__subtitle {
		margin-top: 24px;
		font-size: 20px;
	}

	.rul-jobs-hero__media {
		margin: 0 0 0 auto;
		padding-top: 15px;
		max-width: 620px;
	}

	.rul-jobs-hero__stats {
		max-width: 664px;
		gap: 24px 32px;
		margin-top: 32px;
		padding-top: 40px;
	}

	.rul-jobs-hero__stat-value {
		font-size: 48px;
		line-height: 43.2px;
		letter-spacing: -1.68px;
	}

	.rul-jobs-hero__stat-label {
		margin-top: 12px;
	}
}

/* ---------- Mobile: compact banner, stats stay in one row ---------- */
@media (max-width: 767px) {
	.rul-jobs-hero {
		padding: 28px 0 36px;
	}

	.rul-jobs-hero__layout {
		gap: 20px;
	}

	.rul-jobs-hero__subtitle {
		margin-top: 12px;
		font-size: 15px;
		line-height: 1.5;
	}

	.rul-jobs-hero__cta {
		width: 100%;
		margin-top: 18px;
		min-height: 46px;
	}

	.rul-jobs-hero__stats {
		gap: 12px 12px;
		margin-top: 22px;
		padding-top: 22px;
	}

	.rul-jobs-hero__stat-value {
		font-size: clamp(18px, 5.2vw, 24px);
		letter-spacing: -0.6px;
	}

	.rul-jobs-hero__stat-label {
		margin-top: 6px;
		font-size: 10px;
		line-height: 1.35;
	}

	.rul-jobs-hero__media,
	.rul-jobs-page .rul-jobs-hero__image {
		border-radius: 12px;
	}
}

/* Very small phones: prevent any residual wrap */
@media (max-width: 379px) {
	.rul-jobs-hero__stat-value {
		font-size: 16px;
		letter-spacing: -0.4px;
	}

	.rul-jobs-hero__stat-label {
		font-size: 9px;
	}
}

/* List intro + search — centered (Figma Career #3919:2531) */
.rul-jobs-search-wrap {
	/* Figma hero wash → join title ≈ 80px */
	padding: 80px 0 24px;
	text-align: center;
}

.rul-jobs-list-intro {
	max-width: 900px;
	/* Intro block → search pill ≈ 32px (Figma subtitle → search) */
	margin: 0 auto 32px;
}

.rul-jobs-list-intro__title {
	margin: 0;
	font-family: "DM Sans", sans-serif;
	/* Figma #3919:2583 — DM Sans Bold 68 / 81.6, tracking 0.0294em, #000 */
	font-size: clamp(36px, 4.5vw, 68px);
	font-weight: 700;
	line-height: 1.2;
	letter-spacing: 0.0294em;
	color: #000000;
}

@media (min-width: 1440px) {
	.rul-jobs-list-intro__title {
		font-size: 68px;
		line-height: 81.6px;
		letter-spacing: 0.0294em;
	}
}

.rul-jobs-list-intro__desc {
	/* Figma join title → subtitle ≈ 21px */
	margin: 21px auto 0;
	max-width: 693px;
	font-family: "Open Sans", sans-serif;
	/* Figma #3919:2597 — Open Sans Medium 20 / 24 */
	font-size: 20px;
	font-weight: 500;
	line-height: 24px;
	color: #6b7280;
}

.rul-jobs-search--hero {
	position: relative;
	display: flex;
	align-items: center;
	gap: 9px;
	width: 100%;
	max-width: 577px;
	height: 58px;
	margin: 0 auto;
	/* Figma #3919:2600 — icon inset ~18px; button inset 8px */
	padding: 7px 8px 7px 18px;
	background: rgba(255, 255, 255, 0.7);
	border: 1px solid rgba(236, 243, 255, 0.7);
	border-radius: 999px;
	backdrop-filter: blur(3px);
	-webkit-backdrop-filter: blur(3px);
	box-sizing: border-box;
	text-align: left;
}

.rul-jobs-search--hero .rul-jobs-search__icon {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	flex-shrink: 0;
	/* Figma search-md #3919:2924 — 28×28 @ 40% */
	width: 28px;
	height: 28px;
	color: #6b7280;
	opacity: 0.4;
	pointer-events: none;
}

.rul-jobs-search--hero .rul-jobs-search__icon svg {
	display: block;
	width: 28px;
	height: 28px;
}

.rul-jobs-search--hero .rul-jobs-search__input {
	display: block;
	flex: 1 1 auto;
	min-width: 0;
	width: 100%;
	height: 42px;
	margin: 0;
	padding: 0 12px 0 0;
	font-family: "Open Sans", sans-serif;
	font-size: 20px;
	font-weight: 600;
	line-height: 24px;
	color: var(--jobs-black);
	background: transparent;
	border: 0;
	border-radius: 0;
	box-shadow: none;
	outline: none;
	-webkit-appearance: none;
	appearance: none;
}

.rul-jobs-search--hero .rul-jobs-search__input::-webkit-search-decoration,
.rul-jobs-search--hero .rul-jobs-search__input::-webkit-search-cancel-button {
	-webkit-appearance: none;
}

.rul-jobs-search--hero .rul-jobs-search__input::placeholder {
	color: #6b7280;
	opacity: 0.4;
}

.rul-jobs-search--hero .rul-jobs-search__btn {
	flex-shrink: 0;
	display: inline-flex;
	align-items: center;
	justify-content: center;
	min-width: 95px;
	height: 42px;
	padding: 0 20px;
	font-family: "Open Sans", sans-serif;
	font-size: 16px;
	font-weight: 600;
	line-height: 24px;
	color: #ffffff;
	background: var(--jobs-brand);
	border: 0;
	border-radius: 50px;
	box-shadow: 0 1px 2px rgba(16, 24, 40, 0.05);
	cursor: pointer;
	transition: background-color 0.2s ease;
}

.rul-jobs-search--hero .rul-jobs-search__btn:hover {
	background: var(--jobs-brand-dark);
}

/* -------------------------------------------------------------------------- */
/* Filter tabs (Figma pills)                                                  */
/* -------------------------------------------------------------------------- */

.rul-jobs-filters {
	/* Figma filters → Open Positions ≈ 47px */
	padding: 0 0 48px;
}

.rul-jobs-tabs {
	display: flex;
	flex-wrap: wrap;
	justify-content: center;
	gap: 8px;
}

.rul-jobs-tabs__btn {
	/* Figma #3919:2585 Items — 45px tall pills, gap 8 */
	box-sizing: border-box;
	height: 45px;
	min-height: 45px;
	padding: 12px 20px;
	font-family: "Open Sans", sans-serif;
	font-size: 13px;
	font-weight: 700;
	line-height: 19.5px;
	color: #6b7280;
	background: #ffffff;
	border: 1px solid #ecf3ff;
	border-radius: 9999px;
	box-shadow: none;
	outline: none;
	cursor: pointer;
	-webkit-tap-highlight-color: transparent;
	transition: background-color 0.2s ease, color 0.2s ease, border-color 0.2s ease;
}

.rul-jobs-tabs__btn:hover {
	border-color: rgba(234, 84, 0, 0.35);
	color: var(--jobs-brand);
}

.rul-jobs-tabs__btn:focus,
.rul-jobs-tabs__btn:focus-visible,
.rul-jobs-tabs__btn:active {
	outline: none !important;
	box-shadow: none !important;
}

.rul-jobs-tabs__btn.is-active,
.rul-jobs-tabs__btn.is-active:focus,
.rul-jobs-tabs__btn.is-active:focus-visible,
.rul-jobs-tabs__btn.is-active:active {
	color: #ffffff;
	background: linear-gradient(90deg, #ff3400 0%, #fb5c16 57.56%, #f87927 100%);
	/* Figma active Item keeps #ECF3FF stroke */
	border-color: #ecf3ff;
	outline: none !important;
	box-shadow: none !important;
}

.rul-jobs-tabs__btn.is-active:hover {
	color: #ffffff;
	background: linear-gradient(90deg, #ef2f00 0%, #ea5400 57.56%, #f06d1a 100%);
	border-color: #ecf3ff;
}

/* -------------------------------------------------------------------------- */
/* Job list                                                                   */
/* -------------------------------------------------------------------------- */

.rul-jobs-list {
	/* Figma cards → CV bank ≈ 80px */
	padding: 0 0 80px;
}

.rul-jobs-list__header {
	position: relative;
	z-index: 5;
	display: flex;
	flex-wrap: wrap;
	align-items: center;
	justify-content: space-between;
	gap: 12px 16px;
	/* Figma Open Positions → first card ≈ 32px */
	margin-bottom: 32px;
}

.rul-jobs-list__title {
	margin: 0;
	flex: 0 0 auto;
	font-family: "Open Sans", sans-serif;
	/* Figma #3919:2599 — Open Sans Bold 24 / 24 */
	font-size: 24px;
	font-weight: 700;
	line-height: 24px;
	color: #1f2937;
}

.rul-jobs-list__sort {
	display: inline-flex;
	align-items: center;
	gap: 10px;
	flex: 0 0 auto;
	font-family: "Open Sans", sans-serif;
	/* Figma #3919:2605 — Open Sans SemiBold 12 / 24 */
	font-size: 12px;
	font-weight: 600;
	line-height: 24px;
	color: #6b7280;
}

.rul-jobs-type {
	position: relative;
}

.rul-jobs-type__native {
	position: absolute !important;
	width: 1px !important;
	height: 1px !important;
	min-width: 0 !important;
	padding: 0 !important;
	margin: -1px !important;
	overflow: hidden !important;
	clip: rect(0, 0, 0, 0) !important;
	white-space: nowrap !important;
	border: 0 !important;
	pointer-events: none !important;
}

.rul-jobs-type__trigger {
	display: inline-flex;
	align-items: center;
	justify-content: space-between;
	gap: 8px;
	min-width: 144px;
	height: 40px;
	padding: 8px 12px 8px 14px;
	font-family: "Open Sans", sans-serif;
	font-size: 12px;
	font-weight: 600;
	line-height: 18px;
	color: #1f2937;
	background: #ffffff;
	border: 1px solid #ecf3ff;
	border-radius: 8px;
	cursor: pointer;
}

.rul-jobs-type__trigger:hover,
.rul-jobs-type__trigger:focus,
.rul-jobs-type.is-open .rul-jobs-type__trigger {
	border-color: var(--jobs-brand);
	outline: none;
}

.rul-jobs-type__value {
	min-width: 0;
	overflow: hidden;
	text-overflow: ellipsis;
	white-space: nowrap;
}

.rul-jobs-type__chevron {
	flex-shrink: 0;
	color: #6b7280;
	transition: transform 0.2s ease;
}

.rul-jobs-type.is-open .rul-jobs-type__chevron {
	transform: rotate(180deg);
}

.rul-jobs-type__menu {
	position: absolute;
	z-index: 6;
	top: calc(100% + 6px);
	right: 0;
	min-width: 100%;
	margin: 0;
	padding: 6px;
	list-style: none;
	background: #ffffff;
	border: 1px solid #ecf3ff;
	border-radius: 10px;
	box-shadow: 0 12px 28px rgba(15, 23, 42, 0.12);
}

.rul-jobs-type__option {
	display: flex;
	align-items: center;
	gap: 8px;
	margin: 0;
	padding: 8px 10px;
	border-radius: 6px;
	font-family: "Open Sans", sans-serif;
	font-size: 12px;
	font-weight: 600;
	line-height: 18px;
	color: #1f2937;
	cursor: pointer;
}

.rul-jobs-type__option::before {
	content: "";
	width: 14px;
	height: 14px;
	flex-shrink: 0;
}

.rul-jobs-type__option.is-selected::before {
	background: var(--jobs-type-option-bg, var(--jobs-brand));
	-webkit-mask-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='2.5' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M20 6 9 17l-5-5'/%3E%3C/svg%3E");
	mask-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='2.5' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M20 6 9 17l-5-5'/%3E%3C/svg%3E");
	-webkit-mask-repeat: no-repeat;
	mask-repeat: no-repeat;
	-webkit-mask-position: center;
	mask-position: center;
	-webkit-mask-size: contain;
	mask-size: contain;
}

.rul-jobs-type__option.is-hover,
.rul-jobs-type__option:hover {
	background: var(--jobs-type-option-bg, var(--jobs-brand));
	color: var(--jobs-type-option-color, #ffffff);
	outline: none;
}

.rul-jobs-type__option.is-selected.is-hover::before,
.rul-jobs-type__option.is-selected:hover::before {
	background: currentColor;
}

.rul-jobs-cards {
	display: grid;
	grid-template-columns: 1fr;
	gap: 24px;
	min-width: 0;
}

/* -------------------------------------------------------------------------- */
/* Job card (Figma Job-New-UI)                                                */
/* -------------------------------------------------------------------------- */

.rul-job-card {
	position: relative;
	display: flex;
	flex-direction: column;
	align-items: stretch;
	min-width: 0;
	max-width: 100%;
	min-height: 236px;
	padding: 30px 40px;
	background: #ffffff;
	border: 1px solid #ecf3ff;
	border-radius: 16px;
	overflow: visible;
	cursor: pointer;
	transition: box-shadow 0.25s ease, border-color 0.25s ease;
}

.rul-job-card:hover,
.rul-job-card:focus-within {
	border-color: rgba(234, 84, 0, 0.35);
	box-shadow: 0 12px 28px rgba(15, 23, 42, 0.06);
}

.rul-job-card.is-hidden {
	display: none;
}

/* Full-card hit area; share stays above via higher z-index */
.rul-job-card__stretch {
	color: inherit;
	text-decoration: none !important;
}

.rul-job-card__stretch::after {
	content: "";
	position: absolute;
	inset: 0;
	z-index: 1;
	border-radius: inherit;
}

.rul-job-card__body {
	display: flex;
	flex-direction: column;
	/* Gaps set on children: title→facts 20, block→skills 24 (Figma #3919:2708/2709) */
	gap: 0;
	max-width: 803px;
	padding-right: 40px;
}

.rul-job-card__title {
	margin: 0;
	font-family: "Open Sans", sans-serif;
	font-size: 30px;
	font-weight: 700;
	line-height: 36px;
	color: #0c0a25;
}

.rul-job-card__title a {
	color: inherit;
	text-decoration: none !important;
}

.rul-job-card:hover .rul-job-card__title,
.rul-job-card:focus-within .rul-job-card__title,
.rul-job-card__stretch:focus {
	color: var(--jobs-brand);
	text-decoration: none !important;
	outline: none;
}

.rul-job-card__actions {
	/* Figma share #3919:2757 — top 33 / right 25, 34×34 */
	position: absolute;
	top: 33px;
	right: 25px;
	z-index: 3;
	display: inline-flex;
	align-items: center;
}

.rul-job-card__action,
.rul-job-card__actions .rul-job-share {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	width: 34px;
	height: 34px;
	padding: 0;
	color: #94a3b8;
	background: #ffffff;
	border: 1px solid #ecf3ff;
	border-radius: 17px;
	cursor: pointer;
	outline: none;
	box-shadow: none;
	-webkit-appearance: none;
	appearance: none;
	transition: background-color 0.2s ease, color 0.2s ease, border-color 0.2s ease;
}

.rul-job-card__action:hover,
.rul-job-card__action:focus,
.rul-job-card__actions .rul-job-share:hover,
.rul-job-card__actions .rul-job-share:focus {
	background: #f8fafc;
	color: #475569;
	border-color: #dbe7ff;
	outline: none;
	box-shadow: none;
}

.rul-job-card__facts {
	display: flex;
	flex-direction: column;
	gap: 16px;
	/* Figma #3919:2709 gap title → meta */
	margin-top: 20px;
}

.rul-job-card__facts-row {
	display: flex;
	flex-wrap: wrap;
	align-items: center;
	/* Figma #3919:2714 fixed columns → ~110px between fact content */
	gap: 8px 110px;
	margin: 0;
	padding: 0;
	list-style: none;
}

.rul-job-card__fact {
	display: inline-flex;
	align-items: center;
	/* Figma icon margin 6 + text pad 5 ≈ 11 */
	gap: 11px;
	margin: 0;
	font-family: "Open Sans", sans-serif;
	font-size: 16px;
	font-weight: 400;
	line-height: 24px;
	color: #0c0a25;
}

.rul-job-card__fact-icon {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	flex-shrink: 0;
	width: 24px;
	height: 24px;
	color: var(--jobs-brand);
}

.rul-job-card__fact--deadline {
	display: inline-flex;
}

.rul-job-card__skills {
	display: flex;
	flex-wrap: wrap;
	gap: 8px;
	/* Figma #3919:2708 gap meta block → skill pills */
	margin: 24px 0 0;
	padding: 0;
	list-style: none;
}

.rul-job-card__title + .rul-job-card__skills {
	margin-top: 24px;
}

.rul-job-card__skill {
	display: inline-flex;
	align-items: center;
	min-height: 28px;
	padding: 4px 12px;
	font-family: "Open Sans", sans-serif;
	font-size: 12px;
	font-weight: 400;
	line-height: 18px;
	color: #6b7280;
	background: transparent;
	border: 1px solid #e5e7eb;
	border-radius: 9999px;
}

.rul-job-card__apply {
	/* Figma #3919:2755 — right ~25, bottom ~33 */
	position: absolute;
	right: 25px;
	bottom: 33px;
	z-index: 0;
	display: inline-flex;
	align-items: center;
	justify-content: center;
	min-width: 124px;
	height: 48px;
	padding: 12px 20px;
	box-sizing: border-box;
	font-family: "Open Sans", sans-serif;
	font-size: 16px;
	font-weight: 600;
	line-height: 24px;
	color: #ffffff !important;
	background: #000000;
	border-radius: 50px;
	box-shadow: 0 1px 2px rgba(16, 24, 40, 0.05);
	pointer-events: none;
	transition: background-color 0.2s ease;
}

.rul-job-card:hover .rul-job-card__apply,
.rul-job-card:focus-within .rul-job-card__apply {
	background: #1a1a1a;
}

.rul-jobs-empty {
	margin: 0;
	padding: 32px 16px;
	text-align: center;
	font-size: 16px;
	line-height: 24px;
	color: var(--jobs-slate-500);
}

.rul-jobs-empty.is-hidden,
.rul-jobs-empty[hidden] {
	display: none !important;
}

/* -------------------------------------------------------------------------- */
/* CV Bank (Figma)                                                            */
/* -------------------------------------------------------------------------- */

.rul-jobs-cv-bank {
	/* Figma CV → alert ≈ 80px */
	padding: 0 0 80px;
}

.rul-jobs-cv-bank__wrap {
	position: relative;
}

.rul-jobs-cv-bank__box {
	display: flex;
	flex-direction: column;
	align-items: stretch;
	gap: 20px;
	/* Figma #3919:3366 — padding 40 32 28 40 */
	padding: 40px 32px 28px 40px;
	background: #ffffff;
	border: 1px solid #ecf3ff;
	border-radius: 16px;
}

.rul-jobs-cv-bank__copy {
	min-width: 0;
	max-width: 672px;
}

.rul-jobs-cv-bank__title {
	margin: 0;
	font-family: "DM Sans", sans-serif;
	font-size: 24px;
	font-weight: 700;
	line-height: 24.3px;
	color: #000000;
}

.rul-jobs-cv-bank__desc {
	margin: 6px 0 0;
	font-family: Inter, "Open Sans", sans-serif;
	font-size: 16px;
	font-weight: 400;
	line-height: 21px;
	color: #0c0a25;
}

.rul-jobs-cv-bank__form {
	display: grid;
	/* minmax(0,…) prevents grid items from overflowing the card on narrow screens */
	grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
	gap: 20px;
	width: 100%;
	max-width: none;
	min-width: 0;
}

.rul-jobs-cv-bank__hp {
	position: absolute !important;
	left: -9999px !important;
	width: 1px !important;
	height: 1px !important;
	opacity: 0 !important;
	pointer-events: none !important;
}

.rul-jobs-cv-bank__field {
	display: block;
	min-width: 0;
	margin: 0;
}

.rul-jobs-cv-bank__field--file {
	grid-column: 1 / -1;
}

.rul-jobs-cv-bank__input {
	display: block;
	box-sizing: border-box;
	width: 100%;
	max-width: 100%;
	min-width: 0;
	height: 46px;
	margin: 0;
	padding: 12px 14px;
	font-family: Inter, "Open Sans", sans-serif;
	font-size: 14px;
	line-height: 1.4;
	color: var(--jobs-black);
	background: #ffffff;
	border: 1px solid #e2e8f0;
	border-radius: 12px;
	outline: none;
}

.rul-jobs-cv-bank__input::placeholder {
	color: #757575;
}

.rul-jobs-cv-bank__input:focus {
	border-color: var(--jobs-brand);
	box-shadow: 0 0 0 3px rgba(234, 84, 0, 0.12);
}

.rul-jobs-cv-bank__drop {
	position: relative;
	display: flex;
	align-items: center;
	gap: 14px;
	box-sizing: border-box;
	width: 100%;
	max-width: 100%;
	min-width: 0;
	margin: 0;
	padding: 14px 16px;
	background: #f8fafc;
	border: 1px dashed #e2e8f0;
	border-radius: 12px;
	cursor: pointer;
	transition: border-color 0.15s ease, background-color 0.15s ease;
}

.rul-jobs-cv-bank__drop:hover,
.rul-jobs-cv-bank__drop:focus-within {
	border-color: rgba(234, 84, 0, 0.55);
	background: rgba(234, 84, 0, 0.04);
}

.rul-jobs-cv-bank__drop.is-filled {
	border-style: solid;
	border-color: rgba(234, 84, 0, 0.45);
	background: rgba(234, 84, 0, 0.06);
}

.rul-jobs-cv-bank__file {
	position: absolute;
	inset: 0;
	width: 100%;
	height: 100%;
	opacity: 0;
	cursor: pointer;
	font-size: 0;
}

.rul-jobs-cv-bank__drop-icon {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	flex-shrink: 0;
	width: 42px;
	height: 42px;
	border-radius: 12px;
	background: #ffffff;
	color: var(--jobs-brand);
	border: 1px solid #e2e8f0;
}

.rul-jobs-cv-bank__drop-text {
	display: flex;
	flex-direction: column;
	gap: 2px;
	min-width: 0;
	flex: 1 1 auto;
}

.rul-jobs-cv-bank__drop-title {
	font-family: Inter, "Open Sans", sans-serif;
	font-size: 14px;
	font-weight: 700;
	line-height: 18.9px;
	color: #000000;
	overflow: hidden;
	text-overflow: ellipsis;
	white-space: nowrap;
}

.rul-jobs-cv-bank__drop-hint {
	font-family: Inter, "Open Sans", sans-serif;
	font-size: 12px;
	line-height: 16.2px;
	color: #64748b;
}

.rul-jobs-cv-bank__drop-action {
	flex-shrink: 0;
	display: inline-flex;
	align-items: center;
	justify-content: center;
	min-height: 38px;
	padding: 8px 14px;
	font-family: Inter, "Open Sans", sans-serif;
	font-size: 16px;
	font-weight: 700;
	line-height: 13px;
	color: var(--jobs-brand);
	background: #ffffff;
	border: 1px solid rgba(234, 84, 0, 0.25);
	border-radius: 999px;
}

.rul-jobs-cv-bank__footer {
	grid-column: 1 / -1;
	display: flex;
	flex-wrap: wrap;
	align-items: center;
	justify-content: space-between;
	gap: 16px 24px;
	margin: 0;
	min-height: 48px;
}

.rul-jobs-cv-bank__consent {
	display: flex;
	align-items: flex-start;
	gap: 10px;
	flex: 1 1 280px;
	margin: 0;
	font-family: Inter, "Open Sans", sans-serif;
	font-size: 14px;
	line-height: 18.85px;
	color: #64748b;
	cursor: pointer;
}

.rul-jobs-cv-bank__consent input {
	margin-top: 3px;
	flex-shrink: 0;
	width: 13px;
	height: 13px;
	accent-color: var(--jobs-brand);
}

.rul-jobs-cv-bank__btn {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	flex: 0 0 auto;
	margin-left: auto;
	min-width: 148px;
	height: 48px;
	padding: 12px 20px;
	font-family: "Open Sans", sans-serif;
	font-size: 16px;
	font-weight: 600;
	line-height: 24px;
	color: #ffffff;
	background: var(--jobs-brand);
	border: 0;
	border-radius: 50px;
	box-shadow: 0 1px 2px rgba(16, 24, 40, 0.05);
	cursor: pointer;
	transition: background-color 0.2s ease;
}

.rul-jobs-cv-bank__btn:hover {
	background: var(--jobs-brand-dark);
}

.rul-jobs-cv-bank__btn:disabled {
	opacity: 0.7;
	cursor: wait;
}

.rul-jobs-cv-bank__msg {
	grid-column: 1 / -1;
	margin: 0;
	font-size: 13px;
	line-height: 1.4;
	color: #15803d;
}

.rul-jobs-cv-bank__msg.is-error {
	color: #b91c1c;
}

/* -------------------------------------------------------------------------- */
/* Job Alerts / Notifier — solid gradient (Job List + Job Single)           */
/* Figma Career Details / 3919:5120 — #fff4f1 → #fafbfd                       */
/* -------------------------------------------------------------------------- */

.rul-jobs-alert {
	/* Match Job Single extras--alert bottom gap */
	padding: 0 0 40px;
}

.rul-jobs-alert__box {
	position: relative;
	display: flex;
	flex-direction: column;
	align-items: center;
	justify-content: flex-start;
	min-height: 0;
	padding: 48px;
	background: linear-gradient(180deg, #fff4f1 0%, #fafbfd 100%);
	background-clip: padding-box;
	border-radius: 16px;
	color: #0c0a25;
	text-align: center;
	overflow: hidden;
	isolation: isolate;
}

.rul-jobs-alert__media,
.rul-jobs-alert__overlay {
	display: none;
}

.rul-jobs-alert__content {
	position: relative;
	z-index: 2;
	display: flex;
	flex-direction: column;
	align-items: center;
	justify-content: center;
	gap: 28px;
	width: 100%;
}

.rul-jobs-alert__copy {
	display: flex;
	flex-direction: column;
	align-items: center;
	gap: 28px;
	width: 100%;
	max-width: 954px;
}

.rul-jobs-alert__title {
	margin: 0;
	font-family: "Open Sans", sans-serif;
	font-size: 68px;
	font-weight: 700;
	line-height: 68px;
	color: #000000;
}

.rul-jobs-alert__accent {
	color: #ea5400;
}

.rul-jobs-alert__desc {
	margin: 0;
	max-width: 513px;
	font-family: "Open Sans", sans-serif;
	font-size: 20px;
	font-weight: 400;
	line-height: 24px;
	color: #0c0a25;
}

.rul-jobs-alert__form {
	display: flex;
	flex-direction: column;
	align-items: stretch;
	gap: 0;
	width: 100%;
	max-width: 507px;
	margin-top: 0;
}

.rul-jobs-alert__fields {
	display: flex;
	flex-wrap: nowrap;
	align-items: center;
	gap: 0;
	width: 100%;
	height: 67px;
	padding: 9.5px 9.5px 9.5px 20px;
	background: rgba(255, 255, 255, 0.7);
	border: 1px solid #e2e8f0;
	border-radius: 80px;
	box-sizing: border-box;
	overflow: hidden;
}

.rul-jobs-alert__input {
	flex: 1 1 auto;
	min-width: 0;
	height: 100%;
	padding: 0 12px 0 0;
	font-family: "Open Sans", sans-serif;
	font-size: 15px;
	line-height: 20px;
	color: #0c0a25;
	background-color: transparent;
	background-image: none;
	border: 0;
	border-radius: 999px;
	outline: none;
	box-shadow: none;
}

.rul-jobs-alert__input::placeholder {
	color: #6b7280;
}

.rul-jobs-alert__input:focus {
	background-color: transparent;
	border-color: transparent;
	box-shadow: none;
}

.rul-jobs-alert__input:-webkit-autofill,
.rul-jobs-alert__input:-webkit-autofill:hover,
.rul-jobs-alert__input:-webkit-autofill:focus,
.rul-jobs-alert__input:-webkit-autofill:active {
	-webkit-text-fill-color: #0c0a25 !important;
	caret-color: #0c0a25;
	box-shadow: 0 0 0 1000px rgba(255, 255, 255, 0.7) inset !important;
	-webkit-box-shadow: 0 0 0 1000px rgba(255, 255, 255, 0.7) inset !important;
}

.rul-jobs-alert__btn {
	flex-shrink: 0;
	display: inline-flex;
	align-items: center;
	justify-content: center;
	min-width: 116px;
	height: 48px;
	padding: 0 20px;
	font-family: "Open Sans", sans-serif;
	font-size: 16px;
	font-weight: 600;
	line-height: 24px;
	color: #ffffff;
	background: #ea5400;
	border: 0;
	border-radius: 50px;
	cursor: pointer;
	white-space: nowrap;
	transition: background-color 0.2s ease;
}

.rul-jobs-alert__btn:hover {
	background: var(--jobs-brand-dark, #d14a00);
}

.rul-jobs-alert__btn:disabled {
	opacity: 0.7;
	cursor: wait;
}

.rul-jobs-alert__msg {
	display: flex;
	align-items: center;
	justify-content: center;
	width: 100%;
	margin: 10px 0 0;
	font-size: 13px;
	line-height: 1.4;
	text-align: center;
	color: #0c0a25;
}

/* Gradient box — don't reserve empty space for a hidden status line */
.rul-jobs-alert__msg[hidden] {
	display: none !important;
	margin: 0;
	min-height: 0;
}

.rul-jobs-alert__msg.is-error {
	color: #b91c1c;
}

.rul-jobs-alert__msg.is-success {
	color: #0c0a25;
}

/* -------------------------------------------------------------------------- */
/* Responsive                                                                 */
/* -------------------------------------------------------------------------- */

@media (max-width: 767px) {
	.rul-jobs-hero {
		padding-top: 28px;
	}

	.rul-jobs-hero__title {
		margin-bottom: 12px;
		font-size: 32px;
		letter-spacing: -1px;
	}

	.rul-jobs-hero__subtitle {
		font-size: 15px;
		line-height: 22px;
		margin-bottom: 20px;
	}

	.rul-jobs-search-wrap {
		padding: 36px 0 16px;
	}

	.rul-jobs-list-intro {
		margin-bottom: 22px;
	}

	.rul-jobs-list-intro__title {
		font-size: 32px;
		line-height: 1.2;
		letter-spacing: 0.02em;
	}

	.rul-jobs-list-intro__desc {
		margin-top: 12px;
		font-size: 16px;
		font-weight: 500;
		line-height: 22px;
	}

	.rul-jobs-search--hero {
		max-width: none;
		height: 52px;
		padding: 5px 6px 5px 14px;
	}

	.rul-jobs-search--hero .rul-jobs-search__input {
		font-size: 15px;
		line-height: 22px;
	}

	.rul-jobs-search--hero .rul-jobs-search__btn {
		min-width: 84px;
		height: 40px;
		padding: 0 16px;
		font-size: 14px;
	}

	.rul-jobs-filters {
		padding-bottom: 24px;
	}

	.rul-jobs-tabs {
		justify-content: flex-start;
		flex-wrap: nowrap;
		gap: 8px;
		overflow-x: auto;
		-webkit-overflow-scrolling: touch;
		scrollbar-width: none;
		padding-bottom: 4px;
	}

	.rul-jobs-tabs::-webkit-scrollbar {
		display: none;
	}

	.rul-jobs-tabs__btn {
		flex: 0 0 auto;
		min-height: 40px;
		padding: 10px 16px;
		white-space: nowrap;
	}

	.rul-jobs-list__header {
		flex-direction: row;
		flex-wrap: nowrap;
		align-items: center;
		justify-content: space-between;
		gap: 8px;
		margin-bottom: 16px;
	}

	.rul-jobs-list__title {
		flex: 1 1 auto;
		min-width: 0;
		font-size: 16px;
		line-height: 22px;
		white-space: nowrap;
		overflow: hidden;
		text-overflow: ellipsis;
	}

	.rul-jobs-list__sort {
		flex: 0 1 auto;
		width: auto;
		max-width: 58%;
		margin-left: 0;
		justify-content: flex-end;
		gap: 6px;
		font-size: 11px;
		white-space: nowrap;
	}

	.rul-jobs-type__trigger {
		flex: 0 1 auto;
		min-width: 0;
		width: auto;
		max-width: 130px;
		height: 36px;
		padding: 6px 8px 6px 10px;
		font-size: 11px;
		border-radius: 8px;
	}

	.rul-job-card {
		min-height: 0;
		padding: 24px 20px 72px;
	}

	.rul-job-card__body {
		max-width: none;
		padding-right: 36px;
		gap: 0;
	}

	.rul-job-card__facts {
		margin-top: 14px;
	}

	.rul-job-card__skills {
		margin-top: 16px;
	}

	.rul-job-card__actions {
		top: 20px;
		right: 16px;
	}

	.rul-job-card__title {
		font-size: 22px;
		line-height: 30px;
	}

	.rul-job-card__facts-row {
		gap: 10px 20px;
	}

	.rul-job-card__fact {
		font-size: 14px;
		line-height: 20px;
		gap: 8px;
	}

	/* Compact, right-aligned — avoid full-width “hero CTA” weight on small screens */
	.rul-job-card__apply {
		left: auto;
		right: 20px;
		bottom: 18px;
		width: auto;
		min-width: 0;
		height: 40px;
		padding: 8px 16px;
		font-size: 14px;
		line-height: 20px;
	}

	.rul-jobs-cv-bank__box {
		padding: 28px 20px;
	}

	.rul-jobs-cv-bank__form {
		grid-template-columns: minmax(0, 1fr);
		gap: 14px;
		max-width: none;
	}

	.rul-jobs-cv-bank__footer {
		flex-direction: column;
		align-items: stretch;
	}

	.rul-jobs-cv-bank__consent {
		flex: 1 1 auto;
	}

	.rul-jobs-cv-bank__btn {
		width: 100%;
		margin-left: 0;
	}

	.rul-jobs-alert__box {
		min-height: 0;
		padding: 28px 20px;
	}

	.rul-jobs-alert__content,
	.rul-jobs-alert__copy {
		gap: 14px;
	}

	.rul-jobs-alert__title {
		font-size: clamp(28px, 8vw, 36px);
		line-height: 1.15;
	}

	.rul-jobs-alert__desc {
		font-size: 14px;
		line-height: 22px;
	}

	.rul-jobs-alert__form {
		max-width: none;
	}

	.rul-jobs-alert__fields {
		flex-wrap: wrap;
		height: auto;
		min-height: 0;
		padding: 8px;
		border-radius: 16px;
		gap: 8px;
		overflow: visible;
	}

	.rul-jobs-alert__input {
		flex: 1 1 100%;
		height: 44px;
		padding: 0 12px;
	}

	.rul-jobs-alert__btn {
		width: 100%;
		min-width: 0;
		height: 46px;
	}

	.rul-jobs-page {
		padding-bottom: 0;
	}

	.rul-jobs-alert {
		padding-bottom: 32px;
	}
}

@media (max-width: 900px) and (min-width: 768px) {
	.rul-jobs-alert__title {
		font-size: clamp(32px, 8vw, 48px);
		line-height: 1.05;
	}

	.rul-jobs-alert__desc {
		font-size: 16px;
		line-height: 22px;
	}

	.rul-jobs-alert__box {
		padding: 40px 24px;
	}
}

@media (max-width: 1023px) and (min-width: 768px) {
	.rul-job-card {
		padding-bottom: 96px;
	}

	.rul-job-card__title {
		font-size: 24px;
		line-height: 32px;
	}

	.rul-job-card__apply {
		left: auto;
	}
}

@media (max-width: 479px) {
	.rul-jobs-container {
		padding: 0 12px;
	}

	.rul-jobs-hero__title {
		font-size: 30px;
	}

	.rul-job-card {
		padding: 20px 16px 68px;
	}

	.rul-job-card__actions {
		top: 16px;
		right: 12px;
	}

	.rul-job-card__body {
		padding-right: 28px;
	}

	.rul-job-card__title {
		line-height: 28px;
	}

	.rul-job-card__apply {
		right: 16px;
		bottom: 16px;
		height: 38px;
		padding: 8px 14px;
		font-size: 13px;
		line-height: 18px;
	}

	.rul-jobs-cv-bank__box {
		padding: 24px 16px;
	}

	.rul-jobs-list-intro__title {
		font-size: 28px;
	}

	.rul-jobs-alert__box {
		padding: 24px 16px;
	}

	.rul-jobs-alert__title {
		font-size: clamp(26px, 7vw, 32px);
		line-height: 1.15;
	}
}
