.rs-jobs-list {
  display: grid;
  gap: 1rem;
}

body.single-rs_job :where(.entry-title, .page-title, .post-title, .elementor-page-title) {
  display: none !important;
}

:where(.rs-jobs-overview, .rs-job-hero, .rs-job-facts, .rs-job-body, .rs-job-contact, .rs-job-application, .rs-job-test-notice) {
  --rsj-theme-primary: var(--rsj-custom-primary, var(--rsj-site-primary, var(--e-global-color-primary, var(--wp--preset--color--primary, var(--global-palette1, var(--ast-global-color-0, var(--theme-palette-color-1, #334155)))))));
  --rsj-theme-on-primary: var(--rsj-custom-on-primary, var(--rsj-site-on-primary, #fff));
  --rsj-theme-surface: var(--rsj-custom-surface, color-mix(in srgb, var(--rsj-theme-primary) 8%, transparent));
  --rsj-theme-surface-strong: var(--rsj-custom-surface-strong, color-mix(in srgb, var(--rsj-theme-primary) 16%, transparent));
}

.rs-jobs-overview {
  box-sizing: border-box;
  --rsj-bg: transparent;
  --rsj-surface: var(--rsj-theme-surface);
  --rsj-primary: var(--rsj-theme-primary);
  --rsj-secondary: var(--rsj-theme-surface-strong);
  --rsj-accent: var(--rsj-theme-primary);
  width: min(100%, 1180px);
  margin-inline: auto;
  padding-block-end: var(--rsj-footer-space, 0px);
  color: inherit;
}

.rs-jobs-overview__header {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 2rem;
  margin: 0 0 1.5rem;
  padding: 0 0 1.5rem;
  border-bottom: 1px solid var(--rsj-primary);
}

.rs-jobs-overview__header > div { max-width: 760px; min-width: 0; }
.rs-jobs-overview__header h2 { margin: 0 0 .6rem; font-size: clamp(2rem, 4vw, 3rem) !important; font-weight: 650 !important; line-height: 1.08 !important; letter-spacing: normal !important; overflow-wrap: anywhere; }
.rs-jobs-overview__header p:last-child { margin: 0; max-width: 680px; color: inherit; opacity: .82; }
.rs-jobs-overview__eyebrow { margin: 0 0 .5rem !important; color: var(--rsj-accent) !important; font-size: .78rem; font-weight: 800; letter-spacing: .13em; text-transform: uppercase; }
.rs-jobs-overview__total { flex: 0 0 auto; padding: .65rem .8rem; border: 1px solid var(--rsj-primary); color: inherit; font-size: .9rem; white-space: nowrap; }
.rs-jobs-overview__total span { font-size: 1.35rem; }

.rs-jobs-demo-notice {
  display: flex;
  gap: .5rem 1rem;
  align-items: baseline;
  margin: 0 0 1.25rem;
  padding: .9rem 1rem;
  border-left: 4px solid var(--rsj-accent);
  background: var(--rsj-secondary);
  color: inherit;
}
.rs-jobs-demo-notice span { font-size: .92rem; }

.rs-jobs-filters {
  display: grid;
  grid-template-columns: minmax(220px, 1.35fr) repeat(2, minmax(180px, 1fr)) auto;
  gap: .85rem;
  align-items: end;
  margin: 0 0 1.4rem;
  padding: 1.1rem;
  border: 1px solid var(--rsj-primary);
  background: var(--rsj-surface);
  color: inherit;
}
.rs-jobs-filter {
  display: flex;
  min-width: 0;
  flex-direction: column;
  justify-content: flex-end;
}
.rs-jobs-filter--reset { justify-content: flex-end; }
.rs-jobs-filter--reset > p { display: contents; margin: 0 !important; }
.rs-jobs-overview .rs-jobs-filter label {
  display: block;
  margin: 0 0 .4rem !important;
  color: inherit !important;
  opacity: .78;
  font-size: .74rem !important;
  font-weight: 800;
  line-height: 1.35;
  letter-spacing: .06em;
  text-transform: uppercase;
}
.rs-jobs-filter input,
.rs-jobs-filter select {
  box-sizing: border-box;
  display: block;
  width: 100%;
  height: 52px !important;
  min-height: 52px !important;
  max-height: 52px !important;
  margin: 0;
  padding: .7rem .85rem;
  border: 1px solid var(--rsj-primary) !important;
  border-radius: 0 !important;
  background: transparent !important;
  color: inherit !important;
  font: inherit !important;
  font-size: 1rem !important;
  line-height: 1.2 !important;
}
.rs-jobs-filter input::placeholder { color: inherit !important; opacity: .62; }
.rs-jobs-filter__select { position: relative; height: 52px; }
.rs-jobs-filter__select::after {
  content: '';
  position: absolute;
  top: 50%;
  right: 1rem;
  width: .55rem;
  height: .55rem;
  border-right: 2px solid currentColor;
  border-bottom: 2px solid currentColor;
  pointer-events: none;
  transform: translateY(-70%) rotate(45deg);
}
.rs-jobs-filter select { appearance: none; padding-right: 2.6rem; cursor: pointer; }
.rs-jobs-filter input:focus-visible,
.rs-jobs-filter select:focus-visible,
.rs-jobs-filter__reset:focus-visible,
.rs-job-result__title-link:focus-visible,
.rs-job-result__cta:focus-visible { outline: 3px solid var(--rsj-accent); outline-offset: 3px; }
.rs-jobs-overview .rs-jobs-filter__reset {
  box-sizing: border-box;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  height: 52px !important;
  min-height: 52px !important;
  max-height: 52px !important;
  margin: 0 !important;
  padding: .7rem 1rem;
  border: 1px solid var(--rsj-primary) !important;
  border-radius: 2px !important;
  background: var(--rsj-secondary) !important;
  background: color-mix(in srgb, currentColor 10%, transparent) !important;
  color: inherit !important;
  font: inherit !important;
  font-size: .86rem !important;
  line-height: 1.2 !important;
  font-weight: 700;
  cursor: pointer;
  /* Keep foreground and background changes atomic despite theme transitions. */
  transition: none !important;
}
.rs-jobs-overview .rs-jobs-filter__reset:hover { background: var(--rsj-primary) !important; color: var(--rsj-theme-on-primary) !important; }

.rs-job-result {
  position: relative;
  display: grid;
  grid-template-columns: 74px minmax(0, 1fr) auto;
  gap: 1.25rem;
  align-items: start;
  min-height: 176px;
  padding: 1.35rem;
  border: 1px solid var(--rsj-primary);
  background: var(--rsj-surface);
  color: inherit;
}
.rs-job-result[hidden] { display: none; }
.rs-job-result:hover { border-left: 5px solid var(--rsj-accent); padding-left: calc(1.35rem - 4px); }
.rs-job-result__logo {
  position: relative;
  display: grid;
  place-items: center;
  width: 74px;
  height: 74px;
  overflow: hidden;
  border: 1px solid var(--rsj-primary);
  background: Canvas;
  color: CanvasText;
  font-size: 1.8rem;
  font-weight: 800;
  align-self: center;
  margin-top: 0;
  box-sizing: border-box;
  padding: 0;
}
.rs-job-result__logo img { position: absolute; top: 50%; left: 50%; display: block; width: auto !important; max-width: calc(100% - .6rem); height: auto !important; max-height: calc(100% - .6rem); object-fit: contain; object-position: center; transform: translate(-50%, -50%); }
.rs-job-result__topline { display: flex; flex-wrap: wrap; justify-content: space-between; gap: .5rem 1rem; margin: 0 0 .4rem; color: inherit; opacity: .78; font-size: .72rem; font-weight: 700; letter-spacing: .06em; text-transform: uppercase; }
.rs-job-result__topline > span { color: var(--rsj-readable-accent, var(--rsj-accent)); }
.rs-job-result h3 { margin: 0 0 .3rem; color: inherit; font-size: clamp(1.25rem, 2.2vw, 1.65rem) !important; font-weight: 650 !important; line-height: 1.2 !important; letter-spacing: normal !important; overflow-wrap: anywhere; }
.rs-job-result__title-link { color: inherit !important; font: inherit !important; text-transform: none !important; text-decoration: none !important; }
.rs-job-result__title-link::after { content: ''; position: absolute; inset: 0; z-index: 1; }
.rs-job-result h3,
.rs-job-result__company,
.rs-job-result__fact,
.rs-job-result__excerpt,
.rs-job-result__cta { text-transform: none; }
.rs-job-result__company { margin: 0 0 .75rem; color: inherit; opacity: .82; font-weight: 600; }
.rs-job-result__facts { display: flex; flex-wrap: wrap; gap: .45rem; margin: 0 0 .75rem; }
.rs-job-result__fact { padding: .3rem .55rem; border: 1px solid var(--rsj-primary); color: inherit; font-size: .8rem; }
.rs-job-result__excerpt { margin: 0; color: inherit; opacity: .82; line-height: 1.5; }
.rs-job-result__actions { position: relative; z-index: 2; align-self: center; }
.rs-job-result__cta { display: inline-flex; align-items: center; gap: .5rem; min-height: 46px; padding: .65rem .85rem; border: 1px solid var(--rsj-primary); border-radius: 2px !important; background: var(--rsj-primary); color: var(--rsj-theme-on-primary) !important; font-size: .88rem; font-weight: 800; text-decoration: none !important; white-space: nowrap; }
.rs-job-result:hover .rs-job-result__cta { filter: brightness(.88); }
.rs-jobs-empty { margin: 1rem 0 0; padding: 1.25rem; border: 1px solid var(--rsj-accent); background: var(--rsj-secondary); color: inherit; }

.rs-job-card {
  border: 1px solid currentColor;
  border-radius: var(--e-global-border-radius, var(--wp--custom--border-radius, 0));
  padding: 1.25rem;
  background: transparent;
}

.rs-job-card h3 {
  margin: 0 0 .4rem;
}

.rs-job-card__location {
  color: inherit;
  opacity: .75;
  font-size: .95rem;
}

.rs-job-card__cta {
  display: inline-flex;
  min-height: 44px;
  align-items: center;
  font-weight: 700;
  color: inherit;
}

.rs-job-hero {
	display: grid;
	gap: 2rem;
	margin: 0 0 1.5rem;
	padding: clamp(1.5rem, 4vw, 3.25rem);
	border: 1px solid var(--rsj-theme-primary);
	background: transparent;
	background: var(--rsj-theme-surface);
	color: inherit;
}

.rs-job-hero--with-image { grid-template-columns: minmax(0, 1.15fr) minmax(280px, .85fr); align-items: stretch; }
.rs-job-hero__content { min-width: 0; align-self: center; }

.rs-job-hero__eyebrow {
  margin: 0 0 .5rem;
  color: var(--rsj-theme-primary);
  font-size: .8rem;
  font-weight: 700;
  letter-spacing: .12em;
  text-transform: uppercase;
}

.rs-job-hero h2 {
	margin: 0;
	max-width: none;
	font-size: clamp(2rem, 4vw, 3.25rem) !important;
	line-height: 1.08 !important;
	font-weight: 650 !important;
	letter-spacing: normal !important;
	overflow-wrap: break-word;
	word-break: normal;
}

.rs-job-hero__meta {
	margin: 1rem 0 0;
	max-width: 65ch;
	color: inherit;
	opacity: .82;
	font-size: 1.05rem;
	overflow-wrap: anywhere;
}

.rs-job-hero__apply { margin-top: 1.5rem; background: var(--rsj-theme-primary) !important; color: var(--rsj-theme-on-primary) !important; -webkit-text-fill-color: var(--rsj-theme-on-primary); }
.rs-job-hero__apply:hover,
.rs-job-hero__apply:focus-visible { background: var(--rsj-theme-primary) !important; color: var(--rsj-theme-on-primary) !important; -webkit-text-fill-color: var(--rsj-theme-on-primary); filter: brightness(.86); }
.rs-job-hero__image { min-height: 260px; margin: 0; overflow: hidden; border-left: 4px solid var(--rsj-theme-primary); background: var(--rsj-theme-surface-strong); }
.rs-job-hero__image img { display: block; width: 100%; height: 100%; object-fit: cover; }

.rs-job-facts { display: grid; grid-template-columns: repeat(auto-fit, minmax(170px, 1fr)); margin: 0 0 2rem; border-top: 1px solid var(--rsj-theme-primary); border-bottom: 1px solid var(--rsj-theme-primary); }
.rs-job-fact { display: flex; align-items: center; gap: .75rem; min-width: 0; padding: 1rem; border-right: 1px solid color-mix(in srgb, var(--rsj-theme-primary) 48%, transparent); }
.rs-job-fact:last-child { border-right: 0; }
.rs-job-fact__icon { display: grid; width: 2.25rem; height: 2.25rem; flex: 0 0 2.25rem; place-items: center; border: 1px solid var(--rsj-theme-primary); color: var(--rsj-theme-primary); font-weight: 800; }
.rs-job-fact small,
.rs-job-fact strong { display: block; }
.rs-job-fact small { margin-bottom: .15rem; color: inherit; font-size: .7rem; font-weight: 700; letter-spacing: .06em; opacity: .7; text-transform: uppercase; }
.rs-job-fact strong { font-size: .95rem; line-height: 1.3; }
.rs-job-body { max-width: 780px; }
.rs-job-body > h2 { margin-top: 2.25rem; font-size: clamp(1.5rem, 3vw, 2rem) !important; line-height: 1.2 !important; letter-spacing: normal !important; }
.rs-job-body ul { padding-left: 1.25rem; }
.rs-job-body li::marker { color: var(--rsj-theme-primary); }

.rs-job-apply__button {
  display: inline-flex;
  min-height: 48px;
  align-items: center;
  justify-content: center;
  padding: .65rem 1.25rem;
  border: 1px solid currentColor;
  border-radius: 2px !important;
  position: relative;
  z-index: 1;
  isolation: isolate;
  background: var(--rsj-theme-primary, var(--e-global-color-primary, var(--wp--preset--color--primary, #7D9D9C))) !important;
  color: var(--rsj-theme-on-primary) !important;
  -webkit-text-fill-color: var(--rsj-theme-on-primary);
  font-weight: 700;
  text-decoration: none;
}

.rs-job-apply__button::before,
.rs-job-apply__button::after {
  display: none !important;
  content: none !important;
}

.rs-job-apply__button:hover,
.rs-job-apply__button:focus-visible {
  background: var(--rsj-theme-primary) !important;
  filter: brightness(.86);
  color: var(--rsj-theme-on-primary) !important;
  -webkit-text-fill-color: var(--rsj-theme-on-primary);
}

.rs-job-apply {
  margin: 2.25rem 0 2.75rem;
}

.rs-job-test-notice {
  margin: clamp(2rem, 4vw, 3rem) 0 1.5rem;
  padding: 1rem 1.1rem;
  border: 2px solid var(--rsj-theme-primary);
  border-radius: 0;
  background: var(--rsj-theme-surface-strong);
  color: inherit;
}

.rs-job-contact {
	display: flex;
	align-items: center;
	gap: 1rem;
	margin: 2.5rem 0;
	padding: 1.4rem 1.5rem;
	border-left: 4px solid var(--rsj-theme-primary);
	background: transparent;
	background: var(--rsj-theme-surface);
	color: inherit;
}

.rs-job-contact__avatar { display: grid; width: 3.25rem; height: 3.25rem; flex: 0 0 3.25rem; place-items: center; border: 1px solid var(--rsj-theme-primary); background: var(--rsj-theme-primary); color: var(--rsj-theme-on-primary); font-size: 1.25rem; font-weight: 800; }

.rs-job-contact__eyebrow {
  margin: 0 0 .35rem;
  font-size: .8rem;
  font-weight: 800;
  letter-spacing: .08em;
  text-transform: uppercase;
}

.rs-job-contact h2 { margin: 0 0 .25rem; font-size: 1.35rem !important; line-height: 1.25 !important; letter-spacing: normal !important; }
.rs-job-contact p { margin: 0 0 .75rem; }
.rs-job-contact__links { display: flex; flex-wrap: wrap; gap: .6rem 1.25rem; }
.rs-job-contact__links a { color: inherit; font-weight: 700; text-decoration: underline; text-underline-offset: 3px; }

.rs-job-application {
  margin: 3rem 0;
  padding: clamp(1.25rem, 3vw, 2.25rem);
  border: 1px solid rgba(127, 127, 127, .38);
  background: transparent;
  background: var(--rsj-theme-surface);
}

.rs-job-application h2 { margin: 0 0 .5rem; font-size: clamp(1.5rem, 3vw, 2rem) !important; line-height: 1.2 !important; letter-spacing: normal !important; }
.rs-job-confirmation-page { width: min(100%, 1120px); margin: 0 auto; padding: clamp(1rem, 4vw, 3rem); box-sizing: border-box; }
.rs-job-confirmation { margin: 2rem 0; overflow-wrap: anywhere; }
.rs-job-confirmation h1 { width: 100% !important; max-width: none !important; margin: 0 0 1.25rem !important; font-size: clamp(28px, 4vw, 44px) !important; line-height: 1.2 !important; letter-spacing: normal !important; text-transform: none !important; }
.rs-job-application.rs-job-confirmation h2 { margin-top: 1.5rem; font-size: clamp(22px, 3vw, 28px) !important; }
.rsj-confirmation-route .page-meta { display: none; }
.rs-job-confirmation p { font-size: 1rem !important; line-height: 1.6 !important; }
.rs-job-confirmation .rs-job-application__submit { display: inline-block; margin-top: 1rem; text-decoration: none; }
.rs-job-application__intro { margin: 0 0 1.75rem; max-width: 760px; }
.rs-job-application__grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 1.25rem; }
.rs-job-application__field { min-width: 0; }
.rs-job-application__field--wide { grid-column: 1 / -1; }
.rs-job-application__field > label { display: flex; justify-content: space-between; gap: 1rem; margin-bottom: .45rem; font-weight: 700; }
.rs-job-application__field > label > span { font-size: .72rem; letter-spacing: .05em; text-transform: uppercase; opacity: .7; }
.rs-job-application__field input:not([type="checkbox"]),
.rs-job-application__field textarea {
  box-sizing: border-box;
  max-width: 100%;
  width: 100%;
  min-height: 48px;
  padding: .7rem .8rem;
  border: 1px solid rgba(127, 127, 127, .7);
  border-radius: 0 !important;
  background: rgba(18, 21, 23, .28);
  color: inherit;
  font: inherit;
}
.rs-job-application__field textarea { min-height: 140px; resize: vertical; }
.rs-job-application__field input:focus,
.rs-job-application__field textarea:focus { outline: 3px solid color-mix(in srgb, var(--rsj-theme-primary) 30%, transparent); outline-offset: 1px; }
.rs-job-application__field small { display: block; margin-top: .4rem; opacity: .75; }
.rs-job-application__consent label { align-items: flex-start; justify-content: flex-start; font-weight: 400; }
.rs-job-application__consent input { width: 20px; height: 20px; margin-top: .15rem; flex: 0 0 20px; }
.rs-job-application__consent label > span { font-size: inherit; letter-spacing: 0; text-transform: none; opacity: 1; }
.rs-job-application__submit {
  min-height: 50px;
  margin-top: 1.5rem;
  padding: .75rem 1.35rem;
  border: 1px solid var(--rsj-theme-primary) !important;
  border-radius: 2px !important;
  position: relative;
  z-index: 1;
  isolation: isolate;
  background: var(--rsj-theme-primary) !important;
  color: var(--rsj-theme-on-primary) !important;
  -webkit-text-fill-color: var(--rsj-theme-on-primary);
  font: inherit;
  font-weight: 800;
  cursor: pointer;
}
.rs-job-application__submit::before,
.rs-job-application__submit::after {
  display: none !important;
  content: none !important;
}
.rs-job-application__submit:hover,
.rs-job-application__submit:focus-visible {
  border-color: var(--rsj-theme-primary) !important;
  background: var(--rsj-theme-primary) !important;
  color: var(--rsj-theme-on-primary) !important;
  -webkit-text-fill-color: var(--rsj-theme-on-primary);
  filter: brightness(.88);
}
.rs-job-application input[type="file"]::file-selector-button { border-radius: 2px !important; }
.rs-job-application__notice { margin: 0 0 1.5rem; padding: 1rem 1.1rem; border-left: 4px solid var(--rsj-theme-primary); background: #222831; color: #FFFFFF; }
.rs-job-application__notice--error { border-color: #E36D41; background: #222831; color: #FFFFFF; }
.rs-job-application__honeypot { position: absolute !important; left: -10000px !important; width: 1px !important; height: 1px !important; overflow: hidden !important; }

/* Readability must not shrink when a theme sets html to 10px. These are scoped
 * component minima, not global typography changes. Brand fonts are retained. */
/* A neutral readable panel is the no-JavaScript/late-JavaScript safety net.
 * Detection removes it component by component, then uses the real site surface.
 * Explicit customer surfaces/text remain authoritative even before detection. */
:where(.rs-jobs-overview, .rs-job-hero, .rs-job-facts, .rs-job-body, .rs-job-contact, .rs-job-application, .rs-job-test-notice):not([data-rsj-design-ready]) {
  --rsj-readable-ink: var(--rsj-custom-ink, #111111);
  background-color: var(--rsj-custom-surface, #ffffff);
}
:where(.rs-jobs-overview, .rs-job-hero, .rs-job-facts, .rs-job-body, .rs-job-contact, .rs-job-application, .rs-job-test-notice) {
  color: var(--rsj-readable-ink, var(--rsj-custom-ink, inherit)) !important;
  background-color: var(--rsj-custom-surface, transparent);
  font-size: var(--rsj-font-body, 16px) !important;
  line-height: 1.6;
}
:where(.rs-jobs-overview, .rs-job-hero, .rs-job-facts, .rs-job-body, .rs-job-contact, .rs-job-application, .rs-job-test-notice) :where(p, li, label, small, strong, span) {
  color: inherit;
}
.rs-jobs-overview p, .rs-job-hero p, .rs-job-body p, .rs-job-body li,
.rs-job-contact p, .rs-job-application p, .rs-job-test-notice p,
.rs-job-hero__meta, .rs-job-result__organization, .rs-job-result__excerpt {
  color: inherit !important;
  font-size: var(--rsj-font-body, 16px) !important;
  line-height: 1.6 !important;
  opacity: 1 !important;
}
/* Notices have their own dark surface; do not inherit the panel's ink. */
.rs-job-application p.rs-job-application__notice,
.rs-job-application p.rs-job-application__notice :where(strong, span, a) {
  color: #ffffff !important;
}
.rs-jobs-overview__header h2, .rs-job-hero h2 {
  color: inherit !important;
  font-size: var(--rsj-font-heading, clamp(32px, 3.5vw, 48px)) !important;
  line-height: 1.2 !important;
}
.rs-job-result h3 { color: inherit !important; font-size: var(--rsj-font-card-title, clamp(22px, 2vw, 28px)) !important; }
.rs-job-result h3 a { color: inherit !important; }
.rs-job-body > h2, .rs-job-application h2 { color: inherit !important; font-size: var(--rsj-font-section-title, 28px) !important; }
.rs-job-contact h2 { color: inherit !important; font-size: var(--rsj-font-section-title, 24px) !important; }
.rs-jobs-overview .rs-jobs-filter label,
.rs-job-application__field > label > span,
.rs-job-fact small, .rs-job-result__topline,
.rs-jobs-overview__eyebrow, .rs-job-hero__eyebrow {
  color: inherit !important;
  font-size: var(--rsj-font-label, 13px) !important;
  line-height: 1.4 !important;
  opacity: 1 !important;
}
.rs-jobs-overview .rs-jobs-filter input,
.rs-jobs-overview .rs-jobs-filter select,
.rs-jobs-overview .rs-jobs-filter__reset,
.rs-job-application__field input, .rs-job-application__field textarea {
  font-size: var(--rsj-font-control, var(--rsj-font-body, 16px)) !important;
  color: inherit !important;
  letter-spacing: normal !important;
  text-transform: none !important;
}
.rs-jobs-filter input::placeholder, .rs-job-application__field input::placeholder,
.rs-job-application__field textarea::placeholder { color: inherit !important; opacity: 1 !important; }
.rs-jobs-demo-notice span, .rs-jobs-demo-notice strong,
.rs-job-test-notice, .rs-job-test-notice strong,
.rs-job-fact strong, .rs-job-result__fact, .rs-jobs-overview__total,
.rs-job-result__cta, .rs-job-hero__apply, .rs-job-application__submit {
  font-size: var(--rsj-font-body, 16px) !important;
  opacity: 1 !important;
}
.rs-jobs-overview__total [data-rs-jobs-count] { font-size: var(--rsj-font-count, 24px) !important; }
.rs-jobs-overview__total [data-rs-jobs-count-label] { font-size: var(--rsj-font-body, 16px) !important; margin-inline-start: .3em; }
.rs-job-result__cta, .rs-job-hero__apply, .rs-job-application__submit {
  background: var(--rsj-button-background, var(--rsj-theme-primary)) !important;
  color: var(--rsj-button-ink, var(--rsj-theme-on-primary)) !important;
  -webkit-text-fill-color: var(--rsj-button-ink, var(--rsj-theme-on-primary));
  filter: none !important;
}
.rs-job-result:hover .rs-job-result__cta, .rs-job-result__cta:focus-visible,
.rs-job-hero__apply:hover, .rs-job-hero__apply:focus-visible,
.rs-job-application__submit:hover, .rs-job-application__submit:focus-visible,
.rs-jobs-overview .rs-jobs-filter__reset:hover {
  background: var(--rsj-button-hover, var(--rsj-theme-primary)) !important;
  color: var(--rsj-button-ink, var(--rsj-theme-on-primary)) !important;
  -webkit-text-fill-color: var(--rsj-button-ink, var(--rsj-theme-on-primary));
  filter: none !important;
}
.rs-jobs-filters { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.rs-job-result__fact--salary { font-weight: 700; }
/* Keep keyboard focus visible even when the theme removes link outlines.
 * Two neutral rings stay visible on both light and dark customer palettes. */
.rs-jobs-overview :is(a, button, input, select):focus-visible,
.rs-job-hero .rs-job-hero__apply:focus-visible,
.rs-job-application :is(button, input, textarea, a):focus-visible {
  outline: 3px solid var(--rsj-focus-ring, #111) !important;
  outline-offset: 3px !important;
  box-shadow: 0 0 0 6px var(--rsj-focus-halo, #fff) !important;
}
.rs-job-application#bewerbung { scroll-margin-top: var(--rsj-anchor-clearance, 16px); }

body.single-rs_job .page-header, body.single-rs_job .post-meta { display: none !important; }
body.rs-jobs-theme-reverse.rs-jobs-listing-page #content,
body.rs-jobs-theme-reverse.single-rs_job #content { padding-top: 48px !important; padding-bottom: 64px !important; }
body.rs-jobs-theme-reverse.rs-jobs-listing-page .page-meta,
body.rs-jobs-theme-reverse.single-rs_job .page-meta { display: none !important; }
/* Reverse defaults to blog controls when ACF is unavailable. Keep that fallback
   out of job details without touching navigation or sharing on normal posts. */
body.rs-jobs-theme-reverse.single-rs_job #content .pagination-wrapper { display: none !important; }
@media (min-width: 701px) and (max-width: 1050px) {
  .rs-jobs-filters { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}

/* The listing owns its visible heading. Page-builder and theme page titles
 * would duplicate it and are therefore suppressed consistently. */
body.rs-jobs-listing-page .entry-title,
body.rs-jobs-listing-page .page-title,
body.rs-jobs-listing-page .entry-header:has(> .entry-title),
body.rs-jobs-listing-page .page-header:has(> .page-title) {
  display: none !important;
}

/* Builder text widgets must not add layout gaps around shortcode output. */
body.rs-jobs-listing-page .elementor-widget-text-editor > .elementor-widget-container > p:empty,
.rs-jobs-overview > p:empty,
.rs-jobs-filter > p:empty,
.rs-jobs-filter > p:has(> br:only-child),
.rs-jobs-filter > br,
.rs-job-result > p:empty,
.rs-job-result__title-link > p:empty {
  display: none !important;
  margin: 0 !important;
}

/* Safe preview/no-JS ink until the actual translucent card is measured. */
.rs-jobs-overview:not([data-rsj-design-ready]) .rs-job-result__topline > span {
  color: inherit;
}

@media (max-width: 1050px) {
  .rs-jobs-overview {
    padding-inline-start: var(--rsj-gutter-start, 16px);
    padding-inline-end: var(--rsj-gutter-end, 16px);
  }
}

/*
 * Themes commonly print the custom-post-type title above the content. The
 * RS Jobs detail view already owns the only visible job title inside its hero,
 * so the theme copy must not create a duplicate heading.
 */
body.single-rs_job .entry-title,
body.single-rs_job .entry-header:has(> .entry-title),
body.single-rs_job .page-header:has(> .entry-title) {
  display: none !important;
}

@media (max-width: 700px) {
  .rs-jobs-overview__header { display: block; }
  .rs-jobs-overview__total { display: inline-block; margin-top: 1rem; }
  .rs-jobs-demo-notice { display: block; }
  .rs-jobs-demo-notice strong { display: block; margin-bottom: .25rem; }
  .rs-jobs-filters { grid-template-columns: 1fr; padding: 1rem; }
  .rs-jobs-filter__reset { width: 100%; }
  .rs-job-result { grid-template-columns: 58px minmax(0, 1fr); gap: 1rem; padding: 1rem; }
  .rs-job-result:hover { border-left-width: 4px; padding-left: calc(1rem - 3px); }
  .rs-job-result__logo { width: 58px; height: 58px; }
  .rs-job-result__actions { grid-column: 1 / -1; }
  .rs-job-result__cta { justify-content: space-between; width: 100%; }
  .rs-job-hero--with-image { grid-template-columns: 1fr; }
  .rs-job-hero__image { min-height: 210px; border-left: 0; border-top: 4px solid var(--rsj-theme-primary); }
  .rs-job-facts { grid-template-columns: 1fr; }
  .rs-job-fact { border-right: 0; border-bottom: 1px solid color-mix(in srgb, var(--rsj-theme-primary) 48%, transparent); }
  .rs-job-fact:last-child { border-bottom: 0; }
  .rs-job-contact { align-items: flex-start; }
  .rs-job-application__grid { grid-template-columns: 1fr; }
  .rs-job-application__field--wide { grid-column: auto; }
  .rs-job-application__field > label { flex-wrap: wrap; }
  .rs-job-application__submit { width: 100%; }
}
