/* Loaded only on the Getting Here guide (server.js renderGettingHerePage). Art direction 2026-12-04:
   one valley photograph with the headline set on its foreground, the arrival facts joined to it as a ledger,
   three town photographs as the main choice, then transport told in pictures. */
body.info-page .info-body { max-width: none; width: 100%; margin-top: 0; padding: 0 0 8px; background: transparent; border: 0; box-shadow: none; }

/* ---- Opening: photograph + arrival ledger read as one piece ---- */
.category-hero { position: relative; isolation: isolate; margin: 4px 0 0; }
.category-hero .category-banner { height: clamp(250px, 35vw, 500px); max-height: none; margin: 0; aspect-ratio: auto; border-radius: 18px 18px 0 0; background: #1b2b3a; }
/* The lake and the gold hills stay clear; only the sagebrush corner under the headline is darkened. */
.category-hero-text { position: absolute; inset: 0; display: flex; align-items: flex-end; border-radius: 18px 18px 0 0; padding: clamp(18px, 3.4vw, 48px);
  background: linear-gradient(8deg, rgba(10,22,30,.88) 0%, rgba(10,22,30,.62) 24%, rgba(10,22,30,.12) 50%, transparent 62%); }
body.info-page .category-hero h1 { max-width: 13ch; margin: 0; color: #fff; font-size: clamp(2.1rem, 5.2vw, 4.6rem); line-height: .98; letter-spacing: -.015em; text-wrap: balance; text-shadow: 0 2px 22px rgba(8,18,26,.45); }

body.info-page .info-body .info-lead { margin: 0 0 clamp(26px, 4vw, 44px); font-size: 1rem; line-height: 1.35; }
.gh-arrive { display: grid; grid-template-columns: repeat(3, 1fr); background: #fffdf8; border: 1px solid #e3dccd; border-top: 0; border-radius: 0 0 18px 18px; }
.gh-way { display: grid; grid-template-columns: auto 1fr; column-gap: 16px; align-items: center; padding: 18px clamp(16px, 2.4vw, 32px); }
.gh-way + .gh-way { border-left: 1px solid #e3dccd; }
.gh-way b { grid-row: span 2; min-width: 3.1ch; font: 600 clamp(1.5rem, 2.3vw, 2.05rem)/1 Fraunces, 'Fraunces Fallback', Georgia, serif; letter-spacing: .01em; color: var(--ref-navy, #1b2b3a); }
.gh-way:last-child b { font-size: clamp(1.15rem, 1.6vw, 1.4rem); }
.gh-way > span { align-self: end; font-weight: 800; color: var(--ref-navy, #1b2b3a); }
.gh-way small { align-self: start; font-size: .9rem; color: #55504a; }

/* ---- Section headings ---- */
body.info-page .info-body h2 { margin: 0 0 14px; border: 0; padding: 0; font-size: clamp(1.65rem, 3vw, 2.25rem); line-height: 1.1; letter-spacing: -.01em; }
.gh-around { margin-top: clamp(30px, 4.5vw, 52px); }

/* ---- Towns: name, then the reason, then a quiet count ---- */
.gh-towns { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 14px; }
body.info-page .info-body a.gh-town { position: relative; display: block; overflow: hidden; border-radius: 18px; background: var(--ref-navy, #1b2b3a); color: #fff; text-decoration: none; aspect-ratio: 5 / 4; }
.gh-town img { display: block; width: 100%; height: 100%; object-fit: cover; transition: transform .5s ease; }
.gh-town > span { color: #fff; position: absolute; inset: 0; display: flex; flex-direction: column; justify-content: flex-end; padding: clamp(16px, 2vw, 26px); background: linear-gradient(0deg, rgba(8,20,28,.9) 0%, rgba(8,20,28,.55) 30%, transparent 58%); }
.gh-town strong { font: 600 clamp(1.9rem, 3.1vw, 2.7rem)/1 Fraunces, 'Fraunces Fallback', Georgia, serif; letter-spacing: -.01em; }
.gh-town .gh-reason { margin-top: 7px; font-size: 1.06rem; font-weight: 700; line-height: 1.2; }
.gh-town .gh-count { margin-top: 5px; font-size: .84rem; letter-spacing: .02em; color: rgba(255,255,255,.82); }
@media (hover: hover) { .gh-town:hover img { transform: scale(1.035); } }
.gh-town:hover strong { text-decoration: underline; text-decoration-thickness: 2px; text-underline-offset: 5px; }
body.info-page .info-body a.gh-town:focus-visible { outline: 3px solid #e3b341; outline-offset: 3px; }

/* Every other town: one clearly tappable bar. */
.gh-more { margin-top: 14px; }
.info-body summary { cursor: pointer; font-weight: 800; }
.gh-more > summary { display: flex; align-items: center; justify-content: space-between; min-height: 52px; padding: 0 20px; border: 1px solid #cfc7b6; border-radius: 14px; background: #fffdf8; color: var(--ref-navy, #1b2b3a); list-style: none; }
.gh-more > summary::-webkit-details-marker { display: none; }
.gh-more > summary::after { content: '+'; font: 400 1.6rem/1 Fraunces, Georgia, serif; }
.gh-more[open] > summary::after { content: '\2212'; }
.gh-more > summary:hover { border-color: var(--ref-navy, #1b2b3a); }
.gh-more > summary:focus-visible, .gh-ride summary:focus-visible { outline: 3px solid #e3b341; outline-offset: 2px; }
.gh-more > div { display: grid; grid-template-columns: repeat(auto-fill, minmax(200px, 1fr)); gap: 0 22px; padding: 8px 4px 0; }
body.info-page .info-body .gh-more a { display: flex; align-items: baseline; justify-content: space-between; gap: 10px; min-height: 44px; padding: 11px 0; border-bottom: 1px solid #e3dccd; font-weight: 700; text-decoration: none; }
body.info-page .info-body .gh-more a:hover { text-decoration: underline; }
.gh-more small { font-weight: 400; color: #55504a; white-space: nowrap; }

/* ---- Transport: the photograph says what it is ---- */
.gh-rides { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 14px; align-items: start; }
.gh-ride { overflow: hidden; border-radius: 18px; background: #fffdf8; border: 1px solid #e3dccd; }
.gh-ride img { display: block; width: 100%; height: auto; aspect-ratio: 16 / 9; object-fit: cover; }
.gh-ride-rv img { object-position: 50% 92%; }
.gh-ride-ski img { object-position: 50% 60%; }
.gh-ride > div { padding: 16px 20px 6px; }
.gh-ride h3 { margin: 0; font: 600 1.6rem/1.15 Fraunces, 'Fraunces Fallback', Georgia, serif; color: var(--ref-navy, #1b2b3a); }
.gh-ride summary { display: flex; align-items: center; justify-content: space-between; gap: 12px; min-height: 48px; color: #3d3a36; list-style: none; }
.gh-ride summary::-webkit-details-marker { display: none; }
.gh-ride summary::after { content: ''; flex: none; width: 9px; height: 9px; margin-right: 4px; border-right: 2px solid currentColor; border-bottom: 2px solid currentColor; transform: translateY(-3px) rotate(45deg); transition: transform .2s ease; }
.gh-ride details[open] summary::after { transform: translateY(2px) rotate(225deg); }
.gh-ride summary:hover { color: var(--ref-navy, #1b2b3a); text-decoration: underline; }
body.info-page .info-body .gh-ride .gh-btn { display: flex; align-items: center; justify-content: space-between; gap: 12px; min-height: 48px; padding: 10px 0; border-top: 1px solid #e3dccd; font-weight: 700; line-height: 1.3; text-decoration: none; }
body.info-page .info-body .gh-ride .gh-btn:hover > span:first-child { text-decoration: underline; }
body.info-page .info-body .gh-rv-note { margin: 0; padding: 12px 0; border-top: 1px solid #e3dccd; font-size: .95rem; line-height: 1.45; color: #3d3a36; }

/* ---- Close ---- */
.gh-end { margin-top: clamp(28px, 4vw, 44px); padding-top: 22px; border-top: 1px solid #d8d0c0; }
body.info-page .info-body .gh-end .info-cta { margin: 0; }
body.info-page .info-body .gh-end .info-cta a { display: inline-flex; align-items: center; min-height: 48px; padding: 0 24px; font-size: 1rem; }
/* Contrast: the shared info-page link colour (teal) used to win here, leaving teal text on navy (1.6:1). */
body.info-page .info-body .gh-end .info-cta a:not(.secondary) { background: #e3b341; color: #1b2b3a; }
body.info-page .info-body .gh-end .info-cta a:not(.secondary):hover { background: #1b2b3a; color: #fff; }
body.info-page .info-body .gh-end .info-cta a.secondary { background: transparent; color: #1b2b3a; box-shadow: inset 0 0 0 1.5px #1b2b3a; }
body.info-page .info-body .gh-end .info-cta a.secondary:hover { background: #1b2b3a; color: #fff; }
body.info-page .info-body .gh-end .info-cta a:focus-visible { outline: 3px solid #1b2b3a; outline-offset: 3px; }
body.info-page .info-body .gh-note { max-width: 78ch; margin: 16px 0 0; font-size: .84rem; line-height: 1.5; color: #55504a; }

@media (max-width: 900px) {
  .gh-way { grid-template-columns: 1fr; row-gap: 3px; }
  .gh-way b { grid-row: auto; }
  .gh-rides { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 680px) {
  .category-hero .category-banner, .category-hero-text { border-radius: 14px 14px 0 0; }
  .category-hero .category-banner { height: clamp(230px, 66vw, 300px); }
  /* Narrow crop: slide to the gold peninsula and the lake's far shore instead of the photo's centre. */
  .category-hero .category-banner img { object-position: 64% 30% !important; }
  .category-hero-text { background: linear-gradient(0deg, rgba(10,22,30,.9) 0%, rgba(10,22,30,.5) 34%, transparent 62%); }
  .gh-arrive { grid-template-columns: 1fr; border-radius: 0 0 14px 14px; }
  .gh-way { grid-template-columns: 4.6rem 1fr; column-gap: 12px; row-gap: 0; padding: 11px 16px; }
  .gh-way b { grid-row: span 2; font-size: 1.5rem; }
  .gh-way:last-child b { font-size: 1.02rem; }
  .gh-way + .gh-way { border-left: 0; border-top: 1px solid #e3dccd; }
  /* Three wide tiles, one per row: the photo keeps its width and the name keeps its size. */
  .gh-towns { grid-template-columns: 1fr; gap: 10px; }
  body.info-page .info-body a.gh-town { aspect-ratio: auto; height: 136px; border-radius: 14px; }
  .gh-town > span { padding: 14px 16px; background: linear-gradient(0deg, rgba(8,20,28,.88) 0%, rgba(8,20,28,.5) 42%, rgba(8,20,28,.05) 78%); }
  .gh-town strong { font-size: 1.85rem; }
  .gh-town .gh-reason { margin-top: 4px; font-size: 1rem; }
  .gh-town .gh-count { position: absolute; right: 16px; bottom: 15px; margin: 0; }
  .gh-more > div { grid-template-columns: 1fr 1fr; gap: 0 14px; padding-inline: 2px; }
  body.info-page .info-body .gh-more a { font-size: .94rem; gap: 6px; }
  .gh-more small { font-size: .78rem; }
  .gh-rides { grid-template-columns: 1fr; gap: 10px; }
  .gh-ride { border-radius: 14px; }
  .gh-ride img { aspect-ratio: 5 / 2; }
  .gh-ride > div { padding: 12px 16px 4px; }
  .gh-ride h3 { font-size: 1.45rem; }
}
@media (prefers-reduced-motion: reduce) { .gh-town img, .gh-ride summary::after { transition: none; } }
