:root {
  --emj-primary: #064fa8;
  --emj-primary-dark: #033b80;
  --emj-secondary: #102a43;
  --emj-accent: #18a39a;
  --emj-accent-dark: #117c75;
  --emj-text: #4a5562;
  --emj-muted: #6b7b8d;
  --emj-light: #f7f9fb;
  --emj-blue-light: #eef6fc;
  --emj-border: #dce5ed;
  --emj-border-dark: #c8d6e3;
  --emj-white: #ffffff;
  --emj-danger: #a61b1b;
  --emj-success: #17643a;
  --emj-radius-sm: 10px;
  --emj-radius: 16px;
  --emj-radius-lg: 22px;
  --emj-shadow: 0 14px 38px rgba(16, 42, 67, 0.08);
  --emj-shadow-sm: 0 8px 22px rgba(16, 42, 67, 0.06);
}

.emj-jobs-wrap,
.emj-jobs-wrap *,
.emj-featured-wrap,
.emj-featured-wrap *,
.emj-application-section,
.emj-application-section *,
.emj-single-job,
.emj-single-job * {
  box-sizing: border-box;
}

.emj-jobs-wrap,
.emj-featured-wrap,
.emj-application-section,
.emj-single-job {
  color: var(--emj-text);
  font-family: inherit;
  line-height: 1.6;
}

.emj-container {
  width: min(100% - 40px, 1280px);
  margin-inline: auto;
}

.emj-eyebrow,
.emj-section-kicker,
.emj-results-label {
  display: inline-block;
  color: var(--emj-primary);
  font-size: 12px;
  font-weight: 800;
  letter-spacing: 1.25px;
  line-height: 1.3;
  text-transform: uppercase;
}

.emj-eyebrow {
  margin-bottom: 10px;
}

.emj-button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 9px;
  min-height: 48px;
  padding: 12px 22px;
  border: 1px solid var(--emj-primary);
  border-radius: 10px;
  background: var(--emj-primary);
  color: var(--emj-white) !important;
  font-size: 15px;
  font-weight: 750;
  line-height: 1.2;
  text-decoration: none !important;
  cursor: pointer;
}

.emj-button:hover,
.emj-button:focus {
  border-color: var(--emj-primary-dark);
  background: var(--emj-primary-dark);
  color: var(--emj-white) !important;
}

.emj-button:focus-visible,
.emj-filter-toggle:focus-visible,
.emj-job-card a:focus-visible {
  outline: 3px solid rgba(6, 79, 168, 0.22);
  outline-offset: 3px;
}

.emj-button:disabled {
  opacity: 0.65;
  cursor: wait;
}

.emj-button-outline {
  background: var(--emj-white);
  color: var(--emj-primary) !important;
}

.emj-button-outline:hover,
.emj-button-outline:focus {
  background: var(--emj-blue-light);
  color: var(--emj-primary-dark) !important;
}

.emj-button-small {
  min-height: 42px;
  padding: 9px 16px;
  font-size: 14px;
}

.emj-button-block {
  width: 100%;
}

