/*
 * Off Grid Camp visual continuity layer.
 *
 * The application components live in app.css. This file restores the established
 * Off Grid Camp identity around those components: exact brand assets, typography,
 * colours, square controls, content texture and the photographic page framing.
 */

@font-face {
  font-family: "Oswald";
  src: url("/fonts/Oswald-Regular.woff2") format("woff2");
  font-style: normal;
  font-weight: 400;
  font-display: swap;
}

@font-face {
  font-family: "Oswald";
  src: url("/fonts/Oswald-Medium.woff2") format("woff2");
  font-style: normal;
  font-weight: 500;
  font-display: swap;
}

@font-face {
  font-family: "Oswald";
  src: url("/fonts/Oswald-SemiBold.woff2") format("woff2");
  font-style: normal;
  font-weight: 600;
  font-display: swap;
}

@font-face {
  font-family: "Oswald";
  src: url("/fonts/Oswald-Bold.woff2") format("woff2");
  font-style: normal;
  font-weight: 700;
  font-display: swap;
}

@font-face {
  font-family: "Ruda";
  src: url("/fonts/Ruda-Regular.woff2") format("woff2");
  font-style: normal;
  font-weight: 400;
  font-display: swap;
}

@font-face {
  font-family: "Ruda";
  src: url("/fonts/Ruda-Medium.woff2") format("woff2");
  font-style: normal;
  font-weight: 500;
  font-display: swap;
}

@font-face {
  font-family: "Ruda";
  src: url("/fonts/Ruda-SemiBold.woff2") format("woff2");
  font-style: normal;
  font-weight: 600;
  font-display: swap;
}

@font-face {
  font-family: "Ruda";
  src: url("/fonts/Ruda-Bold.woff2") format("woff2");
  font-style: normal;
  font-weight: 700;
  font-display: swap;
}

:root {
  --pine-950: #353834;
  --pine-900: #4d514b;
  --pine-800: #5d615b;
  --pine-700: #6c706a;
  --moss-600: #898b87;
  --moss-400: #aeaeaa;
  --lichen-200: #dededb;
  --lichen-100: #e9e9e7;
  --sand-100: #e7e7e5;
  --sand-50: #efefef;
  --paper: #f8f8f7;
  --ember-600: #d8730c;
  --ember-500: #e97f0e;
  --gold-500: #e97f0e;
  --ink: #4d514b;
  --ink-soft: #666963;
  --line: #cacac6;
  --line-dark: #aeaeaa;
  --error: #a53b31;
  --success: #4d6a4b;
  --shadow-sm: none;
  --shadow-md: none;
  --shadow-lg: none;
  --radius-sm: 0;
  --radius-md: 0;
  --radius-lg: 0;
  --radius-xl: 0;
  --display: "Oswald", sans-serif;
  --sans: "Ruda", sans-serif;
  --content: 73.125rem;
  --header-height: 5rem;
}

html {
  scroll-padding-top: 1rem;
}

body {
  color: #4d514b;
  background: #efefef url("/images/legacy-brand/bg-content.png") top center repeat-y;
  background-size: min(100%, 120rem) auto;
  font-family: "Ruda", sans-serif;
  font-size: 1rem;
  font-weight: 400;
  line-height: 1.6;
}

main {
  overflow: clip;
}

a {
  color: #e97f0e;
}

h1,
h2,
h3,
h4 {
  color: #4d514b;
  font-family: "Oswald", sans-serif;
  font-weight: 400;
  letter-spacing: 0;
  line-height: 1.2;
}

h1 {
  font-size: clamp(2.55rem, 8vw, 4.6rem);
}

h2 {
  font-size: clamp(2.15rem, 6vw, 3rem);
}

h3 {
  font-size: clamp(1.35rem, 3vw, 1.8rem);
}

::selection {
  color: #fff;
  background: #e97f0e;
}

:focus-visible {
  outline-color: #e97f0e;
}

.section-shell,
.header-inner,
.footer-inner,
.flash-wrap {
  width: min(calc(100% - 1.875rem), 73.125rem);
}

.section {
  padding-block: 2.5rem;
}

