.team-profile {
  --tp-white: #ffffff;
  --tp-color-border: #e3e6e1;
  --tp-deep-green: #314143;
  --tp-color-deep: #4c6669;
  --tp-color-muted: #5a6660;
  --tp-light-green: #8eb088;
  --tp-surface: #ffffff;
  --tp-shadow: 0 1px 2px rgba(49, 65, 67, .04), 0 8px 28px rgba(49, 65, 67, .06);
  --tp-radius: 16px;

  max-width: 880px;
  margin: 0 auto;
}

.team-profile__name,
.team-profile__section-title,
.team-profile__footer-title {
  font-family: "Yeseva One", Georgia, "Times New Roman", serif;
  color: var(--tp-deep-green);
  font-weight: 400;
}
.team-profile__block-title{
  font-family: 'Overpass', 'Gill Sans', 'Gill Sans MT', Calibri, 'Trebuchet MS', sans-serif;
}
.pop_main_contain .team-profile__card{
  background: none;
  border: none;
  border-radius: none;
  box-shadow: none;
}
.team-profile__card {
  background: var(--tp-surface);
  border: 1px solid var(--tp-color-border);
  border-radius: var(--tp-radius);
  box-shadow: var(--tp-shadow);
}

/* Header Section */
.team-profile__header {
  padding: 32px;
  display: grid;
  grid-template-columns: 270px 1fr;
  gap: 32px;
  align-items: start;
  margin-bottom: 24px;
}

.team-profile__photo-wrap {
  position: relative;
}
.therapist-badge{
    position: absolute;
    bottom: 10px;
    left: 10px;
    background: #87b38d;
    color: #fff;
    padding: 6px;
    border-radius: 4px;
    font-size: 11px;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    z-index: 2;
}
.therapist_popup.is-expanded{
  background-color: rgba(0, 0, 0, 0.3);
}

.team-profile__photo-wrap::after {
  content: "";
  position: absolute;
  inset: 0;
  border-radius: 12px;
  box-shadow: inset 0 0 0 1px rgba(49, 65, 67, .08);
}

.team-profile__photo {
  width: 100%;
  height: 330px;
  object-fit: cover;
  border-radius: 12px;
  display: block;
}

.team-profile__name {
  font-size: 32px;
  line-height: 1.15;
  margin-bottom: 14px;
}

.team-profile__meta-row {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 16px;
  margin-bottom: 20px;
}

.team-profile__location {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  color: var(--tp-color-deep);
  font-weight: 600;
  font-size: 14px;
  text-transform: uppercase;
  letter-spacing: .04em;
}

.team-profile__icon {
  width: 16px;
  height: 16px;
  flex: none;
}

/* Call to Action Button */
.team-profile__cta {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: var(--tp-light-green);
  color:var(--tp-white);
  font-weight: 700;
  font-size: 15px;
  padding: 13px 24px;
  border-radius: 4px;
  border: none;
  cursor: pointer;
  text-decoration: none;
  transition: transform .15s ease, box-shadow .15s ease, background .15s ease;
}
a.team-profile__cta{
    color: var(--tp-white)!important;
}

.team-profile__cta:hover {
  background: #7ea378;
  transform: translateY(-1px);
  box-shadow: 0 6px 18px rgba(142, 176, 136, .4);
}

/* Biography Details */
.team-profile__bio {
  font-size: 15px;
  color: var(--tp-color-muted);
}

.team-profile__bio p + p {
  margin-top: 12px;
}

/* Sections & Inner Components */
.team-profile__section {
  padding: 28px 32px;
}

.team-profile__section + .team-profile__section {
  border-top: 1px solid var(--tp-color-border);
}

.team-profile__eyebrow {
  font-size: 12px;
  letter-spacing: .14em;
  text-transform: uppercase;
  color: var(--tp-light-green);
  font-weight: 700;
  margin-bottom: 6px;
}

.team-profile__section-title {
  font-size: 22px;
  margin-bottom: 18px;
}

/* Two-column layout */
.team-profile__grid-2 {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 28px;
}

