body.page.page-staff article.entry-content.staff-directory,
body.page.page-our-staff article.entry-content.staff-directory {
  box-sizing: border-box;
  width: min(100%, 1245px);
  max-width: 1245px;
  margin: 0 auto;
  padding: clamp(18px, 3vw, 30px) clamp(24px, 3vw, 32px) clamp(56px, 6vw, 80px);
}

body.page.page-staff article.entry-content.staff-directory > *:first-child,
body.page.page-our-staff article.entry-content.staff-directory > *:first-child {
  margin-top: 0;
}

body.page-staff .staff-directory-section,
body.page-our-staff .staff-directory-section {
  --staff-section-accent: var(--dark-orange);
}

body.page-staff .staff-directory-section--executive-leadership-team,
body.page-our-staff .staff-directory-section--executive-leadership-team,
body.page-staff .staff-directory-section--finance-operations,
body.page-our-staff .staff-directory-section--finance-operations {
  --staff-section-accent: var(--dark-orange);
}

body.page-staff .staff-directory-section--content-team,
body.page-our-staff .staff-directory-section--content-team,
body.page-staff .staff-directory-section--marketing-team,
body.page-our-staff .staff-directory-section--marketing-team {
  --staff-section-accent: var(--gold);
}

body.page-staff .staff-directory-section--development-team,
body.page-our-staff .staff-directory-section--development-team {
  --staff-section-accent: var(--deep-blue);
}

body.page-staff .staff-directory-section + .staff-directory-section,
body.page-our-staff .staff-directory-section + .staff-directory-section {
  margin-top: clamp(8px, 1.6vw, 18px);
}

@media (min-width: 769px) {
  body.page-staff .staff-directory-section + .staff-directory-section,
  body.page-our-staff .staff-directory-section + .staff-directory-section {
    margin-top: clamp(20px, 2.8vw, 34px);
  }
}

body.page-staff .staff-directory-section-heading,
body.page-our-staff .staff-directory-section-heading {
  display: flex;
  align-items: center;
  gap: clamp(14px, 2vw, 22px);
  margin-bottom: clamp(8px, 1.4vw, 16px);
}

body.page-staff .staff-directory-section-heading::after,
body.page-our-staff .staff-directory-section-heading::after {
  content: '';
  flex: 1 1 auto;
  height: 2px;
  background: rgba(36, 55, 70, 0.18);
}

@media (min-width: 769px) and (max-width: 1100px) {
  body.page-staff .staff-directory-section-heading,
  body.page-our-staff .staff-directory-section-heading {
    width: fit-content;
    max-width: calc(100% + 16px);
    gap: 22px;
    margin-bottom: 26px;
    margin-left: -16px;
  }

  body.page-staff .staff-directory-section-heading::after,
  body.page-our-staff .staff-directory-section-heading::after {
    flex: 0 0 auto;
    width: clamp(180px, 23vw, 240px);
  }
}

@media (min-width: 1101px) and (max-width: 1279px) {
  body.page-staff .staff-directory-section-heading,
  body.page-our-staff .staff-directory-section-heading {
    width: fit-content;
    max-width: calc(100% + 38px);
    gap: 24px;
    margin-bottom: 28px;
    margin-left: -38px;
  }

  body.page-staff .staff-directory-section-heading::after,
  body.page-our-staff .staff-directory-section-heading::after {
    flex: 0 0 auto;
    width: clamp(200px, 25vw, 320px);
  }
}

@media (min-width: 1280px) {
  body.page-staff .staff-directory-section-heading,
  body.page-our-staff .staff-directory-section-heading {
    width: fit-content;
    max-width: calc(100% + 82px);
    gap: 26px;
    margin-bottom: 30px;
    margin-left: -82px;
  }

  body.page-staff .staff-directory-section-heading::after,
  body.page-our-staff .staff-directory-section-heading::after {
    flex: 0 0 auto;
    width: clamp(220px, 28vw, 396px);
  }
}

body.page-staff .staff-directory-section-title,
body.page-our-staff .staff-directory-section-title {
  margin: 0;
  color: var(--deep-blue);
  font-family: var(--garamond);
  font-size: clamp(2rem, 2.55vw, 2.5rem);
  font-weight: 400;
  line-height: 1;
  letter-spacing: 0;
  white-space: nowrap;
}

body.page.page-staff article.entry-content.staff-directory .staff-directory-section-title,
body.page.page-our-staff article.entry-content.staff-directory .staff-directory-section-title {
  font-family: 'EB Garamond', serif;
  font-weight: 400;
  line-height: 1;
  letter-spacing: 0;
}

