/* Careers (lind-site inc/pages/careers.php, Lucas 2026-11-05): the Careers page (slug careers: loaded by the page kit),
   the job pages (/careers/<job>/, templates/job.php) and the CV upload box. Raleway headings, Lato text, Lind Blue,
   Lind cut corners; text at most 640px wide (D-75). Motion: sections and cards fade up once as they scroll into view
   (careers.js adds .lind-anim only when the visitor has not asked for reduced motion). */

.lind-job,
.lind-jobs,
.lind-cv {
	--lc-blue: var(--e-global-color-primary, #118cc9);
	--lc-blue-dark: #0d6fa1;
	--lc-ink: #1f1f1f;
	--lc-text: #555;
	--lc-muted: #6b6b6b;
	--lc-line: #e3e3e3;
	--lc-card: #f5f5f5;
	--lc-soft: #e8f4fa;
	--lc-measure: 40rem;
}
.lind-cv [hidden],
.lind-job [hidden],
.lind-jobs [hidden] { display: none !important; }

/* ---------- Reveal on scroll (only with .lind-anim on <html>, set by careers.js) ---------- */
.lind-anim .lind-reveal { opacity: 0; transform: translateY(24px); transition: opacity .6s ease, transform .6s ease; transition-delay: calc(var(--lind-i, 0) * 120ms); }
.lind-anim .lind-reveal.is-in { opacity: 1; transform: none; }
@media (prefers-reduced-motion: reduce) {
	.lind-anim .lind-reveal { opacity: 1; transform: none; transition: none; }
}

/* ---------- Buttons ---------- */
.lind-job__btn,
.lind-cv .lind-cv__open,
.lind-cv .lind-cv__send {
	display: inline-flex;
	align-items: center;
	gap: 10px;
	padding: 17px 30px;
	border: 0;
	border-radius: 2px;
	background: var(--lc-blue);
	font: 700 15px/1 "Raleway", sans-serif;
	letter-spacing: .02em;
	text-transform: uppercase;
	color: #fff !important;
	text-decoration: none;
	cursor: pointer;
	transition: background-color .2s ease;
}
.lind-job__btn i,
.lind-cv .lind-cv__open i,
.lind-cv .lind-cv__send i { font-size: 18px; line-height: 1; transition: transform .2s ease; }
.lind-job__btn:hover,
.lind-cv .lind-cv__open:hover,
.lind-cv .lind-cv__send:hover { background: var(--lc-blue-dark); color: #fff; }
.lind-job__btn:hover i,
.lind-cv .lind-cv__open:hover i { transform: translateX(3px); }
.lind-job__btn[href="#apply"]:hover i { transform: translateY(3px); }
.lind-cv .lind-cv__send:disabled { opacity: .6; cursor: wait; }
.lind-job__btn:focus-visible,
.lind-cv button:focus-visible,
.lind-job a:focus-visible,
.lind-jobs a:focus-visible { outline: 2px solid var(--lc-blue); outline-offset: 3px; }

/* ================================================================ Job page ================================================================ */
/* Same content width and 10px sides as the Elementor pages and the header (kit content width 1362px). */
.lind-job-wrap { box-sizing: border-box; width: 100%; max-width: 1382px; margin: 0 auto; padding: 0 10px; }
.lind-job { padding: 50px 0 130px; font-family: "Lato", sans-serif; color: var(--lc-text); }

.lind-job__crumbs { display: flex; flex-wrap: wrap; align-items: center; gap: 4px 6px; margin: 0 0 44px; font-size: 15px; color: var(--lc-muted); }
.lind-job__crumbs a { color: var(--lc-muted); text-decoration: none; }
.lind-job__crumbs a:hover { color: var(--lc-blue); }
.lind-job__crumbs i { font-size: 16px; line-height: 1; color: #a5a5a5; }
.lind-job__crumbs span { color: var(--lc-ink); }

.lind-job__head { display: flex; flex-wrap: wrap; align-items: flex-end; justify-content: space-between; gap: 24px 48px; margin: 0 0 40px; }
.lind-job__head-text { max-width: 820px; }
.lind-job__eyebrow {
	display: block;
	font: 500 16px/1.3 "Raleway", sans-serif;
	letter-spacing: .02em;
	text-transform: uppercase;
	color: var(--lc-blue);
}
.lind-job .lind-job__title {
	margin: 12px 0 0 !important;
	font: 700 clamp(32px, 4vw, 52px)/1.15 "Raleway", sans-serif;
	color: var(--lc-ink);
	overflow-wrap: anywhere;
}
.lind-job__head-actions { display: flex; flex-wrap: wrap; align-items: center; gap: 14px 26px; }
.lind-job__back { display: inline-flex; align-items: center; gap: 6px; font: 700 14px/1 "Raleway", sans-serif; text-transform: uppercase; letter-spacing: .02em; color: var(--lc-muted) !important; text-decoration: none; }
.lind-job__back:hover { color: var(--lc-blue) !important; }
.lind-job__badge { display: inline-flex; align-items: center; gap: 8px; padding: 12px 18px; background: #efefef; font: 700 14px/1 "Raleway", sans-serif; text-transform: uppercase; color: var(--lc-ink); }

/* Key facts strip: grey card with the Lind cut corner; each fact = blue cut-corner icon, small label, value. */
.lind-job__facts {
	--lind-cut: 40px;
	display: grid;
	grid-template-columns: repeat(4, minmax(0, 1fr));
	gap: 28px 32px;
	margin: 0;
	padding: 36px 40px;
	background: var(--lc-card);
	clip-path: polygon(0 0, calc(100% - var(--lind-cut)) 0, 100% var(--lind-cut), 100% 100%, 0 100%);
}
/* Each group is <div><dt><i></i>Label</dt><dd>Value</dd></div> (only dt and dd inside the div: valid HTML); the icon
   sits in the dt and is placed to the left of both lines. */
.lind-job__fact { position: relative; min-height: 44px; margin: 0; padding-left: 58px; }
.lind-job__fact dt > i {
	position: absolute;
	top: 0;
	left: 0;
	display: grid;
	place-items: center;
	width: 44px;
	height: 44px;
	letter-spacing: 0;
	text-transform: none;
	font-weight: 400; /* the dt is bold: no synthetic bold on the icon font */
	background: var(--lc-blue);
	clip-path: polygon(0 0, calc(100% - 12px) 0, 100% 12px, 100% 100%, 0 100%);
	font-size: 21px;
	line-height: 1;
	color: #fff;
}
.lind-job__fact dt { margin: 1px 0 4px; font: 700 12px/1.3 "Raleway", sans-serif; letter-spacing: .05em; text-transform: uppercase; color: var(--lc-muted); }
.lind-job__fact dd { margin: 0; font: 700 17px/1.4 "Raleway", sans-serif; color: var(--lc-ink); overflow-wrap: anywhere; }
.lind-job__vacancy { margin: 14px 0 0; font-size: 14px; color: var(--lc-muted); }

/* Sections: title left, text right (D-75 layout A), the text at most 640px. */
.lind-job__body { margin-top: 90px; }
.lind-job__section {
	display: grid;
	grid-template-columns: minmax(0, 4fr) minmax(0, 8fr);
	gap: 20px 64px;
	padding: 44px 0;
	border-top: 1px solid var(--lc-line);
}
.lind-job__section:first-child { padding-top: 0; border-top: 0; }
.lind-job .lind-job__h2 { margin: 0 !important; font: 700 26px/1.25 "Raleway", sans-serif; color: var(--lc-ink); }
.lind-job__text,
.lind-job__list { max-width: var(--lc-measure); }
.lind-job__text p { margin: 0 0 16px; font-size: 18px; line-height: 1.75; color: var(--lc-text); }
.lind-job__text p:last-child { margin-bottom: 0; }
.lind-job__list { display: grid; gap: 14px; margin: 0; padding: 0; list-style: none; }
.lind-job__list li { display: grid; grid-template-columns: 26px minmax(0, 1fr); gap: 10px; margin: 0; font-size: 18px; line-height: 1.6; color: var(--lc-text); }
.lind-job__list li i { font-size: 22px; line-height: 1.3; color: var(--lc-blue); }
.lind-job__list--tiles { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 12px; }
.lind-job__list--tiles li { align-items: start; padding: 18px 18px 18px 16px; background: var(--lc-soft); font-size: 16px; line-height: 1.5; color: var(--lc-ink); }
.lind-job__list--tiles li i { font-size: 20px; line-height: 1.2; }

/* Apply box: grey cut-corner card, title and text left, the CV upload right. */
.lind-job__apply {
	--lind-cut: 56px;
	scroll-margin-top: 110px;
	display: grid;
	grid-template-columns: minmax(0, 5fr) minmax(0, 6fr);
	gap: 32px 64px;
	align-items: center;
	margin-top: 90px;
	padding: 56px;
	background: var(--lc-card);
	clip-path: polygon(0 0, calc(100% - var(--lind-cut)) 0, 100% var(--lind-cut), 100% 100%, 0 100%);
}
.lind-job .lind-job__apply-title { margin: 12px 0 16px !important; font: 700 clamp(28px, 3vw, 36px)/1.2 "Raleway", sans-serif; color: var(--lc-ink); }
.lind-job__apply-title span { color: var(--lc-blue); }
.lind-job__apply-text p { margin: 0; font-size: 18px; line-height: 1.7; }
.lind-job.is-closed .lind-job__apply-form { justify-self: end; }

@media (max-width: 1199px) {
	.lind-job__facts { grid-template-columns: repeat(3, minmax(0, 1fr)); }
}
@media (max-width: 1024px) {
	.lind-job { padding: 36px 0 90px; }
	.lind-job__facts { grid-template-columns: repeat(2, minmax(0, 1fr)); padding: 30px; }
	.lind-job__body { margin-top: 64px; }
	.lind-job__section { grid-template-columns: minmax(0, 1fr); padding: 36px 0; }
	.lind-job__apply { grid-template-columns: minmax(0, 1fr); margin-top: 64px; padding: 44px 36px; }
	.lind-job.is-closed .lind-job__apply-form { justify-self: start; }
}
@media (max-width: 767px) {
	.lind-job { padding: 28px 0 70px; }
	.lind-job__crumbs { margin-bottom: 28px; font-size: 14px; }
	.lind-job__head { margin-bottom: 28px; }
	.lind-job__facts { --lind-cut: 28px; grid-template-columns: repeat(auto-fill, minmax(200px, 1fr)); gap: 20px; padding: 26px 22px; }
	.lind-job__body { margin-top: 50px; }
	.lind-job .lind-job__h2 { font-size: 22px; }
	.lind-job__text p, .lind-job__list li { font-size: 17px; }
	.lind-job__list--tiles { grid-template-columns: minmax(0, 1fr); }
	.lind-job__apply { --lind-cut: 36px; margin-top: 50px; padding: 36px 20px; }
	.lind-job__btn { padding: 16px 24px; }
}

/* ================================================================ CV upload (job page and general application) ================================================================ */
.lind-cv { font-family: "Lato", sans-serif; color: var(--lc-text); }
.lind-cv__form { margin: 0; }
.lind-cv.is-js .lind-cv__form.is-opening { animation: lind-cv-open .35s ease both; }
@keyframes lind-cv-open { from { opacity: 0; transform: translateY(10px); } to { opacity: 1; transform: none; } }
@media (prefers-reduced-motion: reduce) { .lind-cv.is-js .lind-cv__form.is-opening { animation: none; } }
/* Without JavaScript the form shows at once, so the "Apply for this position" button is not needed. */
.lind-cv:not(.is-js) .lind-cv__open { display: none; }

.lind-cv__drop {
	position: relative;
	display: flex;
	align-items: center;
	gap: 18px;
	margin: 0;
	padding: 26px 24px;
	border: 2px dashed #bdbdbd;
	background: #fff;
	cursor: pointer;
	transition: border-color .2s ease, background-color .2s ease;
}
.lind-cv__drop:hover,
.lind-cv__drop.is-over,
.lind-cv__drop:focus-within { border-color: var(--lc-blue); background: #fbfdfe; }
.lind-cv__drop input[type="file"] { position: absolute; inset: 0; width: 100%; height: 100%; margin: 0; opacity: 0; cursor: pointer; }
.lind-cv__drop > i { flex: none; font-size: 38px; line-height: 1; color: var(--lc-blue); }
.lind-cv__drop-text { display: flex; flex-direction: column; gap: 4px; font-size: 15px; line-height: 1.45; color: var(--lc-muted); }
.lind-cv__drop-text strong { font: 700 17px/1.3 "Raleway", sans-serif; color: var(--lc-ink); }
.lind-cv__file { display: flex; align-items: center; gap: 8px; margin: 12px 0 0; font-size: 15px; color: var(--lc-ink); }
.lind-cv__file i { font-size: 18px; color: var(--lc-blue); }
.lind-cv__file span { color: var(--lc-muted); }
.lind-cv__error { margin: 12px 0 0; padding: 12px 16px; border-left: 4px solid #c62828; background: #fdecea; font-size: 15px; line-height: 1.5; color: #8e1c1c; }
.lind-cv__privacy { display: flex; gap: 8px; margin: 14px 0 22px; font-size: 14px; line-height: 1.5; color: var(--lc-muted); }
.lind-cv__privacy i { font-size: 16px; line-height: 1.3; color: var(--lc-blue); }
.lind-cv__hp { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }
.lind-cv__done { display: grid; grid-template-columns: 48px minmax(0, 1fr); gap: 16px; align-items: start; padding: 24px; background: #fff; border-left: 4px solid var(--lc-blue); }
.lind-cv__done > i { font-size: 40px; line-height: 1; color: var(--lc-blue); }
.lind-cv .lind-cv__done-title { margin: 2px 0 6px !important; font: 700 22px/1.3 "Raleway", sans-serif; color: var(--lc-ink); }
.lind-cv__done p { margin: 0; font-size: 17px; line-height: 1.6; }
.lind-cv__done:focus { outline: none; }
@media (max-width: 767px) {
	.lind-cv__drop { padding: 20px 16px; gap: 14px; }
	.lind-cv__drop > i { font-size: 32px; }
}

/* ================================================================ Careers page: [lind_jobs] cards ================================================================ */
.lind-jobs__list { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 24px; margin: 0; padding: 0; list-style: none; }
.lind-jobs__card { margin: 0; }
.lind-jobs__link {
	--lind-cut: 40px;
	display: flex;
	flex-direction: column;
	height: 100%;
	padding: 34px 36px 30px;
	background: var(--lc-card);
	clip-path: polygon(0 0, calc(100% - var(--lind-cut)) 0, 100% var(--lind-cut), 100% 100%, 0 100%);
	color: var(--lc-text) !important;
	text-decoration: none;
	transition: background-color .25s ease, box-shadow .25s ease;
	box-shadow: inset 0 -3px 0 transparent;
}
.lind-jobs__link:hover { background: var(--lc-soft); box-shadow: inset 0 -3px 0 var(--lc-blue); }
.lind-jobs__dept { display: block; margin-bottom: 8px; font: 500 14px/1.3 "Raleway", sans-serif; letter-spacing: .03em; text-transform: uppercase; color: var(--lc-blue); }
.lind-jobs .lind-jobs__title { margin: 0 0 18px; font: 700 24px/1.3 "Raleway", sans-serif; color: var(--lc-ink); }
.lind-jobs__meta { display: flex; flex-wrap: wrap; gap: 10px 22px; margin: 0 0 26px; padding: 0; list-style: none; }
.lind-jobs__meta li { display: inline-flex; align-items: center; gap: 7px; margin: 0; font-size: 16px; line-height: 1.4; color: var(--lc-text); }
.lind-jobs__meta i { font-size: 18px; line-height: 1; color: var(--lc-blue); }
/* Footer line: both children on the same 24px line box, so cards with and without "Apply by" line up in a row. */
.lind-jobs__foot { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 10px 20px; box-sizing: border-box; min-height: 43px; margin-top: auto; padding-top: 18px; border-top: 1px solid #dcdcdc; }
.lind-jobs__cta,
.lind-jobs__deadline { display: inline-flex; align-items: center; height: 24px; }
.lind-jobs__cta { gap: 8px; font: 700 15px/24px "Raleway", sans-serif; letter-spacing: .02em; text-transform: uppercase; color: var(--lc-blue); }
.lind-jobs__cta i { font-size: 18px; line-height: 24px; transition: transform .2s ease; }
.lind-jobs__link:hover .lind-jobs__cta i { transform: translateX(4px); }
.lind-jobs__deadline { font-size: 14px; line-height: 24px; color: var(--lc-muted); }

.lind-jobs__empty {
	--lind-cut: 40px;
	display: grid;
	grid-template-columns: 56px minmax(0, 1fr);
	gap: 20px;
	align-items: center;
	padding: 34px 36px;
	background: var(--lc-card);
	clip-path: polygon(0 0, calc(100% - var(--lind-cut)) 0, 100% var(--lind-cut), 100% 100%, 0 100%);
}
.lind-jobs__empty > i {
	display: grid;
	place-items: center;
	width: 56px;
	height: 56px;
	background: var(--lc-blue);
	clip-path: polygon(0 0, calc(100% - 14px) 0, 100% 14px, 100% 100%, 0 100%);
	font-size: 26px;
	line-height: 1;
	color: #fff;
}
.lind-jobs__empty p { margin: 0; font-size: 17px; line-height: 1.6; color: var(--lc-text); }
.lind-jobs__empty .lind-jobs__empty-title { margin: 0 0 4px; font: 700 22px/1.3 "Raleway", sans-serif; color: var(--lc-ink); }

@media (max-width: 1024px) {
	.lind-jobs__list { grid-template-columns: minmax(0, 1fr); }
}
@media (max-width: 767px) {
	.lind-jobs__link, .lind-jobs__empty { --lind-cut: 28px; padding: 28px 22px 24px; }
	.lind-jobs__empty { grid-template-columns: minmax(0, 1fr); gap: 16px; }
	.lind-jobs .lind-jobs__title { font-size: 21px; }
}

/* Careers page, first screen (H1 block, ticks, button: class lind-careers-in): a CSS fade-up on load instead of an
   Elementor entrance animation, so the text never waits for a script (no JavaScript, or a script that fails, still
   shows it) and the first paint is not held back. Only when the visitor has not asked for reduced motion. */
@media (prefers-reduced-motion: no-preference) {
	.lind-careers-in { animation: lind-careers-in .75s cubic-bezier(.22, .61, .36, 1) both; }
	.lind-careers-in--2 { animation-delay: .15s; }
	.lind-careers-in--3 { animation-delay: .3s; }
}
@keyframes lind-careers-in { from { opacity: 0; transform: translateY(30px); } to { opacity: 1; transform: none; } }

/* Careers page: the general application box sits in an Elementor column (class lind-careers-general on the container). */
.lind-careers-general .lind-cv { margin-top: 8px; }
/* In-page anchors (#openings, #general) land below the sticky header. */
#openings, #general { scroll-margin-top: 100px; }
