/* Article page styles — extends style.css */

.article-hero {
  padding: 6rem 0 2rem;
  background: linear-gradient(180deg, var(--purple-bg) 0%, var(--white) 100%);
}

.article-tag {
  display: inline-block;
  font-size: 0.75rem;
  font-weight: 700;
  padding: 0.25rem 0.75rem;
  border-radius: 4px;
  text-transform: uppercase;
  letter-spacing: 0.04em;
  margin-bottom: 1rem;
}

.article-tag.beginner { background: #d1fae5; color: #065f46; }
.article-tag.strategy { background: #dbeafe; color: #1e40af; }
.article-tag.advanced { background: #fce7f3; color: #9d174d; }
.article-tag.comparison { background: #fef3c7; color: #92400e; }

.article-hero h1 {
  font-size: clamp(1.75rem, 4vw, 2.5rem);
  margin-bottom: 1rem;
  max-width: 800px;
}

.article-meta {
  display: flex;
  gap: 1.5rem;
  color: var(--text-muted);
  font-size: 0.88rem;
  margin-bottom: 1rem;
}

.article-body {
  padding: 2rem 0 4rem;
  max-width: 760px;
  margin: 0 auto;
}

.article-body h2 {
  margin-top: 2.5rem;
  margin-bottom: 0.75rem;
  padding-bottom: 0.5rem;
  border-bottom: 2px solid var(--purple-bg);
}

.article-body h3 {
  margin-top: 1.75rem;
  margin-bottom: 0.5rem;
  font-size: 1.15rem;
}

.article-body p {
  color: var(--text-secondary);
  font-size: 0.95rem;
  line-height: 1.75;
  margin-bottom: 1rem;
}

.article-body ul, .article-body ol {
  color: var(--text-secondary);
  font-size: 0.95rem;
  line-height: 1.75;
  margin-bottom: 1rem;
  padding-left: 1.5rem;
}

.article-body li { margin-bottom: 0.35rem; }

.article-body strong { color: var(--text); }

.callout {
  background: var(--purple-bg);
  border-left: 4px solid var(--purple);
  padding: 1.25rem 1.5rem;
  border-radius: 0 8px 8px 0;
  margin: 1.5rem 0;
}

.callout p { margin-bottom: 0; }

.callout.green {
  background: var(--green-bg);
  border-left-color: var(--green);
}

.callout.amber {
  background: #fffbeb;
  border-left-color: var(--amber);
}

.deal-box {
  background: white;
  border: 2px solid var(--purple);
  border-radius: var(--radius-lg);
  padding: 1.5rem;
  margin: 1.5rem 0;
  text-align: center;
}

.deal-box h3 { margin-top: 0; }

.deal-box .deal-amount {
  font-family: var(--font-display);
  font-size: 2rem;
  font-weight: 800;
  color: var(--purple);
  display: block;
  margin: 0.5rem 0;
}

.comparison-table {
  width: 100%;
  border-collapse: collapse;
  margin: 1.5rem 0;
  font-size: 0.88rem;
}

.comparison-table th {
  background: var(--purple-bg);
  padding: 0.75rem;
  text-align: left;
  font-weight: 700;
  font-size: 0.82rem;
  text-transform: uppercase;
  letter-spacing: 0.03em;
}

.comparison-table td {
  padding: 0.75rem;
  border-bottom: 1px solid var(--border);
  color: var(--text-secondary);
}

.comparison-table tr:hover td {
  background: var(--bg-off);
}

.article-cta {
  background: var(--gradient-main);
  color: white;
  border-radius: var(--radius-lg);
  padding: 2rem;
  text-align: center;
  margin: 2.5rem 0;
}

.article-cta h3 {
  color: white;
  margin-top: 0;
  font-size: 1.4rem;
}

.article-cta p {
  color: rgba(255,255,255,0.9);
  margin-bottom: 1rem;
}

.article-cta .btn {
  background: white;
  color: var(--purple);
}

.article-cta .btn:hover {
  background: var(--bg-off);
}

.breadcrumb {
  font-size: 0.82rem;
  color: var(--text-dim);
  margin-bottom: 1rem;
}

.breadcrumb a { color: var(--text-muted); }

.related-guides {
  padding: 3rem 0;
  background: var(--bg-off);
  border-top: 1px solid var(--border);
}

.related-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
  gap: 1rem;
  margin-top: 1.5rem;
}