.eyebrow,
.legacy-kicker {
  color: #e97f0e;
  font-family: "Ruda", sans-serif;
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.eyebrow > span {
  background: #e97f0e;
}

.eyebrow--light {
  color: #fff;
}

.section-heading {
  margin-bottom: 1.5rem;
}

.section-heading p {
  color: #666963;
}

.button {
  min-height: 2.9rem;
  padding: 0.75rem 1.1rem;
  border-radius: 0;
  box-shadow: none;
  font-family: "Ruda", sans-serif;
  font-size: 0.82rem;
  font-weight: 700;
  letter-spacing: 0.025em;
  text-transform: uppercase;
  transform: none;
}

.button:hover {
  transform: none;
}

.button--primary,
.button--ember {
  color: #fff;
  background: #e97f0e;
  border-color: #e97f0e;
  box-shadow: none;
}

.button--primary:hover,
.button--ember:hover {
  color: #fff;
  background: #4d514b;
  border-color: #4d514b;
  box-shadow: none;
}

.button--secondary,
.button--cream,
.button--outline,
.button--quiet {
  color: #4d514b;
  background: #c9c9c6;
  border-color: #c9c9c6;
}

.button--secondary:hover,
.button--cream:hover,
.button--outline:hover,
.button--quiet:hover {
  color: #fff;
  background: #4d514b;
  border-color: #4d514b;
}

.button--saved {
  color: #fff;
  background: #4d514b;
  border-color: #4d514b;
}

.text-link,
.legacy-text-link {
  color: #e97f0e;
  font-size: 0.85rem;
  font-weight: 700;
  text-decoration: none;
}

.legacy-text-link:hover,
.text-link:hover {
  color: #4d514b;
}

.icon-button,
.avatar,
.badge,
.pagination a,
.pagination ol span,
.view-toggle,
.view-toggle button,
.filter-checks label span,
.popular-points a,
.map-privacy-pill,
.social-links a {
  border-radius: 0;
}

input,
select,
textarea,
.field input,
.field select,
.field textarea {
  border-radius: 0;
}

input:focus,
select:focus,
textarea:focus {
  border-color: #e97f0e;
  box-shadow: 0 0 0 2px rgb(233 127 14 / 18%);
}

/* Established fixed-corner controls and centred brand. */
.site-header {
  height: 5rem;
  position: relative;
  z-index: 1500;
  top: auto;
  display: block;
  color: #4d514b;
  background: #efefef;
  border: 0;
  backdrop-filter: none;
}

.home-page .site-header {
  position: absolute;
  top: 0;
  right: 0;
  left: 0;
  background: transparent;
}

.header-inner {
  height: 100%;
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-inline: auto;
}

.brand {
  width: 9.05rem;
  height: 5rem;
  position: relative;
  z-index: 1;
  display: grid;
  place-items: center;
}

.brand-logo {
  width: 100%;
  height: 100%;
  object-fit: contain;
}

.nav-toggle,
.header-account-action {
  width: 2.5rem;
  height: 2.375rem;
  min-width: 0;
  min-height: 0;
  position: absolute;
  z-index: 2100;
  top: 0;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0;
  border: 0;
  border-radius: 0;
}

.nav-toggle {
  left: 0;
  color: #4d514b;
  background: #e2e2e0;
}

.nav-toggle-label {
  width: 1px;
  height: 1px;
  position: absolute;
  overflow: hidden;
  clip: rect(0 0 0 0);
}

.nav-toggle-lines {
  width: 1.05rem;
  gap: 0.22rem;
}

.nav-toggle-lines i {
  height: 0.125rem;
  background: currentColor;
  border-radius: 0;
}

.header-account-action {
  right: 0;
  flex-direction: column;
  gap: 0;
  color: #fff;
  background: #e97f0e;
  text-decoration: none;
}

.header-account-action svg {
  width: 1.1rem;
  height: 1.1rem;
  fill: none;
  stroke: currentColor;
  stroke-linecap: round;
  stroke-width: 1.7;
}

.header-account-action span {
  display: none;
  font-size: 0.52rem;
  font-weight: 700;
  line-height: 1;
  text-transform: uppercase;
}

.primary-nav {
  max-height: none;
  position: fixed;
  z-index: 2000;
  inset: 0;
  display: block !important;
  overflow-y: auto;
  padding: 0;
  visibility: hidden;
  color: #4d514b;
  background: rgb(239 239 239 / 98%);
  border: 0;
  box-shadow: none;
  opacity: 0;
  pointer-events: none;
  transform: none;
  transition: opacity 180ms ease, visibility 180ms ease;
}

.primary-nav.is-open {
  visibility: visible;
  opacity: 1;
  pointer-events: auto;
}

.nav-panel {
  width: min(calc(100% - 2rem), 35rem);
  min-height: 100%;
  display: flex;
  flex-direction: column;
  justify-content: center;
  margin-inline: auto;
  padding: 5.5rem 0 2rem;
}

.nav-panel__head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  margin-bottom: 0.8rem;
  color: #aeaeaa;
  font-family: "Oswald", sans-serif;
  font-size: 1rem;
  text-transform: uppercase;
}

.nav-close {
  width: 2.5rem;
  height: 2.5rem;
  display: grid;
  place-items: center;
  color: #4d514b;
  background: transparent;
  font-size: 2rem;
  line-height: 1;
}

.nav-links {
  display: grid;
}

.nav-links a {
  min-height: 2.55rem;
  display: flex;
  align-items: center;
  padding: 0.35rem 0;
  color: #4d514b;
  border: 0;
  border-bottom: 1px solid #d5d5d2;
  border-radius: 0;
  font-size: clamp(1rem, 3vh, 1.25rem);
  font-weight: 700;
  text-decoration: none;
}

