@import url(https://fonts.googleapis.com/css2?family=Inter:ital,opsz,wght@0,14..32,100..900;1,14..32,100..900&display=swap);
.wp-block-team__wrap {
  display: flex;
  align-items: stretch;
  justify-content: center;
  flex-wrap: wrap;
  gap: 33px;
  margin: 60px 0;
}
@media (max-width: 768px) {
  .wp-block-team__wrap {
    margin: 30px 0 60px 0;
  }
}
.wp-block-team__title {
  border-radius: 4px;
  background: rgba(251, 31, 70, 0.2);
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 24px;
  max-width: 223px;
  width: 100%;
}
@media (max-width: 965px) {
  .wp-block-team__title {
    width: 100%;
    max-width: 100%;
  }
}
.wp-block-team__title h3 {
  color: #FB1F46;
  font-size: 37px;
  font-weight: 590;
  letter-spacing: 0.74px;
  line-height: 1.06;
  font-family: "Inter", sans-serif;
  margin: 0;
}
.wp-block-team__member {
  display: flex;
  align-items: center;
  justify-content: flex-start;
  flex-direction: column;
  width: 100%;
  max-width: 250px;
  padding: 0 16px;
}
.wp-block-team__member button {
  background: 0;
  border: 0;
  cursor: pointer;
  position: relative;
  padding: 0;
  margin-bottom: 10px;
}
.wp-block-team__member button:hover i, .wp-block-team__member button:focus i {
  background: #1E1E1E;
}
.wp-block-team__member figure {
  border-radius: 212px;
  border: solid 12px #FB1F46;
  width: 212px;
  aspect-ratio: 1/1;
  overflow: clip;
  margin: 0;
  padding: 0;
  position: relative;
}
.wp-block-team__member figure img {
  -o-object-fit: cover;
     object-fit: cover;
  width: 100%;
  height: 100%;
  display: block;
}
.wp-block-team__member i {
  position: absolute;
  right: 15px;
  bottom: 2px;
  width: 52px;
  height: 52px;
  background: #FB1F46;
  border-radius: 999px;
  color: #FFF;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.5em;
  box-shadow: 0 5px 20px 0 rgba(0, 0, 0, 0.3);
  transition: all 0.25s ease-in-out;
}
.wp-block-team .team-member__name {
  font-size: 30px;
  font-weight: 510px;
  line-height: 1.2;
  font-family: "Inter", sans-serif;
  color: #FB1F46;
  margin-bottom: 0;
  text-align: center;
}
.wp-block-team .team-member__position {
  color: #1E1E1E;
  font-size: 17px;
  font-weight: 510px;
  line-height: normal;
  letter-spacing: -0.34px;
  text-align: center;
}

.wp-block-team .tower-modal * {
  color: #FFF;
}
.wp-block-team .tower-modal figure {
  padding: 0;
}
.wp-block-team .tower-modal__header {
  display: flex;
  align-items: center;
  gap: 30px;
  margin-bottom: 30px;
}
@media (max-width: 650px) {
  .wp-block-team .tower-modal__header {
    flex-direction: column;
    gap: 15px;
  }
  .wp-block-team .tower-modal__header * {
    text-align: center;
  }
}
.wp-block-team .tower-modal__header figure {
  width: 100%;
  max-width: 131px;
  aspect-ratio: 1/1;
  margin: 0;
  border: 0;
}
.wp-block-team .tower-modal__header figure img {
  -o-object-fit: cover;
     object-fit: cover;
  width: 100%;
  height: 100%;
  display: block;
}
.wp-block-team .tower-modal__header .team-member__name {
  font-size: 50px;
  font-weight: 590;
  line-height: 1.2;
  color: #FFF;
  display: block;
}
.wp-block-team .tower-modal__header .team-member__position {
  font-size: 27px;
  font-weight: 400;
  line-height: normal;
  letter-spacing: -0.27px;
  color: #FFF;
  display: block;
}
.wp-block-team .tower-modal__body {
  color: #FFF;
  font-size: 16px;
  font-weight: 400;
  line-height: normal;
}
.wp-block-team .tower-modal__footer {
  display: flex;
  gap: 40px;
  justify-content: space-between;
  align-items: flex-start;
  width: 100%;
}
@media (max-width: 650px) {
  .wp-block-team .tower-modal__footer {
    flex-direction: column;
    gap: 24px;
  }
}
.wp-block-team .tower-modal__footer h4 {
  font-size: 24px;
  font-weight: 590;
  line-height: normal;
  margin-bottom: 10px;
}
.wp-block-team .tower-modal__footer > span, .wp-block-team .tower-modal__footer a {
  font-size: 18px;
  font-weight: 400;
  line-height: 1.3;
  margin-bottom: 3px;
  display: block;
}
.wp-block-team .tower-modal__footer > span:last-child, .wp-block-team .tower-modal__footer a:last-child {
  margin-bottom: 0;
}
.wp-block-team .tower-modal__footer a:hover {
  text-decoration: none;
}

body:has(.tower-modal[open]) {
  overflow: hidden;
}

.tower-modal {
  border: 0;
  width: 100%;
  max-width: 100%;
  height: 100%;
  max-height: 100%;
  background: none;
  padding: 0;
  justify-content: center;
  align-items: center;
  display: flex;
  transform: scale(0);
}
.tower-modal__bg {
  position: absolute;
  width: 100%;
  height: 100%;
  background: rgba(0, 0, 0, 0.5);
  z-index: 1;
  opacity: 0;
  transition: all 0.5s ease;
}
.tower-modal__wrap {
  background: #FB1F46;
  flex-direction: column;
  align-items: flex-start;
  gap: 25px;
  border: 0;
  max-width: 630px;
  width: calc(100% - 30px);
  height: calc(100% - 30px);
  max-height: 690px;
  position: absolute;
  z-index: 2;
  margin: 15px;
}
.tower-modal__content {
  padding: 30px 30px 34px 30px;
  overflow-y: auto;
  overflow-x: clip;
  height: 100%;
}
.tower-modal__content a:focus {
  outline: none;
}
.tower-modal__content a:focus-visible {
  outline: solid 1px white;
}
.tower-modal[open] {
  transform: scale(1);
  transition: transform 0s ease 0s;
}
.tower-modal[open] .tower-modal__bg {
  opacity: 1;
}
.tower-modal .btn-close-dialog {
  width: 52px;
  height: 52px;
  background: #FB1F46;
  border-radius: 52px;
  position: absolute;
  right: -80px;
  top: 0;
  font-size: 1.25em;
}
.tower-modal .btn-close-dialog:focus {
  outline: none;
}
.tower-modal .btn-close-dialog:focus-visible {
  outline: solid 1px white;
}
@media (max-width: 850px) {
  .tower-modal .btn-close-dialog {
    right: 5px;
    top: 5px;
  }
}
@media (max-width: 650px) {
  .tower-modal .btn-close-dialog {
    right: 15px;
  }
}
.tower-modal .btn-close-dialog::before {
  content: "\eaf8";
  font-family: "icomoon";
  color: #FFF;
  position: absolute;
  left: 50%;
  top: 50%;
  transform: translate(-50%, -50%) rotate(45deg);
}
.tower-modal .btn-close-dialog:hover {
  background: #1E1E1E;
}
