:root {
  --paper: #ffffff;
  --ink: #050505;
  --shadow: #000000;
  --cream: #ffffff;
  --butter: #b8ffca;
  --hero-green-gradient: linear-gradient(145deg, #7dff98 0%, #b8ffca 55%, #effff3 100%);
  --country-flag-gradient: linear-gradient(120deg, #7dff98 0%, #b8ffca 52%, #effff3 100%);
  --country-outline: rgba(18, 24, 38, 0.2);
  --country-glow: rgba(125, 255, 152, 0.34);
  --country-tint: rgba(210, 255, 223, 0.58);
  --theme-transition: 640ms cubic-bezier(0.22, 1, 0.36, 1);
  --tomato: #000000;
  --mint: #8aff9f;
  --sky: #d9ffe1;
  --outline: 3px solid #050505;
  --script-font-family: "Coolvetica", "Creato Display", sans-serif;
}

@font-face {
  font-family: "Coolvetica";
  src:
    url("./fonts/CreatoDisplay-Regular.otf") format("opentype"),
    url("/fonts/CreatoDisplay-Regular.otf") format("opentype");
  font-weight: 400;
  font-style: normal;
  font-display: swap;
}

@font-face {
  font-family: "Coolvetica";
  src:
    url("./fonts/CreatoDisplay-RegularItalic.otf") format("opentype"),
    url("/fonts/CreatoDisplay-RegularItalic.otf") format("opentype");
  font-weight: 400;
  font-style: italic;
  font-display: swap;
}

@font-face {
  font-family: "Coolvetica";
  src:
    url("./fonts/CreatoDisplay-Bold.otf") format("opentype"),
    url("/fonts/CreatoDisplay-Bold.otf") format("opentype");
  font-weight: 700;
  font-style: normal;
  font-display: swap;
}

@font-face {
  font-family: "Coolvetica";
  src:
    url("./fonts/CreatoDisplay-BoldItalic.otf") format("opentype"),
    url("/fonts/CreatoDisplay-BoldItalic.otf") format("opentype");
  font-weight: 700;
  font-style: italic;
  font-display: swap;
}

@font-face {
  font-family: "Quentin";
  src:
    url("./fonts/quentin.otf") format("opentype"),
    url("/fonts/quentin.otf") format("opentype");
  font-weight: 400;
  font-style: normal;
  font-display: swap;
}

@font-face {
  font-family: "Cocogoose Pro";
  src:
    url("./fonts/cocogoose-pro-regular-trial.ttf") format("truetype"),
    url("/fonts/cocogoose-pro-regular-trial.ttf") format("truetype");
  font-weight: 400;
  font-style: normal;
  font-display: swap;
}

@font-face {
  font-family: "Cocogoose Pro";
  src:
    url("./fonts/cocogoose-pro-bold-trial.ttf") format("truetype"),
    url("/fonts/cocogoose-pro-bold-trial.ttf") format("truetype");
  font-weight: 700;
  font-style: normal;
  font-display: swap;
}

@font-face {
  font-family: "Sakire";
  src:
    url("./fonts/sakire.ttf") format("truetype"),
    url("/fonts/sakire.ttf") format("truetype");
  font-weight: 400;
  font-style: normal;
  font-display: swap;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

html.instant-scroll {
  scroll-behavior: auto !important;
}

body {
  margin: 0;
  font-family: "Coolvetica", sans-serif;
  font-style: normal;
  font-weight: 400;
  color: var(--ink);
  line-height: 1.55;
  text-rendering: optimizeLegibility;
  background:
    radial-gradient(circle at 12% 14%, rgba(57, 255, 99, 0.28), transparent 25%),
    radial-gradient(circle at 84% 10%, rgba(138, 255, 159, 0.3), transparent 22%),
    var(--paper);
  transition: background var(--theme-transition), color 280ms ease;
}

body.country-themed {
  --outline: 1.25px solid var(--country-outline);
  --surface-box-shadow:
    0 20px 42px rgba(15, 23, 42, 0.16),
    inset 0 1px 0 rgba(255, 255, 255, 0.5);
}

.skip-link {
  position: absolute;
  left: 0.8rem;
  top: -120px;
  z-index: 100;
  padding: 0.55rem 0.9rem;
  border: var(--outline);
  border-radius: 999px;
  background: #fff;
  color: var(--ink);
  box-shadow: 4px 4px 0 var(--shadow);
  text-decoration: none;
  font-style: normal;
  font-weight: 700;
}

.skip-link:focus-visible {
  top: 0.8rem;
}

h1,
h2,
h3 {
  font-family: "Coolvetica", sans-serif;
  font-style: normal;
  font-weight: 400;
  letter-spacing: 0.02em;
  line-height: 1.04;
  margin-top: 0;
}

.hero {
  position: fixed;
  inset: 0;
  z-index: 30;
  width: 100%;
  min-height: 100svh;
  height: 100svh;
  padding: 2rem 6vw 3rem;
  overflow: hidden;
  isolation: isolate;
  background: var(--wexplore-liquid-gradient);
  background-size: 150% 150%;
  border-bottom: var(--outline);
  display: grid;
  grid-template-rows: auto 1fr auto;
  gap: 1.8rem;
  place-items: center;
  text-align: center;
  transform: translateY(calc(var(--hero-progress, 0) * -104%));
  opacity: calc(1 - (var(--hero-progress, 0) * 1.05));
  transition: transform 120ms linear, opacity 120ms linear;
  will-change: transform, opacity;
}

.hero::before,
.hero::after {
  content: "";
  position: absolute;
  inset: auto;
  width: 58vw;
  height: 58vw;
  border-radius: 50%;
  filter: blur(78px);
  opacity: 0.72;
  z-index: 0;
  pointer-events: none;
  mix-blend-mode: normal;
  will-change: transform;
}

.hero::before {
  top: -10%;
  left: -10%;
  background:
    radial-gradient(circle, rgba(223, 255, 232, 0.98) 0%, rgba(138, 255, 159, 0.82) 34%, rgba(57, 255, 99, 0.54) 58%, rgba(57, 255, 99, 0) 78%);
  transform: var(--hero-blob-a-transform);
}

.hero::after {
  right: -12%;
  bottom: -18%;
  background:
    radial-gradient(circle, rgba(88, 255, 126, 0.92) 0%, rgba(57, 255, 99, 0.72) 34%, rgba(204, 255, 215, 0.48) 56%, rgba(204, 255, 215, 0) 78%);
  transform: var(--hero-blob-b-transform);
}

.launch-content {
  max-width: 980px;
  width: min(980px, 100%);
  grid-row: 2;
  align-self: center;
  justify-self: center;
  position: relative;
  z-index: 1;
}

.launch-content h1 {
  margin: 0;
  font-size: clamp(4.2rem, 16vw, 12.5rem);
  letter-spacing: 0.01em;
}

.launch-slogan {
  margin: 3rem auto 0;
  max-width: 30ch;
  font-family: var(--script-font-family);
  font-style: normal;
  font-weight: 700;
  font-size: clamp(1.45rem, 3.4vw, 2.9rem);
  line-height: 1.22;
}

body.intro-dismissed .hero {
  --hero-progress: 1;
  transform: translateY(-112%);
  opacity: 0;
  pointer-events: none;
  visibility: hidden;
}

.intro-scroll-track {
  height: 100svh;
}

body.intro-dismissed .intro-scroll-track {
  display: block;
  height: 100svh;
  min-height: 100svh;
  pointer-events: none;
}

.site-nav {
  position: sticky;
  top: 0;
  z-index: 1800;
<<<<<<< HEAD
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
=======
  display: grid;
  grid-template-columns: auto minmax(0, 1fr) auto;
>>>>>>> refs/rewritten/onto
  align-items: center;
  gap: 1rem;
  padding: 0.8rem 6vw;
  border-bottom: var(--outline);
  background: var(--nav-background, rgba(255, 255, 255, 0.94));
  backdrop-filter: blur(6px);
  isolation: isolate;
  transition: background var(--theme-transition), border-color var(--theme-transition), box-shadow 320ms ease;
}

.nav-search-slot {
  min-width: 0;
  width: min(100%, 760px);
  justify-self: center;
}

.nav-search-slot[hidden] {
  display: none !important;
}

.nav-tools {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
<<<<<<< HEAD
  justify-content: center;
=======
  justify-content: flex-end;
  justify-self: end;
>>>>>>> refs/rewritten/onto
  gap: 0.7rem;
}

body.search-result-active .nav-search-slot:not([hidden]) {
  display: flex;
}

body.search-result-active .nav-search-slot .destination-search {
  width: 100%;
  max-width: 760px;
  margin: 0;
  z-index: 1820;
}

body.search-result-active .nav-search-slot .destination-search-row {
  justify-content: flex-start;
}

body.search-result-active .nav-search-slot .destination-search input {
  min-height: 52px;
  flex: 1 1 auto;
}

body.search-result-active .nav-search-slot .destination-search button {
  min-height: 52px;
  min-width: 118px;
}

.nav-links {
  display: flex;
  gap: 0.7rem;
  flex-wrap: wrap;
  justify-content: center;
}

.brand {
  text-decoration: none;
  color: var(--ink);
  font-family: "Coolvetica", sans-serif;
  font-style: normal;
  font-size: clamp(1.2rem, 2.4vw, 1.6rem);
  background: var(--hero-green-gradient);
  border: var(--outline);
  border-radius: 999px;
  padding: 0.3rem 0.9rem;
  box-shadow: 3px 3px 0 var(--shadow);
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.brand:hover {
  transform: translateY(-1px) scale(1.03);
  box-shadow: 6px 6px 0 var(--shadow);
}

.nav-links a {
  text-decoration: none;
  color: var(--ink);
  font-style: normal;
  font-weight: 700;
  border: var(--outline);
  border-radius: 999px;
  padding: 0.35rem 0.8rem;
  background: var(--cream);
  box-shadow: 2px 2px 0 var(--shadow);
  transition: transform 0.2s ease;
}

.theme-toggle {
  width: 2.45rem;
  min-width: 2.45rem;
  height: 2.45rem;
  position: relative;
  padding: 0;
  border-radius: 999px;
  border: 1px solid var(--toggle-border);
  background: var(--toggle-bg);
  color: var(--toggle-icon-color);
  box-shadow: var(--toggle-shadow);
  display: grid;
  place-items: center;
  overflow: hidden;
  cursor: pointer;
  backdrop-filter: blur(var(--glass-blur));
  -webkit-backdrop-filter: blur(var(--glass-blur));
  transition: transform 200ms cubic-bezier(0.22, 1, 0.36, 1), box-shadow 220ms cubic-bezier(0.22, 1, 0.36, 1), background 220ms cubic-bezier(0.22, 1, 0.36, 1), border-color 220ms cubic-bezier(0.22, 1, 0.36, 1), color 220ms cubic-bezier(0.22, 1, 0.36, 1);
}

.theme-toggle-icon {
  position: relative;
  z-index: 1;
  width: 1.2rem;
  height: 1.2rem;
  display: grid;
  place-items: center;
  line-height: 0;
}

.theme-icon-svg {
  width: 100%;
  height: 100%;
  display: block;
}

.theme-icon-moon path {
  fill: none;
  stroke: currentColor;
  stroke-width: 2.2;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.theme-icon-sun {
  color: #ffffff;
}

.theme-icon-sun circle,
.theme-icon-sun line,
.theme-icon-sun path {
  fill: none;
  stroke: currentColor;
  stroke-width: 2.2;
  stroke-linecap: round;
}

:root[data-theme="dark"] .theme-icon-sun {
  color: #ffffff;
}

.theme-toggle:hover {
  transform: translateY(-1px) scale(1.02);
  background: var(--interactive-hover-bg);
  border-color: var(--interactive-hover-border);
  color: var(--ink);
  box-shadow:
    var(--toggle-shadow),
    0 8px 24px rgba(8, 16, 26, 0.16);
}

.theme-toggle:active {
  transform: scale(0.96);
}

.nav-links a:hover {
  animation: jelly 0.45s ease;
}

main {
  padding: 3.4rem 6vw;
}

.section {
  margin-bottom: 3.2rem;
}

.js .section {
  opacity: 0;
  transform: translateY(26px);
  transition: opacity 0.55s ease, transform 0.55s ease;
}

.js .section.revealed {
  opacity: 1;
  transform: translateY(0);
}

.section-alt {
  background:
    linear-gradient(145deg, rgba(79, 147, 99, 0.16), rgba(120, 170, 139, 0.2)),
    var(--cream);
  border: var(--outline);
  border-radius: 28px;
  padding: 1.5rem;
  box-shadow: 7px 7px 0 var(--shadow);
  transition: background var(--theme-transition), border-color var(--theme-transition), box-shadow 320ms ease;
}

.section-title p {
  font-size: 0.76rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  font-style: normal;
  font-weight: 800;
  margin-bottom: 0.45rem;
}

.section-title h2 {
  font-size: clamp(1.9rem, 4vw, 3rem);
  margin-bottom: 1.2rem;
}

.guide-intro {
  max-width: 80ch;
  margin: 0 0 1rem;
}

.guide-controls {
  display: flex;
  flex-wrap: wrap;
  gap: 0.55rem;
  margin-bottom: 1rem;
}

.guide-tab {
  border: var(--outline);
  background: #fff;
  color: var(--ink);
  border-radius: 999px;
  padding: 0.44rem 0.82rem;
  font-style: normal;
  font-weight: 700;
  box-shadow: 3px 3px 0 var(--shadow);
  cursor: pointer;
}

.guide-tab.active {
  background: var(--hero-green-gradient);
}

.guide-panel {
  border: var(--outline);
  border-radius: 22px;
  background: #fff;
  box-shadow: 5px 5px 0 var(--shadow);
  padding: 1rem;
}

.guide-heading {
  margin-bottom: 0.8rem;
}

.guide-heading h3 {
  margin-bottom: 0.35rem;
}

.guide-heading p {
  margin: 0;
}

.guide-quickfacts {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(170px, 1fr));
  gap: 0.65rem;
  margin-bottom: 0.95rem;
}

.guide-fact {
  border: var(--outline);
  border-radius: 16px;
  background: #ffffff;
  padding: 0.65rem 0.7rem;
}

.guide-fact strong {
  display: block;
  font-style: normal;
  margin-bottom: 0.12rem;
}

.guide-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: 0.75rem;
}

.guide-block {
  border: var(--outline);
  border-radius: 18px;
  background: #fff;
  padding: 0.7rem 0.8rem;
}

.guide-block h4 {
  margin: 0 0 0.45rem;
  font-family: "Coolvetica", sans-serif;
  font-style: normal;
  font-size: 1.15rem;
}

.guide-block p {
  margin: 0;
}

.guide-list {
  margin: 0;
  padding-left: 1rem;
}

.guide-list li + li {
  margin-top: 0.35rem;
}

.grid {
  display: grid;
  gap: 1rem;
}

.cards {
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
}

.search-first {
  min-height: auto;
  display: grid;
  justify-items: center;
  align-content: start;
  gap: 0.95rem;
  text-align: center;
}

.search-first .section-title {
  max-width: 1080px;
}

.search-first .section-title h2 {
  font-size: clamp(3.2rem, 9.2vw, 6.8rem);
  line-height: 0.98;
  margin-bottom: 0.45rem;
  position: relative;
  display: inline-block;
  isolation: isolate;
  padding: 0.12em 0.34em 0.16em;
  color: var(--ink);
  background: none;
}

.search-first .section-title h2.is-place-result {
  font-size: clamp(2.4rem, 7.8vw, 5.5rem);
  line-height: 1;
}

.search-first .section-title h2.is-place-result::before {
  background:
    linear-gradient(132deg, rgba(255, 255, 255, 0.26), rgba(255, 255, 255, 0.04)),
    var(--country-flag-gradient);
  background-size: 180% 180%;
  border-color: var(--country-outline);
  box-shadow:
    0 16px 34px rgba(12, 18, 30, 0.16),
    inset 0 1px 0 rgba(255, 255, 255, 0.34);
  animation: flagShimmer 11.2s ease infinite;
}

.search-first .section-title h2::before {
  content: "";
  position: absolute;
  inset: 0.07em -0.08em 0.03em;
  z-index: -1;
  border-radius: 12px;
  background: var(--hero-green-gradient);
  border: 1px solid var(--ink);
  box-shadow: var(--surface-box-shadow);
}

.search-first .section-title .search-first-subtitle {
  margin: 0.15rem 0 0;
  font-size: clamp(1.25rem, 2.8vw, 2rem);
  font-family: var(--script-font-family);
  font-style: normal;
  font-weight: 700;
  color: var(--subtle-ink);
  text-transform: none;
  letter-spacing: 0;
  line-height: 1.1;
}

.country-atmosphere {
  width: min(1080px, 100%);
  display: grid;
  gap: 0.7rem;
  margin: 0.26rem auto 0.2rem;
  animation: motifRise 420ms ease both;
}

.country-atmosphere[hidden] {
  display: none;
}

.country-flag-ribbon {
  --country-flag-image: none;
  position: relative;
  overflow: hidden;
  isolation: isolate;
  border: var(--outline);
  border-color: var(--wexplore-accent-border);
  border-radius: 24px;
  padding: 0.94rem 1.04rem;
  display: flex;
  align-items: center;
  gap: 0.86rem;
  background:
    linear-gradient(132deg, rgba(255, 255, 255, 0.2), rgba(255, 255, 255, 0.04)),
    var(--country-flag-gradient);
  background-size: 170% 170%;
  animation: flagShimmer 13.5s ease infinite;
  box-shadow:
    0 20px 44px var(--country-glow),
    inset 0 1px 0 rgba(255, 255, 255, 0.3);
  transition: background var(--theme-transition), border-color var(--theme-transition), box-shadow 320ms ease;
}

.country-flag-ribbon::before {
  content: "";
  position: absolute;
  inset: 0;
  background-image: var(--country-flag-image);
  background-size: cover;
  background-position: center;
  opacity: 0;
  filter: saturate(0.94) contrast(1.04);
  transition: opacity 320ms ease;
  z-index: 0;
  pointer-events: none;
}

.country-flag-ribbon::after {
  content: "";
  position: absolute;
  inset: 1px;
  border-radius: inherit;
  background: linear-gradient(152deg, rgba(255, 255, 255, 0.18), rgba(255, 255, 255, 0.03) 55%, rgba(255, 255, 255, 0.08));
  z-index: 0;
  pointer-events: none;
}

.country-flag-ribbon.has-flag-image::before {
  opacity: 0.2;
}

.country-flag-ribbon > * {
  position: relative;
  z-index: 1;
}

.country-flag-image {
  width: 96px;
  height: 64px;
  object-fit: cover;
  border-radius: 14px;
  border: 1px solid var(--wexplore-accent-border);
  box-shadow:
    0 14px 26px rgba(7, 12, 20, 0.2),
    inset 0 1px 0 rgba(255, 255, 255, 0.52);
}

.country-atmosphere-copy {
  min-width: 0;
  display: grid;
  gap: 0.08rem;
}

.country-atmosphere-title,
.country-atmosphere-subtitle {
  margin: 0;
  font-style: normal;
}

.country-atmosphere-title {
  font-size: clamp(1.05rem, 2.4vw, 1.35rem);
  font-weight: 800;
  line-height: 1.1;
  text-shadow: 0 1px 0 rgba(255, 255, 255, 0.4);
}

.country-atmosphere-subtitle {
  font-size: clamp(0.92rem, 1.96vw, 1.06rem);
  opacity: 0.92;
  font-weight: 600;
}

.country-motif-row {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 0.5rem;
}

.country-motif-chip {
  border: 1px solid var(--country-outline);
  border-radius: 999px;
  padding: 0.4rem 0.76rem;
  background:
    linear-gradient(145deg, rgba(255, 255, 255, 0.26), rgba(255, 255, 255, 0.08)),
    var(--glass-chip-bg);
  color: var(--ink);
  font-style: normal;
  font-size: 0.82rem;
  font-weight: 700;
  box-shadow:
    0 8px 20px var(--country-glow),
    inset 0 1px 0 rgba(255, 255, 255, 0.22);
  animation: motifRise 520ms both;
  letter-spacing: 0.012em;
}

.country-symbol-cloud {
  display: none;
}

.country-symbol {
  opacity: 0.28;
  font-size: 1rem;
  line-height: 1;
  animation: symbolFloat 4.4s ease-in-out infinite;
}

.destination-search {
  width: min(1080px, 100%);
  max-width: 1080px;
  margin: 0 auto 0.25rem;
  position: relative;
  z-index: 1200;
  overflow: visible;
}

.destination-search:focus-within {
  z-index: 1750;
}

.destination-search label {
  display: block;
  margin-bottom: 0.55rem;
  font-style: normal;
  font-weight: 700;
  font-size: 1.02rem;
  text-align: center;
}

.destination-search-row {
  position: relative;
  display: flex;
  flex-wrap: wrap;
  align-items: stretch;
  justify-content: center;
  gap: 0.65rem;
}

.destination-search input {
  flex: 1 1 720px;
  min-width: 0;
  min-height: 64px;
  border: var(--outline);
  border-radius: 999px;
  padding: 0.92rem 1.2rem;
  font-family: "Coolvetica", sans-serif;
  font-style: italic;
  font-size: clamp(1.14rem, 2.2vw, 1.4rem);
  background: #fff;
  color: var(--ink);
  box-shadow: 3px 3px 0 var(--shadow);
}

.destination-search button {
  min-height: 64px;
  border: var(--outline);
  border-radius: 999px;
  padding: 0.7rem 1.22rem;
  background: var(--hero-green-gradient);
  color: var(--ink);
  font-family: "Coolvetica", sans-serif;
  font-style: normal;
  font-weight: 700;
  font-size: 1.02rem;
  box-shadow: 3px 3px 0 var(--shadow);
  cursor: pointer;
}

.search-feedback {
  min-height: 1.1rem;
  margin: 0.25rem auto 0.8rem;
  max-width: 1080px;
  font-style: normal;
  text-align: center;
}

.destination-profile {
  width: min(1080px, 100%);
  margin: 0 auto 3.2rem;
  text-align: left;
}

.destination-profile[hidden] {
  display: none;
}

.destination-profile-shell {
  display: grid;
  gap: 0.95rem;
}

.destination-profile-shell--hero {
  gap: 1.4rem;
}

.destination-result-hero {
  position: relative;
  min-height: clamp(360px, 44vw, 560px);
  border-radius: 32px;
  overflow: hidden;
  isolation: isolate;
  border: 1.5px solid var(--wexplore-accent-border);
  background: var(--wexplore-liquid-gradient);
  box-shadow: var(--surface-box-shadow);
}

.destination-result-hero-image {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.destination-result-hero-image--fallback {
  background: var(--wexplore-liquid-gradient);
}

.destination-result-hero--loading .destination-result-hero-overlay {
  justify-content: flex-end;
}

.destination-result-hero-backdrop {
  position: absolute;
  inset: 0;
  z-index: 1;
  background:
    linear-gradient(180deg, rgba(6, 10, 12, 0.04) 0%, rgba(6, 10, 12, 0.16) 38%, rgba(6, 10, 12, 0.54) 66%, rgba(10, 14, 16, 0.84) 82%, var(--page-background) 100%);
}

.destination-result-hero-overlay {
  position: relative;
  z-index: 2;
  min-height: inherit;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  gap: 0.95rem;
  padding: clamp(1.25rem, 3vw, 2rem);
  color: #f6f7f9;
}

.destination-result-hero-meta,
.destination-result-hero-copy {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 0.9rem;
}

.destination-result-hero-copy {
  align-items: flex-end;
}

.destination-result-hero-kicker {
  margin: 0;
  padding: 0.36rem 0.82rem;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.16);
  border: 1px solid rgba(255, 255, 255, 0.18);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  font-size: 0.82rem;
  font-weight: 800;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.destination-result-hero-loading-title {
  font-family: "Coolvetica", sans-serif;
  font-size: clamp(2.2rem, 5.2vw, 4.5rem);
  line-height: 0.95;
  font-weight: 700;
  letter-spacing: -0.03em;
  text-shadow: 0 12px 32px rgba(0, 0, 0, 0.24);
}

.destination-result-hero-loading-copy {
  margin: 0;
  max-width: 44rem;
  font-size: clamp(1rem, 1.8vw, 1.18rem);
  line-height: 1.55;
  color: rgba(246, 247, 249, 0.92);
}

.destination-hero-flag-chip {
  width: 78px;
  height: 78px;
  border-radius: 50%;
  padding: 0.38rem;
  background: rgba(255, 255, 255, 0.2);
  border: 1.5px solid var(--wexplore-accent-border);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  box-shadow:
    0 14px 30px rgba(0, 0, 0, 0.16),
    inset 0 1px 0 rgba(255, 255, 255, 0.34);
}

.destination-hero-flag-image {
  display: block;
  width: 100%;
  height: 100%;
  border-radius: 50%;
  object-fit: cover;
  background: rgba(255, 255, 255, 0.94);
}

.destination-result-country-slot,
.destination-result-topic-slot,
.destination-result-toolbar-slot {
  min-width: 0;
}

.destination-result-country-slot {
  flex: 1 1 420px;
}

.destination-result-topic-slot {
  flex: 0 0 auto;
}

.destination-result-hero .active-country-display,
body.search-result-active .destination-result-hero .active-country-display:not([hidden]) {
  display: block;
  margin: 0;
  width: auto;
  min-height: 0;
  text-align: left;
  text-transform: none;
  letter-spacing: -0.03em;
  white-space: normal;
  overflow: visible;
  font-size: clamp(2.4rem, 5.6vw, 4.8rem);
  line-height: 0.95;
  color: #f6f7f9;
  text-shadow: 0 12px 32px rgba(0, 0, 0, 0.28);
}

.destination-result-hero .active-topic-display,
body.search-result-active .destination-result-hero .active-topic-display:not([hidden]) {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: auto;
  max-width: none;
  min-height: 0;
  height: auto;
  margin: 0;
  padding: 0.42rem 0.92rem;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.16);
  border: 1px solid rgba(255, 255, 255, 0.2);
  font-family: "Coolvetica", sans-serif;
  font-size: clamp(0.96rem, 1.7vw, 1.18rem);
  line-height: 1;
  letter-spacing: 0.04em;
  white-space: nowrap;
  color: #f6f7f9;
  text-shadow: none;
}

.destination-result-hero .destination-topic-toolbar,
body.search-result-active .destination-result-hero .destination-topic-toolbar:not([hidden]) {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: flex-start;
  gap: 0.72rem;
  padding: 0;
  margin: 0;
  background: none;
  border: 0;
  box-shadow: none;
}

.destination-result-hero .destination-topic-chip {
  background: rgba(15, 23, 28, 0.26);
  border-color: rgba(255, 255, 255, 0.2);
  color: #f6f7f9;
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
}

.destination-result-hero .destination-topic-chip:hover,
.destination-result-hero .destination-topic-chip:focus-visible,
.destination-result-hero .destination-topic-chip.active {
  border-color: var(--wexplore-accent-border);
  color: #f6f7f9;
}

.destination-profile-hero {
  border: var(--outline);
  border-radius: 18px;
  padding: 1rem 1.05rem;
  background:
    linear-gradient(145deg, rgba(125, 255, 152, 0.18), rgba(239, 255, 243, 0.08)),
    var(--glass-panel-bg);
  box-shadow: var(--surface-box-shadow);
}

.destination-profile-kicker {
  margin: 0 0 0.3rem;
  font-style: normal;
  font-weight: 800;
  font-size: 0.75rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.destination-profile-hero h3 {
  margin: 0;
  font-size: clamp(1.45rem, 3vw, 2.3rem);
}

.destination-profile-hero p {
  margin: 0.4rem 0 0;
  font-style: normal;
  line-height: 1.55;
}

.destination-profile-grid {
  display: grid;
  gap: 0.75rem;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
}

.destination-profile-card,
.destination-topic-panel {
  border: var(--outline);
  border-radius: 16px;
  padding: 0.9rem 0.95rem;
  background: var(--glass-panel-bg);
  border-color: var(--glass-panel-border);
  box-shadow: var(--surface-box-shadow);
  transition: background var(--theme-transition), border-color var(--theme-transition), box-shadow 320ms ease;
}

.destination-profile-card h4,
.destination-topic-panel h4 {
  margin: 0 0 0.38rem;
  font-size: 1.05rem;
  letter-spacing: 0.01em;
}

.destination-profile-card ul,
.destination-profile-facts {
  margin: 0;
  padding-left: 1rem;
  display: grid;
  gap: 0.3rem;
}

.destination-profile-card li,
.destination-profile-facts li {
  font-style: normal;
  line-height: 1.5;
}

.destination-topic-grid {
  display: grid;
  gap: 0.58rem;
  grid-template-columns: repeat(auto-fit, minmax(132px, 1fr));
}

.destination-topic-chip {
  border: var(--outline);
  border-radius: 13px;
  padding: 0.58rem 0.66rem;
  background: var(--glass-chip-bg);
  color: var(--ink);
  font-family: "Coolvetica", sans-serif;
  font-style: normal;
  font-size: 0.96rem;
  font-weight: 700;
  text-align: left;
  box-shadow: var(--surface-box-shadow);
  cursor: pointer;
  transition: background 180ms ease, border-color 180ms ease, transform 180ms ease;
}

.destination-topic-chip:hover {
  background: var(--glass-hover-bg);
  border-color: var(--glass-hover-border);
}

.destination-topic-chip.active {
  background: var(--hero-green-gradient);
  border-color: var(--glass-hover-border);
}

.destination-topic-content {
  display: grid;
}

.destination-topic-panel {
  min-height: 152px;
}

.destination-topic-panel p {
  margin: 0;
  font-style: normal;
  line-height: 1.58;
}

.destination-profile-shell.is-loading .destination-profile-hero,
.destination-profile-shell.is-notice .destination-profile-hero {
  min-height: 130px;
  display: grid;
  align-content: center;
}

.search-suggestions {
  position: absolute;
  top: calc(100% + 0.45rem);
  left: 0;
  right: 0;
  width: 100%;
  max-height: min(44svh, 420px);
  overflow-y: auto;
  display: grid;
  gap: 0.52rem;
  padding: 0;
  border: 0;
  border-radius: 0;
  background: transparent;
  background-image: none;
  backdrop-filter: none;
  -webkit-backdrop-filter: none;
  box-shadow: none;
  z-index: 1760;
}

.search-suggestions[hidden] {
  display: none;
}

.search-suggestion {
  width: 100%;
  border: 1px solid var(--glass-panel-border);
  border-radius: 20px;
  padding: 0.78rem 1rem;
  background: rgba(255, 255, 255, 0.96);
  background-image: none;
  color: var(--ink);
  text-align: left;
  cursor: pointer;
  display: grid;
  gap: 0.08rem;
  font-family: "Coolvetica", sans-serif;
  box-shadow:
    0 12px 24px rgba(15, 23, 42, 0.16),
    inset 0 1px 0 rgba(255, 255, 255, 0.24);
}

.search-suggestion-main {
  font-style: normal;
  font-weight: 700;
  font-size: 1.03rem;
  line-height: 1.2;
}

.search-suggestion-sub {
  font-style: normal;
  font-size: 0.9rem;
  opacity: 0.72;
}

.search-suggestion:hover {
  background: var(--hero-green-gradient);
  border-color: var(--glass-hover-border);
}

.search-suggestion.active {
  background: rgba(255, 255, 255, 0.96);
  background-image: none;
  border-color: rgba(17, 24, 39, 0.22);
}

.card,
.panel,
.timeline article {
  background: #ffffff;
  border: var(--outline);
  border-radius: 22px;
  box-shadow: 4px 4px 0 var(--shadow);
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.card {
  padding: 0.95rem 1rem;
}

.destination-meta {
  margin-top: 0.65rem;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 0.6rem;
}

.weather-snippet {
  margin: 0;
  font-size: 0.95rem;
}

.favorite-btn {
  border: var(--outline);
  border-radius: 999px;
  background: #fff;
  color: var(--ink);
  padding: 0.35rem 0.7rem;
  box-shadow: 2px 2px 0 var(--shadow);
  cursor: pointer;
  font-family: "Coolvetica", sans-serif;
  font-style: normal;
  font-weight: 700;
}

.favorite-btn.saved {
  background: var(--hero-green-gradient);
}

.card:hover {
  transform: rotate(-1deg) translateY(-3px);
  box-shadow: 8px 8px 0 var(--shadow);
}

.split {
  grid-template-columns: repeat(auto-fit, minmax(230px, 1fr));
}

.panel {
  padding: 1rem 1.05rem;
}

.panel:hover {
  animation: sway 0.55s ease;
}

.panel ul {
  margin: 0.6rem 0 0;
  padding-left: 1rem;
}

.panel li + li {
  margin-top: 0.5rem;
}

.map-layout {
  display: grid;
  gap: 1rem;
}

.map-view-toggle {
  display: flex;
  flex-wrap: wrap;
  gap: 0.55rem;
}

.map-mode-btn {
  border: var(--outline);
  background: #fff;
  color: var(--ink);
  border-radius: 999px;
  padding: 0.44rem 0.82rem;
  font-style: normal;
  font-weight: 700;
  box-shadow: 3px 3px 0 var(--shadow);
  cursor: pointer;
}

.map-mode-btn.active {
  background: var(--hero-green-gradient);
}

.map-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.55rem;
}

.map-btn {
  border: var(--outline);
  background: #fff;
  color: var(--ink);
  padding: 0.48rem 0.82rem;
  border-radius: 999px;
  font-style: normal;
  font-weight: 800;
  box-shadow: 3px 3px 0 var(--shadow);
  cursor: pointer;
  transition: transform 0.18s ease;
}

.map-btn:hover {
  transform: translateY(-2px);
}

.map-btn:active {
  animation: stomp 0.2s ease;
}

.map-btn.active {
  background: var(--hero-green-gradient);
  color: var(--ink);
}

#travel-map {
  height: 430px;
  width: 100%;
  border: var(--outline);
  border-radius: 24px;
  overflow: hidden;
  box-shadow: 6px 6px 0 var(--shadow);
}

.gallery-controls {
  display: flex;
  flex-wrap: wrap;
  gap: 0.55rem;
  margin-bottom: 1rem;
}

.gallery-filter {
  border: var(--outline);
  background: #fff;
  color: var(--ink);
  padding: 0.45rem 0.82rem;
  border-radius: 999px;
  font-style: normal;
  font-weight: 800;
  box-shadow: 3px 3px 0 var(--shadow);
  cursor: pointer;
}

.gallery-filter.active {
  background: var(--hero-green-gradient);
}

.gallery-filter:hover {
  animation: wiggle 0.34s ease;
}

.gallery-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(210px, 1fr));
  gap: 0.85rem;
}

.gallery-item {
  border: var(--outline);
  background: #fff;
  border-radius: 18px;
  overflow: hidden;
  padding: 0;
  text-align: left;
  cursor: pointer;
  box-shadow: 4px 4px 0 var(--shadow);
  transition: transform 0.2s ease;
}

.gallery-item:hover {
  transform: rotate(1deg) translateY(-4px);
}

.gallery-item[hidden] {
  display: none;
}

.gallery-item img {
  width: 100%;
  height: 170px;
  object-fit: cover;
  display: block;
  filter: saturate(0.95) contrast(1.06);
}

.gallery-item span {
  display: block;
  padding: 0.65rem 0.78rem 0.82rem;
  font-style: normal;
  font-weight: 800;
}

.timeline {
  display: grid;
  gap: 0.9rem;
}

.timeline article {
  padding: 0.8rem 1rem;
}

.timeline article:hover {
  transform: translateX(5px);
}

.tip-card {
  background: linear-gradient(180deg, #ffffff, #e9ffed);
}

.lightbox {
  position: fixed;
  inset: 0;
  display: grid;
  place-items: center;
  background: rgba(22, 18, 16, 0.88);
  padding: 2rem 1rem;
  z-index: 30;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.2s ease;
}

.lightbox.open {
  opacity: 1;
  pointer-events: auto;
}

.lightbox img {
  width: min(980px, 94vw);
  max-height: 78vh;
  object-fit: cover;
  border-radius: 22px;
  border: 4px solid #fff;
}

.lightbox p {
  margin: 0.8rem 0 0;
  color: #fff;
  font-style: normal;
  font-weight: 800;
}

.lightbox-close {
  position: absolute;
  top: 1rem;
  right: 1rem;
  border: var(--outline);
  border-radius: 999px;
  padding: 0.45rem 0.8rem;
  font-style: normal;
  font-weight: 800;
  background: #fff;
  color: var(--ink);
  cursor: pointer;
  box-shadow: 3px 3px 0 #000;
}

.leaflet-control-zoom a {
  color: #050505 !important;
  border-bottom: 2px solid #050505 !important;
  background: #ffffff !important;
  opacity: 1 !important;
  visibility: visible !important;
}

.leaflet-control-zoom {
  border: 3px solid #050505 !important;
  box-shadow: 4px 4px 0 #000 !important;
}

.leaflet-control-zoom a.leaflet-disabled {
  color: #050505 !important;
  background: #f2f2f2 !important;
  opacity: 1 !important;
  visibility: visible !important;
}

/* Keep 2D map labels at provider default style. */
.leaflet-layer.explore-labels-layer .leaflet-tile {
  filter: none;
  opacity: 1;
}

.leaflet-popup-content-wrapper,
.leaflet-popup-tip {
  border: 3px solid #050505;
}

.footer {
  text-align: center;
  padding: 1.2rem 1rem 1.8rem;
  font-style: normal;
  font-weight: 700;
}

.no-scroll {
  overflow: hidden;
}

a:focus-visible,
button:focus-visible {
  outline: 4px solid var(--butter);
  outline-offset: 2px;
}

.is-pop {
  animation: pop 0.4s ease;
}

@keyframes jelly {
  0% { transform: scale(1); }
  30% { transform: scale(1.08, 0.88); }
  60% { transform: scale(0.95, 1.08); }
  100% { transform: scale(1); }
}

@keyframes boing {
  0% { transform: scale(1) rotate(0deg); }
  35% { transform: scale(1.08, 0.9) rotate(-2deg); }
  68% { transform: scale(0.96, 1.05) rotate(1deg); }
  100% { transform: scale(1) rotate(0deg); }
}

@keyframes sway {
  0%, 100% { transform: rotate(0deg); }
  25% { transform: rotate(1.2deg); }
  75% { transform: rotate(-1.2deg); }
}

@keyframes wiggle {
  0%, 100% { transform: rotate(0deg); }
  25% { transform: rotate(2deg); }
  75% { transform: rotate(-2deg); }
}

@keyframes stomp {
  0% { transform: translateY(0); }
  50% { transform: translateY(1px) scale(0.97); }
  100% { transform: translateY(0); }
}

@keyframes pop {
  0% { transform: scale(1); }
  45% { transform: scale(1.08); }
  100% { transform: scale(1); }
}

@keyframes flagShimmer {
  0% { background-position: 0% 50%; }
  50% { background-position: 100% 50%; }
  100% { background-position: 0% 50%; }
}

@keyframes wexploreLiquidFlow {
  0% {
    background-position:
      0% 42%,
      84% 10%,
      18% 86%,
      0% 50%;
  }
  26% {
    background-position:
      18% 26%,
      66% 24%,
      36% 74%,
      34% 46%;
  }
  51% {
    background-position:
      30% 64%,
      92% 42%,
      58% 94%,
      66% 56%;
  }
  74% {
    background-position:
      10% 88%,
      62% 14%,
      84% 68%,
      38% 52%;
  }
  100% {
    background-position:
      0% 42%,
      84% 10%,
      18% 86%,
      0% 50%;
  }
}

@keyframes heroGradientDrift {
  0% {
    background-position: 0% 40%;
  }
  50% {
    background-position: 52% 58%;
  }
  100% {
    background-position: 100% 42%;
  }
}

@keyframes liquidFloatA {
  0% {
    transform: translate(0, 0) scale(1);
  }
  50% {
    transform: translate(8%, 6%) scale(1.08);
  }
  100% {
    transform: translate(2%, 12%) scale(0.96);
  }
}

@keyframes liquidFloatB {
  0% {
    transform: translate(0, 0) scale(1);
  }
  50% {
    transform: translate(-10%, -6%) scale(1.12);
  }
  100% {
    transform: translate(-4%, -12%) scale(0.94);
  }
}

@keyframes motifRise {
  0% { opacity: 0; transform: translateY(7px) scale(0.98); }
  100% { opacity: 1; transform: translateY(0) scale(1); }
}

@keyframes symbolFloat {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-3px); }
}

