.blog-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 16px;
  margin-top: 18px;
}

.blog-card {
  display: flex;
  flex-direction: column;
  gap: 10px;
  min-height: 100%;
  padding: 18px;
  border: 1px solid var(--border);
  border-radius: 18px;
  background: #fbfdff;
  text-decoration: none;
  color: var(--text);
}

.blog-card:hover {
  border-color: rgba(35, 99, 235, 0.45);
  box-shadow: 0 12px 28px rgba(18, 38, 63, 0.08);
}

.blog-category,
.post-meta {
  color: var(--primary);
  font-weight: 800;
  font-size: 0.76rem;
  text-transform: uppercase;
  letter-spacing: 0.08em;
}

.blog-card h2,
.blog-card h3 {
  margin: 0;
  font-size: 1.08rem;
  line-height: 1.25;
}

.blog-card p,
.post-summary,
.comment-note {
  margin: 0;
  color: var(--muted);
  line-height: 1.6;
}

.hero-copy .post-summary {
  margin: 8px auto 0;
  max-width: 640px;
  text-align: center;
}

.blog-layout {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 320px;
  gap: 18px;
  align-items: start;
}

.blog-article {
  line-height: 1.72;
}

.blog-article h2 {
  margin: 26px 0 8px;
  font-size: 1.28rem;
}

.blog-article p,
.blog-article li {
  color: #344054;
}

.blog-article a,
.blog-sidebar a,
.comment-list a {
  color: var(--primary);
  font-weight: 700;
  text-decoration: none;
}

.blog-article a.primary-btn,
.blog-article a.primary-btn:visited,
.blog-cta a.primary-btn,
.blog-cta a.primary-btn:visited {
  color: #ffffff;
}

.blog-article a.secondary-btn,
.blog-article a.secondary-btn:visited,
.blog-cta a.secondary-btn,
.blog-cta a.secondary-btn:visited {
  color: var(--text);
}

.blog-cta {
  margin-top: 24px;
  padding: 18px;
  border-radius: 18px;
  background: #eaf1ff;
  border: 1px solid rgba(35, 99, 235, 0.18);
}

.blog-sidebar {
  position: sticky;
  top: 92px;
}

.sidebar-list {
  display: grid;
  gap: 10px;
  margin-top: 14px;
}

.comment-form {
  display: grid;
  gap: 14px;
  margin-top: 18px;
}

.comment-list {
  display: grid;
  gap: 12px;
  margin-top: 16px;
}

.comment-item {
  padding: 14px;
  border: 1px solid var(--border);
  border-radius: 16px;
  background: #fbfdff;
}

.comment-item strong {
  display: block;
  margin-bottom: 4px;
}

.comment-item time {
  color: var(--muted);
  font-size: 0.82rem;
}

.comment-item p {
  margin: 8px 0 0;
  color: #344054;
  line-height: 1.6;
}

.comment-status {
  padding: 12px 14px;
  border-radius: 14px;
  font-weight: 700;
}

.comment-status.success {
  background: #e8fff1;
  color: #08613a;
  border: 1px solid #7ad8a0;
}

.comment-status.error {
  background: #fff0f0;
  color: #9f1d1d;
  border: 1px solid #f0b0b0;
}

@media (max-width: 960px) {
  .blog-grid,
  .blog-layout {
    grid-template-columns: 1fr;
  }

  .blog-sidebar {
    position: static;
  }
}
.post-hero-figure {
  margin: 18px 0 22px;
}

.post-hero-figure img {
  width: 100%;
  height: auto;
  border-radius: 20px;
  border: 1px solid var(--border);
  box-shadow: 0 12px 28px rgba(18, 38, 63, 0.08);
}

.post-hero-figure figcaption {
  margin-top: 8px;
  color: var(--muted);
  font-size: 0.9rem;
}

.quick-answer,
.key-takeaways,
.resource-box,
.video-box {
  margin: 20px 0;
  padding: 18px;
  border: 1px solid rgba(35, 99, 235, 0.18);
  border-radius: 18px;
  background: #f7faff;
}

.quick-answer h2,
.key-takeaways h2,
.resource-box h2,
.video-box h2 {
  margin-top: 0;
}

.key-takeaways ul,
.resource-box ul,
.video-box ul {
  margin-bottom: 0;
}
.blog-card-image {
  width: 100%;
  height: auto;
  border-radius: 14px;
  border: 1px solid var(--border);
  margin-bottom: 4px;
}
.inline-figure {
  margin: 24px 0;
}

.inline-figure img {
  width: 100%;
  height: auto;
  border-radius: 18px;
  display: block;
  box-shadow: 0 12px 28px rgba(18, 38, 63, 0.08);
}

.inline-figure figcaption {
  margin-top: 10px;
  color: var(--muted);
  font-size: 0.9rem;
  text-align: center;
}
