/* team-details.html ONLY — photo identity pill + copy pill typography */

html[data-team-details-page] .team-details-page-detail-section {
  background: #ffffff;
  overflow: visible !important;
}

html[data-team-details-page] .team-details-page-detail-section .container,
html[data-team-details-page] .team-details-page-detail-section .row,
html[data-team-details-page] .team-details-page-detail-section [class*="col-"],
html[data-team-details-page] .team-details-page-detail-section .team-details-page-profile-card,
html[data-team-details-page] .team-details-page-detail-section .team-details-page-profile-card__media,
html[data-team-details-page] .team-details-page-detail-section .team-details-page-profile-card__body {
  overflow: visible !important;
}

/* Raised purple pill — shared */
html[data-team-details-page] .team-details-page-detail-section .team-details-page-profile-card__pill {
  position: relative;
  z-index: 2;
  display: block;
  width: 100%;
  box-sizing: border-box;
  margin: 0;
  padding: 14px 18px;
  border-radius: 18px;
  background: #ffffff;
  border: 3px solid #2c0e53;
  transform: translateY(-6px);
  box-shadow:
    0 1px 0 rgba(255, 255, 255, 1) inset,
    0 -2px 0 rgba(46, 12, 94, 0.07) inset,
    0 20px 40px rgba(46, 12, 94, 0.22),
    0 8px 16px rgba(46, 12, 94, 0.12);
}

/* Identity pill below photo — matches team.html member card */
html[data-team-details-page] .team-details-page-detail-section .team-details-page-profile-card__pill--identity #member-name {
  margin: 0 0 6px;
  font-size: clamp(1.15rem, 2.5vw, 1.5rem);
  font-weight: 700;
  line-height: 1.3;
  text-transform: capitalize;
  color: #2e0c5e;
  border: none;
  box-shadow: none;
  background: none;
  padding: 0;
  transform: none;
}

html[data-team-details-page] .team-details-page-detail-section .team-details-page-profile-card__role,
html[data-team-details-page] .team-details-page-detail-section #member-position {
  margin: 0;
  font-size: 0.9rem;
  font-weight: 600;
  line-height: 1.4;
  text-transform: capitalize;
  color: #facc15 !important;
  text-shadow: 0 1px 4px rgba(46, 12, 94, 0.12);
  border: none;
  box-shadow: none;
  background: none;
  padding: 0;
  transform: none;
}

/* Copy pill — bio, skills, additional */
html[data-team-details-page] .team-details-page-detail-section .team-details-page-profile-card__pill--detail {
  padding: 20px 22px;
  text-align: left;
  transform: translateY(-10px);
  box-shadow:
    0 1px 0 rgba(255, 255, 255, 1) inset,
    0 -2px 0 rgba(46, 12, 94, 0.07) inset,
    0 28px 52px rgba(46, 12, 94, 0.3),
    0 12px 24px rgba(46, 12, 94, 0.18),
    0 4px 8px rgba(46, 12, 94, 0.1);
}

html[data-team-details-page] .team-details-page-detail-section #member-bio {
  color: #000000 !important;
}

html[data-team-details-page] .team-details-page-detail-section #member-bio p {
  margin: 0 0 14px;
  font-size: 1rem;
  line-height: 1.65;
  color: #000000 !important;
}

html[data-team-details-page] .team-details-page-detail-section #member-bio p:last-child {
  margin-bottom: 0;
}

html[data-team-details-page] .team-details-page-detail-section .team-details-page-profile-card__skills,
html[data-team-details-page] .team-details-page-detail-section #member-skills {
  margin: 20px 0 0;
  padding: 0;
  list-style: none;
}

html[data-team-details-page] .team-details-page-detail-section .team-details-page-profile-card__skills li,
html[data-team-details-page] .team-details-page-detail-section #member-skills li {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  margin: 0 0 10px;
  font-size: 0.98rem;
  line-height: 1.5;
  color: #2e0c5e;
}

html[data-team-details-page] .team-details-page-detail-section .team-details-page-profile-card__skills li i,
html[data-team-details-page] .team-details-page-detail-section #member-skills li i {
  margin-top: 4px;
  color: #6311de;
}

html[data-team-details-page] .team-details-page-detail-section #member-additional-bio {
  margin: 18px 0 0;
  font-size: 1rem;
  line-height: 1.65;
  color: #000000 !important;
}

@media (min-width: 992px) {
  /* Photo identity pill — 20% spacing */
  html[data-team-details-page] .team-details-page-detail-section .team-details-page-profile-card--photo .team-details-page-profile-card__pill--identity {
    padding: 11.2px 14.4px;
    transform: translateY(-4.8px);
  }

  html[data-team-details-page] .team-details-page-detail-section .team-details-page-profile-card--photo .team-details-page-profile-card__pill--identity #member-name {
    margin: 0 0 4.8px;
    font-size: clamp(0.92rem, 2vw, 1.2rem);
  }

  html[data-team-details-page] .team-details-page-detail-section .team-details-page-profile-card--photo #member-position {
    font-size: 0.72rem;
  }
}

@media (max-width: 991px) {
  html[data-team-details-page] .team-details-page-detail-section .team-details-page-profile-card--photo {
    margin-bottom: 24px;
  }
}