/* ============================================
   AIvance Pulse — Article Shared Styles
   Include alongside shared.css on all article pages
   ============================================ */

.article-wrap {
  max-width: 1100px;
  margin: 0 auto;
  padding: 3rem 2.5rem;
  display: grid;
  grid-template-columns: 1fr 300px;
  gap: 5rem;
  align-items: start;
}

/* BREADCRUMB */
.breadcrumb {
  font-size: 0.75rem;
  color: var(--light-muted);
  margin-bottom: 2rem;
  display: flex;
  align-items: center;
  gap: 0.5rem;
}
.breadcrumb a { color: var(--light-muted); text-decoration: none; }
.breadcrumb a:hover { color: var(--accent); }
.breadcrumb-sep { opacity: 0.4; }

/* META */
.art-cat {
  font-size: 0.62rem;
  font-weight: 600;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: var(--accent);
  margin-bottom: 0.85rem;
}

/* HEADLINE */
.art-h1 {
  font-family: 'Playfair Display', serif;
  font-size: clamp(2.2rem, 4vw, 3rem);
  font-weight: 900;
  color: var(--ink);
  line-height: 1.1;
  letter-spacing: -0.02em;
  margin-bottom: 1.1rem;
}
.art-h1 em { font-style: italic; color: var(--accent); }

/* DECK */
.art-deck {
  font-size: 1.05rem;
  color: var(--body);
  line-height: 1.7;
  margin-bottom: 2rem;
  padding-bottom: 2rem;
  border-bottom: 1px solid var(--border-soft);
  font-weight: 300;
}

/* AUTHOR */
.author-row {
  display: flex;
  align-items: center;
  gap: 0.85rem;
  margin-bottom: 2.5rem;
  padding-bottom: 2rem;
  border-bottom: 1px solid var(--border-soft);
}
.author-av {
  width: 40px; height: 40px;
  background: var(--ink);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: white;
  font-size: 0.82rem;
  font-weight: 700;
  flex-shrink: 0;
}
.author-name { font-size: 0.82rem; font-weight: 600; color: var(--ink); }
.author-sub { font-size: 0.72rem; color: var(--light-muted); }

/* BODY */
.art-body h2 {
  font-family: 'Playfair Display', serif;
  font-size: 1.6rem;
  font-weight: 700;
  color: var(--ink);
  margin: 2.75rem 0 0.85rem;
  line-height: 1.2;
  letter-spacing: -0.01em;
}
.art-body h3 {
  font-size: 1.05rem;
  font-weight: 600;
  color: var(--ink);
  margin: 2rem 0 0.6rem;
}
.art-body p {
  font-size: 1rem;
  color: var(--body);
  margin-bottom: 1.25rem;
  line-height: 1.8;
  font-weight: 300;
}
.art-body strong { font-weight: 600; color: var(--ink-soft); }

/* PULL QUOTE */
.pullquote {
  border-left: 3px solid var(--accent);
  padding: 1rem 1.5rem;
  margin: 2.5rem 0;
  background: var(--accent-light);
  border-radius: 0 8px 8px 0;
}
.pullquote p {
  font-family: 'Playfair Display', serif;
  font-size: 1.15rem;
  font-style: italic;
  color: var(--accent) !important;
  margin: 0 !important;
  line-height: 1.55;
  font-weight: 400;
}

/* STAT BOX */
.stat-box {
  background: var(--ink);
  border-radius: 14px;
  padding: 2rem;
  margin: 2.5rem 0;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.5rem;
}
.stat-item { text-align: center; }
.stat-num {
  font-family: 'Playfair Display', serif;
  font-size: 2.4rem;
  font-weight: 700;
  color: #c8a96e;
  line-height: 1;
  margin-bottom: 6px;
  letter-spacing: -0.02em;
}
.stat-label {
  font-size: 0.68rem;
  color: #6b6860;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  line-height: 1.4;
}

/* CALLOUT */
.callout {
  background: var(--accent-light);
  border: 1px solid var(--accent-mid);
  border-radius: 10px;
  padding: 1.25rem 1.5rem;
  margin: 2rem 0;
}
.callout-label {
  font-size: 0.6rem;
  font-weight: 600;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: var(--accent);
  margin-bottom: 0.5rem;
}
.callout p { font-size: 0.92rem; color: var(--body); line-height: 1.7; margin: 0 !important; font-weight: 400 !important; }

