/* Career page styles */
/* Careers */
.career-hero {
  align-items: center;
  background:
    linear-gradient(135deg, rgba(0, 46, 110, 0.94), rgba(0, 46, 110, 0.58)),
    url("https://images.unsplash.com/photo-1551836022-d5d88e9218df?auto=format&fit=crop&w=1800&q=80") center/cover;
  color: #fff;
  display: flex;
  min-height: 660px;
  padding: 150px 0 82px;
}

.career-hero-content {
  max-width: 880px;
}

.career-intro-section > .container,
.career-benefits-section > .container,
#open-roles > .container,
.career-process-section > .container,
.career-apply-section > .container {
  max-width: none;
  width: 100%;
  padding-left: clamp(20px, 3vw, 48px);
  padding-right: clamp(20px, 3vw, 48px);
}

.career-hero h1 {
  color: #fff;
  font-size: clamp(2.45rem, 5vw, 4.8rem);
  line-height: 1.04;
  margin: 12px 0 18px;
  max-width: 860px;
}

.career-hero p {
  color: rgba(255, 255, 255, 0.84);
  font-size: 1.08rem;
  max-width: 720px;
}

.career-hero-actions,
.career-hero-metrics {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
}

.career-hero-actions {
  margin-top: 28px;
}

.career-hero-metrics {
  margin-top: 36px;
}

.career-hero-metrics span {
  background: rgba(255, 255, 255, 0.12);
  border: 1px solid rgba(255, 255, 255, 0.2);
  border-radius: 8px;
  color: rgba(255, 255, 255, 0.82);
  font-size: 0.9rem;
  font-weight: 700;
  padding: 12px 14px;
}

.career-hero-metrics strong {
  color: #ffdc00;
  display: block;
  font-size: 0.78rem;
  letter-spacing: 0.04em;
  text-transform: uppercase;
}

.career-intro-grid,
.career-process-layout,
.career-apply-grid {
  display: grid;
  gap: 36px;
  grid-template-columns: minmax(0, 0.85fr) minmax(0, 1.15fr);
}

.career-intro-grid h2,
.career-process-layout h2,
.career-apply-copy h2 {
  color: #172335;
  font-size: clamp(2rem, 3vw, 3rem);
  line-height: 1.08;
}

.career-intro-grid p,
.career-process-layout p,
.career-apply-copy p {
  color: #536174;
  font-size: 1rem;
}

.career-benefit-grid,
.career-role-grid {
  display: grid;
  gap: 22px;
  grid-template-columns: repeat(4, minmax(0, 1fr));
}

.career-benefit,
.career-role,
.career-form {
  background: #fff;
  border: 1px solid rgba(0, 46, 110, 0.1);
  border-radius: 10px;
  box-shadow: 0 18px 46px rgba(0, 46, 110, 0.08);
}

.career-benefit {
  align-items: center;
  display: flex;
  flex-direction: column;
  padding: 24px;
  text-align: center;
}

.career-benefit i,
.career-role-icon {
  align-items: center;
  background: #fff7e8;
  border: 1px solid #f5c36e;
  border-radius: 10px;
  color: #f39c12;
  display: inline-flex;
  height: 46px;
  justify-content: center;
  margin-bottom: 16px;
  width: 46px;
}

.career-benefit i {
  margin-left: auto;
  margin-right: auto;
}

.career-benefit h3,
.career-role h3 {
  color: #172335;
  font-size: 1.05rem;
  margin-bottom: 8px;
}

.career-benefit p,
.career-role p {
  color: #536174;
  font-size: 0.92rem;
}

.career-section-head {
  align-items: flex-end;
  display: flex;
  gap: 20px;
  justify-content: space-between;
  margin-bottom: 26px;
}

.career-section-head h2 {
  color: #172335;
  font-size: clamp(2rem, 3vw, 3rem);
  line-height: 1.08;
  max-width: 720px;
}

