/**
 * Why Join UCS Page Styles
 * Fully responsive Bootstrap-based layout
 *
 * @package UnitedNPL
 */

/* =========================
   GLOBAL SECTION STYLES
   ========================= */

.careers-section-title {
	font-family: 'Hanken Grotesk', system-ui, -apple-system, sans-serif;
	font-style: normal;
	font-weight: 500;
	font-size: clamp(28px, 4vw, 36px);
	line-height: 144%;
	color: #1E1E1E;
	margin-bottom: 1rem;
}

.careers-section-title-white {
	color: #FFFFFF;
}

.careers-section-subtitle {
	font-family: 'Hanken Grotesk', system-ui, -apple-system, sans-serif;
	font-style: normal;
	font-weight: 400;
	font-size: clamp(14px, 2vw, 16px);
	line-height: 150%;
	color: #000000;
	margin-bottom: 0;
}

.careers-section-subtitle-white {
	color: #FFFFFF;
}

/* =========================
   PERFORMANCE BASED LEADERSHIP TEAM SECTION
   ========================= */

.careers-leadership-section {
	padding: 60px 0 60px 0;
	background: #F5F5F5;
}

.careers-leadership-section .container {
	max-width: 100%;
}

/* ---------- Leadership Section Row (Similar to Mission Section) ---------- */
.careers-leadership-row {
	margin-top: 40px;
	--bs-gutter-x: 1.25rem;
	align-items: stretch;
	justify-content: center;
}

.careers-leadership-row > .col-lg-4:first-child {
	max-width: clamp(280px, 25.28vw, 364px);
	padding-right: 20px;
	max-height: 608px;
}

.careers-leadership-row > .col-lg-4:nth-child(2) {
	max-width: 390px;
	padding-left: 20px;
	padding-right: 20px;
	max-height: 608px;
}

.careers-leadership-row > .col-lg-4:last-child {
	max-width: 530px;
	padding-left: 20px;
	max-height: 608px;
	}

/* ---------- Left Stack (Staff Count + Image) ---------- */
.careers-left-stack {
	display: flex;
	flex-direction: column;
	gap: 30px;
	height: 100%;
	width: 100%;
	max-width: clamp(280px, 25.28vw, 364px);
	max-height: 708px;
}

.careers-left-stack .careers-staff-count-card {
	margin-bottom: 0;
}

.careers-staff-count-card {
	display: flex;
	align-items: center;
	justify-content: space-between;
	padding: 18px 20px;
	background: #FFFFFF;
	border: 1px solid #D9D9D9;
	border-radius: 16px;
	min-height: 84px;
	font-family: 'Hanken Grotesk', sans-serif;
	font-size: 15px;
	font-weight: 600;
	color: #6E6E6E;
	width: 100%;
	max-width: clamp(280px, 25.28vw, 364px);
	max-height: 84px;
	height: 100%;
}

.careers-staff-avatars {
	display: flex;
	align-items: center;
	gap: 3px;
	width: 100%;
	max-width: 143px;
	max-height: 36px;
	height: 100%;
}

.careers-staff-avatar {
	width: 38px;
	height: 38px;
	border-radius: 50%;
	overflow: hidden;
	flex-shrink: 0;
	box-shadow: 0px 0.84px 0.5px -0.31px rgba(0, 0, 0, 0.1), 
	            0px 1.99px 1.19px -0.63px rgba(0, 0, 0, 0.1), 
	            0px 3.63px 2.18px -0.94px rgba(0, 0, 0, 0.1), 
	            0px 6.04px 3.62px -1.25px rgba(0, 0, 0, 0.1), 
	            0px 9.75px 5.85px -1.56px rgba(0, 0, 0, 0.1), 
	            0px 15.96px 9.57px -1.88px rgba(0, 0, 0, 0.1), 
	            0px 27.48px 16.49px -2.19px rgba(0, 0, 0, 0.1), 
	            0px 50px 30px -2.5px rgba(0, 0, 0, 0.1);
}

.careers-staff-avatar img {
	width: 100%;
	max-height: 494px;
	height: 100%;
	object-fit: cover;
}

.careers-staff-avatar:nth-child(1) {
	width: 17px;
	height: 17px;
}

.careers-staff-avatar:nth-child(2) {
	width: 32px;
	height: 32px;
}

.careers-staff-avatar:nth-child(3) {
	width: 26px;
	height: 26px;
}

.careers-staff-avatar:nth-child(4) {
	width: 38px;
	height: 38px;
}

.careers-staff-avatar:nth-child(5) {
	width: 14px;
	height: 14px;
}

.careers-staff-count-text {
	font-family: 'DM Sans', sans-serif;
	font-style: semibold;
	font-weight: 600;
	font-size: 18px;
	line-height: 16px;
	text-align: right;
	letter-spacing: 2%;
	color: #6E6E6E;
	max-width: 100%;
}

/* ---------- Middle Stack (Two Stacked Cards) ---------- */
.careers-middle-stack {
	display: flex;
	flex-direction: column;
	gap: 20px;
	height: 100%;
	max-height: 608px;
	width: 100%;
	max-width: 398px;
}

.careers-leadership-row > .col-lg-4 {
	display: flex;
	flex-direction: column;
}

/* Top Card: Leadership Text + Her Leadership Title */
.careers-leadership-text-card {
	background: #FFFFFF;
	border: 1px solid #D9D9D9;
	border-radius: 20px;
	padding: 32px 28px 28px;
	box-shadow: 0 18px 40px rgba(0, 0, 0, 0.04);
	display: flex;
	flex-direction: column;
	justify-content: flex-start;
	flex: 1;
	max-height: 494px;
	height: 100%;
	width: 100%;
	max-width: 348px;
}

.careers-leadership-text {
	font-family: 'DM Sans', sans-serif;
	font-style: medium;
	font-weight: 500;
	font-size: 16px;
	line-height: 32px;
	color: #1C1C1C;
	margin: 0 0 auto 0;
	padding: 0;
	width: 100%	;
	max-width: 302px;
	max-height: 166px;
	height: 100%;
	text-align: left;
}

/* Bottom Card: Leadership Tag */
.careers-leadership-tag-card {
	background: #FFFFFF;
	border: 1px solid #D9D9D9;
	border-radius: 20px;
	padding: 24px;
	box-shadow: 0 18px 40px rgba(0, 0, 0, 0.04);
	max-height: 84px;
	height: 100%;
	width: 100%;
	max-width: 348px;
}

.careers-leadership-image-card {
	background: #FFFFFF;
	border: 1px solid #D9D9D9;
	border-radius: 20px;
	padding: 0;
	overflow: hidden;
	box-shadow: 0 18px 40px rgba(0, 0, 0, 0.04);
}

.careers-leadership-image-wrapper {
	border-radius: 20px;
	overflow: hidden;
	width: 100%;
}

.careers-leadership-image-wrapper img {
	width: 100%;
	height: auto;
	display: block;
}

.careers-her-leadership-title {
	font-family: 'Hanken Grotesk', sans-serif;
	font-style: normal;
	font-weight: 500;
	font-size: clamp(18px, 2.5vw, 24px);
	line-height: 144%;
	color: #35763A;
	margin: 0;
	margin-top: auto;
	width: 100%;
	max-width: clamp(200px, 25vw, 246px);
	height: auto;
	max-height: none;

	
	text-align: left !important;  
	align-self: flex-start;        
	margin-left: 0;                
	margin-right: auto;
}


