/* ── Back link / outline button ── */
.btn-outline-sm {
  font-size: 13px;
  font-weight: 600;
  color: var(--muted);
  padding: 8px 14px;
  border: 1px solid var(--border);
  border-radius: 8px;
  background: transparent;
  transition: all 0.15s;
  white-space: nowrap;
}
.btn-outline-sm:hover { color: var(--text); border-color: rgba(13,31,60,0.2); background: rgba(13,31,60,0.03); }

/* ── Article Hero ── */
.article-main { padding-top: 68px; }

.article-hero {
  padding: 64px 0 52px;
  background: var(--bg);
  border-bottom: 1px solid var(--border);
}

.article-hero-inner {
  max-width: 780px;
}

.back-link {
  display: inline-block;
  font-size: 13px;
  font-weight: 600;
  color: var(--muted);
  margin-bottom: 20px;
  transition: color 0.15s;
}
.back-link:hover { color: var(--teal); }

.art-title {
  font-size: clamp(1.8rem, 3.5vw, 2.8rem);
  font-weight: 800;
  color: var(--text);
  line-height: 1.15;
  letter-spacing: -0.025em;
  margin: 14px 0 20px;
}

.art-lead {
  font-size: 1.1rem;
  color: var(--muted);
  line-height: 1.8;
  margin-bottom: 28px;
  max-width: 680px;
}

.art-byline {
  display: flex;
  align-items: center;
  gap: 20px;
  flex-wrap: wrap;
}

.art-read-badge {
  font-size: 12px;
  font-weight: 600;
  color: var(--faint);
  background: rgba(13,31,60,0.06);
  padding: 5px 12px;
  border-radius: 20px;
}

/* ── Article Layout ── */
.article-layout {
  display: grid;
  grid-template-columns: 1fr 300px;
  gap: 48px;
  padding: 52px 0 64px;
  align-items: start;
}

/* ── Article Content ── */
.article-content {
  min-width: 0;
  font-size: 1.05rem;
  line-height: 1.85;
  color: rgba(13,31,60,0.82);
}

.article-content h2 {
  font-size: 1.5rem;
  font-weight: 700;
  color: var(--text);
  margin: 2.5rem 0 1rem;
  letter-spacing: -0.02em;
  line-height: 1.25;
}

.article-content h3 {
  font-size: 1.15rem;
  font-weight: 700;
  color: var(--text);
  margin: 2rem 0 0.75rem;
  letter-spacing: -0.01em;
}

.article-content p {
  margin-bottom: 1.4rem;
}

.article-content ul, .article-content ol {
  margin: 0 0 1.4rem 1.25rem;
  display: flex;
  flex-direction: column;
  gap: 0.6rem;
}

.article-content li { line-height: 1.7; }

.article-content strong { color: var(--text); font-weight: 700; }

.article-content blockquote {
  border-left: 3px solid var(--teal);
  background: var(--teal-dim);
  padding: 18px 22px;
  border-radius: 0 10px 10px 0;
  margin: 1.5rem 0;
  font-style: italic;
  color: rgba(13,31,60,0.75);
}

.article-content .callout {
  background: rgba(0,184,169,0.07);
  border: 1px solid rgba(0,184,169,0.18);
  border-radius: 12px;
  padding: 20px 24px;
  margin: 1.5rem 0;
  font-style: normal;
  color: rgba(13,31,60,0.8);
}
.article-content .callout strong { color: var(--teal); }

.article-content .stat-highlight {
  display: flex;
  align-items: center;
  gap: 20px;
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: 14px;
  padding: 24px 28px;
  margin: 1.75rem 0;
  box-shadow: var(--shadow-sm);
}
.stat-highlight .stat-big {
  font-size: 2.4rem;
  font-weight: 800;
  color: var(--teal);
  line-height: 1;
  letter-spacing: -0.03em;
  flex-shrink: 0;
}
.stat-highlight .stat-desc {
  font-size: 0.92rem;
  color: var(--muted);
  line-height: 1.6;
}

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

/* ── Sidebar ── */
.article-sidebar {
  position: sticky;
  top: 88px;
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.sidebar-card {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: 14px;
  padding: 22px;
  box-shadow: var(--shadow-sm);
}

.sidebar-card-title {
  font-size: 14px;
  font-weight: 700;
  color: var(--text);
  margin-bottom: 8px;
  letter-spacing: -0.01em;
}

.sidebar-card-sub {
  font-size: 13px;
  color: var(--muted);
  line-height: 1.6;
}

.related-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
  margin-top: 12px;
}

.rel-tag {
  font-size: 11px;
  font-weight: 600;
  padding: 5px 12px;
  border-radius: 20px;
  background: rgba(13,31,60,0.06);
  color: var(--muted);
  cursor: pointer;
  transition: all 0.15s;
  text-decoration: none;
}
.rel-tag:hover { background: var(--teal-dim); color: var(--teal); }

/* ── Related Articles ── */
.related-section {
  border-top: 1px solid var(--border);
  padding: 48px 0 80px;
}

.related-heading {
  font-size: 1.25rem;
  font-weight: 700;
  color: var(--text);
  letter-spacing: -0.02em;
  margin-bottom: 24px;
}

.related-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 16px;
}

/* ── Responsive ── */
@media (max-width: 1024px) {
  .article-layout { grid-template-columns: 1fr; }
  .article-sidebar { position: static; }
  .related-grid { grid-template-columns: repeat(2, 1fr); }
}

@media (max-width: 640px) {
  .art-title { font-size: 1.6rem; }
  .article-content { font-size: 1rem; }
  .related-grid { grid-template-columns: 1fr; }
  .article-hero { padding: 48px 0 36px; }
}
