/* Blog-specific styles — shared across listing and article pages */
.blog-body {
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  background-color: #fdfcf9;
  background-image:
    linear-gradient(rgba(244, 140, 37, 0.08) 1px, transparent 1px),
    linear-gradient(90deg, rgba(244, 140, 37, 0.08) 1px, transparent 1px);
  background-size: 32px 32px;
}

.blog-navbar {
  position: sticky;
  top: 0;
  z-index: 50;
  background: rgba(255, 255, 255, 0.9);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border-bottom: 2px solid #181411;
  padding: 1rem 1.5rem;
}

@media (min-width: 1024px) {
  .blog-navbar { padding: 1rem 10rem; }
}

.blog-navbar-inner {
  max-width: 1200px;
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.blog-logo {
  font-size: 1.5rem;
  font-weight: 900;
  letter-spacing: -0.05em;
  font-family: 'IBM Plex Mono', monospace;
  display: flex;
  align-items: center;
  height: 2.5rem;
  white-space: pre;
  text-decoration: none;
  color: #181411;
}

.blog-logo-cv {
  background: #181411;
  color: #f48c25;
  padding: 0.125rem 0.25rem;
  display: inline-block;
  transform: rotate(-2deg);
  box-shadow: 2px 2px 0px 0px rgba(24,20,17,1);
  margin: 0 0.125rem;
}

.blog-nav-link {
  font-size: 0.875rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  font-family: 'IBM Plex Mono', monospace;
  color: #181411;
  text-decoration: none;
  transition: color 0.15s;
}
.blog-nav-link:hover { color: #f48c25; }

.blog-cta-btn {
  background: #f48c25;
  padding: 0.5rem 1.5rem;
  font-weight: 900;
  text-transform: uppercase;
  font-size: 0.875rem;
  font-family: 'IBM Plex Mono', monospace;
  border: 2px solid #181411;
  box-shadow: 4px 4px 0px 0px rgba(24,20,17,1);
  color: #181411;
  text-decoration: none;
  transition: all 0.15s;
  cursor: pointer;
}
.blog-cta-btn:hover { opacity: 0.9; }
.blog-cta-btn:active { box-shadow: none; transform: translate(2px, 2px); }

.blog-main { flex: 1; }

.blog-container {
  max-width: 48rem;
  margin: 0 auto;
  padding: 3rem 1.5rem 4rem;
}

@media (min-width: 1024px) {
  .blog-container { padding: 4rem 1.5rem 4rem; }
}

/* Blog listing cards */
.blog-card {
  display: block;
  background: white;
  border: 2px solid #181411;
  box-shadow: 4px 4px 0px 0px rgba(0,0,0,1);
  padding: 1.5rem;
  transition: all 0.15s;
  text-decoration: none;
  color: inherit;
  margin-bottom: 1.5rem;
}
.blog-card:hover {
  box-shadow: 6px 6px 0px 0px rgba(0,0,0,1);
  transform: translate(-2px, -2px);
}

.blog-card-meta {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  margin-bottom: 0.75rem;
}

.blog-card-tag {
  font-size: 10px;
  font-family: 'IBM Plex Mono', monospace;
  font-weight: 700;
  background: #f48c25;
  color: #181411;
  padding: 0.125rem 0.5rem;
  border: 1px solid #181411;
}

.blog-card-date,
.blog-card-read {
  font-size: 10px;
  font-family: 'IBM Plex Mono', monospace;
  letter-spacing: 0.05em;
}
.blog-card-date { color: #877364; }
.blog-card-read { color: #c0b8b0; }

.blog-card-title {
  font-size: 1.125rem;
  font-weight: 700;
  letter-spacing: -0.025em;
  font-family: 'Space Grotesk', sans-serif;
  margin-bottom: 0.5rem;
  color: #181411;
  transition: color 0.15s;
}
.blog-card:hover .blog-card-title { color: #f48c25; }

.blog-card-desc {
  font-size: 0.875rem;
  color: #3d3029;
  line-height: 1.625;
  font-family: 'Space Grotesk', sans-serif;
}

.blog-card-readmore {
  display: inline-block;
  margin-top: 1rem;
  font-size: 0.75rem;
  font-family: 'IBM Plex Mono', monospace;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  color: #877364;
  transition: color 0.15s;
}
.blog-card:hover .blog-card-readmore { color: #181411; }

/* Blog article prose styles */
.blog-prose { line-height: 1.75; }
.blog-prose > *:first-child { margin-top: 0; }
.blog-prose h1 { font-size: 1.875rem; font-weight: 700; letter-spacing: -0.025em; margin-top: 2.5rem; margin-bottom: 1rem; font-family: 'Space Grotesk', sans-serif; color: #181411; }
.blog-prose h2 { font-size: 1.25rem; font-weight: 700; letter-spacing: -0.025em; margin-top: 2.5rem; margin-bottom: 0.75rem; border-bottom: 2px solid #e5e0dc; padding-bottom: 0.5rem; font-family: 'Space Grotesk', sans-serif; color: #181411; }
.blog-prose h3 { font-size: 1.125rem; font-weight: 700; letter-spacing: -0.025em; margin-top: 2rem; margin-bottom: 0.5rem; font-family: 'Space Grotesk', sans-serif; color: #181411; }
.blog-prose p { font-size: 0.875rem; line-height: 1.625; color: #3d3029; margin-bottom: 1.25rem; font-family: 'Space Grotesk', sans-serif; }
.blog-prose a { color: #f48c25; font-weight: 700; text-decoration: underline; text-underline-offset: 2px; }
.blog-prose a:hover { filter: brightness(1.1); }
.blog-prose ul { list-style: disc; padding-left: 1.5rem; margin-bottom: 1.25rem; font-size: 0.875rem; color: #3d3029; font-family: 'Space Grotesk', sans-serif; }
.blog-prose ul li { line-height: 1.625; margin-bottom: 0.5rem; }
.blog-prose ol { list-style: decimal; padding-left: 1.5rem; margin-bottom: 1.25rem; font-size: 0.875rem; color: #3d3029; font-family: 'Space Grotesk', sans-serif; }
.blog-prose ol li { line-height: 1.625; margin-bottom: 0.5rem; }
.blog-prose blockquote { border-left: 4px solid #f48c25; background: #fff7ed; padding: 1rem 1.25rem; margin: 1.5rem 0; font-size: 0.875rem; color: #3d3029; font-style: italic; font-family: 'Space Grotesk', sans-serif; }
.blog-prose code { background: #f0ebe6; color: #3d3029; padding: 0.125rem 0.375rem; font-size: 0.75rem; font-family: 'IBM Plex Mono', monospace; border: 1px solid #e5e0dc; }
.blog-prose pre { background: #181411; color: #f4f2f0; padding: 1.25rem; overflow-x: auto; margin: 1.5rem 0; font-size: 0.75rem; font-family: 'IBM Plex Mono', monospace; border: 2px solid black; box-shadow: 4px 4px 0px 0px rgba(0,0,0,0.15); }
.blog-prose pre code { background: none; border: none; padding: 0; color: inherit; font-size: inherit; }
.blog-prose strong { font-weight: 700; color: #181411; }
.blog-prose img { border: 2px solid #181411; box-shadow: 4px 4px 0px 0px rgba(0,0,0,0.15); margin: 2rem 0; max-width: 100%; }
.blog-prose figure { margin: 2rem 0; }
.blog-prose figcaption { font-size: 0.75rem; color: #877364; font-family: 'IBM Plex Mono', monospace; margin-top: 0.5rem; text-align: center; }
.blog-prose table { width: 100%; border-collapse: collapse; margin: 1.5rem 0; font-size: 0.875rem; font-family: 'Space Grotesk', sans-serif; }
.blog-prose table th { background: #181411; color: #f48c25; font-weight: 700; text-transform: uppercase; font-size: 0.625rem; letter-spacing: 0.1em; padding: 0.75rem 1rem; text-align: left; border: 2px solid #181411; }
.blog-prose table td { padding: 0.75rem 1rem; border: 1px solid #e5e0dc; color: #3d3029; }
.blog-prose table tr:nth-child(even) { background: #faf9f7; }
.blog-prose hr { border: none; margin: 2.5rem 0; }

/* Hero image for article */
.blog-hero-image {
  width: 100%;
  border: 2px solid #181411;
  box-shadow: 4px 4px 0px 0px rgba(0,0,0,0.15);
  margin-bottom: 2rem;
}

/* Divider decoration */
.blog-divider { display: flex; align-items: center; gap: 0.75rem; margin: 3rem 0 1.5rem; }
.blog-divider-line { height: 1px; flex: 1; background: #e5e0dc; }
.blog-divider-dot { width: 0.5rem; height: 0.5rem; }
.blog-divider-dot-primary { background: #f48c25; }
.blog-divider-dot-black { background: #181411; }

/* Stamp CTA Section */
.blog-stamp-cta { border-top: 2px solid #181411; background: #f48c25; padding: 5rem 1.5rem; overflow: hidden; position: relative; }
@media (min-width: 1024px) { .blog-stamp-cta { padding: 7rem 2.5rem; } }
.blog-stamp-cta-dots { position: absolute; inset: 0; z-index: 0; opacity: 0.2; pointer-events: none; background-image: radial-gradient(#181411 2px, transparent 2px); background-size: 32px 32px; }
.blog-stamp-cta-inner { max-width: 900px; margin: 0 auto; text-align: center; display: flex; flex-direction: column; align-items: center; position: relative; z-index: 10; }
.blog-stamp-cta h2 { font-size: 2.25rem; font-weight: 900; line-height: 1.05; letter-spacing: -0.05em; color: #181411; margin-bottom: 2rem; text-transform: uppercase; font-family: 'Space Grotesk', sans-serif; }
@media (min-width: 768px) { .blog-stamp-cta h2 { font-size: 3rem; } }
@media (min-width: 1024px) { .blog-stamp-cta h2 { font-size: 3.75rem; } }
.blog-stamp-cta-highlight { background: #181411; color: #f48c25; padding: 0.25rem 1rem; display: inline-block; transform: rotate(-1deg); margin-top: 0.5rem; box-shadow: 4px 4px 0px 0px rgba(24,20,17,1); }
@media (min-width: 768px) { .blog-stamp-cta-highlight { margin-top: 1rem; } }
.blog-stamp-cta p { font-size: 1.125rem; color: #181411; font-weight: 700; line-height: 1.625; max-width: 48rem; margin-bottom: 3rem; }
@media (min-width: 1024px) { .blog-stamp-cta p { font-size: 1.25rem; } }
.blog-stamp-big-btn { display: inline-flex; align-items: center; justify-content: center; gap: 0.75rem; width: 100%; max-width: 28rem; background: white; color: #181411; padding: 1.25rem 2rem; font-size: 1.125rem; font-weight: 900; font-family: ui-sans-serif, system-ui, sans-serif; text-transform: uppercase; border: 4px solid #181411; box-shadow: 8px 8px 0px 0px rgba(24,20,17,1); text-decoration: none; transition: all 0.15s; cursor: pointer; }
@media (min-width: 768px) { .blog-stamp-big-btn { width: auto; padding: 1.25rem 3rem; font-size: 1.25rem; } }
.blog-stamp-big-btn:hover { transform: translateY(-4px); box-shadow: 12px 12px 0px 0px rgba(24,20,17,1); }
.blog-stamp-badge { font-size: 0.875rem; font-weight: 900; text-transform: uppercase; letter-spacing: 0.1em; color: #181411; margin-top: 0.75rem; display: flex; align-items: center; gap: 0.5rem; background: rgba(255,255,255,0.4); padding: 0.5rem 1rem; border: 2px solid #181411; }

/* Footer */
.blog-footer { background: white; padding: 2rem 0; border-top: 2px solid #181411; }
.blog-footer-inner { max-width: 1200px; margin: 0 auto; padding: 0 1.5rem; display: flex; flex-direction: column; align-items: center; gap: 1rem; }
@media (min-width: 768px) { .blog-footer-inner { flex-direction: row; justify-content: space-between; } }
.blog-footer-copy { font-size: 11px; font-family: 'IBM Plex Mono', monospace; color: #c0b8b0; letter-spacing: 0.05em; text-transform: uppercase; }
.blog-footer-links { display: flex; align-items: center; gap: 1.5rem; }
.blog-footer-links a { font-size: 11px; font-family: 'IBM Plex Mono', monospace; color: #c0b8b0; letter-spacing: 0.05em; text-transform: uppercase; text-decoration: none; transition: color 0.15s; }
.blog-footer-links a:hover { color: #181411; }

/* Back link */
.blog-back-link { display: inline-flex; align-items: center; gap: 0.5rem; font-size: 0.75rem; font-family: 'IBM Plex Mono', monospace; font-weight: 700; text-transform: uppercase; letter-spacing: 0.05em; color: #877364; text-decoration: none; margin-bottom: 3rem; transition: color 0.15s; }
.blog-back-link:hover { color: #181411; }

/* Article header */
.blog-article-header { margin-bottom: 2.5rem; }
.blog-article-title { font-size: 1.875rem; font-weight: 700; letter-spacing: -0.025em; font-family: 'Space Grotesk', sans-serif; color: #181411; }

/* Inline CTA */
.blog-inline-cta { text-align: center; margin-bottom: 2rem; }
.blog-inline-cta p { font-size: 0.875rem; color: #3d3029; margin-bottom: 1rem; font-family: 'Space Grotesk', sans-serif; }
.blog-inline-cta-btn { display: inline-block; padding: 0.75rem 2rem; background: #f48c25; color: #181411; font-weight: 700; font-family: 'IBM Plex Mono', monospace; font-size: 0.75rem; text-transform: uppercase; letter-spacing: 0.1em; border: 2px solid #181411; box-shadow: 4px 4px 0px 0px #000; text-decoration: none; transition: all 0.15s; }
.blog-inline-cta-btn:active { box-shadow: none; transform: translate(1px, 1px); }
.blog-inline-cta-btn:hover { filter: brightness(1.05); }

/* Page heading */
.blog-page-heading { font-size: 2.25rem; font-weight: 700; letter-spacing: -0.025em; margin-bottom: 0.5rem; font-family: 'Space Grotesk', sans-serif; color: #181411; }
.blog-page-subheading { font-size: 0.75rem; font-family: 'IBM Plex Mono', monospace; color: #877364; letter-spacing: 0.05em; margin-bottom: 3rem; }

/* Empty state */
.blog-empty { background: white; border: 2px solid #181411; box-shadow: 4px 4px 0px 0px rgba(0,0,0,1); padding: 2rem; text-align: center; font-size: 0.875rem; font-family: 'IBM Plex Mono', monospace; color: #877364; }

/* Hidden on mobile */
.blog-desktop-only { display: none; }
@media (min-width: 768px) { .blog-desktop-only { display: flex; } }

/* FAQ Section */
.blog-faq-section { margin: 2.5rem 0; }
.blog-faq-section h2 { font-size: 1.25rem; font-weight: 700; letter-spacing: -0.025em; margin-bottom: 1rem; border-bottom: 2px solid #e5e0dc; padding-bottom: 0.5rem; font-family: 'Space Grotesk', sans-serif; color: #181411; }
.blog-faq-item { background: white; border: 2px solid #181411; margin-bottom: 0.75rem; box-shadow: 2px 2px 0px 0px rgba(0,0,0,0.15); }
.blog-faq-item summary { padding: 1rem 1.25rem; font-size: 0.875rem; font-weight: 700; font-family: 'Space Grotesk', sans-serif; color: #181411; cursor: pointer; list-style: none; display: flex; align-items: center; justify-content: space-between; }
.blog-faq-item summary::after { content: '+'; font-size: 1.25rem; font-weight: 700; color: #f48c25; transition: transform 0.2s; }
.blog-faq-item[open] summary::after { content: '−'; }
.blog-faq-item p { padding: 0 1.25rem 1rem; font-size: 0.875rem; line-height: 1.625; color: #3d3029; font-family: 'Space Grotesk', sans-serif; margin: 0; }