.careers-leadership-tag {
	font-family: 'DM Sans', sans-serif;
	font-style: normal;
	font-weight: 500;
	font-size: 14px;
	line-height: 157%;
	color: #6E6E6E;
	display: flex;
	align-items: center;
	gap: 8px;
	width: 100%;
	max-width: 290px;
	max-height: 22px;
	height: 100%;
	margin-top: 5px;

}

.careers-leadership-tag-bullet {
	width: 7px;
	height: 7px;
	background: #35763A;
	border-radius: 50%;
	flex-shrink: 0;
}

/* ---------- Right Green Card (Similar to Mission Stat Card) ---------- */
.careers-leadership-green-card {
	position: relative;
	background: linear-gradient(133.48deg, #35763A 0%, #35763A 100%);
	color: #fff;
	border-radius: 15px;
	padding: 32px 42px 40px;
	width: 100%;
	max-width: 560px;
	height: 100%;
	max-height: 608px;
	box-sizing: border-box;
	margin-left: auto;
	margin-right: auto;
	box-shadow: 0px 0.84px 0.5px -0.31px rgba(0, 0, 0, 0.13), 
	            0px 1.99px 1.19px -0.63px rgba(0, 0, 0, 0.13), 
	            0px 3.63px 2.18px -0.94px rgba(0, 0, 0, 0.13), 
	            0px 6.04px 3.62px -1.25px rgba(0, 0, 0, 0.13), 
	            0px 9.75px 5.85px -1.56px rgba(0, 0, 0, 0.13), 
	            0px 15.96px 9.57px -1.88px rgba(0, 0, 0, 0.13), 
	            0px 27.48px 16.49px -2.19px rgba(0, 0, 0, 0.13), 
	            0px 50px 30px -2.5px rgba(0, 0, 0, 0.13);
	overflow: hidden;
}

.careers-green-card-bg {
	position: absolute;
	top: 0;
	left: 0;
	right: 0;
	bottom: 0;
	background-size: cover;
	background-position: center;
	opacity: 0.2;
	z-index: 0;
}

.careers-green-card-content {
	position: relative;
	z-index: 1;
	color: #FFFFFF;
	display: flex;
	flex-direction: column;
	justify-content: space-between;
	height: 100%;
}

.careers-green-card-text {
	font-family: 'Hanken Grotesk', sans-serif;
	font-style: regular;
	font-size: 20px;
	line-height: 28.8px;
	color: #FFFFFF;
	margin-bottom: 40px;
	position: relative;
	width: 100%;
	max-width: 329px;
	max-height: 116px;
	height: 100%;
}

.careers-green-card-arrow {
	position: absolute;
	left: 17.19%;
	right: 7.81%;
	top: 11.46%;
	bottom: 46.88%;
	pointer-events: none;
	z-index: 0;
}

.careers-green-card-arrow-img {
	width: 100%;
	height: 100%;
	object-fit: contain;
	object-position: center;
	display: block;
	margin-top: 110px;
	max-width: 288px;
	max-height: 160px;
}

.careers-green-card-stats {
	position: relative;
	display: flex;
	flex-direction: row;
	align-items: center;
	justify-content: space-between;
	gap: 4px;
	margin-top: auto;
	padding-top: 40px;
	z-index: 1;
}

.careers-female-leaders-percentage {
	font-family: 'Hanken Grotesk', sans-serif;
	font-style: medium;
	font-size: 50px;
	font-weight: 500;
	line-height: 67px;
	letter-spacing: 1px;
	color: #F5F5F5;
	text-align: right;
}

.careers-female-leaders-label {
	font-family: 'Hanken Grotesk', sans-serif;
	font-style: regular;
	font-size: 14px;
	line-height: 27px;
	color: #FFFFFF;
	text-align: left;
	margin-top: 30px;
}

/* =========================
   REWARDS THAT MATCH PERFORMANCE SECTION
   (Using careers-horizontal-cards-section template)
   ========================= */

/* Page-specific overrides for horizontal cards section */
#career-why-join-ucs-page .careers-horizontal-cards-section {
	padding: 60px 0;
	background: #35763A;
}

#career-why-join-ucs-page .careers-horizontal-cards-section__title {
	font-family: 'Hanken Grotesk', system-ui, -apple-system, sans-serif;
	font-style: normal;
	font-weight: 500;
	font-size: clamp(28px, 4vw, 36px);
	line-height: 144%;
	color: #FFFFFF;
	margin-bottom: 1rem;
}

#career-why-join-ucs-page .careers-horizontal-cards-section__description {
	font-family: 'Hanken Grotesk', system-ui, -apple-system, sans-serif;
	font-style: normal;
	font-weight: 400;
	font-size: clamp(14px, 2vw, 16px);
	line-height: 150%;
	color: #FFFFFF;
	margin-bottom: 0;
}

#career-why-join-ucs-page .careers-horizontal-cards-section__card {
	width: 306px;
	min-width: 306px;
	max-width: 306px;
	transition: transform 0.3s ease;
	margin-top: 90px;
}

#career-why-join-ucs-page .careers-horizontal-cards-section__card:hover {
	transform: translateY(-10px);
}

#career-why-join-ucs-page .careers-horizontal-cards-section__card-title {
	font-family: 'Hanken Grotesk', system-ui, -apple-system, sans-serif;
	font-style: normal;
	font-weight: 500;
	font-size: 18px;
	line-height: 18px;
	letter-spacing: 0.01em;
	color: #FFFFFF;
	margin-bottom: 20px;
}

#career-why-join-ucs-page .careers-horizontal-cards-section__card-image-wrapper {
	width: 100%;
	height: 396px;
	border-radius: 16px;
	overflow: hidden;
	margin-bottom: 20px;
	box-shadow: 0px 4px 4px rgba(0, 0, 0, 0.25);
	transition: transform 0.3s ease, box-shadow 0.3s ease;
}

#career-why-join-ucs-page .careers-horizontal-cards-section__card-image-wrapper:hover {
	transform: scale(1.05);
	box-shadow: 0px 8px 16px rgba(0, 0, 0, 0.4);
}

#career-why-join-ucs-page .careers-horizontal-cards-section__card-image {
	width: 100%;
	height: 100%;
	object-fit: cover;
	transition: transform 0.3s ease;
}

#career-why-join-ucs-page .careers-horizontal-cards-section__card:hover .careers-horizontal-cards-section__card-image {
	transform: scale(1.1);
}

/* Style description text to match image - white text, two-line format */
#career-why-join-ucs-page .careers-horizontal-cards-section__card-description {
	font-family: 'Hanken Grotesk';
	font-style: medium;
	font-weight: 500;
	font-size: 15px;
	line-height: 25px;
	letter-spacing: 1.5%;
	color: #FFFFFF;
	margin-top: 1px;
	margin-right: 10px;
	text-align: left;
	width: 100%;
	max-width: 250px;
}

/* Reduce gap between reward cards - override Swiper spaceBetween */
#career-why-join-ucs-page .careers-horizontal-cards-swiper .swiper-slide {
	margin-right: 0px !important;
	width: auto !important;
}