/* Minimalist refresh */
:root {
  color-scheme: light;
  --outline: 1.5px solid #050505;
  --surface-box-shadow:
    0 10px 24px rgba(0, 0, 0, 0.22),
    inset 0 1px 0 rgba(255, 255, 255, 0.12);
  --page-background: #ffffff;
  --page-backdrop:
    radial-gradient(circle at 12% 14%, rgba(57, 255, 99, 0.28), transparent 25%),
    radial-gradient(circle at 84% 10%, rgba(138, 255, 159, 0.3), transparent 22%);
  --surface-color: #ffffff;
  --surface-alt-color: #fcfffd;
  --nav-background: rgba(255, 255, 255, 0.94);
  --hero-overlay-top: rgba(255, 255, 255, 0.46);
  --hero-overlay-bottom: rgba(255, 255, 255, 0.32);
  --hero-title-color: #050505;
  --subtle-ink: #111111;
  --toggle-bg: linear-gradient(155deg, #ffffff 0%, #f0f4f9 100%);
  --toggle-border: rgba(10, 18, 28, 0.16);
  --toggle-shadow:
    0 9px 20px rgba(15, 23, 42, 0.16),
    inset 0 1px 0 rgba(255, 255, 255, 0.9);
  --toggle-icon-color: #111827;
  --dark-outline-soft: rgba(11, 17, 28, 0.24);
  --glass-blur: 14px;
  --glass-chip-bg: rgba(255, 255, 255, 0.6);
  --glass-chip-border: rgba(255, 255, 255, 0.78);
  --glass-panel-bg: rgba(255, 255, 255, 0.56);
  --glass-panel-border: rgba(17, 24, 39, 0.15);
  --glass-hover-bg: linear-gradient(145deg, rgba(255, 255, 255, 0.9), rgba(213, 251, 227, 0.68));
  --glass-active-bg: linear-gradient(145deg, rgba(233, 255, 244, 0.86), rgba(198, 246, 220, 0.72));
  --glass-hover-border: rgba(17, 24, 39, 0.24);
<<<<<<< HEAD
  --dark-green-glow: 0 0 0 rgba(0, 0, 0, 0);
=======
  --interactive-hover-bg: var(--glass-hover-bg);
  --interactive-hover-border: var(--glass-hover-border);
  --liquid-point-a: 18% 20%;
  --liquid-point-b: 80% 18%;
  --liquid-point-c: 64% 78%;
  --wexplore-liquid-gradient:
    radial-gradient(circle at var(--liquid-point-a), rgba(255, 255, 255, 0.34), transparent 24%),
    radial-gradient(circle at var(--liquid-point-b), rgba(121, 255, 156, 0.38), transparent 30%),
    radial-gradient(circle at var(--liquid-point-c), rgba(255, 255, 255, 0.22), transparent 32%),
    linear-gradient(145deg, #7dff98 0%, #b8ffca 56%, #effff3 100%);
  --wexplore-accent-border: rgba(124, 245, 149, 0.96);
  --wexplore-accent-frame-bg: rgba(246, 255, 249, 0.94);
  --hero-blob-a-transform: translate(0%, 0%) scale(1);
  --hero-blob-b-transform: translate(0%, 0%) scale(1);
>>>>>>> refs/rewritten/onto
}

:root[data-theme="dark"] {
  color-scheme: dark;
  --paper: #121212;
  --cream: rgba(24, 24, 24, 0.9);
  --ink: #f6f7f9;
  --butter: #79b08e;
<<<<<<< HEAD
  --hero-green-gradient: linear-gradient(145deg, #56ff85 0%, #82ffa8 52%, #d8ffe6 100%);
=======
  --hero-green-gradient: linear-gradient(145deg, #1f3b28 0%, #3d7d4f 45%, #6cb782 100%);
>>>>>>> refs/rewritten/onto
  --outline: 1px solid rgba(171, 207, 186, 0.28);
  --surface-box-shadow:
    0 18px 36px rgba(0, 0, 0, 0.5),
    inset 0 1px 0 rgba(255, 255, 255, 0.06);
  --page-background: #0f1012;
  --page-backdrop:
    radial-gradient(circle at 14% 8%, rgba(111, 159, 132, 0.09), transparent 30%),
    radial-gradient(circle at 86% 10%, rgba(101, 139, 116, 0.07), transparent 27%),
    radial-gradient(circle at 78% 84%, rgba(86, 119, 98, 0.06), transparent 34%);
  --surface-color: rgba(25, 25, 27, 0.9);
  --surface-alt-color: rgba(34, 34, 36, 0.94);
  --nav-background: rgba(15, 15, 16, 0.72);
  --hero-overlay-top: rgba(255, 255, 255, 0.18);
  --hero-overlay-bottom: rgba(255, 255, 255, 0.12);
  --hero-title-color: #f7f9fb;
  --subtle-ink: #ffffff;
  --toggle-bg: linear-gradient(160deg, rgba(56, 56, 60, 0.96) 0%, rgba(24, 24, 26, 0.98) 100%);
  --toggle-border: rgba(216, 252, 227, 0.22);
  --toggle-shadow:
    0 12px 24px rgba(0, 0, 0, 0.54),
    inset 0 1px 0 rgba(255, 255, 255, 0.11);
  --toggle-icon-color: #f7f8fa;
  --dark-outline-soft: rgba(176, 210, 190, 0.24);
  --glass-blur: 16px;
  --glass-chip-bg: rgba(38, 38, 40, 0.62);
  --glass-chip-border: rgba(186, 218, 198, 0.16);
  --glass-panel-bg: rgba(31, 31, 33, 0.58);
  --glass-panel-border: rgba(170, 204, 183, 0.14);
<<<<<<< HEAD
  --glass-hover-bg: linear-gradient(145deg, rgba(86, 255, 133, 0.34), rgba(130, 255, 168, 0.26));
  --glass-active-bg: linear-gradient(145deg, rgba(86, 255, 133, 0.44), rgba(130, 255, 168, 0.32));
  --glass-hover-border: rgba(191, 236, 209, 0.52);
  --dark-green-glow:
    0 0 0 1px rgba(171, 239, 198, 0.34),
    0 0 24px rgba(96, 255, 146, 0.32);
=======
  --glass-hover-bg: var(--hero-green-gradient);
  --glass-active-bg: var(--hero-green-gradient);
  --glass-hover-border: rgba(186, 220, 199, 0.24);
  --interactive-hover-bg: var(--hero-green-gradient);
  --interactive-hover-border: var(--dark-outline-soft);
>>>>>>> refs/rewritten/onto
  --country-outline: rgba(187, 215, 201, 0.26);
  --country-glow: rgba(144, 202, 173, 0.34);
  --country-tint: rgba(78, 109, 91, 0.46);
  --contrast-text-shadow: 0 1px 2px rgba(6, 7, 8, 0.55);
  --liquid-point-a: 18% 20%;
  --liquid-point-b: 82% 22%;
  --liquid-point-c: 66% 78%;
  --wexplore-liquid-gradient:
    radial-gradient(circle at var(--liquid-point-a), rgba(232, 247, 238, 0.18), transparent 26%),
    radial-gradient(circle at var(--liquid-point-b), rgba(112, 196, 139, 0.26), transparent 34%),
    radial-gradient(circle at var(--liquid-point-c), rgba(214, 236, 223, 0.12), transparent 30%),
    linear-gradient(145deg, #1f3b28 0%, #3d7d4f 45%, #6cb782 100%);
  --wexplore-accent-border: rgba(154, 222, 176, 0.82);
  --wexplore-accent-frame-bg: rgba(18, 24, 21, 0.84);
  --hero-blob-a-transform: translate(0%, 0%) scale(1);
  --hero-blob-b-transform: translate(0%, 0%) scale(1);
}

body {
  font-style: normal;
  background:
    var(--page-backdrop),
    var(--page-background);
}

.site-nav {
  border-bottom-color: var(--glass-panel-border);
  backdrop-filter: blur(calc(var(--glass-blur) + 2px));
  -webkit-backdrop-filter: blur(calc(var(--glass-blur) + 2px));
}

.hero {
  background: var(--wexplore-liquid-gradient);
  background-size: 150% 150%;
  background-repeat: no-repeat;
}

:root[data-theme="dark"] .hero {
  background: var(--wexplore-liquid-gradient);
  background-size: 150% 150%;
  background-repeat: no-repeat;
}

.launch-content h1 {
  text-shadow: none;
  letter-spacing: 0;
  color: var(--hero-title-color);
}

.launch-slogan {
  margin-top: 3.4rem;
  font-family: var(--script-font-family);
  font-style: normal;
  font-weight: 700;
  font-size: clamp(1.05rem, 2.2vw, 1.72rem);
  line-height: 1.14;
  letter-spacing: 0.02em;
  opacity: 0.9;
}

.skip-link,
.brand,
.nav-links a,
.guide-tab,
.map-mode-btn,
.map-btn,
.gallery-filter,
.favorite-btn,
.destination-search input,
.destination-search button,
.search-suggestion,
.lightbox-close {
  border-radius: 16px;
  box-shadow: var(--surface-box-shadow);
  transition: background 220ms cubic-bezier(0.22, 1, 0.36, 1), background-color 220ms cubic-bezier(0.22, 1, 0.36, 1), color 220ms cubic-bezier(0.22, 1, 0.36, 1), border-color 220ms cubic-bezier(0.22, 1, 0.36, 1), box-shadow 220ms cubic-bezier(0.22, 1, 0.36, 1), transform 220ms cubic-bezier(0.22, 1, 0.36, 1);
}

.section-alt,
.guide-panel,
.guide-fact,
.guide-block,
.card,
.panel,
.timeline article,
.gallery-item,
#travel-map {
  border-radius: 18px;
  box-shadow: var(--surface-box-shadow);
}

.search-suggestions {
  box-shadow: none;
}

.skip-link,
.nav-links a,
.guide-tab,
.map-mode-btn,
.map-btn,
.gallery-filter,
.favorite-btn,
.destination-search button,
.lightbox-close {
  background: var(--glass-chip-bg);
  border-color: var(--glass-chip-border);
  backdrop-filter: blur(var(--glass-blur));
  -webkit-backdrop-filter: blur(var(--glass-blur));
}

.destination-search input,
.search-suggestions,
.search-suggestion,
.section-alt,
.guide-panel,
.guide-fact,
.guide-block,
.card,
.panel,
.timeline article,
.gallery-item,
.map-layout #travel-map,
.tip-card {
  background: var(--glass-panel-bg);
  border-color: var(--glass-panel-border);
  backdrop-filter: blur(var(--glass-blur));
  -webkit-backdrop-filter: blur(var(--glass-blur));
}

.section-alt,
.tip-card {
  background: var(--glass-panel-bg);
}

body.country-themed .section-alt,
body.country-themed .destination-profile-card,
body.country-themed .destination-topic-panel {
  background:
    linear-gradient(150deg, var(--country-tint), rgba(255, 255, 255, 0.1)),
    var(--glass-panel-bg);
}

.nav-links a:hover,
.guide-tab:hover,
.map-mode-btn:hover,
.map-btn:hover,
.gallery-filter:hover,
.favorite-btn:hover,
.search-suggestion:hover,
.lightbox-close:hover {
  transform: none;
}

.brand:hover,
.nav-links a:hover,
.guide-tab:hover,
.map-mode-btn:hover,
.map-btn:hover,
.gallery-filter:hover,
.favorite-btn:hover,
.destination-search button.hover-active,
.search-suggestion:hover,
.lightbox-close:hover {
  background: var(--glass-hover-bg);
  border-color: var(--glass-hover-border);
  color: var(--ink);
}

.brand:hover {
  transform: translateY(-1px) scale(1.03);
  box-shadow: var(--surface-box-shadow);
}

.destination-search button {
  background: var(--glass-chip-bg);
}

.destination-search input.hover-active:not(:focus):not(:focus-visible) {
  background: var(--glass-hover-bg);
  border-color: var(--glass-hover-border);
  color: var(--ink);
}

.destination-search input:focus,
.destination-search input:focus-visible,
.destination-search input:active {
  background: var(--glass-panel-bg);
  border-color: var(--glass-hover-border);
  color: var(--ink);
}

.brand:active,
.nav-links a:active,
.guide-tab:active,
.map-mode-btn:active,
.map-btn:active,
.gallery-filter:active,
.favorite-btn:active,
.destination-search button:active,
.search-suggestion:active,
.lightbox-close:active {
  transform: scale(0.985);
}

.guide-tab.active,
.map-mode-btn.active,
.map-btn.active,
.gallery-filter.active,
.favorite-btn.saved {
  background: var(--glass-active-bg);
  border-color: var(--glass-hover-border);
  box-shadow:
    var(--surface-box-shadow),
    inset 0 0 0 0.5px rgba(255, 255, 255, 0.55);
}

.card,
.panel,
.timeline article,
.gallery-item {
  transition: border-color 240ms cubic-bezier(0.22, 1, 0.36, 1), background-color 240ms cubic-bezier(0.22, 1, 0.36, 1);
}

.card:hover,
.panel:hover,
.timeline article:hover,
.gallery-item:hover {
  border-color: #0f0f0f;
  background: var(--surface-alt-color);
}

.leaflet-control-zoom {
  border: 1.5px solid #050505 !important;
  box-shadow: var(--surface-box-shadow) !important;
}

.leaflet-control-zoom a:hover:not(.leaflet-disabled),
.leaflet-control-zoom a:focus-visible:not(.leaflet-disabled) {
  background: var(--hero-green-gradient) !important;
  color: #050505 !important;
}

.lightbox img {
  border-radius: 6px;
  border-width: 2px;
}

:root[data-theme="dark"] .site-nav {
  background: var(--nav-background);
  border-color: var(--dark-outline-soft);
  backdrop-filter: blur(18px);
  -webkit-backdrop-filter: blur(18px);
}

:root[data-theme="dark"] .skip-link,
:root[data-theme="dark"] .nav-links a,
:root[data-theme="dark"] .guide-tab,
:root[data-theme="dark"] .map-mode-btn,
:root[data-theme="dark"] .map-btn,
:root[data-theme="dark"] .gallery-filter,
:root[data-theme="dark"] .favorite-btn,
:root[data-theme="dark"] .destination-search button,
:root[data-theme="dark"] .lightbox-close {
  background: var(--glass-chip-bg);
  color: var(--ink);
  border-color: var(--glass-chip-border);
}

:root[data-theme="dark"] .brand,
:root[data-theme="dark"] .skip-link,
:root[data-theme="dark"] .nav-links a,
:root[data-theme="dark"] .guide-tab,
:root[data-theme="dark"] .map-mode-btn,
:root[data-theme="dark"] .map-btn,
:root[data-theme="dark"] .gallery-filter,
:root[data-theme="dark"] .favorite-btn,
:root[data-theme="dark"] .destination-search button,
:root[data-theme="dark"] .lightbox-close,
:root[data-theme="dark"] .search-suggestion-main,
:root[data-theme="dark"] .search-first .section-title h2,
:root[data-theme="dark"] .launch-content h1 {
  color: #f6f7f9;
  text-shadow: var(--contrast-text-shadow);
}

:root:not([data-theme="dark"]) .brand,
:root:not([data-theme="dark"]) .skip-link,
:root:not([data-theme="dark"]) .nav-links a,
:root:not([data-theme="dark"]) .guide-tab,
:root:not([data-theme="dark"]) .map-mode-btn,
:root:not([data-theme="dark"]) .map-btn,
:root:not([data-theme="dark"]) .gallery-filter,
:root:not([data-theme="dark"]) .favorite-btn,
:root:not([data-theme="dark"]) .destination-search button,
:root:not([data-theme="dark"]) .lightbox-close,
:root:not([data-theme="dark"]) .search-suggestion-main,
:root:not([data-theme="dark"]) .search-first .section-title h2,
:root:not([data-theme="dark"]) .launch-content h1 {
  text-shadow: none;
}

:root[data-theme="dark"] .guide-panel,
:root[data-theme="dark"] .guide-fact,
:root[data-theme="dark"] .guide-block,
:root[data-theme="dark"] .card,
:root[data-theme="dark"] .panel,
:root[data-theme="dark"] .timeline article,
:root[data-theme="dark"] .gallery-item,
:root[data-theme="dark"] .destination-search input,
:root[data-theme="dark"] .search-suggestions,
:root[data-theme="dark"] .search-suggestion,
:root[data-theme="dark"] .section-alt {
  background: var(--glass-panel-bg);
  border-color: var(--glass-panel-border);
}

:root[data-theme="dark"] .tip-card {
  background: linear-gradient(180deg, rgba(44, 44, 47, 0.74), rgba(29, 29, 31, 0.66));
  border-color: var(--glass-panel-border);
}

:root[data-theme="dark"] body.country-themed .section-alt,
:root[data-theme="dark"] body.country-themed .destination-profile-card,
:root[data-theme="dark"] body.country-themed .destination-topic-panel {
  background:
    linear-gradient(150deg, var(--country-tint), rgba(14, 17, 22, 0.24)),
    var(--glass-panel-bg);
}

:root[data-theme="dark"] .brand {
  background: var(--hero-green-gradient);
  border-color: var(--dark-outline-soft);
}

:root[data-theme="dark"] .search-first .section-title .search-first-subtitle {
  color: #ffffff !important;
  -webkit-text-fill-color: #ffffff;
  opacity: 1;
}

:root[data-theme="dark"] .search-first .section-title h2.is-place-result::before {
  background:
    linear-gradient(136deg, rgba(255, 255, 255, 0.12), rgba(255, 255, 255, 0.02)),
    var(--country-flag-gradient);
  border-color: var(--country-outline);
  box-shadow:
    0 18px 36px rgba(0, 0, 0, 0.45),
    inset 0 1px 0 rgba(255, 255, 255, 0.16);
}

:root[data-theme="dark"] .country-flag-ribbon {
  border-color: var(--wexplore-accent-border);
  background:
    linear-gradient(142deg, rgba(15, 17, 22, 0.46), rgba(15, 17, 22, 0.12)),
    var(--country-flag-gradient);
  box-shadow:
    0 24px 44px rgba(0, 0, 0, 0.52),
    inset 0 1px 0 rgba(255, 255, 255, 0.12);
}

:root[data-theme="dark"] .country-flag-ribbon::after {
  background: linear-gradient(152deg, rgba(255, 255, 255, 0.18), rgba(255, 255, 255, 0.02) 55%, rgba(255, 255, 255, 0.08));
}

:root[data-theme="dark"] .country-flag-image {
  border-color: var(--wexplore-accent-border);
  box-shadow:
    0 14px 26px rgba(0, 0, 0, 0.44),
    inset 0 1px 0 rgba(255, 255, 255, 0.16);
}

:root[data-theme="dark"] .country-atmosphere-title,
:root[data-theme="dark"] .country-atmosphere-subtitle {
  color: #f6f7f9;
  text-shadow: var(--contrast-text-shadow);
}

:root[data-theme="dark"] .country-motif-chip {
  border-color: var(--country-outline);
  background:
    linear-gradient(145deg, rgba(16, 18, 24, 0.5), rgba(16, 18, 24, 0.2)),
    var(--glass-chip-bg);
  color: #f6f7f9;
  box-shadow:
    0 10px 24px rgba(0, 0, 0, 0.4),
    inset 0 1px 0 rgba(255, 255, 255, 0.12);
}

:root[data-theme="dark"] .brand:hover,
:root[data-theme="dark"] .nav-links a:hover,
:root[data-theme="dark"] .guide-tab:hover,
:root[data-theme="dark"] .map-mode-btn:hover,
:root[data-theme="dark"] .map-btn:hover,
:root[data-theme="dark"] .gallery-filter:hover,
:root[data-theme="dark"] .favorite-btn:hover,
:root[data-theme="dark"] .destination-search button:hover,
:root[data-theme="dark"] .destination-search button:focus-visible,
:root[data-theme="dark"] .destination-search button.hover-active,
:root[data-theme="dark"] .search-suggestion:hover,
:root[data-theme="dark"] .lightbox-close:hover,
:root[data-theme="dark"] .theme-toggle:hover,
:root[data-theme="dark"] .guide-tab.active,
:root[data-theme="dark"] .map-mode-btn.active,
:root[data-theme="dark"] .map-btn.active,
:root[data-theme="dark"] .gallery-filter.active,
:root[data-theme="dark"] .favorite-btn.saved {
  background: var(--hero-green-gradient);
  border-color: var(--glass-hover-border);
  color: #062712;
  text-shadow: none;
  box-shadow:
    var(--surface-box-shadow),
    var(--dark-green-glow);
}

:root[data-theme="dark"] .card:hover,
:root[data-theme="dark"] .panel:hover,
:root[data-theme="dark"] .timeline article:hover,
:root[data-theme="dark"] .gallery-item:hover {
  border-color: rgba(169, 237, 210, 0.52);
  background: var(--surface-alt-color);
}

:root[data-theme="dark"] #travel-map {
  background: #141416;
}

:root[data-theme="dark"] .theme-toggle {
  border-color: var(--toggle-border);
  background: var(--toggle-bg);
  color: var(--toggle-icon-color);
  box-shadow: var(--toggle-shadow);
}

:root[data-theme="dark"] .leaflet-control-zoom a {
  color: var(--ink) !important;
  border-bottom: 1px solid var(--dark-outline-soft) !important;
  background: var(--surface-color) !important;
}

:root[data-theme="dark"] .leaflet-control-zoom {
  border-color: var(--dark-outline-soft) !important;
}

:root[data-theme="dark"] .leaflet-control-zoom a.leaflet-disabled {
  color: rgba(239, 255, 242, 0.6) !important;
  background: #2b2b2e !important;
}

:root[data-theme="dark"] .leaflet-popup-content-wrapper,
:root[data-theme="dark"] .leaflet-popup-tip {
  border-color: var(--dark-outline-soft);
}

:root[data-theme="dark"] .lightbox img {
  border-color: var(--dark-outline-soft);
}

.visually-hidden {
  position: absolute !important;
  width: 1px !important;
  height: 1px !important;
  padding: 0 !important;
  margin: -1px !important;
  overflow: hidden !important;
  clip: rect(0, 0, 0, 0) !important;
  border: 0 !important;
}

.search-first {
  width: min(1240px, 100%);
  margin: 0 auto;
  min-height: min(760px, calc(100svh - 7.8rem));
  position: relative;
  display: grid;
  align-content: center;
  gap: 0.9rem;
  padding-block: clamp(1rem, 3vh, 2.2rem);
  isolation: isolate;
  overflow: visible;
  z-index: 30;
}

body.search-result-active .search-first {
  min-height: auto;
  align-content: start;
  padding-block: 0;
  overflow: visible !important;
  z-index: 80;
}

.search-first:focus-within {
  z-index: 1700;
}

.search-home-intro {
  text-align: center;
}

body.search-result-active .search-home-intro {
  display: none;
}

.country-search-grid {
  width: 100%;
  position: relative;
  z-index: 3;
  display: grid;
  grid-template-columns: minmax(760px, 1120px);
  justify-content: center;
  align-items: center;
  gap: 1.2rem;
}

body.search-result-active .country-search-grid {
  --result-card-ratio: 1.6;
  --result-card-width: clamp(300px, 31vw, 470px);
  --result-card-stage-height: clamp(220px, 18vw, 292px);
  --result-label-band-height: clamp(160px, 13vw, 250px);
  grid-template-columns: minmax(280px, 1fr) minmax(420px, 1.35fr) minmax(280px, 1fr);
  align-items: start;
  gap: 0.88rem;
}

body:not(.search-result-active) .country-map-preview,
body:not(.search-result-active) .country-atmosphere,
body:not(.search-result-active) .destination-topic-toolbar,
body:not(.search-result-active) .search-feedback {
  display: none !important;
}

body.search-result-active #map {
  display: none;
}

.search-center-column {
  min-width: 0;
  display: grid;
  align-content: start;
  gap: 0.68rem;
  position: relative;
  overflow: visible;
  isolation: isolate;
  z-index: 1150;
}

body.search-result-active .search-center-column {
  height: calc(var(--result-card-stage-height) + var(--result-label-band-height));
  min-height: calc(var(--result-card-stage-height) + var(--result-label-band-height));
  grid-template-rows: auto auto auto var(--result-label-band-height);
}

body:not(.search-result-active) .search-center-column {
  max-width: 1200px;
  margin: 0 auto;
}

body:not(.search-result-active) .search-first {
  margin-bottom: clamp(3.4rem, 7vh, 6rem);
}

body:not(.search-result-active) .destination-search-row {
  gap: 0.72rem;
}

body:not(.search-result-active) .destination-search input {
  flex: 1 1 980px;
}

body:not(.search-result-active) .destination-search button {
  flex: 0 0 132px;
}

body:not(.search-result-active) #map {
  margin-top: 0.9rem;
}

.destination-search {
  width: 100%;
  max-width: none;
  margin: 0;
}

.destination-search label {
  display: none;
}

.destination-search-row {
  gap: 0.46rem;
}

.destination-search input,
.destination-search button {
  min-height: 54px;
}

.destination-search input {
  flex: 1 1 auto;
}

.search-suggestions {
  width: 100%;
  background: transparent;
  border-color: transparent;
  backdrop-filter: none;
  -webkit-backdrop-filter: none;
  box-shadow: none;
}

.active-country-display {
  display: none;
  margin: 0.06rem 0 0;
  width: 100%;
  min-height: 0;
  text-align: center;
  font-family: "Coolvetica", sans-serif;
  font-style: normal;
  font-weight: 800;
  line-height: 1;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  font-size: clamp(0.95rem, 1.8vw, 1.65rem);
  color: var(--ink);
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
  text-shadow: none;
}

body.search-result-active .active-country-display:not([hidden]) {
  display: flex;
  align-items: flex-end;
  justify-content: center;
  min-height: 1.2rem;
}

.active-topic-display {
  display: none;
  margin: 0;
  width: calc(100% + 2.6rem);
  max-width: calc(100% + 2.6rem);
  margin-left: -1.3rem;
  min-height: 0;
  padding: 0 0.15rem;
  text-align: center;
  font-family: var(--script-font-family);
  font-style: normal;
  font-weight: 700;
  font-synthesis: weight;
  line-height: 0.94;
  letter-spacing: 0.018em;
  font-size: clamp(2.4rem, 5.4vw, 6.6rem);
  color: var(--ink);
  white-space: nowrap;
  overflow: hidden;
  text-overflow: clip;
  text-shadow: none;
}

body.search-result-active .active-topic-display:not([hidden]) {
  display: flex;
  align-items: flex-end;
  justify-content: center;
  height: var(--result-label-band-height);
}

body.search-result-active .country-atmosphere {
  width: min(100%, var(--result-card-width));
  max-width: var(--result-card-width);
  height: calc(var(--result-card-stage-height) + var(--result-label-band-height));
  margin: 0;
  position: relative;
  z-index: 90;
  display: grid;
  grid-template-rows: var(--result-card-stage-height) var(--result-label-band-height);
  align-content: start;
  gap: 0.56rem;
  overflow: visible;
  padding-bottom: 0;
}

body.search-result-active .country-flag-ribbon {
  width: 100%;
  height: var(--result-card-stage-height);
  min-height: 0;
  max-height: none;
  flex: 0 0 auto;
  padding: 0.08rem;
  border-radius: 30px;
  overflow: hidden;
  position: relative;
  border: 1px solid rgba(255, 255, 255, 0.5);
  background: rgba(255, 255, 255, 0.72);
  backdrop-filter: blur(12px) saturate(150%);
  -webkit-backdrop-filter: blur(12px) saturate(150%);
  box-shadow:
    0 10px 30px rgba(0, 0, 0, 0.08);
  display: grid;
  place-items: center;
}

body.search-result-active .country-flag-ribbon::before,
body.search-result-active .country-flag-ribbon::after {
  display: none;
}

body.search-result-active .country-flag-image {
  display: block;
  width: 100%;
  height: 100%;
  max-width: 100%;
  max-height: 100%;
  min-height: 0;
  border-radius: 28px;
  border: 0;
  box-shadow: none;
  object-fit: contain;
  object-position: center;
  background: transparent;
}

body.search-result-active .country-atmosphere-meta {
  position: relative;
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 0.75rem;
  height: var(--result-label-band-height);
  min-height: 0;
  margin-top: 0.04rem;
  padding-right: 7.4rem;
  z-index: 140;
}

body.search-result-active .country-atmosphere-copy {
  position: static;
  width: auto;
  flex: 1 1 auto;
  max-width: 100%;
  padding: 0.08rem 0.2rem 0 0;
  min-height: 0;
  height: calc(var(--result-label-band-height) - 0.08rem);
  display: flex;
  align-items: flex-end;
  text-align: left;
  border-radius: 0;
  background: none;
  box-shadow: none;
  pointer-events: none;
}

body.search-result-active .country-atmosphere-title {
  font-family: var(--script-font-family);
  font-size: clamp(1.55rem, 2.7vw, 2.7rem);
  line-height: 0.96;
  letter-spacing: 0.018em;
  font-weight: 700;
  color: var(--ink);
  white-space: normal;
  overflow: visible;
  text-overflow: unset;
  max-width: 100%;
  text-align: left;
  text-shadow: none;
}

.country-atmosphere-subtitle {
  display: none;
}

.country-motif-row,
.country-symbol-cloud {
  display: none !important;
}

body.search-result-active .currency-widget {
  position: absolute;
  top: 0.12rem;
  right: 0;
  margin: 0;
  margin-left: 0;
  align-self: auto;
  z-index: 900;
  display: grid;
  justify-items: end;
  gap: 0.3rem;
  pointer-events: auto;
}

.currency-trigger {
  border: 1px solid rgba(17, 24, 39, 0.18);
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.82);
  color: var(--ink);
  min-height: 1.9rem;
  padding: 0.34rem 1rem 0.34rem 0.56rem;
  position: relative;
  display: inline-flex;
  align-items: center;
  cursor: pointer;
  box-shadow: 0 8px 16px rgba(15, 23, 42, 0.14);
  backdrop-filter: blur(12px) saturate(150%);
  -webkit-backdrop-filter: blur(12px) saturate(150%);
  transition: border-color 180ms ease, transform 180ms ease, box-shadow 180ms ease;
}

