/* goodwood2026.css - the Goodwood careers portal header / footer in goodwood.com's 2026 style.

   Design record + the numbered options Nick chose from (header 1, footer 3):
   admin/zbin/dev-only/goodwood_careers_header_footer_mockup.cfm

   Tokens lifted from goodwood.com on 2026-09-11 (grey-100, green-30, white alphas, the
   gill-sans-nova / EB Garamond pairing). Every selector is prefixed gw_ so nothing here can
   reach into the .arj-custom job blocks. The news cards + modal are the shared
   css/candidate-pages/careers_portal_news.css - the .cpn_ rules at the bottom only retint it. */

:root {
	--gw_grey_100: #131313;
	--gw_green_100: #174943;
	--gw_green_30: #9ee0d8;
	--gw_white_70: hsla(0,0%,100%,.7);
	--gw_white_40: hsla(0,0%,100%,.4);
	--gw_white_20: hsla(0,0%,100%,.2);
	--gw_font_sans: Lato, Helvetica, Arial, sans-serif;
	--gw_font_serif: "EB Garamond", Garamond, Georgia, serif;
}

/* the page body font the 2016 stylesheets used to set (6.3-goodwood.redesign.css) - the job blocks
   and the sector select inherit it. Lato is loaded by careersheader.cfm from Google Fonts. */

body {
	margin: 0;
	color: #222;
	font-family: Lato, Helvetica, Arial, sans-serif;
}

.gw_header,
.gw_footer {
	font-family: var(--gw_font_sans);
	-webkit-font-smoothing: antialiased;
}

.gw_header a,
.gw_footer a {
	text-decoration: none;
}

/* primary bar - 56px, near-black, wordmark centred */

.gw_primary {
	background: var(--gw_grey_100);
	height: 56px;
	border-bottom: 1px solid var(--gw_white_20);
	display: flex;
	align-items: center;
	padding: 0 2.5rem;
	position: relative;
	color: #fff;
}

.gw_primary_btn {
	display: inline-flex;
	align-items: center;
	gap: .75rem;
	background: none;
	border: 0;
	color: #fff;
	font-family: var(--gw_font_sans);
	font-size: .75rem;
	font-weight: 600;
	letter-spacing: .16em;
	text-transform: uppercase;
	padding: .5rem 0;
	cursor: pointer;
}

.gw_primary_btn svg {
	width: 20px;
	height: 20px;
	fill: none;
	stroke: #fff;
	stroke-width: 2;
}

.gw_wordmark {
	position: absolute;
	left: 50%;
	top: 50%;
	transform: translate(-50%, -50%);
	line-height: 0;
}

.gw_primary_right {
	margin-left: auto;
	display: flex;
	gap: 1.75rem;
}

/* contextual bar - white, "Careers |" then our sector-filter links, All vacancies on the right */

.gw_context {
	background: #fff;
	height: 56px;
	border-bottom: 1px solid var(--gw_grey_100);
	display: flex;
	align-items: center;
	padding: 0 2.5rem;
	gap: 1rem;
}

.gw_context_title {
	font-size: .875rem;
	font-weight: 700;
	letter-spacing: .08em;
	text-transform: uppercase;
	color: var(--gw_grey_100);
	margin: 0;
	white-space: nowrap;
}

.gw_context_title a {
	color: inherit;
}

.gw_context_divider {
	width: 1px;
	height: 1.5rem;
	background: var(--gw_grey_100);
	opacity: .3;
}

/* the sector links are an NW1 strip (scroll_strip_arrows.css): scrollbar hidden, chevrons page it */

.gw_context_strip {
	flex: 1 1 auto;
	margin: 0 .5rem;
}

.gw_context_nav {
	display: flex;
	gap: 1.75rem;
	margin: 0;
	padding: 0 2.75rem;
	list-style: none;
	white-space: nowrap;
}

.gw_context .strip_ctrl {
	box-shadow: none;
	border-color: var(--gw_grey_100);
}

.gw_context_nav a {
	font-size: .875rem;
	font-weight: 400;
	letter-spacing: .08em;
	text-transform: uppercase;
	color: #5a5a5a;
	transition: color .15s;
}

.gw_context_nav a:hover,
.gw_context_nav a.gw_active {
	color: var(--gw_grey_100);
}

.gw_btn {
	display: inline-flex;
	justify-content: center;
	align-items: center;
	gap: .75rem;
	font-family: var(--gw_font_sans);
	font-size: .75rem;
	font-weight: 600;
	letter-spacing: .16em;
	line-height: 18px;
	text-transform: uppercase;
	padding: 1rem 1.1875rem;
	color: var(--gw_grey_100);
	background: var(--gw_green_30);
	outline: 1px solid var(--gw_grey_100);
	outline-offset: -1px;
	white-space: nowrap;
	transition: background-color .15s, color .15s;
}

