.cards-block .d-grid {
  grid-template-columns: repeat(2, 1fr);
  grid-column-gap: 16px;
  grid-row-gap: 16px;
}
.cards-block figure.width-auto img {
  width: auto !important;
}
.cards-block .inner-wrapper {
  padding: 30px 24px;
}
.cards-block .inner-wrapper img:not(.img-lines img) {
  height: 73px !important;
  width: 100%;
}
.cards-block .inner-wrapper .img-lines img {
  width: 100%;
  height: 100%;
}
.cards-block .card-box {
  border-radius: 10px;
}
.cards-block .card-box-custom {
  text-align: left;
}
.cards-block .card-box-custom.card-2 {
  grid-column: span 2 !important;
}
.cards-block .card-box-custom.card-3 {
  grid-column: span 2 !important;
}
.cards-block .card-box-custom.card-4 {
  grid-column: span 4 !important;
}
.cards-block .card-box-custom img {
  max-height: 40px;
}
.cards-block .card-box-custom .inner-wrapper {
  padding: 0;
}
.cards-block .card-image {
  border-radius: 10px;
  overflow: hidden;
}
.cards-block .card-image .inner-wrapper {
  padding: 0 !important;
}
.cards-block .card-image .inner-wrapper .image-card {
  aspect-ratio: 16/9;
  position: relative;
  margin-bottom: 0;
  overflow: hidden;
}
.cards-block .card-image .inner-wrapper .image-card::before {
  content: "";
  background: linear-gradient(270deg, rgba(26, 150, 211, 0.06) 0%, rgba(26, 150, 211, 0.3) 100%);
  width: 100%;
  height: 100%;
  position: absolute;
  top: 0;
  left: 0;
}
.cards-block .card-image .inner-wrapper .image-card img {
  width: 100%;
  height: 100% !important;
  object-fit: cover;
}
.cards-block .card-image .inner-wrapper .inner-div {
  padding: 1rem;
}

@media only screen and (max-width: 767px) {
  .cards-block.cols-mobile-1 .d-grid {
    grid-template-columns: repeat(1, 1fr);
  }
  .cards-block.cols-mobile-2 .d-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}
@media only screen and (min-width: 768px) and (max-width: 1024px) {
  .cards-block.cols-tablet-1 .d-grid {
    grid-template-columns: repeat(1, 1fr);
  }
  .cards-block.cols-tablet-2 .d-grid {
    grid-template-columns: repeat(2, 1fr);
  }
  .cards-block.cols-tablet-3 .d-grid {
    grid-template-columns: repeat(3, 1fr);
  }
  .cards-block.cols-tablet-3 .d-grid .card-box-custom {
    grid-column: span 3 !important;
  }
}
@media only screen and (max-width: 1024px) {
  .cards-block .card-box-custom .card-inner {
    justify-content: center !important;
    align-items: center !important;
  }
  .cards-block .card-box-custom .inner-wrapper {
    padding: 0 !important;
  }
}
@media only screen and (min-width: 1025px) {
  .cards-block.cols-2 .d-grid, .cards-block.cols-3 .d-grid, .cards-block.cols-4 .d-grid {
    grid-template-columns: repeat(2, 1fr);
  }
  .cards-block .card-box {
    grid-column: auto;
  }
  .cards-block .card-box-custom img {
    max-height: 82px;
  }
  .cards-block .card-box-custom .inner-wrapper {
    padding-left: 10px;
  }
}
@media only screen and (min-width: 1025px) {
  .cards-block.cols-3 .d-grid {
    grid-template-columns: repeat(3, 1fr);
  }
  .cards-block.cols-4 .d-grid {
    grid-template-columns: repeat(4, 1fr);
  }
  .cards-block .image-card .inner-div {
    padding: 30px 24px;
  }
  .cards-block .card-box-custom.card-3 {
    grid-column: span 3 !important;
  }
}