/* =============== THERAPY IN MARLOW — BLOG POST STYLES ===============
   Opt-in (loaded via blog-post.njk layout). Adds sources block and
   article-related links specific to long-form informational posts. Tokens
   only — never hex. */


.post-sources {
  max-width: 72ch; margin: 40px auto 0; padding-top: 28px;
  border-top: 1px solid var(--c-cream-deep);
}
.post-sources h2 { font-size: 1.25rem; margin: 0 0 14px; color: var(--primary); }
.post-sources ul { list-style: square; padding-left: 1.3em; margin: 0; }
.post-sources li { margin: 6px 0; line-height: 1.55; color: var(--ink); }
.post-sources li a { color: var(--accent); font-weight: 600; text-decoration: underline; text-underline-offset: 3px; }
.post-sources li a:hover { color: var(--primary); }
.post-sources__note { margin-top: 14px; color: var(--mute); font-size: .85rem; }

/* ---- Blog index cards (extends .art-related-card) ---- */
.blog-index-grid { grid-template-columns: repeat(auto-fit, minmax(280px,1fr)); }
.blog-card { display: flex; flex-direction: column; gap: 8px; }

/* Branded icon badge (replaces the old featured-image thumbnail — Keeley
   dislikes photo headers on cards). Matches the .svc-card-icon brand gradient. */
.blog-card__icon {
  width: 56px; height: 56px; border-radius: 50%; margin-bottom: 6px;
  background: linear-gradient(135deg, var(--primary), var(--accent));
  color: #fff; display: grid; place-items: center; flex: none;
  box-shadow: var(--shadow-soft); transition: transform .35s ease;
}
.blog-card__icon svg { width: 26px; height: 26px; }
.blog-card:hover .blog-card__icon { transform: scale(1.08) rotate(-3deg); }

.blog-card__eyebrow {
  font-size: .72rem; letter-spacing: .08em; text-transform: uppercase;
  color: var(--accent); font-weight: 700; margin-bottom: 2px;
}
.blog-card h3 { font-size: 1.22rem; line-height: 1.3; }
.blog-card p { flex: 1; }
.blog-card__meta {
  display: flex; align-items: center; justify-content: space-between; gap: 12px;
  margin-top: auto; padding-top: 8px;
  border-top: 1px dashed var(--c-cream-deep);
  font-size: .82rem; color: var(--mute);
}
.blog-card__meta time { font-variant-numeric: tabular-nums; }

/* ---- ARTICLE-HERO PHOTO SCRIM ------------------------------------------------
   The left-anchored article-hero scrim now lives in components.css and is BRANDED
   PURPLE (task #10535 — "do the same for all heroes on all pages"), so it applies
   to blog AND service article heroes from one place. The old blog-only cream-only
   override (#10501) was removed here so the shared purple rule isn't overridden on
   blog pages (blog.css loads after components.css). Legibility is preserved: the
   left cream backing for the LEFT-aligned text column is retained, the photo just
   transitions into brand purple on the right + a purple base wash. */