body.page-staff .staff-directory-grid,
body.page-our-staff .staff-directory-grid {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  align-items: flex-start;
  gap: clamp(6px, 1vw, 12px) clamp(14px, 1.6vw, 20px);
  width: min(100%, 1130px);
  margin: 0 auto;
}

body.page-staff .staff-directory-grid--four-up,
body.page-our-staff .staff-directory-grid--four-up {
  width: min(100%, 900px);
}

body.page-staff .staff-member-card,
body.page-our-staff .staff-member-card {
  flex: 0 0 210px;
  width: 210px;
  max-width: 210px;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: flex-start;
  gap: 0;
  height: auto;
  text-align: center;
}

body.page-staff .staff-member-card > *,
body.page-our-staff .staff-member-card > * {
  margin-block-start: 0 !important;
  margin-block-end: 0 !important;
}

body.page-staff .staff-member-photo-wrap,
body.page-our-staff .staff-member-photo-wrap {
  width: min(100%, 194px);
  aspect-ratio: 1 / 1;
  margin: 0;
  border: 4px solid var(--staff-section-accent);
  border-radius: 50%;
  overflow: hidden;
  background: #e3e8eb;
  box-shadow: none;
  outline: 0;
  transition: transform 0.18s ease-out;
  will-change: transform;
}

body.page-staff .staff-member-image,
body.page-our-staff .staff-member-image {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
  transform: scale(1.065);
  transform-origin: center;
}

body.page-staff .staff-member-image--placeholder,
body.page-our-staff .staff-member-image--placeholder {
  background: linear-gradient(180deg, rgba(36, 55, 70, 0.08), rgba(36, 55, 70, 0.16));
  transform: none;
}

body.page-staff .staff-member-name,
body.page-our-staff .staff-member-name {
  margin: 0;
  color: var(--deep-blue);
  font-family: var(--cabin);
  font-size: 18px;
  font-weight: 700;
  line-height: 26px;
  letter-spacing: 0.02em;
  text-transform: uppercase;
}

body.page.page-staff article.entry-content.staff-directory .staff-member-name,
body.page.page-our-staff article.entry-content.staff-directory .staff-member-name {
  font-family: 'Cabin', sans-serif;
  font-weight: 700;
  line-height: 26px;
  letter-spacing: 0.02em;
}

body.page-staff .staff-member-photo-wrap + .staff-member-name,
body.page-our-staff .staff-member-photo-wrap + .staff-member-name {
  margin-top: clamp(8px, 0.9vw, 10px) !important;
}

body.page-staff .staff-member-role,
body.page-our-staff .staff-member-role {
  margin: 0;
  color: var(--deep-blue);
  font-family: var(--garamond);
  font-size: 18px;
  line-height: 20px;
}

body.page.page-staff article.entry-content.staff-directory p.staff-member-role,
body.page.page-our-staff article.entry-content.staff-directory p.staff-member-role {
  font-family: 'EB Garamond', serif;
  font-size: 18px;
  font-weight: 400;
  line-height: 20px;
  letter-spacing: 0;
  margin-bottom: 0;
}

body.page-staff .staff-member-name + .staff-member-role,
body.page-our-staff .staff-member-name + .staff-member-role {
  margin-top: clamp(2px, 0.35vw, 4px) !important;
}

body.page-staff .staff-member-card:hover .staff-member-photo-wrap,
body.page-our-staff .staff-member-card:hover .staff-member-photo-wrap,
body.page-staff .staff-member-card:focus-within .staff-member-photo-wrap,
body.page-our-staff .staff-member-card:focus-within .staff-member-photo-wrap {
  transform: scale(1.015);
}

@media (max-width: 1200px) {
  body.page.page-staff article.entry-content.staff-directory,
  body.page.page-our-staff article.entry-content.staff-directory {
    width: min(100%, 1080px);
    max-width: 1080px;
  }

  body.page-staff .staff-directory-grid,
  body.page-our-staff .staff-directory-grid {
    width: min(100%, 1060px);
  }

  body.page-staff .staff-directory-grid--four-up,
  body.page-our-staff .staff-directory-grid--four-up {
    width: min(100%, 844px);
  }

  body.page-staff .staff-member-card,
  body.page-our-staff .staff-member-card {
    flex-basis: 196px;
    width: 196px;
    max-width: 196px;
  }
}

