/* ============================================================
   ONEPCT BLOG — Styles
   Index, archive, and post page.
   Depends on tokens defined in styles.css (:root).
   ============================================================ */

/* ── Shared ───────────────────────────────────────────────── */

.blog-section-eyebrow {
  font-family: 'Plus Jakarta Sans', sans-serif;
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--color-brand);
  margin-bottom: 1.5rem;
}

.blog-card-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 2rem;
}
@media (max-width: 980px) {
  .blog-card-grid { grid-template-columns: repeat(2, 1fr); gap: 1.5rem; }
}
@media (max-width: 640px) {
  .blog-card-grid { grid-template-columns: 1fr; gap: 1.25rem; }
}

/* Card */
.blog-card {
  background: #fff;
  border-radius: 16px;
  overflow: hidden;
  border: 1px solid rgba(0,0,0,0.06);
  transition: transform 0.25s cubic-bezier(0.34,1.56,0.64,1), box-shadow 0.25s ease, border-color 0.2s ease;
}
.blog-card:hover {
  transform: translateY(-3px);
  box-shadow: 0 4px 14px rgba(0,0,0,0.04), 0 18px 40px rgba(0,0,0,0.08);
  border-color: rgba(0,0,0,0.09);
}
.blog-card-link { display: block; color: inherit; }
.blog-card-cover { aspect-ratio: 16/9; overflow: hidden; background: var(--green-50); }
.blog-card-cover img { width: 100%; height: 100%; object-fit: cover; transition: transform 0.6s cubic-bezier(0.34,1.56,0.64,1); }
.blog-card:hover .blog-card-cover img { transform: scale(1.04); }
.blog-card-cover--placeholder {
  background:
    linear-gradient(135deg, var(--green-100), var(--green-50)),
    radial-gradient(circle at 30% 30%, var(--green-light) 0%, transparent 50%);
}
.blog-card-body { padding: 1.5rem 1.5rem 1.75rem; }
.blog-card-eyebrow {
  font-family: 'Plus Jakarta Sans', sans-serif;
  font-size: 0.7rem;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--color-brand);
  margin-bottom: 0.625rem;
}
.blog-card-title {
  font-family: 'Plus Jakarta Sans', sans-serif;
  font-size: 1.25rem;
  font-weight: 700;
  line-height: 1.25;
  color: var(--heading-text);
  letter-spacing: -0.02em;
  margin-bottom: 0.625rem;
  display: -webkit-box;
  -webkit-line-clamp: 3;
  -webkit-box-orient: vertical;
  overflow: hidden;
}
.blog-card-excerpt {
  font-size: 0.94rem;
  color: var(--muted);
  line-height: 1.65;
  margin-bottom: 1rem;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}
.blog-card-meta {
  display: flex;
  gap: 0.5rem;
  align-items: center;
  font-size: 0.82rem;
  color: var(--muted);
}
.blog-card-dot { opacity: 0.5; }

/* ── Index hero ────────────────────────────────────────────── */

.body-blog-index main,
.body-blog-archive main,
.body-blog-post main {
  padding-top: 64px; /* account for fixed nav */
}

.blog-index-hero {
  padding: 4.5rem 0 1rem;
  background: var(--warm-white);
}
.blog-index-hero--archive { padding-top: 5rem; }
.blog-hero-eyebrow { justify-content: flex-start; }
.blog-hero-title {
  font-family: 'Plus Jakarta Sans', sans-serif;
  font-size: clamp(2.25rem, 5vw, 3.75rem);
  font-weight: 800;
  line-height: 1.1;
  letter-spacing: -0.03em;
  color: var(--heading-text);
  margin-bottom: 1rem;
  max-width: 22ch;
}
.blog-hero-sub {
  font-size: 1.05rem;
  color: var(--muted);
  line-height: 1.7;
  max-width: 58ch;
}
.blog-archive-clear {
  display: inline-block;
  font-size: 0.88rem;
  color: var(--color-brand);
  margin-bottom: 1.25rem;
  font-weight: 500;
}
.blog-archive-clear:hover { text-decoration: underline; }

