/* /guide — the parents' guide. Layered on _styles.css + _start.css for the
   topbar, hero type and footer; this file owns the long-form reading layout
   and the print rules (organisations print it or save it as a PDF). */

.guide-body {
  max-width: 720px;
  margin: 0 auto;
  padding: 56px 24px 32px;
}

.guide-head .kicker,
.guide-head .hero-title { text-align: left; }

/* _start.css centres the hero lead below 760px, which includes the printed page. */
.guide-head .hero-lead { margin-inline: 0; }

.guide-scope {
  margin: 20px 0 0;
  padding: 14px 18px;
  border-left: 4px solid var(--brand);
  background: var(--surface-sunk);
  font-size: 16px;
}

.guide-toc ol {
  margin: 28px 0 0;
  padding-left: 1.4em;
  columns: 2;
  column-gap: 32px;
  font-size: 16px;
}

.guide-toc a { color: var(--text); }

body.guide section {
  max-width: none;
  padding: 48px 0 0;
}

body.guide section > h2 {
  text-align: left;
  font-size: clamp(26px, 3.6vw, 34px);
  margin: 0 0 16px;
}

body.guide section h3 {
  font-size: 20px;
  margin: 24px 0 8px;
}

body.guide section p,
body.guide section li { margin: 0 0 12px; }

body.guide section ol,
body.guide section ul { padding-left: 1.3em; margin: 0 0 16px; }

.ui {
  font-weight: 600;
  white-space: nowrap;
}

.note {
  padding: 12px 16px;
  border-radius: 12px;
  background: var(--surface-sunk);
  font-size: 16px;
}

.see-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 24px;
}

.see-grid h3 { margin-top: 0; }

.guide-contact {
  margin-top: 48px;
  padding-top: 24px !important;
  border-top: 1px solid var(--border);
}

.guide-print { border: 0; cursor: pointer; font: inherit; }

@media (max-width: 640px) {
  .guide-toc ol { columns: 1; }
  .see-grid { grid-template-columns: 1fr; }
}

@media print {
  @page { size: A4; margin: 13mm 16mm; }

  :root {
    --text: #1C1B1F;
    --muted: #555555;
    --bg: #FFFFFF;
    --border: #DDDDDD;
    --surface-sunk: #F6F3F1;
  }

  body.start { font-size: 10pt; line-height: 1.5; }
  .topbar,
  .guide-toc,
  .landing-footer .lang-switch { display: none; }

  .guide-body { padding: 0; max-width: none; }
  .hero-title { font-size: 24pt; }
  .hero-lead { font-size: 12pt; }
  .guide-scope,
  .note { font-size: 10pt; }

  body.guide section { padding-top: 16pt; }
  body.guide section > h2 { font-size: 15pt; margin-bottom: 6pt; break-after: avoid; }
  body.guide section h3 { font-size: 11.5pt; margin: 10pt 0 4pt; break-after: avoid; }
  body.guide section p,
  body.guide section li { margin-bottom: 5pt; }
  li, .note, .see-grid > div { break-inside: avoid; }

  .guide-contact { margin-top: 18pt; }
  a { color: inherit; }
}
