.staff-page__container {
  max-width: 1440px;
  margin: 0 auto;
  padding: 0 40px;
  box-sizing: border-box;
}
@media screen and (max-width: 768px) {
  .staff-page__container {
    padding: 0 20px;
  }
}

.staff-page__title {
  font-family: "Fixel Display", sans-serif;
  font-size: 40px;
  font-weight: 600;
  line-height: 48px;
  letter-spacing: -0.8px;
  color: #04083a;
  margin: 0 0 32px;
}
@media screen and (max-width: 1024px) {
  .staff-page__title {
    font-size: 28px;
    line-height: 1.2;
    margin: 0 0 24px;
  }
}

.staff-layout {
  display: grid;
  grid-template-columns: 322px 1fr;
  align-items: start;
  gap: 40px;
}
@media screen and (max-width: 1024px) {
  .staff-layout {
    grid-template-columns: 1fr;
    gap: 24px;
  }
}

.staff-sidebar {
  display: flex;
  flex-direction: column;
  gap: 16px;
  padding-left: 0;
  border: none;
  border-left: 1px solid #a7ccee;
  padding-right: 24px;
  gap: 0;
  position: sticky;
  top: 150px;
}
@media screen and (max-width: 1024px) {
  .staff-sidebar {
    position: static;
    border-left: none;
    border-top: 1px solid #a7ccee;
    padding: 24px 0 0;
  }
}

.staff-filter-group {
  display: flex;
  flex-direction: column;
  gap: 16px;
  margin-bottom: 32px;
}
.staff-filter-group:last-child {
  margin-bottom: 0;
}

.staff-filter-label {
  font-family: "Work Sans", sans-serif;
  font-size: 20px;
  font-weight: 500;
  line-height: 24px;
  letter-spacing: -0.4px;
  color: #0b70cf;
  text-decoration: underline;
  text-underline-offset: 2px;
}
.staff-filter-label:active {
  color: rgb(8.8, 89.6, 165.6);
}
@media screen and (min-width: 1025px) {
  .staff-filter-label:hover {
    color: rgb(8.8, 89.6, 165.6);
  }
}
.staff-filter-label {
  display: block;
  width: 100%;
  padding: 4px 0 4px 16px;
  margin: 0;
}
.staff-filter-label.is-active {
  font-weight: 600;
  color: rgb(8.8, 89.6, 165.6);
}

.staff-filter-label--static {
  color: #04083a;
  text-decoration: none;
  cursor: default;
  pointer-events: none;
}

.staff-filter-item {
  display: block;
  width: 100%;
  margin-left: -1px;
  padding: 4px 8px 4px 16px;
  border-left: 2px solid transparent;
  border-radius: 0 4px 4px 0;
  font-family: "Work Sans", sans-serif;
  font-size: 16px;
  font-weight: 400;
  line-height: 24px;
  color: #04083a;
  text-align: left;
  text-decoration: none;
  opacity: 0.6;
  transition: opacity 0.15s, background-color 0.15s;
}
.staff-filter-item:active {
  opacity: 1;
}
@media screen and (min-width: 1025px) {
  .staff-filter-item:hover {
    opacity: 1;
  }
}
.staff-filter-item.is-active {
  opacity: 1;
  background: #ffe3cb;
  border-left-color: #eb7a1b;
}

.staff-main {
  background: #fff;
  border: 1px solid #a7ccee;
  border-radius: 4px;
  padding: 32px;
}
@media screen and (max-width: 1024px) {
  .staff-main {
    padding: 24px;
  }
}

.staff-director-card {
  display: flex;
  flex-direction: column;
  gap: 32px;
  color: #04083a;
}
.staff-main.is-filtered .staff-director-card {
  display: none;
}

.staff-director-card__header {
  display: flex;
  gap: 32px;
  align-items: flex-start;
  color: inherit;
  text-decoration: none;
}
.staff-director-card__header:focus-visible {
  outline: 2px solid #0b70cf;
  outline-offset: 4px;
}
.staff-director-card.has-bio .staff-director-card__header:active .staff-director-card__name {
  color: #0b70cf;
}
@media screen and (min-width: 1025px) {
  .staff-director-card.has-bio .staff-director-card__header:hover .staff-director-card__name {
    color: #0b70cf;
  }
}
@media screen and (max-width: 1024px) {
  .staff-director-card__header {
    flex-direction: column;
    gap: 20px;
  }
}