/* Search / shortcode directory */
.emj-search-panel {
  overflow: hidden;
  margin: 0 0 28px;
  border: 1px solid var(--emj-border);
  border-radius: var(--emj-radius-lg);
  background: linear-gradient(135deg, var(--emj-blue-light) 0%, #f8fbfe 54%, var(--emj-white) 100%);
  box-shadow: var(--emj-shadow-sm);
}

.emj-search-panel-head {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 24px;
  padding: 26px 28px 18px;
}

.emj-search-panel-head h2 {
  margin: 0;
  color: var(--emj-secondary);
  font-size: clamp(25px, 3vw, 34px);
  line-height: 1.16;
}

.emj-filter-toggle {
  display: none;
  min-height: 40px;
  padding: 8px 13px;
  border: 1px solid var(--emj-border-dark);
  border-radius: 9px;
  background: var(--emj-white);
  color: var(--emj-secondary);
  font: inherit;
  font-size: 13px;
  font-weight: 700;
  cursor: pointer;
}

.emj-job-filters {
  padding: 0 28px 26px;
}

.emj-filter-fields {
  display: grid;
  grid-template-columns: 1.45fr repeat(4, minmax(145px, 1fr));
  gap: 14px;
}

.emj-job-filters label,
.emj-application-form label {
  display: flex;
  flex-direction: column;
  gap: 7px;
  margin: 0;
  color: var(--emj-secondary);
  font-size: 13px;
  font-weight: 700;
}

.emj-job-filters input,
.emj-job-filters select,
.emj-application-form input,
.emj-application-form select,
.emj-application-form textarea {
  width: 100%;
  min-height: 48px;
  box-sizing: border-box;
  padding: 11px 13px;
  border: 1px solid var(--emj-border-dark);
  border-radius: 9px;
  background: var(--emj-white);
  color: var(--emj-secondary);
  box-shadow: none;
  font: inherit;
  line-height: 1.35;
}

.emj-job-filters input::placeholder,
.emj-application-form input::placeholder,
.emj-application-form textarea::placeholder {
  color: #8796a5;
  opacity: 1;
}

.emj-application-form textarea {
  min-height: 130px;
  resize: vertical;
}

.emj-job-filters input:focus,
.emj-job-filters select:focus,
.emj-application-form input:focus,
.emj-application-form select:focus,
.emj-application-form textarea:focus {
  outline: 3px solid rgba(6, 79, 168, 0.12);
  border-color: var(--emj-primary);
}

.emj-filter-actions {
  display: flex;
  align-items: center;
  gap: 18px;
  padding-top: 17px;
}

.emj-clear-link,
.emj-results-clear,
.emj-sidebar-link {
  color: var(--emj-primary) !important;
  font-weight: 700;
  text-decoration: none !important;
}

.emj-clear-link:hover,
.emj-results-clear:hover,
.emj-sidebar-link:hover {
  text-decoration: underline !important;
}

.emj-results-bar {
  display: flex;
  justify-content: space-between;
  align-items: flex-end;
  gap: 20px;
  padding: 0 2px 18px;
}

.emj-results-bar > div {
  display: flex;
  flex-direction: column;
  gap: 3px;
}

.emj-results-bar strong {
  color: var(--emj-secondary);
  font-size: 19px;
}

/* Cards */
.emj-job-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 20px;
}

