:root {
	--spod-forest: #294734;
	--spod-forest-deep: #1c3425;
	--spod-sage: #c8d8c9;
	--spod-sage-pale: #eef3ed;
	--spod-paper: #fbfaf7;
	--spod-ink: #253129;
	--spod-muted: #667069;
	--spod-line: #d9ded8;
	--spod-error: #9b332d;
}

.wp-site-blocks {
	overflow-x: clip;
}

.wp-site-blocks > .wp-block-cover.alignfull {
	display: none !important;
}

.spod-recruitment-hero {
	position: relative;
	left: 50%;
	display: flex;
	align-items: center;
	justify-content: center;
	width: 100vw !important;
	max-width: none !important;
	height: 380px;
	margin-top: -2rem !important;
	margin-bottom: 2rem !important;
	overflow: hidden;
	transform: translateX(-50%);
	background-color: #2d4a35;
	background-position: center;
	background-size: cover;
	background-repeat: no-repeat;
}

.spod-recruitment-hero__overlay {
	position: absolute;
	z-index: 1;
	inset: 0;
	background: rgba(0, 0, 0, 0.45);
}

.spod-recruitment-hero__content {
	position: relative;
	z-index: 2;
	text-align: center;
}

.spod-recruitment-hero__title {
	position: relative;
	z-index: 2;
	margin: 0;
	color: #fff !important;
	font-family: 'Source Serif 4', 'Source Serif Pro', Georgia, serif;
	font-size: 56px;
	font-weight: 600;
	line-height: 1.2;
	text-shadow: 0 2px 8px rgba(0, 0, 0, 0.3);
}

.spod-recruitment-hero__subtitle {
	position: relative;
	z-index: 2;
	margin-top: 0.5rem;
	color: rgba(255, 255, 255, 0.85) !important;
	font-family: 'Source Serif 4', 'Source Serif Pro', Georgia, serif;
	font-size: 21px;
	line-height: 1.4;
	text-shadow: 0 1px 4px rgba(0, 0, 0, 0.2);
}

.spod-application {
	max-width: 1120px;
	margin: 0 auto;
	padding: clamp(2.25rem, 5vw, 5rem) clamp(1.1rem, 4vw, 3rem);
	color: var(--spod-ink);
	background: var(--spod-paper);
}

.spod-application *,
.spod-application *::before,
.spod-application *::after {
	box-sizing: border-box;
}

.spod-application__intro {
	max-width: 820px;
	margin-bottom: clamp(2.25rem, 5vw, 4.5rem);
}

.spod-application__eyebrow,
.spod-form-step__header > p {
	margin: 0 0 0.65rem;
	color: var(--spod-forest);
	font-family: inherit;
	font-size: 0.78rem;
	font-weight: 700;
	letter-spacing: 0.12em;
	text-transform: uppercase;
}

.spod-application__intro h2 {
	max-width: 780px;
	margin: 0 0 1.1rem;
	color: var(--spod-forest-deep);
	font-size: clamp(2rem, 5vw, 3.6rem);
	line-height: 1.06;
	text-wrap: balance;
}

.spod-application__lead {
	max-width: 700px;
	margin: 0;
	font-size: clamp(1.05rem, 1.8vw, 1.2rem);
	line-height: 1.65;
}

.spod-application__layout {
	display: grid;
	grid-template-columns: minmax(190px, 250px) minmax(0, 1fr);
	gap: clamp(2.5rem, 7vw, 6rem);
	align-items: start;
}

.spod-application__rail {
	position: sticky;
	top: 2rem;
}

.spod-progress__label {
	margin: 0 0 1rem;
	color: var(--spod-muted);
	font-size: 0.78rem;
	font-weight: 700;
	letter-spacing: 0.08em;
	text-transform: uppercase;
}

.spod-progress {
	position: relative;
	margin: 0;
	padding: 0;
	list-style: none;
}

.spod-progress::before {
	position: absolute;
	top: 1.1rem;
	bottom: 1.1rem;
	left: 1rem;
	width: 1px;
	background: var(--spod-line);
	content: '';
}

.spod-progress li {
	position: relative;
	display: grid;
	grid-template-columns: 2rem minmax(0, 1fr);
	gap: 0.8rem;
	align-items: center;
	min-height: 4.25rem;
	color: #89908b;
}

.spod-progress li span {
	position: relative;
	z-index: 1;
	display: grid;
	width: 2rem;
	height: 2rem;
	place-items: center;
	border: 1px solid var(--spod-line);
	border-radius: 50%;
	background: var(--spod-paper);
	font-size: 0.7rem;
	font-weight: 700;
}

.spod-progress li strong {
	font-size: 0.9rem;
	font-weight: 600;
	line-height: 1.35;
}

