/* Parent Move Plan: blog (index, topics, authors, posts). Same tokens as site.css. */

.crumbs ol { display: flex; flex-wrap: wrap; gap: 4px 0; list-style: none; padding: 0; margin: 0 0 var(--space-4); font-size: var(--text-xs); color: var(--ink-70); max-width: none; }
.crumbs li { margin: 0; display: inline-flex; align-items: center; }
.crumbs li + li::before { content: "/"; margin: 0 8px; color: var(--line); }
.crumbs a { color: var(--ink-70); text-decoration: none; display: inline-flex; align-items: center; min-height: 32px; }
.crumbs a:hover { color: var(--teal-800); text-decoration: underline; }
.crumbs [aria-current] { display: block; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; max-width: 28ch; }

/* avatars: photo when provided, otherwise a monogram in the author's color */
.avatar { display: inline-grid; place-items: center; flex: none; border-radius: 50%; object-fit: cover; font: 600 1rem/1 var(--font-display); color: #fff; background: var(--teal-700); }
.avatar--sm { width: 32px; height: 32px; font-size: .95rem; }
.avatar--md { width: 48px; height: 48px; font-size: 1.3rem; }
.avatar--lg { width: 72px; height: 72px; font-size: 1.9rem; }
.avatar--xl { width: 112px; height: 112px; font-size: 2.8rem; }
.avatar--miranda { background: #2F5D62; }
.avatar--angelina { background: #7A5C3E; }
.avatar--stacey { background: #8A4E5B; }
.avatar--ben { background: #3F5A7A; }

.post h1 { margin-bottom: var(--space-4); }
.post-meta { display: flex; align-items: center; gap: var(--space-3); font-size: var(--text-xs); color: var(--ink-70); margin-bottom: var(--space-6); }
.post-meta a { color: var(--ink); font-weight: 700; }
.post-body h2 { scroll-margin-top: 80px; }
.post-body .table-wrap { margin: var(--space-6) 0; }
.post-body table { min-width: 520px; }
.post-body ol, .post-body ul { max-width: var(--measure); }
.post-body .product-box { margin: var(--space-10) 0; }
.post-note { margin-top: var(--space-6); }

.author-box { display: grid; grid-template-columns: auto 1fr; gap: var(--space-5); align-items: start; margin-top: var(--space-12); padding: var(--space-6); background: var(--sand); border-radius: var(--radius-md); }
.author-box p { margin: 0 0 var(--space-2); font-size: var(--text-sm); }
.author-box__name { font: 600 var(--text-lg)/1.2 var(--font-display) !important; }
.author-box__name a { color: var(--ink); text-decoration: none; }
.author-box__name a:hover { text-decoration: underline; }
.author-box__focus { color: var(--teal-800); font-weight: 700; font-size: var(--text-xs) !important; letter-spacing: .04em; text-transform: uppercase; }

.related__h { margin-top: var(--space-12); }
.post-grid { display: grid; gap: var(--space-4); list-style: none; padding: 0; margin: 0 0 var(--space-6); max-width: none; }
@media (min-width: 700px) { .post-grid { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 1000px) { .post-grid { grid-template-columns: repeat(3, 1fr); } }
.post-card { margin: 0; }
.post-card a { display: grid; gap: var(--space-2); height: 100%; align-content: start; padding: var(--space-5); background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius-md); color: var(--ink); text-decoration: none; transition: border-color .15s, box-shadow .15s; }
.post-card a:hover { border-color: var(--teal-700); box-shadow: var(--shadow-card); color: var(--ink); }
.post-card b { font: 600 var(--text-md)/1.25 var(--font-display); }
.post-card__cat { font: 700 var(--text-xs)/1 var(--font-text); letter-spacing: .06em; text-transform: uppercase; color: var(--teal-800); }
.post-card__desc { font-size: var(--text-xs); color: var(--ink-70); display: -webkit-box; -webkit-line-clamp: 3; -webkit-box-orient: vertical; overflow: hidden; }
.post-card__by { display: flex; align-items: center; gap: 8px; margin-top: var(--space-2); font-size: var(--text-xs); color: var(--ink-70); }

.blog-head h1 { max-width: 24ch; }
.blog-head__by { display: flex; align-items: center; gap: 10px; font-size: var(--text-sm); }
.cat-nav { display: flex; gap: 8px; overflow-x: auto; padding: 4px 0 8px; margin-top: var(--space-6); -webkit-overflow-scrolling: touch; }
.cat-nav a { flex: none; display: inline-flex; align-items: center; min-height: 44px; padding: 0 16px; border: 1px solid var(--line); border-radius: var(--radius-pill); background: var(--surface); color: var(--ink); text-decoration: none; font-size: var(--text-xs); font-weight: 600; white-space: nowrap; }
.cat-nav a:hover { border-color: var(--teal-700); color: var(--ink); }
.cat-nav a[aria-current] { background: var(--teal-700); border-color: var(--teal-700); color: #fff; }
.author-strip { display: grid; gap: var(--space-3); list-style: none; padding: 0; margin: var(--space-6) 0 0; max-width: none; }
@media (min-width: 700px) { .author-strip { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 1000px) { .author-strip { grid-template-columns: repeat(4, 1fr); } }
.author-strip li { margin: 0; }
.author-strip a { display: flex; align-items: center; gap: 12px; padding: 10px 14px; border-radius: var(--radius-md); background: var(--surface); border: 1px solid var(--line); color: var(--ink); text-decoration: none; min-height: 56px; }
.author-strip a:hover { border-color: var(--teal-700); color: var(--ink); }
.author-strip a > span { display: grid; font-size: var(--text-xs); color: var(--ink-70); line-height: 1.3; }
.author-strip b { color: var(--ink); font-size: var(--text-sm); }
.author-hero { display: grid; gap: var(--space-6); align-items: center; }
@media (min-width: 700px) { .author-hero { grid-template-columns: auto 1fr; } }
.author-hero h1 { margin-bottom: var(--space-2); }
.blog-group { margin-bottom: var(--space-16); }
.blog-group__head { margin-bottom: var(--space-5); }
.blog-group__head h2 { margin-bottom: var(--space-1); }
.blog-group__head h2 a { color: var(--ink); text-decoration: none; }
.blog-group__head h2 a:hover { color: var(--teal-800); text-decoration: underline; }