/* ── Filters ───────────────────────────────────────────────── */

.blog-index-filters {
  padding: 0.75rem 0 2.5rem;
  background: var(--warm-white);
  border-bottom: 1px solid rgba(0,0,0,0.06);
}
.blog-filter-row {
  display: flex;
  gap: 1rem;
  align-items: center;
  flex-wrap: wrap;
  margin-bottom: 1.25rem;
}
.blog-search {
  position: relative;
  display: flex;
  align-items: center;
  flex: 1 1 280px;
  max-width: 420px;
}
.blog-search svg {
  position: absolute;
  left: 14px;
  color: var(--muted);
  pointer-events: none;
}
.blog-search input {
  width: 100%;
  padding: 0.75rem 1rem 0.75rem 2.5rem;
  border: 1.5px solid rgba(0,0,0,0.1);
  border-radius: 100px;
  background: #fff;
  font-family: 'DM Sans', sans-serif;
  font-size: 0.95rem;
  color: var(--charcoal);
  outline: none;
  transition: border-color 0.2s, box-shadow 0.2s;
}
.blog-search input:focus {
  border-color: var(--color-brand);
  box-shadow: 0 0 0 3px rgba(58,122,80,0.1);
}
.blog-cat-select select {
  appearance: none;
  -webkit-appearance: none;
  padding: 0.75rem 2.5rem 0.75rem 1.125rem;
  border: 1.5px solid rgba(0,0,0,0.1);
  border-radius: 100px;
  background: #fff url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' width='12' height='12' viewBox='0 0 24 24' fill='none' stroke='%236B7280' stroke-width='2.5'><path d='M6 9l6 6 6-6'/></svg>") no-repeat right 1rem center;
  font-family: 'DM Sans', sans-serif;
  font-size: 0.92rem;
  color: var(--charcoal);
  cursor: pointer;
  outline: none;
}
.blog-cat-select select:focus { border-color: var(--color-brand); box-shadow: 0 0 0 3px rgba(58,122,80,0.1); }

