/**
 * Reach International Astro → HireZoot design preview (WP staging ONLY)
 * Scope: body.reach-careers-preview, added only to Rocket.net staging.
 * Reference: Reach Astro src/components/JobDirectory.astro, JobDetail.astro,
 * src/styles/global.css. No functional JS or application-submission overrides.
 */
body.reach-careers-preview {
  --rc-primary: #02215f;
  --rc-secondary: #ed7d31;
  --rc-accent: #004e68;
  --rc-ink: #222;
  --rc-muted: #5d6674;
  --rc-rule: #dde5ee;
  --rc-paper: #f5f8fb;
  --rc-surface: #fff;
  --rc-shadow: 0 10px 28px rgba(2,33,95,.075);
  --rc-radius: 15px;
}

/* Existing Astro visual hierarchy: businesslike, uncluttered, readable. */
body.reach-careers-preview :where(.entry-title, .entry-content h1, .elementor-heading-title, .awsm-job-post-title) {
  color: var(--rc-primary);
  font-family: Montserrat, Arial, sans-serif;
  letter-spacing: -.025em;
  overflow-wrap: anywhere;
}
body.reach-careers-preview :where(.entry-content, .awsm-job-wrap, .awsm-job-single-wrap) {
  color: var(--rc-ink);
  font-family: Roboto, Arial, sans-serif;
}
body.reach-careers-preview :where(a,button,input,select,textarea):focus-visible {
  outline: 3px solid var(--rc-secondary);
  outline-offset: 3px;
}

/* Current WordPress page #3580: preserve Elementor content and HireZoot shortcode. */
body.reach-careers-preview.page-id-3580 :where(.entry-content h1, .elementor-widget-heading h1) {
  color: var(--rc-primary);
  font-size: clamp(2.2rem, 4.6vw, 3.8rem);
  line-height: 1.12;
}
body.reach-careers-preview.page-id-3580 :where(.entry-content h2, .elementor-widget-heading h2) {
  color: var(--rc-primary);
  font-size: clamp(1.4rem, 2.4vw, 2rem);
  line-height: 1.25;
}
body.reach-careers-preview.page-id-3580 .entry-content > p {
  max-width: 75ch;
  line-height: 1.7;
}

/* Directory filters: visually align with Astro's career-search-panel. */
body.reach-careers-preview .awsm-job-wrap {
  width: 100%;
  max-width: 1160px;
  margin-inline: auto;
}
body.reach-careers-preview .awsm-filter-wrap {
  background: var(--rc-paper);
  border: 1px solid var(--rc-rule);
  border-radius: var(--rc-radius);
  padding: clamp(1rem, 2.5vw, 1.5rem);
  margin: 0 0 1.25rem;
  box-shadow: 0 4px 14px rgba(2,33,95,.035);
}
body.reach-careers-preview .awsm-filter-wrap form {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: .75rem;
  margin: 0;
}
body.reach-careers-preview .awsm-filter-item-search {
  flex: 1 1 320px;
  min-width: 0;
}
body.reach-careers-preview .awsm-filter-items {
  display: flex;
  flex: 1 1 340px;
  flex-wrap: wrap;
  align-items: center;
  gap: .7rem;
  min-width: 0;
}
body.reach-careers-preview .awsm-filter-item {
  flex: 1 1 150px;
  min-width: 0;
}
body.reach-careers-preview :where(.awsm-job-search, .awsm-filter-option, .awsm-job-form-control) {
  box-sizing: border-box;
  width: 100%;
  max-width: 100%;
  min-width: 0;
  min-height: 47px;
  border: 1px solid #c5d2e2;
  border-radius: 9px;
  background: var(--rc-surface);
  color: var(--rc-primary);
  font: 500 .95rem/1.3 Roboto,Arial,sans-serif;
  padding: .75rem 1rem;
}
body.reach-careers-preview :where(.awsm-job-search, .awsm-filter-option, .awsm-job-form-control):focus {
  border-color: var(--rc-accent);
  box-shadow: 0 0 0 3px rgba(0,78,104,.12);
}
body.reach-careers-preview .awsm-filter-toggle {
  color: var(--rc-primary);
}

