/* The team directory uses the same content width as the home page. */
.team-page .page-container{max-width:1200px}
.team-page .breadcrumbs{margin-bottom:32px}
.team-page article{display:grid;grid-template-columns:minmax(0,.85fr) minmax(0,1.15fr);column-gap:48px}
.team-page .page-heading{grid-column:1;grid-row:1;align-self:end}
.team-page .page-heading h1{font-size:clamp(36px,4vw,50px);line-height:1.15;margin:0 0 24px}
.team-page .page-heading .eyebrow{color:var(--gold-dark);margin-bottom:14px}
.team-page .page-content{display:contents}
.team-page .page-content>p{grid-column:1;grid-row:2;max-width:none;margin:0;line-height:1.65;align-self:start}
.team-page .team-page-photo{grid-column:2;grid-row:1/3;max-width:none;width:100%;margin:0;aspect-ratio:1.57;align-self:center;border-radius:8px;background:#eee9dc}
.team-page .team-page-photo img{width:100%;height:100%;max-height:none;object-fit:cover;object-position:center}
.team-page .team-profiles{grid-column:1/-1;display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:24px;margin-top:48px}
.team-page .team-profile{display:grid;grid-template-columns:148px minmax(0,1fr);gap:24px;margin:0;padding:24px;align-items:start;border:1px solid #dfd8ca;border-radius:8px;background:#faf8f2;box-shadow:0 4px 18px #17212b04}
.team-page .team-profile>img,.team-page .team-monogram{width:148px;height:216px;object-fit:cover;object-position:center 20%;border-radius:5px}
.team-page .team-monogram{background:linear-gradient(145deg,#f4eddd,#e4d8bc);font-size:44px}
.team-page .team-profile-copy{min-width:0}
.team-page .team-profile h2{font-size:28px;line-height:1.22;margin:0 0 16px;overflow-wrap:break-word}
.team-page .team-profile p{max-width:none;margin:0 0 16px;font-size:17px;line-height:1.6}
.team-page .team-profile .eyebrow{font-size:12px;line-height:1.5;letter-spacing:.08em;color:#806022;margin:0 0 10px}
.team-page .team-profile-copy>p:last-child{margin-bottom:0}
.team-page #grzegorz-gajda>img{object-fit:contain;background:#f2f0e6}
.team-page .team-profile-specialties{grid-column:1/-1;padding:14px 0 0;border-top:1px solid #dfd8ca;border-bottom:0}
.team-page .team-profile-specialties summary{font-family:var(--sans);font-size:16px;font-weight:700;line-height:1.5;color:#73501a}
.team-page .team-profile-specialties ul{margin:16px 0;padding-left:20px;font-size:16px;line-height:1.6}
.team-page .team-profile-specialties li{padding-left:2px;margin-bottom:10px}
.team-page .team-profile-specialties .text-link{font-size:16px;line-height:1.5}
.team-page .team-profile .team-profile-phone{display:inline-flex;align-items:center;gap:10px;min-height:44px;padding:8px 13px;border:1px solid #d9c8a4;border-radius:4px;background:#fffcf5;color:#73501a;text-decoration:none;font-size:16px;font-weight:700}
.team-page .team-profile-phone:hover,.team-page .team-profile-phone:focus-visible{background:#efe2bf;border-color:#b98a36}
.team-page .page-contact{display:flex;flex-wrap:wrap;align-items:center;gap:20px;margin-top:40px;padding:28px 32px;border:1px solid #ded4bc;border-radius:8px;background:#eee9dc}
.team-page .page-contact h2{flex:1 1 330px;margin:0;font-size:28px}
.team-page .page-contact .text-link{margin:0}
@media(max-width:1000px){
  .team-page article{column-gap:32px}
  .team-page .team-profiles{grid-template-columns:minmax(0,1fr)}
  .team-page .team-profile{grid-template-columns:170px minmax(0,1fr);gap:28px}
  .team-page .team-profile>img,.team-page .team-monogram{width:170px;height:240px}
}
@media(max-width:900px){
  .team-page article{display:block}
  .team-page .page-heading h1{margin-bottom:20px}
  .team-page .page-content>p{margin-bottom:24px}
  .team-page .team-profiles{margin-top:28px}
  .team-page .team-page-photo{aspect-ratio:1.8}
}
@media(max-width:600px){
  .team-page .breadcrumbs{margin-bottom:26px}
  .team-page .page-heading h1{font-size:36px}
  .team-page .team-page-photo{aspect-ratio:1.57}
  .team-page .team-profiles{gap:18px}
  .team-page .team-profile{grid-template-columns:96px minmax(0,1fr);gap:0 18px;padding:20px}
  .team-page .team-profile>img,.team-page .team-monogram{grid-column:1;grid-row:1/3;width:96px;height:130px;margin-bottom:20px}
  .team-page .team-profile-copy{display:contents}
  .team-page .team-profile .eyebrow{grid-column:2;grid-row:1;align-self:end;margin:0 0 8px}
  .team-page .team-profile .eyebrow::before{display:none}
  .team-page .team-profile h2{grid-column:2;grid-row:2;align-self:start;font-size:25px;margin:0 0 20px}
  .team-page .team-profile-copy>p:not(.eyebrow){grid-column:1/-1}
  .team-page .team-profile-phone{grid-column:1/-1;justify-self:start}
  .team-page .page-contact{padding:24px;gap:18px}
  .team-page .page-contact h2{font-size:27px}
}
@media(max-width:360px){
  .team-page .team-profile{padding:16px;column-gap:14px;grid-template-columns:80px minmax(0,1fr)}
  .team-page .team-profile>img,.team-page .team-monogram{width:80px;height:112px}
  .team-page .team-profile h2{font-size:23px}
}