/* Override Swiper's spaceBetween by adjusting the wrapper */
#career-why-join-ucs-page .careers-horizontal-cards-swiper .swiper-wrapper {
	gap: 24px !important;
}

/* Ensure cards have no extra spacing */
#career-why-join-ucs-page .careers-horizontal-cards-section__card {
	margin-right: 0 !important;
	margin-left: 0 !important;
	padding: 0 !important;
}

/* =========================
   JOIN UCS BENEFITS SECTION
   ========================= */

/* ---------- BENEFITS SECTION ---------- */
.careers-benefits-section {
	background: #F3F3F3;
	padding: 80px 10px;
	position: relative;
	overflow: hidden;
	overflow-x: hidden;
	min-height: 200px;
	display: block;
}

.careers-benefits-section .container {
	max-width: 1300px;
	overflow-x: hidden;
}

/* Image Gallery Wrapper */
.careers-benefits-image-wrapper {
	position: relative;
	width: 100%;
	min-height: 500px;
	height: 830.66px;
	max-width: 550px;
	margin: 0 auto;
	padding-left: 10px;
	right: 10px;
	overflow: hidden;
	box-sizing: border-box;
}

.careers-benefit-image {
	position: absolute;
	border-radius: 10px;
	overflow: hidden;
	display: block;
	visibility: visible;
	box-sizing: border-box;
	max-width: 100%;
}

.careers-benefit-image img {
	width: 100%;
	height: 100%;
	object-fit: cover;
	border-radius: 10px;
	max-width: 100%;
	display: block;
}

/* Main large image on left */
.careers-benefit-image--left-top {
	max-width: calc(100% + 20px);
	left: -10px;
	top: 0;
	bottom: 0;
	z-index: 1;
	width: calc(100% + 20px);
	height: 830.66px;
	box-sizing: border-box;
}

/* Prevent overflow on medium screens - adjust negative positioning */
@media (min-width: 1305px) and (max-width: 1400px) {
	.careers-benefits-section {
		overflow-x: hidden;
	}

	.careers-benefits-section .container {
		overflow-x: hidden;
	}

	.careers-benefits-image-wrapper {
		overflow: hidden;
	}

	.careers-benefit-image--left-top {
		left: -10px;
		max-width: calc(100% + 10px);
		width: calc(100% + 10px);
	}
}

/* Prevent overflow on smaller desktop screens */
@media (min-width: 1200px) and (max-width: 1304px) {
	.careers-benefits-section {
		overflow-x: hidden;
	}

	.careers-benefits-section .container {
		overflow-x: hidden;
	}

	.careers-benefits-image-wrapper {
		overflow: visible;
		padding-left: 10px;
		padding-right: 10px;
	}

	.careers-benefit-image {
		position: relative !important;
		left: 0 !important;
	}

	.careers-benefit-image--left-top {
		left: 0 !important;
		max-width: 100%;
		width: 100%;
		position: relative !important;
		height: auto;
	}

	.careers-benefits-content {
		overflow: visible;
		padding: 10px;
		box-sizing: border-box;
	}

	.careers-benefits-content-title,
	.careers-benefits-content-description,
	.careers-benefits-list {
		box-sizing: border-box;
		padding: 0 5px;
	}

	.careers-benefits-list-item {
		overflow: visible;
		box-sizing: border-box;
		border-radius: 10px;
	}
}

/* Content Column */
.careers-benefits-content {
	padding-left: 15px;
	max-width: 590px;
	min-height: auto;
	height: auto;
	max-height: none;
	width: 100%;
	box-sizing: border-box;
	overflow: visible;
}

.careers-benefits-content-title {
	font-family: 'Hanken Grotesk', sans-serif;
	font-style: normal;
	font-weight: 500;
	font-size: 36px;
	line-height: 144%; /* 52px */
	color: #000000;
	margin-bottom: 10px;
	margin-top: 15px;
	max-width: 590px;
	width: 100%;
	box-sizing: border-box;
}

.careers-benefits-content-description {
	font-family: 'Hanken Grotesk', sans-serif;
	font-style: normal;
	font-weight: 400;
	font-size: 16px;
	line-height: 200%; /* 32px */
	color: #333333;
	margin-bottom: 40px;
	margin-top: 5px;
	max-width: 550px;
	width: 100%;
	box-sizing: border-box;
}

/* List Items */
.careers-benefits-list {
	display: flex;
	flex-direction: column;
	gap: 20px;
	margin-bottom: 40px;
	margin-top: -20px;
	max-width: 646px;
	width: 100%;
	min-height: 477.91px;
	height: auto;
	box-sizing: border-box;
	overflow: visible;
}

.careers-benefits-list-item {
	background: #FFFFFF;
	border-radius: 10px;
	padding: 20px 31px;
	display: flex;
	gap: 37.5px;
	align-items: flex-start;
	min-height: 145.97px;
	height: auto;
	box-sizing: border-box;
	overflow: visible;
}

.careers-benefits-list-details {
	flex: 1;
}

.careers-benefits-list-title {
	font-family: 'Hanken Grotesk', sans-serif;
	font-style: normal;
	font-weight: 500;
	font-size: 24px;
	line-height: 29px;
	color: #000000;
	margin-bottom: 4px;
	margin-top: 3px;
}

	.careers-benefits-list-description {
		font-family: 'Hanken Grotesk', sans-serif;
		font-style: normal;
		font-weight: 400;
		font-size: 16px;
		line-height: 169%; /* 27px */
		color: #333333;
		margin: 0;
		margin-top: 20px;
		max-width: 402px;
		width: 100%;
	}

	/* Shift benefits content up and increase gap between image and content */
.careers-benefits-section .row.g-5.align-items-center {
	align-items: flex-start !important;
	gap: 4rem !important; /* Increase from g-5 (3rem) to 4rem (64px) */
}

/* Shift content column up a bit */
.careers-benefits-content {
	margin-top: 50px; /* Adjust this value to shift content up more/less */
	padding-left: 30px; /* Increase from 15px to 30px for more gap */
}

/* =========================
   BENEFITS SECTION RESPONSIVE (768px - 991.98px) - Tablets
   ========================= */
@media (min-width: 768px) and (max-width: 991.98px) {
	.careers-benefits-section .row.g-5.align-items-center {
		justify-content: center;
		gap: 2.5rem !important;
	}

	.careers-benefits-images {
		justify-content: center;
	}

	.careers-benefit-image img {
		object-fit: cover;
	}

	.careers-benefits-image-wrapper {
		margin: 0 auto 2rem;
		max-width: 500px;
	}

	.careers-benefits-content {
		margin-left: auto;
		margin-right: auto;
		margin-top: 0 !important;
		max-width: 500px;
		width: 100%;
		padding-left: 15px;
		box-sizing: border-box;
	}

	.careers-benefits-content-title {
		margin-left: auto;
		margin-right: auto;
		max-width: 100%;
		width: 100%;
	}

	.careers-benefits-content-description {
		margin-left: auto;
		margin-right: auto;
		max-width: 100%;
		width: 100%;
	}

	.careers-benefits-list {
		margin-left: auto;
		margin-right: auto;
		max-width: 100%;
		width: 100%;
	}
}

