.teacherjobs-archive > .teacherjobs-job-container {
	width: 100%;
	max-width: 1200px;
	margin-left: auto;
	margin-right: auto;
	padding-left: 3rem;
	padding-right: 3rem;
	box-sizing: border-box;
}

.teacherjobs-breadcrumbs ol {
	display: flex;
	flex-wrap: wrap;
	align-items: left;
	gap: 0;
	margin: 0 0 6rem;
	margin-left: -16px;
	padding: 0;
	list-style: none;
}

.teacherjobs-breadcrumbs li {
	display: inline-flex;
	align-items: center;
	margin: 0;
	padding: 0;
}

.teacherjobs-breadcrumbs li:not(:last-child)::after {
	content: "/";
	margin: 0 0.6rem;
	opacity: 0.55;
}

.teacherjobs-breadcrumbs a {
	text-decoration: none;
}

.teacherjobs-breadcrumbs [aria-current="page"] {
	font-weight: 600;
}

.teacherjobs-filter-bar,
.teacherjobs-archive-results {
	transition: opacity 0.15s ease;
}

.teacherjobs-loading .teacherjobs-filter-bar,
.teacherjobs-loading .teacherjobs-archive-results {
	opacity: 0.5;
	pointer-events: none;
}


/*
 * Job filters
 */

.teacherjobs-filter-bar {
	margin: 0 0 2rem;
}

.teacherjobs-filter-form {
	display: flex;
	flex-wrap: wrap;
	align-items: flex-end;
	gap: 1rem;
	padding: 0 0 2rem;
}

.teacherjobs-filter-field {
	position: relative;
	flex: 1 1 16rem;
	min-width: 0;
}

.teacherjobs-filter-field > label {
	display: block;
	margin: 0 0 0.4rem;
	font-weight: 600;
}

.teacherjobs-native-filter-select {
	position: absolute !important;
	width: 1px !important;
	height: 1px !important;
	padding: 0 !important;
	margin: -1px !important;
	overflow: hidden !important;
	clip: rect(0, 0, 0, 0) !important;
	white-space: nowrap !important;
	border: 0 !important;
}

.teacherjobs-filter-dropdown {
	position: relative;
}

.teacherjobs-filter-toggle {
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 1rem;
	width: 100%;
	min-height: 3rem;
	padding: 0.65rem 0.9rem;
	border: 1px solid currentColor;
	border-radius: 0rem;
	background: #fff;
	color: inherit;
	font: inherit;
	text-align: left;
	cursor: pointer;
}

.teacherjobs-filter-toggle:focus-visible {
	outline: 2px solid currentColor;
	outline-offset: 2px;
}

.teacherjobs-filter-toggle-icon {
	flex: 0 0 auto;
	transition: transform 0.15s ease;
}

.teacherjobs-filter-dropdown.is-open
	.teacherjobs-filter-toggle-icon {
	transform: rotate(180deg);
}

.teacherjobs-filter-panel {
	position: absolute;
	z-index: 100;
	top: calc(100% + 0.25rem);
	left: 0;
	display: none;
	width: 100%;
	max-height: 18rem;
	overflow-y: auto;
	padding: 0.4rem;
	border: 1px solid #d5d5d5;
	border-radius: 0rem;
	background: #fff;
	box-shadow: 0 0.5rem 1.5rem rgba(0, 0, 0, 0.12);
}

.teacherjobs-filter-dropdown.is-open
	.teacherjobs-filter-panel {
	display: block;
}

.teacherjobs-filter-option[hidden] {
	display: none !important;
}

.teacherjobs-filter-option {
	display: flex;
	gap: 0.6rem;
	margin: 0;
	padding: 0.55rem 0.5rem;
	border-radius: 0rem;
	cursor: pointer;
	font-weight: 400;
}

.teacherjobs-filter-option:hover {
	background: rgba(0, 0, 0, 0.05);
}

.teacherjobs-filter-option:focus-within {
	outline: 2px solid currentColor;
	outline-offset: -2px;
}


