.article {
  position: relative;
  display: flex;
  gap: 40px;
  margin-bottom: 20px;
}


.article-main {
  width: 75%;
  display: flex;
  flex-direction: column;
  gap: 20px;
}

.article-main_img {
  position: relative;
  border-radius: 20px;
}

.article-main_img img {
  width: 100%;
  height: auto;
  border-radius: 20px;
  padding: 6px;
  background: #F2F5F7;
}

.article-main_tags {
  position: absolute;
  display: flex;
  gap: 12px;
  bottom: 0;
  background: rgba(0,0,0, 0.7);
  padding: 12px;
  flex-wrap: wrap;
  width: 100%;
  border-radius: 0 0 20px 20px;
}

.article-main_tags a, .article-sidebar_related-img span {
  background: radial-gradient(100% 100% at 50% 0%, #07B7F8 0%, #0582EE 100%);
  color: #fff;
  border-radius: var(--ui-btn-border-radius);
  padding: 6px 12px;
  font-size: 14px;
  text-shadow: 1px 1px 2px black;
}

.article-main_tags a:hover {
  background: radial-gradient(100% 100% at 50% 0%, #FF76D9 0%, #F64999 100%);
}




.article-main_statistics {
  display: flex;
  gap: 20px;
  justify-content: space-between;
}

.article-main_statistics li {
  display: flex;
  gap: 12px;
  align-items: center;

}

.article-main_statistics i {
  font-size: 28px;
  color: #0582EE;
}

.article-main_statistics-content {
  display: flex;
  gap: 6px;
  flex-direction: column;

  line-height: 1.4;
}
.article-main_statistics-content p {
  color: #666;
  text-transform: uppercase;
  font-size: 12px;
}

.article-main_statistics-content span {
  font-size: 14px;
  font-weight: 600;
}

.article-description p {
  font-size: 16px;
  line-height: 1.4;

}

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

.article-description, .article-main_list, .article-content_group, .article-main_statistics, .article-sidebar_related {
  background: #F2F5F7;
  border-radius: 20px;
  padding: 30px;
}

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

.article-main_list > ol {
  counter-reset: li;
  padding: 0 8px;
  list-style: decimal;
}


.article-main_list > ol {
  margin: 0 10px;
}

.article-main_list ol > li > ol {
  margin: 0 30px;
}

.article-main_list > ol > li {
  counter-increment: li;
}

.article-main_list ol li {
  color: #15181F;
  margin: 10px 0;
  list-style: decimal;

}

.article-main_list > ol > li > a {
  font-size: 16px;
  line-height: 24px;
  color: #15181F;
  font-weight: 600;

}

.article-main_list > ol > li > ol > li > a {
  font-size: 16px;
  line-height: 24px;
  color: #15181F;
}

.article-main_list a:hover {
  color: #0064BB;
}

.article-main_list > ol > li::marker {
  font-weight: 500;
}

.article-main_list ol ol {
  counter-reset: lili;
  margin-top: 5px;
}

.article-main_list ol ol li {
  position: relative;
  list-style: none;
}

.article-main_list ol ol li:before {
  content: counter(li) "." counter(lili) ".";
  counter-increment: lili;
  position: absolute;
  left: -2em;
  top: 0.25em;
}

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

.article-content_group p {
  font-size: 16px;
  line-height: 1.4;
}

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

.article-content_group ol {
  counter-reset: list;
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 20px;
}

.article-content_group ol > li {
  position: relative;
  padding-left: 40px;
}
.article-content_group ol > li::before {
  content: counter(list);
  counter-increment: list;
  position: absolute;
  left: 0;
  top: -2px;
  width: 30px;
  height: 30px;
  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 Нумерованный список в тексте */

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

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


.article-content_group > ul > li {
  position: relative;
  padding-left: 40px;
}

.article-content_group > ul > li::before {
  content: '✔';
  position: absolute;
  left: 0;
  top: -2px;
  width: 30px;
  height: 30px;
  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: 16px;
}

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

.article-content_group-link {
  margin: 0 auto;
}

.article-content_group-link button {
  height: 40px;
  padding: 13px 20px;
}


.article-gallery_odd {
  display: grid;
  grid-template-columns: repeat(1, 1fr);
  column-gap: 20px;
  row-gap: 20px;
  margin: 20px 0;
}

.article-gallery_even {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  column-gap: 20px;
  row-gap: 20px;
  margin: 20px 0;
}


.article-gallery_odd a, .article-gallery_even a {
  position: relative;
}

.article-gallery_odd img, .article-gallery_even img {
  display: block;
  border-radius: 5px;
  width: 100%;
  height: auto;
}

.article-gallery_odd a > span, .article-gallery_even a > span {
  position: absolute;
  background: var(--ui-color-main);
  opacity: 0.8;
  left: 0;
  bottom: 0;
  color: #fff;
  padding: 6px 12px;
  font-size: 14px;
  line-height: 16px;
  border-radius: 0 5px 0 5px;
}

/* sidebar */

.article-sidebar {
  width: 25%;
}

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

.article-sidebar_related a {
  display: flex;
  gap: 12px;
  flex-direction: column;
}
.article-sidebar_related-img {
  position: relative;
  width: 100%;
  height: auto;
}

.article-sidebar_related-img img {
  width: 100%;
  height: auto;
}

.article-sidebar_related-img span {
  position: absolute;
  bottom: 12px;
  left: 12px;
}
.article-sidebar_related h3 {
  font-size: 16px;
  line-height: 1.4;
  color: #131214;
}
.article-sidebar_related-img img {
  border-radius: var(--ui-border-radius);
}

.article-sidebar_related:hover {
  border-color: var(--ui-color-main-alt);
}

.article-sidebar_related:hover h3 {
  color: var(--ui-color-main-alt);
}


/* end sidebar */


/* remark */
.article-remark {
  background: #DEF9E5;
  padding: 20px;
  border-radius: var(--ui-border-radius);
  display: flex;
  gap: 12px;
  align-items: center;
  width: 100%;
  box-shadow: 0 2px 7px 0 rgba(0, 0, 0, 0.25);
}
.article-remark_content {
  font-size: 16px;
  line-height: 1.4;
  display: flex;
  gap: 6px;
  flex-direction: column;

}
.article-remark_content h4 {
  font-weight: 600;
  font-size: 18px;
}

.article-remark i {
  font-size: 42px;
}

@media  (max-width: 560px) {
  .article-remark {
    flex-direction: column;
  }

}




.article-remark_content ul {
  padding:0;
  list-style: none;
}
.article-remark_content ul li{
  padding:6px;
}
.article-remark_content ul li:before {
  padding-right:10px;
  font-weight: bold;
  color: #0582EE;
  content: "\2714";
  transition-duration: 0.5s;
}
.article-remark_content ul li:hover:before {
  color: #F64999;
  content: "\2714";
}

/* end remark */


/* article-video */

.article-video {
  position: relative;
}

.article-video a {
  display: flex;
  align-items: center;
  justify-content: center;
}

.article-video_preview {
  border-radius: var(--ui-border-radius);
  border: 2px solid var(--ui-color-main);
}

.article-video_play {
  position: absolute;
  z-index: 1;
  top: 40%;
  max-width: 120px;
}

/* end article-video */

.article-one-img {
  margin: 0 auto;
}

.article-one-img img {
  border-radius: 13px;
}


/**/
/*
table {
  width: 100%;
  margin-bottom: 20px;
  border: 5px solid #fff;
  border-bottom-width: 3px;
  border-collapse: collapse;
  outline: 3px solid var(--ui-color-main);
  font-size: 15px;
  background: #fff!important;
}
table th {
  font-weight: bold;
  padding: 7px;
  background: var(--ui-color-main);
  border: none;
  text-align: left;
  font-size: 15px;
  border-top: 3px solid #fff;
  border-bottom: 3px solid var(--ui-color-main);
  color: var(--ui-color-text);
}
table td {
  padding: 7px;
  border: none;
  border-top: 3px solid #fff;
  border-bottom: 3px solid #fff;
  font-size: 15px;
}
table tbody tr:nth-child(even){
  background: #f8f8f8!important;
}*/

/**/

@media screen and (max-width: 1024px){
  .article-main_tags a, .article-sidebar_related-img span {
    font-size: 12px;
  }

  .article {
    flex-direction: column;
  }
  .article-main, .article-sidebar {
    width: 100%;
  }

  .article-sidebar_wrapper {
    flex-direction: row;
    flex-wrap: wrap;
    justify-content: center;
  }

  .article-sidebar_related, .article-sidebar-clickable {
    max-width: 450px;
    height: max-content;
  }

  .article-sidebar .top-cas {
    width: 100%;
    max-width: 500px;
  }
}

@media screen and (max-width: 850px){
  .article-main_statistics {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(150px, 1fr));
    column-gap: 20px;
    row-gap: 20px;
  }

  .article-main_tags {
    position: unset;
  }
}

@media (max-width: 390px) {
  .article-description, .article-main_list, .article-content_group, .article-main_statistics, .article-sidebar_related {
    padding: 15px;
  }

  .article-main_list >h3, .article-content_group > h2 {
    text-align: center;
  }
}

