/* Guide section content layout (uses theme CSS variables from each guide) */

.guide-section {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 28px;
  margin-bottom: 24px;
  scroll-margin-top: calc(var(--header-h) + 16px);
  box-shadow: var(--shadow);
}

.guide-section.hidden { display: none; }

.section-header {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  margin-bottom: 20px;
  padding-bottom: 16px;
  border-bottom: 1px solid var(--border);
}

.section-num {
  width: 32px;
  height: 32px;
  background: color-mix(in srgb, var(--primary) 14%, transparent);
  color: var(--primary);
  border-radius: 8px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 13px;
  font-weight: 800;
  flex-shrink: 0;
}

.section-header h2 { font-size: 20px; font-weight: 700; }

.content-block { margin-bottom: 16px; }
.content-block:last-child { margin-bottom: 0; }

.content-block h3 {
  font-size: 15px;
  font-weight: 700;
  color: var(--primary-dark);
  margin-bottom: 8px;
}

.content-block p { font-size: 14px; color: var(--text); }

.content-block ul, .content-block ol {
  padding-inline-start: 22px;
  font-size: 14px;
}

.content-block li { margin-bottom: 6px; }

.content-table {
  width: 100%;
  border-collapse: collapse;
  font-size: 13px;
  margin-top: 4px;
}

.content-table th {
  background: var(--bg);
  text-align: start;
  padding: 10px 12px;
  font-weight: 700;
  border: 1px solid var(--border);
}

.content-table td {
  padding: 9px 12px;
  border: 1px solid var(--border);
  vertical-align: top;
}

.callout {
  background: color-mix(in srgb, var(--accent) 18%, var(--surface));
  border-inline-start: 4px solid var(--accent);
  padding: 12px 16px;
  border-radius: 8px;
  font-size: 13px;
}

.toc-badge {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 20px;
  height: 18px;
  padding: 0 6px;
  margin-inline-start: 8px;
  border-radius: 999px;
  background: color-mix(in srgb, var(--primary) 16%, transparent);
  color: var(--primary);
  font-size: 10px;
  font-weight: 700;
}
