.about-cards-widget {
  position: relative;
}

.about-cards-inner {
  display: flex;
  justify-content: space-between;
  align-items: center;
  align-content: center;
  row-gap: 50px;
  max-width: 1300px;
}

.about-cards-images {
  box-shadow: 0 4px 4px 0 rgba(0, 0, 0, 0.25);
  display: flex;
  flex-direction: column;
  gap: 15px;
  overflow: hidden;
  box-shadow: 0 14px 35px rgba(0, 0, 0, .18);
}

.about-cards-image img {
  height: 265px;
  border: 6px solid #fff;
  overflow: hidden;
}

.about-cards-image:first-child img {
  border-radius: 0 35px 0 0;
}

.about-cards-image:last-child img {
  border-radius: 0 0 0 35px;
}

.about-cards-image img {
  width: 100%;
  display: block;
  object-fit: cover;
}

.about-cards-content {
  margin-bottom: 15px;
}

.about-cards-content p,
.about-cards-content h1,
.about-cards-content h2,
.about-cards-content h3 {
  color: #fff;
}

.about-cards-content h2 {
  margin-bottom: 20px;
}

.about-cards-content p:last-child {
  margin-bottom: 0;
}

.about-cards-list {
  display: flex;
  flex-direction: column;
  gap: 30px;
}

.about-cards-card {
  display: flex;
  padding: 25px 30px;
  justify-content: center;
  align-items: center;
  gap: 20px;
  align-self: stretch;
  background: #fff;
  color: #212427;
  border-radius: 25px;
}

.about-cards-card-icon img {
  width: 60px;
  object-fit: contain;
  display: block;
}

.about-cards-card-content h1,
.about-cards-card-content h2,
.about-cards-card-content h3,
.about-cards-card-content h4 {
  color: #1F301C;
  font-size: 22px;
  font-style: normal;
  font-weight: 500;
  line-height: normal;
  letter-spacing: 0.66px;
  text-transform: capitalize;
}

.about-cards-card-content p {
  font-size: 15px;
  font-style: normal;
  font-weight: 400;
  line-height: 25.557px;
  /* 170.378% */
  letter-spacing: 0.45px;
  margin: 0;
}

.about-cards-content-wrap {
  display: flex;
  max-width: 740px;
  flex-direction: column;
  gap: 0;
  flex: 1 0 0;
}

@media only screen and (max-width: 1440px) {
  .about-cards-images {
    width: 340px;
  }

  .about-cards-inner {
    gap: 30px;
  }

  .about-cards-image img {
    height: 200px
  }
}

@media only screen and (max-width: 1240px) {
  .about-cards-images {
    width: 340px;
  }

  .about-cards-inner {
    gap: 30px;
  }

  .about-cards-image img {
    height: 200px
  }
}

@media (max-width: 991px) {
  .about-cards-inner {
    display: flex;
    flex-direction: column;
  }

  .about-cards-image {
    display: none;
  }

  .about-cards-image:last-child {
    display: block;
  }

  .about-cards-images {
    width: 100%;
  }

  .about-cards-content-wrap {
    align-items: center;
    gap: 30px;
  }

  .about-cards-content {
    text-align: center;
  }

  .about-cards-image img {
    height: 260px;
    width: 100%;
  }
}

@media (max-width: 620px) {
  .about-cards-card {
    flex-direction: column;
  }

  .about-cards-card-content {
    text-align: center;
  }
}
