@charset "UTF-8";
#text-block .text__img {
  max-width: 590px;
  max-height: 510px;
  grid-column: 5 span;
  overflow: hidden;
  border-radius: 10px;
}
#text-block .text__img img {
  width: 100%;
  height: 100%;
  -o-object-fit: cover;
     object-fit: cover;
}
#text-block .text__right {
  grid-column: 7 span;
}

#text-block .text__right.no_image{
  grid-column: 12 span !important;
}

#text-block .text__title {
  text-transform: uppercase;
  color: var(--headPrimary);
  margin-bottom: 40px;
}
#text-block .text__descr {
  max-height: 416px;
  overflow-y: scroll;
  padding-right: 60px;
}
#text-block .text__descr::-webkit-scrollbar {
  width: 2px;
  /* Ширина всего элемента навигации */
}
#text-block .text__descr::-webkit-scrollbar-track {
  background: var(--bgThird);
  /* Цвет дорожки */
}
#text-block .text__descr::-webkit-scrollbar-thumb {
  background-color: var(--second);
  /* Цвет бегунка */
  border-radius: 20px;
  /* Округление бегунка */
  border: 3px solid var(--second);
  /* Оформление границ бегунка */
}
#text-block .text__descr * {
  color: var(--mainTextPrimary);
  font-family: var(--fontFamily);
  font-size: 16px;
  font-weight: 400;
  line-height: 20.8px;
  text-align: left;
  text-underline-position: from-font;
  -webkit-text-decoration-skip-ink: none;
          text-decoration-skip-ink: none;
}

#text-block .text__descr h2 span{
  font-size: 24px;
  line-height: 130%;
}

#text-block .text__descr p {
  margin-bottom: 15px;
}
#text-block .text__descr ol {
  list-style-type: none;
  counter-reset: num;
  margin-bottom: 20px;
}
#text-block .text__descr ol li {
  position: relative;
  margin: 0;
  display: flex;
  gap: 15px;
  margin-bottom: 10px;
  align-items: center;
}
#text-block .text__descr ol li:before {
  content: counter(num);
  counter-increment: num;
  display: inline-block;
  border-radius: 5px;
  color: var(--card);
  text-align: right;
  width: 24px;
  min-width: 24px;
  height: 25px;
  min-height: 25px;
  display: flex;
  justify-content: center;
  align-items: center;
  background: var(--second);
}
#text-block .text__descr ul {
  list-style-type: none;
  margin-bottom: 20px;
}
#text-block .text__descr ul li {
  /* display: flex; */
  align-items: center;
  gap: 15px;
  margin-bottom: 10px;
  position: relative;
  padding-left: 30px;
}
#text-block .text__descr ul li::before {
  content: "✓";
  display: inline-block;
  border-radius: 5px;
  color: var(--card);
  text-align: right;
  width: 24px;
  min-width: 24px;
  height: 24px;
  min-height: 24px;
  display: flex;
  justify-content: center;
  align-items: center;
  background: var(--second);
  position: absolute;
  left: 0;
}

@media screen and (max-width: 992px) {
  #text-block .text__title {
    margin-bottom: 20px;
  }
  #text-block .text__descr {
    padding-right: 20px;
  }
}
@media screen and (max-width: 677px) {
  #text-block .text__inner {
    grid-template-columns: 1fr;
  }
  #text-block .text__img,
  #text-block .text__right {
    grid-column: 1 span;
  }
  #text-block .text__img {
    max-width: 100%;
  }
}/*# sourceMappingURL=block.css.map */