:root {
	--hd-job-blue: #00265d;
	--hd-job-blue-2: #06366f;
	--hd-job-gold: #d99d2f;
	--hd-job-text: #12264a;
	--hd-job-muted: #4a5870;
	--hd-job-line: #dfe6f1;
	--hd-job-bg: #f6f8fc;
}

.hd-career-detail {
	background: #fff;
	color: var(--hd-job-text);
}

.hd-career-detail-container {
	width: min(1240px, calc(100% - 48px));
	margin: 0 auto;
}

.hd-career-detail-hero {
	position: relative;
	min-height: 360px;
	background:
		linear-gradient(90deg, rgba(0, 31, 85, 0.96), rgba(0, 31, 85, 0.62), rgba(0, 31, 85, 0.22)),
		linear-gradient(135deg, #00265d, #0a407e);
	background-position: center right;
	background-size: cover;
	overflow: hidden;
}

.hd-career-detail-hero__overlay {
	position: absolute;
	inset: 0;
	background:
		radial-gradient(circle at 74% 32%, rgba(217, 157, 47, 0.25), transparent 28%),
		linear-gradient(90deg, rgba(0, 31, 85, 0.95) 0%, rgba(0, 31, 85, 0.72) 52%, rgba(0, 31, 85, 0.28) 100%);
}

.hd-career-detail-hero__inner {
	position: relative;
	z-index: 1;
	display: flex;
	min-height: 360px;
	flex-direction: column;
	justify-content: center;
	padding: 44px 0 42px;
}

.hd-career-detail-breadcrumb {
	display: inline-flex;
	align-items: center;
	gap: 14px;
	margin-bottom: 25px;
	color: rgba(255, 255, 255, 0.9);
	font-size: 14px;
	font-weight: 800;
}

.hd-career-detail-breadcrumb a {
	color: #fff;
	text-decoration: none;
}

.hd-career-detail-breadcrumb span {
	width: 7px;
	height: 7px;
	border-top: 2px solid rgba(255, 255, 255, 0.72);
	border-right: 2px solid rgba(255, 255, 255, 0.72);
	transform: rotate(45deg);
}

.hd-career-detail-kicker {
	margin: 0 0 10px;
	color: var(--hd-job-gold);
	font-size: 15px;
	line-height: 1.45;
	font-weight: 900;
	letter-spacing: 0.08em;
	text-transform: uppercase;
}

.hd-career-detail-hero h1 {
	max-width: 850px;
	margin: 0 0 22px !important;
	color: #fff !important;
	font-size: 52px !important;
	line-height: 1.2 !important;
	font-weight: 900 !important;
	letter-spacing: 0 !important;
	text-transform: uppercase;
	text-wrap: balance;
}

.hd-career-detail-meta {
	display: flex;
	flex-wrap: wrap;
	gap: 12px;
}

.hd-career-detail-meta span {
	display: inline-flex;
	align-items: center;
	gap: 9px;
	min-height: 40px;
	padding: 0 16px;
	border: 1px solid rgba(255, 255, 255, 0.22);
	border-radius: 999px;
	background: rgba(255, 255, 255, 0.1);
	color: #fff;
	font-size: 14px;
	font-weight: 800;
	backdrop-filter: blur(5px);
}

.hd-career-detail-meta i {
	color: var(--hd-job-gold);
}

.hd-career-detail-body {
	background: linear-gradient(180deg, #fff 0%, var(--hd-job-bg) 100%);
	padding: 34px 0 60px;
}

.hd-career-detail-grid {
	display: grid;
	grid-template-columns: minmax(0, 1fr) 360px;
	gap: 28px;
	align-items: start;
}

.hd-career-detail-content,
.hd-career-detail-sidebar {
	display: grid;
	gap: 22px;
}

.hd-career-detail-card,
.hd-career-detail-apply-card,
.hd-career-detail-side-card {
	border: 1px solid var(--hd-job-line);
	border-radius: 14px;
	background: #fff;
	box-shadow: 0 12px 30px rgba(8, 34, 73, 0.06);
}

.hd-career-detail-card {
	padding: 28px;
}

.hd-career-detail-card h2,
.hd-career-detail-side-card h3 {
	position: relative;
	margin: 0 0 24px;
	color: var(--hd-job-blue);
	font-size: 26px;
	line-height: 1.25;
	font-weight: 900;
	text-transform: uppercase;
}

.hd-career-detail-card h2::after,
.hd-career-detail-side-card h3::after {
	content: "";
	position: absolute;
	left: 0;
	bottom: -10px;
	width: 34px;
	height: 2px;
	background: var(--hd-job-gold);
}

.hd-career-detail-info-grid {
	display: grid;
	grid-template-columns: repeat(3, 1fr);
	gap: 14px;
}

.hd-career-detail-info-grid div {
	min-height: 118px;
	padding: 18px 16px;
	border: 1px solid var(--hd-job-line);
	border-radius: 12px;
	background: #fbfcff;
}

.hd-career-detail-info-grid i {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	width: 36px;
	height: 36px;
	margin-bottom: 12px;
	border-radius: 999px;
	background: rgba(217, 157, 47, 0.12);
	color: var(--hd-job-gold);
	font-size: 16px;
}

.hd-career-detail-info-grid span {
	display: block;
	margin-bottom: 4px;
	color: var(--hd-job-muted);
	font-size: 13px;
	font-weight: 800;
	text-transform: uppercase;
}

.hd-career-detail-info-grid strong {
	display: block;
	color: var(--hd-job-blue);
	font-size: 16px;
	line-height: 1.35;
	font-weight: 900;
}

.hd-career-detail-entry {
	color: var(--hd-job-text);
	font-size: 16px;
	line-height: 1.8;
}

.hd-career-detail-entry p,
.hd-career-detail-entry ul,
.hd-career-detail-entry ol {
	margin-bottom: 16px;
}

.hd-career-detail-entry h2,
.hd-career-detail-entry h3,
.hd-career-detail-entry h4 {
	margin: 24px 0 12px;
	color: var(--hd-job-blue);
	font-weight: 900;
}

.hd-career-detail-entry ul,
.hd-career-detail-entry ol {
	padding-left: 22px;
}

.hd-career-detail-entry li {
	margin-bottom: 8px;
}

.hd-career-detail-sidebar {
	position: sticky;
	top: 92px;
}

.hd-career-detail-apply-card {
	overflow: hidden;
	padding: 26px;
	background:
		linear-gradient(135deg, rgba(0, 38, 93, 0.98), rgba(7, 62, 120, 0.96)),
		var(--hd-job-blue);
	color: #fff;
}

.hd-career-detail-apply-card p {
	margin: 0 0 8px;
	color: var(--hd-job-gold);
	font-size: 14px;
	font-weight: 900;
	text-transform: uppercase;
}

.hd-career-detail-apply-card h2 {
	margin: 0 0 20px;
	color: #fff;
	font-size: 25px;
	line-height: 1.25;
	font-weight: 900;
}

.hd-career-detail-apply-button {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	gap: 10px;
	width: 100%;
	height: 48px;
	border-radius: 8px;
	background: linear-gradient(180deg, #dfa739 0%, #c48720 100%);
	color: #fff;
	font-size: 15px;
	font-weight: 900;
	text-decoration: none;
	text-transform: uppercase;
	box-shadow: 0 10px 18px rgba(0, 0, 0, 0.18);
}

.hd-career-detail-apply-button:hover {
	color: #fff;
	transform: translateY(-1px);
}

.hd-career-detail-contact {
	display: grid;
	gap: 11px;
	margin-top: 22px;
	padding-top: 20px;
	border-top: 1px solid rgba(255, 255, 255, 0.18);
}

.hd-career-detail-contact span {
	display: inline-flex;
	align-items: center;
	gap: 10px;
	color: rgba(255, 255, 255, 0.92);
	font-size: 15px;
	font-weight: 700;
}

.hd-career-detail-contact i {
	color: var(--hd-job-gold);
}

.hd-career-detail-side-card {
	padding: 24px;
}

.hd-career-detail-side-card ol {
	margin: 0;
	padding-left: 20px;
	color: var(--hd-job-muted);
	font-size: 15px;
	line-height: 1.7;
	font-weight: 700;
}

.hd-career-detail-side-card li {
	margin-bottom: 9px;
}

@media (max-width: 1024px) {
	.hd-career-detail-grid {
		grid-template-columns: 1fr;
	}

	.hd-career-detail-sidebar {
		position: static;
		grid-template-columns: repeat(2, minmax(0, 1fr));
	}
}

@media (max-width: 849px) {
	.hd-career-detail-container {
		width: min(94%, calc(100% - 32px));
	}

	.hd-career-detail-hero,
	.hd-career-detail-hero__inner {
		min-height: 320px;
	}

	.hd-career-detail-hero h1 {
		font-size: 40px !important;
		line-height: 1.2 !important;
	}

	.hd-career-detail-info-grid {
		grid-template-columns: repeat(2, 1fr);
	}
}

@media (max-width: 549px) {
	.hd-career-detail-container {
		width: calc(100% - 24px);
	}

	.hd-career-detail-hero,
	.hd-career-detail-hero__inner {
		min-height: 285px;
	}

	.hd-career-detail-hero h1 {
		font-size: 31px !important;
		line-height: 1.24 !important;
	}

	.hd-career-detail-meta span {
		width: 100%;
	}

	.hd-career-detail-card {
		padding: 22px 16px;
	}

	.hd-career-detail-info-grid,
	.hd-career-detail-sidebar {
		grid-template-columns: 1fr;
	}

	.hd-career-detail-card h2,
	.hd-career-detail-side-card h3 {
		font-size: 22px;
	}
}
