.card-three {
  width: 100%;
}
.card-three .card {
  transition: all 0.3s ease;
  max-width: 100%;
}

.card-three .card:hover .card__image img {
  transform: scale(1.05);
}

.card-three .card__image {
  border-radius: 0 0 0 0;
  line-height: 0;
  overflow: hidden;
}

.card-three .card__image img,
.card-three .card__image-img {
  border-radius: 0 0 0 0;
  max-width: 100%;
  height: auto;
  width: 100%;
  transition: all 0.3s ease;
}

.card__content-three {
  background-color: transparent;
  padding: 30px 40px;
  border-radius: 0 0 0 0;
}

.card-three .card__button {
  display: inline-block;
  color: var(--btn-text-color, #fff);
  font-size: 18px;
  font-weight: 700;
  line-height: normal;
  border-radius: 4px;
  background: var(--btn-fill, #1c1f25);
  padding: 16px;
  margin-top: 16px;
  transition: all 0.3s ease;
}

.card-three .card__button:hover {
  background: var(--btn-hover, #685dff);
}

.card-three .card__button span {
  margin-left: 10px;
}

/*************** card type 03 - Background Image Layout  *************/
.card-three .card--with-bgimg {
  background-size: cover;
  background-repeat: no-repeat;
  background-position: center;
  min-height: 209px;
  border-radius: 16px;
  overflow: hidden;
}

.card__content-three {
  background-image: linear-gradient(
    180deg,
    rgba(0, 0, 0, 0) 0%,
    var(--section-bg, #000) 100%
  );
  min-height: 209px;
  display: flex;
  justify-content: end;
  flex-direction: column;
  color: #fff;
  padding: 37px 58px 37px 24px;
}

.card__content-three p {
  margin: 0 0 0 0;
}

.card-three .card--with-bgimg .card__button {
  margin-top: 12px;
  font-size: 14px;
  padding: 8px 16px;
  background: var(--btn-fill, #fff);
  color: var(--btn-text-color, #000);
}

.card-three .card--with-bgimg .card__button:hover {
  background: var(--btn-hover, #f0f0f0);
  color: var(--btn-text-hover, #000);
}

@media screen and (max-width: 1199px) {
  .card__content-three {
    padding: 20px 30px;
  }

  .card-three .card--with-bgimg .card__button {
    font-size: 13px;
    padding: 6px 12px;
  }
}

@media screen and (max-width: 600px) {
  .card__content-three {
    padding: 15px 20px;
  }

  .card-three .card--with-bgimg .card__title h1,
  .card-three .card--with-bgimg .card__title h2,
  .card-three .card--with-bgimg .card__title h3,
  .card-three .card--with-bgimg .card__title h4,
  .card-three .card--with-bgimg .card__title h5,
  .card-three .card--with-bgimg .card__title h6 {
    margin-bottom: 4px;
  }

  .card-three .card--with-bgimg .card__button {
    font-size: 12px;
    padding: 6px 10px;
  }
}
