:root {
  --background: #d2d1d9;
  --ink: #394175;
  --primary: #1d30aa;
  --accent: #510c1e;
  --paper: #eeedf3;
  --soft: #dfe1ef;
  --line: #9497b2;
  --section-gap: 58px;
  --duration: 600ms;
  --delay: 50ms;
}

html {
  box-sizing: border-box;
  scroll-behavior: smooth;
}

*, *::before, *::after {
  box-sizing: inherit;
}

body {
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  grid-template-rows: auto 1fr auto;
  gap: var(--section-gap);
  min-height: 100vh;
  margin: 0;
  background: var(--background);
  color: var(--ink);
  font-size: 20px;
  font-weight: 400;
  line-height: 1.8;
  overflow-wrap: anywhere;
}

button {
  font-size: inherit;
  line-height: inherit;
  color: inherit;
  cursor: pointer;
}

h1, h2, h3, p {
  margin: 0;
}

h1, h2, h3 {
  line-height: 1.2;
  color: var(--primary);
}

h1 {
  font-size: 56px;
  font-weight: 700;
  letter-spacing: -0.035em;
}

h2 {
  font-size: 28px;
  font-weight: 600;
  letter-spacing: -0.02em;
}

h3 {
  font-weight: 600;
}

em, cite {
  font-style: normal;
}

a {
  color: var(--primary);
  text-underline-offset: 0.2em;
  text-decoration-thickness: 1px;
}

:focus-visible {
  outline: 2px solid var(--accent);
  outline-offset: 3px;
}

[hidden] {
  display: none !important;
}

.guideDesk {
  width: calc(100% - 36px);
  max-width: 1026px;
  margin-inline: auto;
  padding-inline: 0;
}

.reviewBanner {
  position: static;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 12px 20px;
  min-height: 88px;
  padding-block: 10px;
  border-block-end: 1px solid var(--primary);
}

.guideDeskSkip {
  color: var(--accent);
  font-size: 16px;
  font-weight: 500;
}

.reviewName {
  display: grid;
  flex: none;
  place-items: center;
  width: auto;
  min-height: 46px;
  padding-inline: 12px;
  background: var(--primary);
  color: #fff;
  font-size: 22px;
  font-weight: 700;
  line-height: 1;
  letter-spacing: -0.02em;
  text-decoration: none;
  box-shadow: 3px 3px 0 var(--accent);
}

.site-note {
  margin-inline-start: auto;
  color: var(--accent);
  font-size: 16px;
  font-weight: 500;
}

.reviewIndexToggle {
  display: none;
  margin-inline-start: auto;
}

.guideDeskLayout {
  display: grid;
  grid-template-columns: minmax(0, 1fr);
}

.nav-area, .guideDeskLayout > main {
  grid-area: 1 / 1;
  min-width: 0;
}

.nav-area {
  z-index: 1;
  align-self: start;
  pointer-events: none;
}

.reviewIndex {
  max-width: 278px;
  padding-block: 16px 18px;
  border-block: 3px solid var(--primary) 1px solid var(--line);
  background: var(--paper);
  pointer-events: auto;
}

.reviewMenuHeading {
  display: flex;
  align-items: center;
  gap: 8px;
  padding-inline: 14px;
  margin-block-end: 12px;
  color: var(--accent);
  font-size: 16px;
  font-weight: 600;
}

.reviewIndexLinks, .nav-children, .reviewTopicsList, .reviewSlidesChoices, .reviewNotesList {
  padding: 0;
  margin: 0;
  list-style: none;
}

.reviewIndexLinks {
  padding-inline: 14px;
}

.reviewIndexDivider {
  width: 24px;
  margin: 9px 0;
  border: 0;
  border-block-start: 1px solid var(--accent);
}

.nav-tab {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 10px;
  min-height: 44px;
  padding: 8px 10px;
  border-block-end: 1px solid var(--line);
  background: transparent;
  color: var(--primary);
  font-size: 16px;
  font-weight: 500;
  line-height: 1.35;
  text-decoration: none;
}

