/* True Travel destination explorer. Deliberately isolated from the site header. */
#tt-destinations-explorer {
  --tt-dest-forest: #0b3d32;
  --tt-dest-ivory: #fbf8f1;
  --tt-dest-gold: #dcb478;
  --tt-dest-ink: #173b32;
  --tt-dest-muted: #52695f;
  --tt-dest-line: #dbe1d8;
  position: fixed;
  inset: 96px 16px auto;
  width: min(1100px, calc(100% - 32px));
  max-width: none;
  max-height: calc(100vh - 112px);
  max-height: calc(100dvh - 112px);
  margin: 0 auto;
  padding: 0;
  overflow: hidden;
  border: 1px solid #d5dfd7;
  border-radius: 24px;
  background: var(--tt-dest-ivory);
  color: var(--tt-dest-ink);
  font-family: inherit;
  font-size: 16px;
  line-height: 1.65;
  text-align: start;
  box-shadow: 0 24px 90px rgb(0 27 20 / 22%);
  color-scheme: light;
  overscroll-behavior: contain;
}

#tt-destinations-explorer:not([open]),
#tt-destinations-explorer[hidden],
#tt-destinations-explorer [hidden] {
  display: none !important;
}

#tt-destinations-explorer[open] { display: block; }

#tt-destinations-explorer::backdrop {
  background: rgb(4 25 19 / 48%);
  backdrop-filter: blur(5px);
  -webkit-backdrop-filter: blur(5px);
}

#tt-destinations-explorer *,
#tt-destinations-explorer *::before,
#tt-destinations-explorer *::after { box-sizing: border-box; }

#tt-destinations-explorer :where(h2, h3, h4, p, span, strong, small, a, button) {
  font-family: inherit;
  color: inherit;
}

#tt-destinations-explorer :where(h2, h3, h4, p) { margin: 0; }

#tt-destinations-explorer :where(button, a) {
  -webkit-tap-highlight-color: transparent;
  touch-action: manipulation;
}

#tt-destinations-explorer button {
  margin: 0;
  font: inherit;
  text-transform: none;
  letter-spacing: normal;
  cursor: pointer;
}

#tt-destinations-explorer a { text-decoration: none; }

#tt-destinations-explorer :where(button, a, [tabindex]):focus-visible {
  outline: 3px solid #12634f;
  outline-offset: 4px;
}

#tt-destinations-explorer .tt-dest__shell {
  display: flex;
  flex-direction: column;
  max-height: calc(100vh - 112px);
  max-height: calc(100dvh - 112px);
  min-height: 0;
}

#tt-destinations-explorer .tt-dest__topbar {
  display: flex;
  flex: 0 0 auto;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  padding: 21px 30px;
  border-bottom: 1px solid var(--tt-dest-line);
  color: var(--tt-dest-forest);
}

#tt-destinations-explorer .tt-dest__brand { min-width: 0; }

#tt-destinations-explorer .tt-dest__brand :where(small, span, .tt-dest__eyebrow) {
  display: block;
  margin-bottom: 3px;
  color: var(--tt-dest-muted);
  font-size: 11px;
  font-weight: 700;
  line-height: 1.6;
}

#tt-destinations-explorer .tt-dest__brand h2 {
  color: var(--tt-dest-forest);
  font-size: clamp(19px, 2.4vw, 25px);
  font-weight: 800;
  line-height: 1.5;
}

#tt-destinations-explorer .tt-dest__close {
  display: inline-flex;
  flex: 0 0 44px;
  align-items: center;
  justify-content: center;
  width: 44px;
  height: 44px;
  padding: 10px;
  border: 1px solid #cdd8cf;
  border-radius: 50%;
  background: transparent;
  color: var(--tt-dest-forest);
  font-size: 25px;
  line-height: 1;
  transition: background-color 160ms ease, border-color 160ms ease;
}

#tt-destinations-explorer .tt-dest__close:hover {
  border-color: #9cad9f;
  background: #edf0e8;
}

#tt-destinations-explorer .tt-dest__close svg { width: 20px; height: 20px; }

