.active-link{color:var(--orange)}
.search-hero{
  padding:58px 5%;
  display:grid;
  grid-template-columns:.8fr 1.2fr;
  gap:44px;
  align-items:end;
  background:linear-gradient(120deg,#fffaf2,#f1dcc2)
}
.search-hero h1{
  margin:0;
  font-family:Georgia,"Times New Roman",serif;
  font-size:clamp(50px,6vw,78px);
  line-height:1.02;
  color:var(--forest)
}
.search-hero h1 span{color:var(--orange)}
.search-hero-copy>p:last-child{max-width:570px;font-size:18px;line-height:1.6;color:var(--muted)}
.search-panel{
  display:grid;
  grid-template-columns:1.25fr 1fr 1fr 1fr auto;
  gap:10px;
  padding:20px;
  background:#fff;
  border-radius:16px;
  box-shadow:var(--shadow)
}
.search-panel label,.sort-control{
  display:flex;
  flex-direction:column;
  gap:7px;
  font-size:12px;
  font-weight:850;
  color:var(--forest)
}
.search-panel input,.search-panel select,.sort-control select{
  min-height:48px;
  padding:0 12px;
  border:1px solid var(--line);
  border-radius:8px;
  background:#fff;
  color:var(--text)
}
.search-panel .btn{align-self:end;white-space:nowrap}
.filter-section{
  padding:34px 5%;
  border-bottom:1px solid var(--line);
  background:#fff
}
.filter-heading,.results-toolbar{
  display:flex;
  justify-content:space-between;
  gap:20px;
  align-items:end
}
.filter-heading h2,.results-toolbar h2{
  margin:2px 0 0;
  font-family:Georgia,"Times New Roman",serif;
  font-size:32px
}
.text-button{
  border:0;
  background:transparent;
  color:var(--orange);
  font-weight:850;
  cursor:pointer
}
.filter-chips{
  display:flex;
  gap:10px;
  flex-wrap:wrap;
  margin-top:20px
}
.filter-chip{
  padding:12px 15px;
  border:1px solid #d9d1c5;
  border-radius:999px;
  background:#fff;
  color:var(--text);
  font-weight:750;
  cursor:pointer
}
.filter-chip.active{
  background:var(--forest);
  color:#fff;
  border-color:var(--forest)
}
.results-section{padding:48px 5% 70px}
.eyebrow{margin:0;color:var(--orange);font-size:12px;font-weight:900;letter-spacing:.12em}
.market-layout{
  display:grid;
  grid-template-columns:minmax(0,1.45fr) minmax(320px,.7fr);
  gap:24px;
  margin-top:24px;
  align-items:start
}
.listing-grid{
  display:grid;
  grid-template-columns:repeat(2,minmax(0,1fr));
  gap:18px
}
.listing-card{
  overflow:hidden;
  border:1px solid var(--line);
  border-radius:16px;
  background:#fff;
  box-shadow:0 10px 26px rgba(14,62,45,.07)
}
.listing-card[hidden]{display:none}
.listing-photo{
  min-height:220px;
  position:relative;
  background-size:cover;
  background-position:center
}
.photo-one{background-image:url("story-2.jpg")}
.photo-two{background-image:url("hero.jpg")}
.photo-three{background-image:url("story-3.jpg")}
.photo-four{background-image:url("story-1.jpg")}
.photo-five{background-image:url("story-3.jpg")}
.photo-six{background-image:url("hero.jpg")}
.founding-badge{
  position:absolute;
  top:14px;
  left:14px;
  padding:8px 10px;
  border-radius:999px;
  background:rgba(255,255,255,.93);
  color:var(--forest);
  font-size:11px;
  font-weight:900
}
.heart{
  position:absolute;
  right:14px;
  top:14px;
  width:40px;
  height:40px;
  border:0;
  border-radius:50%;
  background:rgba(255,255,255,.93);
  color:var(--forest);
  font-size:24px;
  cursor:pointer
}
.heart.saved{background:var(--orange);color:#fff}
.listing-body{padding:20px}
.listing-topline{
  display:flex;
  justify-content:space-between;
  gap:12px;
  color:var(--muted);
  font-size:13px
}
.listing-topline strong{color:var(--forest);font-size:19px;white-space:nowrap}
.listing-topline small{font-size:11px}
.listing-body h3{margin:10px 0 8px;font-size:22px}
.listing-body>p{margin:0;color:var(--muted);line-height:1.5}
.tag-row{display:flex;gap:7px;flex-wrap:wrap;margin:16px 0}
.tag-row span{
  padding:7px 9px;
  border-radius:999px;
  background:var(--cream);
  font-size:11px;
  font-weight:800
}
.listing-footer{
  display:flex;
  justify-content:space-between;
  align-items:center;
  gap:12px;
  padding-top:14px;
  border-top:1px solid var(--line);
  color:var(--muted);
  font-size:12px
}
.view-button{
  border:0;
  border-radius:8px;
  padding:10px 13px;
  background:var(--forest);
  color:#fff;
  font-weight:850;
  cursor:pointer
}
.map-preview{
  position:sticky;
  top:112px;
  overflow:hidden;
  border:1px solid var(--line);
  border-radius:16px;
  background:#fff;
  box-shadow:var(--shadow)
}
.map-header{
  display:flex;
  justify-content:space-between;
  padding:18px 20px;
  border-bottom:1px solid var(--line)
}
.map-header span{color:var(--muted);font-size:12px}
.map-canvas{
  height:570px;
  position:relative;
  overflow:hidden;
  background:
    radial-gradient(circle at 25% 20%,rgba(102,151,107,.25),transparent 24%),
    radial-gradient(circle at 70% 76%,rgba(222,171,105,.28),transparent 28%),
    linear-gradient(135deg,#ecf2e8,#f7efdf)
}
.map-road{
  position:absolute;
  height:11px;
  width:125%;
  border-radius:99px;
  background:#fff;
  box-shadow:0 0 0 2px rgba(134,124,105,.12);
  transform-origin:center
}
.road-one{left:-10%;top:38%;transform:rotate(22deg)}
.road-two{left:-14%;top:66%;transform:rotate(-18deg)}
.road-three{left:2%;top:18%;transform:rotate(64deg)}
.map-pin{
  position:absolute;
  border:3px solid #fff;
  border-radius:999px;
  padding:10px 12px;
  background:var(--forest);
  color:#fff;
  box-shadow:0 8px 18px rgba(14,62,45,.25);
  font-weight:900;
  cursor:pointer
}
.pin-one{left:62%;top:23%}.pin-two{left:43%;top:68%}.pin-three{left:19%;top:55%}
.pin-four{left:56%;top:48%}.pin-five{left:13%;top:79%}.pin-six{left:72%;top:35%}
.map-label{position:absolute;color:#607269;font-size:12px;font-weight:850}
.label-edmonton{right:8%;top:18%}.label-calgary{left:48%;bottom:20%}.label-mountains{left:8%;top:38%}
.map-preview>p{margin:0;padding:16px 20px;color:var(--muted);font-size:12px;line-height:1.5}
.empty-state{
  margin-top:28px;
  padding:48px;
  text-align:center;
  border:1px dashed #cfc4b5;
  border-radius:16px;
  background:var(--cream)
}
.empty-state span{font-size:42px}
.empty-state h3{font-size:24px;margin:12px 0 8px}
.empty-state p{color:var(--muted)}
.traveler-benefits{
  display:grid;
  grid-template-columns:repeat(3,1fr);
  gap:18px;
  padding:60px 5%;
  background:var(--cream)
}
.traveler-benefits article{
  padding:28px;
  background:#fff;
  border-radius:14px;
  border:1px solid var(--line)
}
.traveler-benefits span{font-size:34px}
.traveler-benefits h3{margin:14px 0 8px}
.traveler-benefits p{margin:0;color:var(--muted);line-height:1.55}
.search-cta{
  margin:60px 5%;
  padding:40px;
  display:flex;
  justify-content:space-between;
  gap:30px;
  align-items:center;
  border-radius:16px;
  color:#fff;
  background:linear-gradient(120deg,#0b392b,#145a41)
}
.search-cta h2{
  margin:0 0 10px;
  font-family:Georgia,"Times New Roman",serif;
  font-size:36px
}
.search-cta p{margin:0;color:#d9e9e3}
@media(max-width:1100px){
  .search-hero{grid-template-columns:1fr}
  .search-panel{grid-template-columns:1fr 1fr}
  .search-panel .btn{width:100%}
  .market-layout{grid-template-columns:1fr}
  .map-preview{position:relative;top:auto}
}
@media(max-width:720px){
  .search-hero{padding:44px 5%}
  .search-hero h1{font-size:50px}
  .search-panel{grid-template-columns:1fr}
  .filter-heading,.results-toolbar{align-items:flex-start;flex-direction:column}
  .listing-grid{grid-template-columns:1fr}
  .map-canvas{height:420px}
  .traveler-benefits{grid-template-columns:1fr}
  .search-cta{flex-direction:column;align-items:flex-start;padding:28px}
  .search-cta .btn{width:100%}
}
/* Traveller list and map controls */

.map-view-section {

  width: min(100% - 2rem, 1180px);

  margin: 1.5rem auto;

}

.results-view-toggle {

  display: flex;

  justify-content: center;

  gap: 0.75rem;

  margin-bottom: 1rem;

}

.view-toggle-button {

  border: 1px solid rgba(15, 75, 56, 0.25);

  border-radius: 999px;

  background: #ffffff;

  color: #0f4b38;

  padding: 0.75rem 1.25rem;

  font: inherit;

  font-weight: 700;

  cursor: pointer;

}

.view-toggle-button.active {

  background: #0f4b38;

  color: #ffffff;

}

.traveller-map {

  width: 100%;

  height: 520px;

  border-radius: 1.25rem;

  overflow: hidden;

  border: 1px solid rgba(15, 75, 56, 0.18);

  box-shadow: 0 12px 30px rgba(27, 54, 44, 0.1);

  background: #e9eee9;

position: relative;
}

.map-message {

  margin: 1rem 0 0;

  text-align: center;

  color: #627068;

  font-weight: 600;

}

@media (max-width: 680px) {

  .map-view-section {

    width: min(100% - 1rem, 1180px);

  }

  .traveller-map {

    height: 430px;
    border-radius: 1.25rem 1.25rem 0 0;
  }

  .view-toggle-button {

    flex: 1;

  }

}

.map-explorer-bar {

  display: flex;

  gap: 8px;

  width: calc(100% - 24px);

  max-width: 100%;

  margin: 0 auto 12px;

  padding: 8px;

  overflow-x: auto;

  scrollbar-width: none;

  -webkit-overflow-scrolling: touch;

  scroll-snap-type: x proximity;

  border-radius: 0 0 1.25rem 1.25rem;

  background: rgba(255, 255, 255, 0.96);

  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.12);

  box-sizing: border-box;

}
.map-explorer-bar::-webkit-scrollbar {

  display: none;

}

.explorer-chip {

  flex: 0 0 auto;

min-width: calc((100% - 24px) / 4);

scroll-snap-align: start;
  border: 1px solid #d8ddd9;

  background: #ffffff;

  color: #173f32;

  border-radius: 999px;

  padding: 10px 14px;

  font: inherit;

  font-weight: 600;

  white-space: nowrap;

  cursor: pointer;

}

.explorer-chip.active {

  background: #173f32;

  color: #ffffff;

  border-color: #173f32;

}
html,

body {

  max-width: 100%;

  overflow-x: hidden;

}

.search-hero,

.map-view-section,

.traveller-map,

.map-explorer-bar,

.filter-section,

.results-section {

  width: 100%;

  max-width: 100%;

  box-sizing: border-box;

}

.map-view-section {

  overflow: hidden;

}
.route-planner {

  width: 100%;

  max-width: 1180px;

  margin: 0 auto 20px;

  padding: 24px;

  background: #ffffff;

  border: 1px solid rgba(15, 75, 56, 0.15);

  border-radius: 1.25rem;

  box-shadow: 0 12px 30px rgba(15, 75, 56, 0.12);

  box-sizing: border-box;

}

.route-planner[hidden] {

  display: none;

}

.route-planner-heading {

  display: flex;

  align-items: flex-start;

  justify-content: space-between;

  gap: 16px;

  margin-bottom: 20px;

}

.route-planner-heading h2 {

  margin: 4px 0 0;

  color: #173f32;

}

.route-close {

  border: 0;

  background: transparent;

  color: #173f32;

  font-size: 2rem;

  line-height: 1;

  cursor: pointer;

}

.route-fields {

  display: grid;

  gap: 16px;

}

.route-fields label {

  display: grid;

  gap: 7px;

  color: #173f32;

  font-weight: 700;

}

.route-fields input {

  width: 100%;

  padding: 14px;

  border: 1px solid #d8ddd9;

  border-radius: 0.75rem;

  font: inherit;

  box-sizing: border-box;

}

.route-message {

  margin: 16px 0 0;

  color: #173f32;

  font-weight: 600;

}
.route-planner {

  width: calc(100% - 24px);

  max-width: 1180px;

  margin-left: auto;

  margin-right: auto;

  overflow: hidden;

}

.route-fields,

.route-fields label,

.route-fields input,

#route-search {

  max-width: 100%;

  box-sizing: border-box;

}
.map-only-page .map-view-section {

  height: 100vh;

}

.map-only-page .traveller-map {

  height: calc(100vh - 64px);

  border-radius: 0;

}

.map-only-page .map-explorer-bar {

  position: fixed;

  left: 0;

  right: 0;

  bottom: 0;

  z-index: 20;

}
.explorer-chip {

  padding: 16px 24px;

  font-size: 1.15rem;

  font-weight: 600;

}
.map-action-bar {

  position: fixed;

  top: 18px;

  left: 0;

  right: 0;

  z-index: 25;

  display: flex;

  justify-content: space-between;

  align-items: center;

  padding: 0 16px;

}

.map-action-bar .btn {

  min-width: 120px;

  text-align: center;

}
.trip-planner-panel {

  position: fixed;

  inset: 24px;

  z-index: 40;

  max-width: 1100px;

  margin: auto;

  padding: 32px;

  background: #f7f3ea;

  border: 1px solid rgba(15, 75, 56, 0.15);

  border-radius: 28px;

  box-shadow: 0 24px 60px rgba(15, 45, 35, 0.28);

  overflow-y: auto;

}
.trip-planner-panel {

  position: fixed;

top: 50%;

left: 50%;

transform: translate(-50%, -50%);

width: min(1180px, calc(100vw - 40px));

max-height: calc(100vh - 40px);


  padding: 28px;
  border: 1px solid rgba(237, 109, 0, 0.65);

  background:

    linear-gradient(

      180deg,

      rgba(255, 253, 248, 0.98),

      rgba(247, 243, 234, 0.98)

    );

  border-radius: 28px;

  box-shadow:

  0 0 0 100vmax rgba(8, 30, 24, 0.38),

  0 24px 60px rgba(15, 45, 35, 0.28);

  overflow-y: auto;

}

.trip-planner-close {

  position: absolute;

  top: 20px;

  right: 24px;

  border: 0;

  background: transparent;

  color: #173f32;

  font-size: 2.4rem;

  line-height: 1;

  cursor: pointer;

}

.trip-planner-kicker {

  margin: 0 0 8px;

  color: #d85d00;

  font-size: 0.95rem;

  font-weight: 800;

  letter-spacing: 0.12em;

}

.trip-planner-panel h2 {

  margin: 0 60px 28px 0;

  color: #173f32;

  font-family: Georgia, serif;

  font-size: clamp(2rem, 5vw, 4rem);

  line-height: 1.05;

}

.trip-planner-layout {

  display: grid;

  grid-template-columns: minmax(260px, 0.9fr) minmax(340px, 1.1fr);

  gap: 34px;

  align-items: center;

}

.trip-planner-brand {

  min-height: 420px;

  display: flex;

  align-items: center;

  justify-content: center;

  padding: 24px;

  background:

  linear-gradient(

    to top,

    rgba(20, 70, 50, 0.22),

    rgba(255, 255, 255, 0.18)

  ),

  url("image copy.jpeg");

background-size: cover;

background-position: center bottom;

background-repeat: no-repeat;

  

  border-radius: 24px;

  overflow: hidden;

}

.trip-planner-logo {

  display: block;

  width: 100%;

  max-width: 360px;

  height: auto;

  object-fit: contain;

mix-blend-mode: multiply;

filter: drop-shadow(0 6px 10px rgba(0, 0, 0, 0.28));
}

.trip-planner-card {

  padding: 34px;

  background: rgba(255, 255, 255, 0.88);

  border: 1px solid rgba(15, 75, 56, 0.12);

  border-radius: 24px;

  box-shadow: 0 18px 40px rgba(15, 45, 35, 0.12);

}

.trip-planner-card h3 {

  margin: 0 0 28px;

  color: #173f32;

  font-size: 1.15rem;

  letter-spacing: 0.22em;

}

.trip-planner-card label {

  display: block;

  margin: 20px 0 10px;

  color: #173f32;

  font-size: 1rem;

  font-weight: 800;

}

.trip-planner-card input {

  width: 100%;

  min-height: 72px;

  padding: 0 22px;

  box-sizing: border-box;

  background: #fffdfa;

  border: 1px solid rgba(15, 75, 56, 0.18);

  border-radius: 16px;

  color: #173f32;

  font-size: 1.1rem;

}

.trip-planner-card input:focus {

  outline: 3px solid rgba(216, 93, 0, 0.18);

  border-color: #d85d00;

}

.trip-planner-submit {

  width: 100%;

  min-height: 78px;

  margin-top: 28px;

  border: 0;

  border-radius: 18px;

  background: linear-gradient(135deg, #d85d00, #ef7a00);

  color: white;

  font-size: 1.25rem;

  font-weight: 800;

  box-shadow: 0 14px 28px rgba(216, 93, 0, 0.25);

  cursor: pointer;

}

.trip-planner-submit:active {

  transform: translateY(1px);

}

@media (max-width: 760px) {

  .trip-planner-panel {

    inset: 12px;

    max-height: calc(100vh - 24px);

    padding: 22px 18px;

    border-radius: 22px;

  }

  .trip-planner-panel h2 {

    font-size: 2.15rem;

    margin-bottom: 20px;

  }

  .trip-planner-layout {

    grid-template-columns: 1fr;

    gap: 18px;

  }

  .trip-planner-brand {

    min-height: 220px;

    padding: 14px;

  }

  .trip-planner-logo {

    max-width: 220px;

  }

  .trip-planner-card {

    padding: 22px 18px;

  }

  .trip-planner-card input {

    min-height: 64px;

    font-size: 1rem;

  }

  .trip-planner-submit {

    min-height: 68px;

    font-size: 1.05rem;

  }

}

.trip-start-header {

  display: flex;

  align-items: center;

  justify-content: space-between;

  gap: 16px;

}

.trip-start-header label {

  margin: 0;

}

.trip-use-location {

  display: none;

  align-items: center;

  justify-content: center;

  border: 0;

  border-radius: 999px;

  padding: 6px 18px;

  background: #eeeeee;

  font-size: 0.95rem;

  cursor: pointer;

}

.trip-start-group.location-open .trip-use-location {

  display: inline-flex;

}
/* Prevent iPhone Safari from zooming when Trip Planner inputs are tapped */

.trip-planner-card input,

#tripStartInput,

#tripDestinationInput {

  font-size: 16px !important;

}

.map-back-button {

  position: fixed;

  top: calc(env(safe-area-inset-top, 0px) + 10px);

  left: 12px;

  z-index: 10000;

  display: inline-flex;

  align-items: center;

  justify-content: center;

  padding: 10px 14px;

  border: 1px solid rgba(215, 173, 77, 0.42);

  border-radius: 999px;

  background: rgba(255, 252, 244, 0.96);

  color: #0d3b2f;

  font-size: 14px;

  font-weight: 800;

  line-height: 1;

  text-decoration: none;

  box-shadow:

    0 8px 20px rgba(13, 59, 47, 0.16);

  backdrop-filter: blur(10px);

  -webkit-backdrop-filter: blur(10px);

}
/* =========================================

   MAP TOP CONTROLS

   Dashboard | Search | Trip Planner

========================================= */

.map-top-controls {

  position: fixed;

  top: calc(env(safe-area-inset-top, 0px) + 10px);

  left: 12px;

  right: 12px;

  z-index: 10000;

  display: grid;

  grid-template-columns: 1fr 1fr 1.25fr;

  gap: 10px;

}

.map-top-button {

  min-width: 0;

  min-height: 54px;

  display: flex;

  align-items: center;

  justify-content: center;

  padding: 10px 8px;

  border: 1px solid rgba(215, 173, 77, 0.48);

  border-radius: 18px;

  background: rgba(255, 250, 240, 0.97);

  color: #0d3b2f;

  font-family: inherit;

  font-size: 14px;

  font-weight: 800;

  line-height: 1.1;

  text-align: center;

  text-decoration: none;

  box-shadow:

    0 8px 20px rgba(13, 59, 47, 0.12);

  backdrop-filter: blur(10px);

  -webkit-backdrop-filter: blur(10px);

  cursor: pointer;

}

.map-search-button {

  background: #0d4a3a;

  color: #ffffff;

  border-color: #0d4a3a;

}

.map-dashboard-button,

.map-trip-button {

  color: #0d3b2f;

}

.map-top-button:active {

  transform: scale(0.97);

}