.nav-links a:hover,
.nav-links a[aria-current="page"] {
  color: #e97f0e;
  background: transparent;
}

.nav-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.6rem;
  padding-top: 1.1rem;
}

.nav-profile {
  color: #4d514b;
}

.nav-profile small {
  color: #898b87;
}

.avatar {
  background: #4d514b;
}

/* Feedback and privacy notices stay useful, but use the original flat palette. */
.flash {
  background: #fff;
  border-radius: 0;
  box-shadow: none;
}

.privacy-note {
  color: #4d514b;
  background: #dfdfdc;
  border: 0;
  border-left: 0.3rem solid #e97f0e;
  border-radius: 0;
}

.privacy-note__icon {
  color: #e97f0e;
  background: #f3f3f1;
  border-radius: 0;
}

.privacy-note p {
  color: #666963;
}

/* Inner pages: photographic brand header, then flat textured content. */
body:not(.home-page) .site-header {
  background:
    linear-gradient(rgb(30 30 30 / 8%), rgb(30 30 30 / 8%)),
    url("/images/legacy-brand/page-banner.png") center 46% / cover no-repeat;
}

.page-hero,
.explore-hero {
  padding-block: 2.6rem;
  color: #4d514b;
  background: #efefef url("/images/legacy-brand/bg-content.png") top center repeat-y;
  background-size: min(100%, 120rem) auto;
}

.page-hero::before,
.explore-hero::after {
  display: none;
}

.page-hero h1,
.explore-hero h1 {
  color: #e97f0e;
  font-size: clamp(2.55rem, 8vw, 4rem);
}

.page-hero p:not(.eyebrow),
.explore-hero__inner > div > p:last-child,
.page-hero--split .eyebrow,
.page-hero--compact > .page-hero__content .eyebrow {
  color: #666963;
}

.explore-hero .privacy-note {
  color: #4d514b;
  background: #dfdfdc;
  border-color: #e97f0e;
}

.explore-hero .privacy-note p {
  color: #666963;
}

.explore-hero .privacy-note__icon {
  color: #e97f0e;
}

.page-hero__aside {
  color: #4d514b;
  background: #fff;
  border: 0;
  border-left: 0.3rem solid #e97f0e;
  border-radius: 0;
  box-shadow: none;
}

/* Cards and directory components match the flatter original language. */
.card,
.site-card,
.trip-card,
.journal-card,
.notice-card,
.empty-state,
.order-summary,
.basket-item,
.success-panel,
.product-detail__primary-image,
.product-placeholder--large,
.filter-panel {
  border-radius: 0;
  box-shadow: none;
}

.site-card {
  background: #f8f8f7;
  border: 0;
}

.site-card:hover,
.site-card:focus-within {
  border-color: transparent;
  box-shadow: none;
  transform: none;
}

.site-card__media {
  background: #dededb;
}

.site-card__body {
  padding: 1rem 0.95rem 1.1rem;
}

.site-card__eyebrow {
  color: #e97f0e;
  font-size: 0.68rem;
  font-weight: 700;
  text-transform: uppercase;
}

.site-card h3 a {
  color: #4d514b;
}

.site-card__facts {
  color: #666963;
}

.site-card__footer {
  border-color: #d7d7d4;
}

.badge--ember {
  background: #e97f0e;
}

.favourite-form--card .icon-button {
  border: 0;
  box-shadow: none;
}

.explore-layout {
  padding-block: 1.5rem 3rem;
}

.detail-hero h1 {
  color: #fff;
  text-shadow: 0 2px 8px rgb(0 0 0 / 58%);
}

.filter-panel {
  background: #e7e7e5;
}

.filter-checks label span {
  color: #4d514b;
  background: #f7f7f5;
}

.filter-checks input:checked + span,
.view-toggle button.is-active,
.pagination ol span[aria-current="page"] {
  color: #fff;
  background: #e97f0e;
  border-color: #e97f0e;
  box-shadow: none;
}

.popular-points a {
  color: #4d514b;
  background: #d8d8d5;
}

.results-map,
.map-canvas,
.map-canvas--partners {
  border-radius: 0;
}

.results-map {
  background: #dededb;
  border-color: #aeaeaa;
}

.results-map > .map-canvas {
  width: auto;
  height: auto;
  min-height: 0;
  position: absolute;
  inset: 0;
}

.map-loading {
  color: #4d514b;
  background: rgb(239 239 239 / 90%);
}

.map-loading span {
  border-color: rgb(233 127 14 / 20%);
  border-top-color: #e97f0e;
}

.map-status {
  color: #fff;
  background: rgb(77 81 75 / 94%);
  border-radius: 0;
}

.map-privacy-pill {
  color: #4d514b;
  background: rgb(248 248 247 / 95%);
  box-shadow: none;
}

.leaflet-bar {
  border-radius: 0 !important;
  box-shadow: none !important;
}