.gw_btn:hover {
	background: var(--gw_grey_100);
	color: #fff;
}

.gw_context .gw_btn {
	padding-top: .7rem;
	padding-bottom: .7rem;
	margin-left: auto;
}

/* hero - photo, dark scrim, big uppercase heading (careers page only) */

.gw_hero {
	position: relative;
	min-height: 380px;
	display: flex;
	align-items: flex-end;
	background: var(--gw_grey_100) url(/includes/goodwood/2026/hero_careers.jpg) center / cover no-repeat;
	color: #fff;
}

.gw_hero::after {
	content: "";
	position: absolute;
	inset: 0;
	background: linear-gradient(to top, rgba(19,19,19,.85) 0%, rgba(19,19,19,.2) 55%, rgba(19,19,19,0) 100%);
}

.gw_hero_inner {
	position: relative;
	z-index: 1;
	padding: 3rem 2.5rem 2.5rem;
	max-width: 900px;
}

.gw_label {
	display: block;
	font-size: 1rem;
	font-weight: 600;
	letter-spacing: .16em;
	text-transform: uppercase;
	margin-bottom: .75rem;
}

.gw_label_line {
	position: relative;
	padding-right: 3rem;
	width: fit-content;
}

.gw_label_line::after {
	content: "";
	position: absolute;
	right: 0;
	top: 50%;
	width: 2rem;
	height: 1px;
	background: currentColor;
}

.gw_heading {
	font-family: var(--gw_font_sans);
	font-size: clamp(2.5rem, 2rem + 2vw, 4.25rem);
	font-weight: 400;
	letter-spacing: .1em;
	line-height: 1;
	text-transform: uppercase;
	margin: 0 0 1rem;
}

.gw_hero p {
	font-family: var(--gw_font_serif);
	font-size: 1.25rem;
	font-style: italic;
	color: var(--gw_white_70);
	margin: 0;
}

/* footer */

.gw_footer {
	background: var(--gw_grey_100);
	color: #fff;
	padding: 0 2.5rem 5rem;
	margin-top: 2.5rem;
	box-shadow: 0 35px 60px -15px rgba(0,0,0,.3);
}

.gw_footer_top {
	display: flex;
	gap: 2.5rem;
	padding-top: 6rem;
	position: relative;
}

.gw_footer_top > div {
	flex: 1 1 50%;
}

.gw_back_to_top {
	position: absolute;
	right: 0;
	top: 0;
	display: flex;
	flex-direction: column;
	align-items: center;
	color: #fff;
	font-size: .75rem;
	letter-spacing: .16em;
	text-transform: uppercase;
	font-weight: 600;
}

.gw_back_to_top::before {
	content: "";
	display: block;
	width: 1px;
	height: 3.5rem;
	background: #fff;
	margin-bottom: .75rem;
}

.gw_footer_promo {
	display: flex;
	flex-direction: column;
	gap: 1.25rem;
	padding-right: 2rem;
}

.gw_footer_promo .gw_heading {
	font-size: clamp(2.5rem, 2rem + 2vw, 4.25rem);
}

.gw_footer_promo p {
	font-family: var(--gw_font_serif);
	font-size: 1.25rem;
	font-style: italic;
	color: var(--gw_white_70);
	margin: 0;
}

.gw_footer_promo .gw_btn {
	width: max-content;
}

.gw_quick_links {
	list-style: none;
	margin: 0;
	padding: 0;
}

.gw_quick_links li {
	border-top: 1px solid #fff;
	padding: 1.5rem 0;
}

.gw_quick_links li:first-child {
	border-top: 0;
}

.gw_quick_links a {
	display: flex;
	justify-content: space-between;
	align-items: center;
	color: #fff;
	font-size: 1rem;
	font-weight: 600;
	letter-spacing: .16em;
	text-transform: uppercase;
}

.gw_quick_links a::after {
	content: "\f062";
	font-family: "Font Awesome 5 Pro";
	font-weight: 300;
	transform: rotate(45deg);
	transition: transform .3s;
}

.gw_quick_links a:hover::after {
	transform: rotate(45deg) translate(3px, -3px);
}

.gw_footer_bottom {
	border-top: 1px solid var(--gw_white_20);
	margin-top: 5rem;
	padding-top: 2.5rem;
	display: flex;
	flex-direction: column;
	align-items: center;
	gap: 2.5rem;
	text-align: center;
}

.gw_footer_crest img {
	height: 64px;
	width: auto;
}

.gw_legal_links {
	display: flex;
	flex-wrap: wrap;
	justify-content: center;
	gap: 1.5rem;
	list-style: none;
	margin: 0;
	padding: 0;
}

