.stages-eleven-block {
  position: relative;
  display: flex;
  flex-direction: column;
  overflow: hidden;
  padding: 30px 0;
}

.stages-eleven-block .p1 {
  color: var(--text-primary-main);
}

.stages-eleven-block * {
  box-sizing: border-box;
}

.stages-eleven-block .block-title {
  margin-bottom: 20px;
}

.stages-eleven-block .subtitle {
  margin-bottom: 40px;
  max-width: 1000px;
}

.stages-eleven-block::after {
  content: "";
  position: absolute;
  top: 0;
  left: 50%;
  transform: translateX(-50%);
  width: 100vw;
  height: 100%;
  background: var(--bg-primary-main);
  z-index: -2;
}

.stages-eleven-block-btn {
  display: flex;
  flex-direction: row;
  justify-content: center;
  align-items: center;
  height: 60px;
  padding: 0px 22px;
  color: var(--text-primary-head);
  border: 1px solid var(--colors-main);
  border-radius: 5px;
  background: var(--bg-primary-main);
  white-space: nowrap;
  text-decoration: none;
  transition: all 0.3s ease-in-out;
  font-size: 16px;
  font-weight: 500;
  line-height: 110%;
  width: -moz-fit-content;
  width: fit-content;
  margin-top: auto;
  cursor: pointer;
}

.stages-eleven-block-btn:hover {
  color: var(--bg-primary-main);
  background: var(--colors-main);
}

.stages-eleven-block__title {
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  /* gap: 15px; */
}

.stages-eleven-block__title .block-title {
  margin-bottom: 40px;
  max-width: 750px;
}

.stages-eleven-block__title .block-title span {
  color: var(--colors-second);
}

@media (max-width: 700px) {
  .stages-eleven-block__title .block-title {
    font-size: 24px;
  }
}

.stages-eleven-block__title .info_plate {
  display: flex;
  flex-direction: row;
  justify-content: center;
  align-items: center;
  gap: 10px;
  height: 44px;
  padding: 0px 20px;
  background: var(--bg-primary-second);
  border-radius: 100px;
  width: -moz-fit-content;
  width: fit-content;
  flex-shrink: 0;
}

.stages-eleven-block__title .info_plate svg path {
  fill: var(--colors-second);
  stroke: var(--colors-second);
}

.stages-eleven-block img,
.stages-eleven-block svg {
  width: 100%;
  -o-object-fit: cover;
  object-fit: cover;
}

.stages-eleven-block__left {
  display: flex;
  flex-direction: column;
}

.stages-eleven-block__left .modal-block {
  display: flex;
  flex-direction: column;
  gap: clamp(1.25rem, 0.962rem + 1.28vw, 2.5rem);
  padding: clamp(1.25rem, 1.106rem + 0.64vw, 1.875rem);
  background: var(--bg-primary-second);
  border-radius: 10px;
  overflow: hidden;
  position: sticky;
  top: 30%;
}

.stages-eleven-block__left .modal-block__bottom {
  display: flex;
  flex-direction: row;
  gap: 20px;
}

.stages-eleven-block__left .modal-block__bottom-socials {
  display: flex;
  gap: 10px;
}

.stages-eleven-block__left .modal-block__bottom-socials .soc-icon {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 60px;
  height: 60px;
  background: var(--bg-primary-main);
  border-radius: 5px;
}

.stages-eleven-block__left .modal-block__bottom-socials .soc-icon img,
.stages-eleven-block__left .modal-block__bottom-socials .soc-icon svg {
  width: 24px;
  height: 24px;
}

.stages-eleven-block__right {
  width: 100%;
  flex-shrink: 0;
}

.stages-eleven-block__right .advantages {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 30px;
}

.postid-1470 .stages-eleven-block__right .advantages {
  grid-template-columns: repeat(3, 1fr);
}
.postid-1470 .stages-eleven-block__right .advantages:has(> :nth-child(8):last-child) {
  grid-template-columns: repeat(4, 1fr);
}

.stages-eleven-block__right .advantages .advantage {
  display: flex;
  flex-direction: column;
  /* justify-content: space-between; */
  background: var(--bg-primary-main);
  box-shadow: inset 0 4px 0 0 var(--colors-main);
  border: 1px solid var(--bg-primary-stroke);
  border-radius: 15px;
  padding: 30px;
  position: relative;
}

.stages-eleven-block__right .advantages .advantage::after {
  content: "";
  position: absolute;
  width: 30px;
  height: 30px;

  right: -30px;
  top: 50%;
  transform: translateY(-50%);

  background-image: url('data:image/svg+xml;utf8,<svg width="30" height="30" viewBox="0 0 30 30" fill="none" xmlns="http://www.w3.org/2000/svg"><path d="M25 15H5" stroke="%23C6A75E" stroke-linecap="round" stroke-linejoin="round" /><path d="M25 15L20 10" stroke="%23C6A75E" stroke-linecap="round" stroke-linejoin="round" /><path d="M25 15L20 20" stroke="%23C6A75E" stroke-linecap="round" stroke-linejoin="round" /></svg>');
  background-repeat: no-repeat;
  background-position: center;
  background-size: contain;

  pointer-events: none;
  transition: transform 0.3s ease;
}

.advantage.no-arrow::after {
  display: none;
}

