/*
Theme Name: Houses Boat
Theme URI: https://housesboat.com/
Description: Houseboat stays in Kerala, Kashmir and across India, explained. Arched photo frames after the kettuvallam roof, boarding pass quick facts, jetty stop route index and a trip planner.
Version: 1.0.0
Author: Houses Boat
License: GPL-2.0-or-later
Text Domain: housesboat
*/

@font-face { font-family: "Gabarito"; font-weight: 600; font-display: swap; src: url(assets/fonts/gabarito-latin-600-normal.woff2) format("woff2"); }
@font-face { font-family: "Gabarito"; font-weight: 700; font-display: swap; src: url(assets/fonts/gabarito-latin-700-normal.woff2) format("woff2"); }
@font-face { font-family: "Gabarito"; font-weight: 800; font-display: swap; src: url(assets/fonts/gabarito-latin-800-normal.woff2) format("woff2"); }
@font-face { font-family: "Rethink Sans"; font-weight: 400; font-display: swap; src: url(assets/fonts/rethink-sans-latin-400-normal.woff2) format("woff2"); }
@font-face { font-family: "Rethink Sans"; font-weight: 500; font-display: swap; src: url(assets/fonts/rethink-sans-latin-500-normal.woff2) format("woff2"); }
@font-face { font-family: "Rethink Sans"; font-weight: 700; font-display: swap; src: url(assets/fonts/rethink-sans-latin-700-normal.woff2) format("woff2"); }
@font-face { font-family: "Rethink Sans"; font-weight: 400; font-style: italic; font-display: swap; src: url(assets/fonts/rethink-sans-latin-400-italic.woff2) format("woff2"); }

