.team-directory-page .team-members-section{background:#faf8fc;padding:44px 0 56px}
.team-directory-page .team-members-section>.container{width:98%;max-width:none}
.team-directory-page .team-members-section .section-title{font-size:clamp(26px,3vw,36px)}
.team-directory-page .team-members-section .section-lead{font-size:14px;line-height:1.8}
.team-directory-page .team-profile-card{height:100%;display:flex;flex-direction:column;border:1px solid #ebdfef;border-radius:20px;background:#fff;overflow:hidden;box-shadow:0 5px 22px rgba(70,28,85,.04);transition:transform .3s ease,border-color .3s ease,box-shadow .3s ease}
.team-directory-page .team-profile-card:hover{transform:translateY(-6px);border-color:#d5a8df;box-shadow:0 15px 32px rgba(100,35,117,.12)}
.team-directory-page .team-profile-image{position:relative;height:220px;overflow:hidden;background:linear-gradient(145deg,#faf4fc,#ede1f3);border-bottom:1px solid #eee3f2}
.team-directory-placeholder{position:absolute;inset:0;display:grid;place-items:center;color:#c29acb;font-size:64px}
.team-directory-page .team-profile-image img{position:relative;display:block;width:100%;height:100%;object-fit:cover;object-position:center top;transition:transform .4s ease}
.team-directory-page .team-profile-card:hover .team-profile-image img{transform:scale(1.045)}
.team-directory-page .team-profile-content{padding:16px 20px;text-align:left;display:flex;flex-direction:column;align-items:flex-start;flex:1}
.team-directory-page .team-profile-content h3{font-size:20px;line-height:1.5;color:#43284e;margin:0 0 10px}
.team-directory-page .team-profile-role{display:inline-block;background:#faf0fc;border:1px solid #ead3ee;border-radius:8px;color:var(--clinic-primary);font-size:11px;font-weight:600;line-height:1.6;padding:6px 10px;margin-bottom:16px}
.team-directory-page .team-profile-image .team-profile-role{position:absolute;left:12px;bottom:12px;z-index:2;max-width:calc(100% - 24px);margin:0;background:rgba(255,255,255,.96);box-shadow:0 3px 10px rgba(70,28,85,.08)}
.team-directory-page .team-profile-content p{font-size:12px;line-height:1.7;color:#85728d;margin:0;padding-top:8px;border-top:1px solid #f1e9f5;width:100%;white-space:normal;overflow-wrap:anywhere}
.team-directory-details{display:flex;align-items:center;justify-content:space-between;gap:16px;width:100%;margin-top:auto;padding:12px 0 0;background:transparent;border:0;color:var(--clinic-primary);font-size:12px;font-weight:600;text-align:left}
.team-directory-details i{transition:transform .25s}.team-directory-details:hover i{transform:translateX(3px)}
.team-directory-details:focus-visible{outline:2px solid var(--clinic-primary);outline-offset:4px}
.team-member-modal .modal-content{border:1px solid #ead8ee;border-radius:18px;overflow:hidden;box-shadow:0 20px 60px rgba(72,28,88,.15)}
.team-member-modal .modal-header{background:#fcf6fe;border-bottom:1px solid #f0e6f3;padding:18px 24px}
.team-member-modal .modal-title{font-size:22px;line-height:1.4;color:#43284e;font-weight:700}
.team-member-modal .modal-body{padding:24px}
.team-modal-photo{position:relative;display:grid;place-items:center;background:#f7eef9;border-radius:12px;overflow:hidden;height:250px;font-size:55px;color:#c29acb}
.team-modal-photo img{position:absolute;inset:0;display:block;width:100%;height:100%;object-fit:cover;object-position:top}
.team-member-modal .team-profile-role{display:inline-block;padding:6px 10px;border-radius:8px;border:1px solid #ead3ee;background:#faf0fc;color:var(--clinic-primary);font-size:12px;margin-bottom:18px}
.team-modal-description{font-size:14px;line-height:1.95;color:#796782;overflow-wrap:anywhere}
@media(max-width:575px){.team-member-modal .modal-body{padding:18px}.team-member-modal .modal-title{font-size:19px}.team-modal-photo{height:230px}.team-modal-description{font-size:13px}}
@media(max-width:575px){.team-directory-page .team-profile-image{height:240px}.team-directory-page .team-profile-content{padding:16px 18px}.team-directory-page .team-members-section{padding:32px 0 40px}}
@media(prefers-reduced-motion:reduce){.team-directory-page .team-profile-card,.team-directory-page .team-profile-image img{transition:none}.team-directory-page .team-profile-card:hover,.team-directory-page .team-profile-card:hover .team-profile-image img{transform:none}}
