/* The topic-cluster blog (src/blogCluster.js, Pete 9 Nov 2026): loaded after app.css. Byline, guide contents,
   related links, home-page CTAs and the author box, in RankedIn's colours. */
.cluster-post .byline { margin: 0 0 18px; }
.cluster-post .byline a { color: inherit; font-weight: 600; }

/* the guide's contents on a pillar page (right after the intro CTA) */
.guide-contents { background: var(--card); border: 1px solid var(--line); border-radius: 14px; padding: 18px 20px; margin: 24px 0 8px; }
.post-body .guide-contents h2 { margin: 0 0 10px; font-size: 1.2rem; }
.guide-contents ol { margin: 0; padding-left: 22px; }
.guide-contents li { margin: 0 0 10px; line-height: 1.45; }
.guide-contents li a { font-weight: 650; }
.guide-contents li span, .related-guides li span { display: block; font-size: 0.9rem; color: var(--muted); }

/* related guides (pillars), siblings and the way back to the pillar */
.related-guides { margin: 32px 0 0; }
.related-guides h2 { font-size: 1.25rem; margin: 0 0 10px; }
.related-guides ul { list-style: none; padding: 0; margin: 0; display: grid; gap: 10px; }
.related-guides li { background: var(--card); border: 1px solid var(--line); border-radius: 12px; padding: 12px 14px; line-height: 1.45; }
.related-guides li a { font-weight: 650; }
.back-to-pillar { background: var(--accent-tint); border-radius: 10px; padding: 10px 14px; margin: 0 0 18px; }
.back-to-pillar a { font-weight: 650; }

/* the home-page CTAs (first article free) */
.cluster-cta h2 { font-size: 1.35rem; }
.cluster-cta .button.primary { background: #2f8cff; border-color: #2f8cff; font-size: 1.02rem; padding: 11px 20px; }
.cluster-cta .button.primary:hover { background: #fff; border-color: #fff; color: var(--accent-dark); }
.cluster-cta-short { padding: 16px 20px; display: flex; flex-wrap: wrap; gap: 12px 18px; align-items: center; justify-content: space-between; }
.cluster-cta-short p { margin: 0; flex: 1 1 320px; font-size: 0.98rem; line-height: 1.5; }
.cluster-cta p.muted { margin: 10px 0 0; }

/* the author */
.author-box { display: flex; gap: 14px; align-items: flex-start; background: var(--card); border: 1px solid var(--line); border-radius: 14px; padding: 16px 18px; margin: 28px 0 8px; }
.author-box p { margin: 0 0 4px; font-size: 0.95rem; line-height: 1.5; color: var(--muted); }
.author-box .author-name { color: inherit; font-weight: 650; }
.author-avatar { flex: none; width: 48px; height: 48px; border-radius: 50%; background: linear-gradient(135deg, #1a6fe0, #4cc2ff); color: #fff; display: grid; place-items: center; font-weight: 800; letter-spacing: 0.02em; }
.author-avatar.big { width: 72px; height: 72px; font-size: 1.5rem; }
.author-head { display: flex; gap: 16px; align-items: center; margin: 8px 0 12px; }
.author-head h1 { margin: 0; }
.author-head p { margin: 2px 0 0; }
.author-bio { font-size: 1.08rem; line-height: 1.65; }

/* the blog index */
.index-head { font-size: 1.25rem; margin: 28px 0 0; }
.guide-card b::after { content: ' →'; }

/* Rank family cross-links (in-content mention + block above the author box) */
.post-body .rank-mention { border-left: 3px solid var(--line); padding: 2px 0 2px 14px; margin: 22px 0; color: var(--muted); }
.post-body .rank-mention a { color: inherit; }
.rank-family { margin: 28px 0 0; }
.rank-family h2 { font-size: 1.1rem; margin: 0 0 10px; }
.rank-family ul { list-style: none; padding: 0; margin: 0; display: grid; gap: 8px; }
.rank-family li { border: 1px solid var(--line); border-radius: 12px; padding: 10px 14px; line-height: 1.45; font-size: 0.95rem; }
.rank-family li a { font-weight: 650; }
.rank-family li span { display: block; color: var(--muted); }
