/* ============================================================================
 * MPH JOB POSTINGS
 * ============================================================================
 * Palette: orange #FAA61C, charcoal blue #353F51, dusk #465DAA,
 *          powder #A8B6DE, white. Prefix: mphj-
 * ========================================================================= */

.mphj-wrap,
.mphj-single,
.mphj-hero {
	--mphj-orange: #faa61c;
	--mphj-orange-deep: #de8c05;
	--mphj-navy: #353f51;
	--mphj-navy-deep: #262f3c;
	--mphj-blue: #465daa;
	--mphj-powder: #a8b6de;
	--mphj-powder-soft: rgba(168, 182, 222, 0.18);
	--mphj-white: #ffffff;
	--mphj-head: "Poppins", -apple-system, sans-serif;
	--mphj-body: "Glacial Indifference", "Poppins", -apple-system, sans-serif;
	box-sizing: border-box;
	font-family: var(--mphj-body);
	color: var(--mphj-navy);
}
.mphj-wrap *,
.mphj-single *,
.mphj-hero * {
	box-sizing: border-box;
}

/* ============================================================
   LISTING
   ============================================================ */

.mphj-wrap {
	width: 100%;
	max-width: 100%;
}
.mphj-list {
	display: flex;
	flex-direction: column;
	gap: 20px;
	width: 100%;
	max-width: 900px;
	margin: 0 auto;
}
.mphj-card {
	background: var(--mphj-white);
	border: 1px solid var(--mphj-powder);
	border-left: 5px solid var(--mphj-orange);
	border-radius: 10px;
	padding: 28px 30px;
	box-shadow: 0 10px 28px rgba(38, 47, 60, 0.07);
	transition: transform 0.35s cubic-bezier(0.16, 1, 0.3, 1),
		box-shadow 0.35s cubic-bezier(0.16, 1, 0.3, 1);
}
.mphj-card:hover {
	transform: translateY(-3px);
	box-shadow: 0 18px 40px rgba(38, 47, 60, 0.12);
}
.mphj-card-title {
	margin: 0 0 10px;
	font-family: var(--mphj-head);
	font-size: 24px;
	font-weight: 700;
	line-height: 1.3;
	letter-spacing: -0.3px;
}
.mphj-card-title a {
	color: var(--mphj-navy);
	text-decoration: none;
	transition: color 0.25s ease;
}
.mphj-card-title a:hover {
	color: var(--mphj-blue);
}
.mphj-card-meta {
	display: flex;
	flex-wrap: wrap;
	align-items: center;
	gap: 8px 16px;
	margin-bottom: 14px;
	font-size: 14px;
	color: rgba(53, 63, 81, 0.7);
}
.mphj-tag {
	font-family: var(--mphj-head);
	font-size: 11px;
	font-weight: 700;
	letter-spacing: 1.4px;
	text-transform: uppercase;
	color: var(--mphj-blue);
	background: var(--mphj-powder-soft);
	border: 1px solid rgba(168, 182, 222, 0.7);
	border-radius: 100px;
	padding: 4px 12px;
}
.mphj-closes {
	color: var(--mphj-orange-deep);
	font-weight: 600;
}
.mphj-card-summary {
	margin: 0 0 20px;
	font-size: 16px;
	line-height: 1.7;
	color: rgba(44, 44, 44, 0.8);
}
.mphj-card-actions {
	display: flex;
	flex-wrap: wrap;
	gap: 10px;
}

/* Buttons pinned so a theme cannot restyle them. */
a.mphj-btn {
	-webkit-appearance: none;
	appearance: none;
	display: inline-block;
	font-family: var(--mphj-head);
	font-size: 13.5px;
	font-weight: 600 !important;
	letter-spacing: 0.8px !important;
	text-transform: uppercase !important;
	text-decoration: none !important;
	text-align: center;
	color: var(--mphj-navy-deep) !important;
	background-image: none !important;
	background-color: var(--mphj-orange) !important;
	border: 2px solid var(--mphj-orange) !important;
	border-radius: 4px !important;
	box-shadow: none !important;
	padding: 13px 26px !important;
	transition: background-color 0.25s ease, border-color 0.25s ease,
		color 0.25s ease, transform 0.2s ease;
}
a.mphj-btn:hover {
	background-color: var(--mphj-orange-deep) !important;
	border-color: var(--mphj-orange-deep) !important;
	transform: translateY(-2px);
}
a.mphj-btn-outline {
	color: var(--mphj-navy) !important;
	background-color: transparent !important;
	border-color: var(--mphj-navy) !important;
}
a.mphj-btn-outline:hover {
	background-color: var(--mphj-navy) !important;
	border-color: var(--mphj-navy) !important;
	color: var(--mphj-white) !important;
}
a.mphj-btn-lg {
	font-size: 15px;
	padding: 17px 38px !important;
}

.mphj-empty {
	max-width: 720px;
	margin: 0 auto;
	text-align: center;
	font-size: 17px;
	line-height: 1.7;
	color: rgba(53, 63, 81, 0.75);
	background: var(--mphj-powder-soft);
	border: 1px dashed var(--mphj-powder);
	border-radius: 10px;
	padding: 30px 26px;
}

