.amb-join {
  margin-bottom: 100px;
  overflow-x: clip;
}

.amb-join .c-container {
  flex-flow: column;
  display: flex;
}

.amb-join .prd-head {
  margin-bottom: 20px;
}

.amb-join__button {
  align-self: center;
}

.amb-join__cards {
  gap: 4px;
  margin-top: 20px;
  margin-right: calc(50% - 50vw);
  display: flex;
}

.amb-join__card {
  color: #fff;
  border-radius: 15.73px;
  flex: none;
  flex-flow: column;
  justify-content: flex-end;
  width: 203.5px;
  height: 255.6px;
  padding: 11.8px;
  display: flex;
  position: relative;
}

.amb-join__card_person {
  background-color: #2a2a34;
}

/* No overflow clipping on the card: in Chrome it drops the mask from backdrop-filter on rotated cards */
.amb-join__img,
.amb-join__card_person:after {
  border-radius: inherit;
}

.amb-join__card_person:after {
  content: "";
  -webkit-backdrop-filter: blur(6px);
  backdrop-filter: blur(6px);
  background-image: linear-gradient(rgba(42, 42, 52, 0), #2a2a34);
  -webkit-mask-image: linear-gradient(transparent, #000 50%);
  mask-image: linear-gradient(transparent, #000 50%);
  height: 38%;
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
}

.amb-join__img {
  object-fit: cover;
  width: 100%;
  height: 100%;
  position: absolute;
  inset: 0;
}

.amb-join__name {
  z-index: 1;
  letter-spacing: -.02em;
  font-family: Inter, sans-serif;
  font-size: 19.66px;
  font-weight: 600;
  line-height: 1.15;
  position: relative;
}

.amb-join__card_empty {
  color: #b1c2e0;
  text-align: center;
  justify-content: center;
  align-items: center;
  gap: 24px;
}

.amb-join__border {
  pointer-events: none;
  width: 100%;
  height: 100%;
  position: absolute;
  inset: 0;
  overflow: visible;
}

.amb-join__border rect {
  fill: none;
  stroke: currentColor;
  stroke-width: 1.7px;
  stroke-dasharray: 10 10;
  stroke-linecap: round;
  rx: 14.88px;
  x: .85px;
  y: .85px;
  width: calc(100% - 1.7px);
  height: calc(100% - 1.7px);
}

.amb-join__plus {
  flex: none;
}

@media screen and (max-width: 767px) {
  .amb-join {
    margin-bottom: 17px;
  }

  .amb-join__button {
    align-self: stretch;
    margin-left: 8px;
    margin-right: 8px;
  }

  .amb-join__cards {
    height: 245.5px;
    margin: 20px -16px 0;
    display: block;
    position: relative;
  }

  .amb-join__card {
    transform-origin: 0 0;
    border-radius: 12px;
    width: 154.6px;
    height: 194.2px;
    padding: 9px;
    position: absolute;
  }

  .amb-join__name {
    font-size: 14.94px;
  }

  .amb-join__card_empty {
    gap: 18.24px;
  }

  .amb-join__border rect {
    stroke-width: 1.3px;
    stroke-dasharray: 7.6 7.6;
    rx: 11.35px;
    x: .65px;
    y: .65px;
    width: calc(100% - 1.3px);
    height: calc(100% - 1.3px);
  }

  .amb-join__card_person:first-child {
    z-index: 2;
    top: 49px;
    left: calc(50% - 158.5px);
    transform: rotate(-15deg);
  }

  .amb-join__card_person + .amb-join__card_person {
    z-index: 3;
    border: 1px solid #f2f2f2;
    top: 13.1px;
    left: calc(50% - 28.7px);
    transform: rotate(10.6deg);
  }

  .amb-join__card_person + .amb-join__card_empty {
    z-index: 4;
    -webkit-backdrop-filter: blur(9px);
    backdrop-filter: blur(9px);
    background-color: rgba(255, 255, 255, .1);
    top: 0;
    left: calc(50% + 123.3px);
    transform: rotate(30deg);
  }

  .amb-join__card_person + .amb-join__card_empty + .amb-join__card_empty {
    z-index: 1;
    top: 77.3px;
    left: calc(50% - 257.2px);
    transform: rotate(-30deg);
  }

  .amb-join__card_empty + .amb-join__card_empty ~ .amb-join__card_empty {
    display: none;
  }
}
