/* ==========================================================================
   abcBIM — Post a job (templates/template-post-job.php). The form card is the
   Career Training enquiry card (training.css); fields are .contact-form* (base.css).
   ========================================================================== */

.post-job {
	padding-top: clamp(40px, 6vw, 80px);
	padding-bottom: clamp(64px, 8vw, 112px);
}

.post-job__hero {
	max-width: 760px;
}

.post-job__title {
	margin: 22px 0 0;
	font-family: var(--f-serif);
	font-weight: 400;
	font-size: clamp(42px, 5.4vw, 76px);
	line-height: 1;
	letter-spacing: -0.025em;
}

.post-job__intro {
	margin: 18px 0 0;
}

.post-job__layout {
	margin-top: clamp(40px, 5vw, 64px);
	display: flex;
	flex-wrap: wrap;
	align-items: flex-start;
	gap: clamp(36px, 5vw, 72px);
}

.post-job__info {
	flex: 1 1 340px;
	min-width: 0;
	max-width: 460px;
}

.post-job__form {
	flex: 1.4 1 520px;
	min-width: 0;
	scroll-margin-top: calc(var(--header-h) + 24px);
}

.post-job__block + .post-job__block {
	margin-top: 36px;
}

.post-job__h2 {
	margin: 0;
	padding-top: 18px;
	border-top: 1px solid var(--c-ink);
	font-family: var(--f-serif);
	font-weight: 400;
	font-size: 26px;
	line-height: 1.15;
}

.post-job__list,
.post-job__steps {
	margin: 16px 0 0;
	padding: 0;
	list-style: none;
	display: flex;
	flex-direction: column;
	gap: 12px;
	font-size: 16px;
	line-height: 1.55;
	color: var(--c-graphite);
}

.post-job__list li {
	position: relative;
	padding-left: 20px;
}

.post-job__list li::before {
	content: "";
	position: absolute;
	left: 0;
	top: 0.7em;
	width: 8px;
	height: 1px;
	background: var(--c-ink);
}

.post-job__steps {
	counter-reset: step;
}

.post-job__steps li {
	counter-increment: step;
	display: grid;
	grid-template-columns: 32px minmax(0, 1fr);
	gap: 8px;
}

.post-job__steps li::before {
	content: counter(step, decimal-leading-zero);
	font-family: var(--f-mono);
	font-size: 12px;
	padding-top: 4px;
	color: var(--c-muted);
}

.post-job__contact {
	margin: 32px 0 0;
	font-size: 15px;
	color: var(--c-slate);
}

.post-job__contact a {
	font-weight: 600;
	color: var(--c-green);
	text-decoration: underline;
	text-underline-offset: 3px;
}

.post-job__form-title {
	margin: 0 0 22px;
	font-family: var(--f-serif);
	font-weight: 400;
	font-size: clamp(26px, 2.4vw, 32px);
	line-height: 1.15;
}

.post-job__group {
	margin: 0;
	padding: 0;
	border: 0;
	min-width: 0;
	display: flex;
	flex-direction: column;
	gap: 22px;
}

.post-job__group + .post-job__group {
	margin-top: 8px;
	padding-top: 22px;
	border-top: 1px solid var(--c-rule);
}

.post-job__legend {
	padding: 0;
	margin-bottom: 14px;
	font-family: var(--f-mono);
	font-size: 11.5px;
	letter-spacing: 0.08em;
	text-transform: uppercase;
	color: var(--c-muted);
}

.contact-form__optional {
	font-weight: 400;
	color: var(--c-muted);
}

.contact-form__select {
	appearance: auto;
}

.post-job__consent {
	display: grid;
	grid-template-columns: 20px minmax(0, 1fr);
	gap: 10px;
	align-items: start;
	font-size: 14.5px;
	line-height: 1.5;
	color: var(--c-graphite);
	cursor: pointer;
}

.post-job__consent input {
	width: 18px;
	height: 18px;
	margin-top: 2px;
	accent-color: var(--c-green);
}

/* Keep the legend inside the group (not on its top rule). */
.post-job__legend {
	float: left;
	width: 100%;
}

.post-job__legend + * {
	clear: both;
}
