.ifg-empty {
  padding: 12px 0;
  color: #555;
}

.ifg-grid {
  display: grid;
  gap: 22px;
  align-items: stretch;
}

.ifg-cols-1 { grid-template-columns: 1fr; }
.ifg-cols-2 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.ifg-cols-3 { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.ifg-cols-4 { grid-template-columns: repeat(4, minmax(0, 1fr)); }

@media (max-width: 980px) {
  .ifg-cols-4 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}

@media (max-width: 560px) {
  .ifg-cols-2, .ifg-cols-3, .ifg-cols-4 { grid-template-columns: 1fr; }
}

.ifg-card {
  display: block;
  text-decoration: none !important;
  color: inherit;
  background: #f5f5f5;
  border-radius: 4px;
  border: 0;
  border-left: 4px solid #d6d6d6;
  border-bottom: 4px solid #d6d6d6;
  box-shadow: 0 1px 2px rgba(0,0,0,.03);
  transition: transform .28s ease, box-shadow .28s ease, border-color .28s ease;
}

.ifg-card:hover {
  transform: translateY(-2px);
  box-shadow: 0 10px 22px rgba(0,0,0,.08);
  border-left-color: #7ac142;
  border-bottom-color: #7ac142;
}

.ifg-card--disabled {
  cursor: default;
}

.ifg-card--disabled:hover {
  transform: none;
  box-shadow: 0 1px 2px rgba(0,0,0,.03);
  border-left-color: #d6d6d6;
  border-bottom-color: #d6d6d6;
}

.ifg-card__inner {
  padding: 34px 18px;
  text-align: center;
}

.ifg-icon {
  display: inline-flex;
  color: #2d93c8;
  margin-bottom: 16px;
}

.ifg-title {
  font-size: 18px;
  font-weight: 800;
  color: #333;
}

.ifg-pagination {
  margin-top: 18px;
}

.ifg-pagination .page-numbers {
  display: flex;
  justify-content: center;
  gap: 10px;
  list-style: none;
  padding: 0;
  margin: 0;
  flex-wrap: wrap;
}

.ifg-pagination .page-numbers a,
.ifg-pagination .page-numbers span {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 16px;
  height: 16px;
  padding: 0;
  border-radius: 999px;
  text-decoration: none;
  border: 0;
  color: transparent;
  background: #cfcfcf;
  font-size: 0;
  line-height: 1;
}

.ifg-pagination .page-numbers .current {
  background: #7ac142;
  color: transparent;
}

.ifg-pagination .page-numbers a:hover {
  background: #a9d88a;
}

.ifg-pagination .page-numbers .dots {
  background: transparent;
  width: auto;
  height: auto;
  padding: 0 6px;
  color: #888;
  font-size: 14px;
}

.ifg-pagination .page-numbers .prev,
.ifg-pagination .page-numbers .next {
  display: none;
}