.spod-progress li.is-current,
.spod-progress li.is-complete {
	color: var(--spod-forest-deep);
}

.spod-progress li.is-current span {
	border-color: var(--spod-forest);
	background: var(--spod-forest);
	color: #fff;
}

.spod-progress li.is-complete span {
	border-color: var(--spod-sage);
	background: var(--spod-sage);
}

.spod-draft-status {
	margin-top: 1.5rem;
	padding-top: 1rem;
	border-top: 1px solid var(--spod-line);
	color: var(--spod-muted);
	font-size: 0.82rem;
	line-height: 1.5;
}

.spod-draft-delete {
	margin: 0.65rem 0 0;
	padding: 0;
	border: 0;
	border-bottom: 1px solid currentColor;
	background: transparent;
	color: var(--spod-muted);
	font: inherit;
	font-size: 0.82rem;
	cursor: pointer;
}

.spod-draft-delete[hidden] {
	display: none !important;
}

.spod-draft-restore,
.spod-submit-status {
	margin: 0 0 1.5rem;
	padding: 1.1rem 1.25rem;
	border: 1px solid var(--spod-sage);
	background: var(--spod-sage-pale);
}

.spod-draft-restore {
	display: flex;
	gap: 1.5rem;
	align-items: stretch;
	flex-direction: column;
}

.spod-draft-restore[hidden],
.spod-submit-status[hidden] {
	display: none;
}

.spod-draft-restore p {
	margin: 0.3rem 0 0;
	color: var(--spod-muted);
	font-size: 0.9rem;
}

.spod-draft-restore__actions {
	display: flex;
	flex: 0 0 auto;
	gap: 0.6rem;
}

.spod-draft-restore button {
	padding: 0.65rem 0.85rem;
	border: 1px solid var(--spod-forest);
	background: var(--spod-forest);
	color: #fff;
	font: inherit;
	font-size: 0.86rem;
	font-weight: 700;
	cursor: pointer;
}

.spod-draft-restore button.is-quiet {
	background: transparent;
	color: var(--spod-forest);
}

.spod-submit-status {
	font-weight: 600;
	line-height: 1.5;
}

.spod-submit-status.is-error {
	border-color: #d9aaa5;
	background: #fbefed;
	color: var(--spod-error);
}

.spod-form-step__header {
	margin-bottom: 2rem;
	padding-bottom: 1.5rem;
	border-bottom: 1px solid var(--spod-line);
}

.spod-form-step__header h3 {
	margin: 0 0 0.75rem;
	color: var(--spod-forest-deep);
	font-size: clamp(1.8rem, 4vw, 2.65rem);
	line-height: 1.12;
}

.spod-form-step__header div {
	max-width: 660px;
	color: var(--spod-muted);
	font-size: 1rem;
	line-height: 1.6;
}

.spod-application .wpforms-container {
	margin: 0;
}

.spod-application .wpforms-field {
	margin: 0 0 1.45rem;
	padding: 0;
}

.spod-application .wpforms-field-label {
	margin-bottom: 0.5rem;
	color: var(--spod-ink);
	font-size: 0.95rem;
	font-weight: 700;
	line-height: 1.4;
}

.spod-application .wpforms-required-label {
	color: var(--spod-error);
}

.spod-application input[type='text'],
.spod-application input[type='email'],
.spod-application input[type='tel'],
.spod-application textarea,
.spod-application select {
	width: 100% !important;
	max-width: none !important;
	min-height: 3.15rem;
	padding: 0.75rem 0.85rem !important;
	border: 1px solid #c8cec8 !important;
	border-radius: 0 !important;
	background: #fff !important;
	color: var(--spod-ink) !important;
	font-family: inherit !important;
	font-size: 1rem !important;
	line-height: 1.45 !important;
	box-shadow: none !important;
}

.spod-application textarea {
	min-height: 9rem;
	resize: vertical;
}

.spod-application .spod-textarea-compact textarea {
	min-height: 6.5rem;
}

.spod-application .spod-textarea-long textarea,
.spod-application .spod-textarea-motivation textarea {
	min-height: 12rem;
}

.spod-application .wpforms-field-description {
	margin-top: 0.45rem;
	color: var(--spod-muted);
	font-size: 0.86rem;
	line-height: 1.5;
}

.spod-application input:focus,
.spod-application textarea:focus,
.spod-application select:focus,
.spod-application button:focus-visible,
.spod-application summary:focus-visible {
	outline: 3px solid rgba(41, 71, 52, 0.28) !important;
	outline-offset: 2px;
	border-color: var(--spod-forest) !important;
}

.spod-application .spod-field--invalid input,
.spod-application .spod-field--invalid textarea,
.spod-application .spod-field--invalid select {
	border-color: var(--spod-error) !important;
}

