@charset "UTF-8";

:root {
	--color-bg: #f4f7f9;
	--color-navy: #0b1e2d;
	--color-navy-light: #123247;
	--color-accent: #17b8d6;
	--color-accent-dark: #0785a9;
	--color-text: #1f2d36;
	--color-text-muted: #5b6b76;
	--color-border: #e1e8ed;
	--color-white: #ffffff;
	--font-base: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
}

* {
	box-sizing: border-box;
}

html, body {
	overflow-x: hidden;
}

body {
	margin: 0;
	padding: 0;
	background: var(--color-bg);
	font-family: var(--font-base);
	font-size: 17px;
	line-height: 1.6;
	color: var(--color-text);
}

h1, h2, h3, h4 {
	margin: 0 0 .5em;
	font-weight: 600;
	line-height: 1.25;
	color: var(--color-navy);
}

h1 {
	font-size: 2.4rem;
}

h2 {
	font-size: 1.9rem;
}

h3 {
	font-size: 1.4rem;
}

h3 a {
	color: var(--color-accent-dark);
}

h3 a:hover {
	color: var(--color-accent);
}

h4 {
	font-size: 1.2rem;
	font-weight: 500;
	letter-spacing: normal;
	color: var(--color-text-muted);
}

p, ul, ol {
	margin: 0 0 1em;
	line-height: 1.65;
}

a {
	text-decoration: none;
	color: var(--color-accent-dark);
	transition: color .15s ease;
}

a:hover {
	color: var(--color-accent);
}

#wrapper {
	max-width: 1100px;
	margin: 0 auto;
	padding: 0 24px;
}

/* Nav bar (logo + menu) */

#navbar {
	position: relative;
	display: flex;
	align-items: center;
	justify-content: space-between;
	flex-wrap: wrap;
	gap: 16px;
	padding: 18px 0;
}

#navbar::before {
	content: "";
	position: absolute;
	top: 0;
	bottom: 0;
	left: 50%;
	width: 100vw;
	margin-left: -50vw;
	background: var(--color-navy);
	z-index: -1;
}

#logo {
	float: none;
	width: 190px;
	height: 56px;
	background: url(../img/logo.jpg) no-repeat left center;
	background-size: contain;
}

#menu {
	width: auto;
	height: auto;
	margin: 0;
	padding: 0;
}

#menu ul {
	display: flex;
	flex-wrap: wrap;
	gap: 4px;
	margin: 0;
	padding: 0;
	list-style: none;
	line-height: normal;
}

#menu li {
	float: none;
}

#menu a {
	display: block;
	width: auto;
	height: auto;
	margin: 0;
	padding: 10px 16px;
	background: none;
	border-radius: 7px;
	text-decoration: none;
	text-align: center;
	font-size: .95rem;
	font-weight: 600;
	letter-spacing: .01em;
	color: #cfe8f0;
	border: none;
	transition: background .15s ease, color .15s ease;
}

#menu a:hover {
	background: rgba(255, 255, 255, .08);
	color: #ffffff;
}

#menu .current_page_item a {
	padding: 10px 16px;
	background: var(--color-accent-dark);
	color: #ffffff;
}

/* Hero header image */

#header {
	width: auto;
	height: auto;
	margin: 28px 0;
	padding: 0;
	border-radius: 16px;
	overflow: hidden;
	box-shadow: 0 12px 30px rgba(11, 30, 45, .16);
}

#header img {
	display: block;
	width: 100%;
	height: 320px;
	object-fit: cover;
}

/* Page layout */

#page {
	width: auto;
	margin: 0;
	padding: 0;
	background: none;
}

#page-bgtop {
	padding: 0;
}

#page-bgbtm {
	display: grid;
	grid-template-columns: 2fr 1fr;
	gap: 32px;
	align-items: start;
	padding-bottom: 56px;
}

#page-bgbtm > div[style] {
	display: none;
}

/* Content */

