.compound-cards {
  padding: 85px 0;
}
.compound-cards_title {
  text-align: center;
  font-size: var(--h2-size-main, clamp(28px, 4vw, 42px));
  font-weight: 700;
  color: var(--color-text);
  margin-bottom: 30px;
  @media (max-width: 768px) {
    font-size: clamp(24px, 6vw, 32px);
    margin-bottom: 28px;
  }
}
.compound-cards_subtitle {
  text-align: center;
  width: 100%;
}
.compound-cards_block {
   display: grid;
  grid-template-columns: 1fr 1fr 1fr;
  grid-template-rows: 1fr;
  width: 100%;
  gap: 8px;
  @media (max-width: 991px) {
    grid-template-columns: minmax(0, 1fr);
    grid-template-rows: auto;
      @media (max-width: 400px) {
        gap: 5px;
      }
  }
}
.compound-card {
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-direction: column;
  gap: 8px;
  max-width: 100%;
  min-width: 0;
  overflow: hidden;
  @media (max-width: 991px) {
    flex-direction: row;
    align-items: stretch;
    @media (max-width: 576px) {
      flex-direction: column;
    }
    @media (max-width: 400px) {
    gap: 5px;
  }
  }
}
.compound-card_type-one,
.compound-card_type-two,
.compound-card_type-tree,
.compound-card_type-four,
.compound-card_type-five {
  width: 100%;
  min-width: 0;
  overflow-wrap: break-word;
}
.compound-card_type-one {
  border: var(--border-main);
  border-radius: calc(var(--btn-border-radius) * 1);
  padding: var(--btn-border-radius);
  background: var(--zb-grad);

  position: relative;
  height: 100%;
  min-height: 232px;
  width: 100%;
  min-height: fit-content;
}
.compound-card_type-one_head {
  font-size: 28px;
  font-weight: 600;
  line-height: 110%;
  margin-bottom: 16px;
  color: var(--color-text-second);
  @media (max-width: 400px) {
    font-size: 18px;
  }
  
}
.compound-card_type-one_text {
    font-size: 16px;
  line-height: 1.6;
  font-family: var(--font-two);
  color: var(--color-text-second);
  
  margin-bottom: 80px;
}
.compound-card_type-one_img {
    width: 72px;
    aspect-ratio: 1/1;
        background: rgba(255, 255, 255, .16);
    border: 1px solid rgba(255, 255, 255, .4);
        backdrop-filter: blur(6px);
    border-radius: calc(var(--btn-border-radius) / 1.5);
    overflow: hidden;
    position: absolute;
    bottom: calc(var(--btn-border-radius) * 1);
    right: calc(var(--btn-border-radius) * 1);
    padding: 16px;
}
.compound-card_type-two {
  border: var(--border-main);
  border-radius: calc(var(--btn-border-radius) * 1);
  padding: var(--btn-border-radius);
  background: linear-gradient(180deg, rgba(10, 5, 24, 0) 0%, rgba(10, 5, 24, .35) 45%, rgba(10, 5, 24, .88) 100%), url(../img/experience.jpg) 72%;
  background-size: cover;
  background-repeat: no-repeat;
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: start;
  justify-content: flex-end;
  height: 100%;
  min-height: fit-content;
}
.compound-card_type-two_head {
  font-size: 28px;
  font-weight: 600;
  line-height: 110%;
  margin-bottom: 16px;
  color: var(--color-text-second);
    @media (max-width: 400px) {
    font-size: 18px;
  }
  
}
.compound-card_type-two_text {
    font-size: 16px;
  line-height: 1.6;
  color: var(--color-text-second);
  margin: 0;
  font-family: var(--font-two);
  text-shadow: #7B2FF7 1px 0 10px;
}
.compound-card_type-two_title {
  margin-top: 72px;
  position: relative;
}
.compound-card_type-two_title span {
  font-size: 35px;
  font-weight: 600;
    background: linear-gradient(110deg, #C9A6FF 0%, #FF6B88 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  text-transform: uppercase;
  overflow-wrap: anywhere;
    @media (max-width: 400px) {
    font-size: 28px;
  }
}
.compound-card_type-two_sub-title {
  font-size: 12px;
  font-weight: 600;
  background: linear-gradient(110deg, #C9A6FF 0%, #FF6B88 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  position: absolute;
  top: -8px;
  left: 0;
  text-wrap: nowrap;
}
.compound-card_type-tree {
  background: radial-gradient(80% 50% at 50% 0%, rgba(123, 47, 247, .55), transparent 70%), radial-gradient(80% 50% at 50% 100%, rgba(255, 45, 85, .45), transparent 70%), #12082B;

  border-radius:  calc(var(--btn-border-radius) * 1);
  padding: var(--btn-border-radius);
  height: 100%;
  text-align: center;
  width: 100%;
  display: flex;
  justify-content: space-between;
  flex-direction: column;
  @media (max-width: 576px) {
  text-align: start; 
  }
}
.compound-card_type-tree_head {
  font-size: 28px;
  font-weight: 600;
  line-height: 110%;
  margin-bottom: 16px;
  color: var(--color-text-second);
  @media (max-width: 400px) {
    font-size: 18px;
  }
}
.compound-card_type-tree_text {
    font-size: 16px;
  line-height: 1.6;
  color: var(--color-text-second);
  font-family: var(--font-two);
  margin: 0;
  margin-bottom: 16px;
}
.compound-card_type-tree_title {
  font-size: clamp(28px, 9vw, 45px);
  overflow-wrap: anywhere;
  font-weight: 600;
  background: linear-gradient(110deg, #C9A6FF 0%, #FF6B88 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  text-transform: uppercase;
}
.compound-card_type-tree_img {
  width: 100%;
  
  flex: 1 1 auto;
    display: flex;

    margin-top: 0;
  
}
.compound-card_type-tree_img img {
  display: block;
    width: 100%;
    height: 100%;
    border-radius: 16px;
    object-fit: cover;
    object-position: 50% 45%;
    box-shadow: 0 14px 34px -14px rgba(0, 0, 0, .7);
}
.compound-card_type-four {
  border: var(--border-main);
  border-radius: calc(var(--btn-border-radius) * 1);
  padding: var(--btn-border-radius);
  background: var(--zb-grad);

  position: relative;
  height: 100%;
  min-height: fit-content;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  justify-content: space-around;
}
.compound-card_type-four_title,
.compound-card_type-four_head,
.compound-card_type-four_text {
  width: 70%;
  @media (max-width: 1280px) {
  width: 60%;
  @media (max-width: 1024px) {
    width: 55%;
  @media (max-width: 991px) {
    width: 100%;
  }
  }
  }
}
.compound-card_type-four_title {
  font-family: var(--font-two);
  padding: 6px 12px;
  border: 1px solid #fff;
  color: #fff;
  border-radius: 16px;
  text-align: center;
  font-size: 12px;
  width: fit-content;
  margin-bottom: 12px;
  background: rgba(255, 255, 255, .12);
  font-weight: 700;
    letter-spacing: .08em;
    text-transform: uppercase;
}
.compound-card_type-four_head {
  font-size: 28px;
  font-weight: 600;
  color: var(--color-text-second);
  line-height: 110%;
  margin-bottom: 16px;
    @media (max-width: 400px) {
    font-size: 18px;
  }
  
}
.compound-card_type-four_text {
    font-size: 16px;
  line-height: 1.6;
  color: var(--color-text-second);
  font-family: var(--font-two);
  margin-bottom: 8px;
}
.compound-card_type-four_img {
    width: 100px;
    aspect-ratio: 1/2;
    background: url(../img/beginner.jpg);
    background-size: cover;
    background-repeat: no-repeat;
    border-radius: calc(var(--btn-border-radius) * 0.5);
    overflow: hidden;
    position: absolute;
    top: calc(var(--btn-border-radius) * 1);
    right: calc(var(--btn-border-radius) * 1);
    @media (max-width: 991px) {
      position: unset;
      margin-bottom: 16px;
      width: 100%;
      height: fit-content;
      background: url(../img/beginner.jpg) 62% 32% / cover no-repeat;
      aspect-ratio: 1/1.5;
      background-size: cover;
      @media (max-width: 576px) {
        aspect-ratio: 16/9;
      }
    }
}
.compound-card_type-five {
  border: var(--border-main);
  border-radius: calc(var(--btn-border-radius) * 1);
  padding: var(--btn-border-radius);
  background: linear-gradient(180deg, rgba(10, 5, 24, .82) 0%, rgba(10, 5, 24, .38) 50%, rgba(10, 5, 24, .1) 100%), url(../img/markets-map.jpg) 50% 40% / cover no-repeat;
    background-color: #0A0518;
  background-size: cover;
  background-repeat: no-repeat;
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: start;
  justify-content: space-between;
  height: 100%;
  min-height: fit-content;
}
.compound-card_type-five_head {
  font-size: 28px;
  font-weight: 600;
  line-height: 110%;
  margin-bottom: 16px;
  color: var(--color-text-second);
    @media (max-width: 400px) {
    font-size: 18px;
  }
  
}
.compound-card_type-five_text {
    font-size: 16px;
  line-height: 1.6;
  color: var(--color-text-second);
  font-family: var(--font-two);
  margin: 0;
  backdrop-filter: blur(6px);
  padding: 6px;
  border-radius: 6px;
  box-shadow: 1px 1px 24px #92929273;
}
.compound-card_type-five_title {
  margin-top: 72px;
  position: relative;
}

.compound-card_type-five_img_block {
  display: grid;
  margin-top: 16px;
  grid-template-columns: 1fr 1fr 1fr 1fr;
  grid-template-rows: 1fr;
  gap: 8px;
  width: 100%;
  
  @media (max-width: 1200px) {
    grid-template-columns: 1fr 1fr;
    grid-template-rows: 1fr  1fr;
  @media (max-width: 400px) {
    gap: 5px;
    }
  }
}
.compound-card_type-five_img {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 100%;
    min-width: 0;
    aspect-ratio: 1/1;
    margin: auto;
        background: linear-gradient(140deg, rgba(123, 47, 247, .8), rgba(255, 45, 85, .8));
    border-radius: calc(var(--btn-border-radius) * 0.5);
    overflow: hidden;
    box-shadow: inset 0 1px 0 rgba(255, 255, 255, .25), 0 10px 24px -12px rgba(0, 0, 0, .6);
}