/* Section navigation shared by the four editorial chapter pages. */
.page-wayfinder-wrap { padding-block: 34px 0; }
.page-wayfinder {
  padding: 25px 27px 27px;
  color: #0c2029;
  background: #e9e5da;
  border: 1px solid #d0cec2;
  border-top: 3px solid #ae714f;
  box-shadow: none;
}
.page-wayfinder *, .page-wayfinder *::before, .page-wayfinder *::after { box-sizing: border-box; }
.wayfinder-heading { display: flex; align-items: center; margin-bottom: 19px; }
.wayfinder-kicker {
  display: flex;
  align-items: center;
  gap: 12px;
  margin: 0;
  color: #895638;
  font: 400 12px/1.5 var(--mono, monospace);
  letter-spacing: .12em;
  text-transform: uppercase;
}
.wayfinder-kicker::before { content: ''; width: 25px; height: 1px; background: currentColor; }
.wayfinder-links {
  display: grid;
  grid-template-columns: repeat(var(--wayfinder-count), minmax(0, 1fr));
  gap: 10px;
  list-style: none;
  padding: 0;
  margin: 0;
}
.wayfinder-links > li { min-width: 0; margin: 0; padding: 0; }
.wayfinder-links a {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 26px;
  grid-template-rows: auto 1fr;
  gap: 10px 8px;
  align-items: start;
  min-height: 106px;
  height: 100%;
  padding: 16px 17px;
  border: 1px solid #c6c9bf;
  background: #fffdf7;
  color: #0c2029;
  text-decoration: none;
  transition: background-color .2s ease, border-color .2s ease, color .2s ease;
}
.wayfinder-number { grid-column: 1; color: #895638; font: 400 12px/1.3 var(--mono, monospace); letter-spacing: .04em; }
.wayfinder-label { grid-column: 1; font: 400 15px/1.35 var(--sans, sans-serif); letter-spacing: -.015em; overflow-wrap: normal; }
.wayfinder-arrow {
  grid-column: 2;
  grid-row: 1 / 3;
  align-self: center;
  display: grid;
  place-items: center;
  width: 26px;
  height: 26px;
  border: 1px solid #0c2029;
  border-radius: 50%;
  background: #0c2029;
  color: #f6f3eb;
  font: 400 17px/1 var(--sans, sans-serif);
  transition: transform .2s ease;
}
.wayfinder-links a:hover, .wayfinder-links a:focus-visible { background: #f0e4d7; border-color: #955d3e; color: #0c2029; }
.wayfinder-links a:hover .wayfinder-number, .wayfinder-links a:focus-visible .wayfinder-number { color: #895638; }
.wayfinder-links a:hover .wayfinder-arrow, .wayfinder-links a:focus-visible .wayfinder-arrow { color: #fffdf7; background: #895638; border-color: #895638; transform: translateY(2px); }
.wayfinder-links a:focus-visible { outline: 3px solid #895638; outline-offset: 3px; }
@media (max-width: 1120px) and (min-width: 961px) {
  .page-wayfinder { padding-inline: 21px; }
  .wayfinder-links a { padding-inline: 12px; }
  .wayfinder-label { font-size: 14px; }
}
@media (max-width: 960px) {
  .wayfinder-links { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .wayfinder-links > li:last-child:nth-child(odd) { grid-column: 1 / -1; }
  .wayfinder-links a { min-height: 92px; }
}
@media (max-width: 620px) {
  .page-wayfinder-wrap { padding-top: 24px; }
  .page-wayfinder { padding: 20px 17px 18px; }
  .wayfinder-heading { margin-bottom: 16px; }
  .wayfinder-links { gap: 9px; }
  .wayfinder-links a { padding: 13px 12px; grid-template-columns: minmax(0, 1fr) 22px; gap: 8px; }
  .wayfinder-label { font-size: 14px; }
  .wayfinder-arrow { width: 22px; height: 22px; font-size: 15px; }
}
@media (max-width: 420px) {
  .wayfinder-links { grid-template-columns: minmax(0, 1fr); }
  .wayfinder-links a { grid-template-columns: 24px minmax(0, 1fr) 24px; grid-template-rows: auto; align-items: center; gap: 10px; min-height: 58px; }
  .wayfinder-number { grid-column: 1; }
  .wayfinder-label { grid-column: 2; }
  .wayfinder-arrow { grid-column: 3; grid-row: 1; }
}
@media (prefers-reduced-motion: reduce) {
  .wayfinder-links a, .wayfinder-arrow { transition: none; }
  .wayfinder-links a:hover .wayfinder-arrow, .wayfinder-links a:focus-visible .wayfinder-arrow { transform: none; }
}
@media print { .page-wayfinder-wrap { display: none; } }
