/* A fuller, editorial team directory. Scoped to this page. */
html body.team-directory-page {
  isolation: isolate;
  background: #f4f5f4 !important;
}
html body.team-directory-page::before {
  content: "";
  position: fixed;
  z-index: -1;
  inset: 0;
  pointer-events: none;
  background:
    linear-gradient(100deg, rgba(248,249,249,.93) 0%, rgba(248,249,249,.88) 45%, rgba(248,249,249,.78) 100%),
    url('assets/backgrounds/lawyer-mountain-mist-5120.webp') center / cover no-repeat;
  filter: saturate(.32);
}
html body.team-directory-page main#main-content,
html body.team-directory-page main#main-content #team-directory-header,
html body.team-directory-page main#main-content > section.team-list-sec {
  background: transparent !important;
}
#team-directory-header .team-stitch-eyebrow {
  display: flex;
  align-items: center;
  gap: 12px;
}
#team-directory-header .team-stitch-eyebrow::before {
  content: "";
  width: 24px;
  height: 1px;
  background: #79171c;
}
html body.team-directory-page #main-content #team-directory-header .team-stitch-description {
  display: block !important;
  margin: 12px 0 0 !important;
  color: #52575c !important;
  font-size: 15px !important;
  font-weight: 400 !important;
  line-height: 1.75 !important;
  letter-spacing: .03em !important;
}
@media (min-width: 768px) {
  #main-content #team-directory-header { padding-top: 34px !important; }
  #team-directory-header .team-stitch-top { padding-bottom: 24px; }
  #team-directory-header .team-stitch-filters { gap: 0; padding-top: 14px; }
  #team-directory-header .team-stitch-footer { min-height: 48px; }
}
html body.team-directory-page main#main-content > section.team-list-sec {
  padding-top: 28px !important;
  padding-bottom: 64px !important;
}
html body.team-directory-page main#main-content [data-lawyer-directory-grid] {
  row-gap: 42px !important;
}
html body.team-directory-page main#main-content [data-lawyer-card] [data-lawyer-photo-frame],
html body.team-directory-page main#main-content [data-lawyer-card] > .photo {
  height: auto !important;
  aspect-ratio: 4 / 5 !important;
  border-radius: 0 !important;
}
html body.team-directory-page main#main-content [data-lawyer-card] .under {
  padding: 14px 2px 0 !important;
}
html body.team-directory-page main#main-content [data-lawyer-card] .under [data-lawyer-name] {
  font-size: 18px !important;
}
html body.team-directory-page main#main-content [data-lawyer-card] .under [data-lawyer-role] {
  margin-top: 6px !important;
  font-size: 13px !important;
  line-height: 1.5 !important;
}
html body.team-directory-page main#main-content [data-lawyer-card] .under [data-lawyer-loc] {
  margin-top: 3px !important;
  color: #666d73 !important;
}
html body.team-directory-page main#main-content [data-lawyer-card] .under [data-lawyer-preview-tags] {
  display: -webkit-box;
  margin-top: 12px;
  padding-top: 11px;
  border-top: 1px solid rgba(54,65,73,.2);
  color: #555b60;
  font-size: 12px;
  line-height: 1.7;
  overflow: hidden;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
}
html body.team-directory-page main#main-content [data-lawyer-card] .under [data-lawyer-preview-tags][hidden] { display: none !important; }
@media (max-width: 767px) {
  html body.team-directory-page::before {
    background-image: linear-gradient(180deg, rgba(248,249,249,.88), rgba(248,249,249,.91)), url('assets/backgrounds/lawyer-mountain-mist-1600.webp');
    background-position: center, 58% center;
  }
  html body.team-directory-page #main-content #team-directory-header .team-stitch-description { margin-top: 8px !important; font-size: 14px !important; }
  html body.team-directory-page main#main-content > section.team-list-sec { padding-top: 22px !important; padding-bottom: 44px !important; }
  html body.team-directory-page main#main-content [data-lawyer-directory-grid] { row-gap: 28px !important; }
  html body.team-directory-page main#main-content [data-lawyer-card] .under { padding-top: 10px !important; }
  html body.team-directory-page main#main-content [data-lawyer-card] .under [data-lawyer-name] { font-size: 16px !important; }
  html body.team-directory-page main#main-content [data-lawyer-card] .under [data-lawyer-role] { font-size: 12px !important; }
  html body.team-directory-page main#main-content [data-lawyer-card] .under [data-lawyer-preview-tags] { margin-top: 9px; padding-top: 8px; font-size: 12px; }
}
