
/* ==========================================
   WHOLISTIC CARE SERVICES — CAREERS
   ========================================== */

.careers-page {
  min-width: 0;
}

/* HERO */

.careers-hero {
  padding: clamp(75px, 9vw, 120px) 0;
  background: #092452;
  color: white;
}

.careers-hero .eyebrow {
  color: #57c9f3;
}

.careers-hero h1 {
  color: white;
  max-width: 850px;
  font-size: clamp(42px, 5vw, 70px);
  line-height: 1.12;
  margin: 16px 0 25px;
}

.careers-hero-description {
  max-width: 680px;
  color: #d7e4f3;
  font-size: 18px;
  line-height: 1.8;
}

.careers-hero-button {
  display: inline-block;
  margin-top: 28px;
  padding: 14px 26px;
  background: #57c9f3;
  color: #061936;
  text-decoration: none;
  font-weight: 700;
  border-radius: 9px;
  transition: background .2s ease;
}

.careers-hero-button:hover {
  background: white;
}

/* GENERAL SECTIONS */

.careers-section {
  padding: 85px 0;
}

.careers-light {
  background: #f1f6fb;
}

.careers-section h2 {
  color: #092452;
  font-size: clamp(30px, 3.5vw, 46px);
  line-height: 1.2;
  margin: 12px 0 22px;
}

.careers-section p {
  line-height: 1.8;
}

.careers-intro {
  max-width: 790px;
  margin-inline: auto;
  text-align: center;
}

.careers-intro > p:not(.eyebrow) {
  color: #56677c;
  font-size: 18px;
}

.careers-heading {
  text-align: center;
  max-width: 760px;
  margin: 0 auto 40px;
}

.careers-heading > p:last-child {
  color: #56677c;
}

/* VALUES CARDS */

.careers-card-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 22px;
}

.careers-card {
  padding: 35px 30px;
  background: white;
  border-radius: 18px;
  border: 1px solid #e2ebf4;
  box-shadow: 0 12px 35px rgba(9,36,82,.07);
  min-width: 0;
}

.careers-card-number {
  display: block;
  color: #1684b5;
  font-size: 14px;
  font-weight: 700;
  margin-bottom: 20px;
}

.careers-card h3 {
  color: #092452;
  font-size: 23px;
  margin: 0 0 12px;
}

.careers-card p {
  color: #56677c;
  font-size: 16px;
  margin: 0;
}

/* CAREER ROLE CARDS */

.careers-role-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 24px;
}

.careers-role {
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  gap: 25px;
  padding: 34px;
  background: white;
  border: 1px solid #e2ebf4;
  border-radius: 18px;
  box-shadow: 0 12px 35px rgba(9,36,82,.06);
  min-width: 0;
}

.careers-role-category {
  color: #1684b5;
  font-size: 12px;
  font-weight: 800;
  letter-spacing: 1.5px;
}

.careers-role h3 {
  color: #092452;
  font-size: 25px;
  margin: 15px 0 12px;
}

.careers-role p {
  color: #56677c;
  margin: 0;
}

.careers-role a {
  color: #092452;
  font-weight: 700;
  text-decoration: none;
}

.careers-role a:hover {
  color: #1684b5;
}

/* SAFEGUARDING */

.careers-safeguarding {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 50px;
  align-items: start;
}

.careers-safeguarding p {
  color: #56677c;
}

/* FINAL CTA */

.careers-cta {
  padding: 75px 0;
  background: #092452;
  color: white;
  text-align: center;
}

.careers-cta h2 {
  color: white;
  font-size: clamp(30px, 4vw, 46px);
  margin: 0 0 18px;
}

.careers-cta p {
  color: #d7e4f3;
  max-width: 620px;
  margin: 0 auto 28px;
  line-height: 1.8;
}

.careers-cta a {
  display: inline-block;
  padding: 14px 25px;
  background: #57c9f3;
  color: #061936;
  font-weight: 700;
  border-radius: 9px;
  text-decoration: none;
}

.careers-cta a:hover {
  background: white;
}

/* RESPONSIVE */

@media (max-width: 900px) {
  .careers-card-grid {
    grid-template-columns: 1fr;
  }

  .careers-safeguarding {
    grid-template-columns: 1fr;
    gap: 15px;
  }
}

@media (max-width: 700px) {
  .careers-section {
    padding: 60px 0;
  }

  .careers-role-grid {
    grid-template-columns: 1fr;
  }

  .careers-role {
    padding: 26px;
  }

  .careers-hero {
    padding: 75px 0;
  }
}

@media (prefers-reduced-motion: reduce) {
  .careers-hero-button {
    transition: none;
  }
}

/* Careers application buttons */

.careers-cta-actions {
  display: flex;
  justify-content: center;
  align-items: center;
  flex-wrap: wrap;
  gap: 16px;
}

.careers-cta .careers-contact-button,
.careers-cta .careers-download-button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 50px;
  padding: 14px 24px;
  border-radius: 9px;
  font-weight: 700;
  text-decoration: none;
  transition: background .2s ease, color .2s ease;
}

.careers-cta .careers-contact-button {
  background: #57c9f3;
  color: #061936;
}

.careers-cta .careers-download-button {
  background: transparent;
  color: #ffffff;
  border: 2px solid #57c9f3;
}

.careers-cta .careers-contact-button:hover {
  background: #ffffff;
}

.careers-cta .careers-download-button:hover {
  background: #57c9f3;
  color: #061936;
}

.careers-cta .careers-application-note {
  margin: 24px auto 0;
  max-width: 620px;
  color: #d7e4f3;
  font-size: 14px;
  line-height: 1.7;
}

.careers-application-note a {
  color: #57c9f3;
  text-decoration: underline;
}

@media (max-width: 600px) {
  .careers-cta-actions {
    flex-direction: column;
    align-items: stretch;
  }

  .careers-cta-actions a {
    width: 100%;
  }
}

/* Fix email link being displayed as a button */

.careers-cta .careers-application-note a {
  display: inline;
  padding: 0;
  margin: 0;
  min-height: auto;
  width: auto;

  background: transparent;
  border: none;
  border-radius: 0;
  box-shadow: none;

  color: #57c9f3;
  font-size: inherit;
  font-weight: 600;
  text-decoration: underline;
}

.careers-cta .careers-application-note a:hover {
  background: transparent;
  color: #ffffff;
}