.blog-tag-chips {
  display: flex;
  gap: 0.5rem;
  flex-wrap: wrap;
}
.blog-tag-chip {
  display: inline-flex;
  align-items: center;
  padding: 0.4rem 0.85rem;
  border: 1px solid rgba(0,0,0,0.1);
  border-radius: 100px;
  font-size: 0.82rem;
  color: var(--charcoal);
  background: #fff;
  transition: all 0.18s ease;
}
.blog-tag-chip:hover { border-color: var(--color-brand); color: var(--color-brand); }
.blog-tag-chip.is-active { background: var(--color-brand); color: #fff; border-color: var(--color-brand); }

/* ── Featured card (on index first page) ──────────────────── */

.blog-index-featured {
  padding: 3rem 0 0;
}
.blog-featured {
  background: #fff;
  border-radius: 20px;
  overflow: hidden;
  border: 1px solid rgba(0,0,0,0.06);
  transition: transform 0.25s, box-shadow 0.25s;
}
.blog-featured:hover { transform: translateY(-3px); box-shadow: 0 6px 20px rgba(0,0,0,0.04), 0 24px 60px rgba(0,0,0,0.08); }
.blog-featured-link { display: grid; grid-template-columns: 5fr 4fr; color: inherit; }
.blog-featured-cover { aspect-ratio: 4/3; overflow: hidden; }
.blog-featured-cover img { width: 100%; height: 100%; object-fit: cover; transition: transform 0.6s cubic-bezier(0.34,1.56,0.64,1); }
.blog-featured:hover .blog-featured-cover img { transform: scale(1.03); }
.blog-featured-body { padding: 2.5rem 3rem; display: flex; flex-direction: column; justify-content: center; }
.blog-featured-title {
  font-family: 'Plus Jakarta Sans', sans-serif;
  font-size: clamp(1.5rem, 2.8vw, 2.25rem);
  font-weight: 800;
  line-height: 1.15;
  letter-spacing: -0.025em;
  color: var(--heading-text);
  margin-bottom: 1rem;
}
.blog-featured-excerpt {
  font-size: 1rem;
  color: var(--muted);
  line-height: 1.7;
  margin-bottom: 1.5rem;
}
@media (max-width: 860px) {
  .blog-featured-link { grid-template-columns: 1fr; }
  .blog-featured-body { padding: 1.75rem 1.75rem 2rem; }
}

/* ── Index grid section ───────────────────────────────────── */

.blog-index-grid { padding: 4rem 0 6rem; }

.blog-empty, .blog-empty-search {
  text-align: center;
  padding: 3rem 1rem;
  color: var(--muted);
  font-size: 0.98rem;
}

.blog-pagination {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 1.5rem;
  margin-top: 3rem;
  padding-top: 2rem;
  border-top: 1px solid rgba(0,0,0,0.06);
}
.blog-pag-btn {
  display: inline-flex;
  padding: 0.625rem 1.25rem;
  border: 1.5px solid rgba(0,0,0,0.1);
  border-radius: 100px;
  font-size: 0.88rem;
  color: var(--charcoal);
  transition: border-color 0.2s, color 0.2s;
}
.blog-pag-btn:hover { border-color: var(--color-brand); color: var(--color-brand); }
.blog-pag-info { font-size: 0.88rem; color: var(--muted); }

/* ╔════════════════════════════════════════════════════════════╗
   ║  POST PAGE                                                 ║
   ╚════════════════════════════════════════════════════════════╝ */

.post-hero-cover {
  width: 100%;
  aspect-ratio: 21/9;
  overflow: hidden;
  background: var(--green-100);
}
@media (max-width: 720px) { .post-hero-cover { aspect-ratio: 4/3; } }
.post-hero-cover img { width: 100%; height: 100%; object-fit: cover; display: block; }
.post-hero-cover--placeholder {
  background:
    radial-gradient(circle at 20% 30%, var(--green-100), transparent 50%),
    radial-gradient(circle at 80% 60%, var(--green-50), transparent 55%),
    var(--warm-white);
}

/* Title block */
.post-header {
  padding: 3.5rem 2.5rem 2rem;
}
.post-header-inner {
  max-width: 880px;
  margin: 0 auto;
}
.post-back {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  font-size: 0.85rem;
  color: var(--muted);
  margin-bottom: 1.75rem;
  transition: color 0.2s;
}
.post-back:hover { color: var(--color-brand); }
.post-eyebrow {
  font-family: 'Plus Jakarta Sans', sans-serif;
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--color-brand);
  margin-bottom: 1.25rem;
}
.post-title {
  font-family: 'Plus Jakarta Sans', sans-serif;
  font-size: clamp(2rem, 4.5vw, 3.5rem);
  font-weight: 800;
  line-height: 1.1;
  letter-spacing: -0.03em;
  color: var(--heading-text);
  margin-bottom: 2rem;
}
.post-byline {
  display: flex;
  align-items: center;
  gap: 0.6rem;
  font-size: 0.92rem;
  color: var(--muted);
}
.post-byline-author {
  display: inline-flex;
  align-items: center;
  gap: 0.6rem;
}
@media (max-width: 640px) {
  .post-byline {
    flex-direction: column;
    align-items: flex-start;
    gap: 0.35rem;
  }
  .post-byline-dot { display: none; }
}
.post-byline-avatar {
  width: 36px;
  height: 36px;
  border-radius: 50%;
  object-fit: cover;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background: var(--green-100);
  color: var(--color-brand);
  font-family: 'Plus Jakarta Sans', sans-serif;
  font-weight: 700;
  font-size: 0.95rem;
  flex-shrink: 0;
}
.post-byline-name { color: var(--charcoal); font-weight: 500; }
.post-byline-dot { opacity: 0.5; }

