/* Blog-specific styles — inherit from main styles.css and extend */

.article-nav {
  padding: 24px 0;
  background: var(--bg-soft);
  border-bottom: 1px solid var(--line);
}
.article-nav__inner { display: flex; justify-content: space-between; align-items: center; }
.article-nav a { font-size: 13px; color: var(--muted); }
.article-nav a:hover { color: var(--accent); }

.article-header {
  padding: 80px 0 40px;
  background: var(--bg);
  border-bottom: 1px solid var(--line);
}
.article-header__container { max-width: 780px; margin: 0 auto; padding: 0 24px; }
.article-header .eyebrow { display: inline-block; margin-bottom: 16px; }
.article-header h1 {
  font-size: clamp(32px, 5vw, 56px);
  letter-spacing: -0.035em;
  margin-bottom: 20px;
}
.article-header__lede {
  font-size: 20px;
  color: var(--muted);
  line-height: 1.5;
  margin-bottom: 24px;
}
.article-meta { display: flex; gap: 24px; font-size: 13px; color: var(--muted); align-items: center; }
.article-meta__author { display: flex; align-items: center; gap: 10px; }
.article-meta__avatar {
  width: 32px; height: 32px; border-radius: 50%;
  background: linear-gradient(135deg, var(--accent), var(--accent-2));
}
.article-meta__author strong { color: var(--ink); }

.article-body {
  padding: 48px 0 80px;
  background: var(--bg);
}
.article-body__container { max-width: 720px; margin: 0 auto; padding: 0 24px; }
.article-body h2 {
  font-size: 28px;
  letter-spacing: -0.02em;
  margin: 48px 0 16px;
  padding-top: 8px;
}
.article-body h3 {
  font-size: 20px;
  margin: 32px 0 12px;
}
.article-body p {
  font-size: 17px;
  line-height: 1.65;
  margin-bottom: 18px;
  color: var(--ink);
}
.article-body ul, .article-body ol {
  font-size: 17px;
  line-height: 1.65;
  margin-bottom: 18px;
  padding-left: 24px;
}
.article-body li { margin-bottom: 8px; }
.article-body strong { color: var(--ink); font-weight: 600; }
.article-body em { font-family: 'Instrument Serif', Georgia, serif; font-style: italic; font-weight: 400; font-size: 1.05em; }
.article-body a { color: var(--accent); text-decoration: underline; text-decoration-thickness: 1px; text-underline-offset: 3px; }

.article-body blockquote {
  border-left: 3px solid var(--accent);
  padding: 12px 20px;
  margin: 24px 0;
  background: linear-gradient(180deg, rgba(124,92,255,.05), transparent);
  border-radius: 0 8px 8px 0;
}
.article-body blockquote p {
  font-family: 'Instrument Serif', Georgia, serif;
  font-size: 22px;
  font-style: italic;
  margin: 0;
  color: var(--ink);
}

.article-body .callout {
  background: linear-gradient(180deg, rgba(124,92,255,.06), rgba(0,212,255,.04));
  border: 1px solid rgba(124,92,255,.18);
  border-radius: 12px;
  padding: 20px 24px;
  margin: 24px 0;
}
.article-body .callout h4 {
  font-size: 12px;
  text-transform: uppercase;
  letter-spacing: .12em;
  color: var(--accent);
  margin: 0 0 8px;
  font-weight: 700;
}
.article-body .callout p:last-child { margin-bottom: 0; }

.article-body table {
  width: 100%;
  border-collapse: collapse;
  margin: 24px 0;
  font-size: 14px;
}
.article-body th, .article-body td {
  padding: 10px 14px;
  border-bottom: 1px solid var(--line);
  text-align: left;
}
.article-body th { background: var(--bg-soft); font-weight: 600; font-size: 13px; }

.article-cta {
  background: linear-gradient(180deg, #0A0E1A 0%, #11172A 100%);
  color: #fff;
  padding: 40px;
  border-radius: 16px;
  margin: 48px 0 0;
  text-align: center;
}
.article-cta h3 { color: #fff; font-size: 26px; margin-bottom: 12px; }
.article-cta p { color: rgba(255,255,255,.72); font-size: 16px; margin-bottom: 20px; }
.article-cta a.btn { background: linear-gradient(90deg, var(--accent), var(--accent-2)); color: #0A0E1A; padding: 14px 26px; border-radius: 10px; font-weight: 700; text-decoration: none; display: inline-block; }

/* Blog index */
.blog-hero {
  background: var(--ink); color: #fff;
  padding: 100px 0 60px;
  text-align: center;
}
.blog-hero h1 { color: #fff; font-size: clamp(36px, 5vw, 56px); margin-bottom: 16px; }
.blog-hero p { color: rgba(255,255,255,.7); font-size: 18px; max-width: 560px; margin: 0 auto; }
.blog-list { padding: 60px 0 80px; background: var(--bg-soft); }
.blog-list__grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 24px; max-width: 1080px; margin: 0 auto; padding: 0 24px; }
.blog-card {
  background: #fff; border: 1px solid var(--line); border-radius: 14px;
  padding: 28px; transition: transform .2s, box-shadow .2s, border-color .2s;
  display: block; text-decoration: none; color: inherit;
}
.blog-card:hover { transform: translateY(-2px); box-shadow: var(--shadow-md); border-color: #D7DAE5; }
.blog-card__cat {
  display: inline-block;
  font-size: 11px; font-weight: 700; letter-spacing: .12em; text-transform: uppercase;
  color: var(--accent);
  margin-bottom: 12px;
}
.blog-card h3 {
  font-size: 22px;
  line-height: 1.25;
  margin-bottom: 10px;
}
.blog-card p { color: var(--muted); font-size: 15px; margin-bottom: 16px; }
.blog-card__meta { font-size: 12px; color: var(--muted); }

@media (max-width: 680px) {
  .blog-list__grid { grid-template-columns: 1fr; }
  .article-body p, .article-body ul, .article-body ol { font-size: 16px; }
}
