/********************************************************* MEET THE TEAM ********************************************************/
.meet-the-team-wrapper {
  padding: 70px 20px;
  /* background-color is driven by [backgroundColor] input */
}

/* Outer pill */
.meet-the-team {
  max-width: 1160px;
  margin: 0 auto;
  background: #fdf6f0; /* inner soft background, similar to sample */
  /* border-radius & box-shadow come from [ngStyle] using borderRadius & boxShadow */
  text-align: center;
  box-sizing: border-box;
}

/* Optional subtitle */
.team-subtitle {
  margin: 8px auto 30px;
  max-width: 650px;
  font-size: 0.95rem;
  color: #777;
}

/* Layout row for cards */
.team-list {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 25px;
}

/* Individual team card – radius is fixed here, NOT affected by outer borderRadius input */
.team-member {
  background: #ffffff;
  border-radius: 18px;
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.08);
  overflow: hidden;
  width: 360px;
  max-width: 100%;
  text-align: center;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.team-member:hover {
  transform: translateY(-6px);
  box-shadow: 0 14px 30px rgba(0, 0, 0, 0.12);
}

/* Top photo like the reference */
.team-photo {
  width: 100%;
  height: 230px;
  object-fit: cover;
  display: block;
}

/* Name */
.team-member h3 {
  font-size: 1.1rem;
  color: #222;
  font-weight: 600;
  margin: 16px 12px 4px;
}

/* Role */
.team-member h4 {
  font-size: 0.9rem;
  color: #999;
  font-weight: 500;
  margin: 0 12px 12px;
}

/* Bio */
.team-member p {
  font-size: 0.9rem;
  color: #666;
  margin: 0 16px 18px 16px;
  line-height: 1.6;
}

/* No team state */
.no-team-message {
  color: #666;
  margin-top: 20px;
}

/* Separator styling for prestige text */
.separator2 {
  width: 60px;
  height: 3px;
  background: var(--primary-color);
  margin: 16px auto;
  border-radius: 999px;
}

/* --------- Responsive --------- */
@media (max-width: 900px) {
  .meet-the-team-wrapper {
    padding: 50px 15px;
  }

  .meet-the-team {
    padding-inline: 24px; /* contentPadding overrides via [ngStyle] */
  }

  .team-list {
    gap: 20px;
  }

  .team-member {
    width: 230px;
  }

  .team-photo {
    height: 210px;
  }
}

@media (max-width: 600px) {
  .team-list {
    flex-direction: column;
    align-items: center;
  }

  .team-member {
    width: 100%;
    max-width: 320px;
  }
}
/********************************************************* MEET THE TEAM ********************************************************/
.team-cta {
  text-align: center;
  margin: 1.5rem 0 2rem;
}

a.team-cta-btn,
a.team-cta-btn:link,
a.team-cta-btn:visited {
  color: #fff !important;
}
.team-cta-btn {
  display: inline-block;
  padding: 0.9rem 2.4rem;
  border-radius: 999px;
  font-weight: 600;
  text-decoration: none;
  border: none;
  cursor: pointer;

  /* Use theme colors */
  background: var(--primary-color);
  color: #fff !important;

  letter-spacing: 0.03em;
  transition: transform 0.15s ease, box-shadow 0.15s ease, background-color 0.15s ease;
  box-shadow: 0 14px 30px rgba(0, 0, 0, 0.18);
}

.team-cta-btn:hover,
.team-cta-btn:focus-visible {
  transform: translateY(-1px);
  box-shadow: 0 18px 40px rgba(0, 0, 0, 0.22);
}

.team-cta-btn:active {
  transform: translateY(0);
  box-shadow: 0 8px 18px rgba(0, 0, 0, 0.18);
}