/* GenRecruit — neutral defaults; every visual property is overridable from Elementor's Style tab. */
:root {
	--gr-accent: #1f5eff;
	--gr-accent-contrast: #fff;
	--gr-text: #1d2330;
	--gr-muted: #5b6475;
	--gr-border: #e3e6ec;
	--gr-surface: #fff;
	--gr-soft: #f4f6fa;
	--gr-radius: 10px;
	--gr-remote: #e3f6ec;
	--gr-remote-text: #11643c;
	--gr-hybrid: #e8efff;
	--gr-hybrid-text: #1b3f99;
	--gr-onsite: #f3f0ea;
	--gr-onsite-text: #5c4a24;
	--gr-error: #b42318;
	--gr-success: #11643c;
}

/* ---------- Shared ---------- */
.gr-button,
.gr-job-card__button,
.gr-filters__submit,
.gr-apply__submit,
.gr-jobs__btn {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	gap: .4em;
	padding: .7em 1.4em;
	border: 1px solid var(--gr-accent);
	border-radius: 999px;
	background: var(--gr-accent);
	color: var(--gr-accent-contrast);
	font: inherit;
	font-weight: 600;
	line-height: 1.2;
	text-decoration: none;
	cursor: pointer;
	transition: background-color .2s, color .2s, border-color .2s, opacity .2s;
}
.gr-button:hover,
.gr-job-card__button:hover,
.gr-filters__submit:hover,
.gr-apply__submit:hover {
	opacity: .88;
	color: var(--gr-accent-contrast);
}
.gr-button:focus-visible,
.gr-jobs__btn:focus-visible,
.gr-job-card__title a:focus-visible {
	outline: 2px solid var(--gr-accent);
	outline-offset: 2px;
}

.gr-badge {
	display: inline-flex;
	align-items: center;
	padding: .25em .75em;
	border-radius: 999px;
	background: var(--gr-soft);
	color: var(--gr-muted);
	font-size: .8em;
	font-weight: 600;
	line-height: 1.4;
	white-space: nowrap;
}
.gr-badge--remote { background: var(--gr-remote); color: var(--gr-remote-text); }
.gr-badge--hybrid { background: var(--gr-hybrid); color: var(--gr-hybrid-text); }
.gr-badge--on-site,
.gr-badge--onsite { background: var(--gr-onsite); color: var(--gr-onsite-text); }

