/* Pricing page and truck size guide (docs/seo_geo_website/plan.md §5, §11.3): on top of blog.css (dark title band,
   glass cards, white article card, "Need a truck?" band). Only the truck cards, photos, pills and buttons are new, in the
   blog's own colours (--bl-*). Scoped to body.guide-page. Mobile first. */

/* ---- groups of trucks */
.guide-page .guide-group { padding: 28px 0 8px; }
.guide-page .guide-group + .guide-group { padding-top: 8px; }
.guide-group-title {
    margin: 0 0 16px;
    font-weight: 800;
    font-size: clamp(30px, 3.4vw, 40px);
    line-height: 1.1;
    color: var(--bl-ink);
}
.guide-subgroup-title {
    margin: 26px 0 14px;
    font-weight: 800;
    font-size: clamp(24px, 2.6vw, 30px);
    line-height: 1.15;
    color: var(--bl-ink);
}
.guide-group-lead { margin: -6px 0 6px; font-size: 19px; line-height: 1.35; font-weight: 500; color: #2c2b26; max-width: 760px; }
.guide-empty { font-size: 19px; font-weight: 600; color: var(--bl-ink); }
.guide-empty a { color: var(--bl-ink); font-weight: 800; }

/* ---- one truck: glass card (dt-glass-card from the site; site-ui.js adds the glare) */
.guide-page .guide-card {
    display: flex;
    flex-direction: column;
    padding: 0;
    overflow: hidden;
    min-width: 0;
}
.guide-card-photo {
    display: grid;
    place-items: center;
    aspect-ratio: 14 / 9;
    background: rgba(255, 253, 246, .55);
    padding: 8px 12px 0;
}
.guide-card-photo img { width: 100%; height: auto; max-height: 100%; object-fit: contain; display: block; }
.guide-card-body {
    display: flex;
    flex-direction: column;
    gap: 8px;
    padding: 14px 18px 18px;
    flex: 1;
    position: relative;
    z-index: 2;
}
.guide-card-title { margin: 0; font-size: 24px; line-height: 1.12; font-weight: 800; color: var(--bl-ink); }
.guide-card-title a { color: var(--bl-ink); text-decoration: none; }
.guide-card-title a:hover { text-decoration: underline; text-underline-offset: 3px; }
.guide-card-short { margin: 0; font-size: 18px; line-height: 1.3; font-weight: 600; color: #2c2b26; }
.guide-card-load { margin: 0; font-size: 17px; line-height: 1.3; font-weight: 600; color: #3b3a33; }
.guide-pills { display: flex; flex-wrap: wrap; gap: 6px; margin: 0; padding: 0; list-style: none; }
.guide-pills li {
    padding: 3px 11px;
    border-radius: 999px;
    background: rgba(255, 255, 255, .62);
    border: 1px solid rgba(255, 249, 129, .9);
    font-size: 16px;
    font-weight: 700;
    line-height: 1.35;
    color: var(--bl-ink);
}
.guide-card-actions { display: flex; flex-wrap: wrap; gap: 10px 16px; align-items: center; margin-top: auto; padding-top: 6px; }

/* pricing page: the photo beside the text, so 20+ trucks stay a short list on a phone */
.guide-page .guide-card--compact { flex-direction: row; align-items: stretch; }
.guide-card--compact .guide-card-photo { flex: 0 0 38%; aspect-ratio: auto; padding: 6px 4px 6px 8px; }
.guide-card--compact .guide-card-body { padding: 12px 14px 14px 10px; gap: 6px; }
.guide-card--compact .guide-card-title { font-size: 20px; }
.guide-card--compact .guide-card-short { font-size: 16px; }
.guide-page .guide-card--compact .guide-price { font-size: 16px; padding: 8px 18px; }
.guide-card--compact .guide-card-more { font-size: 16px; }

/* ---- buttons: the blog's dark "Book Now" button; the second action is a plain underlined link */
.guide-page .guide-price {
    display: inline-block;
    background: var(--bl-dark);
    color: var(--bl-brand);
    border: 0;
    font-weight: 800;
    font-size: 18px;
    line-height: 1.2;
    padding: 10px 24px;
    border-radius: 999px;
    text-decoration: none;
}
.guide-page .guide-price:hover,
.guide-page .guide-price:focus { background: #000; color: #ffd84d; }
.guide-page .guide-price--hero { background: var(--bl-brand); color: var(--bl-dark); font-size: 19px; padding: 12px 28px; }
.guide-page .guide-price--hero:hover,
.guide-page .guide-price--hero:focus { background: #ffd84d; color: #000; }
.guide-hero-actions { margin-top: 18px; }
.guide-card-more {
    font-weight: 800;
    font-size: 18px;
    color: var(--bl-ink);
    text-decoration: none;
    border-bottom: 2px solid var(--bl-ink);
}
.guide-card-more:hover { color: #000; border-bottom-color: var(--bl-brand); }
.blog-content .guide-actions { display: flex; flex-wrap: wrap; gap: 12px 18px; align-items: center; }
.blog-content .guide-actions .guide-card-more { font-weight: 800; text-decoration: none; }

/* ---- a truck page: the app's photos above the white article card */
.guide-lead { max-width: 760px; }
.guide-photos { display: grid; grid-template-columns: minmax(0, 1fr); gap: 12px; margin: -24px 0 0; position: relative; z-index: 2; }
.guide-photo {
    margin: 0;
    background: var(--bl-paper);
    border-radius: 18px;
    border: 2px solid rgba(255, 249, 129, .7);
    box-shadow: 0 18px 40px -18px rgba(0, 0, 0, .45);
    padding: 10px 14px;
}
.guide-photo img { width: 100%; height: auto; display: block; }
.blog-content .guide-note { font-size: 17px; line-height: 1.45; color: var(--bl-muted); }
.blog-content .blog-table th[scope="row"] { background: #faf6e8; color: var(--bl-ink); width: 42%; }
/* the two-column size table wraps on a phone instead of scrolling (the blog's tables keep 520 px for many columns) */
.blog-table .guide-specs { min-width: 0; }
.blog-table .guide-specs td { overflow-wrap: anywhere; }

/* ---- route pages: our route mark, a road between two stops with the usual distance on it (no map, no rate table) */
.route-ribbon {
    display: grid;
    grid-template-columns: auto minmax(56px, 1fr) auto;
    align-items: center;
    gap: 12px;
    max-width: 680px;
    margin: 14px 0 18px;
    padding-top: 36px;
}
.route-stop {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    min-width: 0;
    font-weight: 800;
    font-size: 20px;
    line-height: 1.1;
    color: #fff;
}
.route-stop::before {
    content: "";
    flex: 0 0 auto;
    width: 14px;
    height: 14px;
    border-radius: 50%;
    background: var(--bl-brand);
    box-shadow: 0 0 0 5px rgba(244, 180, 0, .25);
}
.route-stop--to::before { background: #fff; box-shadow: 0 0 0 5px rgba(255, 255, 255, .2); }
.route-road { position: relative; display: block; height: 0; border-top: 3px dashed rgba(255, 216, 77, .9); }
.route-km {
    position: absolute;
    left: 50%;
    bottom: 18px;
    transform: translateX(-50%);
    white-space: nowrap;
    font-size: 16px;
    font-weight: 700;
    line-height: 1;
    color: #ffd84d;
}
/* on a route card (light glass): two dots and the distance (the label sits above the stop names: no overlap even
   when a long route leaves a short road on a small phone) */
.route-ribbon--card { grid-template-columns: auto minmax(0, 1fr) auto; gap: 8px; max-width: none; margin: 0; padding-top: 24px; }
.route-ribbon--card .route-km { bottom: 9px; }
.route-dot { width: 12px; height: 12px; border-radius: 50%; background: var(--bl-dark); }
.route-dot--to { background: var(--bl-brand); box-shadow: inset 0 0 0 2px var(--bl-dark); }
.route-ribbon--card .route-road { border-top-color: rgba(15, 16, 19, .55); }
.route-ribbon--card .route-km { color: var(--bl-ink); font-size: 16px; }
.guide-page .route-card { display: flex; flex-direction: column; gap: 10px; padding: 20px 20px 18px; min-width: 0; }
.route-card > * { position: relative; z-index: 2; }
.route-card-title { margin: 0; font-size: 26px; line-height: 1.1; font-weight: 800; }
.route-card-title a { color: var(--bl-ink); text-decoration: none; }
.route-card-title a:hover { text-decoration: underline; text-underline-offset: 3px; }
.route-card-trucks { margin: 0; font-size: 17px; line-height: 1.3; font-weight: 600; color: #3b3a33; }
/* the city pages, as large tags on the route list */
.route-cities { display: flex; flex-wrap: wrap; gap: 10px; margin: 0; padding: 0; list-style: none; }
.route-cities a {
    display: inline-block;
    padding: 10px 20px;
    border-radius: 999px;
    background: var(--bl-dark);
    color: #ffd84d;
    font-size: 18px;
    font-weight: 800;
    text-decoration: none;
}
.route-cities a:hover,
.route-cities a:focus { background: #000; color: #fff; }
/* the goods sent on a route, as tags */
.blog-content .route-goods { display: flex; flex-wrap: wrap; gap: 8px; padding-left: 0; list-style: none; }
.blog-content .route-goods li {
    margin: 0;
    padding: 5px 14px;
    border-radius: 999px;
    background: #faf6e8;
    border: 1px solid var(--bl-line);
    font-weight: 700;
    color: var(--bl-ink);
}

/* ---- pickup and drop search in the title band (owner 3 Dec): side by side from tablets, stacked on phones; each
   field carries our route mark's stop (yellow pickup, dark drop) and its label inside the field */
.route-search {
    display: grid;
    grid-template-columns: minmax(0, 1fr);
    gap: 10px;
    max-width: 940px;
    margin: 18px 0 4px;
    padding: 12px;
    border-radius: 22px;
    background: rgba(255, 255, 255, .07);
    border: 1px solid rgba(255, 216, 77, .35);
}
.route-search-field { position: relative; min-width: 0; }
.route-search-field::before {
    content: "";
    position: absolute;
    left: 18px;
    top: 50%;
    width: 12px;
    height: 12px;
    margin-top: -6px;
    border-radius: 50%;
    background: var(--bl-brand);
    box-shadow: 0 0 0 4px rgba(244, 180, 0, .25);
    pointer-events: none;
}
.route-search-field--drop::before { background: var(--bl-dark); box-shadow: 0 0 0 4px rgba(15, 16, 19, .15); }
.route-search-label {
    position: absolute;
    left: 44px;
    top: 8px;
    margin: 0;
    font-size: 13px;
    font-weight: 800;
    line-height: 1;
    letter-spacing: .04em;
    text-transform: uppercase;
    color: #5d5b53;
    pointer-events: none;
}
.route-search-input {
    display: block;
    width: 100%;
    height: 60px;
    padding: 24px 16px 8px 44px;
    border: 0;
    border-radius: 16px;
    background: #fff;
    color: var(--bl-ink);
    font-size: 18px;
    font-weight: 600;
    line-height: 1.2;
}
.route-search-input::placeholder { color: #6f6d64; font-weight: 500; }
.route-search-input:focus { outline: 3px solid var(--bl-brand); outline-offset: 2px; }
.guide-page .route-search-go { width: 100%; padding: 16px 28px; }
.guide-page .route-search-go:disabled { opacity: .7; cursor: progress; }
.route-search-fallback[hidden] { display: none; }

/* prices on: every truck's rate for the trip, without login (customer app prices, no labels) */
.route-search-error,
.route-prices { grid-column: 1 / -1; }
.route-search-error[hidden],
.route-prices[hidden] { display: none; }
.route-search-error { margin: 0; padding: 10px 14px; border-radius: 12px; background: #fff3cd; color: #4d3500; font-weight: 700; }
.route-prices { padding: 14px; border-radius: 18px; background: var(--bl-paper); color: var(--bl-ink); }
.route-prices-head { margin: 0 0 10px; font-size: 18px; font-weight: 800; line-height: 1.3; }
/* every truck's price: cards like the Book Now form's truck cards (photo box, name, body, price, "Book this truck" across
   the card's foot); 1 column on phones, 2 from 768 px, 3 from 992 px (a range fits on one line); the buttons line up
   along each row */
.route-prices-list { display: grid; grid-template-columns: minmax(0, 1fr); gap: 10px; margin: 0; padding: 0; list-style: none; }
.route-price {
    display: grid;
    grid-template-columns: 92px minmax(0, 1fr);
    gap: 12px;
    padding: 10px;
    border-radius: 16px;
    background: #fff;
    border: 1px solid var(--bl-line);
}
.route-price-photo {
    display: flex;
    align-items: center;
    justify-content: center;
    min-height: 76px;
    padding: 4px;
    border-radius: 12px;
    background: #f6f4ec;
    overflow: hidden;
}
.route-price-photo img { display: block; width: 100%; height: auto; max-height: 96px; object-fit: contain; }
.route-price-main { display: flex; flex-direction: column; min-width: 0; }
.route-price-name { margin: 0; font-size: 17px; font-weight: 800; line-height: 1.15; color: var(--bl-ink); }
.route-price-body { margin: 2px 0 0; font-size: 15px; line-height: 1.2; color: var(--bl-muted); }
.route-price-amount { margin: 6px 0 10px; font-size: 18px; font-weight: 800; line-height: 1.2; color: var(--bl-ink); }
.route-price-figure { white-space: nowrap; }
.route-price-amount--quote { color: var(--bl-muted); font-size: 16px; }
.guide-page .route-price-book { display: block; width: 100%; margin-top: auto; padding: 8px 12px; font-size: 16px; text-align: center; }
.route-prices-note { margin: 10px 2px 0; font-size: 14px; line-height: 1.4; color: var(--bl-muted); }

/* ---- questions */
.guide-faqs { display: grid; gap: 4px; }
.guide-faq h3 { margin-top: 14px; }
.guide-faq p { margin-bottom: 8px; }

@media (min-width: 576px) {
    .guide-photos--2 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (min-width: 768px) {
    .guide-page .guide-group { padding: 40px 0 8px; }
    .guide-photos { margin-top: -32px; }
    .route-stop { font-size: 24px; }
    .route-km { font-size: 17px; }
    .route-search { grid-template-columns: minmax(0, 1fr) minmax(0, 1fr) auto; align-items: stretch; }
    .guide-page .route-search-go { width: auto; }
    .route-prices-list { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (min-width: 992px) {
    .route-prices-list { grid-template-columns: repeat(3, minmax(0, 1fr)); }
}
@media print {
    .guide-page .guide-price, .guide-hero-actions, .guide-card-actions, .route-search { display: none; }
}