.currency-trigger:hover {
  transform: translateY(-1px);
  border-color: var(--interactive-hover-border);
  background: var(--interactive-hover-bg);
  color: var(--ink);
  box-shadow:
    0 12px 24px rgba(15, 23, 42, 0.2),
    inset 0 1px 0 rgba(255, 255, 255, 0.8);
}

.currency-trigger[aria-expanded="true"] {
  border-color: rgba(17, 24, 39, 0.34);
  box-shadow: 0 10px 18px rgba(15, 23, 42, 0.16);
}

.currency-rate-line {
  margin: 0;
  font-family: "Coolvetica", sans-serif;
  font-style: normal;
  font-weight: 700;
  font-size: 0.84rem;
  line-height: 1;
  letter-spacing: 0.01em;
  white-space: nowrap;
}

.currency-toggle-triangle {
  width: 0;
  height: 0;
  position: absolute;
  right: 0.44rem;
  top: 0.34rem;
  border-left: 4px solid transparent;
  border-right: 4px solid transparent;
  border-top: 6px solid currentColor;
  transition: transform 180ms ease;
}

.currency-trigger[aria-expanded="true"] .currency-toggle-triangle {
  transform: rotate(180deg);
}

.currency-menu {
  position: absolute;
  top: calc(100% + 0.3rem);
  right: 0;
  left: auto;
  z-index: 950;
  width: min(290px, 74vw);
  border: 1px solid rgba(17, 24, 39, 0.18);
  border-radius: 14px;
  background: rgba(255, 255, 255, 0.95);
  box-shadow: 0 14px 28px rgba(15, 23, 42, 0.2);
  padding: 0.5rem;
}

.currency-search-input {
  width: 100%;
  min-height: 2rem;
  border: 1px solid rgba(17, 24, 39, 0.2);
  border-radius: 10px;
  padding: 0.3rem 0.54rem;
  font-family: "Coolvetica", sans-serif;
  font-style: normal;
  font-size: 0.9rem;
  color: var(--ink);
  background: rgba(255, 255, 255, 0.94);
}

.currency-popular-list {
  margin-top: 0.38rem;
  max-height: 228px;
  overflow-y: auto;
  display: grid;
  gap: 0.24rem;
}

.currency-option {
  width: 100%;
  border: 1px solid rgba(17, 24, 39, 0.16);
  border-radius: 10px;
  background: rgba(255, 255, 255, 0.9);
  color: var(--ink);
  padding: 0.36rem 0.5rem;
  text-align: left;
  display: grid;
  gap: 0.1rem;
  cursor: pointer;
}

.currency-option-main {
  font-family: "Coolvetica", sans-serif;
  font-style: normal;
  font-weight: 700;
  font-size: 0.9rem;
}

.currency-option-name {
  font-style: normal;
  font-size: 0.78rem;
  opacity: 0.78;
}

.currency-option:hover,
.currency-option.active,
.currency-option.recommended {
  background: rgba(184, 255, 202, 0.5);
  border-color: rgba(17, 24, 39, 0.26);
}

.currency-recommendation {
  margin: 0 0 0.32rem;
  font-style: normal;
  font-size: 0.78rem;
  line-height: 1.3;
  color: rgba(17, 24, 39, 0.82);
}

.currency-recommendation.loading {
  opacity: 0.74;
}

.currency-empty {
  margin: 0.24rem 0;
  font-style: normal;
  font-size: 0.82rem;
  text-align: center;
  opacity: 0.72;
}

.destination-topic-toolbar {
  display: none;
  flex-wrap: wrap;
  gap: 0.62rem;
  justify-content: center;
  margin-top: 0.24rem;
  position: relative;
  z-index: 1220;
}

.destination-topic-toolbar:hover,
.destination-topic-toolbar:focus-within {
  z-index: 1900;
}

.destination-topic-toolbar[hidden] {
  display: none;
}

.destination-topic-toolbar .destination-topic-chip {
  --topic-icon-duration: 0.52s;
  --topic-icon-ease: cubic-bezier(0.22, 1, 0.36, 1);
  width: 48px;
  min-width: 48px;
  height: 48px;
  border: 1px solid rgba(17, 24, 39, 0.16);
  border-radius: 999px;
  padding: 0;
  background: rgba(255, 255, 255, 0.42);
  backdrop-filter: blur(16px) saturate(150%);
  -webkit-backdrop-filter: blur(16px) saturate(150%);
  color: var(--ink);
  font-style: normal;
  font-size: 0.86rem;
  font-weight: 700;
  box-shadow:
    0 10px 22px rgba(15, 23, 42, 0.16),
    inset 0 1px 0 rgba(255, 255, 255, 0.66);
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0;
  overflow: visible;
  position: relative;
  isolation: isolate;
  transition:
    transform 240ms cubic-bezier(0.22, 1, 0.36, 1),
    background 240ms cubic-bezier(0.22, 1, 0.36, 1),
    border-color 240ms cubic-bezier(0.22, 1, 0.36, 1),
    box-shadow 240ms cubic-bezier(0.22, 1, 0.36, 1);
}

.destination-topic-toolbar .destination-topic-icon {
  width: 22px;
  height: 22px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  line-height: 1;
  overflow: visible;
  pointer-events: none;
}

.destination-topic-toolbar .destination-topic-icon svg {
  width: 22px;
  height: 22px;
  display: block;
  overflow: visible;
}

.destination-topic-toolbar .destination-topic-icon svg .icon-part,
.destination-topic-toolbar .destination-topic-icon svg g,
.destination-topic-toolbar .destination-topic-icon svg path,
.destination-topic-toolbar .destination-topic-icon svg circle,
.destination-topic-toolbar .destination-topic-icon svg ellipse {
  transform-box: fill-box;
  transform-origin: center;
  transition:
    transform var(--topic-icon-duration) var(--topic-icon-ease),
    opacity 0.4s var(--topic-icon-ease),
    stroke-opacity 0.4s var(--topic-icon-ease),
    fill-opacity 0.4s var(--topic-icon-ease),
    filter 0.4s var(--topic-icon-ease);
}

.topic-icon-book .book-cover,
.topic-icon-book .book-pages,
.topic-icon-book .page {
  transform-origin: 22px 32px;
}

.topic-icon-gem .gem-sparkle,
.topic-icon-landmark .landmark-dust,
.topic-icon-landmark .landmark-chip,
.topic-icon-landmark .landmark-crack,
.topic-icon-drama .mask-back {
  opacity: 0;
}

.topic-icon-gem .gem-core {
  transform-origin: center;
  transform-style: preserve-3d;
}

.topic-icon-gem .gem-sparkle {
  transform: translate(0.5px, 0.5px) scale(0.3);
}

.topic-icon-football .football-shadow {
  opacity: 0.14;
  transform-origin: center;
}

.topic-icon-drama .mask-back {
  transform: translate(-1px, 2px) scale(0.88);
}

.topic-icon-landmark .landmark-ruins {
  opacity: 0;
  transform: translateY(1px);
}

.topic-icon-landmark .landmark-chip {
  transform: translate(0, 0) rotate(0deg);
}

.topic-icon-landmark .landmark-dust {
  transform: translateY(0) scale(0.65);
}

.destination-topic-toolbar .destination-topic-label {
  position: absolute;
  top: calc(100% + 0.46rem);
  bottom: auto;
  left: 50%;
  max-width: 7.4rem;
  padding: 0.32rem 0.56rem;
  border: 1px solid rgba(17, 24, 39, 0.16);
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.84);
  backdrop-filter: blur(14px) saturate(150%);
  -webkit-backdrop-filter: blur(14px) saturate(150%);
  box-shadow: 0 10px 18px rgba(15, 23, 42, 0.14);
  opacity: 0;
  transform: translate(-50%, -4px) scale(0.97);
  transform-origin: top center;
  white-space: nowrap;
  text-align: center;
  font-size: 0.72rem;
  line-height: 1;
  pointer-events: none;
  z-index: 1910;
  transition:
    opacity 180ms ease,
    transform 220ms cubic-bezier(0.22, 1, 0.36, 1),
    border-color 220ms cubic-bezier(0.22, 1, 0.36, 1);
}

.destination-topic-toolbar .destination-topic-chip:hover,
.destination-topic-toolbar .destination-topic-chip:focus-visible {
  transform: translateY(-1px) scale(1.02);
  background: var(--interactive-hover-bg);
  border-color: var(--interactive-hover-border);
  color: var(--ink);
  box-shadow:
    0 10px 20px rgba(15, 23, 42, 0.18),
    inset 0 1px 0 rgba(255, 255, 255, 0.72);
}

.destination-topic-toolbar .destination-topic-chip:hover,
.destination-topic-toolbar .destination-topic-chip:focus-visible,
.destination-topic-toolbar .destination-topic-chip.active {
  z-index: 4;
}

.destination-topic-toolbar .destination-topic-chip.active {
  background: var(--glass-active-bg);
  border-color: var(--glass-hover-border);
  box-shadow:
    0 10px 20px rgba(15, 23, 42, 0.16),
    inset 0 1px 0 rgba(255, 255, 255, 0.68);
}

.destination-topic-toolbar .destination-topic-chip:hover .destination-topic-label,
.destination-topic-toolbar .destination-topic-chip:focus-visible .destination-topic-label {
  opacity: 1;
  transform: translate(-50%, 0) scale(1);
  border-color: rgba(17, 24, 39, 0.24);
}

@media (hover: hover) and (pointer: fine) {
  .destination-topic-toolbar .destination-topic-chip[data-topic-key="practical"]:hover .topic-icon-book .book-cover,
  .destination-topic-toolbar .destination-topic-chip[data-topic-key="practical"]:focus-visible .topic-icon-book .book-cover {
    transform: perspective(120px) rotateY(-76deg);
  }

  .destination-topic-toolbar .destination-topic-chip[data-topic-key="practical"]:hover .topic-icon-book .page-1,
  .destination-topic-toolbar .destination-topic-chip[data-topic-key="practical"]:focus-visible .topic-icon-book .page-1 {
    transform: perspective(120px) rotateY(-46deg);
  }

  .destination-topic-toolbar .destination-topic-chip[data-topic-key="practical"]:hover .topic-icon-book .page-2,
  .destination-topic-toolbar .destination-topic-chip[data-topic-key="practical"]:focus-visible .topic-icon-book .page-2 {
    transform: perspective(120px) rotateY(-28deg);
  }

  .destination-topic-toolbar .destination-topic-chip[data-topic-key="hiddenGems"]:hover .topic-icon-gem .gem-core,
  .destination-topic-toolbar .destination-topic-chip[data-topic-key="hiddenGems"]:focus-visible .topic-icon-gem .gem-core {
    transform: perspective(180px) rotateY(145deg);
  }

  .destination-topic-toolbar .destination-topic-chip[data-topic-key="hiddenGems"]:hover .topic-icon-gem .gem-sparkle,
  .destination-topic-toolbar .destination-topic-chip[data-topic-key="hiddenGems"]:focus-visible .topic-icon-gem .gem-sparkle {
    animation: topicGemSparkle var(--topic-icon-duration) var(--topic-icon-ease) 0.12s forwards;
  }

  .destination-topic-toolbar .destination-topic-chip[data-topic-key="gastronomy"]:hover .topic-icon-utensils .utensils-fork,
  .destination-topic-toolbar .destination-topic-chip[data-topic-key="gastronomy"]:focus-visible .topic-icon-utensils .utensils-fork {
    transform: rotate(22deg) translate(1px, -0.4px);
  }

  .destination-topic-toolbar .destination-topic-chip[data-topic-key="gastronomy"]:hover .topic-icon-utensils .utensils-knife,
  .destination-topic-toolbar .destination-topic-chip[data-topic-key="gastronomy"]:focus-visible .topic-icon-utensils .utensils-knife {
    transform: rotate(-22deg) translate(-1px, -0.4px);
  }

  .destination-topic-toolbar .destination-topic-chip[data-topic-key="sports"]:hover .topic-icon-football .football-ball,
  .destination-topic-toolbar .destination-topic-chip[data-topic-key="sports"]:focus-visible .topic-icon-football .football-ball {
    animation: topicFootballRoll var(--topic-icon-duration) var(--topic-icon-ease) 1;
  }

  .destination-topic-toolbar .destination-topic-chip[data-topic-key="sports"]:hover .topic-icon-football .football-shadow,
  .destination-topic-toolbar .destination-topic-chip[data-topic-key="sports"]:focus-visible .topic-icon-football .football-shadow {
    animation: topicFootballShadow var(--topic-icon-duration) var(--topic-icon-ease) 1;
  }

  .destination-topic-toolbar .destination-topic-chip[data-topic-key="culture"]:hover .topic-icon-drama .mask-back,
  .destination-topic-toolbar .destination-topic-chip[data-topic-key="culture"]:focus-visible .topic-icon-drama .mask-back {
    opacity: 0.92;
    transform: translate(-1.6px, 1.4px) rotate(-3.4deg) scale(0.95);
  }

  .destination-topic-toolbar .destination-topic-chip[data-topic-key="culture"]:hover .topic-icon-drama .mask-front,
  .destination-topic-toolbar .destination-topic-chip[data-topic-key="culture"]:focus-visible .topic-icon-drama .mask-front {
    transform: translate(0.5px, -0.3px) rotate(2.8deg);
  }

  .destination-topic-toolbar .destination-topic-chip[data-topic-key="history"]:hover .topic-icon-landmark .landmark-crack,
  .destination-topic-toolbar .destination-topic-chip[data-topic-key="history"]:focus-visible .topic-icon-landmark .landmark-crack {
    opacity: 1;
  }

  .destination-topic-toolbar .destination-topic-chip[data-topic-key="history"]:hover .topic-icon-landmark .landmark-intact,
  .destination-topic-toolbar .destination-topic-chip[data-topic-key="history"]:focus-visible .topic-icon-landmark .landmark-intact {
    opacity: 0.42;
    transform: translateY(-0.6px);
  }

  .destination-topic-toolbar .destination-topic-chip[data-topic-key="history"]:hover .topic-icon-landmark .landmark-ruins,
  .destination-topic-toolbar .destination-topic-chip[data-topic-key="history"]:focus-visible .topic-icon-landmark .landmark-ruins {
    opacity: 1;
    transform: translateY(0);
  }

  .destination-topic-toolbar .destination-topic-chip[data-topic-key="history"]:hover .topic-icon-landmark .landmark-chip,
  .destination-topic-toolbar .destination-topic-chip[data-topic-key="history"]:focus-visible .topic-icon-landmark .landmark-chip {
    animation: topicTempleChip var(--topic-icon-duration) var(--topic-icon-ease) 1 forwards;
  }

  .destination-topic-toolbar .destination-topic-chip[data-topic-key="history"]:hover .topic-icon-landmark .landmark-dust,
  .destination-topic-toolbar .destination-topic-chip[data-topic-key="history"]:focus-visible .topic-icon-landmark .landmark-dust {
    animation: topicTempleDust var(--topic-icon-duration) ease-out 0.06s forwards;
  }
}

@keyframes topicGemSparkle {
  0% {
    opacity: 0;
    transform: translate(0.5px, 0.5px) scale(0.3);
  }
  55% {
    opacity: 1;
    transform: translate(0, -0.8px) scale(1.08);
  }
  100% {
    opacity: 0;
    transform: translate(0, -0.4px) scale(0.94);
  }
}

@keyframes topicFootballRoll {
  0% {
    transform: translateX(0) rotate(0deg);
  }
  36% {
    transform: translate(2.2px, -0.5px) rotate(74deg);
  }
  62% {
    transform: translate(3px, 0.8px) rotate(136deg);
  }
  100% {
    transform: translate(0, 0) rotate(180deg);
  }
}

@keyframes topicFootballShadow {
  0% {
    opacity: 0.14;
    transform: scaleX(1);
  }
  45% {
    opacity: 0.08;
    transform: scaleX(0.86);
  }
  100% {
    opacity: 0.14;
    transform: scaleX(1);
  }
}

@keyframes topicTempleChip {
  0% {
    opacity: 0;
    transform: translate(0, 0) rotate(0deg);
  }
  16% {
    opacity: 1;
  }
  100% {
    opacity: 0;
    transform: translate(2px, 5px) rotate(20deg);
  }
}

@keyframes topicTempleDust {
  0% {
    opacity: 0;
    transform: translateY(0) scale(0.65);
  }
  42% {
    opacity: 0.72;
  }
  100% {
    opacity: 0;
    transform: translateY(4px) scale(1.06);
  }
}

.destination-profile {
  position: relative;
  z-index: 1;
}

.country-map-preview {
  display: none;
  border: 1.5px solid var(--wexplore-accent-border);
  border-radius: 24px;
  overflow: visible;
  min-height: 0;
  padding: 0.34rem;
  background: var(--wexplore-accent-frame-bg);
  box-shadow: var(--surface-box-shadow);
  position: relative;
  isolation: isolate;
}

#country-preview-map {
  width: 100%;
  min-height: 0;
  height: 0;
  border: 0;
  border-radius: 18px;
  overflow: hidden;
  background: var(--glass-panel-bg);
  box-shadow: none;
}

.country-map-zoom-controls {
  position: absolute;
  top: 50%;
  right: -2.65rem;
  transform: translateY(-50%);
  z-index: 60;
  display: grid !important;
  gap: 0.34rem;
  opacity: 1;
  pointer-events: auto;
}

.country-map-zoom-controls button {
  width: 2.26rem;
  height: 2.26rem;
  border: 1px solid rgba(16, 24, 36, 0.24);
  border-radius: 10px;
  background:
    linear-gradient(145deg, rgba(255, 255, 255, 0.62), rgba(255, 255, 255, 0.18)),
    rgba(255, 255, 255, 0.44);
  color: var(--ink);
  font-family: "Coolvetica", sans-serif;
  font-style: normal;
  font-size: 1.45rem;
  font-weight: 700;
  line-height: 1;
  display: grid;
  place-items: center;
  cursor: pointer;
  backdrop-filter: blur(12px) saturate(150%);
  -webkit-backdrop-filter: blur(12px) saturate(150%);
  box-shadow:
    0 10px 20px rgba(15, 23, 42, 0.22),
    inset 0 1px 0 rgba(255, 255, 255, 0.72);
  transition: transform 180ms ease, box-shadow 200ms ease, border-color 200ms ease, background 200ms ease;
  opacity: 1;
  visibility: visible;
}

.country-map-zoom-controls button:hover {
  transform: translateY(-1px);
  border-color: var(--interactive-hover-border);
  background: var(--interactive-hover-bg);
  color: var(--ink);
  box-shadow:
    0 12px 24px rgba(15, 23, 42, 0.26),
    inset 0 1px 0 rgba(255, 255, 255, 0.8);
}

.destination-profile {
  width: min(1240px, 100%);
  margin: 0.28rem auto 2.4rem;
}

.destination-profile-hero {
  border: 0;
  border-radius: 0;
  background: transparent;
  box-shadow: none;
  padding: 0.25rem 0 0.15rem;
  text-align: center;
}

.destination-profile-kicker {
  margin-bottom: 0.18rem;
}

.destination-reading-title {
  margin: 0;
  font-family: var(--script-font-family);
  font-style: normal;
  font-weight: 700;
  font-size: clamp(1.6rem, 3.6vw, 2.85rem);
  line-height: 0.98;
  letter-spacing: 0.02em;
}

.destination-reading-panel {
  border: var(--outline);
  border-radius: 18px;
  background: var(--glass-panel-bg);
  border-color: var(--glass-panel-border);
  box-shadow: var(--surface-box-shadow);
  padding: 1.1rem 1.2rem;
}

.destination-reading-panel p {
  margin: 0;
  font-style: normal;
  font-size: clamp(1rem, 1.65vw, 1.12rem);
  line-height: 1.66;
}

.destination-topic-detail {
  display: grid;
  gap: 0.84rem;
}

.destination-topic-detail p {
  margin: 0;
  font-style: normal;
  line-height: 1.65;
}

.destination-topic-figure {
  margin: 0 auto;
  width: min(100%, 760px);
  border: 0;
  border-radius: 20px;
  overflow: hidden;
  background: transparent;
  box-shadow: none;
}

.destination-topic-figure img {
  display: block;
  width: 100%;
  max-height: 260px;
  object-fit: cover;
  background: transparent;
  border-radius: 20px;
}

.destination-topic-figure figcaption {
  margin: 0;
  padding: 0.46rem 0.62rem;
  font-style: normal;
  font-size: 0.82rem;
  line-height: 1.4;
  color: rgba(17, 24, 39, 0.84);
}

.destination-topic-facts {
  margin: 0;
  padding-left: 1.1rem;
  display: grid;
  gap: 0.24rem;
}

.destination-topic-facts li {
  font-style: normal;
  line-height: 1.5;
}

.destination-topic-sources {
  margin: 0;
  padding-top: 0.32rem;
  border-top: 1px solid rgba(17, 24, 39, 0.16);
  font-size: 0.9rem;
  line-height: 1.5;
  text-align: left;
}

.destination-topic-sources strong {
  font-style: normal;
}

.destination-topic-sources-list {
  margin: 0.28rem 0 0;
  padding-left: 1.1rem;
  display: grid;
  gap: 0.24rem;
}

.destination-topic-sources-list a {
  color: var(--ink);
  text-underline-offset: 2px;
}

.topic-inline-citation {
  margin-left: 0.28rem;
  white-space: nowrap;
  font-size: 0.82em;
}

.topic-inline-citation a {
  color: var(--ink);
  text-decoration: none;
  font-style: normal;
  border-bottom: 1px dotted currentColor;
  margin-right: 0.08rem;
}

.destination-topic-chart {
  margin: 0 auto;
  width: min(100%, 760px);
  border: 0;
  border-radius: 0;
  padding: 0.2rem 0;
  background: transparent;
}

.destination-topic-chart figcaption {
  margin: 0.36rem 0 0;
  font-size: 0.82rem;
  line-height: 1.35;
  color: rgba(17, 24, 39, 0.84);
}

.destination-topic-chart svg {
  width: 100%;
  height: auto;
  display: block;
}

.destination-dish-list {
  display: grid;
  gap: 0.95rem;
}

.destination-dish-card {
  border: 0;
  border-radius: 0;
  padding: 0.2rem 0;
  background: transparent;
  display: grid;
  gap: 0.56rem;
}

.destination-dish-card h5 {
  margin: 0;
  font-size: 1rem;
  font-style: normal;
}

.destination-dish-card p {
  margin: 0;
  font-size: 0.96rem;
  line-height: 1.5;
}

.destination-dish-card img {
  width: 100%;
  max-height: 210px;
  object-fit: cover;
  border-radius: 18px;
  border: 0;
}

.destination-dish-links {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
}

.destination-dish-links a {
  color: var(--ink);
  text-underline-offset: 2px;
  font-size: 0.9rem;
}

.destination-guide-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: 1.1rem 1rem;
}

.destination-guide-card {
  border: 0;
  border-radius: 0;
  padding: 0.12rem 0 0.28rem;
  background: transparent;
  display: grid;
  gap: 0.52rem;
  align-content: start;
}

.destination-guide-card img {
  width: 100%;
  max-height: 165px;
  object-fit: cover;
  border-radius: 18px;
  border: 0;
}

.destination-guide-card h5 {
  margin: 0;
  font-size: 1rem;
  font-style: normal;
}

.destination-guide-card p {
  margin: 0;
  font-size: 0.95rem;
  line-height: 1.54;
}

.destination-guide-meta {
  font-size: 0.84rem !important;
  line-height: 1.4 !important;
  opacity: 0.76;
}

.destination-guide-list {
  margin: 0;
  padding-left: 1.05rem;
  display: grid;
  gap: 0.28rem;
}

.destination-guide-list li {
  line-height: 1.48;
}

.destination-guide-links {
  display: flex;
  flex-wrap: wrap;
  gap: 0.48rem;
}

.destination-guide-links a {
  color: var(--ink);
  text-decoration: underline;
  text-underline-offset: 3px;
  font-size: 0.9rem;
}

.destination-guide-card.is-full-width {
  grid-column: 1 / -1;
}

.destination-guide-card--planner {
  border: 1px solid rgba(17, 24, 39, 0.1);
  border-radius: 24px;
  padding: 1.1rem;
  background:
    linear-gradient(160deg, rgba(255, 255, 255, 0.7), rgba(255, 255, 255, 0.32)),
    transparent;
  box-shadow: 0 16px 32px rgba(15, 23, 42, 0.08);
}

.budget-planner-intro {
  display: grid;
  gap: 0.36rem;
}

.budget-planner-eyebrow,
.budget-itinerary-kicker {
  margin: 0;
  font-size: 0.76rem;
  font-weight: 800;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: rgba(17, 24, 39, 0.58);
}

.budget-planner-form {
  display: grid;
  grid-template-columns: minmax(0, 1.4fr) minmax(120px, 0.65fr) auto;
  gap: 0.85rem;
  align-items: end;
  margin-top: 0.35rem;
}

.budget-planner-field {
  display: grid;
  gap: 0.4rem;
  font-size: 0.84rem;
  font-weight: 700;
  letter-spacing: 0.02em;
  text-transform: uppercase;
}

.budget-planner-field--budget {
  gap: 0.46rem;
}

.budget-planner-budget-cluster {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(170px, 220px);
  gap: 0.65rem;
}

.budget-planner-form input,
.budget-planner-form select {
  width: 100%;
  min-height: 48px;
  border-radius: 16px;
  border: 1px solid rgba(17, 24, 39, 0.14);
  padding: 0.7rem 0.9rem;
  background: rgba(255, 255, 255, 0.84);
  color: var(--ink);
  font: inherit;
}

.budget-planner-form select {
  cursor: pointer;
}

.budget-planner-field small {
  margin: 0;
  font-size: 0.78rem;
  font-weight: 600;
  letter-spacing: 0;
  text-transform: none;
  line-height: 1.5;
  color: rgba(17, 24, 39, 0.68);
}

.budget-planner-form button {
  min-height: 48px;
  border: 1px solid var(--interactive-hover-border);
  border-radius: 16px;
  padding: 0.85rem 1.15rem;
  background: var(--interactive-hover-bg);
  color: var(--ink);
  font: inherit;
  font-weight: 700;
  cursor: pointer;
  transition: transform 180ms ease, box-shadow 200ms ease, border-color 200ms ease;
}

.budget-planner-form button:hover {
  transform: translateY(-1px);
  box-shadow: 0 12px 24px rgba(15, 23, 42, 0.14);
}

.budget-planner-output {
  display: grid;
  gap: 1rem;
}

.budget-itinerary-summary {
  display: grid;
  gap: 0.38rem;
  padding: 1rem 1.05rem;
  border: 1px solid rgba(17, 24, 39, 0.08);
  border-radius: 22px;
  background: linear-gradient(160deg, rgba(240, 255, 244, 0.88), rgba(255, 255, 255, 0.62));
}

.budget-itinerary-summary h6 {
  margin: 0;
  font-size: 1.05rem;
}

.budget-itinerary-summary p {
  margin: 0;
  line-height: 1.55;
}

.budget-itinerary-stay {
  display: grid;
  gap: 0.55rem;
  padding: 1rem 1.05rem;
  border: 1px solid rgba(17, 24, 39, 0.08);
  border-radius: 22px;
  background: rgba(255, 255, 255, 0.56);
}

.budget-itinerary-stay-copy {
  display: grid;
  gap: 0.24rem;
}

.budget-itinerary-stay h6,
.budget-day-stage-header h6 {
  margin: 0;
  font-size: 1.06rem;
}

.budget-itinerary-stay p,
.budget-day-stage-header p,
.budget-day-stage-note {
  margin: 0;
  line-height: 1.55;
}

.budget-itinerary-stay-meta {
  font-size: 0.9rem;
  opacity: 0.74;
}

.budget-day-stream {
  display: grid;
  gap: 1rem;
}

.budget-day-stage {
  display: grid;
  grid-template-columns: minmax(170px, 220px) minmax(0, 1fr);
  gap: 1rem;
  align-items: start;
  min-height: clamp(320px, 60vh, 520px);
  padding: 0.1rem 0;
  scroll-margin-top: 7rem;
  opacity: 0.42;
  transform: translateY(28px);
  transition: opacity 520ms cubic-bezier(0.22, 1, 0.36, 1), transform 620ms cubic-bezier(0.22, 1, 0.36, 1);
}

.budget-day-stage.is-visible {
  opacity: 1;
  transform: translateY(0);
}

.budget-day-stage-rail {
  position: sticky;
  top: 6rem;
  display: grid;
  gap: 0.26rem;
  align-content: start;
  padding: 1rem;
  border: 1px solid rgba(17, 24, 39, 0.08);
  border-radius: 24px;
  background: linear-gradient(175deg, rgba(255, 255, 255, 0.8), rgba(246, 255, 249, 0.6));
}

