/**
 * Ortho Job Listing — job board list (card layout).
 */

/* ------------------------------------------------------------------------- */
/* Board shell                                                                */
/* ------------------------------------------------------------------------- */

.ortho-job-listing--board {
	max-width: 960px;
	margin: 0 auto 2.5rem;
	padding: 0 1rem 2rem;
	background: #f0f1f3;
	box-sizing: border-box;
}

main.ortho-job-listing--archive {
	background: #f0f1f3;
	padding-bottom: 2.5rem;
}

.ortho-job-listing-archive-header {
	margin: 0 auto 0.25rem;
	padding: 1.75rem 1rem 0;
	max-width: 960px;
	box-sizing: border-box;
}

.ortho-job-listing-archive-header .page-title {
	margin: 0;
	font-family: Merriweather, Georgia, "Times New Roman", serif;
	font-weight: 500;
	font-size: 1.75rem;
	line-height: 1.3;
	color: rgb(59, 58, 60);
}

/* ------------------------------------------------------------------------- */
/* Filters                                                                    */
/* ------------------------------------------------------------------------- */

.ortho-job-listing__filters {
	display: grid;
	grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
	gap: 0.75rem 1rem;
	margin-bottom: 1.25rem;
	padding: 1.25rem 1.25rem;
	border: 1px solid #e0e0e0;
	border-radius: 4px;
	background: #fff;
	font-family: Roboto, sans-serif;
	font-weight: 500;
	font-size: 14px;
	line-height: 24px;
	color: rgb(148, 158, 175);
}

.ortho-job-listing__field label {
	display: block;
	font-weight: 500;
	margin-bottom: 0.35rem;
	color: rgb(59, 58, 60);
}

.ortho-job-listing__field input,
.ortho-job-listing__field select {
	width: 100%;
	box-sizing: border-box;
	padding: 0.5rem 0.65rem;
	border: 1px solid #e0e0e0;
	border-radius: 4px;
	font-family: Roboto, sans-serif;
	font-weight: 500;
	font-size: 14px;
	color: rgb(59, 58, 60);
	background: #fff;
}

.ortho-job-listing__actions .button {
	font-family: Roboto, sans-serif;
	font-weight: 500;
	font-size: 14px;
	line-height: 20px;
	color: rgb(240, 241, 244);
	background: #3c5164;
	border: none;
	border-radius: 4px;
	padding: 0.55rem 1.25rem;
	cursor: pointer;
}

.ortho-job-listing__actions .button:hover {
	filter: brightness(1.05);
}

/* ------------------------------------------------------------------------- */
/* Job card list                                                              */
/* ------------------------------------------------------------------------- */

.ortho-job-listing__list--cards {
	list-style: none;
	margin: 0;
	padding: 0;
	display: flex;
	flex-direction: column;
	gap: 1rem;
}

.ortho-job-card {
	background: #fff;
	border: 1px solid #e0e0e0;
	border-radius: 2px;
	box-shadow: 0 1px 0 rgba(0, 0, 0, 0.02);
	overflow: hidden;
}

/* Top: title + company | Apply */
.ortho-job-card__top {
	display: flex;
	flex-direction: row;
	align-items: center;
	justify-content: space-between;
	gap: 1rem;
	padding: 1.25rem 1.5rem;
}

.ortho-job-card__intro {
	flex: 1;
	min-width: 0;
}

.ortho-job-card__title {
	margin: 0 0 0.5rem;
	padding: 0;
	font-family: Merriweather, Georgia, "Times New Roman", serif;
	font-style: normal;
	font-weight: 500;
	font-size: 18px;
	line-height: 22px;
	color: rgb(59, 58, 60);
}

.ortho-job-card__title a {
	color: inherit;
	text-decoration: none;
}

.ortho-job-card__title a:hover,
.ortho-job-card__title a:focus {
	text-decoration: underline;
}

.ortho-job-card__company {
	display: flex;
	align-items: center;
	gap: 0.45rem;
	margin: 0;
	padding: 0;
	font-family: Roboto, sans-serif;
	font-style: normal;
	font-weight: 500;
	font-size: 14px;
	line-height: 24px;
	color: rgb(148, 158, 175);
}

.ortho-job-card__icon {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	flex-shrink: 0;
	color: rgb(148, 158, 175);
}

.ortho-job-card__icon svg {
	display: block;
}

