/* ========= ARTICLE HEADER ========= */
.article-header {
  background: var(--dark);
  padding: 88px 24px 64px;
}
.article-header-inner {
  max-width: 740px;
  margin: 0 auto;
}
.breadcrumb {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 13px;
  color: rgba(255,255,255,0.4);
  margin-bottom: 20px;
}
.breadcrumb a { color: rgba(255,255,255,0.5); text-decoration: none; }
.breadcrumb a:hover { color: #fff; }
.article-tag {
  display: inline-block;
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--teal);
  background: rgba(29,158,117,0.15);
  padding: 3px 10px;
  border-radius: 4px;
  margin-bottom: 16px;
}
.article-title {
  font-family: var(--font-head);
  font-size: clamp(26px, 4vw, 40px);
  font-weight: 700;
  color: #fff;
  line-height: 1.2;
  letter-spacing: -0.5px;
  margin-bottom: 16px;
}
.article-meta {
  font-size: 13px;
  color: rgba(255,255,255,0.4);
  display: flex;
  align-items: center;
  gap: 16px;
  flex-wrap: wrap;
}
.article-meta span { display: flex; align-items: center; gap: 5px; }

/* ========= ARTICLE LAYOUT ========= */
.article-layout {
  max-width: 1100px;
  margin: 0 auto;
  padding: 60px 24px 80px;
  display: grid;
  grid-template-columns: 1fr 280px;
  gap: 60px;
  align-items: start;
}

/* ========= ARTICLE BODY ========= */
.article-body h2 {
  font-family: var(--font-head);
  font-size: 24px;
  font-weight: 700;
  color: var(--dark);
  margin-top: 48px;
  margin-bottom: 16px;
  line-height: 1.3;
}
.article-body h3 {
  font-family: var(--font-head);
  font-size: 18px;
  font-weight: 600;
  color: var(--dark);
  margin-top: 28px;
  margin-bottom: 10px;
}
.article-body p {
  font-size: 16px;
  color: #374151;
  margin-bottom: 20px;
  line-height: 1.75;
}
.article-body ul, .article-body ol {
  padding-left: 22px;
  margin-bottom: 20px;
}
.article-body li {
  font-size: 16px;
  color: #374151;
  margin-bottom: 8px;
  line-height: 1.65;
}
.article-body strong { color: var(--dark); }
.article-body a { color: var(--teal); }

