/* ── Blog Post Shared Styles ── */

.blog-article {
  max-width: 700px;
  margin: 0 auto;
  padding: 100px 24px 80px;
}

/* ── Hero ── */
.article-hero {
  text-align: center;
  padding-bottom: 48px;
  border-bottom: 1px solid var(--border);
  margin-bottom: 48px;
}

.article-eyebrow {
  color: var(--accent);
  font-size: 13px;
  font-weight: 600;
  letter-spacing: .08em;
  text-transform: uppercase;
  margin-bottom: 16px;
}

.article-title {
  font-size: 40px;
  font-weight: 800;
  line-height: 1.2;
  margin-bottom: 16px;
}

@media (min-width: 900px) {
  .article-title {
    font-size: 52px;
  }
}

.article-subtitle {
  font-size: 20px;
  color: var(--muted);
  line-height: 1.5;
  max-width: 600px;
  margin: 0 auto 16px;
}

.article-meta {
  font-size: 13px;
  color: var(--muted);
}

/* ── Body ── */
.article-body {
  font-size: 17px;
  line-height: 1.8;
  color: #e8e8e8;
}

.article-body p {
  margin-bottom: 22px;
}

.article-body h2 {
  font-size: 30px;
  font-weight: 800;
  color: var(--text);
  margin-top: 72px;
  margin-bottom: 18px;
  line-height: 1.3;
}

@media (min-width: 900px) {
  .article-body h2 {
    font-size: 34px;
  }
}

.article-body h3 {
  font-size: 22px;
  font-weight: 700;
  margin-top: 32px;
  margin-bottom: 12px;
}

.article-body ul,
.article-body ol {
  margin-bottom: 24px;
  padding-left: 24px;
}

.article-body li {
  margin-bottom: 10px;
}

.article-body a {
  color: var(--accent);
  text-decoration: underline;
  text-underline-offset: 3px;
}

/* ── TL;DR / Definition boxes ── */
.article-tldr {
  background: var(--bg-card);
  border-left: 4px solid var(--accent);
  border-radius: 8px;
  padding: 20px 24px;
  margin-bottom: 32px;
}

.article-tldr strong {
  display: block;
  color: var(--accent);
  font-size: 14px;
  letter-spacing: .05em;
  text-transform: uppercase;
  margin-bottom: 8px;
}

.definition-box {
  background: var(--bg-card);
  border-left: 4px solid var(--green);
  border-radius: 8px;
  padding: 20px 24px;
  margin-bottom: 32px;
}

.definition-box strong {
  display: block;
  color: var(--green);
  font-size: 14px;
  letter-spacing: .05em;
  text-transform: uppercase;
  margin-bottom: 8px;
}

/* ── Comparison table ── */
.comparison-table {
  width: 100%;
  border-collapse: collapse;
  margin: 24px 0;
  font-size: 15px;
}

.comparison-table th {
  background: var(--bg-card);
  padding: 12px 16px;
  text-align: left;
  font-weight: 700;
  border: 1px solid var(--border);
}

.comparison-table td {
  padding: 12px 16px;
  border: 1px solid var(--border);
  color: var(--muted);
}

.comparison-table td:first-child {
  color: var(--text);
  font-weight: 600;
}

/* ── CTA block ── */
.cta-block {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: 12px;
  padding: 40px 32px;
  text-align: center;
  margin: 56px 0;
}

.cta-block h3 {
  font-size: 24px;
  margin-bottom: 12px;
  color: var(--text);
  margin-top: 0;
}

.cta-block p {
  color: var(--muted);
  margin-bottom: 24px;
}

.cta-button {
  display: inline-block;
  background: var(--accent);
  color: #fff;
  padding: 14px 32px;
  border-radius: 999px;
  text-decoration: none;
  font-weight: 700;
  font-size: 16px;
  transition: transform .18s, box-shadow .18s;
}

.cta-button:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 24px rgba(255, 45, 85, .35);
}

/* ── FAQ ── */
.faq {
  margin-top: 56px;
}

.faq h2 {
  margin-bottom: 8px;
}

.faq-item {
  border-top: 1px solid var(--border);
  padding: 24px 0;
}

.faq-item h3 {
  font-size: 18px;
  font-weight: 700;
  margin: 0 0 8px;
}

.faq-item p {
  margin: 0;
  color: var(--muted);
}

/* ── Related articles ── */
.related-articles {
  margin-top: 64px;
  padding-top: 40px;
  border-top: 1px solid var(--border);
}

.related-articles h2 {
  margin-bottom: 24px;
  font-size: 24px;
}

.related-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 16px;
}

@media (min-width: 600px) {
  .related-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

.related-card {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: 12px;
  padding: 20px;
  text-decoration: none;
  color: var(--text);
  transition: transform .18s, box-shadow .18s;
}

.related-card:hover {
  transform: translateY(-3px);
  box-shadow: 0 8px 28px rgba(0, 0, 0, .35);
}

.related-card .related-eyebrow {
  color: var(--accent);
  font-size: 12px;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: .05em;
  margin-bottom: 8px;
}

.related-card h3 {
  font-size: 17px;
  font-weight: 700;
  margin: 0 0 8px;
  line-height: 1.35;
}

.related-card p {
  color: var(--muted);
  font-size: 14px;
  margin: 0;
  line-height: 1.5;
}

/* ── Author box ── */
.author-box {
  margin-top: 56px;
  padding: 24px;
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: 12px;
  font-size: 14px;
  color: var(--muted);
}

.author-box strong {
  color: var(--text);
  display: block;
  margin-bottom: 8px;
}

/* ── Inline article figures ── */
.article-body figure {
  margin: 40px 0;
  padding: 0;
}

.article-body figure img {
  display: block;
  width: 100%;
  height: auto;
  border-radius: 12px;
  border: 1px solid var(--border);
}

.article-body figure figcaption {
  margin-top: 12px;
  font-size: 14px;
  color: var(--muted);
  text-align: center;
  font-style: italic;
}