#tt-destinations-explorer .tt-dest__layout {
  display: grid;
  grid-template-columns: minmax(0, 0.82fr) minmax(0, 1.18fr);
  grid-template-areas: "visual content";
  flex: 1 1 auto;
  min-height: 0;
  overflow: auto;
  direction: ltr;
  overscroll-behavior: contain;
  scrollbar-width: thin;
  scrollbar-color: #829b8b #eef0e9;
}

#tt-destinations-explorer:dir(ltr) .tt-dest__layout {
  grid-template-columns: minmax(0, 1.18fr) minmax(0, 0.82fr);
  grid-template-areas: "content visual";
}

#tt-destinations-explorer:dir(rtl) :where(.tt-dest__visual, .tt-dest__content) { direction: rtl; }
#tt-destinations-explorer:dir(ltr) :where(.tt-dest__visual, .tt-dest__content) { direction: ltr; }

#tt-destinations-explorer .tt-dest__visual {
  position: relative;
  isolation: isolate;
  display: flex;
  grid-area: visual;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  min-width: 0;
  min-height: 440px;
  padding: 30px 24px;
  overflow: hidden;
  background: radial-gradient(ellipse at 50% 43%, #185543 0%, #0b3d32 62%, #083328 100%);
  color: #fbf8f1;
  text-align: center;
}

#tt-destinations-explorer .tt-dest__visual::before {
  position: absolute;
  z-index: -1;
  inset: 0;
  border-inline-end: 1px solid rgb(255 255 255 / 8%);
  background-image: radial-gradient(rgb(232 222 195 / 15%) 0.7px, transparent 0.7px);
  background-size: 23px 23px;
  content: "";
  pointer-events: none;
}

#tt-destinations-explorer .tt-dest__visual-kicker {
  color: #e4cba3;
  font-size: 10px;
  font-weight: 600;
  line-height: 1.8;
  letter-spacing: 2px;
  direction: ltr;
}

#tt-destinations-explorer .tt-dest__globe-wrap {
  position: relative;
  width: min(100%, 340px);
  aspect-ratio: 1;
  margin: 20px auto 10px;
  flex-shrink: 0;
}

#tt-destinations-explorer [data-tt-globe] {
  display: block;
  width: 100%;
  height: 100%;
  max-width: 100%;
  background: transparent;
}

#tt-destinations-explorer .tt-dest__orbit {
  position: absolute;
  inset: 5%;
  border: 1px solid rgb(220 180 120 / 24%);
  border-radius: 50%;
  transform: rotate(-25deg) scale(1.13, 0.48);
  pointer-events: none;
}

#tt-destinations-explorer .tt-dest__globe-caption {
  color: #fbf8f1;
  font-size: clamp(22px, 3vw, 29px);
  font-weight: 800;
  line-height: 1.5;
}

#tt-destinations-explorer .tt-dest__visual-note {
  max-width: 290px;
  margin-top: 8px;
  color: #d3e1d7;
  font-size: 12px;
  line-height: 1.9;
}

#tt-destinations-explorer .tt-dest__content {
  grid-area: content;
  min-width: 0;
  padding: 20px 28px 28px;
  color: var(--tt-dest-ink);
}

#tt-destinations-explorer .tt-dest__breadcrumbs {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 6px 10px;
  min-height: 44px;
  margin-bottom: 17px;
  color: var(--tt-dest-muted);
  font-size: 12px;
  line-height: 1.5;
}

#tt-destinations-explorer .tt-dest__breadcrumbs button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
  min-width: 44px;
  min-height: 44px;
  padding: 8px 10px;
  border: 0;
  border-radius: 8px;
  background: transparent;
  color: var(--tt-dest-forest);
  font-size: 12px;
  font-weight: 700;
}

#tt-destinations-explorer .tt-dest__breadcrumbs button:hover { background: #edf0e7; }
#tt-destinations-explorer .tt-dest__breadcrumbs svg { width: 18px; height: 18px; flex-shrink: 0; }
#tt-destinations-explorer [data-tt-current] { color: var(--tt-dest-muted); }
#tt-destinations-explorer .tt-dest__stage { min-width: 0; }
#tt-destinations-explorer [data-tt-view] { min-width: 0; }
#tt-destinations-explorer [data-tt-view]:focus { outline: none; }

#tt-destinations-explorer .tt-dest__view-heading { margin-bottom: 21px; }