.ortho-job-card__company-text {
	min-width: 0;
}

.ortho-job-card__actions {
	flex-shrink: 0;
	align-self: center;
}

.ortho-job-card__apply {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	box-sizing: border-box;
	min-height: 40px;
	padding: 0 1.35rem;
	font-family: Roboto, sans-serif;
	font-style: normal;
	font-weight: 500;
	font-size: 14px;
	line-height: 20px;
	color: rgb(240, 241, 244);
	background: #3c5164;
	text-decoration: none;
	border-radius: 2px;
	border: none;
	cursor: pointer;
	white-space: nowrap;
}

.ortho-job-card__apply:hover,
.ortho-job-card__apply:focus {
	color: rgb(240, 241, 244);
	background: #33475a;
	text-decoration: none;
}

/* Divider */
.ortho-job-card__divider {
	height: 1px;
	background: #e8e8e8;
	width: 100%;
}

/* Bottom: posted + excerpt */
.ortho-job-card__bottom {
	padding: 1.25rem 1.5rem 1.35rem;
}

.ortho-job-card__posted {
	display: flex;
	align-items: center;
	gap: 0.45rem;
	margin: 0 0 0.65rem;
	padding: 0;
	font-family: Roboto, sans-serif;
	font-style: normal;
	font-weight: 500;
	font-size: 14px;
	line-height: 24px;
	color: rgb(148, 158, 175);
}

.ortho-job-card__posted-text {
	min-width: 0;
}

.ortho-job-card__excerpt {
	margin: 0;
	padding: 0;
	font-family: Roboto, sans-serif;
	font-style: normal;
	font-weight: 500;
	font-size: 14px;
	line-height: 24px;
	color: rgb(148, 158, 175);
}

/* ------------------------------------------------------------------------- */
/* Empty state                                                                */
/* ------------------------------------------------------------------------- */

.ortho-job-listing__empty {
	font-family: Roboto, sans-serif;
	font-weight: 500;
	font-size: 14px;
	line-height: 24px;
	color: rgb(148, 158, 175);
	margin: 1rem 0 0;
}

.ortho-job-listing-message {
	font-family: Roboto, sans-serif;
	font-size: 14px;
	color: rgb(148, 158, 175);
}

/* ------------------------------------------------------------------------- */
/* Pagination (after 10 jobs)                                               */
/* ------------------------------------------------------------------------- */

.ortho-job-listing__pagination {
	margin-top: 1.5rem;
	padding-top: 0.5rem;
	font-family: Roboto, sans-serif;
	font-weight: 500;
	font-size: 14px;
	line-height: 24px;
}

.ortho-job-listing__pagination .page-numbers {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	min-width: 2.25rem;
	height: 2.25rem;
	margin: 0 0.25rem 0.35rem 0;
	padding: 0 0.5rem;
	border: 1px solid #e0e0e0;
	border-radius: 2px;
	background: #fff;
	color: rgb(148, 158, 175);
	text-decoration: none;
	box-sizing: border-box;
}

.ortho-job-listing__pagination .page-numbers.current,
.ortho-job-listing__pagination .page-numbers:hover {
	background: #3c5164;
	border-color: #3c5164;
	color: rgb(240, 241, 244);
}

.ortho-job-listing__pagination .page-numbers.dots {
	border-color: transparent;
	background: transparent;
	color: rgb(148, 158, 175);
	min-width: auto;
}

/* ------------------------------------------------------------------------- */
/* Application form (single / shortcode)                                    */
/* ------------------------------------------------------------------------- */

.ortho-job-listing__application {
	margin-top: 1.5rem;
	padding: 1.25rem 1.5rem;
	border: 1px solid #e0e0e0;
	border-radius: 4px;
	background: #fff;
	font-family: Roboto, sans-serif;
	font-weight: 500;
	font-size: 14px;
	line-height: 24px;
	color: rgb(148, 158, 175);
}

.ortho-job-listing__application label {
	color: rgb(59, 58, 60);
}

.ortho-job-listing__application input[type="text"],
.ortho-job-listing__application input[type="email"],
.ortho-job-listing__application textarea {
	width: 100%;
	box-sizing: border-box;
	padding: 0.5rem 0.65rem;
	border: 1px solid #e0e0e0;
	border-radius: 4px;
	font-family: Roboto, sans-serif;
	font-weight: 500;
	font-size: 14px;
	color: rgb(59, 58, 60);
}