.emj-featured-jobs {
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

.emj-job-card {
  display: flex;
  flex-direction: column;
  min-width: 0;
  min-height: 100%;
  overflow: hidden;
  border: 1px solid var(--emj-border);
  border-radius: var(--emj-radius);
  background: var(--emj-white);
  box-shadow: var(--emj-shadow-sm);
}

.emj-job-card-head {
  padding: 24px 24px 16px;
}

.emj-badge-row {
  display: flex;
  flex-wrap: wrap;
  gap: 7px;
  min-height: 27px;
}

.emj-badge {
  display: inline-flex;
  align-items: center;
  min-height: 27px;
  padding: 5px 9px;
  border-radius: 999px;
  background: var(--emj-blue-light);
  color: var(--emj-primary);
  font-size: 11px;
  font-weight: 800;
  letter-spacing: 0.45px;
  text-transform: uppercase;
}

.emj-badge-accent {
  background: #e8f7f5;
  color: var(--emj-accent-dark);
}

.emj-job-card h3 {
  margin: 13px 0 9px;
  color: var(--emj-secondary);
  font-size: clamp(20px, 2.3vw, 25px);
  line-height: 1.28;
}

.emj-job-card h3 a {
  color: inherit !important;
  text-decoration: none !important;
}

.emj-job-card h3 a:hover {
  color: var(--emj-primary) !important;
}

.emj-location,
.emj-job-discipline {
  margin: 0;
  color: var(--emj-text);
  font-size: 14px;
}

.emj-location {
  display: flex;
  align-items: center;
  gap: 8px;
  font-weight: 700;
}

.emj-location span {
  color: var(--emj-accent);
  font-size: 9px;
}

.emj-job-discipline {
  margin-top: 5px;
  color: var(--emj-muted);
}

.emj-card-facts {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 1px;
  margin-top: auto;
  border-top: 1px solid var(--emj-border);
  border-bottom: 1px solid var(--emj-border);
  background: var(--emj-border);
}

.emj-card-facts > div {
  display: flex;
  min-width: 0;
  flex-direction: column;
  gap: 2px;
  padding: 13px 16px;
  background: var(--emj-light);
}

.emj-card-facts span,
.emj-card-pay span,
.emj-card-smallprint,
.emj-assignment-grid span,
.emj-sidebar-pay span,
.emj-hero-facts span {
  color: var(--emj-muted);
  font-size: 11px;
  font-weight: 800;
  letter-spacing: 0.35px;
  text-transform: uppercase;
}

.emj-card-facts strong {
  overflow-wrap: anywhere;
  color: var(--emj-secondary);
  font-size: 14px;
  font-weight: 750;
}

.emj-card-pay {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding: 14px 24px;
  background: #f0f9f8;
}

.emj-card-pay strong {
  color: var(--emj-accent-dark);
  font-size: 18px;
}

.emj-job-card-footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
  padding: 18px 24px 22px;
}

.emj-card-smallprint {
  display: flex;
  flex-direction: column;
  gap: 3px;
  text-transform: none;
  letter-spacing: 0;
}

.emj-card-smallprint span:first-child {
  color: var(--emj-secondary);
  font-weight: 800;
}

/* Empty / pagination */
.emj-empty-state,
.emj-closed-job,
.emj-empty-inline {
  padding: 38px;
  border: 1px solid var(--emj-border);
  border-radius: var(--emj-radius);
  background: var(--emj-light);
  text-align: center;
}

.emj-empty-icon {
  display: inline-flex;
  width: 52px;
  height: 52px;
  align-items: center;
  justify-content: center;
  margin-bottom: 10px;
  border-radius: 50%;
  background: var(--emj-blue-light);
  color: var(--emj-primary);
  font-size: 26px;
}

.emj-empty-state h3,
.emj-closed-job h3 {
  margin: 0 0 8px;
  color: var(--emj-secondary);
}

.emj-empty-state p,
.emj-closed-job p {
  max-width: 680px;
  margin: 0 auto 20px;
}

.emj-empty-actions {
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
  gap: 10px;
}

.emj-pagination {
  margin-top: 32px;
}

.emj-pagination ul {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  justify-content: center;
  margin: 0;
  padding: 0;
  list-style: none;
}

.emj-pagination a,
.emj-pagination span {
  display: inline-flex;
  min-width: 42px;
  min-height: 42px;
  align-items: center;
  justify-content: center;
  padding: 8px 12px;
  border: 1px solid var(--emj-border);
  border-radius: 9px;
  background: var(--emj-white);
  color: var(--emj-secondary) !important;
  text-decoration: none !important;
}

.emj-pagination .current {
  border-color: var(--emj-primary);
  background: var(--emj-primary);
  color: var(--emj-white) !important;
}

/* Application shortcode / job application */
.emj-application-section {
  width: 100%;
  margin: 0;
}

.emj-general-application {
  padding: 0;
}

.emj-application-shell {
  display: grid;
  grid-template-columns: minmax(0, 1.55fr) minmax(280px, 0.65fr);
  overflow: hidden;
  border: 1px solid var(--emj-border);
  border-radius: var(--emj-radius-lg);
  background: var(--emj-white);
  box-shadow: var(--emj-shadow);
}

