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

: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(--e-global-color-primary, var(--wp--preset--color--primary, var(--global-palette1, var(--ast-global-color-0, var(--theme-palette-color-1, #7D9D9C)))));
  --rsj-theme-surface: color-mix(in srgb, var(--rsj-theme-primary) 8%, transparent);
  --rsj-theme-surface-strong: color-mix(in srgb, var(--rsj-theme-primary) 16%, transparent);
}

.rs-jobs-overview {
  --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;
  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; }
.rs-jobs-overview__header h2 { margin: 0 0 .6rem; font-size: clamp(2rem, 5vw, 3.75rem); line-height: 1.05; }
.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-overview .rs-jobs-filter label {
  display: block;
  margin: 0 0 .4rem;
  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;
  width: 100%;
  min-height: 48px;
  margin: 0;
  padding: .7rem .85rem;
  border: 1px solid var(--rsj-primary) !important;
  border-radius: 0 !important;
  background: transparent !important;
  color: inherit !important;
  font: inherit;
}
.rs-jobs-filter input::placeholder { color: inherit !important; opacity: .62; }
.rs-jobs-filter__select { position: relative; }
.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__link:focus-visible { outline: 3px solid var(--rsj-accent); outline-offset: 3px; }
.rs-jobs-overview .rs-jobs-filter__reset {
  min-height: 48px;
  padding: .7rem 1rem;
  border: 1px solid var(--rsj-primary) !important;
  border-radius: 2px !important;
  background: transparent !important;
  color: inherit !important;
  font: inherit;
  font-size: .86rem;
  font-weight: 700;
  cursor: pointer;
}
.rs-jobs-overview .rs-jobs-filter__reset:hover { background: var(--rsj-primary) !important; color: #fff !important; }

.rs-job-result { border: 1px solid var(--rsj-primary); background: var(--rsj-surface); color: inherit; }
.rs-job-result[hidden] { display: none; }
.rs-job-result__link {
  display: grid;
  grid-template-columns: 74px minmax(0, 1fr) auto;
  gap: 1.25rem;
  align-items: start;
  min-height: 176px;
  padding: 1.35rem;
  color: inherit !important;
  text-decoration: none !important;
}
.rs-job-result__link: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-accent); }
.rs-job-result h3 { margin: 0 0 .3rem; color: inherit; font-size: clamp(1.25rem, 2.2vw, 1.65rem); line-height: 1.2; }
.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__cta { display: inline-flex; align-items: center; align-self: center; gap: .5rem; min-height: 46px; padding: .65rem .85rem; border: 1px solid var(--rsj-primary); border-radius: 2px !important; background: var(--rsj-primary); color: #fff; font-size: .88rem; font-weight: 800; white-space: nowrap; }
.rs-job-result__link: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: 18ch;
	font-size: clamp(2rem, 5vw, 3.75rem);
	line-height: 1.08;
	font-weight: 400;
	overflow-wrap: anywhere;
}

.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: #fff !important; -webkit-text-fill-color: #fff; }
.rs-job-hero__apply:hover,
.rs-job-hero__apply:focus-visible { background: var(--rsj-theme-primary) !important; color: #fff !important; -webkit-text-fill-color: #fff; 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 rgba(125, 157, 156, .48); }
.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; }
.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: #fff !important;
  -webkit-text-fill-color: #fff;
  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: #7D9D9C !important;
  filter: brightness(.86);
  color: #fff !important;
  -webkit-text-fill-color: #fff;
}

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

.rs-job-test-notice {
  margin: 0 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: #fff; 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; }
.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; }
.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 rgba(125, 157, 156, .3); 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 currentColor;
  border-radius: 2px !important;
  background: var(--rsj-theme-primary);
  color: #fff;
  font: inherit;
  font-weight: 800;
  cursor: pointer;
}
.rs-job-application__submit:hover,
.rs-job-application__submit:focus-visible { 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 #7D9D9C; 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; }

@media (max-width: 700px) {
  body.single-rs_job .entry-title {
    max-width: 100%;
    font-size: clamp(2rem, 10vw, 3rem) !important;
    line-height: 1.12 !important;
    overflow-wrap: anywhere;
  }
  .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__link { grid-template-columns: 58px minmax(0, 1fr); gap: 1rem; padding: 1rem; }
  .rs-job-result__link:hover { border-left-width: 4px; padding-left: calc(1rem - 3px); }
  .rs-job-result__logo { width: 58px; height: 58px; }
  .rs-job-result__cta { grid-column: 1 / -1; 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 rgba(125, 157, 156, .48); }
  .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%; }
}