.career-role-grid {
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

.career-role {
  align-items: center;
  display: flex;
  flex-direction: column;
  padding: 24px;
  text-align: center;
}

.career-role-icon {
  margin-left: auto;
  margin-right: auto;
}

.career-role > span {
  color: #f39c12;
  display: inline-block;
  font-size: 0.74rem;
  font-weight: 800;
  letter-spacing: 0.04em;
  margin-bottom: 8px;
  text-transform: uppercase;
}

.career-role ul {
  border-top: 1px solid #edf1f5;
  display: grid;
  gap: 8px;
  list-style: none;
  margin-top: 18px;
  padding-top: 18px;
  width: 100%;
}

.career-role li {
  align-items: center;
  color: #172335;
  display: inline-flex;
  font-size: 0.86rem;
  font-weight: 700;
  gap: 8px;
  justify-self: center;
  text-align: left;
}

.career-role li::before {
  color: #f39c12;
  content: "\f00c";
  font-family: "Font Awesome 6 Free";
  font-size: 0.72rem;
  font-weight: 900;
}

.career-process-list {
  display: grid;
  gap: 12px;
}

.career-process-list div {
  align-items: center;
  background: #fff;
  border: 1px solid rgba(0, 46, 110, 0.1);
  border-radius: 10px;
  display: flex;
  gap: 16px;
  padding: 18px;
}

.career-process-list strong {
  color: #f39c12;
  font-size: 1.15rem;
}

.career-process-list span {
  color: #172335;
  font-weight: 800;
}

.career-apply-section {
  background: #fff;
}

.career-contact-stack {
  display: grid;
  gap: 10px;
  margin-top: 24px;
}

.career-contact-stack a {
  align-items: center;
  color: #002e6e;
  display: inline-flex;
  font-weight: 800;
  gap: 10px;
  text-decoration: none;
}

.career-contact-stack i {
  color: #f39c12;
}

.career-form {
  display: grid;
  gap: 16px;
  padding: 24px;
}

.career-form label {
  display: grid;
  gap: 7px;
}

.career-form label span {
  color: #172335;
  font-size: 0.86rem;
  font-weight: 800;
}

.career-form input,
.career-form select,
.career-form textarea {
  background: #f8fbff;
  border: 1px solid #dfe5ec;
  border-radius: 8px;
  color: #172335;
  font: inherit;
  min-height: 46px;
  padding: 11px 12px;
  width: 100%;
}

.career-form textarea {
  resize: vertical;
}

.career-form input:focus,
.career-form select:focus,
.career-form textarea:focus {
  border-color: #f39c12;
  outline: none;
}

@media (max-width: 768px) {
  .career-hero {
    min-height: auto;
    padding: 118px 0 48px;
  }

  .career-hero h1 {
    font-size: 2.1rem;
    line-height: 1.14;
    margin: 10px 0 14px;
  }

  .career-hero p {
    font-size: 0.95rem;
    line-height: 1.6;
  }

  .career-hero-actions {
    display: grid;
    gap: 10px;
    margin-top: 22px;
  }

  .career-hero-actions a {
    justify-content: center;
    min-height: 44px;
    width: 100%;
  }

  .career-hero-metrics {
    display: grid;
    gap: 10px;
    grid-template-columns: 1fr;
    margin-top: 24px;
  }

  .career-hero-metrics span {
    padding: 11px 12px;
  }

  .career-intro-grid,
  .career-process-layout,
  .career-apply-grid {
    gap: 18px;
    grid-template-columns: 1fr;
  }

  .career-intro-grid h2,
  .career-process-layout h2,
  .career-apply-copy h2,
  .career-section-head h2 {
    font-size: 1.75rem;
    line-height: 1.16;
  }

  .career-intro-grid p,
  .career-process-layout p,
  .career-apply-copy p {
    font-size: 0.94rem;
    line-height: 1.6;
  }

  .career-benefit-grid,
  .career-role-grid {
    gap: 16px;
    grid-template-columns: 1fr;
  }

  .career-benefit,
  .career-role {
    padding: 18px;
  }

  .career-section-head {
    align-items: stretch;
    flex-direction: column;
    gap: 14px;
    margin-bottom: 20px;
  }

  .career-section-head a {
    justify-content: center;
    width: 100%;
  }

  .career-process-list div {
    align-items: flex-start;
    padding: 16px;
  }

  .career-contact-stack a {
    align-items: flex-start;
    border: 1px solid #e2eaf5;
    border-radius: 8px;
    min-height: 44px;
    padding: 12px;
  }

  .career-contact-stack span {
    min-width: 0;
    overflow-wrap: anywhere;
  }

  .career-form {
    border-radius: 10px;
    gap: 14px;
    padding: 18px;
  }

  .career-form input,
  .career-form select,
  .career-form textarea {
    font-size: 0.95rem;
    min-height: 46px;
  }

  .career-form button {
    justify-content: center;
    min-height: 46px;
    width: 100%;
  }
}

@media (max-width: 420px) {
  .career-hero {
    padding: 108px 0 42px;
  }

  .career-hero h1 {
    font-size: 1.82rem;
  }

  .career-benefit i,
  .career-role-icon {
    height: 42px;
    width: 42px;
  }
}