/* WARNING */
.warning {
  background: #fef8f0;
  border: 1px solid #e8c99a;
  border-radius: 10px;
  padding: 1.25rem 1.5rem;
  margin: 2rem 0;
}
.warning-label {
  font-size: 0.6rem;
  font-weight: 600;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: #8a5a1a;
  margin-bottom: 0.5rem;
}
.warning p { font-size: 0.92rem; color: var(--body); line-height: 1.7; margin: 0 !important; font-weight: 400 !important; }

/* GREEN CALLOUT */
.callout-green {
  background: var(--green-light);
  border: 1px solid #a8d4bc;
  border-radius: 10px;
  padding: 1.25rem 1.5rem;
  margin: 2rem 0;
}
.callout-green .callout-label { color: var(--green); }
.callout-green p { font-size: 0.92rem; color: var(--body); line-height: 1.7; margin: 0 !important; font-weight: 400 !important; }

/* UL */
.art-body ul {
  margin: 1rem 0 1.5rem;
  padding: 0;
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 0.6rem;
}
.art-body ul li {
  font-size: 0.97rem;
  color: var(--body);
  padding-left: 1.4rem;
  position: relative;
  line-height: 1.65;
  font-weight: 300;
}
.art-body ul li::before {
  content: '—';
  position: absolute;
  left: 0;
  color: var(--accent);
  font-size: 0.82rem;
}

/* SEQUENCE / STEP VISUAL */
.sequence {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: 12px;
  padding: 1.75rem;
  margin: 2.5rem 0;
}
.seq-title {
  font-size: 0.62rem;
  font-weight: 600;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: var(--light-muted);
  margin-bottom: 1.5rem;
}
.seq-step {
  display: flex;
  align-items: flex-start;
  gap: 1.1rem;
  padding: 1rem 0;
  border-bottom: 1px solid var(--border-soft);
}
.seq-step:last-child { border-bottom: none; padding-bottom: 0; }
.seq-day {
  font-size: 0.7rem;
  font-weight: 600;
  color: var(--accent);
  background: var(--accent-light);
  border: 1px solid var(--accent-mid);
  padding: 2px 10px;
  border-radius: 100px;
  white-space: nowrap;
  flex-shrink: 0;
  margin-top: 2px;
  letter-spacing: 0.03em;
}
.seq-content { font-size: 0.9rem; color: var(--body); line-height: 1.6; font-weight: 300; }
.seq-content strong { color: var(--ink-soft); font-weight: 600; }

/* COMPARISON TABLE */
.compare-table {
  width: 100%;
  border-collapse: collapse;
  border: 1px solid var(--border);
  border-radius: 10px;
  overflow: hidden;
  margin: 2rem 0;
  font-size: 0.88rem;
}
.compare-table th {
  background: var(--ink);
  color: white;
  padding: 0.85rem 1.25rem;
  text-align: left;
  font-size: 0.68rem;
  font-weight: 600;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}