/* Body wrap — reading column + sticky share bar */
.post-body-wrap {
  position: relative;
  padding: 1rem 2.5rem 4rem;
}
.post-body {
  max-width: 680px;
  margin: 0 auto;
  font-size: 1.125rem;
  line-height: 1.75;
  color: var(--charcoal);
}
.post-body p,
.post-body ul,
.post-body ol {
  margin-bottom: 1.4em;
}
.post-body > p:first-of-type {
  font-size: 1.25rem;
  line-height: 1.6;
  color: #2b2b2d;
}
.post-body h2 {
  font-family: 'Plus Jakarta Sans', sans-serif;
  font-size: clamp(1.5rem, 2.4vw, 2rem);
  font-weight: 800;
  line-height: 1.2;
  letter-spacing: -0.025em;
  margin-top: 3rem;
  margin-bottom: 1rem;
  color: var(--heading-text);
  scroll-margin-top: 100px;
}
.post-body h3 {
  font-family: 'Plus Jakarta Sans', sans-serif;
  font-size: 1.25rem;
  font-weight: 700;
  line-height: 1.3;
  margin-top: 2rem;
  margin-bottom: 0.75rem;
  color: var(--heading-text);
  scroll-margin-top: 100px;
}
.post-body h2 a.header-anchor,
.post-body h3 a.header-anchor {
  color: inherit;
  text-decoration: none;
}
.post-body strong { font-weight: 600; color: var(--heading-text); }
.post-body p a:not(.header-anchor),
.post-body li a:not(.header-anchor) {
  color: var(--color-brand);
  text-decoration: underline;
  text-decoration-thickness: 1.5px;
  text-underline-offset: 3px;
  text-decoration-color: rgba(58,122,80,0.35);
  transition: text-decoration-color 0.2s;
}
.post-body p a:not(.header-anchor):hover,
.post-body li a:not(.header-anchor):hover { text-decoration-color: var(--color-brand); }
.post-body ul, .post-body ol {
  padding-left: 1.5rem;
}
.post-body li { margin-bottom: 0.4em; }
.post-body code {
  font-family: 'SF Mono', Consolas, monospace;
  font-size: 0.9em;
  background: #f0f0ea;
  padding: 0.1em 0.35em;
  border-radius: 4px;
  color: var(--heading-text);
}
.post-body hr {
  border: none;
  border-top: 1px solid rgba(0,0,0,0.08);
  margin: 2.5rem 0;
}

