.cardGrid {
  display: grid;
  gap: 1rem;
  margin-bottom: 2rem;
}

.cols2 {
  grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
}

.cols3 {
  grid-template-columns: repeat(auto-fill, minmax(250px, 1fr));
}

.cols4 {
  grid-template-columns: repeat(auto-fill, minmax(220px, 1fr));
}

.card {
  border: 1px solid var(--ifm-color-emphasis-200);
  border-radius: 8px;
  transition: all 0.2s ease;
  overflow: hidden;
  text-decoration: none !important;
  color: var(--ifm-font-color-base);
  display: flex;
  flex-direction: column;
  height: 100%;
  background-color: var(--ifm-card-background-color);
  box-shadow: 0 1px 2px rgba(0, 0, 0, 0.05);
}

.card:hover {
  border-color: var(--ifm-color-primary);
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.08);
  transform: translateY(-2px);
}

.cardContent {
  padding: 1.5rem;
  flex-grow: 1;
  display: flex;
  flex-direction: column;
}

.cardHeader {
  margin-bottom: 0.5rem;
}

.cardTitle {
  font-size: 1.2rem;
  margin-bottom: 0.5rem;
  color: var(--ifm-heading-color);
}

.cardDescription {
  font-size: 0.9rem;
  color: var(--ifm-color-emphasis-700);
  margin: 0;
  flex-grow: 1;
}

.cardIcon {
  margin-bottom: 1rem;
  display: flex;
  align-items: center;
  justify-content: center;
  height: 2.5rem;
  width: 2.5rem;
  border-radius: 8px;
  background-color: var(--ifm-color-primary-lightest);
  color: var(--ifm-color-primary-dark);
}

@media (max-width: 768px) {
  .cardGrid {
    grid-template-columns: 1fr;
  }
}