/* =========================
   BENEFITS SECTION CENTERED (992px - 1304px)
   ========================= */
@media (min-width: 992px) and (max-width: 1304px) {
	.careers-benefits-section {
		overflow-x: hidden;
	}

	.careers-benefits-section .container {
		overflow-x: hidden;
	}

	.careers-benefits-section .row.g-5.align-items-center {
		justify-content: center;
	}

	.careers-benefits-images {
		display: flex;
		justify-content: center;
		overflow: visible;
	}

	.careers-benefits-image-wrapper {
		margin: 0 auto;
		max-width: 500px;
		overflow: visible;
		padding: 10px;
		right: 0;
		box-sizing: border-box;
	}

	.careers-benefit-image {
		position: relative !important;
		left: 0 !important;
		right: 0 !important;
		top: 0 !important;
		bottom: auto !important;
		width: 100% !important;
		max-width: 100% !important;
	}

	.careers-benefit-image--left-top {
		left: 0 !important;
		max-width: 100% !important;
		width: 100% !important;
		height: auto !important;
		position: relative !important;
		top: 0 !important;
		bottom: auto !important;
	}

	.careers-benefit-image img {
		width: 100%;
		height: auto;
		object-fit: cover;
		border-radius: 10px;
		display: block;
	}

	.careers-benefits-content {
		margin-left: auto;
		margin-right: auto;
		max-width: 500px;
		width: 100%;
		box-sizing: border-box;
		overflow: visible;
		padding: 10px;
	}

	.careers-benefits-content-title {
		margin-left: auto;
		margin-right: auto;
		max-width: 100%;
		width: 100%;
		box-sizing: border-box;
		padding: 0 5px;
	}

	.careers-benefits-content-description {
		margin-left: auto;
		margin-right: auto;
		max-width: 100%;
		width: 100%;
		box-sizing: border-box;
		padding: 0 5px;
	}

	.careers-benefits-list {
		margin-left: auto;
		margin-right: auto;
		max-width: 100%;
		width: 100%;
		overflow: visible;
		box-sizing: border-box;
		padding: 0 5px;
	}

	.careers-benefits-list-item {
		width: 100%;
		max-width: 100%;
		box-sizing: border-box;
		overflow: visible;
		border-radius: 10px;
	}
}

/* =========================
   UCS EMPLOYEE STORIES SECTION
   ========================= */

.careers-employee-stories-section {
	padding: 0;
	background: #FFF8E7; 
	position: relative;
	overflow: hidden;
	overflow-x: hidden;
	width: 100%;
	max-width: 100%;
}

.careers-employee-stories-section .container {
	max-width: 100%;
	padding: 0;
	position: relative;
	overflow-x: hidden;
	width: 100%;
}

.careers-stories-container {
	position: relative;
	width: 100%;
	max-width: 1440px;
	min-height: 900px;      /* keep tall look on big screens */
	height: auto;           /* let height adjust as text wraps */
	max-height: none;       /* no squeezing */
	background: transparent;
	margin: 0 auto;
	overflow-x: hidden;     /* keep sideways clean */
	overflow-y: visible;    /* don’t cut off content vertically */
}

/* Make container height responsive on smaller screens */
@media (max-width: 991.98px) {
	.careers-stories-container {
		height: auto;
	}
}

/* Background Ellipse Images */
.careers-story-bg-ellipses {
	position: absolute;
	left: 0;
	right: 0;
	top: 0;
	bottom: 0;
	pointer-events: none;
	overflow: hidden;
	max-width: 100%;
	max-height: 100%;
	z-index: 1;
}

.careers-story-bg-ellipse {
	position: absolute;
	width: clamp(50px, 6.25vw, 90px);
	height: clamp(50px, 6.25vw, 90px);
	border-radius: 50%;
	background-size: cover;
	background-position: center;
	background-repeat: no-repeat;
	opacity: 0;
	transition: opacity 0.2s ease-in-out;
	max-width: 90px;
	max-height: 90px;
}

/* Ellipse 176 - Default: Left side */
.careers-story-bg-ellipse-1 {
	left: 10.07%;
	right: 83.68%;
	top: 42.87%;
	bottom: 45.88%;
	transform: rotate(-18.09deg);
}

/* Ellipse 194 - Default: Right side bottom */
.careers-story-bg-ellipse-2 {
	left: 80.62%;
	right: 13.13%;
	top: 65.5%;
	bottom: 23.25%;
	transform: rotate(29.89deg);
}

/* Ellipse 181 - Default: Right side top */
.careers-story-bg-ellipse-3 {
	left: 81.75%;
	right: 12%;
	top: 16.02%;
	bottom: 72.73%;
	transform: rotate(6.48deg);
}

/* State A: 1 left, 2 right */
.careers-stories-container.bg-layout-1left-2right .careers-story-bg-ellipse-1 {
	left: 10.07%;
	right: 83.68%;
	top: 42.87%;
	bottom: 45.88%;
	transform: rotate(-18.09deg);
	opacity: 0.5;
}

.careers-stories-container.bg-layout-1left-2right .careers-story-bg-ellipse-2 {
	left: 80.62%;
	right: 13.13%;
	top: 65.5%;
	bottom: 23.25%;
	transform: rotate(29.89deg);
	opacity: 0.5;
}

.careers-stories-container.bg-layout-1left-2right .careers-story-bg-ellipse-3 {
	left: 81.75%;
	right: 12%;
	top: 16.02%;
	bottom: 72.73%;
	transform: rotate(6.48deg);
	opacity: 0.5;
}

/* State B: 2 left, 1 right (mirror of State A) */
/* Ellipse 1: Mirror from left-middle to right-middle */
.careers-stories-container.bg-layout-2left-1right .careers-story-bg-ellipse-1 {
	left: 83.68%;
	right: 10.07%;
	top: 42.87%;
	bottom: 45.88%;
	transform: rotate(18.09deg); /* Mirror rotation */
	opacity: 0.5;
}

/* Ellipse 2: Mirror from bottom-right to bottom-left */
.careers-stories-container.bg-layout-2left-1right .careers-story-bg-ellipse-2 {
	left: 13.13%;
	right: 80.62%;
	top: 65.5%;
	bottom: 23.25%;
	transform: rotate(-29.89deg); /* Mirror rotation */
	opacity: 0.5;
}

/* Ellipse 3: Mirror from top-right to top-left */
.careers-stories-container.bg-layout-2left-1right .careers-story-bg-ellipse-3 {
	left: 12%;
	right: 81.75%;
	top: 16.02%;
	bottom: 72.73%;
	transform: rotate(-6.48deg); /* Mirror rotation */
	opacity: 0.5;
}

/* Title */
.careers-stories-title {
	position: absolute;
	left: 30%;
	right: 30%;
	top: 6.75%;
	bottom: 86.75%;
	font-family: 'Hanken Grotesk', sans-serif;
	font-style: normal;
	font-weight: 500;
	font-size: clamp(24px, 2.5vw, 36px);
	line-height: 144%;
	color: #1E1E1E;
	margin: 0;
	text-align: center;
	z-index: 2;
}

