.company-official-partner__wrapper {
  display: flex;
  justify-content: space-between;
  align-items: stretch;
  gap: 50px;
}
.company-official-partner__content {
  display: flex;
  flex-direction: column;
  justify-content: space-between;
}

.img-block-with-title {
  width: 48.6%;
  height: 100%;
  position: relative;
  display: flex;
  flex-direction: row;
  align-items: end;
  flex-shrink: 0;
}
.img-block-with-title picture {
  flex: 1 1 auto;
}
.img-block-with-title__img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.img-block-with-title__content-block {
  position: absolute;
  left: 0;
  bottom: 0;
  right: 0;
  width: 100%;
  height: 221px;
  display: flex;
  align-items: end;
}
.img-block-with-title__content-block::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: linear-gradient(180deg, rgba(35, 31, 32, 0) 15.45%, rgba(35, 31, 32, 0.8) 75.09%);
  border-radius: 8px;
}
.img-block-with-title__content {
  padding: 40px;
  color: #fff;
  z-index: 2;
  position: relative;
  width: 100%;
}
.img-block-with-title__title {
  margin-bottom: 10px;
  font-weight: 700;
  font-size: 16px;
  line-height: 150%;
}
.img-block-with-title__description {
  font-weight: 500;
  font-size: 12px;
  line-height: 160%;
  opacity: 0.7;
}

.company-list-block {
  display: flex;
  flex-direction: column;
  gap: 35px;
}
.company-list-block__item {
  max-width: 417px;
}
.company-list-block__item .btn {
  text-decoration: none;
}
.company-list-block__title-block {
  display: flex;
  align-items: center;
  gap: 25px;
}
.company-list-block__title {
  font-weight: 700;
  font-size: 16px;
  line-height: 150%;
}
.company-list-block__description {
  font-weight: 500;
  font-size: 14px;
  line-height: 160%;
}
@media (max-width: 576px) {
  .company-official-partner {
    margin-top: 32px !important;
  }
  .img-block-with-title__content-block {
    height: 283px;
  }
  .img-block-with-title__content {
    padding: 16px;
  }
  .company-list-block {
    gap: 32px;
  }
  .company-list-block__item .btn {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 100%;
  }
  .company-list-block__title-block {
    gap: 16px;
  }
  .company-list-block__description {
    margin-top: 15px !important;
    font-size: 12px;
  }
}
@media (max-width: 1024px) {
  .company-official-partner__wrapper {
    gap: 30px;
  }
  .company-list-block__item {
    max-width: none;
  }
}
@media (max-width: 768px) {
  .company-official-partner__wrapper {
    flex-direction: column;
  }
  .company-official-partner__content {
    width: 100%;
  }
  .img-block-with-title {
    width: 100%;
    height: 100%;
  }
}
