/* Best Car Travels blog styles. Self-contained: does not depend on the homepage's CSS. */
:root {
  --yellow: #FFD700;
  --yellow-deep: #b38f00;
  --ink: #1a1a1a;
  --text: #262626;
  --muted: #525252;
  --line: #e4e4e0;
  --paper: #ffffff;
  --mist: #f6f5f0;
  --wa: #15803d;
  --wa-dark: #166534;
  --radius: 10px;
  --col: 44rem;
  --wide: 70rem;
}
*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body {
  margin: 0;
  font-family: 'Inter', system-ui, -apple-system, 'Segoe UI', Roboto, Arial, sans-serif;
  font-size: 1.0625rem;
  line-height: 1.75;
  color: var(--text);
  background: var(--paper);
  padding-bottom: calc(64px + env(safe-area-inset-bottom, 0px)); /* room for the mobile call bar */
}
img { max-width: 100%; height: auto; }
a { color: var(--ink); text-decoration: underline; text-decoration-color: var(--yellow); text-decoration-thickness: 2px; text-underline-offset: 3px; }
a:hover { background: var(--yellow); text-decoration-color: var(--ink); }
:focus-visible { outline: 3px solid var(--ink); outline-offset: 2px; box-shadow: 0 0 0 5px var(--yellow); }
.skip { position: absolute; left: 8px; top: -60px; z-index: 1000; background: var(--ink); color: #fff; padding: 10px 16px; border-radius: 8px; font-weight: 700; text-decoration: none; }
.skip:focus { top: 8px; background: var(--ink); }
.wrap { width: min(100% - 2rem, var(--wide)); margin-inline: auto; }
.col { width: min(100% - 2rem, var(--col)); margin-inline: auto; }

/* taxi checker band: the one memorable brand device */
.checker { height: 10px; background: repeating-conic-gradient(var(--ink) 0 25%, var(--yellow) 0 50%) 0 0 / 20px 20px; }

/* header */
.site-header { background: var(--paper); border-bottom: 1px solid var(--line); }
.bar { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: .5rem 1.25rem; padding: .75rem 0; }
.brand { display: inline-flex; align-items: center; gap: .6rem; text-decoration: none; font-weight: 800; letter-spacing: -.01em; color: var(--ink); }
.brand:hover { background: none; }
.brand img { height: 40px; width: auto; }
.mainnav { display: flex; flex-wrap: wrap; align-items: center; gap: .25rem 1.1rem; font-size: .95rem; font-weight: 600; }
.mainnav a { text-decoration: none; padding: .35rem 0; border-bottom: 2px solid transparent; }
.mainnav a:hover { background: none; border-bottom-color: var(--yellow); }
.mainnav a[aria-current="page"] { border-bottom-color: var(--ink); }

/* buttons */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: .5rem; min-height: 46px; padding: .6rem 1.25rem; border-radius: 999px; font-weight: 700; font-size: 1rem; line-height: 1.2; text-decoration: none; border: 2px solid transparent; cursor: pointer; font-family: inherit; }
.btn:hover { background: none; }
.btn-call { background: var(--yellow); color: var(--ink); border-color: var(--yellow); }
.btn-call:hover { background: #ffe34d; border-color: #ffe34d; }
.btn-wa { background: var(--wa); color: #fff; border-color: var(--wa); }
.btn-wa:hover { background: var(--wa-dark); border-color: var(--wa-dark); }
.btn-line { background: transparent; color: var(--ink); border-color: var(--ink); }
.btn-line:hover { background: var(--ink); color: #fff; }
.btn-sm { min-height: 38px; padding: .35rem 1rem; font-size: .9rem; }

/* breadcrumbs */
.crumbs { font-size: .875rem; color: var(--muted); padding: 1rem 0 0; }
.crumbs ol { list-style: none; margin: 0; padding: 0; display: flex; flex-wrap: wrap; gap: .25rem .5rem; }
.crumbs li + li::before { content: "/"; margin-right: .5rem; color: #a3a3a3; }
.crumbs a { color: var(--muted); }

/* article head */
.a-head { padding: 1.25rem 0 .5rem; }
.tags { display: flex; flex-wrap: wrap; gap: .4rem; margin: 0 0 .9rem; padding: 0; list-style: none; }
.tags li { font-size: .8rem; font-weight: 700; background: var(--mist); border: 1px solid var(--line); border-radius: 999px; padding: .15rem .7rem; }
h1 { font-size: clamp(1.9rem, 4.6vw, 2.75rem); line-height: 1.12; letter-spacing: -.025em; font-weight: 800; margin: 0 0 1rem; color: var(--ink); text-wrap: balance; }
.lead { font-size: 1.2rem; line-height: 1.6; color: var(--muted); margin: 0 0 1rem; }
.meta { font-size: .875rem; color: var(--muted); margin: 0 0 1.5rem; }

/* route ticket */
.route { background: var(--ink); color: #fff; border-radius: 14px; padding: 1.25rem 1.25rem 1rem; margin: 0 0 1.75rem; border-top: 6px solid var(--yellow); }
.route-line { display: grid; grid-template-columns: auto 1fr auto; align-items: center; gap: .75rem; font-weight: 800; font-size: 1.25rem; letter-spacing: -.01em; }
.route-line .dash { height: 0; border-top: 3px dashed var(--yellow); position: relative; min-width: 2rem; }
.route-line .dash::after { content: ""; position: absolute; right: -2px; top: -8px; width: 13px; height: 13px; background: var(--yellow); border-radius: 50%; }
.route-stats { display: grid; grid-template-columns: repeat(auto-fit, minmax(9.5rem, 1fr)); gap: .75rem 1.5rem; margin: 1rem 0 0; padding: 0; }
.route-stats div { margin: 0; }
.route-stats dt { font-size: .78rem; color: #d4d4d4; font-weight: 600; margin: 0; }
.route-stats dd { margin: 0; font-weight: 700; color: var(--yellow); font-size: 1.05rem; line-height: 1.4; }
.route small { display: block; margin-top: .9rem; color: #d4d4d4; font-size: .8rem; line-height: 1.5; }

/* table of contents */
.toc { background: var(--mist); border: 1px solid var(--line); border-radius: var(--radius); padding: 1rem 1.25rem; margin: 0 0 2rem; }
.toc h2 { font-size: 1rem; margin: 0 0 .5rem; }
.toc ol { margin: 0; padding-left: 1.2rem; font-size: .95rem; line-height: 1.6; }
.toc li { margin: .15rem 0; }

/* article body */
.prose h2 { font-size: 1.55rem; line-height: 1.25; letter-spacing: -.015em; font-weight: 800; color: var(--ink); margin: 2.75rem 0 .75rem; scroll-margin-top: 1rem; }
.prose h3 { font-size: 1.15rem; line-height: 1.35; font-weight: 700; color: var(--ink); margin: 1.75rem 0 .4rem; }
.prose p { margin: 0 0 1.1rem; }
.prose ul, .prose ol { margin: 0 0 1.25rem; padding-left: 1.3rem; }
.prose li { margin: .35rem 0; }
.prose strong { color: var(--ink); }
.note, .warn { border-left: 5px solid var(--yellow); background: var(--mist); border-radius: 0 var(--radius) var(--radius) 0; padding: .9rem 1.1rem; margin: 1.5rem 0; font-size: 1rem; }
.note p:last-child, .warn p:last-child { margin-bottom: 0; }
.warn { border-left-color: var(--ink); }
.note strong:first-child, .warn strong:first-child { display: block; margin-bottom: .2rem; }
.tablewrap { overflow-x: auto; margin: 1.25rem 0 1.75rem; border: 1px solid var(--line); border-radius: var(--radius); -webkit-overflow-scrolling: touch; }
table { border-collapse: collapse; width: 100%; font-size: .95rem; line-height: 1.5; min-width: 34rem; }
th, td { text-align: left; vertical-align: top; padding: .65rem .85rem; border-bottom: 1px solid var(--line); }
th { background: var(--ink); color: #fff; font-weight: 700; white-space: nowrap; }
tr:last-child td { border-bottom: 0; }
caption { text-align: left; font-size: .85rem; color: var(--muted); padding: .5rem .85rem; caption-side: bottom; }

/* day-by-day itinerary */
.days { list-style: none; margin: 1.25rem 0 1.75rem; padding: 0; border-left: 3px solid var(--yellow); }
.days li { position: relative; margin: 0; padding: 0 0 1.25rem 1.4rem; }
.days li::before { content: ""; position: absolute; left: -9px; top: .45rem; width: 15px; height: 15px; background: var(--ink); border: 3px solid var(--yellow); border-radius: 50%; }
.days b { display: block; color: var(--ink); }

/* inline CTA strip */
.strip { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: .75rem 1rem; background: var(--yellow); color: var(--ink); border-radius: var(--radius); padding: .9rem 1.1rem; margin: 1.75rem 0; font-weight: 600; line-height: 1.4; }
.strip .btn-line { border-color: var(--ink); }
.strip-actions { display: flex; flex-wrap: wrap; gap: .5rem; }

/* FAQ */
.faq details { border: 1px solid var(--line); border-radius: var(--radius); margin: 0 0 .6rem; background: var(--paper); }
.faq summary { cursor: pointer; font-weight: 700; color: var(--ink); padding: .8rem 1rem; list-style: none; display: flex; justify-content: space-between; gap: 1rem; align-items: center; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: "+"; font-size: 1.4rem; line-height: 1; font-weight: 400; flex-shrink: 0; }
.faq details[open] summary::after { content: "\2212"; }
.faq details > div { padding: 0 1rem 1rem; }
.faq details > div p:last-child { margin-bottom: 0; }

/* quote CTA block */
.cta { background: var(--ink); color: #fff; border-radius: 14px; padding: 1.5rem 1.25rem; margin: 3rem 0 2rem; border-top: 6px solid var(--yellow); }
.cta h2 { color: #fff; font-size: 1.5rem; margin: 0 0 .5rem; line-height: 1.25; }
.cta p { color: #e5e5e5; margin: 0 0 1rem; }
.cta a { color: #fff; }
.quote { display: grid; grid-template-columns: repeat(auto-fit, minmax(10.5rem, 1fr)); gap: .75rem; margin: 0 0 1rem; }
.quote label { display: block; font-size: .8rem; font-weight: 700; color: #e5e5e5; margin-bottom: .25rem; }
.quote input, .quote select { width: 100%; min-height: 44px; padding: .55rem .7rem; border-radius: 8px; border: 2px solid transparent; font: inherit; font-size: 1rem; background: #fff; color: var(--ink); }
.quote .full { grid-column: 1 / -1; }
.cta-actions { display: flex; flex-wrap: wrap; gap: .6rem; align-items: center; }
.cta .fine { font-size: .85rem; color: #d4d4d4; margin: 1rem 0 0; }

/* related + cards */
.related { margin: 2.5rem 0 1rem; }
.related h2 { font-size: 1.3rem; margin: 0 0 1rem; color: var(--ink); }
.grid { display: grid; gap: 1.1rem; grid-template-columns: repeat(auto-fill, minmax(17.5rem, 1fr)); margin: 0; padding: 0; list-style: none; }
.card { display: flex; flex-direction: column; height: 100%; border: 1px solid var(--line); border-radius: 12px; overflow: hidden; text-decoration: none; background: var(--paper); color: var(--text); }
.card:hover { background: var(--paper); border-color: var(--ink); }
.card:hover .card-title { text-decoration: underline; text-decoration-color: var(--yellow); text-decoration-thickness: 3px; text-underline-offset: 3px; }
.tile { background: var(--ink); color: #fff; padding: 1rem 1.1rem; border-bottom: 5px solid var(--yellow); display: flex; flex-direction: column; gap: .15rem; min-height: 5.5rem; justify-content: center; }
.tile b { font-size: 1.05rem; letter-spacing: -.01em; }
.tile span { color: var(--yellow); font-size: .85rem; font-weight: 600; }
.card-body { padding: 1rem 1.1rem 1.15rem; display: flex; flex-direction: column; gap: .4rem; flex: 1; }
.card-title { font-size: 1.1rem; line-height: 1.3; font-weight: 800; color: var(--ink); margin: 0; letter-spacing: -.01em; }
.card-text { font-size: .95rem; line-height: 1.55; color: var(--muted); margin: 0; }
.card-meta { margin-top: auto; padding-top: .4rem; font-size: .8rem; color: var(--muted); font-weight: 600; }

/* index page */
.hero { padding: 2.25rem 0 1.5rem; }
.hero p { max-width: 40rem; }
.hero-actions { display: flex; flex-wrap: wrap; gap: .6rem; margin-top: 1.25rem; }
.section { padding: 2rem 0; }
.section h2 { font-size: 1.6rem; letter-spacing: -.02em; margin: 0 0 .5rem; color: var(--ink); line-height: 1.25; }
.section .sub { color: var(--muted); margin: 0 0 1.25rem; }
.feature { display: grid; gap: 1.1rem; grid-template-columns: repeat(auto-fit, minmax(17rem, 1fr)); margin: 0; padding: 0; list-style: none; }
.chips { display: flex; flex-wrap: wrap; gap: .5rem; margin: 0 0 1.25rem; padding: 0; list-style: none; }
.chip { font: inherit; font-size: .9rem; font-weight: 700; padding: .4rem .95rem; border-radius: 999px; border: 2px solid var(--ink); background: var(--paper); color: var(--ink); cursor: pointer; min-height: 40px; }
.chip[aria-pressed="true"] { background: var(--ink); color: var(--yellow); }
.empty { color: var(--muted); }
.svc { display: grid; gap: .6rem 1.5rem; grid-template-columns: repeat(auto-fit, minmax(15rem, 1fr)); padding: 0; margin: 0; list-style: none; }
.svc a { font-weight: 600; }
.band { background: var(--mist); border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }

/* footer */
.site-footer { background: var(--ink); color: #d4d4d4; margin-top: 3rem; border-top: 6px solid var(--yellow); font-size: .95rem; line-height: 1.7; }
.site-footer .wrap { padding: 2rem 0 1.5rem; display: grid; gap: 1.75rem; grid-template-columns: repeat(auto-fit, minmax(13rem, 1fr)); }
.site-footer h2 { color: #fff; font-size: 1rem; margin: 0 0 .5rem; }
.site-footer a { color: #fff; text-decoration-color: var(--yellow); }
.site-footer a:hover { color: var(--ink); }
.site-footer ul { list-style: none; margin: 0; padding: 0; }
.site-footer li { margin: .2rem 0; }
.site-footer .legal { grid-column: 1 / -1; border-top: 1px solid #404040; padding-top: 1rem; font-size: .85rem; color: #a3a3a3; }

/* mobile call bar: stays out of the way of content because body has matching bottom padding */
.callbar { position: fixed; left: 0; right: 0; bottom: 0; z-index: 50; display: flex; background: var(--paper); border-top: 4px solid var(--yellow); padding-bottom: env(safe-area-inset-bottom, 0px); box-shadow: 0 -4px 10px rgba(0, 0, 0, .08); }
.callbar a { flex: 1; min-height: 58px; display: flex; align-items: center; justify-content: center; gap: .5rem; font-weight: 800; text-decoration: none; color: var(--ink); }
.callbar a:hover { background: none; }
.callbar .cb-wa { background: var(--wa); color: #fff; }
@media (min-width: 768px) {
  .callbar { display: none; }
  body { padding-bottom: 0; }
  .cta { padding: 2rem; }
}
@media (max-width: 479px) {
  .route-line { font-size: 1.05rem; gap: .5rem; }
  .mainnav { font-size: .9rem; gap: .2rem .9rem; }
}
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } }
@media print { .callbar, .site-header, .cta, .strip { display: none; } body { padding: 0; } }
