/*Font Family SCSS Vars
$primaryFont: "ubuntu", sans-serif;
$secondaryFont: "canada-type-gibson";
$systemFonts: "system-ui", "Segoe UI", "Roboto", "Helvetica", "Arial", sans-serif,
  "Apple Color Emoji", "Segoe UI Emoji", "Segoe UI Symbol";\
*/
/*
* Global button styling
*/
/*
* Breakpoint debugging
*/
/*
* MEDIA QUERIES
* Breakpoints for responsive sites
*/
/*
* SASS Parent append
* Useful if you want to add an append to the parent without writing it out again
* Usage: @include parent-append(":hover")
* Source: https://codepen.io/imkremen/pen/RMVBvq
*/
/*
* Skew
* Useful mixing to create skewed edges
* Usage: @include angle-edge(bottomright, 3deg, topleft, 3deg, #fff);
* Source: http://www.hongkiat.com/blog/skewed-edges-css/
*/
.block-team-grid .team-grid {
  position: relative;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  grid-gap: 2rem;
  align-items: start;
}
@media (max-width: 1024px) {
  .block-team-grid .team-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}
@media (max-width: 500px) {
  .block-team-grid .team-grid {
    grid-template-columns: 1fr;
  }
}
.block-team-grid .team-member {
  position: relative;
}
.block-team-grid .team-member:focus-visible {
  outline: 2px solid var(--wp--preset--color--pale-blue);
  outline-offset: -2px;
  border-radius: 2px;
}
.block-team-grid .team-grid-active .team-member {
  transition: all 0.2s ease-in-out;
}
.block-team-grid .team-grid-active .team-member[aria-expanded=true] .member-image {
  position: relative;
}
.block-team-grid .team-grid-active .team-member[aria-expanded=true] .member-image:after {
  width: 100%;
}
.block-team-grid .team-grid-active .team-member[aria-expanded=false] {
  opacity: 0.5;
}
.block-team-grid .member-image {
  transition: all 0.2s ease-in-out;
}
.block-team-grid .member-image:after {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: 0;
  height: 3px;
  background: var(--wp--preset--gradient--rainbow);
  transition: all 0.2s ease-in-out;
}
.block-team-grid .member-image:hover {
  cursor: pointer;
}
.block-team-grid .image {
  position: relative;
  height: 300px;
}
.block-team-grid .image img {
  position: absolute;
  left: 0;
  top: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.block-team-grid .member-details {
  padding: 2rem 0;
  min-height: 120px;
  overflow: hidden;
}
.block-team-grid .member-details .name {
  margin-bottom: 10px;
  position: relative;
  font-size: 2rem;
  line-height: 1.1;
  color: #000;
}
.block-team-grid .member-details .institution,
.block-team-grid .member-details .position {
  margin: 0;
  font-weight: 400;
  font-size: 1.6rem;
  line-height: 1.2;
  text-transform: uppercase;
}
.block-team-grid .member-bio {
  position: relative;
  z-index: 2;
  width: calc(300% + 4rem);
  display: none;
  height: 0;
  overflow: hidden;
  pointer-events: none;
  background: #fff;
  transition: 200ms ease-out;
}
@media (max-width: 1024px) {
  .block-team-grid .member-bio {
    width: calc(200% + 2rem);
  }
}
@media (max-width: 500px) {
  .block-team-grid .member-bio {
    width: 100%;
  }
}
.block-team-grid .member-bio .bio {
  padding: 0;
  max-width: 100%;
  overflow: hidden;
}
.block-team-grid .member-bio .bio > * + * {
  margin-top: 2rem;
  margin-bottom: 0;
}
.block-team-grid .member-bio .bio > div {
  margin-bottom: var(--wp--preset--spacing--large);
}
.block-team-grid .member-bio__footer {
  max-width: 100%;
}
.block-team-grid .member-bio__footer div:first-child {
  width: 45%;
  float: left;
}
.block-team-grid .member-bio__footer div:nth-child(2) {
  width: 45%;
  float: right;
}
