/*
 * Staff pages (single-staff.php, archive-staff.php) in the 2026 homepage palette.
 * Navy #1a2540, sky #7ec8e3, dark sky #237e9f (labels on light backgrounds),
 * panel #f7f8fa -- the same values the homepage uses in style-template.min.css.
 *
 * Kept as its own file, loaded only by the staff templates, so the shared theme
 * stylesheet (built from _psSrc SCSS) does not have to be rebuilt for this.
 */

/* ---------- Single staff profile ---------- */

.staff-wrapper h1,
.staff-wrapper h2,
.staff-wrapper h3,
.staff-wrapper .staff-blocks .staff-info .info-box h2 {
	color: #1a2540;
}

.staff-wrapper a,
.staff-wrapper a:visited {
	color: #1a2540;
}
.staff-wrapper a:hover,
.staff-wrapper a:focus {
	color: #237e9f;
}

.staff-wrapper .staff-blocks .staff-intro sup,
.staff-wrapper .staff-blocks ul.certs li:before {
	color: #237e9f;
}

.staff-wrapper .staff-blocks .primary-info,
.staff-wrapper .staff-blocks .staff-info .info-box,
.staff-wrapper .module.box-wrap {
	background: #f7f8fa;
	border: none;
	border-left: 4px solid #7ec8e3;
	border-radius: 10px;
	-webkit-box-shadow: 2px 2px 7px rgba(0, 0, 0, .12);
	box-shadow: 2px 2px 7px rgba(0, 0, 0, .12);
}

.staff-wrapper .button.button-primary,
.staff-wrapper a.button.button-primary:visited {
	background: #1a2540;
	border-color: #1a2540;
	color: #fff;
}
.staff-wrapper .button.button-primary:hover,
.staff-wrapper .button.button-primary:focus {
	background: #7ec8e3;
	border-color: #7ec8e3;
	color: #1a2540;
}

/* ---------- Staff archive (/staff/) ---------- */

.post-type-archive-staff #primary h1,
.post-type-archive-staff #primary h2,
.post-type-archive-staff #primary h3,
.post-type-archive-staff #primary a,
.post-type-archive-staff #primary a:visited {
	color: #1a2540;
}
.post-type-archive-staff #primary a:hover,
.post-type-archive-staff #primary a:focus {
	color: #237e9f;
}

.post-type-archive-staff #primary .grid-item {
	background: #f7f8fa;
	border: none;
	border-left: 4px solid #7ec8e3;
	border-radius: 10px;
	-webkit-box-shadow: 2px 2px 7px rgba(0, 0, 0, .12);
	box-shadow: 2px 2px 7px rgba(0, 0, 0, .12);
}

/* ---------- "Explore Current ... Opportunities" columns ---------- */

/* Columns stretch to the tallest one and pin "View Additional" to the bottom,
   so the three buttons line up across the row. */
.staff-wrapper .mobile-divide {
	display: -webkit-box;
	display: -ms-flexbox;
	display: flex;
	-webkit-box-orient: vertical;
	-webkit-box-direction: normal;
	-ms-flex-direction: column;
	flex-direction: column;
}
.staff-wrapper .mobile-divide > p:last-child {
	margin-top: auto;
	padding-top: 1em;
}

/* Theme draws a 2px teal rule under the first column at every width.
   Drop it on desktop; on mobile, divide every stacked column instead. */
.staff-wrapper .flex-cols .mobile-divide:first-of-type {
	border-bottom: none;
	margin-bottom: 0;
}
@media (max-width: 768px) {
	.staff-wrapper .flex-cols .mobile-divide {
		border-bottom: 1px solid #e3e6ec;
		margin-bottom: 1.5em;
		padding-bottom: 1.5em;
	}
	.staff-wrapper .flex-cols .mobile-divide:last-of-type {
		border-bottom: none;
	}
}

/* "View Additional" buttons: same size and shape as the card buttons. */
.staff-wrapper .mobile-divide > p:last-child .button.button-primary {
	display: inline-block;
	font-size: 14px;
	line-height: 1.4em;
	padding: 10px 18px;
	border-radius: 4px;
}

/* ---------- Job cards (same look as the job board's "More ... Jobs" cards) ---------- */