.ogc-basemap-control.leaflet-control-layers {
  padding: 0.3rem;
  background: rgb(248 248 247 / 96%);
  border: 1px solid #a9aaa5;
  border-radius: 0;
  box-shadow: 0 2px 7px rgb(77 81 75 / 18%);
  font-family: "Ruda", sans-serif;
}

.ogc-basemap-control .leaflet-control-layers-list {
  margin: 0;
}

.ogc-basemap-control .leaflet-control-layers-base {
  display: flex;
  gap: 0.15rem;
}

.ogc-basemap-control .leaflet-control-layers-base label {
  margin: 0;
}

.ogc-basemap-control .leaflet-control-layers-selector {
  position: absolute;
  opacity: 0;
  pointer-events: none;
}

.ogc-basemap-control .leaflet-control-layers-selector + span {
  min-height: 2.35rem;
  display: grid;
  place-items: center;
  padding: 0.45rem 0.7rem;
  color: #4d514b;
  background: transparent;
  border: 1px solid transparent;
  font-size: 0.7rem;
  font-weight: 700;
  line-height: 1;
  cursor: pointer;
}

.ogc-basemap-control .leaflet-control-layers-selector:checked + span {
  color: #fff;
  background: #4d514b;
  border-color: #4d514b;
}

.ogc-basemap-control .leaflet-control-layers-selector:focus-visible + span {
  outline: 3px solid #e97f0e;
  outline-offset: 2px;
}

.ogc-marker {
  background: #e97f0e;
  border-color: #fff;
  box-shadow: 0 2px 5px rgb(77 81 75 / 35%);
}

.ogc-marker.is-saved,
.ogc-cluster {
  background: #4d514b;
}

.ogc-cluster {
  border-color: rgb(255 255 255 / 92%);
  box-shadow: none;
}

/* Home hero mirrors the original photographic introduction. */
.legacy-home-hero {
  min-height: 100svh;
  position: relative;
  display: grid;
  place-items: center;
  overflow: hidden;
  color: #fff;
  background: #777 url("/images/legacy-brand/main-banner.jpg") center center / cover no-repeat;
}

.legacy-home-hero::after {
  content: "";
  height: 2.35rem;
  position: absolute;
  z-index: 3;
  right: 0;
  bottom: -0.1rem;
  left: 0;
  background: url("/images/legacy-brand/border-content.svg") center bottom / 100% 100% no-repeat;
  pointer-events: none;
}

.legacy-home-hero__shade {
  position: absolute;
  inset: 0;
  background: linear-gradient(
    180deg,
    rgb(0 0 0 / 12%) 0%,
    rgb(0 0 0 / 6%) 38%,
    rgb(0 0 0 / 38%) 100%
  );
}

.legacy-home-hero__content {
  position: relative;
  z-index: 2;
  padding-top: 9rem;
  padding-bottom: 6rem;
  text-align: center;
}

.legacy-home-hero h1 {
  max-width: 53rem;
  margin: 0 auto 1.4rem;
  color: #fff;
  font-size: clamp(1.55rem, 5vw, 2rem);
  line-height: 1.25;
  text-shadow: 0 2px 8px rgb(0 0 0 / 45%);
}

.legacy-home-hero__subline {
  margin: -0.45rem 0 1.15rem;
  color: #fff;
  font-family: "Oswald", sans-serif;
  font-size: clamp(1rem, 2.5vw, 1.25rem);
  text-shadow: 0 1px 5px rgb(0 0 0 / 55%);
}

.legacy-home-hero h1 span {
  color: #f29332;
}

.legacy-home-hero__actions,
.legacy-inline-actions {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 0.6rem;
}

.legacy-hero-search {
  width: min(100%, 38rem);
  margin: 2rem auto 0;
  text-align: left;
}

.legacy-hero-search > label {
  display: block;
  margin-bottom: 0.35rem;
  color: #fff;
  font-size: 0.72rem;
  font-weight: 700;
  text-shadow: 0 1px 4px rgb(0 0 0 / 60%);
}

.legacy-hero-search > div {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 3.25rem;
  background: rgb(255 255 255 / 94%);
}

.legacy-hero-search input {
  min-width: 0;
  min-height: 3.25rem;
  padding: 0.75rem 1rem;
  color: #4d514b;
  background: transparent;
  border: 0;
  outline: 0;
}

.legacy-hero-search button {
  display: grid;
  place-items: center;
  color: #fff;
  background: #e97f0e;
  font-size: 1.35rem;
}

.legacy-scroll-cue {
  position: absolute;
  z-index: 4;
  bottom: 2.4rem;
  left: 50%;
  display: none;
  color: #fff;
  font-size: 0.65rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-decoration: none;
  text-shadow: 0 1px 3px rgb(0 0 0 / 50%);
  text-transform: uppercase;
  transform: translateX(-50%);
}

