.elementor-17189 .elementor-element.elementor-element-2fe3ed1{--display:flex;}.elementor-17189 .elementor-element.elementor-element-5188588{--display:flex;--flex-direction:column;--container-widget-width:100%;--container-widget-height:initial;--container-widget-flex-grow:0;--container-widget-align-self:initial;--flex-wrap-mobile:wrap;}@media(max-width:767px){.elementor-17189 .elementor-element.elementor-element-2fe3ed1{--padding-top:0px;--padding-bottom:0px;--padding-left:0px;--padding-right:0px;}}/* Start custom CSS for shortcode, class: .elementor-element-c455f0b *//* --- Job Detail Container --- */
.gh-job-detail {
  max-width: 900px;
  margin-left: auto !important;
  margin-right: auto !important;
  padding: 0 16px;
  display: block !important;
  float: none !important;
  clear: both;
  box-sizing: border-box;
}
.gh-job-detail h1 {
  margin-bottom: 0.25rem;
  font-size: 2rem;
  color: #5C7673;
  font-weight: 700;
}
.gh-job-detail em {
  color: #666;
  font-style: normal;
  color: #5C7673;
  display: block;
  margin-bottom: 1rem;
}
.gh-job-content { margin-bottom: 2rem; }

/* --- Application Form Card --- */
#gh-apply-form {
  max-width: 900px;
  width: 100%;
  margin: 1.5rem auto 3rem auto;
  display: grid;
  grid-template-columns: minmax(0,1fr) minmax(0,1fr);
  gap: 0.75rem 1.25rem;              /* tighter vertical spacing */
  background: #f7f7f7;
  padding: 1.5rem 2rem;
  border-radius: 16px;
  box-shadow: 0 4px 12px rgba(0,0,0,.05);
  box-sizing: border-box;
}
/* Add space below each form group */
#gh-apply-form p {
  margin: 0 0 0.75rem; /* adjust .75rem up/down to taste */
  display: flex;
  flex-direction: column;
}


/* Labels — size + space to field */
/* Labels — size + space to field */
#gh-apply-form label {
  font-size: .95rem;
  font-weight: 500;
  line-height: 1.25;
  margin-bottom: .75rem; /* now works as the only spacing */
  color: #222;
  overflow-wrap: anywhere;
  word-break: break-word;
  hyphens: auto;
}

/* Remove browser-inserted line break space */
#gh-apply-form br {
  display: none;
}


/* Inputs */
#gh-apply-form input,
#gh-apply-form select,
#gh-apply-form textarea{
  margin: 0;                         /* ensure no theme margin sneaks in */
  border: 1px solid #ccc;
  border-radius: 8px;
  padding: .5rem .75rem;
  font-size: 1rem;
  background: #fff;
  width: 100%;
  box-sizing: border-box;
}
#gh-apply-form textarea{ min-height: 100px; }

/* Full-width rows for large elements */
#gh-apply-form textarea,
#gh-apply-form input[type="file"],
#gh-apply-form select[multiple],
#gh-apply-form fieldset,
#gh-apply-status,
#gh-apply-form button{ grid-column: 1 / -1; }

/* Fieldset blocks (Additional Questions, EEOC, Demographics) */
#gh-apply-form fieldset{
  margin: 1rem 0;
  padding: 1.25rem;
  border: 1px solid #ddd;
  border-radius: 12px;
  background: #fff;
}
#gh-apply-form legend{
  font-weight: 600;
  font-size: .95rem;                 /* smaller section title */
  margin-bottom: .5rem;
  display: block;
  text-transform: none;
}

/* Submit button */
#gh-apply-form button{
  justify-self: center;
  padding: .75rem 2rem;
  background: #5C7673;
  color: #fff;
  border: 0;
  border-radius: 999px;
  font-size: 1rem;
  cursor: pointer;
}
#gh-apply-form button:hover{ opacity:.9; }

/* Status message */
#gh-apply-status{
  text-align: center;
  font-weight: 600;
  margin-top: .5rem;
}

/* --- Responsive Layout --- */
@media (max-width: 768px){
  #gh-apply-form{
    grid-template-columns: 1fr;
    padding: 1.25rem;
  }
}
/* 1) Restore nice formatting for GH job content */
.gh-job-content p { margin: 1rem 0; }
.gh-job-content ul,
.gh-job-content ol { margin: 1rem 0 1rem 1.25rem; padding-left: 1.25rem; }
.gh-job-content ul { list-style: disc; }
.gh-job-content ol { list-style: decimal; }
.gh-job-content li { margin: .25rem 0; }

/* 2) Force the application form into a vertical layout */
#gh-apply-form {
  display: grid;
  grid-template-columns: 1fr !important;
}
#gh-apply-form p,
#gh-apply-form fieldset,
#gh-apply-form button { grid-column: 1 / -1; }

/* (Optional) tighten up spacing a touch */
#gh-apply-form label { margin-bottom: .35rem; }
#gh-apply-form p { margin-bottom: .85rem; }
/* Smaller heading for the "Apply for this role" section */
.gh-job-detail h2 {
  font-size: 3rem;  /* ~30% smaller than before */
  font-weight: 700;
  color: #5C7673;
  margin: 1.5rem 0 1rem;
}/* End custom CSS */