.routeBanner, .routeBook, .routeCredits, .routeBookSkip {
  max-width: 1150px;
}
.routeBook {
  margin-block: clamp(24px, 2.8vw, 40px) clamp(36px, 4vw, 56px);
}
.routeBookLayout {
  gap: clamp(26px, 3.2vw, 46px);
}
.routeBrief {
  gap: clamp(10px, 1.2vw, 16px);
}
.routeBrief h1, .routeGuideStoryHead h1 {
  font-size: clamp(2rem, 1.5rem + 2.6vw, 3.5rem);
  line-height: 1.12;
  text-wrap: balance;
  hyphens: auto;
}
.routeSubjects, .routeLibrarySection {
  gap: clamp(18px, 2vw, 28px);
  padding-top: clamp(18px, 2vw, 28px);
}
.routeMenuHeading {
  font-size: 26px;
  font-weight: 600;
  line-height: 1.2;
}
.mainRoute {
  width: 100%;
  margin-inline: 0;
}
.routePanelsItem > img, .routePanelsCaption {
  grid-area: auto;
}
.routePanelsItem {
  flex-basis: 72%;
  align-content: start;
  grid-template-rows: auto 1fr;
}
.routePanelsItem > img {
  height: auto;
  aspect-ratio: 3 / 2;
  border-radius: 6px 6px 0 0;
}
.routePanelsCaption {
  align-self: stretch;
  align-content: start;
  gap: 12px;
}
.routePanelsCaption .routeChoiceDetails {
  color: #eee3f3;
}
.routeChoice {
  grid-template-columns: minmax(145px, 30%) minmax(0, 1fr);
  gap: clamp(16px, 2vw, 26px);
  padding: clamp(16px, 2vw, 28px);
}
.routeChoiceTitle, .routeChoiceSummary {
  display: block;
  overflow: visible;
}
.post-text {
  gap: 12px;
  text-align: start;
}
.routeChoiceFoot {
  justify-content: flex-start;
}
.routeChoiceImage, .routeGuideCover {
  width: 100%;
  max-width: 100%;
  height: auto;
  aspect-ratio: 3 / 2;
}
.routeChoiceImage {
  margin-inline: 0;
}
.routeGuideCover {
  border-radius: 5px;
}
.routeSubjectsList a {
  text-decoration: none;
}
.routeSubjectsList a:hover {
  text-decoration: underline;
  text-underline-offset: 3px;
}
.routeSubjectsIntro {
  max-width: 64ch;
}
.routeGuideLayout {
  display: block;
}
.routeGuide {
  max-width: 46rem;
  margin-inline: auto;
  gap: clamp(18px, 2.3vw, 30px);
}
.routeGuideStoryHead {
  gap: clamp(12px, 1.4vw, 18px);
  padding-bottom: clamp(14px, 1.6vw, 22px);
}
.journeyNotes {
  display: block;
  width: 100%;
  max-width: none;
  padding: 0;
}
.routeGuideContents > summary {
  padding: 12px 16px;
  color: #453880;
  font-size: 20px;
  font-weight: 600;
  line-height: 1.3;
  cursor: pointer;
}
.routeGuideContents > summary:focus-visible {
  outline-offset: -3px;
}
.routeGuideContents[open] > summary {
  padding-bottom: 8px;
}
.journeyNotes ul, .routeChoiceStoryFoot ul {
  margin: 0;
  padding-inline-start: 1.15em;
}
.journeyNotes li + li, .routeChoiceStoryFoot li + li {
  margin-top: .45em;
}
.journeyNotes a, .routeChoiceStoryFoot a {
  text-underline-offset: 3px;
}
.journeyNotes ul {
  margin: 2px 16px 16px;
  font-size: 16px;
}
.routeChoiceStoryFoot {
  display: grid;
  gap: 12px;
}
.routeChoiceStoryFoot h2 {
  color: #453880;
  font-size: 24px;
}
.routeGuideText h2[id] {
  scroll-margin-top: 110px;
}
.routeGuideText h2 {
  margin-block: 1.4em .55em;
}
.routeGuideText h3 {
  margin-block: 1.2em .45em;
}
.routeGuideText .routeGuideTable {
  max-width: 100%;
  overflow-x: auto;
}
.routeGuideText .routeGuideTable table {
  min-width: 29rem;
}
@media (min-width: 1150px) {
  .routeGuide {
    max-width: none;
    grid-template-columns: minmax(0, 1fr) clamp(195px, 17vw, 220px);
    column-gap: 24px;
    align-items: start;
  }
  .routeGuide > :not(.journeyNotes) {
    grid-column: 1;
  }
  .journeyNotes {
    grid-column: 2;
    grid-row: 1 / span 3;
  }
}
@media (min-width: 791px) and (max-width: 1000px) {
  .routeDirectoryRow {
    width: 156px;
  }
  .routeBookLayout {
    margin-left: 178px;
  }
}
@media (max-width: 790px) {
  .routeGuideText h2[id] { scroll-margin-top: 85px; }
}
@media (max-width: 639px) {
  .routeChoice { grid-template-columns: minmax(0, 1fr); }
}
@media (max-width: 600px) {
  .routePanelsItem { flex-basis: 100%; }
}
@media (max-width: 540px) {
  .routeGuideText .routeGuideTable { overflow: visible; }
  .routeGuideText .routeGuideTable table {
    display: block;
    min-width: 0;
    margin-block: 16px;
  }
  .routeGuideText .routeGuideTable thead {
    position: absolute;
    width: 1px;
    height: 1px;
    overflow: hidden;
    clip-path: inset(50%);
    white-space: nowrap;
  }
  .routeGuideText .routeGuideTable tbody, .routeGuideText .routeGuideTable tr, .routeGuideText .routeGuideTable td {
    display: block;
  }
  .routeGuideText .routeGuideTable tr {
    padding-block: 12px;
    border-bottom: 1px solid #d9cce3;
  }
  .routeGuideText .routeGuideTable td {
    padding: 4px 0;
    border: 0;
  }
  .routeGuideText .routeGuideTable td::before {
    display: block;
    content: attr(data-label);
    content: attr(data-label) / "";
    color: #453880;
    font-weight: 600;
  }
}
