/* DitchBook guides — small additions layered on top of ../styles.css. */

.breadcrumb {
  font-size: var(--step--1);
  color: var(--ink-soft);
  margin: 1.75rem 0 0;
}

.breadcrumb ol {
  list-style: none;
  display: flex;
  flex-wrap: wrap;
  gap: 0.4em;
  padding: 0;
  margin: 0;
  max-width: none;
}

.breadcrumb li {
  margin: 0;
  display: flex;
  align-items: center;
  gap: 0.4em;
}

.breadcrumb li + li::before {
  content: "/";
  color: var(--border-strong);
}

.breadcrumb a {
  color: var(--ink-soft);
  text-decoration: none;
}

.breadcrumb a:hover,
.breadcrumb a:focus {
  color: var(--water-deep);
  text-decoration: underline;
}

.breadcrumb [aria-current="page"] {
  color: var(--ink-mid);
}

.guide-article {
  padding: clamp(2.25rem, 3vw, 3.5rem) 0 var(--space-section);
}

.guide-kicker {
  font-family: var(--font-sans);
  text-transform: uppercase;
  letter-spacing: 0.14em;
  font-size: 0.78rem;
  color: var(--water-deep);
  font-weight: 600;
  margin: 1.25rem 0 0.75em;
}

.guide-article h1 {
  max-width: 22ch;
  margin-bottom: 0.6em;
}

.guide-dek {
  font-size: var(--step-1);
  line-height: 1.5;
  color: var(--ink-mid);
  max-width: 48ch;
  margin: 0 0 2.25rem;
  border-left: 2px solid var(--water);
  padding-left: 1.15rem;
}

.guide-body {
  max-width: var(--measure);
}

.guide-body h2 {
  font-size: var(--step-2);
  margin-top: 2rem;
}

.guide-body h3 {
  margin-top: 1.5rem;
}

.guide-note {
  font-family: var(--font-serif);
  font-style: italic;
  font-size: var(--step-0);
  color: var(--ink-mid);
  max-width: 52ch;
  padding-left: 1.15rem;
  border-left: 2px solid var(--border-strong);
  margin: 1.75rem 0;
}

.guide-cta {
  margin-top: clamp(2.5rem, 4vw, 3.5rem);
  padding: clamp(1.5rem, 3vw, 2.25rem);
  border: 1px solid var(--border-strong);
  border-radius: 6px;
  background: var(--paper-dim);
  max-width: none;
}

.guide-cta p {
  max-width: 56ch;
}

.guide-cta .hero-actions {
  margin-top: 1.1rem;
}

.guide-index-list {
  list-style: none;
  padding: 0;
  margin: 0;
  max-width: none;
  border-top: 1px solid var(--border);
}

.guide-index-list li {
  margin: 0;
  padding: 1.75rem 0;
  border-bottom: 1px solid var(--border);
}

.guide-index-list h2 {
  font-size: var(--step-1);
  margin-bottom: 0.35em;
}

.guide-index-list p {
  color: var(--ink-mid);
  margin-bottom: 0.5em;
}

.guide-index-list a.guide-link {
  font-weight: 600;
  text-decoration: none;
}

.guide-index-list a.guide-link:hover,
.guide-index-list a.guide-link:focus {
  text-decoration: underline;
}

@media print {
  .guide-cta .hero-actions,
  .breadcrumb {
    display: none;
  }
  .guide-cta {
    border-color: #999;
    background: none;
  }
}