.team-profile__block-title {
  font-size: 16px;
  margin-bottom: 12px;
  display: flex;
  align-items: center;
  gap: 9px;
}

.team-profile__block-title .team-profile__icon {
  width: 22px;
  height: 22px;
  color: var(--tp-color-deep);
}


.team-profile__list {
  list-style: none;
}

.team-profile__list-item {
  position: relative;
  padding-left: 22px;
  font-size: 15px;
  color: var(--tp-deep-green);
  padding-block: 5px;
  list-style: none;
}

.team-profile__list-item::before {
  content: "";
  position: absolute;
  left: 2px;
  top: 13px;
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: var(--tp-light-green);
}

/* Modality Card / Counseling Approach Box */
.team-profile__approach {
  background: linear-gradient(180deg, #eef3ec, #f6f9f4);
  border: 1px solid #d8e4d4;
  border-radius: 14px;
  padding: 24px;
}

.team-profile__approach .team-profile__eyebrow {
  color: var(--tp-color-deep);
}

.team-profile__approach .team-profile__section-title {
  margin-bottom: 6px;
}

.team-profile__approach-note {
  font-size: 14px;
  margin-bottom: 18px;
}

.team-profile__approach-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
}

.team-profile__modality {
  background: var(--tp-surface);
  border: 1.5px solid var(--tp-light-green);
  color: var(--tp-deep-green);
  font-weight: 700;
  font-size: 15px;
  padding: 12px 20px;
  border-radius: 12px;
  display: flex;
  flex-direction: column;
  gap: 2px;
  box-shadow: 0 2px 8px rgba(49, 65, 67, .05);
}

.team-profile__modality-description {
  font-weight: 500;
  font-size: 12px;
  color: var(--tp-color-muted);
  letter-spacing: .02em;
}

.team-profile__columns-2 {
  column-count: 2;
  column-gap: 32px;
}

.team-profile__columns-2 .team-profile__list-item {
  break-inside: avoid;
}

.team-profile__tier-label {
  font-size: 13px;
  font-weight: 700;
  color: var(--tp-color-deep);
  text-transform: uppercase;
  letter-spacing: .06em;
  margin: 0 0 12px;
}

.team-profile__text-muted {
  color: var(--tp-color-muted);
  font-weight: 400;
  text-transform: none;
  letter-spacing: 0;
  font-size: 13px;
}

.team-profile__divider {
  height: 1px;
  background: var(--tp-color-border);
  margin: 26px 0;
}

/* Footer Call to Action Block */
.team-profile__footer {
  margin-top: 24px;
  background: var(--tp-deep-green);
  color: #dfe7e1;
  border-radius: var(--tp-radius);
  padding: 36px 32px;
  text-align: center;
}

.team-profile__footer-title {
  color: #fff;
  margin-bottom: 10px;
  font-size: 22px;
}

.team-profile__footer-text {
  font-size: 15px;
  margin-bottom: 22px;
  color: #c4d1ca;
}

.team-profile__footer .team-profile__cta {
  background: var(--tp-light-green);
}

/* ==========================================================================
   RESPONSIVE DESIGN MEDIA QUERIES
   ========================================================================== */
@media (max-width: 680px) {
  .team-profile__header {
    grid-template-columns: 1fr;
    text-align: center;
    gap: 20px;
    padding: 24px;
  }
  .pop_main_contain .team-profile__header{
     padding: 0;
  }

  .team-profile__photo,
  .team-profile__photo-wrap {
    width: 235px;
    height: 265px;
    margin: 0 auto;
  }

  .team-profile__meta-row {
    justify-content: center;
  }

  .team-profile__name {
    font-size: 26px;
  }

  .team-profile__section {
    padding: 24px 20px;
  }

  .pop_main_contain .team-profile__section{
      padding: 10px 0;
  }

  .team-profile__grid-2 {
    grid-template-columns: 1fr;
    gap: 24px;
  }

  .team-profile__columns-2 {
    column-count: 1;
  }

  .team-profile__approach-tags {
    flex-direction: column;
  }

  .team-profile__modality {
    flex-direction: row;
    justify-content: space-between;
    align-items: center;
  }
}