.emj-application-main {
  min-width: 0;
  padding: clamp(26px, 4vw, 44px);
}

.emj-form-heading {
  max-width: 760px;
  margin-bottom: 28px;
}

.emj-form-heading h2 {
  margin: 0;
  color: var(--emj-secondary);
  font-size: clamp(28px, 4vw, 40px);
  line-height: 1.15;
}

.emj-form-heading p {
  margin: 12px 0 0;
  color: var(--emj-text);
  font-size: 15px;
}

.emj-application-form {
  position: relative;
}

.emj-form-section {
  min-width: 0;
  margin: 0;
  padding: 0;
  border: 0;
}

.emj-form-section + .emj-form-section {
  margin-top: 28px;
  padding-top: 28px;
  border-top: 1px solid var(--emj-border);
}

.emj-form-section legend {
  display: flex;
  align-items: center;
  gap: 10px;
  width: 100%;
  margin: 0 0 17px;
  padding: 0;
  color: var(--emj-secondary);
  font-size: 17px;
  font-weight: 800;
}

.emj-form-section legend > span {
  display: inline-flex;
  width: 28px;
  height: 28px;
  align-items: center;
  justify-content: center;
  flex: 0 0 28px;
  border-radius: 50%;
  background: var(--emj-primary);
  color: var(--emj-white);
  font-size: 12px;
}

.emj-form-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 16px;
}

.emj-full-field {
  margin-top: 16px !important;
}

.emj-file-field input[type="file"] {
  padding: 8px;
  line-height: 1.2;
}

.emj-file-field input[type="file"]::file-selector-button {
  margin-right: 10px;
  padding: 8px 11px;
  border: 0;
  border-radius: 7px;
  background: var(--emj-blue-light);
  color: var(--emj-primary);
  font-weight: 750;
  cursor: pointer;
}

.emj-file-field small {
  color: var(--emj-muted);
  font-size: 11px;
  font-weight: 500;
}

.emj-form-footer {
  margin-top: 28px;
  padding-top: 24px;
  border-top: 1px solid var(--emj-border);
}

.emj-consent {
  flex-direction: row !important;
  align-items: flex-start;
  gap: 10px !important;
  font-weight: 500 !important;
  line-height: 1.55;
}

.emj-consent input {
  width: 18px !important;
  min-width: 18px !important;
  min-height: 18px !important;
  margin-top: 2px;
}

.emj-consent a {
  color: var(--emj-primary) !important;
}

.emj-privacy-note {
  margin: 12px 0 18px;
  color: var(--emj-muted);
  font-size: 12px;
}

.emj-submit-button {
  min-width: 210px;
}

.emj-application-aside {
  padding: clamp(25px, 3vw, 36px);
  background: var(--emj-secondary);
  color: #d8e5ef;
}

.emj-application-aside .emj-eyebrow {
  color: #8ec5ff;
}

.emj-application-aside h3,
.emj-application-aside h4 {
  color: var(--emj-white);
}

.emj-application-aside h3 {
  margin: 0;
  font-size: 24px;
  line-height: 1.3;
}

.emj-aside-location {
  margin: 9px 0 18px;
  color: #c7d9e7;
  font-weight: 650;
}

.emj-aside-ref {
  display: flex;
  flex-direction: column;
  gap: 2px;
  padding: 14px;
  border: 1px solid rgba(255, 255, 255, 0.13);
  border-radius: 10px;
  background: rgba(255, 255, 255, 0.05);
}

.emj-aside-ref span {
  color: #b9ccdc;
  font-size: 11px;
  font-weight: 800;
  letter-spacing: 0.6px;
  text-transform: uppercase;
}

.emj-aside-ref strong {
  color: var(--emj-white);
}

.emj-aside-divider {
  height: 1px;
  margin: 28px 0;
  background: rgba(255, 255, 255, 0.13);
}

.emj-application-aside h4 {
  margin: 0 0 13px;
  font-size: 16px;
}

