.block-logos {
  width: 100%;
  max-width: 1610px;
  margin: 0 auto;
  position: relative;
  top: 123px;
  z-index: 5;
  background-color: white;
}
@media screen and (min-width: 1200px) and (max-width: 1610px) {
  .block-logos {
    max-width: calc(100% - 140px);
  }
}
@media screen and (min-width: 768px) and (max-width: 1199px) {
  .block-logos {
    top: 0;
    margin-bottom: 80px;
  }
}
@media screen and (max-width: 767px) {
  .block-logos {
    top: 0;
    margin-bottom: 60px;
  }
}
.block-logos:before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: 100px;
  height: 100%;
  background-image: url("data:image/svg+xml,%3Csvg width='50' height='250' viewBox='0 0 50 250' fill='none' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath d='M1 125L49 249V1L1 125Z' fill='white'/%3E%3Cpath d='M49 1L1 125L49 249' stroke='black'/%3E%3C/svg%3E%0A");
  background-repeat: no-repeat;
  background-position: center center;
  left: -70px;
}
@media screen and (min-width: 768px) and (max-width: 1199px) {
  .block-logos:before {
    display: none;
  }
}
@media screen and (max-width: 767px) {
  .block-logos:before {
    display: none;
  }
}
.block-logos:after {
  content: "";
  position: absolute;
  top: 1px;
  width: 100px;
  height: 99%;
  background-image: url("data:image/svg+xml,%3Csvg width='50' height='250' viewBox='0 0 50 250' fill='none' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath d='M1 125L49 249V1L1 125Z' fill='white'/%3E%3Cpath d='M49 1L1 125L49 249' stroke='black'/%3E%3C/svg%3E%0A");
  background-repeat: no-repeat;
  background-position: center right;
  right: -95px;
  transform: rotate(180deg);
}
@media screen and (min-width: 768px) and (max-width: 1199px) {
  .block-logos:after {
    display: none;
  }
}
@media screen and (max-width: 767px) {
  .block-logos:after {
    display: none;
  }
}

.logos-wrapper {
  display: flex;
  justify-content: space-evenly;
  align-items: center;
  padding: 83px 60px;
  position: relative;
  border-top: 1px solid #262626;
  border-bottom: 1px solid #262626;
}
@media screen and (min-width: 768px) and (max-width: 1199px) {
  .logos-wrapper {
    display: grid;
    gap: 40px;
    grid-template-columns: 1fr 1fr 1fr;
  }
}
@media screen and (max-width: 767px) {
  .logos-wrapper {
    flex-direction: column;
    background: white;
    gap: 40px;
    padding: 40px 0;
    align-items: center;
    justify-content: center;
  }
}
.logos-wrapper .logo {
  display: flex;
  justify-content: center;
}