/* Blog + shared sticky nav for inner pages */
.site-nav {
  position: sticky; top: 0; z-index: 100;
  background: rgba(13,13,13,0.97);
  backdrop-filter: blur(12px);
  border-bottom: 0.5px solid rgba(255,255,255,0.08);
  padding: 0 2rem; height: 60px;
  display: flex; align-items: center; justify-content: space-between;
}
.site-nav .nav-logo img { height: 38px; width: auto; display: block; }
.nav-links { display: flex; align-items: center; gap: 1.15rem; }
.nav-links a {
  font-size: 13px; color: rgba(255,255,255,0.65);
  transition: color 0.15s; text-decoration: none;
}
.nav-links a:hover { color: #fff; }
.nav-cta {
  background: var(--accent) !important;
  color: #fff !important;
  padding: 7px 16px;
  border-radius: var(--radius-pill);
  font-size: 13px !important;
  font-weight: 500 !important;
}
.nav-cta:hover { opacity: 0.88; text-decoration: none; }
.nav-returning {
  font-size: 12.5px !important;
  color: rgba(255,255,255,0.45) !important;
  white-space: nowrap;
}
.nav-returning:hover { color: rgba(255,255,255,0.85) !important; }
.nav-toggle {
  display: none; background: none; border: none;
  cursor: pointer; padding: 8px; color: #fff;
}
.mobile-menu {
  display: none; position: fixed; top: 60px; left: 0; right: 0; z-index: 99;
  background: rgba(13,13,13,0.98);
  border-bottom: 0.5px solid rgba(255,255,255,0.08);
  padding: 1rem 2rem 1.5rem; flex-direction: column; gap: 0.25rem;
}
.mobile-menu.open { display: flex; }
.mobile-menu a {
  font-size: 15px; color: rgba(255,255,255,0.65);
  padding: 0.65rem 0; border-bottom: 0.5px solid rgba(255,255,255,0.08);
  text-decoration: none;
}
.mobile-menu .nav-cta {
  text-align: center; margin-top: 0.75rem;
  padding: 12px 18px !important; border-bottom: none;
}

.blog-page {
  max-width: 720px; margin: 0 auto;
  padding: 3rem 2rem 5rem;
}
.blog-index-lead {
  font-size: 17px; color: var(--text-muted);
  line-height: 1.75; margin-bottom: 2rem;
}
.post-card {
  display: block;
  background: var(--bg-soft);
  border: 0.5px solid var(--border);
  border-radius: var(--radius);
  padding: 1.5rem 1.6rem;
  margin-bottom: 1rem;
  transition: border-color 0.15s;
}
.post-card:hover { border-color: rgba(196,30,58,0.35); }
.post-card h2 {
  font-family: 'DM Serif Display', serif;
  font-size: 22px; letter-spacing: -0.3px;
  margin-bottom: 0.5rem; line-height: 1.2;
}
.post-card p {
  font-size: 14px; color: var(--text-muted);
  line-height: 1.7; margin-bottom: 0.75rem;
}
.post-meta {
  font-size: 12px; font-weight: 500; color: var(--accent);
}
.post-meta span { color: var(--text-muted); font-weight: 400; }

.article-page { max-width: 680px; }
.article-page h1 {
  font-family: 'DM Serif Display', serif;
  font-size: clamp(30px, 5vw, 40px);
  letter-spacing: -0.5px; line-height: 1.12;
  margin-bottom: 1rem;
}
.article-intro {
  font-size: 16px; color: var(--text-muted);
  line-height: 1.8; margin-bottom: 2rem;
  padding-bottom: 2rem;
  border-bottom: 0.5px solid var(--border);
}
.article-page h2 {
  font-family: 'DM Serif Display', serif;
  font-size: 26px; letter-spacing: -0.3px;
  margin: 2.5rem 0 1rem; line-height: 1.15;
}
.article-page h3 {
  font-size: 15px; font-weight: 500;
  letter-spacing: 0.2px; margin: 1.75rem 0 0.75rem;
}
.article-page p {
  font-size: 15px; color: var(--text-muted);
  line-height: 1.85; margin-bottom: 1rem;
}
.article-page ul, .article-page ol {
  margin: 0 0 1rem 1.25rem;
}
.article-page li {
  font-size: 15px; color: var(--text-muted);
  line-height: 1.8; margin-bottom: 0.5rem;
}
.article-page ul { list-style: disc; }
.article-page ol { list-style: decimal; }
.article-page strong { color: var(--text); font-weight: 500; }
.article-page em { font-style: italic; color: var(--text); }

.example-box {
  background: var(--bg-soft);
  border-left: 3px solid var(--accent);
  border-radius: 0 var(--radius) var(--radius) 0;
  padding: 1rem 1.25rem;
  margin: 1.25rem 0 1.5rem;
}
.example-box p { margin-bottom: 0.5rem; }
.example-box p:last-child { margin-bottom: 0; }
.example-label {
  font-size: 11px; letter-spacing: 1.2px;
  text-transform: uppercase; font-weight: 500;
  color: var(--accent); margin-bottom: 0.35rem;
}
.mistake-box {
  background: var(--accent-light);
  border-radius: var(--radius);
  padding: 1rem 1.25rem;
  margin: 1.25rem 0 1.5rem;
}
.mistake-box p { margin: 0; font-size: 14px; }
.figure {
  margin: 1.5rem 0;
  padding: 1.25rem;
  background: var(--bg-soft);
  border: 0.5px solid var(--border);
  border-radius: var(--radius);
  text-align: center;
}
.figure svg { max-width: 100%; height: auto; margin: 0 auto; }
.figure img {
  max-width: 100%; height: auto; margin: 0 auto;
  display: block; border-radius: 4px;
}
.figure figcaption {
  font-size: 13px; color: var(--text-muted);
  margin-top: 0.85rem; line-height: 1.6;
  text-align: left;
}
.criteria-list li { margin-bottom: 0.35rem; }
.article-cta {
  background: var(--accent-dark); color: #fff;
  border-radius: var(--radius);
  padding: 2rem; text-align: center;
  margin-top: 3rem;
}
.article-cta p {
  color: rgba(255,255,255,0.8); margin-bottom: 1.25rem;
}
.article-cta .btn {
  display: inline-block; background: var(--accent); color: #fff;
  padding: 12px 28px; border-radius: var(--radius-pill);
  font-size: 14px; font-weight: 500; text-decoration: none;
}
.article-cta .btn:hover { opacity: 0.88; }
.back-link {
  display: inline-block;
  font-size: 13px; color: var(--text-muted);
  margin-bottom: 2rem; text-decoration: none;
}
.back-link:hover { color: var(--accent); }

@media (max-width: 900px) {
  .nav-links { display: none; }
  .nav-toggle { display: block; }
}
