/* --- Docs cards --- */

/* Make the actual list of items the grid */
.cards .field__items {
  display: grid;
  grid-template-columns: 1fr;
  gap: 0.5rem;
}

/* Remove theme/bundle spacing that can fight the gap */
.cards .field,
.cards .field__item,
.cards .paragraph {
  margin: 0;
  padding: 0;
}

/* Card */
.card.doc-card {
  background: #ffffff;
  border: 1px solid #e5e7eb;
  border-radius: 14px;
  box-shadow: 0 6px 18px rgba(0,0,0,0.05);
  padding: 18px;
  transition: transform .15s ease, box-shadow .15s ease;
}
.card.doc-card:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 24px rgba(0,0,0,.08);
}

/* Top row */
.doc-top {
  display: flex;
  gap: 16px;
  justify-content: space-between;
  align-items: flex-start;
}

/* Text */
.doc-title {
  margin: 0;
  font-size: 16px;
  font-weight: 600;
  color: #0f172a;
}
.doc-meta {
  color: #64748b;
  font-size: 13px;
  margin-top: 4px;
}

/* Chips */
.chips { margin-top: 8px; }
.chip {
  display: inline-block;
  margin-right: 6px;
  margin-bottom: 6px;
  background: #f1f5f9;
  border: 1px solid #e5e7eb;
  border-radius: 999px;
  padding: 4px 10px;
  font-size: 12px;
  color: #0f172a;
}

/* CTA */
.doc-actions a {
  display: inline-flex;
  gap: 6px;
  align-items: center;
  background: #002347; /* brand */
  color: #ffffff;
  padding: 8px 12px;
  border-radius: 10px;
  text-decoration: none;
  font-size: 14px;
  font-weight: 500;
}
.doc-actions a:hover { background: #0a3a80; }
