/* Long-form article components (used by /insights/ posts).
   Base article styles (.article-hero, .article-body, .article-title…) live in styles.css. */

.article-hero-inner { max-width: 800px; }
.article-meta-sep { opacity: 0.5; }

/* The long-form template places .article-body directly after the hero */
.article-hero ~ .article-body {
  max-width: 760px;
  margin: 56px auto 80px;
}

.article-divider {
  height: 1px;
  background: var(--border);
  margin: 2.5em 0;
}

/* Callout */
.article-callout {
  background: var(--gray-50);
  border: 1px solid var(--border-light);
  border-left: 4px solid var(--orange);
  border-radius: var(--radius-md);
  padding: 22px 24px;
  margin: 2em 0;
}
.article-callout-label {
  display: block;
  font-family: var(--font-heading);
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--orange);
  margin-bottom: 8px;
}
.article-body .article-callout p { margin-bottom: 0.75em; }
.article-body .article-callout p:last-child { margin-bottom: 0; }

/* Stat row */
.article-stat-box {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(140px, 1fr));
  gap: 12px;
  margin: 2em 0;
}
.article-stat {
  background: var(--cream);
  border: 1px solid var(--border-light);
  border-radius: var(--radius-md);
  padding: 20px 16px;
  text-align: center;
}
.article-stat-number {
  font-family: var(--font-heading);
  font-size: 1.75rem;
  font-weight: 800;
  line-height: 1.1;
  letter-spacing: -0.02em;
  color: var(--teal);
  margin-bottom: 6px;
}
.article-stat-label {
  font-size: 0.8125rem;
  line-height: 1.45;
  color: var(--text-secondary);
}

/* Footer: author + next/previous */
.article-footer {
  margin-top: 3em;
  padding-top: 2em;
  border-top: 1px solid var(--border);
}
.article-author-card {
  display: flex;
  align-items: center;
  gap: 16px;
}
.article-author-avatar {
  flex: 0 0 auto;
  width: 52px;
  height: 52px;
  border-radius: 50%;
  background: var(--teal);
  color: var(--white);
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: var(--font-heading);
  font-weight: 700;
  font-size: 1rem;
}
.article-author-name {
  font-family: var(--font-heading);
  font-weight: 700;
  color: var(--text-primary);
}
.article-author-role {
  font-size: 0.875rem;
  line-height: 1.5;
  color: var(--text-muted);
}
.article-nav {
  display: flex;
  justify-content: space-between;
  gap: 24px;
  margin-top: 2em;
}
.article-body .article-nav a {
  display: block;
  max-width: 48%;
  color: var(--text-primary);
  font-weight: 600;
}
.article-nav-label {
  display: block;
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--orange);
  margin-bottom: 6px;
}
.article-nav-title {
  display: block;
  font-family: var(--font-heading);
  font-size: 1rem;
  line-height: 1.35;
}
.article-body .article-nav a:hover .article-nav-title { color: var(--orange); }

@media (max-width: 720px) {
  .article-hero ~ .article-body {
    margin: 32px 16px 56px;
    padding: 32px 20px;
  }
  .article-stat-box { grid-template-columns: 1fr 1fr; }
  .article-nav { flex-direction: column; }
  .article-body .article-nav a { max-width: 100%; text-align: left !important; margin-left: 0 !important; }
}