.legacy-scroll-cue i {
  width: 0.8rem;
  height: 0.8rem;
  display: block;
  margin: 0.35rem auto 0;
  border-right: 2px solid currentColor;
  border-bottom: 2px solid currentColor;
  transform: rotate(45deg);
}

.legacy-paper-section,
.legacy-section,
.campsites-map-intro {
  position: relative;
  padding-block: 2.5rem;
  background: #efefef url("/images/legacy-brand/bg-content.png") top center repeat-y;
  background-size: min(100%, 120rem) auto;
}

.legacy-paper-section .legacy-section-title h2 {
  color: #e97f0e;
}

.legacy-section-title {
  margin-bottom: 1.7rem;
  text-align: center;
}

.legacy-section-title h2,
.legacy-section-heading h2 {
  margin-bottom: 0;
}

.legacy-member-host-grid {
  display: grid;
  gap: 2.5rem;
}

.legacy-member-host-grid article {
  min-width: 0;
}

.legacy-member-host-grid h3 {
  margin-bottom: 0.7rem;
  color: #e97f0e;
  font-size: clamp(2rem, 6vw, 2.7rem);
}

.legacy-arrow-list {
  display: grid;
  gap: 0.45rem;
  margin: 1.2rem 0 1.5rem;
  padding: 0;
  list-style: none;
}

.legacy-arrow-list li {
  position: relative;
  padding-left: 1.25rem;
}

.legacy-arrow-list li::before {
  content: "";
  width: 0;
  height: 0;
  position: absolute;
  top: 0.62em;
  left: 0;
  border-top: 0.32rem solid transparent;
  border-bottom: 0.32rem solid transparent;
  border-left: 0.48rem solid #e97f0e;
}

.legacy-inline-actions {
  justify-content: flex-start;
}

.legacy-section-heading,
.map-section-heading {
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
  margin-bottom: 1.5rem;
}

.legacy-featured .site-grid {
  gap: 1rem;
}

.home-map-section {
  position: relative;
  padding-block: 2.6rem;
  background: #dededb;
}

.home-map-section__heading {
  display: grid;
  gap: 1.35rem;
  margin-bottom: 1.3rem;
}

.home-map-section__heading h2 {
  margin-bottom: 0.45rem;
}

.home-map-section__heading p:last-child {
  max-width: 46rem;
  margin-bottom: 0;
}

.home-map-search label {
  display: block;
  margin-bottom: 0.35rem;
  font-size: 0.72rem;
  font-weight: 700;
}

.home-map-search > div {
  display: grid;
  gap: 0.5rem;
}

.home-map-search input {
  width: 100%;
  min-height: 3rem;
  padding: 0.7rem 0.8rem;
  background: #fff;
  border: 1px solid #bdbdb9;
}

.results-map--home {
  width: 100%;
  height: clamp(34rem, 76svh, 50rem);
  min-height: 0;
  border-inline: 0;
}

.results-map--home .map-canvas {
  min-height: 0;
}

.home-map-section__footer {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 0.8rem;
  padding-top: 1rem;
}

.home-map-section__footer p {
  margin: 0;
  font-size: 0.82rem;
}

.featured-rail {
  min-width: 0;
}

.featured-rail__controls {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 0.5rem 1rem;
  margin-bottom: 0.65rem;
}

.featured-rail__controls p {
  margin: 0;
  color: #777974;
  font-size: 0.7rem;
}

.featured-rail__toggle {
  min-height: 2.25rem;
  padding: 0.4rem 0.65rem;
  color: #4d514b;
  background: #d6d6d3;
  border: 1px solid #c3c3bf;
  font-size: 0.68rem;
  font-weight: 700;
  text-transform: uppercase;
}

.featured-rail__toggle:hover {
  color: #fff;
  background: #4d514b;
}

.featured-rail__track {
  display: grid;
  grid-auto-flow: column;
  grid-auto-columns: minmax(16.5rem, 82vw);
  gap: 0.85rem;
  overflow-x: auto;
  overscroll-behavior-inline: contain;
  padding: 0 0 0.85rem;
  scroll-padding-inline: 0.25rem;
  scroll-snap-type: inline mandatory;
  scrollbar-color: #e97f0e #d5d5d2;
  scrollbar-width: thin;
}

.featured-rail__track .site-card {
  min-width: 0;
  scroll-snap-align: start;
}

.featured-rail__track .site-card__media {
  aspect-ratio: 16 / 9;
}

.featured-rail__track::-webkit-scrollbar {
  height: 0.5rem;
}

.featured-rail__track::-webkit-scrollbar-track {
  background: #d5d5d2;
}

.featured-rail__track::-webkit-scrollbar-thumb {
  background: #e97f0e;
}

.legacy-upgrades {
  padding-block: 2.7rem;
  color: #fff;
  background: #4d514b;
}

.legacy-section-title--light h2 {
  color: #fff;
}

.legacy-upgrade-grid {
  display: grid;
  gap: 1px;
  background: rgb(255 255 255 / 18%);
}

