/*
  apps/homepage/public/assets/css/page-guides.css
  Status: NEW
  Purpose: /guides (index) and /guides/<slug> (article). Long-form prose
           reuses .fm-docs__h2/__h3/__p from page-marketing.css; this file
           only adds what those pages don't already have — the index card
           grid, a meta line, and the related-reading strip at the foot of
           each article.
*/

/* ── /guides index ──────────────────────────────────────────────────────── */

.fm-guide-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
  gap: 18px;
  margin-top: 22px;
}

.fm-guide-card {
  display: block;
  padding: 20px 22px;
  border: 1px solid var(--fm-border, rgba(255, 255, 255, 0.1));
  border-radius: 10px;
  background: var(--fm-surface, rgba(255, 255, 255, 0.02));
  text-decoration: none;
  color: inherit;
}

.fm-guide-card__eyebrow {
  font-family: var(--fm-mono, ui-monospace, monospace);
  font-size: 11px;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  opacity: 0.55;
  margin: 0 0 8px;
}

.fm-guide-card__title {
  font-size: 17px;
  font-weight: 700;
  margin: 0 0 6px;
  line-height: 1.3;
}

.fm-guide-card__desc {
  margin: 0;
  font-size: 13.5px;
  line-height: 1.6;
  opacity: 0.78;
}

/* ── /guides/<slug> article ──────────────────────────────────────────────── */

.fm-guide-article {
  max-width: 760px;
  margin: 0 auto;
}

.fm-guide-meta {
  font-family: var(--fm-mono, ui-monospace, monospace);
  font-size: 11.5px;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  opacity: 0.55;
  margin: 0 0 4px;
}

.fm-guide-related {
  max-width: 760px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(220px, 1fr));
  gap: 14px;
}

.fm-guide-related a {
  display: block;
  padding: 14px 16px;
  border: 1px solid var(--fm-border, rgba(255, 255, 255, 0.1));
  border-radius: 8px;
  text-decoration: none;
  color: inherit;
  font-size: 13.5px;
  font-weight: 600;
}