.staff-director-card__body {
  display: none;
  flex-direction: column;
  gap: 32px;
}
.staff-main.is-director .staff-director-card__body {
  display: flex;
}

.staff-director-card__photo {
  flex-shrink: 0;
  width: 141px;
  height: 141px;
  border-radius: 50%;
  overflow: hidden;
}
@media screen and (max-width: 1024px) {
  .staff-director-card__photo {
    width: 110px;
    height: 110px;
  }
}
.staff-director-card__photo img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.staff-director-card__info {
  display: flex;
  flex-direction: column;
  gap: 8px;
  flex: 1;
}

.staff-director-card__pos {
  font-family: "Work Sans", sans-serif;
  font-size: 13px;
  font-weight: 700;
  line-height: 20px;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: #04083a;
}

.staff-director-card__name {
  font-family: "Work Sans", sans-serif;
  font-size: 24px;
  font-weight: 600;
  line-height: 27px;
  color: #04083a;
  margin: 2px 0 4px;
}

.staff-director-card__address {
  font-family: "Work Sans", sans-serif;
  font-size: 16px;
  font-weight: 400;
  color: #7a7d98;
}

.staff-divider {
  border: none;
  border-top: 1px solid #a7ccee;
  margin: 32px 0;
}

.staff-card-divider {
  border: none;
  border-top: 1px solid #a7ccee;
  width: 100%;
}

.staff-contact-list {
  display: flex;
  flex-direction: column;
  gap: 20px;
  width: 100%;
}

.staff-contact-row {
  display: flex;
  align-items: center;
  gap: 12px;
}

.staff-contact-icon {
  flex-shrink: 0;
  width: 24px;
  height: 24px;
  color: #eb7a1b;
  display: flex;
  align-items: center;
  justify-content: center;
}

.staff-contact-text {
  font-family: "Work Sans", sans-serif;
  font-size: 16px;
  font-weight: 500;
  color: #04083a;
  letter-spacing: -0.32px;
}

.staff-contact-link {
  font-family: "Work Sans", sans-serif;
  font-size: 16px;
  font-weight: 500;
  color: #0b70cf;
  text-decoration: underline;
  text-underline-offset: 2px;
  letter-spacing: -0.32px;
  transition: color 0.2s;
}
.staff-contact-link:active {
  color: rgb(8.8, 89.6, 165.6);
}
@media screen and (min-width: 1025px) {
  .staff-contact-link:hover {
    color: rgb(8.8, 89.6, 165.6);
  }
}

.staff-section-title {
  font-family: "Work Sans", sans-serif;
  font-size: 20px;
  font-weight: 600;
  line-height: 27px;
  color: #04083a;
  margin: 0 0 20px;
}

.staff-deputies {
  display: flex;
  flex-direction: column;
  gap: 24px;
  margin-bottom: 8px;
}
.staff-deputies:last-child {
  margin-bottom: 0;
}

.staff-person {
  scroll-margin-top: 96px;
}
@media screen and (max-width: 1024px) {
  .staff-person {
    scroll-margin-top: 80px;
  }
}

.staff-person__header {
  display: grid;
  grid-template-columns: 85px 1fr;
  grid-template-rows: auto auto;
  column-gap: 20px;
  row-gap: 2px;
  align-items: center;
  color: inherit;
  text-decoration: none;
}
.staff-person__header:focus-visible {
  outline: 2px solid #0b70cf;
  outline-offset: 4px;
}
.staff-person__header:active .staff-person__name {
  color: #0b70cf;
}
@media screen and (min-width: 1025px) {
  .staff-person__header:hover .staff-person__name {
    color: #0b70cf;
  }
}
.staff-person__header.has-depts {
  grid-template-rows: auto auto auto;
}
.staff-person__header.has-depts .staff-person__photo {
  grid-row: 1/4;
}

