/* Directory entries use headings and descriptive links rather than buttons. */
.guide-listing {
  max-width: 800px;
  padding: 1.1rem 1.3rem;
  border: 1px solid #d1d9d3;
}
.guide-listing h3 {
  margin-top: 0;
}
.guide-listing p + p {
  margin-top: .7rem;
}
.guide-listing a {
  text-underline-offset: .18rem;
}

/* Breadcrumbs and section links support navigation between the index and guide. */
.guide-breadcrumbs {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: .6rem;
  margin: 0 0 1.5rem;
  font-size: .92rem;
}
.guide-breadcrumbs a,
.guide-toc a {
  text-underline-offset: .18rem;
}
/* Simple, sequential section links with no columns, bullets, or decoration. */
.guide-toc {
  max-width: 820px;
  margin: 0 0 2.75rem;
}
.guide-toc strong {
  display: block;
  margin-bottom: .6rem;
  font-size: .92rem;
}
.guide-toc ul {
  display: block;
  margin: 0;
  padding: 0;
  list-style: none;
}
.guide-toc li {
  display: block;
  margin: 0 0 .45rem;
  padding: 0;
  list-style: none;
}
.guide-toc a {
  color: var(--ink);
  line-height: 1.5;
  text-decoration: underline;
  text-underline-offset: .2rem;
}
.guide-toc a:focus-visible {
  outline: 2px solid var(--forest);
  outline-offset: 3px;
}
.content-page .content-section h2 {
  scroll-margin-top: 6.5rem;
}

/* Compact, readable worked example on the public cruise-arrival guide. */
.content-section table {
  width: 100%;
  max-width: 760px;
  border-collapse: collapse;
  margin: 1rem 0 1.5rem;
}
.content-section caption {
  text-align: left;
  font-weight: 600;
  margin-bottom: .7rem;
}
.content-section th,
.content-section td {
  border-bottom: 1px solid #dce4df;
  padding: .7rem .8rem;
  text-align: left;
  vertical-align: top;
}
.content-section th:last-child,
.content-section td:last-child {
  width: 11rem;
  text-align: right;
}
.content-section ol {
  padding-left: 1.5rem;
}
.content-section li {
  margin-bottom: .85rem;
}
@media (max-width: 540px) {
  .content-section th, .content-section td {
    padding: .6rem .4rem;
  }
  .content-section th:last-child,
  .content-section td:last-child {
    width: 8rem;
  }
}