.compare-table th.highlight-col { color: #c8a96e; }
.compare-table td {
  padding: 0.85rem 1.25rem;
  border-bottom: 1px solid var(--border-soft);
  color: var(--body);
  vertical-align: middle;
  font-weight: 300;
}
.compare-table tr:last-child td { border-bottom: none; }
.compare-table tr:hover td { background: var(--bg); }
.compare-table td.row-label { font-weight: 500; color: var(--ink-soft); }
.compare-table td.highlight-col { color: var(--green); font-weight: 500; }
.check { color: var(--green); font-weight: 600; }
.cross { color: #c8a99e; }

/* NUMBERED STEPS */
.steps { list-style: none; padding: 0; margin: 1.5rem 0 2rem; display: flex; flex-direction: column; gap: 1.5rem; }
.step-item { display: flex; gap: 1.25rem; align-items: flex-start; }
.step-n {
  width: 34px; height: 34px;
  background: var(--ink);
  color: white;
  border-radius: 50%;
  font-size: 0.82rem;
  font-weight: 600;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  margin-top: 2px;
}
.step-title { font-size: 0.97rem; font-weight: 600; color: var(--ink); margin-bottom: 0.35rem; }
.step-desc { font-size: 0.9rem; color: var(--body); line-height: 1.65; font-weight: 300; }

/* ARTICLE CTA */
.art-cta {
  background: var(--ink);
  border-radius: 16px;
  padding: 2.5rem 2rem;
  margin-top: 4rem;
  text-align: center;
}
.art-cta h3 {
  font-family: 'Playfair Display', serif;
  font-size: 1.6rem;
  font-weight: 700;
  color: white;
  margin-bottom: 0.6rem;
}
.art-cta p { font-size: 0.9rem; color: #6b6860; margin-bottom: 1.5rem !important; line-height: 1.65; font-weight: 300 !important; }
.art-cta-btn {
  display: inline-block;
  background: white;
  color: var(--ink);
  font-size: 0.9rem;
  font-weight: 500;
  padding: 0.85rem 2.25rem;
  border-radius: 100px;
  text-decoration: none;
  transition: opacity 0.15s;
  letter-spacing: 0.01em;
}
.art-cta-btn:hover { opacity: 0.9; }
.art-cta-fine { font-size: 0.7rem; color: #4a4845; margin-top: 0.75rem; }

/* RELATED */
.related {
  margin-top: 3.5rem;
  padding-top: 2.5rem;
  border-top: 1px solid var(--border-soft);
}
.related-label {
  font-size: 0.62rem;
  font-weight: 600;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: var(--light-muted);
  margin-bottom: 1rem;
}
.related-link {
  display: flex;
  align-items: center;
  gap: 0.6rem;
  padding: 0.65rem 0;
  border-bottom: 1px solid var(--border-soft);
  font-size: 0.9rem;
  color: var(--body);
  text-decoration: none;
  transition: color 0.15s;
}
.related-link:last-child { border-bottom: none; }
.related-link:hover { color: var(--ink); }
.related-link::before { content: '→'; color: var(--accent); font-size: 0.8rem; flex-shrink: 0; }

/* SIDEBAR */
.art-sidebar {}
.art-sticky { position: sticky; top: 80px; display: flex; flex-direction: column; gap: 1.25rem; }
.sb-card {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: 12px;
  padding: 1.5rem;
}
.sb-title {
  font-size: 0.62rem;
  font-weight: 600;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: var(--light-muted);
  margin-bottom: 1rem;
  padding-bottom: 0.75rem;
  border-bottom: 1px solid var(--border-soft);
}
.toc-link {
  display: block;
  font-size: 0.8rem;
  color: var(--muted);
  text-decoration: none;
  padding: 0.4rem 0;
  border-bottom: 1px solid var(--border-soft);
  transition: color 0.15s;
  line-height: 1.4;
}
.toc-link:last-child { border-bottom: none; padding-bottom: 0; }
.toc-link:hover { color: var(--ink); }
.sb-cta {
  background: var(--ink);
  border: none;
  border-radius: 12px;
  padding: 1.5rem;
  text-align: center;
}
.sb-cta-title { font-family: 'Playfair Display', serif; font-size: 1rem; font-weight: 700; color: white; margin-bottom: 0.4rem; }
.sb-cta-desc { font-size: 0.75rem; color: #6b6860; line-height: 1.55; margin-bottom: 1rem; font-weight: 300; }
.sb-cta-btn {
  display: block;
  background: white;
  color: var(--ink);
  font-size: 0.8rem;
  font-weight: 500;
  padding: 0.65rem;
  border-radius: 100px;
  text-decoration: none;
  transition: opacity 0.15s;
}
.sb-cta-btn:hover { opacity: 0.9; }
.sb-stat {
  display: flex;
  justify-content: space-between;
  align-items: baseline;
  padding: 0.55rem 0;
  border-bottom: 1px solid var(--border-soft);
  font-size: 0.82rem;
}
.sb-stat:last-child { border-bottom: none; padding-bottom: 0; }
.sb-stat-label { color: var(--muted); font-weight: 300; }
.sb-stat-val { font-weight: 600; color: var(--ink); }

@media (max-width: 960px) {
  .article-wrap { grid-template-columns: 1fr; padding: 2rem 1.5rem; }
  .art-sidebar { display: none; }
  .stat-box { grid-template-columns: 1fr; }
  .compare-table { font-size: 0.78rem; }
}
