/* Altum Jobs: board, job page and application form. Matches the site: navy hero gradient, cyan accent,
   Rubik headings, Jost buttons and labels, Roboto body. Scoped under .aj so Hello Elementor's resets don't leak in. */

.aj {
	--aj-navy: #0D1B4B;
	--aj-ink: #050D26;
	--aj-cyan: #0AADEB;
	--aj-cyan-dark: #0893C9;
	--aj-text: #4A5565;
	--aj-muted: #7C8694;
	--aj-line: #E4E8EF;
	--aj-soft: #F5F8FC;
	--aj-ease: cubic-bezier(.2, .7, .3, 1);
	font-family: "Roboto", sans-serif;
	color: var(--aj-text);
	font-size: 16px;
	line-height: 1.6;
}
.aj *, .aj *::before, .aj *::after { box-sizing: border-box; }
.aj a { color: var(--aj-cyan); text-decoration: none; }
.aj h1, .aj h2, .aj h3 { font-family: "Rubik", sans-serif; color: var(--aj-navy); margin: 0; line-height: 1.2; }
.aj-wrap { max-width: 1140px; margin: 0 auto; padding: 0 10px; }
.aj-ico { width: 1.05em; height: 1.05em; flex-shrink: 0; vertical-align: -.15em; }
.aj .screen-reader-text { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }

