/* Blog index page.
   Mirrors the case-studies index (hero + card grid + final CTA) so the blog
   feels native to the site. Cards use an image thumbnail (the post's LinkedIn
   carousel cover, 4:5) instead of an SVG chart. 3-up desktop, 2-up tablet,
   1-up mobile. */

/* ---------- Hero ---------- */
.bl-hero {
  padding: 100px 0 60px;
  background: var(--cream);
}
.bl-hero-kicker {
  font-family: var(--serif);
  font-style: italic;
  font-size: 14px;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--green);
  opacity: 0.8;
  margin-bottom: 16px;
}
.bl-hero-title {
  font-family: var(--serif);
  font-size: 80px;
  line-height: 0.98;
  font-weight: 500;
  letter-spacing: -0.015em;
  margin-bottom: 20px;
  color: var(--ink);
  max-width: 880px;
}
.bl-hero-title em {
  font-style: italic;
  background: linear-gradient(transparent 60%, var(--yellow) 60%);
  padding: 0 8px;
}
.bl-hero-lead {
  font-size: 20px;
  line-height: 1.55;
  color: var(--ink);
  max-width: 640px;
  opacity: 0.9;
}

/* ---------- Cards grid ---------- */
.bl-grid-section {
  padding: 40px 0 110px;
  background: var(--cream);
  border-top: 1px solid var(--rule, rgba(44,58,48,0.15));
}
.bl-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}
.post-card {
  display: flex;
  flex-direction: column;
  background: var(--cream-light);
  border-radius: 10px;
  overflow: hidden;
  text-decoration: none;
  color: var(--ink);
  position: relative;
  box-shadow: 0 6px 18px rgba(44,58,48,0.08);
  transition: transform 200ms ease, box-shadow 200ms ease;
  border-top: 6px solid var(--green);
}
.post-card:hover {
  transform: translateY(-6px);
  box-shadow: 0 22px 48px rgba(44,58,48,0.20);
}

.post-card .post-thumb {
  aspect-ratio: 4 / 5;
  background: var(--green-deep);
  position: relative;
  overflow: hidden;
  border-bottom: 1px solid var(--rule, rgba(44,58,48,0.15));
}
.post-card .post-thumb img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: top center;
  display: block;
  transition: transform 300ms ease;
}
.post-card:hover .post-thumb img {
  transform: scale(1.03);
}

.post-card .post-body {
  padding: 24px 26px 26px;
  display: flex;
  flex-direction: column;
  gap: 10px;
  flex: 1;
}
.post-card .post-meta {
  display: flex;
  align-items: center;
  gap: 9px;
  font-family: var(--serif);
  font-style: italic;
  font-size: 13px;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--green);
}
.post-card .post-dot { opacity: 0.5; }
.post-card .post-date { color: var(--muted); }
.post-card h3 {
  font-family: var(--serif);
  font-size: 25px;
  line-height: 1.15;
  font-weight: 500;
}
.post-card h3 em { font-style: italic; }
.post-card .post-excerpt {
  font-size: 15px;
  line-height: 1.5;
  color: var(--muted);
}
.post-card .post-cta {
  margin-top: auto;
  padding-top: 14px;
  font-family: var(--sans);
  font-size: 12px;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  font-weight: 700;
  color: var(--green);
  display: inline-flex;
  align-items: center;
  gap: 6px;
}
.post-card .post-cta::after {
  content: "\2192";
  transition: transform 200ms ease;
}
.post-card:hover .post-cta::after {
  transform: translateX(3px);
}

/* ---------- Final CTA ---------- */
.bl-final-cta {
  padding: 100px 0;
  background: var(--green);
  color: var(--cream);
  text-align: center;
}
.bl-final-cta h2 {
  font-family: var(--serif);
  font-size: 56px;
  line-height: 1.05;
  font-weight: 500;
  margin-bottom: 20px;
  letter-spacing: -0.01em;
}
.bl-final-cta h2 em { font-style: italic; color: var(--yellow); }
.bl-final-cta p {
  font-size: 18px;
  opacity: 0.85;
  margin: 0 auto 32px;
  max-width: 540px;
  line-height: 1.55;
}
.bl-final-cta .btn-primary {
  display: inline-block;
  background: var(--yellow);
  color: var(--green);
  border: 1.5px solid var(--yellow);
  padding: 16px 32px;
  border-radius: 999px;
  font-weight: 600;
  text-decoration: none;
  font-size: 15px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}
.bl-final-cta .btn-primary:hover { background: var(--cream); border-color: var(--cream); }

/* ---------- Responsive ---------- */
@media (max-width: 960px) {
  .bl-grid { grid-template-columns: 1fr 1fr; }
  .bl-hero-title { font-size: 56px; }
  .bl-final-cta h2 { font-size: 40px; }
}
@media (max-width: 720px) {
  .bl-hero { padding: 64px 0 40px; }
  .bl-hero-title { font-size: 44px; }
  .bl-hero-lead { font-size: 17px; }
  .bl-grid-section { padding: 28px 0 72px; }
  .bl-grid { grid-template-columns: 1fr; gap: 20px; }
  .post-card h3 { font-size: 23px; }
  .post-card .post-thumb { aspect-ratio: 16 / 11; }
  .post-card .post-thumb img { object-position: top center; }
  .bl-final-cta { padding: 72px 0; }
  .bl-final-cta h2 { font-size: 34px; }
  .bl-final-cta p { font-size: 16px; }
}
