.article-page { min-height: 80vh; }

/* ── Hero ── */
.article-hero {
  background: var(--bg-surface);
  border-bottom: 1px solid var(--border);
  padding: var(--sp-10) 0 var(--sp-8);
  position: relative;
}
.breadcrumb {
  display: flex; align-items: center; gap: var(--sp-2);
  font-size: var(--text-xs); color: var(--text-muted);
  margin-bottom: var(--sp-6);
}
.breadcrumb a { color: var(--text-muted); }
.breadcrumb a:hover { color: var(--text-secondary); text-decoration: none; }
.article-chips { display: flex; gap: var(--sp-2); margin-bottom: var(--sp-4); }
.article-title {
  font-size: clamp(var(--text-2xl), 4vw, var(--text-4xl));
  font-weight: var(--fw-extrabold);
  letter-spacing: -0.02em;
  line-height: 1.15;
  max-width: var(--article-w);
  margin-bottom: var(--sp-4);
}
.article-excerpt {
  font-size: var(--text-lg);
  color: var(--text-secondary);
  max-width: var(--article-w);
  line-height: 1.6;
  margin-bottom: var(--sp-6);
}
.article-meta {
  display: flex; gap: var(--sp-3); align-items: center;
  font-size: var(--text-sm); color: var(--text-muted);
}
.meta-dot { color: var(--border-strong); }

/* ── Progress bar ── */
.reading-progress {
  position: absolute; bottom: 0; left: 0;
  height: 2px; width: 0%;
  background: var(--gray-900);
  transition: width 0.1s linear;
}

/* ── Layout ── */
.article-layout { padding: var(--sp-12) 0; }

.article-with-sidebar {
  display: grid;
  grid-template-columns: 220px 1fr;
  gap: var(--sp-12);
  align-items: start;
}
@media (max-width: 900px) {
  .article-with-sidebar {
    grid-template-columns: 1fr;
  }
  .article-sidebar { order: -1; }
}

/* ── Sidebar ── */
.article-sidebar {
  position: sticky;
  top: calc(60px + var(--sp-6));
}
.sidebar-title {
  font-size: var(--text-xs);
  font-weight: var(--fw-semibold);
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--text-muted);
  margin-bottom: var(--sp-4);
}
.sidebar-cat-list {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: var(--sp-2);
}
.sidebar-cat-link {
  display: block;
  border-radius: var(--r-md);
  padding: var(--sp-1);
  transition: opacity var(--transition);
}
.sidebar-cat-link:hover { opacity: 0.75; text-decoration: none; }
.sidebar-cat-link.is-active .chip {
  outline: 2px solid currentColor;
  outline-offset: 2px;
}

/* ── Body del artículo ── */
.article-main { min-width: 0; }

.article-body {
  max-width: var(--article-w);
  contain: style;
  padding: 0 var(--sp-4);
  font-size: var(--text-base);
  line-height: 1.8;
  color: var(--text-primary);
}

/* ── CTA partner ── */
.article-cta {
  max-width: var(--article-w);
  margin: var(--sp-12) 0 0;
  padding: var(--sp-8);
  background: var(--bg-surface);
  border: 1px solid var(--border);
  border-radius: var(--r-lg);
  display: flex; align-items: center;
  justify-content: space-between; gap: var(--sp-6);
  flex-wrap: wrap;
}
.article-cta p {
  font-size: var(--text-base);
  font-weight: var(--fw-semibold);
  color: var(--text-primary);
}

/* ── Relacionados ── */
.article-related {
  margin-top: var(--sp-16);
  padding-top: var(--sp-10);
  border-top: 1px solid var(--border);
}
.article-related h3 {
  font-size: var(--text-xl);
  font-weight: var(--fw-bold);
  margin-bottom: var(--sp-6);
}