.spod-field-error {
	margin: 0.45rem 0 0;
	color: var(--spod-error);
	font-size: 0.86rem;
	font-weight: 600;
}

.spod-application .wpforms-field-gdpr-checkbox ul,
.spod-application .wpforms-field-checkbox ul {
	margin: 0;
	padding: 0;
	list-style: none;
}

.spod-application .wpforms-field-gdpr-checkbox li,
.spod-application .wpforms-field-checkbox li {
	display: grid;
	grid-template-columns: auto minmax(0, 1fr);
	gap: 0.7rem;
	align-items: start;
}

.spod-application .wpforms-field-gdpr-checkbox input,
.spod-application .wpforms-field-checkbox input {
	width: 1.2rem;
	height: 1.2rem;
	margin-top: 0.15rem;
	accent-color: var(--spod-forest);
}

.spod-application details {
	margin-top: 0.75rem;
	border-top: 1px solid var(--spod-line);
}

.spod-application details summary {
	padding: 0.85rem 0;
	color: var(--spod-forest);
	font-weight: 700;
	cursor: pointer;
}

.spod-application details div {
	padding: 0.25rem 0 0.5rem;
}

.spod-application details p {
	margin: 0 0 0.85rem;
}

.spod-submission-id-field {
	display: none !important;
}

.spod-step-actions {
	display: flex;
	gap: 0.8rem;
	align-items: center;
	justify-content: flex-end;
	margin-top: 2.3rem;
	padding-top: 1.5rem;
	border-top: 1px solid var(--spod-line);
}

.spod-step-actions .wpforms-submit-container {
	margin: 0 !important;
	padding: 0 !important;
}

.spod-step-button,
.spod-application .wpforms-submit {
	min-height: 3.1rem !important;
	padding: 0.75rem 1.25rem !important;
	border: 1px solid var(--spod-forest) !important;
	border-radius: 0 !important;
	background: var(--spod-forest) !important;
	color: #fff !important;
	font-family: inherit !important;
	font-size: 0.92rem !important;
	font-weight: 700 !important;
	line-height: 1.2 !important;
	text-decoration: none !important;
	cursor: pointer;
}

.spod-step-button--back {
	margin-right: auto;
	background: transparent !important;
	color: var(--spod-forest) !important;
}

.spod-step-button:hover,
.spod-application .wpforms-submit:hover {
	border-color: var(--spod-forest-deep) !important;
	background: var(--spod-forest-deep) !important;
	color: #fff !important;
}

.spod-step-button--back:hover {
	color: #fff !important;
}

.spod-multistep-ready .spod-form-step:not([hidden]) {
	animation: spod-step-in 180ms ease-out;
}

@keyframes spod-step-in {
	from {
		opacity: 0;
		transform: translateY(5px);
	}
	to {
		opacity: 1;
		transform: translateY(0);
	}
}

@media (max-width: 760px) {
	.spod-recruitment-hero {
		height: 280px;
	}

	.spod-recruitment-hero__title {
		font-size: 38px;
	}

	.spod-application {
		padding-right: 1rem;
		padding-left: 1rem;
	}

	.spod-application__layout {
		grid-template-columns: 1fr;
		gap: 2rem;
	}

	.spod-application__rail {
		position: static;
	}

	.spod-progress {
		display: grid;
		grid-template-columns: repeat(3, 1fr);
	}

	.spod-progress::before {
		top: 1rem;
		right: 16.66%;
		bottom: auto;
		left: 16.66%;
		width: auto;
		height: 1px;
	}

	.spod-progress li {
		display: flex;
		min-height: 0;
		flex-direction: column;
		gap: 0.5rem;
		text-align: center;
	}

	.spod-progress li strong {
		font-size: 0.72rem;
	}

	.spod-draft-status {
		margin-top: 1.25rem;
		text-align: center;
	}

	.spod-draft-delete {
		display: block;
		margin-right: auto;
		margin-left: auto;
	}

	.spod-draft-restore {
		align-items: stretch;
		flex-direction: column;
	}

	.spod-draft-restore__actions {
		flex-wrap: wrap;
	}

	.spod-step-actions {
		align-items: stretch;
		flex-direction: column-reverse;
	}

	.spod-step-button,
	.spod-step-actions .wpforms-submit-container,
	.spod-step-actions .wpforms-submit {
		width: 100% !important;
	}

	.spod-step-button--back {
		margin-right: 0;
	}
}

@media (prefers-reduced-motion: reduce) {
	.spod-multistep-ready .spod-form-step:not([hidden]) {
		animation: none;
	}

	.spod-application * {
		scroll-behavior: auto !important;
	}
}
