/* Keep the production homepage's frame, section order and column grids. */
.home-page {
  --home-ink: #213d36;
  --home-paper: #fffbf2;
  --home-bronze: #a78a56;
  --home-line: #d7cdb7;
  --home-vermilion: #963c2d;
}

.home-page main > section > .border-line { border-color: var(--home-line); }
.home-page main > section > .border-line h2 { color: var(--home-ink); }
.home-page .home-info-card { background: linear-gradient(145deg, #fffcf5 60%, #f2eee2); }
.home-page main > section.mt-16 { margin-top: clamp(48px, 4.6vw, 76px); }

.home-page .home-nav-current { color: #1e6253; font-weight: 700; border-bottom: 2px solid currentColor; }
.home-page .home-planner-story { padding-top: 0; }
.home-planner-feature {
  overflow: hidden;
  background: #f5ecda;
  border: 1px solid var(--home-line);
  color: var(--home-ink);
}
.home-planner-feature-copy { padding: 16px clamp(16px, 2vw, 28px) 2px; }
.home-planner-feature-copy h1 { color: inherit; font-size: clamp(25px, 2.5vw, 37px); line-height: 1.3; }
.home-river-map { margin: 0; }
.home-river-map-art { position: relative; }
.home-river-map-art > img { display: block; width: 100%; height: auto; }
.home-river-map-places { margin: 0; padding: 0; list-style: none; }
.home-river-map-places li {
  position: absolute;
  top: var(--y);
  left: var(--x);
  transform: translateX(-50%);
  padding-top: 9px;
  text-align: center;
  white-space: nowrap;
  color: #233e35;
  font-size: clamp(11px, 1vw, 15px);
  font-weight: 700;
  line-height: 1.35;
  text-shadow: 0 0 3px #fff9e8, 0 0 3px #fff9e8, 0 0 5px #fff9e8;
}
.home-river-map-places li::before {
  position: absolute;
  top: 0;
  left: 50%;
  width: 7px;
  height: 7px;
  transform: translate(-50%, -50%);
  content: '';
  border: 1px solid #fff8e7;
  border-radius: 50%;
  background: #963c2d;
}
.home-river-map-places small { display: block; color: #763225; font-size: .83em; }
.home-river-map figcaption { padding: 0 15px 10px; text-align: right; color: #5b5948; font-size: 12px; }
.home-page .home-planner-nav {
  grid-template-columns: repeat(3, minmax(0, 1fr));
  grid-template-rows: auto;
  gap: 12px;
  flex: none;
  margin-top: 12px;
  border-top: 0;
}
.home-page .home-planner-entry {
  grid-template-columns: minmax(0, 1fr);
  grid-template-rows: 1fr auto;
  justify-items: center;
  gap: 8px;
  min-width: 0;
  padding: 12px 7px 14px;
  border: 1px solid var(--home-line);
  background: var(--home-paper);
  transition: background-color var(--portal-transition);
}
.home-page .home-planner-entry > img { width: min(100%, 210px); height: auto; aspect-ratio: 3 / 2; object-fit: contain; filter: none; }
.home-page .home-planner-entry-top { gap: 6px; margin: 0; }
.home-page .home-planner-entry h2 { font-size: clamp(13px, 1.45vw, 20px); }
.home-page .home-planner-entry-arrow { font-size: 16px; }
.home-page .official-product-preview .product-facts { min-width: 0; }
.home-page .official-product-preview .product-facts dd { color: #40594c; }

.home-news {
  min-width: 0;
  display: flex;
  flex-direction: column;
  padding: 16px 0 0;
  border-top: 2px solid #426354;
  color: var(--home-ink);
}
.home-news-header { display: flex; flex-wrap: wrap; align-items: baseline; justify-content: space-between; gap: 8px 18px; margin-bottom: 15px; }
.home-news-header h2 { margin: 0; font-size: 26px; font-weight: 700; line-height: 1.4; }
.home-news-header a { font-size: 13px; font-weight: 600; color: #315948; }
.home-news a:hover { color: var(--home-vermilion); }
.home-news-lead { display: block; padding-bottom: 15px; transition: color var(--portal-transition); }
.home-news-cover { width: 100%; aspect-ratio: 3; object-fit: cover; display: block; background: #e8e9dd; }
.home-news-lead h3 { margin: 14px 0 7px; font-size: 23px; line-height: 1.4; font-weight: 700; text-wrap: balance; }
.home-news-lead > time { display: block; margin-bottom: 5px; }
.home-news-summary { margin: 0; font-size: 13px; line-height: 1.7; color: #536154; display: -webkit-box; -webkit-box-orient: vertical; -webkit-line-clamp: 2; overflow: hidden; }
.home-news time { color: #665b47; font-size: 13px; font-variant-numeric: tabular-nums; white-space: nowrap; }
.home-news-list { list-style: none; margin: 0; padding: 0; }
.home-news-list li { border-top: 1px solid #e6dfce; }
.home-news-list a { display: grid; min-height: 42px; grid-template-columns: minmax(0, 1fr) auto; align-items: baseline; align-content: center; gap: 14px; padding: 8px 0; font-size: 14px; line-height: 1.55; transition: background-color var(--portal-transition), color var(--portal-transition); }
.home-news-list a > span { overflow-wrap: anywhere; }
.home-news-empty { padding: 24px 0; color: #536154; }

@media (min-width: 1001px) {
  .home-page .home-planner-nav { flex: 1; }
  .home-news-list {
    display: flex;
    flex: 1;
    flex-direction: column;
    border-bottom: 1px solid var(--home-line);
  }
  .home-news-list li { display: flex; flex: 1 1 0; }
  .home-news-list a { flex: 1; min-width: 0; }
}

.home-scenics-heading {
  display: flex;
  justify-content: space-between;
  align-items: flex-end;
  gap: 12px;
  padding-bottom: 16px;
  border-bottom: 1px solid var(--home-line);
}
.home-scenics-heading h2 { margin: 0; font-size: 30px; font-weight: 700; }
.home-scenics-heading a { flex: 0 0 auto; color: #315948; font-size: 13px; font-weight: 600; }
.home-scenics-list {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 20px;
  margin: 24px 0 0;
  padding: 0;
  list-style: none;
}
.home-scenic-card { display: block; height: 100%; color: var(--home-ink); background: var(--home-paper); border: 1px solid var(--home-line); transition: translate var(--portal-transition), border-color var(--portal-transition), box-shadow var(--portal-transition); }
.home-scenic-media { overflow: hidden; background: #e8e9dd; }
.home-scenic-card img { display: block; width: 100%; height: auto; aspect-ratio: 16 / 9; object-fit: cover; transition: transform 380ms ease-out; }
.home-scenic-copy { padding: 14px 17px 18px; }
.home-scenic-copy span { color: #536154; font-size: 12px; }
.home-scenic-copy h3 { margin: 3px 0 0; font-size: 19px; line-height: 1.4; font-weight: 700; }
.home-page #routeGrid .legacy-product-row { transition: translate var(--portal-transition), border-color var(--portal-transition), box-shadow var(--portal-transition); }
.home-page .guide-rail-item { transition: background-color var(--portal-transition); }
.home-page .guide-feature { background-color: #fffcf5; }

.home-scenic-card:focus-visible,
.home-page #routeGrid .legacy-product-row:focus-within,
.home-page .home-info-card:focus-visible {
  border-color: var(--portal-edge);
  box-shadow: var(--portal-shadow);
}
.home-news-list a:focus-visible, .home-page .guide-rail-item:focus-within { background-color: #eee9db; }

@media (hover: hover) {
  .home-page .home-planner-entry:hover { background: #fffaf0; }
  .home-news-list a:hover, .home-page .guide-rail-item:hover { background-color: #eee9db; }
  .home-news-lead:hover h3, .home-scenic-card:hover h3, .home-scenics-heading a:hover { color: var(--home-vermilion); }
  .home-scenic-card:hover, .home-page #routeGrid .legacy-product-row:hover {
    translate: 0 -3px;
    border-color: var(--portal-edge);
    box-shadow: var(--portal-shadow);
  }
  .home-scenic-card:hover img { transform: scale(1.045); }
}

.home-page .home-bottom-consult {
  margin-top: 0 !important;
  margin-bottom: 64px;
  padding: 0;
  background: var(--home-paper);
  border-color: var(--home-line);
}
.home-consult-layout { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.3fr); }
.home-consult-story {
  position: relative;
  isolation: isolate;
  min-width: 0;
  display: flex;
  flex-direction: column;
  justify-content: end;
  overflow: hidden;
  padding: clamp(22px, 3.4vw, 50px);
  background: #294a42;
  color: #fff9ea;
}
.home-consult-story > img { position: absolute; z-index: -2; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.home-consult-story::after {
  content: '';
  position: absolute;
  z-index: -1;
  inset: 0;
  background: linear-gradient(0deg, #122b24f0 0%, #18382f93 42%, #1e403015 85%);
}
.home-consult-story h2 { margin: 0; color: inherit; font-size: clamp(27px, 2.4vw, 39px); font-weight: 700; line-height: 1.35; }
.home-consult-story h2::before { content: ''; display: block; margin-bottom: 16px; width: 46px; height: 2px; background: #dfc289; }
.home-consult-story p { margin: 10px 0 0; color: #f5eedb; line-height: 1.7; font-size: 14px; }
.home-consult-form { min-width: 0; padding: clamp(22px, 3vw, 42px); }
.home-page .home-bottom-consult .custom-tour-submit > button { border-color: #234e3d; background: #234e3d; }
.home-page .home-bottom-consult .custom-tour-submit > button:hover { background: #193d2f; }

@media (max-width: 1000px) {
  .home-consult-layout { grid-template-columns: minmax(0, 1fr); }
  .home-consult-story { min-height: 230px; }
}

@media (max-width: 640px) {
  .home-river-map-places li { padding-top: 6px; font-size: 11px; }
  .home-page .home-planner-nav { gap: 6px; }
  .home-page .home-planner-entry { padding: 7px 3px 9px; }
  .home-page .home-planner-entry-top { gap: 3px; }
  .home-page .home-planner-entry-arrow { font-size: 12px; }
  .home-scenics-list { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 12px; }
  .home-scenic-copy { padding-inline: 10px; }
}

@media (prefers-reduced-motion: reduce) {
  .home-page :is(.home-planner-entry, .home-planner-entry img, .home-planner-entry-arrow, .home-news-lead, .home-news-list a, .home-scenic-card, .home-scenic-card img, .home-info-card, .guide-rail-item, .guide-rail-image, .guide-rail-link, #routeGrid .legacy-product-row) {
    transition: none;
  }
  .home-page :is(.home-scenic-card:hover, .home-info-card:hover, .guide-rail-item:hover .guide-rail-image, .guide-rail-item:hover .guide-rail-link, #routeGrid .legacy-product-row:hover, .home-planner-entry:hover .home-planner-entry-arrow) {
    translate: none;
    transform: none;
  }
  .home-page .home-scenic-card:hover img { transform: none; }
}
