/* V56 — final client PDFs + exact TEAM title table */

/* Every approved Team title must sit immediately below the corresponding name. */
#main .team-directory-copy-v27,
#main .team-profile-copy-v27,
#main .team-v29-card-copy{min-width:0!important}

#main .team-directory-copy-v27 h2,
#main .team-profile-person-name-v56,
#main .team-v29-card-copy h3{
  overflow-wrap:normal!important;
  word-break:normal!important;
  text-wrap:balance;
}

#main .team-title-v52,
#main .team-profile-title-v56,
#main .team-v29-card-copy p{
  display:block!important;
  width:100%!important;
  max-width:100%!important;
  white-space:normal!important;
  overflow:visible!important;
  text-overflow:clip!important;
  overflow-wrap:anywhere!important;
  word-break:normal!important;
  hyphens:none!important;
}

#main .team-directory-copy-v27 .team-title-v52{
  margin:5px 0 15px!important;
  font-size:.82rem!important;
  line-height:1.55!important;
  font-weight:800!important;
}

#main .team-profile-person-name-v56{
  margin:0 0 6px!important;
}
#main .team-profile-title-v56{
  margin:0 0 16px!important;
  color:#a77e24!important;
  font-size:.9rem!important;
  line-height:1.65!important;
  font-weight:850!important;
  letter-spacing:.025em!important;
}
html[dir="rtl"] #main .team-profile-title-v56{letter-spacing:0!important;line-height:1.9!important}

/* PDF 1 p5 Sabeihah profile heading/subheading remains additional approved copy,
   while the table job title above it stays directly beneath her name. */
#main .team-profile-approved-v56{
  margin:0 0 18px;
  padding:15px 0 0;
  border-top:1px solid rgba(167,126,36,.18);
  min-width:0;
}
#main .team-profile-approved-v56 .team-profile-heading-v55{
  margin:0 0 10px!important;
  font-family:var(--font-display,inherit);
}
#main .team-profile-approved-v56 .team-profile-subheading-v55{margin-bottom:0!important}

/* Homepage Team card: role stays visibly attached to the name without clipping. */
#main .team-v29-card-copy p{
  margin-top:5px!important;
  line-height:1.55!important;
  min-height:0!important;
}

/* Defensive overflow safeguards for the client-approved long bilingual copy. */
#main .team-directory-card-v27,
#main .team-profile-v27,
#main .team-v29-card,
#main .practice-panel-v52,
#main .practice-copy-v52,
#main .practice-matters-v52,
#main .about-goals-v55,
#main .about-operations-v55{min-width:0!important;max-width:100%}

#main .practice-panel-v52 h2,
#main .practice-panel-v52 .summary,
#main .practice-panel-v52 .description,
#main .matter-list-v52>div,
#main .practice-consult-v52 strong,
#main .practice-consult-v52 p{
  overflow-wrap:anywhere!important;
  word-break:normal!important;
}

@media(max-width:640px){
  #main .team-directory-copy-v27 .team-title-v52{font-size:.8rem!important;line-height:1.65!important}
  #main .team-profile-title-v56{font-size:.84rem!important;line-height:1.72!important;margin-bottom:14px!important}
  html[dir="rtl"] #main .team-profile-title-v56{line-height:1.95!important}
  #main .team-profile-approved-v56{padding-top:13px;margin-bottom:16px}
  #main .team-v29-card-copy p{font-size:.78rem!important;line-height:1.55!important}
}
