.blog-grid-section {
  background: #f8fafc;
  padding: 3.5rem 0 5rem;
}
.blog-empty {
  text-align: center;
  color: #64748b;
  font-size: 1.05rem;
  padding: 2rem 0;
}
.blog-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 1.75rem;
}
@media (min-width: 640px) { .blog-grid { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 1024px) { .blog-grid { grid-template-columns: repeat(3, 1fr); } }

.blog-card {
  display: flex;
  flex-direction: column;
  background: #fff;
  border: 1px solid #e2e8f0;
  border-radius: 1rem;
  overflow: hidden;
  text-decoration: none;
  color: inherit;
  transition: border-color 0.25s, box-shadow 0.25s, transform 0.25s;
}
.blog-card:hover {
  border-color: #EB6608;
  box-shadow: 0 12px 32px rgba(235, 102, 8, 0.14);
  transform: translateY(-3px);
}
.blog-card img {
  width: 100%;
  height: 180px;
  object-fit: cover;
}
.blog-card-body {
  padding: 1.5rem;
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
}
.blog-card-date {
  font-family: 'JetBrains Mono', monospace;
  font-size: 0.7rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: #EB6608;
}
.blog-card-body h2 {
  font-family: 'Space Grotesk', sans-serif;
  font-size: 1.15rem;
  font-weight: 700;
  color: #0f172a;
  line-height: 1.35;
  margin: 0;
}
.blog-card-body p {
  color: #64748b;
  font-size: 0.9rem;
  line-height: 1.5;
  margin: 0;
}

/* POST PAGE */
.blog-post-header {
  background: #0f172a;
  color: #fff;
  padding: 9rem 1rem 3rem;
}
.blog-back {
  display: block;
  color: #EB6608;
  font-size: 0.85rem;
  font-weight: 600;
  text-decoration: none;
  margin-bottom: 1.5rem;
}
.blog-back:hover { text-decoration: underline; }
.blog-post-header h1 {
  font-family: 'Space Grotesk', sans-serif;
  font-size: 2.25rem;
  font-weight: 700;
  line-height: 1.25;
  margin: 0.75rem 0 0;
}
.blog-post-cover {
  width: 100%;
  max-height: 420px;
  object-fit: cover;
}

.post-content {
  max-width: 42rem;
  margin: 3rem auto;
  color: #334155;
  font-size: 1.05rem;
  line-height: 1.75;
}
.post-content h2 {
  font-family: 'Space Grotesk', sans-serif;
  font-size: 1.5rem;
  font-weight: 700;
  color: #0f172a;
  margin: 2.25rem 0 1rem;
}
.post-content h3 {
  font-family: 'Space Grotesk', sans-serif;
  font-size: 1.25rem;
  font-weight: 700;
  color: #0f172a;
  margin: 1.75rem 0 0.75rem;
}
.post-content h4 {
  font-size: 1.05rem;
  font-weight: 700;
  color: #0f172a;
  margin: 1.5rem 0 0.5rem;
}
.post-content p { margin: 0 0 1.25rem; }
.post-content a { color: #EB6608; text-decoration: underline; }
.post-content ul, .post-content ol { margin: 0 0 1.25rem; padding-left: 1.5rem; }
.post-content li { margin-bottom: 0.4rem; }
.post-content blockquote {
  border-left: 4px solid #EB6608;
  background: #fff7ed;
  padding: 1rem 1.25rem;
  margin: 0 0 1.25rem;
  border-radius: 0 0.5rem 0.5rem 0;
  color: #7c2d12;
}
.post-content pre {
  background: #0f172a;
  color: #e2e8f0;
  padding: 1.25rem;
  border-radius: 0.75rem;
  overflow-x: auto;
  margin: 0 0 1.25rem;
  font-family: 'JetBrains Mono', monospace;
  font-size: 0.85rem;
}
.post-content code {
  font-family: 'JetBrains Mono', monospace;
  background: #f1f5f9;
  padding: 0.15rem 0.4rem;
  border-radius: 0.3rem;
  font-size: 0.9em;
}
.post-content pre code { background: none; padding: 0; }
.post-content hr { border: none; border-top: 1px solid #e2e8f0; margin: 2rem 0; }
.post-content figure { margin: 0 0 1.25rem; }
.post-content img { max-width: 100%; border-radius: 0.75rem; }
.post-content figcaption {
  text-align: center;
  font-size: 0.85rem;
  color: #94a3b8;
  margin-top: 0.5rem;
}
.post-callout {
  display: flex;
  gap: 0.75rem;
  background: #f8fafc;
  border: 1px solid #e2e8f0;
  border-radius: 0.75rem;
  padding: 1rem 1.25rem;
  margin: 0 0 1.25rem;
}
.post-bookmark {
  display: block;
  border: 1px solid #e2e8f0;
  border-radius: 0.75rem;
  padding: 1rem 1.25rem;
  margin: 0 0 1.25rem;
  color: #EB6608;
  text-decoration: none;
  word-break: break-all;
}