.stages-eleven-block__right .advantages .advantage__left {
  display: flex;
  flex-direction: column;
  gap: 10px;
  /* padding: 30px; */
}

.stages-eleven-block__right .advantages .advantage__left-title {
  display: flex;
  gap: 20px;
  color: var(--text-alt-head);
  align-items: center;
}

.stages-eleven-block__right .advantages .advantage__left-title .title {
  font-weight: 700;
  font-size: 20px;
  line-height: 130%;
  color: var(--text-primary-head);
}

.stages-eleven-block__right .advantages .advantage__left-title p {
  background: var(--bg-primary-main);
  border: 1px solid var(--colors-main);
  border-radius: 100px;
  padding: 6px 12px;
  font-weight: 500;
  font-size: 17px;
  line-height: 140%;
  color: var(--text-primary-head);
  white-space: nowrap;
}

@media (max-width: 1024px) {
  .stages-eleven-block__right .advantages .advantage__left-title p {
    padding: 6px;
  }

  .stages-eleven-block {
    padding: 40px 0;
  }
}

@media (max-width: 768px) {
  .stages-eleven-block {
    padding: 20px 0;
  }
}

.stages-eleven-block__right .advantages .advantage__left-desc {
  font-weight: 500;
  font-size: 17px;
  line-height: 140%;
  color: var(--text-primary-main);
}

.stages-eleven-block__right .advantages .advantage__right {
  display: flex;
  gap: 20px;
  justify-content: space-between;
  margin-bottom: 50px;
}

.postid-1470 .stages-eleven-block__right .advantages .advantage__right {
  margin-bottom: 20px;
}

.stages-eleven-block__right .advantages .advantage__right .numbers {
  font-weight: 300;
  font-size: 50px;
  line-height: 100%;
  color: var(--colors-main);
}

.stages-eleven-block__right .advantages .advantage__icon {
  width: 30px;
  height: 30px;
}

.stages-eleven-block__right .advantages .advantage__icon img {
  width: 100%;
  height: 100%;
}

.stages-eleven-block__right .advantages.advantages--no-numbers .advantage__icon {
  width: 60px;
  height: 60px;
}

.stages-eleven-block .btn.invert {
  white-space: nowrap;
  margin-top: 40px;
}

.postid-1470 .stages-eleven-block .btn.invert {
  display: none;
}

@media (max-width: 1199.98px) {
  .stages-eleven-block-container {
    flex-direction: column;
  }

  .stages-eleven-block__right {
    max-width: unset;
  }

  .stages-eleven-block__right .advantages,
  .postid-1470 .stages-eleven-block__right .advantages {
    grid-template-columns: repeat(2, 1fr);
  }

  .stages-eleven-block__right .advantages .advantage {
    min-height: 180px;
    position: relative;
  }

  .stages-eleven-block__right .advantages .advantage__right {
    /* position: absolute; */
    right: 0;
    top: 0px;
    /* height: 100%; */
    /* max-height: unset; */
    /* padding: 10px; */
  }

  .stages-eleven-block__right .advantages .advantage__right img {
    border-radius: 10px;
  }

  .stages-eleven-block__right .advantages .advantage__left {
    /* padding-right: 360px; */
  }

  .stages-eleven-block__right .advantages .advantage::after {
    display: block;
  }

  .stages-eleven-block__right .advantages .advantage:nth-child(2n)::after {
    display: none;
  }

  .stages-eleven-block__right .advantages .advantage:last-child::after {
    display: none;
  }
}

@media (max-width: 699.98px) {
  .stages-eleven-block__right .advantages .advantage {
    flex-direction: column;
  }

  .stages-eleven-block__right .advantages,
  .postid-1470 .stages-eleven-block__right .advantages {
    grid-template-columns: repeat(1, 1fr);
  }

  .stages-eleven-block__right .advantages .advantage__left {
    padding-right: 30px;
  }

  .stages-eleven-block__right .advantages .advantage__right {
    position: relative;
    max-height: 260px;
    max-width: unset;
  }

  .stages-eleven-block__right .advantages .advantage::after {
    display: block;
    right: 50%;
    bottom: -30px;
    top: auto;
    transform: translateX(50%) rotate(90deg);
  }

  .stages-eleven-block__right .advantages .advantage:nth-child(2n)::after {
    display: block;
  }

  .stages-eleven-block__right .advantages .advantage:last-child::after {
    display: none !important;
  }
}

@media (max-width: 549.98px) {
  .stages-eleven-block__left .modal-block__bottom {
    flex-wrap: wrap;
  }

  .stages-eleven-block__left .modal-block__bottom .btn {
    width: 100%;
  }
}

.notice__desc ul {
  list-style: none;
  padding-left: 0;
  margin: 0;
}

.notice__desc ul li {
  position: relative;
  padding-left: 28px;
  margin-bottom: 10px;
  line-height: 1.4;
}

.notice__desc ul li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0;
  width: 20px;
  height: 20px;
  background-image: url("data:image/svg+xml,%3Csvg width='8' height='8' viewBox='0 0 8 8' fill='none' xmlns='http://www.w3.org/2000/svg'%3E%3Ccircle cx='4' cy='4' r='3' stroke='%23ce9b25' stroke-width='1.5'/%3E%3C/svg%3E");
  background-size: contain;
  background-repeat: no-repeat;
  background-position: center;
}