/* Render the native HireZoot listings as the existing Astro career cards. */
body.reach-careers-preview .awsm-job-listings.awsm-lists,
body.reach-careers-preview .awsm-job-listings.awsm-grid {
  display: grid;
  grid-template-columns: minmax(0,1fr);
  gap: 1rem;
  margin: 0 0 2rem;
  padding: 0;
}
body.reach-careers-preview .awsm-job-listing-item {
  min-width: 0;
  width: 100%;
  margin: 0;
  padding: 0;
  background: #fff;
  border: 1px solid var(--rc-rule);
  border-left: 4px solid var(--rc-secondary);
  border-radius: var(--rc-radius);
  box-shadow: var(--rc-shadow);
  overflow: hidden;
  transition: box-shadow .18s ease, border-color .18s ease;
}
body.reach-careers-preview .awsm-job-listing-item:hover,
body.reach-careers-preview .awsm-job-listing-item:focus-within {
  border-color: #becfe3;
  border-left-color: var(--rc-secondary);
  box-shadow: 0 12px 29px rgba(2,33,95,.115);
}
body.reach-careers-preview .awsm-job-listing-item .awsm-job-item {
  box-sizing: border-box;
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 1rem 1.75rem;
  padding: clamp(1rem, 2.8vw, 1.55rem);
  text-decoration: none;
  background: none;
  min-height: 105px;
}
body.reach-careers-preview :where(.awsm-list-left-col, .awsm-grid-left-col) {
  min-width: 0;
  flex: 1 1 360px;
}
body.reach-careers-preview :where(.awsm-list-right-col, .awsm-grid-right-col) {
  min-width: 0;
  flex: 0 1 auto;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: flex-end;
  gap: .8rem 1rem;
}
body.reach-careers-preview .awsm-job-post-title {
  margin: 0;
  padding: 0;
  font-size: clamp(1.13rem, 1.8vw, 1.45rem);
  font-weight: 750;
  line-height: 1.42;
}
body.reach-careers-preview .awsm-job-post-title a {
  color: var(--rc-primary);
  text-decoration: none;
}
body.reach-careers-preview .awsm-job-post-title a:hover { text-decoration: underline; }
body.reach-careers-preview .awsm-job-specification-wrapper {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: .45rem;
}
body.reach-careers-preview .awsm-job-listing-item .awsm-job-specification-item {
  background: var(--rc-paper);
  color: var(--rc-primary);
  border: 1px solid var(--rc-rule);
  border-radius: 99px;
  padding: .35rem .75rem;
  font-size: .82rem;
  font-weight: 650;
  line-height: 1.35;
}
body.reach-careers-preview .awsm-job-listing-item .awsm-job-specification-term {
  font-size: inherit;
  color: inherit;
}
body.reach-careers-preview .awsm-job-more-container { margin: 0; }
body.reach-careers-preview .awsm-job-more {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 43px;
  padding: .7rem 1rem;
  border: 1px solid var(--rc-primary);
  background: var(--rc-primary);
  color: #fff !important;
  border-radius: 9px;
  font: 700 .88rem/1.25 Montserrat,Arial,sans-serif;
  text-decoration: none !important;
  white-space: normal;
  text-align: center;
  box-shadow: none;
}
body.reach-careers-preview .awsm-job-more:hover,
body.reach-careers-preview .awsm-job-more:focus-visible {
  background: var(--rc-accent);
  border-color: var(--rc-accent);
  color: #fff;
}
body.reach-careers-preview .awsm-job-more span { color: inherit; }
body.reach-careers-preview :where(.awsm-job-load-more, .awsm-job-pagination, .awsm-jobs-none-container) {
  margin-block: 1.25rem 2rem;
}
body.reach-careers-preview .awsm-jobs-none-container {
  background: var(--rc-paper);
  border: 1px solid var(--rc-rule);
  border-radius: 12px;
  padding: 1.2rem;
}

/* Single role: 2-column Astro reading pane + apply sidebar, using native form. */
body.reach-careers-preview .awsm-job-single-wrap {
  display: grid;
  grid-template-columns: minmax(0,1fr) minmax(270px,345px);
  align-items: start;
  gap: clamp(1.3rem,4vw,3rem);
  width: 100%;
  max-width: 1160px;
  margin: 1.5rem auto 3rem;
  color: var(--rc-ink);
}
body.reach-careers-preview .awsm-job-single-wrap > .awsm-job-content {
  min-width: 0;
  width: 100%;
  grid-column: 1;
}
body.reach-careers-preview .awsm-job-single-wrap > .awsm-job-form {
  min-width: 0;
  width: 100%;
  grid-column: 2;
  grid-row: 1 / span 2;
}
body.reach-careers-preview .awsm-job-entry-content {
  font: 400 1rem/1.75 Roboto,Arial,sans-serif;
  overflow-wrap: anywhere;
}
body.reach-careers-preview .awsm-job-entry-content :where(h2,h3,h4) {
  color: var(--rc-primary);
  font-family: Montserrat,Arial,sans-serif;
  line-height: 1.32;
  margin: 1.5rem 0 .75rem;
}
body.reach-careers-preview .awsm-job-entry-content h2 { font-size: clamp(1.4rem,2.2vw,1.85rem); }
body.reach-careers-preview .awsm-job-entry-content h3 { font-size: clamp(1.14rem,1.8vw,1.4rem); }
body.reach-careers-preview .awsm-job-entry-content :where(p, ul, ol) { margin-bottom: 1rem; }
body.reach-careers-preview .awsm-job-entry-content li { margin-bottom: .55rem; }
body.reach-careers-preview .awsm-job-entry-content :where(a,button) { overflow-wrap: anywhere; }
body.reach-careers-preview .awsm-job-single-wrap .awsm-job-specification-wrapper {
  display: flex;
  flex-wrap: wrap;
  gap: .55rem;
  margin-bottom: 1.1rem;
}
body.reach-careers-preview .awsm-job-single-wrap .awsm-job-specification-item {
  background: var(--rc-paper);
  border: 1px solid var(--rc-rule);
  border-radius: 9px;
  padding: .65rem .9rem;
  color: var(--rc-primary);
  font-size: .9rem;
  line-height: 1.45;
}
body.reach-careers-preview .awsm-job-form-inner {
  background: #fff;
  border: 1px solid var(--rc-rule);
  border-top: 4px solid var(--rc-secondary);
  border-radius: 13px;
  padding: clamp(1.05rem,2.2vw,1.55rem);
  box-shadow: 0 8px 23px rgba(2,33,95,.09);
}
body.reach-careers-preview .awsm-job-form-inner > h2 {
  color: var(--rc-primary);
  font: 750 clamp(1.2rem,2vw,1.43rem)/1.3 Montserrat,Arial,sans-serif;
  margin: 0 0 1.1rem;
}
body.reach-careers-preview .awsm-job-form-group { margin-bottom: 1.05rem; }
body.reach-careers-preview .awsm-application-form label {
  display: block;
  color: var(--rc-primary);
  font-weight: 650;
  line-height: 1.4;
  margin-bottom: .35rem;
}
body.reach-careers-preview .awsm-application-form :where(input:not([type=hidden]):not([type=checkbox]):not([type=radio]):not([type=submit]),select,textarea) {
  width: 100%;
  max-width: 100%;
  box-sizing: border-box;
  min-height: 45px;
  border: 1px solid #c5d2e2;
  background: #fff;
  color: var(--rc-ink);
  border-radius: 8px;
  padding: .7rem .8rem;
  font: 400 .96rem/1.45 Roboto,Arial,sans-serif;
}
body.reach-careers-preview .awsm-application-form textarea { min-height: 110px; resize: vertical; }
body.reach-careers-preview .awsm-application-form :where(input,textarea,select):focus {
  border-color: var(--rc-accent);
  box-shadow: 0 0 0 3px rgba(0,78,104,.12);
}
body.reach-careers-preview .awsm-application-form :where(input[type=submit],button[type=submit],.awsm-application-submit-btn) {
  display: block;
  width: 100%;
  min-height: 47px;
  border: 1px solid var(--rc-primary);
  background: var(--rc-primary);
  color: #fff;
  border-radius: 9px;
  padding: .85rem 1rem;
  font: 750 .93rem/1.2 Montserrat,Arial,sans-serif;
  cursor: pointer;
}
body.reach-careers-preview .awsm-application-form :where(input[type=submit],button[type=submit],.awsm-application-submit-btn):hover {
  background: var(--rc-accent);
}
body.reach-careers-preview .awsm-application-form :where(input[type=checkbox],input[type=radio]) {
  width: auto;
  height: auto;
}
body.reach-careers-preview .awsm-application-message { border-radius: 8px; line-height: 1.55; }
body.reach-careers-preview .awsm-application-message:where(.awsm-error-message) { padding: 1rem; }
body.reach-careers-preview .awsm-application-message:where(.awsm-success-message) { padding: 1rem; }

