/* stylelint-disable */
/* stylelint-disable max-line-length */
:root {
  --breakpoint-xxl: 1920px;
  --breakpoint-xl: 1440px;
  --breakpoint-lg: 1280px;
  --breakpoint-md: 1024px;
  --breakpoint-md-s: 992px;
  --breakpoint-sm: 768px;
  --breakpoint-xs: 512px;
  --breakpoint-xxs: 390px;
}

/* stylelint-disable */
/* stylelint-disable */
/* stylelint-disable */
/*
  This mixin can be used to set the object-fit:
  @include object-fit(contain);

  or object-fit and object-position:
  @include object-fit(cover, top);
*/
.wp-block .about-team,
.about-team {
  padding: 20px;
}
@media (max-width: 1024px) {
  .wp-block .about-team__members,
  .about-team__members {
    flex-direction: row;
    flex-wrap: wrap;
    gap: 25px;
  }
}
.wp-block .about-team__member,
.about-team__member {
  padding-top: 50px;
  padding-bottom: 50px;
  position: relative;
  cursor: pointer;
}
@media (max-width: 1024px) {
  .wp-block .about-team__member,
  .about-team__member {
    flex-direction: column;
    width: 48%;
  }
}
@media (max-width: 512px) {
  .wp-block .about-team__member,
  .about-team__member {
    width: 100%;
  }
}
.wp-block .about-team__member h2,
.wp-block .about-team__member span,
.about-team__member h2,
.about-team__member span {
  opacity: 1;
  transition: opacity 0.5s ease;
}
.wp-block .about-team__member h2:first-child,
.about-team__member h2:first-child {
  margin-right: 10px;
}
@media (max-width: 768px) {
  .wp-block .about-team__member h2,
  .about-team__member h2 {
    font-size: 26px;
  }
}
.wp-block .about-team__member:not(:last-child),
.about-team__member:not(:last-child) {
  border-bottom: 1px solid rgba(255, 255, 255, 0.2);
}
.wp-block .about-team__member:hover .about-team__photo,
.about-team__member:hover .about-team__photo {
  opacity: 1;
  top: 0;
}
.wp-block .about-team__member.inactive h2,
.wp-block .about-team__member.inactive span,
.about-team__member.inactive h2,
.about-team__member.inactive span {
  opacity: 0.2;
}
.wp-block .about-team__photo,
.about-team__photo {
  position: absolute;
  left: 50%;
  top: 50px;
  opacity: 0;
  transition: 0.5s ease;
  z-index: 1;
  transform: translate(-25%, -25%);
}
@media (max-width: 1024px) {
  .wp-block .about-team__photo,
  .about-team__photo {
    position: static;
    opacity: 1;
    order: -1;
    width: 100%;
    transform: none;
  }
}
.wp-block .about-team__photo img,
.about-team__photo img {
  width: 260px;
  height: 340px;
}
@media (max-width: 1024px) {
  .wp-block .about-team__photo img,
  .about-team__photo img {
    width: 100%;
    height: auto;
  }
}
