/* Mile Zero uses the Statezy palette in a low-glare evening mode. */
body:where(:not(.wp-admin)) {
  color-scheme: dark;
  --sz-canvas:#091a30; --sz-surface:#102746; --sz-surface-tinted:#16365e;
  --sz-text:#fff; --sz-text-muted:#c9dbef; --sz-border-subtle:#527eaf; --sz-border-control:#769cc9;
  --sz-link:#e3edf8; --sz-link-hover:#fff; --sz-link-visited:#c9dbef;
  --sz-action:#1e4779; --sz-action-hover:#356298; --sz-action-pressed:#16365e;
  --sz-selected-bg:#1e4779; --sz-selected-text:#fff; --sz-accent:#eca89d;
  --sz-focus-light:#fff; --sz-focus-dark:#091a30; --sz-gutter:clamp(1rem,4.6vw,4.8rem);
  background:var(--sz-canvas); color:var(--sz-text);
}
body .wp-site-blocks :is(h1,h2,h3,h4) { color:var(--sz-text); }
:where(.wp-site-blocks) :is(p,dd) { overflow-wrap:anywhere; }
.statezy-header, .statezy-footer { background:#091a30; border-block-end:1px solid var(--sz-border-subtle); }
html:has(.wp-site-blocks > header.wp-block-template-part) {
  --sz-header-height:4.65rem;
  --sz-admin-offset:0px;
  scroll-padding-block-start:calc(var(--sz-header-height) + var(--sz-admin-offset) + 1rem);
}
html:has(body.admin-bar .wp-site-blocks > header.wp-block-template-part) { --sz-admin-offset:32px; }
.wp-site-blocks > header.wp-block-template-part {
  position:sticky;
  inset-block-start:var(--sz-admin-offset);
  z-index:100;
  transition:box-shadow 200ms ease;
}
.wp-site-blocks > header.wp-block-template-part.is-scrolled { box-shadow:0 .45rem 1.3rem #030a1480; }
.statezy-header-inner { min-height:var(--sz-header-height,4.65rem); }
@media(max-width:782px) { html:has(body.admin-bar .wp-site-blocks > header.wp-block-template-part) { --sz-admin-offset:46px; } }
@media(max-width:600px) { html:has(body.admin-bar .wp-site-blocks > header.wp-block-template-part) { --sz-admin-offset:0px; } }
.statezy-header .wp-block-navigation__responsive-container.is-menu-open { color:#fff; background:#102746; inset-block-start:var(--sz-admin-offset); }
.statezy-discovery-form input[name="s"]::placeholder { color:var(--sz-text-muted); opacity:1; }
.statezy-logo img { width:clamp(7.5rem,13vw,8.2rem); }
.statezy-header .wp-block-navigation-item__content { font-weight:600; }
.statezy-footer {
  border-block-start:1px solid var(--sz-border-subtle);
  border-block-end:0;
  background:linear-gradient(180deg,var(--sz-surface),var(--sz-canvas) 85%);
}
.statezy-card a, .statezy-breadcrumbs a, .statezy-text-link, .statezy-prose a, .statezy-place-specs a { color:var(--sz-link); }
.statezy-card { border-radius:.25rem; }
/* Stretch the existing link over directory and content cards, including Core’s guide cards. */
.statezy-card, .statezy-directory-item { position:relative; }
.statezy-card :is(a[href],button,select,input,textarea,summary) { position:relative; z-index:2; }
:is(.statezy-card > .statezy-card-body > h3, .statezy-directory-item) > a[href] { position:static; }
:is(.statezy-card > .statezy-card-body > h3, .statezy-directory-item) > a[href]::after { content:""; position:absolute; inset:0; z-index:1; }
:is(.statezy-card, .statezy-directory-item):focus-within { outline:2px solid var(--sz-focus-light); outline-offset:3px; }
@media(hover:hover) {
  :is(.statezy-card, .statezy-directory-item):has(a[href]):hover { border-color:var(--sz-border-control); }
  :is(.statezy-card:hover > .statezy-card-body > h3, .statezy-directory-item:hover) > a[href] { text-decoration:underline; }
}
.statezy-card .statezy-card-body h3 a { text-decoration:none; }
.statezy-card .statezy-card-body h3 a:hover { text-decoration:underline; }
.statezy-archive { padding-block-start:clamp(1.4rem,4vw,3.25rem); }
.statezy-archive-head {
  display:grid;
  justify-items:start;
  gap:clamp(.75rem,1.5vw,1.25rem);
  margin-block-end:clamp(1.65rem,3.5vw,3rem);
}
.statezy-archive-head > * { margin-block:0; }
.statezy-archive-head > :is(br,p:empty,div:empty) { display:none; }
body .wp-site-blocks :is(.statezy-archive-title,.statezy-article-title,h1.statezy-section-heading) {
  max-width:26ch;
  font:400 clamp(2.55rem,6vw,5.6rem)/1.02 var(--sz-font-display);
  letter-spacing:-.037em;
  overflow-wrap:anywhere;
}
.statezy-archive-title { margin-block:0; }
body .wp-site-blocks .statezy-archive > .statezy-archive-title { margin-block-end:clamp(1.25rem,3vw,2rem); }
.statezy-archive-description { max-width:62ch; color:var(--sz-text-muted); }
.statezy-archive-description > p { margin-block:.4em 0; }
.statezy-archive-action a { padding-inline:1rem; text-decoration:none; }
.statezy-archive-action a:hover { background:var(--sz-action-hover); text-decoration:underline; }
.statezy-entry-intro { padding-block-start:clamp(.85rem,3.4vw,3rem); }
.statezy-kicker { font-size:.75rem; letter-spacing:.155em; text-transform:uppercase; }
.statezy-entry-intro .statezy-article-feature { max-width:none; }
.statezy-article-feature img { display:block; aspect-ratio:2.15; object-fit:cover; }
.statezy-facts, .statezy-place-specs, .statezy-score-card { border:1px solid var(--sz-border-subtle); border-radius:.25rem; max-width:none; }
.statezy-facts dl, .statezy-place-specs dl { gap:1rem; }
.statezy-facts dd, .statezy-place-specs dd { color:var(--sz-text-muted); }
.statezy-trip-tiles h3,.statezy-plan-steps :is(h3,strong) { color:#fff; }
.statezy-section-intro,.statezy-card-meta { color:var(--sz-text-muted); }
.statezy-home-section-heading { display:flex; flex-wrap:wrap; align-items:center; justify-content:space-between; gap:0 var(--sz-space-16); margin-block-end:.65rem; }
.statezy-home-section-heading > :is(.statezy-section-heading,.statezy-home-section-more) { margin:0; }
.statezy-home-section-more { display:flex; flex-wrap:wrap; gap:0 var(--sz-space-16); }
.statezy-home-section-more a { gap:var(--sz-space-8); font-weight:600; }
.statezy-grid + .statezy-home-section-more { justify-content:center; margin-block:var(--sz-space-16) 0; }
#travel-guides .statezy-card,#travel-guides .statezy-card-body { display:flex; flex-direction:column; }
#travel-guides .statezy-card-body { flex:1; }
#travel-guides .statezy-guide-card-cta {
  display:inline-flex; align-items:center; align-self:flex-start; gap:var(--sz-space-8);
  min-height:44px; margin-block-start:auto; padding-block-start:var(--sz-space-8); font-weight:600;
}
.statezy-home-section-heading .statezy-text-link { position:relative; inset-block-start:8px; }
.statezy-home-section-heading .statezy-text-link,#travel-guides .statezy-guide-card-cta { text-decoration:none; }
.statezy-home-section-heading .statezy-text-link:hover,#travel-guides .statezy-guide-card-cta:hover { text-decoration:underline; }
.statezy-card :is(a,.statezy-related-photo) { transition:color 170ms ease,filter 240ms ease; }
@media (hover:hover) { .statezy-card:hover .statezy-related-photo { filter:brightness(1.08); } }
.sz-mile-arrow,.statezy-guide-card-cta::after {
  display:inline-block;
  inline-size:1em;
  block-size:1em;
  flex:none;
  vertical-align:-.15em;
  background:currentColor;
  mask:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='M4 12h16m-6-6 6 6-6 6' fill='none' stroke='black' stroke-width='2.25' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E") center / contain no-repeat;
  transition:transform 180ms cubic-bezier(.22,.7,.18,1);
}
.statezy-guide-card-cta::after { content:""; }
@media (hover:hover) { a:hover > .sz-mile-arrow,.statezy-guide-card-cta:hover::after { transform:translateX(3px); } }
.sz-mile-hero { min-height:clamp(33rem,73svh,52rem); display:grid; align-items:end; position:relative; isolation:isolate; overflow:hidden; }
.sz-mile-hero > img { position:absolute; inset:0; z-index:-2; width:100%; height:100%; object-fit:cover; object-position:55% 52%; }
.sz-mile-hero::after { content:""; position:absolute; inset:0; z-index:-1; background:linear-gradient(90deg,#091a30ee,#091a3080 58%,#091a301f),linear-gradient(0deg,#091a30e8,transparent 74%); }
.sz-mile-hero-inner { display:grid; grid-template-columns:minmax(0,1fr) minmax(13rem,.35fr); gap:2rem; align-items:end; padding-block:3rem clamp(3rem,7vw,6rem); }
.sz-mile-copy { animation:sz-mile-arrive 540ms cubic-bezier(.22,.7,.18,1) both; }
.sz-mile-copy .statezy-kicker,.sz-route-plate .statezy-kicker,.sz-week .statezy-kicker { color:var(--sz-accent); }
.sz-mile-copy h1 { margin:0; font-size:clamp(3.65rem,8.6vw,8.8rem); letter-spacing:-.052em; line-height:.9; }
.sz-mile-copy h1 em { color:#c9dbef; }
.sz-mile-copy p:not(.statezy-kicker) { max-width:35ch; color:#e3edf8; font-size:clamp(1.15rem,2.05vw,1.42rem); margin:.95rem 0 1.1rem; }
.sz-mile-button, .sz-mile-save, .sz-week-controls button {
  min-height:44px; display:inline-flex; align-items:center; justify-content:center; gap:.5rem; padding:.55rem .85rem; border:1px solid var(--sz-border-control); border-radius:.22rem;
  color:#fff; background:#102746; font:600 1rem/1.2 var(--sz-font-body); text-decoration:none; cursor:pointer; transition:background-color 180ms ease,color 180ms ease;
}
.sz-mile-button { color:#102746; background:#fff; border-color:#fff; }
.sz-mile-button:hover { color:#102746; background:#e3edf8; }
.sz-mile-save:hover,.sz-mile-save[aria-pressed=true],.sz-week-controls button:hover { background:#1e4779; }
.sz-route-plate { padding:1rem 1.15rem .75rem; background:#102746ec; border:1px solid #a5c1e18a; }
.sz-route-plate svg { display:block; width:100%; height:auto; margin:0 0 .55rem; }
.sz-route-plate path { fill:none; stroke:#a5c1e1; stroke-width:2; }
.sz-route-plate .sz-route-base { opacity:.5; }
.sz-route-plate .sz-route-trace { stroke:#eca89d; stroke-dasharray:1; animation:sz-mile-trace 1050ms 100ms cubic-bezier(.22,.7,.18,1) both; }
.sz-route-plate circle { fill:#eca89d; stroke:#102746; stroke-width:2; }
.sz-route-plate p { margin:0; }
.sz-route-plate a { display:inline-flex; min-height:44px; align-items:center; gap:.5rem; text-decoration:none; }
.sz-route-plate a:hover { text-decoration:underline; }
@keyframes sz-mile-arrive { from { transform:translateY(6px); } to { transform:none; } }
@keyframes sz-mile-trace { from { stroke-dashoffset:1; } to { stroke-dashoffset:0; } }
.sz-mile-choices { margin-block-start:-1.45rem; position:relative; z-index:1; display:grid; grid-template-columns:repeat(3,minmax(0,1fr)); border:1px solid var(--sz-border-subtle); background:var(--sz-surface); }
.sz-mile-choices > br,.sz-map-shortcuts > br { display:none; }
.sz-mile-choices a { display:grid; grid-template-columns:auto minmax(0,1fr) auto; gap:.7rem; align-items:center; min-height:72px; color:#fff; padding:clamp(.8rem,1.8vw,1.3rem); text-decoration:none; }
.sz-mile-choices a ~ a { border-inline-start:1px solid var(--sz-border-subtle); }
.sz-mile-choices a:hover { background:var(--sz-surface-tinted); }
.sz-mile-choices a > span:first-child { color:var(--sz-accent); font-size:.78rem; font-weight:600; }
.sz-mile-choices a > span:nth-child(2) { display:grid; gap:.25rem; }
.sz-mile-choices strong { line-height:1.12; }
.sz-mile-choices small { color:var(--sz-text-muted); line-height:1.25; }
.sz-mile-search { padding-block:clamp(1.2rem,3vw,2.8rem) 0; }
.sz-mile-search .statezy-discovery-form { max-width:42rem; }
.sz-mile-search .statezy-search-field > :is(br, p:empty:not([role])) { display:none; }
.sz-mile-search .statezy-search-row > p:has(> button[type="submit"]) { display:flex; margin:0; }
.sz-mile-search .statezy-search-row button[type="submit"] { padding-block:.55rem; }
.home main { --sz-home-section-start:clamp(1.25rem, 3.75vw, 3rem); }
.home :is(.statezy-section.sz-week, #travel-guides, #explore) { padding-block-start:var(--sz-home-section-start); }
.home :is(.statezy-section.sz-week, #travel-guides) { padding-block-end:0; }
.home .sz-trip-section { padding-block-start:clamp(1.75rem, 5.625vw, 4.5rem); }
.sz-week-head { display:flex; justify-content:space-between; align-items:end; gap:1rem; flex-wrap:wrap; margin-block-end:1.2rem; }
.sz-week h2 { margin:0; }
.sz-week h2,
.home .statezy-home-section-heading > h2 { font-size:clamp(2.5rem,5vw,4.4rem); letter-spacing:-.03em; }
.sz-week-head > :is(br,p) { display:none; }
.sz-week-controls { display:flex; gap:.45rem; flex-wrap:wrap; }
.sz-week-controls[hidden] { display:none; }
.sz-week-controls button { min-width:44px; }
.sz-week-controls button[aria-disabled=true] { opacity:.53; cursor:default; }
.sz-week-stage { display:grid; isolation:isolate; overflow:hidden; border:1px solid var(--sz-border-subtle); background:var(--sz-surface); }
.sz-week-slide { grid-area:1/1; display:grid; grid-template-columns:minmax(0,1.18fr) minmax(0,1fr); grid-template-rows:minmax(clamp(23rem,34vw,32rem),auto); opacity:0; visibility:hidden; pointer-events:none; transition:opacity 280ms ease,visibility 0s linear 280ms; }
.sz-week-slide.is-current { z-index:1; opacity:1; visibility:visible; pointer-events:auto; transition-delay:0s; }
.sz-week-slide figure { margin:0; min-width:0; min-height:0; width:100%; position:relative; align-self:stretch; overflow:hidden; }
.sz-week-slide .sz-photo-fallback { position:absolute; inset:0; }
.sz-week-slide img { position:absolute; inset:0; width:100%; height:100%; object-fit:cover; }
.sz-week-slide figcaption { position:absolute; inset:auto 0 0; padding:.45rem .65rem; background:#091a30e8; color:#fff; font-size:.75rem; }
.sz-week-copy { align-self:center; padding:clamp(1rem,3vw,2.45rem); }
.sz-week-copy h3 { margin:.25rem 0 .65rem; font-size:clamp(2rem,4.1vw,3.65rem); letter-spacing:-.025em; }
.sz-week-copy h3 a { text-decoration:none; }
.sz-week-copy h3 a:hover { text-decoration:underline; }
.sz-week-copy p { margin:0; color:var(--sz-text-muted); }
.sz-week-copy ul { margin:.55rem 0 0; padding:0; list-style:none; }
.sz-week-copy li { border-block-end:1px solid var(--sz-border-subtle); }
.sz-week-copy li a { display:flex; align-items:center; justify-content:space-between; gap:.5rem; min-height:44px; color:#fff; text-decoration:none; }
.sz-week-copy li a:hover { text-decoration:underline; }
.sz-atlas { position:relative; min-width:0; padding:clamp(.45rem,1.6vw,1rem); background:var(--sz-surface); border:1px solid var(--sz-border-subtle); }
.sz-atlas > svg { display:block; width:100%; height:auto; max-height:34rem; }
.sz-map-zone path,.sz-map-muted { fill:#c9dbef; stroke:#fff; stroke-width:1.4; transition:fill 180ms ease; }
.sz-map-muted { opacity:.48; }
.sz-map-zone text { fill:#102746; text-anchor:middle; dominant-baseline:central; pointer-events:none; font:600 14px ui-monospace,monospace; }
.sz-map-zone:is(:hover,:focus-visible) path { fill:#356298; stroke-width:3; }
.sz-map-zone:is(:hover,:focus-visible) text { fill:#fff; }
.sz-map-shortcuts { display:flex; flex-wrap:wrap; justify-content:center; gap:.35rem; margin-block-start:.75rem; }
.sz-map-shortcuts a { display:grid; place-items:center; inline-size:44px; block-size:44px; background:#091a30; border:1px solid var(--sz-border-subtle); border-radius:.2rem; text-decoration:none; }
.sz-map-shortcuts a:is(:hover,:focus-visible) { background:#1e4779; }
.sz-map-shortcuts span { color:var(--sz-text-muted); font:600 .75rem ui-monospace,monospace; }
.sz-map-tooltip { position:absolute; top:0; left:0; max-width:calc(100% - 12px); z-index:6; pointer-events:none; border:1px solid #a5c1e1; background:#091a30; padding:.42rem .6rem; color:#fff; font-size:.88rem; border-radius:.23rem; }
.sz-locator { margin:1rem 0; width:min(100%,22rem); background:#16365e; border:1px solid var(--sz-border-subtle); }
.sz-locator > svg { display:block; width:100%; height:auto; }
.sz-locator-other { fill:#526d8c; stroke:#9db0c6; stroke-width:2; opacity:.65; }
.sz-locator-active { fill:#eca89d; stroke:#fff; stroke-width:3; }
.sz-locator text { fill:#fff; font:600 15px var(--sz-font-body); }
.sz-ocean-grid,.sz-ocean-guide { fill:none; stroke:#a5c1e1; opacity:.45; }
.sz-ocean-guide { stroke:#f7ccc4; stroke-dasharray:3 4; }
.sz-locator figcaption { display:flex; justify-content:space-between; flex-wrap:wrap; gap:.25rem .65rem; padding-inline:.65rem; border-block-start:1px solid var(--sz-border-subtle); }
.sz-locator figcaption a { display:inline-flex; min-height:44px; align-items:center; gap:.3rem; color:#fff; }
.sz-hub-grid,.sz-visit-layout { display:grid; grid-template-columns:minmax(0,1fr) minmax(0,.38fr); gap:clamp(1rem,3vw,2.75rem); align-items:start; }
.sz-hub-grid > *, .sz-visit-layout > * { min-width:0; }
.sz-hub-grid .sz-locator { margin-block:0; }
.sz-visit-layout .statezy-entry-body { padding-block-start:1rem; }
.sz-visit-layout .statezy-place-specs { margin-block:1rem; }
.sz-location-map { margin-block:clamp(.85rem,2vw,1.5rem); }
.sz-location-map-bar,.sz-location-map-actions { display:flex; align-items:center; flex-wrap:wrap; gap:.45rem 1rem; }
.sz-location-map-bar { justify-content:space-between; }
.sz-location-map-actions { gap:var(--sz-space-8); margin-inline-start:auto; }
/* WordPress can insert empty paragraphs around shortcode controls. */
.sz-location-map-actions > p:empty { display:none; }
.sz-location-map-bar p,.sz-map-status { margin:0; color:var(--sz-text-muted); font-size:var(--sz-type-ui-size); }
#location-map .sz-location-map-bar {
  padding:clamp(.85rem,2vw,1.4rem);
  background:var(--sz-surface); border:1px solid var(--sz-border-subtle); border-radius:.35rem;
}
.sz-location-map-bar h2 { margin:0 0 .25rem; font:400 var(--sz-type-h2-size)/1.1 var(--sz-font-display); }
.sz-map-toggle {
  min-height:44px; padding:.5rem 1rem; border:1px solid var(--sz-border-control); border-radius:.25rem;
  background:var(--sz-surface); color:var(--sz-text); font:600 1rem/1.2 var(--sz-font-body); cursor:pointer;
}
.sz-map-toggle:is(:hover,[aria-expanded="true"]) { background:var(--sz-selected-bg); }
.sz-map-provider { position:relative; display:inline-flex; max-inline-size:100%; }
.sz-map-provider-primary,.sz-map-provider-options > summary {
  display:flex; align-items:center; justify-content:center; box-sizing:border-box; min-block-size:44px;
  border:1px solid var(--sz-border-control); background:var(--sz-surface-tinted); color:var(--sz-text);
  font:600 1rem/1.2 var(--sz-font-body); cursor:pointer;
}
.sz-map-provider a.sz-map-provider-primary {
  padding:.5rem .85rem; border-start-start-radius:.25rem; border-end-start-radius:.25rem; text-decoration:none;
}
.sz-map-provider-options > summary {
  min-inline-size:44px; block-size:100%; border-inline-start:0; list-style:none;
  border-start-end-radius:.25rem; border-end-end-radius:.25rem;
}
.sz-map-provider-options > summary::-webkit-details-marker { display:none; }
.sz-map-provider a.sz-map-provider-primary:hover,.sz-map-provider-options > summary:hover,
.sz-map-provider-options[open] > summary { background:var(--sz-selected-bg); color:var(--sz-text); }
.sz-map-provider-options[open] > summary svg { transform:rotate(180deg); }
.sz-map-provider :is(a,summary):focus-visible { outline:2px solid currentColor; outline-offset:-3px; }
.sz-map-provider-options > ul {
  position:absolute; z-index:2; inset-block-start:calc(100% + .35rem); inset-inline-end:0;
  min-inline-size:min(100%,12rem); margin:0; padding:.25rem; list-style:none; border-radius:.35rem;
  border:1px solid var(--sz-border-control); background:var(--sz-surface); box-shadow:0 6px 18px #091a3040;
}
.sz-map-provider-options li a {
  display:flex; align-items:center; min-block-size:44px; padding:.35rem .65rem; border-radius:.2rem;
  color:var(--sz-text); font:600 1rem/1.2 var(--sz-font-body); text-decoration:none;
}
.sz-map-provider-options li a:is(:hover,:focus-visible) { background:var(--sz-selected-bg); }
.sz-map-status:not(:empty) { margin-block-start:.5rem; }
.sz-leaflet.leaflet-container {
  height:clamp(19rem,48vw,32rem); margin-block-start:.75rem; border:1px solid var(--sz-border-subtle);
  border-radius:.35rem; background:var(--sz-surface); color:var(--sz-text); isolation:isolate;
}
.sz-leaflet .leaflet-tile-pane { filter:invert(.92) hue-rotate(180deg) saturate(.72) brightness(.88); }
.sz-leaflet.leaflet-container .leaflet-control-zoom a {
  color:var(--sz-text); background:var(--sz-surface); border-color:var(--sz-border-subtle);
  min-width:44px; min-height:44px; line-height:44px;
}
.sz-leaflet.leaflet-container .leaflet-control-zoom a:is(:hover,:focus-visible) { background:var(--sz-selected-bg); }
.sz-leaflet.leaflet-container .leaflet-control-attribution { color:var(--sz-text-muted); background:var(--sz-canvas); }
.sz-leaflet .leaflet-popup-content-wrapper,.sz-leaflet .leaflet-popup-tip { background:var(--sz-surface); color:var(--sz-text); }
.sz-leaflet .leaflet-popup-content { font:600 .95rem/1.35 var(--sz-font-body); }
.sz-map-pin {
  background:url("images/statezy-map-pin.svg") center / contain no-repeat;
  filter:drop-shadow(0 3px 4px #091a30aa);
}
.sz-leaflet .sz-map-cluster {
  display:grid; place-items:center; background:var(--sz-blue-700); color:#fff; border:2px solid var(--sz-blue-200);
  border-radius:50%; box-shadow:0 0 0 3px #102746b3; font:700 1rem/1 var(--sz-font-body);
}
@media (forced-colors:active) {
  .sz-leaflet .leaflet-tile-pane { filter:none; }
  .sz-map-pin,.sz-map-cluster { forced-color-adjust:none; }
}
.sz-roadbook ul,.sz-sitemap-links { list-style:none; padding:0; }
.sz-roadbook li,.sz-sitemap-links li { border-block-end:1px solid var(--sz-border-subtle); padding:.45rem 0; }
.sz-roadbook li { display:flex; flex-wrap:wrap; justify-content:space-between; align-items:center; gap:.6rem; }
.sz-roadbook li a,.sz-sitemap-links a { display:inline-flex; min-height:44px; align-items:center; }
.statezy-discovery-form :is(input[type="search"],button),.statezy-facet summary,.sz-select-control { min-height:48px; }
.statezy-suggestions { overscroll-behavior:contain; }
.statezy-suggestions.is-above { inset:auto 0 calc(100% + .35rem); }
.statezy-facet summary { display:flex; gap:.5rem; align-items:center; list-style:none; }
.statezy-facet summary::-webkit-details-marker { display:none; }
.statezy-facet summary::after { content:""; margin-inline-start:auto; width:.45rem; height:.45rem; border:solid currentColor; border-width:0 1.5px 1.5px 0; transform:rotate(45deg); }
.statezy-facet[open] summary::after { transform:rotate(225deg); }
.statezy-facet-panel { position:absolute; top:calc(100% + .32rem); inset-inline-start:0; z-index:9; width:min(18rem,calc(100vw - 2 * var(--sz-gutter) - 1.4rem)); box-sizing:border-box; box-shadow:0 10px 25px #091a3080; }
.statezy-facet-panel.is-above { top:auto; bottom:calc(100% + .32rem); }
.statezy-facet-options { overscroll-behavior:contain; }
.statezy-facet-options label:hover { background:var(--sz-selected-bg); }
.statezy-facet-options label[hidden] { display:none; }
.statezy-facet-search,.statezy-facet-panel input[type=search] { margin-block-end:.45rem; }
.sz-photo-fallback { height:clamp(7rem,12vw,11rem); display:grid; place-items:center; color:#e3edf8; background:#16365e url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 400 200'%3E%3Cpath d='M0 68C75 16 94 135 168 84S275 12 330 65 385 68 400 48M0 88C75 36 94 155 168 104S275 32 330 85 385 88 400 68M0 108C75 56 94 175 168 124S275 52 330 105 385 108 400 88M0 128C75 76 94 195 168 144S275 72 330 125 385 128 400 108M0 148C75 96 94 215 168 164S275 92 330 145 385 148 400 128' fill='none' stroke='%23769cc9' opacity='.65'/%3E%3C/svg%3E") center/cover; }
.sz-photo-fallback span { padding:.45rem .6rem; border:1px solid #a5c1e1; background:#102746; font:600 .8rem ui-monospace,monospace; }
@media(max-width:63.99rem) {
  html:has(.wp-site-blocks > header.wp-block-template-part) { --sz-header-height:4.35rem; }
  .sz-visit-layout { grid-template-columns:minmax(0,1fr) minmax(0,.68fr); }
}
@media(max-width:47.99rem) {
  .sz-mile-hero { min-height:30rem; }
  .sz-mile-hero-inner,.sz-hub-grid,.sz-visit-layout,.sz-week-slide { grid-template-columns:minmax(0,1fr); }
  .sz-mile-hero-inner { padding-block:2.75rem 3.15rem; }
  .sz-route-plate { display:none; }
  .sz-mile-choices { margin-block-start:-.85rem; }
  .sz-week-slide { grid-template-rows:auto 1fr; }
  .sz-week-slide figure { min-height:0; align-self:start; aspect-ratio:16/9; }
  .sz-week-copy { align-self:start; }
  .statezy-article-feature img { aspect-ratio:16/10; }
}
@media(max-width:35.99rem) {
  .sz-mile-choices { grid-template-columns:minmax(0,1fr); }
  .sz-mile-choices a ~ a { border-inline-start:0; border-block-start:1px solid var(--sz-border-subtle); }
  .statezy-facet-panel { width:100%; }
}
@media(prefers-reduced-motion:reduce) {
  .sz-mile-copy,.sz-route-plate .sz-route-trace { animation:none; }
  .wp-site-blocks > header.wp-block-template-part,.sz-week-slide,.sz-mile-arrow,.statezy-guide-card-cta::after,.statezy-card :is(a,.statezy-related-photo),.sz-map-zone path { transition:none; }
  a:hover > .sz-mile-arrow { transform:none; }
}

body .wp-site-blocks a:where(:not(.wp-element-button,.wp-block-button__link,.sz-mile-button)) { color:var(--sz-link); }
body .wp-site-blocks .sz-leaflet a { color:var(--sz-link); }
.sz-trip-section { padding-block-end:0; }
.sz-trip-section .statezy-kicker { color:var(--sz-accent); }
.sz-trip-section h2 { margin:.25rem 0 1rem; }
.sz-route-card > :is(img,.sz-photo-fallback) { display:block; width:100%; height:auto; aspect-ratio:16/10; object-fit:cover; }
.sz-route-card > .sz-photo-fallback { display:grid; }
.sz-route-card h3 .sz-mile-arrow { vertical-align:-.08em; }
.sz-route-card .statezy-card-body p:last-child { margin-block-end:0; }
.sz-visit-layout:has(.sz-visit-details:empty) { grid-template-columns:minmax(0,1fr); }
#travel-guide-directory form { align-items:center; }
#travel-guide-directory form > label { font-weight:600; }
#travel-guide-directory form > :is(button,select),.road-control .field-trigger,.road-control .picker-search {
  min-height:48px; border:1px solid var(--sz-border-control); border-radius:.25rem; padding:.55rem .75rem;
  font:inherit; background:var(--sz-surface); color:var(--sz-text); box-sizing:border-box;
}
#travel-guide-directory form > button { background:var(--sz-action); font-weight:600; cursor:pointer; }
#travel-guide-directory form > button:hover { background:var(--sz-action-hover); }
#travel-guide-directory form > select,.road-control { flex:0 1 18rem; min-width:0; }
#travel-guide-directory form > select { cursor:pointer; }
.road-control { position:relative; }
.road-control.is-open { z-index:9; }
.road-control .field-trigger { display:flex; align-items:center; justify-content:space-between; gap:.6rem; width:100%; text-align:left; cursor:pointer; }
.field-trigger::after { content:""; flex:none; width:.48rem; height:.48rem; border:solid currentColor; border-width:0 1.5px 1.5px 0; transform:rotate(45deg); }
.is-open .field-trigger::after { transform:rotate(225deg); }
.picker-popover { position:absolute; inset:calc(100% + .35rem) 0 auto; padding:.35rem; background:var(--sz-surface); border:1px solid var(--sz-border-control); border-radius:.25rem; box-shadow:0 10px 25px #091a3080; }
.picker-popover.above { inset:auto 0 calc(100% + .35rem); }
.picker-popover .picker-search { width:100%; margin-block-end:.3rem; }
.picker-list { max-height:18rem; overflow:auto; overscroll-behavior:contain; }
.picker-option { min-height:46px; width:100%; background:transparent; color:#fff; border:0; font:inherit; text-align:left; cursor:pointer; padding:.5rem .65rem; }
.picker-option:is(:hover,[aria-selected=true]) { background:var(--sz-selected-bg); }
.picker-option.is-current { box-shadow:inset 3px 0 var(--sz-accent); font-weight:600; }
.picker-empty { margin:.4rem; }
@media(max-width:35.99rem) {
  #travel-guide-directory form > label { flex:1 0 100%; }
  #travel-guide-directory form > select,.road-control { flex:1 1 11rem; }
}

/* Keep the last content panel clear of the footer across block layouts. */
main#content { padding-block-end:clamp(3rem,6vw,5.5rem); }
main#content .statezy-entry-details { margin-block-end:0; }
.statezy-entry-details > :is(.statezy-facts,.statezy-score-card,.statezy-place-specs) + :is(.statezy-facts,.statezy-score-card,.statezy-place-specs) {
  margin-block-start:clamp(1rem,2.5vw,1.75rem);
}
.statezy-entry-details .statezy-facts > :last-child { margin-block-end:0; }
