/* ═══ HELP ARTICLE PAGE STYLES ═══ */
.article-layout {
  max-width: 1200px;
  margin: 30px auto 60px;
  padding: 0 24px;
  display: grid;
  grid-template-columns: 240px 1fr;
  gap: 40px;
}

.article-sidebar {
  position: sticky;
  top: 90px;
  align-self: start;
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: 12px;
  padding: 20px;
  max-height: calc(100vh - 110px);
  overflow-y: auto;
}
.article-sidebar h3 {
  font-size: 13px;
  color: var(--green);
  margin-bottom: 12px;
  text-transform: uppercase;
  letter-spacing: 1px;
}
.article-sidebar ul {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 6px;
}
.article-sidebar a {
  display: block;
  padding: 8px 10px;
  color: var(--light-gray);
  font-size: 14px;
  text-decoration: none;
  border-radius: 6px;
  transition: all 0.15s;
}
.article-sidebar a:hover {
  background: rgba(62, 207, 170, 0.08);
  color: var(--green);
}
.article-sidebar a.active {
  background: rgba(62, 207, 170, 0.12);
  color: var(--green);
  font-weight: 600;
}

.article-main {
  max-width: 860px;
  line-height: 1.75;
}

.breadcrumb {
  color: var(--gray);
  font-size: 13px;
  margin-bottom: 14px;
}
.breadcrumb a { color: var(--green); }
.breadcrumb .sep { margin: 0 8px; color: var(--dim-gray); }

.article-main h1 {
  font-size: 34px;
  font-weight: 800;
  letter-spacing: -0.8px;
  margin-bottom: 8px;
  line-height: 1.2;
}
.article-lead {
  color: var(--light-gray);
  font-size: 17px;
  margin-bottom: 30px;
}

.article-main h2 {
  font-size: 24px;
  color: var(--green);
  margin: 36px 0 14px;
  padding-bottom: 8px;
  border-bottom: 1px solid var(--border);
}
.article-main h3 {
  font-size: 18px;
  color: var(--white);
  margin: 24px 0 10px;
}

.article-main p {
  color: var(--light-gray);
  font-size: 15px;
  margin-bottom: 16px;
}

.article-main ul, .article-main ol {
  color: var(--light-gray);
  margin: 10px 0 16px 22px;
  font-size: 15px;
}
.article-main li { margin-bottom: 8px; }
.article-main strong { color: var(--white); }
.article-main code {
  background: var(--bg-input);
  padding: 2px 8px;
  border-radius: 4px;
  font-family: var(--font-mono);
  font-size: 13px;
  color: var(--green);
}

.info-box {
  background: rgba(62, 207, 170, 0.05);
  border-left: 4px solid var(--green);
  padding: 16px 20px;
  margin: 20px 0;
  border-radius: 0 8px 8px 0;
}
.warning-box {
  background: rgba(255, 159, 67, 0.05);
  border-left: 4px solid #ff9f43;
  padding: 16px 20px;
  margin: 20px 0;
  border-radius: 0 8px 8px 0;
}
.tip-box {
  background: rgba(255, 217, 61, 0.05);
  border-left: 4px solid #ffd93d;
  padding: 16px 20px;
  margin: 20px 0;
  border-radius: 0 8px 8px 0;
}

.screenshot-placeholder {
  background: var(--bg-input);
  border: 2px dashed var(--border);
  border-radius: 8px;
  padding: 40px 20px;
  text-align: center;
  color: var(--gray);
  font-size: 13px;
  margin: 20px 0;
}
.screenshot-placeholder::before {
  content: "📷 ";
  font-size: 24px;
  display: block;
  margin-bottom: 8px;
}

.step-list {
  counter-reset: step;
  list-style: none;
  margin-left: 0;
}
.step-list li {
  counter-increment: step;
  position: relative;
  padding: 14px 16px 14px 50px;
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: 8px;
  margin-bottom: 10px;
}
.step-list li::before {
  content: counter(step);
  position: absolute;
  left: 14px;
  top: 14px;
  width: 26px;
  height: 26px;
  background: var(--green);
  color: #000;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 700;
  font-size: 13px;
}

.related-articles {
  margin-top: 50px;
  padding: 26px;
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: 12px;
}
.related-articles h3 {
  font-size: 16px;
  color: var(--green);
  margin-bottom: 14px;
}
.related-articles ul {
  margin: 0;
  list-style: none;
}
.related-articles li { padding: 6px 0; }
.related-articles a {
  color: var(--light-gray);
  text-decoration: none;
}
.related-articles a:hover { color: var(--green); }

.article-back {
  display: inline-block;
  padding: 10px 18px;
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: 8px;
  color: var(--light-gray);
  text-decoration: none;
  font-size: 14px;
  margin-bottom: 20px;
  transition: all 0.2s;
}
.article-back:hover {
  border-color: var(--green);
  color: var(--green);
}

@media (max-width: 900px) {
  .article-layout { grid-template-columns: 1fr; }
  .article-sidebar { position: static; max-height: none; }
  .article-main h1 { font-size: 26px; }
}
