:root {
  --bg: #f7f4ee;
  --panel: #ffffff;
  --text: #1f2328;
  --muted: #59636e;
  --line: #d9d3c9;
  --accent: #7d4b2b;
  --accent-soft: #f1e3d7;
  --max: 980px;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  background: var(--bg);
  color: var(--text);
  font: 17px/1.65 Georgia, "Times New Roman", serif;
}

a { color: var(--accent); }
a:hover { text-decoration-thickness: 2px; }
header {
  border-bottom: 1px solid var(--line);
  background: rgba(255,255,255,.86);
  position: sticky;
  top: 0;
  backdrop-filter: blur(8px);
}
.container {
  max-width: var(--max);
  margin: 0 auto;
  padding: 0 20px;
}
header .container, .footer .container {
  display: flex;
  gap: 16px;
  align-items: center;
  justify-content: space-between;
  padding-top: 14px;
  padding-bottom: 14px;
}
.brand {
  color: var(--text);
  text-decoration: none;
  font-weight: 700;
}
.nav {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
}
.nav a {
  text-decoration: none;
  color: var(--muted);
}
main.container { padding-top: 28px; padding-bottom: 48px; }
.page {
  background: var(--panel);
  border: 1px solid var(--line);
  border-radius: 18px;
  padding: 28px;
  box-shadow: 0 8px 30px rgba(0,0,0,.04);
}
.page h1, .page h2, .page h3 { line-height: 1.2; }
.page h1 { font-size: 2.2rem; margin-top: 0; }
.page h2 { margin-top: 2rem; }
.page ul { padding-left: 1.25rem; }
.callout {
  background: var(--accent-soft);
  border-left: 4px solid var(--accent);
  padding: 14px 16px;
  border-radius: 10px;
}
.grid-links {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 14px;
}
.grid-links a {
  display: block;
  padding: 14px 16px;
  border: 1px solid var(--line);
  border-radius: 12px;
  background: #fff;
  text-decoration: none;
  color: var(--text);
}
.footer {
  padding-bottom: 24px;
  color: var(--muted);
}
.mx-backtotop {
  position: fixed;
  right: max(8px, calc(env(safe-area-inset-right, 0px) + 8px));
  left: auto;
  bottom: 16px;
  width: 42px;
  height: 42px;
  display: grid;
  place-items: center;
  border-radius: 999px;
  text-decoration: none;
  background: var(--text);
  color: #fff;
}
@media (max-width: 700px) {
  header .container, .footer .container { display: block; }
  .nav { margin-top: 10px; }
  .page { padding: 22px; }
}

.site-header {
  display: grid;
  gap: 12px;
}
.site-header__top {
  display: flex;
  gap: 16px;
  align-items: center;
  justify-content: space-between;
}
.site-search {
  position: relative;
  display: grid;
  gap: 8px;
}
.site-search__label {
  font-size: 0.92rem;
  color: var(--muted);
}
.site-search__controls {
  display: flex;
  gap: 10px;
}
.site-search__input {
  width: 100%;
  min-width: 0;
  padding: 11px 14px;
  border: 1px solid var(--line);
  border-radius: 12px;
  background: #fff;
  font: inherit;
}
.site-search__button {
  padding: 11px 16px;
  border: 1px solid var(--accent);
  border-radius: 12px;
  background: var(--accent);
  color: #fff;
  font: inherit;
  cursor: pointer;
}
.site-search__results {
  position: absolute;
  left: 0;
  right: 0;
  top: calc(100% + 4px);
  z-index: 20;
  border: 1px solid var(--line);
  border-radius: 14px;
  background: #fff;
  box-shadow: 0 14px 36px rgba(0,0,0,.12);
  padding: 8px;
}
.site-search__list {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  gap: 6px;
}
.site-search__result {
  display: grid;
  gap: 3px;
  padding: 10px 12px;
  border-radius: 10px;
  text-decoration: none;
  color: var(--text);
}
.site-search__result:hover,
.site-search__result:focus {
  background: var(--accent-soft);
}
.site-search__result span {
  color: var(--muted);
  font-size: 0.92rem;
}
.site-search__result-type {
  text-transform: uppercase;
  letter-spacing: 0.08em;
  font-size: 0.72rem !important;
}
.site-search__empty {
  margin: 0;
  padding: 12px;
  color: var(--muted);
}
.quick-links {
  display: grid;
  gap: 10px;
}
.quick-links ul {
  margin: 0;
}
.route-list-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 14px;
}
.route-list-grid section {
  padding: 14px 16px;
  border: 1px solid var(--line);
  border-radius: 12px;
  background: #fff;
}
.route-list-grid h3 {
  margin-top: 0;
  margin-bottom: 0.5rem;
}
.route-list-grid p {
  margin-top: 0;
}
@media (max-width: 700px) {
  .site-header__top,
  .site-search__controls {
    display: block;
  }
  .site-search__button {
    margin-top: 8px;
    width: 100%;
  }
  .site-search__results {
    position: static;
  }
}


.route-map-block {
  margin: 1rem 0 1.5rem;
  padding: 14px;
  border: 1px solid var(--line);
  border-radius: 14px;
  background: #fff;
}
.route-map-block__eyebrow {
  margin: 0 0 0.5rem;
  color: var(--muted);
  text-transform: uppercase;
  letter-spacing: 0.08em;
  font-size: 0.78rem;
}
.route-map-block iframe {
  width: 100%;
  min-height: 320px;
  border: 0;
  border-radius: 12px;
}
.route-map-block__note {
  margin-bottom: 0;
  color: var(--muted);
  font-size: 0.95rem;
}


.ebook-demo {
  display: grid;
  grid-template-columns: minmax(140px, 180px) 1fr;
  gap: 18px;
  align-items: start;
  margin: 1rem 0 1.5rem;
  padding: 16px;
  border: 1px solid var(--line);
  border-radius: 14px;
  background: #fff;
}
.ebook-demo__cover {
  width: 100%;
  height: auto;
  border: 1px solid var(--line);
  border-radius: 10px;
}
.ebook-demo__body h3 {
  margin-top: 0;
  margin-bottom: 0.6rem;
}
.ebook-demo__body p {
  margin-top: 0;
}
.ebook-demo__link {
  font-weight: 700;
}
@media (max-width: 700px) {
  .ebook-demo {
    grid-template-columns: 1fr;
  }
  .ebook-demo__cover {
    max-width: 220px;
  }
}


body.page-layout-wide main.container {
  max-width: min(1480px, calc(100vw - 40px));
}

.page--index {
  padding: 0 34px 34px;
}

.page--index .mx-home-hero{
  margin: 0 -34px 30px;
  border-top-left-radius: 18px;
  border-top-right-radius: 18px;
  overflow: hidden;
}

.page--index .grid-links {
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
}

.page--index .route-list-grid {
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
}

@media (max-width: 900px) {
  body.page-layout-wide main.container {
    max-width: 100%;
  }

  .page--index {
    padding: 0 24px 24px;
  }

  .page--index .mx-home-hero{
    margin: 0 -24px 24px;
    border-top-left-radius: 18px;
    border-top-right-radius: 18px;
  }
}


body[data-mx-site="historicroute20"] {
  --max: 1320px;
}

body[data-mx-site="historicroute20"] .route-list-grid {
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
}

body[data-mx-site="historicroute20"] .grid-links {
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
}

