
/* ============================================================
   V3 POLISH PASS — 100 look-and-feel improvements
   Grouped by area; each numbered comment = one improvement.
   ============================================================ */

/* --- Typography & readability (1-12) --- */
html{-webkit-text-size-adjust:100%;text-size-adjust:100%} /* 1. prevent mobile text auto-zoom shifts */
body{font-feature-settings:"kern" 1,"liga" 1;-webkit-font-smoothing:antialiased;text-rendering:optimizeLegibility} /* 2. crisper text rendering */
p,li{max-width:72ch} /* 3. cap line length for readability */
.section-head p,.content p{color:#4a564f} /* 4. slightly darker body-copy for better contrast */
h1,h2,h3,h4{text-wrap:balance} /* 5. avoid orphan words in headings */
p{text-wrap:pretty} /* 6. avoid orphan words in paragraphs */
.eyebrow{font-size:.74rem} /* 7. tighten eyebrow label size for hierarchy */
.detour p,.card p,.content li{color:#465752} /* 8. consistent body-copy color across components */
strong{font-weight:800} /* 9. stronger emphasis weight matching brand boldness */
.dash-facts strong,.fact strong{font-variant-numeric:tabular-nums} /* 10. aligned numerals in fact/stat panels */
.stat b{font-variant-numeric:tabular-nums} /* 11. aligned numerals in stat strips */
::selection{background:var(--amber);color:var(--forest-deep)} /* 12. branded text-selection color */

/* --- Color, contrast & dark surfaces (13-22) --- */
.footer-links a:hover{color:#fff;text-decoration:underline} /* 13. clearer footer link hover */
.footer-bottom{color:#cdd9d4} /* 14. improve footer legal-text contrast */
.dashboard small{color:#b7cdc6} /* 15. improve dashboard label contrast on dark panel */
.month-note{color:#b7cdc6} /* 16. improve dashboard note contrast */
.faq-item .a{color:#465752} /* 17. improve FAQ answer contrast */
.finder-legend{color:#4a4436} /* 18. improve legend text contrast */
a{text-underline-offset:3px} /* 19. consistent underline offset sitewide */
.chip{letter-spacing:.06em} /* 20. slightly tighter chip tracking for legibility at small size */
:root{color-scheme:light} /* 21. tell browser UI (scrollbars/inputs) to render light-themed */
.notice{color:#4a3f1c} /* 22. improve notice-box text contrast against its background */

/* --- Focus states & accessibility (23-34) --- */
a:focus-visible,button:focus-visible,summary:focus-visible,
input:focus-visible,select:focus-visible{
  outline:3px solid var(--amber-deep,#b9701a);outline-offset:2px;border-radius:6px
} /* 23. visible, consistent keyboard focus ring sitewide */
.button:focus-visible,.nav-cta:focus-visible{outline-offset:3px} /* 24. focus ring clears pill-button edge */
.menu a:focus-visible{outline-offset:4px} /* 25. focus ring clears nav underline */
.skip:focus{outline:3px solid var(--amber-deep,#b9701a)} /* 26. visible skip-link focus */
.save-button:focus-visible{outline-offset:3px} /* 27. focus ring on save buttons */
img{max-width:100%;height:auto} /* 28. never let an image overflow its container */
.stop-thumb,.state-card-photo,.hero{background-color:var(--paper-deep,#ece5d3)} /* 29. neutral placeholder color while images load */
button{font-family:inherit} /* 30. buttons inherit brand font instead of OS default */
table{border-collapse:collapse} /* 31. remove double-borders in all tables */
.visually-hidden:focus{position:static!important;width:auto!important;height:auto!important;clip:auto!important;margin:0!important} /* 32. skip-style links become visible on focus, not just top skip link */
[aria-expanded="true"] .menu-toggle span:nth-child(2){opacity:0} /* 33. hamburger middle bar hides on open */
.faq-item summary{outline-offset:-2px} /* 34. keep FAQ focus ring inside rounded corners */

/* --- Motion & transitions (35-46) --- */
a,button,.chip,.stat,.card,.detour{transition:background-color .18s ease,border-color .18s ease,box-shadow .2s ease,transform .18s ease,color .18s ease} /* 35. unified transition timing sitewide */
.button,.nav-cta{transition:transform .15s ease,box-shadow .2s ease,background-color .18s ease} /* 36. buttons get consistent hover motion */
.button:hover,.nav-cta:hover{transform:translateY(-2px);box-shadow:0 10px 22px rgba(18,59,52,.22)} /* 37. buttons lift on hover */
.button:active,.nav-cta:active{transform:translateY(0);box-shadow:none} /* 38. buttons settle on click for tactile feedback */
.card:hover{box-shadow:0 16px 34px rgba(31,53,46,.1);transform:translateY(-2px)} /* 39. plain (non-link) cards also get a hover lift */
.detour:hover{border-color:var(--amber-deep,#b9701a);box-shadow:0 14px 30px rgba(31,53,46,.08)} /* 40. detour rows highlight on hover */
.stop-thumb{transition:transform .35s ease} /* 41. thumbnail zoom setup */
.card:hover .stop-thumb,.detour:hover .stop-thumb{transform:scale(1.03)} /* 42. subtle zoom on hover for thumbnails */
.save-button{transition:background-color .18s ease,color .18s ease,transform .15s ease} /* 43. save button state transitions */
.save-button:active{transform:scale(.96)} /* 44. tactile press feedback on save button */
.finder-table tr td{transition:background-color .15s ease} /* 45. smooth row-hover in data table */
@media(prefers-reduced-motion:reduce){*,*::before,*::after{animation-duration:.001ms!important;transition-duration:.001ms!important;scroll-behavior:auto!important}} /* 46. respect reduced-motion preference sitewide */

/* --- Cards, chips, pills & badges (47-58) --- */
.card{border-radius:20px} /* 47. slightly tighter card radius for a crisper look */
.chip{box-shadow:inset 0 0 0 1px rgba(18,59,52,.06)} /* 48. subtle inner ring on chips for depth */
.pill{box-shadow:inset 0 0 0 1px rgba(18,59,52,.08)} /* 49. matching inner ring on pills */
.mix-outdoors,.mix-water,.mix-scenic,.mix-unexpected,.mix-flavor,.mix-history,.mix-towns,.mix-oddity,.mix-historic{border-radius:5px} /* 50. rounded mix-bar segments even when partial width */
.state-card{border-radius:20px} /* 51. match state-card radius to standard cards */
.finder-legend i{box-shadow:inset 0 0 0 1px rgba(0,0,0,.12)} /* 52. legend swatches get a defining edge */
.card .chip:first-child,.detour .chip:first-child{margin-bottom:10px} /* 53. consistent spacing under the first chip */
.route-card{background:#fffdf8;border:1px solid var(--line);border-radius:20px;padding:22px} /* 54. give route cards the same card treatment as the rest of the v2 system */
.route-card h3{font-family:var(--display);margin-top:0} /* 55. route card titles use display face for consistency */
.result{border:1px solid var(--line);box-shadow:0 8px 20px rgba(31,53,46,.05)} /* 56. results cards get a defined edge + soft shadow */
.notice{border-radius:16px 16px 16px 4px} /* 57. asymmetric corner nods to the "note" shape */
.editor-note{box-shadow:0 8px 22px rgba(31,53,46,.05)} /* 58. editor note gets a soft lift off the page */

/* --- Tables (finder & compare) (59-68) --- */
.finder-table thead th{position:sticky;top:0;background:#fffdf8;z-index:1} /* 59. sticky header while scrolling long state tables */
.finder-table tbody tr:nth-child(even) td,.compare-table tbody tr:nth-child(even) td{background:rgba(18,59,52,.02)} /* 60. zebra striping for scan-ability */
.finder-table tbody tr:hover td,.compare-table tbody tr:hover td{background:rgba(226,147,47,.08)} /* 61. clearer row hover highlight */
.finder-table td,.compare-table td{vertical-align:middle} /* 62. consistent vertical alignment in data cells */
.compare-table thead th{position:sticky;top:0;background:#fffdf8} /* 63. sticky header on the stop comparison table too */
.finder-table,.compare-table{font-variant-numeric:tabular-nums} /* 64. aligned numerals in all data tables */
.compare-wrap,.finder-wrap{scrollbar-width:thin} /* 65. thinner scrollbar on horizontally-scrolling tables (Firefox) */
.compare-wrap::-webkit-scrollbar,.finder-wrap ::-webkit-scrollbar{height:8px} /* 66. thin horizontal scrollbar (WebKit) */
.compare-wrap::-webkit-scrollbar-thumb{background:var(--line);border-radius:4px} /* 67. styled scrollbar thumb matching palette */
.finder-table th[data-sort]{transition:color .15s ease} /* 68. smoother sortable-header hover */

/* --- Forms & inputs (69-76) --- */
.finder-controls input,.finder-controls select,.planner input,.planner select,.search-row input,.search-row select{
  transition:border-color .15s ease,box-shadow .15s ease
} /* 69. smooth focus transition on all form controls */
.finder-controls input:focus,.planner input:focus,.search-row input:focus{
  border-color:var(--amber-deep,#b9701a);box-shadow:0 0 0 3px rgba(226,147,47,.18);outline:none
} /* 70. branded focus ring on text inputs */
.finder-controls select:focus,.planner select:focus,.search-row select:focus{
  border-color:var(--amber-deep,#b9701a);box-shadow:0 0 0 3px rgba(226,147,47,.18);outline:none
} /* 71. branded focus ring on selects */
input::placeholder{color:#9a9382} /* 72. softer, on-brand placeholder color */
.planner input,.planner select{background:#fffdf8} /* 73. lighter input fill inside the dark planner panel for legibility */
.finder-controls input,.finder-controls select{background:#fffdf8} /* 74. consistent input fill matching card surfaces */
select{cursor:pointer} /* 75. pointer cursor signals selects are interactive */
input[type=search]::-webkit-search-cancel-button{cursor:pointer} /* 76. pointer cursor on the clear-search control */

/* --- Spacing rhythm & layout polish (77-86) --- */
.section-head{margin-bottom:34px} /* 77. slightly more breathing room under section intros */
.grid{gap:20px} /* 78. marginally more generous card-grid gutters */
.stat-strip .stat{padding:20px 22px} /* 79. more comfortable stat-tile padding */
.dashboard{gap:24px} /* 80. more breathing room between dashboard modules */
.faq-item summary{gap:18px} /* 81. more space between FAQ question text and the +/− icon */
.footer-inner{gap:56px} /* 82. more separation between footer brand block and link columns */
.related-rail{gap:18px} /* 83. slightly wider gutters on related-states cards */
.dash-facts div{padding-bottom:8px} /* 84. more breathing room in dashboard quick-facts rows */
.mix-row{gap:10px} /* 85. more breathing room in mix-chart rows */
.roadline{margin:8px auto} /* 86. roadline divider gets minimal but intentional vertical margin */

/* --- Images & media (87-93) --- */
.stop-thumb,.state-card-photo{image-rendering:auto} /* 87. explicit rendering hint for scaled thumbnails */
.hero{background-color:var(--forest-deep,#0a211d)} /* 88. dark placeholder color prevents a white flash before hero image loads */
picture,img{display:block} /* 89. remove inline-image baseline gap sitewide */
.card-link img,.state-card img{border-radius:inherit} /* 90. images inherit parent card radius cleanly */
.stop-thumb{will-change:transform} /* 91. smoother hover-zoom performance */
figure{margin:0} /* 92. reset default figure margin if used in content */
.content img{border-radius:14px;margin:1.2rem 0} /* 93. rounded, well-spaced inline content images */

/* --- Misc component polish (94-100) --- */
.save-button.saved{box-shadow:0 4px 12px rgba(18,59,52,.25)} /* 94. saved state gets a subtle lift/shadow for confirmation feedback */
.finder-legend span{border-radius:8px;padding:2px 6px} /* 95. legend items get a soft hit-area */
.faq-item[open] summary{color:var(--forest-deep)} /* 96. open FAQ question gets emphasized color */
.roadline::before{border-top-width:2.5px} /* 97. slightly refined roadline weight */
.month-chart .bar{transition:height .3s ease} /* 98. animated month-chart bars on load/update */
::-webkit-scrollbar{width:12px;height:12px} /* 99. consistent global scrollbar sizing */
::-webkit-scrollbar-thumb{background:var(--line,#dcd3bf);border-radius:6px;border:3px solid var(--paper,#f5f1e6)} /* 100. branded global scrollbar thumb */

@media print{
  .site-header,.footer,.dashboard,.hero .actions,.nav-cta,.button{display:none!important}
  body{background:#fff}
  a{color:#000;text-decoration:underline}
}


/* --- V4 whole-site usability additions --- */
.menu a[aria-current="page"]{color:var(--forest-deep);text-decoration:underline;text-decoration-color:var(--amber-deep);text-decoration-thickness:3px;text-underline-offset:7px}
.author-strip-wrap{padding:18px 0 0;background:var(--paper)}
.author-strip{display:flex;align-items:center;justify-content:space-between;gap:28px;background:#fffdf8;border:1px solid var(--line);border-radius:18px;padding:18px 20px;box-shadow:0 8px 24px rgba(31,53,46,.05)}
.author-strip>div:first-child{display:grid;gap:3px}.author-strip strong{font-family:var(--display);font-size:1.12rem}.author-strip span:not(.eyebrow){font-size:.88rem;color:#53645e}
.author-links{display:flex;gap:14px;flex-wrap:wrap;justify-content:flex-end}.author-links a{font-size:.84rem;font-weight:800;color:var(--forest);white-space:nowrap}
.editor-profile{display:grid;grid-template-columns:1.35fr .85fr;gap:20px;background:#fffdf8;border:1px solid var(--line);border-radius:20px;padding:24px;margin:1rem 0 2rem}.editor-profile h3{font-family:var(--display);font-size:1.7rem;margin:.2rem 0 .6rem}.editor-profile-note{background:var(--paper-deep);border-radius:14px;padding:18px;align-self:start}
.result-actions{display:flex;align-items:center;justify-content:space-between;gap:12px;margin-top:14px;flex-wrap:wrap}.result-actions>a{font-weight:850;text-decoration:none}.result .save-button{padding:.48rem .7rem;font-size:.82rem}
.gm-result-actions a{display:inline-flex;align-items:center;justify-content:center;padding:.55rem .7rem;border-radius:10px;border:1px solid var(--line);font-weight:800;text-decoration:none;background:#fff}
.back-to-top{position:fixed;right:20px;bottom:20px;width:44px;height:44px;border-radius:50%;border:1px solid var(--line);background:#fffdf8;color:var(--forest-deep);font-size:1.3rem;font-weight:900;box-shadow:0 8px 24px rgba(31,53,46,.16);cursor:pointer;opacity:0;transform:translateY(10px);pointer-events:none;z-index:80}.back-to-top.visible{opacity:1;transform:translateY(0);pointer-events:auto}
@media(max-width:900px){.author-strip{align-items:flex-start;flex-direction:column}.author-links{justify-content:flex-start}.editor-profile{grid-template-columns:1fr}.menu a[aria-current="page"]{text-underline-offset:5px}}
@media(max-width:620px){.author-strip{padding:16px}.author-links{gap:10px}.back-to-top{right:14px;bottom:14px}.gm-result-actions a{width:100%}}


/* --- V5 navigation, planner, installability & accessibility polish --- */
.state-jump-wrap{position:sticky;top:72px;z-index:35;background:rgba(246,244,238,.94);backdrop-filter:blur(10px);border-bottom:1px solid rgba(18,59,52,.08)}
.state-jump{max-width:1180px;margin:0 auto;padding:10px 22px;display:flex;gap:8px;overflow-x:auto;scrollbar-width:none}
.state-jump::-webkit-scrollbar{display:none}.state-jump a{flex:0 0 auto;text-decoration:none;font-size:.8rem;font-weight:850;color:var(--forest-deep);padding:.52rem .72rem;border:1px solid var(--line);border-radius:999px;background:#fffdf8}
.state-jump a:hover,.state-jump a:focus-visible{border-color:var(--amber-deep);background:#fff7e8}
.filter-status{margin:.7rem 0 0;color:#53645e;font-size:.84rem;font-weight:750}.planner-status{margin:0 0 14px;color:#dbe7e2}
.text-button{border:0;background:transparent;color:inherit;text-decoration:underline;text-underline-offset:4px;font:inherit;font-weight:800;cursor:pointer;padding:.6rem .2rem}
.planner .text-button{color:#fff}.planner-controls .button.secondary[aria-pressed="true"]{background:var(--amber);color:var(--forest-deep);border-color:var(--amber)}
.detour:target{scroll-margin-top:155px;border-color:var(--amber-deep);box-shadow:0 0 0 4px rgba(226,147,47,.16),0 14px 30px rgba(31,53,46,.08)}
section[id]{scroll-margin-top:145px}.finder-table th[data-sort]{cursor:pointer;user-select:none}.finder-table th[aria-sort="ascending"]::after{content:" ↑"}.finder-table th[aria-sort="descending"]::after{content:" ↓"}
@media(max-width:900px){.state-jump-wrap{top:64px}.state-jump{padding-inline:14px}.planner-controls .text-button{width:100%;text-align:center}}
@media(max-width:620px){.state-jump a{font-size:.76rem;padding:.48rem .62rem}.detour:target{scroll-margin-top:140px}}
.trip-style-category{display:inline-block;margin-top:.55rem;font-size:.72rem;font-weight:850;letter-spacing:.06em;text-transform:uppercase;color:#64726d}
.state-jump-action{flex:0 0 auto;border:1px solid var(--line);border-radius:999px;background:var(--forest-deep);color:#fff;font:inherit;font-size:.8rem;font-weight:850;padding:.52rem .72rem;cursor:pointer}
.state-jump-action:hover,.state-jump-action:focus-visible{background:#1c5147;border-color:#1c5147}.nav-saved-badge{display:inline-grid;place-items:center;min-width:1.35rem;height:1.35rem;margin-left:.3rem;padding:0 .28rem;border-radius:999px;background:var(--amber);color:var(--forest-deep);font-size:.68rem;font-weight:900;vertical-align:middle}.nav-saved-badge[hidden]{display:none}
@media print{.state-jump-wrap,.back-to-top{display:none!important}}


/* --- V6 product-quality improvements --- */
.reviewed-date{display:block;margin-top:4px;font-size:.79rem;color:#68756f}
.state-card.state-card-lazy{position:relative;isolation:isolate;overflow:hidden;background:var(--forest-deep);color:#fff}
.state-card-lazy .state-card-bg{position:absolute;inset:0;width:100%;height:100%;object-fit:cover;z-index:-2;transition:transform .45s ease}
.state-card-lazy::after{content:"";position:absolute;inset:0;z-index:-1;background:linear-gradient(rgba(8,27,24,.08),rgba(8,27,24,.9));pointer-events:none}
.state-card-lazy .state-card-copy{display:flex;min-height:220px;flex:1;flex-direction:column;justify-content:flex-end;align-items:flex-start}
.state-card-lazy p{color:#edf6f1}.state-card-lazy:hover .state-card-bg{transform:scale(1.045)}
.stop-toolbar{margin:0 0 24px;padding:18px;border:1px solid var(--line);border-radius:18px;background:#fffdf8;box-shadow:0 8px 24px rgba(31,53,46,.04)}
.stop-toolbar-top{display:flex;align-items:center;justify-content:space-between;gap:14px;margin-bottom:12px}.stop-filter-status{font-family:var(--mono);font-size:.72rem;color:#68756f}
.stop-filter-buttons{display:flex;gap:8px;flex-wrap:wrap}.stop-filter-button{min-height:40px;border:1px solid var(--line);border-radius:999px;background:var(--paper);color:var(--forest-deep);padding:.5rem .72rem;font-weight:800;cursor:pointer}
.stop-filter-button:hover,.stop-filter-button:focus-visible{border-color:var(--amber-deep);background:#fff7e8}.stop-filter-button[aria-pressed="true"]{background:var(--forest-deep);border-color:var(--forest-deep);color:#fff}.stop-filter-button.saved-filter[aria-pressed="true"]{background:var(--amber);border-color:var(--amber);color:var(--forest-deep)}
.stop-filter-empty{margin:16px 0 0;padding:14px;border-radius:12px;background:var(--paper-deep);color:#53645e}
.detour-actions{display:grid;gap:8px;justify-items:stretch;min-width:112px}.detour-actions .save-button,.stop-link-button{width:100%}
.stop-link-button{border:1px solid var(--line);background:var(--paper);padding:.65rem .8rem;border-radius:999px;font-weight:800;cursor:pointer;color:var(--forest-deep)}.stop-link-button:hover{border-color:var(--amber-deep);background:#fff7e8}
.guide-pagination{display:grid;grid-template-columns:repeat(3,1fr);gap:12px}.guide-pagination a{display:flex;flex-direction:column;gap:3px;text-decoration:none;border:1px solid var(--line);border-radius:16px;padding:16px 18px;background:#fffdf8}.guide-pagination a span{font-family:var(--mono);font-size:.68rem;text-transform:uppercase;letter-spacing:.06em;color:#6a756f}.guide-pagination a strong{font-family:var(--display);font-size:1.2rem}.guide-pagination a:hover{border-color:var(--amber-deep);box-shadow:0 8px 22px rgba(31,53,46,.06)}.guide-pagination .all-guides-link{text-align:center;align-items:center}
.trip-length-grid{display:grid;grid-template-columns:repeat(3,1fr);gap:18px}.trip-length-card{background:#fffdf8;border:1px solid var(--line);border-radius:20px;padding:24px}.trip-length-card h3{font-family:var(--display);font-size:1.45rem;margin:.5rem 0}.trip-length-card a{font-weight:850;color:var(--forest);text-decoration:none}.trip-days{display:inline-flex;border-radius:999px;background:var(--forest-deep);color:#fff;padding:.35rem .62rem;font-family:var(--mono);font-size:.72rem;font-weight:800;letter-spacing:.05em;text-transform:uppercase}
.quick-search-card{margin-top:22px;display:grid;grid-template-columns:1fr 1.25fr;gap:24px;align-items:center;background:var(--forest-deep);color:#fff;border-radius:22px;padding:24px}.quick-search-card h3{font-family:var(--display);font-size:1.55rem;margin:.25rem 0}.quick-search-card .eyebrow{color:var(--amber)}.quick-search-form{display:flex;gap:10px}.quick-search-form input{flex:1;min-width:0;border:1px solid #b8c9c2;border-radius:999px;padding:.8rem 1rem;font:inherit}.quick-search-form .button{background:var(--amber);border-color:var(--amber);color:var(--forest-deep)!important;white-space:nowrap}
.starter-route-grid{display:grid;grid-template-columns:repeat(3,1fr);gap:18px}.starter-route-card{display:flex;flex-direction:column;background:#fffdf8;border:1px solid var(--line);border-radius:20px;padding:22px}.starter-route-card h3{font-family:var(--display);font-size:1.45rem;line-height:1.08;margin:.7rem 0}.starter-route-head{display:flex;align-items:center;justify-content:space-between;gap:10px;flex-wrap:wrap}.route-shape{font-family:var(--mono);font-size:.66rem;color:#68756f}.route-state-links{margin-top:auto;padding-top:16px;display:flex;flex-wrap:wrap;gap:7px}.route-state-links a{display:inline-flex;border:1px solid var(--line);border-radius:999px;padding:.35rem .55rem;background:var(--paper);font-size:.78rem;font-weight:800;text-decoration:none}.route-state-links a:hover{border-color:var(--amber-deep);background:#fff7e8}.route-cta{margin-top:22px;display:flex;align-items:center;justify-content:space-between;gap:24px;border:1px solid var(--line);border-radius:20px;padding:22px;background:var(--paper-deep)}.route-cta p{margin:.2rem 0 0;color:#53645e}
.gem-category-grid{display:grid;grid-template-columns:repeat(3,1fr);gap:18px}.gem-style-card{display:flex;flex-direction:column;text-decoration:none;background:#fffdf8;border:1px solid var(--line);border-radius:20px;padding:22px;min-height:220px}.gem-style-card h3{font-family:var(--display);font-size:1.45rem;margin:.45rem 0}.gem-style-card p{color:#53645e}.gem-style-count{font-family:var(--mono);font-size:.7rem;text-transform:uppercase;letter-spacing:.06em;color:var(--amber-deep);font-weight:800}.gem-style-link{margin-top:auto;font-weight:850;color:var(--forest)}.gem-style-card:hover{border-color:var(--amber-deep);transform:translateY(-2px);box-shadow:0 12px 28px rgba(31,53,46,.08)}
.trip-head{gap:8px;flex-wrap:wrap}.trip-head strong{margin-right:auto}
@media(max-width:900px){.trip-length-grid,.starter-route-grid,.gem-category-grid{grid-template-columns:repeat(2,1fr)}.quick-search-card{grid-template-columns:1fr}.guide-pagination{grid-template-columns:1fr 1fr}.guide-pagination .all-guides-link{grid-column:1/-1;grid-row:2}.detour-actions{grid-column:2;display:flex;min-width:0}.detour-actions .save-button,.stop-link-button{width:auto}.route-cta{align-items:flex-start;flex-direction:column}}
@media(max-width:620px){.trip-length-grid,.starter-route-grid,.gem-category-grid,.guide-pagination{grid-template-columns:1fr}.guide-pagination .all-guides-link{grid-column:auto;grid-row:auto}.quick-search-form{flex-direction:column}.quick-search-form .button{width:100%}.stop-toolbar-top{align-items:flex-start;flex-direction:column}.stop-filter-buttons{gap:6px}.stop-filter-button{font-size:.78rem;min-height:38px}.detour-actions{grid-column:1}.route-cta .actions{width:100%}.route-cta .button{width:100%}}
@media print{.stop-toolbar,.guide-pagination-section,.detour-actions .stop-link-button,.quick-search-card{display:none!important}}
.error-search-form{margin-top:28px;padding-top:22px;border-top:1px solid var(--line)}.error-search-form label{display:block;margin-bottom:10px}
\n\n/* --- V7 discovery, trip workflow & schema UX --- */
.breadcrumbs-page{background:#f7f2e6;border-bottom:1px solid var(--line);font-size:.82rem;color:var(--muted)}
.breadcrumbs-page .shell{display:flex;gap:8px;align-items:center;padding-top:9px;padding-bottom:9px}
.breadcrumbs-page a{color:var(--forest);font-weight:700;text-decoration:none}.breadcrumbs-page a:hover{text-decoration:underline}
.breadcrumb-row[aria-label="Breadcrumb"]{display:flex;gap:8px;align-items:center;flex-wrap:wrap}
.nav-search-button{appearance:none;border:0;background:transparent;color:inherit;font:inherit;font-weight:700;cursor:pointer;padding:.55rem .25rem;white-space:nowrap}
.nav-search-button:hover{text-decoration:underline;text-underline-offset:5px}.nav-search-button kbd{font:600 .67rem/1 var(--mono);padding:3px 5px;border:1px solid currentColor;border-radius:5px;opacity:.65;margin-left:4px}
.site-search-dialog{width:min(760px,calc(100vw - 28px));border:1px solid var(--line);border-radius:22px;padding:0;background:#fffdf8;color:var(--ink);box-shadow:0 28px 90px rgba(10,33,29,.35)}
.site-search-dialog::backdrop{background:rgba(10,33,29,.6);backdrop-filter:blur(3px)}
.site-search-shell{padding:22px}.site-search-head{display:flex;align-items:center;justify-content:space-between;gap:16px;margin-bottom:14px}.site-search-head h2{margin:0;font-family:var(--display)}
.site-search-close{border:1px solid var(--line);border-radius:999px;background:#fff;padding:8px 12px;cursor:pointer;font-weight:800}
.site-search-input{width:100%;font:inherit;font-size:1.05rem;border:2px solid var(--forest);border-radius:12px;padding:13px 15px;background:#fff}
.site-search-help{margin:8px 0 0;color:var(--muted);font-size:.82rem}.site-search-results{margin-top:16px;display:grid;gap:8px;max-height:min(58vh,520px);overflow:auto}
.site-search-result{display:grid;grid-template-columns:1fr auto;gap:12px;align-items:center;padding:12px 14px;border:1px solid var(--line);border-radius:13px;background:#fff;text-decoration:none;color:inherit}
.site-search-result:hover,.site-search-result:focus-visible{border-color:var(--amber-deep);background:#fff9ed}.site-search-result strong{display:block}.site-search-result small{color:var(--muted)}
.site-search-state{background:var(--forest);color:#fff;border-color:var(--forest)}.site-search-state small{color:#d6e6e0}.site-search-empty{padding:18px;border:1px dashed var(--line);border-radius:14px;color:var(--muted)}
.journey-bar{position:fixed;left:50%;bottom:14px;transform:translateX(-50%);z-index:80;width:min(720px,calc(100vw - 24px));background:var(--forest-deep,#0a211d);color:white;border:1px solid rgba(255,255,255,.2);border-radius:16px;box-shadow:0 16px 50px rgba(0,0,0,.28);padding:10px 12px;display:flex;align-items:center;justify-content:space-between;gap:12px}
.journey-bar[hidden]{display:none}.journey-summary{font-size:.88rem}.journey-summary strong{font-family:var(--display);font-size:1rem}.journey-actions{display:flex;gap:7px}.journey-actions a{color:#fff;text-decoration:none;border:1px solid rgba(255,255,255,.35);border-radius:999px;padding:7px 10px;font-size:.78rem;font-weight:800}.journey-actions a:hover{background:#fff;color:var(--forest-deep)}
body.has-journey-bar{padding-bottom:76px}.add-trip-button,.stop-link-button{appearance:none;border:1px solid var(--line);background:#fffdf8;border-radius:999px;padding:7px 10px;font:700 .76rem/1 var(--sans);cursor:pointer;color:var(--forest)}
.add-trip-button:hover,.stop-link-button:hover{border-color:var(--amber-deep);background:#fff5df}.add-trip-button.added{background:var(--forest);color:#fff;border-color:var(--forest)}
.detour-actions{display:flex;flex-wrap:wrap;gap:7px;align-items:center}.result-actions{display:flex;gap:8px;flex-wrap:wrap;align-items:center}.result-actions .add-trip-button{margin-left:0}
.travel-style-grid{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:16px}.travel-style-card{display:flex;flex-direction:column;min-height:210px;padding:20px;border:1px solid var(--line);border-radius:18px;background:#fffdf8;text-decoration:none;color:inherit;box-shadow:0 8px 22px rgba(31,53,46,.05)}
.travel-style-card:hover{transform:translateY(-2px);box-shadow:0 14px 30px rgba(31,53,46,.1);border-color:var(--amber-deep)}.travel-style-card h3{font-family:var(--display);margin:.55rem 0}.travel-style-card p{color:var(--muted);margin:.2rem 0 1rem}.travel-style-count{font:700 .72rem/1 var(--mono);text-transform:uppercase;letter-spacing:.05em;color:var(--brick)}.travel-style-link{margin-top:auto;font-weight:800;color:var(--forest)}
.recent-guides{background:var(--paper-deep)}.recent-guides-grid{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:16px}.recent-guide-card{padding:18px;border:1px solid var(--line);border-radius:16px;background:#fffdf8;text-decoration:none;color:inherit}.recent-guide-card:hover{border-color:var(--amber-deep)}.recent-guide-card small{color:var(--muted)}.recent-guide-card strong{display:block;font-family:var(--display);font-size:1.18rem;margin-top:5px}
.state-jump a[aria-current="location"]{background:var(--forest);color:white;border-radius:999px;padding:.38rem .62rem}.gm-share-status{font-size:.75rem;color:var(--muted);align-self:center}.stop-toolbar{scroll-margin-top:110px}
@media(max-width:980px){.travel-style-grid,.recent-guides-grid{grid-template-columns:repeat(2,minmax(0,1fr))}.nav-search-button kbd{display:none}}
@media(max-width:640px){.travel-style-grid,.recent-guides-grid{grid-template-columns:1fr}.journey-bar{align-items:flex-start}.journey-actions{flex-shrink:0}.journey-summary span{display:block}.site-search-shell{padding:16px}.site-search-result{grid-template-columns:1fr}.nav-search-button{width:100%;text-align:left;padding:.8rem 0}.detour-actions{margin-top:8px}}

/* --- V8 editorial road-trip guides --- */
.article-shell{width:min(920px,calc(100% - 48px));margin:auto}.article-lede{font-size:1.22rem;line-height:1.72;color:#344944;max-width:820px}.route-fact-grid{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:12px;margin:24px 0 10px}.route-fact{background:#fffdf8;border:1px solid var(--line);border-radius:16px;padding:16px}.route-fact small{display:block;font:800 .68rem/1 var(--mono);text-transform:uppercase;letter-spacing:.06em;color:var(--brick);margin-bottom:7px}.route-fact strong{display:block;line-height:1.3}.route-summary-box{background:var(--forest-deep);color:#fff;border-radius:22px;padding:24px;margin:28px 0}.route-summary-box .eyebrow{color:var(--amber)}.route-summary-box p{margin:.35rem 0 0;color:#e2eee9}.day-plan{display:grid;gap:14px;margin:22px 0}.day-card{background:#fffdf8;border:1px solid var(--line);border-radius:18px;padding:22px}.day-card h3{font-family:var(--display);font-size:1.45rem;margin:0 0 8px}.day-card p{margin:0;color:#3f534d;line-height:1.78}.day-card a,.article-shell a{color:var(--forest);font-weight:800;text-underline-offset:3px}.planning-callout{background:#fff5df;border:1px solid #e6c987;border-radius:18px;padding:20px 22px;margin:24px 0}.planning-callout h3{margin:.1rem 0 .5rem;font-family:var(--display)}.planning-callout p{margin:.35rem 0}.official-source-list{display:grid;gap:10px;padding:0;list-style:none}.official-source-list li a{display:block;background:#fffdf8;border:1px solid var(--line);border-radius:13px;padding:12px 14px;text-decoration:none}.official-source-list li a:hover{border-color:var(--amber-deep);background:#fff9ed}.related-guide-row{display:flex;flex-wrap:wrap;gap:9px}.related-guide-row a{display:inline-flex;border:1px solid var(--line);border-radius:999px;padding:.5rem .72rem;text-decoration:none;background:#fff}.article-meta{display:flex;gap:12px;flex-wrap:wrap;color:#64736e;font-size:.86rem;margin-top:12px}.article-meta span{display:inline-flex;align-items:center}.article-cta{display:flex;justify-content:space-between;gap:20px;align-items:center;background:var(--paper-deep);border:1px solid var(--line);border-radius:22px;padding:24px;margin:34px 0}.article-cta p{margin:.3rem 0 0;color:#53645e}.article-cta .actions{flex-shrink:0}@media(max-width:760px){.route-fact-grid{grid-template-columns:repeat(2,1fr)}.article-cta{align-items:flex-start;flex-direction:column}.article-cta .actions,.article-cta .button{width:100%}}@media(max-width:480px){.article-shell{width:min(100% - 28px,920px)}.route-fact-grid{grid-template-columns:1fr}}

/* V9 destination deep dives */
.deep-dive-link{display:inline-flex;margin-top:.7rem;font-weight:800;text-decoration:none;color:var(--accent,#0e7490);border-bottom:1px solid currentColor}.deep-dive-link:hover{opacity:.78}.text-link{display:inline-block;margin-top:.8rem;font-weight:800;color:var(--accent,#0e7490)}

/* V10: the destination link plus global search need a wider collapse threshold.
   Keep the desktop navigation from wrapping or overlapping at laptop widths. */
@media (max-width:1180px){
  .site-header .menu-toggle{display:block;flex-shrink:0}
  .site-header .menu{
    display:none;position:absolute;top:100%;left:0;right:0;
    background:#faf9f5;padding:14px clamp(16px,4vw,36px) 22px;
    border-bottom:1px solid #d8ded8;flex-direction:column;align-items:stretch;
    gap:4px;max-height:calc(100dvh - 76px);overflow-y:auto;
    box-shadow:0 14px 26px rgba(18,59,52,.10)
  }
  .site-header .menu.open{display:flex}
  .site-header .menu a,.site-header .nav-search-button{padding:10px 8px;min-height:42px}
  .site-header .nav-cta{align-self:flex-start;padding:10px 16px}
}
@media (min-width:1181px){
  .site-header .menu{gap:clamp(7px,1vw,16px)}
  .site-header .menu a{font-size:.86rem;white-space:nowrap}
  .site-header .brand img{width:185px}
  .site-header .nav{gap:14px}
  .site-header .nav-cta{padding:.6rem .8rem}
}
@media (min-width:1181px){
  .site-header .nav{padding-inline:16px;gap:10px}
  .site-header .brand img{width:160px}
  .site-header .menu{gap:9px}
  .site-header .menu a{font-size:.80rem}
  .site-header .nav-search-button{font-size:.80rem;padding:.45rem 0}
  .site-header .nav-search-button kbd{margin-left:2px}
}