:root {
	--ink: #0b2b2e; --ink-2: #14403f; --lagoon: #0f7a68; --lagoon-d: #0a5c4e; --lagoon-l: #d9efe8;
	--coir: #e09a3e; --coir-d: #a8661a; --coir-l: #fbecd6;
	--mist: #eef6f3; --sand: #faf5ec; --paper: #fff; --line: #d6e5e0;
	--text: #16302f; --muted: #556b68;
	--fd: "Gabarito", "Rethink Sans", system-ui, sans-serif;
	--fb: "Rethink Sans", system-ui, -apple-system, "Segoe UI", "Nirmala UI", sans-serif;
	--r: 22px; --arch: 999px 999px 24px 24px;
	--shadow: 0 1px 2px rgba(11, 43, 46, .06), 0 10px 30px -12px rgba(11, 43, 46, .22);
	--st: var(--lagoon);
}
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; scroll-padding-top: 90px; }
body { margin: 0; background: var(--sand); color: var(--text); font: 400 17px/1.65 var(--fb); }
img { max-width: 100%; height: auto; display: block; }
a { color: var(--lagoon-d); text-underline-offset: 3px; text-decoration-thickness: 1.5px; }
a:hover { color: var(--ink); }
h1, h2, h3 { font-family: var(--fd); line-height: 1.15; color: var(--ink); letter-spacing: -.01em; }
:focus-visible { outline: 3px solid var(--coir); outline-offset: 2px; border-radius: 6px; }
.hb-wrap { width: min(1180px, 100% - 32px); margin-inline: auto; }
.hb-skip { position: absolute; left: -999px; top: 8px; background: var(--ink); color: #fff; padding: 8px 14px; border-radius: 10px; z-index: 50; }
.hb-skip:focus { left: 12px; }
.hb-ico { flex: none; }

/* ------------------------------------------------------------ header */
.hb-top { position: sticky; top: 0; z-index: 30; padding: 10px 12px 0; }
.hb-top--over { position: absolute; left: 0; right: 0; }
.hb-deck { display: flex; align-items: center; gap: 14px; max-width: 1180px; margin: 0 auto; padding: 8px 10px 8px 14px; border-radius: 18px;
	background: rgba(11, 43, 46, .92); color: #fff; box-shadow: 0 8px 30px -14px rgba(0, 0, 0, .5); backdrop-filter: blur(10px); -webkit-backdrop-filter: blur(10px); }
.hb-top--over .hb-deck { background: rgba(11, 43, 46, .55); border: 1px solid rgba(255, 255, 255, .14); }
.hb-logo { display: inline-flex; align-items: center; gap: 9px; color: inherit; text-decoration: none; margin: 0; }
.hb-logo img { width: 36px; height: 36px; background: #fff; border-radius: 11px; padding: 3px; }
.hb-logo-word { font: 700 22px/1 var(--fd); letter-spacing: -.02em; }
.hb-logo-word b { color: var(--coir); font-weight: 800; }
.hb-nav { display: none; margin-left: auto; align-items: center; gap: 2px; }
.hb-nav a { color: #e3f1ed; text-decoration: none; font: 600 15px/1 var(--fd); padding: 10px 12px; border-radius: 12px; }
.hb-nav a:hover { background: rgba(255, 255, 255, .1); color: #fff; }
.hb-nav .hb-nav-cta { display: inline-flex; gap: 7px; align-items: center; background: var(--coir); color: var(--ink); margin-left: 6px; }
.hb-nav .hb-nav-cta:hover { background: #f0b25c; color: var(--ink); }
.hb-menubtn { margin-left: auto; display: inline-flex; align-items: center; gap: 8px; background: rgba(255, 255, 255, .12); color: #fff; border: 0; border-radius: 12px; padding: 10px 14px; font: 600 15px/1 var(--fd); cursor: pointer; }
.hb-menubtn-bars, .hb-menubtn-bars::before, .hb-menubtn-bars::after { display: block; width: 16px; height: 2px; background: currentColor; border-radius: 2px; position: relative; }
.hb-menubtn-bars::before, .hb-menubtn-bars::after { content: ""; position: absolute; left: 0; }
.hb-menubtn-bars::before { top: -5px; } .hb-menubtn-bars::after { top: 5px; }
.hb-drawer { max-width: 1180px; margin: 8px auto 0; background: var(--paper); border-radius: 18px; box-shadow: var(--shadow); padding: 8px; }
.hb-drawer-list { list-style: none; margin: 0; padding: 0; display: grid; gap: 4px; }
.hb-drawer-list a { display: flex; gap: 12px; align-items: center; padding: 12px; border-radius: 12px; text-decoration: none; color: var(--ink); }
.hb-drawer-list a:hover { background: var(--mist); }
.hb-drawer-list .hb-ico { color: var(--st, var(--lagoon)); }
.hb-drawer-list b { font: 600 17px/1.2 var(--fd); }
@media (min-width: 980px) { .hb-nav { display: flex; } .hb-menubtn { display: none; } .hb-drawer { display: none; } }

/* ------------------------------------------------------------ buttons */
.hb-btn { display: inline-flex; align-items: center; gap: 8px; padding: 13px 20px; border-radius: 14px; font: 700 16px/1 var(--fd); text-decoration: none; }
.hb-btn--coir { background: var(--coir); color: var(--ink); }
.hb-btn--coir:hover { background: #f0b25c; color: var(--ink); }
.hb-btn--glass { background: rgba(255, 255, 255, .14); color: #fff; border: 1px solid rgba(255, 255, 255, .35); }
.hb-btn--glass:hover { background: rgba(255, 255, 255, .24); color: #fff; }

/* ------------------------------------------------------------ home hero */
.hb-hero { position: relative; isolation: isolate; color: #fff; padding: 110px 0 56px; background: var(--ink); overflow: hidden; }
.hb-hero-bg { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; z-index: -2; }
.hb-hero::after { content: ""; position: absolute; inset: 0; z-index: -1; background: linear-gradient(180deg, rgba(11, 43, 46, .55) 0%, rgba(11, 43, 46, .35) 35%, rgba(11, 43, 46, .88) 100%); }
.hb-hero-grid { display: grid; gap: 28px; align-items: end; }
.hb-eyebrow { display: inline-block; margin: 0 0 14px; padding: 7px 12px; border-radius: 999px; background: rgba(255, 255, 255, .14); font: 600 13px/1 var(--fd); letter-spacing: .04em; text-transform: uppercase; }
.hb-hero h1 { color: #fff; font-size: clamp(38px, 9vw, 68px); font-weight: 800; margin: 0 0 14px; letter-spacing: -.025em; }
.hb-hero-lede { font-size: 18px; max-width: 34em; margin: 0 0 22px; color: #e6f2ef; }
.hb-hero-cta { display: flex; flex-wrap: wrap; gap: 10px; margin: 0 0 18px; }
.hb-hero-count { margin: 0; color: #cfe5df; font-size: 15px; }
.hb-hero-count b { font: 800 22px/1 var(--fd); color: var(--coir); margin-right: 4px; }
@media (min-width: 980px) { .hb-hero { padding: 150px 0 72px; } .hb-hero-grid { grid-template-columns: 1.1fr .9fr; gap: 48px; } }

/* ------------------------------------------------------------ planner (boarding card) */
.hb-tool { margin: 28px 0; }
.hb-tool--hero { margin: 0; }
.hb-pl { position: relative; background: var(--paper); color: var(--text); border-radius: 26px; padding: 20px; box-shadow: 0 24px 60px -24px rgba(0, 0, 0, .55); }
.hb-article .hb-pl { border: 1px solid var(--line); box-shadow: var(--shadow); }
.hb-pl-where::before, .hb-pl-where::after { content: ""; position: absolute; bottom: -12px; width: 22px; height: 22px; border-radius: 50%; background: var(--sand); }
.hb-tool--hero .hb-pl-where::before, .hb-tool--hero .hb-pl-where::after { background: #183c3d; }
.hb-pl-where::before { left: -31px; } .hb-pl-where::after { right: -31px; }
.hb-pl-head { display: flex; align-items: center; justify-content: space-between; gap: 10px; flex-wrap: wrap; }
.hb-pl-tag { font: 700 12px/1 var(--fd); letter-spacing: .08em; text-transform: uppercase; color: var(--coir-d); background: var(--coir-l); padding: 6px 10px; border-radius: 999px; }
.hb-pl-title { font-size: 22px; margin: 0; }
.hb-pl-where { position: relative; display: grid; grid-template-columns: 1fr 1fr; gap: 6px; margin: 16px 0 18px; padding: 5px; background: var(--mist); border-radius: 14px; border-bottom: 2px dashed var(--line); }
.hb-pl-where label { position: relative; }
.hb-pl-where input { position: absolute; opacity: 0; }
.hb-pl-where span { display: block; text-align: center; padding: 10px 6px; border-radius: 10px; font: 600 15px/1.2 var(--fd); color: var(--muted); cursor: pointer; }
.hb-pl-where input:checked + span { background: var(--ink); color: #fff; }
.hb-pl-where input:focus-visible + span { outline: 3px solid var(--coir); }
.hb-pl-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; }
.hb-pl-field { display: grid; gap: 5px; font-size: 13px; color: var(--muted); font-weight: 500; }
.hb-pl-wide { grid-column: 1 / -1; }
.hb-pl select, .hb-pl input[type=number] { width: 100%; font: 500 16px/1.2 var(--fb); color: var(--text); border: 1.5px solid var(--line); border-radius: 12px; padding: 10px; background: #fff; min-height: 44px; }
.hb-pl-step { display: grid; grid-template-columns: 40px 1fr 40px; border: 1.5px solid var(--line); border-radius: 12px; overflow: hidden; }
.hb-pl-step input[type=number] { border: 0; border-radius: 0; text-align: center; -moz-appearance: textfield; appearance: textfield; padding: 10px 0; }
.hb-pl-step input::-webkit-inner-spin-button, .hb-pl-step input::-webkit-outer-spin-button { -webkit-appearance: none; margin: 0; }
.hb-pl-step button { border: 0; background: var(--mist); color: var(--ink); font: 700 20px/1 var(--fd); cursor: pointer; }
.hb-pl-out { margin-top: 16px; }
.hb-pl-pass { display: grid; grid-template-columns: 1fr 1fr 1fr; gap: 8px; background: var(--ink); color: #fff; border-radius: 16px; padding: 14px; }
.hb-pl-pass small { display: block; font: 600 11px/1.2 var(--fd); letter-spacing: .07em; text-transform: uppercase; color: #9fd6c8; margin-bottom: 4px; }
.hb-pl-pass b { font: 700 15px/1.25 var(--fd); }
.hb-pl-note { font-size: 14.5px; margin: 10px 2px; color: var(--muted); }
.hb-pl-more { border-top: 1px solid var(--line); padding: 8px 2px; }
.hb-pl-more summary { cursor: pointer; font: 700 16px/1.4 var(--fd); color: var(--ink); }
.hb-pl-more ul { margin: 8px 0 4px; padding-left: 20px; font-size: 15px; }
.hb-pl-time { list-style: none; margin: 8px 0; padding: 0 0 0 16px; border-left: 2px dashed var(--lagoon); font-size: 15px; }
.hb-pl-time li { position: relative; margin: 0 0 8px; }
.hb-pl-time li::before { content: ""; position: absolute; left: -22px; top: 7px; width: 10px; height: 10px; border-radius: 50%; background: var(--coir); box-shadow: 0 0 0 3px var(--paper); }
.hb-pl-time b { display: block; font: 700 14px/1.3 var(--fd); color: var(--lagoon-d); }
.hb-pl-copy { margin-top: 8px; width: 100%; border: 0; border-radius: 12px; background: var(--lagoon); color: #fff; font: 700 15px/1 var(--fd); padding: 13px; cursor: pointer; }
.hb-pl-copy:hover { background: var(--lagoon-d); }
@media (max-width: 420px) { .hb-pl-pass { grid-template-columns: 1fr 1fr; } .hb-pl-pass div:last-child { grid-column: 1 / -1; } }

/* ------------------------------------------------------------ arched cards */
.hb-shelf-head { display: flex; flex-wrap: wrap; align-items: baseline; justify-content: space-between; gap: 6px 20px; margin-bottom: 18px; }
.hb-shelf-head h2 { font-size: clamp(26px, 5vw, 36px); margin: 0; }
.hb-shelf-head p { margin: 0; color: var(--muted); }
.hb-waters { padding: 48px 0 8px; }
.hb-arches { list-style: none; margin: 0; padding: 0; display: grid; gap: 18px; grid-template-columns: repeat(auto-fill, minmax(220px, 1fr)); }
.hb-arches a { display: flex; flex-direction: column; height: 100%; background: var(--paper); border-radius: 26px; padding: 10px 10px 16px; text-decoration: none; color: var(--text); box-shadow: var(--shadow); transition: transform .2s ease; }
.hb-arches a:hover { transform: translateY(-3px); }
.hb-arch-img { display: block; aspect-ratio: 16 / 10; border-radius: var(--arch); overflow: hidden; background: linear-gradient(160deg, var(--lagoon-l), var(--mist)); }
.hb-arch-img img { width: 100%; height: 100%; object-fit: cover; }
.hb-arches b { display: block; font: 700 19px/1.2 var(--fd); color: var(--ink); margin: 14px 6px 4px; }
.hb-arches small { display: block; margin: 0 6px; color: var(--muted); font-size: 14.5px; line-height: 1.45; }
.hb-arches li { border-top: 0; }
.hb-arches--big { grid-template-columns: 1fr; }
@media (min-width: 760px) { .hb-arches--big { grid-template-columns: repeat(3, 1fr); } }

/* ------------------------------------------------------------ page head */
.hb-pagehead { background: var(--mist); padding: 26px 0 40px; position: relative; }
.hb-pagehead::after { content: ""; position: absolute; left: 0; right: 0; bottom: -1px; height: 26px; background: var(--sand);
	-webkit-mask: radial-gradient(28px 18px at 50% 0, transparent 98%, #000) 0 0 / 56px 26px repeat-x; mask: radial-gradient(28px 18px at 50% 0, transparent 98%, #000) 0 0 / 56px 26px repeat-x; }
.hb-trail { font-size: 14px; color: var(--muted); margin-bottom: 16px; display: flex; flex-wrap: wrap; gap: 6px; }
.hb-trail a { color: var(--muted); }
.hb-pagehead-grid { display: grid; gap: 24px; align-items: center; }
.hb-kicker { display: inline-flex; align-items: center; gap: 8px; margin: 0 0 10px; color: var(--st); font: 700 14px/1 var(--fd); letter-spacing: .03em; text-transform: uppercase; }
.hb-kicker-hub { background: var(--st); color: #fff; border-radius: 999px; padding: 5px 9px; font-size: 11px; letter-spacing: .06em; }
.hb-pagehead h1 { font-size: clamp(32px, 7vw, 52px); font-weight: 800; margin: 0 0 12px; }
.hb-pagehead-lede { font-size: 19px; color: var(--ink-2); margin: 0 0 14px; max-width: 36em; }
.hb-pagehead-meta { display: flex; flex-wrap: wrap; gap: 8px; margin: 0; font-size: 14px; }
.hb-pagehead-meta span { background: var(--paper); border: 1px solid var(--line); border-radius: 999px; padding: 5px 11px; color: var(--ink-2); }
.hb-pagehead-meta .hb-updated { background: transparent; border-color: transparent; color: var(--muted); padding-left: 2px; }
.hb-pagehead-img { margin: 0; border-radius: var(--arch); overflow: hidden; box-shadow: var(--shadow); border: 6px solid var(--paper); background: var(--paper); aspect-ratio: 16 / 10; }
.hb-pagehead-img img { width: 100%; height: 100%; object-fit: cover; }
@media (min-width: 900px) { .hb-pagehead { padding: 34px 0 56px; } .hb-pagehead-grid { grid-template-columns: 1.15fr .85fr; gap: 48px; } .hb-pagehead-grid--solo { grid-template-columns: 1fr; } }

/* ------------------------------------------------------------ article */
.hb-read { padding: 30px 0 40px; }
.hb-article { max-width: 780px; margin-inline: auto; }
.hb-read--narrow .hb-article { max-width: 720px; }
.hb-read--home { padding-top: 36px; }
.hb-intro { font-size: 18.5px; }
.hb-intro p:first-child { margin-top: 0; }
.hb-article h2 { font-size: clamp(25px, 4.6vw, 32px); margin: 0 0 14px; }
.hb-article h3 { font-size: 21px; margin: 26px 0 8px; }
.hb-part { padding-top: 34px; }
.hb-part + .hb-part { border-top: 1px solid var(--line); margin-top: 34px; }
.hb-article ul, .hb-article ol { padding-left: 22px; }
.hb-article li { margin: 6px 0; }
.hb-article li::marker { color: var(--lagoon); }
.hb-article ol.steps { list-style: none; counter-reset: s; padding: 0; }
.hb-article ol.steps > li { counter-increment: s; position: relative; padding: 2px 0 10px 52px; margin: 0; }
.hb-article ol.steps > li::before { content: counter(s); position: absolute; left: 0; top: 0; width: 36px; height: 36px; border-radius: 50% 50% 10px 10px; background: var(--lagoon); color: #fff; font: 800 16px/36px var(--fd); text-align: center; }
.hb-article ol.steps > li:not(:last-child)::after { content: ""; position: absolute; left: 17px; top: 40px; bottom: 0; border-left: 2px dashed var(--line); }

/* quick facts: boarding pass */
.hb-key { position: relative; margin: 26px 0; background: var(--paper); border-radius: 22px; box-shadow: var(--shadow); padding: 18px 18px 8px 26px; border-left: 10px solid var(--st); }
.hb-key::before { content: ""; position: absolute; left: -10px; top: 14px; bottom: 14px; width: 10px; background: radial-gradient(circle at 0 50%, var(--sand) 4px, transparent 4.5px) 0 0 / 10px 14px repeat-y; }
.hb-key-h { margin: 0 0 10px; font: 700 13px/1 var(--fd); letter-spacing: .1em; text-transform: uppercase; color: var(--st); }
.hb-key ul { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(auto-fit, minmax(190px, 1fr)); gap: 0 22px; }
.hb-key li { margin: 0; padding: 10px 0; border-top: 1px dashed var(--line); }
.hb-key-name { margin: 0 0 3px; font: 600 12.5px/1.2 var(--fd); letter-spacing: .06em; text-transform: uppercase; color: var(--muted); }
.hb-key-val { font-size: 16px; line-height: 1.45; }
.hb-key-val p { margin: 0; }

/* table of contents */
.hb-toc { background: var(--mist); border-radius: 20px; padding: 16px 18px; margin: 26px 0 6px; }
.hb-toc > p { margin: 0 0 8px; font: 700 13px/1 var(--fd); letter-spacing: .1em; text-transform: uppercase; color: var(--lagoon-d); }
.hb-toc ol { margin: 0; padding-left: 20px; columns: 1; font-size: 15.5px; }
.hb-toc li { margin: 4px 0; break-inside: avoid; }
.hb-toc a { text-decoration: none; color: var(--ink-2); }
.hb-toc a:hover, .hb-toc a[aria-current] { color: var(--lagoon); text-decoration: underline; }
@media (min-width: 720px) { .hb-toc ol { columns: 2; column-gap: 30px; } }

/* figures, tables, notes */
.hb-fig { margin: 24px 0 6px; }
.hb-fig img { width: 100%; border-radius: 24px; box-shadow: var(--shadow); }
.hb-fig figcaption { font-size: 14.5px; color: var(--muted); margin: 10px 4px 0; padding-left: 14px; border-left: 3px solid var(--coir); }
.hb-table { overflow-x: auto; margin: 20px 0; border-radius: 18px; border: 1px solid var(--line); background: var(--paper); -webkit-overflow-scrolling: touch; }
.hb-table table { border-collapse: collapse; width: 100%; min-width: 520px; font-size: 15.5px; }
.hb-table caption { text-align: left; padding: 12px 14px 0; font: 700 15px/1.3 var(--fd); color: var(--ink); }
.hb-table th { background: var(--ink); color: #fff; font: 600 14.5px/1.3 var(--fd); text-align: left; padding: 11px 14px; }
.hb-table td { padding: 10px 14px; border-top: 1px solid var(--line); vertical-align: top; }
.hb-table tr:nth-child(even) td { background: #f7fbf9; }
.hb-table a { font-weight: 600; }
.tip, .warn, .note { border-radius: 18px; padding: 14px 16px 14px 52px; margin: 20px 0; position: relative; font-size: 16px; }
.tip p:first-child, .warn p:first-child, .note p:first-child { margin-top: 0; }
.tip p:last-child, .warn p:last-child, .note p:last-child { margin-bottom: 0; }
.tip::before, .warn::before, .note::before { position: absolute; left: 14px; top: 13px; width: 26px; height: 26px; border-radius: 50%; font: 800 15px/26px var(--fd); text-align: center; color: #fff; }
.tip { background: var(--lagoon-l); } .tip::before { content: "✓"; background: var(--lagoon); }
.warn { background: #fde4dc; } .warn::before { content: "!"; background: #c4492b; }
.note { background: var(--coir-l); } .note::before { content: "i"; background: var(--coir-d); font-style: italic; }

/* faq */
.hb-faq { padding-top: 38px; }
.hb-faq details { background: var(--paper); border-radius: 18px; margin: 10px 0; box-shadow: 0 1px 2px rgba(11, 43, 46, .06); border: 1px solid var(--line); }
.hb-faq summary { cursor: pointer; padding: 15px 48px 15px 18px; font: 700 17px/1.35 var(--fd); color: var(--ink); list-style: none; position: relative; }
.hb-faq summary::-webkit-details-marker { display: none; }
.hb-faq summary::after { content: "+"; position: absolute; right: 16px; top: 12px; width: 26px; height: 26px; border-radius: 50%; background: var(--mist); color: var(--lagoon-d); text-align: center; font: 700 19px/26px var(--fd); }
.hb-faq details[open] summary::after { content: "−"; }
.hb-faq-a { padding: 0 18px 12px; font-size: 16px; }

/* related */
.hb-related { max-width: 980px; margin: 48px auto 0; }
.hb-related h2 { font-size: 26px; margin: 0 0 14px; }
.hb-related ul { list-style: none; margin: 0; padding: 0; display: grid; gap: 14px; grid-template-columns: repeat(auto-fit, minmax(170px, 1fr)); }
.hb-related a { display: block; background: var(--paper); border-radius: 22px; padding: 8px 8px 14px; text-decoration: none; color: var(--text); box-shadow: var(--shadow); height: 100%; }
.hb-related img { width: 100%; aspect-ratio: 16 / 10; object-fit: cover; border-radius: 999px 999px 16px 16px; }
.hb-related b { display: block; font: 700 17px/1.25 var(--fd); color: var(--ink); margin: 10px 6px 2px; }
.hb-related span { display: block; margin: 0 6px; font-size: 13.5px; color: var(--muted); }

/* ------------------------------------------------------------ route index (jetty stops) */
.hb-routes { padding: 18px 0 30px; display: grid; gap: 22px; }
.hb-route { background: var(--paper); border-radius: 26px; padding: 22px 18px 12px; box-shadow: var(--shadow); }
.hb-route-head { display: flex; align-items: center; gap: 10px; margin-bottom: 12px; color: var(--st); }
.hb-route-head h2 { font-size: 24px; margin: 0; }
.hb-route-n { margin-left: auto; font: 600 13px/1 var(--fd); color: var(--muted); background: var(--mist); padding: 6px 10px; border-radius: 999px; white-space: nowrap; }
.hb-stops { list-style: none; margin: 0; padding: 0 0 0 26px; position: relative; display: grid; gap: 0 26px; }
.hb-stops::before { content: ""; position: absolute; left: 7px; top: 10px; bottom: 18px; width: 4px; border-radius: 4px;
	background: repeating-linear-gradient(180deg, var(--st) 0 10px, transparent 10px 16px); opacity: .45; }
.hb-stops li { position: relative; }
.hb-stops li::before { content: ""; position: absolute; left: -25px; top: 15px; width: 14px; height: 14px; border-radius: 50%; background: var(--paper); border: 3px solid var(--st); }
.hb-stops a { display: block; padding: 10px 10px 10px 4px; border-radius: 12px; text-decoration: none; color: var(--text); }
.hb-stops a:hover { background: var(--mist); }
.hb-stops b { display: block; font: 700 17px/1.3 var(--fd); color: var(--ink); }
.hb-stops span { display: block; font-size: 14.5px; color: var(--muted); line-height: 1.4; }
@media (min-width: 860px) { .hb-stops { grid-template-columns: 1fr 1fr; } .hb-stops::before { display: none; } .hb-stops li::before { left: -22px; } }

/* ------------------------------------------------------------ blog bits */
.hb-latest { padding: 10px 0 46px; }
.hb-latest h2 { font-size: 26px; }
.hb-latest ul { list-style: none; margin: 0 0 14px; padding: 0; display: grid; gap: 10px; }
.hb-latest a { display: flex; justify-content: space-between; gap: 14px; background: var(--paper); border-radius: 16px; padding: 14px 16px; text-decoration: none; color: var(--ink); border: 1px solid var(--line); }
.hb-latest b { font: 600 16.5px/1.35 var(--fd); }
.hb-latest small { color: var(--muted); white-space: nowrap; }
.hb-latest-more { font: 700 16px/1 var(--fd); }
.hb-list-title { padding: 34px 0 6px; }
.hb-list-title h1 { font-size: clamp(32px, 6vw, 46px); margin: 0; }
.hb-postlist { display: grid; gap: 14px; padding: 18px 0 30px; }
.hb-postrow { background: var(--paper); border-radius: 20px; padding: 18px 20px; border: 1px solid var(--line); }
.hb-postrow h2 { font-size: 21px; margin: 0 0 4px; }
.hb-postrow h2 a { color: var(--ink); text-decoration: none; }
.hb-postrow h2 a:hover { color: var(--lagoon); }
.hb-postrow p { margin: 4px 0 0; }
.hb-date { font-size: 14px; color: var(--muted); }
.hb-pager { padding-bottom: 40px; display: flex; gap: 8px; flex-wrap: wrap; }
.hb-pager a, .hb-pager span { padding: 8px 13px; border-radius: 10px; background: var(--paper); border: 1px solid var(--line); text-decoration: none; }
.hb-pager .current { background: var(--ink); color: #fff; }
.hb-article--post img { border-radius: 16px; }
.hb-guides { max-width: 980px; margin: 40px auto 0; }
.hb-guides-h { font: 700 22px/1.2 var(--fd); color: var(--ink); margin: 0 0 14px; }
.hb-guides .hb-arches { grid-template-columns: repeat(auto-fit, minmax(220px, 1fr)); }
.hb-guides + .hb-latest, .hb-read .hb-latest { max-width: 780px; margin: 30px auto 0; padding-bottom: 0; }
.hb-tiles { list-style: none; padding: 0; display: grid; gap: 14px; grid-template-columns: repeat(auto-fill, minmax(200px, 1fr)); }
.hb-tile a { display: block; background: var(--paper); border-radius: 20px; padding: 8px; text-decoration: none; color: var(--text); box-shadow: var(--shadow); }
.hb-tile-img img { border-radius: 999px 999px 14px 14px; aspect-ratio: 16 / 10; object-fit: cover; width: 100%; }
.hb-tile-name { display: block; font: 700 17px/1.25 var(--fd); color: var(--ink); margin: 10px 6px 2px; }
.hb-tile-meta { display: block; font-size: 13.5px; color: var(--muted); margin: 0 6px 6px; }
.hb-ad { margin: 26px 0; }

/* ------------------------------------------------------------ footer */
.hb-foot { position: relative; background: var(--ink); color: #c7dbd6; margin-top: 50px; padding: 30px 0 22px; }
.hb-foot-wave { position: absolute; left: 0; top: -38px; width: 100%; height: 40px; fill: var(--ink); }
.hb-foot-grid { display: grid; gap: 26px; grid-template-columns: repeat(auto-fit, minmax(170px, 1fr)); padding-bottom: 24px; }
.hb-foot-brand { grid-column: 1 / -1; max-width: 520px; }
.hb-foot-brand p { margin: 0 0 10px; font-size: 15px; }
.hb-logo--foot { color: #fff; }
.hb-foot-h { font: 700 14px/1.2 var(--fd); color: #fff; letter-spacing: .05em; text-transform: uppercase; margin: 0 0 10px; display: flex; gap: 8px; align-items: center; }
.hb-foot-h::before { content: ""; width: 10px; height: 10px; border-radius: 50% 50% 3px 3px; background: var(--st); }
.hb-foot-col ul { list-style: none; margin: 0; padding: 0; }
.hb-foot-col li { margin: 7px 0; font-size: 15px; }
.hb-foot a { color: #c7dbd6; text-decoration: none; }
.hb-foot a:hover { color: #fff; text-decoration: underline; }
.hb-foot-legal { display: flex; flex-wrap: wrap; gap: 8px 18px; border-top: 1px solid rgba(255, 255, 255, .12); padding-top: 18px; font-size: 14px; }
@media (min-width: 980px) { .hb-foot-grid { grid-template-columns: 1.4fr repeat(5, 1fr); } .hb-foot-brand { grid-column: auto; } }

.hb-toast { position: fixed; left: 50%; bottom: 22px; transform: translateX(-50%); background: var(--ink); color: #fff; padding: 11px 18px; border-radius: 12px; font: 600 15px/1.2 var(--fd); z-index: 60; box-shadow: var(--shadow); }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } .hb-arches a { transition: none; } }
@media print { .hb-top, .hb-foot, .hb-tool, .hb-related { display: none; } body { background: #fff; } }