.staff-person__body {
  display: none;
  flex-direction: column;
  gap: 24px;
  margin-top: 16px;
  padding-top: 16px;
  border-top: 1px solid #a7ccee;
}
.staff-person.is-selected .staff-person__body {
  display: flex;
}

.staff-person.is-hidden,
.staff-dept-section.is-hidden {
  display: none;
}

.staff-main.is-director .staff-dept-section {
  display: none;
}

.staff-show-all {
  display: none;
  font-family: "Work Sans", sans-serif;
  font-size: 14px;
  font-weight: 500;
  color: #0b70cf;
  text-decoration: underline;
  text-underline-offset: 2px;
  margin: -8px 0 24px;
}
.staff-show-all:active {
  color: rgb(8.8, 89.6, 165.6);
}
@media screen and (min-width: 1025px) {
  .staff-show-all:hover {
    color: rgb(8.8, 89.6, 165.6);
  }
}
.staff-main.is-filtered .staff-show-all, .staff-main.is-director .staff-show-all, .staff-main.is-dept-filtered .staff-show-all {
  display: inline-block;
}
.staff-main.is-dept-filtered .staff-show-all, .staff-main.is-director .staff-show-all {
  margin-top: 24px;
}

.staff-empty {
  font-family: "Work Sans", sans-serif;
  font-size: 16px;
  color: #04083a;
  margin: 24px 0 0;
}

.staff-person__bio {
  display: flex;
  flex-direction: column;
  gap: 24px;
}

.staff-person__bio-title {
  font-family: "Work Sans", sans-serif;
  font-size: 24px;
  font-weight: 600;
  line-height: 27px;
  letter-spacing: -0.48px;
  color: #04083a;
  margin: 0;
}

.staff-person__bio-text {
  font-family: "Work Sans", sans-serif;
  font-size: 20px;
  line-height: 32px;
  color: rgba(4, 8, 58, 0.52);
  margin: 0;
}
.staff-person__bio-text p, .staff-person__bio-text ul, .staff-person__bio-text ol {
  margin: 0 0 16px;
}
.staff-person__bio-text > :last-child {
  margin-bottom: 0;
}
.staff-person__bio-text ul, .staff-person__bio-text ol {
  padding-left: 24px;
}
.staff-person__bio-text a {
  color: #0b70cf;
  text-decoration: underline;
  text-underline-offset: 2px;
}

.staff-person__photo {
  grid-column: 1;
  grid-row: 1/3;
  width: 85px;
  height: 85px;
  border-radius: 50%;
  overflow: hidden;
  background: #a7ccee;
}
.staff-person__photo img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.staff-person__name {
  grid-column: 2;
  grid-row: 1;
  align-self: end;
  font-family: "Work Sans", sans-serif;
  font-size: 20px;
  font-weight: 600;
  line-height: 27px;
  color: #04083a;
}

.staff-person__pos {
  grid-column: 2;
  grid-row: 2;
  align-self: start;
  font-family: "Work Sans", sans-serif;
  font-size: 14px;
  font-weight: 600;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: #7a7d98;
}

.staff-person__depts {
  grid-column: 2;
  grid-row: 3;
  align-self: start;
  margin-top: 4px;
  font-family: "Work Sans", sans-serif;
  font-size: 14px;
  font-weight: 400;
  line-height: 20px;
  color: rgba(4, 8, 58, 0.52);
}

.staff-person__depts-label {
  font-weight: 600;
  color: #7a7d98;
}

.acf-block-preview *, .acf-block-preview *::before, .acf-block-preview *::after {
  box-sizing: border-box;
}
.acf-block-preview {
  color: #04083a;
}
.acf-block-preview img {
  max-width: 100%;
  height: auto;
}
.acf-block-preview .staff-layout {
  grid-template-columns: minmax(0, 240px) minmax(0, 1fr);
  gap: 24px;
}
.acf-block-preview .staff-sidebar {
  position: static;
}
.acf-block-preview .staff-person__header,
.acf-block-preview .staff-director-card__header,
.acf-block-preview .staff-filter-item,
.acf-block-preview .staff-filter-label {
  cursor: default;
}
