/* ── Specialists Page ── */

/* ─ Hero ─ */
.sp-hero {
  position: relative;
  min-height: 600px;
  display: flex;
  align-items: flex-end;
  justify-content: flex-end;
  padding: 0 80px 120px;
  background-image: url('/wp-content/uploads/2026/05/5092910ad22941edbe8eed1fc13730edbec4ba30-1-1.webp');
  background-position: center center;
  background-size: cover;
}
.sp-hero::before {
  content: '';
  position: absolute;
  inset: 0;
  background: rgba(0,0,0,.39);
}
.sp-hero__inner {
  position: relative;
  z-index: 1;
  width: 100%;
  max-width: 1200px;
  margin: 0 auto;
  display: flex;
  flex-direction: row;
  align-items: flex-end;
  gap: 40px;
}
.sp-hero__heading-col {
  flex: 1;
  display: flex;
  align-items: center;
  justify-content: center;
  padding-bottom: 40px;
}
.sp-hero__text-col {
  flex: 1;
  display: flex;
  align-items: flex-end;
  justify-content: center;
}
.sp-hero__h {
  font-family: var(--ff-h);
  font-size: 48px;
  font-weight: 500;
  color: #fff;
  line-height: 1.2;
  max-width: 549px;
}
.sp-hero__h em {
  font-style: italic;
}
.sp-hero__sub {
  font-family: var(--ff-b);
  font-size: 20px;
  font-weight: 400;
  color: #fff;
  line-height: 1.6;
  max-width: 100%;
}

/* ─ Specialist rows ─ */
.sp-rows {
  background: #fff;
}
.sp-row {
  max-width: 1440px;
  margin: 0 auto;
  padding: 0 120px 120px;
  display: flex;
  align-items: stretch;
  gap: 40px;
  position: relative;
}
.sp-row--first {
  padding-top: 120px;
}
.sp-row--rev {
  flex-direction: row-reverse;
}

/* Photo */
.sp-row__photo {
  flex: 0 0 48%;
  width: 48%;
  min-height: 446px;
  border-radius: 24px;
  background-color: #EDF0D9;
  background-position: top center;
  background-repeat: no-repeat;
  background-size: cover;
}

/* Body */
.sp-row__body {
  flex: 0 0 48%;
  width: 48%;
  min-height: 558px;
  border-radius: 24px;
  padding: 40px 16px;
  display: flex;
  flex-direction: column;
  justify-content: center;
  box-sizing: border-box;
}
.sp-row__name {
  font-family: var(--ff-h);
  font-size: 40px;
  font-weight: 600;
  line-height: 45px;
  color: #332106;
  margin: 0 0 1px;
}
.sp-row__name i {
  color: #5A9902;
  font-weight: 400;
}
.sp-row__title {
  font-family: var(--ff-b);
  font-size: 16px;
  font-weight: 600;
  line-height: 45px;
  color: #226040;
  margin: 0 0 0;
}
.sp-row__title i {
  color: #5A9902;
  font-weight: 400;
}

/* Collapsible bio */
.sp-bio {
  margin-top: 0;
}
.sp-bio__wrap {
  position: relative;
  overflow: hidden;
  max-height: 200px;
  transition: max-height .3s ease;
}
.sp-bio__gradient {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  height: 80px;
  background: linear-gradient(to top, #ffffff 10%, rgba(255,255,255,0) 100%);
  z-index: 1;
  pointer-events: none;
}
.sp-bio__txt {
  font-family: var(--ff-b);
  font-size: 16px;
  font-weight: 400;
  color: #3a3a3a;
  line-height: 1.6;
}
.sp-bio__txt p {
  margin: 0 0 12px;
}
.sp-bio__btn {
  display: inline-block;
  margin-top: 20px;
  background: transparent;
  border: none;
  padding: 0;
  font-family: var(--ff-b);
  font-size: 16px;
  font-weight: 400;
  color: #226040;
  cursor: pointer;
  text-decoration: none;
}
.sp-bio__btn:hover {
  text-decoration: underline;
}

/* ─ CTA ─ */
.sp-cta {
  background-color: #EDF0D9;
  margin-top: 120px;
  min-height: 610px;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 120px 80px;
  box-sizing: border-box;
  text-align: center;
}
.sp-cta__inner {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0;
  max-width: 1200px;
}
.sp-cta__h {
  font-family: var(--ff-h);
  font-size: 48px;
  font-weight: 600;
  line-height: 60px;
  color: #332106;
  max-width: 900px;
  margin: 0;
}
.sp-cta__h em {
  font-style: italic;
  color: #226040;
  font-weight: 400;
}
.sp-cta__sub {
  font-family: var(--ff-b);
  font-size: 18px;
  font-weight: 400;
  color: #332106;
  max-width: 553px;
  margin: 30px 0 0;
  line-height: 1.6;
}
.sp-cta__btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  margin-top: 20px;
  background: #ffffff;
  color: #332106;
  font-family: var(--ff-b);
  font-size: 16px;
  font-weight: 600;
  text-transform: uppercase;
  text-decoration: none;
  border-radius: 100px;
  padding: 20px 32px;
  border: none;
  transition: background .2s, color .2s;
}
.sp-cta__btn:hover {
  background: #332106;
  color: #ffffff;
}

/* ─ Responsive ─ */
@media (max-width: 1024px) {
  .sp-hero {
    padding: 0 40px 80px;
  }
  .sp-hero__h {
    font-size: 56px;
  }
  .sp-row,
  .sp-row--rev { padding: 0 80px 80px; }
  .sp-row--first {
    padding-top: 0;
  }
  .sp-row__photo {
    min-height: 400px;
  }
  .sp-row__body {
    min-height: 400px;
  }
  .sp-row__name {
    font-size: 32px;
    margin-top: 20px;
  }
  .sp-row__title {
    font-size: 24px;
  }
  .sp-cta {
    margin-top: 0;
    padding: 80px 40px;
  }
}
@media (max-width: 767px) {
  .sp-hero {
    min-height: 0;
    padding: 80px 20px 80px;
    align-items: flex-end;
    justify-content: flex-start;
  }
  .sp-hero__inner {
    flex-direction: column;
    gap: 0;
  }
  .sp-hero__heading-col,
  .sp-hero__text-col {
    flex: none;
    width: 100%;
    padding-bottom: 0;
    align-items: flex-end;
    justify-content: flex-start;
  }
  .sp-hero__h {
    font-size: 40px;
    margin: 10px 0 20px;
  }
  .sp-hero__sub {
    font-size: 18px;
  }
  .sp-row,
  .sp-row--rev { flex-direction: column; padding: 40px 20px 0; gap: 0; }
  .sp-row--first {
    padding-top: 80px;
  }
  .sp-row__photo {
    flex: none;
    width: 100%;
    min-height: 350px;
  }
  .sp-row__body {
    flex: none;
    width: 100%;
    min-height: 350px;
    padding: 0;
    border-radius: 0;
    justify-content: flex-start;
  }
  .sp-row__name {
    font-size: 24px;
    margin-top: 20px;
    text-align: left;
  }
  .sp-row__title {
    font-size: 16px;
    line-height: 21px;
    margin: 5px 0 16px;
    text-align: left;
  }
  .sp-rows .sp-row:last-child { margin-bottom: 40px; }
  .sp-cta {
    padding: 80px 20px;
    margin-top: 80px;
    min-height: 0;
  }
  .sp-cta__h {
    font-size: 32px;
    line-height: 40px;
  }
}
