/* ==========================================================================
   SiteAuditPro — Blog Post Stylesheet
   Styles specific to individual blog post pages (not listing pages).
   Used alongside main.css.
   ========================================================================== */

/* Blog Post Hero */
#hero {
  padding: 6rem 0 3rem;
  text-align: center;
  background: radial-gradient(ellipse 80% 50% at 50% -10%, rgba(0,245,212,0.07), transparent);
}
#hero h1 { max-width: 800px; margin: 0 auto 1rem; }

/* Article Body Section */
#article-body { padding: 2rem 0 4rem; }

/* Author Box */
.author-box {
  display: flex;
  align-items: flex-start;
  gap: 1.25rem;
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: 12px;
  padding: 1.5rem;
  margin: 2.5rem 0 1rem;
}
.author-box img { width: 56px; height: 56px; border-radius: 50%; }
.author-box .author-name { font-family: 'Syne', sans-serif; font-weight: 700; color: var(--text); }
.author-box .author-role { font-size: 0.9rem; color: var(--muted); }
.author-box .author-bio { font-size: 0.9rem; color: var(--muted); margin-top: 0.25rem; }

/* AI Disclosure */
.ai-disclosure { font-size: 0.8rem; color: var(--muted); margin-bottom: 2rem; }

/* Post Navigation (prev/next) */
.post-nav {
  display: flex;
  justify-content: space-between;
  gap: 1rem;
  margin-top: 2rem;
  padding-top: 1.5rem;
  border-top: 1px solid var(--border);
}
.post-nav a { font-size: 0.95rem; color: var(--muted); }
.post-nav a:hover { color: var(--accent); }

/* Blockquote */
article blockquote {
  border-left: 3px solid var(--accent);
  padding: 0.75rem 1.25rem;
  margin: 1.5rem 0;
  color: var(--muted);
  font-style: italic;
}

/* Code inline */
article code {
  font-family: 'Fira Code', monospace;
  font-size: 0.9em;
  color: var(--accent);
}

/* Code block */
article pre {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: 8px;
  padding: 1.25rem;
  overflow-x: auto;
  margin: 1.5rem 0;
}
article pre code { color: var(--text); }

/* Tables */
article table {
  width: 100%;
  border-collapse: collapse;
  margin: 1.5rem 0;
  font-size: 0.95rem;
}
article th, article td {
  text-align: left;
  padding: 0.75rem 1rem;
  border-bottom: 1px solid var(--border);
}
article th {
  font-family: 'Syne', sans-serif;
  font-weight: 600;
  color: var(--accent);
  background: var(--surface);
}
article td { color: var(--text); }

/* Back to blog link */
.back-link { display: inline-block; margin-bottom: 1rem; font-size: 0.9rem; color: var(--muted); }
.back-link:hover { color: var(--text); }

/* Responsive — blog post */
@media (max-width: 768px) {
  #hero { padding: 4rem 0 2rem; }
  #article-body { padding: 1.5rem 0 3rem; }
  .author-box { flex-direction: column; align-items: center; text-align: center; }
  .post-nav { flex-direction: column; }
}
