/*
Theme Name:   Oceanside Taxi
Description:  Fast, clean, premium theme for Oceanside Taxi. Taxi-yellow brand, responsive from 320px, no jQuery, no web fonts.
Author:       Oceanside Taxi
Version:      1.0.0
Requires at least: 6.0
Requires PHP: 7.4
License:      GPL-2.0-or-later
Text Domain:  oceanside
*/

/* ---------- Tokens ---------- */
:root {
	--y: #FDB813;
	--y-600: #E7A300;
	--y-200: #FFE08A;
	--y-100: #FFF1C7;
	--y-50: #FFF9E6;
	--ink: #16130A;
	--ink-2: #4B4637;
	--ink-3: #6E6856;
	--field: #8F8872;
	--y-ink: #8A5E00;
	--line: #EBE4CE;
	--bg: #FFFEFA;
	--card: #FFFFFF;
	--r: 16px;
	--r-sm: 10px;
	--shadow: 0 1px 2px rgba(22, 19, 10, .05), 0 8px 24px -12px rgba(22, 19, 10, .18);
	--shadow-lg: 0 2px 4px rgba(22, 19, 10, .06), 0 24px 48px -20px rgba(22, 19, 10, .28);
	--font: ui-sans-serif, system-ui, -apple-system, "Segoe UI", Roboto, "Helvetica Neue", Arial, "Noto Sans", sans-serif;
	--gut: 16px;
	--max: 1160px;
}

