:root {
  --sidebar-width: 31rem;
  --layout-gap: 4rem;
  --wp--style--block-gap: clamp(3.5rem, 2.737rem + 1.404vw, 4rem);
}

@media (min-width: 1300px) {
  :root {
    --sidebar-width: 34rem;
    --layout-gap: 6rem;
  }
}
.team-listing {
  overflow: hidden;
}
p + .team-listing, h2 + .team-listing, h3 + .team-listing, h4 + .team-listing, h5 + .team-listing, h6 + .team-listing {
  margin-top: 3rem;
}
.team-listing + .team {
  margin-top: 3rem;
}
div + .team-listing {
  margin-top: 4rem;
}
.team-listing.team-fade .team-head:not(.open) h3, .team-listing.team-fade .team-head:not(.open) p, .team-listing.team-fade .team-head:not(.open) .profile {
  opacity: 0.35;
}

.team-head {
  margin: 0;
  position: relative;
  cursor: pointer;
}
.team-head img {
  width: 100%;
  height: auto;
  line-height: 0;
  margin: 0;
  border-radius: 4px;
  aspect-ratio: 1/1.1;
  object-fit: cover;
}
.team-head .profile {
  width: 100%;
  line-height: 0;
  background: rgba(55, 42, 102, 0.15);
  border-radius: 5px;
  position: relative;
  transition: background 0.35s ease-in-out, opacity 0.35s ease-in-out;
}
.team-head .committees {
  list-style: none;
  margin: 0;
  padding: 0;
  position: absolute;
  top: 1rem;
  right: 1rem;
}
.team-head .committees li {
  width: 26px;
  height: 26px;
  font-family: var(--wp--preset--font-family--secondary);
  font-size: 14px;
  line-height: 1;
  text-transform: uppercase;
  text-align: center;
  margin: 0 0 0.6rem 0;
  padding: 4px 0 0 0;
  background: rgba(248, 248, 248, 0.5);
  border: 1.5px solid #6143B4;
  border-radius: 100%;
}
.team-head .team-details {
  display: flex;
  width: 100%;
  margin: 0;
}
.team-head .team-details .title {
  width: 100%;
  padding: 1.9rem 0 0 0;
}
.team-head .team-details h3 {
  font-size: var(--wp--preset--font-size--font-21);
  font-weight: 400;
  text-transform: uppercase;
  margin: 0;
  color: #000;
  transition: color 0.18s ease-in-out, opacity 0.18s ease-in-out;
}
.team-head .team-details h3:after {
  content: "";
  display: block;
  width: 80%;
  max-width: 155px;
  height: 1px;
  margin: 0.8ch 0;
  background: #B11226;
}
.team-head .team-details p {
  font-size: var(--wp--preset--font-size--font-16);
  margin: 0;
  transition: color 0.18s ease-in-out, font-weight 0.18s ease-in-out, opacity 0.18s ease-in-out;
}
.team-head.open .profile, .team-head:hover .profile {
  background: rgba(68, 48, 124, 0.075);
}
.team-head.open .team-details h3, .team-head:hover .team-details h3 {
  color: #44307C;
}

.team-bio {
  width: 100%;
  height: 0;
  transition: height 0.3s ease-in-out, border 0.3s ease-in-out;
  overflow: hidden;
}
.team-bio .inner {
  margin: 0 0 4rem 0;
  padding: 2.5rem 0;
  border-top: 1px solid rgba(55, 42, 102, 0.4);
  border-bottom: 1px solid rgba(55, 42, 102, 0.4);
  opacity: 0;
}
.team-bio h4 {
  font-size: var(--wp--preset--font-size--font-30);
  font-weight: 400;
  margin: 0 0 0.2ch 0;
}
.team-bio p.meta {
  font-size: 1.6rem;
  color: rgba(16, 16, 16, 0.8);
  text-transform: uppercase;
}
.team-bio p.meta span {
  display: block;
}
.team-bio p:last-of-type {
  margin: 0;
}
.team-bio .committees {
  list-style: none;
  margin: 2rem 0 0 0;
  padding: 0;
}
.team-bio .committees li {
  display: flex;
  flex-wrap: wrap;
  gap: 1rem;
  align-items: center;
  font-size: 14px;
  margin: 0 0 0.8rem 0;
}
.team-bio .committees li em {
  display: block;
  width: 26px;
  height: 26px;
  font-family: var(--wp--preset--font-family--secondary);
  font-style: normal;
  line-height: 1;
  text-transform: uppercase;
  text-align: center;
  padding: 4px 0 0 0;
  background: rgba(68, 48, 124, 0.075);
  border: 1.5px solid #6143B4;
  border-radius: 100%;
}
.team-bio .committees li:first-child {
  font-size: var(--wp--preset--font-size--font-17);
  margin-bottom: 1.3ch;
}
.team-bio.active-tab {
  height: auto;
}
.team-bio.active-tab .inner {
  animation: fadeIn 1s forwards 0.15s;
}

@media (min-width: 420px) {
  .team-listing {
    margin: 0 -18px 0px -8px;
  }
  .team-head {
    width: calc(50% - 23px);
    display: inline-flex;
    flex-wrap: wrap;
    align-items: baseline;
    margin: 0 7px 20px 8px;
  }
  .team-bio {
    float: left;
    padding-left: 8px;
    padding-right: 18px;
  }
}
@media (max-width: 749px) {
  .acc-panel {
    margin-bottom: 0 !important;
    padding-bottom: 0 !important;
  }
}
@media (min-width: 750px) {
  .team-head {
    width: calc(33.33% - 22px);
  }
  .team-bio {
    padding-right: 21px;
  }
}
.page-template-page-full-width .team-head {
  background: #F8F8F8;
}
@media (min-width: 1100px) {
  .page-template-page-full-width .team-head {
    width: calc(25% - 21px);
  }
  .page-template-page-full-width .team-bio {
    padding-right: 21px;
  }
}
