/* Blog post — figure, author card, tables inside post content */
.pg-blog-post-figure { max-width: 860px; margin: 0 0 36px; }
.pg-blog-post-avatar { display: inline-flex; align-items: center; justify-content: center; width: 30px; height: 30px; border-radius: 50%; background: var(--nh-cyan); color: var(--nh-ink); font-weight: 800; font-size: .75rem; }
.pg-blog-post-avatar--lg { width: 56px; height: 56px; font-size: 1.1rem; flex-shrink: 0; }
.pg-blog-post-author { display: flex; gap: 18px; align-items: flex-start; margin: 40px 0 24px; padding: 24px; border: 1.5px solid var(--nh-line); border-radius: var(--nh-r-md); background: #f6f8fb; }
.pg-blog-post-author b { display: block; font-size: 1.05rem; }
.pg-blog-post-author .role { font-size: .85rem; font-weight: 700; color: var(--nh-cyan-d); margin: 2px 0 8px; }
.pg-blog-post-author p { margin: 0; font-size: .92rem; color: var(--nh-body); line-height: 1.55; }
.pg-blog-post-author a { color: var(--nh-cyan-d); }
.nhp-post .nhp-prose figure { margin: 24px 0; }
.nhp-post .nhp-prose figure img { margin: 0; }
.nhp-post .nhp-prose figcaption { font-size: .85rem; color: var(--nh-muted); margin-top: 8px; text-align: center; }
.nhp-post .nhp-prose table { width: 100%; border-collapse: collapse; margin: 20px 0 28px; font-size: .92rem; display: block; overflow-x: auto; }
.nhp-post .nhp-prose th, .nhp-post .nhp-prose td { padding: 12px 14px; text-align: left; border-bottom: 1px solid var(--nh-line); vertical-align: top; }
.nhp-post .nhp-prose thead th, .nhp-post .nhp-prose tr:first-child th { background: var(--nh-navy); color: #fff; font-weight: 800; }
.nhp-post .nhp-prose tbody th { background: #f6f8fb; color: var(--nh-ink); font-weight: 800; }
.nhp-post .nhp-prose h2 { scroll-margin-top: 96px; }

/* Phones: article data tables shrink to fit; only tables that cannot fit keep their own scroll */
@media (max-width: 640px) {
  .nhp-post .nhp-prose table { font-size: .78rem; }
  .nhp-post .nhp-prose table :is(th, td) { padding: 8px 5px; overflow-wrap: break-word; -webkit-hyphens: auto; hyphens: auto; }
}
@media (max-width: 359px) {
  .nhp-post .nhp-prose table { font-size: .75rem; }
  .nhp-post .nhp-prose table :is(th, td) { padding: 7px 2px; }
}