/* Tables */
.post-body table {
  width: 100%;
  border-collapse: collapse;
  margin: 2rem 0;
  font-size: 0.9375rem;
  border-radius: 12px;
  overflow: hidden;
  box-shadow: 0 2px 8px rgba(0,0,0,0.07), 0 12px 40px rgba(0,0,0,0.08);
}
.post-body thead {
  background: #0b1f0f;
}
.post-body thead th {
  padding: 0.9rem 1.25rem;
  text-align: left;
  font-family: 'Plus Jakarta Sans', sans-serif;
  font-size: 0.6875rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--accent, #5EC26A);
}
.post-body thead th:last-child { text-align: right; }
.post-body tbody tr {
  background: #fff;
  border-bottom: 1px solid rgba(0,0,0,0.06);
  transition: background 0.15s;
}
.post-body tbody tr:last-child { border-bottom: none; }
.post-body tbody tr:hover { background: #f8faf8; }
.post-body tbody td {
  padding: 0.8rem 1.25rem;
  color: var(--heading-text);
  vertical-align: middle;
  font-weight: 500;
}
.post-body tbody td:last-child {
  text-align: right;
}
/* Status badge pill */
.post-body tbody td:last-child span.badge {
  display: inline-block;
  padding: 0.2em 0.75em;
  border-radius: 999px;
  font-size: 0.8125rem;
  font-weight: 500;
  font-family: 'Plus Jakarta Sans', sans-serif;
  background: rgba(0,0,0,0.05);
  color: var(--muted, #6b7280);
  letter-spacing: 0.01em;
}
.post-body tbody td:last-child span.badge-yes {
  background: rgba(58,122,80,0.1);
  color: var(--signal, #3A7A50);
}
.post-body tbody td:last-child span.badge-no {
  background: rgba(239,68,68,0.08);
  color: #b91c1c;
}
.post-body tbody td:last-child span.badge-check {
  background: rgba(245,158,11,0.1);
  color: #92400e;
}

/* Pull quote */
.post-pullquote {
  margin: 2.5rem 0;
  padding: 0.25rem 0 0.25rem 1.5rem;
  border-left: 3px solid var(--color-brand);
  font-family: 'Plus Jakarta Sans', sans-serif;
  font-size: 1.35rem;
  font-style: italic;
  line-height: 1.45;
  color: var(--heading-text);
  font-weight: 500;
  letter-spacing: -0.01em;
}
.post-pullquote p { margin: 0; }
.post-pullquote strong { font-weight: 700; }

/* Images / figures */
.post-figure {
  margin: 2.25rem 0;
}
.post-figure img {
  width: 100%;
  border-radius: 12px;
  display: block;
}
.post-figure figcaption {
  margin-top: 0.75rem;
  font-size: 0.85rem;
  color: var(--muted);
  text-align: center;
  line-height: 1.5;
}
.post-figure--bleed {
  position: relative;
  left: 50%;
  transform: translateX(-50%);
  width: min(96vw, 1200px);
  max-width: 1200px;
  margin-left: auto;
  margin-right: auto;
}
.post-figure--bleed img { border-radius: 16px; }
@media (max-width: 720px) {
  .post-figure--bleed { width: 100%; left: 0; transform: none; }
}

/* TOC */
.post-toc {
  background: var(--warm-white);
  border: 1px solid rgba(0,0,0,0.06);
  border-radius: 14px;
  padding: 1.25rem 1.5rem;
  margin-bottom: 2.5rem;
}
.post-toc-label {
  font-family: 'Plus Jakarta Sans', sans-serif;
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--color-brand);
  margin-bottom: 0.75rem;
}
.post-toc ol {
  list-style: decimal;
  padding-left: 1.25rem;
  margin: 0;
}
.post-toc li {
  font-size: 0.95rem;
  margin-bottom: 0.35rem;
  line-height: 1.5;
}
.post-toc a {
  color: var(--charcoal);
  transition: color 0.2s;
}
.post-toc a:hover { color: var(--color-brand); }

/* Sticky share bar */
.post-share {
  position: fixed;
  top: 50%;
  left: max(16px, calc((100vw - 880px) / 2 - 80px));
  transform: translateY(-50%);
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
  z-index: 10;
}
.post-share-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 42px;
  height: 42px;
  border-radius: 50%;
  background: #fff;
  border: 1px solid rgba(0,0,0,0.1);
  color: var(--charcoal);
  cursor: pointer;
  transition: all 0.2s ease;
  padding: 0;
}
.post-share-btn:hover {
  background: var(--color-brand);
  border-color: var(--color-brand);
  color: #fff;
  transform: translateY(-2px);
}
.post-share-copy.is-copied {
  background: var(--color-brand);
  color: #fff;
  border-color: var(--color-brand);
}
@media (max-width: 1100px) {
  .post-share {
    position: static;
    transform: none;
    flex-direction: row;
    margin: 0 auto 2rem;
    max-width: 680px;
    padding: 0 2.5rem;
  }
}

/* Inline Beehiiv signup */
.post-inline-signup {
  margin: 3rem 0;
  padding: 2rem 2rem 2.25rem;
  background: var(--green-100);
  border-radius: 16px;
}
.post-inline-signup-eyebrow {
  font-family: 'Plus Jakarta Sans', sans-serif;
  font-size: 0.7rem;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--green-700);
  margin-bottom: 0.75rem;
}
.post-inline-signup-title {
  font-family: 'Plus Jakarta Sans', sans-serif;
  font-size: 1.35rem;
  font-weight: 700;
  line-height: 1.25;
  color: var(--green-900);
  margin-bottom: 0.5rem;
  letter-spacing: -0.02em;
}
.post-inline-signup-sub {
  font-size: 0.94rem;
  color: var(--green-700);
  margin-bottom: 1.25rem;
  line-height: 1.5;
}
.post-inline-signup-form {
  display: flex;
  gap: 0.5rem;
  flex-wrap: wrap;
}
.post-inline-signup-form input {
  flex: 1 1 220px;
  padding: 0.75rem 1rem;
  border: 1.5px solid rgba(17,38,26,0.15);
  border-radius: 100px;
  background: #fff;
  font-family: 'DM Sans', sans-serif;
  font-size: 0.95rem;
  color: var(--green-900);
  outline: none;
}
.post-inline-signup-form input:focus {
  border-color: var(--green-500);
  box-shadow: 0 0 0 3px rgba(58,122,80,0.15);
}
.post-inline-signup-form button {
  padding: 0.75rem 1.5rem;
  background: var(--green-800);
  color: #fff;
  border: none;
  border-radius: 100px;
  font-family: 'DM Sans', sans-serif;
  font-size: 0.95rem;
  font-weight: 600;
  cursor: pointer;
  transition: background 0.2s, transform 0.15s;
}
.post-inline-signup-form button:hover { background: var(--green-900); transform: translateY(-1px); }
.post-inline-signup-status {
  width: 100%;
  font-size: 0.85rem;
  color: var(--green-700);
  min-height: 1.2em;
  margin-top: 0.5rem;
}
.post-inline-signup-status.is-error { color: var(--red-500); }

