/* =============================================
   SIMBOTICA — blog-article.css
   Extends style.css for long-form article pages
   ============================================= */

.article-hero {
  padding: 9rem 2.5rem 4rem;
  max-width: 800px;
  margin: 0 auto;
  border-bottom: 1px solid var(--border);
}

.article-hero .section-label { margin-bottom: 1.25rem; }

.article-title {
  font-family: var(--font-display);
  font-size: clamp(1.8rem, 4vw, 2.8rem);
  font-weight: 800;
  color: var(--white);
  line-height: 1.1;
  letter-spacing: -0.02em;
  margin-bottom: 1.5rem;
}
.article-title em { font-style: normal; color: var(--accent); }

.article-meta {
  display: flex;
  align-items: center;
  gap: 1.5rem;
  font-size: 0.72rem;
  color: var(--text-muted);
  letter-spacing: 0.08em;
  text-transform: uppercase;
}
.article-meta span { display: flex; align-items: center; gap: 0.4rem; }

/* ── Article body ── */
.article-body {
  max-width: 800px;
  margin: 0 auto;
  padding: 4rem 2.5rem 6rem;
}

.article-body h2 {
  font-family: var(--font-display);
  font-size: 1.35rem;
  font-weight: 700;
  color: var(--white);
  margin: 3rem 0 1rem;
  letter-spacing: -0.01em;
}

.article-body h3 {
  font-family: var(--font-display);
  font-size: 1.05rem;
  font-weight: 600;
  color: var(--white);
  margin: 2rem 0 0.75rem;
}

.article-body p {
  font-size: 0.92rem;
  color: var(--text-dim);
  line-height: 1.95;
  margin-bottom: 1.25rem;
}

.article-body ul, .article-body ol {
  margin: 1rem 0 1.5rem 1.25rem;
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
}

.article-body li {
  font-size: 0.9rem;
  color: var(--text-dim);
  line-height: 1.8;
}

.article-body strong { color: var(--white); font-weight: 600; }

.article-body a {
  color: var(--accent);
  text-decoration: underline;
  text-underline-offset: 3px;
}
.article-body a:hover { color: #33eeff; }

.article-body blockquote {
  border-left: 3px solid var(--accent);
  margin: 2rem 0;
  padding: 1rem 1.5rem;
  background: rgba(0,229,255,0.04);
  border-radius: 0 4px 4px 0;
  font-size: 0.9rem;
  color: var(--text);
  font-style: italic;
  line-height: 1.8;
}

.article-body hr {
  border: none;
  border-top: 1px solid var(--border);
  margin: 3rem 0;
}

/* ── CTA box ── */
.article-cta {
  background: linear-gradient(135deg, rgba(0,229,255,0.06), rgba(0,229,255,0.02));
  border: 1px solid rgba(0,229,255,0.2);
  border-radius: 10px;
  padding: 2.5rem;
  margin: 3rem 0;
  text-align: center;
}

.article-cta h3 {
  font-family: var(--font-display);
  font-size: 1.3rem;
  font-weight: 700;
  color: var(--white);
  margin-bottom: 0.75rem;
}

.article-cta p {
  color: var(--text-dim);
  font-size: 0.85rem;
  margin-bottom: 1.5rem;
}

/* ── Related posts ── */
.article-related {
  border-top: 1px solid var(--border);
  max-width: 800px;
  margin: 0 auto;
  padding: 3rem 2.5rem 5rem;
}

.related-label {
  font-size: 0.68rem;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--text-muted);
  margin-bottom: 1.5rem;
}

.related-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1.5px;
  background: var(--border);
  border: 1px solid var(--border);
}

.related-card {
  background: var(--bg);
  padding: 1.5rem;
  text-decoration: none;
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
  transition: background 0.2s;
}
.related-card:hover { background: var(--bg-3); }

.related-card-tag {
  font-size: 0.62rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--accent);
}

.related-card-title {
  font-family: var(--font-display);
  font-size: 0.92rem;
  font-weight: 700;
  color: var(--white);
  line-height: 1.35;
}

@media (max-width: 600px) {
  .article-hero, .article-body, .article-related { padding-left: 1.5rem; padding-right: 1.5rem; }
  .related-grid { grid-template-columns: 1fr; }
}