.emj-application-aside ul {
  display: grid;
  gap: 10px;
  margin: 0;
  padding: 0;
  list-style: none;
}

.emj-application-aside li {
  position: relative;
  padding-left: 24px;
  font-size: 14px;
}

.emj-application-aside li::before {
  content: "✓";
  position: absolute;
  left: 0;
  top: 0;
  color: #58d8ca;
  font-weight: 900;
}

.emj-aside-note {
  margin: 24px 0 0;
  padding: 14px 0 0;
  border-top: 1px solid rgba(255, 255, 255, 0.13);
  color: #b9ccdc;
  font-size: 12px;
}

.emj-message {
  display: flex;
  align-items: flex-start;
  gap: 14px;
  margin-bottom: 22px;
  padding: 18px 20px;
  border-radius: 12px;
}

.emj-message-mark {
  display: inline-flex;
  width: 30px;
  height: 30px;
  align-items: center;
  justify-content: center;
  flex: 0 0 30px;
  border-radius: 50%;
  font-weight: 900;
}

.emj-message h2,
.emj-message h3,
.emj-message p {
  margin-top: 0;
}

.emj-message p:last-child {
  margin-bottom: 0;
}

.emj-success {
  border: 1px solid #9fd4b4;
  background: #eef9f2;
  color: var(--emj-success);
}

.emj-success .emj-message-mark {
  background: #d4f1df;
}

.emj-error {
  border: 1px solid #e0aaaa;
  background: #fff3f3;
  color: var(--emj-danger);
}

.emj-error .emj-message-mark {
  background: #f9dede;
}

.emj-honeypot {
  position: absolute !important;
  width: 1px !important;
  height: 1px !important;
  overflow: hidden !important;
  clip: rect(1px, 1px, 1px, 1px) !important;
  white-space: nowrap !important;
}

/* Single job */
.emj-job-hero {
  padding: 58px 0;
  border-bottom: 1px solid var(--emj-border);
  background: linear-gradient(135deg, var(--emj-blue-light), var(--emj-white));
}

.emj-job-hero-inner {
  display: grid;
  grid-template-columns: minmax(0, 1.45fr) minmax(300px, 0.55fr);
  gap: 46px;
  align-items: center;
}

.emj-job-hero-copy h1 {
  max-width: 900px;
  margin: 0;
  color: var(--emj-secondary);
  font-size: clamp(36px, 5vw, 58px);
  line-height: 1.08;
}

.emj-hero-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 9px;
  margin-top: 17px;
}

.emj-hero-meta span {
  display: inline-flex;
  padding: 6px 10px;
  border: 1px solid var(--emj-border);
  border-radius: 999px;
  background: var(--emj-white);
  color: var(--emj-secondary);
  font-size: 12px;
  font-weight: 700;
}

.emj-job-hero-intro {
  max-width: 760px;
  margin: 17px 0 0;
  color: var(--emj-text);
  font-size: 16px;
}

.emj-hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 11px;
  margin-top: 24px;
}

.emj-hero-facts {
  overflow: hidden;
  border: 1px solid var(--emj-border);
  border-radius: var(--emj-radius);
  background: var(--emj-white);
  box-shadow: var(--emj-shadow);
}

.emj-hero-facts > div {
  display: flex;
  flex-direction: column;
  gap: 2px;
  padding: 14px 17px;
  border-bottom: 1px solid var(--emj-border);
}

.emj-hero-facts > div:last-child {
  border-bottom: 0;
}

.emj-hero-facts strong {
  color: var(--emj-secondary);
  font-size: 17px;
}

.emj-single-layout {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 345px;
  gap: 42px;
  align-items: start;
  padding-top: 54px;
  padding-bottom: 58px;
}

.emj-job-content,
.emj-job-sidebar {
  min-width: 0;
}

.emj-job-section {
  padding: 0 0 34px;
}

