.rating {
  display: flex;
  flex-direction: column;
  gap: 20px;
}


.rating_wrapper {
  display: grid;
  grid-template-columns: repeat(2,1fr);
  gap: 20px;
}
.rating_bottom {
  display: flex;
  gap: 40px;
  width: 100%;
  margin-top: 100px;
}

.rating_bottom-main {
  padding: 30px;
  border-radius: 20px;
  border: 1px solid #2A2F3C;
  background: linear-gradient(180deg, #2A2E3A 0%, #1E2432 100%);
  display: flex;
  flex-direction: column;
  gap: 15px;
  width: 100%;
  height: 100%;
}


.rating_bottom-main > h2 {
  color: #fff;
  line-height: 1.2;
  font-weight: 600;
  font-size: 30px;
  font-style: normal;
}
.rating_bottom-main > h3, .rating_bottom-main > h4, .rating_bottom-main > h5, .rating_bottom-main > h6 {
  color: #fff;
  line-height: 1.2;
  font-weight: 600;
  font-size: 20px;
  font-style: normal;
}
.rating_bottom-main > p {
  color: #7D8494;
  line-height: 1.4;
  font-weight: 600;
  font-style: normal;
  font-size: 14px;
}

.rating_bottom-sidebar {
  display: flex;
  flex-direction: column;
  gap: 40px;
  width: 100%;
  max-width: 400px;
}

.rating_bottom-sidebar .elements_sidebar-item {
  height: 100%;
  max-height: 800px;
}

@media (max-width: 1120px) {
  .elements_sidebar-item {
    width: 100% !important;
  }

  .rating_bottom {
    flex-direction: column;
  }

  .rating_bottom-sidebar {
    max-width: unset;
  }
}

@media (max-width: 1024px) {
  .rating_wrapper {
    grid-template-columns: repeat(1, 1fr);
  }


}


@media (max-width: 768px) {
  .rating_bottom-main {
    order: -1;
  }
}

@media (max-width: 650px) {
  .rating_bottom-main {
    padding: 15px;
  }

  .rating_bottom-main ol > li::before {
    width: 30px;
    height: 30px;
    top: 50px;
  }

  .rating_bottom-main ol > li {
    padding: 15px 15px 15px 70px;
  }

  .rating_bottom-main > h2 {
    font-size: 24px;
  }
}


/* Нумерованный список в тексте */

.rating_bottom-main ol {
  counter-reset: list;
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.rating_bottom-main ol > li {
  position: relative;
  padding: 25px 20px 25px 75px; /* Увеличим левый отступ для номера */
  border-radius: 20px;
  border: 1px solid #424855;
  color: #fff;
  line-height: 1.4;
}

.rating_bottom-main ol > li::before {
  content: counter(list);
  counter-increment: list;
  position: absolute;
  left: 20px; /* Позиционируем номер ближе к тексту */
  top: 50%;
  transform: translateY(-50%); /* Центрируем номер по вертикали */
  width: 40px;
  height: 40px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  background: radial-gradient(100% 100% at 50% 0%, #07B7F8 0%, #0582EE 100%);
  color: white;
  font-weight: bold;
  font-size: 16px;
}


/* END Нумерованный список в тексте */


/* Маркированный список в тексте */

.rating_bottom-main > ul {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 20px;
}


.rating_bottom-main > ul > li {
  color: #7D8494;
  line-height: 1.4;
  font-weight: 600;
  font-style: normal;
  font-size: 14px;
  position: relative;
  padding-left: 40px;
}

.rating_bottom-main > ul > li::before {
  content: '✔';
  position: absolute;
  left: 0;
  top: 0;
  width: 25px;
  height: 25px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  background: radial-gradient(100% 100% at 50% 0%, #FF76D9 0%, #F64999 100%);
  color: white;
  font-weight: bold;
  font-size: 14px;
}

/* END Маркированный список в тексте */