.staff-wrapper .staff-job-card {
	background: #fff;
	border: 1px solid #e3e6ec;
	border-left: 4px solid #7ec8e3;
	border-radius: 8px;
	margin: 0 0 16px;
	padding: 20px 22px;
	-webkit-transition: border-color .15s, -webkit-box-shadow .15s;
	transition: border-color .15s, box-shadow .15s;
}
.staff-wrapper .staff-job-card:hover {
	border-color: #1a2540;
	-webkit-box-shadow: 0 4px 14px rgba(26, 37, 64, .08);
	box-shadow: 0 4px 14px rgba(26, 37, 64, .08);
}

.staff-wrapper .staff-job-title {
	font-size: 18px;
	font-weight: 700;
	line-height: 1.3;
	margin: 0 0 10px;
}
.staff-wrapper .staff-job-title a,
.staff-wrapper .staff-job-title a:visited {
	color: #1a2540;
	text-decoration: none;
}
.staff-wrapper .staff-job-title a:hover {
	color: #237e9f;
}

.staff-wrapper .staff-job-meta {
	display: -webkit-box;
	display: -ms-flexbox;
	display: flex;
	-ms-flex-wrap: wrap;
	flex-wrap: wrap;
	gap: 8px;
	list-style: none;
	margin: 0 0 14px;
	padding: 0;
}
.staff-wrapper .staff-job-meta li {
	-webkit-box-align: center;
	-ms-flex-align: center;
	align-items: center;
	display: -webkit-inline-box;
	display: -ms-inline-flexbox;
	display: inline-flex;
	font-size: 13px;
	gap: 6px;
	line-height: 1.2;
	margin: 0;
	padding: 6px 10px;
}
.staff-wrapper .staff-job-meta li:before {
	content: none;
}
.staff-wrapper .staff-job-meta .chip {
	background: #f3f5f8;
	border-radius: 999px;
	color: #333;
}
.staff-wrapper .staff-job-meta .chip-cat {
	background: #e6f4fa;
	color: #1a2540;
	font-weight: 700;
}
.staff-wrapper .staff-job-meta .posted {
	color: #666;
	padding-left: 2px;
}
.staff-wrapper .staff-job-meta i {
	font-size: 12px;
}

.staff-wrapper .staff-blocks .staff-job-desc,
.staff-wrapper .staff-job-desc {
	color: #555;
	font-size: 14px;
	line-height: 1.75;
	margin: 0 0 16px;
}

.staff-wrapper .staff-job-cta {
	margin: 0;
}
.staff-wrapper .staff-job-cta .button.button-primary,
.staff-wrapper .mobile-divide > p:last-child .button.button-primary {
	border-radius: 6px;
	display: inline-block;
	font-size: 15px;
	font-weight: 700;
	line-height: 1.2;
	padding: 12px 20px;
	text-decoration: none;
}

/* Theme buttons carry a dark text-shadow; on the navy/sky buttons it reads as a
   smudge (worst on hover, navy text on sky). Flat text, like the homepage. */
.staff-wrapper a.button.button-primary,
.staff-wrapper a.button.button-primary:visited,
.staff-wrapper a.button.button-primary:hover,
.staff-wrapper a.button.button-primary:focus,
.staff-wrapper a.button.button-primary:active,
.staff-wrapper button.button.button-primary,
.staff-wrapper button.button.button-primary:hover,
.staff-wrapper button.button.button-primary:focus {
	-webkit-box-shadow: none;
	box-shadow: none;
	text-shadow: none;
}

/* Mobile: the first stacked column needs its divider too (overrides the
   desktop :first-of-type reset above). */
@media (max-width: 768px) {
	.staff-wrapper .flex-cols .mobile-divide:first-of-type {
		border-bottom: 1px solid #e3e6ec;
		margin-bottom: 1.5em;
	}
}

/* "Submit Your Resume Here" (opens the Gravity Forms modal): room above it and
   the same shape/size as the other staff page buttons. */
.staff-wrapper button#openForm.button.button-primary {
	border-radius: 6px;
	display: inline-block;
	font-size: 15px;
	font-weight: 700;
	line-height: 1.2;
	margin: 28px 0 8px;
	padding: 12px 20px;
}
.staff-wrapper button#openForm.button.button-primary i {
	margin-right: 6px;
}
