/* Guide pages (site/guides/*): home.css gives colours, the header, cards and the button; this file
   adds only what a how-to needs — a shorter header, numbered steps, a "back to home" line. */
.hero.guide-hero {
  padding: 28px 24px 104px;
}
.guide-hero .crumbs {
  font-size: 15px;
  margin-bottom: 18px;
}
.guide-hero .crumbs a {
  color: #c9d6ee;
}
.guide-hero h1 {
  font-size: 34px;
  max-width: 760px;
  margin: 0 auto;
}
.guide-hero .cta {
  margin-top: 22px;
}

.guide h2 {
  font-size: 25px;
  line-height: 1.25;
  margin: 34px 0 10px;
}
.guide h2:first-child {
  margin-top: 0;
}
.guide h3 {
  font-size: 19px;
  line-height: 1.35;
  margin: 24px 0 6px;
}
.guide p + p,
.guide p + ul,
.guide ul + p,
.guide ol + p {
  margin-top: 12px;
}
.guide ul,
.guide ol {
  padding-left: 1.4em;
  margin-top: 8px;
}
.guide li + li {
  margin-top: 6px;
}
.guide b {
  font-weight: 600;
}
.guide code {
  font:
    0.9em ui-monospace,
    SFMono-Regular,
    Menlo,
    Consolas,
    monospace;
  padding: 1px 5px;
  border-radius: 5px;
  background: var(--bg);
  border: 1px solid var(--line);
  overflow-wrap: anywhere;
}
.guide .short {
  padding: 14px 18px;
  border-radius: 12px;
  background: var(--bg);
  border: 1px solid var(--line);
}
.guide figure {
  margin: 20px 0 0;
  text-align: center;
}
.guide figure img {
  display: block;
  width: 100%;
  max-width: 300px;
  height: auto;
  margin: 0 auto;
  border: 1px solid var(--shot-border);
  border-radius: 14px;
}
.guide figcaption {
  margin-top: 10px;
  color: var(--muted);
  font-size: 15px;
}
.guide .more {
  margin-top: 8px;
}

@media (max-width: 760px) {
  .guide-hero h1 {
    font-size: 27px;
  }
  .guide h2 {
    font-size: 22px;
  }
}