.ortho-job-listing__application .button-primary,
.ortho-job-listing__application button[type="submit"] {
	font-family: Roboto, sans-serif;
	font-weight: 500;
	font-size: 14px;
	line-height: 20px;
	color: rgb(240, 241, 244);
	background: #3c5164;
	border: none;
	border-radius: 2px;
	padding: 0.55rem 1.35rem;
	cursor: pointer;
}

.ortho-job-listing__application .button-primary:hover,
.ortho-job-listing__application button[type="submit"]:hover {
	background: #33475a;
}

.ortho-job-listing__application-message {
	margin-top: 0.75rem;
	font-weight: 500;
	color: rgb(59, 58, 60);
}

/* ------------------------------------------------------------------------- */
/* Single / detail content                                                    */
/* ------------------------------------------------------------------------- */

.ortho-job-listing--detail .ortho-job-listing__header h2 {
	font-family: Merriweather, Georgia, "Times New Roman", serif;
	font-weight: 500;
	font-size: 22px;
	line-height: 1.3;
	color: rgb(59, 58, 60);
}

.ortho-job-listing--detail .ortho-job-listing__company,
.ortho-job-listing--detail .ortho-job-listing__url,
.ortho-job-listing--detail .ortho-job-listing__tagline,
.ortho-job-listing--detail .ortho-job-listing__salary {
	font-family: Roboto, sans-serif;
	font-weight: 500;
	font-size: 14px;
	line-height: 24px;
	color: rgb(148, 158, 175);
}

.ortho-job-listing--detail .ortho-job-listing__content {
	font-family: Roboto, sans-serif;
	font-weight: 500;
	font-size: 14px;
	line-height: 24px;
	color: rgb(59, 58, 60);
}

.ortho-job-listing__features {
	margin: 1.5rem 0;
	padding: 1rem 1.25rem;
	border: 1px solid #e0e0e0;
	border-radius: 4px;
	background: #fff;
}

.ortho-job-listing__features-title {
	font-family: Merriweather, Georgia, "Times New Roman", serif;
	font-weight: 500;
	font-size: 18px;
	margin: 0 0 0.75rem;
	color: rgb(59, 58, 60);
}

.ortho-job-listing__features-list {
	list-style: none;
	margin: 0;
	padding: 0;
}

.ortho-job-listing__features-item {
	display: flex;
	flex-wrap: wrap;
	align-items: center;
	gap: 0.5rem 0.75rem;
	margin: 0.35rem 0;
	font-family: Roboto, sans-serif;
	font-weight: 500;
	font-size: 14px;
	line-height: 24px;
	color: rgb(148, 158, 175);
}

.ortho-job-listing__features-icon {
	color: rgb(148, 158, 175);
	min-width: 1.25rem;
	text-align: center;
}

.ortho-job-listing__features-label {
	font-weight: 500;
	color: rgb(59, 58, 60);
}

.ortho-job-listing__features-value {
	color: rgb(148, 158, 175);
}

/* ------------------------------------------------------------------------- */
/* Single job (Divi shortcodes)                                               */
/* ------------------------------------------------------------------------- */

.ortho-jl-single-title {
	margin: 0 0 0.5rem;
	font-family: Merriweather, Georgia, "Times New Roman", serif;
	font-weight: 500;
	font-size: 18px;
	line-height: 22px;
	color: rgb(59, 58, 60);
}

.ortho-jl-single-position {
	display: flex;
	align-items: center;
	gap: 0.45rem;
	margin: 0 0 1rem;
	font-family: Roboto, sans-serif;
	font-weight: 500;
	font-size: 14px;
	line-height: 24px;
	color: rgb(148, 158, 175);
}

.ortho-jl-single-position__icon {
	color: rgb(148, 158, 175);
	display: inline-flex;
}

.ortho-jl-single-divider {
	border: 0;
	border-top: 1px solid #e8e8e8;
	margin: 0 0 1rem;
}

.ortho-jl-single-date {
	display: flex;
	align-items: center;
	gap: 0.45rem;
	margin: 0 0 1rem;
	font-family: Roboto, sans-serif;
	font-weight: 500;
	font-size: 14px;
	line-height: 24px;
	color: rgb(148, 158, 175);
}

