/* Work with us, and the page for one vacancy.

   These wear the website, so the job here is to sit inside the existing shell rather than replace it.
   Every selector carries .acadame, and heading colour, size and margin carry !important, because
   site.min.css sets all three on headings with !important. */

.acadame .jb-hero {
	position: relative;
	overflow: hidden;
	padding: 58px 0 52px;
	background: var(--navy, #0F3069);
	color: #fff;
}
.acadame .jb-hero::before { content: ""; position: absolute; inset: -34% -18% auto auto; width: 70vw; height: 70vw; border-radius: 50%; background: radial-gradient(circle at 38% 42%, #1a4a9a 0, transparent 62%); opacity: .8; pointer-events: none; }
.acadame .jb-hero > .wrap { position: relative; z-index: 1; }

.acadame .jb-crumbs { margin: 0 0 16px; }
.acadame .jb-crumbs a,
.acadame .jb-crumbs span { color: rgba(255, 255, 255, .7); }
.acadame .jb-crumbs a[aria-current] { color: #fff; }

.acadame .jb-eyebrow { margin: 0 0 10px !important; max-width: none; font-size: 12px; font-weight: 700; letter-spacing: .1em; text-transform: uppercase; color: #FF6B7D; }
.acadame .jb-hero h1 { margin: 0 !important; max-width: 20ch; color: #fff !important; text-wrap: balance; }
.acadame .jb-lede { margin: 16px 0 0 !important; max-width: 62ch; font-size: 17px; line-height: 1.6; color: rgba(255, 255, 255, .86); }

.acadame .jb-state {
	display: inline-flex;
	align-items: center;
	gap: 9px;
	margin: 24px 0 0 !important;
	max-width: none;
	padding: 8px 16px;
	border-radius: 999px;
	background: rgba(255, 255, 255, .12);
	font-size: 13px;
	font-weight: 700;
	color: #fff;
}
.acadame .jb-dot { flex: 0 0 auto; width: 8px; height: 8px; border-radius: 50%; background: #45D483; box-shadow: 0 0 0 4px rgba(69, 212, 131, .2); }
.acadame .jb-state.is-shut .jb-dot { background: #9AA6B8; box-shadow: 0 0 0 4px rgba(154, 166, 184, .18); }

.acadame .jb-facts { display: flex; flex-wrap: wrap; gap: 10px 34px; margin: 22px 0 0 !important; padding: 0; }
.acadame .jb-facts div { min-width: 0; }
.acadame .jb-facts dt { margin: 0; font-size: 11.5px; font-weight: 700; letter-spacing: .08em; text-transform: uppercase; color: rgba(255, 255, 255, .55); }
.acadame .jb-facts dd { margin: 3px 0 0; font-size: 15.5px; font-weight: 600; color: #fff; }

.acadame .jb-acts { margin: 26px 0 0; }
.acadame .jb-cta {
	display: inline-flex;
	align-items: center;
	gap: 10px;
	padding: 14px 28px;
	border: 0;
	border-radius: 12px;
	background: var(--red, #E43348);
	color: #fff;
	font: inherit;
	font-size: 15.5px;
	font-weight: 700;
	text-decoration: none;
	cursor: pointer;
	box-shadow: 0 12px 28px rgba(228, 51, 72, .3);
	transition: transform .15s ease, background .15s ease;
}
.acadame .jb-cta::after { content: ""; flex: 0 0 auto; width: 8px; height: 8px; border-right: 2px solid currentColor; border-bottom: 2px solid currentColor; transform: rotate(-45deg); }
.acadame .jb-cta:hover { background: #c92a3d; color: #fff; transform: translateY(-2px); }
.acadame .jb-cta:disabled { opacity: .55; cursor: default; transform: none; }

/* The one thing an applicant has to have. */
.acadame .jb-band { background: #FDEAED; border-bottom: 1px solid #F6D2D8; }
.acadame .jb-mand { margin: 0 !important; max-width: none; padding: 14px 0; font-size: 14.5px; line-height: 1.55; color: #8d0b21; }
.acadame .jb-mand strong { color: #8d0b21; }

/* The list of roles. */
.acadame .jb-list { padding: 56px 0 8px; }
.acadame .jb-list h2 { margin: 0 0 20px !important; max-width: none; font-size: 22px !important; color: var(--ink, #113575) !important; }
.acadame .jb-none { margin: 0 !important; max-width: 68ch; font-size: 15.5px; line-height: 1.65; color: #4b5565; }
.acadame .jb-roles { display: grid; grid-template-columns: repeat(auto-fit, minmax(300px, 1fr)); gap: 16px; }
.acadame .jb-roles a.jb-role {
	display: flex;
	flex-direction: column;
	gap: 8px;
	padding: 22px 22px 20px;
	border: 1px solid #e2e7ef;
	border-radius: 16px;
	background: #fff;
	color: var(--ink, #113575);
	text-decoration: none;
	box-shadow: 0 8px 24px rgba(15, 48, 105, .07);
	transition: transform .16s ease, box-shadow .16s ease, border-color .16s ease;
}
.acadame .jb-roles a.jb-role:hover { transform: translateY(-3px); box-shadow: 0 18px 40px rgba(15, 48, 105, .14); border-color: #cfd8e6; color: var(--ink, #113575); }
.acadame .jb-role-top { display: flex; align-items: flex-start; justify-content: space-between; gap: 12px; }
.acadame .jb-role-top strong { font-size: 17.5px; font-weight: 700; line-height: 1.3; }
.acadame .jb-chip { flex: 0 0 auto; padding: 4px 10px; border-radius: 999px; background: #E6F6EC; font-size: 11px; font-weight: 700; letter-spacing: .02em; color: #10743a; white-space: nowrap; }
.acadame .jb-role.is-shut .jb-chip { background: #EEF1F6; color: #6b7a94; }
.acadame .jb-role.is-shut strong { color: #6b7a94; }
.acadame .jb-role-txt { font-size: 14.5px; line-height: 1.55; color: #4b5565; }
.acadame .jb-role-meta { font-size: 12.5px; line-height: 1.5; color: #8a93a3; }
.acadame .jb-go { margin-top: auto; padding-top: 6px; display: inline-flex; align-items: center; gap: 7px; font-size: 13px; font-weight: 700; color: var(--red, #E43348); }
.acadame .jb-go::after { content: ""; width: 7px; height: 7px; border-right: 2px solid currentColor; border-bottom: 2px solid currentColor; transform: rotate(-45deg); transition: transform .15s ease; }
.acadame .jb-role:hover .jb-go::after { transform: rotate(-45deg) translate(2px, 2px); }
.acadame .jb-role.is-shut .jb-go { color: #6b7a94; }

/* The role written out. */
.acadame .jb-body { padding: 52px 0 8px; }
.acadame .jb-sec { max-width: 68ch; margin: 0 0 34px; }
.acadame .jb-sec:last-child { margin-bottom: 0; }
.acadame .jb-sec h2 { margin: 0 0 12px !important; max-width: none; font-size: 21px !important; line-height: 1.3 !important; color: var(--ink, #113575) !important; }
.acadame .jb-sec p { margin: 0 0 12px !important; max-width: none; font-size: 15.5px; line-height: 1.7; color: #3f4855; }
.acadame .jb-sec p:last-child { margin-bottom: 0 !important; }
.acadame .jb-ul { margin: 0 0 12px !important; padding-left: 22px; }
.acadame .jb-ul li { margin: 0 0 7px; font-size: 15.5px; line-height: 1.6; color: #3f4855; }
.acadame .jb-sec .jb-note { margin-top: 14px !important; padding: 12px 16px; border-left: 3px solid var(--blue, #3280FA); background: #F3F7FF; font-size: 14.5px; color: #33507d; }

/* How we work. */
.acadame .jb-points { padding: 46px 0 8px; }
.acadame .jb-points h2 { margin: 0 0 20px !important; max-width: none; font-size: 22px !important; color: var(--ink, #113575) !important; }
.acadame .jb-cards { display: grid; grid-template-columns: repeat(auto-fit, minmax(250px, 1fr)); gap: 16px; }
.acadame .jb-card { padding: 20px 22px 22px; border-radius: 14px; border: 1px solid #e2e7ef; background: #fff; }
.acadame .jb-card h3 { margin: 0 0 8px !important; max-width: none; font-size: 15.5px !important; line-height: 1.3 !important; color: var(--ink, #113575) !important; }
.acadame .jb-card p { margin: 0 0 8px !important; max-width: none; font-size: 14.5px; line-height: 1.6; color: #4b5565; }
.acadame .jb-card p:last-child { margin-bottom: 0 !important; }

/* Applying. */
.acadame .jb-apply { padding: 52px 0 66px; }
.acadame .jb-apply-in { max-width: 760px; padding: 32px 32px 28px; border-radius: 20px; border: 1px solid #e2e7ef; background: #fff; box-shadow: 0 14px 40px rgba(15, 48, 105, .09); }
.acadame .jb-apply-in h2 { margin: 0 0 10px !important; max-width: none; font-size: 22px !important; line-height: 1.25 !important; color: var(--ink, #113575) !important; }
.acadame .jb-apply-in > p { margin: 0 0 20px !important; max-width: none; font-size: 15px; line-height: 1.65; color: #4b5565; }
.acadame .jb-back a { font-weight: 700; color: var(--red, #E43348); }
.acadame .jb-form { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 14px 18px; }
.acadame .jb-f { display: flex; flex-direction: column; gap: 6px; min-width: 0; }
.acadame .jb-f.jb-wide { grid-column: 1 / -1; }
.acadame .jb-f label { display: block; max-width: none; font-size: 12.5px; font-weight: 600; color: #1d2327; }
.acadame .jb-f label span { font-weight: 500; color: #8a93a3; }
.acadame .jb-f input,
.acadame .jb-f textarea { width: 100%; max-width: none; font: inherit; font-size: 15px; padding: 11px 13px; border: 1px solid #cfd4dc; border-radius: 10px; background: #fff; color: #1d2327; }
.acadame .jb-f textarea { resize: vertical; line-height: 1.55; }
.acadame .jb-f input:focus,
.acadame .jb-f textarea:focus { outline: 0; border-color: var(--blue, #3280FA); box-shadow: 0 0 0 3px rgba(50, 128, 250, .18); }
.acadame .jb-f input:disabled,
.acadame .jb-f textarea:disabled { background: #f4f6f9; color: #8a93a3; }
.acadame .jb-f[aria-hidden="true"] { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }
.acadame .jb-acts2 { flex-direction: row; align-items: center; gap: 16px; flex-wrap: wrap; margin-top: 4px; }
.acadame .jb-msg { margin: 0 !important; max-width: 42ch; font-size: 13.5px; line-height: 1.45; color: #4b5565; }
.acadame .jb-msg.is-good { color: #1b8a44; font-weight: 600; }
.acadame .jb-msg.is-bad { color: #b3132a; font-weight: 600; }
.acadame .jb-small { margin: 18px 0 0 !important; max-width: none; font-size: 12.5px; line-height: 1.6; color: #8a93a3; }
.acadame .jb-small a { color: #4b5565; text-decoration: underline; }

@media (max-width: 720px) {
	.acadame .jb-hero { padding: 40px 0 40px; }
	.acadame .jb-facts { gap: 12px 24px; }
	.acadame .jb-form { grid-template-columns: 1fr; }
	.acadame .jb-apply-in { padding: 24px 20px 22px; }
}