.budget-day-stage-index {
  margin: 0;
  font-size: 0.76rem;
  font-weight: 800;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: rgba(17, 24, 39, 0.56);
}

.budget-day-stage-rail h6 {
  margin: 0;
  font-size: clamp(1.32rem, 2vw, 1.62rem);
}

.budget-day-stage-cost {
  margin: 0;
  font-size: 1.08rem;
  font-weight: 800;
}

.budget-day-stage-note {
  font-size: 0.88rem;
  opacity: 0.74;
}

.budget-day-stage-panel {
  display: grid;
  gap: 0.8rem;
  padding: 1rem 1.05rem;
  border: 1px solid rgba(17, 24, 39, 0.08);
  border-radius: 24px;
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.76), rgba(255, 255, 255, 0.52));
  box-shadow: 0 18px 36px rgba(15, 23, 42, 0.06);
}

.budget-day-stage-header {
  display: grid;
  gap: 0.3rem;
}

.budget-day-stage-chips {
  display: flex;
  flex-wrap: wrap;
  gap: 0.48rem;
}

.budget-day-stage-chips span {
  display: inline-flex;
  align-items: center;
  min-height: 34px;
  padding: 0.4rem 0.72rem;
  border-radius: 999px;
  background: rgba(234, 248, 238, 0.92);
  border: 1px solid rgba(80, 132, 95, 0.14);
  font-size: 0.82rem;
  font-weight: 700;
}

.budget-itinerary-list {
  margin: 0;
  padding: 0;
  list-style: none;
  display: grid;
  gap: 0.78rem;
}

.budget-itinerary-slot {
  display: grid;
  grid-template-columns: 104px 1fr;
  gap: 0.88rem;
  padding: 0.9rem;
  border-radius: 20px;
  background: rgba(255, 255, 255, 0.68);
  border: 1px solid rgba(17, 24, 39, 0.06);
}

.budget-itinerary-label-wrap {
  display: flex;
  align-items: flex-start;
}

.budget-itinerary-label {
  display: inline-flex;
  align-items: center;
  min-height: 30px;
  padding: 0.3rem 0.62rem;
  border-radius: 999px;
  background: rgba(234, 248, 238, 0.96);
  border: 1px solid rgba(80, 132, 95, 0.14);
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.budget-itinerary-copy {
  display: grid;
  gap: 0.22rem;
}

.budget-itinerary-copy-topline {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 0.75rem;
  flex-wrap: wrap;
}

.budget-itinerary-copy-topline strong {
  font-size: 1rem;
}

.budget-itinerary-copy span {
  font-size: 0.9rem;
  opacity: 0.76;
}

.budget-itinerary-copy small {
  display: inline-flex;
  align-items: center;
  min-height: 30px;
  padding: 0.24rem 0.55rem;
  border-radius: 999px;
  background: rgba(17, 24, 39, 0.06);
  font-size: 0.8rem;
  font-weight: 700;
  opacity: 0.92;
}

.budget-itinerary-copy p {
  margin: 0;
  font-size: 0.92rem;
  line-height: 1.52;
}

.destination-topic-subsection {
  display: grid;
  gap: 0.75rem;
}

.destination-topic-subsection h5 {
  margin: 0;
  font-size: 1.02rem;
  font-style: normal;
}

.destination-topic-subsection > p {
  margin: 0;
  line-height: 1.6;
}

.destination-history-timeline {
  margin: 0;
  padding-left: 0;
  display: grid;
  gap: 0.3rem;
  list-style: none;
}

.destination-history-timeline li {
  line-height: 1.5;
}

.site-citations {
  width: min(1240px, 92vw);
  margin: 0 auto 2rem;
  display: flex;
  justify-content: center;
  background: transparent;
  border: 0;
  box-shadow: none;
  padding: 0;
}

.site-citations[hidden] {
  display: none;
}

.site-citations-bubble {
  width: clamp(138px, 12vw, 164px);
  min-height: 56px;
  max-height: 64px;
  overflow: hidden;
  border: 1px solid var(--glass-chip-border);
  border-radius: 999px;
  padding: 0.4rem 0.55rem;
  background: var(--glass-chip-bg);
  box-shadow: var(--surface-box-shadow);
  transition:
    width 460ms cubic-bezier(0.22, 0.61, 0.36, 1),
    max-height 460ms cubic-bezier(0.22, 0.61, 0.36, 1),
    border-radius 360ms ease,
    padding 360ms ease,
    box-shadow 280ms ease,
    background 280ms ease,
    border-color 280ms ease,
    transform 220ms ease;
}

.site-citations-bubble.is-open {
  width: min(1240px, 92vw);
  max-height: 1200px;
  border-radius: 28px;
  padding: 0.72rem 0.9rem 1rem;
  background: linear-gradient(160deg, rgba(255, 255, 255, 0.78), rgba(255, 255, 255, 0.42));
  border-color: var(--glass-panel-border);
  box-shadow: var(--surface-box-shadow);
}

.site-citations-bubble.is-open:hover,
.site-citations-bubble.is-open:focus-within {
  background: linear-gradient(160deg, rgba(212, 255, 220, 0.92), rgba(245, 255, 247, 0.76));
}

.site-citations-bubble:hover,
.site-citations-bubble:focus-within {
  border-color: var(--interactive-hover-border);
  box-shadow: 0 18px 32px rgba(15, 23, 42, 0.12);
}

.site-citations-bubble:not(.is-open):hover,
.site-citations-bubble:not(.is-open):focus-within {
  background: var(--interactive-hover-bg);
  transform: translateY(-1px);
}

.site-citations-toggle {
  position: relative;
  display: block;
  width: 100%;
  min-height: 46px;
  padding: 0;
  border: 0;
  background: transparent;
  color: var(--ink);
  cursor: pointer;
}

.site-citations-toggle:focus-visible {
  outline: 2px solid rgba(34, 139, 87, 0.45);
  outline-offset: 4px;
  border-radius: 999px;
}

.site-citations-toggle-inner {
  position: absolute;
  top: 50%;
  left: 50%;
  display: inline-flex;
  align-items: center;
  gap: 0.42rem;
  font-size: 1.02rem;
  font-weight: 700;
  letter-spacing: 0.01em;
  transform: translate(-50%, -50%);
  transition:
    left 460ms cubic-bezier(0.22, 0.61, 0.36, 1) 90ms,
    transform 460ms cubic-bezier(0.22, 0.61, 0.36, 1) 90ms,
    gap 220ms ease;
  white-space: nowrap;
  min-width: max-content;
  padding-inline: 0.18rem;
  will-change: left, transform;
}

.site-citations-bubble.is-open .site-citations-toggle-inner {
  left: 0.9rem;
  transform: translate(0, -50%);
}

.site-citations-chevron {
  display: inline-block;
  transition: transform 280ms ease;
}

.site-citations-bubble.is-open .site-citations-chevron {
  transform: rotate(180deg);
}

.site-citations-panel {
  margin-top: 0.78rem;
  max-height: 0;
  overflow: hidden;
  opacity: 0;
  transform: translateY(10px);
  transition:
    max-height 460ms cubic-bezier(0.22, 0.61, 0.36, 1),
    opacity 260ms ease,
    transform 360ms cubic-bezier(0.22, 0.61, 0.36, 1);
}

.site-citations-bubble.is-open .site-citations-panel {
  max-height: 1200px;
  opacity: 1;
  transform: translateY(0);
}

.site-citations-list {
  margin: 0;
  padding: 0;
  display: grid;
  gap: 0.34rem;
  list-style: none;
}

.site-citations-list li {
  position: relative;
  padding-left: 0.85rem;
  text-align: left;
}

.site-citations-list li::before {
  content: "-";
  position: absolute;
  left: 0;
  top: 0;
}

.site-citations-list a {
  color: var(--ink);
  text-decoration: none;
}

.topic-inline-citation {
  display: none;
}

.destination-profile-meta {
  display: none;
}

body.search-result-active .destination-profile-grid.compact {
  display: none;
}

:root[data-theme="dark"] .site-citations-toggle,
:root[data-theme="dark"] .site-citations-list a {
  color: #f6f7f9;
}

:root[data-theme="dark"] .site-citations-bubble {
  border-color: var(--glass-chip-border);
  background: var(--glass-chip-bg);
}

:root[data-theme="dark"] .site-citations-bubble.is-open {
  border-color: rgba(186, 220, 199, 0.24);
  background: linear-gradient(160deg, rgba(28, 36, 48, 0.9), rgba(15, 21, 30, 0.72));
}

:root[data-theme="dark"] .site-citations-bubble.is-open:hover,
:root[data-theme="dark"] .site-citations-bubble.is-open:focus-within {
  background: linear-gradient(160deg, rgba(57, 116, 74, 0.34), rgba(17, 24, 32, 0.82));
}

:root[data-theme="dark"] .site-citations-list li::before {
  color: rgba(236, 244, 239, 0.88);
}

.destination-section-stream {
  display: grid;
  gap: 0.9rem;
  margin-top: 0.22rem;
}

.destination-section-block {
  border-top: 1px solid rgba(17, 24, 39, 0.14);
  padding-top: 0.82rem;
}

.destination-section-block h4 {
  margin: 0 0 0.34rem;
  font-size: 1.08rem;
  font-style: normal;
  letter-spacing: 0.01em;
}

.destination-section-block p {
  margin: 0;
  font-style: normal;
  line-height: 1.62;
}

.destination-section-list {
  margin: 0;
  padding-left: 1.1rem;
  display: grid;
  gap: 0.22rem;
}

.destination-section-list li {
  font-style: normal;
  line-height: 1.55;
}

.destination-section-block.active h4 {
  color: #111827;
}

.destination-reading-list {
  margin: 0;
  padding-left: 1.1rem;
  display: grid;
  gap: 0.32rem;
}

.destination-profile-grid.compact {
  grid-template-columns: minmax(240px, 420px);
  justify-content: center;
}

.destination-profile-meta {
  justify-content: center;
  text-align: center;
}

body.search-result-active .destination-profile {
  background: transparent;
  border: 0;
  border-radius: 0;
  box-shadow: none;
  padding: 0;
  margin: 0.14rem auto 2rem;
  text-align: center;
}

body.search-result-active #destinations.section {
  margin-bottom: 0.4rem;
}

body.search-result-active .destination-profile-shell {
  gap: 0.56rem;
}

body.search-result-active .destination-profile-hero {
  display: none !important;
}

body.search-result-active .search-first {
  display: none;
}

body.search-result-active .destination-profile {
  width: min(1440px, calc(100% - 8vw));
  margin: 0 auto 3rem;
  text-align: left;
}

body.search-result-active .destination-profile-shell--hero {
  gap: 1.4rem;
}

body.search-result-active .destination-profile.section-alt {
  background: transparent !important;
  border: 0 !important;
  border-color: transparent !important;
  border-radius: 0 !important;
  box-shadow: none !important;
  padding: 0 !important;
}

body.search-result-active .destination-reading-panel,
body.search-result-active .destination-profile-card,
body.search-result-active .destination-topic-panel {
  text-align: left;
}

body.search-result-active .destination-profile-grid.compact {
  grid-template-columns: 1fr;
  justify-content: stretch;
}

body.search-result-active .destination-reading-panel p {
  text-align: left;
}

body.search-result-active .destination-section-stream {
  text-align: left;
}

body.search-result-active .destination-section-block {
  border-top: 1px solid rgba(17, 24, 39, 0.12);
}

body.search-result-active .destination-section-list {
  padding-left: 0;
  list-style-position: inside;
}

body.search-result-active .destination-profile-card ul {
  padding-left: 1rem;
  list-style-position: outside;
  justify-items: start;
}

body.search-result-active .destination-profile-card li {
  text-align: left;
}

body.search-result-active .destination-profile-meta {
  justify-content: flex-start;
  text-align: left;
}

body.search-result-active .search-feedback {
  display: none !important;
}

body.search-result-active .destination-reading-panel {
  background: var(--glass-panel-bg);
  border: 1px solid var(--glass-panel-border);
  border-radius: 24px;
  box-shadow: var(--surface-box-shadow);
  padding: 1.5rem clamp(1.2rem, 2.8vw, 2rem);
}

body.search-result-active .destination-profile-card,
body.search-result-active .destination-topic-panel {
  background: var(--glass-panel-bg);
  border: 1px solid var(--glass-panel-border);
  border-radius: 18px;
  box-shadow: var(--surface-box-shadow);
  padding: 1rem;
}

:root[data-theme="dark"] body.search-result-active .currency-widget {
  color: #f6f7f9;
}

:root[data-theme="dark"] body.search-result-active .destination-profile.section-alt,
:root[data-theme="dark"] body.search-result-active .destination-reading-panel,
:root[data-theme="dark"] body.search-result-active .destination-profile-card,
:root[data-theme="dark"] body.search-result-active .destination-topic-panel {
  border-color: var(--glass-panel-border) !important;
}

:root[data-theme="dark"] .currency-trigger {
  background: rgba(19, 24, 30, 0.72);
  border-color: var(--country-outline);
  color: #f6f7f9;
}

:root[data-theme="dark"] .search-suggestion {
  background: rgba(21, 27, 33, 0.96);
  background-image: none;
  border-color: rgba(186, 220, 199, 0.16);
  box-shadow:
    0 12px 24px rgba(0, 0, 0, 0.28),
    inset 0 1px 0 rgba(255, 255, 255, 0.06);
}

:root[data-theme="dark"] .search-suggestion.active {
  background: rgba(21, 27, 33, 0.96);
  background-image: none;
  border-color: rgba(186, 220, 199, 0.16);
  color: #f6f7f9;
}

:root[data-theme="dark"] .destination-result-hero-kicker,
:root[data-theme="dark"] .destination-result-hero .active-topic-display,
:root[data-theme="dark"] .destination-hero-flag-chip,
:root[data-theme="dark"] .destination-result-hero .destination-topic-chip {
  background: rgba(17, 24, 22, 0.34);
  border-color: rgba(188, 222, 201, 0.24);
}

:root[data-theme="dark"] body.search-result-active .country-flag-ribbon {
  border-color: rgba(255, 255, 255, 0.14);
  background: rgba(24, 31, 37, 0.72);
  box-shadow: 0 12px 28px rgba(0, 0, 0, 0.22);
}

:root[data-theme="dark"] .currency-trigger:hover,
:root[data-theme="dark"] .destination-topic-toolbar .destination-topic-chip:hover,
:root[data-theme="dark"] .destination-topic-toolbar .destination-topic-chip:focus-visible,
:root[data-theme="dark"] .country-map-zoom-controls button:hover {
<<<<<<< HEAD
  background: var(--hero-green-gradient);
  border-color: var(--glass-hover-border);
  color: #062712;
  text-shadow: none;
  box-shadow:
    var(--surface-box-shadow),
    var(--dark-green-glow);
=======
  background: var(--interactive-hover-bg);
  border-color: var(--interactive-hover-border);
  color: #f6f7f9;
  text-shadow: var(--contrast-text-shadow);
>>>>>>> refs/rewritten/onto
}

:root[data-theme="dark"] .currency-menu {
  background: rgba(20, 24, 30, 0.96);
  border-color: var(--country-outline);
}

:root[data-theme="dark"] .currency-search-input {
  background: rgba(24, 29, 36, 0.95);
  border-color: var(--country-outline);
  color: #f6f7f9;
}

:root[data-theme="dark"] .currency-option {
  background: rgba(24, 29, 36, 0.92);
  border-color: rgba(186, 220, 199, 0.24);
  color: #f6f7f9;
}

:root[data-theme="dark"] .currency-option:hover,
:root[data-theme="dark"] .currency-option.active {
  background: rgba(79, 147, 99, 0.28);
  border-color: rgba(186, 220, 199, 0.38);
}

:root[data-theme="dark"] .currency-option.recommended {
  background: rgba(79, 147, 99, 0.28);
  border-color: rgba(186, 220, 199, 0.38);
}

:root[data-theme="dark"] .currency-recommendation {
  color: rgba(236, 244, 239, 0.86);
}

:root[data-theme="dark"] .country-map-zoom-controls button {
  background:
    linear-gradient(145deg, rgba(72, 84, 102, 0.38), rgba(18, 25, 36, 0.3)),
    rgba(16, 23, 34, 0.58);
  border-color: rgba(188, 216, 198, 0.32);
  color: #f6f7f9;
  box-shadow:
    0 12px 24px rgba(0, 0, 0, 0.42),
    inset 0 1px 0 rgba(255, 255, 255, 0.2);
}

:root[data-theme="dark"] .destination-topic-toolbar .destination-topic-chip {
  background: rgba(17, 22, 30, 0.44);
  border-color: rgba(180, 212, 195, 0.24);
  color: #f6f7f9;
}

:root[data-theme="dark"] .destination-topic-toolbar .destination-topic-chip:hover,
:root[data-theme="dark"] .destination-topic-toolbar .destination-topic-chip:focus-visible,
:root[data-theme="dark"] .destination-topic-toolbar .destination-topic-chip.active {
  background: var(--hero-green-gradient);
<<<<<<< HEAD
  border-color: var(--glass-hover-border);
  color: #062712;
  text-shadow: none;
  box-shadow:
    var(--surface-box-shadow),
    var(--dark-green-glow);
=======
  border-color: var(--interactive-hover-border);
  color: #f6f7f9;
  text-shadow: var(--contrast-text-shadow);
>>>>>>> refs/rewritten/onto
}

.brand,
.brand:hover,
.destination-search button,
.search-first .section-title h2::before,
.guide-tab:hover,
.guide-tab.active,
.map-mode-btn:hover,
.map-mode-btn.active,
.map-btn:hover,
.map-btn.active,
.gallery-filter:hover,
.gallery-filter.active,
.favorite-btn:hover,
.favorite-btn.saved,
.theme-toggle:hover,
.destination-topic-toolbar .destination-topic-chip:hover,
.destination-topic-toolbar .destination-topic-chip:focus-visible,
.destination-topic-toolbar .destination-topic-chip.active,
.search-suggestion:hover,
.country-map-zoom-controls button:hover {
  background: var(--wexplore-liquid-gradient);
  background-repeat: no-repeat;
  background-size: 230% 230%, 200% 200%, 240% 240%, 180% 180%;
}

:root[data-theme="dark"] .brand:hover,
:root[data-theme="dark"] .destination-search button,
:root[data-theme="dark"] .guide-tab:hover,
:root[data-theme="dark"] .guide-tab.active,
:root[data-theme="dark"] .map-mode-btn:hover,
:root[data-theme="dark"] .map-mode-btn.active,
:root[data-theme="dark"] .map-btn:hover,
:root[data-theme="dark"] .map-btn.active,
:root[data-theme="dark"] .gallery-filter:hover,
:root[data-theme="dark"] .gallery-filter.active,
:root[data-theme="dark"] .favorite-btn:hover,
:root[data-theme="dark"] .favorite-btn.saved,
:root[data-theme="dark"] .theme-toggle:hover,
:root[data-theme="dark"] .destination-topic-toolbar .destination-topic-chip:hover,
:root[data-theme="dark"] .destination-topic-toolbar .destination-topic-chip:focus-visible,
:root[data-theme="dark"] .destination-topic-toolbar .destination-topic-chip.active,
:root[data-theme="dark"] .search-suggestion:hover,
:root[data-theme="dark"] .country-map-zoom-controls button:hover {
  background: var(--wexplore-liquid-gradient);
}

:root[data-theme="dark"] .brand,
:root[data-theme="dark"] .destination-search button,
:root[data-theme="dark"] .guide-tab.active,
:root[data-theme="dark"] .map-mode-btn.active,
:root[data-theme="dark"] .map-btn.active,
:root[data-theme="dark"] .gallery-filter.active,
:root[data-theme="dark"] .favorite-btn.saved,
:root[data-theme="dark"] .destination-topic-toolbar .destination-topic-chip.active {
  border-color: var(--wexplore-accent-border);
  color: #f6f7f9;
  text-shadow: var(--contrast-text-shadow);
}

.leaflet-control-zoom a:hover:not(.leaflet-disabled),
.leaflet-control-zoom a:focus-visible:not(.leaflet-disabled) {
  background: var(--wexplore-liquid-gradient) !important;
  background-repeat: no-repeat !important;
  background-size: 230% 230%, 200% 200%, 240% 240%, 180% 180% !important;
}

.search-suggestions {
  background: transparent !important;
  background-image: none !important;
  border: 0 !important;
  box-shadow: none !important;
}

.search-suggestion,
.search-suggestion.active {
  background: rgba(255, 255, 255, 0.96) !important;
  background-image: none !important;
  border-color: rgba(22, 27, 34, 0.14) !important;
  color: var(--ink);
}

:root[data-theme="dark"] .search-suggestion,
:root[data-theme="dark"] .search-suggestion.active {
  background: rgba(21, 27, 33, 0.96) !important;
  background-image: none !important;
  border-color: rgba(186, 220, 199, 0.16) !important;
  color: #f6f7f9;
}

:root[data-theme="dark"] .destination-topic-toolbar .destination-topic-label {
  background: rgba(20, 28, 38, 0.9);
  border-color: rgba(186, 220, 199, 0.3);
  color: #f6f7f9;
}

:root[data-theme="dark"] .country-atmosphere-title,
:root[data-theme="dark"] .destination-reading-title,
:root[data-theme="dark"] .active-country-display,
:root[data-theme="dark"] .active-topic-display {
  color: #f6f7f9;
  text-shadow: var(--contrast-text-shadow);
}

:root[data-theme="dark"] .destination-section-block {
  border-top-color: rgba(188, 218, 200, 0.2);
}

:root[data-theme="dark"] .destination-section-block.active h4 {
  color: #f6f7f9;
}

:root[data-theme="dark"] .destination-topic-sources {
  border-top-color: rgba(188, 218, 200, 0.24);
}

:root[data-theme="dark"] .destination-topic-sources-list a {
  color: #f6f7f9;
}

:root[data-theme="dark"] .destination-topic-figure figcaption {
  color: rgba(236, 244, 239, 0.88);
}

:root[data-theme="dark"] .topic-inline-citation a,
:root[data-theme="dark"] .destination-dish-links a,
:root[data-theme="dark"] .destination-guide-links a,
:root[data-theme="dark"] .site-citations-list a {
  color: #f6f7f9;
}

:root[data-theme="dark"] .destination-topic-chart,
:root[data-theme="dark"] .destination-dish-card,
:root[data-theme="dark"] .destination-guide-card {
  background: transparent;
}

:root[data-theme="dark"] .destination-topic-chart figcaption {
  color: rgba(236, 244, 239, 0.88);
}

:root[data-theme="dark"] .destination-guide-meta {
  color: rgba(236, 244, 239, 0.74);
}

:root[data-theme="dark"] .destination-guide-card--planner {
  border-color: rgba(188, 218, 200, 0.24);
  background: linear-gradient(160deg, rgba(29, 37, 48, 0.9), rgba(16, 22, 30, 0.7));
  box-shadow: 0 16px 34px rgba(0, 0, 0, 0.24);
}

:root[data-theme="dark"] .budget-planner-eyebrow,
:root[data-theme="dark"] .budget-itinerary-kicker {
  color: rgba(236, 244, 239, 0.58);
}

:root[data-theme="dark"] .budget-planner-form input,
:root[data-theme="dark"] .budget-planner-form select {
  background: rgba(16, 23, 34, 0.82);
  border-color: rgba(188, 218, 200, 0.22);
  color: #f6f7f9;
}

:root[data-theme="dark"] .budget-planner-field small,
:root[data-theme="dark"] .budget-itinerary-stay-meta,
:root[data-theme="dark"] .budget-day-stage-note,
:root[data-theme="dark"] .budget-itinerary-copy span {
  color: rgba(236, 244, 239, 0.72);
}

:root[data-theme="dark"] .budget-itinerary-summary,
:root[data-theme="dark"] .budget-itinerary-stay,
:root[data-theme="dark"] .budget-day-stage-rail,
:root[data-theme="dark"] .budget-day-stage-panel,
:root[data-theme="dark"] .budget-itinerary-slot {
  border-color: rgba(188, 218, 200, 0.16);
  background: linear-gradient(160deg, rgba(24, 31, 40, 0.9), rgba(14, 20, 28, 0.74));
}

:root[data-theme="dark"] .budget-day-stage-panel {
  box-shadow: 0 18px 36px rgba(0, 0, 0, 0.22);
}

:root[data-theme="dark"] .budget-day-stage-chips span,
:root[data-theme="dark"] .budget-itinerary-label {
  background: rgba(80, 132, 95, 0.16);
  border-color: rgba(188, 218, 200, 0.18);
}

:root[data-theme="dark"] .budget-itinerary-copy small {
  background: rgba(236, 244, 239, 0.08);
  color: rgba(246, 247, 249, 0.92);
}

body.search-result-active .country-map-preview {
  display: block;
  width: min(100%, var(--result-card-width));
  max-width: var(--result-card-width);
  height: var(--result-card-stage-height);
  min-height: 0;
  justify-self: end;
}

body.search-result-active #country-preview-map {
  height: 100%;
  min-height: 0;
}

body.search-result-active .destination-topic-toolbar:not([hidden]) {
  display: flex;
}

@media (max-width: 1080px) {
  body.search-result-active .country-search-grid {
    grid-template-columns: 1fr;
    gap: 0.86rem;
  }

  body.search-result-active .country-search-grid {
    --result-card-width: min(88vw, 720px);
    --result-card-stage-height: clamp(220px, 34vw, 330px);
    --result-label-band-height: clamp(132px, 17vw, 188px);
  }

  body.search-result-active .country-atmosphere,
  body.search-result-active .country-map-preview {
    max-width: 720px;
    width: min(100%, var(--result-card-width));
    margin: 0 auto;
  }

  body.search-result-active .country-map-preview {
    justify-self: center;
  }

  .country-map-zoom-controls {
    right: -2.65rem;
    top: 50%;
    transform: translateY(-50%);
    grid-auto-flow: row;
  }

  .search-center-column {
    max-width: 720px;
    width: 100%;
    margin: 0 auto;
    height: auto;
    min-height: 0;
    grid-template-rows: auto;
  }

  body.search-result-active .country-atmosphere {
    height: auto;
    grid-template-rows: auto auto;
  }

  body.search-result-active .country-atmosphere-meta {
    height: auto;
    min-height: 0;
  }

  body.search-result-active .country-atmosphere-copy {
    height: auto;
    min-height: var(--result-label-band-height);
    display: flex;
  }

  body.search-result-active .active-country-display:not([hidden]) {
    min-height: 1.05rem;
  }

  body.search-result-active .active-topic-display:not([hidden]) {
    width: 100%;
    margin-left: 0;
    height: auto;
    min-height: var(--result-label-band-height);
  }
}

@media (max-width: 880px) {
  .site-nav {
<<<<<<< HEAD
    flex-direction: row;
    justify-content: center;
    align-items: center;
    gap: 0.55rem;
    padding-inline: 4vw;
=======
    grid-template-columns: 1fr;
    justify-items: start;
  }

  .nav-search-slot {
    width: 100%;
    justify-self: stretch;
>>>>>>> refs/rewritten/onto
  }

  .nav-tools {
    width: 100%;
<<<<<<< HEAD
    justify-content: center;
    gap: 0.55rem;
  }

  .nav-links {
    width: 100%;
    justify-content: center;
    gap: 0.55rem;
=======
    justify-content: flex-start;
    justify-self: stretch;
>>>>>>> refs/rewritten/onto
  }

  main {
    padding: 2.7rem 5vw;
  }

  .search-first {
    min-height: min(700px, calc(100svh - 8.8rem));
    align-content: center;
    padding-block: clamp(0.8rem, 3vh, 1.6rem);
  }

  body:not(.search-result-active) .destination-search {
    width: min(1120px, 100%);
  }

  body.search-result-active .country-search-grid {
    --result-card-width: min(92vw, 540px);
    --result-card-stage-height: clamp(210px, 46vw, 290px);
  }

  body.search-result-active .country-atmosphere-title {
    font-size: clamp(1.45rem, 7.8vw, 2.35rem);
    max-width: 100%;
  }

  .budget-planner-form {
    grid-template-columns: 1fr;
  }

  .budget-planner-budget-cluster {
    grid-template-columns: 1fr;
  }

  .budget-day-stage {
    grid-template-columns: 1fr;
    min-height: auto;
  }

  .budget-day-stage-rail {
    position: static;
  }

  .budget-itinerary-slot {
    grid-template-columns: 1fr;
    gap: 0.28rem;
  }

  .site-citations-bubble.is-open {
    padding-inline: 0.75rem;
  }

  .site-citations-bubble.is-open .site-citations-toggle-inner {
    left: 0.6rem;
  }

  #travel-map {
    height: 320px;
  }
}

/* Premium liquid motion + full-bleed destination hero */
:root {
  --liquid-point-a: 18% 18%;
  --liquid-point-b: 84% 22%;
  --liquid-point-c: 64% 82%;
  --liquid-sheen-pos: 44%;
}

@keyframes liquidGradientFlow {
  0% {
    background-position: 0% 50%, var(--liquid-point-a), var(--liquid-point-b), var(--liquid-point-c);
    filter: saturate(1) brightness(1);
  }
  50% {
    background-position: 100% 50%, var(--liquid-point-c), var(--liquid-point-a), var(--liquid-point-b);
    filter: saturate(1.07) brightness(1.02);
  }
  100% {
    background-position: 0% 50%, var(--liquid-point-a), var(--liquid-point-b), var(--liquid-point-c);
    filter: saturate(1) brightness(1);
  }
}

@keyframes premiumReveal {
  from {
    opacity: 0;
    transform: translateY(14px) scale(0.985);
  }
  to {
    opacity: 1;
    transform: translateY(0) scale(1);
  }
}

:root:not([data-theme="dark"]) .brand {
  border: 1px solid rgba(112, 155, 127, 0.42);
  box-shadow:
    0 10px 24px rgba(15, 23, 42, 0.14),
    inset 0 1px 0 rgba(255, 255, 255, 0.82);
}

.brand,
.destination-search button,
.destination-topic-toolbar .destination-topic-chip,
.search-first .section-title h2.is-place-result::before {
  background-image:
    linear-gradient(130deg, rgba(255, 255, 255, 0.14), rgba(255, 255, 255, 0.04)),
    radial-gradient(circle at var(--liquid-point-a), rgba(255, 255, 255, 0.22), transparent 34%),
    radial-gradient(circle at var(--liquid-point-b), rgba(151, 255, 188, 0.2), transparent 38%),
    radial-gradient(circle at var(--liquid-point-c), rgba(206, 255, 224, 0.22), transparent 36%),
    var(--hero-green-gradient);
  background-size: 200% 200%, 150% 150%, 150% 150%, 150% 150%, 100% 100%;
  animation: liquidGradientFlow 11.5s ease-in-out infinite;
}

.destination-topic-toolbar .destination-topic-chip,
.search-suggestion,
.map-mode-btn,
.map-btn,
.gallery-filter,
.favorite-btn {
  transition:
    transform 220ms cubic-bezier(0.22, 1, 0.36, 1),
    box-shadow 220ms cubic-bezier(0.22, 1, 0.36, 1),
    background 220ms cubic-bezier(0.22, 1, 0.36, 1),
    border-color 220ms cubic-bezier(0.22, 1, 0.36, 1),
    filter 220ms cubic-bezier(0.22, 1, 0.36, 1);
}

.destination-topic-toolbar .destination-topic-chip:hover,
.destination-topic-toolbar .destination-topic-chip:focus-visible,
.map-mode-btn:hover,
.map-btn:hover,
.gallery-filter:hover,
.favorite-btn:hover {
  transform: translateY(-2px) scale(1.04);
  filter: saturate(1.06);
}

.destination-topic-figure {
  animation: premiumReveal 420ms cubic-bezier(0.22, 1, 0.36, 1) both;
}

.destination-topic-figure img {
  max-height: clamp(250px, 45vw, 500px);
  transition: transform 460ms cubic-bezier(0.22, 1, 0.36, 1), filter 460ms cubic-bezier(0.22, 1, 0.36, 1);
}

.destination-topic-figure:hover img {
  transform: scale(1.04);
  filter: saturate(1.04) contrast(1.02);
}

body.search-result-active .country-search-grid {
  grid-template-columns: minmax(0, 1fr);
  align-items: stretch;
  gap: 0;
}

body.search-result-active .search-center-column {
  position: absolute;
  top: 0.9rem;
  left: 50%;
  width: min(1160px, calc(100% - 2rem));
  height: auto;
  min-height: 0;
  transform: translateX(-50%);
  z-index: 220;
  pointer-events: none;
}

body.search-result-active .search-center-column > * {
  pointer-events: auto;
}

body.search-result-active .country-atmosphere {
  width: 100%;
  max-width: none;
  height: clamp(420px, 66vh, 760px);
  margin: 0;
  border-radius: 0;
  display: block;
  position: relative;
  overflow: hidden;
}