.teacherjobs-filter-actions {
	display: flex;
	flex: 0 0 auto;
	align-items: center;
	gap: 0.9rem;
	min-height: 3rem;
}

.teacherjobs-filter-actions button {
	min-height: 3rem;
	padding: 0.65rem 1rem;
	cursor: pointer;
}

.teacherjobs-filter-option,
.teacherjobs-filter-toggle,
.teacherjobs-filter-actions button[type="submit"] {
	border-radius: 0;
}

.teacherjobs-filter-panel .teacherjobs-filter-option input[type="checkbox"] {
	appearance: none;
	-webkit-appearance: none;
	width: 1rem;
	height: 1rem;
	margin: 0;
	flex: 0 0 auto;
	position: relative;
	top: -1px;

	border: 1px solid #333;
	border-radius: 0;
	background-color: #fff;

	cursor: pointer;
	outline: none !important;
	box-shadow: none !important;
}

.teacherjobs-filter-panel .teacherjobs-filter-option input[type="checkbox"]:checked {
	background-color: #005a70 !important;
	border-color: #005a70 !important;

	background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16'%3E%3Cpath fill='white' d='M6.2 11.4 2.8 8l1.1-1.1 2.3 2.3 5.9-5.9 1.1 1.1z'/%3E%3C/svg%3E") !important;
	background-repeat: no-repeat !important;
	background-position: center !important;
	background-size: 0.85rem !important;

	outline: none !important;
	box-shadow: none !important;
}


.teacherjobs-filter-panel .teacherjobs-filter-option {
	display: flex;
	align-items: center;
	gap: 0.6rem;
}

.teacherjobs-filter-actions a {
	white-space: nowrap;
}


/*
 * Selected filter chips
 */

.teacherjobs-selected-filters {
	display: flex;
	flex-wrap: wrap;
	align-items: center;
	gap: 0.5rem;
	margin: 1rem 0 0;
}

.teacherjobs-selected-filters-label {
	margin-right: 0.15rem;
	font-weight: 600;
}

.teacherjobs-filter-chip {
	display: inline-flex;
	align-items: center;
	gap: 0.25rem;
	padding: 0.35rem 0.65rem;
	border: 1px solid currentColor;
	border-radius: 0px;
	text-decoration: none;
	line-height: 1.3;
}

.teacherjobs-filter-chip:hover {
	text-decoration: none;
}

.teacherjobs-filter-chip span {
	font-size: 1.1em;
	line-height: 1;
}
/*
 * Filter field widths
 */
.teacherjobs-filter-field {
	width: 100%;
	max-width: 280px;
}

.teacherjobs-filter-dropdown,
.teacherjobs-filter-field select {
	width: 100%;
}

/*
 * Responsive filters
 */

@media (max-width: 700px) {
	.teacherjobs-filter-form {
		display: block;
	}

	.teacherjobs-filter-field {
		margin-bottom: 1rem;
	}

	.teacherjobs-filter-actions {
		flex-wrap: wrap;
	}

	.teacherjobs-filter-panel {
		position: static;
		margin-top: 0.25rem;
	}
	.teacherjobs-filter-field {
	max-width: none;
}
	.single-job_listing .teacherjobs-job-container {
		padding-left: 15px;
		padding-right: 15px;
	}
}
/*
 * General application CTA
 */
.teacherjobs-general-application-cta {
	width: 100%;
	max-width: 1000px;
	margin: 3rem 0 0;
	padding: 2rem;
	border: 1px solid currentColor;
	border-radius: 0rem;
	box-sizing: border-box;
}

.teacherjobs-general-application-cta h2 {
	margin-top: 0;
}

.teacherjobs-general-application-cta p:last-child {
	margin-bottom: 0;
}

.teacherjobs-general-application-button {
	display: inline-block;
	padding: 0.75rem 1.25rem;
	text-decoration: none;
	border: 1px solid currentColor;
	border-radius: 0rem;
	font-weight: 600;
}
/*
 * Job archive pagination
 */
