/* MMG single-post.css — editorial blog post page */

:root {
  --cream: #F4EFE6;
  --ink: #111;
  --lime: #C6FF3D;
  --muted: #6b6b66;
  --rule: rgba(17,17,17,0.12);
}

.single-post { background: var(--cream); color: var(--ink); }
.single-post .container { max-width: 760px; margin: 0 auto; padding: 0 24px; }

.post-hero { padding: 64px 24px 32px; }
.post-hero-meta {
  display: flex; gap: 12px; align-items: center;
  font-family: 'JetBrains Mono', monospace;
  font-size: 12px; letter-spacing: 0.08em; color: var(--muted);
  margin-bottom: 32px;
}
.post-eyebrow { color: var(--ink); text-decoration: none; font-weight: 600; }
.post-eyebrow:hover { background: var(--lime); padding: 0 6px; }
.post-meta-sep { color: var(--muted); }

.post-title {
  font-family: 'Space Grotesk', sans-serif;
  font-size: clamp(40px, 6vw, 72px);
  line-height: 1.02; letter-spacing: -0.02em; font-weight: 700;
  margin: 0 0 32px; color: var(--ink);
}

.post-author-row {
  display: flex; gap: 14px; align-items: center;
  border-top: 1px solid var(--rule); padding-top: 24px;
}
.post-author-avatar { width: 48px; height: 48px; border-radius: 50%; overflow: hidden; flex-shrink: 0; background: #ddd; }
.post-author-img { width: 100%; height: 100%; object-fit: cover; }
.post-author-meta { display: flex; flex-direction: column; }
.post-author-name { font-weight: 600; font-size: 15px; }
.post-author-role { color: var(--muted); font-size: 13px; font-family: 'JetBrains Mono', monospace; }

.post-feature-image { margin: 32px auto; max-width: 1200px; padding: 0 24px; }
.post-feature-img { width: 100%; height: auto; display: block; border-radius: 0; }

.post-body { padding: 32px 24px 64px; }
.post-body-inner { font-family: 'Inter', sans-serif; font-size: 19px; line-height: 1.7; color: var(--ink); }
.post-body-inner > * { max-width: 680px; margin-left: auto; margin-right: auto; }
.post-body-inner p { margin: 0 0 24px; }
.post-body-inner h2 { font-family: 'Space Grotesk', sans-serif; font-size: 36px; line-height: 1.1; margin: 56px auto 20px; font-weight: 700; letter-spacing: -0.01em; }
.post-body-inner h3 { font-family: 'Space Grotesk', sans-serif; font-size: 26px; line-height: 1.2; margin: 40px auto 16px; font-weight: 700; }
.post-body-inner h4 { font-size: 20px; margin: 32px auto 12px; font-weight: 700; }
.post-body-inner a { color: var(--ink); text-decoration: underline; text-decoration-thickness: 2px; text-underline-offset: 4px; }
.post-body-inner a:hover { background: var(--lime); }
.post-body-inner blockquote { border-left: 4px solid var(--ink); padding: 8px 0 8px 24px; font-style: italic; font-size: 22px; margin: 32px auto; color: var(--ink); }
.post-body-inner ul, .post-body-inner ol { padding-left: 28px; margin: 0 auto 24px; max-width: 680px; }
.post-body-inner ul { list-style-type: square; }
.post-body-inner li { margin-bottom: 12px; }
.post-body-inner img { max-width: 100%; height: auto; margin: 32px auto; display: block; }
.post-body-inner figure { margin: 32px 0; max-width: 100%; }
.post-body-inner figure img { margin: 0 auto; }
.post-body-inner figcaption { color: var(--muted); font-size: 14px; text-align: center; margin-top: 8px; font-family: 'JetBrains Mono', monospace; }
.post-body-inner pre, .post-body-inner code { font-family: 'JetBrains Mono', monospace; background: #efe9dd; padding: 2px 8px; border-radius: 0; }
.post-body-inner pre { padding: 16px; overflow-x: auto; margin: 24px auto; }
.post-body-inner table { border-collapse: collapse; width: 100%; margin: 24px 0; font-size: 16px; }
.post-body-inner th, .post-body-inner td { border-bottom: 1px solid var(--rule); padding: 12px; text-align: left; }
.post-body-inner th { font-weight: 700; background: rgba(0,0,0,0.04); }

.post-end-cta { background: var(--ink); color: var(--cream); padding: 80px 24px; margin-top: 64px; }
.post-end-cta .container { max-width: 760px; margin: 0 auto; }
.end-cta-eyebrow { font-family: 'JetBrains Mono', monospace; font-size: 12px; letter-spacing: 0.1em; color: var(--lime); margin-bottom: 16px; }
.end-cta-h2 { font-family: 'Space Grotesk', sans-serif; font-size: clamp(40px, 6vw, 64px); line-height: 1.05; margin: 0 0 24px; font-weight: 700; letter-spacing: -0.02em; }
.end-cta-h2 .lime-bg { background: var(--lime); color: var(--ink); padding: 0 0.1em; }
.end-cta-sub { font-size: 19px; line-height: 1.5; max-width: 540px; opacity: 0.9; margin: 0 0 32px; }
.end-cta-btn { display: inline-block; background: var(--lime); color: var(--ink); padding: 18px 32px; font-weight: 700; text-decoration: none; font-family: 'Space Grotesk', sans-serif; font-size: 18px; letter-spacing: -0.01em; transition: transform 0.15s; }
.end-cta-btn:hover { transform: translate(-2px, -2px); box-shadow: 4px 4px 0 var(--lime); }

.post-related { padding: 64px 24px; max-width: 1200px !important; }
.related-head { display: flex; justify-content: space-between; align-items: end; margin-bottom: 32px; border-bottom: 1px solid var(--rule); padding-bottom: 16px; }
.related-eyebrow { font-family: 'JetBrains Mono', monospace; font-size: 12px; letter-spacing: 0.1em; color: var(--muted); }
.related-all { font-family: 'JetBrains Mono', monospace; font-size: 13px; color: var(--ink); text-decoration: none; font-weight: 600; }
.related-all:hover { background: var(--lime); padding: 2px 6px; }
.related-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
.related-card { background: #fff; padding: 24px; text-decoration: none; color: var(--ink); border: 1px solid var(--rule); transition: transform 0.15s, box-shadow 0.15s; display: block; }
.related-card:hover { transform: translate(-3px, -3px); box-shadow: 6px 6px 0 var(--ink); }
.related-cat { font-family: 'JetBrains Mono', monospace; font-size: 11px; letter-spacing: 0.08em; color: var(--muted); display: block; margin-bottom: 12px; }
.related-title { font-family: 'Space Grotesk', sans-serif; font-size: 22px; line-height: 1.15; font-weight: 700; margin: 0; letter-spacing: -0.01em; }

@media (max-width: 768px) {
  .post-hero { padding: 32px 20px 20px; }
  .post-title { font-size: 36px; }
  .post-feature-image { padding: 0 20px; }
  .post-body { padding: 24px 20px 48px; }
  .post-body-inner { font-size: 17px; }
  .post-body-inner h2 { font-size: 28px; }
  .post-body-inner h3 { font-size: 22px; }
  .post-end-cta { padding: 48px 20px; }
  .related-grid { grid-template-columns: 1fr; gap: 16px; }
}
