/* JBH Job Manager — Frontend (cutting-edge) */
:root {
	--jbh-ink: #0b1324;
	--jbh-ink-soft: #1c2a44;
	--jbh-muted: #5a6b85;
	--jbh-line: rgba(15, 35, 70, 0.1);
	--jbh-surface: rgba(255, 255, 255, 0.86);
	--jbh-surface-solid: #ffffff;
	--jbh-mesh-a: #e8f4f1;
	--jbh-mesh-b: #eef2fb;
	--jbh-mesh-c: #f7f1e8;
	--jbh-accent: #0f766e;
	--jbh-accent-deep: #0a5450;
	--jbh-accent-2: #1d4ed8;
	--jbh-gold: #b45309;
	--jbh-radius: 18px;
	--jbh-radius-sm: 12px;
	--jbh-shadow: 0 18px 40px rgba(11, 19, 36, 0.08);
	--jbh-shadow-hover: 0 22px 48px rgba(11, 19, 36, 0.14);
	--jbh-font: "Assistant", "Segoe UI", sans-serif;
	--jbh-display: "Rubik", "Assistant", sans-serif;
	--jbh-ease: cubic-bezier(0.22, 1, 0.36, 1);
}

.jbh-jobs-list,
.jbh-filters,
.jbh-employer-jobs,
.jbh-apply-form-wrap,
.jbh-modal {
	font-family: var(--jbh-font);
	color: var(--jbh-ink);
	direction: rtl;
}

.jbh-surface {
	position: relative;
	isolation: isolate;
}

.jbh-surface::before {
	content: "";
	position: absolute;
	inset: -24px -12px;
	z-index: -1;
	pointer-events: none;
	background:
		radial-gradient(900px 420px at 100% 0%, var(--jbh-mesh-a), transparent 60%),
		radial-gradient(700px 380px at 0% 20%, var(--jbh-mesh-b), transparent 55%),
		radial-gradient(600px 320px at 70% 100%, var(--jbh-mesh-c), transparent 50%);
	opacity: 0.95;
}

/* Filters */
.jbh-filters {
	display: grid;
	grid-template-columns: repeat(3, minmax(0, 1fr)) auto;
	gap: 12px;
	align-items: end;
	padding: 18px;
	background: var(--jbh-surface);
	backdrop-filter: blur(14px);
	border: 1px solid var(--jbh-line);
	border-radius: var(--jbh-radius);
	margin-bottom: 28px;
	box-shadow: var(--jbh-shadow);
	animation: jbh-rise 0.7s var(--jbh-ease) both;
}

.jbh-filters__label {
	display: block;
	margin-bottom: 6px;
	font-size: 0.78rem;
	font-weight: 700;
	color: var(--jbh-muted);
}

.jbh-filters select {
	width: 100%;
	border: 1px solid var(--jbh-line);
	border-radius: var(--jbh-radius-sm);
	padding: 12px 14px;
	background: var(--jbh-surface-solid);
	color: var(--jbh-ink);
	font: inherit;
	transition: border-color 0.2s ease, box-shadow 0.2s ease;
}

.jbh-filters select:focus {
	outline: none;
	border-color: var(--jbh-accent);
	box-shadow: 0 0 0 3px rgba(15, 118, 110, 0.15);
}

.jbh-filters__reset[hidden] {
	display: none !important;
}

.jbh-jobs-ajax-root.is-loading .jbh-jobs-list {
	opacity: 0.45;
	pointer-events: none;
	transition: opacity 0.2s ease;
}

/* Jobs grid + premium cards */
.jbh-jobs-grid {
	display: flex;
	flex-direction: column;
	gap: 18px;
}