.nav-tab[aria-current]:not([aria-current='false']) {
  border-color: var(--primary);
  background: var(--primary);
  color: #fff;
}

summary.nav-tab {
  list-style: none;
  cursor: pointer;
}

summary.nav-tab::-webkit-details-marker {
  display: none;
}

.reviewIndexLinks details[open] > summary .reviewGlyph {
  rotate: 180deg;
}

.nav-children {
  padding-block-start: 7px;
  padding-inline-start: 12px;
}

.nav-children .nav-tab {
  font-weight: 400;
}

.guideDeskLayout > main {
  display: grid;
  grid-template-columns: 278px minmax(0, 1fr);
  column-gap: 40px;
}

.home-content, .destinationReview {
  grid-column: 2;
  min-width: 0;
}

.home-content {
  display: grid;
  align-content: start;
  gap: var(--section-gap);
}

.reviewLead, .destinationReview > header {
  display: grid;
  gap: 15px;
  padding-block-start: 17px;
  border-block-start: 3px solid var(--primary);
}

.reviewLead p {
  max-width: 55ch;
}

.reviewTopics {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 14px 22px;
  padding-block: 13px;
  border-block: 1px solid var(--line);
}

.reviewTopics h2 {
  color: var(--accent);
  font-size: 18px;
}

.labeled-heading {
  display: flex;
  align-items: center;
  gap: 9px;
}

.reviewTopicsList {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.choiceCardSection {
  display: block;
  padding: 3px 9px;
  border: 1px solid var(--line);
  background: var(--paper);
  color: var(--ink);
  font-size: 16px;
  line-height: 1.4;
}

.reviewGlyph {
  display: block;
  flex: none;
  width: 20px;
  height: 20px;
  border-radius: 50%;
  background: var(--soft);
  color: var(--primary);
}

.reviewSlides {
  width: 75%;
  max-width: 100%;
  justify-self: start;
  min-width: 0;
}

.slider-head {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  align-items: center;
  gap: 8px 12px;
  margin-block-end: 12px;
}

.slide-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 2px;
}

.choiceCardAction {
  display: inline-flex;
  justify-content: center;
  align-items: center;
  gap: 7px;
  min-width: 44px;
  min-height: 44px;
  padding: 4px 6px;
  border: 0;
  background: transparent;
  color: var(--primary);
  font-size: 16px;
  font-weight: 500;
}

.slider-frame {
  display: grid;
  grid-template-columns: minmax(0, 0.9fr) minmax(0, 2fr);
  border: 1px solid var(--primary);
  background: var(--paper);
}

.reviewSlidesChoices {
  display: grid;
  align-content: start;
  gap: 4px;
  min-width: 0;
  padding: 8px;
  border-inline-end: 1px solid var(--line);
}

.reviewSlidesChoices[hidden] + .reviewSlidesStage {
  grid-column: 1 / -1;
}

.reviewSlidesChoice {
  display: block;
  width: 100%;
  min-height: 44px;
  padding: 7px 8px;
  border: 1px solid transparent;
  border-block-end-color: var(--line);
  background: transparent;
  color: var(--primary);
  font-size: 16px;
  font-weight: 500;
  line-height: 1.3;
  text-align: start;
  overflow-wrap: anywhere;
}

.reviewSlidesChoice[aria-pressed='true'] {
  border-color: var(--primary);
  background: var(--primary);
  color: #fff;
}

.reviewSlidesStage, .reviewSlidesItem {
  min-width: 0;
}

.reviewSlidesItem {
  display: grid;
  isolation: isolate;
  background: var(--primary);
}

.reviewSlidesImage {
  display: block;
  grid-area: 1 / 1;
  align-self: start;
  width: 100%;
  height: auto;
  aspect-ratio: 4 / 3;
  object-fit: cover;
  background: var(--soft);
}

.reviewSlidesCaption {
  z-index: 1;
  display: grid;
  grid-area: 1 / 1;
  grid-template-columns: minmax(0, 1fr) auto;
  align-items: end;
  align-self: end;
  gap: 8px;
  padding: 12px 14px;
  margin-block-start: 58px;
  background: #21294f;
}