/* Switch title to relative positioning on smaller screens */
@media (max-width: 991.98px) {
	.careers-stories-title {
		position: relative;
		left: auto;
		right: auto;
		top: auto;
		bottom: auto;
		margin: 0 auto 30px;
		padding: 0;
	}
}

.careers-stories-carousel-wrapper {
	position: absolute;
	left: 23.96%;
	right: 23.96%;
	top: 16.25%;
	bottom: 15%;
	z-index: 2;
	padding: 0 60px;
}

/* Switch to relative positioning on smaller screens */
@media (max-width: 991.98px) {
	.careers-stories-carousel-wrapper {
		position: relative;
		left: auto;
		right: auto;
		top: auto;
		bottom: auto;
		margin: 0 auto;
		max-width: 750px;
		min-height: 500px;
		padding: 0 60px 0;
		margin-top: 0;
		margin-bottom: 0;
	}

	.careers-story-content-wrapper {
		max-width: 600px;
		padding: 0 15px;
	}
}

.careers-stories-carousel {
	position: relative;
	width: 100%;
	height: 100%;
}

.careers-story-slide {
	display: none;
	opacity: 0;
	transition: opacity 0.5s ease-in-out;
}

.careers-story-slide.active {
	display: block;
	opacity: 1;
}

.careers-story-content {
	text-align: center;
	padding: 0;
	height: 100%;
	display: flex;
	flex-direction: column;
	justify-content: center;
	align-items: center;
}

.careers-story-content-wrapper {
	width: 100%;
	max-width: 750px;
	margin: 0 auto;
	padding: 0 20px;
	box-sizing: border-box;
}

.careers-story-avatar-wrapper {
	position: relative;
	display: inline-block;
	margin: 0 auto 30px;
	margin-top: -15px;
}

.careers-story-avatar {
	width: clamp(60px, 8vw, 100px);  
	height: clamp(60px, 8vw, 100px);
	border-radius: 50%;
	overflow: hidden;
	box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
	position: relative;
}

.careers-story-avatar img {
	width: 100%;
	height: 100%;
	max-width: 100px;
	max-height: 100px;
	object-fit: cover;
}

.careers-story-quote-icon {
	position: absolute;
	top: 0;
	right: 0;
	width: 24px;
	height: 24px;
	z-index: 10;
	display: flex;
	align-items: center;
	justify-content: center;
	border-radius: 50%;
	overflow: hidden;
}

.careers-story-quote-icon svg {
	width: 100%;
	height: 100%;
}

.careers-story-quote {
	font-family: 'DM Sans', sans-serif;
	font-style: normal;
	font-weight: 500;
	font-size: clamp(18px, 2.5vw, 23px);
	line-height: 157%;
	color: #1E1E1E;
	padding: 0;
	border: none;
	margin-top: -10px;
	width: 100%;
	max-width: 498px;
	margin-left: auto;
	margin-right: auto;
	text-align: center;
}

.careers-story-text {
	font-family: 'DM Sans', sans-serif;
	font-style: normal;
	font-weight: 400;
	font-size: clamp(13px, 1.5vw, 14px);
	line-height: 25px;
	color: #000000;
	text-align: center;
	max-width: 526px;
	width: 100%;
	margin-top: -20px;
	margin-left: auto;
	margin-right: auto;
}

.careers-story-text p {
	margin-bottom: 15px;
}

.careers-story-text p:last-child {
	margin-bottom: 0;
}

.careers-story-author {
	margin-top: 8px;
}

.careers-story-name {
	font-family: 'DM Sans', sans-serif;
	font-style: normal;
	font-weight: 500;
	font-size: clamp(16px, 2vw, 18px);
	line-height: 156%;
	color: #333333;
	margin-top: -10px;
}

.careers-story-position {
	font-family: 'DM Sans', sans-serif;
	font-style: normal;
	font-weight: 400;
	font-size: clamp(14px, 1.75vw, 16px);
	line-height: 150%;
	color: rgba(0, 0, 0, 0.8);
}

.careers-carousel-nav {
	position: absolute;
	top: 50%;
	transform: translateY(-50%);
	width: 40px;
	height: 40px;
	background: #DAF6DC;
	border: none;
	border-radius: 10px;
	cursor: pointer;
	display: flex;
	align-items: center;
	justify-content: center;
	z-index: 15;
	transition: background-color 0.3s ease;
}

.careers-carousel-nav:hover {
	background: #35763A;
}

.careers-carousel-nav:hover svg path {
	stroke: #FFFFFF;
}

	.careers-carousel-prev {
		left: clamp(-60px, -4.17vw, -40px);
	}

	.careers-carousel-next {
		right: clamp(-60px, -4.17vw, -40px);
	}

/* Lock arrows at fixed position for screens >= 1440px */
@media (min-width: 1440px) {
	.careers-carousel-prev {
		left: -10px;
	}

	.careers-carousel-next {
		right: -10px;
	}
}

/* Switch navigation arrows to inside positioning on smaller screens */
@media (max-width: 991.98px) {
	.careers-carousel-prev {
		left: 10px;
	}

	.careers-carousel-next {
		right: 10px;
	}
}

	.careers-carousel-pagination {
		position: relative;
		bottom: auto;
		left: auto;
		transform: none;
		display: flex;
		justify-content: center;
		gap: 8px;
		z-index: 15;
		margin-top: 20px;
		margin-bottom: 0;
	}

.careers-carousel-dot {
	width: 10px;
	height: 10px;
	border-radius: 50%;
	border: none;
	background: #D9D9D9;
	cursor: pointer;
	padding: 0;
	transition: background-color 0.3s ease;
	margin-top: 50px;
}

.careers-carousel-dot.active {
	background: #35763A;
}

@media (max-width: 1260px) {
	.careers-carousel-pagination {
		margin-top: 32px; /* was 20px – increase gap */
	}
}

@media (max-width: 1260px) {
	.careers-story-author {
		margin-bottom: 35px;  /* was 20px */
	}
}

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

