/* render_cluster.py supplemental stylesheet — additive only.
   styles.css (emd-deployer skill file) is never modified; this file only
   ADDS rules for the page types render.py doesn't know about (about page,
   Knowledge Hub, standalone article pages). Reuses styles.css CSS custom
   properties (--primary, --accent, --serif, --sans, --rule-light, etc.)
   so these pages inherit the same per-domain color/font fingerprint as
   the homepage. */

.cluster-nav {
  display: flex; gap: 20px; align-items: center; font-size: 14px;
}
.cluster-nav a {
  color: var(--text-muted); text-decoration: none; font-weight: 500;
}
.cluster-nav a:hover { color: var(--primary); }

.cluster-main { padding: 48px 0 80px; background: var(--bg); min-height: 55vh; }

.cluster-article.prose {
  margin: 0 auto;
  background: var(--surface);
  border: 1px solid var(--rule-light);
  border-radius: var(--radius-lg);
  padding: 40px clamp(20px, 5vw, 64px) 56px;
  box-shadow: var(--shadow-sm);
}
.cluster-article.prose > *:first-child { margin-top: 0; }
.cluster-article.prose h1 {
  font-family: var(--serif); font-weight: 700;
  font-size: clamp(26px, 3.6vw, 36px); line-height: 1.2;
  color: var(--primary-dark); letter-spacing: -0.015em;
  margin: 0 0 8px;
}
.cluster-article.prose > p:first-of-type { color: var(--text-muted); font-size: 18px; }
.cluster-article.prose em { color: var(--text-faint); }

/* Knowledge Hub */
.hub-header { padding: 56px 0 8px; text-align: center; }
.hub-header .section-title { margin-top: 4px; }
.hub-intro {
  max-width: 680px; margin: 0 auto 8px; text-align: center;
  color: var(--text-muted); font-size: 17px; line-height: 1.6;
}
.hub-grid {
  display: grid; grid-template-columns: 1fr; gap: 20px;
  max-width: var(--max-width-wide); margin: 40px auto 0; padding: 0 28px 96px;
}
@media (min-width: 720px) { .hub-grid { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 1080px) { .hub-grid { grid-template-columns: repeat(3, 1fr); } }
.hub-card {
  background: var(--surface); border: 1px solid var(--rule-light);
  border-radius: var(--radius); padding: 26px 24px;
  display: flex; flex-direction: column; gap: 10px;
  text-decoration: none;
  transition: transform 0.2s ease, box-shadow 0.2s ease, border-color 0.2s ease;
}
.hub-card:hover { transform: translateY(-3px); box-shadow: var(--shadow-md); border-color: var(--primary-tint-2); }
.hub-card h2 {
  font-family: var(--serif); font-weight: 700; font-size: 19px;
  color: var(--primary-dark); margin: 0; line-height: 1.3;
}
.hub-card p { font-size: 14.5px; color: var(--text-muted); margin: 0; line-height: 1.55; }
