/* ============================================================================
   @fgl/vituno cards (Story 1.2.1).
   Census: lawcuments `.card` feature cards + kitchenbridget's recipe/menu
   cards (its central pattern; markup swaps are adoption-opportunistic).
   The framework ships the base shell — surface, hairline border, radius,
   padding, media slot. Cards are FLAT by default: --border-subtle carries
   the edge, --shadow-0 the elevation (shadow is reserved for true
   elevation, never decoration). Site-specific internals stay site-owned.
   TOKENS ONLY (structural markers audited by test/components.test.mjs).
   ============================================================================ */

.card { background: var(--surface-elevated); border: 1px solid var(--border-subtle); /* structural: hairline card edge */ border-radius: var(--radius-md); padding: var(--space-4); box-shadow: var(--shadow-0); }

/* Full-bleed media slot — pulls to the card edge, rounds the top corners. */
.card__media { margin: calc(-1 * var(--space-4)) calc(-1 * var(--space-4)) var(--space-3); }
.card__media img { display: block; width: 100%; border-radius: var(--radius-md) var(--radius-md) 0 0; }

.card__title { font-size: var(--fs-h3); line-height: var(--lh-h3); font-weight: var(--fw-semibold); margin-block: 0 var(--space-2); }
.card__body { color: var(--ink-body); font-size: var(--fs-body); line-height: var(--lh-body); }
.card__meta { color: var(--ink-muted); font-size: var(--fs-caption); line-height: var(--lh-caption); }
