@font-face {
  font-family: "Manrope";
  src: url("/static/fonts/manrope/manrope-regular.woff2") format("woff2");
  font-display: swap;
  font-weight: 400 700;
}

@font-face {
  font-family: "Manrope";
  src: url("/static/fonts/manrope/manrope-extrabold.woff2") format("woff2");
  font-display: swap;
  font-weight: 800;
}

:root {
  --ink: #172019;
  --muted: #667068;
  --line: #dce2d9;
  --paper: #f5f7f2;
  --white: #fff;
  --green: #167245;
  --green-dark: #0d5433;
  --accent: #e9ff70;
  --orange: #ff8b4c;
  --radius: 24px;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  color: var(--ink);
  background: var(--paper);
  font: 16px/1.55 "Manrope", system-ui, sans-serif;
}
button, input, select { font: inherit; }
a { color: inherit; }
img { display: block; max-width: 100%; }
[hidden] { display: none !important; }
:focus-visible { outline: 3px solid #136ca8; outline-offset: 3px; }

.discovery-skip {
  position: fixed;
  z-index: 10000;
  top: max(10px, env(safe-area-inset-top, 0px));
  left: 10px;
  padding: 10px 14px;
  transform: translateY(calc(-100% - max(40px, env(safe-area-inset-top, 0px))));
  border-radius: 12px;
  background: #111;
  color: #fff;
}
.discovery-skip:focus-visible { transform: none; }
.discovery-header, .discovery-footer {
  display: flex;
  width: min(1280px, calc(100% - 40px));
  margin: 0 auto;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
}
.discovery-header { min-height: 84px; }
.discovery-header nav { display: flex; flex-wrap: wrap; gap: 24px; }
.discovery-header nav a { text-decoration: none; font-weight: 700; }
.discovery-brand { display: inline-flex; align-items: center; gap: 12px; text-decoration: none; }
.discovery-brand span { display: grid; line-height: 1.1; }
.discovery-brand strong { font-size: 18px; font-weight: 800; }
.discovery-brand small { margin-top: 4px; color: var(--muted); }
.discovery-main { width: min(1280px, calc(100% - 40px)); margin: 0 auto; }
.discovery-eyebrow {
  margin: 0 0 10px;
  color: var(--green);
  font-size: 12px;
  font-weight: 800;
  letter-spacing: .14em;
  text-transform: uppercase;
}
h1, h2, h3, p { overflow-wrap: anywhere; }
h1 { margin: 0; font-size: clamp(40px, 6vw, 82px); line-height: .98; letter-spacing: -.055em; }
h2 { margin: 0; font-size: clamp(28px, 3.2vw, 46px); line-height: 1.05; letter-spacing: -.035em; }
h3 { margin: 0; line-height: 1.15; }
.discovery-button {
  display: inline-flex;
  min-height: 48px;
  padding: 12px 20px;
  align-items: center;
  justify-content: center;
  border: 1px solid var(--green);
  border-radius: 999px;
  background: var(--green);
  color: #fff;
  cursor: pointer;
  font-weight: 800;
  text-decoration: none;
}
.discovery-button:hover { background: var(--green-dark); }
.discovery-button--secondary { background: transparent; color: var(--green); }
.discovery-button--secondary:hover { background: #e3eee6; }

.search-hero {
  position: relative;
  padding: clamp(54px, 8vw, 110px) clamp(20px, 5vw, 72px);
  overflow: visible;
  border-radius: 36px;
  background: var(--green);
  color: #fff;
}
.search-hero::after {
  content: "";
  position: absolute;
  right: 6%;
  top: 13%;
  width: 190px;
  aspect-ratio: 1;
  border: 2px solid rgb(255 255 255 / .25);
  border-radius: 50%;
  box-shadow: 50px 70px 0 -34px var(--accent);
}
.search-hero .discovery-eyebrow { color: var(--accent); }
.search-hero h1 { position: relative; z-index: 1; max-width: 900px; }
.search-form { position: relative; z-index: 5; max-width: 820px; margin-top: 34px; }
.search-form > label { display: block; margin-bottom: 8px; font-weight: 700; }
.search-form > div:first-of-type {
  display: grid;
  grid-template-columns: 1fr auto;
  padding: 5px;
  border-radius: 18px;
  background: #fff;
}
.search-form input {
  min-width: 0;
  min-height: 54px;
  padding: 0 16px;
  border: 0;
  outline: 0;
  color: var(--ink);
  background: transparent;
}
.search-form button {
  padding: 0 26px;
  border: 0;
  border-radius: 14px;
  background: var(--accent);
  color: var(--ink);
  cursor: pointer;
  font-weight: 800;
}
.search-suggestions {
  position: absolute;
  z-index: 20;
  top: 100%;
  right: 0;
  left: 0;
  margin-top: 8px;
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: 18px;
  background: var(--white);
  box-shadow: 0 18px 60px rgb(20 40 27 / .2);
  color: var(--ink);
}
.search-suggestions button {
  display: grid;
  width: 100%;
  padding: 12px 16px;
  text-align: left;
  border: 0;
  border-bottom: 1px solid var(--line);
  border-radius: 0;
  background: #fff;
  color: var(--ink);
}
.search-suggestions button[aria-selected="true"], .search-suggestions button:hover { background: #edf7ef; }
.search-suggestions small { color: var(--muted); }
.search-popular { position: relative; z-index: 1; display: flex; margin-top: 18px; flex-wrap: wrap; gap: 8px; }
.search-popular button {
  padding: 7px 12px;
  border: 1px solid rgb(255 255 255 / .45);
  border-radius: 999px;
  background: rgb(255 255 255 / .1);
  color: #fff;
  cursor: pointer;
}
.search-layout { display: grid; grid-template-columns: 250px 1fr; gap: 34px; padding: 64px 0 100px; }
.search-filters {
  align-self: start;
  display: grid;
  padding: 22px;
  gap: 18px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: #fff;
}
.search-filters > div { display: flex; align-items: center; justify-content: space-between; gap: 10px; }
.search-filters h2 { font-size: 21px; }
.search-filters > div button, .recent-history button {
  border: 0; background: transparent; color: var(--green); cursor: pointer; text-decoration: underline;
}
.search-filters label { display: grid; gap: 6px; font-size: 13px; font-weight: 800; }
.search-filters input, .search-filters select, .nearby-controls input, .nearby-controls select {
  width: 100%;
  min-height: 44px;
  padding: 8px 10px;
  border: 1px solid #bdc7bd;
  border-radius: 10px;
  background: #fff;
}
.search-results__heading, .content-section-heading {
  display: flex; align-items: end; justify-content: space-between; gap: 20px; margin-bottom: 24px;
}
.search-results__actions { display: grid; justify-items: end; gap: 8px; }
.search-results__actions p { margin: 0; color: var(--muted); }
.search-results__actions .discovery-button { min-height: 40px; padding: 8px 14px; }
.share-feedback { position: fixed; z-index: 80; right: 18px; bottom: 18px; margin: 0; padding: 10px 14px; border-radius: 12px; background: var(--green); color: #fff; }
.share-feedback:empty { display: none; }
.search-results__heading h2 { font-size: 34px; }
.search-results__heading > p, .content-section-heading > p { color: var(--muted); }
.discovery-card-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 20px; }
.discovery-card {
  min-width: 0;
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--white);
  box-shadow: 0 10px 30px rgb(32 57 39 / .04);
}
.discovery-card__cover {
  display: grid;
  aspect-ratio: 1.5;
  place-items: center;
  overflow: hidden;
  background: #dce9dc;
}
.discovery-card__cover > img { width: 100%; height: 100%; object-fit: cover; transition: transform .3s ease; }
.discovery-card__cover:hover > img { transform: scale(1.025); }
.discovery-card__cover span img { opacity: .42; }
.discovery-card__body { display: grid; min-height: 190px; padding: 18px; gap: 9px; }
.discovery-card__body > p:first-child { margin: 0; color: var(--green); font-size: 12px; font-weight: 800; text-transform: uppercase; }
.discovery-card__body h3 a { text-decoration: none; }
.discovery-card__body > p { margin: 0; color: var(--muted); font-size: 14px; }
.discovery-card__body footer { display: flex; margin-top: auto; justify-content: space-between; gap: 10px; font-size: 13px; }
.discovery-card__body footer a { color: var(--green); font-weight: 800; }
.discovery-empty {
  grid-column: 1 / -1;
  padding: 50px 24px;
  border: 1px dashed #aeb9ad;
  border-radius: var(--radius);
  text-align: center;
}
.discovery-empty h2 { font-size: 28px; }
.discovery-empty p { color: var(--muted); }
.search-pagination { display: flex; margin-top: 30px; flex-wrap: wrap; gap: 8px; }
.search-pagination button { min-width: 42px; height: 42px; border: 1px solid var(--line); border-radius: 10px; background: #fff; cursor: pointer; }
.search-pagination button[aria-current="page"] { border-color: var(--green); background: var(--green); color: #fff; }
.recent-history { margin-top: 56px; padding-top: 28px; border-top: 1px solid var(--line); }
.recent-history > div:first-child { display: flex; align-items: center; justify-content: space-between; }
.recent-history [data-history-items] { display: flex; flex-wrap: wrap; gap: 9px; }
.recent-history [data-history-items] a { padding: 9px 13px; border-radius: 999px; background: #fff; text-decoration: none; }

.discovery-breadcrumbs { display: flex; padding: 20px 0; gap: 9px; color: var(--muted); font-size: 13px; }
.content-hero, .nearby-hero {
  display: grid;
  min-height: 540px;
  padding: clamp(26px, 5vw, 64px);
  align-items: center;
  grid-template-columns: 1.05fr .95fr;
  gap: clamp(30px, 6vw, 90px);
  border-radius: 36px;
  background: #e2ebe0;
}
.content-hero h1, .nearby-hero h1 { max-width: 760px; font-size: clamp(42px, 5.4vw, 76px); }
.content-hero > div > p:not(.discovery-eyebrow), .nearby-hero > div > p:not(.discovery-eyebrow) {
  max-width: 650px; color: #465247; font-size: 18px;
}
.content-hero__actions { display: flex; margin-top: 26px; flex-wrap: wrap; gap: 10px; }
.content-hero__cover { min-height: 360px; overflow: hidden; border-radius: 28px; background: #c8d9c8; }
.content-hero__cover > img { width: 100%; height: 100%; min-height: 360px; object-fit: cover; }
.content-hero__cover span { display: grid; min-height: 360px; place-items: center; }
.content-description { max-width: 850px; padding: 80px 0 40px; }
.content-description > p:last-child { color: #435046; font-size: 19px; white-space: pre-line; }
.content-items { padding: 50px 0 110px; }
.route-facts { display: flex; margin: 24px 0 0; flex-wrap: wrap; gap: 10px; }
.route-facts div { min-width: 116px; padding: 10px 14px; border-radius: 14px; background: rgb(255 255 255 / .65); }
.route-facts dt { color: var(--muted); font-size: 11px; font-weight: 800; text-transform: uppercase; }
.route-facts dd { margin: 3px 0 0; font-weight: 800; }
.route-layout { display: grid; padding: 54px 0 110px; grid-template-columns: minmax(0, 1fr) minmax(360px, .8fr); gap: 44px; }
.route-timeline { display: grid; margin: 0; padding: 0; gap: 16px; list-style: none; }
.route-timeline li { display: grid; grid-template-columns: 42px 1fr; gap: 12px; }
.route-timeline li > span { display: grid; width: 38px; height: 38px; place-items: center; border-radius: 50%; background: var(--green); color: #fff; font-weight: 800; }
.route-timeline article { padding: 18px; border: 1px solid var(--line); border-radius: 18px; background: #fff; }
.route-timeline article p { margin: 0 0 4px; color: var(--muted); font-size: 12px; }
.route-timeline article div { margin-top: 8px; color: #485249; }
.route-timeline article small { display: block; margin-top: 10px; color: var(--green); }
.route-map-shell { position: sticky; top: 20px; align-self: start; }
.route-map { height: 600px; overflow: hidden; border-radius: 28px; background: #d9e3d7; }
.route-map-shell > p { color: var(--muted); font-size: 12px; }
.nearby-hero { margin-top: 12px; }
.nearby-map { height: 430px; overflow: hidden; border-radius: 28px; background: #cad8c8; }
.nearby-controls { display: grid; margin: -28px auto 0; padding: 22px; position: relative; z-index: 5; width: min(1050px, calc(100% - 40px)); grid-template-columns: 1fr 1fr 2fr auto; align-items: end; gap: 14px; border: 1px solid var(--line); border-radius: 22px; background: #fff; box-shadow: 0 18px 50px rgb(31 53 37 / .11); }
.nearby-controls label { display: grid; gap: 6px; font-size: 13px; font-weight: 800; }
.nearby-controls > div { display: grid; grid-template-columns: 1fr 1fr; gap: 8px; }
.nearby-results { min-height: 500px; padding: 80px 0 110px; }
.discovery-footer { min-height: 150px; padding: 30px 0; border-top: 1px solid var(--line); color: var(--muted); }
.share-feedback { position: fixed; z-index: 100; right: 20px; bottom: 20px; padding: 12px 16px; border-radius: 12px; background: #111; color: #fff; box-shadow: 0 12px 40px rgb(0 0 0 / .2); }
.share-feedback:empty { display: none; }
.discovery-not-found { display: grid; min-height: 100vh; padding: 30px; place-content: center; justify-items: start; }
.discovery-not-found h1 { font-size: clamp(44px, 8vw, 86px); }
.discovery-not-found p:not(.discovery-eyebrow) { color: var(--muted); font-size: 18px; }

@media (max-width: 900px) {
  .discovery-card-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .search-layout { grid-template-columns: 1fr; }
  .search-filters { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .search-filters > div { grid-column: 1 / -1; }
  .content-hero, .nearby-hero { grid-template-columns: 1fr; }
  .content-hero__cover { order: -1; }
  .route-layout { grid-template-columns: 1fr; }
  .route-map-shell { position: static; }
  .nearby-controls { grid-template-columns: 1fr 1fr; }
}

@media (max-width: 640px) {
  .discovery-header, .discovery-footer, .discovery-main { width: min(100% - 28px, 1280px); }
  .discovery-header { min-height: 72px; }
  .discovery-header nav { gap: 12px; font-size: 13px; }
  .discovery-brand small { display: none; }
  .search-hero { margin-inline: -2px; padding: 48px 20px; border-radius: 26px; }
  .search-hero::after { width: 100px; opacity: .55; }
  h1, .content-hero h1, .nearby-hero h1 { font-size: clamp(38px, 12vw, 54px); }
  .search-form > div:first-of-type { grid-template-columns: 1fr; }
  .search-form button { min-height: 48px; }
  .search-layout { padding-top: 30px; }
  .search-filters { grid-template-columns: 1fr; }
  .discovery-card-grid { grid-template-columns: 1fr; }
  .search-results__heading, .content-section-heading { align-items: start; flex-direction: column; }
  .search-results__actions { justify-items: start; }
  .content-hero, .nearby-hero { min-height: auto; padding: 28px 20px; gap: 24px; border-radius: 26px; }
  .content-hero__cover, .content-hero__cover > img, .content-hero__cover span { min-height: 250px; }
  .content-hero > div > p:not(.discovery-eyebrow), .nearby-hero > div > p:not(.discovery-eyebrow) { font-size: 16px; }
  .content-description { padding-top: 50px; }
  .content-items, .route-layout, .nearby-results { padding-bottom: 70px; }
  .route-map { height: 440px; }
  .nearby-map { height: 310px; }
  .nearby-controls { margin-top: 14px; width: 100%; grid-template-columns: 1fr; }
  .discovery-footer { align-items: start; flex-direction: column; justify-content: center; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { scroll-behavior: auto !important; transition-duration: .01ms !important; animation-duration: .01ms !important; }
}