.legacy-upgrade-grid > a {
  display: block;
  padding: 1.35rem;
  color: #fff;
  background: #4d514b;
  text-decoration: none;
}

.legacy-upgrade-grid > a:hover {
  background: #5b5f58;
}

.legacy-upgrade-grid span {
  color: #e97f0e;
  font-family: "Oswald", sans-serif;
  font-size: 1.2rem;
}

.legacy-upgrade-grid h3 {
  margin: 0.45rem 0;
  color: #fff;
}

.legacy-upgrade-grid p {
  margin: 0;
  color: #e1e1de;
  font-size: 0.84rem;
}

.legacy-merch-banner {
  padding-block: 2.8rem;
  background:
    linear-gradient(90deg, rgb(174 174 170 / 96%), rgb(201 201 198 / 88%)),
    url("/images/legacy-brand/page-banner.png") center / cover no-repeat;
}

.legacy-merch-banner__inner {
  display: grid;
  gap: 1.5rem;
  align-items: center;
}

.legacy-merch-banner h2 {
  margin-bottom: 0.55rem;
}

.legacy-merch-products {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 0.7rem;
}

.legacy-merch-products a {
  min-width: 0;
  display: grid;
  color: #4d514b;
  background: rgb(255 255 255 / 72%);
  text-decoration: none;
}

.legacy-merch-products img {
  width: 100%;
  aspect-ratio: 4 / 3;
  object-fit: contain;
  padding: 0.5rem;
}

.legacy-merch-products span {
  padding: 0.55rem;
  font-size: 0.72rem;
  font-weight: 700;
}

.legacy-trip-grid {
  display: grid;
  gap: 1px;
  background: #c9c9c6;
}

.legacy-trip-grid article {
  padding: 1.25rem;
  background: #f8f8f7;
}

.legacy-trip-grid article > span {
  color: #e97f0e;
  font-size: 0.7rem;
  font-weight: 700;
  text-transform: uppercase;
}

.legacy-trip-grid h3 {
  margin: 0.45rem 0;
}

.legacy-trip-grid h3 a {
  color: #4d514b;
  text-decoration: none;
}

.legacy-host-band {
  padding-block: 3.25rem;
  color: #fff;
  background:
    linear-gradient(90deg, rgb(56 59 55 / 92%), rgb(56 59 55 / 58%)),
    url("/images/legacy-brand/page-banner.png") center / cover no-repeat;
}

.legacy-host-band__inner {
  display: grid;
  gap: 1.5rem;
  align-items: center;
}

.legacy-host-band h2 {
  color: #fff;
}

.legacy-host-band p {
  max-width: 48rem;
}

.legacy-blog .journal-grid {
  gap: 1rem;
}

.legacy-blog .journal-card {
  display: block;
  overflow: visible;
  background: transparent;
  border: 0;
}

.legacy-blog .journal-card > a {
  display: block;
  color: inherit;
}

.legacy-blog .journal-card img {
  width: 100%;
  aspect-ratio: 16 / 10;
  object-fit: cover;
}

.legacy-blog .journal-card > div {
  padding: 0.8rem 0;
}

.legacy-blog .journal-card h3 a {
  color: #4d514b;
  text-decoration: none;
}

/* Blog typography stays compact enough for long imported titles. */
.blog-page .page-hero h1 {
  max-width: 48rem;
  font-size: clamp(2.3rem, 6vw, 3.35rem);
  line-height: 1.12;
}

.blog-page .article-grid {
  grid-template-columns: minmax(0, 1fr);
}

.blog-page .article-card {
  min-width: 0;
  background: #f8f8f7;
  border: 0;
}

.blog-page .article-card .card__media {
  min-height: 0;
  aspect-ratio: 16 / 9;
}

.blog-page .article-card .card__media img {
  aspect-ratio: 16 / 9;
}

.blog-page .article-card .card__body h2 {
  margin: 0.75rem 0 0.45rem;
  font-size: clamp(1.15rem, 2vw, 1.35rem);
  line-height: 1.22;
  overflow-wrap: anywhere;
}

.blog-page .article-card .card__body h2 a {
  color: #4d514b;
  text-decoration: none;
}

.post-page .article-header {
  padding-block: 2.5rem 1.4rem;
}

.post-page .article-header h1 {
  max-width: 60rem;
  margin-bottom: 0.8rem;
  font-size: clamp(2.05rem, 4.5vw, 3rem);
  line-height: 1.12;
  overflow-wrap: anywhere;
}

.page-hero--split h1 {
  font-size: clamp(2.4rem, 5vw, 3.25rem);
}

.product-detail__content h1 {
  font-size: clamp(2.35rem, 4.5vw, 3rem);
  line-height: 1.05;
  overflow-wrap: anywhere;
}

.product-card__media {
  aspect-ratio: 1 / 1;
}