#tt-destinations-explorer .tt-dest__view-heading h3 {
  color: var(--tt-dest-forest);
  font-size: clamp(21px, 2.5vw, 27px);
  font-weight: 800;
  line-height: 1.5;
}

#tt-destinations-explorer .tt-dest__view-heading p {
  margin-top: 5px;
  color: var(--tt-dest-muted);
  font-size: 13px;
  line-height: 1.9;
}

#tt-destinations-explorer .tt-dest__grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 10px;
}

#tt-destinations-explorer .tt-dest__card {
  display: flex;
  align-items: center;
  gap: 11px;
  min-width: 0;
  min-height: 78px;
  width: 100%;
  padding: 13px 12px;
  border: 1px solid var(--tt-dest-line);
  border-radius: 13px;
  background: #fffefa;
  color: var(--tt-dest-ink);
  text-align: start;
  text-decoration: none;
  box-shadow: none;
  transition: border-color 180ms ease, background-color 180ms ease, transform 180ms ease;
}

#tt-destinations-explorer .tt-dest__card:hover {
  border-color: #adbbad;
  background: #f0f3ea;
  color: var(--tt-dest-forest);
  transform: translateY(-2px);
}

#tt-destinations-explorer .tt-dest__card:active { transform: translateY(0); }

#tt-destinations-explorer .tt-dest__card-icon {
  display: inline-flex;
  flex: 0 0 35px;
  align-items: center;
  justify-content: center;
  width: 35px;
  min-height: 35px;
  color: #466b58;
  font-size: 25px;
  line-height: 1;
}

#tt-destinations-explorer .tt-dest__card-icon svg { display: block; width: 30px; height: 30px; }
#tt-destinations-explorer .tt-dest__card-copy { display: block; flex: 1 1 auto; min-width: 0; }

#tt-destinations-explorer .tt-dest__card-copy strong {
  display: block;
  color: var(--tt-dest-forest);
  font-size: 15px;
  font-weight: 800;
  line-height: 1.7;
  overflow-wrap: anywhere;
}

#tt-destinations-explorer .tt-dest__card-copy small {
  display: block;
  margin-top: 2px;
  color: var(--tt-dest-muted);
  font-size: 11px;
  font-weight: 500;
  line-height: 1.7;
  overflow-wrap: anywhere;
}

#tt-destinations-explorer .tt-dest__card-arrow {
  display: inline-flex;
  flex: 0 0 17px;
  align-items: center;
  justify-content: center;
  color: #496c59;
  font-size: 17px;
}

#tt-destinations-explorer .tt-dest__card-arrow svg { width: 17px; height: 17px; }

#tt-destinations-explorer .tt-dest__country-code { font-size: 13px; font-weight: 700; letter-spacing: 1px; direction: ltr; }
#tt-destinations-explorer:dir(rtl) .tt-dest__card > .tt-dest__card-arrow,
#tt-destinations-explorer:dir(rtl) .tt-dest__all > .tt-dest__card-arrow,
#tt-destinations-explorer:dir(ltr) .tt-dest__back > .tt-dest__card-arrow { transform: scaleX(-1); }

#tt-destinations-explorer .tt-dest__empty {
  padding: 27px 23px;
  border: 1px dashed #becbbb;
  border-radius: 14px;
  background: #f2f3eb;
  color: var(--tt-dest-muted);
  font-size: 14px;
  line-height: 1.95;
}

#tt-destinations-explorer .tt-dest__empty :where(h3, h4, strong) { color: var(--tt-dest-forest); }
#tt-destinations-explorer .tt-dest__empty p + p { margin-top: 10px; }

#tt-destinations-explorer .tt-dest__footer {
  display: flex;
  flex: 0 0 auto;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 6px 16px;
  min-height: 66px;
  padding: 9px 0;
  margin-top: 20px;
  border-top: 1px solid var(--tt-dest-line);
  background: #fbf8f1;
  color: var(--tt-dest-forest);
}

#tt-destinations-explorer :where(.tt-dest__all, .tt-dest__guide) {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  min-height: 44px;
  padding: 9px 4px;
  color: var(--tt-dest-forest);
  font-size: 13px;
  font-weight: 700;
  line-height: 1.65;
  text-underline-offset: 5px;
}