.emj-job-section + .emj-job-section {
  padding-top: 34px;
  border-top: 1px solid var(--emj-border);
}

.emj-job-section h2 {
  margin: 7px 0 15px;
  color: var(--emj-secondary);
  font-size: clamp(27px, 3vw, 36px);
  line-height: 1.18;
}

.emj-rich-text,
.emj-job-extra {
  color: var(--emj-text);
  font-size: 16px;
  line-height: 1.75;
}

.emj-rich-text p:last-child,
.emj-job-extra p:last-child {
  margin-bottom: 0;
}

.emj-check-list {
  display: grid;
  gap: 12px;
  margin: 0;
  padding: 0;
  list-style: none;
}

.emj-check-list li {
  position: relative;
  padding: 13px 15px 13px 43px;
  border: 1px solid #d8ebe7;
  border-radius: 11px;
  background: #f4fbf9;
  color: var(--emj-secondary);
}

.emj-check-list li::before {
  content: "✓";
  position: absolute;
  left: 15px;
  top: 13px;
  color: var(--emj-accent-dark);
  font-weight: 900;
}

.emj-check-list-blue li {
  border-color: #d9e8f7;
  background: #f6faff;
}

.emj-check-list-blue li::before {
  color: var(--emj-primary);
}

.emj-check-list-soft li {
  border-color: var(--emj-border);
  background: var(--emj-light);
}

.emj-assignment-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  overflow: hidden;
  border: 1px solid var(--emj-border);
  border-radius: var(--emj-radius);
  background: var(--emj-border);
  gap: 1px;
}

.emj-assignment-grid > div {
  display: flex;
  min-height: 78px;
  flex-direction: column;
  justify-content: center;
  gap: 4px;
  padding: 14px 16px;
  background: var(--emj-white);
}

.emj-assignment-grid strong {
  color: var(--emj-secondary);
  overflow-wrap: anywhere;
}

.emj-assignment-grid .emj-assignment-pay {
  background: #effaf8;
}

.emj-assignment-pay strong {
  color: var(--emj-accent-dark);
  font-size: 18px;
}

.emj-job-note {
  margin: 18px 0 0;
  padding: 16px 17px;
  border-left: 4px solid var(--emj-primary);
  border-radius: 0 9px 9px 0;
  background: var(--emj-blue-light);
  color: var(--emj-secondary);
  font-size: 14px;
}

.emj-job-summary-card {
  position: sticky;
  top: 26px;
  overflow: hidden;
  padding: 25px;
  border: 1px solid var(--emj-border);
  border-radius: var(--emj-radius);
  background: var(--emj-white);
  box-shadow: var(--emj-shadow);
}

.emj-job-summary-card h2 {
  margin: 0;
  color: var(--emj-secondary);
  font-size: 25px;
}

.emj-job-summary-card dl {
  display: grid;
  gap: 0;
  margin: 18px 0;
}

.emj-job-summary-card dt {
  margin-top: 11px;
  color: var(--emj-muted);
  font-size: 10px;
  font-weight: 800;
  letter-spacing: 0.55px;
  text-transform: uppercase;
}

.emj-job-summary-card dd {
  margin: 2px 0 0;
  color: var(--emj-secondary);
  font-weight: 650;
}

.emj-sidebar-pay {
  display: flex;
  flex-direction: column;
  gap: 2px;
  margin: 18px -25px 20px;
  padding: 16px 25px;
  border-top: 1px solid #cce8e4;
  border-bottom: 1px solid #cce8e4;
  background: #effaf8;
}

.emj-sidebar-pay strong {
  color: var(--emj-accent-dark);
  font-size: 22px;
}

.emj-sidebar-link {
  display: block;
  margin-top: 13px;
  text-align: center;
  font-size: 13px;
}

.emj-single-application-wrap {
  padding: 58px 0 66px;
  border-top: 1px solid var(--emj-border);
  background: var(--emj-light);
}

