.iw-project-category-card {
  display: flex;
  min-width: 0;
}

.iw-project-category-card > a {
  display: flex;
  width: 100%;
  min-width: 0;
  height: 100%;
  flex-direction: column;
}

.iw-project-category-card__image {
  width: 100%;
  height: auto;
  aspect-ratio: 1170 / 540;
  border-bottom: 1px solid #c9e2ed;
}

.iw-project-category-card__image img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: contain;
  object-position: center;
}

.iw-project-category-card > a:hover .iw-project-category-card__image img {
  transform: scale(1.018);
}

.iw-project-category-card__body {
  position: relative;
  display: flex;
  min-height: 235px;
  flex: 1 1 auto;
  flex-direction: column;
  justify-content: flex-start;
  padding: 20px 19px 68px;
}

.iw-project-category-card__count {
  position: static;
  display: inline-flex;
  width: max-content;
  max-width: 100%;
  align-items: center;
  gap: 4px;
  margin: 0;
  padding: 5px 8px;
  border: 1px solid rgba(0, 136, 204, .16);
  border-radius: 8px;
  color: #0088cc;
  background: #edf7fb;
  font-size: 11px;
  font-weight: 700;
  backdrop-filter: none;
}

.iw-project-category-card__count strong {
  color: #0088cc;
  font-size: 16px;
  line-height: 1;
}

.iw-project-category-card__title {
  color: #173247;
  font-size: 18px;
  font-weight: 800;
  line-height: 1.3;
}

.iw-project-category-card__description {
  margin-top: 9px !important;
  color: #637b89 !important;
  font-size: 13px !important;
  font-weight: 400 !important;
  line-height: 1.62;
}

.iw-project-category-card__footer {
  position: absolute;
  right: 19px;
  bottom: 0;
  left: 19px;
  display: flex;
  min-height: 58px;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  margin-top: 0 !important;
  padding: 11px 0;
  border-top: 1px solid #d9e8ef;
  color: #0088cc !important;
  font-size: 12px !important;
  font-weight: 800 !important;
}

.iw-project-category-card__footer i {
  flex: 0 0 auto;
  margin-left: 0;
  font-size: 13px;
}

.iw-project-category-card__action {
  display: inline-flex;
  align-items: center;
  justify-content: flex-end;
  gap: 7px;
  white-space: nowrap;
}

.iw-project-category-card > a:hover .iw-project-category-card__footer {
  color: #006da3 !important;
}

@media (max-width: 1199px) {
  .iw-project-category-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 767px) {
  .iw-project-category-grid {
    grid-template-columns: 1fr;
  }

  .iw-project-category-card__image {
    height: auto;
  }

  .iw-project-category-card__body {
    min-height: 220px;
  }
}

@media (max-width: 380px) {
  .iw-project-category-card__image {
    height: auto;
  }

  .iw-project-category-card__body {
    min-height: 210px;
    padding-bottom: 68px;
    padding-right: 16px;
    padding-left: 16px;
  }

  .iw-project-category-card__footer {
    right: 16px;
    left: 16px;
  }
}