/* Responsive role detail and job cards. Avoid horizontal overflow and trapped focus. */
@media (max-width: 980px) {
  body.reach-careers-preview .awsm-job-single-wrap { grid-template-columns: minmax(0,1fr); }
  body.reach-careers-preview .awsm-job-single-wrap > .awsm-job-content,
  body.reach-careers-preview .awsm-job-single-wrap > .awsm-job-form { grid-column: 1; grid-row: auto; }
  body.reach-careers-preview .awsm-job-single-wrap > .awsm-job-form { margin-top: .5rem; }
}
@media (max-width: 720px) {
  body.reach-careers-preview .awsm-filter-wrap form { display: block; }
  body.reach-careers-preview :where(.awsm-filter-item-search,.awsm-filter-items,.awsm-filter-item) {
    width: 100%;
    margin-bottom: .7rem;
  }
  body.reach-careers-preview .awsm-filter-items { display: block; }
  body.reach-careers-preview .awsm-job-listing-item .awsm-job-item { display: block; }
  body.reach-careers-preview :where(.awsm-list-right-col,.awsm-grid-right-col) {
    justify-content: flex-start;
    margin-top: 1rem;
  }
  body.reach-careers-preview .awsm-job-more { width: 100%; }
  body.reach-careers-preview .awsm-job-more-container { width: 100%; }
  body.reach-careers-preview .awsm-job-single-wrap { margin-top: 1rem; }
}
@media (prefers-reduced-motion: reduce) {
  body.reach-careers-preview .awsm-job-listing-item { transition: none; }
}

/* ==============================================================
   Reach Careers v0.2 — Astro alignment (Rocket staging only)
   These selectors correspond to verified Elementor templates:
   Directory page 3580; single job Elementor template 3614.
   No markup, data, scripts, form behavior, or submission handlers altered.
   ============================================================== */

/* Remove the old photo-forward art direction and oversized hero treatments.
   A compact branded header mirrors the Astro Careers hero without adding art. */
