/*
 * «بوابة الموارد البشرية» — apply/choose.blade.php. Its own file rather than rules appended to theme.css,
 * which every returning applicant has cached: this page is new, and the form's styles did not change.
 */

.careers-hero {
  min-height: 0;
  grid-template-columns: minmax(0, 1fr);
}

/* theme.css's `.application-hero__copy > p:last-child` is white (the old dark hero) and outranks
   the light page's lede colour when the lede is the last paragraph — as it is on this page, the
   training form and the job form, whose lede was white on white until 2026-10-01. All three load
   this file for that reason. */
.public-application-page .application-hero .application-hero__lede {
  color: #6f6d66;
}

.careers-paths {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(min(100%, 17rem), 1fr));
  gap: 1.25rem;
  margin-block: 2rem 1rem;
}

.careers-path {
  display: flex;
  flex-direction: column;
  gap: 0.6rem;
  min-height: 15rem;
  padding: 1.75rem;
  border: 1px solid rgba(113, 48, 24, 0.14);
  border-radius: 1.5rem;
  background: #fff;
  color: #3b2418;
  text-decoration: none;
  box-shadow: 0 18px 50px rgba(112, 47, 23, 0.08);
  transition: transform 0.18s ease, box-shadow 0.18s ease, border-color 0.18s ease;
}

a.careers-path:hover,
a.careers-path:focus-visible {
  transform: translateY(-3px);
  border-color: #ae4720;
  box-shadow: 0 24px 60px rgba(112, 47, 23, 0.16);
}

a.careers-path:focus-visible {
  outline: 3px solid #e77b29;
  outline-offset: 3px;
}

.careers-path__num {
  color: #ae4720;
  font-weight: 700;
  font-size: 0.95rem;
}

.careers-path__title {
  font-size: 1.35rem;
  line-height: 1.5;
}

.careers-path__desc {
  flex: 1;
  color: #6b5446;
  line-height: 1.8;
}

.careers-path__cta {
  align-self: flex-start;
  padding: 0.55rem 1.1rem;
  border-radius: 999px;
  background: #ae4720;
  color: #fff;
  font-weight: 700;
}

@media (max-width: 720px) {
  .careers-path {
    min-height: 0;
    padding: 1.35rem;
  }
}
