/* =========================================================
   CAREERS PAGE STYLES
   Adjust the brand colors below to match your theme variables.
   ========================================================= */

:root {
	--ess-blue:   #1f4ed8;   /* logo / icon blue */
	--ess-navy:   #0f1424;   /* dark cards + footer */
	--ess-gray:   #eef0f3;   /* light card bg */
	--ess-text:   #1a1a1a;
	--ess-muted:  #6b7280;
}

/* ---------- BANNER ---------- */
.careers-banner {
	position: relative;
	min-height: 460px;
	display: flex;
	align-items: center;
	overflow: hidden;
}
.careers-banner-overlay {
	position: absolute;
	inset: 0;
	background-size: cover !important;
	background-position: center !important;
}
.careers-banner-overlay::after {
	content: "";
	position: absolute;
	inset: 0;
	background: linear-gradient(90deg, rgba(15,20,36,.82) 0%, rgba(15,20,36,.45) 55%, rgba(15,20,36,.25) 100%);
}
.careers-banner .container { position: relative; z-index: 2; }
.careers-banner-wrapper { max-width: 760px; margin: 0 auto; color: #fff; }
.careers-banner-wrapper h1 {
	font-weight: 700;
	font-size: 54px;
	line-height: 1.1;
	margin-bottom: 18px;
	color: #fff;
}
.careers-banner-wrapper p {
	font-size: 17px;
	line-height: 1.6;
	color: rgba(255,255,255,.88);
	max-width: 620px;
	margin: 0 auto;
}

/* ---------- WHY ESS ---------- */
.why-section { padding: 80px 0; position: relative; }
.why-section h2 {
	font-weight: 700;
	font-size: 34px;
	margin-bottom: 22px;
	color: var(--ess-text);
}
.why-content p {
	font-size: 16px;
	line-height: 1.7;
	color: #374151;
	margin-bottom: 18px;
}

/* Stats cards */
.stat-card {
	background: rgba(238, 238, 238, 1);
	border-radius: 2px;
	padding: 30px 22px;
}
.stat-icon {
	width: 46px;
	height: 46px;
	border-radius: 10px;
	background: #fff;
	display: flex;
	align-items: center;
	justify-content: center;
	margin: 0 auto 16px;
	color: var(--ess-blue);
	box-shadow: 0 1px 4px rgba(0,0,0,.06);
}
.stat-number { font-weight: 700; font-size: 26px; margin: 0 0 2px; color: var(--ess-text); }
.stat-label  { font-weight: 700; font-size: 15px; margin: 0 0 10px; color: var(--ess-text); }
.stat-subtext{ font-size: 13px; color: var(--ess-muted); margin: 0; }

/* ---------- CULTURE ---------- */
.culture-section { padding: 20px 0 0px; }
.culture-section h2 {
	font-weight: 700;
	font-size: 30px;
	margin-bottom: 10px;
	color: var(--ess-text);
}
.culture-section > .container > p {
	color: #4b5563;
	font-size: 16px;
	margin-bottom: 8px;
}
.culture-card {
	background: var(--ess-navy);
	border-radius: 2px;
	padding: 30px 24px;
	color: #fff;
}
.culture-icon {
	width: 44px;
	height: 44px;
	background: #fff;
	display: flex;
	align-items: center;
	justify-content: center;
	margin-bottom: 20px;
	color: var(--ess-blue);
}
.culture-title { font-weight: 600; font-size: 24px; margin-bottom: 12px; color: #fff;  }
.culture-desc p { font-size: 15px; font-weight: 300; line-height: 1.6; color: rgba(255,255,255,.78); margin: 0; }

/* ---------- OPEN POSITIONS ---------- */
.positions-section { padding: 50px 0;}
.positions-head h2 {
	font-weight: 700;
	font-size: 36px;
	margin-bottom: 8px;
	color: var(--ess-text);
}
.positions-head p { color: var(--ess-muted); font-size: 16px; }

.position-card {
	background: #fff;
	border-radius: 2px;
	box-shadow: 0 8px 30px rgba(0,0,0,.06);
	overflow: hidden;
	margin: 0 auto;
}
.position-thumb { flex: 0 0 320px; max-width: 320px; }
.position-thumb img { width: 100%; height: 100%; object-fit: cover; display: block; }
.position-body { flex: 1 1 340px; padding: 30px 34px; }
.position-title { font-weight: 700; font-size: 24px; margin-bottom: 14px; color: var(--ess-text); }

.position-meta {
	list-style: none;
	display: flex;
	flex-wrap: wrap;
	gap: 22px;
	padding: 0;
	margin: 0 0 16px;
}
.position-meta li {
	display: flex;
	align-items: center;
	gap: 7px;
	font-size: 14px;
	color: #4b5563;
}
.position-meta svg { color: var(--ess-blue); }
.position-desc p { font-size: 15px; line-height: 1.6; color: #4b5563; margin: 0 0 22px; }

.more-jobs { margin-top: 34px; color: var(--ess-muted); font-size: 15px; }

/* ---------- DON'T SEE YOUR ROLE (CTA) ---------- */
.role-cta-section { padding: 0 0 0px; }
.role-cta-box {
	background: #fff;
	border: 1px solid #ececec;
	border-radius: 2px;
	padding: 28px 32px;
	margin: 0 auto;
}
.role-cta-icon {
	width: 46px;
	height: 46px;
	border-radius: 50%;
	background: #eef1fb;
	display: flex;
	align-items: center;
	justify-content: center;
	color: var(--ess-blue);
	flex: 0 0 46px;
}
.role-cta-title { font-weight: 700; font-size: 20px; margin: 0 0 4px; color: var(--ess-text); }
.role-cta-desc  { font-size: 15px; color: var(--ess-muted); margin: 0; }

/* ---------- SHARED BUTTON ---------- */
.btn-black {
	display: inline-flex;
	align-items: center;
	gap: 8px;
	background: var(--ess-navy);
	color: #fff !important;
	font-weight: 600;
	font-size: 15px;
	padding: 12px 22px;
	border-radius: 30px;
	text-decoration: none;
	transition: background .2s ease;
	white-space: nowrap;
}
.btn-black:hover { background: var(--ess-blue); }

/* ---------- RESPONSIVE ---------- */
@media (max-width: 991px) {
	.careers-banner-wrapper h1 { font-size: 38px; }
	.position-thumb { flex-basis: 100%; max-width: 100%; height: 220px; }
}
@media (max-width: 575px) {
	.careers-banner-wrapper h1 { font-size: 30px; }
	.position-body { padding: 24px; }
	.role-cta-box { flex-direction: column; align-items: flex-start; }
}