/* The Mafate access guide (/acces-mafate), generated by scripts/build-guide.mjs. Loaded after
   randonnees.css and comparatif.css, whose palette, panels, pill, contents and FAQ it reuses. */
.guide-prose p {
  margin: 14px 0 0;
  font-size: 16px;
  line-height: 1.6;
  color: var(--ink-2);
}

/* Unlike the comparison page, the table stays on a phone, scrolling inside its own frame: it is
   the only place the seven ways in sit side by side. */
.guide-table {
  margin-top: 22px;
  border: 1px solid var(--border);
  border-radius: 16px;
  overflow-x: auto;
}

.guide-table table.syn {
  min-width: 720px;
}

.guide-table .syn tbody th {
  width: 170px;
}

.guide-table .syn tbody th a {
  color: var(--action);
}

.guide-uses {
  margin-top: 18px;
}

.door {
  margin-top: 28px;
  padding-top: 24px;
  scroll-margin-top: 16px;
  border-top: 1px solid var(--border);
}

.door h3 {
  margin: 0;
  font-size: 22px;
  font-weight: 800;
  letter-spacing: -0.01em;
}

.door-side {
  margin: 4px 0 0;
  font-size: 14px;
  color: var(--muted);
}

.door dl {
  margin: 14px 0 0;
  display: grid;
  gap: 10px;
}

.door dl > div {
  display: grid;
  grid-template-columns: 118px minmax(0, 1fr);
  gap: 12px;
}

.door dt {
  font-size: 14px;
  font-weight: 800;
  line-height: 1.55;
}

.door dd {
  margin: 0;
  font-size: 15px;
  line-height: 1.55;
  color: var(--ink-2);
}

.door-fiches {
  margin: 0;
  padding: 0;
  list-style: none;
  display: grid;
  gap: 6px;
}

.door-fiches span {
  white-space: nowrap;
  font-size: 13px;
  color: var(--muted);
}

.guide-closures {
  margin: 16px 0 0;
  font-weight: 700;
}

.guide .guide-sources {
  margin-top: 32px;
  font-size: 13px;
  color: var(--muted);
}

.guide-sources h2 {
  margin: 0 0 6px;
  font-size: 14px;
  font-weight: 800;
}

.guide-sources ul {
  margin: 0;
  padding-left: 18px;
}

.guide-sources a {
  color: inherit;
}

@media (max-width: 640px) {
  /* Narrow enough that a third column shows past the edge and says the table scrolls. */
  .guide-table table.syn {
    min-width: 640px;
  }

  .guide-table .syn tbody th {
    width: 112px;
  }

  .door dl > div {
    grid-template-columns: minmax(0, 1fr);
    gap: 2px;
  }
}
