/*
 Staff
========================================================================== */
.wp-block-meta-staff .container {
  display: flex;
  flex-direction: column;
  gap: clamp(32px, 12.8px + 0.04 * 100vw, 64px);
}
.wp-block-meta-staff .filter {
  display: flex;
  flex-direction: column;
  gap: 12px 24px;
}
@media screen and (min-width: 480px) {
  .wp-block-meta-staff .filter {
    flex-direction: row;
    justify-content: space-between;
    align-items: center;
  }
}
.wp-block-meta-staff .filter select {
  padding-right: 40px;
}
@media screen and (min-width: 480px) {
  .wp-block-meta-staff .filter select {
    order: -1;
  }
}
.wp-block-meta-staff .filter .search {
  position: relative;
  width: 100%;
}
@media screen and (min-width: 480px) {
  .wp-block-meta-staff .filter .search {
    max-width: 480px;
  }
}
.wp-block-meta-staff .filter .search input {
  padding-right: 50px;
  width: 100%;
}
.wp-block-meta-staff .filter .search .icon {
  position: absolute;
  top: 0;
  right: 0;
  width: 50px;
  height: 50px;
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0.5;
  font-size: 13px;
}
.wp-block-meta-staff .staff-list {
  display: flex;
  flex-direction: column;
  gap: clamp(48px, 38.4px + 0.02 * 100vw, 64px);
}
.wp-block-meta-staff .department {
  display: flex;
  flex-direction: column;
  gap: clamp(24px, 19.2px + 0.01 * 100vw, 32px);
}
@media screen and (min-width: 576px) {
  .wp-block-meta-staff .department {
    flex-direction: row;
    flex-wrap: wrap;
  }
}
.wp-block-meta-staff h2 {
  width: 100%;
  font-size: clamp(1.5rem, 20.4px + 0.75vw, 1.875rem);
  letter-spacing: -0.03em;
  line-height: 1.1;
  gap: 24px;
  margin-bottom: 8px;
  position: relative;
}
.wp-block-meta-staff h2 span {
  background-color: white;
  position: relative;
  z-index: 1;
  padding-right: 24px;
}
.wp-block-meta-staff h2::after {
  content: "";
  height: 1px;
  background: rgba(76, 90, 102, 0.15);
  position: absolute;
  top: 50%;
  width: 100%;
  left: 0;
}
.wp-block-meta-staff .staff {
  display: flex;
  align-items: center;
  gap: 16px clamp(24px, -16px + 0.0833333333 * 100vw, 32px);
  position: relative;
}
@media screen and (min-width: 576px) {
  .wp-block-meta-staff .staff {
    flex-direction: column;
    align-items: flex-start;
    width: calc((100% - 1 * clamp(24px, 19.2px + 0.01 * 100vw, 32px)) / 2);
  }
}
@media screen and (min-width: 768px) {
  .wp-block-meta-staff .staff {
    width: calc((100% - 2 * clamp(24px, 19.2px + 0.01 * 100vw, 32px)) / 3);
  }
}
@media screen and (min-width: 992px) {
  .wp-block-meta-staff .staff {
    width: calc((100% - 3 * clamp(24px, 19.2px + 0.01 * 100vw, 32px)) / 4);
  }
}
.wp-block-meta-staff .staff figure {
  background: #4c5a66;
  aspect-ratio: 30/28;
  border-radius: var(--wp--custom--border--radius);
  overflow: hidden;
  position: relative;
  flex-shrink: 0;
  width: 30%;
  display: flex;
  align-items: center;
  justify-content: center;
}
@media screen and (min-width: 576px) {
  .wp-block-meta-staff .staff figure {
    width: 100%;
  }
}
.wp-block-meta-staff .staff figure img {
  position: absolute;
  z-index: 0;
  left: 0;
  top: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  transform-style: preserve-3d;
  transition: transform 0.5s ease;
  transform: scale(1.001);
}
.wp-block-meta-staff .staff figure svg {
  fill: rgb(121.8269662921, 140.1056179775, 155.7730337079);
  width: 60%;
  height: auto;
}
.wp-block-meta-staff .staff h3 {
  font-family: var(--wp--preset--font-family--secondary);
  font-size: clamp(1rem, 14.8px + 0.25vw, 1.125rem);
  font-weight: 600;
  margin: 0 0 6px 0;
}
.wp-block-meta-staff .staff a {
  text-decoration: none;
  color: var(--wp--custom--color--heading);
  transition: color 0.2s ease;
  outline: none !important;
}
.wp-block-meta-staff .staff a:hover {
  color: rgb(24.7454081633, 118.0269856591, 213.0045918367);
}
.wp-block-meta-staff .staff a:after {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
}
.wp-block-meta-staff .staff small {
  display: block;
  line-height: 1.1;
}
.wp-block-meta-staff .staff:hover img {
  transform: scale(1.05);
}
.wp-block-meta-staff .staff:has(a:focus-visible) figure {
  outline: 2px solid rgb(24.7454081633, 118.0269856591, 213.0045918367);
  outline-offset: 2px;
}
.wp-block-meta-staff .staff-cluster {
  display: flex;
  font-size: 1rem;
  line-height: 1.4;
}
.wp-block-meta-staff .staff-cluster .staff-wrapper:not(:nth-child(2)) {
  margin-left: -12px;
}
.wp-block-meta-staff .staff-cluster .staff-wrapper:only-child {
  margin-left: 0px;
}
.wp-block-meta-staff .staff-cluster .staff-wrapper:first-child {
  order: 10;
  display: flex;
  align-items: center;
  gap: 14px;
  z-index: 1;
}
.wp-block-meta-staff .staff-cluster .staff-wrapper:nth-child(n+5) {
  display: none;
}
.wp-block-meta-staff .staff-cluster figure {
  width: 48px;
  height: 48px;
  border-radius: 32px;
  overflow: hidden;
  box-shadow: 0 0 0 3px white;
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  background-color: #4c5a66;
}
.wp-block-meta-staff .staff-cluster img, .wp-block-meta-staff .staff-cluster picture {
  position: absolute;
  z-index: 0;
  left: 0;
  top: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  transform-style: preserve-3d;
}
.wp-block-meta-staff .staff-cluster svg {
  width: 70%;
  aspect-ratio: 1/1;
  fill: rgb(159.8764044944, 172.9325842697, 184.1235955056);
}
.wp-block-meta-staff .staff-cluster a {
  text-decoration: none;
}
.wp-block-meta-staff .staff-cluster small {
  display: block;
}

:root .acf-block-preview.wp-block-meta-staff .staff-list {
  padding-top: 0;
}
:root .acf-block-preview.wp-block-meta-staff figure {
  margin: 0;
}