/* ============================================================
   SINGLE POSTING
   ============================================================ */

.mphj-hero {
	background-image: linear-gradient(150deg, #262f3c 0%, #353f51 55%, #465daa 145%);
}
.mphj-hero-inner {
	max-width: 1240px;
	margin: 0 auto;
	padding: 116px 24px 52px;
}
.mphj-eyebrow {
	display: inline-flex;
	align-items: center;
	gap: 14px;
	margin-bottom: 18px;
}
.mphj-eyebrow-line {
	display: inline-block;
	width: 36px;
	height: 2px;
	background: var(--mphj-orange);
}
.mphj-eyebrow-text {
	font-family: var(--mphj-head);
	font-size: 13px;
	font-weight: 600;
	letter-spacing: 2.2px;
	text-transform: uppercase;
	color: var(--mphj-orange);
}
.mphj-hero-title {
	margin: 0 0 14px;
	font-family: var(--mphj-head);
	font-size: 45px;
	font-weight: 700;
	line-height: 1.1;
	letter-spacing: -0.8px;
	color: var(--mphj-white);
	max-width: 900px;
}
.mphj-hero-meta {
	margin: 0;
	font-size: 17px;
	line-height: 1.6;
	color: rgba(255, 255, 255, 0.85);
}

.mphj-single {
	max-width: 1240px;
	margin: 0 auto;
	padding: 56px 24px 72px;
}
.mphj-closed-notice {
	max-width: 820px;
	margin: 0 auto 26px;
	padding: 15px 18px;
	background: rgba(192, 57, 43, 0.08);
	border-left: 4px solid #c0392b;
	border-radius: 6px;
	font-size: 16px;
	color: #a5342a;
}
.mphj-rows {
	max-width: 820px;
	margin: 0 auto 30px;
	padding: 6px 22px;
	background: var(--mphj-powder-soft);
	border: 1px solid var(--mphj-powder);
	border-radius: 10px;
}
.mphj-row {
	display: flex;
	flex-wrap: wrap;
	align-items: baseline;
	gap: 6px 18px;
	padding: 12px 0;
	border-bottom: 1px solid rgba(168, 182, 222, 0.5);
}
.mphj-row:last-child {
	border-bottom: 0;
}
.mphj-row-label {
	flex: 0 0 auto;
	min-width: 150px;
	font-family: var(--mphj-head);
	font-size: 12px;
	font-weight: 700;
	letter-spacing: 1.2px;
	text-transform: uppercase;
	color: var(--mphj-blue);
}
.mphj-row-value {
	font-size: 17px;
	color: var(--mphj-navy);
}

.mphj-content {
	max-width: 820px;
	margin: 0 auto;
	font-size: 17px;
	line-height: 1.75;
	color: rgba(53, 63, 81, 0.88);
}
.mphj-content p {
	margin: 0 0 18px;
}
.mphj-content h2,
.mphj-content h3 {
	font-family: var(--mphj-head);
	color: var(--mphj-navy);
	letter-spacing: -0.3px;
	margin: 30px 0 12px;
}
.mphj-content h2 {
	font-size: 26px;
}
.mphj-content h3 {
	font-size: 21px;
}
.mphj-content ul,
.mphj-content ol {
	margin: 0 0 18px;
	padding-left: 22px;
}
.mphj-content li {
	margin-bottom: 8px;
}
.mphj-content a {
	color: var(--mphj-blue);
}

.mphj-apply {
	max-width: 820px;
	margin: 36px auto 0;
	padding-top: 28px;
	border-top: 1px solid var(--mphj-powder);
	text-align: center;
}
.mphj-apply-note {
	margin: 12px 0 0;
	font-size: 14px;
	color: rgba(53, 63, 81, 0.6);
}
.mphj-back {
	max-width: 820px;
	margin: 30px auto 0;
	text-align: center;
}
.mphj-back a {
	font-family: var(--mphj-head);
	font-size: 13px;
	font-weight: 600;
	letter-spacing: 0.8px;
	text-transform: uppercase;
	color: var(--mphj-blue);
	text-decoration: none;
}
.mphj-back a:hover {
	color: var(--mphj-navy);
}

/* ============================================================
   RESPONSIVE
   ============================================================ */

@media (max-width: 767px) {
	.mphj-card {
		padding: 22px 20px;
	}
	.mphj-card-title {
		font-size: 20px;
	}
	.mphj-card-actions a.mphj-btn {
		width: 100%;
	}
	.mphj-hero-inner {
		padding: 100px 20px 42px;
	}
	.mphj-hero-title {
		font-size: 29px;
	}
	.mphj-single {
		padding: 40px 20px 54px;
	}
	.mphj-rows {
		padding: 6px 16px;
	}
	.mphj-row {
		flex-direction: column;
		gap: 2px;
	}
	a.mphj-btn-lg {
		width: 100%;
	}
}