@media (max-width: 991.98px) {
	.careers-leadership-section,
	.careers-rewards-section {
		padding: 40px 0;
	}

	/* Benefits Section Responsive - Below 992px */
	.careers-benefits-section {
		padding: 60px 15px;
		overflow-x: hidden;
	}

	.careers-benefits-section .container {
		padding-left: 0;
		padding-right: 0;
		overflow-x: hidden;
	}

	/* Reduce gap spacing on tablets */
	.careers-benefits-section .row.g-5.align-items-center {
		gap: 2rem !important;
		margin-left: 0;
		margin-right: 0;
	}

	/* Reset content margins and padding for responsive */
	.careers-benefits-content {
		margin-top: 0 !important;
		margin-left: 0 !important;
		margin-right: 0 !important;
		padding-left: 0 !important;
		padding-right: 0 !important;
		max-width: 100%;
		width: 100%;
		box-sizing: border-box;
	}

	/* Make image wrapper responsive */
	.careers-benefits-image-wrapper {
		height: auto;
		min-height: 400px;
		max-width: 100%;
		padding-left: 0;
		right: 0;
		margin-bottom: 2rem;
		overflow: hidden;
		box-sizing: border-box;
	}

	/* Convert absolute positioning to relative for responsive */
	.careers-benefit-image {
		position: relative !important;
		width: 100% !important;
		height: auto !important;
		left: auto !important;
		right: auto !important;
		top: auto !important;
		bottom: auto !important;
	}

	.careers-benefit-image--left-top {
		max-width: 100%;
		width: 100%;
		height: auto;
		left: auto;
		right: auto;
		top: auto;
		bottom: auto;
	}

	.careers-benefit-image img {
		height: auto;
		object-fit: cover;
	}

	/* Make badges relative for responsive */
	.careers-benefit-badge {
		position: relative !important;
		left: auto !important;
		top: auto !important;
		margin: 8px 8px 0 0;
		display: inline-flex;
	}

	/* Adjust content widths */
	.careers-benefits-content-title,
	.careers-benefits-content-description,
	.careers-benefits-list {
		max-width: 100%;
		width: 100%;
		margin-left: 0;
		margin-right: 0;
		padding-left: 0;
		padding-right: 0;
		box-sizing: border-box;
	}

	/* Make list items flexible height */
	.careers-benefits-list {
		height: auto;
		min-height: auto;
		margin-left: 0;
		margin-right: 0;
	}

	.careers-benefits-list-item {
		height: auto;
		min-height: auto;
		margin-left: 0;
		margin-right: 0;
		width: 100%;
		max-width: 100%;
		box-sizing: border-box;
	}

	.careers-employee-stories-section {
		padding: 0;
	}

	/* Employee Stories Section Responsive */
	.careers-employee-stories-section .container {
		max-width: 100%;
		padding-left: 15px;
		padding-right: 15px;
		overflow-x: hidden;
	}

	.careers-stories-container {
		width: 100%;
		max-width: 100%;
		height: auto;
		min-height: 600px;
		position: relative;
		padding: 20px 20px;
		overflow: hidden;
		overflow-x: hidden;
	}

	.careers-stories-title {
		position: relative;
		left: auto;
		right: auto;
		top: auto;
		bottom: auto;
		margin-bottom: 20px;
		margin-top: 0;
		padding: 0;
		font-size: 28px;
	}

	.careers-carousel-pagination {
		margin-top: 20px;
		margin-bottom: 0;
	}

	.careers-carousel-prev {
		left: 10px;
	}

	.careers-carousel-next {
		right: 10px;
	}

	.careers-story-bg-ellipse {
		width: clamp(60px, 7vw, 80px);
		height: clamp(60px, 7vw, 80px);
		max-width: 80px;
		max-height: 80px;
	}

	/* Adjust ellipse positions for tablet to prevent overlap */
	.careers-story-bg-ellipse-1 {
		left: 5% !important;
		right: auto !important;
		top: 15% !important;
		bottom: auto !important;
	}

	.careers-story-bg-ellipse-2 {
		left: auto !important;
		right: 5% !important;
		top: auto !important;
		bottom: 15% !important;
	}

	.careers-story-bg-ellipse-3 {
		left: auto !important;
		right: 5% !important;
		top: 15% !important;
		bottom: auto !important;
	}

	/* State A: 1 left, 2 right - tablet adjustments */
	.careers-stories-container.bg-layout-1left-2right .careers-story-bg-ellipse-1 {
		left: 5% !important;
		right: auto !important;
		top: 15% !important;
		bottom: auto !important;
	}

	.careers-stories-container.bg-layout-1left-2right .careers-story-bg-ellipse-2 {
		left: auto !important;
		right: 5% !important;
		top: auto !important;
		bottom: 15% !important;
	}

	.careers-stories-container.bg-layout-1left-2right .careers-story-bg-ellipse-3 {
		left: auto !important;
		right: 5% !important;
		top: 15% !important;
		bottom: auto !important;
	}

	/* State B: 2 left, 1 right - tablet adjustments */
	.careers-stories-container.bg-layout-2left-1right .careers-story-bg-ellipse-1 {
		left: auto !important;
		right: 5% !important;
		top: 15% !important;
		bottom: auto !important;
	}

	.careers-stories-container.bg-layout-2left-1right .careers-story-bg-ellipse-2 {
		left: 5% !important;
		right: auto !important;
		top: auto !important;
		bottom: 15% !important;
	}

	.careers-stories-container.bg-layout-2left-1right .careers-story-bg-ellipse-3 {
		left: 5% !important;
		right: auto !important;
		top: 15% !important;
		bottom: auto !important;
	}

	.careers-leadership-row > .col-lg-4 {
		max-width: 100% !important;
	}

	.careers-leadership-row > .col-lg-4:first-child {
		padding-left: 20px;
	}

	.careers-leadership-row > .col-lg-4:last-child{
		padding-right: 20px;
	}

	.careers-staff-count-card {
		max-width: 100%;
	}

	.careers-left-stack,
	.careers-middle-stack {
		width: 100%;
		max-width: 100%;
		margin: 0 auto;
		justify-content: space-between;
	}
	.careers-middle-stack {
		align-items: end;
	}

	.careers-leadership-green-card {
		width: 100%;
		max-width: 100%;
		height: 100%;
		min-height: 580px;
		margin: 0 auto;
	}

	.careers-green-card-arrow {
		width: 240px;
		height: 240px;
		top: 180px;
	}

	.careers-female-leaders-percentage {
		font-size: 46px;
		line-height: 62px;
	}

	#career-why-join-ucs-page .careers-horizontal-cards-section__card {
		width: 280px;
		min-width: 280px;
		max-width: 280px;
	}

	#career-why-join-ucs-page .careers-horizontal-cards-section__card-image-wrapper {
		height: 350px;
	}

	/* Benefits Section Responsive - Below 992px */
	.careers-benefits-section .row.g-5.align-items-center {
		flex-direction: column;
		align-items: center;
		gap: 2rem !important;
	}

	.careers-benefits-images,
	.careers-benefits-content {
		width: 100%;
		max-width: 100%;
	}

	.careers-benefits-image-wrapper {
		width: 100%;
		max-width: 100%;
		height: auto;
		min-height: 400px;
		padding-left: 0;
		right: 0;
		margin: 0 auto 2rem;
		overflow: hidden;
		box-sizing: border-box;
	}

	.careers-benefit-image {
		position: relative !important;
		width: 100% !important;
		height: auto !important;
		left: auto !important;
		right: auto !important;
		top: auto !important;
		bottom: auto !important;
	}

	.careers-benefit-image--left-top {
		max-width: 100%;
		width: 100%;
		height: auto;
		left: auto;
		right: auto;
		top: auto;
		bottom: auto;
	}

	.careers-benefit-image img {
		height: auto;
		object-fit: cover;
	}

	.careers-benefit-badge {
		position: relative !important;
		left: auto !important;
		top: auto !important;
		margin: 8px 8px 0 0;
		display: inline-flex;
	}

	.careers-benefits-content {
		padding-left: 0 !important;
		margin-top: 0 !important;
		height: auto;
		width: 100%;
		max-width: 100%;
		margin-left: auto;
		margin-right: auto;
		box-sizing: border-box;
	}

	.careers-benefits-content-title {
		max-width: 100%;
		width: 100%;
		margin-left: auto;
		margin-right: auto;
		font-size: clamp(24px, 5vw, 36px);
	}

	.careers-benefits-content-description {
		max-width: 100%;
		width: 100%;
		margin-left: auto;
		margin-right: auto;
		font-size: clamp(14px, 2vw, 16px);
	}

	.careers-benefits-list {
		max-width: 100%;
		width: 100%;
		margin-left: auto;
		margin-right: auto;
		height: auto;
		min-height: auto;
		align-items: stretch;
	}

	.careers-benefits-list-item {
		width: 100%;
		max-width: 100%;
		margin: 0 auto;
		height: auto;
		min-height: auto;
	}

	.careers-stories-carousel-wrapper {
		max-width: 100%;
		padding: 0 50px;
	}

	.careers-carousel-nav {
		width: 35px;
		height: 35px;
	}

	.careers-carousel-prev {
		left: 10px;
	}

	.careers-carousel-next {
		right: 10px;
	}
}