body.search-result-active .country-flag-ribbon {
  width: 100%;
  height: 100%;
  aspect-ratio: auto;
  border-radius: 0;
  border: 0;
  background: #dff7e9;
  box-shadow: none;
}

body.search-result-active .country-flag-ribbon::before,
body.search-result-active .country-flag-ribbon::after {
  display: none;
}

body.search-result-active .country-flag-image {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
}

body.search-result-active .country-atmosphere::after {
  content: "";
  position: absolute;
  inset: 0;
  background:
    linear-gradient(to top, rgba(8, 12, 18, 0.86) 0%, rgba(8, 12, 18, 0.52) 20%, rgba(8, 12, 18, 0.08) 56%, transparent 74%),
    radial-gradient(circle at var(--liquid-point-a), rgba(125, 255, 152, 0.12), transparent 36%);
  pointer-events: none;
}

body.search-result-active .country-atmosphere-meta {
  position: absolute;
  left: clamp(1rem, 4vw, 3.2rem);
  right: clamp(1rem, 4vw, 3.2rem);
  bottom: clamp(1rem, 3.4vw, 2.2rem);
  height: auto;
  min-height: 0;
  padding-right: 0;
  z-index: 260;
}

body.search-result-active .country-atmosphere-copy {
  height: auto;
  padding: 0;
}

body.search-result-active .country-atmosphere-title {
  color: #f4fbf7;
  text-shadow: 0 8px 24px rgba(0, 0, 0, 0.56);
}

body.search-result-active .destination-topic-toolbar {
  justify-content: flex-start;
  margin-top: 0.7rem;
}

.destination-hero-banner {
  position: relative;
  width: calc(100% + 3rem);
  margin: -0.95rem -1.5rem 1rem;
  min-height: clamp(260px, 42vw, 560px);
  overflow: hidden;
  border-radius: 0 0 26px 26px;
  animation: premiumReveal 480ms cubic-bezier(0.22, 1, 0.36, 1) both;
}

.destination-hero-banner-image {
  width: 100%;
  height: 100%;
  min-height: clamp(260px, 42vw, 560px);
  object-fit: cover;
  object-position: center;
  display: block;
}

.destination-hero-banner-image-fallback {
  background:
    radial-gradient(circle at var(--liquid-point-a), rgba(255, 255, 255, 0.26), transparent 40%),
    radial-gradient(circle at var(--liquid-point-b), rgba(125, 255, 152, 0.22), transparent 44%),
    var(--hero-green-gradient);
  background-size: 200% 200%, 160% 160%, 100% 100%;
  animation: liquidGradientFlow 12s ease-in-out infinite;
}

.destination-hero-banner-fade {
  position: absolute;
  inset: 0;
  background: linear-gradient(to top, rgba(7, 12, 18, 0.9) 0%, rgba(7, 12, 18, 0.5) 26%, rgba(7, 12, 18, 0.08) 58%, transparent 75%);
  pointer-events: none;
}

.destination-hero-banner-meta {
  position: absolute;
  left: clamp(1rem, 2.8vw, 2.3rem);
  right: clamp(1rem, 2.8vw, 2.3rem);
  bottom: clamp(0.9rem, 2.5vw, 2rem);
  display: flex;
  align-items: center;
  gap: 0.7rem;
  z-index: 2;
}

.destination-hero-banner-flag {
  width: clamp(38px, 4vw, 58px);
  height: clamp(38px, 4vw, 58px);
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.14);
  border: 1px solid rgba(255, 255, 255, 0.42);
  box-shadow: 0 10px 26px rgba(0, 0, 0, 0.34);
  object-fit: cover;
}

.destination-hero-banner-title {
  margin: 0;
  font-size: clamp(1.35rem, 3.6vw, 2.45rem);
  color: #f4fbf7;
  font-family: "Coolvetica", sans-serif;
  font-style: normal;
  letter-spacing: 0.015em;
  text-shadow: 0 8px 24px rgba(0, 0, 0, 0.56);
}

@media (max-width: 1080px) {
  body.search-result-active .search-center-column {
    width: calc(100% - 1.2rem);
    top: 0.7rem;
  }

  body.search-result-active .country-atmosphere {
    height: clamp(360px, 58vh, 580px);
  }

  .destination-hero-banner {
    width: calc(100% + 1.6rem);
    margin: -0.85rem -0.8rem 0.95rem;
  }
}

@media (max-width: 760px) {
  .site-nav {
    grid-template-columns: minmax(0, 1fr) auto;
    grid-template-areas:
      "brand tools"
      "search search";
    gap: 0.58rem;
    padding: 0.68rem 0.86rem;
  }

  .brand {
    grid-area: brand;
    justify-self: start;
    font-size: 1.34rem;
    padding: 0.28rem 0.82rem;
  }

  .nav-search-slot {
    grid-area: search;
    width: 100%;
    justify-self: stretch;
  }

  .nav-tools {
    grid-area: tools;
    width: auto;
    justify-self: end;
    justify-content: flex-end;
    gap: 0.48rem;
  }

  .nav-links {
    gap: 0.4rem;
    flex-wrap: nowrap;
    overflow-x: auto;
    scrollbar-width: none;
    -webkit-overflow-scrolling: touch;
    padding-bottom: 0.15rem;
  }

  .nav-links::-webkit-scrollbar {
    display: none;
  }

  .nav-links a {
    white-space: nowrap;
    font-size: 0.9rem;
    padding: 0.34rem 0.66rem;
  }

  .theme-toggle {
    width: 2.22rem;
    min-width: 2.22rem;
    height: 2.22rem;
  }

  main {
    padding: 1.16rem 0.82rem 2.25rem;
    gap: 1rem;
  }

  .section {
    padding: 0.88rem 0.8rem;
  }

  .search-first .section-title h2 {
    font-size: clamp(2rem, 11vw, 3rem);
    line-height: 0.96;
    padding: 0.08em 0.28em 0.13em;
  }

  .search-first .section-title .search-first-subtitle {
    font-size: clamp(1rem, 4.8vw, 1.24rem);
  }

  .country-search-grid {
    grid-template-columns: minmax(0, 1fr);
    gap: 0.64rem;
  }

  .search-center-column {
    gap: 0.56rem;
  }

  .destination-search-row {
    display: grid;
    grid-template-columns: minmax(0, 1fr);
    gap: 0.52rem;
  }

  .destination-search input,
  .destination-search button {
    width: 100%;
    min-height: 50px;
  }

  .destination-search input {
    font-size: 1.02rem;
    padding: 0.74rem 0.92rem;
  }

  .destination-search button {
    font-size: 0.95rem;
    padding: 0.62rem 0.9rem;
  }

  .search-suggestions {
    max-height: min(46svh, 330px);
  }

  body.search-result-active .country-search-grid {
    display: grid;
    grid-template-columns: minmax(0, 1fr);
    gap: 0.6rem;
  }

  body.search-result-active .search-center-column {
    position: static;
    top: auto;
    left: auto;
    transform: none;
    width: 100%;
    margin: 0;
    padding: 0;
    height: auto;
    min-height: 0;
    z-index: 40;
    pointer-events: auto;
    grid-template-rows: auto;
  }

  body.search-result-active .search-center-column > * {
    pointer-events: auto;
  }

  body.search-result-active .country-atmosphere {
    height: clamp(300px, 56svh, 460px);
    border-radius: 20px;
    margin: 0;
  }

  body.search-result-active .country-flag-ribbon {
    border-radius: 20px;
  }

  body.search-result-active .country-atmosphere-meta {
    left: 0.92rem;
    right: 0.92rem;
    bottom: 0.92rem;
  }

  body.search-result-active .country-atmosphere-title {
    font-size: clamp(1.32rem, 8vw, 2.05rem);
  }

  body.search-result-active .country-map-preview {
    display: none !important;
  }

  body.search-result-active .destination-topic-toolbar:not([hidden]) {
    display: flex;
    flex-wrap: nowrap;
    overflow-x: auto;
    -webkit-overflow-scrolling: touch;
    scroll-snap-type: x proximity;
    gap: 0.46rem;
    padding-bottom: 0.22rem;
  }

  .destination-topic-toolbar .destination-topic-chip {
    flex: 0 0 auto;
    min-width: 88px;
    scroll-snap-align: start;
  }

  .destination-profile {
    width: 100%;
    margin: 0 auto 1.7rem;
  }

  body.search-result-active .destination-profile {
    width: 100%;
    margin: 0 auto 1.9rem;
  }

  .destination-profile-shell {
    gap: 0.68rem;
  }

  .destination-reading-panel,
  .destination-profile-card,
  .destination-topic-panel,
  .destination-section-block {
    border-radius: 14px;
    padding: 0.78rem 0.8rem;
  }

  .destination-reading-panel p,
  .destination-topic-detail p,
  .destination-section-block p {
    font-size: 0.98rem;
    line-height: 1.55;
  }

  .destination-topic-figure img {
    max-height: clamp(220px, 56vw, 330px);
  }

  .destination-hero-banner {
    width: calc(100% + 1.2rem);
    margin: -0.72rem -0.6rem 0.86rem;
    min-height: clamp(220px, 56vw, 360px);
    border-radius: 0 0 20px 20px;
  }

  .destination-hero-banner-image {
    min-height: clamp(220px, 56vw, 360px);
  }

  .destination-hero-banner-meta {
    left: 0.86rem;
    right: 0.86rem;
    bottom: 0.82rem;
    gap: 0.5rem;
  }

  .destination-hero-banner-flag {
    width: clamp(34px, 10vw, 44px);
    height: clamp(34px, 10vw, 44px);
  }

  .destination-hero-banner-title {
    font-size: clamp(1.12rem, 7vw, 1.6rem);
    line-height: 1;
  }

  .map-layout {
    gap: 0.66rem;
  }

  .map-view-toggle,
  .map-actions {
    display: grid;
    grid-auto-flow: column;
    grid-auto-columns: max-content;
    overflow-x: auto;
    -webkit-overflow-scrolling: touch;
    scrollbar-width: none;
    gap: 0.44rem;
    padding-bottom: 0.2rem;
  }

  .map-view-toggle::-webkit-scrollbar,
  .map-actions::-webkit-scrollbar {
    display: none;
  }

  .map-mode-btn,
  .map-btn {
    white-space: nowrap;
    font-size: 0.86rem;
    padding: 0.42rem 0.7rem;
  }

  #travel-map {
    height: clamp(300px, 56svh, 430px);
    border-radius: 16px;
  }

  .leaflet-control-zoom a {
    width: 32px;
    height: 32px;
    line-height: 30px;
    font-size: 1.12rem;
  }

  .footer {
    padding: 1rem 0.8rem 1.55rem;
    font-size: 0.92rem;
  }
}

@media (max-width: 560px) {
  .site-nav {
    padding: 0.6rem 0.66rem;
    gap: 0.48rem;
  }

  .brand {
    font-size: 1.2rem;
    padding: 0.24rem 0.7rem;
  }

  .nav-links a {
    font-size: 0.84rem;
    padding: 0.3rem 0.58rem;
  }

  main {
    padding: 0.92rem 0.62rem 1.95rem;
  }

  .section {
    padding: 0.74rem 0.66rem;
  }

  .search-first .section-title h2 {
    font-size: clamp(1.74rem, 10.6vw, 2.38rem);
  }

  body.search-result-active .country-atmosphere {
    height: clamp(250px, 48svh, 360px);
  }

  body.search-result-active .country-atmosphere-meta {
    left: 0.72rem;
    right: 0.72rem;
    bottom: 0.72rem;
  }

  body.search-result-active .destination-topic-toolbar:not([hidden]) {
    gap: 0.38rem;
  }

  .destination-topic-toolbar .destination-topic-chip {
    min-width: 78px;
  }

  .destination-topic-toolbar .destination-topic-label {
    max-width: 9.8ch;
  }

  .destination-hero-banner {
    width: calc(100% + 0.8rem);
    margin: -0.62rem -0.4rem 0.7rem;
    min-height: clamp(190px, 52vw, 300px);
    border-radius: 0 0 16px 16px;
  }

  .destination-hero-banner-image {
    min-height: clamp(190px, 52vw, 300px);
  }

  .destination-hero-banner-meta {
    left: 0.66rem;
    right: 0.66rem;
    bottom: 0.66rem;
  }

  .destination-reading-panel,
  .destination-profile-card,
  .destination-topic-panel,
  .destination-section-block {
    padding: 0.68rem 0.68rem;
  }

  .destination-topic-figure img {
    max-height: clamp(190px, 58vw, 270px);
  }

  #travel-map {
    height: clamp(260px, 52svh, 350px);
  }
}

/* Full-bleed destination hero image with lower fade and overlayed info */
.destination-result-hero {
  width: 100vw;
  min-height: clamp(380px, 68svh, 860px);
  margin-left: calc(50% - 50vw);
  margin-right: calc(50% - 50vw);
  border: 0;
  border-radius: 0;
  box-shadow: none;
  overflow: hidden;
  isolation: isolate;
  background: #081019;
}

.destination-result-hero-image--fallback {
  position: absolute;
  inset: 0;
  z-index: 0;
  background:
    radial-gradient(circle at var(--liquid-point-a), rgba(255, 255, 255, 0.24), transparent 40%),
    radial-gradient(circle at var(--liquid-point-b), rgba(125, 255, 152, 0.22), transparent 44%),
    var(--hero-green-gradient);
  background-size: 200% 200%, 160% 160%, 100% 100%;
  animation: liquidGradientFlow 12s ease-in-out infinite;
}

.destination-result-hero-image--primary {
  position: absolute;
  inset: 0;
  z-index: 1;
}

.destination-result-hero-image--primary.is-broken {
  display: none;
}

.destination-result-hero-backdrop {
  z-index: 2;
  background:
    linear-gradient(to top, rgba(6, 10, 14, 0.95) 0%, rgba(6, 10, 14, 0.78) 20%, rgba(6, 10, 14, 0.35) 48%, rgba(6, 10, 14, 0.08) 68%, transparent 82%),
    radial-gradient(circle at 50% 88%, rgba(8, 12, 18, 0.42), transparent 62%);
}

.destination-result-hero-overlay {
  z-index: 3;
  width: min(1240px, calc(100% - 2.6rem));
  margin-inline: auto;
  padding: clamp(1.05rem, 2.7vw, 2.4rem) 0 clamp(1.2rem, 3vw, 2.7rem);
}

@media (max-width: 760px) {
  .destination-result-hero {
    min-height: clamp(270px, 55svh, 500px);
  }

  .destination-result-hero-overlay {
    width: calc(100% - 1.2rem);
    padding: 0.86rem 0 1rem;
    gap: 0.62rem;
  }
}

@media (max-width: 560px) {
  .destination-result-hero {
    min-height: clamp(220px, 50svh, 380px);
  }

  .destination-result-hero-overlay {
    width: calc(100% - 0.8rem);
    padding: 0.7rem 0 0.82rem;
  }
}

/* Unified premium interaction/outline layer */
:root {
  --liquid-outline: rgba(255, 255, 255, 0.74);
}

:root[data-theme="dark"] {
  --liquid-outline: rgba(186, 220, 199, 0.34);
}

.brand,
.nav-links a,
.destination-search input,
.destination-search button,
.theme-toggle,
.guide-tab,
.map-mode-btn,
.map-btn,
.gallery-filter,
.favorite-btn,
.destination-topic-toolbar .destination-topic-chip,
.destination-result-hero-kicker,
.destination-result-hero .active-topic-display,
.destination-hero-flag-chip {
  border-width: 1px !important;
  border-color: var(--liquid-outline) !important;
}

:root:not([data-theme="dark"]) .brand {
  box-shadow:
    0 10px 22px rgba(15, 23, 42, 0.15),
    inset 0 1px 0 rgba(255, 255, 255, 0.85) !important;
}

.brand {
  transition:
    transform 220ms cubic-bezier(0.22, 1, 0.36, 1),
    box-shadow 220ms cubic-bezier(0.22, 1, 0.36, 1),
    background 220ms cubic-bezier(0.22, 1, 0.36, 1),
    border-color 220ms cubic-bezier(0.22, 1, 0.36, 1),
    filter 220ms cubic-bezier(0.22, 1, 0.36, 1);
}

.brand:hover,
.brand:focus-visible {
  transform: translateY(-1px) scale(1.04) !important;
  filter: saturate(1.06);
}

.brand:active {
  transform: scale(0.985) !important;
}

.brand,
.destination-search button,
.destination-topic-toolbar .destination-topic-chip,
.destination-result-hero-kicker,
.destination-result-hero .active-topic-display,
.destination-hero-flag-chip,
.guide-tab.active,
.map-mode-btn.active,
.map-btn.active,
.gallery-filter.active,
.favorite-btn.saved {
  background-image:
    linear-gradient(130deg, rgba(255, 255, 255, 0.14), rgba(255, 255, 255, 0.04)),
    radial-gradient(circle at var(--liquid-point-a), rgba(255, 255, 255, 0.22), transparent 34%),
    radial-gradient(circle at var(--liquid-point-b), rgba(151, 255, 188, 0.2), transparent 38%),
    radial-gradient(circle at var(--liquid-point-c), rgba(206, 255, 224, 0.22), transparent 36%),
    var(--hero-green-gradient);
  background-repeat: no-repeat;
  background-size: 210% 210%, 155% 155%, 155% 155%, 155% 155%, 100% 100%;
  animation: liquidGradientFlow 11.5s ease-in-out infinite;
}

.destination-topic-toolbar {
  z-index: 360;
}

.destination-topic-toolbar:hover,
.destination-topic-toolbar:focus-within {
  z-index: 380;
}

.destination-topic-toolbar .destination-topic-chip {
  --topic-icon-duration: 0.38s;
  transform-origin: center;
}

.destination-topic-toolbar .destination-topic-chip:hover,
.destination-topic-toolbar .destination-topic-chip:focus-visible {
  transform: translateY(-1px) scale(1.015);
}

.destination-topic-toolbar .destination-topic-icon,
.destination-topic-toolbar .destination-topic-icon svg {
  overflow: hidden;
}

.destination-topic-toolbar .destination-topic-label {
  pointer-events: none;
}

@media (max-width: 980px) {
  .destination-topic-toolbar .destination-topic-label {
    display: none;
  }
}

.destination-result-hero-image--primary {
  animation: premiumReveal 500ms cubic-bezier(0.22, 1, 0.36, 1) both;
}

/* Top bar redesign + map modal + image interaction polish */
.site-nav {
  grid-template-columns: auto minmax(58px, 1fr) auto;
  gap: 0.72rem;
  align-items: center;
}

.nav-left,
.nav-right {
  display: flex;
  align-items: center;
  gap: 0.58rem;
  min-width: 0;
}

.nav-primary-links {
  display: flex;
  align-items: center;
  gap: 0.48rem;
  flex-wrap: wrap;
}

.nav-pill,
.nav-map-trigger,
.nav-profile-btn {
  border: 1px solid var(--liquid-outline);
  border-radius: 999px;
  min-height: 2.45rem;
  padding: 0.5rem 0.88rem;
  background:
    linear-gradient(130deg, rgba(255, 255, 255, 0.14), rgba(255, 255, 255, 0.04)),
    radial-gradient(circle at var(--liquid-point-a), rgba(255, 255, 255, 0.22), transparent 34%),
    radial-gradient(circle at var(--liquid-point-b), rgba(151, 255, 188, 0.2), transparent 38%),
    radial-gradient(circle at var(--liquid-point-c), rgba(206, 255, 224, 0.22), transparent 36%),
    var(--hero-green-gradient);
  background-repeat: no-repeat;
  background-size: 210% 210%, 155% 155%, 155% 155%, 155% 155%, 100% 100%;
  animation: liquidGradientFlow 11.5s ease-in-out infinite;
  color: var(--ink);
  font-family: "Coolvetica", sans-serif;
  font-size: 0.96rem;
  font-weight: 700;
  line-height: 1;
  box-shadow:
    0 10px 22px rgba(15, 23, 42, 0.14),
    inset 0 1px 0 rgba(255, 255, 255, 0.85);
  cursor: pointer;
  transition: transform 220ms cubic-bezier(0.22, 1, 0.36, 1), box-shadow 220ms cubic-bezier(0.22, 1, 0.36, 1), filter 220ms cubic-bezier(0.22, 1, 0.36, 1);
}

.nav-pill:hover,
.nav-map-trigger:hover,
.nav-profile-btn:hover {
  transform: translateY(-1px) scale(1.03);
  filter: saturate(1.06);
}

.nav-pill:active,
.nav-map-trigger:active,
.nav-profile-btn:active {
  transform: scale(0.985);
}

.nav-pill-random,
.nav-map-trigger,
.nav-profile-btn {
  width: 2.45rem;
  min-width: 2.45rem;
  padding: 0;
  display: inline-flex;
  align-items: center;
  justify-content: center;
}

.nav-map-trigger svg,
.nav-profile-btn svg {
  width: 1.1rem;
  height: 1.1rem;
  fill: currentColor;
  display: block;
}

.nav-search-shell {
  justify-self: center;
  display: flex;
  align-items: center;
  gap: 0.46rem;
  width: 58px;
  min-width: 58px;
  max-width: min(840px, 100%);
  transition: width 280ms cubic-bezier(0.22, 1, 0.36, 1);
}

.nav-search-shell.is-expanded {
  width: min(840px, 100%);
}

.nav-search-toggle {
  width: 2.45rem;
  min-width: 2.45rem;
  height: 2.45rem;
  border: 1px solid var(--liquid-outline);
  border-radius: 999px;
  background:
    linear-gradient(130deg, rgba(255, 255, 255, 0.14), rgba(255, 255, 255, 0.04)),
    radial-gradient(circle at var(--liquid-point-a), rgba(255, 255, 255, 0.22), transparent 34%),
    radial-gradient(circle at var(--liquid-point-b), rgba(151, 255, 188, 0.2), transparent 38%),
    radial-gradient(circle at var(--liquid-point-c), rgba(206, 255, 224, 0.22), transparent 36%),
    var(--hero-green-gradient);
  background-repeat: no-repeat;
  background-size: 210% 210%, 155% 155%, 155% 155%, 155% 155%, 100% 100%;
  animation: liquidGradientFlow 11.5s ease-in-out infinite;
  color: var(--ink);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  box-shadow:
    0 10px 22px rgba(15, 23, 42, 0.14),
    inset 0 1px 0 rgba(255, 255, 255, 0.85);
  cursor: pointer;
  transition: transform 220ms cubic-bezier(0.22, 1, 0.36, 1), box-shadow 220ms cubic-bezier(0.22, 1, 0.36, 1), filter 220ms cubic-bezier(0.22, 1, 0.36, 1);
}

.nav-search-toggle svg {
  width: 1.06rem;
  height: 1.06rem;
  fill: currentColor;
}

.nav-search-shell.is-expanded .nav-search-toggle {
  transform: scale(0.94);
}

.nav-search-shell .nav-search-slot {
  min-width: 0;
  flex: 1;
  opacity: 0;
  transform: translateX(-8px) scale(0.98);
  pointer-events: none;
  transition: opacity 220ms ease, transform 260ms cubic-bezier(0.22, 1, 0.36, 1);
}

.nav-search-shell.is-expanded .nav-search-slot {
  opacity: 1;
  transform: translateX(0) scale(1);
  pointer-events: auto;
}

.site-nav .destination-search {
  width: 100%;
  max-width: none;
  margin: 0;
}

.site-nav .destination-search label {
  display: none;
}

.site-nav .destination-search-row {
  gap: 0.46rem;
  flex-wrap: nowrap;
}

.site-nav .destination-search input,
.site-nav .destination-search button {
  min-height: 50px;
}

.site-nav .destination-search button {
  min-width: 110px;
}

body.search-result-active main {
  padding-top: 0;
}

body.search-result-active .destination-profile {
  margin-top: 0;
}

body.search-result-active .destination-profile-shell--hero {
  margin-top: 0;
}

.destination-topic-figure {
  border: 1px solid var(--glass-panel-border);
  border-radius: 24px;
  overflow: hidden;
  background: var(--glass-panel-bg);
  box-shadow: var(--surface-box-shadow);
  transition: transform 360ms cubic-bezier(0.22, 1, 0.36, 1), box-shadow 360ms cubic-bezier(0.22, 1, 0.36, 1), filter 360ms cubic-bezier(0.22, 1, 0.36, 1);
  transform-origin: center;
}

.destination-topic-figure:hover {
  transform: translateY(-4px) scale(1.015);
  filter: saturate(1.04);
}

.destination-topic-figure img {
  width: 100%;
  aspect-ratio: 16 / 9;
  max-height: none !important;
  object-fit: cover;
  border-radius: 0;
}

.destination-topic-figure:hover img {
  transform: scale(1.025);
}

.destination-topic-figure figcaption {
  padding: 0.52rem 0.7rem;
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.18), rgba(255, 255, 255, 0.08));
  border-top: 1px solid rgba(255, 255, 255, 0.22);
}

body.map-modal-open {
  overflow: hidden;
}

.map-modal {
  position: fixed;
  inset: 0;
  z-index: 5200;
  opacity: 0;
  pointer-events: none;
  transition: opacity 240ms ease;
}

.map-modal.is-open {
  opacity: 1;
  pointer-events: auto;
}

.map-modal-backdrop {
  position: absolute;
  inset: 0;
  background: rgba(5, 10, 14, 0.58);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
}

.map-modal-dialog {
  position: relative;
  z-index: 2;
  width: min(1420px, calc(100% - 2rem));
  margin: 1rem auto;
  max-height: calc(100svh - 2rem);
  overflow: hidden;
  border-radius: 24px;
  border: 1px solid var(--liquid-outline);
  background: var(--glass-panel-bg);
  box-shadow: 0 28px 64px rgba(0, 0, 0, 0.35);
  display: grid;
  grid-template-rows: auto 1fr;
}

.map-modal-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 0.8rem;
  padding: 0.88rem 1rem;
  border-bottom: 1px solid rgba(255, 255, 255, 0.24);
  background: rgba(10, 16, 23, 0.14);
}

.map-modal-kicker {
  margin: 0 0 0.18rem;
  font-size: 0.72rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  opacity: 0.74;
}

.map-modal-header h2 {
  margin: 0;
  font-size: clamp(1.06rem, 1.7vw, 1.34rem);
}

.map-modal-close {
  width: 2.2rem;
  min-width: 2.2rem;
  height: 2.2rem;
  border-radius: 999px;
  border: 1px solid var(--liquid-outline);
  background: rgba(255, 255, 255, 0.22);
  color: var(--ink);
  cursor: pointer;
  font-family: "Coolvetica", sans-serif;
  font-size: 1rem;
}

.map-modal .map-layout {
  padding: 0.82rem;
}

.map-modal #map {
  display: grid !important;
  margin-top: 0 !important;
}

.map-modal #travel-map {
  height: clamp(420px, 72svh, 760px);
}

@media (max-width: 1140px) {
  .site-nav {
    grid-template-columns: minmax(0, 1fr);
    gap: 0.56rem;
  }

  .nav-left,
  .nav-right,
  .nav-primary-links {
    flex-wrap: wrap;
  }

  .nav-search-shell,
  .nav-search-shell.is-expanded {
    width: 100%;
    max-width: none;
  }

  .map-modal-dialog {
    width: calc(100% - 1rem);
    margin: 0.5rem auto;
    max-height: calc(100svh - 1rem);
  }
}

@media (max-width: 760px) {
  .nav-pill {
    min-height: 2.2rem;
    padding: 0.44rem 0.72rem;
    font-size: 0.88rem;
  }

  .nav-pill-random,
  .nav-map-trigger,
  .nav-profile-btn,
  .nav-search-toggle,
  .theme-toggle {
    width: 2.2rem;
    min-width: 2.2rem;
    height: 2.2rem;
  }

  .site-nav .destination-search-row {
    display: flex;
  }

  .site-nav .destination-search button {
    min-width: 92px;
    padding-inline: 0.72rem;
  }

  .map-modal .map-layout {
    padding: 0.6rem;
  }

  .map-modal #travel-map {
    height: clamp(300px, 56svh, 480px);
  }
}

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

  .hero,
  .launch-content,
  .destination-topic-figure,
  .destination-result-hero-image--primary {
    transition: none !important;
  }
}

/* Nav + map trigger tuning (latest UX pass) */
.nav-search-toggle {
  display: none !important;
}

.site-nav {
  grid-template-columns: auto minmax(260px, clamp(320px, 40vw, 560px)) auto !important;
  gap: 0.62rem !important;
}

.nav-search-shell,
.nav-search-shell.is-expanded {
  width: clamp(320px, 40vw, 560px) !important;
  min-width: 0 !important;
  max-width: 100% !important;
  gap: 0 !important;
}

.nav-search-shell .nav-search-slot,
.nav-search-shell.is-expanded .nav-search-slot {
  flex: 1 1 auto !important;
  min-width: 0 !important;
  opacity: 1 !important;
  transform: none !important;
  pointer-events: auto !important;
}

.site-nav .brand,
.site-nav .nav-pill,
.site-nav .theme-toggle,
.site-nav .nav-profile-btn,
.floating-map-trigger,
.site-nav .destination-search input,
.site-nav .destination-search button,
.destination-topic-toolbar .destination-topic-chip {
  border: 1px solid var(--liquid-outline) !important;
  background: linear-gradient(145deg, rgba(255, 255, 255, 0.46), rgba(255, 255, 255, 0.2)) !important;
  background-image: none !important;
  animation: none !important;
  box-shadow:
    0 8px 20px rgba(15, 23, 42, 0.12),
    inset 0 1px 0 rgba(255, 255, 255, 0.82) !important;
}

:root[data-theme="dark"] .site-nav .brand,
:root[data-theme="dark"] .site-nav .nav-pill,
:root[data-theme="dark"] .site-nav .theme-toggle,
:root[data-theme="dark"] .site-nav .nav-profile-btn,
:root[data-theme="dark"] .floating-map-trigger,
:root[data-theme="dark"] .site-nav .destination-search input,
:root[data-theme="dark"] .site-nav .destination-search button,
:root[data-theme="dark"] .destination-topic-toolbar .destination-topic-chip {
  background: linear-gradient(145deg, rgba(18, 26, 36, 0.78), rgba(10, 16, 24, 0.62)) !important;
  box-shadow:
    0 12px 24px rgba(0, 0, 0, 0.34),
    inset 0 1px 0 rgba(255, 255, 255, 0.08) !important;
}

.site-nav .brand:hover,
.site-nav .brand:focus-visible,
.site-nav .nav-pill:hover,
.site-nav .nav-pill:focus-visible,
.site-nav .theme-toggle:hover,
.site-nav .theme-toggle:focus-visible,
.site-nav .nav-profile-btn:hover,
.site-nav .nav-profile-btn:focus-visible,
.floating-map-trigger:hover,
.floating-map-trigger:focus-visible,
.site-nav .destination-search input:hover,
.site-nav .destination-search input:focus-visible,
.site-nav .destination-search button:hover,
.site-nav .destination-search button:focus-visible,
.destination-topic-toolbar .destination-topic-chip:hover,
.destination-topic-toolbar .destination-topic-chip:focus-visible,
.destination-topic-toolbar .destination-topic-chip.active {
  background-image:
    linear-gradient(130deg, rgba(255, 255, 255, 0.14), rgba(255, 255, 255, 0.04)),
    radial-gradient(circle at var(--liquid-point-a), rgba(255, 255, 255, 0.22), transparent 34%),
    radial-gradient(circle at var(--liquid-point-b), rgba(151, 255, 188, 0.2), transparent 38%),
    radial-gradient(circle at var(--liquid-point-c), rgba(206, 255, 224, 0.22), transparent 36%),
    var(--hero-green-gradient) !important;
  background-size: 210% 210%, 155% 155%, 155% 155%, 155% 155%, 100% 100% !important;
  animation: liquidGradientFlow 11.5s ease-in-out infinite !important;
  transform: translateY(-1px) scale(1.02) !important;
  filter: saturate(1.06);
}

.site-nav .destination-search {
  margin: 0 !important;
}

.site-nav .destination-search-row {
  gap: 0.42rem !important;
  align-items: center !important;
}

.site-nav .destination-search input,
.site-nav .destination-search button {
  min-height: 2.45rem !important;
  height: 2.45rem !important;
  font-size: 0.95rem !important;
  border-radius: 999px !important;
}

.site-nav .destination-search input {
  padding: 0.48rem 0.9rem !important;
}

.site-nav .destination-search button {
  min-width: 5.6rem !important;
  padding: 0.48rem 0.88rem !important;
}

.floating-map-trigger {
  position: fixed !important;
  right: clamp(0.9rem, 2.2vw, 1.45rem) !important;
  bottom: clamp(0.9rem, 2.2vw, 1.45rem) !important;
  width: 2.7rem !important;
  min-width: 2.7rem !important;
  height: 2.7rem !important;
  border-radius: 999px !important;
  display: inline-flex !important;
  align-items: center !important;
  justify-content: center !important;
  z-index: 4700 !important;
  color: var(--ink) !important;
  cursor: pointer !important;
}

.floating-map-trigger svg {
  width: 1.12rem;
  height: 1.12rem;
  fill: currentColor;
}

