/* 07. Danh Sách & Quy Trình Từng Bước (Step Cards & Checklist) */
.article-content-body .step-cards {
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  gap: 1.25rem;
  margin: 2.25rem 0;
}

@media (min-width: 768px) {
  .article-content-body .step-cards {
    grid-template-columns: repeat(auto-fit, minmax(min(240px, 100%), 1fr));
  }
}

.article-content-body .step-card {
  position: relative;
  background: var(--card);
  border: 1px solid var(--border);
  border-radius: 20px;
  padding: 1.5rem 1.65rem;
  box-shadow: 0 6px 20px rgba(0, 0, 0, 0.03);
  display: flex;
  flex-direction: column;
  transition: transform 0.2s ease, border-color 0.2s ease;
}

@media (max-width: 640px) {
  .article-content-body .step-card {
    border-radius: 16px;
    padding: 1.15rem 1.25rem;
  }
}

.article-content-body .step-card:hover {
  border-color: var(--foreground);
  transform: translateY(-2px);
}

.article-content-body .step-card .step-num {
  display: inline-flex;
  align-items: center;
  width: fit-content;
  padding: 0.25rem 0.75rem;
  border-radius: 9999px;
  background: var(--foreground);
  color: var(--background);
  font-weight: 800;
  font-size: 0.75rem;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  margin-bottom: 0.85rem;
}

.article-content-body .step-card .step-title,
.article-content-body .step-card h4 {
  font-size: 1.15rem;
  font-weight: 800;
  margin: 0 0 0.65rem;
  color: var(--foreground);
  line-height: 1.35;
}

.article-content-body .step-card p {
  font-size: 0.925rem;
  color: var(--muted-foreground);
  line-height: 1.6;
  margin: 0;
}

/* Checklist Grid */
.article-content-body .checklist-grid {
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  gap: 0.85rem;
  margin: 2rem 0;
}

@media (min-width: 640px) {
  .article-content-body .checklist-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

.article-content-body .check-item {
  display: flex;
  align-items: center;
  gap: 0.65rem;
  font-size: 0.95rem;
  color: var(--foreground);
  background: var(--secondary);
  border: 1px solid var(--border);
  border-radius: 12px;
  padding: 0.75rem 1rem;
}

.article-content-body .check-icon {
  width: 22px;
  height: 22px;
  border-radius: 50%;
  background: rgba(34, 197, 94, 0.15);
  color: #16a34a;
  font-weight: 800;
  font-size: 0.75rem;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

/* 08. Lộ Trình Thời Gian Dọc (Vertical Timeline) */
.article-content-body .vertical-timeline {
  position: relative;
  border: 0;
  border-radius: 0;
  padding-top: 1rem;
  padding-bottom: 1rem;
  padding-right: 0;
  padding-left: 0;
  margin: 2.5rem 0;
}

.article-content-body .vertical-timeline::before {
  content: none;
}

.article-content-body .timeline-item {
  position: relative;
  min-width: 0;
  margin-bottom: 2.25rem;
}

.article-content-body .timeline-item:last-child {
  margin-bottom: 0;
}

.article-content-body .timeline-item::before {
  content: none !important;
  display: none !important;
}

.article-content-body .timeline-dot,
.article-content-body .timeline-item:not(:has(.timeline-dot))::before {
  content: none !important;
  display: none !important;
}

.article-content-body .timeline-item.is-active .timeline-dot,
.article-content-body .timeline-item.is-active:not(:has(.timeline-dot))::before {
  background: #e11d48;
  border-color: #e11d48;
  box-shadow: 0 0 0 4px var(--background), 0 0 0 7px rgba(225, 29, 72, 0.25);
}

.dark .article-content-body .timeline-item.is-active .timeline-dot,
.dark .article-content-body .timeline-item.is-active:not(:has(.timeline-dot))::before {
  box-shadow: 0 0 0 4px var(--background), 0 0 0 7px rgba(251, 113, 133, 0.3);
}

.article-content-body .timeline-time {
  font-size: 0.775rem;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  color: var(--muted-foreground);
  margin-bottom: 0.35rem;
  line-height: 1.3;
}

.article-content-body .timeline-item.is-active .timeline-time {
  color: #e11d48;
}

.dark .article-content-body .timeline-item.is-active .timeline-time {
  color: #fb7185;
}

.article-content-body .timeline-title {
  font-weight: 800;
  font-size: 1.1rem;
  color: var(--foreground);
  margin-bottom: 0.45rem;
  line-height: 1.4;
}

.article-content-body .timeline-content p {
  font-size: 0.95rem;
  color: var(--muted-foreground);
  line-height: 1.65;
  margin: 0;
}

.article-content-body .timeline-content a {
  color: #e11d48;
  font-weight: 600;
  text-decoration: underline;
  text-underline-offset: 3px;
  transition: color 0.15s ease;
}

.dark .article-content-body .timeline-content a {
  color: #fb7185;
}

/* 09. Trích Dẫn & Blockquotes (Quote Card) */
.article-content-body .quote-card {
  position: relative;
  background: var(--card);
  border: 1px solid var(--border);
  border-radius: 18px;
  padding: 1.5rem 1.75rem;
  margin: 2.25rem 0;
  box-shadow: 0 4px 16px rgba(0, 0, 0, 0.03);
}

@media (max-width: 640px) {
  .article-content-body .quote-card {
    padding: 1.15rem 1.25rem;
    margin: 1.5rem 0;
  }
}

.article-content-body .quote-text {
  font-size: 1.1rem;
  font-style: italic;
  font-weight: 500;
  line-height: 1.7;
  color: var(--foreground);
  margin-bottom: 0.75rem;
}

.article-content-body .quote-author {
  font-size: 0.875rem;
  color: var(--muted-foreground);
  text-align: right;
}

.article-content-body .quote-author strong {
  color: var(--foreground);
  font-weight: 700;
}

/* 10. Thống Kê & Chỉ Số Nổi Bật (Metrics Grid) */
.article-content-body .metrics-grid {
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  gap: 1.25rem;
  margin: 2.25rem 0;
}

@media (min-width: 640px) {
  .article-content-body .metrics-grid {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }
}

.article-content-body .metric-card {
  background: var(--card);
  border: 1px solid var(--border);
  border-radius: 18px;
  padding: 1.5rem 1.25rem;
  text-align: center;
  box-shadow: 0 4px 16px rgba(0, 0, 0, 0.03);
  transition: transform 0.2s ease, border-color 0.2s ease;
}

.article-content-body .metric-card:hover {
  transform: translateY(-2px);
  border-color: var(--foreground);
}

.article-content-body .metric-value {
  font-size: 2rem;
  font-weight: 900;
  letter-spacing: -0.03em;
  background: linear-gradient(135deg, #e11d48, #8b5cf6);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  margin-bottom: 0.35rem;
  line-height: 1.2;
}

.article-content-body .metric-label {
  font-size: 0.85rem;
  font-weight: 600;
  color: var(--muted-foreground);
  line-height: 1.4;
}