.post-page .article-header .lede {
  max-width: 47rem;
  font-family: "Ruda", sans-serif;
  font-size: clamp(1rem, 2vw, 1.2rem);
  line-height: 1.55;
}

.post-page .article-hero-image {
  overflow: hidden;
  margin-block: 0 1.8rem;
}

.post-page .article-hero-image img {
  width: 100%;
  max-height: 38rem;
  aspect-ratio: 16 / 8.5;
  object-fit: cover;
}

.post-page .article-body {
  padding-bottom: 2rem;
}

.post-page .article-body h2 {
  margin-top: 2rem;
  font-size: clamp(1.75rem, 4vw, 2.35rem);
}

.post-page .article-body h3 {
  margin-top: 1.5rem;
  font-size: clamp(1.35rem, 3vw, 1.75rem);
}

.post-page .article-body img {
  width: auto;
  max-width: 100%;
  height: auto;
}

.post-page .article-footer {
  padding-bottom: 3rem;
}

.legacy-press {
  padding-block: 2rem;
  background: #d0d0cd;
  text-align: center;
}

.legacy-press h2 {
  margin-bottom: 1rem;
  color: #777974;
  font-size: 1.5rem;
  text-transform: uppercase;
}

.legacy-press__links {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 1rem 2.5rem;
}

.legacy-press__links a {
  color: #4d514b;
  font-family: "Oswald", sans-serif;
  font-size: clamp(1.5rem, 5vw, 2.4rem);
  font-weight: 600;
  text-decoration: none;
}

.legacy-social-newsletter {
  padding-block: 2.7rem;
  background: #efefef url("/images/legacy-brand/bg-content.png") top center repeat-y;
}

.legacy-social-newsletter__inner {
  display: grid;
  gap: 2rem;
  align-items: center;
}

.newsletter-form {
  padding: 1.1rem;
  background: #dededb;
  border: 0;
  border-radius: 0;
}

.legacy-pledge {
  padding-block: 2.5rem;
  color: #fff;
  background: #e97f0e;
  text-align: center;
}

.legacy-pledge .legacy-kicker,
.legacy-pledge h2 {
  color: #fff;
}

.legacy-pledge p:last-child {
  margin-bottom: 0;
}

/* Dedicated all-camps map. */
.legacy-page-banner {
  position: relative;
  padding-block: 2.3rem 1.7rem;
  background: #efefef url("/images/legacy-brand/bg-content.png") top center repeat-y;
}

.legacy-page-banner::before {
  content: "";
  height: 1.4rem;
  position: absolute;
  top: -1.3rem;
  right: 0;
  left: 0;
  background: url("/images/legacy-brand/border-content.svg") center / 100% 100% no-repeat;
}

.legacy-page-banner h1 {
  margin: 0;
  color: #e97f0e;
}

.campsites-map-intro {
  padding-top: 0;
}

.campsites-map-intro__grid {
  display: grid;
  gap: 1.5rem;
  align-items: start;
}

.legacy-map-search {
  margin-top: 1.35rem;
}

.legacy-map-search > label {
  display: block;
  margin-bottom: 0.35rem;
  font-size: 0.74rem;
  font-weight: 700;
}

.legacy-map-search > div {
  display: grid;
  gap: 0.5rem;
}

.legacy-map-search input {
  width: 100%;
  min-height: 3rem;
  padding: 0.7rem 0.8rem;
  background: #fff;
  border: 1px solid #c9c9c6;
}

.map-region-links {
  margin-top: 1.7rem;
  padding-top: 1.1rem;
  border-top: 1px solid #cacac6;
}

.map-region-links > strong {
  display: block;
  margin-bottom: 0.6rem;
  font-family: "Oswald", sans-serif;
  font-size: 1.2rem;
  font-weight: 400;
}

.map-region-links > div {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
}

.map-region-links a {
  padding: 0.45rem 0.65rem;
  color: #4d514b;
  background: #dbdbd8;
  font-size: 0.72rem;
  font-weight: 700;
  text-decoration: none;
}

.map-region-links a:hover {
  color: #fff;
  background: #e97f0e;
}

.map-region-links span {
  color: inherit;
  opacity: 0.7;
}

.campsites-map-layout {
  padding-block: 1.5rem 3rem;
}

.map-section-heading h2 {
  margin: 0;
}

.results-map--standalone {
  width: 100%;
  height: clamp(34rem, 78svh, 52rem);
  min-height: 0;
  border-inline: 0;
}

.results-map--standalone .map-canvas {
  min-height: 0;
}

/* Original torn grey footer shape and three-column information layout. */
.site-footer {
  position: relative;
  overflow: visible;
  padding-top: 5.5rem;
  color: #4d514b;
  background: #dbdbd8 url("/images/legacy-brand/bg-footer.svg") center top / cover no-repeat;
}

.site-footer::before {
  display: none;
}

.footer-inner {
  padding-block: 1.5rem 1rem;
}

