/*
 * Single-job styles are limited to the details section appended
 * after the job description. Theme headings, links, and buttons
 * outside .jpm-job-single are left alone.
 */

body.jpm-career-page .jpm-job-page {
	width: 100vw;
	max-width: 100vw;
	margin-top: 0;
	margin-bottom: 0;
	margin-left: calc(50% - 50vw);
	margin-right: calc(50% - 50vw);
	padding: 0;
	box-sizing: border-box;
}

body.jpm-full-posting .jpm-job-page {
	width: calc(100vw - 2rem);
	max-width: none;
	margin-top: 1.25rem;
	margin-bottom: 2rem;
	margin-left: calc(50% - 50vw + 1rem);
	margin-right: calc(50% - 50vw + 1rem);
	padding: 0;
	box-sizing: border-box;
}

.jpm-job-page {
	max-width: none;
	margin: 1.5rem auto 2rem;
	padding: 0 1.25rem;
	font-family: inherit;
	color: inherit;
}

.jpm-job-page__title {
	margin: 0;
	font-family: "Lato", Sans-serif;
	font-size: 22px;
	font-weight: 900;
	line-height: 1.3;
	-webkit-text-stroke-color: #000;
	stroke: #000;
	color: #2C3E50;
}

.jpm-job-page__accent {
	display: block;
	width: 100%;
	height: 3px;
	margin: 0.55rem 0 1.25rem;
	background: #F6C41C;
}

.jpm-document {
	width: 100%;
}

.jpm-document__page,
.jpm-document img,
.jpm-document canvas {
	display: block;
	width: 100%;
	max-width: none;
	height: auto;
	margin: 0 0 1rem;
}

.jpm-document__page:last-child,
.jpm-document img {
	margin-bottom: 0;
}

.jpm-document--word {
	width: 100%;
	height: calc(100vh - 4.5rem);
}

.jpm-document__frame {
	display: block;
	width: 100%;
	height: 100%;
	border: 0;
	background: #fff;
}

.jpm-job-single {
	margin: 0 0 1.75rem;
	max-width: 100%;
	font-family: inherit;
	color: inherit;
}

.jpm-job-single__file {
	margin: 0 0 1.5rem;
}

.jpm-job-single__image {
	display: block;
	max-width: 100%;
	height: auto;
}

.jpm-job-single__details {
	display: grid;
	gap: 0.85rem;
	margin: 0 0 1.5rem;
}

.jpm-job-single__row {
	display: grid;
	gap: 0.2rem;
	margin: 0;
}

.jpm-job-single__label,
.jpm-job-single__value {
	margin: 0;
	font-family: inherit;
	line-height: 1.5;
}

.jpm-job-single__label {
	font-weight: 600;
}

.jpm-job-single__instructions {
	margin: 0 0 1.5rem;
}

.jpm-job-single__heading {
	margin: 0 0 0.5rem;
	font-family: inherit;
	font-size: 1.15rem;
	font-weight: 600;
	line-height: 1.3;
	color: inherit;
}

.jpm-job-single__instructions p {
	margin: 0 0 0.75rem;
	font-family: inherit;
	line-height: 1.6;
}

.jpm-job-single__instructions p:last-child {
	margin-bottom: 0;
}

.jpm-job-single__action {
	margin: 0;
}

.jpm-job-single__action:has(.jpm-view-job) {
	display: flex;
	justify-content: flex-end;
}

.jpm-job-single__apply {
	display: inline-block;
	margin: 0;
	padding: 0.75rem 1.25rem;
	border: 0;
	border-radius: 0.25rem;
	background: CanvasText;
	color: Canvas;
	font-family: inherit;
	font-size: 1rem;
	font-weight: 600;
	line-height: 1.2;
	text-align: center;
	text-decoration: none;
}

.jpm-job-single__apply:hover,
.jpm-job-single__apply:focus {
	color: Canvas;
	text-decoration: none;
	opacity: 0.88;
}

.jpm-job-single__apply:focus-visible {
	outline: 2px solid currentColor;
	outline-offset: 3px;
}

.jpm-view-job {
	display: inline-block;
	margin: 0;
	padding: 0.75rem 1.25rem;
	font-family: "Roboto", Sans-serif;
	font-weight: 500;
	font-size: 1rem;
	line-height: 1.2;
	text-align: center;
	text-decoration: none;
	text-transform: uppercase;
	fill: var(--e-global-color-astglobalcolor0);
	color: var(--e-global-color-astglobalcolor0);
	background-color: var(--e-global-color-astglobalcolor5);
	border-style: solid;
	border-width: 2px;
	border-color: var(--e-global-color-astglobalcolor0);
	border-radius: 0;
}

.jpm-view-job:hover,
.jpm-view-job:focus {
	color: var(--e-global-color-astglobalcolor0);
	text-decoration: none;
}

.jpm-view-job:focus-visible {
	outline: 2px solid currentColor;
	outline-offset: 3px;
}

@media (min-width: 40rem) {
	.jpm-job-single__row {
		grid-template-columns: 11rem minmax(0, 1fr);
		column-gap: 1.25rem;
		align-items: baseline;
	}
}

@media (max-width: 40rem) {
	.jpm-job-single__apply {
		display: block;
		width: 100%;
	}
}