.ortho-jl-single-date__icon {
	display: inline-flex;
	color: rgb(148, 158, 175);
}

.ortho-jl-single-actions {
	margin: 0 0 1.5rem;
}

.ortho-jl-single-apply {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	min-height: 40px;
	padding: 0 1.35rem;
	font-family: Roboto, sans-serif;
	font-weight: 500;
	font-size: 14px;
	line-height: 20px;
	color: rgb(240, 241, 244);
	background: #3c5164;
	text-decoration: none;
	border-radius: 4px;
}

.ortho-jl-single-apply:hover,
.ortho-jl-single-apply:focus {
	color: rgb(240, 241, 244);
	background: #33475a;
	text-decoration: none;
}

.ortho-jl-single-description {
	font-family: Roboto, sans-serif;
	font-weight: 500;
	font-size: 14px;
	line-height: 24px;
	color: rgb(148, 158, 175);
}

.ortho-jl-single-description p {
	margin: 0 0 1rem;
}

.ortho-jl-single-empty {
	font-family: Roboto, sans-serif;
	font-size: 14px;
	color: rgb(148, 158, 175);
}

/* [inner_job_page] / single job — layout reference (title #3C5164; company Roboto; date bold) */
.ortho-jl-inner-page .ortho-jl-single-title {
	font-family: Merriweather, Georgia, "Times New Roman", serif;
	font-size: 22px;
	line-height: 28px;
	font-weight: 500;
	color: #3c5164;
	margin: 0 0 0.65rem;
}

.ortho-jl-inner-page .ortho-jl-single-position {
	font-family: Roboto, sans-serif;
	font-size: 15px;
	line-height: 24px;
	font-weight: 500;
	color: rgb(59, 58, 60);
	margin: 0 0 1.1rem;
}

.ortho-jl-inner-page .ortho-jl-single-position__icon {
	color: #3c5164;
}

.ortho-jl-inner-page .ortho-jl-single-divider {
	margin: 0 0 1.15rem;
}

.ortho-jl-inner-page .ortho-jl-single-date {
	font-family: Roboto, sans-serif;
	font-size: 14px;
	line-height: 24px;
	font-weight: 700;
	color: rgb(59, 58, 60);
	margin: 0 0 1.35rem;
}

.ortho-jl-inner-page .ortho-jl-single-date__icon {
	color: #3c5164;
}

.ortho-jl-inner-page .ortho-jl-single-actions {
	margin: 0 0 2rem;
}

.ortho-jl-inner-page .ortho-jl-single-apply {
	font-weight: 700;
}

.ortho-jl-inner-page .ortho-jl-single-description {
	margin-bottom: 0.5rem;
}

.ortho-jl-inner-page .ortho-jl-single-description strong {
	color: rgb(59, 58, 60);
}

.ortho-jl-inner-page .ortho-jl-apply-block {
	margin-top: 2rem;
	padding-top: 1.75rem;
}

.ortho-jl-inner-page .ortho-jl-apply-block__title {
	font-family: Merriweather, Georgia, "Times New Roman", serif;
	color: #3c5164;
}

/* Apply block + two-column form (Divi) */
.ortho-jl-apply-block {
	margin-top: 2rem;
	padding-top: 1.5rem;
	border-top: 1px solid #e8e8e8;
}

.ortho-jl-apply-block__title {
	margin: 0 0 0.75rem;
	font-family: Merriweather, Georgia, "Times New Roman", serif;
	font-weight: 500;
	font-size: 18px;
	line-height: 22px;
	color: rgb(59, 58, 60);
}

.ortho-jl-apply-block__intro {
	font-family: Roboto, sans-serif;
	font-weight: 500;
	font-size: 14px;
	line-height: 24px;
	color: rgb(148, 158, 175);
	margin-bottom: 1rem;
}

.ortho-job-listing__application--grid {
	display: flow-root;
	max-width: 100%;
}

.ortho-job-listing__application--grid .ortho-jl-form-row {
	display: grid;
	grid-template-columns: minmax(120px, 220px) 1fr;
	gap: 0.75rem 1.25rem;
	align-items: start;
	margin: 0 0 1rem;
	width: 100%;
	box-sizing: border-box;
}

.ortho-job-listing__application--grid .ortho-jl-form-row--section {
	grid-template-columns: 1fr;
}

