.mch_wrapper {
  background: #000;
  color: #fff;
}

.mch_wrapper * {
  box-sizing: border-box;
  font-family: foxtrot, sans-serif, serif;
  line-height: 1.5;
}

.mch_image {
  max-width: 100%;
  width: 100%;
  height: auto;
}

.mch_desktop {
  display: block;
}

.mch_mobile {
  display: none;
}

.mch_sup {
  display: inline;
  font-size: clamp(8px, 1vw, 14px);
  vertical-align: super;
}

.mch_video {
  max-width: 100%;
  width: 100%;
  height: auto;
}

.mch_text-bold {
  font-weight: 700;
}

.mch_title {
  font-size: clamp(18px, 2.5vw, 40px);
}

.mch_subtitle {
  font-size: clamp(16px, 2vw, 30px);
}

.mch_caption {
  font-size: clamp(14px, 1.5vw, 26px);
}

.mch_empty {
  font-size: clamp(12px, 1.2vw, 22px);
}

.mch_section {
  width: 100%;
  position: relative;
}

.mch_section-first {
  display: flex;
  flex-direction: column;
  gap: 2vw;
}

.mch_section-first-content {
  display: flex;
  flex-direction: column;
  gap: 2vw;
  padding: 0 3%;
}

.mch_section-first-items {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 2vw;
}

.mch_section-first-item {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 2vw;
}

.mch_section-first-pictures {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 2vw;
}

.mch_section-first-pictures .mch_section-first-picture:nth-child(2) {
  grid-column: auto / span 2;
}

.mch_section-first-block {
  display: flex;
  flex-direction: column;
  gap: 2vw;
  text-align: center;
  padding: 0 3%;
}

.mch_section-first-text {
  display: flex;
  flex-direction: column;
  gap: 1vw;
}

.mch_section-first-icon {
  max-width: 15%;
  margin: 0 auto;
}

.mch_section-first-box {
  display: flex;
  flex-wrap: wrap;
  gap: 1vw;
  justify-content: center;
  text-align: center;
  align-items: center;
}

.mch_section-first-box .mch_caption {
  position: relative;
  padding-right: 3%;
  width: calc(20% - 1vw);
}

.mch_section-first-box .mch_caption::after {
  content: '';
  position: absolute;
  top: 0;
  bottom: 0;
  right: 0;
  height: auto;
  width: 2px;
  background: #327BB7;
}

.mch_section-first-box .mch_caption:last-child::after {
  display: none;
}

.mch_section-first-container {
  display: grid;
  grid-template-columns: 1fr 1fr;
  align-items: center;
}

.mch_section-first-container .mch_section-first-text {
  padding: 3%;
}

.mch_section-first-container .mch_section-first-icon {
  max-width: 30%;
  margin: 0;
}

.mch_section-first-contain {
  position: relative;
  display: flex;
  flex-direction: column;
}

.mch_section-first-contain .mch_section-first-text {
  position: absolute;
  top: 50%;
  -webkit-transform: translateY(-50%);
  transform: translateY(-50%);
  right: 0;
  max-width: 40%;
  padding: 3%;
}

.mch_section-first-contain .mch_section-first-icon {
  max-width: 30%;
  margin: 0;
}

.mch_section-first-icons {
  max-width: 30%;
}

.mch_section-first-fraction {
  display: flex;
  flex-direction: column;
}

.mch_section-first-boxing {
  display: grid;
  grid-template-columns: 1fr 1fr;
}

.mch_section-first-boxing .mch_section-first-text {
  background: url(https://files.foxtrot.com.ua/StaticContent/Ext/foxtrot/ERGO/6800/image/bg1.png) center / cover no-repeat;
  padding: 3%;
  justify-content: center;
}

.mch_section-first-boxing:last-child .mch_section-first-text {
  background: url(https://files.foxtrot.com.ua/StaticContent/Ext/foxtrot/ERGO/6800/image/bg2.png) center / cover no-repeat;
  order: 1;
}

.mch_section-first-cont {
  position: relative;
  display: flex;
  flex-direction: column;
}

.mch_section-first-image {
  position: absolute;
  top: 0;
  left: 50%;
  -webkit-transform: translateX(-50%);
  transform: translateX(-50%);
  width: 32%;
  padding: 1%;
}

@media screen and (max-width: 960px) {
  .mch_section-first-box .mch_caption {
    width: auto;
  }
}

@media screen and (max-width: 768px) {
  .mch_section-first-container {
    grid-template-columns: 1fr;
  }

  .mch_section-first-contain .mch_section-first-text {
    position: static;
    max-width: initial;
    -webkit-transform: none;
    transform: none;
  }

  .mch_section-first-boxing .mch_section-first-text {
    background: initial;
  }

  .mch_section-first-boxing:last-child .mch_section-first-text {
    order: 0;
    background: initial;
  }

  .mch_section-first-boxing:last-child {
    background: url(https://files.foxtrot.com.ua/StaticContent/Ext/foxtrot/ERGO/6800/image/bg2.png) center / cover no-repeat;
  }

  .mch_section-first-boxing {
    grid-template-columns: 1fr;
    background: url(https://files.foxtrot.com.ua/StaticContent/Ext/foxtrot/ERGO/6800/image/bg1.png) center / cover no-repeat;
  }

  .mch_section-first-image {
    top: initial;
    bottom: 0;
    padding: 2%;
    width: 50%;
  }
}

@media screen and (max-width: 640px) {
  .mch_desktop {
    display: none;
  }

  .mch_mobile {
    display: block;
  }

  .mch_section-first-items {
    grid-template-columns: 1fr;
  }

  .mch_section-first-pictures .mch_mobile {
    grid-column: 1 / -1;
    order: -1;
  }

  .mch_section-first-pictures {
    grid-template-columns: 1fr 1fr;
  }

  .mch_section-first-box .mch_caption::after {
    top: initial;
    left: 0;
    width: auto;
    height: 2px;
  }

  .mch_section-first-box .mch_caption {
    padding-bottom: 3%;
    padding-right: 0;
  }

  .mch_section-first-box {
    flex-direction: column;
  }
}

@media screen and (max-width: 375px) {
  .mch_image-container-flex {
    display: flex;
  }

  .mch_image-container-flex > p {
    display: flex;
  }

  .mch_image--cover {
    -o-object-fit: cover;
    object-fit: cover;
  }
}