@media (max-width: 1140px) {
  .site-nav {
    grid-template-columns: minmax(0, 1fr) !important;
  }

  .nav-search-shell,
  .nav-search-shell.is-expanded {
    width: 100% !important;
  }
}

/* Performance + responsive layout pass */
.destination-profile,
.site-citations,
.footer {
  content-visibility: auto;
  contain-intrinsic-size: 900px;
}

body:not(.search-result-active) .site-nav {
  grid-template-columns: auto 1fr auto !important;
}

body:not(.search-result-active) .nav-search-shell {
  display: none !important;
}

body.search-result-active .nav-search-shell {
  display: flex !important;
}

body:not(.search-result-active) .country-search-grid {
  grid-template-columns: minmax(320px, 1120px) !important;
  justify-content: center !important;
}

body:not(.search-result-active) .search-center-column {
  max-width: min(1120px, 100%) !important;
  margin-inline: auto !important;
  justify-items: center !important;
}

body:not(.search-result-active) .destination-search {
  width: min(980px, 100%) !important;
}

body:not(.search-result-active) .destination-search-row {
  grid-template-columns: minmax(0, 1fr) auto !important;
  display: grid !important;
  gap: 0.64rem !important;
}

body:not(.search-result-active) .destination-search input {
  min-width: 0 !important;
}

body:not(.search-result-active) .destination-search button {
  min-width: 124px !important;
}

.map-modal {
  transition: opacity 260ms ease;
}

.map-modal .map-modal-dialog {
  opacity: 0;
  transform: translateY(24px) scale(0.93);
  transform-origin: 50% 78%;
  transition:
    transform 320ms cubic-bezier(0.22, 1, 0.36, 1),
    opacity 240ms ease;
}

.map-modal.is-open .map-modal-dialog {
  opacity: 1;
  transform: translateY(0) scale(1);
}

/* Desktop */
@media (min-width: 1440px) {
  .site-nav {
    width: min(1520px, calc(100% - 2rem));
    margin-inline: auto;
  }

  main {
    width: min(1520px, calc(100% - 2rem));
    margin-inline: auto;
  }
}

/* Laptop + tablet landscape */
@media (max-width: 1200px) {
  .site-nav {
    grid-template-columns: minmax(0, 1fr);
    gap: 0.56rem;
  }

  .nav-left,
  .nav-right,
  .nav-primary-links {
    flex-wrap: wrap;
  }

  body.search-result-active .nav-search-shell {
    width: 100% !important;
    max-width: none !important;
  }

  body.search-result-active .site-nav .destination-search {
    width: 100% !important;
  }

  .floating-map-trigger {
    right: 0.92rem !important;
    bottom: 0.92rem !important;
  }
}

/* Tablet portrait */
@media (max-width: 960px) {
  .site-nav {
    padding: 0.62rem 0.74rem !important;
  }

  .nav-pill,
  .brand,
  .theme-toggle,
  .nav-profile-btn {
    min-height: 2.2rem !important;
    font-size: 0.86rem !important;
  }

  .nav-primary-links,
  .nav-right {
    gap: 0.42rem !important;
  }

  body:not(.search-result-active) .destination-search {
    width: min(900px, 100%) !important;
  }
}

/* Phone */
@media (max-width: 720px) {
  body:not(.search-result-active) .country-search-grid {
    grid-template-columns: minmax(0, 1fr) !important;
  }

  body:not(.search-result-active) .destination-search {
    width: 100% !important;
  }

  body:not(.search-result-active) .destination-search-row {
    grid-template-columns: minmax(0, 1fr) !important;
  }

  body:not(.search-result-active) .destination-search button {
    width: 100% !important;
  }

  body.search-result-active .search-center-column {
    width: calc(100% - 1rem) !important;
    top: 0.54rem !important;
  }

  .map-modal .map-modal-dialog {
    width: calc(100% - 0.72rem);
    margin: 0.36rem auto;
    border-radius: 18px;
  }

  .map-modal #travel-map {
    height: clamp(290px, 52svh, 450px) !important;
  }
}

/* Cross-platform nav/home sizing fixes */
.site-nav {
  display: flex !important;
  flex-wrap: wrap !important;
  justify-content: center !important;
  align-items: center !important;
  gap: 0.62rem !important;
  width: min(1640px, calc(100% - 1.4rem)) !important;
  margin-inline: auto !important;
  padding: 0.66rem 0.8rem !important;
}

.nav-left,
.nav-right,
.nav-primary-links {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.46rem;
  flex-wrap: wrap;
}

.nav-search-shell {
  display: flex;
  align-items: center;
  justify-content: center;
  min-width: 0;
}

body.search-result-active .nav-search-shell,
body.search-result-active .nav-search-shell.is-expanded {
  display: flex !important;
  width: min(760px, 68vw) !important;
  max-width: 100% !important;
  flex: 0 1 auto !important;
}

body.search-result-active .site-nav .destination-search {
  width: 100% !important;
}

body.search-result-active .site-nav .destination-search-row {
  display: grid !important;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 0.42rem !important;
}

body.search-result-active .site-nav .destination-search input,
body.search-result-active .site-nav .destination-search button {
  min-height: 2.45rem !important;
  height: 2.45rem !important;
}

body:not(.search-result-active) main {
  min-height: calc(100svh - 92px);
}

body:not(.search-result-active) .search-first {
  min-height: calc(100svh - 132px);
  display: grid;
  align-content: center;
  gap: 1.15rem;
}

body:not(.search-result-active) .search-home-intro {
  width: min(1120px, 100%);
  margin-inline: auto;
}

body:not(.search-result-active) .search-first .section-title h2 {
  font-size: clamp(3.2rem, 9.6vw, 8.4rem);
}

body:not(.search-result-active) .search-center-column {
  width: min(1120px, 100%) !important;
}

body:not(.search-result-active) .destination-search {
  width: min(980px, 100%) !important;
}

/* Strong dark-mode green hover glow */
:root[data-theme="dark"] .site-nav .brand:hover,
:root[data-theme="dark"] .site-nav .brand:focus-visible,
:root[data-theme="dark"] .site-nav .nav-pill:hover,
:root[data-theme="dark"] .site-nav .nav-pill:focus-visible,
:root[data-theme="dark"] .site-nav .theme-toggle:hover,
:root[data-theme="dark"] .site-nav .theme-toggle:focus-visible,
:root[data-theme="dark"] .site-nav .nav-profile-btn:hover,
:root[data-theme="dark"] .site-nav .nav-profile-btn:focus-visible,
:root[data-theme="dark"] .floating-map-trigger:hover,
:root[data-theme="dark"] .floating-map-trigger:focus-visible,
:root[data-theme="dark"] .site-nav .destination-search button:hover,
:root[data-theme="dark"] .site-nav .destination-search button:focus-visible,
:root[data-theme="dark"] .destination-topic-toolbar .destination-topic-chip:hover,
:root[data-theme="dark"] .destination-topic-toolbar .destination-topic-chip:focus-visible,
:root[data-theme="dark"] .destination-topic-toolbar .destination-topic-chip.active {
  background-image:
    linear-gradient(130deg, rgba(255, 255, 255, 0.14), rgba(255, 255, 255, 0.04)),
    radial-gradient(circle at var(--liquid-point-a), rgba(255, 255, 255, 0.22), transparent 34%),
    radial-gradient(circle at var(--liquid-point-b), rgba(151, 255, 188, 0.2), transparent 38%),
    radial-gradient(circle at var(--liquid-point-c), rgba(206, 255, 224, 0.22), transparent 36%),
    var(--hero-green-gradient) !important;
  background-size: 210% 210%, 155% 155%, 155% 155%, 155% 155%, 100% 100% !important;
  animation: liquidGradientFlow 11.5s ease-in-out infinite !important;
  color: #07110b !important;
  border-color: rgba(166, 255, 192, 0.58) !important;
}

@media (max-width: 1200px) {
  .site-nav {
    width: calc(100% - 1rem) !important;
    gap: 0.54rem !important;
  }

  body.search-result-active .nav-search-shell,
  body.search-result-active .nav-search-shell.is-expanded {
    width: min(100%, 740px) !important;
  }
}

@media (max-width: 920px) {
  .site-nav {
    justify-content: center !important;
  }

  .nav-left,
  .nav-right {
    width: auto;
    max-width: 100%;
    justify-content: center !important;
  }

  body.search-result-active .nav-search-shell,
  body.search-result-active .nav-search-shell.is-expanded {
    order: 3;
    flex: 1 1 100% !important;
    width: 100% !important;
  }
}

@media (max-width: 620px) {
  .site-nav {
    padding: 0.58rem 0.58rem !important;
    gap: 0.46rem !important;
  }

  .nav-pill,
  .brand,
  .theme-toggle,
  .nav-profile-btn {
    min-height: 2.08rem !important;
    font-size: 0.82rem !important;
  }

  body:not(.search-result-active) .search-first {
    min-height: calc(100svh - 124px);
  }

  body:not(.search-result-active) .search-first .section-title h2 {
    font-size: clamp(2.2rem, 12vw, 3.8rem);
  }
}

/* Layout stability hotfix (desktop + phone) */
main {
  width: min(1640px, calc(100% - 1.4rem));
  margin-inline: auto;
}

.site-nav > * {
  margin: 0 !important;
}

body.search-result-active .site-nav {
  justify-content: center !important;
}

@media (max-width: 920px) {
  .site-nav {
    width: calc(100% - 0.7rem) !important;
    padding-inline: 0.55rem !important;
  }

  .nav-left,
  .nav-right {
    width: auto !important;
    max-width: 100%;
    justify-content: center !important;
  }

  .nav-primary-links {
    justify-content: center !important;
    max-width: 100%;
  }
}

@media (max-width: 520px) {
  .site-nav {
    display: grid !important;
    grid-template-columns: minmax(0, 1fr) !important;
    justify-items: center !important;
    align-items: center !important;
    row-gap: 0.44rem !important;
  }

  .nav-left,
  .nav-right,
  .nav-primary-links {
    width: 100% !important;
    justify-content: center !important;
    flex-wrap: wrap !important;
    gap: 0.38rem !important;
  }

  body.search-result-active .nav-search-shell,
  body.search-result-active .nav-search-shell.is-expanded {
    order: 4;
    width: 100% !important;
    flex: 1 1 100% !important;
  }

  body.search-result-active .site-nav .destination-search-row {
    grid-template-columns: minmax(0, 1fr) auto !important;
  }

  .nav-pill,
  .brand,
  .theme-toggle,
  .nav-profile-btn {
    min-height: 2rem !important;
    padding: 0.42rem 0.64rem !important;
  }

  body:not(.search-result-active) .search-first {
    min-height: calc(100svh - 116px);
  }
}

/* Final responsive + full-bleed alignment fixes (computer / tablet / phone) */
:root {
  --final-nav-pill-height: clamp(2.15rem, 2.35vw, 2.82rem);
  --final-nav-pill-font-size: clamp(0.82rem, 0.92vw, 1rem);
}

body {
  overflow-x: clip;
}

.site-nav {
  left: 0;
  right: 0;
  width: 100% !important;
  max-width: none !important;
  margin: 0 !important;
  padding: clamp(0.58rem, 1.2vw, 0.9rem) clamp(0.6rem, 2vw, 1.8rem) !important;
  border-radius: 0 !important;
  display: flex !important;
  flex-wrap: wrap;
  align-items: center;
  justify-content: center !important;
  column-gap: clamp(0.34rem, 0.9vw, 0.76rem);
  row-gap: clamp(0.42rem, 0.95vw, 0.8rem);
}

.nav-left,
.nav-right,
.nav-primary-links {
  display: flex;
  align-items: center;
  justify-content: center !important;
  flex-wrap: wrap;
  gap: clamp(0.28rem, 0.72vw, 0.62rem);
  min-width: 0;
}

.nav-left {
  order: 1;
}

.nav-search-shell,
.nav-search-shell.is-expanded {
  order: 2;
  display: flex !important;
  align-items: center;
  justify-content: center;
  flex: 1 1 clamp(340px, 44vw, 780px);
  width: min(780px, 100%) !important;
  max-width: min(780px, 100%) !important;
  min-width: 0;
}

.nav-right {
  order: 3;
}

.site-nav .brand,
.site-nav .nav-pill,
.site-nav .theme-toggle,
.site-nav .nav-profile-btn,
.site-nav .destination-search input,
.site-nav .destination-search button {
  min-height: var(--final-nav-pill-height) !important;
  height: var(--final-nav-pill-height) !important;
  font-size: var(--final-nav-pill-font-size) !important;
}

.site-nav .destination-search {
  width: 100% !important;
  margin: 0 !important;
}

.site-nav .destination-search-row {
  display: grid !important;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: clamp(0.34rem, 0.76vw, 0.58rem) !important;
  align-items: center !important;
}

.site-nav .destination-search input {
  min-width: 0 !important;
}

main {
  width: 100% !important;
  max-width: none !important;
  margin: 0 !important;
  padding-inline: 0 !important;
}

body.search-result-active main {
  padding-top: 0 !important;
}

body.search-result-active .destination-profile {
  width: 100% !important;
  max-width: none !important;
  margin: 0 !important;
  padding: 0 !important;
}

body.search-result-active .destination-profile-shell {
  gap: clamp(0.9rem, 2vw, 1.52rem) !important;
}

.destination-result-hero {
  width: 100vw !important;
  max-width: 100vw !important;
  margin: 0 calc(50% - 50vw) !important;
  min-height: clamp(320px, 64svh, 760px) !important;
  border: 0 !important;
  border-radius: 0 !important;
  box-shadow: none !important;
  background: transparent !important;
}