#tt-destinations-explorer :where(.tt-dest__all, .tt-dest__guide):hover { text-decoration: underline; }
#tt-destinations-explorer :where(.tt-dest__all, .tt-dest__guide) svg { width: 17px; height: 17px; }
#tt-destinations-explorer .is-entering { animation: tt-dest-reveal 250ms ease both; }

@keyframes tt-dest-reveal {
  from { opacity: 0; transform: translateY(7px); }
  to { opacity: 1; transform: translateY(0); }
}

/* Keep the atlas visible while the desktop destination list scrolls. */
@media (min-width: 721px) {
  #tt-destinations-explorer .tt-dest__layout {
    grid-template-rows: minmax(0, 1fr);
    overflow: hidden;
  }

  #tt-destinations-explorer .tt-dest__content {
    min-height: 0;
    overflow-y: auto;
    overscroll-behavior: contain;
    scrollbar-width: thin;
    scrollbar-color: #829b8b #eef0e9;
  }

  #tt-destinations-explorer .tt-dest__visual {
    min-height: 0;
    padding-block: 20px;
  }

  #tt-destinations-explorer .tt-dest__globe-wrap {
    width: min(100%, 340px, max(44px, calc(100vh - 410px)));
    width: min(100%, 340px, max(44px, calc(100dvh - 410px)));
    margin-block: 10px;
  }
}

@media (max-width: 900px) and (min-width: 721px) {
  #tt-destinations-explorer .tt-dest__content { padding: 18px 20px 24px; }
  #tt-destinations-explorer .tt-dest__visual { padding: 25px 16px; }
  #tt-destinations-explorer .tt-dest__card { gap: 7px; padding: 12px 9px; }
  #tt-destinations-explorer .tt-dest__card-icon { flex-basis: 27px; width: 27px; font-size: 22px; }
  #tt-destinations-explorer .tt-dest__card-icon svg { width: 25px; height: 25px; }
  #tt-destinations-explorer .tt-dest__card-copy strong { font-size: 13px; }
}

@media (max-width: 720px) {
  #tt-destinations-explorer {
    inset: 10px 10px auto;
    width: calc(100% - 20px);
    max-height: calc(100vh - 20px);
    max-height: calc(100dvh - 20px);
    border-radius: 18px;
  }

  #tt-destinations-explorer .tt-dest__shell {
    max-height: calc(100vh - 20px);
    max-height: calc(100dvh - 20px);
  }

  #tt-destinations-explorer .tt-dest__topbar { gap: 10px; padding: 15px 18px; }
  #tt-destinations-explorer .tt-dest__brand h2 { font-size: 19px; }
  #tt-destinations-explorer .tt-dest__brand :where(small, .tt-dest__eyebrow) { font-size: 10px; }

  #tt-destinations-explorer .tt-dest__layout,
  #tt-destinations-explorer:dir(ltr) .tt-dest__layout {
    grid-template-columns: minmax(0, 1fr);
    grid-template-areas: "visual" "content";
    align-content: start;
  }

  #tt-destinations-explorer .tt-dest__visual {
    display: grid;
    grid-template-columns: minmax(0, 1fr) 122px;
    grid-template-rows: auto auto auto;
    align-content: center;
    align-items: center;
    gap: 3px 12px;
    min-height: 158px;
    padding: 16px 20px;
    text-align: start;
  }

  #tt-destinations-explorer .tt-dest__visual-kicker {
    grid-column: 1;
    grid-row: 1;
    align-self: end;
    font-size: 8px;
    letter-spacing: 1.1px;
    text-align: start;
  }

  #tt-destinations-explorer .tt-dest__globe-wrap {
    grid-column: 2;
    grid-row: 1 / 4;
    width: 122px;
    margin: 0;
  }

  #tt-destinations-explorer .tt-dest__globe-caption {
    grid-column: 1;
    grid-row: 2;
    margin: 0;
    font-size: 21px;
    line-height: 1.55;
  }

  #tt-destinations-explorer .tt-dest__visual-note {
    grid-column: 1;
    grid-row: 3;
    align-self: start;
    margin: 0;
    font-size: 10px;
    line-height: 1.8;
  }

  #tt-destinations-explorer .tt-dest__content { padding: 13px 18px 23px; }
  #tt-destinations-explorer .tt-dest__breadcrumbs { margin-bottom: 12px; }
  #tt-destinations-explorer .tt-dest__view-heading { margin-bottom: 16px; }
  #tt-destinations-explorer .tt-dest__view-heading h3 { font-size: 23px; }
  #tt-destinations-explorer .tt-dest__view-heading p { font-size: 12px; }
  #tt-destinations-explorer .tt-dest__grid { gap: 8px; }
  #tt-destinations-explorer .tt-dest__card { gap: 7px; min-height: 77px; padding: 11px 9px; }
  #tt-destinations-explorer .tt-dest__card-icon { flex-basis: 25px; width: 25px; font-size: 22px; }
  #tt-destinations-explorer .tt-dest__card-icon svg { width: 24px; height: 24px; }
  #tt-destinations-explorer .tt-dest__country-code { font-size: 12px; }
  #tt-destinations-explorer .tt-dest__card-copy strong { font-size: 13px; }
  #tt-destinations-explorer .tt-dest__card-copy small { font-size: 10.5px; }
  #tt-destinations-explorer .tt-dest__card-arrow { flex-basis: 12px; font-size: 14px; }
  #tt-destinations-explorer .tt-dest__card-arrow svg { width: 12px; height: 12px; }
  #tt-destinations-explorer .tt-dest__footer { padding: 8px 18px; gap: 4px 10px; }
  #tt-destinations-explorer :where(.tt-dest__all, .tt-dest__guide) { font-size: 12px; }
}

