/* == /shared/guide/site.css == */
/* shared structural base (layout only; theme comes from the guide block below) */
* { box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } }
body { margin: 0; background: var(--paper); color: var(--ink); font-family: "Libre Franklin", system-ui, sans-serif; line-height: 1.65; text-rendering: optimizeLegibility; overflow-x: hidden; }
img { display: block; max-width: 100%; height: auto; }
a { color: inherit; text-underline-offset: 4px; }
a:hover { color: var(--berry); }
button, input, select { font: inherit; }
h1, h2, h3 { font-family: "Newsreader", Georgia, serif; font-weight: 650; line-height: 1.12; margin: 0; }
p { margin: 0 0 1em; }
.progress { position: fixed; top: 0; left: 0; height: 3px; width: 0; background: var(--maple); z-index: 100; }
.section-kicker, .kicker, .about-cta-kicker, .browser-label { margin: 0 0 10px; font-size: .74rem; font-weight: 800; letter-spacing: .14em; text-transform: uppercase; color: var(--accent-text); }

/* Header */
article.day, .day[id] { scroll-margin-top: 96px; }
.site-header { position: sticky; top: 0; z-index: 30; color: var(--on-deep); box-shadow: 0 1px 0 color-mix(in srgb, var(--on-deep) 14%, transparent); }
.header-inner { max-width: var(--max); margin: 0 auto; padding: 12px 24px; display: flex; align-items: center; justify-content: space-between; gap: 16px; }
.home-mark { display: inline-flex; align-items: center; gap: 13px; color: #fffaf0; text-decoration: none; }
.home-mark .brand-logo { width: 66px; flex: 0 0 auto; height: auto; border-radius: 50%; mix-blend-mode: screen; }
.brand-wordmark { display: grid; gap: 1px; color: #fffaf0; font-family: "Newsreader", serif; font-size: 1.06rem; font-weight: 650; line-height: 1.1; }
.brand-wordmark span:last-child { color: var(--sun, #efbe4c); }
.site-nav { display: flex; align-items: center; gap: 10px; }
.site-nav > a { color: inherit; text-decoration: none; font-size: .74rem; font-weight: 800; letter-spacing: .1em; text-transform: uppercase; padding: 9px 10px; }
.site-nav > a:hover { color: var(--gold-soft); }
.header-search, .header-share { display: inline-flex; align-items: center; justify-content: center; width: 42px; height: 42px; padding: 0; border: 1px solid color-mix(in srgb, var(--on-deep) 40%, transparent); background: none; color: inherit; cursor: pointer; }
.header-search svg, .header-share svg { width: 18px; height: 18px; }
.header-search-bar { display: none; padding: 0 24px 14px; }
.header-search-bar.open { display: block; }
.search-wrap { max-width: var(--max); margin: 0 auto; position: relative; }
.search-wrap input { width: 100%; min-height: 44px; padding: 10px 14px; border: 1px solid var(--line); background: var(--paper-2); color: var(--ink); font-size: 16px; }
.search-suggest[hidden] { display: none; }

/* Hero: full-bleed dark band in the guide's own palette (Dublin structure) */
main { display: block; }
.hero { position: relative; isolation: isolate; overflow: hidden; display: grid; grid-template-columns: minmax(0, 1.15fr) minmax(340px, .85fr); min-height: 86svh; background: var(--hero-bg, var(--berry-deep)); color: var(--hero-ink, #fff8e9); }
.hero-copy { position: relative; z-index: 1; display: flex; flex-direction: column; justify-content: space-between; gap: 28px; padding: clamp(42px, 7vw, 108px) clamp(24px, 5vw, 72px) 54px max(24px, calc((100vw - var(--max)) / 2 + 24px)); }
.breadcrumb { display: flex; flex-wrap: wrap; gap: 7px; margin: 0 0 28px; font-size: .78rem; font-weight: 700; color: var(--hero-soft, #e8dccf); }
.breadcrumb a { color: var(--hero-ink, #fff8e9); text-decoration: none; }
.breadcrumb span[aria-hidden="true"] { color: var(--hero-accent, #efbe4c); }
.category-badges { display: flex; flex-wrap: wrap; gap: 10px; margin-bottom: 22px; }
.cat-badge { display: inline-block; padding: 7px 16px; border-radius: 999px; font-size: .8rem; font-weight: 800; letter-spacing: .06em; text-transform: uppercase; border: 1px solid color-mix(in srgb, var(--hero-ink, #fff8e9) 55%, transparent); color: var(--hero-ink, #fff8e9); background: transparent; }
.cat-badge.cat-primary { background: var(--hero-chip, rgba(255,255,255,.14)); border-color: transparent; color: var(--hero-ink, #fff8e9); }
.kicker { color: var(--hero-accent, #efbe4c); letter-spacing: .19em; margin-bottom: 18px; }
.hero h1 { max-width: 15ch; font-size: clamp(2.9rem, 6.6vw, 6.4rem); line-height: .94; letter-spacing: -.035em; margin-bottom: 18px; }
.hero h1 em { display: block; font-style: italic; font-weight: 500; color: var(--hero-accent, #efbe4c); }
.verified-date { font-size: .82rem; font-weight: 700; color: var(--hero-soft, #e8dccf); margin: 0 0 18px; }
.dek { max-width: 36em; font-family: "Newsreader", Georgia, serif; font-size: clamp(1.18rem, 1.9vw, 1.6rem); line-height: 1.32; color: var(--hero-soft, #e8dccf); }
.guide-style-tags { margin: 14px 0 0; display: flex; flex-wrap: wrap; gap: 8px; }
.ts-tag { display: inline-block; font-size: .82rem; font-weight: 700; padding: 5px 13px; border-radius: 999px; color: var(--hero-accent, #efbe4c); border: 1px solid color-mix(in srgb, var(--hero-accent, #efbe4c) 45%, transparent); background: color-mix(in srgb, var(--hero-accent, #efbe4c) 8%, transparent); }
.hero-meta { display: flex; flex-wrap: wrap; gap: 10px 26px; padding-top: 20px; border-top: 1px solid color-mix(in srgb, var(--hero-ink, #fff8e9) 24%, transparent); font-size: .86rem; font-weight: 700; }
.hero-art { position: relative; z-index: 1; align-self: center; margin: 0; }
.hero-art img { width: 100%; height: auto; }
.hero-art figcaption { position: absolute; left: 14px; top: 14px; padding: 6px 10px; font-size: .7rem; letter-spacing: .04em; color: #fff; background: rgba(12, 10, 8, .72); }

/* On this page */
.jump-wrap { max-width: var(--max); margin: 0 auto; padding: 0 24px 28px; }
.toc { border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); padding: 12px 0; }
.toc summary { cursor: pointer; font-size: .74rem; font-weight: 800; letter-spacing: .12em; text-transform: uppercase; }
.jump { display: flex; flex-wrap: wrap; gap: 8px 18px; margin-top: 10px; }
.jump a { font-size: .9rem; font-weight: 700; color: var(--ink); }

/* Hero photo */
.guide-hero { max-width: var(--max); margin: 0 auto 8px; padding: 0 24px; }
.guide-hero img { width: 100%; height: auto; object-fit: contain; }
.guide-hero figcaption, .day-photo figcaption, .route-map figcaption, .pack-photo figcaption, .plan-extra figcaption, .gallery figcaption { margin-top: 8px; font-size: .82rem; color: var(--muted); }

/* Overview */
.overview { max-width: var(--max); margin: 0 auto; padding: 48px 24px; }
.overview-head { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 16px; margin-bottom: 24px; }
.overview-head h2 { font-size: clamp(1.8rem, 3.6vw, 2.6rem); }
.share-control { position: relative; }
.share-trip-button { display: inline-flex; align-items: center; gap: 10px; min-height: 44px; padding: 10px 16px; border: 1px solid var(--ink); background: none; color: var(--ink); font-weight: 800; cursor: pointer; }
.share-trip-button svg { width: 18px; height: 18px; }
.share-menu { position: absolute; right: 0; top: calc(100% + 8px); min-width: 200px; background: var(--paper-2); border: 1px solid var(--line); box-shadow: 0 16px 32px var(--shadow); z-index: 20; display: grid; }
.share-menu[hidden] { display: none; }
.share-menu button { display: flex; align-items: center; gap: 10px; padding: 12px 14px; border: 0; border-bottom: 1px solid var(--line); background: none; color: var(--ink); text-align: left; cursor: pointer; }
.share-menu button svg { width: 18px; height: 18px; }
.share-copy-fallback { width: 100%; }
.share-copy-fallback[hidden] { display: none; }
.share-copy-fallback input { width: 100%; padding: 10px; border: 1px solid var(--line); background: var(--paper-2); color: var(--ink); }
.overview-cards { margin-bottom: 32px; }
.trip-card { background: var(--paper-2); border: 1px solid var(--line); border-top: 5px solid var(--berry); padding: 26px 28px; }
.trip-card h3 { font-size: 1.4rem; margin-bottom: 14px; }
.trip-card dl { margin: 0; display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 0 32px; }
.trip-card dl > div { padding: 12px 0; border-top: 1px solid var(--line); }
.trip-card dt { font-size: .72rem; font-weight: 800; letter-spacing: .12em; text-transform: uppercase; color: var(--accent-text); }
.trip-card dd { margin: 4px 0 0; }
.overview-route { display: grid; grid-template-columns: minmax(0, .8fr) minmax(0, 1.2fr); gap: 32px 48px; align-items: start; }
.route-map { margin: 0; grid-row: span 2; }
.route-map img { width: 100%; height: auto; object-fit: contain; }
.intro h2 { font-size: clamp(1.6rem, 3vw, 2.2rem); margin-bottom: 16px; }
.day-summary h3 { font-size: 1.3rem; margin-bottom: 12px; }
.day-summary-list { display: grid; gap: 10px; }
a.day-summary-button { text-decoration: none; color: inherit; box-sizing: border-box; }
.day-summary-button { display: grid; grid-template-columns: 96px minmax(0, 1fr) auto; gap: 14px; align-items: center; width: 100%; padding: 10px; border: 1px solid var(--line); background: var(--paper-2); color: var(--ink); text-align: left; cursor: pointer; }
.day-summary-button:hover { border-color: var(--berry); }
.day-summary-media img { width: 96px; height: 72px; object-fit: cover; }
.day-summary-caption { display: grid; gap: 2px; }
.day-summary-when { font-size: .72rem; font-weight: 800; letter-spacing: .1em; text-transform: uppercase; color: var(--accent-text); }
.day-summary-place { font-family: "Newsreader", Georgia, serif; font-size: 1.15rem; font-weight: 650; }
.day-summary-text { font-size: .88rem; color: var(--muted); }
.day-summary-arrow { font-weight: 800; color: var(--accent-text); }

/* Route */
.route { max-width: var(--max); margin: 0 auto; padding: 56px 24px; }
.route-head { margin-bottom: 26px; }
.route-head h2 { font-size: clamp(1.9rem, 3.8vw, 2.8rem); margin-bottom: 10px; }
.route-sub { max-width: 44em; color: var(--muted); }
.day-accordion { display: grid; gap: 14px; }
.day { border: 1px solid var(--line); background: var(--paper-2); }
.day.is-even { background: var(--white); }
.accordion-heading { margin: 0; font-size: inherit; }
.accordion-toggle { display: flex; align-items: center; justify-content: space-between; gap: 16px; width: 100%; padding: 20px 22px; border: 0; background: none; color: var(--ink); text-align: left; cursor: pointer; }
.accordion-label { display: flex; flex-wrap: wrap; align-items: baseline; gap: 4px 10px; }
.accordion-place { font-family: "Newsreader", Georgia, serif; font-size: 1.35rem; font-weight: 650; }
.accordion-separator { color: var(--muted); }
.accordion-theme { font-size: .95rem; color: var(--muted); }
.accordion-icon { flex: 0 0 auto; width: 30px; height: 30px; border: 1px solid var(--line); position: relative; }
.accordion-icon::before, .accordion-icon::after { content: ""; position: absolute; left: 50%; top: 50%; width: 12px; height: 2px; background: currentColor; transform: translate(-50%, -50%); }
.accordion-icon::after { transform: translate(-50%, -50%) rotate(90deg); transition: transform .2s ease; }
.day.is-open .accordion-icon::after { transform: translate(-50%, -50%) rotate(0); }
.accordion-panel { display: none; }
.day.is-open .accordion-panel { display: block; }
.accordion-panel-inner { padding: 0 22px 26px; display: grid; grid-template-columns: minmax(0, .8fr) minmax(0, 1.2fr); gap: 24px 36px; align-items: start; overflow: hidden; min-height: 0; }
.day-image img { width: 100%; height: auto; object-fit: contain; }
.day-copy h4 { font-size: .8rem; font-weight: 800; letter-spacing: .1em; text-transform: uppercase; color: var(--accent-text); margin: 22px 0 8px; }
.day-copy ul { padding-left: 1.2em; }
.day-copy li { margin-bottom: 6px; }
.day-index { display: flex; align-items: baseline; gap: 12px; margin-bottom: 12px; }
.day-index b { font-family: "Newsreader", Georgia, serif; font-size: 2.2rem; color: var(--accent-text); }
.day-index span { font-size: .78rem; font-weight: 800; letter-spacing: .12em; text-transform: uppercase; color: var(--muted); }
.route-note { margin-top: 18px; padding: 12px 14px; border-left: 4px solid var(--forest); background: var(--mist); font-size: .9rem; }
.tip { margin-top: 14px; padding: 14px 16px; background: var(--berry-deep); color: var(--on-deep); font-size: .94rem; }
.tip strong { color: var(--gold-soft); }
.day-photo { grid-column: 1 / -1; margin: 0; }
.day-photo img { width: 100%; height: auto; object-fit: contain; }
.day-accordion > blockquote { margin: 18px 0; padding: 28px 30px; font-family: "Newsreader", Georgia, serif; font-size: clamp(1.4rem, 3vw, 2rem); line-height: 1.3; color: var(--ink); border-left: 6px solid var(--maple); background: var(--mist); }
.day-accordion > blockquote span { display: block; color: var(--accent-text); }

/* About */
.about-cta { background: var(--berry-deep); color: var(--on-deep); }
.about-cta-inner { max-width: var(--max); margin: 0 auto; padding: 48px 24px; display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 24px; }
.about-cta-copy { max-width: 46em; }
.about-cta .about-cta-kicker { color: var(--gold-soft); }
.about-cta h2 { font-size: clamp(1.6rem, 3vw, 2.2rem); margin-bottom: 10px; }
.about-cta-button { display: inline-block; padding: 12px 20px; border: 1px solid var(--on-deep); color: var(--on-deep); text-decoration: none; font-weight: 800; }
.about-cta-button:hover { background: var(--on-deep); color: var(--berry-deep); }

/* Planning */
.planning { max-width: var(--max); margin: 0 auto; padding: 56px 24px; }
.planning-head { margin-bottom: 24px; }
.planning-head h2 { font-size: clamp(1.8rem, 3.6vw, 2.6rem); }
.plan-grid { display: grid; gap: 28px; }
.pack { background: var(--paper-2); border: 1px solid var(--line); padding: 26px 28px; }
.pack h3 { font-size: 1.35rem; margin-bottom: 12px; }
.pack ul { padding-left: 1.2em; margin: 0 0 18px; columns: 2; column-gap: 32px; }
.pack li { margin-bottom: 6px; break-inside: avoid; }
.pack-photos { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 18px; }
.pack-photo { margin: 0; }
.pack-photo img { width: 100%; height: auto; object-fit: contain; }
.plan-extras { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 24px 36px; align-items: start; }
.plan-extra { margin: 0; }
.plan-extra img { width: 100%; height: auto; object-fit: contain; }
.plan-extra-copy h3 { font-size: 1.3rem; margin-bottom: 10px; }

/* Gallery */
.gallery { max-width: var(--max); margin: 0 auto; padding: 56px 24px; }
.gallery-head { margin-bottom: 22px; }
.gallery-head h2 { font-size: clamp(1.8rem, 3.6vw, 2.6rem); }
.gallery-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 22px; align-items: start; }
.gallery-grid figure { margin: 0; }
.gallery-grid img { width: 100%; height: auto; object-fit: contain; }

/* FAQ */
.faq { max-width: var(--max); margin: 0 auto; padding: 56px 24px; }
.faq h2 { font-size: clamp(1.8rem, 3.6vw, 2.6rem); margin-bottom: 18px; }
.faq-list { display: grid; gap: 10px; }
.faq details { border: 1px solid var(--line); background: var(--paper-2); padding: 0 18px; }
.faq summary { cursor: pointer; padding: 16px 0; font-weight: 800; }
.faq details p { margin: 0 0 16px; }

/* Checks */
.checks { max-width: var(--max); margin: 0 auto; padding: 56px 24px; }
.checks h2 { font-size: clamp(1.7rem, 3.4vw, 2.4rem); margin-bottom: 10px; }
.checks ul { margin: 18px 0 0; padding: 0; list-style: none; display: grid; gap: 12px; }
.checks li { padding: 16px 20px; border: 1px solid; border-radius: 12px; }
/* Checks contrast: every color derived from this guide's theme tokens */
.checks { color: var(--ink); }
.checks h2 { color: var(--ink); }
.checks .section-kicker, .checks .checks-sub, .checks > p { color: var(--muted); }
.checks .checks-sub a { color: inherit; }
.checks li { background: var(--white); color: var(--ink); border-color: var(--line); }
.checks li a { color: inherit; font-weight: 700; text-decoration: underline; text-decoration-color: var(--gold); text-decoration-thickness: 2px; text-underline-offset: 3px; }

/* Related */
.related { max-width: var(--max); margin: 0 auto; padding: 56px 24px; }
.related-head { display: flex; flex-wrap: wrap; justify-content: space-between; align-items: end; gap: 16px; margin-bottom: 22px; }
.related-head h2 { font-size: clamp(1.7rem, 3.4vw, 2.4rem); }
.related-head > p { max-width: 30em; color: var(--muted); margin: 0; }
.browser-grid { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 20px; }
.browser-card { background: var(--paper-2); border: 1px solid var(--line); }
.browser-card[hidden] { display: none; }
.browser-card a { display: flex; flex-direction: column; height: 100%; color: inherit; text-decoration: none; }
.browser-card-media img { width: 100%; aspect-ratio: 4 / 5; object-fit: cover; }
.browser-card-copy { padding: 14px 16px 16px; display: flex; flex-direction: column; gap: 6px; flex: 1; }
.browser-card-copy h3 { font-size: 1.15rem; }
.related .browser-card-copy h3 { color: var(--ink); }
.card-route { margin: 0; font-size: .72rem; font-weight: 800; letter-spacing: .1em; text-transform: uppercase; color: var(--accent-text); }
.card-dek { margin: 0; font-size: .88rem; color: var(--muted); }
.card-meta { margin-top: auto; display: flex; justify-content: space-between; font-size: .8rem; font-weight: 700; }

/* Sources */
.official-links, .references { max-width: var(--max); margin: 0 auto; padding: 48px 24px; }
.sources-inner { display: grid; grid-template-columns: minmax(0, .8fr) minmax(0, 1.2fr); gap: 24px 48px; }
.sources-inner h2 { font-size: clamp(1.6rem, 3vw, 2.2rem); margin-bottom: 8px; }
.section-sub { color: var(--muted); }
.source-list { display: grid; gap: 10px; }
.source-list > div { padding: 12px 16px; border: 1px solid var(--line); background: var(--paper-2); }
.source-list a { font-weight: 800; color: var(--ink); }
.source-list small { display: block; color: var(--muted); font-size: .84rem; }
.photo-credits { grid-column: 1 / -1; font-size: .86rem; color: var(--muted); }
.photo-credits h3 { font-size: 1.1rem; color: var(--ink); margin-bottom: 8px; }
.photo-credits ul { padding-left: 1.2em; }
.photo-credits a { color: var(--ink); }

/* Trip browser */
.route-browser { background: var(--mist); padding: 64px 24px; }
.browser-inner { max-width: var(--max); margin: 0 auto; }
.browser-head { display: flex; flex-wrap: wrap; justify-content: space-between; align-items: end; gap: 16px; margin-bottom: 22px; }
.browser-head h2 { font-size: clamp(1.8rem, 3.6vw, 2.6rem); }
.browser-note { max-width: 32em; color: var(--muted); margin: 0; }
.filter-panel { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 12px; padding: 18px; background: var(--paper-2); border: 1px solid var(--line); margin-bottom: 18px; }
.field { display: grid; gap: 6px; }
.field label { font-size: .72rem; font-weight: 800; letter-spacing: .1em; text-transform: uppercase; color: var(--muted); }
.field input, .field select { min-height: 44px; padding: 9px 12px; border: 1px solid var(--line); background: var(--paper); color: var(--ink); font-size: 16px; width: 100%; }
.reset { align-self: end; min-height: 44px; border: 1px solid var(--ink); background: none; color: var(--ink); font-weight: 800; cursor: pointer; }
.result-line { grid-column: 1 / -1; display: flex; flex-wrap: wrap; justify-content: space-between; gap: 8px; font-size: .9rem; color: var(--muted); }
#filter-prompt, #active-note { display: flex; align-items: flex-start; gap: 12px; max-width: 100%; }
#filter-prompt[hidden], #active-note[hidden] { display: none; }
.filter-prompt { padding: 14px 0; color: var(--muted); }
.filter-prompt p { margin: 0; }
.prompt-arrow { font-weight: 800; color: var(--accent-text); }
.route-browser.is-dormant .browser-item { display: none; }
.browser-item[hidden] { display: none; }
.browser-featured { display: grid; grid-template-columns: minmax(0, .8fr) minmax(0, 1.2fr); gap: 24px; background: var(--paper-2); border: 1px solid var(--line); margin-bottom: 20px; }
.browser-featured-media img { width: 100%; aspect-ratio: 4 / 5; object-fit: cover; }
.browser-featured-copy { padding: 22px; display: flex; flex-direction: column; justify-content: space-between; gap: 16px; }
.feature-dek { color: var(--muted); }
.tags { display: flex; flex-wrap: wrap; gap: 8px; }
.tag { padding: 4px 10px; border: 1px solid var(--line); font-size: .78rem; font-weight: 700; }
.story-link { display: inline-flex; gap: 8px; font-weight: 800; color: var(--ink); }
.pagination { display: flex; align-items: center; justify-content: center; gap: 14px; margin: 18px 0; }
.pagination[hidden] { display: none; }
.page-btn { min-height: 44px; padding: 8px 14px; border: 1px solid var(--ink); background: none; color: var(--ink); font-weight: 800; cursor: pointer; }
.page-btn:disabled { opacity: .45; cursor: default; }
.empty { display: none; padding: 24px 0; }
.empty.show { display: block; }

/* Divider, footer, viewer */
hr.greek-key { border: 0; height: 10px; margin: 0; background: repeating-linear-gradient(90deg, var(--berry-deep) 0 18px, var(--maple) 18px 22px); }
footer { background: var(--berry-deep); color: var(--on-deep); }
.footer-inner { max-width: var(--max); margin: 0 auto; padding: 48px 24px 28px; display: grid; grid-template-columns: minmax(0, .9fr) minmax(0, 1.1fr); gap: 28px 48px; }
.footer-brand { display: grid; gap: 14px; justify-items: start; }
.footer-logo { width: 72px; height: 72px; border-radius: 50%; }
.footer-tagline { margin: 0; }
.follow-buttons { display: flex; flex-wrap: wrap; gap: 10px; }
.follow-button { display: inline-block; padding: 10px 14px; border: 1px solid color-mix(in srgb, var(--on-deep) 50%, transparent); color: inherit; text-decoration: none; font-weight: 800; font-size: .84rem; }
.follow-button.primary { background: var(--on-deep); color: var(--berry-deep); }
.footer-nav { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 6px 24px; align-content: start; }
.footer-nav a { color: inherit; text-decoration: none; font-size: .92rem; padding: 4px 0; }
.footer-nav a:hover { color: var(--gold-soft); }
.footer-lower { grid-column: 1 / -1; display: flex; flex-wrap: wrap; justify-content: space-between; align-items: end; gap: 12px; padding-top: 20px; border-top: 1px solid color-mix(in srgb, var(--on-deep) 22%, transparent); font-size: .86rem; }
.footer-lower p { margin: 0 0 4px; }
.to-top { color: inherit; font-weight: 800; }
.image-viewer { position: fixed; inset: 0; z-index: 200; background: color-mix(in srgb, var(--berry-deep) 94%, black); display: flex; flex-direction: column; }
.image-viewer[hidden] { display: none; }
.image-viewer-bar { display: flex; justify-content: flex-end; padding: 10px; }
.image-viewer-close { width: 44px; height: 44px; border: 1px solid var(--on-deep); background: none; color: var(--on-deep); font-size: 1.6rem; cursor: pointer; }
.image-viewer-stage { flex: 1; overflow: auto; display: flex; align-items: center; justify-content: center; padding: 12px; }
.image-viewer-stage img { max-width: 100%; max-height: 100%; height: auto; object-fit: contain; }

@media (max-width: 1100px) {
  .home-mark { gap: 10px; }
  .home-mark .brand-logo { width: 54px; }
  .brand-wordmark { font-size: .9rem; }
}
@media (max-width: 899px) {
  .hero, .overview-route, .accordion-panel-inner, .sources-inner, .plan-extras, .browser-featured, .footer-inner { grid-template-columns: minmax(0, 1fr); }
  .hero { min-height: 0; }
  .hero-copy { padding: 40px 24px 36px; }
  .hero-art { align-self: stretch; }
  .route-map { grid-row: auto; }
  .trip-card dl { grid-template-columns: minmax(0, 1fr); }
  .gallery-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .browser-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .filter-panel { grid-template-columns: minmax(0, 1fr); }
}
@media (max-width: 560px) {
  .header-inner { padding: 10px 16px; }
  .site-nav > a { display: none; }
  .overview, .route, .planning, .gallery, .faq, .checks, .related, .official-links, .references { padding: 40px 24px; }
  .route-browser { padding: 40px 24px; }
  .pack ul { columns: 1; }
  .pack-photos, .gallery-grid, .browser-grid { grid-template-columns: minmax(0, 1fr); }
  .accordion-toggle { padding: 16px; }
  .accordion-panel-inner { padding: 0 16px 20px; }
  .day-summary-button { grid-template-columns: 76px minmax(0, 1fr) auto; }
  .day-summary-media img { width: 76px; height: 60px; }
  .footer-nav { grid-template-columns: minmax(0, 1fr); }
}
@media (max-width: 380px) {
  .home-mark { gap: 8px; }
  .home-mark .brand-logo { width: 48px; }
  .brand-wordmark { font-size: 1.05rem; }
}

/* Base v-next, day copy (SOP 5.10, Oct 8 2026): summary strip + Good to know. Theme tokens only; never restyled per guide. */
.day-copy .day-strip { margin: 20px 0 10px; padding: 10px 14px; border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); background: var(--paper-2); color: var(--ink); font-size: .86rem; font-weight: 600; letter-spacing: .01em; line-height: 1.5; }
.day-copy .good-to-know { margin: 10px 0 0; padding: 12px 14px; border-left: 4px solid var(--maple); background: var(--paper-2); color: var(--ink); font-size: .92rem; }
.day-copy .good-to-know strong { color: var(--accent-text); }

/* Menu fix 20261008m: header + Trips menu use this page's own theme tokens */
.site-header { background: var(--berry-deep); }
.trip-menu-panel { background: var(--berry-deep); }
#destination-picker { background: var(--paper-2); color: var(--ink); }
#destination-picker option { background: var(--paper-2); color: var(--ink); }
.trip-menu .picker-wrap { color: var(--ink); }

/* hero-3plus2-20261111: structural only. The Big Island "Fire & starlight" palette, hero gradient, motif and component styles moved to
   /big-island-hawaii-couples/fire-starlight.css (UX spec hero-per-guide-mobile-20261111 §2.1). Each guide's own inline :root sets its palette and hero tokens. */
:root { color-scheme: light dark; --max: 1180px; }
/* shared type: each guide's own --display (Newsreader when a guide sets none) */
h1, h2, h3, .accordion-place, .day-summary-place, .kicker, .trip-card dt { font-family: var(--display, "Newsreader", Georgia, serif); font-weight: 400; }
h1 { letter-spacing: -.01em; }
h2 { font-size: clamp(2rem, 4.1vw, 2.85rem); line-height: 1.08; }
.section-kicker { color: var(--accent-text); letter-spacing: .2em; text-transform: uppercase; font-size: .8rem; }
.hero h1 { line-height: 1.04; }
.hero h1 em { font-style: italic; }

/* hero-3plus2-20261111 (2) shorter guide hero below 900px (UX spec §3.1). Desktop (>=900px) is unchanged. No art is replaced; the
   existing cover is only sized with object-fit: contain. #ce-cta-hero stays on the cream right after the hero. */
@media (max-width: 899px) {
  html body main > .eat-bc[data-bc-fit="guide"] { margin-block: 6px 2px; }
  html body main > .tx-chips { padding-block: 4px 6px; }
  html body .hero { display: flex; flex-direction: column; min-height: 0;
    max-height: min(70svh, calc(100svh - var(--eat-header-h, 64px) - var(--eat-prehero-h, 88px))); }
  html body .hero .hero-copy { flex: 0 0 auto; padding: 20px 20px 12px; gap: 12px; }
  html body .hero .category-badges { margin-bottom: 8px; gap: 8px; }
  html body .hero .cat-badge:not(.cat-primary), html body .hero .tx-sep { display: none; }
  html body .hero .cat-badge { padding: 5px 12px; font-size: .74rem; }
  html body .hero .kicker { margin-bottom: 8px; font-size: .72rem; letter-spacing: .14em; }
  html body .hero h1 { max-width: none; font-size: clamp(1.85rem, 8vw, 2.25rem); line-height: 1.05; margin-bottom: 8px; }
  html body .hero .verified-date { margin: 0 0 8px; }
  html body .hero .verified-date .vb-acts { display: none; }
  html body .hero .dek { font-size: 1.05rem; line-height: 1.3; margin: 0; }
  html body .hero .guide-style-tags { display: none; }
  html body .hero .hero-meta { padding-top: 8px; gap: 4px 14px; font-size: .8rem; }
  html body .hero .hero-art { flex: 1 1 auto; min-height: 0; max-width: calc(100% - 40px); display: flex; flex-direction: column; align-items: center; justify-content: flex-start; padding: 4px 0 16px; align-self: center; overflow: hidden; }
  html body .hero .hero-art img { flex: 0 1 auto; min-height: 0; width: auto; max-width: 100%; height: auto; max-height: min(28svh, 220px); object-fit: contain; }
}
/* short screens (e.g. 390x664 with Safari chrome): the spec's overflow ladder, step 2-3 (tighter H1, 2-line dek) */
@media (max-width: 899px) and (max-height: 760px) {
  html body .hero .hero-copy { padding: 14px 20px 8px; gap: 8px; }
  html body .hero .category-badges { margin-bottom: 6px; }
  html body .hero h1 { font-size: clamp(1.6rem, 7vw, 1.95rem); margin-bottom: 6px; }
  html body .hero .dek { font-size: 1rem; }
  html body .hero .hero-meta { padding-top: 6px; }
}

/* v9-mobile-20261117 (owner, 17 Nov 2026), two mobile fixes. This block is only here so every guide gets them from one shared file.
   (a) <=899px: the cover card (header.hero figure.hero-art) renders at the full content width, the same 24px gutters as the day cards,
       at its own aspect ratio. The hero grows to fit; the part of the card below the fold is wanted. The old min(28svh,220px) cap (above)
       and the guide-signature.css clamp() cap (58svh / 24rem) no longer apply; both used !important, so these rules do too and win on specificity.
   (b) Sense of Place mobile sheet (<1024px, where the sheet has a header band): the band was a fixed 168px (--header-h) that cover-cropped
       the 800x1067 day-card art into a thin slice. It is now a taller band (75vw: 292px at 390px wide, 240-340px) and the crop sits at the bottom of the art,
       below the baked-in title that sits in the top ~40%. object-position is set inline by sense-of-place.js, hence !important. */
@media (max-width: 899px) {
  html body header.hero, html.gsig body header.hero { max-height: none !important; }
  html body header.hero figure.hero-art, html.gsig body header.hero figure.hero-art {
    flex: 0 0 auto !important; align-self: center !important; box-sizing: border-box !important;
    width: calc(100% - 48px) !important; max-width: min(calc(100% - 48px), 800px) !important; overflow: visible !important; padding: 8px 0 20px !important; }
  html body header.hero figure.hero-art img, html.gsig body header.hero figure.hero-art img {
    display: block !important; width: 100% !important; max-width: 100% !important; height: auto !important;
    min-height: 0 !important; max-height: none !important; aspect-ratio: auto !important; object-fit: contain !important; margin-inline: 0 !important; }
}
@media (max-width: 1023px) {
  html body #place-stories .ps-mobile-head { height: clamp(240px, 75vw, 340px); }
  html body #place-stories .ps-band img { object-position: 50% 100% !important; }
}

/* sop-mobile-sheet-20261117 (EAT UX SPEC-WEBDEV md5 7f5bba17): phones only. The whole SoP sheet scrolls as one page; the art scrolls away
   to an 80px sticky title bar, tabs stick under it, close stays on screen.
   Owner 8:29 AM ET: once scrolled, the day chip row AND the tabs both stick, stacked under the 80px bar. Tablet and desktop untouched. */
@media (max-width: 599px) {
  html body #place-stories { --sop-head-h: clamp(240px, 75vw, 340px); --sop-bar-h: 80px; --sop-chips-h: 67px;
    overflow-y: auto; overscroll-behavior: contain; -webkit-overflow-scrolling: touch; }
  html body #place-stories .ps-main { flex: 0 0 auto; display: block; min-height: 0; }
  html body #place-stories .ps-pane { overflow: visible;
    min-height: calc(var(--sheet-h, 96dvh) - var(--sop-bar-h) - var(--sop-chips-h) - 49px); }
  html body #place-stories .ps-mobile-head { height: var(--sop-head-h); position: sticky;
    top: calc(var(--sop-bar-h) - var(--sop-head-h)); z-index: 3; }
  html body #place-stories .ps-chips { position: sticky; top: var(--sop-bar-h); z-index: 3; }
  html body #place-stories .ps-tabs { position: sticky; top: calc(var(--sop-bar-h) + var(--sop-chips-h)); z-index: 3; }
  html body #place-stories .ps-handle { flex: 0 0 auto; }
  html body #place-stories .ps-close { flex: 0 0 40px; height: 40px; position: sticky; top: 12px;
    z-index: 6; align-self: flex-end; right: auto; margin: -16px 12px -24px 0; }
}
/* == /shared/guide-v3-layer.css == */
/* v3 layer on the live Big Island base. Loads AFTER /shared/*.css and assets/site.css. Additive only.
   Theme tokens come from the per-guide <style data-slot="theme"> block. Below 1024px nothing changes except the
   'Original Illustration' label (rule copied from UX guide-v3.css, selector re-scoped from body.g3 to live figures). */
:is(.day-image,#route-map,.plan-extra-a,.hero-art){position:relative}
.art-label{position:absolute;left:12px;top:12px;z-index:2;display:inline-block;margin:0;padding:5px 9px;font:700 11px/1 system-ui,sans-serif;letter-spacing:.08em;border-radius:3px;background:var(--berry-deep);color:var(--maple);border:1px solid var(--maple);white-space:nowrap;pointer-events:none}
.hero-art figcaption{font-weight:700}
@media (min-width:1024px){
  main{--v3-gap:32px}
  .overview{display:grid;grid-template-columns:repeat(12,minmax(0,1fr));column-gap:var(--v3-gap);align-items:start}
  .overview>.overview-head{grid-column:1/-1}
  .overview>.overview-cards{grid-column:8/13;grid-row:2;position:sticky;top:96px}
  .overview>.overview-route{grid-column:1/8;grid-row:2}
  .day .accordion-panel-inner{display:grid;grid-template-columns:minmax(0,7fr) minmax(0,5fr);column-gap:var(--v3-gap);align-items:start}
  .day .accordion-panel-inner>.day-copy{grid-column:1;grid-row:1}
  .day .accordion-panel-inner>.day-image{grid-column:2;grid-row:1;position:sticky;top:96px}
  .day .accordion-panel-inner>.day-photo{grid-column:1/-1}
  .plan-grid.plan-grid-single{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));column-gap:var(--v3-gap)}
  .gallery-grid{grid-template-columns:repeat(3,minmax(0,1fr))}
  /* prose measure: live widths run to ~140 chars per line at 1440; cap prose at 34em (about 75 chars) */
  main :is(p,li):not(nav *,dl *,figure *,.tx-chips *,.jump-nav *,.share-control *,.gallery-grid *,.cd-price){max-width:34em}
  main :is(.eat-gate-card,.ce-big-in,.about-cta-copy,.route-head) :is(p,li){margin-inline:auto}
  main :is(.ce-guar,.photo-credits,.sources-inner) :is(p,li){margin-inline:0}
  .art-label{font-size:14px}
}

/* ===== v3 DESKTOP LAYOUT (template, every guide; Core/owner 8:40 PM Oct 27 2026). Phone and tablet below 1180px are untouched.
   Loads before cp-inline/eat-site, so overrides use extra specificity (html body ...) instead of !important. ===== */
.v3-rail{display:none}
/* >=1024 tidy: trip-card and official-links 'Reviewed' actions overflowed the page by 41px at 1100 (pre-existing, nowrap) */
@media (min-width:1024px){
  html body main .verified-date:not(.verified-date--hero) .vb-line{display:flex;flex-wrap:wrap}
  html body main .verified-date:not(.verified-date--hero) .vb-line .vb-acts{flex-basis:100%;flex-wrap:wrap;white-space:normal}
  html body main .verified-date:not(.verified-date--hero) .vb-line .vb-acts>.vb-sep:first-child{display:none}
  html body .hero .verified-date--hero .vb-line{width:max-content;max-width:none}
}
@media (min-width:1180px){
  :root{--max:1248px;--v3-gap:32px}
  /* hero: copy 7 / poster 5, never taller than the screen */
  html body .hero{grid-template-columns:minmax(0,7fr) minmax(0,5fr);min-height:0;max-height:calc(100svh - 120px)}
  html body .hero-copy{padding:26px 24px 24px max(24px,calc((100vw - var(--max))/2 + 24px));gap:10px;justify-content:center}
  html body .hero h1{font-size:clamp(2.6rem,3.3vw,3.1rem);line-height:1.02;max-width:20ch;margin-bottom:8px}
  html body .hero :is(.kicker,.category-badges){margin-bottom:6px}
  html body .hero .kicker{max-width:none}
  html body .hero .hero-meta{padding-top:10px}
  html body .hero .guide-style-tags{margin-bottom:0}
  html body .hero .dek{max-width:34em}
  html body .hero-art{padding:24px max(24px,calc((100vw - var(--max))/2 + 24px)) 24px 24px;align-self:center;text-align:center}
  html body .hero-art img{height:min(calc(100svh - 300px),480px);width:auto;max-width:100%;margin:0 auto;display:block;object-fit:contain}
  html body .hero-art figcaption{left:52px;top:52px}
  /* custom-plan / sign-up bands: wide strips, copy left, button column right (button <= 480px) */
  html body .ce-wrap{max-width:var(--max);margin:0 auto;padding:0 24px;box-sizing:border-box}
  html body .ce-wrap .cd-plan{flex-direction:row;align-items:center;gap:24px;padding:18px 28px;margin:18px 0;text-align:left}
  html body .ce-wrap .cd-plan-b{display:grid;grid-template-columns:minmax(0,1fr) minmax(260px,380px);column-gap:40px;align-items:center;padding:0}
  html body .ce-wrap .cd-plan-b>:is(h2,p:not(.cd-price)){grid-column:1;text-align:left;margin-inline:0}
  html body .ce-wrap .cd-plan-b>h2{grid-row:1;align-self:end}
  html body .ce-wrap .cd-plan-b>p:not(.cd-price){grid-row:2 / span 2;align-self:start;margin-bottom:0}
  html body .ce-wrap .cd-plan-b>:is(.ce-btn,.cd-price,.cd-smlink){grid-column:2}
  html body .ce-wrap .cd-plan-b>.ce-btn{grid-row:1 / span 2;align-self:center;width:100%;max-width:480px}
  html body .ce-wrap .cd-plan-b>.cd-price{grid-row:3;margin:4px 0 0}
  html body .ce-wrap .cd-plan-b>.cd-smlink{grid-row:4}
  html body .ce-wrap .cd-thumb{flex:none}
  html body .route .ce-wrap{padding:0}
  /* big custom-plan section: wide card, multi-column inside, centred buttons */
  html body section.ce-big.ce-g .ce-big-in{max-width:1040px}
  html body section.ce-big .ce-ex{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:20px}
  html body section.ce-big .ce-btn{max-width:480px;margin-inline:auto}
  html body section.ce-big :is(.ce-ex,.tw-trio,.lad-row){max-width:840px;margin-inline:auto}
  html body section.ce-big .lad-row{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:16px;align-items:stretch}
  html body section.ce-big .lad-row>.lad{width:auto;max-width:none;margin:0}
  html body section.ce-big .tw-trio{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:16px}
  html body section.ce-big .tw-trio>.tw-ribbon{grid-column:1/-1;justify-self:center}
  html body section.ce-big .ce-btn{display:flex}
  html body section.ce-big .ce-guar ul{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:12px 32px}
  html body section.ce-big .ce-guar ul>li{margin:0;break-inside:avoid}
  /* section photos never taller than the screen, never upscaled */
  html body .guide-hero img{width:100%;height:min(70svh,620px);max-height:none;max-width:100%;object-fit:cover;margin:0;display:block}
  html body .guide-hero figcaption{text-align:center}
  html body :is(.day-photo,.gallery-grid figure,.pack-photo,.plan-extra) img{max-height:70svh}
  /* overview: idea + day summary 7 / trip card 5 (map moves to the route rail) */
  html body .overview-route{display:block}
  html body .overview-route>#route-map{display:none}
  html body .overview .day-summary{margin-top:28px}
  html body .overview .day-summary-list{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:12px}
  html body .overview .day-summary-list>*{margin:0}
  /* route: sticky map rail (4 cols) beside the day-by-day (8 cols) */
  html body #route{display:grid;grid-template-columns:repeat(12,minmax(0,1fr));column-gap:var(--v3-gap);align-items:start}
  html body #route>*{grid-column:1/-1}
  html body #route>.route-head{grid-row:1}
  html body #route>.v3-rail{display:block;grid-column:1/5;grid-row:2;position:sticky;top:88px;margin:0}
  html body #route>.day-accordion{grid-column:5/13;grid-row:2}
  html body .v3-rail-map{margin:0}
  html body .v3-rail-map img{display:block;width:auto;max-width:100%;max-height:calc(100svh - 220px);margin:0 auto}
  /* inside each day: text left, day card + photo right */
  html body .day .accordion-panel-inner{grid-template-columns:minmax(0,7fr) minmax(0,5fr);grid-template-rows:auto 1fr;row-gap:20px}
  html body .day .accordion-panel-inner>.day-copy{grid-column:1;grid-row:1 / span 2}
  html body .day .accordion-panel-inner>.day-image{grid-column:2;grid-row:1;position:static}
  html body .day .accordion-panel-inner>.day-photo{grid-column:2;grid-row:2;align-self:start}
  /* lower sections: multi-column */
  html body .faq{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));column-gap:var(--v3-gap);align-items:start}
  html body .faq>:not(details){grid-column:1/-1}
  html body section.checks{display:grid;grid-template-columns:5fr 7fr;column-gap:var(--v3-gap);align-items:start}
  html body section.checks>:not(ul){grid-column:1}
  html body section.checks>ul{grid-column:2;grid-row:1/span 3;margin:0;display:grid;grid-template-columns:minmax(0,1fr);gap:12px}
  html body main section.checks ul>li{max-width:none;padding-right:96px;box-sizing:border-box;width:min(100%,calc(29em + 126px))}
  html body .references .photo-credits ul{columns:2;column-gap:var(--v3-gap)}
  /* prose measure: <= 68 characters per line */
  html body main :is(p,li):not(nav *,dl *,figure *,.tx-chips *,.jump-nav *,.share-control *,.gallery-grid *,.cd-price,.verified-date){max-width:min(100%,29em)}
  html body main :is(.intro-copy,.day-copy,.faq details,.checks,.route-head,.related-head,.sources-inner .section-sub) :is(p,li){font-size:17px;line-height:1.6}
  html body main .eat-gate-btns .eat-gate-btn{max-width:480px;margin-inline:auto}
  html body main .eat-gate-btns{justify-content:center}
}
@media (min-width:1400px){
  html body main :is(.intro-copy,.day-copy,.faq,.checks,.route-head,.related-head,.sources-inner .section-sub,.plan-grid,.ce-ex) :is(p,li),html body .hero .dek{font-size:18px}
}

/* ===== v3 DESKTOP DESIGN SYSTEM (1180+, template, every guide; pass 3 Oct 27 2026). One rhythm, one container, one card, one button per role.
   Tokens: section rhythm 96px (48px top + 48px bottom), container 1200px, gutter 24px, card radius 12px, card padding 24px,
   card border 1px var(--line), card shadow --ds-shadow, card background var(--white), h2 40px/1.1, eyebrow 13px caps, head-to-content 32px,
   primary button = green pill 380px max, secondary = outline pill 220px min. Polaroid tilt stays only in .pc-snaps. ===== */
@media (min-width:1180px){
  :root{--ds-sec:48px;--ds-gutter:24px;--ds-radius:12px;--ds-pad:24px;--ds-head-gap:32px;--ds-h2:2.5rem;--ds-eyebrow:13px;
        --ds-shadow:0 1px 2px rgba(15,59,68,.06),0 8px 24px rgba(15,59,68,.07);--v3-gap:var(--ds-gutter)}
  /* rhythm: every content section gets the same 96px between it and the next */
  html body main>section:not(.route-browser){padding-block:var(--ds-sec);margin-block:0}
  html body main>section.about-cta{padding-block:var(--ds-sec)}
  html body #route::before{display:none}
  /* headings: eyebrow + h2, left on the 1200 grid, 32px to content */
  html body main>section :is(.section-kicker,.about-cta-kicker,.v3-rail-kicker){font-size:var(--ds-eyebrow);letter-spacing:.12em;text-transform:uppercase;margin:0 0 8px;text-align:left}
  html body main>section h2:is([id$="-title"]){font-size:var(--ds-h2);line-height:1.1;margin-top:0}
  html body main>section:is(.overview,.route,.planning,.gallery,.faq,.related,.official-links,.references) :is(.route-head,.planning-head,.related-head,.sources-inner>div:first-child){margin-bottom:var(--ds-head-gap)}
  /* one card */
  html body main :is(aside.trip-card,.day,.ce-wrap .cd-plan,.source-list>div,.faq details,section.checks ul>li,.related article,.plan-grid>.pack,.ce-big .ce-big-in,.tw-tile,.lad,.ce-guar){border-radius:var(--ds-radius);border:1px solid var(--line);box-shadow:var(--ds-shadow);background-color:var(--white)}
  html body main :is(aside.trip-card,.ce-wrap .cd-plan,.source-list>div,.plan-grid>.pack,.tw-tile,.lad,.ce-guar){padding:var(--ds-pad)}
  html body main .ce-big .ce-big-in{padding:48px}
  html body main section.checks ul>li{padding:var(--ds-pad) 96px var(--ds-pad) var(--ds-pad)}
  html body main .related article{overflow:hidden}
  /* equal gutters */
  html body main .overview .day-summary-list,html body main section.ce-big :is(.ce-ex,.lad-row,.tw-trio),html body main .plan-grid{gap:var(--ds-gutter)}
  html body main section.checks>ul{gap:16px}
  /* buttons: primary green pill, secondary outline pill */
  html body main .ce-btn{width:100%;max-width:380px;border-radius:999px;padding:14px 24px;justify-content:center}
  html body main .about-cta-button{min-width:220px;border-radius:999px;padding:14px 24px;text-align:center;box-sizing:border-box}
  /* mid custom-plan card: price sits directly under its button */
  html body main .ce-wrap .cd-plan-b{grid-template-rows:auto auto auto}
  html body main .ce-wrap .cd-plan-b>.ce-btn{grid-row:1;align-self:end}
  html body main .ce-wrap .cd-plan-b>.cd-price{grid-row:2;align-self:start;margin:8px 0 0;text-align:center;max-width:380px}
  html body main .ce-wrap .cd-plan-b>.cd-smlink{grid-row:3;align-self:start}
  html body main .ce-wrap .cd-plan-b>p:not(.cd-price){grid-row:2 / span 2}
  /* body overflow-x:hidden made body a scroll container, so no sticky ever stuck; clip keeps the same clipping without that */
  html body{overflow-x:clip;overflow-y:visible}
  html body main #route .day .accordion-panel-inner>.day-image{position:relative;top:auto}
  /* route rail: map + day list, sticky the whole length of the day-by-day */
  html body #route>.v3-rail{align-self:stretch;position:static}
  html body #route>.v3-rail{display:block}
  html body #route>.v3-rail>.v3-rail-in{position:sticky;top:88px}
  html body .v3-rail-map img{max-height:calc(100svh - 540px);min-height:240px}
  html body .v3-rail-days{margin-top:16px;padding:16px var(--ds-pad);border:1px solid var(--line);border-radius:var(--ds-radius);box-shadow:var(--ds-shadow);background:var(--white)}
  html body .v3-rail-days ol{list-style:none;margin:0;padding:0}
  html body .v3-rail-days li{margin:0;max-width:none;border-top:1px solid var(--line)}
  html body .v3-rail-days li:first-child{border-top:0}
  html body .v3-rail-days a{display:block;padding:7px 0;color:var(--ink);text-decoration:none;font-size:15px;line-height:1.35}
  html body .v3-rail-days a b{display:block;font-size:12px;letter-spacing:.1em;text-transform:uppercase;color:var(--muted,inherit)}
  html body .v3-rail-days a:hover{text-decoration:underline}
  /* official links + references: full-width head, links in a 2-col grid */
  html body main .sources-inner{display:block;max-width:1200px;margin-inline:auto}
  html body main .source-list{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:var(--ds-gutter);max-width:none}
  html body main .source-list>div{margin:0}
  html body main .source-list>:has(.verified-date){grid-column:1/-1}
  html body main .references .photo-credits{margin-top:48px}
  /* about strip: inner 1200 container, copy left, button right */
  html body .about-cta-inner{max-width:1200px;margin-inline:auto;display:grid;grid-template-columns:minmax(0,1fr) auto;column-gap:48px;align-items:center;text-align:left;padding-inline:0}
  html body .about-cta-copy>*{margin-inline:0;text-align:left}
  /* route head: eyebrow + h2 then subtitle, all left */
  html body main #route>.route-head{display:block;padding:0;max-width:none}
  html body main #route>.route-head>p.route-sub{margin:12px 0 0;font-size:17px;text-align:left}
  /* no tilted prints outside the postcard/gallery module */
  html body main section:not(.gallery) :is(.stack-print,.plan-extra,.pack-photos>*,.day-photo){transform:none}
  /* the Reviewed row under the links is a footnote, not a card */
  html body main .source-list>:has(.verified-date){border:0;box-shadow:none;background:none;padding:8px 0 0}
  /* trip index band: same 1200 inner container */
  html body .route-browser .browser-inner{max-width:1200px;padding-inline:0}
}

/* OPTIONAL postcard snapshots (.pc-snaps, content.json postcard_snaps.enabled). Big Island site.css has no pc-snap rules,
   so these are copied verbatim from live provincetown-weekend-from-boston/assets/site.css (lines with .pc-snap*). */
.pc-snaps { --snap-mat: #fcf8f1; --snap-ink: #2a2f36; margin: 4px 0 0; }
.pc-snaps h3 { margin: 0 0 10px; font-family: var(--display); font-size: 1.3rem; color: var(--ink); }
.pc-snaps-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 16px 14px; padding: 6px 6px 4px; }
.pc-snap { margin: 0; min-width: 0; padding: 7px 7px 9px; background: var(--snap-mat); border: 1px solid var(--line); box-shadow: 0 4px 12px var(--shadow); transform: rotate(-1.2deg); }
.pc-snap:nth-child(even) { transform: rotate(1.2deg); }
.pc-snap img { display: block; width: 100%; height: auto; object-fit: contain; }
.pc-snap figcaption { margin-top: 6px; font-family: "Newsreader", Georgia, serif; font-size: .95rem; line-height: 1.3; color: var(--snap-ink); }
.pc-snap figcaption b { font-weight: 700; }
/* live media rule ".overview-route > .pc-snaps{grid-row:3}" NOT copied: Big Island site.css has no matching .overview-route grid, so it would misplace the block */
/* maplightbox-20261027 (owner 10:38 PM ET): desktop-only route-map lightbox; mobile untouched */
.v3-maplb[hidden]{display:none!important}
@media (min-width:1024px){
html.v3ml-on figure.route-map img{cursor:zoom-in}
.v3-maplb{position:fixed;inset:0;z-index:9999;display:flex;align-items:center;justify-content:center;background:rgba(10,14,20,.82);padding:3vh 3vw}
.v3-maplb-box{position:relative;max-width:94vw;max-height:94vh;display:flex;flex-direction:column;align-items:center}
.v3-maplb-box img{max-width:94vw;max-height:88vh;width:auto;height:auto;object-fit:contain;border-radius:8px;background:#fff;cursor:default}
.v3-maplb-close{position:absolute;top:-.5rem;right:-.5rem;width:44px;height:44px;border-radius:50%;border:0;background:#fff;color:#111;font-size:1.6rem;line-height:1;cursor:pointer;box-shadow:0 2px 8px rgba(0,0,0,.35)}
.v3-maplb-close:focus-visible{outline:3px solid #ffbf47;outline-offset:2px}
.v3-maplb .art-label{position:absolute;top:.6rem;left:.6rem}
}

/* fix-a-20261028: route-map "Original Illustration" tag sits in the bottom-left keep-out box, off the title strip (overview, desktop rail, lightbox) */
figure.route-map .rm-wrap{position:relative;display:block;width:fit-content;max-width:100%;margin:0 auto}
figure.route-map .rm-wrap>.art-label{top:auto;bottom:10px;left:10px}
.v3-maplb .art-label{top:auto;bottom:.6rem;left:.6rem}
/* fix-c-20261028: center the "Save trips you love, free" link on desktop */
@media (min-width:768px){#ce-cta-end>.eat-plan-signup,.ce-big>.eat-plan-signup{margin-left:auto;margin-right:auto;text-align:center}}

/* sectiongap-20261028: Day list -> Custom Edition end card. Live CSS stacks route pb + ce-big mt 56 + pt 56 (152-160px). Match section rhythm (route pb + equal pt, no margin). Keyed to .sg1 so only builds from this template change. */
html body main section.ce-big.sg1#ce-cta-end{margin-top:0;padding-top:40px}
@media (min-width:768px){html body main section.ce-big.sg1#ce-cta-end{padding-top:48px}}
/* daydash-20261028: day title dash glued to the title's last word (word joiner in markup) so it never wraps alone. .dd-head is the flex item holding title + dash inline; spacing matches the old 10px flex gap. Keyed to .dd1 so live guides are unchanged. */
html body .accordion-label.dd1>.dd-head{display:inline;min-width:0}
html body .accordion-label.dd1 .dd-head>.accordion-separator{display:inline;margin-left:10px}
