/* Careers-specific styling; inherits UMC brand from styles.css */
.career-hero .hero-media {
  min-height: 480px;
}
.career-hero .photo-main {
  height: 430px;
}
.career-hero .photo-small {
  bottom: 10px;
}
.career-values {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
}
.career-values article {
  padding: 30px;
  border: 1px solid var(--line);
  border-radius: 26px;
  background: #fff;
}
.career-values article > span {
  display: grid;
  place-items: center;
  width: 48px;
  height: 48px;
  border-radius: 50%;
  background: var(--yellow);
  font-weight: 800;
}
.career-values h3,
.job-card h3,
.career-evergreen h3,
.job-empty h3 {
  font:
    800 26px/1.15 "Comic Neue",
    cursive;
  margin: 20px 0 10px;
}
.career-values p,
.job-card p,
.career-evergreen p,
.job-empty p {
  color: var(--muted);
}
.openings-section {
  background: var(--mint);
}
.career-lead {
  max-width: 720px;
  color: var(--muted);
}
.job-list {
  display: grid;
  gap: 18px;
  margin: 30px 0;
}
.job-card {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 28px;
  padding: 32px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 30px;
}
.job-card h3 {
  margin: 14px 0 8px;
}
.job-card p {
  max-width: 690px;
}
.job-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin: 20px 0;
}
.job-meta span {
  display: inline-block;
  background: #f5f5f5;
  padding: 7px 12px;
  border-radius: 999px;
  font-size: 12px;
  font-weight: 700;
}
.job-card .button {
  white-space: nowrap;
}
.career-evergreen {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 25px;
  background: #fff;
  border: 1px solid var(--line);
  padding: 30px;
  border-radius: 26px;
}
.career-evergreen h3 {
  margin: 0 0 10px;
}
.career-evergreen p {
  margin: 0;
}
.job-empty {
  background: #fff;
  border-radius: 24px;
  padding: 25px;
}
.job-shell {
  max-width: 900px;
}
.job-page h1,
.job-shell h1 {
  font:
    800 clamp(40px, 5vw, 65px)/1.1 "Comic Neue",
    cursive;
  margin: 25px 0 18px;
}
.job-page h2 {
  font:
    800 31px "Comic Neue",
    cursive;
}
.job-intro {
  font-size: 18px;
  color: var(--muted);
  line-height: 1.8;
  margin: 25px 0;
}
.job-detail-section {
  margin-top: 45px;
  border-top: 1px solid var(--line);
  padding-top: 16px;
}
.job-detail-section li {
  margin-bottom: 12px;
}
.job-page .career-evergreen {
  margin-top: 35px;
  background: var(--mint);
}
@media (max-width: 800px) {
  .career-values {
    grid-template-columns: 1fr;
  }
  .job-card,
  .career-evergreen {
    align-items: flex-start;
    flex-direction: column;
  }
  .career-hero .hero-media {
    min-height: 400px;
  }
  .career-hero .photo-main {
    height: 365px;
  }
}
@media (max-width: 650px) {
  .job-card,
  .career-evergreen {
    padding: 22px;
  }
  .career-hero .hero-media {
    min-height: 340px;
  }
  .career-hero .photo-main {
    height: 310px;
  }
  .job-page h2 {
    font-size: 27px;
  }
}
/* Keep application form fields aligned */
.career-form .form-row {
  align-items: end;
}
.submit-note {
  margin-bottom: 20px;
}
/* Keep the General Application button on one line */
.career-evergreen .button {
  white-space: nowrap;
  flex-shrink: 0;
  width: auto;
}