@media (max-width: 768px) {
  body.page.page-staff article.entry-content.staff-directory,
  body.page.page-our-staff article.entry-content.staff-directory {
    padding-top: clamp(2px, 1vw, 8px);
  }

  body.page-staff .staff-directory-section-heading,
  body.page-our-staff .staff-directory-section-heading {
    flex-wrap: wrap;
    row-gap: 10px;
  }

  body.page-staff .staff-directory-section-title,
  body.page-our-staff .staff-directory-section-title {
    font-size: clamp(1.9rem, 5.8vw, 2.3rem);
    line-height: 1.04;
    white-space: normal;
  }

  body.page-staff .staff-directory-section-heading::after,
  body.page-our-staff .staff-directory-section-heading::after {
    flex-basis: 100%;
  }

  body.page-staff .staff-directory-grid,
  body.page-our-staff .staff-directory-grid {
    width: min(100%, 374px);
  }

  body.page-staff .staff-member-card,
  body.page-our-staff .staff-member-card {
    flex-basis: 180px;
    width: 180px;
    max-width: 180px;
  }

  body.page-staff .staff-member-photo-wrap,
  body.page-our-staff .staff-member-photo-wrap {
    width: min(100%, 172px);
  }

  body.page-staff .staff-member-photo-wrap + .staff-member-name,
  body.page-our-staff .staff-member-photo-wrap + .staff-member-name {
    margin-top: 7px !important;
  }

  body.page-staff .staff-member-name,
  body.page-our-staff .staff-member-name {
    font-size: 16px;
    line-height: 15px;
  }

  body.page.page-staff article.entry-content.staff-directory .staff-member-name,
  body.page.page-our-staff article.entry-content.staff-directory .staff-member-name {
    line-height: 15px;
  }

  body.page-staff .staff-member-role,
  body.page-our-staff .staff-member-role {
    font-size: 16px;
    line-height: 18px;
  }

  body.page.page-staff article.entry-content.staff-directory p.staff-member-role,
  body.page.page-our-staff article.entry-content.staff-directory p.staff-member-role {
    font-size: 16px;
    line-height: 18px;
  }

  body.page-staff .staff-member-name + .staff-member-role,
  body.page-our-staff .staff-member-name + .staff-member-role {
    margin-top: 2px !important;
  }
}

@media (max-width: 600px) {
  body.page-staff .staff-directory-grid,
  body.page-our-staff .staff-directory-grid {
    width: min(100%, 334px);
    gap: 8px 14px;
  }

  body.page-staff .staff-member-card,
  body.page-our-staff .staff-member-card {
    flex-basis: 160px;
    width: 160px;
    max-width: 160px;
  }

  body.page-staff .staff-member-photo-wrap,
  body.page-our-staff .staff-member-photo-wrap {
    width: min(100%, 152px);
    border-width: 3px;
  }

  body.page-staff .staff-member-photo-wrap + .staff-member-name,
  body.page-our-staff .staff-member-photo-wrap + .staff-member-name {
    margin-top: 6px !important;
  }

  body.page-staff .staff-member-name,
  body.page-our-staff .staff-member-name {
    font-size: 15px;
    line-height: 14px;
  }

  body.page.page-staff article.entry-content.staff-directory .staff-member-name,
  body.page.page-our-staff article.entry-content.staff-directory .staff-member-name {
    line-height: 14px;
  }

  body.page-staff .staff-member-role,
  body.page-our-staff .staff-member-role {
    font-size: 15px;
    line-height: 17px;
  }

  body.page.page-staff article.entry-content.staff-directory p.staff-member-role,
  body.page.page-our-staff article.entry-content.staff-directory p.staff-member-role {
    font-size: 15px;
    line-height: 17px;
  }

  body.page-staff .staff-member-name + .staff-member-role,
  body.page-our-staff .staff-member-name + .staff-member-role {
    margin-top: 1px !important;
  }
}

@media (prefers-reduced-motion: reduce) {
  body.page-staff .staff-member-photo-wrap,
  body.page-our-staff .staff-member-photo-wrap {
    transition: none;
    will-change: auto;
  }

  body.page-staff .staff-member-card:hover .staff-member-photo-wrap,
  body.page-our-staff .staff-member-card:hover .staff-member-photo-wrap,
  body.page-staff .staff-member-card:focus-within .staff-member-photo-wrap,
  body.page-our-staff .staff-member-card:focus-within .staff-member-photo-wrap {
    transform: none;
  }
}
