/* Guides — a thin layer on top of assets/css/style.css.
   Kept separate so the guides lane never has to edit the tools stylesheet.
   Only layout for long-form prose and the sources list; no new colours,
   no new fonts, no new components. */

.guide-body { font-size: 1rem; }
.guide-body h2 { margin-top: 2.1em; }
.guide-body h2:first-child { margin-top: .2em; }
.guide-body h3 { margin-top: 1.5em; }
.guide-body ul, .guide-body ol { padding-left: 1.25em; margin: 0 0 1em; }
.guide-body li { margin-bottom: .4em; }
.guide-body blockquote {
  margin: 1.2em 0; padding: 2px 16px; border-left: 3px solid var(--border-strong);
  color: var(--text-soft);
}

/* A worked example set off from the prose it explains. */
.guide-body .worked {
  background: var(--surface); border: 1px solid var(--border);
  border-radius: var(--radius); padding: 14px 18px; margin: 1.4em 0;
  box-shadow: var(--shadow);
}
.guide-body .worked > :last-child { margin-bottom: 0; }
.guide-body .worked h3:first-child { margin-top: 0; }

.guide-sources {
  margin-top: 2.4em; padding-top: 1.2em; border-top: 1px solid var(--border);
}
.guide-sources h2 { font-size: 1rem; text-transform: uppercase; letter-spacing: .06em;
  color: var(--text-soft); margin-top: 0; }
.source-list {
  list-style: none; padding: 0; margin: .6em 0 0;
  font-size: .84rem; color: var(--text-soft); line-height: 1.5;
}
.source-list li { padding: 7px 0; border-bottom: 1px solid var(--border); }
.source-list li:last-child { border-bottom: 0; }
.source-list a { word-break: break-word; }

/* The one-line summary of a guide, reused on the hub. */
.answer {
  background: var(--accent-soft); border-left: 3px solid var(--accent);
  border-radius: 0 var(--radius-sm) var(--radius-sm) 0;
  padding: 12px 16px; margin: 0 0 1.4em;
}
.answer p { margin: 0; }
.answer strong { color: var(--accent-text); }

@media (max-width: 640px) {
  .guide-body .worked { padding: 12px 14px; }
}
