/* =========================================================================
   Stratedgy Careers - job page
   Same UI as the Elementor job pages. Everything is scoped to the plugin's
   own classes (.sgc-*), so no other page or element is affected.
   Breakpoints follow the site: 1200 (tablet landscape), 1024, 880 (stacked
   layout from here down), 767 (phones).
   ========================================================================= */

body.sgc-single-job { background-color: #FFFFFF; }

.sgc-job,
.sgc-job *,
.sgc-job *::before,
.sgc-job *::after,
.sgc-panel,
.sgc-panel * { box-sizing: border-box; }

.sgc-job {
	display: flex;
	flex-direction: row;
	align-items: flex-start;
	width: 100%;
	margin: 0;
	padding: 5vw 0 0 0;
}
.sgc-job h1, .sgc-job h2, .sgc-job h3, .sgc-job p, .sgc-job ul, .sgc-job li,
.sgc-panel h1, .sgc-panel p {
	margin: 0;
	padding: 0;
	letter-spacing: normal;
	text-transform: none;
	text-shadow: none;
	background: none;
	border: 0;
}
.sgc-job ul { list-style: none; }
.sgc-job li { list-style: none; }
.sgc-job li::before, .sgc-job li::marker { content: none; }

/* ---------- Left column + fixed yellow panel (desktop) ---------- */
.sgc-job__aside {
	flex: 0 0 auto;
	width: 35%;
	min-height: 100vh;
}
.sgc-panel {
	position: fixed;
	top: 0;
	left: 0;
	width: 35%;
	height: 100vh;
	z-index: 99;
	display: flex;
	flex-direction: column;
	justify-content: center;
	margin: 0;
	padding: 60px 50px 60px 6vw;
	background-color: #FFB000;
	transform: none;
}
.sgc-panel.sgc-panel--behind-footer { z-index: -1; }
.sgc-panel__block { margin: 0 0 50px 0; }
.sgc-panel__block:last-child { margin-bottom: 0; }
.sgc-panel .sgc-panel__label {
	margin: 0 0 5px 0;
	font-family: "Grafical", sans-serif;
	font-size: 30px;
	font-weight: 200;
	line-height: 45px;
	color: #1A1A1A;
}
.sgc-panel .sgc-panel__value {
	margin: 0;
	font-family: "Tiempos Headline", serif;
	font-size: 45px;
	font-weight: 300;
	line-height: 53px;
	letter-spacing: 1.7px;
	color: #1A1A1A;
	overflow-wrap: normal;
	word-break: normal;
}

/* ---------- Main column ---------- */
.sgc-job__main {
	display: flex;
	flex-direction: column;
	gap: 24px;
	width: 65%;
	min-width: 0;
	overflow: hidden;
	padding: 0;
}

/* Stacked job details block (tablet portrait / mobile only) */
.sgc-job .sgc-facts { display: none; }

/* ---------- List sections (yellow heading + grey/white rows) ---------- */
.sgc-job .sgc-list {
	display: flex;
	flex-direction: column;
	gap: 24px;
	padding: 5vw;
}
.sgc-job .sgc-list.sgc-sec--follow{ padding-top: 0; }
.sgc-job .sgc-list.sgc-sec--after-title{ padding-top: 2.5vw; }

/* ---------- Title (a plain heading that introduces the list sections under it) ---------- */
.sgc-job .sgc-title{ padding: 5vw 5vw 0 5vw; }
.sgc-job .sgc-title--follow{ padding-top: 2.5vw; }
.sgc-job .sgc-title__head {
	margin: 0;
	padding: 0;
	font-family: "Grafical", sans-serif;
	font-size: 52px;
	font-weight: 300;
	line-height: 1.15;
	color: #111111;
}
.sgc-job .sgc-title__head::after {
	content: "";
	display: block;
	width: 80px;
	height: 4px;
	margin-top: 20px;
	background-color: #FFB000;
}
.sgc-job .sgc-list__head-box{ background-color: #FFB000; padding: 0; }
.sgc-job .sgc-list__head {
	padding: 1vw 0 1vw 4vw;
	font-family: "Grafical", sans-serif;
	font-size: 38px;
	font-weight: 200;
	line-height: 45px;
	color: #111111;
}
.sgc-job .sgc-list--how .sgc-list__head{ padding: 1vw 1vw 1vw 3vw; }
.sgc-job .sgc-list__items{
	display: flex;
	flex-direction: column;
	gap: 0;
	border-left: 2px solid #FFB000;
}
.sgc-job .sgc-list__item{ background-color: #F4F4F4; padding: 0; }
.sgc-job .sgc-list__item:nth-child(even){ background-color: #FFFFFF; }
.sgc-job .sgc-list__text {
	display: block;
	padding: 1vw 1vw 1vw 3vw;
	font-family: "Tiempos Headline", serif;
	font-size: 28px;
	font-weight: 200;
	line-height: 45px;
	color: #111111;
}

/* ---------- Dark sections: traits ("Who You Are") and statements ---------- */
.sgc-job .sgc-dark {
	display: flex;
	flex-direction: column;
	gap: 0;
	padding: 7vw 5vw 12vw 5vw;
	background-color: #1E2223;
}
.sgc-job .sgc-dark--statements{ padding: 7vw 5vw; }
.sgc-job .sgc-dark__head {
	padding: 1vw 0;
	font-family: "Grafical", sans-serif;
	font-size: 38px;
	font-weight: 200;
	line-height: 45px;
	color: #FFFFFF;
}
.sgc-job .sgc-divider{
	margin: -10px 0 0 0;
	padding: 0 0 8vw 0;
}
.sgc-job .sgc-divider__line{
	display: block;
	width: 100%;
	border-top: 1px solid #FFB000;
}
.sgc-job .sgc-grid{
	display: grid;
	grid-template-columns: repeat(3, minmax(0, 1fr));
	gap: 4vw 3vw;
}
.sgc-job .sgc-dark--statements .sgc-grid{ grid-template-columns: repeat(2, minmax(0, 1fr)); }

.sgc-job .sgc-trait{
	position: relative;
	display: flex;
	flex-direction: column;
	justify-content: center;
	gap: 10px;
	width: fit-content;
	align-self: flex-start;
	padding: 0 0 0 0.9em;
	font-size: 16px;
}
.sgc-job .sgc-trait::before{
	content: "";
	position: absolute;
	left: 0;
	top: 0.28em;
	bottom: 0.28em;
	width: 1px;
	background: rgba(255, 255, 255, 0.7);
}
.sgc-job .sgc-trait__label {
	padding: 1vw 0 0 0;
	font-family: "Tiempos Headline", serif;
	font-size: 28px;
	font-weight: 200;
	line-height: 1;
	color: #FFFFFF;
}
.sgc-job .sgc-trait__text {
	font-family: "Tiempos Headline", serif;
	font-size: 17px;
	font-weight: 200;
	line-height: 22px;
	color: #FFFFFF;
}

.sgc-job .sgc-statement{
	display: flex;
	flex-direction: column;
	justify-content: center;
	gap: 10px;
	padding: 0 0 0 0.7vw;
	border-left: 1px solid #FFB000;
}
.sgc-job .sgc-statement__text,
.sgc-job .sgc-statements__closing {
	font-family: "Tiempos Headline", serif;
	font-size: 28px;
	font-weight: 200;
	line-height: 45px;
	color: #FFFFFF;
}
.sgc-job .sgc-divider--light{ margin: 0; padding: 5vw 0; }
.sgc-job .sgc-divider--light .sgc-divider__line{ margin: 15px 0; border-top-color: #FFFFFF; }

/* ---------- Join Our Team (form) ---------- */
.sgc-job .sgc-join {
	display: flex;
	flex-direction: column;
	gap: 24px;
	padding: 5vw;
}
.sgc-job .sgc-join__head {
	font-family: "Tiempos Headline", serif;
	font-size: 38px;
	font-weight: 300;
	line-height: 53px;
	letter-spacing: 1.7px;
	color: #111111;
}
.sgc-job .sgc-join__tagline {
	padding: 1vw 0;
	font-family: "Grafical", sans-serif;
	font-size: 20px;
	font-weight: 200;
	line-height: 23px;
	color: #000000;
}
.sgc-job .sgc-join__notice{
	padding: 15px 20px;
	border: 1px dashed #c00;
	color: #c00;
	font-family: sans-serif;
	font-size: 14px;
	line-height: 1.5;
}

/* ---------- Fade-in on scroll (same as the Elementor "Fade In" entrance) ---------- */
@keyframes sgcFadeIn { from { opacity: 0; } to { opacity: 1; } }
.sgc-js .sgc-anim { opacity: 0; }
.sgc-js .sgc-anim.sgc-in { opacity: 1; animation: sgcFadeIn 1.25s ease both; }

/* =========================================================================
   Tablet landscape (<= 1200px): larger text, as on the live pages
   ========================================================================= */
@media (max-width: 1200px) {
	.sgc-job .sgc-list__head,
	.sgc-job .sgc-list__text,
	.sgc-job .sgc-dark__head,
	.sgc-job .sgc-trait__label,
	.sgc-job .sgc-trait__text,
	.sgc-job .sgc-statement__text,
	.sgc-job .sgc-statements__closing,
	.sgc-job .sgc-join__tagline {
		font-size: 33px;
		line-height: 39px;
	}
	.sgc-job .sgc-join__head {
		font-size: 32px;
		line-height: 45px;
	}
}

/* Long role names on whole words in the narrower panel */
@media (max-width: 1140px) {
	.sgc-panel .sgc-panel__value {
		font-size: 3.2vw;
		line-height: 1.18;
		letter-spacing: 1px;
	}
}

/* =========================================================================
   Tablet portrait + mobile (<= 880px): stacked layout
   ========================================================================= */
@media (max-width: 880px) {
	.sgc-job { flex-direction: column; padding: 0; }
	.sgc-job__aside,
	.sgc-panel { display: none !important; }
	.sgc-job__main {
		width: 100%;
		background-color: #1E2223;
	}

	.sgc-job .sgc-facts{
		display: block;
		margin: 60px 0 0 0;
		padding: 6vw 5vw 0 5vw;
		background-color: #1E2223;
	}
	.sgc-job .sgc-facts__box{
		display: flex;
		flex-direction: column;
		justify-content: center;
		gap: 0;
		min-height: 30vh;
		padding: 20px;
		background-color: #FFB000;
	}
	.sgc-job .sgc-facts__label {
		font-family: "Grafical", sans-serif;
		font-size: 18px;
		font-weight: 200;
		line-height: 25px;
		color: #111111;
	}
	.sgc-job .sgc-facts__value {
		padding: 0 0 15px 0;
		font-family: "Tiempos Headline", serif;
		font-size: 24px;
		font-weight: 300;
		line-height: 30px;
		letter-spacing: 1.2px;
		color: #111111;
	}
	.sgc-job .sgc-facts__block:last-child .sgc-facts__value { padding-bottom: 0; }

	.sgc-job .sgc-list{ padding: 5vw 5vw 0 5vw; }
	.sgc-job .sgc-list.sgc-sec--follow{ padding-top: 5vw; }
	.sgc-job .sgc-list--how{ padding: 0 5vw; }
	.sgc-job .sgc-list.sgc-sec--after-title{ padding-top: 5vw; }
	.sgc-job .sgc-title{ padding: 8vw 5vw 0 5vw; }
	.sgc-job .sgc-title--follow{ padding-top: 5vw; }
	.sgc-job .sgc-title__head{ padding-left: 0; font-size: 30px; color: #FFFFFF; }
	.sgc-job .sgc-title__head::after{ width: 56px; height: 3px; margin-top: 14px; }
	.sgc-job .sgc-list--how.sgc-sec--follow{ padding: 5vw 5vw 0 5vw; }
	.sgc-job .sgc-list__head-box{ padding: 3vw; }
	.sgc-job .sgc-list__head,
	.sgc-job .sgc-list--how .sgc-list__head{
		padding: 0;
		font-size: 21px;
		line-height: 25px;
	}
	.sgc-job .sgc-list__items{ margin-top: -11px; }
	.sgc-job .sgc-list__item{ padding: 3vw; }
	.sgc-job .sgc-list__text {
		padding: 0;
		font-size: 18px;
		line-height: 25px;
	}

	.sgc-job .sgc-dark,
	.sgc-job .sgc-dark--statements{ padding: 5vw; }
	.sgc-job .sgc-dark__head {
		padding: 0;
		font-size: 21px;
		line-height: 25px;
	}
	.sgc-job .sgc-divider { margin-top: 5px; }
	.sgc-job .sgc-divider--light { margin-top: 0; }
	.sgc-job .sgc-grid,
	.sgc-job .sgc-dark--statements .sgc-grid{ grid-template-columns: minmax(0, 1fr); }
	.sgc-job .sgc-trait__label {
		padding: 0;
		font-size: 18px;
		line-height: 39px;
	}
	.sgc-job .sgc-trait__text {
		font-size: 18px;
		line-height: 25px;
	}
	.sgc-job .sgc-trait::before{ top: 0.38em; bottom: 0.24em; }
	.sgc-job .sgc-statement{ padding: 3vw; }
	.sgc-job .sgc-statement__text,
	.sgc-job .sgc-statements__closing {
		font-size: 18px;
		line-height: 25px;
	}

	.sgc-job .sgc-join{
		padding: 10vw 5vw 30vw 5vw;
		background-color: #FFFFFF;
	}
	.sgc-job .sgc-join__head {
		padding: 0 0 15px 0;
		font-size: 24px;
		line-height: 30px;
		letter-spacing: 1.2px;
	}
	.sgc-job .sgc-join__tagline {
		padding: 0;
		font-size: 21px;
		line-height: 25px;
	}
}

@media (max-width: 767px) {
	.sgc-job .sgc-facts{ margin-top: 10vw; }
}