@media (max-width: 767.98px) {

	.careers-leadership-row{
		margin-top: 0px;
	}

	.careers-section-title {
		font-size: 28px;
	}

	.careers-staff-count-card {
		gap: 10px;
	}

	.careers-staff-count-text {
		text-align: left;
	}

	.careers-leadership-text {
		max-width: 100%;
		margin: 0;
	}

	.careers-her-leadership-title{
		margin: 0;
	}

	.careers-leadership-text-card {
		padding: 24px 20px;
		max-width: 100%;
		gap: 50px;
	}
	.careers-leadership-tag-card {
		max-width: 100%;
	}

	.careers-leadership-image-card {
		min-height: 250px;
	}

	.careers-her-leadership-card {
		padding: 20px;
	}

	.careers-leadership-green-card {
		min-height: 350px !important;
		padding: 20px 16px;
	}

	.careers-green-card-arrow {
		width: 120px;
		height: 120px;
		top: 0;
	}

	.careers-green-card-text {
		font-size: 15px;
		line-height: 22px;
		margin-bottom: 24px;
		max-width: 100%;
	}
	.careers-green-card-arrow{
		left: calc(50% - 60px);
	}

	.careers-female-leaders-percentage {
		font-size: 32px;
		line-height: 42px;
	}

	.careers-female-leaders-label {
		font-size: 12px;
		line-height: 18px;
	}

	#career-why-join-ucs-page .careers-horizontal-cards-section__card {
		width: 250px;
		min-width: 250px;
		max-width: 250px;
	}

	#career-why-join-ucs-page .careers-horizontal-cards-section__card-image-wrapper {
		height: 300px;
	}

	.careers-benefits-list-title {
		font-size: 20px;
	}

	.careers-story-avatar {
		width: 100px;
		height: 100px;
	}

	.careers-story-avatar-wrapper {
		margin-bottom: 25px;
	}

	.careers-story-content {
		padding: 30px 15px;
	}

	/* Employee Stories Mobile (768px and below) */
	.careers-employee-stories-section .careers-stories-container {
		padding: 30px 15px;
		min-height: 500px;
	}

	.careers-employee-stories-section .careers-stories-title {
		padding: 0;
		font-size: 24px;
		margin-bottom: 20px;
	}

	.careers-employee-stories-section .careers-stories-carousel-wrapper {
		padding: 0 50px;
		min-height: 400px;
	}

	.careers-employee-stories-section .careers-story-bg-ellipse {
		width: clamp(40px, 8vw, 60px);
		height: clamp(40px, 8vw, 60px);
		max-width: 60px;
		max-height: 60px;
		opacity: 0.3;
	}

	/* Mobile ellipse positions - keep them in corners */
	.careers-employee-stories-section .careers-story-bg-ellipse-1 {
		left: 3% !important;
		right: auto !important;
		top: 10% !important;
		bottom: auto !important;
	}

	.careers-employee-stories-section .careers-story-bg-ellipse-2 {
		left: auto !important;
		right: 3% !important;
		top: auto !important;
		bottom: 10% !important;
	}

	.careers-employee-stories-section .careers-story-bg-ellipse-3 {
		left: auto !important;
		right: 3% !important;
		top: 10% !important;
		bottom: auto !important;
	}

	/* State A: 1 left, 2 right - mobile adjustments */
	.careers-employee-stories-section .careers-stories-container.bg-layout-1left-2right .careers-story-bg-ellipse-1 {
		left: 3% !important;
		right: auto !important;
		top: 10% !important;
		bottom: auto !important;
	}

	.careers-employee-stories-section .careers-stories-container.bg-layout-1left-2right .careers-story-bg-ellipse-2 {
		left: auto !important;
		right: 3% !important;
		top: auto !important;
		bottom: 10% !important;
	}

	.careers-employee-stories-section .careers-stories-container.bg-layout-1left-2right .careers-story-bg-ellipse-3 {
		left: auto !important;
		right: 3% !important;
		top: 10% !important;
		bottom: auto !important;
	}

	/* State B: 2 left, 1 right - mobile adjustments */
	.careers-employee-stories-section .careers-stories-container.bg-layout-2left-1right .careers-story-bg-ellipse-1 {
		left: auto !important;
		right: 3% !important;
		top: 10% !important;
		bottom: auto !important;
	}

	.careers-employee-stories-section .careers-stories-container.bg-layout-2left-1right .careers-story-bg-ellipse-2 {
		left: 3% !important;
		right: auto !important;
		top: auto !important;
		bottom: 10% !important;
	}

	.careers-employee-stories-section .careers-stories-container.bg-layout-2left-1right .careers-story-bg-ellipse-3 {
		left: 3% !important;
		right: auto !important;
		top: 10% !important;
		bottom: auto !important;
	}
}

