/* ==========================================================================
   New jobs listing (test page /jobs-new-page/)
   Scoped to .jobs--new so the current /jobs archive is not affected.
   ========================================================================== */

/* --- Listing area: full width for the 4 columns ------------------------- */
.job-archive .jobs.jobs--new .c-container .wrap .c-row:nth-of-type(2) {
	max-width: 100%;
}

/* --- Table ---------------------------------------------------------------- */
.job-archive .jobs.jobs--new .c-container .wrap .c-row:nth-of-type(2) .job-results table.jobs-table-new {
	width: 100%;
	border-collapse: collapse;
	border-spacing: 0;
	table-layout: fixed;
}

.job-archive .jobs.jobs--new .c-container .wrap .c-row:nth-of-type(2) .job-results table.jobs-table-new thead th {
	text-align: left;
	font-size: min(max(11px, 0.78125vw), 16px);
	font-weight: 800;
	text-transform: uppercase;
	letter-spacing: 0.04em;
	color: #000000;
	padding: 0 15px 12px;
	border-bottom: 2px solid #e20074;
}
.job-archive .jobs.jobs--new .c-container .wrap .c-row:nth-of-type(2) .job-results table.jobs-table-new thead th.col-title       { width: 26%; }
.job-archive .jobs.jobs--new .c-container .wrap .c-row:nth-of-type(2) .job-results table.jobs-table-new thead th.col-description { width: 42%; }
.job-archive .jobs.jobs--new .c-container .wrap .c-row:nth-of-type(2) .job-results table.jobs-table-new thead th.col-location    { width: 16%; }
.job-archive .jobs.jobs--new .c-container .wrap .c-row:nth-of-type(2) .job-results table.jobs-table-new thead th.col-apply       { width: 16%; text-align: right; }

.job-archive .jobs.jobs--new .c-container .wrap .c-row:nth-of-type(2) .job-results table.jobs-table-new tbody tr {
	display: table-row;
	text-align: left;
	padding: 0;
	border-bottom: 1px solid #D4D8D2;
}
.job-archive .jobs.jobs--new .c-container .wrap .c-row:nth-of-type(2) .job-results table.jobs-table-new tbody tr + tr {
	padding-top: 0;
}
.job-archive .jobs.jobs--new .c-container .wrap .c-row:nth-of-type(2) .job-results table.jobs-table-new tbody tr td {
	display: table-cell;
	vertical-align: top;
	padding: min(max(16px, 1.25vw), 24px) 15px;
	font-size: min(max(13px, 0.9375vw), 16px);
	font-weight: 400;
	line-height: 1.45;
	color: #000000;
	border-bottom: 0;
	word-wrap: break-word;
}
.job-archive .jobs.jobs--new .c-container .wrap .c-row:nth-of-type(2) .job-results table.jobs-table-new tbody tr td.job-title {
	font-weight: 700;
	color: #e20074;
}
.job-archive .jobs.jobs--new .c-container .wrap .c-row:nth-of-type(2) .job-results table.jobs-table-new tbody tr td.job-description {
	color: #000000;
}
/* Full description inside the cell */
.job-archive .jobs.jobs--new .c-container .wrap .c-row:nth-of-type(2) .job-results table.jobs-table-new tbody tr td.job-description {
	vertical-align: top;
}
.job-archive .jobs.jobs--new .c-container .wrap .c-row:nth-of-type(2) .job-results table.jobs-table-new tbody tr td.job-description > :first-child,
.job-archive .jobs.jobs--new .c-container .wrap .c-row:nth-of-type(2) .job-results table.jobs-table-new tbody tr td.job-description .job-desc > :first-child {
	margin-top: 0;
}
.job-archive .jobs.jobs--new .c-container .wrap .c-row:nth-of-type(2) .job-results table.jobs-table-new tbody tr td.job-description > :last-child,
.job-archive .jobs.jobs--new .c-container .wrap .c-row:nth-of-type(2) .job-results table.jobs-table-new tbody tr td.job-description .job-desc > :last-child {
	margin-bottom: 0;
}
.job-archive .jobs.jobs--new .c-container .wrap .c-row:nth-of-type(2) .job-results table.jobs-table-new tbody tr td.job-description p,
.job-archive .jobs.jobs--new .c-container .wrap .c-row:nth-of-type(2) .job-results table.jobs-table-new tbody tr td.job-description ul,
.job-archive .jobs.jobs--new .c-container .wrap .c-row:nth-of-type(2) .job-results table.jobs-table-new tbody tr td.job-description ol {
	margin: 0 0 0.8em;
	font-size: inherit;
	line-height: inherit;
	color: inherit;
}
.job-archive .jobs.jobs--new .c-container .wrap .c-row:nth-of-type(2) .job-results table.jobs-table-new tbody tr td.job-description ul,
.job-archive .jobs.jobs--new .c-container .wrap .c-row:nth-of-type(2) .job-results table.jobs-table-new tbody tr td.job-description ol {
	padding-left: 1.2em;
}
.job-archive .jobs.jobs--new .c-container .wrap .c-row:nth-of-type(2) .job-results table.jobs-table-new tbody tr td.job-description li {
	margin-bottom: 0.3em;
	font-size: inherit;
}
.job-archive .jobs.jobs--new .c-container .wrap .c-row:nth-of-type(2) .job-results table.jobs-table-new tbody tr td.job-description h1,
.job-archive .jobs.jobs--new .c-container .wrap .c-row:nth-of-type(2) .job-results table.jobs-table-new tbody tr td.job-description h2,
.job-archive .jobs.jobs--new .c-container .wrap .c-row:nth-of-type(2) .job-results table.jobs-table-new tbody tr td.job-description h3,
.job-archive .jobs.jobs--new .c-container .wrap .c-row:nth-of-type(2) .job-results table.jobs-table-new tbody tr td.job-description h4,
.job-archive .jobs.jobs--new .c-container .wrap .c-row:nth-of-type(2) .job-results table.jobs-table-new tbody tr td.job-description h5,
.job-archive .jobs.jobs--new .c-container .wrap .c-row:nth-of-type(2) .job-results table.jobs-table-new tbody tr td.job-description h6 {
	margin: 1em 0 0.4em;
	font-size: 1.05em;
	font-weight: 700;
	line-height: 1.3;
	color: #000000;
}
.job-archive .jobs.jobs--new .c-container .wrap .c-row:nth-of-type(2) .job-results table.jobs-table-new tbody tr td.job-description a {
	color: #e20074;
	font-size: inherit;
	text-decoration: underline;
}
.job-archive .jobs.jobs--new .c-container .wrap .c-row:nth-of-type(2) .job-results table.jobs-table-new tbody tr td.job-description img {
	max-width: 100%;
	height: auto;
}


