/* ==========================================================================
   BonjourPro blog — layered on top of landing.css
   The blog is a marketing surface, not a legal one, so it inherits the
   landing page's dark palette, nav and footer rather than the plain legal
   stylesheet. Only the reading column and card grid are defined here.
   ========================================================================== */

/* ── Index ────────────────────────────────────────────────────────────── */
.blog-hero { padding: 148px 0 56px; text-align: center; position: relative; }
.blog-hero h1 {
  margin: 0 0 14px; font-size: clamp(34px, 5.4vw, 58px); line-height: 1.06;
  font-weight: 800; letter-spacing: -0.038em;
}
.blog-hero p { max-width: 620px; margin: 0 auto; color: var(--dim); font-size: 17px; line-height: 1.6; }

.post-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; padding-bottom: 96px; }
.post-card {
  position: relative; display: flex; flex-direction: column; overflow: hidden;
  border: 1px solid var(--line); border-radius: 20px;
  background: linear-gradient(165deg, rgba(255,255,255,0.07), rgba(255,255,255,0.02));
  text-decoration: none; color: inherit;
  transition: border-color 300ms ease, box-shadow 300ms var(--ease), transform 300ms var(--ease);
}
.post-card:hover { border-color: var(--line-strong); box-shadow: 0 24px 60px rgba(0,0,0,0.45); transform: translateY(-4px); }
.post-card-art { aspect-ratio: 3 / 2; overflow: hidden; background: rgba(255,255,255,0.04); }
.post-card-art img { width: 100%; height: 100%; object-fit: cover; transition: transform 700ms var(--ease); }
.post-card:hover .post-card-art img { transform: scale(1.05); }
.post-card-body { padding: 20px; display: flex; flex-direction: column; flex: 1; }
.post-meta { display: flex; align-items: center; gap: 10px; margin-bottom: 10px; font-size: 11.5px; color: var(--dimmer); }
.post-topic {
  padding: 3px 9px; border-radius: 999px;
  background: rgba(109,143,234,0.2); color: #cfe0ff;
  font-weight: 700; letter-spacing: 0.03em; text-transform: uppercase; font-size: 10.5px;
}
.post-card h2 { margin: 0 0 8px; font-size: 18px; font-weight: 700; letter-spacing: -0.02em; line-height: 1.3; }
.post-card p { margin: 0 0 16px; color: var(--dim); font-size: 14px; line-height: 1.55; flex: 1; }
.post-more { color: #9fc0ff; font-size: 13.5px; font-weight: 680; }
.post-more::after { content: ' →'; transition: none; }

/* ── Article ──────────────────────────────────────────────────────────── */
.article-head { padding: 140px 0 0; }
.article-head .shell { max-width: 760px; }
.back-link {
  display: inline-block; margin-bottom: 22px;
  color: var(--dim); text-decoration: none; font-size: 13.5px; font-weight: 620;
}
.back-link:hover { color: #fff; }
.back-link::before { content: '← '; }
.article-head h1 {
  margin: 12px 0 16px; font-size: clamp(30px, 4.6vw, 48px); line-height: 1.1;
  font-weight: 800; letter-spacing: -0.034em;
}
.article-standfirst { margin: 0 0 26px; color: var(--dim); font-size: 18px; line-height: 1.6; }
.article-figure { margin: 0 0 40px; border-radius: 20px; overflow: hidden; border: 1px solid var(--line); }

.article-body { padding-bottom: 92px; }
.article-body .shell { max-width: 760px; }
.article-body h2 {
  margin: 40px 0 14px; font-size: 24px; font-weight: 740; letter-spacing: -0.025em; line-height: 1.25;
}
.article-body h3 { margin: 28px 0 10px; font-size: 18px; font-weight: 700; letter-spacing: -0.018em; }
.article-body p { margin: 0 0 18px; color: rgba(255,255,255,0.80); font-size: 16.5px; line-height: 1.72; }
.article-body strong { color: #fff; font-weight: 680; }
.article-body em { color: #cfe0ff; }
.article-body ul, .article-body ol { margin: 0 0 18px; padding-left: 22px; }
.article-body li { margin-bottom: 9px; color: rgba(255,255,255,0.80); font-size: 16.5px; line-height: 1.65; }
.article-body a:not(.btn):not(.btn-signature) { color: #9fc0ff; text-underline-offset: 3px; }

.article-table-wrap { overflow-x: auto; margin: 0 0 24px; }
.article-table { width: 100%; border-collapse: collapse; min-width: 460px; font-size: 15px; }
.article-table th, .article-table td { padding: 11px 14px; text-align: left; border-bottom: 1px solid var(--line); }
.article-table th { color: #fff; font-weight: 700; font-size: 13px; letter-spacing: 0.02em; text-transform: uppercase; }
.article-table td { color: rgba(255,255,255,0.80); }
.article-table tr:last-child td { border-bottom: 0; }

.callout {
  margin: 0 0 24px; padding: 18px 20px; border-radius: 16px;
  border: 1px solid rgba(109,143,234,0.4);
  background: linear-gradient(165deg, rgba(58,99,196,0.18), rgba(255,255,255,0.02));
}
.callout p:last-child { margin-bottom: 0; }
.callout strong { color: #cfe0ff; }

.article-cta {
  margin-top: 44px; padding: 28px 24px; border-radius: 20px; text-align: center;
  border: 1px solid var(--line-strong);
  background: linear-gradient(165deg, rgba(255,255,255,0.08), rgba(255,255,255,0.02));
}
.article-cta h2 { margin: 0 0 8px; font-size: 22px; }
.article-cta p { margin: 0 0 18px; }

.article-disclaimer { margin-top: 30px; padding-top: 20px; border-top: 1px solid var(--line); }
.article-disclaimer p { font-size: 13.5px; color: var(--dimmer); line-height: 1.6; }

@media (max-width: 900px) { .post-grid { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 620px) {
  .post-grid { grid-template-columns: 1fr; }
  .blog-hero { padding-top: 118px; }
  .article-head { padding-top: 112px; }
  .article-body p, .article-body li { font-size: 16px; }
}
