/* blogreadability 2026-11-27 (v2r4-design; b = v2r5-design: curbside box tap targets, offer fix moved to its source; c = v2r6-design: callout links) — presentation only, loaded by blog/_chrome.php after its inline CSS.
   Nothing here changes text, order, links or images, hides content or animates anything.
   Specificity rule: general rules use the same selector weight as the chrome's inline CSS (e.g. .body p),
   so a post that ships its own <style> block (19 do, all later in the document) still wins where it styles itself.
   Higher-weight rules exist only where a post's own style or a shared include paints text it cannot be read on
   (each one says which page and what the painted contrast was). */

:root{--read:36rem}

/* ── Reading column: ~70 characters a line on desktop (was 92-100), 17px body on phones ── */
.art__head,.toc,.body,.links{max-width:var(--read)}
.body{font-size:1.0625rem;line-height:1.7}
@media(min-width:641px){.body{font-size:1.1rem}}
@media(min-width:1024px){.body{font-size:1.15rem;line-height:1.72}}
.body p{text-wrap:pretty}
.art__title{text-wrap:balance;font-size:clamp(1.8rem,4.8vw,2.65rem)}
.art__stand{max-width:var(--read)}
@media(max-width:640px){.art,.rel{width:min(100% - 2rem,var(--wrap))}}

/* Breadcrumb: sits on the reading column, each link a 44px target */
.crumb{max-width:var(--read);margin-inline:auto;padding-top:.6rem}
.crumb a{display:inline-flex;align-items:center;min-height:44px}
.art__kicker{margin-top:1.1rem}

/* Meta row: the updated date (already printed when a post has one) reads as a fact, not as fine print */
.art__meta{gap:.35rem .75rem}
.art__meta>span:has(>time){color:var(--body);font-weight:600;background:var(--wash);
border:1px solid var(--line);border-radius:999px;padding:.1rem .65rem}
.art__meta>span:has(>time) time{color:inherit}

/* ── Heading rhythm ── */
.body h2{font-size:clamp(1.45rem,3.2vw,1.9rem);line-height:1.22;margin:3rem 0 .85rem;text-wrap:balance;scroll-margin-top:1.25rem}
.body h3{font-size:1.16em;line-height:1.35;margin:2.1rem 0 .55rem;text-wrap:balance;scroll-margin-top:1.25rem}
.body h4{font-family:var(--sans);font-weight:700;color:var(--ink);font-size:1.02em;line-height:1.4;margin:1.6rem 0 .45rem}
.body h2+h3{margin-top:1.1rem}
.body>:first-child{margin-top:0}
.body p{margin:0 0 1.3rem}

/* ── Lists that look intentional ── */
.body ul,.body ol{padding-left:1.35rem;margin:0 0 1.4rem}
.body li{margin:.5rem 0;padding-left:.2rem}
.body li::marker{color:var(--gold-dark)}
.body ol>li::marker{font-weight:700}
.body li>ul,.body li>ol{margin:.35rem 0 .2rem}

/* ── Links: same colour, steadier underline ── */
.body a{text-decoration-thickness:.07em;text-underline-offset:.2em}

/* ── Figures and captions: caption sits under its photo, not 36px away ── */
.body figure{margin:2rem 0}
.body figure img{margin:0}
.body figcaption{font-size:.875rem;line-height:1.5;color:var(--muted);margin-top:.6rem}

/* ── Tables: scroll inside their own box on phones, with an edge shadow that says so; wider than the text on desktop.
   The frame, row rules and sticky label column apply to bare tables only; a post that styles its own table keeps its look. ── */
