.types-block {
  background-color: #f3f9fc;
  padding: 0 15px 56px;
  margin-top: 32px;
  position: relative;
}

.types-block__background-line {
  height: 32px;
  background-color: #ffffff;
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  z-index: 0;
}

.types-block__content {
  display: flex;
  flex-direction: column;
  align-items: center;
  position: relative;
  z-index: 2;
}

.types-block__info {
  max-width: 938px;
  background-color: #ffffff;
  box-shadow: 0px 12.97px 12.97px 0px rgba(0, 0, 0, 0.1019607843);
  padding: 32px 16px 24px;
  margin: 0 auto;
}

.types-block__info h2 {
  font-size: 22px;
  line-height: 28.6px;
  padding: 0;
  margin: 0;
}

.types-block__text {
  font-size: 15px;
  line-height: 18px;
  margin-top: 10px;
}

.types-block__text p {
  padding: 0;
}

.types-block__text p:last-of-type {
  margin-bottom: 0;
}

.types-block__text a {
  text-decoration: underline;
}

.types-block__links {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  width: calc(100% + 20px);
  margin: 20px 0 0 0;
}

.types-block__links a {
  text-decoration: none;
}

.types-block__links a:hover {
  text-decoration: none;
}

.types-block__links a:hover h5 {
  color: #ff725e;
}

.types-block__links a:hover svg path {
  fill: #ff725e;
}

.types-block__link {
  display: flex;
  flex-direction: column;
  flex: 0 1 282px;
  min-height: 170px;
  color: #001e62;
  border: 1px solid #ff725e;
  border-radius: 4px;
  padding: 17px 17px 30px 23px;
  margin: 20px 10px 0;
  position: relative;
}

.types-block__link h5 {
  display: inline-block;
  font-size: 19px;
  font-weight: 600;
  line-height: 1;
  width: 100%;
  color: #001e62;
  padding: 0 10px 0 0;
  margin: 0 0 10px;
  transition: all 0.3s ease;
}

.types-block__link-text {
  font-size: 15px;
  line-height: 1;
  color: #001e62;
  max-width: 220px;
  padding-right: 45px;
}

.types-block__link-icon {
  width: 35px;
  height: 35px;
  position: absolute;
  right: 11px;
  bottom: 11px;
}

.types-block__link-icon img {
  width: 100%;
  height: 35px;
  object-fit: contain;
}

@media screen and (min-width: 575px) {
  .types-block__links {
    justify-content: stretch;
  }

  .types-block__link {
    flex: 0 1 calc(50% - 20px);
  }
}

@media screen and (min-width: 767px) {
  .types-block__link {
    flex: 0 1 calc(33.3333333333% - 20px);
  }
}

@media screen and (min-width: 991px) {
  .types-block {
    margin-top: 44px;
  }

  .types-block__background-line {
    height: 32px;
  }

  .types-block__info {
    padding: 32px 26px 24px;
  }

  .types-block__text {
    margin-top: 16px;
  }

  .types-block__links {
    max-width: 1292px;
  }

  .types-block__link {
    flex: 0 1 calc(33.3333333333% - 40px);
    margin: 20px 20px 0;
  }
}

@media screen and (min-width: 1359px) {
  .types-block__link {
    flex: 0 1 calc(25% - 40px);
  }
}