/* article.css — shared styles for guide pages */

.article-main {
  padding: 60px 0 96px;
  background: var(--off-white);
  min-height: 80vh;
}

.article-container {
  max-width: 800px;
  margin: 0 auto;
  padding: 0 24px;
}

.breadcrumb {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 0.8rem;
  color: var(--gray-500);
  margin-bottom: 32px;
}
.breadcrumb a { color: var(--ink-blue); }
.breadcrumb a:hover { text-decoration: underline; }

.article-header {
  margin-bottom: 44px;
  padding-bottom: 32px;
  border-bottom: 2px solid var(--gray-100);
}

.article-eyebrow {
  font-size: 0.7rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--ink-blue);
  margin-bottom: 12px;
}

.article-header h1 {
  font-family: var(--font-display);
  font-size: clamp(1.8rem, 4vw, 2.8rem);
  font-weight: 900;
  color: var(--navy);
  line-height: 1.15;
  margin-bottom: 16px;
}

.article-lead {
  font-size: 1.05rem;
  color: var(--gray-700);
  line-height: 1.7;
  max-width: 640px;
}

.article-section {
  margin-bottom: 48px;
}

.article-section h2 {
  font-family: var(--font-display);
  font-size: 1.5rem;
  font-weight: 700;
  color: var(--navy);
  margin-bottom: 16px;
  padding-top: 8px;
}

.article-section h3 {
  font-size: 1.05rem;
  font-weight: 700;
  color: var(--navy);
  margin: 24px 0 10px;
}

.article-section p {
  font-size: 0.95rem;
  color: var(--gray-700);
  line-height: 1.75;
  margin-bottom: 16px;
}

.article-list {
  padding-left: 0;
  display: flex;
  flex-direction: column;
  gap: 12px;
}
.article-list li {
  font-size: 0.9rem;
  color: var(--gray-700);
  line-height: 1.65;
  padding: 12px 16px 12px 44px;
  background: var(--white);
  border-radius: var(--radius-sm);
  border: 1px solid var(--gray-100);
  position: relative;
}
.article-list li::before {
  content: '✓';
  position: absolute;
  left: 16px;
  color: var(--ink-blue);
  font-weight: 700;
}
.article-list li strong { color: var(--navy); }

.callout {
  border-radius: var(--radius-md);
  padding: 16px 20px;
  margin: 24px 0;
  font-size: 0.9rem;
  line-height: 1.65;
}
.callout-info {
  background: rgba(29,111,164,0.08);
  border-left: 3px solid var(--ink-blue);
  color: var(--gray-700);
}
.callout-warn {
  background: rgba(240,165,0,0.1);
  border-left: 3px solid var(--amber);
  color: var(--gray-700);
}
.callout strong { color: var(--navy); }

/* Comparison table */
.comparison-table {
  border: 1px solid var(--gray-100);
  border-radius: var(--radius-md);
  overflow: hidden;
  font-size: 0.875rem;
}
.ct-header, .ct-row {
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 16px;
  padding: 12px 16px;
  align-items: center;
}
.ct-header {
  background: var(--navy);
  color: var(--white);
  font-weight: 700;
  font-size: 0.8rem;
  text-transform: uppercase;
  letter-spacing: 0.06em;
}
.ct-row { background: var(--white); border-bottom: 1px solid var(--gray-100); }
.ct-row:nth-child(even) { background: var(--off-white); }
.ct-row span:first-child { color: var(--gray-700); }

.tag-oem, .tag-muadil, .tag-maybe {
  font-size: 0.75rem;
  font-weight: 700;
  padding: 3px 10px;
  border-radius: 999px;
  white-space: nowrap;
}
.tag-oem { background: rgba(13,27,42,0.08); color: var(--navy); }
.tag-muadil { background: rgba(13,158,110,0.12); color: #0D6E4A; }
.tag-maybe { background: rgba(240,165,0,0.15); color: #8B6500; }

/* CTA box */
.article-cta {
  background: var(--navy);
  border-radius: var(--radius-lg);
  padding: 36px;
  margin: 48px 0;
  text-align: center;
}
.article-cta h3 {
  font-family: var(--font-display);
  font-size: 1.4rem;
  font-weight: 700;
  color: var(--white);
  margin-bottom: 10px;
}
.article-cta p {
  font-size: 0.9rem;
  color: var(--gray-300);
  margin-bottom: 24px;
}

/* Article nav */
.article-nav {
  display: flex;
  justify-content: space-between;
  padding-top: 32px;
  border-top: 1px solid var(--gray-100);
  font-size: 0.875rem;
  font-weight: 600;
  flex-wrap: wrap;
  gap: 12px;
}
.article-nav a { color: var(--ink-blue); }
.article-nav a:hover { text-decoration: underline; }

/* Steps list */
.steps-list {
  display: flex;
  flex-direction: column;
  gap: 0;
  counter-reset: steps;
}
.step {
  display: grid;
  grid-template-columns: 48px 1fr;
  gap: 16px;
  padding: 20px 0;
  border-bottom: 1px solid var(--gray-100);
  counter-increment: steps;
}
.step:last-child { border-bottom: none; }
.step-num {
  width: 40px;
  height: 40px;
  background: var(--navy);
  color: var(--white);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 1rem;
  flex-shrink: 0;
}
.step-body h4 {
  font-size: 0.95rem;
  font-weight: 700;
  color: var(--navy);
  margin-bottom: 6px;
}
.step-body p {
  font-size: 0.875rem;
  color: var(--gray-700);
  line-height: 1.65;
  margin-bottom: 0;
}

@media (max-width: 640px) {
  .ct-header, .ct-row { grid-template-columns: 1fr; }
  .ct-header span:last-child, .ct-row span:last-child { display: none; }
  .article-cta { padding: 24px 20px; }
}