#content {
	float: none;
	width: auto;
	padding: 36px 40px;
	background: var(--color-white);
	border: 1px solid var(--color-border);
	border-radius: 16px;
	box-shadow: 0 6px 24px rgba(11, 30, 45, .06);
}

.post {
	background: none;
	margin-bottom: 0;
}

.post .entry {
	background: none;
	padding: 0;
	text-align: left;
}

/* Welcome / intro block (home page) */

.welcome {
	margin-bottom: 40px;
	padding-bottom: 32px;
	border-bottom: 1px solid var(--color-border);
}

.welcome h1 {
	margin-bottom: 18px;
}

.welcome p {
	font-size: 1.05rem;
	color: var(--color-text-muted);
}

.stats-row {
	display: flex;
	flex-wrap: wrap;
	gap: 18px;
	margin-top: 26px;
}

.stat {
	flex: 1 1 150px;
	padding: 16px 18px;
	background: var(--color-bg);
	border: 1px solid var(--color-border);
	border-radius: 10px;
}

.stat .stat-value {
	display: block;
	font-size: 1.4rem;
	font-weight: 700;
	color: var(--color-accent-dark);
}

.stat .stat-label {
	font-size: .85rem;
	color: var(--color-text-muted);
}

/* Call-to-action banner (existing home content, moved to bottom) */

.cta-banner {
	padding: 40px;
	text-align: center;
	background: var(--color-navy);
	border-radius: 16px;
	color: #ffffff;
}

.cta-banner h1 {
	margin-bottom: 20px;
	font-size: 1.4rem;
	text-transform: uppercase;
	letter-spacing: .08em;
	color: #ffffff;
	opacity: .8;
}

.cta-banner .entry h4 {
	margin-bottom: 24px;
	font-size: 1.25rem;
	font-weight: 400;
	font-style: italic;
	color: #dcedf3;
}

.cta-banner .entry h3 {
	margin: 0;
}

.cta-banner .entry h3 a {
	display: inline-block;
	padding: 13px 30px;
	background: var(--color-accent-dark);
	border-radius: 8px;
	font-size: 1rem;
	font-weight: 600;
	color: #ffffff;
}

.cta-banner .entry h3 a:hover {
	background: var(--color-accent);
	color: #ffffff;
}

/* Inline content images (about / join pages) */

figure.content-image {
	margin: 30px 0;
	border-radius: 12px;
	overflow: hidden;
	box-shadow: 0 6px 20px rgba(11, 30, 45, .1);
}

figure.content-image img {
	display: block;
	width: 100%;
	height: 260px;
	object-fit: cover;
}

figure.content-image figcaption {
	padding: 10px 16px;
	background: var(--color-bg);
	font-size: .85rem;
	color: var(--color-text-muted);
}

/* Candidate profile list (join page) */

ul.candidate-list {
	display: grid;
	gap: 12px;
	margin: 18px 0 26px;
	padding: 0;
	list-style: none;
}

ul.candidate-list li {
	position: relative;
	padding: 12px 16px 12px 44px;
	background: var(--color-bg);
	border: 1px solid var(--color-border);
	border-radius: 8px;
}

ul.candidate-list li::before {
	content: "\2713";
	position: absolute;
	left: 16px;
	top: 12px;
	font-weight: 700;
	color: var(--color-accent-dark);
}

.btn {
	display: inline-block;
	padding: 12px 26px;
	background: var(--color-accent-dark);
	border-radius: 8px;
	font-weight: 600;
	color: #ffffff;
}

.btn:hover {
	background: var(--color-accent);
	color: #ffffff;
}

/* Contact form */

.contact-form {
	max-width: 560px;
	margin: 24px 0 36px;
	padding: 32px;
	background: var(--color-white);
	border: 1px solid var(--color-border);
	border-radius: 16px;
	box-shadow: 0 6px 24px rgba(11, 30, 45, .06);
}

.form-field {
	display: flex;
	flex-direction: column;
	margin-bottom: 20px;
}

