.custom-career .wrap-block-cards {
  margin: -10px;
  padding-top: 16px;
}

.custom-career .wrap-block-cards .block_card figure {
  margin: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 16px;
}
.custom-career .wrap-block-cards,
.home-lab .wrap-block-cards {
  display: flex;
  flex-wrap: wrap;
}
.custom-career__card {
  /* flex: 0 0 50%; */
  padding: 10px;
  margin: 0;
  width: 100%;
  /* max-width: 178px; */
}

.custom-career__card p {
  margin: 0;
  padding: 0;
  font-size: 16px;
  line-height: 22px;
  color: #1b2762;
  overflow: hidden;
  position: relative;
  padding-right: 46px;
}

.custom-career__card p:after {
  content: "";
  background-image: url("data:image/svg+xml,%3Csvg width='91' height='8' viewBox='0 0 91 8' fill='none' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath d='M90.3536 4.35355C90.5488 4.15829 90.5488 3.84171 90.3536 3.64645L87.1716 0.464466C86.9763 0.269204 86.6597 0.269204 86.4645 0.464466C86.2692 0.659728 86.2692 0.976311 86.4645 1.17157L89.2929 4L86.4645 6.82843C86.2692 7.02369 86.2692 7.34027 86.4645 7.53553C86.6597 7.7308 86.9763 7.7308 87.1716 7.53553L90.3536 4.35355ZM0 4.5H90V3.5H0V4.5Z' fill='%23E74054'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 0;
  background-size: cover;
  width: 32px;
  height: 9px;
  display: block;
  margin: 0 auto;
  position: absolute;
  right: 0;
  top: 6px;
}

.custom-career__card {
  box-shadow: none;
}

.custom-career__card-box {
  background-color: #fff;
  height: 100%;
  padding: 10px;
}

.custom-career__card-box figure {
  margin: 0;
  font-size: 0;
  margin-bottom: 16px;
  display: none;
}

.custom-career__card-box {
  box-shadow: 0px -3px 12px rgba(7, 39, 98, 0.05),
    0px 7px 12px rgba(27, 39, 98, 0.05);
}
.career-card__box {
  text-decoration: none;
  position: relative;
  display: block;
}
.home-lab .custom-career__card-box figure {
  display: flex;

  align-items: center;

  justify-content: center;

  height: 60px;
  margin-bottom: 24px;
}
.custom-career__card-box figure img {
  width: auto;
  height: 60px;
  max-height: 100%;
}
@media only screen and (min-width: 375px) {
  .custom-career__card-box {
    padding: 16px;
  }
}
@media (min-width: 768px) {
  .custom-career__card {
    flex: 0 0 50%;
    max-width: 178px;
  }
  .custom-career__card-box {
    text-align: center;
    min-height: 174px;
  }
  .custom-career__card-box figure {
    display: block;
  }
  .custom-career .home-block-head {
    max-width: 570px;
  }
  .custom-career__card {
    flex-basis: 33.333333%;
  }
  .custom-career .Homesub-title {
    margin-top: 18px;
  }
  .custom-career .wrap-block-cards {
    padding-top: 24px;
  }
  .custom-career__card p {
    padding-right: 0;
  }
  
.custom-career__card p:after {
    width: 35px;
    top: auto;
    bottom: -20px;
    right: 0;
    left: 0;
    transform: translate(0, 50%);
    opacity: 0;
    transition: all 0.3s ease-in-out, opacity 0.8s ease-in-out;
  }

  .custom-career__card p span {
    display: block;
    position: relative;
    transform: translate(0, 0);
    opacity: 1;
    transition: all 0.3s ease-in-out, opacity 0.8s ease-in-out;
  }

  .custom-career__card .custom-career__card-box:hover p span {
    -webkit-transform: translate(0, -100%);
-ms-transform: translate(0, -100%);
        transform: translate(0, -100%);
    opacity: 0;
  }

  .custom-career__card .custom-career__card-box:hover p:after {
    bottom: 50%;
    opacity: 1;
  }
}

@media (min-width: 1025px) {
  .custom-career .home-block-head {
    max-width: 760px;
  }
  .custom-career__card {
    max-width: 314px;
  }
  .custom-career__card-box {
    box-shadow: none;
  }
  .custom-career__card-box:hover {
    box-shadow: 0px -3px 12px rgba(7, 39, 98, 0.05),
      0px 7px 12px rgba(27, 39, 98, 0.05);
  }
  .custom-career .wrap-block-cards {
    padding-top: 32px;
  }
  .custom-career__card-box {
    min-height: 224px;
    padding: 24px;
  }
  .custom-career .wrap-block-cards .block_card figure {
    margin-top: 32px;
  }
  .custom-career__card-box figure img {
    height: 100px;
  }
  .custom-career__card-box figure {
    margin-bottom: 28px;
  }
  .custom-career__card p {
    font-size: 18px;
  }
}