.reviewSlidesCaption h3 {
  align-self: center;
  color: #fff;
  font-size: 22px;
  font-weight: 500;
}

.reviewSlidesLink {
  display: grid;
  place-items: center;
  min-width: 44px;
  min-height: 44px;
  background: var(--paper);
}

.reviewSlidesLink:focus-visible {
  outline-color: #fff;
}

.destinationList {
  display: grid;
  gap: 18px;
  padding-block-start: 16px;
  border-block-start: 1px solid var(--primary);
}

.reviewNotesList {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 24px;
}

.reviewNotesList > li {
  display: grid;
  min-width: 0;
}

.choiceCard {
  display: grid;
  grid-template-rows: auto auto 1fr;
  align-content: start;
  align-items: start;
  gap: 13px;
  min-width: 0;
  padding: 26px;
  border: 1px solid var(--line);
  border-block-start: 3px solid var(--primary);
  background: var(--paper);
  text-align: left;
  box-shadow: 4px 4px 0 var(--line);
}

.story-image {
  display: block;
  width: 100%;
  max-width: 360px;
  height: auto;
  aspect-ratio: 16 / 9;
  object-fit: cover;
  border-block-end: 1px solid var(--line);
  background: var(--soft);
}

.destinationReviewHeading {
  display: grid;
  gap: 5px;
}

.choiceCardDetails {
  color: var(--accent);
  font-size: 15px;
  font-weight: 500;
}

.choiceCard h3 {
  font-size: 22px;
  font-weight: 400;
  line-height: 1.3;
}

.choiceCard h3 a, .choiceCardSummary {
  display: -webkit-box;
  overflow: hidden;
  -webkit-box-orient: vertical;
  -webkit-line-clamp: 3;
}

.choiceCardFoot {
  padding-block-start: 10px;
  border-block-start: 1px solid var(--line);
}

.destinationReview {
  display: grid;
  align-content: start;
  gap: var(--section-gap);
  width: 100%;
  max-width: 672px;
  margin-left: auto;
  margin-right: 0;
}

.destinationReviewText {
  min-width: 0;
  line-height: 1.8;
}

.destinationReviewText > * {
  margin-block: 0 1em;
}

.destinationReviewText > :last-child {
  margin-block-end: 0;
}

.destinationReviewText h2, .destinationReviewText h3 {
  margin-block: 1.25em 0.5em;
}

.destinationReviewText h3 {
  font-size: 23px;
}

.destinationReviewText blockquote {
  padding: 14px 18px;
  margin-inline: 0;
  border-inline-start: 3px solid var(--accent);
  background: var(--paper);
}

.destinationReviewText blockquote::before {
  display: block;
  margin-block-end: 8px;
  color: var(--accent);
  content: '«';
  font-size: 40px;
  font-weight: 700;
  line-height: 1;
}

.destinationReviewText blockquote p + p {
  margin-block-start: 0.75em;
}

.destinationReviewText cite {
  display: block;
  margin-block-start: 0.5em;
  color: var(--accent);
  font-weight: 500;
}

.destinationReviewText ul, .destinationReviewText ol {
  padding-inline-start: 1.7em;
  list-style-type: decimal;
}

.destinationReviewText li + li {
  margin-block-start: 0.35em;
}

.destinationReviewText li::marker {
  color: var(--primary);
  font-weight: 600;
}

.destinationReviewText table {
  width: 100%;
  border-collapse: collapse;
  background: var(--paper);
  text-align: start;
}

.destinationReviewText caption {
  padding: 8px 0;
  caption-side: top;
  color: var(--accent);
  font-weight: 600;
  text-align: start;
}

.destinationReviewText th, .destinationReviewText td {
  padding: 9px 12px;
  border-block-end: 1px solid var(--line);
  text-align: start;
  vertical-align: top;
}