.gr-icon {
	display: inline-block;
	width: 1em;
	height: 1em;
	margin-right: .45em;
	vertical-align: -.125em;
	background: currentColor;
	opacity: .7;
	-webkit-mask: var(--gr-icon) center / contain no-repeat;
	mask: var(--gr-icon) center / contain no-repeat;
}
.gr-icon--salary { --gr-icon: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='M3 6h18v12H3z' fill='none' stroke='%23000' stroke-width='2'/%3E%3Ccircle cx='12' cy='12' r='2.5' fill='none' stroke='%23000' stroke-width='2'/%3E%3C/svg%3E"); }
.gr-icon--location { --gr-icon: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='M12 21s-7-6.2-7-11.5a7 7 0 0 1 14 0C19 14.8 12 21 12 21z' fill='none' stroke='%23000' stroke-width='2'/%3E%3Ccircle cx='12' cy='9.5' r='2.5' fill='none' stroke='%23000' stroke-width='2'/%3E%3C/svg%3E"); }
.gr-icon--category { --gr-icon: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='M4 7h16v13H4zM9 7V4h6v3' fill='none' stroke='%23000' stroke-width='2'/%3E%3C/svg%3E"); }
.gr-icon--date { --gr-icon: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Ccircle cx='12' cy='12' r='9' fill='none' stroke='%23000' stroke-width='2'/%3E%3Cpath d='M12 7v5l3 2' fill='none' stroke='%23000' stroke-width='2'/%3E%3C/svg%3E"); }

.gr-editor-notice {
	padding: 12px 16px;
	border: 1px dashed #b7bcc7;
	border-radius: 6px;
	background: #fafbfc;
	color: #555;
	font-size: 13px;
}

/* ---------- Listings ---------- */
.gr-jobs__count { display: none; margin-bottom: 1em; color: var(--gr-muted); font-size: .9em; }
.gr-count-yes .gr-jobs__count,
.gr-jobs:not(.elementor .gr-jobs) .gr-jobs__count { display: block; }

.gr-jobs__items {
	display: grid;
	grid-template-columns: repeat(3, minmax(0, 1fr));
	gap: 24px;
	transition: opacity .2s;
}
.gr-jobs.is-loading .gr-jobs__items { opacity: .45; pointer-events: none; }
.gr-layout-list .gr-jobs__items { grid-template-columns: 1fr !important; }

.gr-job-card {
	display: flex;
	flex-direction: column;
	gap: .75em;
	padding: 24px;
	border: 1px solid var(--gr-border);
	border-radius: var(--gr-radius);
	background: var(--gr-surface);
	color: var(--gr-text);
	transition: box-shadow .2s, transform .2s;
}
.gr-job-card:hover { box-shadow: 0 8px 24px rgba(20, 30, 60, .08); transform: translateY(-2px); }
.gr-job-card__header { display: flex; flex-wrap: wrap; gap: .4em; }
.gr-job-card__header:empty { display: none; }
.gr-job-card__title { margin: 0; font-size: 1.2em; line-height: 1.3; }
.gr-job-card__title a { color: inherit; text-decoration: none; }
.gr-job-card__title a:hover { color: var(--gr-accent); }
.gr-job-card__meta { display: flex; flex-direction: column; gap: .35em; margin: 0; padding: 0; list-style: none; color: var(--gr-muted); font-size: .92em; }
.gr-job-card__salary { color: var(--gr-text); font-weight: 600; }
.gr-job-card__excerpt { margin: 0; color: var(--gr-muted); font-size: .95em; }
.gr-job-card__button { align-self: flex-start; margin-top: auto; }

.gr-layout-list .gr-job-card { display: grid; grid-template-columns: 1fr auto; column-gap: 24px; align-items: center; }
.gr-layout-list .gr-job-card > * { grid-column: 1; }
.gr-layout-list .gr-job-card__button { grid-column: 2; grid-row: 1 / span 5; align-self: center; margin: 0; }
.gr-layout-list .gr-job-card__meta { flex-direction: row; flex-wrap: wrap; column-gap: 1.25em; }

.gr-jobs__empty { grid-column: 1 / -1; padding: 32px; border-radius: var(--gr-radius); background: var(--gr-soft); color: var(--gr-muted); text-align: center; }

.gr-jobs__nav { margin-top: 32px; text-align: center; }
.gr-jobs__pagination { display: flex; flex-wrap: wrap; justify-content: center; gap: 8px; }
.gr-jobs__page { min-width: 2.6em; padding: .55em .8em; border-color: var(--gr-border); background: var(--gr-surface); color: var(--gr-text); }
.gr-jobs__page.is-current,
.gr-jobs__page:hover { border-color: var(--gr-accent); background: var(--gr-accent); color: var(--gr-accent-contrast); }
.gr-jobs__load-more { background: transparent; color: var(--gr-accent); }
.gr-jobs__load-more:hover { background: var(--gr-accent); color: var(--gr-accent-contrast); }

/* ---------- Filters ---------- */
.gr-filters { display: flex; flex-wrap: wrap; align-items: flex-end; gap: 12px; margin-bottom: 32px; }
.gr-filters__field { display: flex; flex: 1 1 180px; flex-direction: column; gap: 4px; min-width: 0; margin: 0; padding: 0; border: 0; }
.gr-filters__field--search { flex: 2 1 260px; }
.gr-filters label,
.gr-filters legend { color: var(--gr-muted); font-size: .85em; font-weight: 600; }
.gr-filters input[type=search],
.gr-filters select {
	width: 100%;
	min-height: 46px;
	padding: .6em .9em;
	border: 1px solid var(--gr-border);
	border-radius: 8px;
	background: var(--gr-surface);
	color: var(--gr-text);
	font: inherit;
}
.gr-filters__check { display: flex; align-items: center; gap: .5em; font-weight: 400 !important; color: var(--gr-text) !important; cursor: pointer; }
.gr-filters__count { color: var(--gr-muted); font-size: .9em; }
.gr-filters__actions { display: flex; align-items: center; gap: 12px; }
.gr-filters__submit { min-height: 46px; }
.gr-filters__reset { padding: 0; border: 0; background: none; color: var(--gr-muted); font: inherit; text-decoration: underline; cursor: pointer; }
.gr-filters[data-live="1"] .gr-filters__submit { display: none; }
.gr-filters[data-live="1"] .gr-filters__field--search ~ .gr-filters__actions .gr-filters__submit { display: inline-flex; }
.gr-filters-dir-column .gr-filters { flex-direction: column; align-items: stretch; }
.gr-filters-dir-column .gr-filters__field { flex: 0 0 auto; }
.gr-filters--checkbox fieldset.gr-filters__field { gap: 6px; }

/* ---------- Details ---------- */
.gr-job-details { display: grid; gap: 16px; margin: 0; }
.gr-job-details__row { margin: 0; }
.gr-job-details dt { margin: 0 0 2px; color: var(--gr-muted); font-size: .85em; font-weight: 600; text-transform: uppercase; letter-spacing: .03em; }
.gr-job-details dd { margin: 0; color: var(--gr-text); font-weight: 500; }
.gr-details-inline .gr-job-details__row { display: flex; justify-content: space-between; gap: 16px; padding-bottom: 12px; border-bottom: 1px solid var(--gr-border); }
.gr-details-inline .gr-job-details dt { margin: 0; }
.gr-details-inline .gr-job-details dd { text-align: right; }
.gr-skills { display: flex; flex-wrap: wrap; gap: 6px; margin: 4px 0 0; padding: 0; list-style: none; }

/* ---------- Salary & flexibility highlight ---------- */
.gr-highlight { display: flex; flex-wrap: wrap; align-items: center; gap: 10px 14px; }
.gr-highlight__salary { color: var(--gr-text); font-size: 1.35em; font-weight: 700; }
.gr-highlight__location { color: var(--gr-muted); }

/* ---------- Apply form ---------- */
.gr-apply { display: flex; flex-direction: column; gap: 16px; }
.gr-apply__row--2 { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.gr-apply__field { display: flex; flex-direction: column; gap: 6px; margin: 0; }
.gr-apply label { color: var(--gr-text); font-weight: 600; font-size: .92em; }
.gr-apply input:not([type=checkbox]):not([type=file]),
.gr-apply textarea {
	width: 100%;
	padding: .7em .9em;
	border: 1px solid var(--gr-border);
	border-radius: 8px;
	background: var(--gr-surface);
	color: var(--gr-text);
	font: inherit;
}
.gr-apply input[type=file] { padding: .6em; border: 1px dashed var(--gr-border); border-radius: 8px; background: var(--gr-soft); }
.gr-apply__hint { color: var(--gr-muted); }
.gr-apply__field--consent label { display: flex; align-items: flex-start; gap: .6em; font-weight: 400; }
.gr-apply__field--consent input { margin-top: .3em; }
.gr-apply__hp { position: absolute !important; left: -9999px !important; width: 1px; height: 1px; overflow: hidden; }
.gr-apply .is-invalid { border-color: var(--gr-error) !important; }
.gr-apply__error,
.gr-apply .gr-field-error { color: var(--gr-error); font-size: .85em; }
.gr-apply__message { padding: 12px 16px; border-radius: 8px; }
.gr-apply__message.is-error { background: #fef3f2; color: var(--gr-error); }
.gr-apply__message.is-success { background: var(--gr-remote); color: var(--gr-success); }
.gr-apply.is-sent .gr-apply__field,
.gr-apply.is-sent .gr-apply__row,
.gr-apply.is-sent .gr-apply__submit { display: none; }
.gr-apply__submit { align-self: flex-start; }
.gr-apply__submit[disabled] { opacity: .6; cursor: wait; }

/* ---------- Fallback templates ---------- */
.gr-archive { max-width: 1140px; margin: 0 auto; padding: 48px 20px; }

/* ---------- Responsive ---------- */
@media (max-width: 1024px) {
	.gr-jobs__items { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (max-width: 767px) {
	.gr-jobs__items { grid-template-columns: 1fr; }
	.gr-layout-list .gr-job-card { display: flex; }
	.gr-apply__row--2 { grid-template-columns: 1fr; }
	.gr-filters__actions { width: 100%; }
}

/* =====================================================================
   Candidate registration form (.gr-cform)
   Defaults reproduce the approved "Register with Adept" design; every
   value is a custom property so Elementor's Style tab can override it.
   ===================================================================== */
.gr-cform {
	--gr-cf-row-gap: 14px;
	--gr-cf-col-gap: 14px;
	--gr-cf-label: #6b7280;
	--gr-cf-text: #1c2b3a;
	--gr-cf-placeholder: #cbd5e1;
	--gr-cf-input-bg: #fff;
	--gr-cf-border: #e2e8f0;
	--gr-cf-focus: #1c2b3a;
	--gr-cf-error: #dc2626;
	--gr-cf-radius: 8px;
	--gr-cf-drop-bg: #fafbfc;
	--gr-cf-drop-bg-hover: #f3f5f8;
	--gr-cf-drop-border: rgba(0, 0, 0, .12);
	--gr-cf-drop-icon: #9ca3af;
	--gr-cf-drop-text: #9ca3af;
	--gr-cf-drop-height: 88px;
	--gr-cf-drop-radius: 16px;
	--gr-cf-drop-gap: 10px;
	--gr-cf-btn-bg: #f59e0b;
	--gr-cf-btn-text: #fff;
	--gr-cf-btn-bg-hover: #e08e06;
	--gr-cf-btn-text-hover: #fff;

	display: flex;
	flex-direction: column;
	gap: var(--gr-cf-row-gap);
	width: 100%;
	margin: 0;
	box-sizing: border-box;
}
.gr-cform *,
.gr-cform *::before,
.gr-cform *::after { box-sizing: border-box; }

.gr-cform__row { display: flex; gap: var(--gr-cf-col-gap); width: 100%; }
.gr-cform__row > .gr-cform__field { flex: 1 1 0; min-width: 0; }
.gr-cform__field { display: flex; flex-direction: column; margin: 0; }

.gr-cform__label {
	display: block;
	margin: 0 0 5px;
	color: var(--gr-cf-label);
	font-size: 12px;
	font-weight: 700;
	line-height: 1;
	letter-spacing: .88px;
	text-transform: uppercase;
}
.gr-cform__optional { font-weight: 400; }

.gr-cform .gr-cform__input {
	display: block;
	width: 100%;
	height: auto;
	min-height: 0;
	margin: 0;
	padding: 10px 15px;
	border: 1px solid var(--gr-cf-border);
	border-radius: var(--gr-cf-radius);
	background-color: var(--gr-cf-input-bg);
	box-shadow: none;
	color: var(--gr-cf-text);
	font-family: inherit;
	font-size: 14px;
	font-weight: 400;
	line-height: 1.5;
	outline: none;
	transition: border-color .15s;
}
.gr-cform .gr-cform__input::placeholder { color: var(--gr-cf-placeholder); opacity: 1; }
.gr-cform .gr-cform__input:focus { border-color: var(--gr-cf-focus); outline: none; box-shadow: none; }
.gr-cform .gr-cform__input:focus-visible { box-shadow: 0 0 0 3px rgba(28, 43, 58, .08); }

.gr-cform .gr-cform__select {
	-webkit-appearance: none;
	-moz-appearance: none;
	appearance: none;
	padding-right: 45px;
	background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='8' viewBox='0 0 12 8'%3E%3Cpath d='M1 1l5 5 5-5' fill='none' stroke='%2395A0AE' stroke-width='1.5' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E");
	background-repeat: no-repeat;
	background-position: right 18px center;
	background-size: 12px 8px;
	cursor: pointer;
}
.gr-cform .gr-cform__select:invalid,
.gr-cform .gr-cform__select.is-empty { color: var(--gr-cf-text); }
.gr-cform .gr-cform__select::-ms-expand { display: none; }
.gr-cform .gr-cform__select option { color: #182334; }

/* Upload drop zone */
.gr-cform__upload-field { position: relative; margin-bottom: calc(var(--gr-cf-drop-gap) - var(--gr-cf-row-gap)); }
.gr-cform__drop {
	position: relative;
	display: flex;
	align-items: center;
	justify-content: center;
	width: 100%;
	height: var(--gr-cf-drop-height);
	margin: 0;
	padding: 0 16px;
	border: 2px dashed var(--gr-cf-drop-border);
	border-radius: var(--gr-cf-drop-radius);
	background: var(--gr-cf-drop-bg);
	overflow: hidden;
	cursor: pointer;
	transition: background-color .15s, border-color .15s;
	/* Labels elsewhere are uppercase — reset for the drop zone. */
	text-transform: none;
	letter-spacing: normal;
}
.gr-cform__drop:hover,
.gr-cform__drop.is-dragover { background: var(--gr-cf-drop-bg-hover); }
.gr-cform__drop.is-dragover { border-color: var(--gr-cf-focus); }
.gr-cform__file {
	position: absolute;
	inset: 0;
	width: 100%;
	height: 100%;
	margin: 0;
	padding: 0;
	opacity: 0;
	cursor: pointer;
	z-index: 2;
}
.gr-cform__drop:has(.gr-cform__file:focus-visible) { border-color: var(--gr-cf-focus); }
.gr-cform__drop-inner {
	position: relative;
	z-index: 1;
	display: flex;
	flex-direction: column;
	align-items: center;
	gap: 5px;
	max-width: 100%;
	pointer-events: none;
	color: var(--gr-cf-drop-icon);
	text-align: center;
}
.gr-cform__clip { display: block; flex: none; }
.gr-cform__hint {
	max-width: 100%;
	overflow: hidden;
	color: var(--gr-cf-drop-text);
	font-size: 11px;
	font-weight: 400;
	line-height: 1.5;
	text-overflow: ellipsis;
	white-space: nowrap;
}
.gr-cform__drop.has-file .gr-cform__hint { color: var(--gr-cf-text); font-weight: 600; }
.gr-cform__drop.has-file .gr-cform__clip { color: var(--gr-cf-focus); }
.gr-cform .gr-cform__remove {
	position: absolute;
	top: 8px;
	right: 10px;
	z-index: 3;
	display: flex;
	align-items: center;
	justify-content: center;
	width: 24px;
	min-width: 0;
	height: 24px;
	min-height: 0;
	margin: 0;
	padding: 0;
	border: 0;
	border-radius: 50%;
	background: rgba(28, 43, 58, .08);
	box-shadow: none;
	color: var(--gr-cf-text);
	font-family: inherit;
	font-size: 16px;
	font-weight: 400;
	line-height: 1;
	text-transform: none;
	cursor: pointer;
}
.gr-cform .gr-cform__remove:hover,
.gr-cform .gr-cform__remove:focus-visible { background: rgba(28, 43, 58, .16); color: var(--gr-cf-text); }
.gr-cform .gr-cform__remove[hidden] { display: none !important; }
.gr-cform__label .gr-cform__optional { letter-spacing: .88px; }

/* Consent */
.gr-cform__consent label { display: flex; align-items: flex-start; gap: 8px; color: var(--gr-cf-label); font-size: 12px; line-height: 1.5; cursor: pointer; }
.gr-cform__consent input { margin-top: 2px; }

/* Submit */
.gr-cform__submit-wrap { width: 100%; }
.gr-cform .gr-cform__submit {
	display: block;
	width: 100%;
	margin: 0;
	padding: 10px 42px;
	border: 1px solid var(--gr-cf-btn-bg);
	border-radius: 10px;
	background-color: var(--gr-cf-btn-bg);
	box-shadow: none;
	color: var(--gr-cf-btn-text);
	font-family: inherit;
	font-size: 16px;
	font-weight: 700;
	line-height: 1.5;
	text-transform: none;
	cursor: pointer;
	transition: background-color .15s, border-color .15s, color .15s;
}
.gr-cform .gr-cform__submit:hover,
.gr-cform .gr-cform__submit:focus-visible {
	border-color: var(--gr-cf-btn-bg-hover);
	background-color: var(--gr-cf-btn-bg-hover);
	color: var(--gr-cf-btn-text-hover);
}
.gr-cform .gr-cform__submit:focus-visible { outline: 2px solid var(--gr-cf-focus); outline-offset: 2px; }
.gr-cform .gr-cform__submit[disabled] { opacity: .7; cursor: wait; }

.gr-cform__note {
	margin: 0;
	color: #9ca3af;
	font-size: 11px;
	font-weight: 400;
	line-height: 1.5;
	text-align: center;
}
.gr-cform__note a { color: #3b82f6; }

/* Validation + status */
.gr-cform .is-invalid { border-color: var(--gr-cf-error) !important; }
.gr-cform__drop.is-invalid { border-style: dashed; }
.gr-cform .gr-field-error { margin-top: 4px; color: var(--gr-cf-error); font-size: 12px; line-height: 1.4; }
.gr-cform__message { padding: 12px 14px; border-radius: var(--gr-cf-radius); font-size: 14px; line-height: 1.5; }
.gr-cform__message.is-error { background: #fef2f2; color: var(--gr-cf-error); }
.gr-cform__message.is-success { background: #f0fdf4; color: #166534; }
.gr-cform.is-sent > :not(.gr-cform__message):not(.gr-cform__note) { display: none; }

@media (max-width: 767px) {
	.gr-cform-stack-yes .gr-cform__row--2 { flex-direction: column; }
}

/* =====================================================================
   CV-first candidate onboarding (.gr-onb)
   Upload → matching roles / nothing yet / error → register (reuses .gr-cform)
   ===================================================================== */
.gr-onb {
	--gr-onb-head-bg: #1f2a3a;
	--gr-onb-head-text: #fff;
	--gr-onb-bg: #fff;
	--gr-onb-ink: #1f2a3a;
	--gr-onb-muted: #5b6472;
	--gr-onb-soft: #f5f6f8;
	--gr-onb-border: #dcdfe4;
	--gr-onb-border-soft: #e4e7eb;
	--gr-onb-success: #2f7a4a;
	--gr-onb-primary: #e8a23a;
	--gr-onb-primary-hover: #d8912a;
	--gr-onb-primary-text: #fff;
	--gr-onb-line: #048a3d;
	--gr-onb-line-hover: #037233;
	--gr-onb-outline: #1f2a3a;
	--gr-onb-radius: 16px;
	--gr-onb-error: #dc2626;
	width: 100%;
	color: var(--gr-onb-ink);
}
.gr-onb *, .gr-onb *::before, .gr-onb *::after { box-sizing: border-box; }
.gr-onb [hidden] { display: none !important; }

.gr-onb__panel {
	overflow: hidden;
	border-radius: var(--gr-onb-radius);
	background: var(--gr-onb-bg);
	box-shadow: 0 18px 48px rgba(15, 23, 42, .16);
}
.gr-onb__head { padding: 20px 24px; background: var(--gr-onb-head-bg); }
.gr-onb .gr-onb__head-title { margin: 0; color: var(--gr-onb-head-text); font-size: 19px; font-weight: 600; line-height: 1.3; }
.gr-onb__body { padding: 24px; }

.gr-onb .gr-onb__title { margin: 0 0 6px; color: var(--gr-onb-ink); font-size: 22px; font-weight: 700; line-height: 1.25; outline: none; }
.gr-onb__lead { margin: 0 0 20px; color: var(--gr-onb-muted); font-size: 14px; line-height: 1.55; }

/* Links that are buttons */
.gr-onb .gr-onb__link {
	display: inline;
	min-height: 0;
	margin: 0;
	padding: 0;
	border: 0;
	background: none;
	box-shadow: none;
	color: var(--gr-onb-muted);
	font: inherit;
	font-size: 13px;
	text-decoration: underline;
	text-underline-offset: 2px;
	cursor: pointer;
}
.gr-onb .gr-onb__link:hover { background: none; color: var(--gr-onb-ink); }
.gr-onb .gr-onb__link--strong { color: var(--gr-onb-ink); font-weight: 600; }
.gr-onb .gr-onb__back { display: inline-block; margin: 0 0 14px; text-decoration: none; }

/* Buttons */
.gr-onb .gr-onb__btn {
	display: flex;
	align-items: center;
	justify-content: center;
	gap: 8px;
	width: 100%;
	margin: 0;
	padding: 13px 20px;
	border: 1px solid transparent;
	border-radius: 8px;
	box-shadow: none;
	font-family: inherit;
	font-size: 16px;
	font-weight: 600;
	line-height: 1.4;
	text-align: center;
	text-decoration: none;
	text-transform: none;
	cursor: pointer;
	transition: background-color .15s, border-color .15s, color .15s;
}
.gr-onb .gr-onb__btn--primary { border-color: var(--gr-onb-primary); background: var(--gr-onb-primary); color: var(--gr-onb-primary-text); }
.gr-onb .gr-onb__btn--primary:hover,
.gr-onb .gr-onb__btn--primary:focus-visible { border-color: var(--gr-onb-primary-hover); background: var(--gr-onb-primary-hover); color: var(--gr-onb-primary-text); }
.gr-onb .gr-onb__btn--line { border-color: var(--gr-onb-line); background: var(--gr-onb-line); color: #fff; }
.gr-onb .gr-onb__btn--line:hover,
.gr-onb .gr-onb__btn--line:focus-visible { border-color: var(--gr-onb-line-hover); background: var(--gr-onb-line-hover); color: #fff; }
.gr-onb .gr-onb__btn--outline { border-color: var(--gr-onb-outline); background: transparent; color: var(--gr-onb-outline); }
.gr-onb .gr-onb__btn--outline:hover,
.gr-onb .gr-onb__btn--outline:focus-visible { background: var(--gr-onb-outline); color: #fff; }
.gr-onb .gr-onb__btn:focus-visible { outline: 2px solid var(--gr-onb-ink); outline-offset: 2px; }
.gr-onb .gr-onb__btn[disabled] { opacity: .65; cursor: wait; }
.gr-onb .gr-onb__btn--spaced { margin-top: 12px; }

/* Step 1 drop zone */
.gr-onb__drop-field { position: relative; }
.gr-onb .gr-onb__drop {
	position: relative;
	display: flex;
	flex-direction: column;
	align-items: center;
	justify-content: center;
	gap: 6px;
	min-height: 160px;
	margin: 0;
	padding: 24px 16px;
	border: 1.5px dashed #cbd0d8;
	border-radius: 10px;
	background: var(--gr-onb-soft);
	color: var(--gr-onb-ink);
	text-align: center;
	text-transform: none;
	letter-spacing: normal;
	cursor: pointer;
	transition: background-color .15s, border-color .15s;
}
.gr-onb .gr-onb__drop:hover,
.gr-onb .gr-onb__drop.is-dragover { border-color: var(--gr-onb-ink); background: #eef0f3; }
.gr-onb .gr-onb__drop:has(input:focus-visible) { border-color: var(--gr-onb-ink); box-shadow: 0 0 0 3px rgba(31, 42, 58, .12); }
.gr-onb .gr-onb__drop.is-invalid { border-color: var(--gr-onb-error); }
.gr-onb .gr-onb__file-input { position: absolute; inset: 0; z-index: 2; width: 100%; height: 100%; margin: 0; opacity: 0; cursor: pointer; }
.gr-onb__drop-inner { display: flex; flex-direction: column; align-items: center; gap: 10px; pointer-events: none; }
.gr-onb__drop-icon { display: block; color: var(--gr-onb-ink); }
.gr-onb__drop-title { max-width: 100%; overflow: hidden; color: var(--gr-onb-ink); font-size: 15px; font-weight: 500; line-height: 1.4; text-overflow: ellipsis; white-space: nowrap; }
.gr-onb__drop.has-file .gr-onb__drop-title { font-weight: 600; }
.gr-onb__drop-hint { position: relative; z-index: 1; color: var(--gr-onb-muted); font-size: 12px; font-weight: 400; line-height: 1.5; pointer-events: none; }
.gr-onb__browse { color: var(--gr-onb-ink); font-weight: 600; text-decoration: underline; text-underline-offset: 2px; }

/* Opt-in + legal (step 1 and the registration form) */
.gr-onb__optin,
.gr-onb .gr-cform__optin { margin: 20px 0 0; }
.gr-onb__optin label,
.gr-onb .gr-cform__optin label {
	display: grid;
	grid-template-columns: 18px 1fr;
	gap: 10px;
	align-items: start;
	margin: 0;
	color: var(--gr-onb-ink);
	font-size: 12.5px;
	font-weight: 400;
	line-height: 1.6;
	letter-spacing: normal;
	text-align: center;
	text-transform: none;
	cursor: pointer;
}
.gr-onb__optin input,
.gr-onb .gr-cform__optin input { width: 18px; height: 18px; margin: 2px 0 0; accent-color: var(--gr-onb-ink); }
.gr-onb__legal,
.gr-onb .gr-cform__legal { margin: 12px 0 20px; color: var(--gr-onb-muted); font-size: 12px; line-height: 1.6; text-align: center; }
.gr-onb__legal a,
.gr-onb .gr-cform__legal a { color: var(--gr-onb-ink); font-weight: 600; text-decoration: underline; text-underline-offset: 2px; }
.gr-onb .gr-cform__optin { margin-top: 4px; }
.gr-onb .gr-cform__legal { margin-top: -4px; }

.gr-onb__message { margin: 0 0 14px; padding: 10px 14px; border-radius: 8px; background: #fef2f2; color: var(--gr-onb-error); font-size: 13px; line-height: 1.5; }
.gr-onb .gr-field-error { display: block; margin-top: 6px; color: var(--gr-onb-error); font-size: 12px; line-height: 1.4; }

/* Uploaded file row */
.gr-onb__file {
	display: flex;
	align-items: center;
	gap: 12px;
	margin: 0 0 22px;
	padding: 12px 16px;
	border: 1px solid var(--gr-onb-border);
	border-radius: 10px;
	background: var(--gr-onb-bg);
	font-size: 14px;
}
.gr-onb__file-icon { display: flex; flex: none; color: var(--gr-onb-ink); }
.gr-onb__file-name { flex: 1 1 auto; min-width: 0; overflow: hidden; color: var(--gr-onb-ink); font-weight: 500; text-overflow: ellipsis; white-space: nowrap; }
.gr-onb__file-status { display: inline-flex; flex: none; align-items: center; gap: 5px; color: var(--gr-onb-success); font-size: 13px; font-weight: 500; }
.gr-onb .gr-onb__replace { flex: none; }
.gr-onb__file-status--neutral { color: var(--gr-onb-muted); }

/* Matching roles */
.gr-onb__roles { margin: 0 0 20px; padding: 0; overflow: hidden; border: 1px solid var(--gr-onb-border-soft); border-radius: 10px; list-style: none; }
.gr-onb__roles > li { margin: 0; border-top: 1px solid var(--gr-onb-border-soft); }
.gr-onb__roles > li:first-child { border-top: 0; }
.gr-onb .gr-onb__role { display: flex; align-items: center; gap: 12px; padding: 14px 16px; color: inherit; text-decoration: none; transition: background-color .15s; }
.gr-onb a.gr-onb__role:hover,
.gr-onb a.gr-onb__role:focus-visible { background: #f8f9fb; }
.gr-onb__role-main { display: flex; flex: 1 1 auto; flex-direction: column; gap: 2px; min-width: 0; }
.gr-onb__role-title { color: var(--gr-onb-ink); font-size: 14.5px; font-weight: 600; line-height: 1.35; }
.gr-onb__role-meta { color: var(--gr-onb-muted); font-size: 12.5px; line-height: 1.4; }
.gr-onb__role-meta:empty { display: none; }
.gr-onb__role-level { flex: none; color: var(--gr-onb-muted); font-size: 11px; font-weight: 500; letter-spacing: .08em; text-transform: uppercase; }
.gr-onb__footer { margin: 14px 0 0; color: var(--gr-onb-muted); font-size: 13px; text-align: center; }

/* "or" divider + notes */
.gr-onb__or { display: flex; align-items: center; gap: 12px; margin: 18px 0; color: var(--gr-onb-muted); font-size: 12px; }
.gr-onb__or::before,
.gr-onb__or::after { content: ""; flex: 1; border-top: 1px solid var(--gr-onb-border-soft); }
.gr-onb__note { margin: 18px 0 0; color: #6b7280; font-size: 12px; text-align: center; }

/* Loading */
.gr-onb__spinner { flex: none; width: 18px; height: 18px; border: 2px solid var(--gr-onb-border); border-top-color: var(--gr-onb-ink); border-radius: 50%; animation: gr-onb-spin .8s linear infinite; }
.gr-onb__roles--skeleton .gr-onb__role { flex-direction: column; align-items: flex-start; gap: 8px; }
.gr-onb__sk { display: block; height: 10px; border-radius: 5px; background: linear-gradient(90deg, #eef0f3 25%, #f6f7f9 50%, #eef0f3 75%); background-size: 200% 100%; animation: gr-onb-shimmer 1.2s ease-in-out infinite; }
.gr-onb__sk--title { width: 60%; height: 12px; }
.gr-onb__sk--meta { width: 40%; }
@keyframes gr-onb-spin { to { transform: rotate(360deg); } }
@keyframes gr-onb-shimmer { from { background-position: 200% 0; } to { background-position: -200% 0; } }
@media (prefers-reduced-motion: reduce) {
	.gr-onb__spinner, .gr-onb__sk { animation: none; }
}

/* Registration step: the shared .gr-cform, restyled to the onboarding design */
.gr-onb .gr-cform {
	--gr-cf-label: var(--gr-onb-muted);
	--gr-cf-text: var(--gr-onb-ink);
	--gr-cf-placeholder: #9aa1ab;
	--gr-cf-border: var(--gr-onb-border);
	--gr-cf-focus: var(--gr-onb-ink);
	--gr-cf-radius: 8px;
	--gr-cf-btn-bg: var(--gr-onb-primary);
	--gr-cf-btn-bg-hover: var(--gr-onb-primary-hover);
	--gr-cf-btn-text: var(--gr-onb-primary-text);
	--gr-cf-btn-text-hover: var(--gr-onb-primary-text);
	--gr-cf-row-gap: 16px;
}
.gr-onb .gr-cform__intro { margin: 0 0 4px; color: var(--gr-onb-muted); font-size: 14px; line-height: 1.55; outline: none; }
.gr-onb .gr-cform .gr-cform__input { padding: 11px 15px; }
.gr-onb .gr-cform .gr-cform__submit { padding: 13px 20px; border-radius: 8px; font-weight: 600; }
.gr-onb .gr-cform__optional { font-weight: 700; }

.gr-cform__attached {
	display: flex;
	align-items: center;
	gap: 14px;
	padding: 14px 16px;
	border: 1px solid var(--gr-onb-border-soft, #e4e7eb);
	border-radius: 10px;
	background: #f1f2f4;
}
.gr-cform__attached-icon { display: flex; flex: none; align-items: center; justify-content: center; width: 38px; height: 38px; border: 1px solid #e4e7eb; border-radius: 8px; background: #fff; color: var(--gr-onb-ink, #1f2a3a); }
.gr-cform__attached-text { display: flex; flex: 1 1 auto; flex-direction: column; min-width: 0; }
.gr-cform__attached-name { overflow: hidden; color: var(--gr-onb-ink, #1f2a3a); font-size: 14px; font-weight: 600; text-overflow: ellipsis; white-space: nowrap; }
.gr-cform__attached-sub { color: var(--gr-onb-muted, #5b6472); font-size: 12px; }
.gr-cform__attached-check { flex: none; color: var(--gr-onb-ink, #1f2a3a); }

@media (max-width: 480px) {
	.gr-onb__head { padding: 18px 20px; }
	.gr-onb__body { padding: 20px; }
	.gr-onb .gr-onb__title { font-size: 20px; }
	.gr-onb__file { flex-wrap: wrap; row-gap: 6px; }
	.gr-onb__file-name { flex-basis: calc(100% - 30px); }
}

/* =====================================================================
   Single job page (.gr-job-page) + application card (.gr-apply-card)
   Matches plans/Job Detail Page.png. Header/footer are Elementor's.
   ===================================================================== */
.gr-job-page {
	--gr-jp-ink: #1f2a3a;
	--gr-jp-text: #374151;
	--gr-jp-muted: #5b6472;
	--gr-jp-border: #e0e3e7;
	--gr-jp-hero: #f5f6f8;
	--gr-jp-accent: #f59e0b;
	--gr-jp-apply: #3b82f6;
	--gr-jp-apply-hover: #2563eb;
	color: var(--gr-jp-text);
}
.gr-job-page *, .gr-job-page *::before, .gr-job-page *::after { box-sizing: border-box; }
/* Hello Elementor boxes .site-main at 1140px (body:not([class*=elementor-page-]) .site-main);
   the job page needs a full-width hero band, so out-specify it. */
body.single-gr_job main.gr-job-page.site-main,
body .gr-job-page { width: 100%; max-width: none; margin: 0; padding: 0; }
.gr-job-wrap { width: 100%; max-width: 1248px; margin: 0 auto; padding: 0 24px; }

/* Hero */
.gr-job-hero { padding: 34px 0 48px; border-bottom: 1px solid #e7e9ec; background: var(--gr-jp-hero); }
.gr-job-page .gr-job-hero__back { display: inline-flex; align-items: center; gap: 6px; color: var(--gr-jp-accent); font-size: 14px; font-weight: 500; text-decoration: none; }
.gr-job-page .gr-job-hero__back:hover { color: #d97706; text-decoration: underline; text-underline-offset: 3px; }
.gr-job-page .gr-job-hero__title { margin: 46px 0 10px; color: var(--gr-jp-ink); font-size: 44px; font-weight: 700; line-height: 1.15; letter-spacing: -.01em; }
.gr-job-hero__salary { margin: 0; color: var(--gr-jp-ink); font-size: 20px; font-weight: 500; line-height: 1.4; }
.gr-job-page .gr-job-hero__apply {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	margin-top: 42px;
	padding: 13px 28px;
	border-radius: 6px;
	background: var(--gr-jp-apply);
	color: #fff;
	font-size: 16px;
	font-weight: 600;
	line-height: 1.4;
	text-decoration: none;
	transition: background-color .15s;
}
.gr-job-page .gr-job-hero__apply:hover,
.gr-job-page .gr-job-hero__apply:focus-visible { background: var(--gr-jp-apply-hover); color: #fff; }
.gr-job-page .gr-job-hero__apply:focus-visible { outline: 2px solid var(--gr-jp-ink); outline-offset: 2px; }

/* Body layout */
.gr-job-body { display: grid; grid-template-columns: minmax(0, 1fr) 400px; gap: 56px; align-items: start; padding-top: 56px; padding-bottom: 88px; }
.gr-job-main { min-width: 0; padding-left: 0; }

/* Facts box (reuses parts/job-details.php) */
.gr-job-page .gr-job-details {
	display: grid;
	grid-template-columns: repeat(3, minmax(0, 1fr));
	gap: 22px 24px;
	margin: 0;
	padding: 26px 24px;
	border: 1px solid var(--gr-jp-border);
	border-radius: 10px;
	background: #fff;
}
.gr-job-page .gr-job-details__row { display: block; margin: 0; padding: 0; border: 0; }
.gr-job-page .gr-job-details dt { margin: 0 0 4px; color: var(--gr-jp-muted); font-size: 12px; font-weight: 500; line-height: 1.5; letter-spacing: .12em; text-transform: uppercase; }
.gr-job-page .gr-job-details dd { margin: 0; color: var(--gr-jp-ink); font-size: 16px; font-weight: 500; line-height: 1.5; text-align: left; }
.gr-job-page .gr-skills { gap: 6px; margin: 2px 0 0; }
.gr-job-page .gr-skills .gr-badge { padding: 3px 14px; border: 1px solid var(--gr-jp-border); border-radius: 999px; background: #fff; color: var(--gr-jp-ink); font-size: 14px; font-weight: 500; line-height: 1.5; }

/* Description */
.gr-job-content { margin-top: 48px; color: var(--gr-jp-text); font-size: 16px; line-height: 1.75; }
.gr-job-page .gr-job-content h2,
.gr-job-page .gr-job-content h3,
.gr-job-page .gr-job-content h4 { margin: 48px 0 16px; color: var(--gr-jp-ink); font-size: 24px; font-weight: 700; line-height: 1.3; }
.gr-job-page .gr-job-content > :first-child { margin-top: 0; }
.gr-job-content p { margin: 0 0 16px; }
.gr-job-content ul,
.gr-job-content ol { margin: 0 0 16px; padding: 0; list-style: none; }
.gr-job-content li { position: relative; margin: 0 0 12px; padding-left: 20px; line-height: 1.65; }
.gr-job-content ul > li::before { content: ""; position: absolute; top: .75em; left: 6px; width: 4px; height: 4px; border-radius: 50%; background: currentColor; }
.gr-job-content ol { counter-reset: gr-ol; }
.gr-job-content ol > li { counter-increment: gr-ol; }
.gr-job-content ol > li::before { content: counter(gr-ol) "."; position: absolute; left: 0; font-weight: 600; }
.gr-job-content li > p { margin: 0; }
.gr-job-content b,
.gr-job-content strong { color: var(--gr-jp-ink); font-weight: 600; }
.gr-job-content a { color: var(--gr-jp-apply); }

/* Sticky application card */
.gr-job-aside { scroll-margin-top: 24px; }
.gr-job-aside__sticky { position: sticky; top: 32px; }
.admin-bar .gr-job-aside__sticky { top: 64px; }

.gr-apply-card {
	--gr-cf-label: #5b6472;
	--gr-cf-text: #1f2a3a;
	--gr-cf-placeholder: #9ca3af;
	--gr-cf-border: #e4e4e4;
	--gr-cf-focus: #1f2a3a;
	--gr-cf-radius: 6px;
	--gr-cf-row-gap: 12px;
	--gr-cf-col-gap: 10px;
	--gr-cf-drop-bg: #f7f8fa;
	--gr-cf-drop-bg-hover: #f1f3f6;
	--gr-cf-drop-border: #dcdfe4;
	--gr-cf-drop-radius: 8px;
	--gr-cf-drop-height: 88px;
	--gr-cf-drop-gap: 18px;
	--gr-cf-btn-bg: #f59e0b;
	--gr-cf-btn-bg-hover: #e08e06;
	overflow: hidden;
	border-radius: 16px;
	background: #fff;
	box-shadow: 0 24px 60px rgba(15, 23, 42, .18), 0 2px 6px rgba(15, 23, 42, .06);
}
.gr-apply-card__head { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 4px 12px; padding: 19px 24px; background: #1c2b3a; }
.gr-apply-card .gr-apply-card__title { margin: 0; color: #fff; font-size: 14px; font-weight: 700; line-height: 1.4; }
.gr-apply-card__subtitle { color: #9aa1ab; font-size: 11px; line-height: 1.4; }
.gr-apply-card .gr-cform,
.gr-apply-card__body { padding: 24px; }
.gr-apply-card .gr-cform__label { font-size: 11px; letter-spacing: .1em; }
.gr-apply-card .gr-cform__label--question { letter-spacing: normal; text-transform: none; font-size: 12.5px; line-height: 1.4; }
.gr-apply-card .gr-cform .gr-cform__input { padding: 9px 14px; font-size: 13.5px; }
.gr-apply-card .gr-cform .gr-cform__textarea { min-height: 95px; resize: vertical; }
.gr-apply-card .gr-cform__drop { border-width: 1.5px; }
.gr-apply-card .gr-cform__drop-inner { gap: 3px; }
.gr-apply-card .gr-cform__clip { margin-bottom: 4px; color: #9ca3af; }
.gr-apply-card .gr-cform__hint { color: var(--gr-cf-text); font-size: 12px; font-weight: 500; }
.gr-cform__drop-sub { color: #9ca3af; font-size: 10.5px; line-height: 1.4; }
.gr-apply-card .gr-cform__optin label { display: grid; grid-template-columns: 18px 1fr; gap: 10px; align-items: start; margin: 0; color: #1f2a3a; font-size: 12.5px; font-weight: 400; line-height: 1.6; letter-spacing: normal; text-align: center; text-transform: none; cursor: pointer; }
.gr-apply-card .gr-cform__optin input { width: 18px; height: 18px; margin: 2px 0 0; accent-color: #1f2a3a; }
.gr-apply-card .gr-cform__legal { margin: -2px 0 2px; color: #5b6472; font-size: 12px; line-height: 1.6; text-align: center; }
.gr-apply-card .gr-cform__legal a { color: #1f2a3a; font-weight: 600; text-decoration: underline; text-underline-offset: 2px; }
.gr-apply-card .gr-cform .gr-cform__submit { padding: 13px 20px; border-radius: 8px; font-size: 14px; font-weight: 700; }
.gr-apply-card__external { display: block; text-align: center; text-decoration: none; }

@media (max-width: 1100px) {
	.gr-job-body { grid-template-columns: minmax(0, 1fr) 360px; gap: 40px; }
	.gr-job-main { padding-left: 0; }
}
@media (max-width: 900px) {
	.gr-job-body { grid-template-columns: 1fr; padding-top: 40px; padding-bottom: 56px; }
	.gr-job-aside__sticky { position: static; }
	.gr-job-page .gr-job-hero__title { margin-top: 32px; font-size: 34px; }
	.gr-job-page .gr-job-details { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (max-width: 520px) {
	.gr-job-wrap { padding-right: 16px; padding-left: 16px; }
	.gr-job-page .gr-job-hero__title { font-size: 28px; }
	.gr-job-page .gr-job-hero__apply { width: 100%; }
	.gr-job-page .gr-job-details { grid-template-columns: 1fr 1fr; padding: 20px 18px; }
	.gr-apply-card .gr-cform,
	.gr-apply-card__body { padding: 20px; }
}
