.content_wrapper_block.front_sections_only_custom .maxwidth-theme {
  padding: 0 var(--theme-page-width-padding) !important;
}

.front_sections_only_custom .sections_wrapper.type1.compact {
  max-width: 1420px;
  margin: 0 auto;
}

.front_sections_only_custom .top_block {
  margin: 0;
  margin-bottom: 40px;
  padding: 0;
}

.front_sections_only_custom .top_block h2 {
  margin-right: 0;
  color: #fff;
  font-size: 42px;
  font-weight: 600;
  line-height: 130%;
}

.front_sections_only_custom .top_block a.btn {
  display: flex;
  padding: 18px 24px;
  align-items: center;
  gap: 8px;
  color: #fff;
  font-size: 18px;
  font-weight: 500;
  line-height: 130%;
  text-transform: none;
  border-radius: 10px !important;
  border: 1px solid #262626;
  background: #141414;
  position: unset;
}

.front_sections_only_custom .top_block a.btn:hover {
  background-color: #3986FA;
  color: #FFF !important;
}

.light .front_sections_only_custom .top_block a {
  color: #fff;
  border: 1px solid #1b68dc;
  background: #1b68dc;
}

.light .front_sections_only_custom .top_block h2 {
  color: #424242;
}

.front_sections_only_custom .list .row {
  gap: 20px;
  justify-content: space-between;
}

.front_sections_only_custom .row:after,
.front_sections_only_custom .row:before {
  content: " ";
  display: none;
}

.col-m-custom {
  width: calc(33% - 10px);
}

.sections_wrapper .list .col-m-custom .item:not(.section_item) {
  padding: 30px;
  max-height: 352px;
  display: flex;
  flex-direction: column;
  gap: 20px;
  align-items: center;
  border-radius: 12px;
  background: #141414;
  border: 1px solid #262626;
}

.light .sections_wrapper .list .col-m-custom .item:not(.section_item) {
  background: #fff;
  border: 1px solid #fff;
  box-shadow: 0px 4px 28.6px 0px rgba(130, 140, 151, 0.22);
}


.sections_wrapper .list .col-m-custom .item.bordered .img {
  width: 100%;
  max-width: 340px;
  height: 100%;
  margin: 0 auto;
  max-width: unset;
}

.front_sections_only_custom .title-custom {
  color: #fff;
  font-size: 20px;
  font-weight: 600;
  line-height: 130%;
}

.light .front_sections_only_custom .title-custom a {
  color: #424242 !important;
}

