/* Job Application page. Scoped to .ja-* classes; reuses the shared tokens from style.css
   (colors, fonts, card border/radius, form input border/radius, focus ring) and the
   .pt-hero, .form-status, .button and .mountain-support-section components. */

.ja-section {
  background: var(--color-pale);
  padding-block: clamp(48px, 4.5vw, 84px) clamp(64px, 6vw, 100px);
}
h3.ja-subtitle {font-size: 26px !important;}
.ja-layout {
  display: grid;
  grid-template-columns: minmax(200px, 22%) minmax(0, 1fr);
  gap: clamp(28px, 3vw, 56px);
  align-items: start;
}

/* Section navigation */
.ja-steps {
  position: sticky;
  top: clamp(100px, 7.8vw, 142px);
}
.ja-required-note {
  font-size: 0.875rem;
  color: #455061 !important;
  margin-bottom: 16px;
}
.ja-steps ol {
  list-style: none;
  margin: 0;
  padding: 0;
  border-left: 2px solid var(--color-border);
}
.ja-steps a {
  display: block;
  padding: 10px 14px;
  margin-left: -2px;
  border-left: 1px solid #052740 !important;
  font-family: Montserrat, Arial, sans-serif !important;
  font-weight: 600;
  font-size: 0.9375rem;
  line-height: 1.35;
  color: #052740 !important;
  font-size: 15px !important;
}
.ja-steps a:hover {
  color: #0064ca;
  border-left-color: #0064ca;
  background: #f0f6ff;
}

/* Section cards */
.ja-form {
  display: grid;
  gap: 24px;
  min-width: 0;
}
.ja-card {
  background: #fff;
  border: 1px solid #e1ebf4;
  border-radius: 16px;
  box-shadow: 0 2px 8px rgba(9, 39, 69, 0.04);
  padding: clamp(22px, 2.2vw, 40px);
  scroll-margin-top: clamp(100px, 7.8vw, 142px);
}
/* site-consistency.css forces every `main h2` to the page-section scale with !important;
   form section titles are card titles, so they need a scoped override (as .pt-section h2 has). */
body.site-consistency main .ja-card-title {
  font-size: clamp(1.625rem, 1.8vw, 2rem) !important;
  line-height: 1.25 !important;
  letter-spacing: -0.02em !important;
  margin-bottom: 20px;
  color: var(--color-navy);
}
.ja-subtitle {
  margin-bottom: 16px;
  color: var(--color-navy);
}
.ja-employer {
  margin-top: 28px;
  padding-top: 28px;
  border-top: 1px solid var(--color-border);
}

/* Field grid */
.ja-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 18px 20px;
}
.ja-grid + .ja-grid {
  margin-top: 18px;
}
.ja-grid-3 {
  grid-template-columns: repeat(3, minmax(0, 1fr));
}
.ja-span {
  grid-column: 1 / -1;
}

/* Fields */
.ja-field {
  min-width: 0;
}
fieldset.ja-field {
  border: 0;
  margin: 0;
  padding: 0;
}
.ja-field > label,
.ja-field > legend {
  display: block;
  padding: 0;
  margin-bottom: 6px;
  font-size: 0.875rem;
  font-weight: 600;
  line-height: 1.4;
  color: var(--color-text);
}
.ja-address > legend {
  margin-bottom: 12px;
}
.ja-req {
  color: #b42318;
}
.ja-help {
  margin: -2px 0 8px;
  font-size: 0.8125rem;
  line-height: 1.5;
  color: var(--color-body);
}
.ja-field input:not([type="radio"]),
.ja-field select,
.ja-field textarea {
  display: block;
  width: 100%;
  min-height: 48px;
  border: 1px solid #d4d8df;
  border-radius: 6px;
  background: #fff;
  padding: 10px 12px;
  color: var(--color-text);
  font: inherit;
  font-size: 1rem;
  box-shadow: 0 1px 3px #00000005;
}
.ja-field textarea {
  min-height: 112px;
  resize: vertical;
  line-height: 1.5;
}
.ja-field select {
  appearance: auto;
}
.ja-field input:not([type="radio"]):focus,
.ja-field select:focus,
.ja-field textarea:focus {
  border-color: var(--color-primary);
  box-shadow: 0 0 0 2.5px rgba(0, 99, 188, 0.18);
}

/* Radio groups */
.ja-choices {
  display: flex;
  flex-wrap: wrap;
  gap: 4px 28px;
}
.ja-choice {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  min-height: 44px;
  font-size: 1rem;
  color: var(--color-text);
  cursor: pointer;
}
.ja-choice input {
  width: 20px;
  height: 20px;
  margin: 0;
  accent-color: var(--color-primary);
  flex: none;
}
button.button.button-blue.ja-submit {padding: 10px 10px !important;height: 40px;width: 200px;font-size: 14px;border-radius: 50px;}
input#signature-date {margin-top: 30px;}
h2.ja-card-title {font-size: 26px;}
/* Disclaimer, submit, status */
.ja-disclaimer {
  margin-bottom: 22px;
  padding: 18px 20px;
  border-left: 4px solid var(--color-primary);
  border-radius: 8px;
  background: #f0f6ff;
  color: var(--color-body);
  line-height: 1.7;
}
.ja-disclaimer p + p {
  margin-top: 10px;
}
.ja-actions {
  margin-top: 26px;
}
.ja-submit {
  min-width: 15.5rem;
}
.ja-actions .form-status {
  margin-top: 18px;
}
.ja-sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  margin: -1px;
  padding: 0;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

@media (max-width: 900px) {
  .ja-layout {
    grid-template-columns: minmax(0, 1fr);
  }
 .ja-steps ol li a {padding: 6px 10px; font-size: 10px !important; border-left: 0px solid #052740 !important;}
  .ja-steps {
    position: static;
  }
  .ja-steps ol {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    border-left: 0;
  }
  .ja-steps a {
    margin-left: 0;
    padding: 8px 14px;
    border: 1px solid var(--color-border);
    border-radius: 9999px;
    background: #fff;
    font-size: 0.875rem;
  }
  .ja-steps a:hover {
    border-color: #0064ca;
  }
  h2.ja-card-title {font-size: 20px !important;}
  h3.ja-subtitle {font-size: 20px !important;}
}
p#job-application-status {color: #69c865;}
@media (max-width: 620px) {
  .ja-grid,
  .ja-grid-3 {
    grid-template-columns: minmax(0, 1fr);
  }
  .ja-submit {
    width: 100%;
    min-width: 0;
  }
  h2.ja-card-title {font-size: 20px !important;}
  h3.ja-subtitle {font-size: 20px;}
.ja-steps ol li a {padding: 6px 10px; font-size: 10px !important; border-left: 0px solid #052740 !important; }
}

@media (max-width: 900px) {
.ja-steps a {padding: 6px 10px !important;}
}