.job-archive .jobs.jobs--new .c-container .wrap .c-row:nth-of-type(2) .job-results table.jobs-table-new tbody tr td.job-apply {
	text-align: right;
}

/* --- Description: Read more / Read less ---------------------------------- */
.jobs--new .job-desc.is-collapsed {
	position: relative;
	max-height: 9.5em; /* about 6 lines */
	overflow: hidden;
}
.jobs--new .job-desc.is-collapsed::after {
	content: "";
	position: absolute;
	left: 0;
	right: 0;
	bottom: 0;
	height: 3.5em;
	background: linear-gradient(to bottom, rgba(244, 244, 244, 0), #F4F4F4);
	pointer-events: none;
}
.jobs--new button.job-desc-toggle {
	-webkit-appearance: none;
	appearance: none;
	display: inline-flex;
	align-items: center;
	gap: 6px;
	min-width: 0;
	margin: 10px 0 0;
	padding: 0;
	border: 0;
	border-radius: 0;
	background: none;
	box-shadow: none;
	color: #e20074;
	font-family: inherit;
	font-size: min(max(12px, 0.859375vw), 15px);
	font-weight: 700;
	text-transform: none;
	text-decoration: underline;
	text-underline-offset: 3px;
	cursor: pointer;
}
.jobs--new button.job-desc-toggle[hidden] {
	display: none;
}
.jobs--new button.job-desc-toggle::after {
	content: "";
	width: 7px;
	height: 7px;
	border-right: 2px solid currentColor;
	border-bottom: 2px solid currentColor;
	transform: translateY(-2px) rotate(45deg);
	transition: transform 0.2s ease-in-out;
}
.jobs--new button.job-desc-toggle[aria-expanded="true"]::after {
	transform: translateY(2px) rotate(-135deg);
}
.jobs--new button.job-desc-toggle:hover,
.jobs--new button.job-desc-toggle:focus-visible {
	color: #000000;
}

/* --- Apply now button --------------------------------------------------- */
.jobs--new .job-apply-btn {
	display: inline-block;
	background-color: #e20074;
	border: 2px solid #e20074;
	color: #FFFFFF;
	font-size: min(max(11px, 0.78125vw), 14px);
	font-weight: 700;
	text-transform: uppercase;
	letter-spacing: 0.04em;
	white-space: nowrap;
	padding: 10px 22px;
	border-radius: 30px;
	transition: background-color 0.2s ease-in-out, color 0.2s ease-in-out;
}
.jobs--new .job-apply-btn:hover,
.jobs--new .job-apply-btn:focus-visible {
	background-color: #FFFFFF;
	color: #e20074;
}

/* --- Tablet / mobile: each job becomes a card --------------------------- */
@media only screen and (max-width: 1023px) {
	.job-archive .jobs.jobs--new .c-container .wrap .c-row:nth-of-type(2) .job-results table.jobs-table-new,
	.job-archive .jobs.jobs--new .c-container .wrap .c-row:nth-of-type(2) .job-results table.jobs-table-new tbody {
		display: block;
		table-layout: auto;
	}
	.job-archive .jobs.jobs--new .c-container .wrap .c-row:nth-of-type(2) .job-results table.jobs-table-new thead {
		display: none;
	}
	.job-archive .jobs.jobs--new .c-container .wrap .c-row:nth-of-type(2) .job-results table.jobs-table-new tbody tr {
		display: flex;
		flex-direction: column;
		row-gap: 8px;
		padding: 22px 0;
		border-bottom: 1px solid #e20074;
	}
	.job-archive .jobs.jobs--new .c-container .wrap .c-row:nth-of-type(2) .job-results table.jobs-table-new tbody tr + tr {
		padding-top: 22px;
	}
	.job-archive .jobs.jobs--new .c-container .wrap .c-row:nth-of-type(2) .job-results table.jobs-table-new tbody tr td {
		display: block;
		padding: 0;
		font-size: 15px;
	}
	.job-archive .jobs.jobs--new .c-container .wrap .c-row:nth-of-type(2) .job-results table.jobs-table-new tbody tr td.job-title {
		font-size: 18px;
	}
	.job-archive .jobs.jobs--new .c-container .wrap .c-row:nth-of-type(2) .job-results table.jobs-table-new tbody tr td.job-location::before {
		content: attr(data-label) ": ";
		font-weight: 400;
		color: #838E7D;
	}
	.job-archive .jobs.jobs--new .c-container .wrap .c-row:nth-of-type(2) .job-results table.jobs-table-new tbody tr td.job-apply {
		text-align: left;
		padding-top: 6px;
	}
}
