: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 {
  display: grid;
  grid-template-columns: 1fr;
  grid-gap: 4rem;
  align-items: start;
}
@media (min-width: 650px) {
  .team {
    grid-template-columns: repeat(2, 1fr);
  }
}
@media (min-width: 1024px) {
  .team {
    grid-template-columns: repeat(3, 1fr);
  }
}
.team__member {
  cursor: pointer;
  transition: background 0.45s cubic-bezier(0.4, 0, 0.2, 1);
}
.team__member .bio-content {
  display: none;
}
.team__member:hover .profile .meta {
  color: #7085EF;
}
.team__member:hover .profile .title {
  border-color: #7085EF;
}
.team__member:hover .profile .title:before {
  opacity: 1;
}
.team .profile img {
  width: 100%;
  height: auto;
  aspect-ratio: 2/1.4;
  object-fit: cover;
  margin-bottom: 1.4rem;
  border-radius: 6px;
}
.team .profile .title {
  border-top: 1px dashed rgba(112, 133, 239, 0.7);
  padding: 1.4rem 4rem 0 0;
  position: relative;
  transition: border 0.45s ease-in-out;
}
.team .profile .title:before {
  content: "";
  display: block;
  width: 32px;
  height: 32px;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='38' height='38' fill='none'%3E%3Crect width='37' height='37' x='.5' y='.5' stroke='%238796e0' rx='18.5'/%3E%3Cpath stroke='%238796e0' stroke-linecap='round' stroke-linejoin='round' stroke-width='1.5' d='m24.056 23.394 4.394-4.343-4.394-4.445'/%3E%3Cpath stroke='%238796e0' stroke-linecap='round' stroke-width='1.5' d='M27.75 19.048h-17.5'/%3E%3C/svg%3E");
  background-size: cover;
  position: absolute;
  top: 14px;
  right: 0;
  opacity: 0.7;
  transition: opacity 0.45s ease-in-out;
}
.team .profile h3 {
  font-size: var(--wp--preset--font-size--font-24);
  line-height: 1.25;
  margin: 0 0 0.4ch 0;
  color: #FFF;
}
.team .profile .meta {
  font-size: var(--wp--preset--font-size--font-16);
  line-height: 1.2;
  color: rgba(112, 133, 239, 0.6);
  transition: color 0.45s cubic-bezier(0.4, 0, 0.2, 1);
}

html.modal-opened {
  overflow: hidden;
}

#team__modal {
  background: linear-gradient(114deg, rgba(235, 233, 229, 0.965) 5%, rgba(19, 38, 58, 0.98) 125%);
  opacity: 0;
  visibility: hidden;
  inset: 0;
  position: fixed;
  z-index: 9999;
  transition: 0.5s ease 0.2s;
  pointer-events: all;
}
#team__modal .modal-inner {
  max-width: 500px;
  height: 100%;
  background: rgb(231.9739130435, 229.6713043478, 225.0660869565);
  position: absolute;
  right: 0;
  transform: translateX(100%);
  transition: 0.5s ease;
  pointer-events: all;
  z-index: 200;
}
#team__modal .modal-content {
  display: flex;
  flex-wrap: wrap;
  flex-direction: column;
  height: 100%;
}
#team__modal .modal-content img {
  width: 100%;
  height: 320px;
  object-fit: cover;
}
#team__modal .modal-content #title {
  width: 100%;
  margin-bottom: 2rem;
  padding: 3rem 3.5rem 2rem 3.5rem;
  border-bottom: 1px dashed #2832C6;
}
#team__modal .modal-content #title h3 {
  font-size: var(--wp--preset--font-size--font-34);
  margin: 0 0 0.15ch 0;
  color: #2832C6;
}
#team__modal .modal-content #title p {
  font-size: var(--wp--preset--font-size--font-18);
  color: rgba(19, 38, 58, 0.7);
}
#team__modal .modal-content #bio {
  width: 100%;
  height: calc(100% - 560px);
  padding: 0 3.5rem 5rem 3.5rem;
  position: relative;
  overflow: auto;
}
#team__modal .modal-content #bio p {
  font-size: 1.7rem;
  color: #0a0d14;
}
#team__modal .modal-content #bio::-webkit-scrollbar {
  width: 8px;
  border-radius: 8px;
}
#team__modal .modal-content #bio::-webkit-scrollbar-thumb {
  background: rgba(40, 50, 198, 0.55);
  border-radius: 8px;
  border: none;
  transition: 0.2s ease;
  opacity: 0;
  border-radius: 8px;
}
#team__modal .modal-content #bio::-webkit-scrollbar-track {
  background: rgba(197, 203, 216, 0.95);
  border-radius: 8px;
}
#team__modal .modal-content #bio:hover::-webkit-scrollbar-thumb {
  opacity: 1;
}
#team__modal .modal-content .li {
  display: flex;
  flex-wrap: wrap;
  gap: 1ch;
  align-items: center;
  font-size: var(--wp--preset--font-size--font-16);
  font-weight: 300;
  text-transform: uppercase;
  margin-top: 3.5rem;
  color: #FFF;
}
#team__modal .modal-content .li svg {
  width: 22px;
  height: 22px;
}
#team__modal .modal-content .li em {
  font-style: normal;
}
#team__modal.active {
  opacity: 1;
  visibility: visible;
  transition-delay: 0;
}
#team__modal.active .modal-inner {
  transform: translateX(0);
  transition-delay: 0.2s;
  opacity: 1;
}
#team__modal .modal-controls {
  height: 44px;
  position: absolute;
  bottom: 2rem;
  left: 3.5rem;
  right: 3.5rem;
  z-index: 9;
}
#team__modal #close {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  width: 44px;
  height: 44px;
  font-size: 30px;
  font-weight: 200;
  line-height: 5px;
  text-align: center;
  padding-top: 18px;
  color: #2832C6;
  background: transparent;
  border: 1px solid #2832C6;
  border-radius: 100%;
  -webkit-appearance: none;
  cursor: pointer;
  position: absolute;
  top: 0;
  right: 0;
  transition: color 0.45s ease-in-out, background 0.45s ease-in-out;
}
#team__modal #close:hover {
  color: #FFF;
  background: #2832C6;
}
#team__modal .swiper-button-prev,
#team__modal .swiper-button-next {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: center;
  width: 44px;
  height: 44px;
  border: 1px solid #2832C6;
  border-radius: 100%;
  margin: 0;
  transition: background 0.45s ease-in-out;
}
#team__modal .swiper-button-prev.disabled,
#team__modal .swiper-button-next.disabled {
  opacity: 0.3;
  cursor: text;
}
#team__modal .swiper-button-prev:after,
#team__modal .swiper-button-next:after {
  display: none;
}
#team__modal .swiper-button-prev svg,
#team__modal .swiper-button-next svg {
  width: 13px;
  height: 12px;
}
#team__modal .swiper-button-prev svg path,
#team__modal .swiper-button-next svg path {
  stroke: #2832C6;
  transition: stroke 0.45s ease-in-out;
}
#team__modal .swiper-button-prev:hover,
#team__modal .swiper-button-next:hover {
  background: #2832C6;
}
#team__modal .swiper-button-prev:hover path,
#team__modal .swiper-button-next:hover path {
  stroke: #FFF;
}
#team__modal .swiper-button-next {
  top: 0;
  left: 54px;
}
#team__modal .swiper-button-prev {
  top: 0;
  left: 0;
}

html.menu-opened #team__modal {
  pointer-events: all;
}

.is-hidden {
  display: none;
}