/* ---------- Base ---------- */
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; scroll-padding-top: 88px; }
body {
	margin: 0;
	font: 400 1rem/1.7 var(--font);
	color: var(--ink);
	background: var(--bg);
	-webkit-font-smoothing: antialiased;
	text-rendering: optimizeLegibility;
	overflow-wrap: break-word;
}
img, svg, video { max-width: 100%; height: auto; }
img { display: block; }
a { color: inherit; text-decoration-color: var(--y); text-decoration-thickness: 2px; text-underline-offset: 3px; }
a:hover { text-decoration-color: var(--ink); }
:focus-visible { outline: 3px solid var(--ink); outline-offset: 3px; border-radius: 4px; }
h1, h2, h3, h4 { line-height: 1.2; letter-spacing: -.02em; margin: 0 0 .6em; text-wrap: balance; overflow-wrap: anywhere; }
p { margin: 0 0 1.1em; }
.ico { flex: none; }
.screen-reader-text { position: absolute !important; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.skip { position: absolute; left: 12px; top: -60px; z-index: 100; background: var(--ink); color: #fff; padding: 10px 16px; border-radius: 8px; transition: top .15s; }
.skip:focus { top: 12px; }
.wrap { width: 100%; max-width: calc(var(--max) + var(--gut) * 2); margin-inline: auto; padding-inline: var(--gut); }
.section { padding-block: clamp(32px, 6vw, 72px); }
.section__title { font-size: clamp(1.4rem, 3.5vw, 1.9rem); margin-bottom: 1.2rem; }
.lead { font-size: 1.125rem; color: var(--ink-2); }
.grecaptcha-badge { visibility: hidden; }

/* ---------- Buttons ---------- */
.btn {
	display: inline-flex; align-items: center; justify-content: center; gap: .5em;
	min-height: 48px; padding: .7em 1.4em;
	font: 700 1rem/1.2 var(--font);
	color: var(--ink); background: var(--y);
	border: 2px solid var(--y); border-radius: 999px;
	text-decoration: none; cursor: pointer;
	transition: transform .15s, box-shadow .15s, background .15s;
	box-shadow: 0 6px 18px -8px rgba(231, 163, 0, .9);
}
.btn:hover { background: var(--y-600); border-color: var(--y-600); transform: translateY(-1px); }
.btn:active { transform: none; }
.btn--ghost { background: transparent; border-color: var(--ink); box-shadow: none; }
.btn--ghost:hover { background: var(--ink); border-color: var(--ink); color: #fff; }
.btn--dark { background: var(--ink); border-color: var(--ink); color: #fff; box-shadow: none; }
.btn--dark:hover { background: #000; border-color: #000; }
.btn--sm { min-height: 40px; padding: .45em 1.1em; font-size: .9375rem; }

/* ---------- Header ---------- */
.hdr { position: sticky; top: 0; z-index: 50; background: rgba(255, 254, 250, .92); -webkit-backdrop-filter: saturate(1.4) blur(12px); backdrop-filter: saturate(1.4) blur(12px); border-bottom: 1px solid var(--line); }
.hdr__in { display: flex; align-items: center; justify-content: space-between; gap: 12px; min-height: 64px; }
.brand { display: inline-flex; align-items: center; gap: 10px; text-decoration: none; min-width: 0; }
.brand__logo { width: 40px; height: 40px; border-radius: 10px; flex: none; }
.brand__name { font-weight: 800; font-size: 1.0625rem; letter-spacing: -.02em; white-space: nowrap; }
.navbtn { display: inline-grid; place-items: center; width: 44px; height: 44px; padding: 0; border: 1px solid var(--line); border-radius: 12px; background: #fff; color: var(--ink); cursor: pointer; }
.navbtn__c, .nav-open .navbtn__o { display: none; }
.nav-open .navbtn__c { display: block; }
.nav__list { list-style: none; margin: 0; padding: 0; display: flex; flex-direction: column; }
.nav__list a { display: block; padding: 14px 4px; font-weight: 600; text-decoration: none; border-bottom: 1px solid var(--line); }
.nav__list a:hover, .nav__list .current-menu-item > a { color: var(--ink); box-shadow: inset 0 -3px 0 var(--y); }
.nav__cta { margin: 16px 0 8px; width: 100%; }
.js .nav { display: none; position: absolute; left: 0; right: 0; top: 100%; background: var(--bg); padding: 4px var(--gut) 16px; border-bottom: 1px solid var(--line); box-shadow: var(--shadow-lg); max-height: calc(100vh - 64px); overflow: auto; }
.js .nav-open .nav { display: block; }
html.no-js .navbtn { display: none; }
html.no-js .hdr__in { flex-wrap: wrap; }
html.no-js .nav { width: 100%; }

@media (min-width: 960px) {
	.navbtn { display: none; }
	.js .nav, .nav { display: flex; position: static; align-items: center; gap: 8px; padding: 0; background: none; border: 0; box-shadow: none; max-height: none; overflow: visible; width: auto; }
	.nav__list { flex-direction: row; gap: 2px; }
	.nav__list a { padding: 8px 12px; border: 0; border-radius: 999px; font-size: .9375rem; }
	.nav__list a:hover, .nav__list .current-menu-item > a { background: var(--y-100); box-shadow: none; }
	.nav__cta { margin: 0 0 0 8px; width: auto; }
}

/* ---------- Hero ---------- */
.hero { position: relative; background: radial-gradient(1100px 420px at 85% -10%, var(--y-200), transparent 60%), linear-gradient(180deg, var(--y-100), var(--bg)); overflow: clip; }
.hero::after { content: ""; position: absolute; left: 0; right: 0; bottom: 0; height: 14px; background: conic-gradient(var(--ink) 25%, var(--y) 0 50%, var(--ink) 0 75%, var(--y) 0) 0 0 / 28px 28px; opacity: .92; }
.hero__in { display: grid; gap: 28px; padding-block: clamp(32px, 7vw, 80px) clamp(44px, 8vw, 96px); align-items: center; }
.eyebrow { display: inline-block; margin: 0 0 14px; padding: 6px 12px; border-radius: 999px; background: #fff; border: 1px solid var(--line); font-size: .8125rem; font-weight: 700; letter-spacing: .04em; text-transform: uppercase; color: var(--ink-2); }
.hero__title { font-size: clamp(1.75rem, 6.4vw, 3.4rem); font-weight: 800; line-height: 1.08; letter-spacing: -.03em; margin-bottom: .5em; }
.hero__lead { font-size: clamp(1rem, 2.4vw, 1.1875rem); color: var(--ink-2); max-width: 36em; }
.hero__cta { display: flex; flex-wrap: wrap; gap: 12px; margin-block: 24px; }
.hero__cta .btn { flex: 1 1 100%; }
.hero__facts { list-style: none; display: flex; flex-wrap: wrap; gap: 8px 24px; padding: 0; margin: 0; color: var(--ink-2); font-size: .9375rem; }
.hero__facts strong { font-size: 1.25rem; color: var(--ink); }
.hero__media { border-radius: 24px; overflow: hidden; box-shadow: var(--shadow-lg); border: 4px solid #fff; background: var(--y-100); aspect-ratio: 16 / 9; }
.hero__img { width: 100%; height: 100%; object-fit: cover; }
@media (min-width: 480px) { .hero__cta .btn { flex: 0 0 auto; } }
@media (min-width: 900px) { .hero__in { grid-template-columns: 1.05fr 1fr; gap: 48px; } }

/* ---------- Page head ---------- */
.pagehead { background: linear-gradient(180deg, var(--y-100), var(--bg)); border-bottom: 1px solid var(--line); padding-block: clamp(22px, 5vw, 48px) clamp(20px, 4vw, 36px); }
.pagehead__title { font-size: clamp(1.6rem, 5.2vw, 2.75rem); font-weight: 800; letter-spacing: -.03em; line-height: 1.12; margin: .35em 0 .3em; max-width: 24em; }
.pagehead__title span { color: var(--y-ink); }
.pagehead__desc { max-width: 42em; color: var(--ink-2); }
.pagehead__search { max-width: 520px; margin-top: 16px; }
.crumbs ol { display: flex; flex-wrap: wrap; align-items: center; gap: 0; list-style: none; margin: 0 0 8px; padding: 0; font-size: .8125rem; color: var(--ink-3); }
.crumbs li + li::before { content: "/"; margin-inline: 8px; color: var(--line); }
.crumbs a { text-decoration: none; }
.crumbs a:hover { text-decoration: underline; }
.crumbs [aria-current] { display: inline-block; max-width: 36ch; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; vertical-align: bottom; }
.chip { display: inline-block; max-width: 100%; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; vertical-align: top; padding: 4px 12px; border-radius: 999px; background: var(--y); color: var(--ink); font-size: .75rem; font-weight: 800; letter-spacing: .05em; text-transform: uppercase; text-decoration: none; }
.meta { display: flex; flex-wrap: wrap; gap: 6px 18px; margin: 0; color: var(--ink-3); font-size: .875rem; }
.meta span { display: inline-flex; align-items: center; gap: 6px; }

/* ---------- Layout ---------- */
.layout { display: grid; gap: 24px; }
.layout__main { min-width: 0; }
@media (min-width: 1100px) {
	.layout { grid-template-columns: 270px minmax(0, 1fr); gap: 56px; }
	.layout__side { order: -1; }
	.layout__side .toc { position: sticky; top: 96px; }
	.layout--solo { grid-template-columns: 1fr; }
}

/* ---------- TOC ---------- */
.toc__box { background: #fff; border: 1px solid var(--line); border-radius: var(--r); padding: 4px 16px; box-shadow: var(--shadow); }
.toc__box summary { display: flex; align-items: center; gap: 8px; padding: 12px 0; font-weight: 800; cursor: pointer; list-style: none; }
.toc__box summary::-webkit-details-marker { display: none; }
.toc__list { list-style: none; margin: 0; padding: 0 0 12px; max-height: 60vh; overflow: auto; counter-reset: t; }
.toc__list li { counter-increment: t; }
.toc__list a { display: grid; grid-template-columns: 1.6em 1fr; padding: 7px 0; font-size: .9rem; line-height: 1.35; text-decoration: none; color: var(--ink-2); border-top: 1px solid var(--line); }
.toc__list a::before { content: counter(t); color: var(--y-600); font-weight: 800; }
.toc__list a:hover { color: var(--ink); }

/* ---------- Prose (editor content) ---------- */
.prose { font-size: 1.0625rem; max-width: 74ch; }
.prose > :first-child { margin-top: 0; }
.prose h2 { font-size: clamp(1.4rem, 3.4vw, 1.85rem); margin: 2.2em 0 .6em; padding-top: .2em; }
.prose h2::before { content: ""; display: block; width: 44px; height: 5px; border-radius: 3px; background: var(--y); margin-bottom: 12px; }
.prose h3 { font-size: clamp(1.15rem, 2.6vw, 1.35rem); margin: 1.8em 0 .5em; }
.prose h4 { font-size: 1.05rem; margin: 1.4em 0 .4em; }
.prose a { font-weight: 600; background: linear-gradient(var(--y-200), var(--y-200)) 0 100% / 100% .3em no-repeat; text-decoration: none; transition: background-size .15s; }
.prose a:hover { background-size: 100% 100%; }
.prose ul, .prose ol { padding-left: 1.3em; margin: 0 0 1.2em; }
.prose li { margin-bottom: .4em; }
.prose li::marker { color: var(--y-600); font-weight: 700; }
.prose strong { font-weight: 700; }
.prose img { border-radius: var(--r); }
.prose figure { margin: 1.6em 0; }
.prose figcaption { font-size: .875rem; color: var(--ink-3); margin-top: .5em; }
.prose blockquote { margin: 1.6em 0; padding: 1em 1.2em; border-left: 5px solid var(--y); background: var(--y-50); border-radius: 0 var(--r-sm) var(--r-sm) 0; }
.prose table { width: 100%; border-collapse: collapse; display: block; overflow-x: auto; font-size: .95rem; }
.prose th, .prose td { text-align: left; padding: 10px 12px; border-bottom: 1px solid var(--line); }
.prose th { background: var(--y-50); }
.prose hr { border: 0; height: 1px; background: var(--line); margin: 2em 0; }
.prose iframe { max-width: 100%; border: 0; }
.prose .wp-block-group { margin: 0 0 1.2em; }
.prose .wp-block-group > :last-child { margin-bottom: 0; }
.prose .wp-block-columns { display: grid; gap: 20px; }
@media (min-width: 700px) { .prose .wp-block-columns { grid-auto-flow: column; grid-auto-columns: 1fr; } }
.prose .wp-block-heading { scroll-margin-top: 88px; }
.prose .has-text-align-center { text-align: center; }

/* Quick-link lists at the top of long pages become chips */
.prose .custom-698 { display: grid; gap: 4px 28px; grid-template-columns: repeat(auto-fit, minmax(min(100%, 200px), 1fr)); padding: 18px 20px; background: var(--y-50); border: 1px solid var(--line); border-radius: var(--r); }
.prose .custom-698 ul { list-style: none; padding: 0; margin: 0; }
.prose .custom-698 a { background: none; display: block; padding: 6px 0; border-bottom: 1px dashed var(--line); }
.prose .custom-698 a:hover { color: var(--y-600); }

/* Provider cards on the home page */
.prose .wp-block-group.has-background { background: #fff; border: 1px solid var(--line); border-radius: var(--r) !important; box-shadow: var(--shadow); margin: 0 0 20px; padding: clamp(18px, 4vw, 36px) !important; }
.prose .wp-block-group.has-background .wp-block-group__inner-container > :last-child { margin-bottom: 0; }
.prose h3.has-accent-color { color: var(--ink); border: 0 !important; padding: 0 !important; margin: 0 0 .6em !important; display: flex; align-items: center; gap: 12px; }
.prose h3.has-accent-color::before { content: ""; flex: none; width: 12px; height: 28px; border-radius: 4px; background: var(--y); }
.prose p[style] { margin-block: 0 1.1em !important; font-size: 1rem !important; }
.prose .wp-block-group.has-background a { word-break: break-word; }

/* FAQ / details accordion */
.prose details { background: #fff; border: 1px solid var(--line); border-radius: var(--r-sm); padding: 0 16px; margin: 0 0 10px; }
.prose summary { cursor: pointer; font-weight: 700; padding: 14px 0; }
.prose details[open] { border-color: var(--y); box-shadow: var(--shadow); }
.prose .saswp-faq-block-section, .prose .saswp-faq-list { margin: 0; }

/* Contact Form 7 */
.prose .wpcf7-form { display: grid; gap: 16px; padding: clamp(16px, 4vw, 28px); background: #fff; border: 1px solid var(--line); border-radius: var(--r); box-shadow: var(--shadow); }
.prose .wpcf7-form p { margin: 0; }
.prose label { display: grid; gap: 6px; font-weight: 700; font-size: .9375rem; }
input[type="text"], input[type="email"], input[type="url"], input[type="tel"], input[type="search"], input[type="number"], textarea, select {
	width: 100%; min-height: 48px; padding: 12px 14px; font: inherit; color: var(--ink); background: #fff;
	border: 1.5px solid var(--field); border-radius: 12px; transition: border-color .15s, box-shadow .15s;
}
textarea { min-height: 140px; resize: vertical; }
input:focus, textarea:focus, select:focus { outline: 2px solid #1A1A1A; outline-offset: 1px; border-color: var(--y-600); box-shadow: 0 0 0 4px var(--y-100); }
input[type="submit"], .wpcf7-submit { min-height: 48px; padding: .7em 1.6em; font: 700 1rem var(--font); background: var(--y); color: var(--ink); border: 2px solid var(--y); border-radius: 999px; cursor: pointer; }
input[type="submit"]:hover { background: var(--y-600); border-color: var(--y-600); }
.wpcf7-not-valid-tip, .wpcf7-response-output { font-size: .875rem; }

/* ---------- Search form ---------- */
.search { position: relative; display: block; }
.search input[type="search"] { padding-right: 52px; border-radius: 999px; }
.search button { position: absolute; right: 4px; top: 4px; width: 40px; height: 40px; display: grid; place-items: center; border: 0; border-radius: 50%; background: var(--y); color: var(--ink); cursor: pointer; }
.search button:hover { background: var(--y-600); }

/* ---------- Cards ---------- */
.grid { display: grid; gap: 16px; grid-template-columns: repeat(auto-fill, minmax(min(100%, 270px), 1fr)); }
.card { background: var(--card); border: 1px solid var(--line); border-radius: var(--r); transition: transform .18s, box-shadow .18s, border-color .18s; }
.card:hover { transform: translateY(-3px); box-shadow: var(--shadow-lg); border-color: var(--y); }
.card__link { display: flex; flex-direction: column; gap: 8px; height: 100%; padding: 20px; text-decoration: none; position: relative; }
.card__ico { display: grid; place-items: center; width: 40px; height: 40px; border-radius: 12px; background: var(--y-100); color: var(--ink); }
.card__tag { position: absolute; right: 18px; top: 22px; font-size: .6875rem; font-weight: 800; letter-spacing: .06em; text-transform: uppercase; color: var(--ink-3); }
.card__title { font-size: 1.0625rem; line-height: 1.3; margin: 4px 0 0; }
.card__txt { margin: 0; font-size: .9rem; line-height: 1.55; color: var(--ink-2); display: -webkit-box; -webkit-line-clamp: 3; -webkit-box-orient: vertical; overflow: hidden; }
.card__more { display: inline-flex; align-items: center; gap: 6px; margin-top: auto; padding-top: 6px; font-weight: 700; font-size: .875rem; }
.card:hover .card__more .ico { transform: translateX(4px); }
.card__more .ico { transition: transform .18s; }

/* ---------- Pagination ---------- */
.pagination { margin-top: 40px; }
.nav-links { display: flex; flex-wrap: wrap; gap: 8px; justify-content: center; }
.page-numbers { display: inline-grid; place-items: center; min-width: 44px; height: 44px; padding: 0 12px; border: 1px solid var(--line); border-radius: 12px; background: #fff; font-weight: 700; text-decoration: none; }
a.page-numbers:hover { border-color: var(--y); background: var(--y-50); }
.page-numbers.current { background: var(--y); border-color: var(--y); }
.page-numbers.dots { border: 0; background: none; }

/* ---------- CTA ---------- */
.cta { display: grid; gap: 16px; align-items: center; margin: clamp(32px, 6vw, 64px) 0; padding: clamp(22px, 4vw, 40px); background: linear-gradient(120deg, var(--y) 0, var(--y-200) 100%); border-radius: 24px; box-shadow: var(--shadow-lg); }
.cta__title { font-size: clamp(1.3rem, 3.6vw, 1.8rem); margin: 0 0 .3em; }
.cta p { margin: 0; color: #3b3317; }
.cta .btn { justify-self: start; }
@media (min-width: 760px) { .cta { grid-template-columns: 1fr auto; } }

/* ---------- 404 ---------- */
.notfound { max-width: 640px; text-align: center; }
.notfound__code { font-size: clamp(4rem, 18vw, 8rem); font-weight: 900; line-height: 1; margin: 0; color: var(--y); letter-spacing: -.05em; }
.notfound .search { margin: 24px 0; }

/* ---------- Footer ---------- */
.ftr { margin-top: 40px; background: var(--ink); color: #D9D3BE; position: relative; }
.ftr::before { content: ""; position: absolute; left: 0; right: 0; top: -14px; height: 14px; background: conic-gradient(var(--ink) 25%, var(--y) 0 50%, var(--ink) 0 75%, var(--y) 0) 0 0 / 28px 28px; }
.ftr a { color: #fff; text-decoration-color: var(--y); }
.ftr .brand__name { color: #fff; }
.ftr__top { display: grid; gap: 18px; align-items: center; padding-block: 32px 22px; border-bottom: 1px solid #2B2616; }
.ftr__about p { margin: 8px 0 0; max-width: 46ch; font-size: .9375rem; color: #BDB69E; }
.ftr__tools { display: flex; flex-wrap: wrap; gap: 8px; }
.ftr__btn { display: inline-flex; align-items: center; min-height: 40px; padding: 8px 18px; border-radius: 999px; background: var(--y); color: #1A1A1A !important; font-weight: 700; font-size: .9375rem; text-decoration: none; }
.ftr__btn:hover { filter: brightness(1.06); }
.ftr__btn--ghost { background: transparent; color: #fff !important; box-shadow: inset 0 0 0 1.5px #4A4328; }
.ftr__btn--ghost:hover { box-shadow: inset 0 0 0 1.5px var(--y); filter: none; }
.ftr__search { max-width: 340px; }
.ftr__links { display: grid; gap: 18px; padding-block: 22px; }
.ftr__h { font-size: .75rem; letter-spacing: .1em; text-transform: uppercase; color: var(--y); margin: 0 0 10px; }
.ftr__chips { list-style: none; margin: 0; padding: 0; display: flex; flex-wrap: wrap; gap: 6px 8px; }
.ftr__chips a { display: inline-flex; align-items: center; min-height: 32px; padding: 4px 12px; border-radius: 999px; background: #241F11; font-size: .875rem; text-decoration: none; }
.ftr__chips a:hover { background: #342D17; box-shadow: inset 0 0 0 1px var(--y); }
.ftr .search input { background: #241F11; border-color: #3A3420; color: #fff; }
.ftr .search input::placeholder { color: #A39C84; }
.ftr__bar { border-top: 1px solid #2B2616; padding-block: 16px 22px; font-size: .8125rem; color: #A39C84; }
.ftr__bar p { margin: 0; max-width: 90ch; }
@media (min-width: 800px) {
	.ftr__top { grid-template-columns: 1.3fr auto minmax(240px, 340px); gap: 28px; }
	.ftr__links { grid-template-columns: 1.4fr 1fr; gap: 40px; }
}

/* ---------- Home: town chips ---------- */
.hero__ask { margin: 22px 0 10px; font-weight: 800; font-size: .9375rem; }
.towns, .provs__chips { display: flex; flex-wrap: wrap; gap: 8px; }
.tchip { display: inline-flex; align-items: center; gap: 6px; min-height: 44px; padding: 8px 14px; font: 700 .9375rem/1.2 var(--font); color: var(--ink); background: #fff; border: 1.5px solid var(--line); border-radius: 999px; text-decoration: none; cursor: pointer; transition: background .15s, border-color .15s, transform .15s; }
.tchip .ico { width: 16px; height: 16px; color: var(--y-600); }
.tchip:hover { border-color: var(--y); background: var(--y-50); transform: translateY(-1px); }
.tchip.is-on { background: var(--y); border-color: var(--y); }
.hero__cta { margin-block: 20px 22px; }
.hero__facts li:last-child { color: var(--ink-3); }

/* ---------- Home: popular routes ---------- */
.routes { padding-block: clamp(28px, 5vw, 48px) 0; }
.routes__head { display: grid; gap: 12px; align-items: center; margin-bottom: 14px; }
.routes__title { margin: 0; font-size: clamp(1.25rem, 3.4vw, 1.6rem); }
.routes__search { max-width: 420px; width: 100%; }
.routes__list { list-style: none; margin: 0; padding: 0; display: grid; gap: 10px; grid-template-columns: repeat(auto-fill, minmax(min(100%, 260px), 1fr)); }
.route { display: flex; align-items: center; gap: 12px; height: 100%; padding: 12px 14px; background: #fff; border: 1px solid var(--line); border-radius: 14px; text-decoration: none; transition: border-color .15s, box-shadow .15s, transform .15s; }
.route:hover { border-color: var(--y); box-shadow: var(--shadow); transform: translateY(-2px); }
.route__ico { flex: none; display: grid; place-items: center; width: 38px; height: 38px; border-radius: 11px; background: var(--y-100); }
.route__txt { display: grid; gap: 2px; min-width: 0; font-size: .9375rem; line-height: 1.25; }
.route__from { font-weight: 800; }
.route__to { display: inline-flex; align-items: center; gap: 4px; color: var(--ink-2); }
.route__to .ico { width: 14px; height: 14px; flex: none; color: var(--y-600); }
@media (min-width: 760px) { .routes__head { grid-template-columns: 1fr auto; } }

/* ---------- Home: provider cards ---------- */
.provs { margin: 8px 0 32px; max-width: none; }
.provs__bar { display: grid; gap: 10px; margin-bottom: 18px; padding: 14px; background: var(--y-50); border: 1px solid var(--line); border-radius: var(--r); position: sticky; top: 72px; z-index: 5; }
.provs__label { margin: 0; font-weight: 800; font-size: .9375rem; }
.provs__count { margin: 0; font-size: .8125rem; color: var(--ink-3); }
.provs__grid { display: grid; gap: 16px; grid-template-columns: repeat(auto-fill, minmax(min(100%, 340px), 1fr)); }
.provs__empty { padding: 16px; border: 1px dashed var(--line); border-radius: var(--r); color: var(--ink-2); }
.prov { display: flex; flex-direction: column; gap: 12px; padding: clamp(16px, 3.5vw, 22px); background: #fff; border: 1px solid var(--line); border-radius: var(--r); box-shadow: var(--shadow); scroll-margin-top: 150px; }
.prov[hidden] { display: none; }
.prov__head { display: grid; gap: 8px; }
.prose .prov__name, .prov__name { margin: 0; font-size: 1.1875rem; display: flex; align-items: center; gap: 10px; }
.prov__name::before { content: ""; flex: none; width: 8px; height: 22px; border-radius: 3px; background: var(--y); }
.prose .prov__tags { list-style: none; display: flex; flex-wrap: wrap; gap: 6px; margin: 0; padding: 0; }
.prov__tags { list-style: none; display: flex; flex-wrap: wrap; gap: 6px; margin: 0; padding: 0; }
.prose .prov__tags li { margin: 0; }
.prov__tags li { padding: 3px 10px; font-size: .75rem; font-weight: 700; background: var(--y-100); border-radius: 999px; }
.prose .prov__desc { margin: 0; font-size: .9688rem; color: var(--ink-2); }
.prov__meta { margin: 0; display: grid; gap: 6px; font-size: .9rem; }
.prov__meta > div { display: grid; grid-template-columns: 4.2em 1fr; gap: 8px; }
.prov__meta dt { color: var(--ink-3); font-weight: 700; }
.prov__meta dd { margin: 0; min-width: 0; }
.prov__actions { display: flex; flex-wrap: wrap; gap: 8px; margin-top: auto; }
.prose .prov__actions a { background: var(--y); }
.prose .prov__actions a.btn--ghost { background: transparent; }
.prose .prov__actions a:hover { background-size: auto; }
.prose .prov__actions .btn:hover { background: var(--y-600); }
.prose .prov__actions .btn--ghost:hover { background: var(--ink); color: #fff; }
.prov__actions .btn { flex: 1 1 auto; font-weight: 700; }
.prov__more { border: 0; border-top: 1px solid var(--line); border-radius: 0; padding: 0; margin: 0; box-shadow: none; }
.prose .prov__more[open] { box-shadow: none; border-color: var(--line); }
.prov__more summary { padding: 10px 0 4px; font-size: .875rem; color: var(--ink-2); }
.prov__more p { margin: .5em 0 0; font-size: .9rem; }

/* ---------- Comparison table ---------- */
.provs__sub { margin: 40px 0 14px; font-size: clamp(1.2rem, 3vw, 1.5rem); }
.prose .provs__sub::before { display: none; }
.ptable { position: relative; overflow-x: auto; background: #fff; border: 1px solid var(--line); border-radius: var(--r); box-shadow: var(--shadow); -webkit-overflow-scrolling: touch; }
.prose .ptable table, .ptable table { display: table; width: 100%; min-width: 720px; border-collapse: separate; border-spacing: 0; font-size: .9rem; overflow: visible; }
.ptable th, .ptable td { padding: 12px 14px; text-align: left; vertical-align: top; border-bottom: 1px solid var(--line); background: #fff; }
.ptable thead th { position: sticky; top: 0; background: var(--y-50); font-size: .75rem; letter-spacing: .05em; text-transform: uppercase; color: var(--ink-2); white-space: nowrap; }
.ptable tbody tr:last-child > * { border-bottom: 0; }
.ptable tbody th { font-weight: 800; min-width: 130px; }
.ptable td:nth-child(2) { min-width: 230px; }
.ptable td:nth-child(3) { min-width: 150px; }
.ptable th:first-child { position: sticky; left: 0; z-index: 1; box-shadow: 1px 0 0 var(--line); }
.ptable tbody tr:hover > * { background: var(--y-50); }
.ptable__c { text-align: center !important; font-weight: 800; color: var(--ink); white-space: nowrap; }
.ptable__no { color: var(--ink-3); }
.ptable__call a { white-space: nowrap; font-weight: 700; }
.prose .ptable a { background: none; }
.ptable tr[hidden] { display: none; }
.provs__pages { display: flex; flex-wrap: wrap; align-items: center; gap: 8px 14px; margin-top: 18px; font-size: .9375rem; }
.provs__pages span { font-weight: 800; }
.provs__pages a { font-weight: 700; }

/* ---------- Town pages ---------- */
.town > * + * { margin-top: clamp(28px, 5vw, 48px); }
.town h2 { font-size: clamp(1.3rem, 3.4vw, 1.75rem); margin-bottom: 14px; }
.town__lead { max-width: 62ch; }
.town .provs { margin: 0; }
.town__faq { max-width: 74ch; }
.faq { background: #fff; border: 1px solid var(--line); border-radius: var(--r-sm); padding: 0 16px; margin: 0 0 10px; }
.faq summary { cursor: pointer; font-weight: 700; padding: 14px 0; }
.faq[open] { border-color: var(--y); box-shadow: var(--shadow); }
.faq p { margin: 0 0 14px; color: var(--ink-2); }
.town__more { margin: 20px 0 0; }
.town__others .towns { margin-top: 4px; }

/* ---------- Fare estimator ---------- */
.est { display: grid; gap: 16px; align-items: start; }
.est__form, .est__out > *:not(.est__cards) { min-width: 0; }
.est__form { order: 2; background: #fff; border: 1px solid var(--line); border-radius: 20px; padding: clamp(16px, 4vw, 28px); box-shadow: var(--shadow); display: grid; gap: 18px; }
.est__h { margin: 0; font-size: 1.25rem; }
.est__out { display: contents; }
.est__cards { order: 1; position: sticky; top: 68px; z-index: 6; display: grid; grid-template-columns: 1fr 1fr; gap: 10px; padding: 8px 0; background: linear-gradient(var(--bg) 78%, transparent); }
.est__verdict, .est__break, .est__cta, .est__note, .est__out noscript { order: 3; }
.field { display: grid; gap: 6px; border: 0; padding: 0; margin: 0; min-width: 0; }
.field > label, .field > legend { font-weight: 800; font-size: .9375rem; padding: 0; }
.field-row { display: grid; gap: 14px; grid-template-columns: 1fr 1fr; }
.hint { color: var(--ink-3); font-size: .8125rem; }
.stepper { display: grid; grid-template-columns: 52px 1fr 52px; gap: 8px; }
.stepper button { min-height: 52px; font: 700 1.5rem/1 var(--font); color: var(--ink); background: var(--y-100); border: 1.5px solid var(--y); border-radius: 12px; cursor: pointer; }
.stepper button:hover { background: var(--y); }
.stepper input { text-align: center; font-size: 1.375rem; font-weight: 800; min-height: 52px; }
.est__quick { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 4px; }
.est__quick .tchip { min-height: 38px; padding: 6px 12px; font-size: .875rem; }
.seg__row { display: grid; grid-template-columns: repeat(2, 1fr); gap: 8px; }
.seg__opt { position: relative; display: block; cursor: pointer; font-weight: 700; }
.seg__opt input { position: absolute; opacity: 0; inset: 0; width: 100%; height: 100%; min-height: 0; margin: 0; cursor: pointer; }
.seg__opt span { display: grid; gap: 2px; justify-items: center; padding: 10px 6px; text-align: center; font-size: .9375rem; background: #fff; border: 1.5px solid var(--field); border-radius: 12px; transition: background .15s, border-color .15s; }
.seg__opt small { font-weight: 600; color: var(--ink-3); font-size: .75rem; }
.seg__opt input:checked + span { background: var(--y); border-color: var(--y); }
.seg__opt input:checked + span small { color: var(--ink); }
.seg__opt input:focus-visible + span { outline: 3px solid var(--ink); outline-offset: 2px; }
.est__actions { display: flex; flex-wrap: wrap; gap: 10px; }
.est__actions .btn { flex: 1 1 auto; }

.ecard { background: #fff; border: 1.5px solid var(--line); border-radius: 16px; padding: 12px 14px; box-shadow: var(--shadow); min-width: 0; position: relative; transition: border-color .2s, background .2s; }
.ecard.is-best { border-color: var(--y); background: var(--y-50); }
.ecard.is-best::after { content: "Likely cheaper"; position: absolute; top: -9px; right: 10px; padding: 1px 9px; font-size: .6875rem; font-weight: 800; letter-spacing: .03em; background: var(--y); border-radius: 999px; }
.ecard__k { margin: 0; font-size: .75rem; font-weight: 800; letter-spacing: .05em; text-transform: uppercase; color: var(--ink-3); }
.ecard__v { margin: 2px 0; font-size: clamp(1.15rem, 5.2vw, 1.75rem); font-weight: 900; letter-spacing: -.02em; line-height: 1.15; white-space: nowrap; }
.ecard__s { margin: 0; font-size: .75rem; line-height: 1.35; color: var(--ink-2); }
.est__verdict { margin: 0; font-weight: 700; font-size: 1.0625rem; }
.est__break { background: #fff; border: 1px solid var(--line); border-radius: var(--r); padding: 0 16px; }
.est__break summary { cursor: pointer; font-weight: 800; padding: 14px 0; }
.est__cols { display: grid; gap: 16px; padding-bottom: 14px; }
.est__cols h3 { margin: 0 0 6px; font-size: .9375rem; }
.est__cols dl { margin: 0; display: grid; gap: 0; font-size: .9rem; }
.est__cols dl > div { display: flex; justify-content: space-between; gap: 12px; padding: 6px 0; border-bottom: 1px dashed var(--line); }
.est__cols dt { color: var(--ink-2); }
.est__cols dd { margin: 0; font-variant-numeric: tabular-nums; }
.est__cta { padding: 16px; background: var(--ink); color: #fff; border-radius: var(--r); }
.est__ctah { margin: 0 0 10px; font-weight: 800; }
.est__cta .tchip { min-height: 40px; padding: 6px 12px; font-size: .875rem; }
.est__note { margin: 0; font-size: .8125rem; color: var(--ink-3); }

.est__sections { display: grid; gap: clamp(28px, 5vw, 56px); margin-top: clamp(32px, 6vw, 64px); }
.est__block h2 { font-size: clamp(1.3rem, 3.4vw, 1.75rem); margin-bottom: 14px; }
.est__block h3 { font-size: 1.0625rem; margin-bottom: 8px; }
.est__two { display: grid; gap: 20px; margin-bottom: 14px; }
.rates { list-style: none; margin: 12px 0 0; padding: 0; background: #fff; border: 1px solid var(--line); border-radius: var(--r); }
.rates li { display: flex; justify-content: space-between; gap: 12px; padding: 10px 14px; border-bottom: 1px solid var(--line); font-size: .9375rem; }
.rates li:last-child { border-bottom: 0; }
.rates b { white-space: nowrap; }
.checks { list-style: none; margin: 0; padding: 0; display: grid; gap: 10px; max-width: 74ch; }
.checks li { position: relative; padding: 12px 14px 12px 44px; background: #fff; border: 1px solid var(--line); border-radius: var(--r-sm); }
.checks li::before { content: "\2713"; position: absolute; left: 14px; top: 11px; width: 20px; height: 20px; display: grid; place-items: center; font-weight: 900; font-size: .8125rem; background: var(--y); border-radius: 50%; }
.est__faq { max-width: 74ch; }
.fullguide { border: 1px solid var(--line); border-radius: var(--r); background: #fff; padding: 0 clamp(14px, 3vw, 24px); }
.fullguide > summary { cursor: pointer; font-weight: 800; padding: 16px 0; }
.fullguide[open] > summary { border-bottom: 1px solid var(--line); margin-bottom: 18px; }

@media (min-width: 700px) {
	.est__two { grid-template-columns: 1fr 1fr; }
	.est__cols { grid-template-columns: 1fr 1fr; }
	.seg__row { grid-template-columns: repeat(4, 1fr); }
}
@media (min-width: 960px) {
	.est { grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 28px; }
	.est__form { order: 0; }
	.est__out { display: grid; gap: 16px; position: sticky; top: 84px; }
	.est__cards { position: static; padding: 0; background: none; order: 0; gap: 14px; }
	.ecard { padding: 18px 20px; }
	.ecard__v { font-size: clamp(1.4rem, 2.6vw, 2rem); }
	.ecard__s { font-size: .8125rem; }
}
@media (max-width: 380px) { .est__quick .tchip { padding: 6px 10px; } .stepper { grid-template-columns: 46px 1fr 46px; } }

/* ---------- Home: mobile action bar ---------- */
.mbar { display: none; }
@media (max-width: 759px) {
	.mbar { display: flex; gap: 8px; position: fixed; left: 0; right: 0; bottom: 0; z-index: 40; padding: 10px var(--gut) calc(10px + env(safe-area-inset-bottom)); background: rgba(255, 254, 250, .95); -webkit-backdrop-filter: blur(10px); backdrop-filter: blur(10px); border-top: 1px solid var(--line); box-shadow: 0 -8px 24px -16px rgba(22, 19, 10, .35); }
	.mbar .btn { flex: 1 1 0; min-height: 46px; }
	.home .ftr { padding-bottom: 72px; }
	.provs__bar { top: 64px; }
}

/* ---------- Small screens (320px) ---------- */
@media (max-width: 380px) {
	:root { --gut: 14px; }
	.brand__name { font-size: 1rem; }
	.prose { font-size: 1rem; }
	.card__link { padding: 16px; }
	.crumbs [aria-current] { max-width: 22ch; }
}

@media (prefers-reduced-motion: reduce) {
	* { transition: none !important; scroll-behavior: auto !important; }
}
@media print {
	.hdr, .ftr, .cta, .toc, .navbtn { display: none; }
}

/* ---------- Estimator extras ---------- */
.check { display: flex; align-items: flex-start; gap: 10px; font-size: .9375rem; cursor: pointer; }
.check input { flex: none; width: 22px; height: 22px; min-height: 0; margin: 2px 0 0; accent-color: var(--y-600); }
.est__sub { margin: 18px 0 0; font-size: .875rem; letter-spacing: .02em; text-transform: uppercase; color: var(--ink-3); }

/* ---------- Providers: features filter, collapse, notes ---------- */
.provs__bar { gap: 8px; }
.provs__label + .provs__chips { margin-bottom: 6px; }
.tchip--feat { min-height: 38px; padding: 6px 12px; font-size: .875rem; }
.tchip--feat.is-on::before { content: "\2713"; font-weight: 900; }
.provs--collapsed .provs__grid > .prov:nth-child(n+10) { display: none; }
.provs__more-wrap { margin: 18px 0 0; text-align: center; }
.provs__more-wrap[hidden] { display: none; }
.prov__note { color: var(--ink-2); background: var(--y-50); border-radius: 10px; padding: 8px 12px; }
.ptable { max-height: 70vh; overflow-y: auto; }
@media (max-width: 759px) { .provs__bar { position: static; } }
.prov__tags .is-warn { background: #fff; border: 1px dashed var(--ink-3); color: var(--ink-2); }

/* ---------- Estimator: routes ---------- */
.est__route { gap: 8px; padding-bottom: 4px; border-bottom: 1px dashed var(--line); }
.est__route select { min-height: 48px; }
.rcat { background: #fff; border: 1px solid var(--line); border-radius: var(--r-sm); margin: 0 0 10px; padding: 0 12px; }
.rcat > summary { cursor: pointer; font-weight: 800; padding: 14px 0; display: flex; align-items: center; gap: 10px; }
.rcat[open] { border-color: var(--y); }
.rcat__n { margin-left: auto; font-size: .8125rem; font-weight: 700; color: var(--ink-2); background: var(--y-100); border-radius: 999px; padding: 2px 10px; }
.rtable { position: relative; overflow-x: auto; margin: 0 0 12px; border-top: 1px solid var(--line); -webkit-overflow-scrolling: touch; }
.rtable table { width: 100%; min-width: 560px; border-collapse: collapse; font-size: .9rem; }
.rtable th, .rtable td { text-align: left; padding: 9px 10px; border-bottom: 1px solid var(--line); vertical-align: top; }
.rtable thead th { font-size: .75rem; letter-spacing: .05em; text-transform: uppercase; color: var(--ink-3); white-space: nowrap; }
.rtable tbody th { font-weight: 700; }
.rtable td:nth-child(3), .rtable td:nth-child(4) { white-space: nowrap; color: var(--ink-2); }
.rtable td:last-child { text-align: right; white-space: nowrap; }
.rtable tbody tr:hover > * { background: var(--y-50); }
.est__sections > *, .est__block, .rcat { min-width: 0; }

/* ---------- Route taxis box, touch targets ---------- */
.rtaxis { margin: clamp(24px, 5vw, 40px) 0 0; padding: clamp(16px, 4vw, 24px); background: var(--y-50); border: 1px solid var(--line); border-radius: var(--r); }
.rtaxis__h { font-size: 1.25rem; margin: 0 0 .3em; }
.rtaxis p { margin: 0 0 12px; color: var(--ink-2); }
.crumbs a { display: inline-block; padding: 6px 0; }
.crumbs [aria-current] { padding: 6px 0; vertical-align: middle; }
@media (pointer: coarse) { .est__quick .tchip, .tchip--feat { min-height: 44px; } }

/* ---------- Company profile ---------- */
.company > * + * { margin-top: clamp(24px, 5vw, 44px); }
.company h2 { font-size: clamp(1.2rem, 3vw, 1.5rem); margin-bottom: 10px; }
.company__lead { max-width: 62ch; margin-bottom: 0; }
.company__grid { display: grid; gap: 24px; align-items: start; }
.company__main { min-width: 0; display: grid; gap: 22px; }
.facts { margin: 0; display: grid; gap: 0; background: #fff; border: 1px solid var(--line); border-radius: var(--r); padding: 4px 18px; }
.facts > div { display: grid; grid-template-columns: 7em 1fr; gap: 12px; padding: 12px 0; border-bottom: 1px solid var(--line); }
.facts > div:last-child { border-bottom: 0; }
.facts dt { color: var(--ink-3); font-weight: 700; }
.facts dd { margin: 0; min-width: 0; overflow-wrap: anywhere; }
.company__ten { margin: 0; padding: 12px 16px; background: var(--y-50); border-radius: var(--r-sm); }
.company__pc { display: grid; gap: 16px; }
.company__pc p { margin: 0; color: var(--ink-2); }
.company__card { display: grid; gap: 10px; padding: 18px; background: var(--y-50); border: 1px solid var(--line); border-radius: var(--r); }
.company__areas { margin-top: 18px; }
@media (min-width: 900px) {
	.company__grid { grid-template-columns: minmax(0, 1fr) 320px; gap: 40px; }
	.company__side { position: sticky; top: 90px; }
	.company__pc { grid-template-columns: 1fr 1fr; }
}

/* ---------- Route price pages ---------- */
.rp > * + * { margin-top: clamp(24px, 5vw, 44px); }
.rp h2 { font-size: clamp(1.2rem, 3vw, 1.5rem); margin-bottom: 10px; }
.rp__stats { list-style: none; margin: 0; padding: 0; display: grid; gap: 10px; grid-template-columns: repeat(auto-fit, minmax(150px, 1fr)); }
.rp__stats li { display: grid; gap: 2px; padding: 14px 16px; background: #fff; border: 1px solid var(--line); border-radius: var(--r); box-shadow: var(--shadow); }
.rp__stats span { font-size: .8125rem; color: var(--ink-3); font-weight: 700; }
.rp__stats strong { font-size: clamp(1.3rem, 4vw, 1.75rem); letter-spacing: -.02em; }
.rp__cta { margin: 0; }
.rp__links { list-style: none; margin: 0; padding: 0; display: grid; gap: 4px; }
.rp__links li { display: flex; justify-content: space-between; gap: 12px; padding: 9px 12px; background: #fff; border: 1px solid var(--line); border-radius: 10px; }
.rp__links a { font-weight: 700; text-decoration: none; }
.rp__links a:hover { text-decoration: underline; }
.rp__links span { color: var(--ink-2); white-space: nowrap; font-weight: 700; }
@media (min-width: 760px) { .rp__links--cols { grid-template-columns: 1fr 1fr; } }
.rcalc { margin-left: 8px; font-size: .8125rem; font-weight: 700; color: var(--ink-2); }

/* ---------- Compare, sort, near me ---------- */
.cmp { display: inline-flex; align-items: center; gap: 8px; font-size: .875rem; font-weight: 700; cursor: pointer; width: fit-content; }
.cmp input { width: 20px; height: 20px; min-height: 0; margin: 0; accent-color: var(--y-600); }
.cmpbar { position: fixed; left: 50%; bottom: 16px; transform: translateX(-50%); z-index: 45; display: flex; align-items: center; gap: 10px; flex-wrap: wrap; justify-content: center; max-width: calc(100% - 24px); padding: 10px 14px; background: var(--ink); color: #fff; border-radius: 999px; box-shadow: var(--shadow-lg); }
.cmpbar[hidden] { display: none; }
.cmpbar__txt { font-weight: 700; font-size: .9rem; }
.cmpbar .btn--ghost { color: #fff; border-color: #fff; }
.cmpbar .btn:disabled { opacity: .5; cursor: not-allowed; }
@media (max-width: 759px) { .home .cmpbar { bottom: 76px; } }
.cmpdlg { border: 0; padding: 0; border-radius: 20px; width: min(960px, calc(100% - 24px)); max-height: calc(100% - 24px); box-shadow: var(--shadow-lg); color: var(--ink); background: var(--bg); }
.cmpdlg::backdrop { background: rgba(22, 19, 10, .55); }
.cmpdlg__in { padding: clamp(14px, 3vw, 24px); }
.cmpdlg__top { display: flex; justify-content: space-between; align-items: center; gap: 12px; margin-bottom: 12px; }
.cmpdlg__top h2 { margin: 0; font-size: 1.25rem; }
.cmpdlg__x { width: 44px; height: 44px; border: 1px solid var(--line); border-radius: 12px; background: #fff; font-size: 1.5rem; line-height: 1; cursor: pointer; }
.cmpdlg__scroll { overflow: auto; border: 1px solid var(--line); border-radius: var(--r); background: #fff; }
.cmpdlg table { width: 100%; min-width: 560px; border-collapse: collapse; font-size: .9rem; }
.cmpdlg th, .cmpdlg td { text-align: left; padding: 10px 12px; vertical-align: top; border-bottom: 1px solid var(--line); overflow-wrap: anywhere; }
.cmpdlg tbody th { width: 9em; color: var(--ink-3); }
.cmpdlg thead th { background: var(--y-50); }
.cmpdlg__unc { display: block; font-weight: 600; color: var(--ink-2); font-size: .75rem; }
.sortbtn { all: unset; cursor: pointer; display: inline-flex; align-items: center; gap: 4px; white-space: nowrap; font: inherit; text-transform: inherit; letter-spacing: inherit; }
.sortbtn:focus-visible { outline: 3px solid var(--ink); outline-offset: 3px; border-radius: 4px; }
.sortbtn__i::after { content: "\2195"; opacity: .45; }
th[aria-sort="ascending"] .sortbtn__i::after { content: "\2191"; opacity: 1; }
th[aria-sort="descending"] .sortbtn__i::after { content: "\2193"; opacity: 1; }
.provs__near { display: flex; flex-wrap: wrap; align-items: center; gap: 8px 12px; margin: 0; font-size: .875rem; color: var(--ink-2); }
.tchip--loc { min-height: 40px; }

/* ---------- Print ---------- */
.est__print { display: none; }
@media print {
	.hdr, .ftr, .mbar, .cmpbar, .skip, .toc, .cta, .est__form, .est__actions, .est__sections, .est__cta, .pagehead__desc, .crumbs, .navbtn, .est__quick, noscript { display: none !important; }
	body { background: #fff; color: #000; font-size: 11pt; }
	.pagehead { background: none; border: 0; padding: 0 0 8pt; }
	.pagehead__title { font-size: 18pt; }
	.est { display: block; }
	.est__print { display: block; margin-bottom: 10pt; }
	.est__print h2 { font-size: 14pt; margin: 0 0 4pt; }
	.est__print ul { margin: 6pt 0 0; padding-left: 14pt; }
	.est__cards { position: static; background: none; display: grid; grid-template-columns: 1fr 1fr; gap: 8pt; }
	.ecard { box-shadow: none; border: 1pt solid #000; break-inside: avoid; }
	.est__break { border: 0; padding: 0; }
	.est__break summary { display: none; }
	.est__note { font-size: 9pt; color: #000; }
	a { text-decoration: none; color: #000; }
}
.hero__media picture { display: block; height: 100%; }
.rp__article { max-width: 74ch; } .rp__article ul { margin-bottom: 1em; }

/* Estimator modes: one page for Uber, one for taxis */
.est--uber [data-only="taxi"],
.est--taxi [data-only="uber"] { display: none !important; }

/* Touch targets in the route price tables */
.rtable td a, .rtable th a { display: inline-block; min-height: 24px; padding: 4px 2px; line-height: 1.3; }

/* Report a mistake button */
.report { position: fixed; left: 12px; bottom: 12px; z-index: 40; display: inline-flex; align-items: center; gap: 6px; min-height: 40px; padding: 8px 14px; border-radius: 999px; background: #1A1A1A; color: #fff; font-size: .875rem; font-weight: 600; text-decoration: none; box-shadow: 0 4px 14px rgba(0,0,0,.25); }
.report:hover { background: #333; color: #fff; }
.report:focus-visible { outline: 3px solid var(--y-600, #FDB813); outline-offset: 2px; }
.report svg { width: 16px; height: 16px; stroke: currentColor; fill: none; stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; }
@media (max-width: 480px) { .report span { display: none; } .report { padding: 10px; min-width: 40px; justify-content: center; } }
@media print { .report { display: none; } }

.ecard__split { font-weight: 600; }
.est__cross { margin: 14px 0 0; }

.est__presets { display: flex; flex-wrap: wrap; gap: 6px; margin: 0 0 10px; }
.est__presets .tchip[aria-pressed="true"] { background: var(--y-500, #FDB813); border-color: var(--y-600, #E5A400); color: #1A1A1A; }

.est__round { margin: 4px 0 12px; }

.est__recent { margin: 14px 0 0; }
.est__recent-h { margin: 0 0 6px; font-weight: 600; }
.est__recent-list { display: flex; flex-wrap: wrap; gap: 6px; list-style: none; margin: 0 0 4px; padding: 0; }
.est__link { background: none; border: 0; padding: 4px; font: inherit; font-weight: 400; text-decoration: underline; color: inherit; cursor: pointer; min-height: 24px; }
@media print { .est__recent { display: none; } }

.est__guide { margin: 14px 0 0; }

.rp__hint { margin: 12px 0 0; }

.cta__btns { display: flex; flex-wrap: wrap; gap: 10px; }
.plan { margin-top: 28px; }
.plan__list { margin: 0; padding-left: 1.2em; }
.plan__list li { margin: 6px 0; }

@media (max-width: 767px) { body.home .report { bottom: 76px; } }

/* Footer: tighter on phones and tablets */
.ftr__top { padding-block: 24px 16px; gap: 12px; }
.ftr__links { padding-block: 16px; gap: 14px; }
.ftr__h { margin-bottom: 8px; }
.ftr__chips { gap: 5px 6px; }
.ftr__chips a { min-height: 28px; padding: 2px 10px; font-size: .8125rem; }
.ftr__bar { padding-block: 12px 16px; }
@media (max-width: 767px) {
	.ftr__search { display: none; }
	.ftr__about p { display: none; }
	.ftr__tools { gap: 6px; }
	.ftr__btn { min-height: 38px; padding: 6px 14px; font-size: .875rem; }
}
@media (min-width: 768px) and (max-width: 1099px) {
	.ftr__top { grid-template-columns: 1fr auto; }
	.ftr__search { grid-column: 1 / -1; max-width: none; }
}
@media (max-width: 767px) {
	.ftr__chips { flex-wrap: nowrap; overflow-x: auto; scrollbar-width: none; -webkit-overflow-scrolling: touch; margin-inline: calc(var(--gut) * -1); padding-inline: var(--gut); padding-bottom: 2px; }
	.ftr__chips::-webkit-scrollbar { display: none; }
	.ftr__chips li { flex: 0 0 auto; }
	.ftr__links { gap: 12px; }
}
.ftr .brand img, .ftr .brand picture img { max-height: 44px; width: auto; }
.ftr__group, .ftr__links > *, .ftr__top > * { min-width: 0; }

.rp__checked { margin: 8px 0 0; font-size: .875rem; color: var(--ink-3); }

.glance { margin: 0 0 24px; padding: 16px 18px; border: 1px solid var(--line); border-radius: 14px; background: #FFF8E1; }
.glance__h { font-size: 1.0625rem; margin: 0 0 10px; }
.glance__list { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(auto-fit, minmax(130px, 1fr)); gap: 10px; }
.glance__list span { display: block; font-size: .8125rem; color: var(--ink-3); }
.glance__list b { font-size: 1.125rem; }
.glance__note { margin: 10px 0 0; font-size: .875rem; color: var(--ink-3); }

/* Long route lists: let the browser skip layout of closed sections until they are needed */
.rcat { content-visibility: auto; contain-intrinsic-size: auto 56px; }

.oc-hp { position: absolute !important; left: -9999px; width: 1px; height: 1px; overflow: hidden; }
