/* ============================================================
   THE LAB LEDGER — RESOURCES (article index + detail templates)
   Loaded in addition to site.css; reuses its tokens (var(--...))
   so this section visually matches the rest of the marketing site.

   STATUS (WEB-SEO-GROWTH-1-CORR-1): unpublished editorial preview.
   Lives outside public/ (see resources-preview/) and is only served
   when the local preview flag is on — see server.js. Not linked from
   the sitewide nav/footer and not in the sitemap. Does not rely on
   robots.txt or noindex for access control.
   ============================================================ */

/* ---- Breadcrumb ---- */
.breadcrumb {
  display: flex; flex-wrap: wrap; align-items: center; gap: 8px;
  font-family: var(--font-ui);
  font-size: 0.74rem; letter-spacing: 0.04em; text-transform: uppercase;
  color: var(--muted); margin-bottom: var(--space3);
}
.breadcrumb a { color: var(--muted); text-decoration: none; }
.breadcrumb a:hover { color: var(--brand); }
.breadcrumb [aria-current="page"] { color: var(--text2); }

/* ---- Article index list ---- */
.resource-list { display: flex; flex-direction: column; gap: var(--space4); }

.resource-card-head {
  display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between;
  gap: var(--space2); margin-bottom: var(--space2);
}
.resource-card-head h2 { font-size: 1.15rem; margin: 0; }
.resource-card-head h2 a { color: var(--text); text-decoration: none; }
.resource-card-head h2 a:hover { color: var(--brand); }

/* ---- Byline / meta row (index cards + article header) ---- */
.resource-meta {
  display: flex; flex-wrap: wrap; align-items: center; gap: 8px;
  color: var(--muted); font-size: 0.82rem; margin: var(--space2) 0;
}
.resource-meta--article { margin-top: var(--space3); }

/* ---- Draft / review-status callout ---- */
.status-notice {
  background: var(--surface); border: 1px solid var(--border);
  border-left: 3px solid var(--warn); border-radius: var(--radius-lg);
  padding: var(--space4); margin-bottom: var(--space5);
}
.status-notice h2 { font-size: 1.05rem; margin: 0 0 var(--space2); }
.status-notice p { color: var(--text2); font-size: 0.92rem; line-height: 1.6; margin-bottom: var(--space2); }
.status-notice p:last-child { margin-bottom: 0; }

/* ---- Long-form article body (reuses .legal typography; adds what .legal doesn't define) ---- */
.legal h3 { font-size: 1.02rem; margin: var(--space4) 0 var(--space2); color: var(--text); }
.legal ol { margin: 0 0 var(--space3) 1.2em; }
.legal table {
  width: 100%; border-collapse: collapse; margin: 0 0 var(--space4);
  font-size: 0.9rem; display: block; overflow-x: auto; -webkit-overflow-scrolling: touch;
}
.legal th, .legal td {
  text-align: left; padding: var(--space2) var(--space3);
  border-bottom: 1px solid var(--border); vertical-align: top; white-space: normal;
}
.legal th {
  color: var(--text); font-family: var(--font-ui); text-transform: uppercase;
  font-size: 0.7rem; letter-spacing: 0.06em;
}
.legal em { color: var(--text2); }
