/* === Article Pages (shared) === */
.article-hero {
  padding: 8rem 2rem 3rem;
  text-align: center;
  position: relative;
  z-index: 1;
  background: linear-gradient(180deg, var(--green-50) 0%, var(--white) 100%);
}

.article-hero .hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.5rem 1rem;
  background: var(--green-100);
  border: 1px solid var(--green-200);
  border-radius: var(--radius-full);
  font-size: 0.9rem;
  font-weight: 500;
  color: var(--green-700);
  margin-bottom: 1.5rem;
  animation: fadeInUp 0.6s ease-out;
}

.article-hero h1 {
  font-size: 3rem;
  font-weight: 900;
  line-height: 1.2;
  color: var(--gray-900);
  max-width: 800px;
  margin: 0 auto 1.5rem;
  animation: fadeInUp 0.6s ease-out 0.1s both;
}

.article-hero .hero-description {
  font-size: 1.2rem;
  color: var(--gray-600);
  max-width: 650px;
  margin: 0 auto;
  animation: fadeInUp 0.6s ease-out 0.2s both;
}

/* Article body */
.article-body {
  max-width: 800px;
  margin: 0 auto;
  padding: 3rem 2rem 6rem;
  position: relative;
  z-index: 1;
}

.article-body .content-card {
  background: var(--white);
  border: 1px solid var(--green-100);
  border-radius: var(--radius);
  padding: 2.5rem;
  box-shadow: var(--shadow-md);
  animation: fadeInUp 0.6s ease-out 0.3s both;
}

.article-body .step-block {
  margin-bottom: 2.5rem;
  padding: 2rem;
  background: linear-gradient(135deg, var(--green-50), var(--white));
  border-radius: var(--radius);
  border-left: 4px solid var(--green-400);
  transition: transform 0.3s, box-shadow 0.3s;
}

.article-body .step-block:hover {
  transform: translateY(-3px);
  box-shadow: var(--shadow-lg);
}

.article-body .step-block:last-child {
  margin-bottom: 0;
}

.step-number {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 40px;
  height: 40px;
  background: linear-gradient(135deg, var(--green-400), var(--green-600));
  color: var(--white);
  border-radius: 50%;
  font-weight: 800;
  font-size: 1rem;
  margin-bottom: 0.75rem;
  box-shadow: var(--shadow-green);
}

.step-block h3 {
  font-size: 1.3rem;
  font-weight: 700;
  color: var(--gray-900);
  margin-bottom: 0.75rem;
  display: flex;
  align-items: center;
  gap: 0.75rem;
}

.step-block p,
.step-block ul {
  font-size: 1.05rem;
  color: var(--gray-600);
  line-height: 1.8;
}

.step-block ul {
  padding-left: 1.25rem;
  margin-top: 0.75rem;
}

.step-block ul li {
  margin-bottom: 0.5rem;
}

.step-block ul li::marker {
  color: var(--green-500);
}

.highlight-box {
  background: linear-gradient(135deg, var(--green-500), var(--green-700));
  color: var(--white);
  padding: 2rem;
  border-radius: var(--radius);
  margin: 2rem 0;
  text-align: center;
}

.highlight-box h4 {
  font-size: 1.3rem;
  font-weight: 700;
  margin-bottom: 0.75rem;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
}

.highlight-box p {
  font-size: 1.05rem;
  opacity: 0.95;
  line-height: 1.7;
}

.tool-tag {
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
  padding: 0.35rem 0.85rem;
  background: var(--green-100);
  color: var(--green-700);
  border-radius: var(--radius-full);
  font-size: 0.85rem;
  font-weight: 600;
  margin: 0.25rem;
}

/* Navigation between articles */
.article-nav {
  max-width: 800px;
  margin: 0 auto;
  padding: 0 2rem 6rem;
  display: flex;
  gap: 1rem;
  position: relative;
  z-index: 1;
}

.article-nav .nav-prev,
.article-nav .nav-next {
  flex: 1;
  display: flex;
  flex-direction: column;
  padding: 1.25rem 1.5rem;
  background: var(--white);
  border: 2px solid var(--green-200);
  border-radius: var(--radius);
  text-decoration: none;
  transition: all 0.3s;
}

.article-nav .nav-prev:hover,
.article-nav .nav-next:hover {
  border-color: var(--green-400);
  transform: translateY(-3px);
  box-shadow: var(--shadow-lg);
}

.article-nav .nav-next {
  text-align: right;
}

.nav-label {
  font-size: 0.8rem;
  font-weight: 600;
  color: var(--green-600);
  text-transform: uppercase;
  letter-spacing: 0.05em;
  margin-bottom: 0.35rem;
}

.nav-title {
  font-size: 1rem;
  font-weight: 700;
  color: var(--gray-900);
}

/* === Responsive for article pages === */
@media (max-width: 768px) {
  .article-hero h1 {
    font-size: 2rem;
  }

  .article-body .content-card {
    padding: 1.5rem;
  }

  .article-body .step-block {
    padding: 1.25rem;
  }

  .article-nav {
    flex-direction: column;
  }

  .article-nav .nav-next {
    text-align: left;
  }
}