.form-field:last-of-type {
	margin-bottom: 24px;
}

.form-field label {
	margin-bottom: 6px;
	font-size: .9rem;
	font-weight: 600;
	color: var(--color-navy);
}

.form-field input,
.form-field textarea {
	padding: 11px 13px;
	font-family: inherit;
	font-size: 1rem;
	color: var(--color-text);
	background: #fbfcfd;
	border: 1px solid var(--color-border);
	border-radius: 8px;
	transition: border-color .15s ease, box-shadow .15s ease;
}

.form-field input:focus,
.form-field textarea:focus {
	outline: none;
	border-color: var(--color-accent-dark);
	box-shadow: 0 0 0 3px rgba(7, 133, 169, .15);
}

.form-field textarea {
	min-height: 130px;
	resize: vertical;
}

.btn-submit {
	display: inline-block;
	padding: 12px 30px;
	background: var(--color-accent-dark);
	border: none;
	border-radius: 8px;
	font-family: inherit;
	font-size: 1rem;
	font-weight: 600;
	color: #ffffff;
	cursor: pointer;
	transition: background .15s ease;
}

.btn-submit:hover {
	background: var(--color-accent);
}

/* Working-here perks (contact page) */

.perks {
	padding-top: 8px;
	border-top: 1px solid var(--color-border);
}

.perks h2 {
	margin-bottom: 6px;
	font-size: 1.3rem;
}

.perks > p {
	color: var(--color-text-muted);
}

.perks ul {
	display: grid;
	gap: 10px;
	margin: 16px 0 0;
	padding: 0;
	list-style: none;
}

.perks li {
	position: relative;
	padding-left: 22px;
}

.perks li::before {
	content: "\2014";
	position: absolute;
	left: 0;
	color: var(--color-accent-dark);
}

/* Sidebar */

#sidebar {
	float: none;
	width: auto;
	margin: 0;
	padding: 34px 32px;
	background: var(--color-navy);
	border-radius: 16px;
	box-shadow: 0 6px 24px rgba(11, 30, 45, .12);
	color: #b9d2dd;
}

#sidebar h2 {
	height: auto;
	margin-bottom: 16px;
	padding-left: 0;
	letter-spacing: normal;
	font-size: 1.25rem;
	color: #ffffff;
}

#sidebar p {
	margin: 0 0 16px;
	padding: 0;
	text-align: left;
	color: #b9d2dd;
}

#sidebar a {
	border: none;
	color: #6fe0f2;
}

#sidebar a:hover {
	color: #ffffff;
	text-decoration: underline;
}

#sidebar strong {
	color: #ffffff;
}

/* Footer */

#footer {
	position: relative;
	margin-top: 8px;
	padding: 26px 0;
	background: var(--color-navy);
	border-top: none;
}

#footer::before {
	content: "";
	position: absolute;
	top: 0;
	bottom: 0;
	left: 50%;
	width: 100vw;
	margin-left: -50vw;
	background: var(--color-navy);
	z-index: -1;
}

#footer p {
	margin: 0;
	padding: 0;
	line-height: normal;
	font-size: .85rem;
	text-transform: none;
	letter-spacing: .01em;
	text-align: center;
	color: #9fb7c2;
}

#footer a {
	color: #9fb7c2;
}

#footer a:hover {
	color: #ffffff;
}

/* Responsive */

@media (max-width: 820px) {
	#page-bgbtm {
		grid-template-columns: 1fr;
	}

	#navbar {
		justify-content: center;
		text-align: center;
	}

	#menu ul {
		justify-content: center;
	}

	#header img {
		height: 200px;
	}

	#content {
		padding: 26px 24px;
	}

	#sidebar {
		padding: 26px 24px;
	}

	h1 {
		font-size: 1.9rem;
	}

	h2 {
		font-size: 1.5rem;
	}

	.stats-row {
		flex-direction: column;
	}
}
