/* 方案目录页 — 与首页浅色主题一致的目录卡片样式 */
.list-catalog-item {
  display: grid;
  grid-template-columns: auto 1fr auto;
  gap: 1rem 1.25rem;
  align-items: center;
}

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

.list-catalog-tag {
  font-size: 0.75rem;
  font-weight: 600;
  color: #1d4ed8;
  background: #eff6ff;
  border: 1px solid #bfdbfe;
  padding: 0.35rem 0.65rem;
  border-radius: 0.5rem;
  white-space: nowrap;
  align-self: start;
}

.list-catalog-item h3 {
  margin: 0 0 0.35rem;
  font-size: 1.05rem;
  font-weight: 700;
}

.list-catalog-item h3 a {
  color: #111827;
  text-decoration: none;
}

.list-catalog-item h3 a:hover {
  color: #2563eb;
}

.list-catalog-item p {
  margin: 0;
  font-size: 0.9375rem;
  color: #4b5563;
  line-height: 1.6;
}

.list-catalog-link {
  font-weight: 600;
  font-size: 0.875rem;
  color: #2563eb;
  white-space: nowrap;
  text-decoration: none;
}

.list-catalog-link:hover {
  color: #1d4ed8;
}

.list-related-links {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem 1.25rem;
  list-style: none;
  margin: 0;
  padding: 0;
}

.list-related-links a {
  color: #2563eb;
  font-weight: 500;
  text-decoration: none;
}

.list-related-links a:hover {
  color: #1d4ed8;
  text-decoration: underline;
}
