/* IslaHopper. One typeface (Figtree), white pages, sea-green brand, one coral action colour. */
:root {
  --ink: #13262b;
  --ink2: #4a5c61;
  --line: #dde4e2;
  --line2: #b7c3c1;
  --bg: #fff;
  --sand: #f6f2ea;
  --sea: #00696b;
  --sea-dark: #004f52;
  --sea-tint: #e6f2f1;
  --coral: #cf3d25;
  --coral-dark: #b0301b;
  --sun: #ffc531;
  --r: 8px;
  --shadow: 0 8px 28px rgba(9, 40, 44, .18);
  --font: "Figtree", system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
}
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } }
body { margin: 0; font: 400 16px/1.5 var(--font); color: var(--ink); background: var(--bg); font-variant-numeric: tabular-nums; }
h1, h2, h3, p, ul, ol, dl, dd, figure { margin: 0; }
ul, ol { padding: 0; list-style: none; }
img { display: block; max-width: 100%; height: auto; background: #dfe8e6; }
a { color: var(--sea); text-underline-offset: 3px; }
a:hover { color: var(--sea-dark); }
button, input, select { font: inherit; color: inherit; }
:focus-visible { outline: 3px solid var(--sea); outline-offset: 2px; }
[id] { scroll-margin-top: 16px; }
[hidden] { display: none !important; }
.wrap { max-width: 1128px; margin: 0 auto; padding-left: 16px; padding-right: 16px; }
.sr { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.skip { position: absolute; left: -999px; top: 0; background: var(--ink); color: #fff; padding: 10px 14px; z-index: 100; }
.skip:focus { left: 0; }
.ic { fill: currentColor; flex: none; vertical-align: -5px; color: var(--sea); }
.ic-out { vertical-align: -2px; }
.nophoto { display: block; background: #dfe8e6; }
.fine { font-size: 14px; color: var(--ink2); margin-top: 14px; max-width: 70ch; }
.warn { font-size: 15px; background: #fff4d6; border-radius: var(--r); padding: 10px 12px; margin: 8px 0; }
.tag { display: inline-block; font-size: 12px; font-weight: 700; line-height: 20px; padding: 0 7px; border-radius: 4px; background: var(--sun); color: var(--ink); }
.more { font-weight: 600; font-size: 15px; white-space: nowrap; }
.link { background: none; border: 0; padding: 8px 4px; color: var(--sea); font-weight: 600; text-decoration: underline; text-underline-offset: 3px; cursor: pointer; }

/* Buttons */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 6px; min-height: 48px; padding: 10px 20px; border: 1px solid transparent; border-radius: var(--r); font-weight: 700; font-size: 16px; line-height: 1.2; text-decoration: none; cursor: pointer; text-align: center; }
.btn-go { background: var(--coral); color: #fff; }
.btn-go:hover { background: var(--coral-dark); color: #fff; }
.btn-line { background: #fff; color: var(--sea); border-color: var(--sea); }
.btn-line:hover { background: var(--sea-tint); }
.btn-block { display: flex; width: 100%; }
.btn-sm { min-height: 40px; padding: 8px 16px; font-size: 15px; background: var(--coral); color: #fff; }
.btn-sm:hover { background: var(--coral-dark); color: #fff; }
.btn .via { font-weight: 500; opacity: .92; }

/* Header */
.top { background: #fff; border-bottom: 1px solid var(--line); }
.top-in { display: flex; align-items: center; justify-content: space-between; gap: 12px; height: 56px; }
.mark { display: inline-flex; align-items: center; gap: 8px; color: var(--ink); text-decoration: none; font-size: 19px; font-weight: 500; letter-spacing: -.01em; }
.mark b { font-weight: 800; color: var(--sea); }
.mark:hover { color: var(--ink); }
.nav { display: flex; gap: 2px; margin-right: -8px; }
.nav a { padding: 8px; color: var(--ink); text-decoration: none; font-weight: 600; font-size: 15px; border-radius: 6px; }
.nav a:hover { background: var(--sea-tint); }
.nav a[aria-current] { color: var(--sea); }
@media (max-width: 419px) { .mark { font-size: 17px; gap: 6px; } .mark svg { width: 24px; height: 24px; } .nav a { padding: 8px 6px; font-size: 14px; } .nav { margin-right: -6px; gap: 0; } }
@media (max-width: 359px) { .mark span { display: none; } }
@media (min-width: 700px) { .nav { gap: 12px; } .nav a { padding: 8px 10px; font-size: 16px; } }

/* Photo banner behind a page heading */
.banner { position: relative; background: #0d3d40; color: #fff; overflow: hidden; }
.banner-img, .banner-img img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.banner::after { content: ""; position: absolute; inset: 0; background: rgba(5, 30, 34, .44); }
.banner-text { position: relative; z-index: 1; padding-top: 28px; padding-bottom: 28px; }
.banner h1 { font-size: 28px; line-height: 1.15; font-weight: 800; letter-spacing: -.015em; max-width: 21em; text-wrap: balance; }
.banner h1 .arr { font-weight: 500; }
.banner-text > p:not(.crumbs), .banner-lead { margin-top: 10px; font-size: 17px; line-height: 1.45; max-width: 40em; font-weight: 500; }
.crumbs { font-size: 14px; margin-bottom: 8px; display: flex; gap: 8px; font-weight: 500; }
.crumbs a { color: #fff; }
.hero .banner-text { padding-bottom: 88px; }
.hero .sbox { margin-top: -64px; }
.rhead .banner-text { padding-bottom: 56px; }
@media (min-width: 900px) {
  .banner-text { padding-top: 40px; padding-bottom: 40px; }
  .banner h1 { font-size: 36px; }
  .hero .banner-text { padding-bottom: 104px; }
  .home .hero .banner-text { padding-top: 76px; padding-bottom: 136px; }
  .home .banner h1 { font-size: 44px; }
  .home .banner-text > p { font-size: 19px; }
}

/* Search widget */
.sbox { position: relative; z-index: 2; background: #fff; border-radius: 12px; box-shadow: var(--shadow); padding: 12px; }
.search { display: grid; grid-template-columns: 1fr 1fr; gap: 8px; }
.s-places { grid-column: 1 / -1; position: relative; display: grid; gap: 8px; }
.s-field { position: relative; height: 58px; padding: 8px 12px 0; background: #fff; border: 1px solid var(--line2); border-radius: var(--r); }
.s-field:focus-within { border-color: var(--sea); box-shadow: 0 0 0 2px var(--sea); }
.s-field.is-bad { border-color: var(--coral); box-shadow: 0 0 0 2px var(--coral); }
.s-field label { display: block; font-size: 12px; line-height: 16px; font-weight: 600; color: var(--ink2); }
.s-field input { display: block; width: 100%; height: 28px; padding: 0; border: 0; outline: 0; background: transparent; font-weight: 700; font-size: 17px; border-radius: 0; -webkit-appearance: none; appearance: none; }
.s-field input::placeholder { color: #7c8a8d; font-weight: 500; }
.s-places .s-field { padding-right: 56px; }
.s-date input { min-width: 0; font-size: 16px; }
.s-date input::-webkit-date-and-time-value { text-align: left; }
.swap { position: absolute; z-index: 3; right: 10px; top: 50%; transform: translateY(-50%); width: 40px; height: 40px; display: grid; place-items: center; background: #fff; color: var(--sea); border: 1px solid var(--line2); border-radius: 50%; cursor: pointer; }
.swap:hover { background: var(--sea-tint); border-color: var(--sea); }
.stepper { display: flex; align-items: center; gap: 2px; height: 28px; }
.stepper button { width: 28px; height: 28px; flex: none; display: grid; place-items: center; padding: 0; background: #fff; border: 1px solid var(--line2); border-radius: 50%; font-size: 18px; line-height: 1; font-weight: 600; color: var(--sea); cursor: pointer; }
.stepper button:hover { border-color: var(--sea); background: var(--sea-tint); }
.stepper input { width: 34px; text-align: center; -moz-appearance: textfield; }
.stepper input::-webkit-inner-spin-button, .stepper input::-webkit-outer-spin-button { -webkit-appearance: none; margin: 0; }
.search .btn-go { grid-column: 1 / -1; min-height: 54px; font-size: 18px; }
.s-msg { grid-column: 1 / -1; font-size: 14px; color: var(--ink2); }
.s-msg:empty { display: none; }
.search.is-error .s-msg { color: var(--coral-dark); font-weight: 600; }
.combo-list { position: absolute; z-index: 30; left: -1px; right: -1px; top: calc(100% + 6px); max-height: 268px; overflow-y: auto; background: #fff; border: 1px solid var(--line2); border-radius: var(--r); box-shadow: var(--shadow); padding: 4px; }
.combo-list li { display: flex; justify-content: space-between; align-items: baseline; gap: 12px; padding: 10px; border-radius: 6px; font-weight: 600; cursor: pointer; }
.combo-list li span { font-size: 13px; font-weight: 500; color: var(--ink2); }
.combo-list li[aria-selected="true"], .combo-list li[role="option"]:hover { background: var(--sea-tint); }
.combo-list .combo-none { font-weight: 500; font-size: 14px; color: var(--ink2); cursor: default; }
.sbox-popular { margin-top: 10px; font-size: 14px; line-height: 1.9; color: var(--ink2); }
.sbox-popular span { margin-right: 10px; }
.sbox-popular a { display: inline-block; margin-right: 12px; white-space: nowrap; font-weight: 600; }
@media (min-width: 900px) {
  .sbox { padding: 16px; }
  .sbox .search { grid-template-columns: minmax(0, 2.5fr) minmax(0, 1fr) minmax(0, .85fr) auto; }
  .sbox .s-places { grid-column: auto; grid-template-columns: 1fr 1fr; }
  .sbox .s-places .s-field:first-child { padding-right: 28px; }
  .sbox .s-places .s-field:last-child { padding-left: 28px; padding-right: 12px; }
  .sbox .swap { right: auto; left: 50%; transform: translate(-50%, -50%); }
  .sbox .search .btn-go { grid-column: auto; min-height: 58px; padding: 0 36px; }
}

/* Trust line under the search */
.trust { display: grid; gap: 14px; margin-top: 20px; font-size: 14px; color: var(--ink2); }
.trust b { display: block; color: var(--ink); font-size: 15px; }
@media (min-width: 700px) { .trust { grid-template-columns: repeat(3, 1fr); gap: 32px; margin-top: 24px; } }

/* Sections */
.sec { padding-top: 40px; padding-bottom: 8px; }
.sec-head { display: flex; flex-wrap: wrap; align-items: baseline; justify-content: space-between; gap: 4px 16px; margin-bottom: 16px; }
.sec-head h2, .planpromo h2 { font-size: 24px; line-height: 1.2; font-weight: 800; letter-spacing: -.01em; }
.sec-sub { flex-basis: 100%; color: var(--ink2); max-width: 60ch; }
.band { background: var(--sand); margin-top: 40px; padding-bottom: 36px; }
@media (min-width: 900px) { .sec { padding-top: 56px; } .sec-head h2, .planpromo h2 { font-size: 28px; } .band { margin-top: 56px; padding-bottom: 52px; } }

/* Popular route cards */
.rcards { display: grid; }
.rcards a { display: grid; grid-template-columns: 104px 1fr; gap: 14px; align-items: center; padding: 10px 0; border-bottom: 1px solid var(--line); color: var(--ink); text-decoration: none; }
.rcards img { width: 104px; height: 78px; object-fit: cover; border-radius: var(--r); }
.rcards-text { display: grid; gap: 1px; min-width: 0; }
.rcards-name { font-weight: 700; font-size: 17px; }
.rcards a:hover .rcards-name { color: var(--sea); text-decoration: underline; }
.rcards-mode { font-size: 14px; color: var(--ink2); }
.rcards-mode .ic { width: 16px; height: 16px; vertical-align: -3px; }
.rcards-time { font-weight: 700; font-size: 15px; }
.rcards-time span { font-weight: 400; color: var(--ink2); }
@media (min-width: 700px) { .rcards { grid-template-columns: repeat(2, 1fr); column-gap: 32px; } }
@media (min-width: 1000px) { .rcards { grid-template-columns: repeat(3, 1fr); } }

/* Island photo tiles */
.dests { display: grid; grid-template-columns: repeat(2, 1fr); gap: 20px 12px; }
.dests a { display: grid; color: var(--ink); text-decoration: none; }
.dests img { width: 100%; aspect-ratio: 16 / 11; object-fit: cover; border-radius: var(--r); margin-bottom: 8px; }
.dests-name { font-weight: 700; font-size: 17px; }
.dests a:hover .dests-name { color: var(--sea); text-decoration: underline; }
.dests-region { font-size: 13px; color: var(--ink2); }
.dests-pitch { font-size: 14px; line-height: 1.4; margin-top: 2px; }
@media (min-width: 700px) { .dests { grid-template-columns: repeat(3, 1fr); gap: 28px 20px; } .dests-pitch { font-size: 15px; } }

/* Planner promo */
.planpromo { display: grid; gap: 20px; }
.planpromo-text p { margin-top: 10px; max-width: 56ch; }
.planpromo-text p + p { margin-top: 16px; }
.planpromo-demo { background: var(--sand); border-radius: var(--r); padding: 16px; }
.planpromo-label { font-size: 14px; color: var(--ink2); margin-bottom: 10px; }
.planpromo-demo li { position: relative; padding: 0 0 12px 24px; }
.planpromo-demo li:last-child { padding-bottom: 0; }
.planpromo-demo li::before { content: ""; position: absolute; left: 3px; top: 7px; width: 10px; height: 10px; border-radius: 50%; background: var(--sea); }
.planpromo-demo li:not(:last-child)::after { content: ""; position: absolute; left: 7px; top: 19px; bottom: -5px; width: 2px; background: #b9d2d0; }
.planpromo-demo b { display: block; line-height: 1.5; }
.planpromo-demo span { font-size: 14px; color: var(--ink2); }
.planpromo-demo .ic { width: 16px; height: 16px; vertical-align: -3px; }
@media (min-width: 900px) { .planpromo { grid-template-columns: 1fr 420px; gap: 56px; align-items: center; } }

/* Itineraries */
.itins { display: grid; gap: 24px; }
.itin { display: grid; color: var(--ink); text-decoration: none; }
.itin img { width: 100%; aspect-ratio: 2 / 1; object-fit: cover; border-radius: var(--r); margin-bottom: 10px; }
.itin-title { font-weight: 700; font-size: 18px; line-height: 1.3; }
.itin:hover .itin-title { color: var(--sea); text-decoration: underline; }
.itin-desc { font-size: 15px; color: var(--ink2); margin-top: 4px; }
@media (min-width: 700px) { .itins { grid-template-columns: 1fr 1fr; gap: 28px; } }

/* Guides list */
.guides { display: grid; border-top: 1px solid var(--line); }
.guides a { display: block; padding: 14px 0; border-bottom: 1px solid var(--line); color: var(--ink); text-decoration: none; }
.guides-title { display: block; font-weight: 700; color: var(--sea); }
.guides a:hover .guides-title { text-decoration: underline; }
.guides-desc { display: block; font-size: 14px; color: var(--ink2); margin-top: 2px; }
@media (min-width: 700px) { .guides { grid-template-columns: 1fr 1fr; column-gap: 40px; } }
#guides { padding-bottom: 48px; }

/* Route rows */
.rows { border-top: 1px solid var(--line); }
.rows a { display: grid; grid-template-columns: 22px minmax(0, 1fr) auto 8px; column-gap: 12px; align-items: center; padding: 11px 6px 11px 2px; border-bottom: 1px solid var(--line); color: var(--ink); text-decoration: none; }
.rows a::after { content: ""; grid-column: 4; grid-row: 1 / 3; width: 8px; height: 8px; border-right: 2px solid var(--ink2); border-top: 2px solid var(--ink2); transform: rotate(45deg); }
.rows .ic { grid-row: 1 / 3; }
.rows-name { grid-column: 2; font-weight: 700; }
.rows a:hover { background: #f4f8f8; }
.rows a:hover .rows-name { color: var(--sea); }
.rows-modes { grid-column: 2; grid-row: 2; font-size: 14px; color: var(--ink2); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.rows-time { grid-column: 3; grid-row: 1 / 3; font-weight: 700; white-space: nowrap; }

/* Route page */
.rhead-in { display: grid; grid-template-columns: minmax(0, 1fr); gap: 20px; }
.bookbox { position: relative; z-index: 2; margin-top: -32px; background: #fff; border-radius: 12px; box-shadow: var(--shadow); padding: 16px; }
.bookbox h2 { font-size: 18px; font-weight: 800; margin-bottom: 12px; }
.bookform { display: grid; grid-template-columns: 1fr 1fr; gap: 8px; margin-bottom: 10px; }
html:not(.js) .bookform { display: none; }
.bookbox .btn-go { min-height: 54px; font-size: 17px; flex-wrap: wrap; }
.book-small { font-size: 13px; color: var(--ink2); margin-top: 10px; }
.facts { display: grid; border-top: 1px solid var(--line); }
.facts > div { display: grid; grid-template-columns: 112px 1fr; gap: 12px; padding: 10px 0; border-bottom: 1px solid var(--line); align-items: baseline; }
.facts dt { font-size: 14px; color: var(--ink2); }
.facts dd b { font-size: 18px; }
.facts dd span { color: var(--ink2); font-size: 15px; }
.standfirst { margin-top: 16px; font-size: 17px; line-height: 1.55; max-width: 64ch; }
.route-body { display: grid; grid-template-columns: minmax(0, 1fr); gap: 36px; padding-top: 28px; padding-bottom: 48px; }
.route-main h2 { font-size: 22px; font-weight: 800; line-height: 1.25; margin: 36px 0 12px; }
.route-main h2:first-child { margin-top: 0; }
.opts { border-top: 1px solid var(--line); }
.opt { display: grid; grid-template-columns: 30px 1fr auto; column-gap: 10px; row-gap: 6px; align-items: start; padding: 16px 0; border-bottom: 1px solid var(--line); }
.opt-icon { grid-column: 1; padding-top: 1px; }
.opt-head { grid-column: 2; display: flex; flex-wrap: wrap; align-items: center; gap: 4px 8px; }
.opt-head h3 { font-size: 18px; font-weight: 700; line-height: 1.3; }
.opt-time { grid-column: 3; text-align: right; line-height: 1.2; }
.opt-time b { display: block; font-size: 19px; white-space: nowrap; }
.opt-time span { font-size: 12px; color: var(--ink2); }
.opt-note { grid-column: 2 / -1; font-size: 15px; color: #33454a; max-width: 62ch; }
.opt-book { grid-column: 2 / -1; justify-self: start; font-weight: 700; font-size: 15px; padding: 6px 0; }
.tip { background: var(--sand); border-radius: var(--r); padding: 16px; margin-top: 24px; }
.route-main .tip h2 { font-size: 16px; margin: 0 0 4px; }
.tip p { font-size: 15px; max-width: 64ch; }
.route-side h2 { font-size: 18px; font-weight: 800; margin-bottom: 8px; }
.partners { border-top: 1px solid var(--line); }
.partners a { display: flex; flex-wrap: wrap; justify-content: space-between; align-items: baseline; gap: 2px 12px; padding: 12px 2px; border-bottom: 1px solid var(--line); text-decoration: none; }
.partners a:hover { background: #f4f8f8; }
.partners b { font-weight: 700; }
.partners span { font-size: 14px; color: var(--ink2); }
.place { display: grid; grid-template-columns: 96px 1fr; gap: 12px; align-items: center; margin-top: 16px; color: var(--ink); text-decoration: none; }
.place img { width: 96px; height: 72px; object-fit: cover; border-radius: var(--r); }
.place-name { display: block; font-weight: 700; color: var(--sea); }
.place:hover .place-name { text-decoration: underline; }
.place-desc { display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; font-size: 13px; line-height: 1.4; color: var(--ink2); }
@media (min-width: 900px) {
  .rhead-in { grid-template-columns: minmax(0, 1fr) 380px; gap: 48px; align-items: start; }
  .rhead .banner-text { padding-bottom: 40px; padding-right: 444px; }
  .bookbox { grid-column: 2; grid-row: 1; margin-top: -120px; padding: 20px; }
  .rsum { grid-column: 1; grid-row: 1; padding-top: 24px; }
  .facts { grid-template-columns: repeat(3, auto); justify-content: start; column-gap: 40px; border-top: 0; }
  .facts > div { display: block; border-bottom: 0; padding: 0; }
  .facts dd { margin-top: 2px; }
  .facts dd span { display: block; max-width: 22ch; }
  .route-body { grid-template-columns: minmax(0, 1fr) 380px; gap: 48px; padding-top: 36px; }
  .opt { grid-template-columns: 30px minmax(0, 1fr) auto; column-gap: 24px; row-gap: 8px; }
  .opt-icon { margin-right: -8px; }
  .opt-note { grid-column: 2; grid-row: 2; }
  .opt-time { grid-column: 3; grid-row: 1; }
  .opt-book { grid-column: 3; grid-row: 2; justify-self: end; align-self: start; padding: 9px 14px; border: 1px solid var(--sea); border-radius: var(--r); text-decoration: none; white-space: nowrap; }
  .opt-book:hover { background: var(--sea-tint); }
}

/* Bottom bar on phones */
.dock { position: fixed; z-index: 40; left: 0; right: 0; bottom: 0; display: flex; align-items: center; justify-content: space-between; gap: 12px; padding: 10px 16px calc(10px + env(safe-area-inset-bottom)); background: #fff; border-top: 1px solid var(--line); box-shadow: 0 -4px 16px rgba(9, 40, 44, .1); transform: translateY(110%); transition: transform .2s; visibility: hidden; }
.dock.is-on { transform: none; visibility: visible; }
.dock-text { min-width: 0; line-height: 1.3; }
.dock-text b { display: block; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.dock-text span { font-size: 13px; color: var(--ink2); }
.dock .btn { min-height: 44px; white-space: nowrap; }
@media (max-width: 899px) { .route .foot, .article .foot { padding-bottom: 88px; } }
@media (min-width: 900px) { .dock { display: none; } }
@media (prefers-reduced-motion: reduce) { .dock { transition: none; } }

/* Route index */
.idx { padding-top: 24px; padding-bottom: 48px; }
.idx-jump { display: flex; flex-wrap: wrap; gap: 4px 16px; align-items: baseline; font-size: 15px; color: var(--ink2); }
.idx-jump a { font-weight: 600; padding: 6px 0; }
.idx-region { margin-top: 28px; }
.idx-region > h2 { font-size: 24px; font-weight: 800; margin-bottom: 4px; }
.idx-grid { display: grid; gap: 0 48px; }
.idx-from { margin-top: 20px; }
.idx-from h3 { display: flex; justify-content: space-between; align-items: baseline; gap: 12px; font-size: 18px; font-weight: 700; margin-bottom: 8px; }
.idx-plan { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 12px 20px; margin-top: 28px; padding: 16px; background: var(--sand); border-radius: var(--r); font-weight: 600; }
@media (min-width: 800px) { .idx-grid { grid-template-columns: 1fr 1fr; } }

/* Articles */
.art { display: grid; grid-template-columns: minmax(0, 1fr); gap: 40px; padding-top: 24px; padding-bottom: 48px; }
.prose { min-width: 0; font-size: 17px; line-height: 1.65; }
.prose > * { max-width: 68ch; }
.prose p, .prose ul, .prose ol, .prose table { margin-bottom: 18px; }
.prose .art-desc { font-size: 19px; line-height: 1.5; font-weight: 500; color: #2a3d42; margin-bottom: 20px; }
.prose h2 { font-size: 24px; line-height: 1.25; font-weight: 800; letter-spacing: -.01em; margin: 40px 0 12px; }
.prose h3 { font-size: 19px; line-height: 1.3; font-weight: 700; margin: 28px 0 8px; }
.prose ul, .prose ol { padding-left: 22px; }
.prose ul { list-style: disc; }
.prose ol { list-style: decimal; }
.prose li { margin-bottom: 6px; }
.prose li::marker { color: var(--sea); }
.prose table { display: block; max-width: 100%; overflow-x: auto; border-collapse: collapse; font-size: 15px; line-height: 1.45; }
.prose th, .prose td { text-align: left; vertical-align: top; padding: 10px 12px; border-bottom: 1px solid var(--line); min-width: 136px; }
.prose th:first-child, .prose td:first-child { min-width: 104px; }
.prose th { background: var(--sand); font-weight: 700; white-space: nowrap; }
.prose td:first-child { font-weight: 600; }
/* Partner links written in the content: one full-width row each. */
.prose .btn { display: flex; justify-content: space-between; flex-wrap: wrap; gap: 2px 16px; min-height: 0; margin: 8px 0; padding: 12px 14px; background: #fff; border: 1px solid var(--line2); color: var(--sea); font-size: 16px; text-align: left; line-height: 1.35; }
.prose .btn:hover { border-color: var(--sea); background: var(--sea-tint); }
.prose .btn .via { font-size: 14px; color: var(--ink2); opacity: 1; white-space: nowrap; }
.prose .btn .via::after { content: " \2197"; }
.toc-m { margin-bottom: 20px; border: 1px solid var(--line); border-radius: var(--r); font-size: 16px; }
.toc-m summary { padding: 12px 14px; font-weight: 700; cursor: pointer; }
.toc-m ol { padding: 0 14px 12px 34px; margin: 0; }
.side-book { background: #fff; border: 1px solid var(--line); border-radius: 12px; padding: 16px; }
.side-book h2 { font-size: 19px; font-weight: 800; margin-bottom: 12px; }
.side-book h3 { font-size: 15px; font-weight: 700; margin: 20px 0 6px; }
.toc { display: none; }
@media (min-width: 900px) {
  .art { grid-template-columns: minmax(0, 1fr) 360px; gap: 56px; padding-top: 36px; }
  .toc-m { display: none; }
  .toc { display: block; margin-top: 24px; font-size: 15px; position: sticky; top: 16px; }
  .toc h2 { font-size: 15px; font-weight: 700; margin-bottom: 6px; }
  .toc li { margin-bottom: 6px; line-height: 1.35; }
  .toc a { color: var(--ink2); text-decoration: none; }
  .toc a:hover { color: var(--sea); text-decoration: underline; }
}

/* Planner */
.pl { display: grid; grid-template-columns: minmax(0, 1fr); gap: 32px; padding-top: 24px; padding-bottom: 48px; }
.pl-step { border: 0; padding: 0; margin: 0 0 24px; min-width: 0; }
.pl-step > label, .pl-step > legend { display: block; padding: 0; font-weight: 700; font-size: 17px; margin-bottom: 8px; }
.pl-n { display: inline-grid; place-items: center; width: 24px; height: 24px; margin-right: 4px; border-radius: 50%; background: var(--sea); color: #fff; font-size: 14px; }
.pl-count { font-weight: 500; font-size: 14px; color: var(--ink2); margin-left: 6px; }
.pl select { width: 100%; height: 50px; padding: 0 12px; background: #fff; border: 1px solid var(--line2); border-radius: var(--r); font-weight: 600; font-size: 16px; }
.pl-region { margin-top: 12px; }
.pl-region > p { font-size: 13px; font-weight: 600; color: var(--ink2); margin-bottom: 6px; }
.pl-checks { display: flex; flex-wrap: wrap; gap: 8px; }
.check { display: inline-flex; align-items: center; gap: 8px; min-height: 44px; padding: 8px 12px; border: 1px solid var(--line2); border-radius: var(--r); font-weight: 600; cursor: pointer; }
.check input { width: 18px; height: 18px; margin: 0; accent-color: var(--sea); }
.check:has(input:checked) { border-color: var(--sea); background: var(--sea-tint); }
.check.is-off { opacity: .45; cursor: default; }
.pl-actions { display: flex; align-items: center; gap: 12px; }
.pl-actions .btn { flex: 1; max-width: 280px; }
.pl-msg { font-size: 14px; color: var(--coral-dark); font-weight: 600; margin-top: 8px; }
.pl-msg:empty { display: none; }
.pl-out > h2 { font-size: 24px; font-weight: 800; margin-bottom: 12px; }
.pl-empty { color: var(--ink2); padding: 16px; background: var(--sand); border-radius: var(--r); }
.pl-sum { display: grid; grid-template-columns: minmax(0, 1fr); gap: 12px; padding: 16px; background: var(--sand); border-radius: var(--r); }
.pl-sum-label { display: block; font-size: 13px; font-weight: 600; color: var(--ink2); }
.pl-chain { display: flex; flex-wrap: wrap; line-height: 1.7; }
.pl-chain b { font-weight: 700; white-space: nowrap; }
.pl-chain i { font-style: normal; color: var(--ink2); margin: 0 6px; }
.pl-total b { font-size: 20px; }
.pl-total-legs { font-size: 14px; color: var(--ink2); }
.pl-conn { padding: 18px 0 6px; border-bottom: 1px solid var(--line); }
.pl-conn h3 { display: flex; align-items: center; gap: 10px; font-size: 18px; font-weight: 700; }
.pl-num { display: inline-grid; place-items: center; flex: none; width: 26px; height: 26px; border-radius: 50%; background: var(--ink); color: #fff; font-size: 14px; }
.pl-legs { margin-left: 36px; }
.pl-leg { display: grid; grid-template-columns: 1fr auto; gap: 2px 12px; align-items: center; padding: 10px 0; }
.pl-leg + .pl-leg { border-top: 1px dashed var(--line2); }
.pl-direct .pl-leg-name { display: none; }
.pl-leg-name { grid-column: 1 / -1; font-weight: 700; font-size: 15px; }
.pl-leg-how { grid-column: 1; }
.pl-leg-time { font-weight: 700; }
.pl-leg-other { grid-column: 1; font-size: 13px; color: var(--ink2); }
.pl-leg-links { grid-column: 2; grid-row: 2 / span 2; display: flex; align-items: center; gap: 14px; }
.pl-direct .pl-leg-links { grid-row: 1 / span 2; }
.pl-map { margin-top: 24px; background: #eef5f4; border-radius: var(--r); padding: 8px; }
.netmap { display: block; width: 100%; height: auto; }
.nm-routes line { stroke: #bfd0ce; stroke-width: 1; }
.nm-trip line { stroke: var(--coral); stroke-width: 3; stroke-linecap: round; }
.nm-places circle { fill: #fff; stroke: #6b7d81; stroke-width: 1.5; }
.nm-places text { font: 500 11px var(--font); fill: var(--ink2); }
.nm-places .on circle { fill: var(--coral); stroke: #fff; }
.nm-places .on text { font-weight: 800; fill: var(--ink); }
.nm-places .via circle { fill: var(--sea); stroke: #fff; }
@media (max-width: 480px) { .pl-legs { margin-left: 0; } .pl-leg { grid-template-columns: 1fr; } .pl-leg .pl-leg-links { grid-column: 1; grid-row: auto; justify-content: space-between; margin-top: 6px; } }
@media (min-width: 900px) { .pl { grid-template-columns: 400px minmax(0, 1fr); gap: 56px; padding-top: 36px; align-items: start; } }

/* Footer */
.foot { margin-top: 24px; background: var(--sand); font-size: 15px; padding: 36px 0 28px; }
.foot-cols { display: grid; gap: 28px; }
.foot-name { font-weight: 800; font-size: 18px; margin-bottom: 6px; }
.foot-about p { max-width: 44ch; }
.foot-about .foot-partners { margin-top: 8px; color: var(--ink2); font-size: 14px; }
.foot h2 { font-size: 15px; font-weight: 700; margin-bottom: 8px; }
.foot li { margin-bottom: 8px; }
.foot li a { color: var(--ink); text-decoration: none; }
.foot li a:hover { text-decoration: underline; color: var(--sea); }
.foot-2col { columns: 2; }
.foot-legal { margin-top: 28px; padding-top: 20px; border-top: 1px solid #e0d9c9; font-size: 14px; color: var(--ink2); }
.foot-legal p { max-width: 90ch; margin-bottom: 8px; }
@media (min-width: 800px) { .foot-cols { grid-template-columns: 1.5fr 1fr 1.2fr 1fr; gap: 40px; } }