.destination-result-hero-image--primary,
.destination-result-hero-image--fallback {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
  -webkit-mask-image: linear-gradient(to bottom, #000 0%, #000 58%, rgba(0, 0, 0, 0.86) 74%, rgba(0, 0, 0, 0.34) 88%, transparent 100%);
  mask-image: linear-gradient(to bottom, #000 0%, #000 58%, rgba(0, 0, 0, 0.86) 74%, rgba(0, 0, 0, 0.34) 88%, transparent 100%);
}

.destination-result-hero-backdrop {
  background:
    linear-gradient(to bottom, rgba(6, 10, 14, 0.04) 0%, rgba(6, 10, 14, 0.1) 38%, rgba(6, 10, 14, 0.16) 62%, rgba(6, 10, 14, 0.08) 82%, rgba(6, 10, 14, 0) 100%) !important;
}

.destination-result-hero-overlay {
  width: min(1280px, calc(100% - 2rem)) !important;
  margin-inline: auto;
  padding: clamp(0.92rem, 2.4vw, 1.7rem) 0 clamp(0.84rem, 2.35vw, 1.55rem) !important;
}

body.search-result-active .destination-reading-panel,
body.search-result-active .destination-profile-card,
body.search-result-active .destination-topic-panel,
body.search-result-active .destination-section-block {
  background: transparent !important;
  border: 0 !important;
  border-radius: 0 !important;
  box-shadow: none !important;
}

body.search-result-active .destination-reading-panel {
  width: min(1320px, calc(100% - 2rem)) !important;
  margin: 0 auto clamp(1rem, 2.5vw, 2.1rem) !important;
  padding: 0 !important;
}

body.search-result-active .destination-section-block {
  border-top: 1px solid rgba(17, 24, 39, 0.14) !important;
  padding-top: 0.9rem !important;
}

body:not(.search-result-active) .search-first {
  min-height: calc(100svh - 7.4rem) !important;
  align-content: center !important;
}

:root[data-theme="dark"] .site-nav .brand:hover,
:root[data-theme="dark"] .site-nav .brand:focus-visible,
:root[data-theme="dark"] .site-nav .nav-pill:hover,
:root[data-theme="dark"] .site-nav .nav-pill:focus-visible,
:root[data-theme="dark"] .site-nav .theme-toggle:hover,
:root[data-theme="dark"] .site-nav .theme-toggle:focus-visible,
:root[data-theme="dark"] .site-nav .nav-profile-btn:hover,
:root[data-theme="dark"] .site-nav .nav-profile-btn:focus-visible,
:root[data-theme="dark"] .site-nav .destination-search button:hover,
:root[data-theme="dark"] .site-nav .destination-search button:focus-visible {
  background-image:
    linear-gradient(130deg, rgba(255, 255, 255, 0.14), rgba(255, 255, 255, 0.04)),
    radial-gradient(circle at var(--liquid-point-a), rgba(255, 255, 255, 0.22), transparent 34%),
    radial-gradient(circle at var(--liquid-point-b), rgba(151, 255, 188, 0.2), transparent 38%),
    radial-gradient(circle at var(--liquid-point-c), rgba(206, 255, 224, 0.22), transparent 36%),
    var(--hero-green-gradient) !important;
  background-size: 210% 210%, 155% 155%, 155% 155%, 155% 155%, 100% 100% !important;
  animation: liquidGradientFlow 11.5s ease-in-out infinite !important;
  border-color: rgba(166, 255, 192, 0.62) !important;
  color: #07110b !important;
}

@media (max-width: 1040px) {
  .nav-search-shell,
  .nav-search-shell.is-expanded {
    order: 3;
    flex: 1 1 100%;
    width: min(920px, 100%) !important;
    max-width: min(920px, 100%) !important;
  }

  .destination-result-hero {
    min-height: clamp(270px, 56svh, 580px) !important;
  }

  .destination-result-hero-overlay {
    width: calc(100% - 1.3rem) !important;
  }
}

@media (max-width: 700px) {
  .site-nav {
    padding: 0.56rem !important;
    column-gap: 0.38rem !important;
    row-gap: 0.42rem !important;
  }

  .nav-left,
  .nav-right,
  .nav-primary-links {
    width: 100%;
  }

  .nav-search-shell,
  .nav-search-shell.is-expanded {
    width: 100% !important;
    max-width: 100% !important;
  }

  .site-nav .brand,
  .site-nav .nav-pill,
  .site-nav .theme-toggle,
  .site-nav .nav-profile-btn,
  .site-nav .destination-search input,
  .site-nav .destination-search button {
    min-height: 2rem !important;
    height: 2rem !important;
    font-size: 0.8rem !important;
    padding: 0.38rem 0.62rem !important;
  }

  .destination-result-hero {
    min-height: clamp(230px, 49svh, 430px) !important;
  }

  .destination-result-hero-overlay {
    width: calc(100% - 0.9rem) !important;
    padding: 0.68rem 0 0.74rem !important;
  }

  body:not(.search-result-active) .search-first {
    min-height: calc(100svh - 6.6rem) !important;
    padding-inline: 0.72rem;
  }
}

@media (max-width: 520px) {
  .site-nav .destination-search-row {
    grid-template-columns: minmax(0, 1fr) !important;
  }

  .site-nav .destination-search button {
    width: 100% !important;
  }

  body.search-result-active .destination-reading-panel {
    width: calc(100% - 1rem) !important;
  }
}

/* Creato typography + static topic icons + phone icon centering */
body,
body :is(p, span, li, a, button, input, label, h1, h2, h3, h4, h5, h6, small, strong, em) {
  font-style: normal;
}

button,
input,
textarea,
select,
.nav-pill,
.destination-search input,
.destination-search button,
.site-citations-toggle {
  font-family: "Coolvetica", sans-serif;
  font-style: normal;
  font-weight: 400;
}

.active-country-display,
.destination-result-hero .active-country-display,
body.search-result-active .destination-result-hero .active-country-display:not([hidden]),
.country-atmosphere-title,
.active-topic-display,
.destination-result-hero .active-topic-display,
body.search-result-active .destination-result-hero .active-topic-display:not([hidden]),
.search-first .section-title h2 {
  font-family: "Coolvetica", sans-serif !important;
  font-style: italic !important;
  font-weight: 700 !important;
}

.destination-topic-toolbar .destination-topic-icon svg,
.destination-topic-toolbar .destination-topic-icon svg *,
.destination-topic-toolbar .destination-topic-chip:hover .destination-topic-icon svg,
.destination-topic-toolbar .destination-topic-chip:hover .destination-topic-icon svg *,
.destination-topic-toolbar .destination-topic-chip:focus-visible .destination-topic-icon svg,
.destination-topic-toolbar .destination-topic-chip:focus-visible .destination-topic-icon svg * {
  animation: none !important;
  transition: none !important;
  transform: none !important;
  opacity: 1 !important;
  filter: none !important;
}

.nav-pill-random {
  display: inline-flex !important;
  align-items: center !important;
  justify-content: center !important;
}

.nav-pill-random svg {
  width: 1rem;
  height: 1rem;
  stroke: currentColor;
  fill: none;
  stroke-width: 2;
  stroke-linecap: round;
  stroke-linejoin: round;
  display: block;
}

@media (max-width: 700px) {
  .site-nav .brand,
  .theme-toggle,
  .nav-profile-btn,
  .mobile-search-toggle,
  .nav-pill-random {
    display: inline-flex !important;
    align-items: center !important;
    justify-content: center !important;
    line-height: 1 !important;
  }

  .site-nav .brand::before {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 100%;
    height: 100%;
    line-height: 1;
  }

  .theme-toggle-icon,
  .theme-icon-svg,
  .nav-profile-btn svg,
  .mobile-search-toggle svg,
  .nav-pill-random svg {
    margin: 0 auto !important;
    display: block;
  }

  .theme-toggle-icon {
    width: 1rem !important;
    height: 1rem !important;
    display: inline-flex !important;
    align-items: center !important;
    justify-content: center !important;
  }
}

/* Readability + mobile top-bar cleanup (latest pass) */
.site-nav .brand {
  color: #07110b !important;
  background-image:
    linear-gradient(130deg, rgba(255, 255, 255, 0.16), rgba(255, 255, 255, 0.06)),
    radial-gradient(circle at var(--liquid-point-a), rgba(255, 255, 255, 0.24), transparent 34%),
    radial-gradient(circle at var(--liquid-point-b), rgba(151, 255, 188, 0.24), transparent 38%),
    radial-gradient(circle at var(--liquid-point-c), rgba(206, 255, 224, 0.24), transparent 36%),
    var(--hero-green-gradient) !important;
  background-size: 220% 220%, 165% 165%, 165% 165%, 165% 165%, 100% 100% !important;
  animation: liquidGradientFlow 9.4s ease-in-out infinite !important;
  border-color: rgba(228, 255, 236, 0.86) !important;
  box-shadow:
    0 10px 24px rgba(15, 23, 42, 0.14),
    inset 0 1px 0 rgba(255, 255, 255, 0.86) !important;
}

.destination-result-hero-kicker {
  color: #07180f !important;
  font-weight: 900 !important;
  text-shadow: 0 1px 0 rgba(255, 255, 255, 0.56) !important;
  background: rgba(178, 255, 201, 0.82) !important;
  border-color: rgba(235, 255, 243, 0.88) !important;
}

.destination-result-hero .active-country-display,
body.search-result-active .destination-result-hero .active-country-display:not([hidden]) {
  color: #f8fcfa !important;
  text-shadow:
    0 10px 28px rgba(0, 0, 0, 0.78),
    0 2px 9px rgba(0, 0, 0, 0.66) !important;
}

.destination-result-hero .active-topic-display,
body.search-result-active .destination-result-hero .active-topic-display:not([hidden]) {
  color: #0b1a12 !important;
  font-weight: 800 !important;
  text-shadow: 0 1px 0 rgba(255, 255, 255, 0.5) !important;
  background: rgba(191, 255, 211, 0.82) !important;
  border-color: rgba(236, 255, 244, 0.86) !important;
}

.site-citations {
  padding-bottom: calc(0.8rem + env(safe-area-inset-bottom, 0px));
  overflow: visible !important;
}

.site-citations-bubble {
  overflow: hidden !important;
  box-shadow: 0 10px 24px rgba(15, 23, 42, 0.12) !important;
}

.site-citations-bubble:not(.is-open) {
  max-height: 60px !important;
}

.site-citations-bubble.is-open {
  box-shadow: 0 18px 34px rgba(15, 23, 42, 0.14) !important;
}

.mobile-search-toggle {
  display: none;
  border: 1px solid var(--liquid-outline);
  border-radius: 999px;
  background: linear-gradient(145deg, rgba(255, 255, 255, 0.46), rgba(255, 255, 255, 0.2));
  color: var(--ink);
  align-items: center;
  justify-content: center;
  cursor: pointer;
  box-shadow:
    0 8px 20px rgba(15, 23, 42, 0.12),
    inset 0 1px 0 rgba(255, 255, 255, 0.82);
  transition:
    transform 220ms cubic-bezier(0.22, 1, 0.36, 1),
    box-shadow 220ms cubic-bezier(0.22, 1, 0.36, 1),
    background 220ms cubic-bezier(0.22, 1, 0.36, 1),
    border-color 220ms cubic-bezier(0.22, 1, 0.36, 1);
}

.mobile-search-toggle svg {
  width: 1rem;
  height: 1rem;
  fill: currentColor;
}

.mobile-search-toggle:hover,
.mobile-search-toggle:focus-visible {
  transform: translateY(-1px) scale(1.03);
}

@media (max-width: 700px) {
  .site-nav {
    flex-wrap: nowrap !important;
    justify-content: flex-start !important;
    overflow-x: auto !important;
    -webkit-overflow-scrolling: touch;
    scrollbar-width: none;
    padding: 0.52rem 0.56rem !important;
    gap: 0.38rem !important;
  }

  .site-nav::-webkit-scrollbar {
    display: none;
  }

  .nav-left,
  .nav-right,
  .nav-primary-links {
    width: auto !important;
    max-width: none !important;
    flex-wrap: nowrap !important;
    justify-content: flex-start !important;
    gap: 0.34rem !important;
    flex: 0 0 auto !important;
  }

  .site-nav .brand {
    width: 2.08rem;
    min-width: 2.08rem;
    height: 2.08rem;
    padding: 0 !important;
    border-radius: 999px !important;
    display: inline-grid;
    place-items: center;
    font-size: 0 !important;
    line-height: 1;
    flex: 0 0 auto !important;
  }

  .site-nav .brand::before {
    content: "W";
    font-family: "Coolvetica", sans-serif;
    font-size: 0.92rem;
    font-weight: 800;
    letter-spacing: 0.02em;
    color: #07110b;
  }

  .site-nav .nav-pill,
  .site-nav .theme-toggle,
  .site-nav .nav-profile-btn,
  .mobile-search-toggle {
    min-height: 2.05rem !important;
    height: 2.05rem !important;
    font-size: 0.8rem !important;
    padding: 0 0.62rem !important;
    flex: 0 0 auto !important;
    white-space: nowrap;
  }

  .mobile-search-toggle {
    display: inline-flex !important;
    min-width: 2.05rem !important;
    width: 2.05rem !important;
    padding: 0 !important;
  }

  body.search-result-active .nav-search-shell,
  body.search-result-active .nav-search-shell.is-expanded {
    flex: 0 0 auto !important;
    width: 0 !important;
    max-width: 0 !important;
    min-width: 0 !important;
    opacity: 0;
    transform: translateX(-8px) scale(0.98);
    pointer-events: none;
    overflow: hidden;
    margin: 0 !important;
    transition:
      width 300ms cubic-bezier(0.22, 1, 0.36, 1),
      max-width 300ms cubic-bezier(0.22, 1, 0.36, 1),
      opacity 220ms ease,
      transform 300ms cubic-bezier(0.22, 1, 0.36, 1);
  }

  body.search-result-active.mobile-nav-search-expanded .nav-search-shell,
  body.search-result-active.mobile-nav-search-expanded .nav-search-shell.is-expanded {
    width: min(82vw, 320px) !important;
    max-width: min(82vw, 320px) !important;
    opacity: 1;
    transform: translateX(0) scale(1);
    pointer-events: auto;
  }

  body.search-result-active .site-nav .destination-search-row {
    grid-template-columns: minmax(0, 1fr) auto !important;
    gap: 0.34rem !important;
  }

  body.search-result-active.mobile-nav-search-expanded .site-nav .destination-search input,
  body.search-result-active.mobile-nav-search-expanded .site-nav .destination-search button {
    min-height: 2.05rem !important;
    height: 2.05rem !important;
    font-size: 0.82rem !important;
  }

  .site-citations {
    width: calc(100% - 1rem);
    margin: 0 auto 1rem;
  }

  .site-citations-bubble,
  .site-citations-bubble.is-open {
    width: 100% !important;
    max-width: 460px;
    margin-inline: auto;
  }
}

/* Final lockscreen + theme behavior pass */
.launch-content h1,
.site-nav .brand {
  font-style: normal !important;
  font-weight: 700 !important;
}

.launch-slogan {
  font-style: italic !important;
  font-weight: 700 !important;
}

.search-first .section-title h2 {
  white-space: nowrap !important;
  line-height: 1.04 !important;
}

body:not(.search-result-active) .search-first .section-title h2 {
  font-size: clamp(1.4rem, 6.8vw, 7.2rem) !important;
}

.floating-map-trigger {
  opacity: 0 !important;
  pointer-events: none !important;
  transform: translateY(12px) scale(0.96) !important;
  transition:
    opacity 220ms ease,
    transform 280ms cubic-bezier(0.22, 1, 0.36, 1),
    background 220ms cubic-bezier(0.22, 1, 0.36, 1),
    border-color 220ms cubic-bezier(0.22, 1, 0.36, 1) !important;
}

body.intro-dismissed .floating-map-trigger {
  opacity: 1 !important;
  pointer-events: auto !important;
  transform: translateY(0) scale(1) !important;
}

:root[data-theme="dark"] body,
:root[data-theme="dark"] body :is(p, span, li, a, button, input, label, h1, h2, h3, h4, h5, h6, small, strong, em) {
  color: #f6f7f9 !important;
}

:root:not([data-theme="dark"]) body,
:root:not([data-theme="dark"]) body :is(p, span, li, a, button, input, label, h1, h2, h3, h4, h5, h6, small, strong, em) {
  color: #050505 !important;
}

:root[data-theme="dark"] .site-nav .brand,
:root[data-theme="dark"] .site-nav .brand::before {
  color: #ffffff !important;
}

:root:not([data-theme="dark"]) .site-nav .brand,
:root:not([data-theme="dark"]) .site-nav .brand::before {
  color: #050505 !important;
}

:root[data-theme="dark"] :is(
  .site-nav .brand,
  .site-nav .nav-pill,
  .site-nav .theme-toggle,
  .site-nav .nav-profile-btn,
  .mobile-search-toggle,
  .floating-map-trigger,
  .site-nav .destination-search input,
  .site-nav .destination-search button,
  .destination-topic-toolbar .destination-topic-chip,
  .destination-result-hero-kicker,
  .destination-result-hero .active-topic-display,
  .destination-hero-flag-chip
) {
  border-width: 1px !important;
  border-color: rgba(255, 255, 255, 0.68) !important;
}

/* Icon + search + planner refinement pass */

.site-nav .brand {
  background-image:
    linear-gradient(130deg, rgba(255, 255, 255, 0.16), rgba(255, 255, 255, 0.06)),
    radial-gradient(circle at var(--liquid-point-a), rgba(255, 255, 255, 0.24), transparent 34%),
    radial-gradient(circle at var(--liquid-point-b), rgba(151, 255, 188, 0.24), transparent 38%),
    radial-gradient(circle at var(--liquid-point-c), rgba(206, 255, 224, 0.24), transparent 36%),
    var(--hero-green-gradient) !important;
  background-size: 220% 220%, 165% 165%, 165% 165%, 165% 165%, 100% 100% !important;
  animation: liquidGradientFlow 9.4s ease-in-out infinite !important;
  border-color: rgba(228, 255, 236, 0.86) !important;
}

.site-nav .nav-pill-bookmark {
  display: inline-flex !important;
  align-items: center !important;
  justify-content: center !important;
  gap: 0.42rem;
}

.site-nav .nav-pill-bookmark svg {
  width: 0.96rem;
  height: 0.96rem;
  stroke: currentColor;
  fill: none;
  stroke-width: 2.1;
  stroke-linecap: round;
  stroke-linejoin: round;
  flex: 0 0 auto;
}

.destination-search {
  overflow: visible !important;
}

.search-suggestions {
  top: calc(100% + 0.4rem) !important;
  right: auto !important;
  margin: 0 !important;
  padding: 0 !important;
  display: grid;
  gap: 0.44rem;
  max-height: min(46svh, 420px) !important;
  overflow-y: auto;
  background: transparent !important;
  border: 0 !important;
  border-radius: 0 !important;
  box-shadow: none !important;
  backdrop-filter: none !important;
  -webkit-backdrop-filter: none !important;
  outline: 0 !important;
}

.search-suggestions::before,
.search-suggestions::after {
  content: none !important;
}

.search-suggestion,
.search-suggestion.active {
  border-radius: 999px !important;
  border: 1px solid rgba(22, 27, 34, 0.16) !important;
  background: linear-gradient(145deg, rgba(255, 255, 255, 0.74), rgba(255, 255, 255, 0.44)) !important;
  color: #050505 !important;
  box-shadow:
    0 10px 20px rgba(15, 23, 42, 0.14),
    inset 0 1px 0 rgba(255, 255, 255, 0.82) !important;
}

.search-suggestion:hover {
  background-image:
    linear-gradient(130deg, rgba(255, 255, 255, 0.14), rgba(255, 255, 255, 0.04)),
    radial-gradient(circle at var(--liquid-point-a), rgba(255, 255, 255, 0.22), transparent 34%),
    radial-gradient(circle at var(--liquid-point-b), rgba(151, 255, 188, 0.2), transparent 38%),
    radial-gradient(circle at var(--liquid-point-c), rgba(206, 255, 224, 0.22), transparent 36%),
    var(--hero-green-gradient) !important;
  color: #07110b !important;
}

:root[data-theme="dark"] .search-suggestion,
:root[data-theme="dark"] .search-suggestion.active {
  border-color: rgba(186, 220, 199, 0.22) !important;
  background: linear-gradient(145deg, rgba(20, 27, 36, 0.88), rgba(12, 17, 24, 0.74)) !important;
  color: #f6f7f9 !important;
  box-shadow:
    0 12px 24px rgba(0, 0, 0, 0.34),
    inset 0 1px 0 rgba(255, 255, 255, 0.08) !important;
}

:root[data-theme="dark"] .search-suggestion:hover {
  color: #07110b !important;
}

:root[data-theme="dark"] .destination-guide-card--planner {
  border-color: rgba(188, 218, 200, 0.24) !important;
  background: linear-gradient(160deg, rgba(19, 25, 22, 0.92), rgba(13, 18, 16, 0.82)) !important;
  box-shadow: 0 16px 34px rgba(0, 0, 0, 0.24) !important;
}

:root[data-theme="dark"] .budget-itinerary-summary,
:root[data-theme="dark"] .budget-itinerary-stay,
:root[data-theme="dark"] .budget-day-stage-rail,
:root[data-theme="dark"] .budget-day-stage-panel,
:root[data-theme="dark"] .budget-itinerary-slot {
  border-color: rgba(188, 218, 200, 0.16) !important;
  background: linear-gradient(160deg, rgba(19, 24, 22, 0.9), rgba(13, 18, 16, 0.8)) !important;
}

:root[data-theme="dark"] .budget-planner-form input,
:root[data-theme="dark"] .budget-planner-form select {
  background: rgba(14, 19, 17, 0.92) !important;
  border-color: rgba(188, 218, 200, 0.24) !important;
  color: #f6f7f9 !important;
}

/* Urgent UX alignment hotfix */

@media (min-width: 701px) {
  .site-nav {
    display: flex !important;
    flex-wrap: nowrap !important;
    align-items: center !important;
    justify-content: center !important;
    row-gap: 0 !important;
    overflow-x: auto !important;
    overflow-y: hidden !important;
    scrollbar-width: none;
  }

  .site-nav::-webkit-scrollbar {
    display: none;
  }

  .nav-left,
  .nav-right,
  .nav-primary-links {
    width: auto !important;
    max-width: none !important;
    flex-wrap: nowrap !important;
    justify-content: center !important;
  }

  .nav-left {
    order: 1;
    flex: 0 0 auto !important;
  }

  .nav-search-shell,
  .nav-search-shell.is-expanded {
    order: 2;
    flex: 1 1 clamp(320px, 44vw, 760px) !important;
    width: auto !important;
    min-width: min(320px, 46vw) !important;
    max-width: 760px !important;
  }

  .nav-right {
    order: 3;
    flex: 0 0 auto !important;
  }

  .site-nav .destination-search-row {
    display: grid !important;
    grid-template-columns: minmax(0, 1fr) auto !important;
    gap: 0.42rem !important;
    align-items: center !important;
  }
}

.site-nav .brand,
:root[data-theme="dark"] .site-nav .brand,
:root:not([data-theme="dark"]) .site-nav .brand {
  color: #07110b !important;
  background-image:
    linear-gradient(130deg, rgba(255, 255, 255, 0.16), rgba(255, 255, 255, 0.06)),
    radial-gradient(circle at var(--liquid-point-a), rgba(255, 255, 255, 0.24), transparent 34%),
    radial-gradient(circle at var(--liquid-point-b), rgba(151, 255, 188, 0.24), transparent 38%),
    radial-gradient(circle at var(--liquid-point-c), rgba(206, 255, 224, 0.24), transparent 36%),
    var(--hero-green-gradient) !important;
  background-size: 220% 220%, 165% 165%, 165% 165%, 165% 165%, 100% 100% !important;
  animation: liquidGradientFlow 9.4s ease-in-out infinite !important;
  border-color: rgba(228, 255, 236, 0.88) !important;
}

.site-nav .brand::before,
:root[data-theme="dark"] .site-nav .brand::before,
:root:not([data-theme="dark"]) .site-nav .brand::before {
  color: #07110b !important;
}

.destination-search,
.site-nav .destination-search {
  overflow: visible !important;
}

.search-suggestions {
  background: transparent !important;
  border: 0 !important;
  box-shadow: none !important;
  outline: 0 !important;
  backdrop-filter: none !important;
  -webkit-backdrop-filter: none !important;
}

.search-suggestions::before,
.search-suggestions::after {
  content: none !important;
}

.search-suggestion {
  display: flex !important;
  flex-direction: column !important;
  align-items: flex-start !important;
  justify-content: center !important;
  min-height: 4.05rem !important;
  padding: 0.62rem 0.92rem !important;
  overflow: hidden !important;
}

.search-suggestion-main,
.search-suggestion-sub {
  display: block !important;
  width: 100% !important;
  overflow: hidden !important;
  text-overflow: ellipsis !important;
  white-space: nowrap !important;
}

.search-suggestion-main {
  line-height: 1.15 !important;
}

.search-suggestion-sub {
  margin-top: 0.14rem !important;
  line-height: 1.1 !important;
  font-size: 0.84rem !important;
  opacity: 0.78 !important;
}

.destination-topic-toolbar .destination-topic-icon svg,
.destination-topic-toolbar .destination-topic-icon svg *,
.nav-pill-random svg,
.site-nav .nav-pill-bookmark svg {
  stroke-width: 1.8 !important;
  stroke-linecap: round !important;
  stroke-linejoin: round !important;
}

/* Final stability hotfix */
.site-citations,
.site-citations-bubble,
.site-citations-bubble.is-open {
  overflow: visible !important;
}

.site-citations-bubble {
  box-shadow:
    0 12px 28px rgba(15, 23, 42, 0.14),
    inset 0 1px 0 rgba(255, 255, 255, 0.78) !important;
}

@media (min-width: 701px) {
  .site-nav,
  body.search-result-active .site-nav {
    width: 100% !important;
    max-width: none !important;
    margin: 0 !important;
    padding-inline: clamp(0.58rem, 1.6vw, 1.28rem) !important;
    display: flex !important;
    flex-wrap: nowrap !important;
    align-items: center !important;
    justify-content: center !important;
    overflow-x: auto !important;
    overflow-y: visible !important;
    row-gap: 0 !important;
    column-gap: 0.44rem !important;
  }

  .nav-left,
  .nav-right,
  .nav-primary-links,
  body.search-result-active .nav-left,
  body.search-result-active .nav-right,
  body.search-result-active .nav-primary-links {
    flex-wrap: nowrap !important;
    align-items: center !important;
    justify-content: center !important;
    width: auto !important;
    max-width: none !important;
  }

  .nav-search-shell,
  .nav-search-shell.is-expanded,
  body.search-result-active .nav-search-shell,
  body.search-result-active .nav-search-shell.is-expanded {
    flex: 1 1 clamp(280px, 40vw, 740px) !important;
    width: auto !important;
    min-width: min(280px, 40vw) !important;
    max-width: 740px !important;
    opacity: 1 !important;
    transform: none !important;
    pointer-events: auto !important;
    overflow: visible !important;
  }

  .site-nav .destination-search-row,
  body.search-result-active .site-nav .destination-search-row {
    display: grid !important;
    grid-template-columns: minmax(0, 1fr) auto !important;
    gap: 0.4rem !important;
    align-items: center !important;
  }

  .site-nav .destination-search input,
  .site-nav .destination-search button,
  body.search-result-active .site-nav .destination-search input,
  body.search-result-active .site-nav .destination-search button {
    min-height: 2.35rem !important;
    height: 2.35rem !important;
  }
}

.destination-search,
.site-nav .destination-search,
.site-nav .destination-search-row {
  overflow: visible !important;
}

.search-suggestions {
  background: transparent !important;
  border: 0 !important;
  border-radius: 0 !important;
  box-shadow: none !important;
  outline: 0 !important;
  backdrop-filter: none !important;
  -webkit-backdrop-filter: none !important;
}

.search-suggestions::before,
.search-suggestions::after {
  content: none !important;
}

.search-suggestion {
  min-height: 4.35rem !important;
  padding: 0.66rem 0.92rem !important;
  display: grid !important;
  grid-auto-flow: row !important;
  align-content: center !important;
  gap: 0.14rem !important;
  overflow: hidden !important;
}

.search-suggestion-main,
.search-suggestion-sub {
  width: 100% !important;
  display: block !important;
  white-space: nowrap !important;
  overflow: hidden !important;
  text-overflow: ellipsis !important;
}

.search-suggestion-sub {
  font-size: 0.84rem !important;
  line-height: 1.12 !important;
  opacity: 0.78 !important;
}

/* Autocomplete dropdown overlay fix */
.destination-search {
  position: relative !important;
  overflow: visible !important;
}

.destination-search-row {
  position: relative !important;
}

.search-suggestions {
  position: absolute !important;
  top: auto !important;
  left: auto !important;
  right: auto !important;
  width: auto !important;
  z-index: 5200 !important;
  display: grid !important;
  gap: 0.5rem !important;
  margin: 0 !important;
  padding: 0 !important;
  background: transparent !important;
  border: 0 !important;
  border-radius: 0 !important;
  box-shadow: none !important;
  outline: 0 !important;
  backdrop-filter: none !important;
  -webkit-backdrop-filter: none !important;
}

.search-suggestions[hidden] {
  display: none !important;
}

.search-suggestions::before,
.search-suggestions::after {
  content: none !important;
  display: none !important;
}

.site-nav,
body.search-result-active .site-nav {
  overflow-y: visible !important;
}

.destination-search-home-slot,
.search-center-column,
.nav-search-shell,
.nav-search-slot,
.site-nav .destination-search,
.site-nav .destination-search-row {
  overflow: visible !important;
}

.search-suggestion,
.search-suggestion.active {
  border: 1px solid rgba(15, 23, 42, 0.12) !important;
  border-radius: 18px !important;
  background: #ffffff !important;
  color: #111827 !important;
  box-shadow:
    0 10px 24px rgba(15, 23, 42, 0.14),
    0 1px 0 rgba(255, 255, 255, 0.85) inset !important;
}

.search-suggestion-main {
  color: #111827 !important;
}

.search-suggestion-sub {
  color: #4b5563 !important;
}

/* Global hover glow enforcement (keep at file end so it wins cascade) */
:where(
  a[href],
  button,
  [role="button"],
  input[type="button"],
  input[type="submit"],
  input[type="reset"],
  summary,
  [onclick],
  [data-clickable],
  [tabindex]:not([tabindex="-1"])
):not(:disabled):not([aria-disabled="true"]):hover,
:where(
  a[href],
  button,
  [role="button"],
  input[type="button"],
  input[type="submit"],
  input[type="reset"],
  summary,
  [onclick],
  [data-clickable],
  [tabindex]:not([tabindex="-1"])
):not(:disabled):not([aria-disabled="true"]):focus-visible {
  border-color: rgba(142, 248, 175, 0.9) !important;
  box-shadow: var(--interactive-green-glow, 0 0 0 1px rgba(142, 248, 175, 0.92), 0 12px 30px rgba(82, 226, 130, 0.28), 0 0 28px rgba(112, 241, 153, 0.34)) !important;
  filter: var(--interactive-green-glow-filter, brightness(1.03) saturate(1.1) drop-shadow(0 0 14px rgba(122, 240, 161, 0.42))) !important;
}

.search-suggestion:hover,
.search-suggestion:focus-visible {
  border-color: rgba(142, 248, 175, 0.9) !important;
  box-shadow: var(--interactive-green-glow, 0 0 0 1px rgba(142, 248, 175, 0.92), 0 12px 30px rgba(82, 226, 130, 0.28), 0 0 28px rgba(112, 241, 153, 0.34)) !important;
  filter: var(--interactive-green-glow-filter, brightness(1.03) saturate(1.1) drop-shadow(0 0 14px rgba(122, 240, 161, 0.42))) !important;
}

/* Intro dismissal continuity override: keep scroll geometry stable and avoid teleport jumps. */
.intro-scroll-track,
body.intro-dismissed .intro-scroll-track {
  display: block !important;
  height: 100svh !important;
  min-height: 100svh !important;
  opacity: 1 !important;
  pointer-events: none !important;
}

body.intro-dismissed .hero {
  display: grid !important;
  transform: translateY(-104%) !important;
  opacity: 0 !important;
  pointer-events: none !important;
}

/* Universal clickable hover glow (current + future interactive elements) */
:root {
  --interactive-green-glow:
    0 0 0 1px rgba(142, 248, 175, 0.92),
    0 0 0 3px rgba(142, 248, 175, 0.22),
    0 12px 30px rgba(82, 226, 130, 0.28),
    0 0 28px rgba(112, 241, 153, 0.34);
  --interactive-green-glow-filter:
    brightness(1.03) saturate(1.1) drop-shadow(0 0 14px rgba(122, 240, 161, 0.42));
}

:root[data-theme="dark"] {
  --interactive-green-glow:
    0 0 0 1px rgba(148, 255, 185, 0.95),
    0 0 0 3px rgba(148, 255, 185, 0.2),
    0 14px 34px rgba(57, 255, 99, 0.2),
    0 0 30px rgba(118, 255, 164, 0.36);
  --interactive-green-glow-filter:
    brightness(1.06) saturate(1.14) drop-shadow(0 0 16px rgba(132, 255, 178, 0.46));
}

:where(
  a[href],
  button,
  [role="button"],
  input[type="button"],
  input[type="submit"],
  input[type="reset"],
  summary,
  [onclick],
  [data-clickable],
  [tabindex]:not([tabindex="-1"])
):not(:disabled):not([aria-disabled="true"]) {
  transition:
    box-shadow 220ms cubic-bezier(0.22, 1, 0.36, 1),
    border-color 220ms cubic-bezier(0.22, 1, 0.36, 1),
    filter 220ms cubic-bezier(0.22, 1, 0.36, 1),
    transform 220ms cubic-bezier(0.22, 1, 0.36, 1);
}

:where(
  a[href],
  button,
  [role="button"],
  input[type="button"],
  input[type="submit"],
  input[type="reset"],
  summary,
  [onclick],
  [data-clickable],
  [tabindex]:not([tabindex="-1"])
):not(:disabled):not([aria-disabled="true"]):hover {
  border-color: rgba(142, 248, 175, 0.86) !important;
  box-shadow: var(--interactive-green-glow) !important;
  filter: var(--interactive-green-glow-filter);
}

.search-suggestion:hover,
.search-suggestion:focus-visible {
  transform: translateY(-1px);
  border-color: rgba(15, 23, 42, 0.22) !important;
  box-shadow:
    0 14px 28px rgba(15, 23, 42, 0.18),
    0 1px 0 rgba(255, 255, 255, 0.9) inset !important;
}

@keyframes searchSuggestionsIn {
  from {
    opacity: 0;
    transform: translateY(-6px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.search-suggestions:not([hidden]) .search-suggestion {
  animation: searchSuggestionsIn 160ms cubic-bezier(0.22, 1, 0.36, 1) both;
}

/* Subject buttons in hero: solid surfaces per theme (not transparent) */
.destination-result-hero .destination-topic-toolbar .destination-topic-chip,
body.search-result-active .destination-result-hero .destination-topic-toolbar .destination-topic-chip {
  background: #ffffff !important;
  border-color: rgba(15, 23, 42, 0.2) !important;
  color: #0f172a !important;
  box-shadow:
    0 8px 20px rgba(15, 23, 42, 0.16),
    0 1px 0 rgba(255, 255, 255, 0.9) inset !important;
  backdrop-filter: none !important;
  -webkit-backdrop-filter: none !important;
}

:root[data-theme="dark"] .destination-result-hero .destination-topic-toolbar .destination-topic-chip,
:root[data-theme="dark"] body.search-result-active .destination-result-hero .destination-topic-toolbar .destination-topic-chip {
  background: #101923 !important;
  border-color: rgba(186, 220, 199, 0.3) !important;
  color: #f6f7f9 !important;
  box-shadow:
    0 10px 24px rgba(0, 0, 0, 0.34),
    0 1px 0 rgba(255, 255, 255, 0.06) inset !important;
}

/* Premium light-mode balance pass: less dominant green, cleaner editorial surfaces */
:root:not([data-theme="dark"]) {
  --page-background: #fdfdfb;
  --page-backdrop:
    radial-gradient(circle at 12% 10%, rgba(146, 231, 173, 0.11), transparent 24%),
    radial-gradient(circle at 86% 8%, rgba(178, 238, 198, 0.09), transparent 22%),
    radial-gradient(circle at 78% 82%, rgba(198, 245, 213, 0.06), transparent 30%);
  --surface-color: #ffffff;
  --surface-alt-color: #fbfdfb;
  --nav-background: rgba(255, 255, 255, 0.9);
  --hero-green-gradient: linear-gradient(145deg, #d6f8e2 0%, #e8fdf0 52%, #f7fff9 100%);
  --country-flag-gradient: linear-gradient(128deg, #d8f8e3 0%, #e9fcf0 56%, #fbfffd 100%);
  --wexplore-liquid-gradient:
    radial-gradient(circle at var(--liquid-point-a), rgba(255, 255, 255, 0.28), transparent 26%),
    radial-gradient(circle at var(--liquid-point-b), rgba(162, 232, 184, 0.2), transparent 34%),
    radial-gradient(circle at var(--liquid-point-c), rgba(235, 252, 241, 0.2), transparent 30%),
    linear-gradient(145deg, #d6f8e2 0%, #e8fdf0 56%, #f9fffb 100%);
  --wexplore-accent-border: rgba(139, 216, 164, 0.72);
  --wexplore-accent-frame-bg: rgba(252, 255, 253, 0.96);
  --glass-panel-bg: rgba(255, 255, 255, 0.84);
  --glass-panel-border: rgba(15, 23, 42, 0.1);
  --glass-chip-bg: rgba(255, 255, 255, 0.82);
  --glass-chip-border: rgba(15, 23, 42, 0.12);
  --glass-hover-bg: linear-gradient(145deg, rgba(250, 255, 252, 0.96), rgba(224, 248, 234, 0.86));
  --glass-active-bg: linear-gradient(145deg, rgba(230, 250, 238, 0.94), rgba(213, 245, 224, 0.9));
  --glass-hover-border: rgba(15, 23, 42, 0.2);
  --surface-box-shadow:
    0 12px 28px rgba(15, 23, 42, 0.08),
    inset 0 1px 0 rgba(255, 255, 255, 0.88);
}

:root:not([data-theme="dark"]) body {
  background:
    var(--page-backdrop),
    var(--page-background) !important;
  color: #0b1118 !important;
}

:root:not([data-theme="dark"]) .site-nav {
  background: rgba(255, 255, 255, 0.9) !important;
  border-bottom-color: rgba(15, 23, 42, 0.1) !important;
  box-shadow: 0 10px 26px rgba(15, 23, 42, 0.06) !important;
}

:root:not([data-theme="dark"]) .section-alt,
:root:not([data-theme="dark"]) .destination-profile.section-alt,
:root:not([data-theme="dark"]) .destination-guide-card--planner,
:root:not([data-theme="dark"]) .budget-itinerary-summary,
:root:not([data-theme="dark"]) .budget-itinerary-stay,
:root:not([data-theme="dark"]) .budget-day-stage-panel,
:root:not([data-theme="dark"]) .budget-itinerary-slot {
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.96), rgba(249, 252, 250, 0.94)) !important;
  border-color: rgba(15, 23, 42, 0.1) !important;
  box-shadow: 0 12px 28px rgba(15, 23, 42, 0.08) !important;
}

:root:not([data-theme="dark"]) .destination-section-block {
  border-top-color: rgba(15, 23, 42, 0.12) !important;
}

:root:not([data-theme="dark"]) .destination-result-hero {
  background: #f6faf7 !important;
}

:root:not([data-theme="dark"]) .destination-result-hero-backdrop {
  background:
    linear-gradient(to top, rgba(252, 254, 252, 0.94) 0%, rgba(252, 254, 252, 0.72) 22%, rgba(252, 254, 252, 0.16) 56%, transparent 80%),
    radial-gradient(circle at 50% 90%, rgba(176, 230, 196, 0.24), transparent 64%) !important;
}

:root:not([data-theme="dark"]) body.search-result-active .country-atmosphere::after {
  background:
    linear-gradient(to top, rgba(252, 254, 252, 0.95) 0%, rgba(252, 254, 252, 0.7) 22%, rgba(252, 254, 252, 0.14) 56%, transparent 78%),
    radial-gradient(circle at var(--liquid-point-a), rgba(166, 230, 187, 0.2), transparent 42%) !important;
}

:root:not([data-theme="dark"]) body.search-result-active .country-atmosphere-title {
  color: #0b1118 !important;
  text-shadow: 0 2px 10px rgba(255, 255, 255, 0.45) !important;
}

:root:not([data-theme="dark"]) .site-nav .nav-pill,
:root:not([data-theme="dark"]) .site-nav .theme-toggle,
:root:not([data-theme="dark"]) .site-nav .nav-profile-btn,
:root:not([data-theme="dark"]) .floating-map-trigger,
:root:not([data-theme="dark"]) .destination-topic-toolbar .destination-topic-chip,
:root:not([data-theme="dark"]) .guide-tab,
:root:not([data-theme="dark"]) .map-mode-btn,
:root:not([data-theme="dark"]) .map-btn,
:root:not([data-theme="dark"]) .gallery-filter {
  background: rgba(255, 255, 255, 0.9) !important;
  background-image: none !important;
  border-color: rgba(15, 23, 42, 0.14) !important;
  box-shadow:
    0 8px 18px rgba(15, 23, 42, 0.08),
    inset 0 1px 0 rgba(255, 255, 255, 0.9) !important;
  animation: none !important;
}

:root:not([data-theme="dark"]) .site-nav .destination-search button,
:root:not([data-theme="dark"]) .site-nav .brand,
:root:not([data-theme="dark"]) .guide-tab.active,
:root:not([data-theme="dark"]) .map-mode-btn.active,
:root:not([data-theme="dark"]) .map-btn.active,
:root:not([data-theme="dark"]) .destination-topic-toolbar .destination-topic-chip.active,
:root:not([data-theme="dark"]) .destination-topic-toolbar .destination-topic-chip:hover,
:root:not([data-theme="dark"]) .destination-topic-toolbar .destination-topic-chip:focus-visible,
:root:not([data-theme="dark"]) .favorite-btn.saved {
  background-image:
    linear-gradient(130deg, rgba(255, 255, 255, 0.22), rgba(255, 255, 255, 0.06)),
    radial-gradient(circle at var(--liquid-point-a), rgba(255, 255, 255, 0.24), transparent 36%),
    radial-gradient(circle at var(--liquid-point-b), rgba(159, 229, 181, 0.22), transparent 42%),
    var(--hero-green-gradient) !important;
  background-size: 180% 180%, 140% 140%, 150% 150%, 100% 100% !important;
  animation: liquidGradientFlow 12s ease-in-out infinite !important;
}

:root:not([data-theme="dark"]) .destination-guide-card img,
:root:not([data-theme="dark"]) .destination-topic-figure img {
  border: 1px solid rgba(15, 23, 42, 0.08) !important;
  box-shadow: 0 10px 24px rgba(15, 23, 42, 0.09) !important;
}

:root:not([data-theme="dark"]) .search-first .section-title h2::before {
  border-color: rgba(15, 23, 42, 0.18) !important;
  box-shadow: 0 14px 30px rgba(15, 23, 42, 0.08) !important;
}

/* Premium liquid brand system (reusable) */
.site-nav .brand.wexplore-liquid-surface,
.wexplore-liquid-surface {
  --liquid-base-1: #c8f7d8;
  --liquid-base-2: #dcfae7;
  --liquid-base-3: #f4fff8;
  --liquid-glow: rgba(122, 208, 151, 0.28);
  --liquid-edge: rgba(202, 244, 216, 0.82);
  position: relative !important;
  isolation: isolate;
  overflow: hidden !important;
  border-radius: 999px !important;
  background:
    linear-gradient(128deg, rgba(255, 255, 255, 0.32), rgba(255, 255, 255, 0.06) 58%),
    linear-gradient(155deg, var(--liquid-base-1) 0%, var(--liquid-base-2) 52%, var(--liquid-base-3) 100%) !important;
  border: 1px solid var(--liquid-edge) !important;
  box-shadow:
    0 10px 24px rgba(12, 24, 20, 0.14),
    0 0 0 1px rgba(255, 255, 255, 0.22) inset,
    0 0 20px var(--liquid-glow) !important;
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
}

.site-nav .brand.wexplore-liquid-surface::after,
.wexplore-liquid-surface::after {
  content: "";
  position: absolute;
  inset: -58%;
  z-index: 1;
  border-radius: 44%;
  pointer-events: none;
  background:
    radial-gradient(46% 44% at 22% 26%, rgba(255, 255, 255, 0.45) 0%, rgba(255, 255, 255, 0) 72%),
    radial-gradient(42% 46% at 76% 34%, rgba(146, 236, 176, 0.52) 0%, rgba(146, 236, 176, 0) 76%),
    radial-gradient(48% 44% at 54% 78%, rgba(193, 247, 212, 0.5) 0%, rgba(193, 247, 212, 0) 74%);
  filter: blur(17px) saturate(1.08);
  opacity: 0.92;
  transform-origin: 50% 50%;
  animation:
    wexploreLiquidDrift 22s cubic-bezier(0.38, 0, 0.22, 1) infinite,
    wexploreLiquidPulse 11.5s ease-in-out infinite;
}

.site-nav .brand.wexplore-liquid-surface .brand-label {
  position: relative;
  z-index: 3;
}

@media (min-width: 701px) {
  .site-nav .brand.wexplore-liquid-surface::before {
    content: "" !important;
    position: absolute;
    inset: 0;
    z-index: 2;
    pointer-events: none;
    border-radius: inherit;
    background:
      radial-gradient(110% 62% at 18% -12%, rgba(255, 255, 255, 0.42), rgba(255, 255, 255, 0) 60%),
      linear-gradient(112deg, rgba(255, 255, 255, 0.16), rgba(255, 255, 255, 0) 52%);
    mix-blend-mode: screen;
    opacity: 0.72;
    animation: wexploreLiquidSheen 18s ease-in-out infinite;
  }
}

@media (max-width: 700px) {
  .site-nav .brand.wexplore-liquid-surface .brand-label {
    display: none;
  }

  .site-nav .brand.wexplore-liquid-surface::before {
    content: "W" !important;
    position: relative !important;
    z-index: 3 !important;
    display: inline-flex !important;
    align-items: center !important;
    justify-content: center !important;
    width: 100%;
    height: 100%;
    font-family: "Coolvetica", sans-serif;
    font-size: 0.92rem;
    font-weight: 800;
    letter-spacing: 0.02em;
    color: #07110b !important;
    background: none !important;
    mix-blend-mode: normal;
    animation: none !important;
  }
}

@keyframes wexploreLiquidDrift {
  0% {
    transform: translate3d(-7%, -6%, 0) rotate(0deg) scale(1.02);
  }
  33% {
    transform: translate3d(6%, -4%, 0) rotate(110deg) scale(1.08);
  }
  66% {
    transform: translate3d(4%, 8%, 0) rotate(218deg) scale(1.03);
  }
  100% {
    transform: translate3d(-7%, -6%, 0) rotate(360deg) scale(1.02);
  }
}

@keyframes wexploreLiquidPulse {
  0%, 100% {
    opacity: 0.84;
    filter: blur(17px) saturate(1.06);
  }
  50% {
    opacity: 1;
    filter: blur(19px) saturate(1.12);
  }
}

@keyframes wexploreLiquidSheen {
  0%, 100% {
    opacity: 0.54;
    transform: translateX(-2%);
  }
  50% {
    opacity: 0.82;
    transform: translateX(1.5%);
  }
}

@media (prefers-reduced-motion: reduce) {
  .site-nav .brand.wexplore-liquid-surface::after,
  .wexplore-liquid-surface::after,
  .site-nav .brand.wexplore-liquid-surface::before {
    animation: none !important;
    transform: none !important;
  }
}

/* ===== Stability pass: intro handoff, layering cleanup, and interactive consistency ===== */
:root {
  --z-layer-nav: 1800;
  --z-layer-search-suggestions: 1860;
  --z-layer-floating-ui: 1880;
}

.site-nav {
  z-index: var(--z-layer-nav) !important;
  overflow: visible !important;
  grid-template-columns: auto minmax(320px, 1fr) auto !important;
}

.site-nav > *,
.nav-left,
.nav-right,
.nav-primary-links,
.nav-search-shell,
.nav-search-slot,
.destination-search-home-slot,
.search-center-column,
.destination-search,
.destination-search-row {
  overflow: visible !important;
}

.nav-left,
.nav-right,
.nav-primary-links {
  display: flex !important;
  align-items: center !important;
  flex-wrap: nowrap !important;
  min-width: 0;
}

.nav-right {
  justify-content: flex-end !important;
}

body.search-result-active .site-nav .destination-search-row {
  flex-wrap: nowrap !important;
}

/* Intro handoff: remove intro spacer after dismissal while preserving visual continuity via JS scroll compensation. */
.intro-scroll-track {
  height: 100svh !important;
  min-height: 100svh !important;
  pointer-events: none !important;
}

body.intro-dismissed .intro-scroll-track {
  height: 0 !important;
  min-height: 0 !important;
  margin: 0 !important;
  padding: 0 !important;
}

body.intro-dismissed .hero {
  --hero-progress: 1;
  transform: translateY(-104%) !important;
  opacity: 0 !important;
  pointer-events: none !important;
}

/* Search suggestions: true floating cards anchored to the active search input. */
.destination-search {
  position: relative !important;
  z-index: calc(var(--z-layer-nav) + 1) !important;
}

.search-suggestions {
  position: absolute !important;
  z-index: var(--z-layer-search-suggestions) !important;
  display: grid !important;
  gap: 0.34rem !important;
  margin: 0 !important;
  padding: 0 !important;
  overflow-y: auto !important;
  overflow-x: visible !important;
  background: transparent !important;
  border: 0 !important;
  border-radius: 0 !important;
  box-shadow: none !important;
  outline: 0 !important;
  backdrop-filter: none !important;
  -webkit-backdrop-filter: none !important;
  contain: none !important;
}

.search-suggestions::before,
.search-suggestions::after {
  content: none !important;
  display: none !important;
}

.search-suggestions[hidden] {
  display: none !important;
}

.search-suggestion {
  width: 100% !important;
  min-height: 46px !important;
  padding: 0.5rem 0.78rem !important;
  border-radius: 16px !important;
  border: 1px solid rgba(15, 23, 42, 0.12) !important;
  background: rgba(255, 255, 255, 0.98) !important;
  color: #0f172a !important;
  display: grid !important;
  gap: 0.06rem !important;
  overflow: visible !important;
  box-shadow:
    0 10px 22px rgba(15, 23, 42, 0.14),
    0 1px 0 rgba(255, 255, 255, 0.88) inset !important;
}

.search-suggestion-main {
  font-size: 0.98rem !important;
  line-height: 1.2 !important;
  font-weight: 700 !important;
  color: #0f172a !important;
}

.search-suggestion-sub {
  font-size: 0.79rem !important;
  line-height: 1.16 !important;
  color: #4b5563 !important;
  opacity: 0.88 !important;
}

.search-suggestion-main,
.search-suggestion-sub {
  white-space: nowrap !important;
  overflow: visible !important;
  text-overflow: clip !important;
}

.search-suggestions:not([hidden]) .search-suggestion {
  animation: searchSuggestionsIn 150ms cubic-bezier(0.22, 1, 0.36, 1) both;
}

/* Prevent clipping on floating pills/tags/tooltips and citation bubble. */
.destination-result-hero-overlay,
.destination-result-hero-meta,
.destination-result-hero-copy,
.destination-topic-toolbar,
.active-country-display,
.active-topic-display,
.site-citations,
.site-citations-bubble,
.site-citations-panel,
.floating-map-trigger {
  overflow: visible !important;
}

.floating-map-trigger {
  z-index: var(--z-layer-floating-ui) !important;
}

/* Unified premium green hover glow system for all interactive controls. */
:where(
  a[href],
  button,
  [role="button"],
  input[type="button"],
  input[type="submit"],
  input[type="reset"],
  summary,
  [onclick],
  [data-clickable],
  [tabindex]:not([tabindex="-1"])
):not(:disabled):not([aria-disabled="true"]) {
  transition:
    box-shadow 220ms cubic-bezier(0.22, 1, 0.36, 1),
    border-color 220ms cubic-bezier(0.22, 1, 0.36, 1),
    filter 220ms cubic-bezier(0.22, 1, 0.36, 1),
    transform 220ms cubic-bezier(0.22, 1, 0.36, 1);
}

:where(
  a[href],
  button,
  [role="button"],
  input[type="button"],
  input[type="submit"],
  input[type="reset"],
  summary,
  [onclick],
  [data-clickable],
  [tabindex]:not([tabindex="-1"])
):not(:disabled):not([aria-disabled="true"]):hover,
:where(
  a[href],
  button,
  [role="button"],
  input[type="button"],
  input[type="submit"],
  input[type="reset"],
  summary,
  [onclick],
  [data-clickable],
  [tabindex]:not([tabindex="-1"])
):not(:disabled):not([aria-disabled="true"]):focus-visible {
  border-color: rgba(142, 248, 175, 0.9) !important;
  box-shadow: var(--interactive-green-glow, 0 0 0 1px rgba(142, 248, 175, 0.92), 0 12px 30px rgba(82, 226, 130, 0.28), 0 0 28px rgba(112, 241, 153, 0.34)) !important;
  filter: var(--interactive-green-glow-filter, brightness(1.03) saturate(1.1) drop-shadow(0 0 14px rgba(122, 240, 161, 0.42)));
}

@media (max-width: 700px) {
  .site-nav {
    grid-template-columns: 1fr !important;
  }

  .nav-left,
  .nav-right {
    width: 100%;
    justify-content: center !important;
  }
}

/* ===== Trip Builder + Booking Options ===== */
.destination-trip-builder {
  margin: 1.2rem 0 1.15rem;
  padding: clamp(0.9rem, 1.8vw, 1.25rem);
  border-radius: 22px;
  border: 1px solid rgba(15, 23, 42, 0.12);
  background:
    linear-gradient(150deg, rgba(255, 255, 255, 0.86), rgba(252, 255, 253, 0.76)),
    radial-gradient(circle at 16% 16%, rgba(185, 247, 207, 0.22), transparent 42%);
  box-shadow:
    0 16px 34px rgba(15, 23, 42, 0.12),
    inset 0 1px 0 rgba(255, 255, 255, 0.82);
  overflow: visible !important;
  position: relative;
}

.trip-builder-heading {
  display: grid;
  gap: 0.28rem;
  margin-bottom: 0.86rem;
}

.trip-builder-kicker {
  margin: 0;
  font-size: 0.73rem;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  opacity: 0.76;
}

.trip-builder-heading h3 {
  margin: 0;
  font-size: clamp(1.04rem, 1.45vw, 1.32rem);
  line-height: 1.25;
}

.trip-builder-heading p {
  margin: 0;
  font-size: 0.92rem;
  line-height: 1.45;
  opacity: 0.82;
}

.trip-builder-tabs {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 0.5rem;
  margin-bottom: 0.86rem;
  overflow: visible !important;
}

.trip-builder-tab {
  border: 1px solid rgba(15, 23, 42, 0.14);
  border-radius: 999px;
  padding: 0.44rem 0.84rem;
  min-height: 2.08rem;
  background: rgba(255, 255, 255, 0.72);
  color: var(--ink);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.32rem;
  font-size: 0.86rem;
  font-weight: 600;
  cursor: pointer;
  backdrop-filter: blur(10px) saturate(134%);
  -webkit-backdrop-filter: blur(10px) saturate(134%);
  transition:
    transform 190ms cubic-bezier(0.22, 1, 0.36, 1),
    box-shadow 190ms ease,
    border-color 190ms ease,
    background 190ms ease;
}

.trip-builder-tab.active {
  background:
    linear-gradient(140deg, rgba(255, 255, 255, 0.2), rgba(255, 255, 255, 0.02)),
    radial-gradient(circle at var(--liquid-point-a), rgba(255, 255, 255, 0.28), transparent 34%),
    radial-gradient(circle at var(--liquid-point-b), rgba(145, 234, 176, 0.26), transparent 40%),
    var(--hero-green-gradient);
  border-color: rgba(122, 226, 156, 0.9);
}

.trip-builder-filters {
  display: flex;
  flex-wrap: wrap;
  align-items: flex-start;
  gap: 0.52rem 0.56rem;
  margin-bottom: 0.98rem;
  overflow: visible !important;
}

.trip-builder-filter-group {
  position: relative;
  display: inline-flex;
  flex-direction: column;
  min-width: 0;
  overflow: visible !important;
}

.trip-builder-filter-trigger {
  border: 1px solid rgba(15, 23, 42, 0.14);
  border-radius: 999px;
  min-height: 2.02rem;
  padding: 0.28rem 0.72rem;
  background: rgba(255, 255, 255, 0.74);
  color: var(--ink);
  display: inline-flex;
  align-items: center;
  gap: 0.42rem;
  cursor: pointer;
  font-size: 0.77rem;
  font-weight: 700;
  line-height: 1;
  backdrop-filter: blur(9px) saturate(128%);
  -webkit-backdrop-filter: blur(9px) saturate(128%);
  transition:
    border-color 190ms ease,
    box-shadow 220ms ease,
    transform 190ms cubic-bezier(0.22, 1, 0.36, 1),
    background 190ms ease;
}

.trip-builder-filter-trigger:hover,
.trip-builder-filter-trigger:focus-visible,
.trip-builder-filter-group.is-open .trip-builder-filter-trigger {
  transform: translateY(-1px);
  border-color: rgba(122, 226, 156, 0.82);
}

.trip-builder-filter-trigger-label {
  letter-spacing: 0.08em;
  text-transform: uppercase;
  font-size: 0.66rem;
  opacity: 0.78;
}

.trip-builder-filter-trigger-value {
  font-size: 0.78rem;
  font-weight: 700;
  white-space: nowrap;
  max-width: 12ch;
  overflow: hidden;
  text-overflow: ellipsis;
}

.trip-builder-filter-trigger-chevron {
  font-size: 0.75rem;
  opacity: 0.72;
  transition: transform 180ms ease;
}

.trip-builder-filter-group.is-open .trip-builder-filter-trigger-chevron {
  transform: rotate(180deg);
}

.trip-builder-filter-options {
  position: absolute;
  top: calc(100% + 0.42rem);
  left: 0;
  z-index: 26;
  display: grid;
  gap: 0.34rem;
  width: max-content;
  min-width: 100%;
  max-width: min(88vw, 360px);
  padding: 0.44rem;
  border-radius: 16px;
  border: 1px solid rgba(15, 23, 42, 0.13);
  background:
    linear-gradient(150deg, rgba(255, 255, 255, 0.9), rgba(250, 255, 252, 0.78)),
    radial-gradient(circle at 16% 16%, rgba(176, 240, 197, 0.24), transparent 44%);
  box-shadow:
    0 16px 30px rgba(15, 23, 42, 0.16),
    inset 0 1px 0 rgba(255, 255, 255, 0.88);
  backdrop-filter: blur(11px) saturate(132%);
  -webkit-backdrop-filter: blur(11px) saturate(132%);
  overflow: visible;
}

.trip-builder-filter-options[hidden] {
  display: none !important;
}

.trip-builder-filter-chip {
  border: 1px solid rgba(15, 23, 42, 0.14);
  border-radius: 999px;
  min-height: 1.76rem;
  width: 100%;
  justify-content: flex-start;
  padding: 0.28rem 0.68rem;
  font-size: 0.78rem;
  font-weight: 600;
  line-height: 1.1;
  color: var(--ink);
  background: rgba(255, 255, 255, 0.82);
  cursor: pointer;
  transition:
    transform 180ms cubic-bezier(0.22, 1, 0.36, 1),
    border-color 180ms ease,
    box-shadow 190ms ease,
    background 180ms ease;
}

.trip-builder-filter-chip.active {
  border-color: rgba(122, 226, 156, 0.86);
  background:
    linear-gradient(140deg, rgba(255, 255, 255, 0.22), rgba(255, 255, 255, 0.04)),
    var(--hero-green-gradient);
}

.trip-builder-layout {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(300px, 360px);
  align-items: start;
  gap: clamp(0.92rem, 1.8vw, 1.28rem);
  overflow: visible !important;
}

.trip-builder-results {
  min-width: 0;
  overflow: visible !important;
}

.trip-options-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 0.86rem;
  overflow: visible !important;
}

.trip-option-empty {
  border-radius: 18px;
  padding: 1rem;
  background: rgba(255, 255, 255, 0.66);
  box-shadow: 0 8px 18px rgba(15, 23, 42, 0.08);
}

.trip-option-empty p {
  margin: 0;
  font-size: 0.92rem;
}

.trip-option-card {
  position: relative;
  border: 0;
  border-radius: 20px;
  background:
    linear-gradient(154deg, rgba(255, 255, 255, 0.82), rgba(247, 252, 249, 0.72)),
    rgba(255, 255, 255, 0.62);
  box-shadow:
    0 14px 28px rgba(15, 23, 42, 0.14),
    0 1px 0 rgba(255, 255, 255, 0.9) inset;
  overflow: hidden;
  transition:
    transform 220ms cubic-bezier(0.22, 1, 0.36, 1),
    box-shadow 220ms ease,
    filter 220ms ease;
}

.trip-option-card:hover,
.trip-option-card:focus-within {
  transform: translateY(-3px);
}

.trip-option-media {
  position: relative;
  width: 100%;
  aspect-ratio: 16 / 9;
  overflow: hidden;
  border-bottom: 1px solid rgba(15, 23, 42, 0.08);
  background:
    radial-gradient(circle at 18% 16%, rgba(165, 235, 189, 0.42), transparent 52%),
    linear-gradient(150deg, rgba(19, 31, 28, 0.42), rgba(8, 16, 13, 0.16)),
    var(--hero-green-gradient);
}

.trip-option-media img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
  opacity: 0;
  transform: scale(1.01);
  transition: transform 320ms ease, opacity 260ms ease;
}

.trip-option-media.is-ready img {
  opacity: 1;
}

.trip-option-card:hover .trip-option-media img,
.trip-option-card:focus-within .trip-option-media img {
  transform: scale(1.045);
}

.trip-option-media-placeholder {
  position: absolute;
  inset: 0;
  z-index: 1;
  pointer-events: none;
  display: flex;
  align-items: flex-end;
  padding: 0.72rem;
  font-size: 0.77rem;
  font-weight: 700;
  letter-spacing: 0.02em;
  color: rgba(245, 255, 248, 0.95);
  background:
    linear-gradient(to top, rgba(5, 14, 11, 0.58), rgba(5, 14, 11, 0.16) 52%, rgba(5, 14, 11, 0));
  transition: opacity 220ms ease, transform 220ms ease;
}

.trip-option-media.is-ready .trip-option-media-placeholder {
  opacity: 0;
  transform: translateY(6px);
}

.trip-option-tag {
  position: absolute;
  top: 0.62rem;
  left: 0.62rem;
  z-index: 2;
  padding: 0.24rem 0.6rem;
  border-radius: 999px;
  font-size: 0.7rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: #08110b;
  background:
    linear-gradient(145deg, rgba(255, 255, 255, 0.34), rgba(255, 255, 255, 0.08)),
    var(--hero-green-gradient);
  border: 1px solid rgba(129, 219, 157, 0.86);
}

.trip-option-content {
  display: grid;
  gap: 0.52rem;
  padding: 0.78rem 0.82rem 0.84rem;
}

.trip-option-topline {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 0.55rem;
}

.trip-option-topline h5 {
  margin: 0;
  font-size: 0.98rem;
  line-height: 1.25;
}

.trip-option-title-link {
  color: var(--ink);
  text-decoration: none;
  font-size: 0.98rem;
  line-height: 1.24;
  font-weight: 700;
}

.trip-option-title-link:hover,
.trip-option-title-link:focus-visible {
  text-decoration: underline;
  text-decoration-thickness: 1.6px;
  text-underline-offset: 2px;
}

.trip-option-rating {
  font-size: 0.78rem;
  font-weight: 700;
  white-space: nowrap;
  opacity: 0.82;
}

.trip-option-descriptor {
  margin: 0;
  font-size: 0.84rem;
  line-height: 1.42;
  opacity: 0.86;
}

.trip-option-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 0.34rem 0.46rem;
}

.trip-option-meta span {
  display: inline-flex;
  align-items: center;
  min-height: 1.38rem;
  padding: 0.18rem 0.52rem;
  border-radius: 999px;
  border: 1px solid rgba(15, 23, 42, 0.14);
  background: rgba(255, 255, 255, 0.74);
  font-size: 0.73rem;
  line-height: 1;
  opacity: 0.86;
}

.trip-option-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.42rem;
}

.trip-option-action {
  border: 1px solid rgba(15, 23, 42, 0.16);
  border-radius: 999px;
  min-height: 1.88rem;
  padding: 0.28rem 0.68rem;
  background: rgba(255, 255, 255, 0.78);
  color: var(--ink);
  text-decoration: none;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.2rem;
  font-size: 0.77rem;
  font-weight: 700;
  line-height: 1;
  cursor: pointer;
}

.trip-option-action.is-disabled {
  opacity: 0.54;
  cursor: not-allowed;
}

.trip-option-add {
  background:
    linear-gradient(140deg, rgba(255, 255, 255, 0.22), rgba(255, 255, 255, 0.05)),
    var(--hero-green-gradient);
  border-color: rgba(128, 216, 156, 0.86);
}

.trip-option-save.is-active {
  background:
    linear-gradient(140deg, rgba(255, 255, 255, 0.22), rgba(255, 255, 255, 0.04)),
    var(--hero-green-gradient);
  border-color: rgba(118, 208, 147, 0.88);
}

.trip-option-save {
  min-width: 1.92rem;
  padding-inline: 0;
}

.trip-option-save-icon {
  width: 1.02rem;
  height: 1.02rem;
  display: inline-flex;
  align-items: center;
  justify-content: center;
}

.trip-option-save-icon svg {
  width: 100%;
  height: 100%;
  display: block;
}

.trip-option-estimated {
  margin: 0;
  font-size: 0.74rem;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  opacity: 0.74;
}

.trip-itinerary-panel {
  position: sticky;
  top: calc(var(--final-nav-height, 4.4rem) + 0.8rem);
  display: grid;
  grid-template-rows: auto auto;
  gap: 0.62rem;
  padding: 0.76rem;
  border-radius: 22px;
  border: 1px solid rgba(15, 23, 42, 0.15);
  background:
    linear-gradient(145deg, rgba(255, 255, 255, 0.8), rgba(248, 253, 250, 0.72)),
    radial-gradient(circle at 20% 12%, rgba(169, 235, 192, 0.24), transparent 48%);
  box-shadow:
    0 16px 32px rgba(15, 23, 42, 0.16),
    inset 0 1px 0 rgba(255, 255, 255, 0.85);
  overflow: hidden;
  min-height: 0;
  height: auto;
  max-height: min(70vh, 30rem);
  min-width: 0;
  align-self: start;
}

.trip-itinerary-header {
  display: grid;
  gap: 0.18rem;
  text-align: center;
  padding: 0.6rem 0.64rem 0.66rem;
  border-radius: 16px;
  border: 1px solid rgba(122, 206, 149, 0.38);
  background:
    linear-gradient(145deg, rgba(255, 255, 255, 0.24), rgba(255, 255, 255, 0.04)),
    radial-gradient(circle at 18% 18%, rgba(227, 255, 237, 0.34), transparent 44%),
    var(--hero-green-gradient);
  color: #07110b;
}

.trip-itinerary-kicker {
  margin: 0;
  font-size: 0.84rem;
  letter-spacing: 0.1em;
  font-weight: 800;
  text-transform: uppercase;
  opacity: 0.92;
}

.trip-itinerary-header h4 {
  margin: 0;
  font-size: 0.9rem;
  line-height: 1.28;
  font-weight: 700;
  opacity: 0.85;
}

.trip-itinerary-total {
  margin: 0;
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.03em;
  opacity: 0.84;
}

.trip-itinerary-days {
  display: grid;
  gap: 0.56rem;
  min-height: 0;
  max-height: min(56vh, 22rem);
  overflow-y: auto;
  overflow-x: hidden;
  padding-right: 0.18rem;
  padding-bottom: 0.02rem;
  overscroll-behavior: contain;
  scrollbar-width: thin;
  scrollbar-color: rgba(106, 194, 136, 0.5) transparent;
}

.trip-itinerary-days::-webkit-scrollbar {
  width: 6px;
}

.trip-itinerary-days::-webkit-scrollbar-track {
  background: transparent;
}

.trip-itinerary-days::-webkit-scrollbar-thumb {
  border-radius: 999px;
  background: linear-gradient(180deg, rgba(138, 235, 170, 0.65), rgba(90, 186, 123, 0.56));
}

.trip-itinerary-day {
  border-radius: 18px;
  border: 1px solid rgba(15, 23, 42, 0.13);
  background: rgba(255, 255, 255, 0.64);
  padding: 0.58rem 0.6rem;
  display: grid;
  gap: 0.46rem;
  max-height: 3.7rem;
  overflow: hidden;
  transition:
    max-height 260ms cubic-bezier(0.22, 1, 0.36, 1),
    box-shadow 220ms ease,
    border-color 220ms ease,
    transform 220ms ease;
}

.trip-itinerary-day:hover,
.trip-itinerary-day:focus-within {
  max-height: 30rem;
  transform: translateY(-1px);
  border-color: rgba(114, 208, 145, 0.72);
  box-shadow:
    0 10px 18px rgba(15, 23, 42, 0.12),
    inset 0 1px 0 rgba(255, 255, 255, 0.56);
}

.trip-itinerary-day:focus-visible {
  outline: none;
  border-color: rgba(118, 210, 149, 0.78);
  box-shadow:
    0 0 0 2px rgba(140, 236, 171, 0.28),
    0 10px 18px rgba(15, 23, 42, 0.12);
}

.trip-itinerary-day-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 0.44rem;
}

.trip-itinerary-day-header h5 {
  margin: 0;
  font-size: 0.87rem;
}

.trip-itinerary-day-count {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 1.3rem;
  padding: 0.14rem 0.48rem;
  border-radius: 999px;
  border: 1px solid rgba(15, 23, 42, 0.14);
  background: rgba(255, 255, 255, 0.74);
  font-size: 0.66rem;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  opacity: 0.8;
}

.trip-itinerary-day-details {
  display: grid;
  gap: 0.56rem;
  max-height: 0;
  opacity: 0;
  transform: translateY(-6px);
  pointer-events: none;
  transition: max-height 250ms ease, opacity 210ms ease, transform 210ms ease;
}

.trip-itinerary-day:hover .trip-itinerary-day-details,
.trip-itinerary-day:focus-within .trip-itinerary-day-details {
  max-height: 24rem;
  opacity: 1;
  transform: translateY(0);
  pointer-events: auto;
}

.trip-itinerary-slot {
  display: grid;
  gap: 0.38rem;
}

.trip-itinerary-slot-title {
  margin: 0;
  font-size: 0.72rem;
  text-transform: uppercase;
  letter-spacing: 0.09em;
  opacity: 0.74;
}

.trip-itinerary-slot-list {
  display: grid;
  gap: 0.34rem;
}

.trip-itinerary-slot-empty {
  margin: 0;
  font-size: 0.79rem;
  opacity: 0.68;
}

.trip-itinerary-item {
  border-radius: 14px;
  border: 1px solid rgba(15, 23, 42, 0.12);
  background: rgba(255, 255, 255, 0.78);
  padding: 0.4rem 0.46rem;
  display: grid;
  gap: 0.3rem;
}

.trip-itinerary-item-main {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 0.48rem;
}

.trip-itinerary-item-main strong {
  font-size: 0.82rem;
  line-height: 1.25;
}

.trip-itinerary-item-main span {
  font-size: 0.74rem;
  font-weight: 700;
  white-space: nowrap;
}

.trip-itinerary-item-meta {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 0.36rem;
}

.trip-itinerary-item-meta input[type="time"] {
  border-radius: 10px;
  border: 1px solid rgba(15, 23, 42, 0.16);
  background: rgba(255, 255, 255, 0.82);
  color: var(--ink);
  min-height: 1.72rem;
  padding: 0.14rem 0.4rem;
  font-size: 0.74rem;
  font-weight: 600;
}

.trip-itinerary-controls {
  display: inline-flex;
  gap: 0.24rem;
}

.trip-itinerary-controls button {
  border-radius: 999px;
  min-width: 1.58rem;
  min-height: 1.58rem;
  border: 1px solid rgba(15, 23, 42, 0.16);
  background: rgba(255, 255, 255, 0.78);
  color: var(--ink);
  font-size: 0.78rem;
  font-weight: 700;
  line-height: 1;
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  justify-content: center;
}

:root[data-theme="dark"] .destination-trip-builder {
  border-color: rgba(167, 204, 182, 0.24);
  background:
    linear-gradient(156deg, rgba(12, 21, 30, 0.86), rgba(11, 20, 28, 0.74)),
    radial-gradient(circle at 16% 14%, rgba(95, 178, 124, 0.22), transparent 44%);
  box-shadow:
    0 18px 36px rgba(0, 0, 0, 0.36),
    inset 0 1px 0 rgba(255, 255, 255, 0.05);
}

:root[data-theme="dark"] .trip-builder-filter-trigger,
:root[data-theme="dark"] .trip-builder-tab,
:root[data-theme="dark"] .trip-builder-filter-chip,
:root[data-theme="dark"] .trip-option-action,
:root[data-theme="dark"] .trip-option-meta span,
:root[data-theme="dark"] .trip-itinerary-day,
:root[data-theme="dark"] .trip-itinerary-item,
:root[data-theme="dark"] .trip-itinerary-item-meta input[type="time"],
:root[data-theme="dark"] .trip-itinerary-controls button {
  background: rgba(15, 28, 37, 0.8);
  color: #f5f8fb;
  border-color: rgba(173, 211, 190, 0.28);
}

:root[data-theme="dark"] .trip-builder-filter-options {
  border-color: rgba(168, 212, 188, 0.3);
  background:
    linear-gradient(154deg, rgba(12, 22, 31, 0.94), rgba(10, 19, 27, 0.84)),
    radial-gradient(circle at 18% 16%, rgba(89, 176, 120, 0.24), transparent 46%);
  box-shadow:
    0 18px 34px rgba(0, 0, 0, 0.42),
    inset 0 1px 0 rgba(255, 255, 255, 0.08);
}

:root[data-theme="dark"] .trip-itinerary-panel {
  border-color: rgba(170, 210, 188, 0.26);
  background:
    linear-gradient(150deg, rgba(12, 21, 31, 0.9), rgba(10, 19, 27, 0.76)),
    radial-gradient(circle at 24% 12%, rgba(85, 170, 116, 0.2), transparent 46%);
  box-shadow:
    0 18px 36px rgba(0, 0, 0, 0.4),
    inset 0 1px 0 rgba(255, 255, 255, 0.06);
}

:root[data-theme="dark"] .trip-itinerary-header {
  border-color: rgba(131, 210, 160, 0.38);
  color: #ecfff3;
  background:
    linear-gradient(145deg, rgba(255, 255, 255, 0.08), rgba(255, 255, 255, 0.01)),
    radial-gradient(circle at 18% 18%, rgba(117, 209, 148, 0.26), transparent 44%),
    linear-gradient(140deg, rgba(45, 88, 58, 0.86), rgba(27, 57, 39, 0.92));
}

:root[data-theme="dark"] .trip-option-card {
  background:
    linear-gradient(154deg, rgba(12, 22, 32, 0.9), rgba(11, 21, 30, 0.74)),
    rgba(8, 15, 22, 0.72);
  box-shadow:
    0 16px 32px rgba(0, 0, 0, 0.36),
    0 1px 0 rgba(255, 255, 255, 0.05) inset;
}

:root[data-theme="dark"] .trip-option-title-link {
  color: #f4f8fc;
}

:root[data-theme="dark"] .trip-option-media-placeholder {
  color: rgba(234, 245, 238, 0.94);
  background:
    linear-gradient(to top, rgba(5, 13, 10, 0.74), rgba(5, 13, 10, 0.2) 56%, rgba(5, 13, 10, 0));
}

:root[data-theme="dark"] .trip-itinerary-day-count {
  background: rgba(13, 25, 34, 0.82);
  border-color: rgba(168, 208, 187, 0.34);
}

:root[data-theme="dark"] .trip-itinerary-days {
  scrollbar-color: rgba(123, 212, 153, 0.55) transparent;
}

:root[data-theme="dark"] .trip-option-descriptor,
:root[data-theme="dark"] .trip-builder-heading p,
:root[data-theme="dark"] .trip-itinerary-slot-empty {
  color: rgba(231, 241, 248, 0.84);
}

@media (max-width: 1120px) {
  .trip-builder-layout {
    grid-template-columns: minmax(0, 1fr);
  }

  .trip-itinerary-panel {
    position: relative;
    top: 0;
    height: auto;
    max-height: min(60vh, 26rem);
  }

  .trip-itinerary-days {
    max-height: min(48vh, 20rem);
  }
}

@media (max-width: 860px) {
  .trip-builder-filter-group {
    flex: 1 1 calc(50% - 0.32rem);
  }

  .trip-builder-filter-trigger {
    width: 100%;
    justify-content: space-between;
  }

  .trip-builder-filter-options {
    width: 100%;
    max-width: none;
  }

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

@media (max-width: 620px) {
  .destination-trip-builder {
    padding: 0.76rem;
    border-radius: 18px;
  }

  .trip-builder-heading h3 {
    font-size: 1rem;
  }

  .trip-builder-tab,
  .trip-builder-filter-chip,
  .trip-option-action {
    min-height: 1.8rem;
    font-size: 0.74rem;
    padding-inline: 0.62rem;
  }

  .trip-option-content {
    padding: 0.7rem 0.72rem 0.74rem;
  }

  .trip-builder-filter-group {
    flex: 1 1 100%;
  }

  .trip-builder-filter-options {
    position: relative;
    top: 0;
    left: 0;
    margin-top: 0.36rem;
    width: 100%;
    max-width: none;
  }

  .trip-itinerary-panel {
    height: auto;
    max-height: min(56vh, 22rem);
    padding: 0.74rem;
  }

  .trip-itinerary-days {
    max-height: min(44vh, 16.5rem);
  }
}

@media (hover: none) {
  .trip-itinerary-day {
    max-height: none;
  }

  .trip-itinerary-day-details {
    max-height: none;
    opacity: 1;
    transform: none;
    pointer-events: auto;
  }
}

/* ===== Seamless Surface Refinement Pass ===== */
:root {
  --seamless-surface-border-light: rgba(17, 24, 39, 0.055);
  --seamless-surface-border-dark: rgba(173, 210, 187, 0.16);
  --seamless-surface-shadow-light:
    0 14px 30px rgba(15, 23, 42, 0.08),
    inset 0 1px 0 rgba(255, 255, 255, 0.42);
  --seamless-surface-shadow-dark:
    0 18px 36px rgba(0, 0, 0, 0.34),
    inset 0 1px 0 rgba(255, 255, 255, 0.06);
}

.hero,
.site-nav {
  border-bottom: 0 !important;
}

.site-nav {
  box-shadow:
    0 10px 26px rgba(15, 23, 42, 0.08),
    inset 0 -1px 0 rgba(255, 255, 255, 0.14);
}

.section-alt,
.destination-profile.section-alt,
.destination-guide-card--planner,
.budget-day-stage-rail,
.budget-day-stage-panel,
.budget-itinerary-summary,
.budget-itinerary-stay,
.budget-itinerary-slot,
.destination-trip-builder,
.trip-option-empty,
.trip-itinerary-panel,
.trip-builder-filter-options,
.site-citations-bubble,
.site-citations-bubble.is-open {
  border-color: var(--seamless-surface-border-light) !important;
  box-shadow: var(--seamless-surface-shadow-light) !important;
}

.destination-guide-card--planner,
.budget-day-stage-panel,
.budget-day-stage-rail,
.budget-itinerary-summary,
.budget-itinerary-stay,
.budget-itinerary-slot,
.trip-option-card,
.trip-itinerary-panel,
.trip-builder-filter-options {
  border-width: 1px !important;
}

.destination-section-block,
body.search-result-active .destination-section-block {
  border-top: 0 !important;
  padding-top: clamp(0.34rem, 1vw, 0.52rem) !important;
}

.destination-topic-sources {
  border-top: 0 !important;
  padding-top: 0.14rem;
}

.destination-topic-sources-list {
  margin-top: 0.2rem;
}

.trip-option-media {
  border-bottom: 0 !important;
}

.trip-option-meta span,
.trip-option-action,
.trip-itinerary-day,
.trip-itinerary-item,
.trip-itinerary-item-meta input[type="time"],
.trip-itinerary-controls button,
.trip-itinerary-day-count,
.trip-builder-filter-trigger,
.trip-builder-filter-chip {
  border-color: rgba(17, 24, 39, 0.08) !important;
}

.destination-result-hero-image--primary,
.destination-result-hero-image--fallback {
  -webkit-mask-image: linear-gradient(to bottom, #000 0%, #000 54%, rgba(0, 0, 0, 0.84) 72%, rgba(0, 0, 0, 0.22) 90%, transparent 100%);
  mask-image: linear-gradient(to bottom, #000 0%, #000 54%, rgba(0, 0, 0, 0.84) 72%, rgba(0, 0, 0, 0.22) 90%, transparent 100%);
}

body.search-result-active .destination-reading-panel,
body.search-result-active .destination-profile-card,
body.search-result-active .destination-topic-panel {
  border-color: transparent !important;
  box-shadow:
    0 8px 22px rgba(15, 23, 42, 0.05),
    inset 0 1px 0 rgba(255, 255, 255, 0.28) !important;
}

:root[data-theme="dark"] .site-nav {
  box-shadow:
    0 12px 30px rgba(0, 0, 0, 0.34),
    inset 0 -1px 0 rgba(182, 216, 196, 0.12);
}

:root[data-theme="dark"] .section-alt,
:root[data-theme="dark"] .destination-profile.section-alt,
:root[data-theme="dark"] .destination-guide-card--planner,
:root[data-theme="dark"] .budget-day-stage-rail,
:root[data-theme="dark"] .budget-day-stage-panel,
:root[data-theme="dark"] .budget-itinerary-summary,
:root[data-theme="dark"] .budget-itinerary-stay,
:root[data-theme="dark"] .budget-itinerary-slot,
:root[data-theme="dark"] .destination-trip-builder,
:root[data-theme="dark"] .trip-option-empty,
:root[data-theme="dark"] .trip-itinerary-panel,
:root[data-theme="dark"] .trip-builder-filter-options,
:root[data-theme="dark"] .site-citations-bubble,
:root[data-theme="dark"] .site-citations-bubble.is-open {
  border-color: var(--seamless-surface-border-dark) !important;
  box-shadow: var(--seamless-surface-shadow-dark) !important;
}

:root[data-theme="dark"] .trip-option-meta span,
:root[data-theme="dark"] .trip-option-action,
:root[data-theme="dark"] .trip-itinerary-day,
:root[data-theme="dark"] .trip-itinerary-item,
:root[data-theme="dark"] .trip-itinerary-item-meta input[type="time"],
:root[data-theme="dark"] .trip-itinerary-controls button,
:root[data-theme="dark"] .trip-itinerary-day-count,
:root[data-theme="dark"] .trip-builder-filter-trigger,
:root[data-theme="dark"] .trip-builder-filter-chip {
  border-color: rgba(186, 220, 199, 0.2) !important;
}

/* ===== Global Floating Layer System (dropdowns/popovers always front) ===== */
:root {
  --z-tier-base-content: 1;
  --z-tier-sticky-ui: 2400;
  --z-tier-floating-ui: 2600;
  --z-tier-dropdown: 3600;
  --z-tier-modal: 5200;
}

.site-nav,
body.search-result-active .site-nav {
  z-index: var(--z-tier-sticky-ui) !important;
  overflow: visible !important;
}

.floating-map-trigger,
.site-citations {
  z-index: var(--z-tier-floating-ui) !important;
}

.map-modal {
  z-index: var(--z-tier-modal) !important;
}

#ui-overlay-root {
  position: fixed;
  inset: 0;
  z-index: var(--z-tier-dropdown);
  pointer-events: none;
  overflow: visible;
  isolation: isolate;
}

#ui-overlay-root > .overlay-floating-panel {
  pointer-events: auto;
  z-index: var(--z-tier-dropdown) !important;
}

.search-suggestions[data-overlay-portal="true"] {
  position: fixed !important;
  z-index: var(--z-tier-dropdown) !important;
}

.currency-menu[data-overlay-portal="true"] {
  position: fixed !important;
  z-index: var(--z-tier-dropdown) !important;
}

.destination-search-home-slot,
.search-center-column,
.nav-search-shell,
.nav-search-slot,
.destination-search,
.destination-search-row,
.trip-builder-filters,
.trip-builder-filter-group,
.site-citations,
.site-citations-bubble,
.currency-widget,
.country-atmosphere,
.country-atmosphere-meta {
  overflow: visible !important;
}

.trip-builder-filter-group {
  position: relative;
}

.trip-builder-filter-group.is-open {
  z-index: calc(var(--z-tier-dropdown) - 2) !important;
}

.trip-builder-filter-options {
  z-index: calc(var(--z-tier-dropdown) - 1) !important;
}
