.three-column-card-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
  padding-inline: 32px;
}

.three-column-card {
  background: #fff;
  border-radius: 8px;
  overflow: hidden;
  display: flex;
  flex-direction: column;
}

.three-column-card img {
  width: 100%;
  height: 330px !important;
  object-fit: cover;
}
.three-column-card-image-container {
  position: relative;
  display: inline-block;
  overflow: hidden;
  border-top-left-radius: 8px;
  border-top-right-radius: 8px;
  border-bottom-right-radius: 0px;
  border-bottom-left-radius: 0px;
}

.three-column-card-image-container img {
  display: block;
  width: 100%;
  height: 330px;
}

.three-column-card-image-container::after {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: linear-gradient(
    180deg,
    rgba(31, 147, 255, 0.7) 100%,
    rgba(81, 151, 215, 0) 100%
  );
  mix-blend-mode: hard-light;
  opacity: 0;
  border-radius: 8px 8px 0px 0px;
}

.three-column-card-image-container:hover::after {
  content: " " !important;
  opacity: 1;
  background-color: unset !important;
  background: linear-gradient(180deg, rgba(31, 147, 255, 0.7) 100%, rgba(81, 151, 215, 0.00) 100%);
  mix-blend-mode: hard-light;
  border-radius: 8px 8px 0px 0px;
}

.three-column-card-image-container:hover img {
  transform: scale(1.05);
}
.three-column-card:hover .three-column-card-image-container::after {
  opacity: 1;
}

.three-column-card:hover .three-column-card-image-container img {
  transform: scale(1.05);
}

.three-column-card:hover h4,
.three-column-card:hover h5,
.three-column-card:hover p {
  color: #007bff;
}

.three-column-card-content {
  padding-top: 38px;
  padding-right: 37px;
  padding-bottom: 48px;
  padding-left: 37px;
  flex: 1;
  display: flex;
  flex-direction: column;
  min-height: 182px;
  background-color: #E8E9E6;
  justify-content: space-between;
}

.three-column-card h4 {
  margin: 0;
  font-size: 24px;
  font-weight: 400;
  color: #101010;
  margin-bottom: 40px;
  line-height: 1.2;
}
.three-column-card h5 {
  margin: 0;
  font-size: 14px;
  color: #8E8E8E;
  line-height: 17px;
  font-weight: 400;
}

.three-column-card p {
  margin: 0 0;
  font-size: 17px;
  color: #4C4C4C;
  line-height: 1.3;
  letter-spacing: 0.26px;
}

.three-column-card button {
  align-self: flex-start;
  background: none;
  border: 1.5px solid #0085ff;
  border-radius: 50px;
  padding: calc(.4em - 2px) calc(1em - 2px);
  color: #0085ff;
  font-size: 17px;
  line-height: 38px;
  cursor: pointer;
  transition: all 0.3s ease;
  width: 150px;
  place-content: center;
  margin-top: 24px;
}

.three-column-card button:hover {
  background: #cfcfcf;
  color: #0085ff;
}

@media (max-width: 1024px) {
  .three-column-card-grid {
    padding-inline: 0;
  }
  .three-column-card-content {
    padding-top: 15px;
    padding-right: 15px;
    padding-bottom: 20px;
    padding-left: 15px;
  }

  @media (max-width: 768px) {
    .three-column-card-grid {
      display: grid;
      grid-template-columns: repeat(1, 1fr);
      gap: 20px;
      padding-inline: 0;
    }
    .three-column-card-content {
      padding-top: 40px;
      padding-right: 23px;
      padding-bottom: 50px;
      padding-left: 23px;
    }
  }