.teacherjobs-pagination ul.page-numbers {
	display: flex !important;
	flex-direction: row !important;
	flex-wrap: wrap;
	align-items: center;
	gap: 0.5rem;
	margin: 0;
	padding: 0;
	list-style: none;
}

.teacherjobs-pagination ul.page-numbers > li {
	display: inline-block !important;
	width: auto !important;
	margin: 0;
	padding: 0;
	float: none !important;
}

.teacherjobs-pagination ul.page-numbers > li > a,
.teacherjobs-pagination ul.page-numbers > li > span {
	display: inline-block;
	width: auto;
}
/*
 * Expired job 404
 */
.teacherjobs-expired-job {
	padding: 3rem 1.5rem;
}

.teacherjobs-expired-job .teacherjobs-job-container {
	width: 100%;
	max-width: 1200px;
	margin: 0 auto;
}

.teacherjobs-expired-job h1 {
	margin-top: 0;
}

.teacherjobs-filled-notice p:last-child {
	margin-top: 2.5rem;
	margin-bottom: 0;
}

@media (max-width: 700px) {
	.teacherjobs-expired-job {
		padding: 2rem 1rem;
	}
}

/*
 * Job application layout
 */
.teacherjobs-application {
	max-width: 800px;
	margin-left: auto;
	margin-right: auto;
}
/*
 * Keep the Exelare Bootstrap container responsive
 * inside the TeacherJobs application layout.
 */
#exelare_jobs_container > .container {
	width: 100% !important;
	max-width: 100% !important;
} 
/* Hide theme-generated author/date metadata on job posts. */
.single-job_listing .entry-meta {
	display: none;
}

/* Hide theme-generated previous/next post navigation on job posts. */
.single-job_listing .post-navigation,
.single-job_listing .navigation.post-navigation {
	display: none;
}
.teacherjobs-related-jobs {
	margin-top: 8rem;
}
.teacherjobs-filled-notice {
	margin: 2rem 0;
	padding: 1.5rem;
	border: 1px solid currentColor;
	border-radius: 0rem;
	background: rgba(0, 0, 0, 0.04);
}

.teacherjobs-filled-notice h2 {
	margin-top: 0;
}

.teacherjobs-filled-notice p:last-child {
	margin-bottom: 0;
}

/* TeacherJobs primary buttons */
.teacherjobs-job-container .wp-element-button,
.teacherjobs-general-application-button,
.teacherjobs-filter-actions button[type="submit"],
.teacherjobs-expired-job .wp-element-button {
	background-color: #005a70 !important;
	color: #ffffff !important;
	border: 2px solid #005a70 !important;
	text-decoration: none;
}

/* Hover + keyboard focus */
.teacherjobs-job-container .wp-element-button:hover,
.teacherjobs-job-container .wp-element-button:focus,
.teacherjobs-general-application-button:hover,
.teacherjobs-general-application-button:focus,
.teacherjobs-filter-actions button[type="submit"]:hover,
.teacherjobs-filter-actions button[type="submit"]:focus,
.teacherjobs-expired-job .wp-element-button:hover,
.teacherjobs-expired-job .wp-element-button:focus {
	background-color: #003f4f !important;
	color: #ffffff !important;
	border-color: #003f4f !important;
	text-decoration: none;
}

/* Visible keyboard focus */
.teacherjobs-job-container .wp-element-button:focus-visible,
.teacherjobs-general-application-button:focus-visible,
.teacherjobs-filter-actions button[type="submit"]:focus-visible,
.teacherjobs-expired-job .wp-element-button:focus-visible {
	outline: 3px solid #111111;
	outline-offset: 3px;
}
/*add spacing above CTA button on custom 404*/	
.teacherjobs-expired-job p:has(.wp-element-button) {
	margin-top: 4rem;
}
.teacherjobs-expired-job .teacherjobs-job-container {
	text-align: center;
}