.emj-related-section {
  padding: 58px 0 72px;
  border-top: 1px solid var(--emj-border);
  background: var(--emj-white);
}

.emj-related-heading {
  margin-bottom: 25px;
}

.emj-related-heading h2 {
  margin: 0;
  color: var(--emj-secondary);
  font-size: clamp(30px, 4vw, 42px);
}

/* Responsive */
@media (max-width: 1100px) {
  .emj-filter-fields {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }

  .emj-keyword-field {
    grid-column: span 2;
  }

  .emj-featured-jobs {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .emj-job-hero-inner {
    grid-template-columns: minmax(0, 1fr) 300px;
    gap: 30px;
  }

  .emj-single-layout {
    grid-template-columns: minmax(0, 1fr) 310px;
    gap: 30px;
  }
}

@media (max-width: 860px) {
  .emj-filter-toggle {
    display: inline-flex;
  }

  .emj-filter-fields {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .emj-keyword-field {
    grid-column: 1 / -1;
  }

  .emj-job-grid,
  .emj-featured-jobs {
    grid-template-columns: 1fr;
  }

  .emj-application-shell,
  .emj-job-hero-inner,
  .emj-single-layout {
    grid-template-columns: 1fr;
  }

  .emj-job-summary-card {
    position: static;
  }

  .emj-job-hero {
    padding: 48px 0;
  }

  .emj-hero-facts {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .emj-hero-facts > div {
    border-right: 1px solid var(--emj-border);
  }

  .emj-application-aside {
    order: -1;
  }
}

@media (max-width: 640px) {
  .emj-container {
    width: min(100% - 28px, 1280px);
  }

  .emj-search-panel-head {
    align-items: flex-start;
    flex-direction: column;
    padding: 22px 20px 14px;
  }

  .emj-job-filters {
    padding: 0 20px 21px;
  }

  .emj-filter-fields,
  .emj-form-grid,
  .emj-assignment-grid,
  .emj-hero-facts {
    grid-template-columns: 1fr;
  }

  .emj-filter-fields.is-collapsed {
    display: none;
  }

  .emj-filter-toggle {
    width: 100%;
    justify-content: center;
  }

  .emj-filter-actions,
  .emj-hero-actions,
  .emj-job-card-footer,
  .emj-results-bar {
    align-items: stretch;
    flex-direction: column;
  }

  .emj-filter-actions .emj-button,
  .emj-hero-actions .emj-button,
  .emj-job-card-footer .emj-button,
  .emj-submit-button {
    width: 100%;
  }

  .emj-results-clear {
    align-self: flex-start;
  }

  .emj-job-card-head,
  .emj-job-card-footer {
    padding-left: 19px;
    padding-right: 19px;
  }

  .emj-card-pay {
    padding-left: 19px;
    padding-right: 19px;
  }

  .emj-application-main,
  .emj-application-aside {
    padding: 24px 19px;
  }

  .emj-job-hero-copy h1 {
    font-size: 36px;
  }

  .emj-single-layout {
    gap: 24px;
    padding-top: 36px;
    padding-bottom: 42px;
  }

  .emj-assignment-grid > div {
    min-height: 0;
  }

  .emj-single-application-wrap,
  .emj-related-section {
    padding: 45px 0 52px;
  }
}

@media (prefers-reduced-motion: reduce) {
  .emj-jobs-wrap *,
  .emj-application-section *,
  .emj-single-job * {
    scroll-behavior: auto !important;
    transition: none !important;
    animation: none !important;
  }
}

/* Native archive fallback when /search-jobs/ has not been created yet. */
.emj-archive-hero p {
  max-width: 720px;
  margin: 14px 0 0;
  color: var(--emj-text);
  font-size: 16px;
}

.emj-archive-content {
  padding-top: 52px;
  padding-bottom: 70px;
}
