.company-benefits-facts__wrapper {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 30px;
}
.company-benefits-facts__item {
  overflow: hidden;
}
.company-benefits-facts__head {
  display: flex;
  flex-direction: column;
  justify-content: center;
}
.company-benefits-facts__line-block {
  position: relative;
}
.company-benefits-facts__line {
  border-top: 1px solid #ff4444;
  height: 1px;
  width: 100%;
  position: absolute;
  top: -25px;
  left: 70px;
  opacity: 0.15;
}
.company-benefits-facts__title {
  font-weight: 700;
  font-size: 16px;
  line-height: 150%;
}
.company-gallery__wrapper {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 30px;
}
.company-gallery__item {
  border-radius: 6px;
  color: #fff;
}
.company-gallery__item:first-child {
  padding: 40px 30px 50px;
  background: linear-gradient(90deg, #37AD80 0%, #2EC68B 100%);
}
.company-gallery__item:nth-child(5) {
  padding: 40px 30px 50px;
  background: linear-gradient(90deg, #EF4343 0%, #FF6262 100%);
}
.company-gallery__img {
  width: 100%;
  height: 100%;
  border-radius: 6px;
  object-fit: cover;
}
.company-gallery__title {
  font-weight: 700;
  font-size: 20px;
  line-height: 150%;
}
.company-gallery__description {
  font-weight: 500;
  font-size: 14px;
  line-height: 160%;
}
@media (max-width: 1024px) {
  .company-benefits-facts__wrapper {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }
  .company-gallery__wrapper {
    grid-template-columns: repeat(2, 1fr);
  }
  .company-gallery__item {
    max-height: 300px;
  }
}
@media (max-width: 768px) {
  .company-benefits-facts__wrapper {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
  .company-gallery__item {
    max-height: none;
  }
  .company-gallery__title {
    font-size: 16px;
    line-height: 150%;
  }
  .company-gallery__description {
    font-size: 12px;
    line-height: 160%;
  }
}
@media (max-width: 576px) {
  .company-benefits-facts__wrapper {
    margin-top: 32px !important;
    grid-template-columns: repeat(1, minmax(0, 1fr));
  }
  .company-benefits-facts__line-block {
    display: none;
  }
  .company-benefits-facts__title {
    margin-top: 15px !important;
  }
  .company-gallery {
    margin-top: 32px !important;
  }
  .company-gallery__wrapper {
    grid-template-columns: 1fr;
    gap: 16px;
  }
  .company-gallery__item:first-child {
    padding: 16px;
  }
  .company-gallery__item:nth-child(5) {
    padding: 16px;
  }
}
