.container {
  margin: 1.5rem 0;
}

.grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
  gap: 1.25rem;
}

.card {
  border: 1px solid var(--ifm-color-emphasis-200);
  border-radius: 8px;
  padding: 1.25rem;
  background: var(--ifm-background-surface-color);
  transition: all 0.2s ease;
}

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

.content {
  display: flex;
  flex-direction: column;
  height: 100%;
}

.header {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  margin-bottom: 0.5rem;
}

.icon {
  font-size: 1.5rem;
  line-height: 1;
  flex-shrink: 0;
}

.title {
  font-size: 1.125rem;
  font-weight: 600;
  color: var(--ifm-heading-color);
  margin: 0;
}

.description {
  font-size: 0.875rem;
  color: var(--ifm-color-emphasis-600);
  margin: 0 0 1rem 0;
  flex: 1;
  line-height: 1.5;
}

.actions {
  display: flex;
  gap: 0.75rem;
  margin-top: auto;
}

.downloadButton,
.githubButton {
  flex: 1;
  padding: 0.5rem 1rem;
  border-radius: 6px;
  font-size: 0.875rem;
  font-weight: 500;
  text-align: center;
  text-decoration: none;
  transition: all 0.15s ease;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.375rem;
}

.buttonIcon {
  font-size: 0.875rem;
  line-height: 1;
}

.downloadButton {
  background: var(--ifm-color-primary);
  color: #fff;
  border: 1px solid var(--ifm-color-primary);
}

.downloadButton:hover {
  background: var(--ifm-color-primary-dark);
  border-color: var(--ifm-color-primary-dark);
  color: #fff;
  text-decoration: none;
}

.githubButton {
  background: transparent;
  color: var(--ifm-font-color-base);
  border: 1px solid var(--ifm-color-emphasis-300);
}

.githubButton:hover {
  background: var(--ifm-color-emphasis-100);
  border-color: var(--ifm-color-emphasis-400);
  color: var(--ifm-font-color-base);
  text-decoration: none;
}

@media (max-width: 768px) {
  .grid {
    grid-template-columns: 1fr;
    gap: 1rem;
  }
  
  .card {
    padding: 1rem;
  }
}