.destinationReviewText th {
  background: var(--soft);
  color: var(--primary);
  font-weight: 600;
}

.destinationReviewText figure {
  margin-inline: 0;
}

.destinationReviewText img, .destinationReviewText svg, .destinationReviewText video {
  max-width: 100%;
  height: auto;
}

.destinationReviewText pre {
  max-width: 100%;
  overflow: auto;
}

.reviewNotesRelated {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 10px 16px;
  padding-block-start: 12px;
  border-block-start: 1px solid var(--primary);
}

.reviewNotesRelated a {
  display: inline-flex;
  align-items: center;
  min-height: 44px;
  padding-inline: 8px;
  font-size: 16px;
  font-weight: 500;
}

.reviewImprint {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 6px 20px;
  padding-block: 14px 20px;
  border-block-start: 1px solid var(--primary);
  font-size: 16px;
}

.choiceCard, .reviewName, .nav-tab, .reviewSlidesChoice, .choiceCardAction, .reviewSlidesLink, .reviewNotesRelated a {
  transition: box-shadow var(--duration) ease;
}

@media (hover: hover) {
  .choiceCard:hover {
    box-shadow: 6px 6px 0 var(--primary);
  }

  .reviewName:hover, .reviewSlidesLink:hover {
    box-shadow: 3px 3px 0 var(--accent);
  }

  .reviewName:hover {
    box-shadow: 5px 5px 0 var(--accent);
  }

  .nav-tab:hover, .reviewSlidesChoice:hover, .choiceCardAction:hover, .reviewNotesRelated a:hover {
    box-shadow: inset 0 -2px 0 var(--accent);
  }
}

@keyframes enter {
  from {
    opacity: 0;
  }

  to {
    opacity: 1;
  }
}

.guideDeskInView {
  animation: enter var(--duration) ease var(--delay) both;
}

.guideDeskInView:focus-within {
  animation: none;
}

@media (max-width: 980px) {
  .reviewSlides {
    width: 100%;
  }
}

@media (max-width: 900px) {
  .reviewNotesList {
    grid-template-columns: minmax(0, 1fr);
  }
}

@media (max-width: 800px) {
  .slider-frame {
    grid-template-columns: minmax(0, 1fr);
  }

  .reviewSlidesChoices {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    border-inline-end: 0;
    border-block-end: 1px solid var(--line);
  }
}

@media (max-width: 728px) {
  :root {
    --section-gap: 38px;
  }

  body {
    font-size: 18px;
  }

  h1 {
    font-size: clamp(30px, 7vw, 38px);
  }

  h2 {
    font-size: 26px;
  }

  .reviewBanner {
    min-height: 64px;
    gap: 8px 12px;
  }

  .site-note {
    display: none;
  }

  .reviewIndexToggle {
    display: inline-flex;
  }

  .guideDeskLayout {
    align-content: start;
    gap: var(--section-gap);
  }

  .nav-area, .guideDeskLayout > main {
    grid-area: auto;
  }

  .reviewMenu {
    position: static;
    width: 100%;
    height: auto;
    margin: 0;
    padding: 0;
    border: 0;
    background: transparent;
    color: inherit;
  }

  .reviewIndex {
    max-width: 100%;
  }

  .nav-area.menu-open {
    animation: enter var(--duration) ease var(--delay) both;
  }

  .nav-area.menu-open:focus-within {
    animation: none;
  }

  .guideDeskLayout > main {
    grid-template-columns: minmax(0, 1fr);
  }

  .home-content, .destinationReview {
    grid-column: 1;
  }

  .choiceCard {
    padding: 20px;
  }

  .choiceCardDetails {
    font-size: 16px;
  }
}

@media (max-width: 480px) {
  .guideDesk {
    width: calc(100% - 36px);
  }
}

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }

  .guideDeskInView, .nav-area.menu-open {
    animation: none;
  }

  .choiceCard, .reviewName, .nav-tab, .reviewSlidesChoice, .choiceCardAction, .reviewSlidesLink, .reviewNotesRelated a {
    transition: none;
  }
}
