.team-directory-section > .container > h2{width:fit-content;max-width:100%;padding-bottom:14px;border-bottom:2px solid var(--teal)}
.team-member-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:38px 32px;margin-top:32px}
.team-member-card{width:100%;max-width:340px;text-align:center}
.team-member-photo-button{display:block;width:100%;padding:0;border:0;border-radius:3px;background:var(--pale);overflow:hidden;aspect-ratio:4/5}
.team-member-photo-button img{width:100%;height:100%;object-fit:cover;object-position:center 30%}
.team-member-name{font-size:1.9rem;margin-top:20px}
.team-member-name-button{padding:0;border:0;background:transparent;color:inherit;font:inherit;line-height:inherit}
.team-member-name-button:hover{text-decoration:underline;text-decoration-thickness:1px;text-underline-offset:6px}
.team-member-card .profile-role{margin:9px 0 0}
.team-profile-dialog{width:min(1100px,calc(100% - 48px));max-width:none;max-height:calc(100svh - 48px);background:#fff}
.team-profile-toolbar{position:sticky;top:0;z-index:1;display:flex;justify-content:flex-end;padding:12px 16px;background:#fff}
.team-profile-toolbar .dialog-close{display:inline-flex;align-items:center;gap:12px}
.team-profile-toolbar .dialog-close span{font-size:1.4rem;line-height:1}
.team-profile-layout{display:grid;grid-template-columns:minmax(0,.75fr) minmax(0,1.25fr);align-items:start;gap:42px;padding:12px 42px 42px}
.team-profile-photo{width:100%;aspect-ratio:2/3;object-fit:cover;object-position:center;border-radius:3px}
.team-profile-copy h2{font-size:2rem;line-height:1.3}
#dennis-profile-name,#theo-profile-name,#alexis-profile-name,#jolene-profile-name,#serena-profile-name,#jillian-profile-name,#ami-profile-name,#ian-profile-name,#greg-profile-name,#alyson-profile-name,#alex-profile-name,#nick-profile-name,#jacob-profile-name,#erin-profile-name,#debbi-profile-name,#meaghan-profile-name,#kate-profile-name,#mariam-profile-name,#rebecca-profile-name{font-size:calc(2rem - 2pt)}
.team-profile-copy .profile-role{margin:12px 0 0}
.team-profile-copy .team-profile-biography{margin-top:24px;line-height:1.75}
.team-profile-copy .team-profile-booking{margin-top:24px}
.team-profile-booking .button{max-width:100%;text-align:center}
.team-profile-biography a{color:var(--teal);text-decoration:underline;text-underline-offset:3px}
.team-profile-biography a:hover{color:var(--blue)}
@media(max-width:1000px){.team-member-grid{grid-template-columns:repeat(2,minmax(0,1fr))}.team-profile-layout{gap:28px;padding-inline:28px}}
@media(max-width:700px){.team-member-grid{grid-template-columns:1fr}.team-member-card{justify-self:center;max-width:340px}.team-profile-dialog{width:calc(100% - 24px);max-height:calc(100svh - 24px)}.team-profile-layout{grid-template-columns:1fr;gap:26px;padding:8px 22px 28px}.team-profile-photo{width:min(100%,250px);aspect-ratio:4/5;object-position:center 30%;justify-self:center}.team-profile-copy h2{font-size:1.8rem}#dennis-profile-name,#theo-profile-name,#alexis-profile-name,#jolene-profile-name,#serena-profile-name,#jillian-profile-name,#ami-profile-name,#ian-profile-name,#greg-profile-name,#alyson-profile-name,#alex-profile-name,#nick-profile-name,#jacob-profile-name,#erin-profile-name,#debbi-profile-name,#meaghan-profile-name,#kate-profile-name,#mariam-profile-name,#rebecca-profile-name{font-size:calc(1.8rem - 2pt)}.team-profile-toolbar{padding:10px 12px}}

#erin-profile .team-profile-photo-frame{position:relative;width:100%;aspect-ratio:2/3;overflow:hidden;border-radius:3px}
#erin-profile .team-profile-photo-frame .team-profile-photo{position:absolute;inset:0;width:100%;height:100%;aspect-ratio:auto}
@media(max-width:700px){#erin-profile .team-profile-photo-frame{width:min(100%,250px);aspect-ratio:4/5;justify-self:center}}