.footer-intro h2 {
  margin-bottom: 0.35rem;
  color: #4d514b;
  font-size: 2rem;
}

.footer-intro > p {
  margin: 0 0 0.8rem;
  color: #5e615c;
  font-family: "Ruda", sans-serif;
  font-size: 0.9rem;
}

.footer-social {
  display: flex;
  flex-wrap: wrap;
  gap: 0.85rem;
  margin-bottom: 1.7rem;
}

.footer-social a,
.footer-links a {
  color: #f8f8f7;
  text-decoration: none;
}

.footer-social a:hover,
.footer-links a:hover {
  color: #e97f0e;
}

.footer-links {
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 1.5rem 1rem;
}

.footer-links h2 {
  color: #4d514b;
  font-family: "Oswald", sans-serif;
  font-size: 1.1rem;
  font-weight: 400;
  letter-spacing: 0;
  text-transform: none;
}

.footer-links a {
  min-height: 1.75rem;
  font-size: 0.75rem;
}

.footer-base {
  color: #5e615c;
  border-top-color: rgb(77 81 75 / 22%);
}

@media (min-width: 44rem) {
  .section-shell,
  .header-inner,
  .footer-inner,
  .flash-wrap {
    width: min(calc(100% - 1.875rem), 73.125rem);
  }

  .legacy-member-host-grid,
  .legacy-merch-banner__inner,
  .legacy-social-newsletter__inner,
  .campsites-map-intro__grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .legacy-upgrade-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .legacy-trip-grid {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }

  .blog-page .article-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .legacy-section-heading,
  .map-section-heading {
    flex-direction: row;
    align-items: flex-end;
    justify-content: space-between;
  }

  .legacy-host-band__inner {
    grid-template-columns: minmax(0, 1fr) auto;
  }

  .legacy-map-search > div {
    grid-template-columns: minmax(0, 1fr) auto;
  }

  .home-map-section__heading {
    grid-template-columns: minmax(0, 1fr) minmax(20rem, 0.72fr);
    align-items: end;
  }

  .home-map-search > div {
    grid-template-columns: minmax(0, 1fr) auto;
  }

  .home-map-section__footer {
    flex-direction: row;
    align-items: center;
    justify-content: space-between;
  }

  .featured-rail__track {
    grid-auto-columns: minmax(19rem, 31rem);
  }

  .footer-links {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }
}

@media (min-width: 64rem) {
  :root {
    --header-height: 8.75rem;
  }

  body {
    font-size: 1.1875rem;
  }

  .site-header {
    height: 8.75rem;
    background-color: transparent;
  }

  .brand {
    width: 11.3rem;
    height: 6.25rem;
  }

  .home-page .brand {
    width: 21.55rem;
    height: 11.9rem;
    position: absolute;
    top: 4.25rem;
    left: 50%;
    transform: translateX(-50%);
  }

  .nav-toggle,
  .header-account-action {
    width: 3.5rem;
    height: 3.375rem;
    display: inline-flex;
  }

  .nav-toggle {
    top: 0.95rem;
  }

  .header-account-action {
    top: 0.95rem;
    gap: 0.15rem;
  }

  .header-account-action span {
    display: block;
  }

  .nav-toggle-lines {
    width: 1.45rem;
  }

  .nav-panel {
    padding-block: 3rem;
  }

  .section,
  .legacy-paper-section,
  .legacy-section,
  .campsites-map-intro {
    padding-block: 2.5rem;
  }

  .legacy-home-hero {
    min-height: 100vh;
    /*
     * Keep the original aerial image attached to the hero itself. Fixed
     * backgrounds are frequently dropped by mobile browsers and full-page
     * captures, leaving the fallback grey visible instead of the photograph.
     */
    background-attachment: scroll;
  }

  .legacy-home-hero__content {
    position: absolute;
    top: 18.5rem;
    right: 0;
    left: 0;
    padding-top: 0;
    padding-bottom: 6rem;
  }

  .legacy-scroll-cue {
    display: block;
  }

  .legacy-upgrade-grid {
    grid-template-columns: repeat(4, minmax(0, 1fr));
  }

  .blog-page .article-grid {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }

  .explore-layout {
    padding-block: 1.5rem 3rem;
  }

  .explore-layout .site-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .product-grid {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }

  .results-map,
  .map-canvas {
    min-height: min(43.75rem, calc(100dvh - 5rem));
  }

  .footer-inner {
    display: grid;
    grid-template-columns: minmax(15rem, 0.75fr) minmax(0, 1.5fr);
    gap: 3rem;
    padding-block: 2rem 1rem;
  }

  .footer-base {
    grid-column: 1 / -1;
  }
}

@media (min-width: 78rem) {
  .explore-layout .site-grid {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }

  .product-grid {
    grid-template-columns: repeat(4, minmax(0, 1fr));
  }
}

@media (prefers-reduced-motion: reduce) {
  .primary-nav {
    transition: none;
  }
}