body.reach-careers-preview.page-id-3580 .elementor-3580 > .elementor-element-5eedf96,
body.reach-careers-preview .elementor-3614 > .elementor-element-77a8014 {
  background: linear-gradient(114deg, #02215f 0%, #063c69 100%) !important;
  border: 0 !important;
  box-shadow: none !important;
  min-height: 0 !important;
}
body.reach-careers-preview.page-id-3580 .elementor-3580 > .elementor-element-5eedf96::before,
body.reach-careers-preview .elementor-3614 > .elementor-element-77a8014::before {
  background: none !important;
  opacity: 0 !important;
}
body.reach-careers-preview .elementor-3580 > .elementor-element-5eedf96 > .e-con-inner,
body.reach-careers-preview .elementor-3614 > .elementor-element-77a8014 > .e-con-inner {
  box-sizing: border-box;
  width: min(100% - 2.5rem, 1120px);
  max-width: 1120px !important;
  min-height: 0 !important;
  margin-inline: auto;
  padding-block: clamp(2.2rem, 5vw, 4rem) !important;
  gap: clamp(.65rem, 1.1vw, .9rem) !important;
}
body.reach-careers-preview .elementor-3580 > .elementor-element-5eedf96 .elementor-shape,
body.reach-careers-preview .elementor-3614 > .elementor-element-77a8014 .elementor-shape,
body.reach-careers-preview .elementor-3580 > .elementor-element-69292e6 .elementor-shape,
body.reach-careers-preview .elementor-3614 > .elementor-element-295da49 .elementor-shape {
  display: none !important;
}

/* Career listing page: emphasize the main statement, not two giant titles. */
body.reach-careers-preview.page-id-3580 .elementor-element-23d39e6 h1.elementor-heading-title {
  color: #fff !important;
  font-size: clamp(2.05rem, 4.15vw, 3.25rem) !important;
  font-weight: 750 !important;
  line-height: 1.13 !important;
  letter-spacing: -.036em !important;
  text-wrap: balance;
  max-width: 30ch;
}
body.reach-careers-preview.page-id-3580 .elementor-element-f39db86 h2.elementor-heading-title {
  color: #f9b982 !important;
  font: 700 clamp(.97rem, 1.4vw, 1.12rem)/1.4 Montserrat,Arial,sans-serif !important;
  letter-spacing: .015em !important;
  margin: 0 !important;
}
body.reach-careers-preview.page-id-3580 .elementor-element-7c557bc .elementor-widget-container,
body.reach-careers-preview .elementor-3614 .elementor-element-5993b9c .elementor-widget-container {
  color: #e8eef8 !important;
  font: 400 clamp(.95rem, 1.4vw, 1.1rem)/1.65 Roboto,Arial,sans-serif !important;
  max-width: 74ch;
  text-align: left !important;
}
body.reach-careers-preview .elementor-3580 .elementor-element-90a1434,
body.reach-careers-preview .elementor-3614 .elementor-element-40aa4fa {
  display: none !important;
}

/* Role pages: actual position is the only prominent title.
   “Open Position” remains a small, subdued label unless copy is updated. */
body.reach-careers-preview .elementor-3614 .elementor-element-cc55a03 h2.elementor-heading-title {
  color: #f4b37a !important;
  font: 750 .85rem/1.4 Montserrat,Arial,sans-serif !important;
  text-transform: uppercase;
  letter-spacing: .12em !important;
  margin: 0 !important;
}
body.reach-careers-preview .elementor-3614 .elementor-element-84e5c16 h1.elementor-heading-title {
  color: #fff !important;
  font: 750 clamp(2rem, 3.7vw, 3.1rem)/1.15 Montserrat,Arial,sans-serif !important;
  letter-spacing: -.035em !important;
  max-width: 25ch;
  text-wrap: balance;
}

/* Flatten the Elementor double frame and photo behind the real recruiting UI.
   The scoped Elementor IDs are from staging DOM, not generic theme selectors. */
body.reach-careers-preview .elementor-3580 > .elementor-element-69292e6,
body.reach-careers-preview .elementor-3614 > .elementor-element-295da49 {
  background: #f7f9fc !important;
  background-image: none !important;
  border: 0 !important;
  box-shadow: none !important;
  padding: clamp(1.5rem, 3.6vw, 3rem) 1.25rem !important;
  min-height: 0 !important;
}
body.reach-careers-preview .elementor-3580 .elementor-element-5710a9e,
body.reach-careers-preview .elementor-3614 .elementor-element-3ffb106 {
  width: min(100%, 1160px);
  max-width: 1160px !important;
  margin-inline: auto !important;
  padding: 0 !important;
  background: transparent !important;
  background-image: none !important;
  border: 0 !important;
  box-shadow: none !important;
  min-width: 0;
}
body.reach-careers-preview .elementor-3580 .elementor-element-5710a9e > .elementor-element,
body.reach-careers-preview .elementor-3614 .elementor-element-3ffb106 > .elementor-element {
  max-width: 100%;
}
body.reach-careers-preview .elementor-3580 .elementor-element-6e992e6,
body.reach-careers-preview .elementor-3614 .elementor-element-5de982f {
  display: none !important;
}
/* Avoid isolated LinkedIn icon floating underneath the listings;
   the company footer still includes its normal social links. */
body.reach-careers-preview .elementor-3580 .elementor-element-5710a9e > .elementor-widget-social-icons,
body.reach-careers-preview .elementor-3614 .elementor-element-3ffb106 > .elementor-widget-social-icons {
  display: none !important;
}

/* Directory polish: tighter rhythm, larger clear native search fields. */
body.reach-careers-preview .awsm-job-wrap {
  max-width: 1160px;
}
body.reach-careers-preview .awsm-filter-wrap {
  margin-bottom: 1.6rem;
  background: #fff;
  border: 1px solid #e1e8f0;
  box-shadow: 0 5px 20px rgba(2,33,95,.055);
}
body.reach-careers-preview .awsm-filter-wrap .awsm-job-search,
body.reach-careers-preview .awsm-filter-wrap select.awsm-filter-option {
  box-sizing: border-box;
  min-height: 49px;
  border: 1px solid #c7d4e2 !important;
  color: #12325e !important;
  box-shadow: none !important;
  background-color: #fff !important;
}
body.reach-careers-preview .awsm-job-listings { row-gap: 1rem; }
body.reach-careers-preview .awsm-job-listing-item {
  box-shadow: 0 4px 18px rgba(2,33,95,.05);
  border-color: #e2e9f2;
  border-left-color: var(--rc-secondary);
}
body.reach-careers-preview .awsm-job-post-title {
  font-size: clamp(1.03rem, 1.75vw, 1.28rem);
  line-height: 1.45;
}
body.reach-careers-preview .awsm-job-more { min-width: 155px; }

/* Native single-role description becomes a clean, readable content card. */
body.reach-careers-preview .awsm-job-single-wrap {
  gap: clamp(1.5rem, 3.2vw, 2.6rem);
  margin: 0 auto 1.4rem;
  grid-template-columns: minmax(0, 1fr) minmax(295px, 345px);
}
body.reach-careers-preview .awsm-job-single-wrap > .awsm-job-content {
  box-sizing: border-box;
  padding: clamp(1.25rem, 2.6vw, 2.2rem);
  background: #fff;
  border: 1px solid #e2e9f2;
  border-radius: 14px;
  box-shadow: 0 4px 17px rgba(2,33,95,.035);
}
body.reach-careers-preview .awsm-job-entry-content {
  font-size: 1rem;
  line-height: 1.75;
}
body.reach-careers-preview .awsm-job-entry-content p { margin: 0 0 1.1rem; }
body.reach-careers-preview .awsm-job-entry-content p > strong {
  color: #09285c;
  font-family: Montserrat,Arial,sans-serif;
  font-weight: 750;
}
body.reach-careers-preview .awsm-job-entry-content ul {
  padding-left: 1.35rem;
  margin: .45rem 0 1.65rem;
}
body.reach-careers-preview .awsm-job-entry-content li { padding-left: .22rem; margin: 0 0 .8rem; }
body.reach-careers-preview .awsm-job-entry-content li::marker { color: #ed7d31; }
body.reach-careers-preview .awsm-job-form-inner {
  border-radius: 14px;
  border: 1px solid #e2e9f2;
  border-top: 4px solid #ed7d31;
  padding: clamp(1.25rem, 2.2vw, 1.75rem);
  box-shadow: 0 6px 22px rgba(2,33,95,.065);
}
body.reach-careers-preview .awsm-job-form-inner > h2 {
  font-size: clamp(1.12rem, 1.7vw, 1.34rem);
  line-height: 1.35;
  margin-bottom: 1.4rem;
}
body.reach-careers-preview .awsm-application-form .awsm-job-form-group { margin-bottom: 1.15rem; }
body.reach-careers-preview .awsm-application-form .awsm-job-form-group > label {
  font-family: Roboto,Arial,sans-serif;
  font-size: .87rem;
  font-weight: 650;
  color: #12325e;
  margin-bottom: .42rem;
}
/* Higher specificity than HireZoot's older orange-outlined fields.
   Preserve error classes, required indicators and native validation. */
body.reach-careers-preview .awsm-application-form input.awsm-job-form-control:not([type="checkbox"]):not([type="radio"]):not([type="hidden"]),
body.reach-careers-preview .awsm-application-form textarea.awsm-job-form-control,
body.reach-careers-preview .awsm-application-form select.awsm-job-form-control {
  border: 1px solid #c7d4e3 !important;
  border-radius: 9px !important;
  box-shadow: none !important;
  background: #fff !important;
}
body.reach-careers-preview .awsm-application-form input.awsm-job-form-control:focus,
body.reach-careers-preview .awsm-application-form textarea.awsm-job-form-control:focus,
body.reach-careers-preview .awsm-application-form select.awsm-job-form-control:focus {
  border-color: #004e68 !important;
  box-shadow: 0 0 0 3px rgba(0,78,104,.12) !important;
}
body.reach-careers-preview .awsm-application-form input[type="file"].awsm-job-form-control {
  padding: .6rem !important;
  min-height: 58px;
  font-size: .82rem;
  max-width: 100%;
}
body.reach-careers-preview .awsm-application-form input[type="file"]::file-selector-button {
  font: 700 .8rem/1.2 Roboto,Arial,sans-serif;
  background: #eaf0f7;
  color: #02215f;
  border: 1px solid #c7d4e3;
  border-radius: 6px;
  padding: .55rem .8rem;
  margin-right: .65rem;
  cursor: pointer;
}
body.reach-careers-preview .awsm-application-form .awsm-job-inline-group {
  display: grid !important;
  grid-template-columns: 19px minmax(0, 1fr);
  gap: .6rem;
  align-items: start;
}
body.reach-careers-preview .awsm-application-form .awsm-job-inline-group input[type="checkbox"] {
  margin: 3px 0 0 !important;
  width: 18px !important;
  height: 18px !important;
  accent-color: #004e68;
}
body.reach-careers-preview .awsm-application-form .awsm-job-inline-group label {
  font-size: .83rem !important;
  line-height: 1.55 !important;
  font-weight: 500 !important;
  margin: 0;
}
body.reach-careers-preview .awsm-application-form .awsm-job-form-group small {
  display: block;
  margin-top: .4rem;
  color: #5d6674;
  font-size: .8rem;
}
body.reach-careers-preview .awsm-application-form .awsm-job-captcha-group,
body.reach-careers-preview .awsm-application-form .cf-turnstile {
  max-width: 100%;
  overflow: visible;
}
body.reach-careers-preview .awsm-application-form .awsm-job-form-error { color: #a33a29; }
body.reach-careers-preview .awsm-application-form .awsm-application-submit-btn {
  width: 100% !important;
  border-radius: 9px !important;
  border: 1px solid #02215f !important;
  color: #fff !important;
  background: #02215f !important;
  padding: .95rem 1rem !important;
  min-height: 50px !important;
}
body.reach-careers-preview .awsm-application-form .awsm-application-submit-btn:hover { background: #004e68 !important; }

/* Print/PDF cleanup: prevent sticky headers from covering the next printed
   page; keep job listing cards together whenever practical. */
@media print {
  body.reach-careers-preview .site-header,
  body.reach-careers-preview .elementor-location-header,
  body.reach-careers-preview .ast-primary-header-bar {
    position: static !important;
    top: auto !important;
    transform: none !important;
  }
  body.reach-careers-preview .awsm-job-listing-item {
    break-inside: avoid;
    page-break-inside: avoid;
  }
  body.reach-careers-preview .awsm-job-single-wrap > .awsm-job-form {
    position: static !important;
  }
}

@media (min-width: 1024px) and (min-height: 860px) {
  body.reach-careers-preview .awsm-job-single-wrap > .awsm-job-form {
    position: sticky;
    top: 5.8rem;
    align-self: start;
  }
}
@media (max-width: 980px) {
  body.reach-careers-preview .awsm-job-single-wrap {
    grid-template-columns: minmax(0, 1fr);
  }
  body.reach-careers-preview .awsm-job-single-wrap > .awsm-job-content,
  body.reach-careers-preview .awsm-job-single-wrap > .awsm-job-form {
    grid-column: 1;
    grid-row: auto;
  }
  body.reach-careers-preview .awsm-job-single-wrap > .awsm-job-form {
    position: static;
  }
}
@media (max-width: 640px) {
  body.reach-careers-preview .elementor-3580 > .elementor-element-5eedf96 > .e-con-inner,
  body.reach-careers-preview .elementor-3614 > .elementor-element-77a8014 > .e-con-inner {
    width: min(100% - 2rem, 1120px);
    padding-block: 2.1rem !important;
  }
  body.reach-careers-preview .elementor-3580 > .elementor-element-69292e6,
  body.reach-careers-preview .elementor-3614 > .elementor-element-295da49 {
    padding: 1.25rem .85rem !important;
  }
  body.reach-careers-preview .awsm-job-single-wrap > .awsm-job-content,
  body.reach-careers-preview .awsm-job-form-inner {
    padding: 1.12rem;
  }
  body.reach-careers-preview .awsm-job-listing-item .awsm-job-item {
    padding: 1.08rem;
  }
  body.reach-careers-preview .awsm-job-post-title {
    font-size: 1.05rem;
  }
  body.reach-careers-preview .awsm-job-more,
  body.reach-careers-preview .awsm-job-more-container { width: 100%; }
}

/* Ensure the longer candidate-first headline remains balanced and readable. */
body.reach-careers-preview.page-id-3580 .elementor-element-23d39e6 h1.elementor-heading-title { max-width: 29ch; }


/* ==============================================================
   Reach Careers v0.3 — Internal job-detail refinement
   Scoped to Rocket staging + HireZoot pages by PHP body class.
   No application processing, submissions, scripts, or job records change.
   ============================================================== */

/* Lighter, quicker role introduction. Preserve the dynamically rendered H1. */
body.reach-careers-preview.single-awsm_job_openings .elementor-3614 > .elementor-element-77a8014 > .e-con-inner {
  padding-block: clamp(1.6rem, 3.2vw, 2.65rem) !important;
}
body.reach-careers-preview.single-awsm_job_openings .elementor-3614 .elementor-element-84e5c16 h1.elementor-heading-title {
  max-width: 30ch;
  font-size: clamp(1.95rem, 3.35vw, 2.8rem) !important;
}
body.reach-careers-preview.single-awsm_job_openings .elementor-3614 .elementor-element-5993b9c .elementor-widget-container {
  max-width: 66ch;
  line-height: 1.6 !important;
}

/* Make the role content readable without swallowing the full screen width. */
body.reach-careers-preview.single-awsm_job_openings .awsm-job-entry-content {
  max-width: 74ch;
  margin-inline: auto;
}
body.reach-careers-preview.single-awsm_job_openings .awsm-job-entry-content :where(p, li) {
  hyphens: auto;
  text-wrap: pretty;
}
body.reach-careers-preview.single-awsm_job_openings .awsm-job-entry-content > p:has(> strong) {
  margin-top: 1.35rem;
}
body.reach-careers-preview.single-awsm_job_openings .awsm-job-entry-content > p:first-child {
  margin-top: 0;
}
body.reach-careers-preview.single-awsm_job_openings .awsm-job-entry-content ul li {
  line-height: 1.65;
}

/* Give the application card a distinct, polished reading flow. */
body.reach-careers-preview.single-awsm_job_openings .awsm-job-form-inner {
  background: #fff;
  border-top: 4px solid var(--rc-secondary);
}
body.reach-careers-preview.single-awsm_job_openings .awsm-job-form-inner > h2 {
  padding-bottom: .85rem;
  border-bottom: 1px solid var(--rc-rule);
}
body.reach-careers-preview.single-awsm_job_openings .awsm-application-form input[type=file] {
  color: var(--rc-ink);
}
body.reach-careers-preview.single-awsm_job_openings .awsm-application-form :where(input, textarea, select):disabled {
  background: #f3f6fa !important;
  color: #667386 !important;
}

/* At a sufficiently tall desktop viewport, keep the native application form
   visible as a column while applicants read longer descriptions. Never create
   an independently scrollable form or trap keyboard focus. */
@media (min-width: 1100px) and (min-height: 780px) {
  body.reach-careers-preview.single-awsm_job_openings .awsm-job-single-wrap > .awsm-job-form {
    position: sticky;
    top: 6.25rem;
    align-self: start;
  }
}
@media (max-width: 1099px), (max-height: 779px) {
  body.reach-careers-preview.single-awsm_job_openings .awsm-job-single-wrap > .awsm-job-form {
    position: static;
  }
}

/* Clean handout/PDF: avoid a fixed WordPress header repeating on every page,
   and avoid 3+ pages of blank space from the shorter application sidebar.
   Browser layout remains two-column; print is intentionally one-column. */
@media print {
  body.reach-careers-preview #masthead,
  body.reach-careers-preview #colophon,
  body.reach-careers-preview .site-header,
  body.reach-careers-preview .site-footer,
  body.reach-careers-preview .elementor-location-header,
  body.reach-careers-preview .elementor-location-footer,
  body.reach-careers-preview .elementor-sticky--active,
  body.reach-careers-preview .elementor-sticky__spacer,
  body.reach-careers-preview .ast-scroll-to-top {
    display: none !important;
  }
  body.reach-careers-preview.single-awsm_job_openings .awsm-job-single-wrap {
    display: block !important;
    max-width: 100% !important;
    margin: 0 !important;
  }
  body.reach-careers-preview.single-awsm_job_openings .awsm-job-single-wrap > .awsm-job-content,
  body.reach-careers-preview.single-awsm_job_openings .awsm-job-single-wrap > .awsm-job-form {
    width: 100% !important;
    max-width: 100% !important;
    display: block !important;
    position: static !important;
    box-shadow: none !important;
    break-inside: auto;
  }
  body.reach-careers-preview.single-awsm_job_openings .awsm-job-single-wrap > .awsm-job-form {
    margin-top: 1.4rem !important;
    break-before: page;
    page-break-before: always;
  }
  body.reach-careers-preview.single-awsm_job_openings .awsm-job-form-inner {
    box-shadow: none !important;
  }
  body.reach-careers-preview .elementor-3614 > .elementor-element-77a8014,
  body.reach-careers-preview .elementor-3580 > .elementor-element-5eedf96 {
    -webkit-print-color-adjust: exact;
    print-color-adjust: exact;
  }
}


/* ==============================================================
   Reach Careers v0.4 — deliberate editorial hero alignment
   Staging-specific header art direction, not a new recruiting UI.
   Preserve HireZoot grid, right-hand form, and all form functionality.
   Source: user screenshots from Nov 3, 2026; Elementor instances
   Careers 3580 / single job template 3614.
   ============================================================== */

/* The screenshot's "empty left box" came from centrally aligned titles
   coupled to a LEFT-aligned description. Establish one vertical text rail. */
body.reach-careers-preview.page-id-3580 .elementor-3580 > .elementor-element-5eedf96,
body.reach-careers-preview.single-awsm_job_openings .elementor-3614 > .elementor-element-77a8014 {
  position: relative;
  isolation: isolate;
  overflow: hidden;
  background: linear-gradient(112deg, #02215f 0%, #062f5a 63%, #064767 100%) !important;
}

body.reach-careers-preview.page-id-3580 .elementor-3580 > .elementor-element-5eedf96 > .e-con-inner,
body.reach-careers-preview.single-awsm_job_openings .elementor-3614 > .elementor-element-77a8014 > .e-con-inner {
  display: flex !important;
  flex-direction: column !important;
  align-items: flex-start !important;
  justify-content: center !important;
  gap: .9rem !important;
  width: min(calc(100% - 3rem), 1280px) !important;
  max-width: 1280px !important;
  margin-inline: auto !important;
  padding-block: clamp(2.6rem, 4.2vw, 4.15rem) !important;
  position: relative;
  z-index: 1;
  text-align: left !important;
}

/* Elementor widgets still carry old center alignment. Explicitly clear it. */
body.reach-careers-preview.page-id-3580 .elementor-element-5eedf96 > .e-con-inner > .elementor-element,
body.reach-careers-preview.single-awsm_job_openings .elementor-element-77a8014 > .e-con-inner > .elementor-element {
  flex: 0 1 auto;
  align-self: flex-start !important;
  width: min(100%, 800px) !important;
  max-width: 800px !important;
  text-align: left !important;
}
body.reach-careers-preview.page-id-3580 .elementor-element-5eedf96 :is(.elementor-widget-container, .elementor-heading-title),
body.reach-careers-preview.single-awsm_job_openings .elementor-element-77a8014 :is(.elementor-widget-container, .elementor-heading-title) {
  text-align: left !important;
  margin-left: 0 !important;
  margin-right: 0 !important;
}

/* Careers directory: arrange orange eyebrow BEFORE the main statement.
   This is CSS ordering only; the document's H1 semantics are preserved. */
body.reach-careers-preview.page-id-3580 .elementor-element-5eedf96 .elementor-element-f39db86 { order: 1; }
body.reach-careers-preview.page-id-3580 .elementor-element-5eedf96 .elementor-element-23d39e6 { order: 2; }
body.reach-careers-preview.page-id-3580 .elementor-element-5eedf96 .elementor-element-7c557bc { order: 3; }
body.reach-careers-preview.page-id-3580 .elementor-element-5eedf96 .elementor-element-90a1434 { display: none !important; }

body.reach-careers-preview.page-id-3580 .elementor-element-f39db86 h2.elementor-heading-title,
body.reach-careers-preview.single-awsm_job_openings .elementor-element-cc55a03 h2.elementor-heading-title {
  display: flex !important;
  align-items: center;
  gap: .7rem;
  color: #f9b982 !important;
  font: 750 clamp(.75rem, .95vw, .88rem)/1.4 Montserrat, Arial, sans-serif !important;
  text-transform: uppercase;
  letter-spacing: .15em !important;
  margin: 0 !important;
}
body.reach-careers-preview.page-id-3580 .elementor-element-f39db86 h2.elementor-heading-title::before,
body.reach-careers-preview.single-awsm_job_openings .elementor-element-cc55a03 h2.elementor-heading-title::before {
  content: '';
  display: block;
  flex: 0 0 38px;
  width: 38px;
  height: 3px;
  background: #ed7d31;
  border-radius: 3px;
}

body.reach-careers-preview.page-id-3580 .elementor-element-23d39e6 h1.elementor-heading-title {
  max-width: 24ch !important;
  font-size: clamp(2.1rem, 3.65vw, 3.55rem) !important;
  font-weight: 750 !important;
  line-height: 1.12 !important;
  letter-spacing: -.035em !important;
  text-wrap: balance;
}
body.reach-careers-preview.single-awsm_job_openings .elementor-element-84e5c16 h1.elementor-heading-title {
  max-width: 27ch !important;
  font-size: clamp(2.05rem, 3.4vw, 3.45rem) !important;
  font-weight: 750 !important;
  line-height: 1.13 !important;
  text-wrap: balance;
}
body.reach-careers-preview.page-id-3580 .elementor-element-7c557bc .elementor-widget-container,
body.reach-careers-preview.single-awsm_job_openings .elementor-element-5993b9c .elementor-widget-container {
  max-width: 64ch !important;
  font-size: clamp(.97rem, 1.25vw, 1.08rem) !important;
  line-height: 1.7 !important;
  color: #e7edf5 !important;
  text-align: left !important;
}

/* Visual energy with restraint: a subtle, right-side angled brand trace.
   Decorative only, never interactive, no new media or third-party scripts. */
body.reach-careers-preview.page-id-3580 .elementor-3580 > .elementor-element-5eedf96::after,
body.reach-careers-preview.single-awsm_job_openings .elementor-3614 > .elementor-element-77a8014::after {
  content: '';
  pointer-events: none;
  position: absolute;
  z-index: 0;
  width: clamp(170px, 23vw, 345px);
  height: 76%;
  top: 12%;
  right: max(2.5rem, calc((100vw - 1280px)/2));
  border-left: 2px solid rgba(237, 125, 49, .55);
  border-right: 1px solid rgba(255, 255, 255, .12);
  background: repeating-linear-gradient(150deg,
    transparent 0, transparent 65px,
    rgba(255, 255, 255, .07) 66px,
    transparent 67px, transparent 110px);
  transform: skewX(-12deg);
  opacity: .8;
}

@media (max-width: 1100px) {
  body.reach-careers-preview.page-id-3580 .elementor-3580 > .elementor-element-5eedf96::after,
  body.reach-careers-preview.single-awsm_job_openings .elementor-3614 > .elementor-element-77a8014::after {
    right: -7rem;
    opacity: .34;
  }
}
@media (max-width: 760px) {
  body.reach-careers-preview.page-id-3580 .elementor-3580 > .elementor-element-5eedf96::after,
  body.reach-careers-preview.single-awsm_job_openings .elementor-3614 > .elementor-element-77a8014::after {
    display: none;
  }
  body.reach-careers-preview.page-id-3580 .elementor-3580 > .elementor-element-5eedf96 > .e-con-inner,
  body.reach-careers-preview.single-awsm_job_openings .elementor-3614 > .elementor-element-77a8014 > .e-con-inner {
    width: min(calc(100% - 2rem), 1280px) !important;
    padding-block: 2.2rem !important;
  }
  body.reach-careers-preview.page-id-3580 .elementor-element-23d39e6 h1.elementor-heading-title,
  body.reach-careers-preview.single-awsm_job_openings .elementor-element-84e5c16 h1.elementor-heading-title {
    font-size: clamp(1.85rem, 7vw, 2.5rem) !important;
    max-width: 100% !important;
  }
}

@media print {
  body.reach-careers-preview.page-id-3580 .elementor-3580 > .elementor-element-5eedf96::after,
  body.reach-careers-preview.single-awsm_job_openings .elementor-3614 > .elementor-element-77a8014::after {
    display: none !important;
  }
}


/* ================================================================
   v0.4.1 — Keep the complete HireZoot application form reachable.
   Staging-only presentation fix. Do not modify form processing.

   v0.4's sticky card can exceed the browser viewport; when the card
   is pinned the required consent and Submit button may be unreachable.
   Use ordinary document scrolling on regular laptop/desktop displays.
   Reserve sticky behavior for generously tall viewports, where the
   form has room to fit (without creating a nested scroll region).
   ================================================================ */
@media screen and (min-width: 981px) and (max-height: 1249px) {
  body.reach-careers-preview.single-awsm_job_openings
  .awsm-job-single-wrap > .awsm-job-form {
    position: static !important;
    top: auto !important;
    align-self: start !important;
  }
}
@media screen and (min-width: 1100px) and (min-height: 1250px) {
  body.reach-careers-preview.single-awsm_job_openings
  .awsm-job-single-wrap > .awsm-job-form {
    position: sticky;
    top: 5.8rem;
    align-self: start;
  }
}
/* The form and its submit row must not be clipped by a design wrapper. */
body.reach-careers-preview.single-awsm_job_openings .awsm-job-single-wrap,
body.reach-careers-preview.single-awsm_job_openings .awsm-job-single-wrap > .awsm-job-form,
body.reach-careers-preview.single-awsm_job_openings .awsm-job-form-inner {
  max-height: none;
  overflow: visible;
}
body.reach-careers-preview.single-awsm_job_openings
.awsm-application-form input#awsm-application-submit-btn {
  display: block !important;
  visibility: visible !important;
  opacity: 1 !important;
  width: 100% !important;
  margin-top: .35rem;
}