/* Buttons */
.aj .aj-btn {
	display: inline-flex; align-items: center; justify-content: center; gap: .55em;
	font-family: "Jost", sans-serif; font-size: 16px; font-weight: 600; letter-spacing: .02em; line-height: 1.2;
	padding: 12px 24px; border-radius: 4px; border: 2px solid transparent; cursor: pointer; white-space: nowrap;
	transition: transform .3s var(--aj-ease), box-shadow .3s var(--aj-ease), background-color .2s, color .2s, border-color .2s;
}
.aj .aj-btn .aj-ico { transition: transform .3s var(--aj-ease); }
.aj .aj-btn:hover { transform: translateY(-2px); box-shadow: 0 10px 22px -10px rgba(5, 13, 38, .45); }
.aj .aj-btn:hover .aj-ico:last-child { transform: translateX(4px); }
.aj .aj-btn:active { transform: none; box-shadow: none; }
.aj .aj-btn--primary { background: var(--aj-cyan); border-color: var(--aj-cyan); color: #fff; }
.aj .aj-btn--primary:hover, .aj .aj-btn--primary:focus { background: var(--aj-cyan-dark); border-color: var(--aj-cyan-dark); color: #fff; }
.aj .aj-btn--ghost { background: #fff; border-color: var(--aj-navy); color: var(--aj-navy); }
.aj .aj-btn--ghost:hover, .aj .aj-btn--ghost:focus { background: var(--aj-navy); color: #fff; }
.aj .aj-btn--outline-light { background: transparent; border-color: rgba(255, 255, 255, .7); color: #fff; }
.aj .aj-btn--outline-light:hover { background: #fff; color: var(--aj-navy); }
.aj .aj-btn--block { width: 100%; }
.aj .aj-btn:focus-visible, .aj a:focus-visible, .aj input:focus-visible, .aj select:focus-visible { outline: 3px solid rgba(10, 173, 235, .45); outline-offset: 2px; }

/* Hero */
.aj-hero {
	background: linear-gradient(59deg, #050D26 24.21%, #112E77 60.17%, #0A4C95 75.34%, #012152 98.46%), #050D26;
	color: #fff; padding: 147px 0 72px; /* 75px of it sits under the absolutely positioned site header */
}
.aj-eyebrow { font-family: "Jost", sans-serif; font-size: 12px; font-weight: 600; letter-spacing: .3em; text-transform: uppercase; color: var(--aj-cyan); margin: 0 0 18px; }
.aj .aj-hero__title { color: #fff; font-weight: 700; font-size: clamp(34px, 4.4vw, 52px); letter-spacing: -.01em; margin: 0 0 18px; max-width: 900px; }
.aj-hero__intro { font-size: clamp(17px, 1.6vw, 21px); font-weight: 300; line-height: 1.55; max-width: 760px; margin: 0 0 32px; color: rgba(255, 255, 255, .9); }
.aj-hero__note { display: flex; align-items: center; gap: 8px; margin: 18px 0 0; font-size: 14px; color: rgba(255, 255, 255, .78); }
.aj-hero__note .aj-ico { color: var(--aj-cyan); }

.aj-search { display: flex; gap: 8px; background: #fff; padding: 8px; border-radius: 6px; box-shadow: 0 18px 50px rgba(5, 13, 38, .35); max-width: 940px; }
.aj .aj-search__field { flex: 1; display: flex; align-items: center; gap: 10px; padding: 0 14px; color: var(--aj-muted); line-height: 1.2; vertical-align: baseline; min-width: 0; }
.aj .aj-search__field--city { flex: 0 0 240px; border-left: 1px solid var(--aj-line); }
.aj .aj-search input { border: 0; outline: 0; box-shadow: none; padding: 14px 0; font: 400 16px "Roboto", sans-serif; color: var(--aj-navy); background: transparent; width: 100%; min-width: 0; }
.aj .aj-search input:focus-visible { outline: none; }
.aj-search:focus-within { box-shadow: 0 18px 50px rgba(5, 13, 38, .35), 0 0 0 3px rgba(10, 173, 235, .45); }

/* Board layout */
.aj-results-wrap { background: var(--aj-soft); padding: 48px 0 88px; }
.aj-layout { display: grid; grid-template-columns: 270px 1fr; gap: 32px; align-items: start; }

.aj-filters { background: #fff; border: 1px solid var(--aj-line); border-radius: 8px; padding: 22px; }
.aj-filters__head { display: flex; align-items: center; justify-content: space-between; margin-bottom: 8px; }
.aj .aj-filters__title { display: flex; align-items: center; gap: 8px; font-size: 18px; font-weight: 600; }
.aj .aj-filters__clear { font-family: "Jost", sans-serif; font-size: 14px; font-weight: 600; color: var(--aj-muted); }
.aj .aj-filters__clear:hover { color: var(--aj-cyan); }
.aj .aj-filters__close, .aj .aj-filters__open, .aj .aj-filters__apply { display: none; }
.aj-filter { border: 0; border-top: 1px solid var(--aj-line); margin: 14px 0 0; padding: 16px 0 0; min-width: 0; }
.aj-filter > * { clear: both; }
.aj-filter legend { float: left; width: 100%; padding: 0; margin: 0 0 10px; font-family: "Jost", sans-serif; font-size: 12px; font-weight: 600; letter-spacing: .18em; text-transform: uppercase; color: var(--aj-navy); }
.aj .aj-input, .aj .aj-field input, .aj .aj-field select {
	width: 100%; border: 1.5px solid #CFD6E2; border-radius: 4px; background: #fff; padding: 11px 13px;
	font: 400 15px "Roboto", sans-serif; color: var(--aj-navy); transition: border-color .2s, box-shadow .2s;
}
.aj .aj-input:focus, .aj .aj-field input:focus, .aj .aj-field select:focus { border-color: var(--aj-cyan); box-shadow: 0 0 0 3px rgba(10, 173, 235, .18); outline: none; }
.aj .aj-check { display: flex; align-items: flex-start; gap: 10px; padding: 5px 0; font-size: 15px; line-height: 1.4; color: var(--aj-text); cursor: pointer; vertical-align: baseline; }
.aj .aj-check input { width: 17px; height: 17px; margin: 1px 0 0; accent-color: var(--aj-cyan); flex-shrink: 0; }
.aj .aj-check span { flex: 1; }
.aj .aj-check em { font-style: normal; font-size: 13px; color: var(--aj-muted); }
.aj .aj-check:hover span { color: var(--aj-navy); }

.aj-results__bar { display: flex; align-items: center; justify-content: space-between; gap: 12px; margin-bottom: 18px; flex-wrap: wrap; }
.aj-results__count { margin: 0; font-family: "Jost", sans-serif; font-weight: 600; font-size: 17px; color: var(--aj-navy); }
.aj .aj-sort { display: flex; align-items: center; gap: 8px; font-size: 14px; color: var(--aj-muted); line-height: 1.2; }
.aj .aj-sort select { border: 1.5px solid #CFD6E2; border-radius: 4px; padding: 7px 10px; font: 500 14px "Roboto", sans-serif; color: var(--aj-navy); background: #fff; width: auto; }

/* Job cards */
.aj-list { display: grid; gap: 16px; }
.aj-card {
	display: flex; gap: 24px; justify-content: space-between; background: #fff; border: 1px solid var(--aj-line);
	border-radius: 8px; padding: 24px 26px; position: relative;
	transition: transform .3s var(--aj-ease), box-shadow .3s var(--aj-ease), border-color .3s;
}
.aj-card:hover { transform: translateY(-2px); border-color: #C9DDF0; box-shadow: 0 18px 36px -22px rgba(5, 13, 38, .4); }
.aj-card__main { min-width: 0; flex: 1; }
.aj-card__tags { display: flex; flex-wrap: wrap; gap: 8px; margin-bottom: 10px; }
.aj-tag, .aj-badge { display: inline-block; font-family: "Jost", sans-serif; font-size: 12px; font-weight: 600; letter-spacing: .04em; padding: 4px 10px; border-radius: 999px; line-height: 1.3; }
.aj-tag { background: #E8F6FD; color: #0874A0; }
.aj-tag--light { background: rgba(255, 255, 255, .12); color: #fff; border: 1px solid rgba(255, 255, 255, .25); }
.aj-badge { background: #FFF1E0; color: #A55A00; }
.aj .aj-card__title { font-size: 21px; font-weight: 600; margin: 0 0 6px; }
.aj .aj-card__title a { color: var(--aj-navy); }
.aj .aj-card__title a::after { content: ""; position: absolute; inset: 0; border-radius: 8px; } /* whole card clickable */
.aj .aj-card__title a:hover { color: var(--aj-cyan); }
.aj-card__employer { display: flex; align-items: center; gap: 7px; margin: 0 0 12px; font-weight: 500; color: var(--aj-navy); font-size: 15px; }
.aj-meta { list-style: none; margin: 0; padding: 0; display: flex; flex-wrap: wrap; gap: 6px 20px; font-size: 14.5px; }
.aj-meta li { display: flex; align-items: center; gap: 7px; }
.aj-meta .aj-ico { color: var(--aj-cyan); }
.aj-meta--light { color: rgba(255, 255, 255, .88); font-size: 15.5px; }
.aj-card__excerpt { margin: 12px 0 0; font-size: 14.5px; color: var(--aj-muted); }
.aj-card__side { display: flex; flex-direction: column; align-items: flex-end; justify-content: space-between; gap: 14px; flex-shrink: 0; }
.aj-card__posted { display: flex; align-items: center; gap: 6px; font-size: 13px; color: var(--aj-muted); white-space: nowrap; }
.aj .aj-card__side .aj-btn { position: relative; z-index: 1; }
.aj .aj-card__view { position: relative; z-index: 1; font-size: 13px; color: var(--aj-muted); opacity: 0; transform: translateY(-4px); transition: opacity .25s, transform .3s var(--aj-ease); }
.aj-card:hover .aj-card__view { opacity: 1; transform: none; }

.aj-empty { background: #fff; border: 1px dashed #CFD6E2; border-radius: 8px; padding: 48px 32px; text-align: center; }
.aj .aj-empty h3 { font-size: 22px; margin-bottom: 10px; }
.aj-empty p { max-width: 560px; margin: 0 auto 6px; }
.aj .aj-empty__actions { display: flex; gap: 12px; justify-content: center; flex-wrap: wrap; margin-top: 22px; }

.aj-pages { display: flex; flex-wrap: wrap; gap: 6px; justify-content: center; margin-top: 32px; font-family: "Jost", sans-serif; font-weight: 600; }
.aj-pages a, .aj-pages span { min-width: 42px; padding: 9px 14px; border-radius: 4px; text-align: center; border: 1px solid var(--aj-line); background: #fff; color: var(--aj-navy); }
.aj-pages a:hover { border-color: var(--aj-cyan); color: var(--aj-cyan); }
.aj-pages span[aria-current] { background: var(--aj-navy); border-color: var(--aj-navy); color: #fff; }

/* Job page */
.aj-hero--job { padding: 135px 0 60px; }
.aj-crumbs { font-size: 14px; color: rgba(255, 255, 255, .65); margin-bottom: 26px; display: flex; flex-wrap: wrap; gap: 8px; }
.aj .aj-crumbs a { color: rgba(255, 255, 255, .8); }
.aj .aj-crumbs a:hover { color: #fff; }
.aj-hero--job .aj-hero__title { font-size: clamp(32px, 4vw, 48px); margin-bottom: 12px; }
.aj-hero__employer { display: flex; align-items: center; gap: 8px; font-size: 18px; font-weight: 500; margin: 0 0 18px; }
.aj .aj-hero__actions { display: flex; flex-wrap: wrap; gap: 12px; margin: 28px 0 0; }

.aj-job__body { background: var(--aj-soft); padding: 56px 0 72px; }
.aj-job__grid { display: grid; grid-template-columns: minmax(0, 1fr) 400px; gap: 40px; align-items: start; }
.aj-job__content { background: #fff; border: 1px solid var(--aj-line); border-radius: 8px; padding: 36px 40px; }
.aj .aj-job__content h2 { font-size: 22px; font-weight: 600; margin: 34px 0 14px; }
.aj .aj-job__content h2:first-child { margin-top: 0; }
.aj-prose p, .aj-prose ul, .aj-prose ol { margin: 0 0 14px; }
.aj-prose ul, .aj-prose ol { padding-left: 1.3em; }
.aj-prose li { margin-bottom: 6px; }
.aj-prose h3, .aj-prose h4 { font-family: "Rubik", sans-serif; color: var(--aj-navy); font-size: 18px; margin: 22px 0 10px; }
.aj-details { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 0 24px; margin: 0; }
.aj-details div { padding: 12px 0; border-bottom: 1px solid var(--aj-line); }
.aj-details dt { font-family: "Jost", sans-serif; font-size: 12px; font-weight: 600; letter-spacing: .14em; text-transform: uppercase; color: var(--aj-muted); }
.aj-details dd { margin: 4px 0 0; color: var(--aj-navy); font-weight: 500; }
.aj-chips { list-style: none; padding: 0; margin: 0; display: flex; flex-wrap: wrap; gap: 8px; }
.aj-chips li { padding: 6px 14px; border-radius: 999px; background: var(--aj-soft); border: 1px solid var(--aj-line); font-size: 14px; color: var(--aj-navy); }
.aj-ticks { list-style: none; padding: 0; margin: 0; display: grid; gap: 8px; }
.aj-ticks li { display: flex; gap: 10px; align-items: flex-start; }
.aj-ticks .aj-ico { color: var(--aj-cyan); margin-top: .25em; }
.aj-fee { display: flex; gap: 10px; align-items: flex-start; margin: 36px 0 0; padding: 14px 16px; border-radius: 6px; background: #EEF8EE; color: #275B2A; font-size: 14.5px; }
.aj-fee .aj-ico { margin-top: .2em; }

/* Application form */
.aj-apply { position: sticky; top: 110px; scroll-margin-top: 110px; }
.aj-apply__card { background: #fff; border: 1px solid var(--aj-line); border-top: 4px solid var(--aj-cyan); border-radius: 8px; padding: 28px; box-shadow: 0 24px 48px -32px rgba(5, 13, 38, .45); }
.aj .aj-apply__title { font-size: 22px; font-weight: 600; margin-bottom: 4px; }
.aj-apply__sub { margin: 0 0 20px; font-size: 14.5px; color: var(--aj-muted); }
.aj .aj-apply__closed h2 { font-size: 20px; margin-bottom: 10px; }
.aj-apply__closed p { margin: 0 0 18px; }
.aj-form { display: grid; gap: 14px; }
.aj-form[hidden] { display: none; }
.aj .aj-field { display: grid; gap: 6px; line-height: 1.3; vertical-align: baseline; }
.aj .aj-field > span { font-family: "Jost", sans-serif; font-size: 14px; font-weight: 600; color: var(--aj-navy); }
.aj .aj-field small { font-size: 12.5px; color: var(--aj-muted); }
.aj-field-row { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; }
.aj .aj-file input { padding: 9px; font-size: 14px; background: var(--aj-soft); border-style: dashed; cursor: pointer; }
.aj .aj-check--form { font-size: 14px; padding: 0; }
.aj .aj-check--form a { text-decoration: underline; }
.aj .aj-field.is-invalid input, .aj .aj-field.is-invalid select { border-color: #D63638; }
.aj .aj-check--form.is-invalid span { color: #D63638; }
.aj .aj-check--form.is-invalid input { outline: 2px solid #D63638; outline-offset: 2px; }
.aj-hp { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }
.aj-form__fee { margin: 0; text-align: center; font-size: 13px; color: var(--aj-muted); }
.aj-alert { display: flex; gap: 10px; align-items: flex-start; padding: 14px 16px; border-radius: 6px; margin-bottom: 16px; font-size: 15px; line-height: 1.5; }
.aj-alert[hidden] { display: none; }
.aj-alert p { margin: 0; }
.aj-alert--success { background: #EEF8EE; color: #275B2A; }
.aj-alert--success .aj-ico { width: 1.3em; height: 1.3em; margin-top: .1em; }
.aj-alert--error { background: #FCEFEF; color: #A12C2E; }
.aj .aj-form button[disabled] { opacity: .7; cursor: progress; transform: none; box-shadow: none; }

/* Similar roles */
.aj-similar { padding: 0 0 88px; background: var(--aj-soft); }
.aj-similar__head { display: flex; justify-content: space-between; align-items: baseline; margin-bottom: 20px; }
.aj .aj-similar__head h2 { font-size: 28px; font-weight: 700; }
.aj .aj-link { display: inline-flex; align-items: center; gap: 6px; font-family: "Jost", sans-serif; font-weight: 600; }
.aj .aj-link .aj-ico { transition: transform .3s var(--aj-ease); }
.aj .aj-link:hover .aj-ico { transform: translateX(4px); }

/* Homepage teaser: [altum_jobs_search] on a light background */
.aj-teaser { max-width: 640px; }
.aj .aj-search--light { box-shadow: 0 12px 34px -14px rgba(13, 27, 75, .35); border: 1px solid var(--aj-line); }
.aj .aj-search--light:focus-within { box-shadow: 0 12px 34px -14px rgba(13, 27, 75, .35), 0 0 0 3px rgba(10, 173, 235, .45); }
.aj-teaser .aj-search__field--city { flex-basis: 190px; }
.aj-teaser__locate { display: flex; flex-wrap: wrap; align-items: center; gap: 4px 14px; margin: 16px 0 0; }
.aj .aj-linkbtn {
	display: inline-flex; align-items: center; gap: 8px; background: none; border: 0; padding: 4px 0; cursor: pointer;
	font: 600 15px "Jost", sans-serif; color: var(--aj-navy); letter-spacing: .02em;
}
.aj .aj-linkbtn .aj-ico { color: var(--aj-cyan); transition: transform .4s var(--aj-ease); }
.aj .aj-linkbtn:hover, .aj .aj-linkbtn:focus { background: none; color: var(--aj-cyan); }
.aj .aj-linkbtn:hover .aj-ico { transform: rotate(90deg); }
.aj .aj-linkbtn[aria-busy="true"] .aj-ico { animation: aj-spin 1s linear infinite; }
@keyframes aj-spin { to { transform: rotate(360deg); } }
.aj-teaser__status { font-size: 14px; color: var(--aj-muted); }
.aj-teaser__roles { margin-top: 26px; }
.aj-teaser__label { font: 600 12px "Jost", sans-serif; letter-spacing: .3em; text-transform: uppercase; color: var(--aj-muted); margin: 0 0 12px; }
.aj-teaser__chips { list-style: none; padding: 0; margin: 0; display: flex; flex-wrap: wrap; gap: 10px; }
.aj .aj-teaser__chips a {
	display: inline-flex; align-items: center; gap: 8px; padding: 7px 8px 7px 16px; border-radius: 999px;
	background: #fff; border: 1px solid var(--aj-line); color: var(--aj-navy); font-size: 14px; line-height: 1.3;
	transition: transform .3s var(--aj-ease), border-color .2s, box-shadow .3s var(--aj-ease);
}
.aj .aj-teaser__chips a span { min-width: 24px; padding: 2px 7px; border-radius: 999px; background: #E8F6FD; color: #0874A0; font: 600 12px "Jost", sans-serif; text-align: center; }
.aj .aj-teaser__chips a:hover { border-color: var(--aj-cyan); transform: translateY(-2px); box-shadow: 0 8px 18px -10px rgba(5, 13, 38, .35); }

/* Tablet / mobile */
@media (max-width: 1024px) {
	.aj-job__grid { grid-template-columns: 1fr; }
	.aj-apply { position: static; }
}
@media (max-width: 900px) {
	.aj-layout { grid-template-columns: 1fr; }
	.aj .aj-filters__open { display: inline-flex; padding: 9px 16px; font-size: 15px; }
	.aj-filters {
		position: fixed; inset: 0 0 0 auto; top: 0; width: min(360px, 88vw); overflow: auto; z-index: 10000;
		border-radius: 0; transform: translateX(100%); visibility: hidden; transition: transform .3s var(--aj-ease), visibility 0s .3s;
		padding-bottom: 90px;
	}
	.aj-filters.is-open { transform: none; visibility: visible; transition: transform .3s var(--aj-ease); box-shadow: -20px 0 40px rgba(5, 13, 38, .25); }
	.aj .aj-filters__close { display: block; background: none; border: 0; color: var(--aj-navy); font-size: 30px; line-height: 1; padding: 0 4px; }
	.aj .aj-filters__apply { display: flex; position: fixed; bottom: 16px; right: 16px; width: calc(min(360px, 88vw) - 32px); }
	.aj-filters-backdrop { position: fixed; inset: 0; background: rgba(5, 13, 38, .45); z-index: 9999; }
}
@media (max-width: 767px) {
	.aj-hero { padding: 136px 0 52px; } /* header is 84px here */
	.aj-search { flex-direction: column; }
	.aj .aj-search__field--city { flex: 1; border-left: 0; border-top: 1px solid var(--aj-line); }
	.aj-teaser .aj-search__field--city { flex-basis: auto; }
	.aj-card { flex-direction: column; padding: 20px; gap: 16px; }
	.aj-card__side { flex-direction: row; align-items: center; }
	.aj .aj-card__view { display: none; }
	.aj-job__content { padding: 26px 22px; }
	.aj-details { grid-template-columns: 1fr; }
	.aj-apply__card { padding: 22px; }
	.aj-field-row { grid-template-columns: 1fr; }
}
@media (prefers-reduced-motion: reduce) {
	.aj *, .aj-card, .aj .aj-btn { transition: none !important; transform: none !important; animation: none !important; }
}