@media (max-width: 575.98px) {
	.careers-leadership-section,
	.careers-rewards-section,
	.careers-benefits-section {
		padding: 30px 0;
	}

	.careers-employee-stories-section {
		padding: 0;
	}

	/* Employee Stories Section Small Mobile (576px and below) */
	.careers-employee-stories-section .careers-stories-container {
		padding: 15px 15px;
		min-height: 500px;
		overflow: hidden;
	}

	.careers-employee-stories-section .careers-stories-title {
		font-size: 24px;
		margin-bottom: 15px;
		margin-top: 0;
		padding: 0;
	}

	.careers-employee-stories-section .careers-stories-carousel-wrapper {
		min-height: 400px;
		padding: 0 50px;
		margin-top: 0;
		margin-bottom: 0;
	}

	.careers-employee-stories-section .careers-story-content-wrapper {
		max-width: 100%;
		padding: 0 10px;
	}

	.careers-employee-stories-section .careers-carousel-pagination {
		margin-top: 15px;
		margin-bottom: 0;
	}

	.careers-employee-stories-section .careers-carousel-prev {
		left: 5px;
	}

	.careers-employee-stories-section .careers-carousel-next {
		right: 5px;
	}

	.careers-employee-stories-section .careers-story-quote-icon {
		width: 24px;
		height: 24px;
		top: 0;
		right: 0;
	}

	.careers-employee-stories-section .careers-story-avatar {
		width: 90px;
		height: 90px;
	}

	.careers-employee-stories-section .careers-story-avatar-wrapper {
		margin-bottom: 20px;
	}

	.careers-employee-stories-section .careers-story-bg-ellipse {
		width: clamp(35px, 7vw, 50px);
		height: clamp(35px, 7vw, 50px);
		max-width: 50px;
		max-height: 50px;
		opacity: 0.25;
	}

	/* Small mobile ellipse positions - very minimal, in corners */
	.careers-employee-stories-section .careers-story-bg-ellipse-1 {
		left: 2% !important;
		right: auto !important;
		top: 8% !important;
		bottom: auto !important;
	}

	.careers-employee-stories-section .careers-story-bg-ellipse-2 {
		left: auto !important;
		right: 2% !important;
		top: auto !important;
		bottom: 8% !important;
	}

	.careers-employee-stories-section .careers-story-bg-ellipse-3 {
		left: auto !important;
		right: 2% !important;
		top: 8% !important;
		bottom: auto !important;
	}

	/* State A: 1 left, 2 right - small mobile adjustments */
	.careers-employee-stories-section .careers-stories-container.bg-layout-1left-2right .careers-story-bg-ellipse-1 {
		left: 2% !important;
		right: auto !important;
		top: 8% !important;
		bottom: auto !important;
	}

	.careers-employee-stories-section .careers-stories-container.bg-layout-1left-2right .careers-story-bg-ellipse-2 {
		left: auto !important;
		right: 2% !important;
		top: auto !important;
		bottom: 8% !important;
	}

	.careers-employee-stories-section .careers-stories-container.bg-layout-1left-2right .careers-story-bg-ellipse-3 {
		left: auto !important;
		right: 2% !important;
		top: 8% !important;
		bottom: auto !important;
	}

	/* State B: 2 left, 1 right - small mobile adjustments */
	.careers-employee-stories-section .careers-stories-container.bg-layout-2left-1right .careers-story-bg-ellipse-1 {
		left: auto !important;
		right: 2% !important;
		top: 8% !important;
		bottom: auto !important;
	}

	.careers-employee-stories-section .careers-stories-container.bg-layout-2left-1right .careers-story-bg-ellipse-2 {
		left: 2% !important;
		right: auto !important;
		top: auto !important;
		bottom: 8% !important;
	}

	.careers-employee-stories-section .careers-stories-container.bg-layout-2left-1right .careers-story-bg-ellipse-3 {
		left: 2% !important;
		right: auto !important;
		top: 8% !important;
		bottom: auto !important;
	}

	/* Benefits Section Mobile - Below 576px */
	.careers-benefits-section {
		padding: 40px 15px;
		overflow-x: hidden;
	}

	.careers-benefits-section .container {
		padding-left: 0;
		padding-right: 0;
		overflow-x: hidden;
	}

	.careers-benefits-section .row.g-5.align-items-center {
		gap: 1.5rem !important;
	}

	.careers-benefits-image-wrapper {
		height: auto;
		min-height: 300px;
		margin-bottom: 1.5rem;
		overflow: hidden;
		box-sizing: border-box;
		max-width: 100%;
	}

	.careers-benefit-image {
		position: relative !important;
		width: 100% !important;
		height: auto !important;
	}

	.careers-benefit-image--left-top {
		max-width: 100%;
		width: 100%;
		height: auto;
	}

	.careers-benefit-badge {
		position: relative !important;
		left: auto !important;
		top: auto !important;
		margin: 10px 8px 0 0;
		display: inline-flex;
	}

	.careers-benefits-section .container {
		padding-left: 0;
		padding-right: 0;
		overflow-x: hidden;
	}

	.careers-benefits-section .row.g-5.align-items-center {
		margin-left: 0;
		margin-right: 0;
	}

	.careers-benefits-content {
		padding-left: 0 !important;
		padding-right: 0 !important;
		margin-top: 0 !important;
		margin-left: 0 !important;
		margin-right: 0 !important;
		width: 100%;
		max-width: 100%;
		box-sizing: border-box;
	}

	.careers-benefits-content-title {
		font-size: clamp(24px, 6vw, 32px);
		line-height: 1.3;
		width: 100%;
		max-width: 100%;
		margin-left: 0;
		margin-right: 0;
		padding-left: 0;
		padding-right: 0;
		box-sizing: border-box;
	}

	.careers-benefits-content-description {
		font-size: clamp(14px, 3vw, 16px);
		width: 100%;
		max-width: 100%;
		margin-left: 0;
		margin-right: 0;
		padding-left: 0;
		padding-right: 0;
		box-sizing: border-box;
	}

	.careers-benefits-list {
		width: 100%;
		max-width: 100%;
		margin-left: 0;
		margin-right: 0;
		padding-left: 0;
		padding-right: 0;
		box-sizing: border-box;
		height: auto;
		min-height: auto;
	}

	.careers-benefits-list-item {
		flex-direction: column;
		gap: 1rem;
		padding: 1.25rem 1rem;
		height: auto;
		min-height: auto;
		width: 100%;
		box-sizing: border-box;
	}

	.careers-benefits-list-title {
		font-size: clamp(18px, 4vw, 22px);
		margin-bottom: 0.5rem;
	}

	.careers-benefits-list-description {
		font-size: clamp(14px, 3vw, 16px);
		margin-top: 0.5rem;
	}

	#career-why-join-ucs-page .careers-horizontal-cards-section__card {
		width: 220px;
		min-width: 220px;
		max-width: 220px;
	}

	#career-why-join-ucs-page .careers-horizontal-cards-section__card-image-wrapper {
		height: 250px;
	}

	.careers-carousel-nav {
		width: 30px;
		height: 30px;
	}

	.careers-carousel-nav svg {
		width: 16px;
		height: 16px;
	}
}
/* Fix overlap only between 1207px and 992px */
@media (max-width: 1207px) and (min-width: 992px) {
	.careers-stories-container {
		height: auto;       /* allow section to grow with content */
		max-height: none;   /* remove the 900px cap in this range */
		overflow: visible;  /* don't cut off dots / text at bottom */
	}
}

/* Fix UCS Employee Stories only between 1207px and 992px */
@media (max-width: 1207px) and (min-width: 992px) {

	/* Let the yellow stories block grow with content */
	.careers-stories-container {
		height: auto;
		max-height: none;
		overflow: visible;
		padding: 40px 0;
	}

	/* Make title behave like tablet: normal flow, not absolute */
	.careers-stories-title {
		position: relative;
		left: auto;
		right: auto;
		top: auto;
		bottom: auto;
		margin: 0 auto 30px;
	}

	/* Make carousel wrapper behave like tablet: normal flow, auto height */
	.careers-stories-carousel-wrapper {
		position: relative;
		left: auto;
		right: auto;
		top: auto;
		bottom: auto;
		margin: 0 auto;
		max-width: 900px;     /* keeps it nicely centered */
		height: auto;
		padding: 0 60px;      /* same feel as desktop but inside */
	}

	.careers-stories-carousel {
		height: auto;
	}

	.careers-story-content {
		height: auto;
		justify-content: flex-start;  /* no vertical squeezing */
	}

	/* Dots: remove extra vertical push so they don't overlap text */
	.careers-carousel-pagination {
		margin-top: 24px;
	}

	.careers-carousel-dot {
		margin-top: 0;
	}
}

#career-why-join-ucs-page .careers-horizontal-cards-section__inner {
	position: relative;
	z-index: 2;
	overflow-x: hidden;
}