/* ── Author-marked inline CTAs (::: cta-newsletter / ::: cta-audit) ── */

.post-inline-cta {
  margin: 2.5rem 0;
}
.post-inline-cta-hook {
  font-family: 'Plus Jakarta Sans', sans-serif;
  font-size: 1.05rem;
  font-weight: 500;
  line-height: 1.5;
  letter-spacing: -0.01em;
  margin: 0 0 1rem;
}

/* Newsletter: compact, left-border treatment. Different from the big mid-post card. */
.post-inline-cta--newsletter {
  padding: 1rem 0 1rem 1.25rem;
  border-left: 3px solid var(--color-brand);
}
.post-inline-cta--newsletter .post-inline-cta-hook {
  color: var(--heading-text);
}
.post-inline-cta--newsletter .post-inline-cta-form {
  display: flex;
  gap: 0.5rem;
  flex-wrap: wrap;
  align-items: center;
}
.post-inline-cta--newsletter input[type="email"] {
  flex: 1 1 220px;
  padding: 0.6rem 0.9rem;
  border: 1.5px solid rgba(0,0,0,0.12);
  border-radius: 100px;
  background: #fff;
  font-family: 'DM Sans', sans-serif;
  font-size: 0.92rem;
  color: var(--charcoal);
  outline: none;
  transition: border-color 0.2s, box-shadow 0.2s;
}
.post-inline-cta--newsletter input[type="email"]:focus {
  border-color: var(--color-brand);
  box-shadow: 0 0 0 3px rgba(58,122,80,0.1);
}
.post-inline-cta--newsletter button[type="submit"] {
  padding: 0.6rem 1.25rem;
  background: var(--color-brand);
  color: #fff;
  border: none;
  border-radius: 100px;
  font-family: 'DM Sans', sans-serif;
  font-size: 0.9rem;
  font-weight: 600;
  cursor: pointer;
  transition: background 0.2s, transform 0.15s;
}
.post-inline-cta--newsletter button[type="submit"]:hover {
  background: var(--green-600);
  transform: translateY(-1px);
}

/* Mobile — stack newsletter input + button, full-width button */
@media (max-width: 640px) {
  .post-inline-signup-form,
  .post-inline-cta--newsletter .post-inline-cta-form {
    flex-direction: column;
    align-items: stretch;
  }
  .post-inline-signup-form input[type="email"],
  .post-inline-signup-form button[type="submit"],
  .post-inline-cta--newsletter input[type="email"],
  .post-inline-cta--newsletter button[type="submit"] {
    width: 100%;
    flex: none;
  }
}
.post-inline-cta--newsletter .post-inline-signup-status {
  flex: 1 1 100%;
  font-size: 0.82rem;
  color: var(--muted);
  min-height: 1.1em;
  margin: 0.25rem 0 0;
}
.post-inline-cta--newsletter .post-inline-signup-status.is-error { color: var(--red-500); }