.body .tw{margin:2rem 0;overflow-x:auto;overscroll-behavior-x:contain;
background:linear-gradient(90deg,#fff 30%,rgba(255,255,255,0)) left/2.5rem 100% no-repeat local,
linear-gradient(270deg,#fff 30%,rgba(255,255,255,0)) right/2.5rem 100% no-repeat local,
radial-gradient(farthest-side at 0 50%,rgba(13,15,18,.16),rgba(13,15,18,0)) left/.9rem 100% no-repeat scroll,
radial-gradient(farthest-side at 100% 50%,rgba(13,15,18,.16),rgba(13,15,18,0)) right/.9rem 100% no-repeat scroll,#fff}
/* top-level tables (not ones nested in a card) take the extra width */
.body>.tw,.body>div>.tw{margin-inline:min(0px,calc(50% - min(50vw - 1rem,26rem)))}
/* two-column tables fit a phone without scrolling */
.body .tw>table:not(:has(tr>:nth-child(3))){min-width:0}
.body .tw:has(>table:not([class]):is(:not([style]),[style="min-width:0"])){border:1px solid var(--line);border-radius:10px}
.body .tw>table:not([class]):is(:not([style]),[style="min-width:0"]){font-size:.92rem;line-height:1.5;font-variant-numeric:tabular-nums;
border-collapse:separate;border-spacing:0}
.body .tw>table:not([class]):is(:not([style]),[style="min-width:0"]) :is(th,td){padding:.75rem .9rem;border:0;border-bottom:1px solid var(--line)}
.body .tw>table:not([class]):is(:not([style]),[style="min-width:0"]) tr>:not(:last-child){border-right:1px solid var(--line)}
.body .tw>table:not([class]):is(:not([style]),[style="min-width:0"]) tr:last-child>*{border-bottom:0}
.body .tw>table:not([class]):is(:not([style]),[style="min-width:0"]) th{font-size:.86rem;line-height:1.4}
/* five or more columns get room to breathe and scroll */
.body .tw>table:not([class]):not([style]):has(tr>:nth-child(5)){min-width:40rem}
/* label column stays put while the rest scrolls */
@media(max-width:640px){
.body .tw>table:not([class]):not([style]):has(tr>:nth-child(3)) tr>:first-child{position:sticky;left:0;z-index:1;
background:#fff;box-shadow:5px 0 6px -5px rgba(13,15,18,.22)}
.body .tw>table:not([class]):not([style]):has(tr>:nth-child(3)) tr>th:first-child{background:var(--wash)}
}

/* Top-level card grids and stat rows from older posts get the same extra width as tables on desktop, so their columns do not collapse */
.body>:is(.lx-grid,.lx-service-grid,.lx-compare-grid,.lx-info-grid,.lx-option-grid,.lx-package-grid,.lx-size-grid,.lx-stats),.body>div>:is(.lx-grid,.lx-service-grid,.lx-compare-grid,.lx-info-grid,.lx-option-grid,.lx-package-grid,.lx-size-grid,.lx-stats){
margin-inline:min(0px,calc(50% - min(50vw - 1rem,26rem)))}

/* ── Callouts ──
   Light callouts: pin background AND text colour. On /blog/best-car-service-los-angeles the post's own style paints
   .lx-highlight text white while the chrome paints its box cream: heading 1.09:1, paragraph 1.08:1 (live, 2026-11-27). */
.body :is(.lx-tip,.lx-tip-box,.lx-callout,.lx-highlight,.note,.lx-family-tip,.highlight,.authority-box,.testimonial){
background:var(--wash);color:var(--body);border-left:3px solid var(--gold);border-radius:4px;padding:1.05rem 1.25rem}
.body :is(.lx-tip,.lx-tip-box,.lx-callout,.lx-highlight,.note,.lx-family-tip,.highlight,.authority-box,.testimonial) :is(h2,h3,h4,h5){color:var(--ink)}
.body :is(.lx-tip,.lx-tip-box,.lx-callout,.lx-highlight,.note,.lx-family-tip,.highlight,.authority-box,.testimonial) :is(p,li){color:inherit}
.body :is(.lx-tip,.lx-tip-box,.lx-callout,.lx-highlight,.note,.lx-family-tip,.highlight,.authority-box,.testimonial)>:last-child{margin-bottom:0}
/* Dark boxes: text links were the body blue on near-black, 2.5:1 (/blog/lux4rides-vs-uber-black-lyft-lux-blacklane-comparison) */
.body :is(.lx-hero-box,.lx-cta,.lx-cta-box,.cta-box,.lx-route-box,.lx-magic-box,.lx-festival-box,.lx-corp-hero,.lx-crew-box,
.lx-account-box,.lx-price-hero,.lx-party-hero,.lx-oscar-hero,.lx-wedding-hero,.lx-exotic-hero,.lx-production-hero)
a:not(:is(.lx-btn,.btn,.lx-cta-btn)){color:var(--gold-light)}
/* Gold figures on white use the text gold: .price was #c5a059 on white/cream, 2.26-2.46:1
   (/blog/limo-rental-prices-los-angeles table, /blog/wedding-limo-service-los-angeles + /blog/party-bus-rental-los-angeles cards) */
.body :is(table,.lx-package,.lx-size-card) .price{color:#7A5F22}
/* gold pill text on its gold-tint pill, 2.26:1 (/blog/private-car-service-los-angeles) */
.body .lx-benefit{color:#7A5F22}
/* grey #666 paragraph on the chrome's dark hero, 3.43:1 (/blog/wedding-limo-service-los-angeles) */
.body .lx-wedding-hero p{color:#c2c8ce}
/* green #2e7d32 heading on the chrome's dark box, 3.84:1 (/blog/corporate-transportation-los-angeles) */
.body .lx-account-box :is(h3,h4){color:#fff}

/* ── Contents list: 44px rows; beside the article on wide screens so it stays in reach ── */
.toc{padding:1.05rem 1.25rem .8rem}
.toc ol{padding-left:1.35rem;font-size:.94rem}
.toc li{margin:0}
.toc li::marker{color:var(--gold-dark);font-weight:700}
.toc li+li{border-top:1px solid var(--line)}
.toc a{display:flex;align-items:center;min-height:44px;padding:.3rem 0;line-height:1.4}
@media(min-width:1200px){
.is-article .art>article{display:grid;grid-template-columns:minmax(0,1fr) var(--read) minmax(0,1fr);column-gap:2.5rem}
.is-article .art>article>*{grid-column:2;min-width:0;width:100%}
.is-article .art>article>.art__head{grid-row:1}
.is-article .art>article>.hero{grid-row:2;grid-column:1/-1;width:100%}
.is-article .art>article>.toc{grid-row:3/span 2;grid-column:1;align-self:start;justify-self:end;width:100%;max-width:16rem;
position:sticky;top:1.25rem;max-height:calc(100vh - 6.5rem);overflow-y:auto;margin:0;padding:.9rem 1rem .6rem}
.is-article .art>article>.toc ol{font-size:.86rem}
.is-article .art>article>.body{grid-row:3}
.is-article .art>article>.links{grid-row:4}
.is-article .art>article>.cta{grid-row:5;grid-column:1/-1;width:100%}
/* with the contents list in the left rail, wide tables and card grids extend to the right only */
.is-article .art>article:has(>.toc)>.body>:is(.tw,.lx-grid,.lx-service-grid,.lx-compare-grid,.lx-info-grid,.lx-option-grid,.lx-package-grid,.lx-size-grid,.lx-stats),.is-article .art>article:has(>.toc)>.body>div>:is(.tw,.lx-grid,.lx-service-grid,.lx-compare-grid,.lx-info-grid,.lx-option-grid,.lx-package-grid,.lx-size-grid,.lx-stats){
margin-left:0;margin-right:-12rem}
}

/* ── Template tap targets (crumbs above; chips, footer) ── */
.links a{min-height:44px}
.foot a{display:flex;align-items:center;min-height:44px;padding:.25rem 0}
.foot__base a{display:inline-flex;align-items:center;min-height:44px}
/* the booking script inserts its trust band right before the footer; no white strip between the two dark bands */
.l4r-why+.foot{margin-top:0}

/* ── Booking box: the online-offer dark-variant fix now lives at its source (includes/online-offer.php, v2r5-design). ── */

/* ── Call / email / book lines in a post's own inline-styled box (one link per line, <br> between): 44px targets without
   touching the text. The link sets its own line box to 44px and its padding fills it, so neighbouring lines never overlap.
   /blog/skip-lax-shuttle-lax-curbside-pickup: 6 links were 20-22px tall. ── */
.body div[style]>a[style]{line-height:2.75rem;padding-block:.75rem}

/* A link written straight into a callout's text (no <p>): padding only, so the line box and the text do not move; position +
   z-index put the padded box above the neighbouring lines for taps, so the whole 44px is tappable (measured by hit-test).
   /blog/limo-rental-prices-los-angeles: "limo service" in its .lx-tip was 20px tall. */
.body :is(.lx-tip,.lx-tip-box,.lx-callout,.lx-highlight,.note,.lx-family-tip,.highlight,.authority-box,.testimonial)>a:not([class]){padding-block:.75rem;position:relative;z-index:1}

/* ── Cards: the whole card is the tap target (the title link is stretched over it; no new markup) ── */
.is-hub .card,.rel__card,.is-hub section.lead{position:relative}
.is-hub .card__title a::after,.rel__card h3 a::after,.is-hub .lead__title a::after{content:"";position:absolute;inset:0;border-radius:8px}
.is-hub .card:hover .card__title a,.rel__card:hover h3 a,.is-hub section.lead:hover .lead__title a{color:var(--gold-dark);text-decoration:underline}
.is-hub .card:has(:focus-visible),.rel__card:has(:focus-visible),.is-hub section.lead:has(:focus-visible){outline:3px solid var(--gold);outline-offset:4px;border-radius:8px}
.is-hub .card__title a:focus-visible,.rel__card h3 a:focus-visible,.is-hub .lead__title a:focus-visible{outline:none}
.card__title,.rel__card h3,.lead__title{text-wrap:balance}

/* ── Guide index: intro at reading width ── */
.hub__lede{max-width:38rem}
.hub__lede+.hub__lede{margin-top:.85rem}
.hub__lede a{text-decoration-thickness:.07em;text-underline-offset:.2em}