.gw_legal_links a,
.gw_footer_copy {
	color: var(--gw_white_40);
	font-size: 1rem;
	line-height: 1.5;
}

.gw_legal_links a:hover {
	color: #fff;
}

.gw_footer_copy {
	max-width: 760px;
	margin: 0;
}

.gw_footer_copy a {
	color: var(--gw_white_40);
	text-decoration: underline;
}

.gw_footer_copy a:hover {
	color: #fff;
}

/* job page: the video + "Welcome to Goodwood" panel under the job
   (candidatefacing.render_video_for_careers_microsite, Goodwood branch). The old 2016 Foundation css
   gave every img max-width:100% and the iframe an absolute overlay - without that the fallback photo
   spilled across the page. Replicated here, scoped to the block. */

/* the panel is a child of the job page's main .row (after the two columns), so it must take its own
   full-width line - otherwise the sticky sidebar column stretches down alongside it and its share
   icons ride over the heading */

.gw_welcome {
	flex: 0 0 100%;
	width: 100%;
	max-width: 100%;
	clear: both;
	margin: 2.5rem 0 0;
	padding-top: 1rem;
	font-family: var(--gw_font_sans);
}

.gw_welcome > div > .row {
	display: flex;
	flex-wrap: wrap;
	gap: 2.5rem;
	align-items: flex-start;
	margin: 0;
}

.gw_welcome > div > .row > div {
	flex: 1 1 320px;
	min-width: 0;
	padding: 0;
	float: none;
}

.gw_welcome .video-block {
	position: relative;
	aspect-ratio: 16 / 9;
	overflow: hidden;
	background: var(--gw_grey_100);
}

.gw_welcome .video-block img {
	position: absolute;
	top: 0;
	left: 0;
	width: 100%;
	height: 100%;
	object-fit: cover;
	display: block;
}

.gw_welcome .video-block video {
	position: absolute;
	top: 0;
	left: 0;
	width: 100%;
	height: 100%;
	display: block;
	background: var(--gw_grey_100);
}

.gw_welcome .video-block iframe {
	position: absolute;
	top: 0;
	left: 0;
	width: 100%;
	height: 100%;
	border: 0;
}

.gw_welcome .video-block + p {
	font-family: var(--gw_font_serif);
	font-style: italic;
	margin: .75rem 0 0;
}

.gw_welcome .video-block__content h2 {
	font-family: var(--gw_font_sans);
	font-size: clamp(1.6rem, 1.3rem + 1vw, 2.25rem);
	font-weight: 400;
	letter-spacing: .06em;
	text-transform: uppercase;
	margin: 0 0 1rem;
}

.gw_welcome .video-block__content p {
	font-family: var(--gw_font_serif);
	font-size: 1.15rem;
	line-height: 1.6;
	margin: 0 0 1.25rem;
}

.gw_welcome .video-block__content .btn {
	display: inline-block;
	float: none;
	margin: 0 .5rem .75rem 0;
	padding: .8rem 1.2rem;
	height: auto;
	white-space: nowrap;
	border: 1px solid var(--gw_grey_100);
	border-radius: 0;
	background: #fff;
	color: var(--gw_grey_100);
	font-family: var(--gw_font_sans);
	font-size: .75rem;
	font-weight: 600;
	letter-spacing: .16em;
	line-height: 18px;
	text-transform: uppercase;
	text-decoration: none;
}

.gw_welcome .video-block__content .btn:hover {
	background: var(--gw_grey_100);
	color: #fff;
}

/* retint the shared news cards + modal (careers_portal_news.css) in goodwood type */

.cpn_news,
.cpn_modal {
	font-family: var(--gw_font_sans);
	color: var(--gw_grey_100);
}

.cpn_heading {
	font-family: var(--gw_font_sans);
	font-size: clamp(2rem, 1.5rem + 1.5vw, 2.75rem);
	font-weight: 400;
	letter-spacing: .1em;
	line-height: 1;
	text-transform: uppercase;
}

.cpn_news_intro p,
.cpn_blurb,
.cpn_article {
	font-family: var(--gw_font_serif);
}

.cpn_article strong {
	font-family: var(--gw_font_sans);
}

.cpn_article blockquote {
	border-left-color: var(--gw_green_30);
}

/* phones */

@media (max-width: 767px) {

	.gw_primary,
	.gw_context,
	.gw_hero_inner,
	.gw_footer {
		padding-left: 1.25rem;
		padding-right: 1.25rem;
	}

	.gw_primary_btn span {
		display: none;
	}

	.gw_context_strip {
		display: none;
	}

	.gw_footer_top {
		flex-direction: column;
		padding-top: 4rem;
	}

	.gw_back_to_top {
		display: none;
	}

}