.ortho-job-listing__application--grid .ortho-jl-form-row--full {
	grid-template-columns: 1fr;
}

.ortho-job-listing__application--grid .ortho-jl-form-label {
	text-align: right;
	padding-top: 0.45rem;
	font-family: Roboto, sans-serif;
	font-weight: 500;
	font-size: 14px;
	line-height: 24px;
	color: rgb(59, 58, 60);
	min-width: 0;
}

.ortho-job-listing__application--grid .ortho-jl-form-label--submit-spacer {
	padding-top: 0;
	line-height: 0;
	overflow: hidden;
}

.ortho-job-listing__application--grid .ortho-jl-form-control {
	min-width: 0;
	width: 100%;
	max-width: 100%;
}

.ortho-job-listing__application--grid .ortho-jl-form-row--file .ortho-jl-form-label {
	padding-top: 0.55rem;
}

.ortho-job-listing__application--grid .ortho-jl-form-control input[type="text"],
.ortho-job-listing__application--grid .ortho-jl-form-control input[type="email"],
.ortho-job-listing__application--grid .ortho-jl-form-control input[type="tel"],
.ortho-job-listing__application--grid .ortho-jl-form-control textarea {
	width: 100%;
	box-sizing: border-box;
	padding: 0.55rem 0.65rem;
	border: 1px solid #e0e0e0;
	border-radius: 4px;
	font-family: Roboto, sans-serif;
	font-weight: 500;
	font-size: 14px;
	color: rgb(59, 58, 60);
	background: #fff;
}

.ortho-job-listing__application--grid .ortho-jl-file-wrap {
	display: flex;
	align-items: stretch;
	gap: 0;
	border: 1px solid #e0e0e0;
	border-radius: 4px;
	overflow: hidden;
	background: #fff;
	width: 100%;
	max-width: 100%;
	box-sizing: border-box;
}

.ortho-job-listing__application--grid .ortho-jl-file-fake {
	flex: 1;
	border: 0;
	border-radius: 0;
	padding: 0.55rem 0.65rem;
	background: #fff;
	color: rgb(148, 158, 175);
}

.ortho-job-listing__application--grid .ortho-jl-file-browse {
	margin: 0;
	flex: 0 0 auto;
	border-radius: 0;
	border: 0;
	border-left: 1px solid #e0e0e0;
	background: #3c5164;
	color: rgb(240, 241, 244);
	font-family: Roboto, sans-serif;
	font-weight: 500;
	font-size: 14px;
	line-height: 20px;
	padding: 0.55rem 1rem;
	cursor: pointer;
	position: relative;
	display: inline-flex;
	align-items: center;
	justify-content: center;
	white-space: nowrap;
}

.ortho-job-listing__application--grid .ortho-jl-file-input {
	position: absolute;
	inset: 0;
	opacity: 0;
	cursor: pointer;
	width: 100%;
	height: 100%;
}

.ortho-job-listing__application--grid .ortho-jl-form-row--submit .ortho-jl-form-control {
	justify-self: end;
	text-align: right;
}

.ortho-job-listing__application--grid .ortho-jl-submit {
	background: #3c5164;
	color: rgb(240, 241, 244);
	border: 0;
	border-radius: 4px;
	padding: 0.55rem 1.35rem;
	font-family: Roboto, sans-serif;
	font-weight: 500;
	font-size: 14px;
	line-height: 20px;
	cursor: pointer;
}

.ortho-job-listing__application--grid .ortho-jl-submit:hover,
.ortho-job-listing__application--grid .ortho-jl-submit:focus {
	background: #33475a;
	color: rgb(240, 241, 244);
}

.ortho-req {
	color: #c00;
}

/* ------------------------------------------------------------------------- */
/* Responsive                                                                */
/* ------------------------------------------------------------------------- */

@media (max-width: 640px) {
	.ortho-job-card__top {
		flex-direction: column;
		align-items: flex-start;
	}

	.ortho-job-card__actions {
		align-self: stretch;
		width: 100%;
	}

	.ortho-job-card__apply {
		width: 100%;
		justify-content: center;
	}

	.ortho-job-listing__application--grid .ortho-jl-form-row {
		grid-template-columns: 1fr;
	}

	.ortho-job-listing__application--grid .ortho-jl-form-label {
		text-align: left;
		padding-top: 0;
	}
}