.jbh-job-card {
	position: relative;
	display: flex;
	flex-wrap: wrap;
	align-items: stretch;
	gap: 0;
	background: #ffffff;
	border: 1px solid rgba(11, 19, 36, 0.08);
	border-radius: 20px;
	overflow: hidden;
	box-shadow: 0 14px 36px rgba(11, 19, 36, 0.08);
	opacity: 0;
	transform: translateY(16px);
	transition: transform 0.4s cubic-bezier(0.22, 1, 0.36, 1), box-shadow 0.4s ease, opacity 0.4s ease;
}

.jbh-job-card.is-visible {
	opacity: 1;
	transform: translateY(0);
}

.jbh-job-card:hover {
	transform: translateY(-5px);
	box-shadow: 0 24px 50px rgba(11, 19, 36, 0.14);
}

.jbh-job-card__accent {
	width: 8px;
	flex: 0 0 8px;
	background: linear-gradient(180deg, #0f766e 0%, #0a5450 100%);
}

.jbh-job-card--promoted .jbh-job-card__accent {
	background: linear-gradient(180deg, #f59e0b 0%, #b45309 100%);
}

.jbh-job-card__body {
	flex: 1 1 280px;
	padding: 22px 24px;
	min-width: 0;
	background:
		radial-gradient(500px 160px at 100% 0%, rgba(15, 118, 110, 0.07), transparent 55%);
}

.jbh-job-card--promoted .jbh-job-card__body {
	background:
		radial-gradient(500px 160px at 100% 0%, rgba(245, 158, 11, 0.12), transparent 55%);
}

.jbh-job-card__top {
	display: flex;
	flex-wrap: wrap;
	align-items: center;
	gap: 8px;
	margin-bottom: 12px;
}

.jbh-job-card__id {
	font-family: "Rubik", "Assistant", sans-serif;
	font-size: 0.75rem;
	font-weight: 800;
	letter-spacing: 0.05em;
	color: #5a6b85;
	background: #f1f4f8;
	padding: 4px 10px;
	border-radius: 999px;
}

.jbh-badge {
	display: inline-flex;
	align-items: center;
	gap: 5px;
	padding: 4px 10px;
	border-radius: 999px;
	font-size: 11px;
	font-weight: 800;
	white-space: nowrap;
}

.jbh-badge--live {
	background: rgba(15, 118, 110, 0.12);
	color: #0f766e;
}

.jbh-badge--promo {
	background: linear-gradient(135deg, #f59e0b, #b45309);
	color: #fff;
	box-shadow: 0 8px 18px rgba(180, 83, 9, 0.25);
}

.jbh-job-card__title {
	margin: 0 0 10px;
	font-family: "Rubik", "Assistant", sans-serif;
	font-size: clamp(1.25rem, 2.6vw, 1.65rem);
	line-height: 1.28;
	font-weight: 800;
	letter-spacing: -0.015em;
}

.jbh-job-card__open {
	all: unset;
	cursor: pointer;
	color: #0b1324;
	transition: color 0.2s ease;
}

.jbh-job-card__open:hover,
.jbh-job-card__open:focus-visible {
	color: #0f766e;
}

.jbh-job-card__meta-line {
	margin: 0 0 14px;
	color: #3d4d66;
	font-size: 0.98rem;
	font-weight: 600;
	line-height: 1.45;
}

.jbh-job-card__tags {
	display: flex;
	flex-wrap: wrap;
	gap: 7px;
}

.jbh-tag {
	background: rgba(15, 118, 110, 0.1);
	color: #0a5450;
	padding: 5px 12px;
	border-radius: 999px;
	font-size: 0.8rem;
	font-weight: 800;
}

.jbh-tag--area {
	background: rgba(29, 78, 216, 0.1);
	color: #1d4ed8;
}

.jbh-job-card__aside {
	flex: 0 0 210px;
	display: flex;
	flex-direction: column;
	align-items: stretch;
	justify-content: center;
	gap: 10px;
	padding: 22px 18px;
	background: linear-gradient(180deg, #0b1324 0%, #152238 100%);
	color: #fff;
}

.jbh-job-card__cta-btn {
	display: inline-flex;
	align-items: center;
	justify-content: space-between;
	gap: 10px;
	width: 100%;
	border: 0 !important;
	border-radius: 14px;
	padding: 14px 16px;
	background: linear-gradient(135deg, #14b8a6, #0f766e) !important;
	color: #ffffff !important;
	font: inherit;
	font-weight: 800;
	font-size: 0.98rem;
	cursor: pointer;
	box-shadow: 0 12px 28px rgba(15, 118, 110, 0.35);
	transition: transform 0.2s ease, filter 0.2s ease;
	text-decoration: none !important;
	-webkit-text-fill-color: #ffffff !important;
}

.jbh-job-card__cta-btn:hover,
.jbh-job-card__cta-btn:focus,
.jbh-job-card__cta-btn:active {
	transform: translateY(-2px);
	filter: brightness(1.05);
	color: #ffffff !important;
	-webkit-text-fill-color: #ffffff !important;
	background: linear-gradient(135deg, #14b8a6, #0f766e) !important;
}

.jbh-job-card__cta-btn span {
	color: #ffffff !important;
	-webkit-text-fill-color: #ffffff !important;
}

.jbh-job-card--promoted .jbh-job-card__cta-btn {
	background: linear-gradient(135deg, #f59e0b, #b45309) !important;
	box-shadow: 0 12px 28px rgba(180, 83, 9, 0.35);
	color: #ffffff !important;
	-webkit-text-fill-color: #ffffff !important;
}

.jbh-job-card--promoted .jbh-job-card__cta-btn:hover,
.jbh-job-card--promoted .jbh-job-card__cta-btn:focus {
	background: linear-gradient(135deg, #f59e0b, #b45309) !important;
	color: #ffffff !important;
	-webkit-text-fill-color: #ffffff !important;
}

.jbh-job-card__aside-note {
	font-size: 0.78rem;
	line-height: 1.35;
	text-align: center;
	color: rgba(255, 255, 255, 0.85) !important;
	font-weight: 600;
}

@media (max-width: 760px) {
	.jbh-job-card__aside {
		flex: 1 1 100%;
		flex-direction: row;
		align-items: center;
		padding: 14px 16px;
	}

	.jbh-job-card__cta-btn {
		flex: 1;
	}

	.jbh-job-card__aside-note {
		flex: 0 1 42%;
		text-align: right;
	}
}

/* Buttons — force readable colors against theme overrides */
.jbh-btn {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	gap: 8px;
	border: none !important;
	border-radius: 12px;
	padding: 11px 18px;
	font: inherit;
	font-weight: 700;
	cursor: pointer;
	text-decoration: none !important;
	transition: transform 0.2s var(--jbh-ease), background 0.2s ease, color 0.2s ease, box-shadow 0.2s ease;
}

.jbh-btn:hover {
	transform: translateY(-1px);
}

.jbh-btn:active {
	transform: translateY(0);
}

.jbh-btn--primary,
a.jbh-btn--primary,
button.jbh-btn--primary,
.jbh-btn.jbh-btn--primary {
	background: linear-gradient(135deg, #0f766e, #0a5450) !important;
	color: #ffffff !important;
	-webkit-text-fill-color: #ffffff !important;
	box-shadow: 0 10px 24px rgba(15, 118, 110, 0.28);
	border: none !important;
}

.jbh-btn--primary:hover,
.jbh-btn--primary:focus,
.jbh-btn--primary:active,
a.jbh-btn--primary:hover,
button.jbh-btn--primary:hover {
	background: linear-gradient(135deg, #12857c, #0a5450) !important;
	color: #ffffff !important;
	-webkit-text-fill-color: #ffffff !important;
}

.jbh-btn--primary *,
.jbh-btn--primary span {
	color: #ffffff !important;
	-webkit-text-fill-color: #ffffff !important;
}

.jbh-btn--shine {
	position: relative;
	overflow: hidden;
}

.jbh-btn--shine::after {
	content: "";
	position: absolute;
	inset: 0;
	background: linear-gradient(110deg, transparent 30%, rgba(255, 255, 255, 0.28) 48%, transparent 66%);
	transform: translateX(120%);
	transition: transform 0.7s var(--jbh-ease);
	pointer-events: none;
}

.jbh-btn--shine:hover::after {
	transform: translateX(-120%);
}

.jbh-btn__arrow {
	display: inline-block;
	transition: transform 0.25s var(--jbh-ease);
	color: inherit !important;
}

.jbh-btn:hover .jbh-btn__arrow {
	transform: translateX(-3px);
}

.jbh-btn--ghost,
a.jbh-btn--ghost,
button.jbh-btn--ghost {
	background: transparent !important;
	color: #1d4ed8 !important;
	-webkit-text-fill-color: #1d4ed8 !important;
	border: 1px solid var(--jbh-line) !important;
}

.jbh-btn--sm {
	padding: 7px 12px;
	font-size: 0.85rem;
	border-radius: 10px;
}

/* Modal — high specificity to beat theme/Elementor resets */
body.jbh-modal-open {
	overflow: hidden !important;
}

html body .jbh-modal {
	position: fixed !important;
	inset: 0 !important;
	z-index: 999999 !important;
	display: grid !important;
	place-items: center;
	padding: 16px;
	margin: 0 !important;
	font-family: var(--jbh-font);
	color: var(--jbh-ink);
	direction: rtl;
	box-sizing: border-box;
}

html body .jbh-modal[hidden] {
	display: none !important;
}

html body .jbh-modal__backdrop {
	position: absolute;
	inset: 0;
	background: rgba(8, 14, 28, 0.62);
	backdrop-filter: blur(8px);
	-webkit-backdrop-filter: blur(8px);
	opacity: 0;
	transition: opacity 0.3s ease;
}

html body .jbh-modal.is-open .jbh-modal__backdrop {
	opacity: 1;
}

html body .jbh-modal__dialog {
	position: relative;
	width: min(760px, 100%);
	max-height: min(90vh, 920px);
	overflow: auto;
	background: #fff !important;
	border-radius: 24px;
	box-shadow: 0 40px 100px rgba(8, 14, 28, 0.4);
	border: 1px solid rgba(255, 255, 255, 0.5);
	transform: translateY(28px) scale(0.97);
	opacity: 0;
	transition: transform 0.4s var(--jbh-ease), opacity 0.35s ease;
	color: var(--jbh-ink);
}

html body .jbh-modal.is-open .jbh-modal__dialog {
	transform: translateY(0) scale(1);
	opacity: 1;
}

html body .jbh-modal__close {
	position: sticky;
	top: 14px;
	float: left;
	z-index: 5;
	margin: 14px 0 0 14px;
	width: 42px;
	height: 42px;
	border: none;
	border-radius: 999px;
	background: rgba(11, 19, 36, 0.08);
	font-size: 1.55rem;
	line-height: 1;
	cursor: pointer;
	color: var(--jbh-ink);
	transition: background 0.2s ease, transform 0.2s ease;
}

html body .jbh-modal__close:hover {
	background: rgba(11, 19, 36, 0.14);
	transform: rotate(90deg);
}

html body .jbh-modal__body {
	padding: 4px 28px 28px;
	clear: both;
}

html body .jbh-modal__loader {
	padding: 56px 0;
	text-align: center;
	color: var(--jbh-muted);
	font-weight: 700;
}

.jbh-modal-job__hero {
	padding: 8px 4px 18px;
	margin: 0 0 8px;
	border-bottom: 1px solid var(--jbh-line);
	background:
		radial-gradient(600px 180px at 100% 0%, rgba(15, 118, 110, 0.1), transparent 60%),
		radial-gradient(420px 160px at 0% 100%, rgba(29, 78, 216, 0.08), transparent 55%);
	border-radius: 12px;
}

.jbh-modal-job__meta-row {
	display: flex;
	gap: 8px;
	align-items: center;
	margin-bottom: 10px;
}

.jbh-modal-job__title {
	margin: 0;
	font-family: var(--jbh-display);
	font-size: clamp(1.45rem, 3.2vw, 2rem);
	font-weight: 800;
	line-height: 1.25;
	color: var(--jbh-ink);
}

.jbh-modal-job__publisher {
	margin: 10px 0 0;
	color: var(--jbh-muted);
	font-weight: 600;
}

.jbh-modal-job__chips {
	list-style: none;
	display: flex;
	flex-wrap: wrap;
	gap: 8px;
	margin: 16px 0 0;
	padding: 0;
}

.jbh-modal-job__chips li {
	padding: 7px 13px;
	border-radius: 999px;
	background: rgba(11, 19, 36, 0.06);
	font-size: 0.86rem;
	font-weight: 700;
	color: var(--jbh-ink-soft);
}

.jbh-modal-job__gate,
.jbh-apply-gate {
	text-align: center;
	padding: 32px 18px;
	border-radius: 16px;
	background:
		linear-gradient(180deg, rgba(15, 118, 110, 0.1), transparent),
		rgba(11, 19, 36, 0.03);
	border: 1px dashed rgba(15, 118, 110, 0.28);
	margin-top: 12px;
}

.jbh-modal-job__gate p,
.jbh-apply-gate p {
	margin: 0 0 16px;
	color: var(--jbh-muted);
	font-size: 1.02rem;
	line-height: 1.55;
}

.jbh-modal-job__body {
	padding-top: 8px;
}

.jbh-modal-job__section {
	margin-bottom: 22px;
}

.jbh-modal-job__section h3 {
	margin: 0 0 10px;
	font-family: var(--jbh-display);
	font-size: 1.05rem;
	font-weight: 800;
	color: var(--jbh-ink);
}

.jbh-prose {
	color: var(--jbh-ink-soft);
	line-height: 1.75;
	font-size: 1rem;
}

.jbh-prose p {
	margin: 0 0 0.85em;
}

.jbh-phone-link {
	font-family: var(--jbh-display);
	font-size: 1.25rem;
	font-weight: 800;
	color: var(--jbh-accent);
	text-decoration: none;
}

.jbh-modal-job__apply {
	margin-top: 12px;
	padding: 18px;
	border-radius: 16px;
	background: rgba(15, 118, 110, 0.06);
	border: 1px solid rgba(15, 118, 110, 0.14);
}

.jbh-one-click-apply {
	display: grid;
	gap: 14px;
}

.jbh-apply-summary__text {
	margin: 0;
	color: var(--jbh-ink-soft);
	line-height: 1.55;
}

.jbh-apply-summary__cv {
	display: inline-block;
	margin-top: 8px;
	font-size: 0.82rem;
	font-weight: 700;
	color: var(--jbh-accent);
	background: rgba(15, 118, 110, 0.1);
	padding: 4px 10px;
	border-radius: 999px;
}

.jbh-btn--lg {
	padding: 14px 22px;
	font-size: 1.05rem;
	width: 100%;
}

.jbh-notice--cv {
	background: rgba(180, 83, 9, 0.1);
	border: 1px solid rgba(180, 83, 9, 0.25);
	color: #7c3d07;
	padding: 16px;
	border-radius: 14px;
	display: grid;
	gap: 14px;
}

.jbh-notice--cv p {
	margin: 0;
	line-height: 1.6;
}

.jbh-notice--error {
	background: rgba(179, 45, 46, 0.08);
	color: #8a1f20;
	padding: 10px 12px;
	border-radius: 10px;
}

.jbh-apply-form__msg a {
	font-weight: 700;
	color: inherit;
}

/* Apply form */
.jbh-apply-form {
	background: rgba(11, 19, 36, 0.02);
	border: 1px solid var(--jbh-line);
	border-radius: var(--jbh-radius);
	padding: 18px;
}

.jbh-apply-form__row {
	display: grid;
	grid-template-columns: 1fr 1fr;
	gap: 12px;
	margin-bottom: 12px;
}

.jbh-apply-form label {
	display: flex;
	flex-direction: column;
	gap: 6px;
	font-weight: 700;
	font-size: 0.9rem;
}

.jbh-apply-form input {
	border: 1px solid var(--jbh-line);
	border-radius: 10px;
	padding: 10px 12px;
	font-weight: 400;
	font: inherit;
	transition: border-color 0.2s ease, box-shadow 0.2s ease;
}

.jbh-apply-form input:focus {
	outline: none;
	border-color: var(--jbh-accent);
	box-shadow: 0 0 0 3px rgba(15, 118, 110, 0.12);
}

/* Employer portal */
.jbh-employer-jobs__hero {
	margin-bottom: 22px;
	animation: jbh-rise 0.6s var(--jbh-ease) both;
}

.jbh-employer-jobs__hero h2 {
	margin: 0 0 6px;
	font-family: var(--jbh-display);
	font-size: clamp(1.5rem, 3vw, 2rem);
	font-weight: 800;
}

.jbh-employer-jobs__hero p {
	margin: 0;
	color: var(--jbh-muted);
}

.jbh-employer-job {
	border: 1px solid var(--jbh-line);
	border-radius: var(--jbh-radius);
	padding: 20px;
	margin-bottom: 16px;
	background: var(--jbh-surface);
	backdrop-filter: blur(8px);
	box-shadow: var(--jbh-shadow);
	animation: jbh-rise 0.55s var(--jbh-ease) both;
}

.jbh-employer-job__head {
	display: flex;
	justify-content: space-between;
	gap: 12px;
	align-items: flex-start;
	margin-bottom: 14px;
}

.jbh-employer-job__head h3 {
	margin: 0;
	font-family: var(--jbh-display);
	font-size: 1.2rem;
	font-weight: 800;
}

.jbh-employer-job__id {
	margin: 4px 0 0;
	color: var(--jbh-muted);
	font-size: 0.85rem;
	font-weight: 700;
}

.jbh-employer-job__meta {
	list-style: none;
	margin: 0 0 14px;
	padding: 0;
	display: grid;
	grid-template-columns: repeat(2, minmax(0, 1fr));
	gap: 10px;
}

.jbh-employer-job__meta li {
	display: flex;
	flex-direction: column;
	gap: 2px;
	padding: 10px 12px;
	border-radius: 12px;
	background: rgba(255, 255, 255, 0.75);
	border: 1px solid var(--jbh-line);
}

.jbh-employer-job__meta span {
	font-size: 0.75rem;
	color: var(--jbh-muted);
	font-weight: 600;
}

.jbh-apps-count {
	color: var(--jbh-accent);
	font-size: 1.15rem;
}

.jbh-status {
	font-size: 12px;
	padding: 5px 10px;
	border-radius: 999px;
	background: rgba(11, 19, 36, 0.06);
	color: var(--jbh-muted);
	font-weight: 700;
	white-space: nowrap;
}

.jbh-status--publish {
	background: rgba(15, 118, 110, 0.12);
	color: var(--jbh-accent-deep);
}

.jbh-status--private,
.jbh-status--draft {
	background: rgba(180, 83, 9, 0.12);
	color: var(--jbh-gold);
}

.jbh-status--pending {
	background: rgba(29, 78, 216, 0.12);
	color: var(--jbh-accent-2);
}

.jbh-pay-box {
	display: flex;
	flex-wrap: wrap;
	gap: 12px;
	align-items: center;
	margin: 12px 0;
	padding: 14px;
	background: rgba(15, 118, 110, 0.06);
	border-radius: 12px;
	border: 1px solid rgba(15, 118, 110, 0.12);
}

.jbh-apps-panel {
	border: 1px solid var(--jbh-line);
	border-radius: 14px;
	padding: 4px 14px 14px;
	background: rgba(255, 255, 255, 0.65);
}

.jbh-apps-panel summary {
	cursor: pointer;
	font-weight: 800;
	padding: 12px 0;
	font-family: var(--jbh-display);
	list-style: none;
}

.jbh-apps-panel summary::-webkit-details-marker {
	display: none;
}

.jbh-apps {
	list-style: none;
	margin: 0;
	padding: 0;
	display: grid;
	gap: 10px;
}

.jbh-app-card {
	display: grid;
	gap: 8px;
	padding: 14px;
	border-radius: 12px;
	border: 1px solid var(--jbh-line);
	background: #fff;
	transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.jbh-app-card:hover {
	transform: translateY(-2px);
	box-shadow: 0 10px 24px rgba(11, 19, 36, 0.08);
}

.jbh-app-card__main {
	display: flex;
	justify-content: space-between;
	gap: 10px;
	align-items: baseline;
}

.jbh-app-card__date {
	font-size: 0.8rem;
	color: var(--jbh-muted);
}

.jbh-app-card__details {
	list-style: none;
	margin: 0;
	padding: 0;
	display: flex;
	flex-wrap: wrap;
	gap: 8px 14px;
	font-size: 0.92rem;
}

.jbh-app-card__details a {
	color: var(--jbh-accent-2);
	text-decoration: none;
	font-weight: 600;
}

.jbh-notice {
	padding: 12px 14px;
	border-radius: 12px;
	background: rgba(11, 19, 36, 0.04);
}

.jbh-notice--ok {
	background: rgba(15, 118, 110, 0.1);
	color: var(--jbh-accent-deep);
}

.jbh-notice--login a {
	color: var(--jbh-accent-2);
	font-weight: 700;
}

.jbh-muted,
.jbh-empty {
	color: var(--jbh-muted);
}

.jbh-empty {
	padding: 36px 20px;
	text-align: center;
	border: 1px dashed var(--jbh-line);
	border-radius: var(--jbh-radius);
	background: rgba(255, 255, 255, 0.55);
}

.jbh-pagination {
	margin-top: 28px;
	text-align: center;
}

.jbh-pagination .page-numbers {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	min-width: 38px;
	height: 38px;
	margin: 0 3px;
	padding: 0 10px;
	border-radius: 10px;
	background: #fff;
	border: 1px solid var(--jbh-line);
	text-decoration: none;
	color: var(--jbh-ink);
	font-weight: 700;
	transition: background 0.2s ease, color 0.2s ease, transform 0.2s ease;
}

.jbh-pagination .page-numbers:hover {
	transform: translateY(-1px);
}

.jbh-pagination .page-numbers.current {
	background: var(--jbh-accent);
	border-color: var(--jbh-accent);
	color: #fff;
}

@keyframes jbh-rise {
	from {
		opacity: 0;
		transform: translateY(14px);
	}
	to {
		opacity: 1;
		transform: translateY(0);
	}
}

@media (prefers-reduced-motion: reduce) {
	.jbh-job-card,
	.jbh-filters,
	.jbh-employer-job,
	.jbh-employer-jobs__hero,
	.jbh-modal__dialog,
	.jbh-modal__backdrop,
	.jbh-btn,
	.jbh-btn--shine::after {
		animation: none !important;
		transition: none !important;
	}

	.jbh-job-card {
		opacity: 1;
		transform: none;
	}
}

@media (max-width: 768px) {
	.jbh-filters {
		grid-template-columns: 1fr;
	}

	.jbh-apply-form__row,
	.jbh-employer-job__meta {
		grid-template-columns: 1fr;
	}

	html body .jbh-modal__body {
		padding: 4px 16px 20px;
	}

	html body .jbh-modal__dialog {
		border-radius: 18px 18px 0 0;
		max-height: 92vh;
		align-self: end;
	}
}