.route-list-grid section.is-live {
  border-color: rgba(47, 98, 124, .28);
  background: linear-gradient(180deg, rgba(232,241,246,.9), #fff 42%);
}
.route-list-grid section.is-planned {
  border-color: rgba(94, 107, 121, .28);
  background: linear-gradient(180deg, rgba(247,249,251,.96), #fff 46%);
}
.route-card-status {
  display: inline-flex;
  align-items: center;
  margin: 0 0 .7rem;
  padding: .28rem .62rem;
  border-radius: 999px;
  font-size: .72rem;
  font-weight: 700;
  letter-spacing: .08em;
  text-transform: uppercase;
}
.route-card-status--live {
  background: rgba(47, 98, 124, .12);
  color: #214d63;
}
.route-card-status--planned {
  background: rgba(94, 107, 121, .12);
  color: #4f5b67;
}
.route-list-grid section > :last-child { margin-bottom: 0; }


.place-type-line {
  margin: -.2rem 0 1rem;
}
.place-type-badge {
  display: inline-flex;
  align-items: center;
  padding: .3rem .7rem;
  border-radius: 999px;
  font-size: .74rem;
  font-weight: 700;
  letter-spacing: .08em;
  text-transform: uppercase;
}
.place-type-badge--onroute {
  background: rgba(47, 98, 124, .12);
  color: #214d63;
}
.place-type-badge--adjacent {
  background: rgba(130, 95, 38, .12);
  color: #785217;
}


.route-map-overview {
  margin: 1.25rem 0 2rem;
  padding: 18px;
  border: 1px solid var(--line);
  border-radius: 18px;
  background: linear-gradient(180deg, rgba(255,255,255,.98), rgba(249,246,241,.98));
  box-shadow: 0 10px 24px rgba(16,24,40,.05);
}
.route-map-overview__eyebrow {
  margin: 0 0 0.65rem;
  color: var(--muted);
  text-transform: uppercase;
  letter-spacing: 0.08em;
  font-size: 0.78rem;
  font-family: Inter, ui-sans-serif, system-ui, sans-serif;
  font-weight: 700;
}
.route-map-overview__figure {
  margin: 0;
  padding: 10px;
  border: 1px solid rgba(217,211,201,.9);
  border-radius: 16px;
  background: #fff;
}
.route-map-overview__figure img {
  display: block;
  width: 100%;
  height: auto;
  border-radius: 12px;
}
.route-map-legend {
  display: flex;
  flex-wrap: wrap;
  gap: 12px 18px;
  margin: 0.95rem 0 0.65rem;
  font-family: Inter, ui-sans-serif, system-ui, sans-serif;
  font-size: 0.94rem;
}
.route-map-legend p {
  margin: 0;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  color: var(--text);
}
.route-map-legend__swatch {
  width: 28px;
  height: 10px;
  border-radius: 999px;
  display: inline-block;
}
.route-map-legend__swatch--corridor {
  background: #665e53;
}

.route-map-legend__swatch--historic {
  background: repeating-linear-gradient(90deg, #8c8378 0 10px, rgba(140,131,120,.15) 10px 18px);
}
.route-map-legend__swatch--live {
  background: linear-gradient(90deg, rgba(201,109,30,.72), #c96d1e);
}
.route-map-overview__note {
  margin-bottom: 0;
  color: var(--muted);
}
@media (max-width: 700px) {
  .route-map-overview {
    padding: 14px;
  }
  .route-map-overview__figure {
    padding: 6px;
  }
  .route-map-legend {
    display: grid;
    gap: 8px;
  }
}


.route-map-preview {
  display: grid;
  grid-template-columns: minmax(320px, 1.25fr) minmax(220px, .9fr);
  gap: 18px;
  align-items: center;
  margin: 1.1rem 0 2rem;
  padding: 18px;
  border: 1px solid var(--line);
  border-radius: 18px;
  background: linear-gradient(180deg, rgba(255,255,255,.99), rgba(249,246,241,.98));
  box-shadow: 0 10px 24px rgba(16,24,40,.05);
}
.route-map-preview__media {
  padding: 10px;
  border: 1px solid rgba(217,211,201,.9);
  border-radius: 16px;
  background: #fff;
}
.route-map-preview__media img {
  display: block;
  width: 100%;
  height: auto;
  border-radius: 12px;
}
.route-map-preview__eyebrow {
  margin: 0 0 .55rem;
  color: var(--muted);
  text-transform: uppercase;
  letter-spacing: .08em;
  font-size: .78rem;
  font-family: Inter, ui-sans-serif, system-ui, sans-serif;
  font-weight: 700;
}
.route-map-preview__body h3 {
  margin: 0 0 .6rem;
}
.route-map-preview__body h3 a {
  color: var(--text);
  text-decoration: none;
}
.route-map-preview__body h3 a:hover {
  color: var(--accent);
  text-decoration: underline;
}
.route-map-preview__body p:last-child {
  margin-bottom: 0;
}
.route-map-preview__cta {
  display: inline-flex;
  align-items: center;
  padding: .72rem 1rem;
  border: 1px solid var(--accent);
  border-radius: 12px;
  background: var(--accent);
  color: #fff;
  text-decoration: none;
  font-weight: 700;
  font-family: Inter, ui-sans-serif, system-ui, sans-serif;
}
.route-map-preview__cta:hover {
  color: #fff;
  filter: brightness(.97);
}
@media (max-width: 900px) {
  .route-map-preview {
    grid-template-columns: 1fr;
  }
}

/* Routeguide real-image adoption pass */
.page--index .mx-home-hero{
  background:
    linear-gradient(90deg, rgba(245,248,252,.96) 0%, rgba(245,248,252,.93) 42%, rgba(244,247,251,.72) 58%, rgba(244,247,251,.34) 100%),
    url('/assets/images/real-galena-main-street.webp') center 34% / cover no-repeat;
}
.page--index .mx-home-hero::before{
  background:
    linear-gradient(130deg, rgba(45,103,178,.10), transparent 36%),
    linear-gradient(90deg, rgba(255,255,255,.18), transparent 34%),
    radial-gradient(780px 280px at 74% 22%, rgba(124,165,109,.12), transparent 56%),
    radial-gradient(720px 260px at 70% 100%, rgba(45,103,178,.08), transparent 62%);
}
.page--index .mx-home-hero__copy,
.page--index .mx-home-hero__kicker,
.page--index .mx-home-hero__metrics,
.page--index .mx-home-hero__chips,
.page--index .mx-search--homepage{position:relative; z-index:2}
.page--index .mx-home-hero__panel-card{
  overflow:hidden;
  color:#f7fbff;
  background:
    linear-gradient(180deg, rgba(17,33,52,.22), rgba(17,33,52,.58)),
    linear-gradient(180deg, rgba(255,255,255,.08), rgba(255,255,255,.02)),
    url('/assets/images/real-galena-building.webp') center center / cover no-repeat;
  border-color:rgba(255,255,255,.18);
  box-shadow:0 24px 44px rgba(24,37,54,.18);
}
.page--index .mx-home-hero__panel-card::after{
  content:"";
  position:absolute;
  inset:auto 0 0 0;
  height:42%;
  background:linear-gradient(180deg, rgba(17,33,52,0), rgba(17,33,52,.36));
  pointer-events:none;
}
.page--index .mx-home-hero__panel-title,
.page--index .mx-home-hero__panel-card ul,
.page--index .mx-home-hero__panel-card li{position:relative; z-index:1; color:inherit}
.page--index .mx-home-hero__panel-title{color:#ffffff}
.page--index .mx-home-hero__panel-band{background:linear-gradient(90deg, rgba(255,255,255,.28), rgba(255,255,255,.42), rgba(255,255,255,.16))}

.page--regions-illinois .mx-page-cover__visual-card{
  background-image:
    linear-gradient(180deg, rgba(19,35,55,.10), rgba(19,35,55,.26)),
    url('/assets/images/real-us20-galena-bridge.webp');
  background-position:center center;
}
.page--segments-galena-stockton-corridor .mx-page-cover__visual-card{
  background-image:
    linear-gradient(180deg, rgba(19,35,55,.08), rgba(19,35,55,.22)),
    url('/assets/images/real-galena-main-street.webp');
  background-position:center 42%;
}
.page--places-galena .mx-page-cover__visual-card{
  background-image:
    linear-gradient(180deg, rgba(19,35,55,.10), rgba(19,35,55,.28)),
    url('/assets/images/real-galena-building.webp');
  background-position:center 46%;
}
.page--trips-galena-freeport-one-day-sampler .mx-page-cover__visual-card{
  background-image:
    linear-gradient(180deg, rgba(19,35,55,.08), rgba(19,35,55,.18)),
    url('/assets/images/real-freeport-library.webp');
  background-position:center center;
}

.route-card--feature-illinois::before{
  background-image:
    linear-gradient(180deg, rgba(19,35,55,.04), rgba(19,35,55,.22)),
    url('/assets/images/real-us20-galena-bridge.webp');
  background-position:center center;
}
.route-card--feature-galena-segment::before{
  background-image:
    linear-gradient(180deg, rgba(19,35,55,.05), rgba(19,35,55,.24)),
    url('/assets/images/real-galena-main-street.webp');
  background-position:center 42%;
}
.route-card--feature-galena-place::before{
  background-image:
    linear-gradient(180deg, rgba(19,35,55,.05), rgba(19,35,55,.24)),
    url('/assets/images/real-galena-downtown.webp');
  background-position:center center;
}
.route-card--feature-galena-freeport-trip::before{
  background-image:
    linear-gradient(180deg, rgba(19,35,55,.05), rgba(19,35,55,.18)),
    url('/assets/images/real-stockton-townsend-house.webp');
  background-position:center center;
}

@media (max-width: 900px) {
  .page--index .mx-home-hero{
    background:
      linear-gradient(180deg, rgba(245,248,252,.97) 0%, rgba(245,248,252,.95) 48%, rgba(244,247,251,.68) 100%),
      url('/assets/images/real-galena-main-street.webp') center 30% / cover no-repeat;
  }
}


/* Routeguide second real-image rollout */
.homepage-guide-promo{
  margin: 1.2rem 0 1.5rem;
  grid-template-columns: minmax(132px, 168px) 1fr;
  background: linear-gradient(180deg, rgba(255,255,255,.98), rgba(247,243,237,.96));
  border-color: rgba(125,75,43,.18);
  box-shadow: 0 14px 30px rgba(31,35,40,.06);
}
.homepage-guide-promo__eyebrow{
  margin: 0 0 .45rem;
  color: var(--muted);
  text-transform: uppercase;
  letter-spacing: .08em;
  font-size: .76rem;
  font-family: Inter, ui-sans-serif, system-ui, sans-serif;
  font-weight: 700;
}
.homepage-guide-promo .ebook-demo__cover{
  box-shadow: 0 14px 28px rgba(0,0,0,.10);
}
@media (max-width: 700px) {
  .homepage-guide-promo{
    grid-template-columns: 1fr;
  }
}

.page--regions-new-york .mx-page-cover__visual-card{
  background-image:
    linear-gradient(180deg, rgba(19,35,55,.08), rgba(19,35,55,.24)),
    url('/assets/images/real-us20-warren-ny.webp');
  background-position:center center;
}
.page--route-overview .mx-page-cover__visual-card{
  background-image:
    linear-gradient(180deg, rgba(19,35,55,.08), rgba(19,35,55,.24)),
    url('/assets/images/real-us20-warren-ny.webp');
  background-position:center center;
}
.page--segments-cazenovia-skaneateles-auburn .mx-page-cover__visual-card{
  background-image:
    linear-gradient(180deg, rgba(19,35,55,.08), rgba(19,35,55,.20)),
    url('/assets/images/real-cazenovia-downtown.webp');
  background-position:center 58%;
}
.page--places-skaneateles .mx-page-cover__visual-card{
  background-image:
    linear-gradient(180deg, rgba(19,35,55,.12), rgba(19,35,55,.30)),
    url('/assets/images/real-skaneateles-village.webp');
  background-position:center center;
}
.page--trips-central-new-york-route-20-weekend .mx-page-cover__visual-card{
  background-image:
    linear-gradient(180deg, rgba(19,35,55,.10), rgba(19,35,55,.24)),
    url('/assets/images/real-auburn-genesee-street.webp');
  background-position:center center;
}

.route-card--feature-new-york-state::before{
  background-image:
    linear-gradient(180deg, rgba(19,35,55,.05), rgba(19,35,55,.22)),
    url('/assets/images/real-us20-warren-ny.webp');
  background-position:center center;
}
.route-card--feature-new-york-segment::before{
  background-image:
    linear-gradient(180deg, rgba(19,35,55,.05), rgba(19,35,55,.22)),
    url('/assets/images/real-cazenovia-downtown.webp');
  background-position:center 58%;
}
.route-card--feature-skaneateles-place::before{
  background-image:
    linear-gradient(180deg, rgba(19,35,55,.08), rgba(19,35,55,.26)),
    url('/assets/images/real-skaneateles-village.webp');
  background-position:center center;
}
.route-card--feature-central-new-york-trip::before{
  background-image:
    linear-gradient(180deg, rgba(19,35,55,.06), rgba(19,35,55,.24)),
    url('/assets/images/real-auburn-genesee-street.webp');
  background-position:center center;
}

.route-map-overview--with-photo .route-map-overview__grid{
  display:grid;
  grid-template-columns:minmax(0,1.35fr) minmax(260px,.8fr);
  gap:18px;
  align-items:start;
}
.route-map-overview--with-photo .route-map-overview__figure--photo img{
  aspect-ratio: 4 / 3;
  object-fit: cover;
  object-position: center center;
}
@media (max-width: 900px) {
  .route-map-overview--with-photo .route-map-overview__grid{
    grid-template-columns:1fr;
  }
}


/* Routeguide third real-image rollout */
.page--regions-ohio .mx-page-cover__visual-card{
  background-image:
    linear-gradient(180deg, rgba(19,35,55,.08), rgba(19,35,55,.24)),
    url('/assets/images/real-avon-us20.webp');
  background-position:center 56%;
}
.page--segments-norwalk-oberlin-geneva .mx-page-cover__visual-card{
  background-image:
    linear-gradient(180deg, rgba(19,35,55,.08), rgba(19,35,55,.24)),
    url('/assets/images/real-oberlin-downtown.webp');
  background-position:center 50%;
}
.page--places-oberlin .mx-page-cover__visual-card{
  background-image:
    linear-gradient(180deg, rgba(19,35,55,.10), rgba(19,35,55,.30)),
    url('/assets/images/real-oberlin-lewis-center.webp');
  background-position:center center;
}
.page--trips-ohio-western-reserve-route-20-weekend .mx-page-cover__visual-card{
  background-image:
    linear-gradient(180deg, rgba(19,35,55,.08), rgba(19,35,55,.24)),
    url('/assets/images/real-geneva-main-street.webp');
  background-position:center center;
}

.route-card--feature-ohio-state::before{
  background-image:
    linear-gradient(180deg, rgba(19,35,55,.05), rgba(19,35,55,.22)),
    url('/assets/images/real-avon-us20.webp');
  background-position:center 56%;
}
.route-card--feature-ohio-segment::before{
  background-image:
    linear-gradient(180deg, rgba(19,35,55,.06), rgba(19,35,55,.24)),
    url('/assets/images/real-oberlin-downtown.webp');
  background-position:center 50%;
}
.route-card--feature-oberlin-place::before{
  background-image:
    linear-gradient(180deg, rgba(19,35,55,.08), rgba(19,35,55,.26)),
    url('/assets/images/real-oberlin-lewis-center.webp');
  background-position:center center;
}
.route-card--feature-ohio-trip::before{
  background-image:
    linear-gradient(180deg, rgba(19,35,55,.05), rgba(19,35,55,.22)),
    url('/assets/images/real-geneva-main-street.webp');
  background-position:center center;
}

.page--index .homepage-guide-promo{
  margin-top: .9rem;
  margin-bottom: 1.15rem;
}
.page--index h2 + .route-list-grid{
  margin-top: .5rem;
}
.page--index .route-list-grid:first-of-type{
  margin-bottom: .55rem;
}
.page--index .route-card--feature-ohio-state,
.page--index .route-card--feature-ohio-segment,
.page--index .route-card--feature-oberlin-place,
.page--index .route-card--feature-ohio-trip{
  box-shadow: 0 14px 28px rgba(31,35,40,.08);
}


/* Routeguide fourth real-image rollout */
.page--regions-pennsylvania .mx-page-cover__visual-card{
  background-image:
    linear-gradient(180deg, rgba(19,35,55,.08), rgba(19,35,55,.24)),
    url('/assets/images/real-wesleyville-us20.webp');
  background-position:center center;
}
.page--segments-erie-north-east-corridor .mx-page-cover__visual-card{
  background-image:
    linear-gradient(180deg, rgba(19,35,55,.08), rgba(19,35,55,.24)),
    url('/assets/images/real-girard-main-street.webp');
  background-position:center 46%;
}
.page--places-erie .mx-page-cover__visual-card{
  background-image:
    linear-gradient(180deg, rgba(19,35,55,.10), rgba(19,35,55,.30)),
    url('/assets/images/real-erie-state-street.webp');
  background-position:center 38%;
}
.page--trips-pennsylvania-lake-erie-route-20-weekend .mx-page-cover__visual-card{
  background-image:
    linear-gradient(180deg, rgba(19,35,55,.08), rgba(19,35,55,.24)),
    url('/assets/images/real-north-east-main-street.webp');
  background-position:center center;
}

.route-card--feature-pennsylvania-state::before{
  background-image:
    linear-gradient(180deg, rgba(19,35,55,.05), rgba(19,35,55,.22)),
    url('/assets/images/real-wesleyville-us20.webp');
  background-position:center center;
}
.route-card--feature-pennsylvania-segment::before{
  background-image:
    linear-gradient(180deg, rgba(19,35,55,.05), rgba(19,35,55,.22)),
    url('/assets/images/real-girard-main-street.webp');
  background-position:center 46%;
}
.route-card--feature-erie-place::before{
  background-image:
    linear-gradient(180deg, rgba(19,35,55,.08), rgba(19,35,55,.26)),
    url('/assets/images/real-erie-state-street.webp');
  background-position:center 38%;
}
.route-card--feature-pennsylvania-trip::before{
  background-image:
    linear-gradient(180deg, rgba(19,35,55,.05), rgba(19,35,55,.22)),
    url('/assets/images/real-north-east-main-street.webp');
  background-position:center center;
}

.page--index .route-card--feature-pennsylvania-state,
.page--index .route-card--feature-pennsylvania-segment,
.page--index .route-card--feature-erie-place,
.page--index .route-card--feature-pennsylvania-trip{
  box-shadow: 0 14px 28px rgba(31,35,40,.08);
}


/* Routeguide Pennsylvania local-asset consolidation */
.page--index .route-card[class*="route-card--feature-"]{
  box-shadow: 0 14px 28px rgba(31,35,40,.08);
}
.page--index .route-card[class*="route-card--feature-"]::before{
  height: 132px;
}
.page--index .route-card--feature-illinois::before,
.page--index .route-card--feature-new-york-state::before,
.page--index .route-card--feature-ohio-state::before,
.page--index .route-card--feature-pennsylvania-state::before{
  background-position: center 52%;
}


/* Routeguide fifth real-image rollout */
.page--regions-eastern-new-york-capital-region-approach .mx-page-cover__visual-card{
  background-image:
    linear-gradient(180deg, rgba(19,35,55,.08), rgba(19,35,55,.24)),
    url('/assets/images/real-eastern-ny-route20.webp');
  background-position:center 54%;
}
.page--segments-sharon-springs-cherry-valley-duanesburg .mx-page-cover__visual-card{
  background-image:
    linear-gradient(180deg, rgba(19,35,55,.08), rgba(19,35,55,.24)),
    url('/assets/images/real-sharon-springs-us20.webp');
  background-position:center 54%;
}
.page--places-sharon-springs .mx-page-cover__visual-card{
  background-image:
    linear-gradient(180deg, rgba(19,35,55,.10), rgba(19,35,55,.28)),
    url('/assets/images/real-sharon-springs-downtown.webp');
  background-position:center center;
}
.page--trips-eastern-new-york-route-20-weekend .mx-page-cover__visual-card{
  background-image:
    linear-gradient(180deg, rgba(19,35,55,.08), rgba(19,35,55,.24)),
    url('/assets/images/real-cooperstown-main-street.webp');
  background-position:center 48%;
}

.route-card--feature-eastern-new-york-region::before{
  background-image:
    linear-gradient(180deg, rgba(19,35,55,.05), rgba(19,35,55,.22)),
    url('/assets/images/real-eastern-ny-route20.webp');
  background-position:center 54%;
}
.route-card--feature-eastern-new-york-segment::before{
  background-image:
    linear-gradient(180deg, rgba(19,35,55,.05), rgba(19,35,55,.22)),
    url('/assets/images/real-sharon-springs-us20.webp');
  background-position:center 54%;
}
.route-card--feature-sharon-springs-place::before{
  background-image:
    linear-gradient(180deg, rgba(19,35,55,.08), rgba(19,35,55,.26)),
    url('/assets/images/real-sharon-springs-downtown.webp');
  background-position:center center;
}
.route-card--feature-eastern-new-york-trip::before{
  background-image:
    linear-gradient(180deg, rgba(19,35,55,.05), rgba(19,35,55,.22)),
    url('/assets/images/real-cooperstown-main-street.webp');
  background-position:center 48%;
}

.page--index .route-card--feature-eastern-new-york-region,
.page--index .route-card--feature-eastern-new-york-segment,
.page--index .route-card--feature-sharon-springs-place,
.page--index .route-card--feature-eastern-new-york-trip{
  box-shadow: 0 14px 28px rgba(31,35,40,.08);
}

.page--index .route-card--feature-eastern-new-york-region{
  border-color: rgba(45,103,178,.18);
}
.page--index .route-card--feature-eastern-new-york-region h3 a,
.page--index .route-card--feature-eastern-new-york-segment h3 a,
.page--index .route-card--feature-sharon-springs-place h3 a,
.page--index .route-card--feature-eastern-new-york-trip h3 a{
  text-decoration-thickness: 1.5px;
}


/* Routeguide sixth real-image rollout */
.page--places-seneca-falls .mx-page-cover__visual-card{
  background-image:
    linear-gradient(180deg, rgba(19,35,55,.10), rgba(19,35,55,.28)),
    url('/assets/images/real-seneca-falls-bedford-sign.webp');
  background-position:center 38%;
}
.page--places-cooperstown .mx-page-cover__visual-card{
  background-image:
    linear-gradient(180deg, rgba(19,35,55,.10), rgba(19,35,55,.28)),
    url('/assets/images/real-cooperstown-post-office.webp');
  background-position:center center;
}
.page--places-geneva-on-the-lake .mx-page-cover__visual-card{
  background-image:
    linear-gradient(180deg, rgba(19,35,55,.10), rgba(19,35,55,.28)),
    url('/assets/images/real-geneva-on-the-lake-lighthouse.webp');
  background-position:center center;
}

.route-card--feature-seneca-falls::before{
  background-image:
    linear-gradient(180deg, rgba(19,35,55,.06), rgba(19,35,55,.24)),
    url('/assets/images/real-seneca-falls-bedford-sign.webp');
  background-position:center 38%;
}
.route-card--feature-cooperstown::before{
  background-image:
    linear-gradient(180deg, rgba(19,35,55,.06), rgba(19,35,55,.24)),
    url('/assets/images/real-cooperstown-post-office.webp');
  background-position:center center;
}
.route-card--feature-geneva-on-the-lake::before{
  background-image:
    linear-gradient(180deg, rgba(19,35,55,.08), rgba(19,35,55,.24)),
    url('/assets/images/real-geneva-on-the-lake-lighthouse.webp');
  background-position:center center;
}

.page--index .route-card--feature-seneca-falls,
.page--index .route-card--feature-cooperstown,
.page--index .route-card--feature-geneva-on-the-lake{
  box-shadow: 0 14px 28px rgba(31,35,40,.08);
}

.page--index .route-list-grid + .route-list-grid{
  margin-top: .6rem;
}
.page--index h2{
  margin-bottom: .55rem;
}
.page--index .route-card--place.route-card--feature-seneca-falls,
.page--index .route-card--place.route-card--feature-cooperstown,
.page--index .route-card--place.route-card--feature-geneva-on-the-lake{
  border-color: rgba(45,103,178,.14);
}
.page--index .route-card--place.route-card--feature-seneca-falls h3 a,
.page--index .route-card--place.route-card--feature-cooperstown h3 a,
.page--index .route-card--place.route-card--feature-geneva-on-the-lake h3 a{
  text-decoration-thickness: 1.5px;
}


/* Routeguide homepage proof-state refinement pass */
.page--index .mx-article-surface > p:first-of-type{
  max-width: 78ch;
  font-size: 1.04rem;
}
.homepage-start-shelf{
  display:grid;
  grid-template-columns:minmax(0,1.18fr) minmax(280px,.82fr);
  gap:18px;
  align-items:stretch;
  margin:1.15rem 0 1.8rem;
}
.homepage-start-shelf__guide,
.homepage-start-shelf__proof{
  min-width:0;
}
.homepage-start-shelf__proof{
  padding:18px 18px 16px;
  border:1px solid rgba(47, 98, 124, .18);
  border-radius:20px;
  background:linear-gradient(180deg, rgba(244,248,252,.96), rgba(255,255,255,.98));
  box-shadow:0 14px 30px rgba(31,35,40,.05);
}
.homepage-start-shelf__eyebrow,
.homepage-section-intro{
  color:var(--muted);
}
.homepage-start-shelf__eyebrow{
  margin:0 0 .45rem;
  text-transform:uppercase;
  letter-spacing:.08em;
  font-size:.76rem;
  font-family:Inter, ui-sans-serif, system-ui, sans-serif;
  font-weight:700;
}
.homepage-start-shelf__proof h3{
  margin:0 0 .6rem;
}
.homepage-start-shelf__proof p{
  margin:0 0 .85rem;
}
.homepage-start-shelf__list{
  margin:0;
  padding-left:1.05rem;
}
.homepage-start-shelf__list li{
  margin:.55rem 0;
  color:var(--text);
}
.page--index .homepage-guide-promo{
  margin:0;
  min-height:100%;
}
.homepage-section-intro{
  margin:-.15rem 0 1rem;
  max-width:72ch;
}
.route-list-grid--priority-starts > section:first-child,
.route-list-grid--proof-trips > section:first-child{
  border-color:rgba(47,98,124,.34);
  box-shadow:0 18px 36px rgba(16,24,40,.08);
}
.route-list-grid--priority-starts > section:nth-child(2){
  border-color:rgba(162, 105, 49, .24);
}
.route-list-grid--proof-places .route-card--feature-galena-place,
.route-list-grid--proof-places .route-card--feature-skaneateles-place,
.route-list-grid--proof-places .route-card--feature-sharon-springs-place,
.route-list-grid--proof-places .route-card--feature-oberlin-place,
.route-list-grid--proof-places .route-card--feature-erie-place{
  border-color:rgba(47,98,124,.30);
  box-shadow:0 16px 32px rgba(16,24,40,.08);
}
@media (max-width: 980px) {
  .homepage-start-shelf{
    grid-template-columns:1fr;
  }
}

/* Routeguide homepage conversion polish pass */
.homepage-guide-promo__actions,
.homepage-start-shelf__actions,
.route-map-preview__actions{
  display:flex;
  flex-wrap:wrap;
  gap:10px;
  margin:.9rem 0 0;
}
.homepage-cta,
.route-map-preview__cta{
  display:inline-flex;
  align-items:center;
  justify-content:center;
  min-height:44px;
  padding:.76rem 1rem;
  border-radius:12px;
  text-decoration:none;
  font-weight:700;
  font-family:Inter, ui-sans-serif, system-ui, sans-serif;
  transition:transform .12s ease, box-shadow .12s ease, filter .12s ease;
}
.homepage-cta:hover,
.route-map-preview__cta:hover{
  transform:translateY(-1px);
}
.homepage-cta--primary,
.route-map-preview__cta{
  border:1px solid var(--accent);
  background:var(--accent);
  color:#fff;
  box-shadow:0 12px 24px rgba(125,75,43,.16);
}
.homepage-cta--primary:hover,
.route-map-preview__cta:hover{
  color:#fff;
  filter:brightness(.98);
}
.homepage-cta--secondary,
.route-map-preview__cta--secondary{
  border:1px solid rgba(47, 98, 124, .18);
  background:rgba(255,255,255,.96);
  color:var(--text);
}
.homepage-cta--secondary:hover,
.route-map-preview__cta--secondary:hover{
  color:var(--accent);
  box-shadow:0 10px 22px rgba(16,24,40,.07);
}
.page--index h2{
  position:relative;
  margin-top:2.35rem;
  margin-bottom:.65rem;
  padding-top:.2rem;
}
.page--index h2::after{
  content:"";
  display:block;
  width:72px;
  height:3px;
  margin-top:.55rem;
  border-radius:999px;
  background:linear-gradient(90deg, rgba(125,75,43,.92), rgba(125,75,43,.18));
}
.page--index .homepage-start-shelf__guide .ebook-demo__body h3,
.page--index .route-map-preview__body h3{
  font-size:1.34rem;
}
.page--index .homepage-start-shelf__proof{
  background:linear-gradient(180deg, rgba(244,248,252,.98), rgba(255,255,255,.99));
}
.page--index .route-map-preview{
  margin-top:1.25rem;
}
.page--index .route-map-preview__body{
  display:grid;
  gap:.2rem;
  align-content:start;
}
.page--index .route-list-grid--priority-starts{
  margin-bottom:.35rem;
}
@media (max-width: 700px) {
  .homepage-guide-promo__actions,
  .homepage-start-shelf__actions,
  .route-map-preview__actions{
    display:grid;
  }
  .homepage-cta,
  .route-map-preview__cta{
    width:100%;
  }
}


/* Routeguide homepage trust-and-clarity pass */
.page--index .mx-article-surface > p:first-of-type{
  max-width:72ch;
  font-size:1.02rem;
}
.homepage-how-it-works{
  margin:1.1rem 0 1.8rem;
  padding:18px 20px;
  border:1px solid rgba(47, 98, 124, .14);
  border-radius:18px;
  background:linear-gradient(180deg, rgba(250,251,252,.98), rgba(255,255,255,.98));
  box-shadow:0 12px 26px rgba(16,24,40,.04);
}
.homepage-how-it-works h2{
  margin-top:0;
  margin-bottom:.9rem;
  padding-top:0;
}
.homepage-how-it-works h2::after{
  margin-top:.45rem;
}
.homepage-how-it-works__eyebrow,
.homepage-how-it-works__label{
  margin:0 0 .4rem;
  color:var(--muted);
  text-transform:uppercase;
  letter-spacing:.08em;
  font-size:.76rem;
  font-family:Inter, ui-sans-serif, system-ui, sans-serif;
  font-weight:700;
}
.homepage-how-it-works__grid{
  display:grid;
  grid-template-columns:repeat(3, minmax(0, 1fr));
  gap:14px;
}
.homepage-how-it-works__step{
  padding:14px 14px 12px;
  border:1px solid rgba(217,211,201,.9);
  border-radius:14px;
  background:#fff;
}
.homepage-how-it-works__step p:last-child{
  margin-bottom:0;
}
.page--index .route-card-status{
  letter-spacing:.07em;
}
.page--index .route-list-grid--live-states .route-card-status,
.page--index .route-list-grid--proof-trips .route-card-status,
.page--index .route-list-grid--proof-places .route-card-status,
.page--index .route-list-grid--priority-starts .route-card-status{
  background:rgba(47, 98, 124, .10);
}
@media (max-width: 980px) {
  .homepage-how-it-works__grid{
    grid-template-columns:1fr;
  }
}

/* Routeguide homepage front-door confidence pass */
.page--index .mx-home-hero{
  min-height: clamp(520px, 62vw, 680px);
  padding-top: 46px;
  padding-bottom: 38px;
}
.page--index .mx-home-hero__copy{
  max-width: 760px;
}
.page--index .mx-home-hero__copy h1{
  max-width: 11.5ch;
  text-wrap: balance;
}
.page--index .mx-home-hero__dek{
  max-width: 46ch;
  font-size: 20px;
  color: #43576d;
}
.page--index .mx-search--homepage{
  max-width: 860px;
  border-color: rgba(20,72,132,.22);
  box-shadow: 0 20px 40px rgba(24,37,54,.10);
}
.page--index .mx-search--homepage .mx-btn{
  min-width: 160px;
  justify-content: center;
}
.page--index .mx-home-hero__search-note{
  margin: 10px 0 0;
  max-width: 68ch;
  font-size: 13px;
  line-height: 1.55;
  color: #50657b;
  font-weight: 600;
}
.page--index .mx-home-hero__metrics{
  margin-top: 18px;
}
.page--index .mx-home-hero__metric{
  background: rgba(255,255,255,.72);
}
.page--index .mx-home-hero__panel{
  align-items: stretch;
}
.page--index .mx-home-hero__panel-card{
  width: min(100%, 360px);
}
.page--index .homepage-intro-lead{
  max-width: 78ch;
  margin: 0 0 20px;
  font-size: 17px;
  color: #486074;
}
.page--index .homepage-start-shelf{
  margin-top: 0;
  align-items: start;
}
.page--index .homepage-start-shelf__proof,
.page--index .homepage-how-it-works{
  box-shadow: 0 14px 30px rgba(24,37,54,.06);
}
.page--index .homepage-start-shelf__proof h3,
.page--index .homepage-how-it-works h2,
.page--index .route-map-preview__body h3{
  text-wrap: balance;
}
.page--index > .mx-article-surface > h2:first-of-type{
  margin-top: 22px;
}
@media (max-width: 900px){
  .page--index .mx-home-hero{
    min-height: auto;
  }
}
@media (max-width: 700px){
  .page--index .mx-home-hero__search-note{
    font-size: 12px;
  }
  .page--index .mx-search--homepage .mx-btn{
    width: 100%;
  }
}


/* Routeguide homepage visual-confidence finish pass */
.page--index .mx-home-hero__metrics{
  gap: 14px;
}
.page--index .mx-home-hero__metric{
  border-color: rgba(20,72,132,.16);
  box-shadow: 0 14px 28px rgba(24,37,54,.06);
}
.page--index .mx-home-hero__chips{
  gap: 8px;
  max-width: 860px;
  margin-top: 14px;
}
.page--index .mx-home-hero__chips .mx-chip--soft{
  background: rgba(255,255,255,.84);
  border-color: rgba(20,72,132,.14);
  box-shadow: 0 8px 18px rgba(24,37,54,.04);
}
.page--index .mx-home-hero__chips .mx-chip--soft:hover{
  box-shadow: 0 10px 20px rgba(24,37,54,.07);
}
.page--index .homepage-start-shelf{
  gap: 20px;
  margin-bottom: 1.95rem;
}
.page--index .homepage-start-shelf__guide,
.page--index .homepage-start-shelf__proof,
.page--index .route-map-preview{
  position: relative;
}
.page--index .homepage-start-shelf__guide::before,
.page--index .homepage-start-shelf__proof::before,
.page--index .route-map-preview::before{
  content: "";
  position: absolute;
  inset: 0 auto 0 0;
  width: 4px;
  border-radius: 999px;
  background: linear-gradient(180deg, rgba(125,75,43,.92), rgba(45,103,178,.55));
  opacity: .78;
}
.page--index .homepage-start-shelf__guide::before{
  left: -10px;
}
.page--index .homepage-start-shelf__proof::before,
.page--index .route-map-preview::before{
  left: -12px;
}
.page--index .homepage-start-shelf__microcopy{
  margin: 0 0 .7rem;
  font-size: .94rem;
  line-height: 1.55;
  color: #51667b;
}
.page--index .homepage-guide-promo{
  padding: 18px;
}
.page--index .homepage-guide-promo .ebook-demo__body{
  display: grid;
  gap: .18rem;
  align-content: start;
}
.page--index .homepage-guide-promo__actions,
.page--index .homepage-start-shelf__actions,
.page--index .route-map-preview__actions{
  margin-top: 1rem;
}
.page--index .homepage-start-shelf__proof,
.page--index .route-map-preview{
  border-color: rgba(47,98,124,.16);
}
.page--index .route-map-preview{
  gap: 20px;
}
.page--index .route-map-preview__body{
  gap: .28rem;
}
.page--index .route-map-preview__eyebrow{
  letter-spacing: .08em;
}
@media (max-width: 980px) {
  .page--index .homepage-start-shelf__guide::before,
  .page--index .homepage-start-shelf__proof::before,
  .page--index .route-map-preview::before{
    left: 0;
    inset: 0 0 auto 0;
    width: auto;
    height: 4px;
  }
}


/* Routeguide homepage first-screen finish pass */
.page--index .mx-home-hero{
  min-height: clamp(500px, 58vw, 640px);
  padding-top: 40px;
  padding-bottom: 28px;
}
.page--index .mx-home-hero__grid{
  align-items: end;
  gap: 20px;
}
.page--index .mx-home-hero__copy{
  display: grid;
  gap: 12px;
}
.page--index .mx-home-hero__copy > *{
  margin-top: 0;
  margin-bottom: 0;
}
.page--index .mx-home-hero__copy h1{
  max-width: 10.8ch;
}
.page--index .mx-home-hero__dek{
  max-width: 40ch;
  font-size: 18px;
  line-height: 1.48;
}
.page--index .mx-search--homepage{
  max-width: 760px;
  padding: 14px;
  display: grid;
  gap: 10px;
}
.page--index .mx-home-hero__search-label{
  display: block;
  color: #31485d;
  font-size: 13px;
  line-height: 1.45;
  font-weight: 600;
}
.page--index .mx-home-hero__search-row{
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 10px;
  align-items: center;
}
.page--index .mx-search--homepage input{
  min-width: 0;
}
.page--index .mx-home-hero__search-note{
  margin-top: 0;
  max-width: 56ch;
}
.page--index .mx-home-hero__metrics{
  gap: 12px;
}
.page--index .mx-home-hero__metric{
  padding: 14px 14px 13px;
}
.page--index .mx-home-hero__chips{
  gap: 8px;
}
.page--index .mx-home-hero__panel-card{
  padding: 18px 18px 16px;
}
.homepage-start-shelf{
  gap: 16px;
  margin: .95rem 0 1.55rem;
}
.homepage-start-shelf__proof{
  padding: 16px 16px 14px;
}
.homepage-start-shelf__proof h3{
  font-size: 1.28rem;
  line-height: 1.25;
}
.homepage-start-shelf__proof p,
.homepage-start-shelf__list li{
  font-size: .98rem;
  line-height: 1.55;
}
.page--index .homepage-guide-promo{
  gap: 16px;
}
.page--index .homepage-guide-promo .ebook-demo__body{
  display: grid;
  gap: 10px;
}
.page--index .homepage-guide-promo .ebook-demo__body > *{
  margin-top: 0;
  margin-bottom: 0;
}
@media (max-width: 980px) {
  .page--index .mx-home-hero{
    min-height: auto;
    padding-top: 34px;
    padding-bottom: 24px;
  }
  .page--index .mx-home-hero__grid{
    gap: 18px;
  }
  .page--index .mx-home-hero__copy h1{
    max-width: 12ch;
  }
  .page--index .mx-home-hero__panel{
    max-width: 620px;
  }
}
@media (max-width: 760px) {
  .page--index .mx-home-hero{
    padding-top: 28px;
    padding-bottom: 22px;
    background:
      linear-gradient(180deg, rgba(245,248,252,.97) 0%, rgba(245,248,252,.95) 54%, rgba(244,247,251,.76) 100%),
      url('/assets/images/real-galena-main-street.webp') center 36% / cover no-repeat;
  }
  .page--index .mx-home-hero__copy{
    gap: 10px;
  }
  .page--index .mx-home-hero__copy h1{
    max-width: none;
    font-size: clamp(2.1rem, 10vw, 2.9rem);
  }
  .page--index .mx-home-hero__dek{
    max-width: none;
    font-size: 17px;
  }
  .page--index .mx-search--homepage{
    padding: 12px;
    gap: 9px;
  }
  .page--index .mx-home-hero__search-row{
    grid-template-columns: 1fr;
  }
  .page--index .mx-search--homepage .mx-btn{
    width: 100%;
    min-width: 0;
  }
  .page--index .mx-home-hero__metrics{
    grid-template-columns: 1fr;
    gap: 10px;
  }
  .page--index .mx-home-hero__chips{
    gap: 7px;
  }
  .page--index .mx-home-hero__panel-card{
    padding: 16px 16px 14px;
  }
  .homepage-start-shelf{
    margin: .85rem 0 1.35rem;
    gap: 14px;
  }
  .homepage-start-shelf__proof{
    padding: 14px 14px 13px;
    border-radius: 16px;
  }
  .homepage-start-shelf__proof h3{
    font-size: 1.15rem;
  }
  .page--index .homepage-guide-promo{
    gap: 14px;
  }
  .page--index .homepage-guide-promo .ebook-demo__cover{
    max-width: 180px;
    justify-self: start;
  }
  .homepage-guide-promo__actions,
  .homepage-start-shelf__actions{
    gap: 8px;
  }
}


/* Routeguide homepage visual restraint pass */
.page--index .mx-home-hero{
  min-height: clamp(470px, 54vw, 600px);
  padding-top: 34px;
  padding-bottom: 22px;
}
.page--index .mx-home-hero__grid{
  gap: 16px;
  align-items: end;
}
.page--index .mx-home-hero__copy{
  gap: 10px;
}
.page--index .mx-home-hero__copy h1{
  max-width: 10ch;
}
.page--index .mx-home-hero__dek{
  max-width: 37ch;
}
.page--index .mx-search--homepage{
  padding: 12px;
  gap: 8px;
  box-shadow: 0 8px 22px rgba(19, 35, 50, .08);
}
.page--index .mx-home-hero__metrics{
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 10px;
  max-width: 760px;
}
.page--index .mx-home-hero__metric{
  background: rgba(255,255,255,.82);
  border-color: rgba(63, 92, 111, .16);
  box-shadow: 0 8px 18px rgba(20, 35, 48, .06);
}
.page--index .mx-home-hero__chips{
  gap: 7px;
}
.page--index .mx-home-hero__chips .mx-chip--soft{
  background: rgba(255,255,255,.78);
  border-color: rgba(63,92,111,.14);
  color: #355169;
}
.page--index .mx-home-hero__quiet-link{
  margin: 0;
  font-size: .95rem;
}
.page--index .mx-home-hero__quiet-link a{
  color: #355169;
  text-decoration-color: rgba(53,81,105,.32);
}
.page--index .mx-home-hero__panel-card{
  background: linear-gradient(180deg, rgba(45,86,118,.92), rgba(58,95,122,.84));
  box-shadow: 0 12px 28px rgba(28, 52, 71, .14);
}
.page--index .mx-home-hero__panel-card ul{
  display: grid;
  gap: 8px;
}
.homepage-start-shelf{
  margin: .8rem 0 1.35rem;
  gap: 14px;
}
.homepage-start-shelf__proof{
  background: linear-gradient(180deg, rgba(246,249,252,.96), rgba(255,255,255,.94));
  box-shadow: 0 8px 22px rgba(20, 35, 48, .05);
}
.homepage-start-shelf__proof h3{
  font-size: 1.22rem;
}
.homepage-start-shelf__proof p,
.homepage-start-shelf__list li{
  line-height: 1.5;
}
.homepage-start-shelf__actions{
  align-items: center;
}
.homepage-cta--secondary{
  background: rgba(255,255,255,.72);
  color: #355169;
  border-color: rgba(63,92,111,.16);
}
.homepage-cta--quiet{
  padding: 0;
  border: 0;
  background: transparent;
  color: #355169;
  box-shadow: none;
  text-decoration: underline;
  text-decoration-color: rgba(53,81,105,.28);
  text-underline-offset: 0.14em;
}
.homepage-cta--quiet:hover{
  background: transparent;
  color: #21384c;
  box-shadow: none;
  transform: none;
}
@media (max-width: 980px) {
  .page--index .mx-home-hero{
    padding-top: 30px;
    padding-bottom: 20px;
  }
}
@media (max-width: 760px) {
  .page--index .mx-home-hero{
    min-height: auto;
    padding-top: 24px;
    padding-bottom: 18px;
  }
  .page--index .mx-home-hero__metrics{
    grid-template-columns: 1fr;
  }
  .page--index .mx-home-hero__chips{
    gap: 6px;
  }
  .page--index .mx-home-hero__quiet-link{
    font-size: .92rem;
  }
  .homepage-start-shelf{
    margin: .72rem 0 1.2rem;
    gap: 12px;
  }
}

/* Routeguide homepage banner search + scan-speed pass */
.page--index .mx-home-hero{
  margin: -34px -34px 18px;
  padding: 28px;
  border-radius: 18px 18px 24px 24px;
  min-height: auto;
  background:
    linear-gradient(180deg, rgba(13, 24, 36, .22), rgba(13, 24, 36, .52)),
    linear-gradient(90deg, rgba(13, 24, 36, .58) 0%, rgba(13, 24, 36, .28) 46%, rgba(13, 24, 36, .42) 100%),
    url('/assets/images/real-us20-galena-bridge.webp') center 42% / cover no-repeat;
  box-shadow: 0 18px 40px rgba(16,24,40,.10);
}
.page--index .mx-home-hero::before{
  background:
    radial-gradient(720px 280px at 50% 18%, rgba(255,255,255,.12), transparent 58%),
    linear-gradient(180deg, rgba(255,255,255,.05), rgba(255,255,255,0));
}
.page--index .mx-home-hero__banner{
  position: relative;
  z-index: 2;
  display: grid;
  gap: 14px;
  justify-items: center;
  text-align: center;
  max-width: 980px;
  margin: 0 auto;
  padding: 22px 12px 18px;
}
.page--index .mx-home-hero__kicker,
.page--index .mx-home-hero__eyebrow,
.page--index .mx-home-hero__copy,
.page--index .mx-home-hero__chips,
.page--index .mx-search--homepage-banner{
  position: relative;
  z-index: 2;
}
.page--index .mx-home-hero__copy{
  max-width: 780px;
  display: grid;
  gap: 10px;
}
.page--index .mx-home-hero__kicker{
  color: rgba(255,255,255,.92);
  text-shadow: 0 2px 14px rgba(0,0,0,.22);
}
.page--index .mx-home-hero__eyebrow{
  color: rgba(255,255,255,.84);
  font-weight: 700;
}
.page--index .mx-home-hero__copy h1{
  max-width: 13ch;
  margin: 0 auto;
  color: #fff;
  font-size: clamp(2.5rem, 5.8vw, 4.35rem);
  line-height: 1.02;
  text-shadow: 0 4px 28px rgba(0,0,0,.26);
}
.page--index .mx-home-hero__dek{
  max-width: 52ch;
  margin: 0 auto;
  color: rgba(255,255,255,.92);
  font-size: 1.05rem;
  line-height: 1.5;
  text-shadow: 0 2px 18px rgba(0,0,0,.20);
}
.page--index .mx-search--homepage-banner{
  width: min(100%, 860px);
  padding: 12px;
  border: 1px solid rgba(255,255,255,.54);
  border-radius: 22px;
  background: rgba(255,255,255,.94);
  box-shadow: 0 20px 46px rgba(8,15,24,.22);
  backdrop-filter: blur(8px);
}
.page--index .mx-search--homepage-banner .mx-home-hero__search-label{
  display: block;
  margin: 0 0 8px;
  color: #31485d;
  font-size: .82rem;
  line-height: 1.35;
  font-weight: 700;
  text-align: left;
}
.page--index .mx-search--homepage-banner .mx-home-hero__search-row{
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 10px;
  align-items: center;
}
.page--index .mx-search--homepage-banner input{
  min-width: 0;
  height: 58px;
  padding: 0 20px;
  border: 0;
  border-radius: 999px;
  background: #fff;
  font: 600 1rem/1.2 Inter, ui-sans-serif, system-ui, sans-serif;
  color: #1f2328;
  box-shadow: inset 0 0 0 1px rgba(31,35,40,.10);
}
.page--index .mx-search--homepage-banner input::placeholder{
  color: #607182;
}
.page--index .mx-search--homepage-banner .mx-btn{
  min-width: 180px;
  height: 58px;
  padding: 0 24px;
  border-radius: 999px;
  font-weight: 700;
  justify-content: center;
  box-shadow: 0 10px 22px rgba(125,75,43,.20);
}
.page--index .mx-home-hero__chips{
  justify-content: center;
  max-width: 860px;
  margin-top: 2px;
}
.page--index .mx-home-hero__chips .mx-chip--soft{
  background: rgba(255,255,255,.16);
  border-color: rgba(255,255,255,.28);
  color: #fff;
  box-shadow: none;
}
.page--index .mx-home-hero__chips .mx-chip--soft:hover{
  background: rgba(255,255,255,.22);
  color: #fff;
}
.page--index .homepage-intro-lead{
  max-width: 64ch;
  margin: 0 0 16px;
}
.page--index .homepage-section-intro{
  max-width: 66ch;
  margin-top: 0;
}
.page--index .route-list-grid section h3{
  margin-bottom: .42rem;
  line-height: 1.14;
}
.page--index .route-list-grid section h3 a{
  text-decoration: none;
}
.page--index .route-list-grid section h3 a:hover{
  text-decoration: underline;
}
.page--index .route-card-status{
  font-size: .68rem;
  letter-spacing: .06em;
  padding: .26rem .56rem;
  margin-bottom: .55rem;
}
.page--index .route-list-grid--priority-starts{
  margin-top: .15rem;
}
.page--index .route-list-grid--priority-starts .route-card--priority-primary,
.page--index .route-list-grid--priority-starts .route-card--priority-secondary,
.page--index .route-list-grid--priority-starts .route-card--sampler{
  border-color: rgba(47, 98, 124, .24);
  box-shadow: 0 12px 26px rgba(16,24,40,.06);
}
.page--index .route-list-grid--priority-starts .route-card--priority-primary .route-card-status,
.page--index .route-list-grid--priority-starts .route-card--priority-secondary .route-card-status,
.page--index .route-list-grid--priority-starts .route-card--sampler .route-card-status{
  background: rgba(125,75,43,.11);
  color: #6c411f;
}
@media (max-width: 980px) {
  .page--index .mx-home-hero{
    margin: -24px -24px 16px;
    padding: 22px;
  }
}
@media (max-width: 760px) {
  .page--index .mx-home-hero{
    margin: -24px -24px 14px;
    padding: 16px;
    border-radius: 18px;
    background:
      linear-gradient(180deg, rgba(13,24,36,.26), rgba(13,24,36,.58)),
      linear-gradient(180deg, rgba(13,24,36,.18), rgba(13,24,36,.38)),
      url('/assets/images/real-us20-galena-bridge.webp') center 42% / cover no-repeat;
  }
  .page--index .mx-home-hero__banner{
    padding: 16px 0 10px;
    gap: 12px;
  }
  .page--index .mx-home-hero__copy h1{
    max-width: none;
    font-size: clamp(2.2rem, 10vw, 3.3rem);
  }
  .page--index .mx-home-hero__dek{
    font-size: .98rem;
  }
  .page--index .mx-search--homepage-banner{
    padding: 10px;
    border-radius: 18px;
  }
  .page--index .mx-search--homepage-banner .mx-home-hero__search-row{
    grid-template-columns: 1fr;
  }
  .page--index .mx-search--homepage-banner .mx-btn,
  .page--index .mx-search--homepage-banner input{
    width: 100%;
    min-width: 0;
    height: 54px;
  }
}


/* Routeguide homepage banner refinement + scan-speed pass */
.page--index .mx-home-hero{
  min-height: clamp(520px, 56vw, 650px);
  padding-top: 34px;
  padding-bottom: 26px;
  background:
    linear-gradient(180deg, rgba(244,247,251,.18) 0%, rgba(244,247,251,.28) 22%, rgba(244,247,251,.78) 100%),
    linear-gradient(90deg, rgba(18,31,47,.56) 0%, rgba(18,31,47,.36) 30%, rgba(18,31,47,.12) 54%, rgba(18,31,47,.16) 100%),
    url('/assets/images/real-galena-main-street.webp') center 28% / cover no-repeat;
}
.page--index .mx-home-hero::before{
  background:
    linear-gradient(135deg, rgba(255,255,255,.10), transparent 34%),
    radial-gradient(900px 320px at 76% 18%, rgba(124,165,109,.10), transparent 58%),
    radial-gradient(760px 260px at 72% 100%, rgba(45,103,178,.08), transparent 64%);
}
.page--index .mx-home-hero__banner{
  position: relative;
  z-index: 2;
  display: grid;
  gap: 14px;
  align-content: end;
  min-height: clamp(460px, 52vw, 580px);
}
.page--index .mx-home-hero__kicker,
.page--index .mx-home-hero__copy,
.page--index .mx-home-banner-search,
.page--index .mx-home-hero__chips{
  margin-left: auto;
  margin-right: auto;
  width: min(100%, 980px);
}
.page--index .mx-home-hero__copy{
  color: #fff;
  text-align: center;
}
.page--index .mx-home-hero__eyebrow{color: rgba(255,255,255,.82);}
.page--index .mx-home-hero__copy h1{
  max-width: 11.4ch;
  margin-left: auto;
  margin-right: auto;
  color: #fff;
  text-shadow: 0 8px 30px rgba(0,0,0,.24);
}
.page--index .mx-home-hero__dek{
  max-width: 42ch;
  margin-left: auto;
  margin-right: auto;
  color: rgba(255,255,255,.92);
  text-shadow: 0 6px 22px rgba(0,0,0,.18);
}
.page--index .mx-home-banner-search{
  position: relative;
  display: grid;
  gap: 10px;
}
.page--index .mx-home-hero__search-label{
  color: rgba(255,255,255,.94);
  text-align: center;
  font-size: 12px;
  font-weight: 700;
  letter-spacing: .04em;
  text-transform: uppercase;
}
.page--index .mx-home-hero__search-row{
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 12px;
  align-items: center;
  padding: 10px;
  border-radius: 999px;
  background: rgba(255,255,255,.94);
  border: 1px solid rgba(255,255,255,.66);
  box-shadow: 0 22px 42px rgba(12,22,34,.22);
}
.page--index .mx-home-banner-search__input{
  border: 0;
  border-radius: 999px;
  min-height: 56px;
  padding: 0 20px;
  background: transparent;
  box-shadow: none;
  font-size: 17px;
}
.page--index .mx-home-banner-search__input:focus{outline: none;}
.page--index .mx-home-banner-search__button{
  min-height: 56px;
  padding: 0 24px;
  border-radius: 999px;
  font-weight: 700;
  white-space: nowrap;
}
.page--index .mx-home-banner-search__results{
  top: calc(100% + 10px);
  width: min(100%, 980px);
}
.page--index .mx-home-hero__chips{
  justify-content: center;
}
.page--index .homepage-intro-lead{max-width: 64ch;}
.page--index .homepage-section-intro{max-width: 62ch;}
.page--index .route-card-status{letter-spacing: .06em;}
.page--index .route-list-grid .route-card h3{
  line-height: 1.14;
  text-wrap: balance;
}
.page--index .route-list-grid .route-card p:last-child{
  font-size: .98rem;
  line-height: 1.52;
}
@media (max-width: 900px) {
  .page--index .mx-home-hero{
    background:
      linear-gradient(180deg, rgba(18,31,47,.42) 0%, rgba(18,31,47,.28) 32%, rgba(244,247,251,.88) 100%),
      url('/assets/images/real-galena-main-street.webp') center 24% / cover no-repeat;
  }
}
@media (max-width: 760px) {
  .page--index .mx-home-hero{
    min-height: auto;
    padding-top: 26px;
    padding-bottom: 20px;
    background:
      linear-gradient(180deg, rgba(18,31,47,.54) 0%, rgba(18,31,47,.34) 34%, rgba(244,247,251,.92) 100%),
      url('/assets/images/real-galena-main-street.webp') center 22% / cover no-repeat;
  }
  .page--index .mx-home-hero__banner{
    min-height: auto;
    gap: 12px;
  }
  .page--index .mx-home-hero__copy h1{font-size: clamp(2.2rem, 9vw, 3.2rem);}
  .page--index .mx-home-hero__search-row{
    grid-template-columns: 1fr;
    gap: 8px;
    padding: 10px;
    border-radius: 24px;
  }
  .page--index .mx-home-banner-search__input,
  .page--index .mx-home-banner-search__button{
    min-height: 52px;
  }
  .page--index .mx-home-banner-search__button{width: 100%;}
}

/* Routeguide homepage hero lift + subpage text-search relocation pass */
.page--index .mx-article-surface{
  margin-top: 0;
  padding-top: 0;
}
.page--index .mx-home-hero{
  margin-top: -34px;
  min-height: clamp(380px, 44vw, 500px);
  padding-top: 18px;
  padding-bottom: 18px;
  background:
    linear-gradient(180deg, rgba(18,31,47,.42) 0%, rgba(18,31,47,.34) 24%, rgba(244,247,251,.80) 100%),
    linear-gradient(90deg, rgba(18,31,47,.42) 0%, rgba(18,31,47,.18) 40%, rgba(18,31,47,.18) 100%),
    url('/assets/images/real-galena-main-street.webp') center 34% / cover no-repeat;
}
.page--index .mx-home-hero__banner{
  min-height: auto;
  align-content: start;
  gap: 12px;
  padding-top: 10px;
}
.page--index .mx-home-banner-search{
  order: -1;
  width: min(100%, 900px);
  gap: 0;
}
.page--index .mx-home-hero__search-label{
  display: none;
}
.page--index .mx-home-hero__search-row{
  gap: 8px;
  padding: 8px;
  box-shadow: 0 14px 30px rgba(12,22,34,.18);
}
.page--index .mx-home-banner-search__input,
.page--index .mx-home-banner-search__button{
  min-height: 50px;
}
.page--index .mx-home-banner-search__button{
  min-width: 170px;
}
.page--index .mx-home-hero__copy{
  max-width: 760px;
}
.page--index .mx-home-hero__copy h1{
  max-width: 12ch;
}
.page--index .mx-home-hero__dek{
  max-width: 46ch;
}
.page--index .mx-home-hero__chips{
  margin-top: 0;
}

.mx-page-cover{
  align-items: start;
  row-gap: 18px;
}
.mx-search--page-cover{
  grid-column: 1 / -1;
  position: relative;
  z-index: 2;
  margin: -6px 0 4px;
}
.mx-search__row--page-cover{
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 8px;
  align-items: center;
  padding: 8px;
  border-radius: 999px;
  background: rgba(255,255,255,.96);
  border: 1px solid rgba(220,229,238,.96);
  box-shadow: 0 14px 28px rgba(24,37,54,.08);
}
.mx-search__input--page-cover{
  min-width: 0;
  min-height: 50px;
  padding: 0 18px;
  border: 0;
  border-radius: 999px;
  background: transparent;
  box-shadow: none;
  font: 600 1rem/1.2 Inter, ui-sans-serif, system-ui, sans-serif;
}
.mx-search__input--page-cover:focus{
  outline: none;
}
.mx-search__button--page-cover{
  min-height: 50px;
  padding: 0 22px;
  border-radius: 999px;
  font-weight: 700;
  white-space: nowrap;
}
.mx-search__results--page-cover{
  top: calc(100% + 8px);
}

@media (max-width: 760px) {
  .page--index .mx-home-hero{
    margin-top: -24px;
    min-height: auto;
    padding-top: 14px;
    padding-bottom: 16px;
    background:
      linear-gradient(180deg, rgba(18,31,47,.52) 0%, rgba(18,31,47,.34) 28%, rgba(244,247,251,.90) 100%),
      url('/assets/images/real-galena-main-street.webp') center 32% / cover no-repeat;
  }
  .page--index .mx-home-hero__banner{
    padding-top: 4px;
  }
  .page--index .mx-home-hero__search-row,
  .mx-search__row--page-cover{
    grid-template-columns: 1fr;
    border-radius: 24px;
  }
  .page--index .mx-home-banner-search__button,
  .mx-search__button--page-cover{
    width: 100%;
  }
}


/* Routeguide homepage hero-to-top correction pass */
.page--index{
  padding-top: 0;
}
.page--index .mx-home-hero{
  margin: -34px -34px 0;
  border-radius: 22px 22px 0 0;
}
.page--index .mx-home-hero__banner{
  justify-content: end;
  min-height: clamp(380px, 44vw, 500px);
}
.page--index .mx-home-banner-search{
  order: 0;
  margin-top: 10px;
  width: min(100%, 840px);
}
.page--index .mx-home-hero__search-row{
  grid-template-columns: minmax(0, 1fr) auto;
}
.page--index .mx-article-surface{
  margin-top: 0;
  border-top-left-radius: 0;
  border-top-right-radius: 0;
}
.page--index .mx-article-surface > :first-child{
  margin-top: 26px;
}
@media (max-width: 1090px){
  .page--index .mx-home-hero{
    margin-left: -18px;
    margin-right: -18px;
    margin-top: -18px;
  }
}
@media (max-width: 760px){
  .page--index .mx-home-hero{
    margin-top: -18px;
    border-radius: 18px 18px 0 0;
  }
  .page--index .mx-home-banner-search{
    width: 100%;
    margin-top: 8px;
  }
}


/* Route20RoadTrip cleanup after removing inherited Routeguide hero-banner band */
.page--index{
  padding-top:0;
}
.page--index::before{
  content:none !important;
  display:none !important;
}
.page--index .mx-home-hero{
  margin-top:0;
}

/* Routeguide subpage AI tools + white-surface + nav search polish */
body,
.mx-masthead,
.mx-footer,
.page,
.mx-article-surface,
.route-list-grid > section,
.route-map-preview,
.page--credits table,
.homepage-start-shelf__guide,
.homepage-start-shelf__proof,
.homepage-how-it-works__step,
.homepage-guide-promo,
.mx-page-cover,
.mx-page-cover__visual-card {
  background: #fff;
}

body {
  background: #fff;
}

.mx-masthead {
  background: rgba(255,255,255,.96);
  backdrop-filter: blur(12px);
  border-bottom: 1px solid rgba(222,227,233,.95);
}

.mx-footer {
  background: #fff;
  border-top: 1px solid rgba(222,227,233,.95);
}

.mx-article-surface {
  background: #fff;
  border: 1px solid rgba(222,227,233,.95);
  box-shadow: 0 10px 28px rgba(17, 24, 39, .05);
}

.route-list-grid > section,
.route-map-preview,
.page--credits table,
.homepage-guide-promo,
.homepage-how-it-works__step,
.homepage-start-shelf__proof {
  background: #fff;
}

.mx-page-tools {
  display: grid;
  gap: 12px;
  margin: 0 0 20px;
}

.mx-search--page-ai {
  margin: 0;
  width: 100%;
  max-width: none;
  padding: 10px 10px 10px 14px;
  border-radius: 18px;
  background: #fff;
  border: 1px solid rgba(45,103,178,.16);
  box-shadow: 0 8px 20px rgba(17, 24, 39, .05);
}

.mx-search--page-ai input {
  flex: 1;
  min-width: 0;
}

.mx-section--page-tools {
  margin: 0;
  padding-top: 0;
}

.mx-chips--page-tools {
  justify-content: flex-start;
  margin-top: 0;
}

.mx-chip-label {
  text-align: left;
  margin-bottom: 6px;
}

.mx-page-cover {
  margin-top: 0;
  background: #fff;
  border: 1px solid rgba(222,227,233,.95);
  box-shadow: 0 10px 28px rgba(17, 24, 39, .04);
}

.mx-page-cover__visual-card {
  border: 1px solid rgba(222,227,233,.95);
  box-shadow: 0 8px 22px rgba(17, 24, 39, .04);
}

.mx-nav-tools {
  display: flex;
  align-items: center;
  justify-content: flex-end;
  gap: 14px;
  flex: 1;
  min-width: 0;
}

.nav {
  align-items: center;
  flex-wrap: nowrap;
}

.nav a {
  white-space: nowrap;
}

.mx-nav-ai {
  display: inline-flex !important;
  align-items: center;
  gap: 8px;
  padding: 10px 14px !important;
  border-radius: 999px !important;
  border: 1px solid rgba(45,103,178,.22) !important;
  background: linear-gradient(180deg, rgba(231,244,248,.96), rgba(219,240,245,.96)) !important;
  box-shadow: 0 2px 0 rgba(255,255,255,.7) inset;
}

.mx-nav-ai::before {
  content: "✦";
  font-size: 12px;
  line-height: 1;
  color: #2b6f84;
}

.mx-nav-ai.is-active,
.mx-nav-ai:hover {
  border-color: rgba(45,103,178,.3) !important;
  background: linear-gradient(180deg, rgba(223,241,246,.98), rgba(208,234,241,.98)) !important;
}

.mx-nav-search {
  position: relative;
  display: block;
  width: min(230px, 100%);
  flex: 0 0 min(230px, 100%);
}

.mx-nav-search__controls {
  display: flex;
  align-items: center;
  gap: 8px;
  border: 1px solid rgba(17,24,39,.12);
  border-radius: 999px;
  background: #fff;
  padding: 4px;
  box-shadow: 0 1px 0 rgba(255,255,255,.75) inset;
}

.mx-nav-search__input {
  border: 0;
  background: transparent;
  padding: 8px 12px;
  min-width: 0;
  font-size: .95rem;
}

.mx-nav-search__input:focus {
  outline: none;
}

.mx-nav-search__button {
  border-radius: 999px;
  padding: 8px 12px;
  background: #f3f6f8;
  color: #1f2937;
  border: 1px solid rgba(17,24,39,.08);
}

.mx-nav-search__button:hover {
  background: #eaf0f3;
}

.mx-nav-search__results {
  top: calc(100% + 8px);
}

@media (max-width: 1180px) {
  .mx-masthead-inner {
    align-items: flex-start;
  }

  .mx-nav-tools {
    flex-direction: column;
    align-items: stretch;
    gap: 10px;
  }

  .nav {
    flex-wrap: wrap;
    justify-content: flex-end;
  }

  .mx-nav-search {
    width: 100%;
    flex-basis: auto;
  }
}

@media (max-width: 700px) {
  .mx-search--page-ai {
    display: grid;
    gap: 10px;
  }

  .mx-nav-search__controls {
    width: 100%;
  }
}


/* Routeguide subpage AI tools + white-surface + nav search polish */
body,
.mx-masthead,
.mx-footer,
.page,
.mx-article-surface,
.route-list-grid > section,
.route-map-preview,
.page--credits table,
.homepage-start-shelf__guide,
.homepage-start-shelf__proof,
.homepage-how-it-works__step,
.homepage-guide-promo,
.mx-page-cover,
.mx-page-cover__visual-card {
  background: #fff;
}

body {
  background: #fff;
}

.mx-masthead {
  background: rgba(255,255,255,.96);
  backdrop-filter: blur(12px);
  border-bottom: 1px solid rgba(222,227,233,.95);
}

.mx-footer {
  background: #fff;
  border-top: 1px solid rgba(222,227,233,.95);
}

.mx-article-surface {
  background: #fff;
  border: 1px solid rgba(222,227,233,.95);
  box-shadow: 0 10px 28px rgba(17, 24, 39, .05);
}

.route-list-grid > section,
.route-map-preview,
.page--credits table,
.homepage-guide-promo,
.homepage-how-it-works__step,
.homepage-start-shelf__proof {
  background: #fff;
}

.mx-page-tools {
  display: grid;
  gap: 12px;
  margin: 0 0 20px;
}

.mx-search--page-ai {
  margin: 0;
  width: 100%;
  max-width: none;
  padding: 10px 10px 10px 14px;
  border-radius: 18px;
  background: #fff;
  border: 1px solid rgba(45,103,178,.16);
  box-shadow: 0 8px 20px rgba(17, 24, 39, .05);
}

.mx-search--page-ai input {
  flex: 1;
  min-width: 0;
}

.mx-section--page-tools {
  margin: 0;
  padding-top: 0;
}

.mx-chips--page-tools {
  justify-content: flex-start;
  margin-top: 0;
}

.mx-chip-label {
  text-align: left;
  margin-bottom: 6px;
}

.mx-page-cover {
  margin-top: 0;
  background: #fff;
  border: 1px solid rgba(222,227,233,.95);
  box-shadow: 0 10px 28px rgba(17, 24, 39, .04);
}

.mx-page-cover__visual-card {
  border: 1px solid rgba(222,227,233,.95);
  box-shadow: 0 8px 22px rgba(17, 24, 39, .04);
}

.mx-nav-tools {
  display: flex;
  align-items: center;
  justify-content: flex-end;
  gap: 14px;
  flex: 1;
  min-width: 0;
}

.nav {
  align-items: center;
  flex-wrap: nowrap;
}

.nav a {
  white-space: nowrap;
}

.mx-nav-ai {
  display: inline-flex !important;
  align-items: center;
  gap: 8px;
  padding: 10px 14px !important;
  border-radius: 999px !important;
  border: 1px solid rgba(45,103,178,.22) !important;
  background: linear-gradient(180deg, rgba(231,244,248,.96), rgba(219,240,245,.96)) !important;
  box-shadow: 0 2px 0 rgba(255,255,255,.7) inset;
}

.mx-nav-ai::before {
  content: "✦";
  font-size: 12px;
  line-height: 1;
  color: #2b6f84;
}

.mx-nav-ai.is-active,
.mx-nav-ai:hover {
  border-color: rgba(45,103,178,.3) !important;
  background: linear-gradient(180deg, rgba(223,241,246,.98), rgba(208,234,241,.98)) !important;
}

.mx-nav-search {
  position: relative;
  display: block;
  width: min(230px, 100%);
  flex: 0 0 min(230px, 100%);
}

.mx-nav-search__controls {
  display: flex;
  align-items: center;
  gap: 8px;
  border: 1px solid rgba(17,24,39,.12);
  border-radius: 999px;
  background: #fff;
  padding: 4px;
  box-shadow: 0 1px 0 rgba(255,255,255,.75) inset;
}

.mx-nav-search__input {
  border: 0;
  background: transparent;
  padding: 8px 12px;
  min-width: 0;
  font-size: .95rem;
}

.mx-nav-search__input:focus {
  outline: none;
}

.mx-nav-search__button {
  border-radius: 999px;
  padding: 8px 12px;
  background: #f3f6f8;
  color: #1f2937;
  border: 1px solid rgba(17,24,39,.08);
}

.mx-nav-search__button:hover {
  background: #eaf0f3;
}

.mx-nav-search__results {
  top: calc(100% + 8px);
}

@media (max-width: 1180px) {
  .mx-masthead-inner {
    align-items: flex-start;
  }

  .mx-nav-tools {
    flex-direction: column;
    align-items: stretch;
    gap: 10px;
  }

  .nav {
    flex-wrap: wrap;
    justify-content: flex-end;
  }

  .mx-nav-search {
    width: 100%;
    flex-basis: auto;
  }
}

@media (max-width: 700px) {
  .mx-search--page-ai {
    display: grid;
    gap: 10px;
  }

  .mx-nav-search__controls {
    width: 100%;
  }
}

/* Routeguide white-flow + floating subpage AI search pass */
body,
.page,
.mx-article-surface,
.mx-footer,
.mx-page-cover,
.mx-page-cover__visual-card,
.route-map-preview,
.route-map-overview,
.route-map-overview__figure,
.route-map-preview__media,
.route-list-grid > section,
.ebook-demo,
.homepage-guide-promo,
.homepage-start-shelf__guide,
.homepage-start-shelf__proof,
.homepage-how-it-works__step,
.route-map-block,
.grid-links a,
.page--credits table,
.page--credits th,
.page--credits td {
  background: #fff;
}

.page,
.mx-article-surface,
.mx-page-cover,
.mx-page-cover__visual-card,
.route-map-preview,
.route-map-overview,
.route-map-overview__figure,
.route-map-preview__media,
.route-list-grid > section,
.ebook-demo,
.homepage-guide-promo,
.homepage-start-shelf__guide,
.homepage-start-shelf__proof,
.homepage-how-it-works__step,
.route-map-block,
.grid-links a,
.page--credits table,
.page--credits th,
.page--credits td {
  border: 0;
  box-shadow: none;
}

.page {
  border-radius: 0;
}

.mx-article-surface {
  padding-top: 0;
}

.page--index .mx-article-surface > :first-child,
.page--index .mx-article-surface > p:first-child {
  margin-top: 0;
  padding-top: 26px;
}

.route-list-grid,
.homepage-start-shelf,
.homepage-how-it-works__grid,
.route-map-preview,
.route-map-overview,
.ebook-demo,
.route-map-block {
  gap: 18px;
}

.mx-page-tools {
  justify-items: center;
  gap: 12px;
  margin: 8px 0 22px;
}

.mx-search--page-ai {
  width: min(100%, 1160px);
  padding: 8px;
  border: 0;
  border-radius: 999px;
  background: rgba(255,255,255,.98);
  box-shadow: 0 18px 42px rgba(15, 23, 42, .10);
}

.mx-search--page-ai input {
  padding-left: 18px;
}

.mx-section--page-tools {
  width: 100%;
  justify-items: center;
  text-align: center;
}

.mx-chip-label {
  text-align: center;
  margin: 0 0 8px;
}

.mx-chips--page-tools {
  justify-content: center;
  gap: 10px;
}

.mx-page-cover {
  margin-top: 6px;
}

@media (max-width: 700px) {
  .mx-page-tools {
    margin-top: 4px;
  }

  .mx-search--page-ai {
    border-radius: 24px;
    width: 100%;
  }

  .mx-section--page-tools {
    justify-items: stretch;
  }

  .mx-chip-label {
    text-align: center;
  }

  .mx-chips--page-tools {
    justify-content: center;
  }
}


/* Routeguide full-width subpages + masthead width/order pass */
.mx-masthead .container,
body.page-layout-wide .mx-masthead .container {
  max-width: min(1480px, calc(100vw - 40px));
}

.mx-masthead-inner {
  display: grid;
  grid-template-columns: auto minmax(240px, 340px) 1fr;
  align-items: center;
  gap: 18px;
}

.mx-nav-search {
  order: 0;
  width: 100%;
  min-width: 0;
  flex: initial;
}

.nav {
  justify-content: flex-end;
  min-width: 0;
}

.page--segments-galena-stockton-corridor,
.page--segments-galena-western-gateway,
.page--segments-freeport-stephenson-county,
.page--segments-freeport-rockford-corridor,
.page--segments-chicago-approach,
.page--segments-northwest-illinois,
.page--segments-cazenovia-skaneateles-auburn,
.page--segments-sharon-springs-cherry-valley-duanesburg,
.page--segments-norwalk-oberlin-geneva,
.page--segments-erie-north-east-corridor,
.page--places-galena,
.page--places-elizabeth,
.page--places-woodbine,
.page--places-stockton,
.page--places-warren,
.page--places-lena,
.page--places-freeport,
.page--places-east-dubuque,
.page--places-rockford,
.page--places-skaneateles,
.page--places-cazenovia,
.page--places-auburn,
.page--places-seneca-falls,
.page--places-sharon-springs,
.page--places-cherry-valley,
.page--places-duanesburg,
.page--places-cooperstown,
.page--places-oberlin,
.page--places-norwalk,
.page--places-geneva,
.page--places-geneva-on-the-lake,
.page--places-erie,
.page--places-north-east,
.page--places-girard,
.page--trips-galena-freeport-one-day-sampler,
.page--trips-weekend-historic-route-20-jo-daviess-stephenson,
.page--trips-central-new-york-route-20-weekend,
.page--trips-eastern-new-york-route-20-weekend,
.page--trips-ohio-western-reserve-route-20-weekend,
.page--trips-pennsylvania-lake-erie-route-20-weekend {
  max-width: none;
}

@media (max-width: 1180px) {
  .mx-masthead-inner {
    grid-template-columns: 1fr;
    align-items: stretch;
  }

  .mx-nav-search {
    width: 100%;
  }

  .nav {
    justify-content: flex-start;
    flex-wrap: wrap;
  }
}


/* ACT: full-width all pages + shorter nav search + AI page hero removal + homepage search results overflow */
body.page-layout-wide main.container {
  max-width: min(1480px, calc(100vw - 40px));
}

.page.page--wide {
  max-width: none;
}

.mx-masthead .container,
body.page-layout-wide .mx-masthead .container {
  max-width: min(1480px, calc(100vw - 40px));
}

.mx-masthead-inner {
  grid-template-columns: auto minmax(150px, 220px) 1fr;
  gap: 16px;
}

.mx-nav-search {
  max-width: 220px;
}

.mx-nav-search__controls {
  gap: 8px;
}

.mx-nav-search__input {
  min-width: 0;
}

.page--index .mx-home-hero,
.page--index .mx-home-hero__banner,
.page--index .mx-home-banner-search {
  overflow: visible;
}

.page--index .mx-home-banner-search {
  position: relative;
  z-index: 8;
}

.page--index .mx-home-banner-search__results,
.page--index .site-search__results {
  z-index: 30;
  max-height: min(60vh, 520px);
  overflow: auto;
}

body.page-layout-ai main.container {
  max-width: min(1480px, calc(100vw - 40px));
}

.page--ai .mx-ai-topbar {
  margin-top: 8px;
}

@media (max-width: 1180px) {
  .mx-masthead-inner {
    grid-template-columns: 1fr;
    gap: 12px;
  }

  .mx-nav-search {
    max-width: 260px;
  }

  .nav {
    justify-content: flex-start;
  }
}

@media (max-width: 700px) {
  body.page-layout-wide main.container,
  body.page-layout-ai main.container,
  .mx-masthead .container,
  body.page-layout-wide .mx-masthead .container {
    max-width: 100%;
  }

  .mx-nav-search {
    max-width: 100%;
  }
}

/* Route 20 real-photo fallback placeholder pass */
.mx-page-cover--regions .mx-page-cover__visual-card,
.mx-page-cover--segments .mx-page-cover__visual-card,
.mx-page-cover--places .mx-page-cover__visual-card,
.mx-page-cover--trips .mx-page-cover__visual-card,
.mx-page-cover--corridor .mx-page-cover__visual-card{
  background-image:
    linear-gradient(180deg, rgba(19,35,55,.10), rgba(19,35,55,.26)),
    url('/assets/images/route20-real-placeholder.webp');
  background-position:center center;
  background-size:cover;
}

.route-card--state:not([class*="route-card--feature-"])::before,
.route-card--segment:not([class*="route-card--feature-"])::before,
.route-card--place:not([class*="route-card--feature-"])::before,
.route-card--trip:not([class*="route-card--feature-"])::before,
.route-card--corridor:not([class*="route-card--feature-"])::before,
.route-card.route-card--sampler:not([class*="route-card--feature-"])::before{
  background-image:
    linear-gradient(180deg, rgba(19,35,55,.08), rgba(19,35,55,.24)),
    url('/assets/images/route20-real-placeholder.webp');
  background-position:center center;
  background-size:cover;
}

/* Routeguide image assignment consolidation pass */
.mx-page-cover__visual-card{
  position: relative;
  overflow: hidden;
}

.mx-page-cover__visual-card::after{
  content:"";
  position:absolute;
  inset:0;
  background:linear-gradient(180deg, rgba(10,22,36,.08), rgba(10,22,36,.20) 48%, rgba(10,22,36,.34));
  pointer-events:none;
}

.mx-page-cover__visual-card > *{
  position:relative;
  z-index:1;
}

.route-card--state:not([class*="route-card--feature-"])::before,
.route-card--segment:not([class*="route-card--feature-"])::before,
.route-card--place:not([class*="route-card--feature-"])::before,
.route-card--trip:not([class*="route-card--feature-"])::before,
.route-card--corridor:not([class*="route-card--feature-"])::before,
.route-card.route-card--sampler:not([class*="route-card--feature-"])::before{
  background-position:center 46%;
}

/* Galena / Northwest Illinois family */
.page--regions-illinois .mx-page-cover__visual-card,
.route-card--feature-illinois::before,
.page--regions-iowa-driftless-upper-mississippi-approach .mx-page-cover__visual-card,
.page--regions-mississippi-gateway-western-approach .mx-page-cover__visual-card,
.page--places-east-dubuque .mx-page-cover__visual-card,
.page--places-woodbine .mx-page-cover__visual-card{
  background-image:
    linear-gradient(180deg, rgba(19,35,55,.08), rgba(19,35,55,.24)),
    url('/assets/images/real-us20-galena-bridge.webp');
  background-position:center 52%;
}

.page--regions-northwest-illinois .mx-page-cover__visual-card,
.page--segments-galena-western-gateway .mx-page-cover__visual-card{
  background-image:
    linear-gradient(180deg, rgba(19,35,55,.08), rgba(19,35,55,.24)),
    url('/assets/images/real-us20-galena-bridge.webp');
  background-position:center 54%;
}

.page--segments-northwest-illinois .mx-page-cover__visual-card,
.page--trips-weekend-historic-route-20-jo-daviess-stephenson .mx-page-cover__visual-card{
  background-image:
    linear-gradient(180deg, rgba(19,35,55,.08), rgba(19,35,55,.22)),
    url('/assets/images/real-galena-main-street.webp');
  background-position:center 40%;
}

.page--segments-galena-stockton-corridor .mx-page-cover__visual-card,
.route-card--feature-galena-segment::before,
.page--places-elizabeth .mx-page-cover__visual-card{
  background-image:
    linear-gradient(180deg, rgba(19,35,55,.08), rgba(19,35,55,.24)),
    url('/assets/images/real-galena-downtown.webp');
  background-position:center 46%;
}

.page--places-galena .mx-page-cover__visual-card,
.route-card--feature-galena-place::before{
  background-image:
    linear-gradient(180deg, rgba(19,35,55,.10), rgba(19,35,55,.28)),
    url('/assets/images/real-galena-building.webp');
  background-position:center 48%;
}

.page--trips-galena-freeport-one-day-sampler .mx-page-cover__visual-card,
.route-card--feature-galena-freeport-trip::before{
  background-image:
    linear-gradient(180deg, rgba(19,35,55,.08), rgba(19,35,55,.22)),
    url('/assets/images/real-galena-main-street.webp');
  background-position:center 42%;
}

/* Freeport / Illinois support family */
.page--segments-freeport-stephenson-county .mx-page-cover__visual-card,
.page--segments-freeport-rockford-corridor .mx-page-cover__visual-card,
.page--places-freeport .mx-page-cover__visual-card,
.page--places-lena .mx-page-cover__visual-card,
.page--places-rockford .mx-page-cover__visual-card{
  background-image:
    linear-gradient(180deg, rgba(19,35,55,.10), rgba(19,35,55,.28)),
    url('/assets/images/real-freeport-library.webp');
  background-position:center 46%;
}

.page--places-stockton .mx-page-cover__visual-card{
  background-image:
    linear-gradient(180deg, rgba(19,35,55,.10), rgba(19,35,55,.28)),
    url('/assets/images/real-stockton-townsend-house.webp');
  background-position:center 48%;
}

.page--places-warren .mx-page-cover__visual-card{
  background-image:
    linear-gradient(180deg, rgba(19,35,55,.10), rgba(19,35,55,.28)),
    url('/assets/images/real-us20-warren-ny.webp');
  background-position:center 52%;
}

/* Western New York family */
.page--regions-western-new-york-lake-erie-corridor .mx-page-cover__visual-card,
.page--segments-westfield-fredonia-silver-creek .mx-page-cover__visual-card,
.page--places-westfield .mx-page-cover__visual-card{
  background-image:
    linear-gradient(180deg, rgba(19,35,55,.08), rgba(19,35,55,.24)),
    url('/assets/images/real-wesleyville-us20.webp');
  background-position:center 52%;
}

.page--trips-western-new-york-lake-erie-route-20-weekend .mx-page-cover__visual-card,
.page--places-silver-creek .mx-page-cover__visual-card{
  background-image:
    linear-gradient(180deg, rgba(19,35,55,.08), rgba(19,35,55,.24)),
    url('/assets/images/real-north-east-main-street.webp');
  background-position:center 48%;
}

.page--places-fredonia .mx-page-cover__visual-card{
  background-image:
    linear-gradient(180deg, rgba(19,35,55,.10), rgba(19,35,55,.30)),
    url('/assets/images/real-erie-state-street.webp');
  background-position:center 42%;
}


/* Western Finger Lakes family */
.page--regions-western-finger-lakes-avon-canandaigua .mx-page-cover__visual-card,
.page--segments-avon-lima-east-bloomfield .mx-page-cover__visual-card,
.page--places-avon .mx-page-cover__visual-card,
.page--places-lima .mx-page-cover__visual-card{
  background-image:
    linear-gradient(180deg, rgba(19,35,55,.08), rgba(19,35,55,.24)),
    url('/assets/images/real-cazenovia-downtown.webp');
  background-position:center 52%;
}

.page--trips-western-finger-lakes-route-20-weekend .mx-page-cover__visual-card,
.page--places-canandaigua .mx-page-cover__visual-card{
  background-image:
    linear-gradient(180deg, rgba(19,35,55,.08), rgba(19,35,55,.24)),
    url('/assets/images/real-skaneateles-village.webp');
  background-position:center 48%;
}

.page--places-east-bloomfield .mx-page-cover__visual-card{
  background-image:
    linear-gradient(180deg, rgba(19,35,55,.10), rgba(19,35,55,.30)),
    url('/assets/images/real-auburn-genesee-street.webp');
  background-position:center 42%;
}

/* Central New York family */
.page--regions-new-york .mx-page-cover__visual-card,
.route-card--feature-new-york-state::before,
.page--trips-central-new-york-route-20-weekend .mx-page-cover__visual-card,
.route-card--feature-central-new-york-trip::before,
.page--places-cazenovia .mx-page-cover__visual-card{
  background-image:
    linear-gradient(180deg, rgba(19,35,55,.08), rgba(19,35,55,.24)),
    url('/assets/images/real-cazenovia-downtown.webp');
  background-position:center 52%;
}

.page--segments-cazenovia-skaneateles-auburn .mx-page-cover__visual-card,
.route-card--feature-new-york-segment::before,
.page--places-auburn .mx-page-cover__visual-card{
  background-image:
    linear-gradient(180deg, rgba(19,35,55,.08), rgba(19,35,55,.24)),
    url('/assets/images/real-auburn-genesee-street.webp');
  background-position:center 48%;
}

.page--places-skaneateles .mx-page-cover__visual-card,
.route-card--feature-skaneateles-place::before{
  background-image:
    linear-gradient(180deg, rgba(19,35,55,.10), rgba(19,35,55,.30)),
    url('/assets/images/real-skaneateles-village.webp');
  background-position:center center;
}

.page--regions-finger-lakes-seneca-falls .mx-page-cover__visual-card,
.page--places-seneca-falls .mx-page-cover__visual-card,
.route-card--feature-seneca-falls::before{
  background-image:
    linear-gradient(180deg, rgba(19,35,55,.10), rgba(19,35,55,.28)),
    url('/assets/images/real-seneca-falls-bedford-sign.webp');
  background-position:center 36%;
}

/* Eastern New York family */
.page--regions-eastern-new-york-capital-region-approach .mx-page-cover__visual-card,
.route-card--feature-eastern-new-york-region::before,
.page--regions-new-england-gateway .mx-page-cover__visual-card,
.page--places-duanesburg .mx-page-cover__visual-card{
  background-image:
    linear-gradient(180deg, rgba(19,35,55,.08), rgba(19,35,55,.24)),
    url('/assets/images/real-eastern-ny-route20.webp');
  background-position:center 50%;
}

.route-card--feature-eastern-new-york-region::before{
  background-position:center 54%;
}

.page--segments-sharon-springs-cherry-valley-duanesburg .mx-page-cover__visual-card,
.route-card--feature-eastern-new-york-segment::before{
  background-image:
    linear-gradient(180deg, rgba(19,35,55,.08), rgba(19,35,55,.24)),
    url('/assets/images/real-sharon-springs-us20.webp');
  background-position:center 50%;
}

.page--places-sharon-springs .mx-page-cover__visual-card,
.route-card--feature-sharon-springs-place::before,
.page--places-cherry-valley .mx-page-cover__visual-card{
  background-image:
    linear-gradient(180deg, rgba(19,35,55,.10), rgba(19,35,55,.28)),
    url('/assets/images/real-sharon-springs-downtown.webp');
  background-position:center 50%;
}

.page--places-cherry-valley .mx-page-cover__visual-card{
  background-position:center 44%;
}

.page--trips-eastern-new-york-route-20-weekend .mx-page-cover__visual-card,
.route-card--feature-eastern-new-york-trip::before{
  background-image:
    linear-gradient(180deg, rgba(19,35,55,.08), rgba(19,35,55,.24)),
    url('/assets/images/real-cooperstown-main-street.webp');
  background-position:center 48%;
}

.page--places-cooperstown .mx-page-cover__visual-card,
.route-card--feature-cooperstown::before{
  background-image:
    linear-gradient(180deg, rgba(19,35,55,.08), rgba(19,35,55,.24)),
    url('/assets/images/real-cooperstown-post-office.webp');
  background-position:center 48%;
}

/* Ohio family */
.page--regions-ohio .mx-page-cover__visual-card,
.route-card--feature-ohio-state::before{
  background-image:
    linear-gradient(180deg, rgba(19,35,55,.08), rgba(19,35,55,.24)),
    url('/assets/images/real-avon-us20.webp');
  background-position:center 56%;
}

.page--regions-ohio-western-reserve .mx-page-cover__visual-card,
.page--places-norwalk .mx-page-cover__visual-card,
.page--regions-northern-illinois-chicago-approach .mx-page-cover__visual-card,
.page--segments-chicago-approach .mx-page-cover__visual-card{
  background-image:
    linear-gradient(180deg, rgba(19,35,55,.10), rgba(19,35,55,.26)),
    url('/assets/images/real-avon-us20.webp');
  background-position:center 50%;
}

.page--segments-norwalk-oberlin-geneva .mx-page-cover__visual-card,
.route-card--feature-ohio-segment::before{
  background-image:
    linear-gradient(180deg, rgba(19,35,55,.08), rgba(19,35,55,.24)),
    url('/assets/images/real-oberlin-downtown.webp');
  background-position:center 50%;
}

.page--places-oberlin .mx-page-cover__visual-card,
.route-card--feature-oberlin-place::before{
  background-image:
    linear-gradient(180deg, rgba(19,35,55,.10), rgba(19,35,55,.30)),
    url('/assets/images/real-oberlin-lewis-center.webp');
  background-position:center center;
}

.page--trips-ohio-western-reserve-route-20-weekend .mx-page-cover__visual-card,
.route-card--feature-ohio-trip::before,
.page--places-geneva .mx-page-cover__visual-card{
  background-image:
    linear-gradient(180deg, rgba(19,35,55,.08), rgba(19,35,55,.24)),
    url('/assets/images/real-geneva-main-street.webp');
  background-position:center center;
}

.page--places-geneva .mx-page-cover__visual-card{
  background-position:center 46%;
}

.page--places-geneva-on-the-lake .mx-page-cover__visual-card,
.route-card--feature-geneva-on-the-lake::before{
  background-image:
    linear-gradient(180deg, rgba(19,35,55,.08), rgba(19,35,55,.24)),
    url('/assets/images/real-geneva-on-the-lake-lighthouse.webp');
  background-position:center 46%;
}

/* Pennsylvania family */
.page--regions-pennsylvania .mx-page-cover__visual-card,
.route-card--feature-pennsylvania-state::before,
.page--regions-pennsylvania-lake-erie-corridor .mx-page-cover__visual-card{
  background-image:
    linear-gradient(180deg, rgba(19,35,55,.08), rgba(19,35,55,.24)),
    url('/assets/images/real-wesleyville-us20.webp');
  background-position:center center;
}

.page--regions-pennsylvania-lake-erie-corridor .mx-page-cover__visual-card{
  background-position:center 52%;
}

.page--segments-erie-north-east-corridor .mx-page-cover__visual-card,
.route-card--feature-pennsylvania-segment::before,
.page--places-girard .mx-page-cover__visual-card{
  background-image:
    linear-gradient(180deg, rgba(19,35,55,.10), rgba(19,35,55,.28)),
    url('/assets/images/real-girard-main-street.webp');
  background-position:center 46%;
}

.page--places-erie .mx-page-cover__visual-card,
.route-card--feature-erie-place::before{
  background-image:
    linear-gradient(180deg, rgba(19,35,55,.10), rgba(19,35,55,.30)),
    url('/assets/images/real-erie-state-street.webp');
  background-position:center 38%;
}

.page--trips-pennsylvania-lake-erie-route-20-weekend .mx-page-cover__visual-card,
.route-card--feature-pennsylvania-trip::before,
.page--places-north-east .mx-page-cover__visual-card{
  background-image:
    linear-gradient(180deg, rgba(19,35,55,.08), rgba(19,35,55,.24)),
    url('/assets/images/real-north-east-main-street.webp');
  background-position:center center;
}

.page--places-north-east .mx-page-cover__visual-card{
  background-position:center 48%;
}


/* Routeguide image hierarchy pass */
/* Align support-page covers with parent families and tune crop exceptions on the busiest pages. */

/* Illinois support hierarchy */
.page--places-warren .mx-page-cover__visual-card{
  background-image:
    linear-gradient(180deg, rgba(19,35,55,.10), rgba(19,35,55,.28)),
    url('/assets/images/real-stockton-townsend-house.webp');
  background-position:center 46%;
}

.page--regions-northern-illinois-chicago-approach .mx-page-cover__visual-card,
.page--segments-chicago-approach .mx-page-cover__visual-card{
  background-image:
    linear-gradient(180deg, rgba(19,35,55,.10), rgba(19,35,55,.28)),
    url('/assets/images/real-freeport-library.webp');
  background-position:center 44%;
}

/* Live gateway and trip crop exceptions */
.page--regions-illinois .mx-page-cover__visual-card,
.route-card--feature-illinois::before{
  background-position:center 48%;
}

.page--regions-ohio .mx-page-cover__visual-card,
.route-card--feature-ohio-state::before{
  background-position:center 50%;
}

.page--regions-pennsylvania .mx-page-cover__visual-card,
.route-card--feature-pennsylvania-state::before{
  background-position:center 46%;
}

.page--trips-weekend-historic-route-20-jo-daviess-stephenson .mx-page-cover__visual-card{
  background-position:center 38%;
}

.page--trips-central-new-york-route-20-weekend .mx-page-cover__visual-card,
.route-card--feature-central-new-york-trip::before{
  background-position:center 46%;
}

.page--trips-ohio-western-reserve-route-20-weekend .mx-page-cover__visual-card,
.route-card--feature-ohio-trip::before{
  background-position:center 42%;
}

.page--trips-pennsylvania-lake-erie-route-20-weekend .mx-page-cover__visual-card,
.route-card--feature-pennsylvania-trip::before{
  background-position:center 44%;
}

/* Busy place-cover crop exceptions */
.page--places-galena .mx-page-cover__visual-card,
.route-card--feature-galena-place::before{
  background-position:center 42%;
}

.page--places-skaneateles .mx-page-cover__visual-card,
.route-card--feature-skaneateles-place::before{
  background-position:center 44%;
}

.page--places-oberlin .mx-page-cover__visual-card,
.route-card--feature-oberlin-place::before{
  background-position:center 44%;
}

.page--places-erie .mx-page-cover__visual-card,
.route-card--feature-erie-place::before{
  background-position:center 34%;
}


/* Routeguide image QA pass */
/* Tighten only the remaining visible outliers after hierarchy alignment. */

/* Gateway / segment outliers */
.page--regions-new-york .mx-page-cover__visual-card,
.route-card--feature-new-york-state::before{
  background-position:center 48%;
}

.page--regions-eastern-new-york-capital-region-approach .mx-page-cover__visual-card,
.route-card--feature-eastern-new-york-region::before{
  background-position:center 50%;
}

.page--segments-galena-stockton-corridor .mx-page-cover__visual-card,
.route-card--feature-galena-segment::before{
  background-position:center 42%;
}

.page--segments-sharon-springs-cherry-valley-duanesburg .mx-page-cover__visual-card,
.route-card--feature-eastern-new-york-segment::before{
  background-position:center 46%;
}

.page--segments-norwalk-oberlin-geneva .mx-page-cover__visual-card,
.route-card--feature-ohio-segment::before{
  background-position:center 46%;
}

/* Place outliers */
.page--places-freeport .mx-page-cover__visual-card{
  background-position:center 42%;
}

.page--places-esperance .mx-page-cover__visual-card,
.page--places-sloansville .mx-page-cover__visual-card{
  background-image:
    linear-gradient(180deg, rgba(19,35,55,.10), rgba(19,35,55,.26)),
    url('/assets/images/real-sharon-springs-us20.webp');
  background-position:center center;
}

.page--places-sharon-springs .mx-page-cover__visual-card,
.route-card--feature-sharon-springs-place::before{
  background-position:center 46%;
}

.page--places-cooperstown .mx-page-cover__visual-card,
.route-card--feature-cooperstown::before{
  background-position:center 42%;
}

.page--places-geneva-on-the-lake .mx-page-cover__visual-card,
.route-card--feature-geneva-on-the-lake::before{
  background-position:center 40%;
}

.page--places-north-east .mx-page-cover__visual-card{
  background-position:center 42%;
}

/* Trip outliers */
.page--trips-galena-freeport-one-day-sampler .mx-page-cover__visual-card,
.route-card--feature-galena-freeport-trip::before{
  background-position:center 40%;
}

.page--trips-eastern-new-york-route-20-weekend .mx-page-cover__visual-card,
.route-card--feature-eastern-new-york-trip::before{
  background-position:center 44%;
}


/* Routeguide image density pass */
/* Final low-priority support-page assignment + fallback crop normalization. */

.page--regions .mx-page-cover__visual-card{
  background-image:
    linear-gradient(180deg, rgba(19,35,55,.08), rgba(19,35,55,.24)),
    url('/assets/images/real-eastern-ny-route20.webp');
  background-position:center 48%;
  background-size:cover;
}

.mx-page-cover--regions .mx-page-cover__visual-card,
.mx-page-cover--segments .mx-page-cover__visual-card,
.mx-page-cover--places .mx-page-cover__visual-card,
.mx-page-cover--trips .mx-page-cover__visual-card,
.mx-page-cover--corridor .mx-page-cover__visual-card{
  background-position:center 50%;
}

.route-card--state:not([class*="route-card--feature-"])::before,
.route-card--segment:not([class*="route-card--feature-"])::before,
.route-card--place:not([class*="route-card--feature-"])::before,
.route-card--trip:not([class*="route-card--feature-"])::before,
.route-card--corridor:not([class*="route-card--feature-"])::before,
.route-card.route-card--sampler:not([class*="route-card--feature-"])::before{
  background-position:center 44%;
}


/* Routeguide visual QA pass */
/* Final cross-page consistency cleanup: preserve structure, tighten only lingering layout/image outliers. */

/* Unify remaining white-flow surfaces */
.route-list-grid section.is-live,
.route-list-grid section.is-planned,
.route-map-overview,
.route-map-preview,
.homepage-guide-promo,
.route-map-preview__media,
.route-map-overview__figure{
  background:#fff;
}

.route-map-overview,
.route-map-preview,
.homepage-guide-promo{
  box-shadow:none;
}

.route-map-preview__media,
.route-map-overview__figure,
.homepage-guide-promo{
  border-color:var(--line);
}

/* Final crop normalization on remaining visible outliers */
.page--regions .mx-page-cover__visual-card{
  background-position:center 44%;
}

.page--regions-pennsylvania-lake-erie-corridor .mx-page-cover__visual-card{
  background-position:center 48%;
}

.page--places-stockton .mx-page-cover__visual-card{
  background-position:center 44%;
}

.page--places-girard .mx-page-cover__visual-card{
  background-position:center 42%;
}

.page--places-auburn .mx-page-cover__visual-card{
  background-position:center 44%;
}

.page--trips-weekend-historic-route-20-jo-daviess-stephenson .mx-page-cover__visual-card,
.route-card--priority-primary::before{
  background-position:center 40%;
}

.page--trips-pennsylvania-lake-erie-route-20-weekend .mx-page-cover__visual-card,
.route-card--feature-pennsylvania-trip::before{
  background-position:center 42%;
}

.page--trips-central-new-york-route-20-weekend .mx-page-cover__visual-card,
.route-card--feature-central-new-york-trip::before{
  background-position:center 44%;
}


/* Routeguide standard card system pass */
/* Make non-homepage route-list-grid sections use the same image-forward card system as homepage route cards
   without requiring content rewrites. Existing .route-card assignments remain intact. */
.route-list-grid > section:not(.route-card){
  position:relative;
  overflow:hidden;
  display:block;
  min-height:100%;
  padding:18px;
  border:1px solid var(--line);
  border-radius:18px;
  background:#fff;
}

.route-list-grid > section:not(.route-card)::before{
  content:"";
  display:block;
  height:126px;
  margin:-18px -18px 16px;
  border-radius:18px 18px 16px 16px;
  border-bottom:1px solid rgba(220,229,238,.92);
  background-image:
    linear-gradient(180deg, rgba(19,35,55,.08), rgba(19,35,55,.24)),
    url('/assets/images/route20-real-placeholder.webp');
  background-position:center 44%;
  background-size:cover;
  background-repeat:no-repeat;
}

.route-list-grid > section:not(.route-card) > h3,
.route-list-grid > section:not(.route-card) > p,
.route-list-grid > section:not(.route-card) > .route-card-status,
.route-list-grid > section:not(.route-card) > .place-type-badge{
  position:relative;
  z-index:1;
}

.route-list-grid > section:not(.route-card) > h3{
  margin-top:10px;
  margin-bottom:.42rem;
  font-size:1.45rem;
  line-height:1.12;
  letter-spacing:-.02em;
  text-wrap:balance;
}

.route-list-grid > section:not(.route-card) > h3 a{
  text-decoration:none;
  color:var(--text);
}
.route-list-grid > section:not(.route-card) > h3 a:hover{
  color:var(--accent);
  text-decoration:underline;
}

.route-list-grid > section:not(.route-card) > .route-card-status,
.route-list-grid > section:not(.route-card) > .place-type-badge{
  background:rgba(255,255,255,.86);
  backdrop-filter:blur(6px);
  box-shadow:0 4px 10px rgba(24,37,54,.05);
}

.route-list-grid > section:not(.route-card)::after{
  content:"";
  position:absolute;
  inset:auto 18px 18px auto;
  width:44px;
  height:44px;
  border-radius:14px;
  border:1px solid rgba(45,103,178,.10);
  background:linear-gradient(180deg, rgba(255,255,255,.78), rgba(255,255,255,.48)), linear-gradient(90deg, rgba(45,103,178,.22), rgba(124,165,109,.18));
  box-shadow:0 10px 18px rgba(24,37,54,.06);
  pointer-events:none;
}

/* Keep the newer white-flow surfaces while making all cards visually consistent */
.route-list-grid > section:not(.route-card).is-live,
.route-list-grid > section:not(.route-card).is-planned{
  background:#fff;
}

/* Tighten long-form card copy on subpages to match the homepage card rhythm */
.route-list-grid > section:not(.route-card) > p:last-child{
  font-size:.98rem;
  line-height:1.52;
}

@media (max-width: 700px){
  .route-list-grid > section:not(.route-card)::before{
    height:114px;
  }
  .route-list-grid > section:not(.route-card) > h3{
    font-size:1.28rem;
  }
}


/* Routeguide card-image assignment pass */
/* Replace generic subpage standard-card placeholders with destination or family-specific real-photo matches. */
.route-list-grid > section:not(.route-card):has(a[href="/route-overview/"])::before,
.route-list-grid > section:not(.route-card):has(a[href="/ai/"])::before{
  background-image:
    linear-gradient(180deg, rgba(19,35,55,.08), rgba(19,35,55,.24)),
    url('/assets/images/real-us20-warren-ny.webp');
  background-position:center 52%;
}

/* Illinois family */
.route-list-grid > section:not(.route-card):has(a[href="/regions/illinois/"])::before,
.route-list-grid > section:not(.route-card):has(a[href="/regions/northwest-illinois/"])::before,
.route-list-grid > section:not(.route-card):has(a[href="/regions/iowa-driftless-upper-mississippi-approach/"])::before,
.route-list-grid > section:not(.route-card):has(a[href="/regions/mississippi-gateway-western-approach/"])::before,
.route-list-grid > section:not(.route-card):has(a[href="/regions/northern-illinois-chicago-approach/"])::before,
.route-list-grid > section:not(.route-card):has(a[href="/segments/galena-western-gateway/"])::before,
.route-list-grid > section:not(.route-card):has(a[href="/segments/northwest-illinois/"])::before,
.route-list-grid > section:not(.route-card):has(a[href="/places/east-dubuque/"])::before,
.route-list-grid > section:not(.route-card):has(a[href="/places/woodbine/"])::before{
  background-image:
    linear-gradient(180deg, rgba(19,35,55,.08), rgba(19,35,55,.24)),
    url('/assets/images/real-us20-galena-bridge.webp');
  background-position:center 52%;
}

.route-list-grid > section:not(.route-card):has(a[href="/segments/galena-stockton-corridor/"])::before,
.route-list-grid > section:not(.route-card):has(a[href="/places/elizabeth/"])::before,
.route-list-grid > section:not(.route-card):has(a[href="/places/galena/"])::before{
  background-image:
    linear-gradient(180deg, rgba(19,35,55,.08), rgba(19,35,55,.24)),
    url('/assets/images/real-galena-downtown.webp');
  background-position:center 46%;
}

.route-list-grid > section:not(.route-card):has(a[href="/trips/weekend-historic-route-20-jo-daviess-stephenson/"])::before,
.route-list-grid > section:not(.route-card):has(a[href="/trips/galena-freeport-one-day-sampler/"])::before{
  background-image:
    linear-gradient(180deg, rgba(19,35,55,.08), rgba(19,35,55,.22)),
    url('/assets/images/real-galena-main-street.webp');
  background-position:center 42%;
}

.route-list-grid > section:not(.route-card):has(a[href="/segments/freeport-stephenson-county/"])::before,
.route-list-grid > section:not(.route-card):has(a[href="/segments/freeport-rockford-corridor/"])::before,
.route-list-grid > section:not(.route-card):has(a[href="/segments/chicago-approach/"])::before,
.route-list-grid > section:not(.route-card):has(a[href="/places/freeport/"])::before,
.route-list-grid > section:not(.route-card):has(a[href="/places/lena/"])::before,
.route-list-grid > section:not(.route-card):has(a[href="/places/rockford/"])::before{
  background-image:
    linear-gradient(180deg, rgba(19,35,55,.10), rgba(19,35,55,.28)),
    url('/assets/images/real-freeport-library.webp');
  background-position:center 46%;
}

.route-list-grid > section:not(.route-card):has(a[href="/places/stockton/"])::before{
  background-image:
    linear-gradient(180deg, rgba(19,35,55,.10), rgba(19,35,55,.28)),
    url('/assets/images/real-stockton-townsend-house.webp');
  background-position:center 48%;
}

.route-list-grid > section:not(.route-card):has(a[href="/places/warren/"])::before{
  background-image:
    linear-gradient(180deg, rgba(19,35,55,.10), rgba(19,35,55,.28)),
    url('/assets/images/real-us20-warren-ny.webp');
  background-position:center 52%;
}


/* Western Finger Lakes family */
.page--regions-western-finger-lakes-avon-canandaigua .mx-page-cover__visual-card,
.page--segments-avon-lima-east-bloomfield .mx-page-cover__visual-card,
.page--places-avon .mx-page-cover__visual-card,
.page--places-lima .mx-page-cover__visual-card{
  background-image:
    linear-gradient(180deg, rgba(19,35,55,.08), rgba(19,35,55,.24)),
    url('/assets/images/real-cazenovia-downtown.webp');
  background-position:center 52%;
}

.page--trips-western-finger-lakes-route-20-weekend .mx-page-cover__visual-card,
.page--places-canandaigua .mx-page-cover__visual-card{
  background-image:
    linear-gradient(180deg, rgba(19,35,55,.08), rgba(19,35,55,.24)),
    url('/assets/images/real-skaneateles-village.webp');
  background-position:center 48%;
}

.page--places-east-bloomfield .mx-page-cover__visual-card{
  background-image:
    linear-gradient(180deg, rgba(19,35,55,.10), rgba(19,35,55,.30)),
    url('/assets/images/real-auburn-genesee-street.webp');
  background-position:center 42%;
}

/* Central New York family */
.route-list-grid > section:not(.route-card):has(a[href="/regions/new-york/"])::before,
.route-list-grid > section:not(.route-card):has(a[href="/regions/finger-lakes-seneca-falls/"])::before,
.route-list-grid > section:not(.route-card):has(a[href="/trips/central-new-york-route-20-weekend/"])::before,
.route-list-grid > section:not(.route-card):has(a[href="/places/cazenovia/"])::before{
  background-image:
    linear-gradient(180deg, rgba(19,35,55,.08), rgba(19,35,55,.24)),
    url('/assets/images/real-cazenovia-downtown.webp');
  background-position:center 52%;
}

.route-list-grid > section:not(.route-card):has(a[href="/segments/cazenovia-skaneateles-auburn/"])::before,
.route-list-grid > section:not(.route-card):has(a[href="/places/auburn/"])::before{
  background-image:
    linear-gradient(180deg, rgba(19,35,55,.08), rgba(19,35,55,.24)),
    url('/assets/images/real-auburn-genesee-street.webp');
  background-position:center 48%;
}

.route-list-grid > section:not(.route-card):has(a[href="/places/skaneateles/"])::before{
  background-image:
    linear-gradient(180deg, rgba(19,35,55,.10), rgba(19,35,55,.30)),
    url('/assets/images/real-skaneateles-village.webp');
  background-position:center center;
}

.route-list-grid > section:not(.route-card):has(a[href="/places/seneca-falls/"])::before{
  background-image:
    linear-gradient(180deg, rgba(19,35,55,.10), rgba(19,35,55,.28)),
    url('/assets/images/real-seneca-falls-bedford-sign.webp');
  background-position:center 36%;
}

/* Eastern New York family */
.route-list-grid > section:not(.route-card):has(a[href="/regions/eastern-new-york-capital-region-approach/"])::before,
.route-list-grid > section:not(.route-card):has(a[href="/regions/new-england-gateway/"])::before,
.route-list-grid > section:not(.route-card):has(a[href="/places/duanesburg/"])::before{
  background-image:
    linear-gradient(180deg, rgba(19,35,55,.08), rgba(19,35,55,.24)),
    url('/assets/images/real-eastern-ny-route20.webp');
  background-position:center 52%;
}

.route-list-grid > section:not(.route-card):has(a[href="/segments/sharon-springs-cherry-valley-duanesburg/"])::before{
  background-image:
    linear-gradient(180deg, rgba(19,35,55,.08), rgba(19,35,55,.24)),
    url('/assets/images/real-sharon-springs-us20.webp');
  background-position:center 50%;
}

.route-list-grid > section:not(.route-card):has(a[href="/places/sharon-springs/"])::before,
.route-list-grid > section:not(.route-card):has(a[href="/places/cherry-valley/"])::before{
  background-image:
    linear-gradient(180deg, rgba(19,35,55,.10), rgba(19,35,55,.28)),
    url('/assets/images/real-sharon-springs-downtown.webp');
  background-position:center 48%;
}

.route-list-grid > section:not(.route-card):has(a[href="/trips/eastern-new-york-route-20-weekend/"])::before{
  background-image:
    linear-gradient(180deg, rgba(19,35,55,.08), rgba(19,35,55,.24)),
    url('/assets/images/real-cooperstown-main-street.webp');
  background-position:center 48%;
}

.route-list-grid > section:not(.route-card):has(a[href="/places/cooperstown/"])::before{
  background-image:
    linear-gradient(180deg, rgba(19,35,55,.08), rgba(19,35,55,.24)),
    url('/assets/images/real-cooperstown-post-office.webp');
  background-position:center 48%;
}

/* Ohio family */
.route-list-grid > section:not(.route-card):has(a[href="/regions/ohio/"])::before,
.route-list-grid > section:not(.route-card):has(a[href="/regions/ohio-western-reserve/"])::before,
.route-list-grid > section:not(.route-card):has(a[href="/places/norwalk/"])::before{
  background-image:
    linear-gradient(180deg, rgba(19,35,55,.08), rgba(19,35,55,.24)),
    url('/assets/images/real-avon-us20.webp');
  background-position:center 56%;
}

.route-list-grid > section:not(.route-card):has(a[href="/segments/norwalk-oberlin-geneva/"])::before{
  background-image:
    linear-gradient(180deg, rgba(19,35,55,.08), rgba(19,35,55,.24)),
    url('/assets/images/real-oberlin-downtown.webp');
  background-position:center 50%;
}

.route-list-grid > section:not(.route-card):has(a[href="/places/oberlin/"])::before{
  background-image:
    linear-gradient(180deg, rgba(19,35,55,.10), rgba(19,35,55,.30)),
    url('/assets/images/real-oberlin-lewis-center.webp');
  background-position:center center;
}

.route-list-grid > section:not(.route-card):has(a[href="/trips/ohio-western-reserve-route-20-weekend/"])::before,
.route-list-grid > section:not(.route-card):has(a[href="/places/geneva/"])::before{
  background-image:
    linear-gradient(180deg, rgba(19,35,55,.08), rgba(19,35,55,.24)),
    url('/assets/images/real-geneva-main-street.webp');
  background-position:center 46%;
}

.route-list-grid > section:not(.route-card):has(a[href="/places/geneva-on-the-lake/"])::before{
  background-image:
    linear-gradient(180deg, rgba(19,35,55,.08), rgba(19,35,55,.24)),
    url('/assets/images/real-geneva-on-the-lake-lighthouse.webp');
  background-position:center 46%;
}

/* Pennsylvania family */
.route-list-grid > section:not(.route-card):has(a[href="/regions/pennsylvania/"])::before,
.route-list-grid > section:not(.route-card):has(a[href="/regions/pennsylvania-lake-erie-corridor/"])::before{
  background-image:
    linear-gradient(180deg, rgba(19,35,55,.08), rgba(19,35,55,.24)),
    url('/assets/images/real-wesleyville-us20.webp');
  background-position:center 52%;
}

.route-list-grid > section:not(.route-card):has(a[href="/segments/erie-north-east-corridor/"])::before,
.route-list-grid > section:not(.route-card):has(a[href="/places/girard/"])::before{
  background-image:
    linear-gradient(180deg, rgba(19,35,55,.10), rgba(19,35,55,.28)),
    url('/assets/images/real-girard-main-street.webp');
  background-position:center 46%;
}

.route-list-grid > section:not(.route-card):has(a[href="/places/erie/"])::before{
  background-image:
    linear-gradient(180deg, rgba(19,35,55,.10), rgba(19,35,55,.30)),
    url('/assets/images/real-erie-state-street.webp');
  background-position:center 38%;
}

.route-list-grid > section:not(.route-card):has(a[href="/trips/pennsylvania-lake-erie-route-20-weekend/"])::before,
.route-list-grid > section:not(.route-card):has(a[href="/places/north-east/"])::before{
  background-image:
    linear-gradient(180deg, rgba(19,35,55,.08), rgba(19,35,55,.24)),
    url('/assets/images/real-north-east-main-street.webp');
  background-position:center 48%;
}


/* Routeguide final card-image QA pass */
/* Tighten remaining generic subpage cards and normalize band crop positions on the busiest pages. */
.route-list-grid > section:not(.route-card)::before{
  background-position:center 50%;
}

.route-list-grid > section:not(.route-card):has(a[href="/route-overview/"])::before,
.route-list-grid > section:not(.route-card):has(a[href="/ai/"])::before{
  background-position:center 46%;
}

/* Illinois crop normalization */
.route-list-grid > section:not(.route-card):has(a[href="/regions/illinois/"])::before,
.route-list-grid > section:not(.route-card):has(a[href="/regions/northwest-illinois/"])::before,
.route-list-grid > section:not(.route-card):has(a[href="/regions/iowa-driftless-upper-mississippi-approach/"])::before,
.route-list-grid > section:not(.route-card):has(a[href="/regions/mississippi-gateway-western-approach/"])::before,
.route-list-grid > section:not(.route-card):has(a[href="/regions/northern-illinois-chicago-approach/"])::before,
.route-list-grid > section:not(.route-card):has(a[href="/segments/galena-western-gateway/"])::before,
.route-list-grid > section:not(.route-card):has(a[href="/segments/northwest-illinois/"])::before,
.route-list-grid > section:not(.route-card):has(a[href="/places/east-dubuque/"])::before,
.route-list-grid > section:not(.route-card):has(a[href="/places/woodbine/"])::before{
  background-position:center 50%;
}

.route-list-grid > section:not(.route-card):has(a[href="/segments/galena-stockton-corridor/"])::before,
.route-list-grid > section:not(.route-card):has(a[href="/places/elizabeth/"])::before,
.route-list-grid > section:not(.route-card):has(a[href="/places/galena/"])::before{
  background-position:center 44%;
}

.route-list-grid > section:not(.route-card):has(a[href="/trips/weekend-historic-route-20-jo-daviess-stephenson/"])::before,
.route-list-grid > section:not(.route-card):has(a[href="/trips/galena-freeport-one-day-sampler/"])::before{
  background-position:center 40%;
}

.route-list-grid > section:not(.route-card):has(a[href="/segments/freeport-stephenson-county/"])::before,
.route-list-grid > section:not(.route-card):has(a[href="/segments/freeport-rockford-corridor/"])::before,
.route-list-grid > section:not(.route-card):has(a[href="/segments/chicago-approach/"])::before,
.route-list-grid > section:not(.route-card):has(a[href="/places/freeport/"])::before,
.route-list-grid > section:not(.route-card):has(a[href="/places/lena/"])::before,
.route-list-grid > section:not(.route-card):has(a[href="/places/rockford/"])::before{
  background-position:center 44%;
}

/* New York crop normalization */
.route-list-grid > section:not(.route-card):has(a[href="/regions/new-york/"])::before,
.route-list-grid > section:not(.route-card):has(a[href="/regions/finger-lakes-seneca-falls/"])::before,
.route-list-grid > section:not(.route-card):has(a[href="/trips/central-new-york-route-20-weekend/"])::before,
.route-list-grid > section:not(.route-card):has(a[href="/places/cazenovia/"])::before{
  background-position:center 50%;
}

.route-list-grid > section:not(.route-card):has(a[href="/segments/cazenovia-skaneateles-auburn/"])::before,
.route-list-grid > section:not(.route-card):has(a[href="/places/auburn/"])::before{
  background-position:center 46%;
}

.route-list-grid > section:not(.route-card):has(a[href="/regions/eastern-new-york-capital-region-approach/"])::before,
.route-list-grid > section:not(.route-card):has(a[href="/regions/new-england-gateway/"])::before,
.route-list-grid > section:not(.route-card):has(a[href="/places/duanesburg/"])::before{
  background-position:center 50%;
}

.route-list-grid > section:not(.route-card):has(a[href="/segments/sharon-springs-cherry-valley-duanesburg/"])::before{
  background-position:center 48%;
}

.route-list-grid > section:not(.route-card):has(a[href="/trips/eastern-new-york-route-20-weekend/"])::before,
.route-list-grid > section:not(.route-card):has(a[href="/places/cooperstown/"])::before{
  background-position:center 46%;
}

/* Ohio crop normalization */
.route-list-grid > section:not(.route-card):has(a[href="/regions/ohio/"])::before,
.route-list-grid > section:not(.route-card):has(a[href="/regions/ohio-western-reserve/"])::before,
.route-list-grid > section:not(.route-card):has(a[href="/places/norwalk/"])::before{
  background-position:center 54%;
}

.route-list-grid > section:not(.route-card):has(a[href="/segments/norwalk-oberlin-geneva/"])::before{
  background-position:center 48%;
}

.route-list-grid > section:not(.route-card):has(a[href="/trips/ohio-western-reserve-route-20-weekend/"])::before,
.route-list-grid > section:not(.route-card):has(a[href="/places/geneva/"])::before,
.route-list-grid > section:not(.route-card):has(a[href="/places/geneva-on-the-lake/"])::before{
  background-position:center 44%;
}

/* Pennsylvania crop normalization */
.route-list-grid > section:not(.route-card):has(a[href="/regions/pennsylvania/"])::before,
.route-list-grid > section:not(.route-card):has(a[href="/regions/pennsylvania-lake-erie-corridor/"])::before{
  background-position:center 50%;
}

.route-list-grid > section:not(.route-card):has(a[href="/segments/erie-north-east-corridor/"])::before,
.route-list-grid > section:not(.route-card):has(a[href="/places/girard/"])::before{
  background-position:center 44%;
}

.route-list-grid > section:not(.route-card):has(a[href="/places/erie/"])::before{
  background-position:center 34%;
}

.route-list-grid > section:not(.route-card):has(a[href="/trips/pennsylvania-lake-erie-route-20-weekend/"])::before,
.route-list-grid > section:not(.route-card):has(a[href="/places/north-east/"])::before{
  background-position:center 46%;
}


/* Routeguide back-to-top restore + homepage hero correction pass */
.page--index .mx-home-hero{
  position: relative;
  margin: 0 0 22px;
  padding: 0;
  min-height: clamp(470px, 48vw, 610px);
  border-radius: 22px 22px 0 0;
  overflow: hidden;
  background:
    linear-gradient(180deg, rgba(20,30,42,.28) 0%, rgba(20,30,42,.22) 28%, rgba(20,30,42,.36) 100%),
    url('/assets/images/real-galena-main-street.webp') center 46% / cover no-repeat !important;
  box-shadow: 0 20px 40px rgba(16,24,40,.10);
}
.page--index .mx-home-hero::before,
.page--index .mx-home-hero::after,
.page--index .mx-home-banner-search::before,
.page--index .mx-home-banner-search::after,
.page--index .mx-home-hero__banner::before,
.page--index .mx-home-hero__banner::after{
  content:none !important;
  display:none !important;
  background:none !important;
}
.page--index .mx-home-hero__banner{
  display:flex;
  flex-direction:column;
  align-items:center;
  justify-content:center;
  min-height: clamp(470px, 48vw, 610px);
  gap: 18px;
  padding: 40px 28px 38px;
  background: transparent !important;
  text-align:center;
}
.page--index .mx-home-hero__copy,
.page--index .mx-home-banner-search,
.page--index .mx-home-hero__chips{
  width:min(100%, 820px);
  margin-left:auto;
  margin-right:auto;
}
.page--index .mx-home-hero__copy{
  display:grid;
  gap:12px;
  justify-items:center;
}
.page--index .mx-home-hero__eyebrow{
  margin:0;
  color:rgba(255,255,255,.92) !important;
  font-size:.82rem;
  font-weight:700;
  letter-spacing:.14em;
  text-transform:uppercase;
  text-shadow:0 4px 16px rgba(0,0,0,.20);
}
.page--index .mx-home-hero__copy h1{
  max-width:10.8ch;
  margin:0 auto;
  color:#fff !important;
  text-shadow:0 10px 28px rgba(0,0,0,.28);
}
.page--index .mx-home-hero__dek{
  max-width:38ch;
  margin:0 auto;
  color:rgba(255,255,255,.96) !important;
  font-size:1.06rem;
  line-height:1.55;
  text-shadow:0 6px 18px rgba(0,0,0,.20);
}
.page--index .mx-home-banner-search{
  display:block;
  background:transparent !important;
  box-shadow:none !important;
  border:0 !important;
  padding:0 !important;
  order:0;
}
.page--index .mx-home-hero__search-label{display:none !important;}
.page--index .mx-home-hero__search-row{
  display:grid;
  grid-template-columns:minmax(0,1fr) auto;
  align-items:center;
  gap:10px;
  max-width:760px;
  margin:0 auto;
  padding:8px;
  border-radius:999px;
  background:rgba(255,255,255,.96) !important;
  border:1px solid rgba(255,255,255,.72) !important;
  box-shadow:0 18px 36px rgba(12,22,34,.18) !important;
}
.page--index .mx-home-banner-search__input{
  min-width:0;
  min-height:54px;
  padding:0 20px;
  border:0 !important;
  border-radius:999px;
  background:transparent !important;
  box-shadow:none !important;
  font-size:1rem;
}
.page--index .mx-home-banner-search__button{
  min-width:182px;
  min-height:54px;
  padding:0 24px;
  border-radius:999px;
  white-space:nowrap;
}
.page--index .mx-home-banner-search__results,
.page--index .site-search__results{
  top: calc(100% + 10px);
}
.page--index .mx-home-hero__chips{
  display:flex;
  justify-content:center;
  gap:8px;
  flex-wrap:wrap;
}
.page--index .mx-home-hero__chips .mx-chip--soft{
  background:rgba(255,255,255,.18) !important;
  border-color:rgba(255,255,255,.30) !important;
  color:#fff !important;
}
.page--index .mx-home-hero__chips .mx-chip--soft:hover{
  background:rgba(255,255,255,.24) !important;
}
@media (max-width: 760px){
  .page--index .mx-home-hero{
    min-height:auto;
    border-radius:18px 18px 0 0;
    background:
      linear-gradient(180deg, rgba(20,30,42,.34) 0%, rgba(20,30,42,.42) 100%),
      url('/assets/images/real-galena-main-street.webp') center 42% / cover no-repeat !important;
  }
  .page--index .mx-home-hero__banner{
    min-height:auto;
    padding:30px 16px 22px;
    gap:14px;
  }
  .page--index .mx-home-hero__copy h1{
    max-width:none;
    font-size:clamp(2.35rem, 11vw, 3.5rem);
  }
  .page--index .mx-home-hero__search-row{
    grid-template-columns:1fr;
    border-radius:24px;
  }
  .page--index .mx-home-banner-search__button{
    width:100%;
    min-width:0;
  }
}


/* Routeguide homepage hero polish + section trim pass */
.page--index .mx-home-hero{
  background:
    linear-gradient(180deg, rgba(15,26,38,.60) 0%, rgba(15,26,38,.42) 34%, rgba(15,26,38,.36) 100%),
    url('/assets/images/real-galena-main-street.webp') center 42% / cover no-repeat;
}
.page--index .mx-home-hero__copy{
  max-width: 720px;
}
.page--index .mx-home-hero__copy h1{
  max-width: 10.4ch;
  color:#fff;
  text-shadow: 0 10px 32px rgba(0,0,0,.42);
}
.page--index .mx-home-hero__eyebrow,
.page--index .mx-home-hero__dek{
  color: rgba(255,255,255,.96);
  text-shadow: 0 4px 18px rgba(0,0,0,.34);
}
.page--index .mx-home-hero__dek{
  max-width: 42ch;
  font-size: 1.08rem;
  line-height: 1.6;
}
.page--index .mx-home-hero__search-row{
  background: rgba(255,255,255,.98);
  border-color: rgba(255,255,255,.92);
  box-shadow: 0 20px 40px rgba(10,18,28,.22);
}
.page--index .mx-home-banner-search__input{
  color: #24374c;
}
.page--index .mx-home-banner-search__input::placeholder{
  color: #5f7387;
  opacity: 1;
}
.page--index .mx-home-hero__chips{
  gap: 10px;
  margin-top: 8px;
}
.page--index .mx-home-hero__chips .mx-chip--soft{
  background: rgba(255,255,255,.88);
  border-color: rgba(255,255,255,.92);
  color: #29435e;
  box-shadow: 0 10px 24px rgba(10,18,28,.16);
}
.page--index .mx-home-hero__chips .mx-chip--soft:hover{
  background: #ffffff;
  color: #1d3550;
}
.page--index .homepage-section-heading-row{
  display:flex;
  align-items:center;
  justify-content:space-between;
  gap:16px;
  margin: 10px 0 14px;
}
.page--index .homepage-section-miniheading{
  margin:0;
  font-size: .82rem;
  text-transform: uppercase;
  letter-spacing: .12em;
  color: #61758c;
}
.page--index .homepage-view-all{
  display:inline-flex;
  align-items:center;
  gap:6px;
  text-decoration:none;
  font-weight:700;
  color:#375776;
}
.page--index .homepage-view-all:hover{
  color:#1f405e;
}
.page--index .route-list-grid{
  margin-top: 0;
}
@media (max-width: 760px){
  .page--index .mx-home-hero__copy h1{
    max-width: 9.4ch;
  }
  .page--index .homepage-section-heading-row{
    align-items:flex-start;
  }
}


/* Routeguide homepage hero readability + final trim pass */
.page--index .mx-home-hero{
  position: relative;
  overflow: hidden;
  min-height: clamp(540px, 58vw, 690px);
  background:
    linear-gradient(180deg, rgba(8,15,24,.16) 0%, rgba(8,15,24,.28) 26%, rgba(8,15,24,.46) 56%, rgba(8,15,24,.62) 100%),
    linear-gradient(90deg, rgba(9,18,28,.74) 0%, rgba(9,18,28,.48) 34%, rgba(9,18,28,.28) 58%, rgba(9,18,28,.44) 100%),
    url('/assets/images/real-galena-main-street.webp') center 34% / cover no-repeat;
}
.page--index .mx-home-hero::before{
  content:"";
  position:absolute;
  inset:0;
  background:
    radial-gradient(72% 58% at 50% 26%, rgba(255,255,255,.10), transparent 58%),
    linear-gradient(180deg, rgba(0,0,0,.02), rgba(0,0,0,.22));
  pointer-events:none;
}
.page--index .mx-home-hero__banner{
  min-height: clamp(500px, 54vw, 620px);
  align-content: center;
  justify-items: center;
  gap: 16px;
  padding: 28px 12px 24px;
}
.page--index .mx-home-hero__copy,
.page--index .mx-home-banner-search,
.page--index .mx-home-hero__chips{
  width: min(100%, 860px);
}
.page--index .mx-home-hero__copy{
  max-width: 740px;
  gap: 14px;
}
.page--index .mx-home-hero__eyebrow{
  color: rgba(255,255,255,.92);
  letter-spacing: .11em;
  text-shadow: 0 2px 16px rgba(0,0,0,.30);
}
.page--index .mx-home-hero__copy h1{
  max-width: 10.2ch;
  font-size: clamp(3rem, 6vw, 4.9rem);
  line-height: .98;
  text-shadow: 0 10px 34px rgba(0,0,0,.44);
}
.page--index .mx-home-hero__dek{
  max-width: 35ch;
  color: rgba(255,255,255,.98);
  font-size: 1.16rem;
  line-height: 1.56;
  text-shadow: 0 6px 20px rgba(0,0,0,.34);
}
.page--index .mx-home-banner-search{
  margin-top: 6px;
}
.page--index .mx-home-hero__search-row{
  padding: 10px;
  background: rgba(255,255,255,.97);
  border: 1px solid rgba(255,255,255,.72);
  box-shadow: 0 22px 42px rgba(8,15,24,.26);
}
.page--index .mx-home-banner-search__input{
  min-height: 58px;
  font-size: 1rem;
}
.page--index .mx-home-banner-search__button{
  min-width: 184px;
  min-height: 58px;
  box-shadow: 0 10px 24px rgba(125,75,43,.26);
}
.page--index .mx-home-hero__chips{
  gap: 10px;
  margin-top: 2px;
}
.page--index .mx-home-hero__chips .mx-chip--soft{
  background: rgba(255,255,255,.22);
  border-color: rgba(255,255,255,.44);
  color: #ffffff;
  font-weight: 700;
  text-shadow: 0 1px 10px rgba(0,0,0,.26);
  box-shadow: 0 10px 24px rgba(8,15,24,.16);
  backdrop-filter: blur(8px);
}
.page--index .mx-home-hero__chips .mx-chip--soft:hover{
  background: rgba(255,255,255,.30);
  border-color: rgba(255,255,255,.56);
  color: #ffffff;
}
.page--index .homepage-intro-lead{
  max-width: 58ch;
  margin: 0 0 14px;
  font-size: 1.05rem;
  line-height: 1.62;
}
.page--index .homepage-section-intro{
  max-width: 58ch;
  margin-bottom: .8rem;
  line-height: 1.58;
}
.page--index h2{
  margin-top: 1.9rem;
  margin-bottom: .45rem;
}
.page--index .homepage-section-heading-row{
  margin: 0 0 .8rem;
  align-items: baseline;
}
.page--index .homepage-section-miniheading{
  font-size: .92rem;
  letter-spacing: .08em;
  text-transform: uppercase;
  color: #526779;
}
.page--index .homepage-view-all{
  font-weight: 700;
  text-underline-offset: .16em;
}
@media (max-width: 980px){
  .page--index .mx-home-hero{
    min-height: clamp(500px, 64vw, 620px);
    background:
      linear-gradient(180deg, rgba(8,15,24,.20) 0%, rgba(8,15,24,.34) 28%, rgba(8,15,24,.54) 100%),
      linear-gradient(90deg, rgba(9,18,28,.72) 0%, rgba(9,18,28,.38) 42%, rgba(9,18,28,.34) 100%),
      url('/assets/images/real-galena-main-street.webp') center 34% / cover no-repeat;
  }
  .page--index .mx-home-hero__banner{
    min-height: clamp(460px, 60vw, 560px);
  }
}
@media (max-width: 760px){
  .page--index .mx-home-hero{
    min-height: auto;
    background:
      linear-gradient(180deg, rgba(8,15,24,.34) 0%, rgba(8,15,24,.46) 42%, rgba(8,15,24,.64) 100%),
      linear-gradient(180deg, rgba(9,18,28,.18) 0%, rgba(9,18,28,.10) 100%),
      url('/assets/images/real-galena-main-street.webp') center 36% / cover no-repeat;
  }
  .page--index .mx-home-hero__banner{
    min-height: auto;
    padding: 24px 0 20px;
    gap: 14px;
  }
  .page--index .mx-home-hero__copy h1{
    max-width: 10.8ch;
    font-size: clamp(2.5rem, 11vw, 3.6rem);
  }
  .page--index .mx-home-hero__dek{
    max-width: 30ch;
    font-size: 1.02rem;
  }
  .page--index .mx-home-hero__search-row{
    grid-template-columns: 1fr;
    padding: 10px;
    border-radius: 22px;
  }
  .page--index .mx-home-banner-search__button{
    width: 100%;
    min-width: 0;
  }
  .page--index .mx-home-hero__chips{
    gap: 8px;
  }
}


/* Routeguide homepage production polish pass */
.page--index .mx-home-hero{
  background:
    linear-gradient(180deg, rgba(7,12,18,.30) 0%, rgba(7,12,18,.42) 24%, rgba(7,12,18,.62) 58%, rgba(7,12,18,.78) 100%),
    linear-gradient(90deg, rgba(8,14,21,.82) 0%, rgba(8,14,21,.58) 32%, rgba(8,14,21,.36) 58%, rgba(8,14,21,.58) 100%),
    url('/assets/images/real-galena-main-street.webp') center 34% / cover no-repeat;
}
.page--index .mx-home-hero::before{
  background:
    radial-gradient(56% 46% at 50% 30%, rgba(255,255,255,.08), transparent 58%),
    linear-gradient(180deg, rgba(0,0,0,.06), rgba(0,0,0,.18));
}
.page--index .mx-home-hero__banner{
  position: relative;
  gap: 14px;
  padding: 30px 12px 22px;
}
.page--index .mx-home-hero__banner::before{
  content:"";
  position:absolute;
  left:50%;
  top:50%;
  width:min(100%, 760px);
  height:380px;
  transform:translate(-50%, -50%);
  border-radius:36px;
  background:linear-gradient(180deg, rgba(8,14,21,.28), rgba(8,14,21,.14));
  box-shadow:0 28px 80px rgba(0,0,0,.20);
  backdrop-filter: blur(2px);
  pointer-events:none;
}
.page--index .mx-home-hero__copy,
.page--index .mx-home-banner-search,
.page--index .mx-home-hero__chips{
  position:relative;
  z-index:1;
}
.page--index .mx-home-hero__copy{
  gap: 12px;
  max-width: 720px;
}
.page--index .mx-home-hero__eyebrow{
  color: rgba(255,255,255,.98);
  text-shadow: 0 3px 18px rgba(0,0,0,.46);
}
.page--index .mx-home-hero__copy h1{
  max-width: 9.6ch;
  font-size: clamp(3.2rem, 6vw, 5.05rem);
  line-height: .95;
  text-shadow: 0 14px 40px rgba(0,0,0,.54);
}
.page--index .mx-home-hero__dek{
  max-width: 33ch;
  color: rgba(255,255,255,.99);
  font-size: 1.12rem;
  line-height: 1.52;
  text-shadow: 0 8px 24px rgba(0,0,0,.46);
}
.page--index .mx-home-banner-search{
  margin-top: 4px;
}
.page--index .mx-home-hero__search-row{
  padding: 9px;
  border-color: rgba(255,255,255,.82);
  box-shadow: 0 24px 44px rgba(8,15,24,.28);
}
.page--index .mx-home-banner-search__input{
  min-height: 56px;
}
.page--index .mx-home-banner-search__button{
  min-height: 56px;
  min-width: 180px;
}
.page--index .mx-home-hero__chips{
  gap: 9px;
  margin-top: 0;
}
.page--index .mx-home-hero__chips .mx-chip--soft{
  background: rgba(14,22,32,.44);
  border-color: rgba(255,255,255,.24);
  color: rgba(255,255,255,.98);
  box-shadow: 0 12px 24px rgba(8,15,24,.18);
  backdrop-filter: blur(10px);
}
.page--index .mx-home-hero__chips .mx-chip--soft:hover{
  background: rgba(14,22,32,.58);
  border-color: rgba(255,255,255,.34);
}
.page--index .homepage-intro-lead{
  max-width: 54ch;
  line-height: 1.58;
}
.page--index .homepage-section-intro{
  max-width: 54ch;
  line-height: 1.52;
}
.page--index h2{
  margin-top: 1.7rem;
  margin-bottom: .38rem;
}
.page--index .homepage-section-heading-row{
  margin: 0 0 .72rem;
}
.page--index .homepage-section-miniheading{
  font-size: .86rem;
  letter-spacing: .11em;
}
@media (max-width: 980px){
  .page--index .mx-home-hero{
    background:
      linear-gradient(180deg, rgba(7,12,18,.34) 0%, rgba(7,12,18,.48) 28%, rgba(7,12,18,.70) 100%),
      linear-gradient(90deg, rgba(8,14,21,.80) 0%, rgba(8,14,21,.46) 42%, rgba(8,14,21,.46) 100%),
      url('/assets/images/real-galena-main-street.webp') center 35% / cover no-repeat;
  }
  .page--index .mx-home-hero__banner::before{
    width:min(100%, 680px);
    height:360px;
  }
}
@media (max-width: 760px){
  .page--index .mx-home-hero{
    background:
      linear-gradient(180deg, rgba(7,12,18,.46) 0%, rgba(7,12,18,.58) 42%, rgba(7,12,18,.78) 100%),
      linear-gradient(180deg, rgba(8,14,21,.16) 0%, rgba(8,14,21,.06) 100%),
      url('/assets/images/real-galena-main-street.webp') center 35% / cover no-repeat;
  }
  .page--index .mx-home-hero__banner{
    padding: 24px 0 18px;
    gap: 12px;
  }
  .page--index .mx-home-hero__banner::before{
    width:min(100%, 96%);
    height:320px;
    top:44%;
    border-radius:28px;
  }
  .page--index .mx-home-hero__copy h1{
    max-width: 8.8ch;
    font-size: clamp(2.7rem, 11vw, 3.7rem);
  }
  .page--index .mx-home-hero__dek{
    max-width: 28ch;
    font-size: 1rem;
  }
  .page--index .mx-home-hero__search-row{
    padding: 8px;
  }
  .page--index .mx-home-banner-search__button{
    min-height: 54px;
  }
  .page--index .mx-home-hero__chips{
    gap: 7px;
  }
  .page--index .homepage-intro-lead,
  .page--index .homepage-section-intro{
    max-width: none;
  }
}

/* Routeguide homepage hero readability retry + final trim follow-up */
.page--index .mx-home-hero{
  background:
    linear-gradient(180deg, rgba(6,10,16,.40) 0%, rgba(6,10,16,.54) 26%, rgba(6,10,16,.72) 60%, rgba(6,10,16,.84) 100%),
    linear-gradient(90deg, rgba(7,12,18,.72) 0%, rgba(7,12,18,.44) 22%, rgba(7,12,18,.18) 50%, rgba(7,12,18,.44) 78%, rgba(7,12,18,.72) 100%),
    url('/assets/images/real-galena-main-street.webp') center 35% / cover no-repeat;
}
.page--index .mx-home-hero::before{
  background:
    radial-gradient(48% 54% at 50% 34%, rgba(6,10,16,.18), transparent 62%),
    linear-gradient(180deg, rgba(0,0,0,.06), rgba(0,0,0,.20));
}
.page--index .mx-home-hero__banner{
  gap: 12px;
  padding: 34px 12px 20px;
}
.page--index .mx-home-hero__banner::before{
  width: min(100%, 700px);
  height: 388px;
  top: 51%;
  background:
    linear-gradient(180deg, rgba(5,10,16,.42), rgba(5,10,16,.30) 52%, rgba(5,10,16,.18)),
    radial-gradient(62% 72% at 50% 36%, rgba(255,255,255,.05), transparent 70%);
  box-shadow: 0 32px 86px rgba(0,0,0,.28);
  backdrop-filter: blur(3px);
}
.page--index .mx-home-hero__copy{
  max-width: 680px;
  gap: 10px;
}
.page--index .mx-home-hero__eyebrow{
  color: rgba(255,255,255,.96);
  letter-spacing: .13em;
  text-shadow: 0 4px 18px rgba(0,0,0,.56);
}
.page--index .mx-home-hero__copy h1{
  max-width: 8.9ch;
  font-size: clamp(3.35rem, 6vw, 5.15rem);
  line-height: .93;
  text-shadow: 0 16px 42px rgba(0,0,0,.62);
}
.page--index .mx-home-hero__dek{
  max-width: 31ch;
  color: rgba(255,255,255,.98);
  font-size: 1.14rem;
  line-height: 1.46;
  text-shadow: 0 8px 22px rgba(0,0,0,.54);
}
.page--index .mx-home-banner-search{
  width: min(100%, 780px);
  margin-top: 8px;
}
.page--index .mx-home-hero__search-row{
  padding: 8px;
  border-color: rgba(255,255,255,.86);
  box-shadow: 0 22px 44px rgba(8,15,24,.32);
}
.page--index .mx-home-banner-search__input{
  min-height: 54px;
}
.page--index .mx-home-banner-search__button{
  min-width: 178px;
  min-height: 54px;
}
.page--index .mx-home-hero__chips{
  gap: 8px;
  margin-top: 2px;
}
.page--index .mx-home-hero__chips .mx-chip--soft{
  background: rgba(9,15,22,.66);
  border-color: rgba(255,255,255,.32);
  color: #fff;
  font-weight: 700;
  text-shadow: none;
  box-shadow: 0 12px 28px rgba(0,0,0,.24);
}
.page--index .mx-home-hero__chips .mx-chip--soft:hover{
  background: rgba(9,15,22,.78);
  border-color: rgba(255,255,255,.42);
}
.page--index .homepage-intro-lead,
.page--index .homepage-section-intro{
  max-width: 52ch;
}
.page--index h2{
  margin-top: 1.6rem;
  margin-bottom: .32rem;
}
.page--index .homepage-section-heading-row{
  margin: 0 0 .65rem;
}
.page--index .homepage-section-miniheading{
  font-size: .84rem;
  letter-spacing: .12em;
}
.page--index .homepage-view-all{
  font-size: .94rem;
}
@media (max-width: 980px){
  .page--index .mx-home-hero{
    background:
      linear-gradient(180deg, rgba(6,10,16,.46) 0%, rgba(6,10,16,.60) 30%, rgba(6,10,16,.76) 100%),
      linear-gradient(90deg, rgba(7,12,18,.72) 0%, rgba(7,12,18,.34) 50%, rgba(7,12,18,.66) 100%),
      url('/assets/images/real-galena-main-street.webp') center 35% / cover no-repeat;
  }
  .page--index .mx-home-hero__banner::before{
    width: min(100%, 640px);
    height: 360px;
  }
  .page--index .mx-home-hero__copy h1{
    max-width: 9.4ch;
    font-size: clamp(3rem, 7vw, 4.35rem);
  }
}
@media (max-width: 760px){
  .page--index .mx-home-hero{
    background:
      linear-gradient(180deg, rgba(6,10,16,.56) 0%, rgba(6,10,16,.68) 38%, rgba(6,10,16,.84) 100%),
      url('/assets/images/real-galena-main-street.webp') center 35% / cover no-repeat;
  }
  .page--index .mx-home-hero__banner{
    padding: 24px 0 18px;
    gap: 10px;
  }
  .page--index .mx-home-hero__banner::before{
    width: min(100%, 96%);
    height: 314px;
    top: 45%;
    border-radius: 24px;
  }
  .page--index .mx-home-hero__copy h1{
    max-width: 8.3ch;
    font-size: clamp(2.55rem, 10.5vw, 3.45rem);
  }
  .page--index .mx-home-hero__dek{
    max-width: 26ch;
    font-size: .98rem;
    line-height: 1.42;
  }
  .page--index .mx-home-hero__search-row{
    padding: 8px;
  }
  .page--index .mx-home-banner-search__button{
    min-height: 52px;
  }
  .page--index .mx-home-hero__chips{
    gap: 6px;
  }
  .page--index .mx-home-hero__chips .mx-chip--soft{
    font-size: .84rem;
  }
}


/* Ohio eastern continuation family */
.page--segments-geneva-ashtabula-conneaut .mx-page-cover__visual-card,
.page--places-conneaut .mx-page-cover__visual-card{
  background-image:
    linear-gradient(180deg, rgba(19,35,55,.08), rgba(19,35,55,.24)),
    url('/assets/images/real-geneva-main-street.webp');
  background-position:center 46%;
}

.page--places-ashtabula .mx-page-cover__visual-card,
.page--trips-ashtabula-county-route-20-weekend .mx-page-cover__visual-card{
  background-image:
    linear-gradient(180deg, rgba(19,35,55,.10), rgba(19,35,55,.28)),
    url('/assets/images/real-oberlin-downtown.webp');
  background-position:center 46%;
}

.route-list-grid > section:not(.route-card):has(a[href="/segments/geneva-ashtabula-conneaut/"])::before,
.route-list-grid > section:not(.route-card):has(a[href="/places/conneaut/"])::before{
  background-image:
    linear-gradient(180deg, rgba(19,35,55,.08), rgba(19,35,55,.24)),
    url('/assets/images/real-geneva-main-street.webp');
  background-position:center 46%;
}

.route-list-grid > section:not(.route-card):has(a[href="/places/ashtabula/"])::before,
.route-list-grid > section:not(.route-card):has(a[href="/trips/ashtabula-county-route-20-weekend/"])::before{
  background-image:
    linear-gradient(180deg, rgba(19,35,55,.10), rgba(19,35,55,.28)),
    url('/assets/images/real-oberlin-downtown.webp');
  background-position:center 46%;
}


/* New York Phase 5 — Eastern Finger Lakes to Auburn continuation */
.page--regions-eastern-finger-lakes-seneca-falls-auburn .mx-page-cover__visual-card,
.page--segments-canandaigua-seneca-falls-auburn .mx-page-cover__visual-card,
.page--trips-finger-lakes-auburn-route-20-weekend .mx-page-cover__visual-card{
  background-image:
    linear-gradient(180deg, rgba(10, 18, 35, 0.16) 0%, rgba(10, 18, 35, 0.54) 100%),
    url('/assets/images/real-seneca-falls-bedford-sign.webp');
  background-position: center center;
}

.route-list-grid > section:not(.route-card):has(a[href="/regions/eastern-finger-lakes-seneca-falls-auburn/"])::before,
.route-list-grid > section:not(.route-card):has(a[href="/segments/canandaigua-seneca-falls-auburn/"])::before,
.route-list-grid > section:not(.route-card):has(a[href="/trips/finger-lakes-auburn-route-20-weekend/"])::before{
  background-image:
    linear-gradient(180deg, rgba(10, 18, 35, 0.10) 0%, rgba(10, 18, 35, 0.42) 100%),
    url('/assets/images/real-seneca-falls-bedford-sign.webp');
  background-position: center center;
}

.route-list-grid > section:not(.route-card):has(a[href="/places/esperance/"])::before,
.route-list-grid > section:not(.route-card):has(a[href="/places/sloansville/"])::before{
  background-image:
    linear-gradient(180deg, rgba(19,35,55,.08), rgba(19,35,55,.26)),
    url('/assets/images/real-sharon-springs-us20.webp');
  background-position:center center;
}


/* Massachusetts Phase 1 — Berkshire gateway family */
.page--regions-massachusetts .mx-page-cover__visual-card,
.page--regions-berkshire-gateway-pittsfield-lenox .mx-page-cover__visual-card,
.page--segments-hancock-pittsfield-lenox .mx-page-cover__visual-card,
.page--trips-berkshire-gateway-route-20-weekend .mx-page-cover__visual-card,
.page--places-hancock .mx-page-cover__visual-card,
.page--places-pittsfield .mx-page-cover__visual-card,
.page--places-lenox .mx-page-cover__visual-card,
.page--regions-lee-jacobs-ladder-approach .mx-page-cover__visual-card,
.page--segments-lenox-lee-becket .mx-page-cover__visual-card,
.page--trips-lee-jacobs-ladder-route-20-weekend .mx-page-cover__visual-card,
.page--places-lee .mx-page-cover__visual-card,
.page--places-becket .mx-page-cover__visual-card,
.page--regions-chester-jacobs-ladder-continuation .mx-page-cover__visual-card,
.page--segments-becket-chester-huntington .mx-page-cover__visual-card,
.page--trips-chester-jacobs-ladder-route-20-weekend .mx-page-cover__visual-card,
.page--places-chester .mx-page-cover__visual-card,
.page--places-huntington .mx-page-cover__visual-card,
.page--regions-russell-westfield-transition .mx-page-cover__visual-card,
.page--segments-huntington-russell-westfield .mx-page-cover__visual-card,
.page--trips-russell-westfield-route-20-weekend .mx-page-cover__visual-card,
.page--places-russell .mx-page-cover__visual-card,
.page--places-westfield .mx-page-cover__visual-card{
  background-image:
    linear-gradient(180deg, rgba(16, 24, 40, 0.12) 0%, rgba(16, 24, 40, 0.44) 100%),
    url('/assets/images/real-eastern-ny-route20.webp');
  background-position: center center;
}

.route-list-grid > section:not(.route-card):has(a[href="/regions/massachusetts/"])::before,
.route-list-grid > section:not(.route-card):has(a[href="/regions/berkshire-gateway-pittsfield-lenox/"])::before,
.route-list-grid > section:not(.route-card):has(a[href="/segments/hancock-pittsfield-lenox/"])::before,
.route-list-grid > section:not(.route-card):has(a[href="/trips/berkshire-gateway-route-20-weekend/"])::before,
.route-list-grid > section:not(.route-card):has(a[href="/places/hancock/"])::before,
.route-list-grid > section:not(.route-card):has(a[href="/places/pittsfield/"])::before,
.route-list-grid > section:not(.route-card):has(a[href="/places/lenox/"])::before,
.route-list-grid > section:not(.route-card):has(a[href="/regions/lee-jacobs-ladder-approach/"])::before,
.route-list-grid > section:not(.route-card):has(a[href="/segments/lenox-lee-becket/"])::before,
.route-list-grid > section:not(.route-card):has(a[href="/trips/lee-jacobs-ladder-route-20-weekend/"])::before,
.route-list-grid > section:not(.route-card):has(a[href="/places/lee/"])::before,
.route-list-grid > section:not(.route-card):has(a[href="/places/becket/"])::before,
.route-list-grid > section:not(.route-card):has(a[href="/regions/chester-jacobs-ladder-continuation/"])::before,
.route-list-grid > section:not(.route-card):has(a[href="/segments/becket-chester-huntington/"])::before,
.route-list-grid > section:not(.route-card):has(a[href="/trips/chester-jacobs-ladder-route-20-weekend/"])::before,
.route-list-grid > section:not(.route-card):has(a[href="/places/chester/"])::before,
.route-list-grid > section:not(.route-card):has(a[href="/places/huntington/"])::before,
.route-list-grid > section:not(.route-card):has(a[href="/regions/russell-westfield-transition/"])::before,
.route-list-grid > section:not(.route-card):has(a[href="/segments/huntington-russell-westfield/"])::before,
.route-list-grid > section:not(.route-card):has(a[href="/trips/russell-westfield-route-20-weekend/"])::before,
.route-list-grid > section:not(.route-card):has(a[href="/places/russell/"])::before,
.route-list-grid > section:not(.route-card):has(a[href="/places/westfield/"])::before,
.route-card--feature-massachusetts-state::before{
  background-image:
    linear-gradient(180deg, rgba(16, 24, 40, 0.10) 0%, rgba(16, 24, 40, 0.34) 100%),
    url('/assets/images/real-eastern-ny-route20.webp');
  background-position: center center;
}


/* Route overview Massachusetts card-family cleanup */
.page--route-overview .route-list-grid > section:has(a[href="/regions/massachusetts/"])::before,
.page--route-overview .route-list-grid > section:has(a[href="/regions/berkshire-gateway-pittsfield-lenox/"])::before,
.page--route-overview .route-list-grid > section:has(a[href="/trips/berkshire-gateway-route-20-weekend/"])::before,
.page--route-overview .route-list-grid > section:has(a[href="/trips/lee-jacobs-ladder-route-20-weekend/"])::before,
.page--route-overview .route-list-grid > section:has(a[href="/trips/chester-jacobs-ladder-route-20-weekend/"])::before{
  background-image:
    linear-gradient(180deg, rgba(16, 24, 40, 0.12) 0%, rgba(16, 24, 40, 0.40) 100%),
    url('/assets/images/real-eastern-ny-route20.webp');
  background-position:center center;
}

.page--route-overview .route-list-grid > section:has(a[href="/regions/west-springfield-springfield-gateway/"])::before,
.page--route-overview .route-list-grid > section:has(a[href="/regions/wilbraham-palmer-continuation/"])::before,
.page--route-overview .route-list-grid > section:has(a[href="/regions/brimfield-sturbridge-continuation/"])::before,
.page--route-overview .route-list-grid > section:has(a[href="/regions/auburn-worcester-continuation/"])::before,
.page--route-overview .route-list-grid > section:has(a[href="/trips/west-springfield-springfield-route-20-weekend/"])::before,
.page--route-overview .route-list-grid > section:has(a[href="/trips/wilbraham-palmer-route-20-weekend/"])::before,
.page--route-overview .route-list-grid > section:has(a[href="/trips/brimfield-sturbridge-route-20-weekend/"])::before,
.page--route-overview .route-list-grid > section:has(a[href="/trips/auburn-worcester-route-20-weekend/"])::before{
  background-image:
    linear-gradient(180deg, rgba(16, 24, 40, 0.10) 0%, rgba(16, 24, 40, 0.36) 100%),
    url('/assets/images/real-us20-warren-ny.webp');
  background-position:center 52%;
}

.page--route-overview .route-list-grid > section:has(a[href="/regions/shrewsbury-marlborough-continuation/"])::before,
.page--route-overview .route-list-grid > section:has(a[href="/regions/framingham-weston-continuation/"])::before,
.page--route-overview .route-list-grid > section:has(a[href="/regions/waltham-watertown-continuation/"])::before,
.page--route-overview .route-list-grid > section:has(a[href="/regions/boston-kenmore-final-approach/"])::before,
.page--route-overview .route-list-grid > section:has(a[href="/trips/shrewsbury-marlborough-route-20-weekend/"])::before,
.page--route-overview .route-list-grid > section:has(a[href="/trips/framingham-weston-route-20-weekend/"])::before,
.page--route-overview .route-list-grid > section:has(a[href="/trips/waltham-watertown-route-20-weekend/"])::before,
.page--route-overview .route-list-grid > section:has(a[href="/trips/boston-kenmore-route-20-weekend/"])::before{
  background-image:
    linear-gradient(180deg, rgba(16, 24, 40, 0.12) 0%, rgba(16, 24, 40, 0.40) 100%),
    url('/assets/images/real-freeport-library.webp');
  background-position:center 46%;
}

/* Homepage card carousel */
.page--index .mx-home-carousel,
.page--route-overview .mx-home-carousel{
  --mx-home-carousel-gap: 1rem;
  position: relative;
  margin: 0 0 1.4rem;
}
.page--index .mx-home-carousel__viewport,
.page--route-overview .mx-home-carousel__viewport{
  overflow: hidden;
}
.page--index .mx-home-carousel__track.route-list-grid,
.page--route-overview .mx-home-carousel__track.route-list-grid{
  display: flex;
  flex-wrap: nowrap;
  gap: var(--mx-home-carousel-gap);
  overflow-x: auto;
  overscroll-behavior-x: contain;
  scroll-snap-type: x proximity;
  scroll-behavior: smooth;
  padding: .2rem 0 .6rem;
  grid-template-columns: none;
  scrollbar-width: none;
}
.page--index .mx-home-carousel__track.route-list-grid::-webkit-scrollbar,
.page--route-overview .mx-home-carousel__track.route-list-grid::-webkit-scrollbar{
  display: none;
}
.page--index .mx-home-carousel__track.route-list-grid > section,
.page--route-overview .mx-home-carousel__track.route-list-grid > section{
  flex: 0 0 calc((100% - (3 * var(--mx-home-carousel-gap))) / 4);
  min-width: 16rem;
  scroll-snap-align: start;
  margin: 0;
}
.page--index .mx-home-carousel__button,
.page--route-overview .mx-home-carousel__button{
  position: absolute;
  top: 50%;
  transform: translateY(calc(-50% - .3rem));
  z-index: 2;
  width: 2.9rem;
  height: 2.9rem;
  border: 1px solid rgba(20, 34, 27, .14);
  border-radius: 999px;
  background: rgba(255, 255, 255, .94);
  color: #123226;
  box-shadow: 0 10px 24px rgba(15, 23, 42, .14);
  display: none;
  align-items: center;
  justify-content: center;
  cursor: pointer;
}
.page--index .mx-home-carousel.is-scrollable .mx-home-carousel__button,
.page--route-overview .mx-home-carousel.is-scrollable .mx-home-carousel__button{
  display: inline-flex;
}
.page--index .mx-home-carousel__button:hover:not(:disabled),
.page--route-overview .mx-home-carousel__button:hover:not(:disabled){
  background: #ffffff;
}
.page--index .mx-home-carousel__button:disabled,
.page--route-overview .mx-home-carousel__button:disabled{
  opacity: .38;
  cursor: default;
}
.page--index .mx-home-carousel__button span,
.page--route-overview .mx-home-carousel__button span{
  font-size: 2rem;
  line-height: 1;
  margin-top: -.14rem;
}
.page--index .mx-home-carousel__button--prev,
.page--route-overview .mx-home-carousel__button--prev{
  left: -1.1rem;
}
.page--index .mx-home-carousel__button--next,
.page--route-overview .mx-home-carousel__button--next{
  right: -1.1rem;
}
@media (max-width: 1180px){
  .page--index .mx-home-carousel__track.route-list-grid > section,
.page--route-overview .mx-home-carousel__track.route-list-grid > section{
    flex-basis: calc((100% - (2 * var(--mx-home-carousel-gap))) / 3);
  }
}
@media (max-width: 860px){
  .page--index .mx-home-carousel__track.route-list-grid > section,
.page--route-overview .mx-home-carousel__track.route-list-grid > section{
    flex-basis: calc((100% - var(--mx-home-carousel-gap)) / 2);
  }
  .page--index .mx-home-carousel__button,
.page--route-overview .mx-home-carousel__button{
    width: 2.6rem;
    height: 2.6rem;
  }
  .page--index .mx-home-carousel__button--prev,
.page--route-overview .mx-home-carousel__button--prev{
    left: -.45rem;
  }
  .page--index .mx-home-carousel__button--next,
.page--route-overview .mx-home-carousel__button--next{
    right: -.45rem;
  }
}
@media (max-width: 640px){
  .page--index .mx-home-carousel__track.route-list-grid > section,
.page--route-overview .mx-home-carousel__track.route-list-grid > section{
    flex-basis: 86%;
    min-width: 15rem;
  }
  .page--index .mx-home-carousel__button,
.page--route-overview .mx-home-carousel__button{
    display: none !important;
  }
}

.brand__title-row {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  flex-wrap: wrap;
}

.mx-beta-badge {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0.15rem 0.55rem;
  border-radius: 999px;
  border: 1px solid rgba(125, 75, 43, 0.24);
  background: #f4e5d6;
  color: #7d4b2b;
  font: 700 0.72rem/1 Inter, Arial, sans-serif;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.mx-page-lastmod {
  display: inline-flex;
  gap: 0.45rem;
  align-items: center;
  margin: 0 0 1.25rem;
  padding: 0.45rem 0.8rem;
  border: 1px solid rgba(125, 75, 43, 0.15);
  border-radius: 999px;
  background: #faf5ef;
  color: var(--muted);
  font: 600 0.9rem/1.2 Inter, Arial, sans-serif;
}

.mx-page-lastmod__label {
  color: #7d4b2b;
}

.beta-note,
.blog-roll {
  margin: 1.25rem 0 1.75rem;
  padding: 1rem 1.1rem;
  border: 1px solid var(--line);
  border-radius: 16px;
  background: #fff;
}

.beta-note {
  background: linear-gradient(180deg, #fffaf4 0%, #fff 100%);
}

.beta-note p:last-child,
.blog-roll p:last-child,
.blog-roll ul:last-child {
  margin-bottom: 0;
}

.blog-roll ul {
  margin: 0.75rem 0 0;
}

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

@media (max-width: 700px) {
  .mx-page-lastmod {
    display: flex;
    flex-wrap: wrap;
  }
}


/* Soft beta trust + section indexes */
.homepage-beta-notice{
  margin:0 0 1.25rem;
  padding:1rem 1.1rem;
  border:1px solid var(--mx-border);
  border-radius:18px;
  background:rgba(255,255,255,.84);
  box-shadow:var(--mx-shadow2);
}
.homepage-beta-notice p{margin:0;color:var(--mx-muted)}
.route-overview-map-lead{
  margin:0 0 1rem;
  font-size:1.03rem;
}
.route-map-overview--prominent{
  padding:1.1rem;
  border:1px solid var(--mx-border);
  border-radius:22px;
  background:linear-gradient(180deg, rgba(255,255,255,.94), rgba(238,246,255,.86));
  box-shadow:var(--mx-shadow2);
}
.route-map-overview--prominent .route-map-overview__grid{
  grid-template-columns:minmax(0,1.8fr) minmax(0,1fr);
  gap:1rem;
}
.route-map-overview--prominent .route-map-overview__figure:first-child img{
  width:100%;
  border-radius:18px;
  border:1px solid var(--mx-border);
  background:#fff;
  box-shadow:var(--mx-shadow2);
}
.mx-blog-header{
  max-width:760px;
  margin:0 auto 1.25rem;
}
.mx-blog-header--index{max-width:920px}
.mx-blog-header__eyebrow{
  margin:0 0 .45rem;
  text-transform:uppercase;
  letter-spacing:.1em;
  font-weight:800;
  font-size:.82rem;
  color:var(--mx-muted);
}
.mx-blog-header__dek{
  margin:.3rem 0 0;
  font-size:1.06rem;
  color:var(--mx-muted);
  max-width:66ch;
}
.mx-blog-shell--index{max-width:920px;margin:0 auto}
.mx-blog-shell--post{max-width:760px;margin:0 auto}
.mx-blog-card-grid{
  display:grid;
  grid-template-columns:repeat(auto-fit,minmax(280px,1fr));
  gap:1rem;
  margin-top:1.25rem;
}
.mx-blog-card{
  padding:1.15rem 1.15rem 1.2rem;
  border:1px solid var(--mx-border);
  border-radius:20px;
  background:linear-gradient(180deg, rgba(255,255,255,.96), rgba(238,246,255,.86));
  box-shadow:var(--mx-shadow2);
}
.mx-blog-card h2{
  margin:.2rem 0 .45rem;
  font-size:1.45rem;
  line-height:1.18;
}
.mx-blog-card p{margin:.45rem 0;color:var(--mx-muted)}
.mx-blog-card__eyebrow{
  margin:0;
  text-transform:uppercase;
  letter-spacing:.08em;
  font-size:.78rem;
  font-weight:800;
  color:var(--mx-muted);
}
.mx-blog-card__cta a{text-decoration:none}
.mx-blog-post{
  font-size:1.03rem;
}
.mx-blog-post > p,
.mx-blog-post > ul,
.mx-blog-post > ol,
.mx-blog-post > hr,
.mx-blog-post > h2,
.mx-blog-post > h3{
  max-width:66ch;
}
.mx-blog-post h2{
  margin-top:2rem;
  font-size:1.7rem;
  line-height:1.2;
}
.mx-blog-post h3{
  margin-top:1.45rem;
}
.mx-blog-post p{color:var(--mx-text)}
.mx-blog-post ul li,
.mx-blog-post ol li{color:var(--mx-text)}
.mx-partner-form-wrap{
  margin-top:1.25rem;
  padding:1rem;
  border:1px solid var(--mx-border);
  border-radius:18px;
  background:rgba(255,255,255,.82);
}
.mx-partner-form{display:grid;gap:.9rem}
.mx-partner-form label{display:grid;gap:.35rem;font-weight:700}
.mx-partner-form input,
.mx-partner-form select,
.mx-partner-form textarea{
  width:100%;
  padding:.8rem .9rem;
  border:1px solid var(--mx-border);
  border-radius:12px;
  background:#fff;
  color:var(--mx-text);
  font:inherit;
  box-sizing:border-box;
}
.mx-partner-form textarea{resize:vertical}
@media (max-width: 900px){
  .route-map-overview--prominent .route-map-overview__grid{
    grid-template-columns:1fr;
  }
}

/* Soft beta polish pass: hero search, route-overview hero map, footer, and section-index tightening */
.page--index .mx-home-hero,
.page--index .mx-home-hero__banner,
.page--index .mx-home-banner-search {
  overflow: visible;
}

.page--index .mx-home-banner-search {
  width: min(860px, 100%);
  margin: 0 auto;
  position: relative;
}

.page--index .mx-home-hero__search-row {
  width: min(860px, 100%);
  margin: 0 auto;
  border: 1px solid rgba(15, 23, 42, .12);
  border-radius: 999px;
  background: rgba(255,255,255,.96);
  box-shadow: 0 10px 28px rgba(15, 23, 42, .09);
  padding: 6px;
}

.page--index .mx-home-banner-search__input {
  border: 0;
  background: transparent;
  padding: 15px 18px;
}

.page--index .mx-home-banner-search__input:focus {
  outline: none;
}

.page--index .mx-home-banner-search__button {
  border-radius: 999px;
  min-width: 172px;
  padding: 14px 20px;
}

.page--index .mx-home-banner-search__results {
  position: relative;
  left: auto;
  right: auto;
  top: auto;
  margin: 12px auto 0;
  width: min(860px, 100%);
}

.mx-page-tools {
  justify-items: center;
  gap: 10px;
}

.mx-search--page-ai {
  width: min(860px, 100%);
  padding: 6px;
  border: 1px solid rgba(15, 23, 42, .12);
  border-radius: 999px;
  background: rgba(255,255,255,.98);
  box-shadow: 0 10px 28px rgba(15, 23, 42, .08);
}

.mx-search--page-ai input {
  padding: 15px 18px;
}

.mx-search--page-ai .mx-btn {
  border-radius: 999px;
  min-width: 146px;
  padding: 14px 20px;
  background: #111827;
  border-color: #111827;
  color: #fff;
}

.mx-search--page-ai .mx-btn:hover {
  background: #0b1220;
  border-color: #0b1220;
}

.mx-section--page-tools {
  width: min(860px, 100%);
  justify-items: center;
  text-align: center;
}

.mx-chip-label {
  margin: 2px 0 6px;
  color: #111827;
  opacity: 1;
}

.mx-page-tools-links {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 10px 22px;
  font: 700 .94rem/1.3 Inter, Arial, sans-serif;
}

.mx-page-tools-links a {
  color: #111827;
  text-decoration: none;
}

.mx-page-tools-links a:hover {
  text-decoration: underline;
}

.mx-page-lastmod {
  display: flex;
  flex-wrap: wrap;
  gap: .35rem;
  align-items: baseline;
  margin: 0 0 1rem;
  padding: 0;
  border: 0;
  border-radius: 0;
  background: transparent;
  color: #111827;
  font: 600 .94rem/1.4 Inter, Arial, sans-serif;
}

.mx-page-lastmod__label,
.mx-page-lastmod__value {
  color: #111827;
}

.mx-page-cover--route-overview {
  grid-template-columns: 1fr;
  gap: 18px;
  align-items: start;
}

.mx-page-cover--route-overview .mx-page-cover__copy h1 {
  max-width: none;
}

.mx-page-cover__visual--route-overview {
  display: block;
}

.mx-page-cover__map-hero {
  margin: 0;
}

.mx-page-cover__map-hero img {
  display: block;
  width: 100%;
  height: auto;
  border-radius: 22px;
  border: 1px solid rgba(222,227,233,.95);
  background: #fff;
  box-shadow: 0 12px 30px rgba(15, 23, 42, .06);
}

.mx-page-cover__map-hero figcaption {
  margin-top: 12px;
}

.mx-page-cover--route-overview .route-map-legend {
  margin-top: 0;
}

.mx-footer {
  margin-top: 42px;
  padding-top: 8px;
  background: #f7f7f5;
  border-top: 1px solid rgba(17,24,39,.08);
}

.mx-footer__inner--beta {
  display: grid;
  grid-template-columns: minmax(240px, .95fr) minmax(0, 2.2fr);
  gap: 28px;
  padding: 30px 18px 18px;
}

.mx-footer__brand--beta {
  align-self: start;
}

.mx-footer__lede {
  margin: 12px 0 0;
  max-width: 34ch;
  color: var(--mx-muted);
}

.mx-footer__cols--beta {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 18px 28px;
}

.mx-footer__col a {
  margin: 7px 0;
  color: #111827;
}

.mx-footer__meta {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 10px 20px;
  padding: 14px 18px 26px;
  border-top: 1px solid rgba(17,24,39,.08);
  color: var(--mx-muted);
  font: 600 .9rem/1.4 Inter, Arial, sans-serif;
}

.mx-footer__legal,
.mx-footer__meta-links {
  display: flex;
  flex-wrap: wrap;
  gap: 8px 16px;
}

.mx-footer__meta-links a {
  color: #111827;
  text-decoration: none;
}

.mx-footer__meta-links a:hover {
  text-decoration: underline;
}

.page--states .mx-article-surface > h1 + p,
.page--segments .mx-article-surface > h1 + p,
.page--places .mx-article-surface > h1 + p,
.page--routes .mx-article-surface > h1 + p,
.page--trips .mx-article-surface > h1 + p {
  max-width: 70ch;
  font-size: 1.05rem;
  color: var(--mx-muted);
}

.page--states .route-list-grid,
.page--segments .route-list-grid,
.page--places .route-list-grid,
.page--routes .route-list-grid,
.page--trips .route-list-grid {
  gap: 18px;
}

.page--states .route-list-grid > section,
.page--segments .route-list-grid > section,
.page--places .route-list-grid > section,
.page--routes .route-list-grid > section,
.page--trips .route-list-grid > section {
  padding: 18px 18px 20px;
  border: 1px solid rgba(17,24,39,.08);
  border-radius: 20px;
  background: linear-gradient(180deg, rgba(255,255,255,.98), rgba(247,248,250,.98));
  box-shadow: 0 8px 22px rgba(15,23,42,.04);
}

.page--states .route-list-grid > section h3,
.page--segments .route-list-grid > section h3,
.page--places .route-list-grid > section h3,
.page--routes .route-list-grid > section h3,
.page--trips .route-list-grid > section h3 {
  margin-top: 0;
  margin-bottom: .45rem;
}

.page--states .route-list-grid > section h3 a,
.page--segments .route-list-grid > section h3 a,
.page--places .route-list-grid > section h3 a,
.page--routes .route-list-grid > section h3 a,
.page--trips .route-list-grid > section h3 a {
  color: #111827;
  text-decoration: none;
}

.page--states .route-list-grid > section h3 a:hover,
.page--segments .route-list-grid > section h3 a:hover,
.page--places .route-list-grid > section h3 a:hover,
.page--routes .route-list-grid > section h3 a:hover,
.page--trips .route-list-grid > section h3 a:hover {
  text-decoration: underline;
}

@media (max-width: 980px) {
  .mx-footer__inner--beta {
    grid-template-columns: 1fr;
  }

  .mx-footer__cols--beta {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 700px) {
  .page--index .mx-home-banner-search,
  .page--index .mx-home-hero__search-row,
  .page--index .mx-home-banner-search__results,
  .mx-search--page-ai,
  .mx-section--page-tools {
    width: 100%;
  }

  .page--index .mx-home-hero__search-row,
  .mx-search--page-ai {
    border-radius: 26px;
  }

  .page--index .mx-home-banner-search__button,
  .mx-search--page-ai .mx-btn {
    min-width: 0;
  }

  .mx-footer__cols--beta {
    grid-template-columns: 1fr;
  }
}
.mx-page-tools-links form {
  margin: 0;
}

.mx-page-tools-links button {
  border: 0;
  padding: 0;
  background: transparent;
  color: #111827;
  font: inherit;
  cursor: pointer;
}

.mx-page-tools-links button:hover {
  text-decoration: underline;
}


/* Route20RoadTrip section-landing heroes, blog imagery, and homepage card-depth pass */
.page--index .mx-home-hero,
.page--index .mx-home-banner-search,
.page--index .mx-home-banner-search__results {
  overflow: visible;
}
.page--index .mx-home-banner-search {
  z-index: 12;
}
.page--index .mx-home-banner-search__results {
  top: calc(100% + 8px);
  z-index: 28;
  max-width: 100%;
}
.page--index .mx-article-surface {
  position: relative;
  z-index: 1;
}

.page--states-index .mx-page-cover__visual-card,
.page--routes .mx-page-cover__visual-card,
.page--blog .mx-page-cover__visual-card,
.page--blog-route-20-road-trip-beta-launch-and-route-20-anniversary .mx-page-cover__visual-card {
  min-height: clamp(280px, 34vw, 420px);
}
.page--states-index .mx-page-cover__visual-card {
  background:
    linear-gradient(180deg, rgba(18,31,47,.20), rgba(18,31,47,.48)),
    url('/assets/images/real-us20-warren-ny.webp') center 44% / cover no-repeat;
}
.page--routes .mx-page-cover__visual-card {
  background:
    linear-gradient(180deg, rgba(18,31,47,.16), rgba(18,31,47,.42)),
    url('/assets/images/real-eastern-ny-route20.webp') center 50% / cover no-repeat;
}
.page--blog .mx-page-cover__visual-card {
  background:
    linear-gradient(180deg, rgba(18,31,47,.14), rgba(18,31,47,.40)),
    url('/assets/images/real-galena-main-street.webp') center 34% / cover no-repeat;
}
.page--blog-route-20-road-trip-beta-launch-and-route-20-anniversary .mx-page-cover__visual-card {
  background:
    linear-gradient(180deg, rgba(18,31,47,.12), rgba(18,31,47,.36)),
    url('/assets/images/real-us20-galena-bridge.webp') center 46% / cover no-repeat;
}

.mx-page-cover--states .mx-page-cover__copy,
.mx-page-cover--routes .mx-page-cover__copy,
.mx-page-cover--blog .mx-page-cover__copy {
  align-self: center;
}

.page--states-index .route-list-grid:first-of-type,
.page--segments-index .route-list-grid:first-of-type,
.page--places-index .route-list-grid:first-of-type,
.page--routes-index .route-list-grid:first-of-type,
.page--trips-index .route-list-grid:first-of-type,
.page--regions-index .route-list-grid:first-of-type {
  gap: 18px;
}
.page--states-index .route-list-grid > section,
.page--segments-index .route-list-grid > section,
.page--places-index .route-list-grid > section,
.page--routes-index .route-list-grid > section,
.page--trips-index .route-list-grid > section,
.page--regions-index .route-list-grid > section {
  padding: 18px 18px 16px;
  border-radius: 18px;
  box-shadow: 0 10px 24px rgba(17, 24, 39, .04);
}
.page--states-index .route-list-grid > section h3,
.page--segments-index .route-list-grid > section h3,
.page--places-index .route-list-grid > section h3,
.page--routes-index .route-list-grid > section h3,
.page--trips-index .route-list-grid > section h3,
.page--regions-index .route-list-grid > section h3 {
  font-size: 1.26rem;
  line-height: 1.16;
}
.page--states-index .route-list-grid > section p:last-child,
.page--segments-index .route-list-grid > section p:last-child,
.page--places-index .route-list-grid > section p:last-child,
.page--routes-index .route-list-grid > section p:last-child,
.page--trips-index .route-list-grid > section p:last-child,
.page--regions-index .route-list-grid > section p:last-child {
  margin-bottom: 0;
}
.page--states-index .route-list-grid > section:first-child,
.page--routes-index .route-list-grid > section:first-child,
.page--trips-index .route-list-grid > section:first-child,
.page--places-index .route-list-grid:first-of-type > section:first-child,
.page--segments-index .route-list-grid > section:first-child,
.page--regions-index .route-list-grid > section:first-child {
  border-color: rgba(47,98,124,.22);
  background: linear-gradient(180deg, rgba(246,249,252,.96), rgba(255,255,255,.98));
  box-shadow: 0 14px 30px rgba(17,24,39,.06);
}
.page--states-index .route-list-grid > section:first-child .route-card-status,
.page--routes-index .route-list-grid > section:first-child .route-card-status,
.page--trips-index .route-list-grid > section:first-child .route-card-status,
.page--places-index .route-list-grid:first-of-type > section:first-child .route-card-status,
.page--segments-index .route-list-grid > section:first-child .route-card-status,
.page--regions-index .route-list-grid > section:first-child .route-card-status {
  background: rgba(125,75,43,.11);
  color: #6c411f;
}
.page--states-index .route-list-grid > section:first-child,
.page--routes-index .route-list-grid > section:first-child,
.page--trips-index .route-list-grid > section:first-child,
.page--places-index .route-list-grid:first-of-type > section:first-child,
.page--segments-index .route-list-grid > section:first-child,
.page--regions-index .route-list-grid > section:first-child {
  grid-column: span 2;
}
.page--places-index .route-list-grid:first-of-type > section:nth-child(2),
.page--trips-index .route-list-grid > section:nth-child(2),
.page--states-index .route-list-grid > section:nth-child(2) {
  border-color: rgba(47,98,124,.16);
  background: linear-gradient(180deg, rgba(248,250,252,.94), rgba(255,255,255,.98));
}
.page--routes-index .route-list-grid,
.page--states-index .route-list-grid,
.page--places-index .route-list-grid:first-of-type {
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
}

.mx-blog-index-intro {
  max-width: 64ch;
  margin: 0 0 18px;
}
.mx-blog-card-grid {
  display: grid;
  gap: 20px;
}
.mx-blog-card {
  overflow: hidden;
  border: 1px solid rgba(222,227,233,.95);
  border-radius: 22px;
  background: #fff;
  box-shadow: 0 14px 32px rgba(17,24,39,.06);
}
.mx-blog-card__media {
  display: block;
  aspect-ratio: 16 / 8;
  overflow: hidden;
  background: #eef3f8;
}
.mx-blog-card__media img {
  width: 100%;
  height: 100%;
  display: block;
  object-fit: cover;
}
.mx-blog-card__body {
  display: grid;
  gap: 10px;
  padding: 20px 20px 18px;
}
.mx-blog-card__body > * {
  margin: 0;
}
.mx-blog-card__eyebrow {
  color: #5b6d7f;
  font-size: .78rem;
  letter-spacing: .08em;
  text-transform: uppercase;
}
.mx-blog-card__cta a {
  font-weight: 700;
}
.mx-blog-post {
  max-width: 760px;
}
.mx-blog-post > *:first-child {
  margin-top: 0;
}
.mx-blog-figure {
  margin: 0 0 1.35rem;
  border: 1px solid rgba(222,227,233,.95);
  border-radius: 22px;
  overflow: hidden;
  background: #fff;
  box-shadow: 0 14px 30px rgba(17,24,39,.06);
}
.mx-blog-figure img {
  width: 100%;
  height: auto;
  display: block;
}
.mx-blog-figure figcaption {
  padding: 12px 16px 14px;
  color: #59636e;
  font-size: .94rem;
  line-height: 1.5;
}
.mx-blog-callout {
  margin: 1.35rem 0;
  padding: 16px 18px;
  border: 1px solid rgba(47,98,124,.18);
  border-radius: 18px;
  background: linear-gradient(180deg, rgba(246,249,252,.96), rgba(255,255,255,.98));
}
.mx-blog-callout > * {
  margin-top: 0;
  margin-bottom: .45rem;
}
.mx-blog-callout > *:last-child {
  margin-bottom: 0;
}

@media (max-width: 900px) {
  .page--states-index .route-list-grid > section:first-child,
  .page--routes-index .route-list-grid > section:first-child,
  .page--trips-index .route-list-grid > section:first-child,
  .page--places-index .route-list-grid:first-of-type > section:first-child,
  .page--segments-index .route-list-grid > section:first-child,
  .page--regions-index .route-list-grid > section:first-child {
    grid-column: span 1;
  }
}
@media (max-width: 760px) {
  .mx-blog-card__body {
    padding: 16px 16px 15px;
  }
  .mx-blog-figure {
    border-radius: 18px;
  }
}


.page--index .route-list-grid--priority-starts {
  gap: 18px;
}
.page--index .route-list-grid--priority-starts > section {
  padding: 20px 20px 18px;
  border-radius: 18px;
}
.page--index .route-list-grid--priority-starts .route-card--priority-primary {
  grid-column: span 2;
  border-color: rgba(47,98,124,.24);
  background: linear-gradient(180deg, rgba(246,249,252,.97), rgba(255,255,255,.99));
  box-shadow: 0 16px 34px rgba(17,24,39,.07);
}
.page--index .route-list-grid--priority-starts .route-card--priority-secondary {
  border-color: rgba(47,98,124,.18);
}
.page--index .route-list-grid--priority-starts h3 {
  font-size: 1.28rem;
  line-height: 1.14;
}
.page--index .route-list-grid--priority-starts p:last-child {
  margin-bottom: 0;
}
@media (max-width: 980px) {
  .page--index .route-list-grid--priority-starts .route-card--priority-primary {
    grid-column: span 1;
  }
}

/* Section-page refinement pass */
/* Carry deliberate image families and stronger featured-card emphasis into /states/, /routes/, /segments/, /places/, and /trips/. */

.route-card--feature-massachusetts-place::before,
.route-card--feature-massachusetts-trip::before{
  background-image:
    linear-gradient(180deg, rgba(16, 24, 40, 0.10) 0%, rgba(16, 24, 40, 0.36) 100%),
    url('/assets/images/real-eastern-ny-route20.webp');
  background-position:center 50%;
}

.route-card--feature-massachusetts-gateway-place::before,
.route-card--feature-massachusetts-gateway-trip::before{
  background-image:
    linear-gradient(180deg, rgba(16, 24, 40, 0.10) 0%, rgba(16, 24, 40, 0.36) 100%),
    url('/assets/images/real-us20-warren-ny.webp');
  background-position:center 52%;
}

.page--states .route-list-grid--states-page > .route-card,
.page--routes .route-list-grid--routes-page > .route-card,
.page--segments .route-list-grid--segments-page > .route-card,
.page--places .route-list-grid--places-page > .route-card,
.page--trips .route-list-grid--trips-page > .route-card{
  border-color: rgba(47, 98, 124, .18);
  box-shadow: 0 12px 26px rgba(16,24,40,.05);
}

.page--states .route-list-grid--states-page > .route-card[class*="route-card--feature-"],
.page--routes .route-list-grid--routes-page > .route-card[class*="route-card--feature-"],
.page--routes .route-list-grid--routes-page > .route-card.route-card--priority-primary,
.page--routes .route-list-grid--routes-page > .route-card.route-card--sampler,
.page--segments .route-list-grid--segments-page > .route-card[class*="route-card--feature-"],
.page--places .route-list-grid--places-page > .route-card[class*="route-card--feature-"],
.page--trips .route-list-grid--trips-page > .route-card[class*="route-card--feature-"],
.page--trips .route-list-grid--trips-page > .route-card.route-card--priority-primary,
.page--trips .route-list-grid--trips-page > .route-card.route-card--sampler{
  border-color: rgba(47, 98, 124, .28);
  box-shadow: 0 18px 36px rgba(16,24,40,.08);
}

@media (min-width: 980px){
  .page--states .route-list-grid--states-page > .route-card:nth-child(-n+2),
  .page--routes .route-list-grid--routes-page > .route-card:nth-child(-n+2),
  .page--places .route-list-grid--places-page > .route-card:nth-child(-n+2),
  .page--trips .route-list-grid--trips-page > .route-card:nth-child(-n+2){
    grid-column: span 2;
  }
}

/* /segments/ card families */
.page--segments .route-list-grid--segments-page > section:has(a[href="/segments/galena-western-gateway/"])::before,
.page--segments .route-list-grid--segments-page > section:has(a[href="/segments/freeport-stephenson-county/"])::before,
.page--segments .route-list-grid--segments-page > section:has(a[href="/segments/freeport-rockford-corridor/"])::before{
  background-image:
    linear-gradient(180deg, rgba(19,35,55,.10), rgba(19,35,55,.28)),
    url('/assets/images/real-freeport-library.webp');
  background-position:center 46%;
}

.page--segments .route-list-grid--segments-page > section:has(a[href="/segments/westfield-fredonia-silver-creek/"])::before{
  background-image:
    linear-gradient(180deg, rgba(19,35,55,.08), rgba(19,35,55,.24)),
    url('/assets/images/real-wesleyville-us20.webp');
  background-position:center 52%;
}

.page--segments .route-list-grid--segments-page > section:has(a[href="/segments/avon-lima-east-bloomfield/"])::before{
  background-image:
    linear-gradient(180deg, rgba(19,35,55,.08), rgba(19,35,55,.24)),
    url('/assets/images/real-cazenovia-downtown.webp');
  background-position:center 52%;
}

.page--segments .route-list-grid--segments-page > section:has(a[href="/segments/canandaigua-seneca-falls-auburn/"])::before{
  background-image:
    linear-gradient(180deg, rgba(10, 18, 35, 0.10) 0%, rgba(10, 18, 35, 0.42) 100%),
    url('/assets/images/real-seneca-falls-bedford-sign.webp');
  background-position:center center;
}

.page--segments .route-list-grid--segments-page > section:has(a[href="/segments/geneva-ashtabula-conneaut/"])::before{
  background-image:
    linear-gradient(180deg, rgba(19,35,55,.08), rgba(19,35,55,.24)),
    url('/assets/images/real-geneva-main-street.webp');
  background-position:center 46%;
}

.page--segments .route-list-grid--segments-page > section:has(a[href="/segments/hancock-pittsfield-lenox/"])::before,
.page--segments .route-list-grid--segments-page > section:has(a[href="/segments/lenox-lee-becket/"])::before,
.page--segments .route-list-grid--segments-page > section:has(a[href="/segments/becket-chester-huntington/"])::before,
.page--segments .route-list-grid--segments-page > section:has(a[href="/segments/huntington-russell-westfield/"])::before,
.page--segments .route-list-grid--segments-page > section:has(a[href="/segments/westfield-west-springfield-springfield/"])::before{
  background-image:
    linear-gradient(180deg, rgba(16, 24, 40, 0.10) 0%, rgba(16, 24, 40, 0.34) 100%),
    url('/assets/images/real-eastern-ny-route20.webp');
  background-position:center center;
}

.page--segments .route-list-grid--segments-page > section:has(a[href="/segments/springfield-wilbraham-palmer/"])::before{
  background-image:
    linear-gradient(180deg, rgba(16, 24, 40, 0.10) 0%, rgba(16, 24, 40, 0.34) 100%),
    url('/assets/images/real-eastern-ny-route20.webp');
  background-position:center center;
}



/* Narrow Massachusetts image QA follow-up for surfaced section cards */
.route-card--feature-massachusetts-state::before,
.page--states .route-list-grid--states-page > section:has(a[href="/regions/massachusetts/"])::before{
  background-image:
    linear-gradient(180deg, rgba(16, 24, 40, 0.10) 0%, rgba(16, 24, 40, 0.34) 100%),
    url('/assets/images/real-us20-warren-ny.webp');
  background-position:center 52%;
}

.route-card--feature-massachusetts-place::before,
.page--places .route-list-grid--places-page > section:has(a[href="/places/pittsfield/"])::before{
  background-image:
    linear-gradient(180deg, rgba(16, 24, 40, 0.10) 0%, rgba(16, 24, 40, 0.36) 100%),
    url('/assets/images/real-eastern-ny-route20.webp');
  background-position:center 50%;
}

.route-card--feature-massachusetts-gateway-place::before,
.page--places .route-list-grid--places-page > section:has(a[href="/places/west-springfield/"])::before,
.page--places .route-list-grid--places-page > section:has(a[href="/places/worcester/"])::before,
.page--places .route-list-grid--places-page > section:has(a[href="/places/boston/"])::before{
  background-image:
    linear-gradient(180deg, rgba(16, 24, 40, 0.10) 0%, rgba(16, 24, 40, 0.36) 100%),
    url('/assets/images/real-us20-warren-ny.webp');
  background-position:center 52%;
}

/* /places/ browse-by-region cards */
.page--places .route-list-grid--place-regions > section:has(a[href="/regions/illinois/"])::before,
.page--places .route-list-grid--place-regions > section:has(a[href="/regions/new-york/"])::before,
.page--places .route-list-grid--place-regions > section:has(a[href="/regions/ohio/"])::before,
.page--places .route-list-grid--place-regions > section:has(a[href="/regions/pennsylvania/"])::before,
.page--places .route-list-grid--place-regions > section:has(a[href="/regions/massachusetts/"])::before{
  filter: saturate(1.02);
}

/* /trips/ card families */
.page--trips .route-list-grid--trips-page > section:has(a[href="/trips/western-new-york-lake-erie-route-20-weekend/"])::before{
  background-image:
    linear-gradient(180deg, rgba(19,35,55,.08), rgba(19,35,55,.24)),
    url('/assets/images/real-north-east-main-street.webp');
  background-position:center 48%;
}

.page--trips .route-list-grid--trips-page > section:has(a[href="/trips/western-finger-lakes-route-20-weekend/"])::before{
  background-image:
    linear-gradient(180deg, rgba(19,35,55,.08), rgba(19,35,55,.24)),
    url('/assets/images/real-skaneateles-village.webp');
  background-position:center 48%;
}

.page--trips .route-list-grid--trips-page > section:has(a[href="/trips/finger-lakes-auburn-route-20-weekend/"])::before{
  background-image:
    linear-gradient(180deg, rgba(10, 18, 35, 0.10) 0%, rgba(10, 18, 35, 0.42) 100%),
    url('/assets/images/real-seneca-falls-bedford-sign.webp');
  background-position:center center;
}

.page--trips .route-list-grid--trips-page > section:has(a[href="/trips/ashtabula-county-route-20-weekend/"])::before{
  background-image:
    linear-gradient(180deg, rgba(19,35,55,.10), rgba(19,35,55,.28)),
    url('/assets/images/real-oberlin-downtown.webp');
  background-position:center 46%;
}

.page--trips .route-list-grid--trips-page > section:has(a[href="/trips/wilbraham-palmer-route-20-weekend/"])::before{
  background-image:
    linear-gradient(180deg, rgba(16, 24, 40, 0.10) 0%, rgba(16, 24, 40, 0.34) 100%),
    url('/assets/images/real-eastern-ny-route20.webp');
  background-position:center center;
}

.page--trips .route-list-grid--trips-page > section:has(a[href="/trips/lee-jacobs-ladder-route-20-weekend/"])::before,
.page--trips .route-list-grid--trips-page > section:has(a[href="/trips/chester-jacobs-ladder-route-20-weekend/"])::before,
.page--trips .route-list-grid--trips-page > section:has(a[href="/trips/russell-westfield-route-20-weekend/"])::before{
  background-image:
    linear-gradient(180deg, rgba(16, 24, 40, 0.10) 0%, rgba(16, 24, 40, 0.34) 100%),
    url('/assets/images/real-eastern-ny-route20.webp');
  background-position:center center;
}

/* Narrow polish pass: hero image swaps, section-card width normalization, and homepage search overlay fix. */

/* Stronger hero imagery for section indexes that were still picking up weak/blurry fallback treatment. */
.page--states .mx-page-cover__visual-card{
  background:
    linear-gradient(180deg, rgba(18,31,47,.18), rgba(18,31,47,.46)),
    url('/assets/images/real-us20-galena-bridge.webp') center 46% / cover no-repeat;
  min-height: clamp(280px, 34vw, 420px);
}

.page--trips .mx-page-cover__visual-card{
  background:
    linear-gradient(180deg, rgba(18,31,47,.16), rgba(18,31,47,.42)),
    url('/assets/images/real-galena-main-street.webp') center 38% / cover no-repeat;
  min-height: clamp(280px, 34vw, 420px);
}

/* Standardize section-page card widths across /states, /places, and /routes/. */
.page--states .route-list-grid--states-page,
.page--places .route-list-grid--places-page,
.page--routes .route-list-grid--routes-page{
  grid-template-columns: repeat(3, minmax(0, 1fr));
  align-items: stretch;
}

@media (max-width: 1080px){
  .page--states .route-list-grid--states-page,
  .page--places .route-list-grid--places-page,
  .page--routes .route-list-grid--routes-page{
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 700px){
  .page--states .route-list-grid--states-page,
  .page--places .route-list-grid--places-page,
  .page--routes .route-list-grid--routes-page{
    grid-template-columns: 1fr;
  }
}

/* Keep the first two featured cards wider, but on the same shared grid. */
@media (min-width: 1081px){
  .page--states .route-list-grid--states-page > .route-card:nth-child(-n+2),
  .page--places .route-list-grid--places-page > .route-card:nth-child(-n+2),
  .page--routes .route-list-grid--routes-page > .route-card:nth-child(-n+2){
    grid-column: span 1;
  }
}

/* Make every One-Day Galena + Freeport Sampler card resolve to a deliberate Galena-family photo. */
.route-card--feature-galena-freeport-trip::before,
.page--trips .route-list-grid--trips-page > section:has(a[href="/trips/galena-freeport-one-day-sampler/"])::before,
.page--routes .route-list-grid--routes-page > section:has(a[href="/trips/galena-freeport-one-day-sampler/"])::before,
.page--index .route-list-grid > section:has(a[href="/trips/galena-freeport-one-day-sampler/"])::before,
.page--route-overview .route-list-grid > section:has(a[href="/trips/galena-freeport-one-day-sampler/"])::before,
.page--regions-illinois .route-list-grid > section:has(a[href="/trips/galena-freeport-one-day-sampler/"])::before,
.page--segments-galena-stockton-corridor .route-list-grid > section:has(a[href="/trips/galena-freeport-one-day-sampler/"])::before,
.page--segments-freeport-stephenson-county .route-list-grid > section:has(a[href="/trips/galena-freeport-one-day-sampler/"])::before,
.page--segments-northwest-illinois .route-list-grid > section:has(a[href="/trips/galena-freeport-one-day-sampler/"])::before{
  background-image:
    linear-gradient(180deg, rgba(19,35,55,.08), rgba(19,35,55,.22)),
    url('/assets/images/real-galena-main-street.webp');
  background-position:center 40%;
  background-size:cover;
}

/* Homepage search results should overlay below the bar instead of changing hero height. */
.page--index .mx-home-hero,
.page--index .mx-home-hero__banner,
.page--index .mx-home-banner-search{
  overflow: visible !important;
}

@media (min-width: 900px){
  .page--index .mx-home-hero{
    height: clamp(540px, 58vw, 690px);
    min-height: 0;
  }

  .page--index .mx-home-hero__banner{
    height: 100%;
    min-height: 0;
  }

  .page--index .mx-home-banner-search{
    position: relative;
    z-index: 20;
  }

  .page--index .mx-home-banner-search__results,
  .page--index .site-search__results{
    position: absolute;
    left: 0;
    right: 0;
    top: calc(100% + 10px);
  }
}


.page--segments .route-list-grid--segments-page > section:has(a[href="/segments/palmer-brimfield-sturbridge/"])::before{
  background-image:
    linear-gradient(180deg, rgba(16, 24, 40, 0.10) 0%, rgba(16, 24, 40, 0.34) 100%),
    url('/assets/images/real-eastern-ny-route20.webp');
  background-position:center center;
}

.page--trips .route-list-grid--trips-page > section:has(a[href="/trips/brimfield-sturbridge-route-20-weekend/"])::before{
  background-image:
    linear-gradient(180deg, rgba(16, 24, 40, 0.10) 0%, rgba(16, 24, 40, 0.34) 100%),
    url('/assets/images/real-eastern-ny-route20.webp');
  background-position:center center;
}

@media (max-width: 700px){
  .mx-backtotop{ right: max(8px, calc(env(safe-area-inset-right, 0px) + 8px)); }
}


.page--segments .route-list-grid--segments-page > section:has(a[href="/segments/sturbridge-auburn-worcester/"])::before,
.page--segments .route-list-grid--segments-page > section:has(a[href="/segments/worcester-shrewsbury-northborough-marlborough/"])::before{
  background-image:
    linear-gradient(180deg, rgba(16, 24, 40, 0.10) 0%, rgba(16, 24, 40, 0.34) 100%),
    url('/assets/images/real-eastern-ny-route20.webp');
  background-position:center center;
}

.page--trips .route-list-grid--trips-page > section:has(a[href="/trips/auburn-worcester-route-20-weekend/"])::before,
.page--trips .route-list-grid--trips-page > section:has(a[href="/trips/shrewsbury-marlborough-route-20-weekend/"])::before{
  background-image:
    linear-gradient(180deg, rgba(16, 24, 40, 0.10) 0%, rgba(16, 24, 40, 0.34) 100%),
    url('/assets/images/real-eastern-ny-route20.webp');
  background-position:center center;
}


.page--segments .route-list-grid--segments-page > section:has(a[href="/segments/marlborough-sudbury-wayland-weston/"])::before{
  background-image:
    linear-gradient(180deg, rgba(16, 24, 40, 0.10) 0%, rgba(16, 24, 40, 0.34) 100%),
    url('/assets/images/real-eastern-ny-route20.webp');
  background-position:center center;
}

.page--trips .route-list-grid--trips-page > section:has(a[href="/trips/framingham-weston-route-20-weekend/"])::before{
  background-image:
    linear-gradient(180deg, rgba(16, 24, 40, 0.10) 0%, rgba(16, 24, 40, 0.34) 100%),
    url('/assets/images/real-eastern-ny-route20.webp');
  background-position:center center;
}


.page--segments .route-list-grid--segments-page > section:has(a[href="/segments/weston-waltham-watertown/"])::before,
.page--trips .route-list-grid--trips-page > section:has(a[href="/trips/waltham-watertown-route-20-weekend/"])::before,
.page--places .route-list-grid--places-page > section:has(a[href="/places/waltham/"])::before,
.page--places .route-list-grid--places-page > section:has(a[href="/places/watertown/"])::before{
  background-image:
    linear-gradient(180deg, rgba(16, 24, 40, 0.10) 0%, rgba(16, 24, 40, 0.34) 100%),
    url('/assets/images/real-eastern-ny-route20.webp');
  background-position:center center;
}


.page--segments .route-list-grid--segments-page > section:has(a[href="/segments/watertown-allston-boston-kenmore/"])::before,
.page--trips .route-list-grid--trips-page > section:has(a[href="/trips/boston-kenmore-route-20-weekend/"])::before,
.page--places .route-list-grid--places-page > section:has(a[href="/places/allston/"])::before,
.page--places .route-list-grid--places-page > section:has(a[href="/places/boston/"])::before,
.page--places .route-list-grid--places-page > section:has(a[href="/places/kenmore/"])::before{
  background-image:
    linear-gradient(180deg, rgba(16, 24, 40, 0.10) 0%, rgba(16, 24, 40, 0.34) 100%),
    url('/assets/images/real-us20-warren-ny.webp');
  background-position:center center;
}


/* Massachusetts closeout pass: vary late-state image families so the state does not read as one repeated image. */
.page--regions-west-springfield-springfield-gateway .mx-page-cover__visual-card,
.page--segments-westfield-west-springfield-springfield .mx-page-cover__visual-card,
.page--trips-west-springfield-springfield-route-20-weekend .mx-page-cover__visual-card,
.page--places-west-springfield .mx-page-cover__visual-card,
.page--places-springfield .mx-page-cover__visual-card,
.page--regions-wilbraham-palmer-continuation .mx-page-cover__visual-card,
.page--segments-springfield-wilbraham-palmer .mx-page-cover__visual-card,
.page--trips-wilbraham-palmer-route-20-weekend .mx-page-cover__visual-card,
.page--places-wilbraham .mx-page-cover__visual-card,
.page--places-palmer .mx-page-cover__visual-card{
  background-image:
    linear-gradient(180deg, rgba(16, 24, 40, 0.12) 0%, rgba(16, 24, 40, 0.42) 100%),
    url('/assets/images/real-us20-warren-ny.webp');
  background-position:center 52%;
}

.page--regions-brimfield-sturbridge-continuation .mx-page-cover__visual-card,
.page--segments-palmer-brimfield-sturbridge .mx-page-cover__visual-card,
.page--trips-brimfield-sturbridge-route-20-weekend .mx-page-cover__visual-card,
.page--places-brimfield .mx-page-cover__visual-card,
.page--places-sturbridge .mx-page-cover__visual-card,
.page--regions-auburn-worcester-continuation .mx-page-cover__visual-card,
.page--segments-sturbridge-auburn-worcester .mx-page-cover__visual-card,
.page--trips-auburn-worcester-route-20-weekend .mx-page-cover__visual-card,
.page--places-auburn-ma .mx-page-cover__visual-card,
.page--places-worcester .mx-page-cover__visual-card{
  background-image:
    linear-gradient(180deg, rgba(16, 24, 40, 0.12) 0%, rgba(16, 24, 40, 0.42) 100%),
    url('/assets/images/real-geneva-main-street.webp');
  background-position:center 48%;
}

.page--regions-shrewsbury-marlborough-continuation .mx-page-cover__visual-card,
.page--segments-worcester-shrewsbury-northborough-marlborough .mx-page-cover__visual-card,
.page--trips-shrewsbury-marlborough-route-20-weekend .mx-page-cover__visual-card,
.page--places-shrewsbury .mx-page-cover__visual-card,
.page--places-northborough .mx-page-cover__visual-card,
.page--places-marlborough .mx-page-cover__visual-card,
.page--regions-framingham-weston-continuation .mx-page-cover__visual-card,
.page--segments-marlborough-sudbury-wayland-weston .mx-page-cover__visual-card,
.page--trips-framingham-weston-route-20-weekend .mx-page-cover__visual-card,
.page--places-sudbury .mx-page-cover__visual-card,
.page--places-wayland .mx-page-cover__visual-card,
.page--places-weston .mx-page-cover__visual-card,
.page--places-framingham .mx-page-cover__visual-card{
  background-image:
    linear-gradient(180deg, rgba(16, 24, 40, 0.12) 0%, rgba(16, 24, 40, 0.38) 100%),
    url('/assets/images/real-skaneateles-village.webp');
  background-position:center 44%;
}

.page--regions-waltham-watertown-continuation .mx-page-cover__visual-card,
.page--segments-weston-waltham-watertown .mx-page-cover__visual-card,
.page--trips-waltham-watertown-route-20-weekend .mx-page-cover__visual-card,
.page--places-waltham .mx-page-cover__visual-card,
.page--places-watertown .mx-page-cover__visual-card,
.page--regions-boston-kenmore-final-approach .mx-page-cover__visual-card,
.page--segments-watertown-allston-boston-kenmore .mx-page-cover__visual-card,
.page--trips-boston-kenmore-route-20-weekend .mx-page-cover__visual-card,
.page--places-allston .mx-page-cover__visual-card,
.page--places-boston .mx-page-cover__visual-card,
.page--places-kenmore .mx-page-cover__visual-card{
  background-image:
    linear-gradient(180deg, rgba(16, 24, 40, 0.14) 0%, rgba(16, 24, 40, 0.44) 100%),
    url('/assets/images/real-freeport-library.webp');
  background-position:center 46%;
}

.page--segments .route-list-grid--segments-page > section:has(a[href="/segments/westfield-west-springfield-springfield/"])::before,
.page--segments .route-list-grid--segments-page > section:has(a[href="/segments/springfield-wilbraham-palmer/"])::before,
.page--trips .route-list-grid--trips-page > section:has(a[href="/trips/west-springfield-springfield-route-20-weekend/"])::before,
.page--trips .route-list-grid--trips-page > section:has(a[href="/trips/wilbraham-palmer-route-20-weekend/"])::before,
.page--places .route-list-grid--places-page > section:has(a[href="/places/west-springfield/"])::before,
.page--places .route-list-grid--places-page > section:has(a[href="/places/springfield/"])::before,
.page--places .route-list-grid--places-page > section:has(a[href="/places/wilbraham/"])::before,
.page--places .route-list-grid--places-page > section:has(a[href="/places/palmer/"])::before{
  background-image:
    linear-gradient(180deg, rgba(16, 24, 40, 0.10) 0%, rgba(16, 24, 40, 0.34) 100%),
    url('/assets/images/real-us20-warren-ny.webp');
  background-position:center 52%;
}

.page--segments .route-list-grid--segments-page > section:has(a[href="/segments/palmer-brimfield-sturbridge/"])::before,
.page--segments .route-list-grid--segments-page > section:has(a[href="/segments/sturbridge-auburn-worcester/"])::before,
.page--trips .route-list-grid--trips-page > section:has(a[href="/trips/brimfield-sturbridge-route-20-weekend/"])::before,
.page--trips .route-list-grid--trips-page > section:has(a[href="/trips/auburn-worcester-route-20-weekend/"])::before,
.page--places .route-list-grid--places-page > section:has(a[href="/places/brimfield/"])::before,
.page--places .route-list-grid--places-page > section:has(a[href="/places/sturbridge/"])::before,
.page--places .route-list-grid--places-page > section:has(a[href="/places/auburn-ma/"])::before,
.page--places .route-list-grid--places-page > section:has(a[href="/places/worcester/"])::before{
  background-image:
    linear-gradient(180deg, rgba(16, 24, 40, 0.10) 0%, rgba(16, 24, 40, 0.34) 100%),
    url('/assets/images/real-geneva-main-street.webp');
  background-position:center 48%;
}

.page--segments .route-list-grid--segments-page > section:has(a[href="/segments/worcester-shrewsbury-northborough-marlborough/"])::before,
.page--segments .route-list-grid--segments-page > section:has(a[href="/segments/marlborough-sudbury-wayland-weston/"])::before,
.page--trips .route-list-grid--trips-page > section:has(a[href="/trips/shrewsbury-marlborough-route-20-weekend/"])::before,
.page--trips .route-list-grid--trips-page > section:has(a[href="/trips/framingham-weston-route-20-weekend/"])::before,
.page--places .route-list-grid--places-page > section:has(a[href="/places/shrewsbury/"])::before,
.page--places .route-list-grid--places-page > section:has(a[href="/places/northborough/"])::before,
.page--places .route-list-grid--places-page > section:has(a[href="/places/marlborough/"])::before,
.page--places .route-list-grid--places-page > section:has(a[href="/places/sudbury/"])::before,
.page--places .route-list-grid--places-page > section:has(a[href="/places/wayland/"])::before,
.page--places .route-list-grid--places-page > section:has(a[href="/places/weston/"])::before,
.page--places .route-list-grid--places-page > section:has(a[href="/places/framingham/"])::before{
  background-image:
    linear-gradient(180deg, rgba(16, 24, 40, 0.10) 0%, rgba(16, 24, 40, 0.34) 100%),
    url('/assets/images/real-skaneateles-village.webp');
  background-position:center 44%;
}

.page--segments .route-list-grid--segments-page > section:has(a[href="/segments/weston-waltham-watertown/"])::before,
.page--segments .route-list-grid--segments-page > section:has(a[href="/segments/watertown-allston-boston-kenmore/"])::before,
.page--trips .route-list-grid--trips-page > section:has(a[href="/trips/waltham-watertown-route-20-weekend/"])::before,
.page--trips .route-list-grid--trips-page > section:has(a[href="/trips/boston-kenmore-route-20-weekend/"])::before,
.page--places .route-list-grid--places-page > section:has(a[href="/places/waltham/"])::before,
.page--places .route-list-grid--places-page > section:has(a[href="/places/watertown/"])::before,
.page--places .route-list-grid--places-page > section:has(a[href="/places/allston/"])::before,
.page--places .route-list-grid--places-page > section:has(a[href="/places/boston/"])::before,
.page--places .route-list-grid--places-page > section:has(a[href="/places/kenmore/"])::before{
  background-image:
    linear-gradient(180deg, rgba(16, 24, 40, 0.12) 0%, rgba(16, 24, 40, 0.40) 100%),
    url('/assets/images/real-freeport-library.webp');
  background-position:center 46%;
}
