/* ============================================================
   BDH Accounting Services — Insights / blog styles
   Supplements styles.css. Load AFTER styles.css.
   ============================================================ */

/* ---------- article body ---------- */
.post { padding: 24px 0 30px; }
.post-wrap { max-width: 760px; margin: 0 auto; }

.post-cat {
  display: inline-block; background: var(--mint); color: var(--primary-deep);
  font-size: 0.76rem; font-weight: 700; letter-spacing: 0.05em; text-transform: uppercase;
  padding: 6px 14px; border-radius: 100px; margin-bottom: 16px;
}
.post-meta {
  margin-top: 6px; color: var(--ink-soft); font-size: 0.9rem;
  display: flex; gap: 20px; justify-content: center; flex-wrap: wrap;
}
.post-meta span { display: inline-flex; align-items: center; gap: 7px; }
.post-meta svg { width: 15px; height: 15px; stroke: var(--primary); fill: none; stroke-width: 1.8; }

.post-lead {
  font-family: 'Fraunces', serif; font-style: italic; font-weight: 400;
  font-size: 1.3rem; line-height: 1.5; color: var(--ink);
  margin: 6px 0 4px; text-align: center;
}
.post-divider { width: 56px; height: 4px; border-radius: 4px; background: var(--mint); margin: 30px auto; }

.post-body { font-size: 1.06rem; line-height: 1.72; }
.post-body > p { margin-bottom: 18px; color: var(--ink); }
.post-body h2 { font-size: 1.55rem; margin: 42px 0 14px; }
.post-body h3 { font-size: 1.18rem; margin: 28px 0 8px; }
.post-body ul, .post-body ol {
  margin: 0 0 20px; padding-left: 22px;
  display: flex; flex-direction: column; gap: 9px; color: var(--ink);
}
.post-body li { padding-left: 4px; }
.post-body li::marker { color: var(--primary); font-weight: 700; }
.post-body a {
  color: var(--primary); font-weight: 600; text-decoration: underline;
  text-underline-offset: 3px; text-decoration-color: var(--mint);
  transition: text-decoration-color 0.25s ease;
}
.post-body a:hover { text-decoration-color: var(--primary); }
.post-body strong { font-weight: 700; }

/* callout / key-takeaway box */
.callout {
  background: var(--mint-soft); border: 1px solid var(--line); border-left: 4px solid var(--primary);
  border-radius: 14px; padding: 22px 26px; margin: 28px 0;
}
.callout p { margin: 0; color: var(--ink); font-size: 1rem; }
.callout p + p { margin-top: 10px; }
.callout strong { color: var(--primary-deep); }

/* facts table */
.post-table { width: 100%; border-collapse: collapse; margin: 22px 0; font-size: 0.96rem; }
.post-table th, .post-table td { text-align: left; padding: 13px 16px; border-bottom: 1px solid var(--line); vertical-align: top; }
.post-table th { background: var(--mint-soft); font-weight: 700; }
.post-table tr:last-child td { border-bottom: 0; }
.post-table td:first-child { font-weight: 600; }

/* footnote / disclaimer under article */
.post-note { font-size: 0.86rem; color: var(--ink-soft); margin-top: 26px; font-style: italic; }

/* author row */
.post-foot {
  margin-top: 36px; padding-top: 24px; border-top: 1px solid var(--line);
  display: flex; align-items: center; gap: 14px;
}
.post-foot .pf-avatar {
  width: 50px; height: 50px; border-radius: 50%; flex: none;
  background: linear-gradient(145deg, var(--primary), var(--primary-deep));
  color: #fff; font-weight: 700; display: flex; align-items: center; justify-content: center;
}
.post-foot .pf-meta strong { display: block; font-size: 0.98rem; }
.post-foot .pf-meta span { font-size: 0.86rem; color: var(--ink-soft); }

/* ---------- blog listing / related cards ---------- */
.blog-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px; }
.blog-card {
  background: var(--surface); border: 1px solid var(--line); border-radius: var(--r);
  padding: 28px; display: flex; flex-direction: column; color: var(--ink);
  transition: transform 0.35s cubic-bezier(0.16,1,0.3,1), box-shadow 0.35s ease, border-color 0.35s ease;
}
.blog-card:hover { transform: translateY(-6px); box-shadow: var(--shadow-md); border-color: transparent; }
.blog-card .bc-cat {
  font-size: 0.74rem; font-weight: 700; letter-spacing: 0.05em; text-transform: uppercase;
  color: var(--primary); margin-bottom: 12px;
}
.blog-card h3 { font-size: 1.16rem; line-height: 1.28; }
.blog-card p { margin-top: 10px; color: var(--ink-soft); font-size: 0.93rem; flex: 1 1 auto; }
.blog-card .bc-more {
  margin-top: 18px; font-size: 0.88rem; font-weight: 600; color: var(--primary);
  display: inline-flex; align-items: center; gap: 6px;
}
.blog-card .bc-more svg { width: 14px; height: 14px; transition: transform 0.3s ease; }
.blog-card:hover .bc-more svg { transform: translateX(4px); }
@media (max-width: 880px) { .blog-grid { grid-template-columns: 1fr; } }