/* Audit: dark green mini-band, acts like a smaller version of the end-of-post band */
.post-inline-cta--audit {
  padding: 1.75rem 2rem;
  background: var(--green-800);
  border-radius: 16px;
  color: #fff;
}
.post-inline-cta--audit .post-inline-cta-hook {
  color: #fff;
  font-size: 1.1rem;
  font-weight: 500;
  line-height: 1.55;
  margin-bottom: 1.25rem;
}

/* Free Audit CTA band */
.post-cta-band {
  background: var(--green-800);
  color: #fff;
  padding: 4rem 2rem;
  margin-top: 4rem;
}
.post-cta-band-inner {
  max-width: 720px;
  margin: 0 auto;
  text-align: center;
}
.post-cta-eyebrow {
  font-family: 'Plus Jakarta Sans', sans-serif;
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--green-light);
  margin-bottom: 1rem;
}
.post-cta-title {
  font-family: 'Plus Jakarta Sans', sans-serif;
  font-size: clamp(1.75rem, 3.5vw, 2.5rem);
  font-weight: 800;
  line-height: 1.15;
  letter-spacing: -0.025em;
  color: #fff;
  margin-bottom: 1rem;
}
.post-cta-sub {
  font-size: 1.05rem;
  color: rgba(255,255,255,0.75);
  line-height: 1.6;
  margin-bottom: 2rem;
}
.post-cta-buttons {
  display: flex;
  gap: 0.75rem;
  justify-content: center;
  flex-wrap: wrap;
}

/* Author card */
.post-author-card {
  padding: 3rem 2.5rem;
  background: var(--warm-white);
  border-top: 1px solid rgba(0,0,0,0.06);
}
.post-author-card-inner {
  max-width: 680px;
  margin: 0 auto;
  display: flex;
  gap: 1.5rem;
  align-items: flex-start;
}
.post-author-avatar {
  width: 64px;
  height: 64px;
  border-radius: 50%;
  object-fit: cover;
  flex-shrink: 0;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background: var(--green-100);
  color: var(--color-brand);
  font-family: 'Plus Jakarta Sans', sans-serif;
  font-size: 1.5rem;
  font-weight: 700;
}
.post-author-eyebrow {
  font-family: 'Plus Jakarta Sans', sans-serif;
  font-size: 0.7rem;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--color-brand);
  margin-bottom: 0.35rem;
}
.post-author-name {
  font-family: 'Plus Jakarta Sans', sans-serif;
  font-size: 1.1rem;
  font-weight: 700;
  color: var(--heading-text);
  margin-bottom: 0.1rem;
}
.post-author-role {
  font-size: 0.88rem;
  color: var(--muted);
  margin-bottom: 0.75rem;
}
.post-author-bio {
  font-size: 0.95rem;
  color: var(--charcoal);
  line-height: 1.65;
}

/* Related posts */
.post-related {
  padding: 5rem 2.5rem 4rem;
}
.post-related-inner {
  max-width: 1280px;
  margin: 0 auto;
}

/* Utility */
.sr-only {
  position: absolute;
  width: 1px; height: 1px; padding: 0; margin: -1px;
  overflow: hidden; clip: rect(0,0,0,0); white-space: nowrap; border: 0;
}

/* Homepage Latest Insights (shared) */
.home-latest {
  padding: 5.5rem 0;
  background: var(--warm-white);
}
.home-latest-head {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 2rem;
  margin-bottom: 2.5rem;
  flex-wrap: wrap;
}
.home-latest-heading {
  font-family: 'Plus Jakarta Sans', sans-serif;
  font-size: clamp(1.75rem, 3.2vw, 2.5rem);
  font-weight: 800;
  line-height: 1.15;
  letter-spacing: -0.025em;
  color: var(--heading-text);
  max-width: 24ch;
  margin-top: 0.5rem;
}
.home-latest-link {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  font-size: 0.92rem;
  font-weight: 500;
  color: var(--color-brand);
  transition: transform 0.2s;
}
.home-latest-link:hover { transform: translateX(2px); }