.dark .front_sections_only_custom .row .item:hover {
  border-radius: 12px !important;
  border-width: 1px !important;
  border-style: solid !important;
  background: linear-gradient(121deg, #1B68DC -49%, black 13.65%) !important;
}

.dark .front_sections_only_custom .row .item:hover::before {
  content: '';
  position: absolute;
  top: -2px;
  left: -2px;
  right: -1px;
  bottom: -2px;
  border-radius: 12px;
  padding: 1px;
  background: linear-gradient(121deg, #1B68DC 7%, rgba(27, 104, 220, 0.00));
  -webkit-mask: linear-gradient(#fff 0 0) content-box, linear-gradient(#fff 0 0);
  -webkit-mask-composite: destination-out;
  mask-composite: exclude;
  pointer-events: none;

}

.front_sections_only_custom .list .row {
  gap: 20px;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
}

.col-m-custom {
  width: 100%;
}

.sections_wrapper .list .col-m-custom .item:not(.section_item) {
  padding: 30px;
  max-height: 352px;
  display: flex;
  flex-direction: column;
  gap: 20px;
  align-items: center;
  border-radius: 12px;
  background: #141414;
  border: 1px solid #262626;
}

.sections_wrapper .list .col-m-custom .item.bordered .img {
  height: 100%;
  margin: 0;
  width: auto;
  max-height: 246px;
  align-self: stretch;
}

.sections_wrapper .list .item .img img {
  max-width: unset;
  max-height: unset;
  width: 100%;
  height: 100%;
  object-fit: contain;
}

.bottom_block a.btn.button-custom {
  display: flex;
  width: 213px;
  height: 48px;
  padding: 18px 24px;
  justify-content: center;
  align-items: center;
  gap: 8px;
  border-radius: 10px !important;
  border-color: #1b68dc;
  background: #1b68dc;
}
.bottom_block{
  display: flex;
  justify-content: center;
  margin-top: 40px;
}

.sections_wrapper .list .item .name a{
  text-align: left;
}


@media(max-width: 991px) {


  .col-m-custom {
    width: 100%;
  }

  .front_sections_only_custom .list .row {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 600px) {
  .content_wrapper_block.front_sections_only .sections_wrapper .list .row .item:not(.section_item) {
    padding: 30px 10px 25px;
  }

  .content_wrapper_block.front_sections_only .sections_wrapper .list .row:not(.margin0) {
    margin: -13px -8px -8px;
  }

  .content_wrapper_block.front_sections_only .sections_wrapper .list .row:not(.margin0)>div {
    padding: 8px;
  }

  .content_wrapper_block.front_sections_only .sections_wrapper .list .row:not(.margin0) .item:not(.section_item) {
    border-radius: 3px;
  }

  .content_wrapper_block.front_sections_only .sections_wrapper .list .item:not(.section_item) .img {
    margin-bottom: 14px;
  }

  .content_wrapper_block.front_sections_only .catalog_section_list .section_item_inner {
    display: flex;
  }

  .content_wrapper_block.front_sections_only .catalog_section_list .item.section_item .section_info {
    padding-left: 0;
  }

  .content_wrapper_block.front_sections_only .catalog_section_list .item.bordered .img {
    width: 40px;
    height: 40px;
    line-height: 38px;
    flex-shrink: 0;
    margin: 6px 19px 0 0;
  }

  .content_wrapper_block.front_sections_only .catalog_section_list .section_item {
    padding: 18px 24px;
  }

  .content_wrapper_block.front_sections_only .catalog_section_list .section_item li.sect {
    padding-bottom: 0;
  }

  .content_wrapper_block.front_sections_only .catalog_section_list .section_item li.name {
    margin-bottom: 7px;
  }



  #main .sections_wrapper .items .row.margin0 {
    margin-left: 1px !important;
    margin-right: -1px !important;
  }


  /* COMPACT VIEW */
  #main .sections_wrapper.compact .items .row {
    margin-top: -5px;
  }

  #main .sections_wrapper.compact .items .row>div {
    width: 100%;
    padding: 0;
    margin-top: -1px;
  }

  /* #main .sections_wrapper.compact .item {
    display: flex;
    align-items: center;
    padding: 19px;
    background-color: #fff;
    background-color: var(--card_bg_black);
    border: 1px solid #ececec;
    border-color: var(--stroke_black);
    border-radius: 0;
  } */

  /* #main .sections_wrapper.compact .item .img {
    width: 40px;
    height: 40px;
    line-height: 38px;
    flex-shrink: 0;
    margin: 0px 19px 0 0;
  } */

  #main .sections_wrapper.compact .item .name {
    text-align: left;
    margin-bottom: 0;
  }

  #main .sections_wrapper.compact .item .name span.font_md {
    font-size: 0.933em;
    line-height: 1.501em;
  }

  #main .sections_wrapper.compact .item li.sect {
    display: none;
  }

  #main .sections_wrapper.compact .item .section_info {
    display: flex;
    align-items: center;
  }

  #main .sections_wrapper.compact .item .section_info.onhover {
    display: none;
  }

  body .wrapper1.front_page .front_sections_only_custom .top_block a.btn {
    display: block;
    float: unset !important;
    margin-bottom: unset;
    clear: unset;
    position: unset;
    right: unset;
    top: unset !important;
    font-size: unset;
    background-repeat: unset;
    background-image: unset;
    height: unset;
    width: unset;
    transform: unset;
    opacity: unset;
    text-align: center;
  }

  .front_sections_only_custom .top_block h2 {
    display: block;
    margin-bottom: 10px;
    font-size: 28px;
  }
}

@media(max-width: 500px) {
  .front_sections_only_custom .list .row {
    grid-template-columns: repeat(1, 1fr);
  }
}