/* ========= CALLOUT BOXES ========= */
.callout {
  border-radius: 12px;
  padding: 20px 24px;
  margin: 28px 0;
}
.callout.tip {
  background: var(--teal-light);
  border-left: 4px solid var(--teal);
}
.callout.tip .callout-label {
  font-size: 11px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--teal);
  margin-bottom: 8px;
  display: flex;
  align-items: center;
  gap: 6px;
}
.callout.tip p { color: #0d6b50; margin-bottom: 0; font-size: 15px; }
.callout.stat {
  background: var(--dark);
  text-align: center;
  padding: 28px;
}
.callout.stat .stat-number {
  font-family: var(--font-head);
  font-size: 48px;
  font-weight: 700;
  color: var(--teal);
  display: block;
  line-height: 1;
  margin-bottom: 8px;
}
.callout.stat .stat-label { color: rgba(255,255,255,0.6); font-size: 15px; margin-bottom: 0; }

/* ========= CHECKLIST ========= */
.checklist {
  background: var(--white);
  border: 1px solid #e5e7eb;
  border-radius: 16px;
  padding: 24px;
  margin: 28px 0;
}
.checklist-title {
  font-family: var(--font-head);
  font-size: 16px;
  font-weight: 600;
  color: var(--dark);
  margin-bottom: 16px;
  display: flex;
  align-items: center;
  gap: 8px;
}
.checklist-title i { color: var(--teal); }
.checklist ul {
  list-style: none;
  padding: 0;
  margin: 0;
}
.checklist li {
  font-size: 15px;
  color: #374151;
  padding: 8px 0;
  border-bottom: 1px solid #f3f4f6;
  display: flex;
  align-items: flex-start;
  gap: 10px;
  margin-bottom: 0;
}
.checklist li:last-child { border-bottom: none; }
.checklist li::before {
  content: "";
  width: 18px;
  height: 18px;
  border: 2px solid var(--teal);
  border-radius: 4px;
  flex-shrink: 0;
  margin-top: 2px;
}

/* ========= QUESTION CARDS ========= */
.q-section {
  background: var(--white);
  border: 1px solid #e5e7eb;
  border-radius: 16px;
  overflow: hidden;
  margin: 28px 0;
}
.q-section-header {
  background: var(--dark);
  padding: 16px 20px;
  display: flex;
  align-items: center;
  gap: 10px;
}
.q-section-header h3 {
  font-family: var(--font-head);
  font-size: 16px;
  font-weight: 600;
  color: #fff;
  margin: 0;
}
.q-section-header .q-icon {
  width: 32px; height: 32px;
  background: rgba(29,158,117,0.2);
  border-radius: 8px;
  display: flex; align-items: center; justify-content: center;
  color: var(--teal);
  font-size: 16px;
  flex-shrink: 0;
}
.q-list { list-style: none; padding: 4px 0; }
.q-list li {
  padding: 12px 20px;
  font-size: 15px;
  color: #374151;
  border-bottom: 1px solid #f3f4f6;
  display: flex;
  align-items: flex-start;
  gap: 10px;
  line-height: 1.5;
}
.q-list li:last-child { border-bottom: none; }
.q-num {
  font-family: var(--font-head);
  font-size: 11px;
  font-weight: 700;
  color: var(--teal);
  background: var(--teal-light);
  padding: 2px 6px;
  border-radius: 4px;
  flex-shrink: 0;
  margin-top: 2px;
}

/* ========= SIDEBAR ========= */
.sidebar { position: sticky; top: 80px; }
.sidebar-card {
  background: var(--white);
  border: 1px solid #e5e7eb;
  border-radius: 16px;
  padding: 24px;
  margin-bottom: 20px;
}
.sidebar-card.teal {
  background: var(--teal);
  border-color: var(--teal);
}
.sidebar-title {
  font-family: var(--font-head);
  font-size: 14px;
  font-weight: 600;
  color: var(--dark);
  margin-bottom: 14px;
}
.sidebar-card.teal .sidebar-title { color: #fff; }
.toc-list { list-style: none; }
.toc-list li { margin-bottom: 8px; }
.toc-list a {
  font-size: 13px;
  color: var(--gray-500);
  text-decoration: none;
  display: flex;
  align-items: flex-start;
  gap: 6px;
  line-height: 1.4;
  transition: color 0.15s;
}
.toc-list a:hover { color: var(--teal); }
.toc-list a::before {
  content: "→";
  color: var(--teal);
  flex-shrink: 0;
  font-size: 12px;
  margin-top: 1px;
}
.app-cta-text {
  font-size: 13px;
  color: rgba(255,255,255,0.8);
  line-height: 1.55;
  margin-bottom: 16px;
}
.btn-white {
  display: block;
  background: #fff;
  color: var(--teal);
  text-align: center;
  padding: 10px;
  border-radius: 8px;
  font-size: 13px;
  font-weight: 600;
  text-decoration: none;
}
.btn-white:hover { background: #f0fdf9; }

/* ========= CTA BANNER ========= */
.cta-banner {
  background: linear-gradient(135deg, var(--teal) 0%, #0d7a58 100%);
  border-radius: 20px;
  padding: 36px 32px;
  margin: 48px 0;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
}
.cta-banner-text h3 {
  font-family: var(--font-head);
  font-size: 22px;
  font-weight: 700;
  color: #fff;
  margin-bottom: 8px;
}
.cta-banner-text p { color: rgba(255,255,255,0.8); font-size: 14px; margin: 0; }
.cta-banner-btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: #fff;
  color: var(--teal);
  padding: 12px 22px;
  border-radius: 10px;
  font-weight: 700;
  font-size: 14px;
  text-decoration: none;
  white-space: nowrap;
  flex-shrink: 0;
}
.cta-banner-btn:hover { background: #f0fdf9; }

/* ========= FOOTER (article pages use simple centered footer) ========= */
footer {
  padding: 40px 24px;
  text-align: center;
}

/* ========= RESPONSIVE ========= */
@media (max-width: 768px) {
  .article-layout {
    grid-template-columns: 1fr;
    gap: 32px;
  }
  .sidebar { position: static; }
  .cta-banner {
    flex-direction: column;
    text-align: center;
  }
}
