/* .widget.cm_module + .widget.cm_module {
  margin-top: -63px;
} */
.widget.cm_module {
  margin-bottom: 0;
}

.cm_block_wrapper {
  overflow: visible;
}

.custom_box_container {
  border-radius: 30px;
  overflow: hidden;
  position: relative;
  background: #ebf1f9;
  color: #000;
  outline: 3px solid;
  outline-color: transparent;
  outline-offset: -3px;
  transition: 0.2s;
}

.custom_box_container:hover {
  box-shadow: 0 0 15px rgba(0, 0, 0, 0.3);
}

.custom_box_container::before {
  content: "";
  position: absolute;
  z-index: 1;
  width: 77%;
  height: 100%;
  border-radius: 30px;
}

.custom_inner_content p {
  margin: 0;
}

.custom_img {
  position: absolute;
  right: 0;
  top: 0;
  bottom: 0;
  height: 100%;
}

.basel_mini_info {
  margin-top: 15px;
  display: flex;
  flex-flow: column;
  gap: 8px;
}

.basel_mini_info_row {
  flex-flow: row;
  align-items: center;
}

.basel_mini_info_bottom {
  display: flex;
  flex-flow: column;
  gap: 8px;
}

.custom_item_link {
  display: block;

}

.n_box_container {
  position: relative;
  z-index: 1;
  padding: 35px 30px;
  background-repeat: no-repeat;
  background-position: right;
  background-size: auto 100%;
  background: none !important;
  min-height: 327px;
}

a.custom_item_link:hover {
  color: inherit;
  text-decoration: none;
}

.custom_inner_content {
  font-family: Manrope;
  font-weight: 400;
  font-size: 14px;
  margin-bottom: 15px;
  min-height: 150px;
  max-width: 200px;
}

.n_box_container_item {
  position: relative;
  z-index: 2;
}

.basel_mini_info_item {
  display: flex;
  align-items: center;
  gap: 10px;
  line-height: 1;
}

.basel_mini_info_item svg {
  flex: 0 0 auto;
}

.custom_title {
  font-family: Manrope;
  font-weight: bold;
  max-width: 300px;
  font-size: 24px;
  color: inherit;
}

.custom_url_btn {
  font-family: Manrope;
  font-weight: bold;
  padding: 12px 24px;
  border: 1px solid;
  border-color: #a9b4c3;
  border-radius: 50px;
  display: inline-flex;
  transition: 0.2s;
}

.n_box_container .custom_btn_more:hover {
  background: #fff;
  color: #f15a49;
}

.custom_btn_bye {
  background: #f15a49;
  border-color: #f15a49;
  margin-right: 5px;
  color: #fff;
}

.custom_btn_bye:hover {
  background: #d14839;
  border-color: #d14839;
  color: #fff;
}

/* version 2 */
.row_custom2 {
  display: flex;
  gap: 0 24px;
  flex-wrap: nowrap;
  align-items: stretch;
}

.row_custom2::before,
.row_custom2::after {
  content: none;
  display: none;
}

.row_custom2 .type-custom2 {
  margin: 0;
  padding: 0;
}

.row_custom2 .col-sm-1,
.row_custom2 .col-sm-2,
.row_custom2 .col-sm-3 {
  width: auto;
}

.row_custom2 .col-sm-5,
.row_custom2 .col-sm-4 {
  width: auto;
}

.row_custom2 .col-sm-6 {
  width: auto;
}

.row_custom2 .col-sm-11,
.row_custom2 .col-sm-10,
.row_custom2 .col-sm-9 {
  width: auto;
}

.row_custom2 .col-sm-7,
.row_custom2 .col-sm-8 {
  width: auto;
}

.row_custom2 .col-sm-6 {
  width: auto;
}

.custom_n2_item_container {
  display: flex;
  flex-flow: column;
}

.custom_n2_image-list {
  display: flex;
  gap: 0 24px;
}

.custom_n2_image-item {
  flex: 1 1 auto;
}

a.custom_n2_item_link {
  display: flex;
  width: 100%;
}

.custom_n2_inner_content {
  font-size: 12px;
  max-width: 100%;
  min-height: 50px;
}

.custom_n2_title,
.custom_n2_image-title {
  font-family: Manrope;
  font-weight: 700;
  font-size: 18px;
  line-height: 110%;
  margin: 0;
}

h4.custom_n2_title {
  margin-bottom: 20px;
}

.custom_n2_image-item a {
  display: inline-flex;
  margin-bottom: 15px;
  width: 100%;
  border-radius: 25px;
  overflow: hidden;
}

.custom_n2_image-item img {
  width: 100%;
}

.type-custom2+.type-custom2 {
  border-left: 1px solid #e7eaee;
  padding-left: 24px;
}

@media (max-width: 767px) {
  .n_box_container {
    min-height: auto;
    aspect-ratio: 1/1;
  }

  .cm_content .row_custom_n .type-custom.cm_column {
    margin-bottom: 15px;
  }
  .row_custom_n .col-xs-6:nth-child(odd) {
    padding-right: 7.5px;
  }
  .row_custom_n .col-xs-6:nth-child(even) {
    padding-left: 7.5px;
  }

}

@media (max-width: 667px) {

  .custom_url_btn,
  .custom_inner_content {
    display: none;
  }

  .custom_title {
    font-size: 14px;
  }

  .n_box_container {
    padding: 20px;
  }
}