.custom_block {
  display: flex;
  background: #f4f4f4;
  padding: 30px;
  padding-bottom: 40px;
  padding-right: 50px;
  align-items: flex-start;
  margin: 50px 0;
}
.single-post--redesign .custom_block {
  margin-left: 0;
  margin-right: 0;
}

.custom_block .icon {
  width: 50px;
  min-width: 50px;
  margin-right: 30px;
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  z-index: -1;
}

.custom_block .icon svg,
.custom_block .icon img {
  max-width: 100%;
  max-height: 100%;
  width: 100%;
  height: auto;
}

.custom-block-content .h4 {
  margin-top: 0;
  font-size: 30px;
  font-style: normal;
  font-weight: 500;
  line-height: 110%;
  font-feature-settings: "clig" off, "liga" off;
  font-variant-numeric: oldstyle-nums proportional-nums;
  margin-bottom: 18px;
}

.custom-block-text {
  display: flex;
  flex-direction: column;
  font-size: 20px;
}

.custom-block-text a {
  display: inline-block;
  width: fit-content;
  color: #414141;
  text-decoration: none;
  cursor: pointer;
  font-size: 20px;
}
.custom-block-text a > span {
  border-bottom: 1px solid #414141;
  transition: border-color 0.3s;
}

.custom-block-text a:hover {
  text-decoration: none;
}
.custom-block-text a:hover > span {
  border-color: transparent;
}

.custom-block-text a + a {
  margin-top: 18px;
}

.custom_block .custom-block-text p {
  margin: 0;
  font-size: 20px;
}

.custom_block .custom-block-text p + p {
  margin-top: 18px;
}

.custom_block .h4--mobile {
  display: none;
}

@media screen and (max-width: 767px) {
  .custom_block {
    padding: 16px;
    padding-bottom: 22px;
    margin: 24px 0;
  }

  .custom_block .icon {
    width: 40px;
    min-width: 40px;
    margin-right: 16px;
  }

  .custom_block .custom-block-content p {
    font-size: 16px;
  }

  .custom_block .custom-block-text p + p {
    margin-top: 16px;
  }

  .custom_block .custom-block-content .h4 {
    font-size: 20px;
    margin-bottom: 16px;
  }
}