/* Single job header spacing */
.teacherjobs-job-location,
.teacherjobs-job-type {
	margin: 0;
}

.teacherjobs-job-location + .teacherjobs-job-type {
	margin-top: 0.35rem;
}

.teacherjobs-job-apply {
	margin-top: 1.5rem;
	margin-bottom: 2.5rem;
}
/* Job archive cards */
.teacherjobs-listings-grid {
	display: grid;
	gap: 1.25rem;
}

.teacherjobs-listing-card {
	padding: 1.5rem;
	width: 100%;
	max-width: 1000px;
	border: 1px solid #d9d9d9;
	background: #fff;
	box-sizing: border-box;
}

/* Job title */
.teacherjobs-listing-card h3 {
	margin-top: 0;
	margin-bottom: 0.75rem;
}

/* Location, job type, and other card text */
.teacherjobs-listing-card p {
	margin-top: 0;
	margin-bottom: 0.5rem;
	line-height: 1.5;
}

/* Give the View Job link a little separation */
.teacherjobs-listing-card p:last-child {
	margin-top: 1rem;
	margin-bottom: 0;
}
/* Archive results heading and count spacing */
.teacherjobs-archive-results > h2 {
	margin-bottom: .5rem;
}

.teacherjobs-archive-count {
	margin-top: 0;
	margin-bottom: 2.5rem;
}
/* Single job: title, breadcrumbs, and job details spacing */

/* Space below the theme-generated job title */
.single-job_listing .entry-title {
	margin-bottom: 0rem;
}

/* Breadcrumb spacing */
.single-job_listing .teacherjobs-breadcrumbs {
	margin-top: 0;
	margin-bottom: 2rem;
}

.single-job_listing .teacherjobs-breadcrumbs ol {
	margin: 0;
}

/* Location */
.single-job_listing .teacherjobs-job-location {
	margin-top: 0;
	margin-bottom: 0.35rem;
}

/* Job type */
.single-job_listing .teacherjobs-job-type {
	margin-top: 0;
	margin-bottom: 0;
}
/* Single job post content padding */
.single-job_listing .teacherjobs-job-container {
	padding-left: 15px;
	padding-right: 15px;
	box-sizing: border-box;
}
.single-job_listing .teacherjobs-breadcrumbs {
	margin-left: -16px;
}
/* Make the entire job card clickable */
.teacherjobs-listing-card {
	position: relative;
	cursor: pointer;
}

/* Stretch the job-title link across the full card */
.teacherjobs-listing-card h3 a::after {
	content: "";
	position: absolute;
	inset: 0;
	z-index: 1;
}

/* Keep the visible View Job link above the stretched link */
.teacherjobs-listing-card > p:last-child a {
	position: relative;
	z-index: 2;
}

/* No card outline just because a link was clicked */
.teacherjobs-listing-card:focus-within {
	outline: none;
}

/* Show card outline for keyboard navigation only */
.teacherjobs-listing-card h3 a:focus-visible::after {
	outline: 2px solid #005a70;
	outline-offset: 2px;
}

/* Remove mouse-click focus styling from the job title link */
.teacherjobs-listing-card h3 a:focus {
	outline: none !important;
	box-shadow: none !important;
}

/* Keep keyboard focus on the whole card instead */
.teacherjobs-listing-card h3 a:focus-visible {
	outline: none !important;
	box-shadow: none !important;
}

.teacherjobs-listing-card h3 a:focus-visible::after {
	outline: 2px solid #005a70;
	outline-offset: 2px;
}

/* Subtle hover background for clickable job cards */
.teacherjobs-listing-card {
	transition:
		background-color 0.15s ease,
		border-color 0.15s ease;
}

.teacherjobs-listing-card:hover {
	background-color: #f7f9fa;
	border-color: #005a70;
}

/* Separate imported job description from Subjects */
.teacherjobs-job-subjects {
	margin-top: 3rem;
	padding-top: 1.5rem;
	border-top: 1px solid #d9d9d9;
}