@media (max-width: 359px) {
  #tt-destinations-explorer .tt-dest__grid { grid-template-columns: minmax(0, 1fr); }
  #tt-destinations-explorer .tt-dest__card-copy strong { font-size: 14px; }
  #tt-destinations-explorer .tt-dest__card-copy small { font-size: 11px; }
  #tt-destinations-explorer .tt-dest__visual { grid-template-columns: minmax(0, 1fr) 95px; padding-inline: 15px; }
  #tt-destinations-explorer .tt-dest__globe-wrap { width: 95px; }
  #tt-destinations-explorer .tt-dest__globe-caption { font-size: 19px; }
  #tt-destinations-explorer .tt-dest__brand h2 { font-size: 17px; }
}

@media (max-height: 560px) and (min-width: 721px) {
  #tt-destinations-explorer { inset-block-start: 12px; max-height: calc(100vh - 24px); max-height: calc(100dvh - 24px); }
  #tt-destinations-explorer .tt-dest__shell { max-height: calc(100vh - 24px); max-height: calc(100dvh - 24px); }
  #tt-destinations-explorer .tt-dest__topbar { padding-block: 12px; }
  #tt-destinations-explorer .tt-dest__visual { min-height: 0; padding: 12px 16px; }
  #tt-destinations-explorer .tt-dest__globe-wrap {
    width: min(100%, 300px, max(44px, calc(100vh - 285px)));
    width: min(100%, 300px, max(44px, calc(100dvh - 285px)));
    margin-block: 6px;
  }
  #tt-destinations-explorer .tt-dest__visual-kicker { font-size: 9px; line-height: 1.4; }
  #tt-destinations-explorer .tt-dest__globe-caption { font-size: 22px; line-height: 1.4; }
  #tt-destinations-explorer .tt-dest__visual-note { margin-top: 6px; font-size: 11px; line-height: 1.6; }
}

@media (prefers-reduced-motion: reduce) {
  #tt-destinations-explorer *,
  #tt-destinations-explorer *::before,
  #tt-destinations-explorer *::after {
    animation: none !important;
    transition: none !important;
    scroll-behavior: auto !important;
  }

  #tt-destinations-explorer .tt-dest__card:hover { transform: none; }
}

@media (forced-colors: active) {
  #tt-destinations-explorer { border: 2px solid CanvasText; }
  #tt-destinations-explorer .tt-dest__visual { background: Canvas; color: CanvasText; }
  #tt-destinations-explorer .tt-dest__visual::before,
  #tt-destinations-explorer .tt-dest__orbit { display: none; }
  #tt-destinations-explorer .tt-dest__card,
  #tt-destinations-explorer .tt-dest__close { border: 1px solid ButtonText; }
  #tt-destinations-explorer :where(button, a, [tabindex]):focus-visible { outline-color: Highlight; }
}
