/* UsedTruckDealer — readability and contrast repairs (all existing pages).
   Scoped fixes after modern-3d.css; no new content or sections.
   Colors are limited to the supplied navy/blue/white palette. */

/* Safe default type scale; supersedes smaller legacy body text. */
:root { color-scheme: light; }
body { font-size: 16px; line-height: 1.6; }
p { font-size: 17px; line-height: 1.75; }

/* Fix invisible copy in the navy "Why Correct Truck + Trailer" band. */
.trust-bar { background: var(--navy2); color: var(--white); padding-block: 52px; }
.trust-bar .trust-heading h2,
.trust-bar .trust-item strong { color: var(--white); opacity: 1; }
.trust-bar .trust-heading .section-kicker { color: var(--pale); }
.trust-bar .trust-heading .red-rule { background: var(--blue); }
.trust-bar .trust-heading h2 { font-size: clamp(30px, 2.7vw, 39px); line-height: 1.08; letter-spacing: -.025em; }
.trust-bar .trust-item { align-items: flex-start; gap: 15px; }
.trust-bar .trust-item strong { display: block; font-size: 16px; line-height: 1.25; letter-spacing: .025em; }
.trust-bar .trust-item p { color: var(--pale); font-size: 16px; line-height: 1.55; margin-top: 6px; }
.trust-bar .trust-icon { flex-shrink: 0; }

/* Main content: comfortable copy on desktop and mobile. */
.hero-copy p { font-size: clamp(16px, 1.2vw, 18px); line-height: 1.72; max-width: 455px; }
.featured-intro p { font-size: 17px; line-height: 1.7; color: var(--muted); }
.category-heading p { font-size: 17px; line-height: 1.72; color: var(--white); max-width: 425px; }
.editorial-text > p { font-size: 18px; line-height: 1.75; max-width: 620px; color: var(--ink); }
.viewer-copy p { font-size: 17.5px; line-height: 1.78; max-width: 450px; color: var(--pale); }
.viewer-copy small { font-size: 13.5px; line-height: 1.6; color: var(--pale); }
.bottom-cta p { font-size: 18px; line-height: 1.72; color: var(--ink); }
.footer-lead p { font-size: 16.5px; line-height: 1.75; color: var(--pale); max-width: 355px; }
.footer-columns a, .footer-columns span { font-size: 14px; line-height: 1.55; color: var(--pale); }

/* Search, inventory and individual listing pages. */
.inner-hero p { font-size: 18px; line-height: 1.7; color: var(--pale); max-width: 780px; }
.sidebar-help p { font-size: 16px; line-height: 1.7; color: var(--muted); }
.detail-heading p { font-size: 16.5px; line-height: 1.65; color: var(--muted); }
.detail-inquiry p { font-size: 17px; line-height: 1.7; color: var(--ink); }
.spec-disclaimer { font-size: 15px; line-height: 1.7; color: var(--muted); }
.inventory-disclaimer, .detail-alert { font-size: 14.5px; line-height: 1.6; color: var(--ink); }
.no-results p { font-size: 17px; line-height: 1.65; color: var(--muted); }

/* Supporting text too small to read in vehicle cards and UI. */
.listing-specs span { font-size: 12.5px; line-height: 1.45; color: var(--muted); white-space: normal; }
.listing-category { font-size: 11.5px; line-height: 1.4; }
.listing-bottom small { font-size: 11px; line-height: 1.4; }
.category-meta > span { font-size: 11.5px; line-height: 1.35; }
.featured-results-header { font-size: 12px; line-height: 1.45; }
.search-disclaimer { font-size: 15.5px; line-height: 1.6; color: var(--muted); }

/* Keep all text visible across background transitions and local scroll effects. */
.viewer-copy h2, .viewer-copy h2 em,
.inner-hero h1, .inner-hero h1 em { color: var(--white); }
.bottom-cta h2 { color: var(--navy); }
.footer .footer-columns h4 { color: var(--white); }

/* Tablet/mobile: type remains readable without overlapping columns. */
@media (max-width: 1100px) {
 .trust-bar .trust-heading h2 { font-size: 37px; }
 .trust-bar .trust-layout { row-gap: 22px; }
 .featured-intro p { max-width: 480px; }
}
@media (max-width: 780px) {
 body { font-size: 16px; }
 p { font-size: 16px; line-height: 1.7; }
 .hero-copy p, .featured-intro p, .category-heading p,
 .editorial-text > p, .viewer-copy p, .bottom-cta p,
 .inner-hero p, .detail-inquiry p, .sidebar-help p { font-size: 16.5px; line-height: 1.7; }
 .trust-bar { padding-block: 48px; }
 .trust-bar .trust-heading h2 { font-size: clamp(31px, 6vw, 42px); }
 .trust-bar .trust-item strong { font-size: 16px; }
 .trust-bar .trust-item p { font-size: 16px; }
 .footer-lead p { font-size: 16px; }
 .footer-columns a, .footer-columns span { font-size: 13px; }
 .inventory-disclaimer,.detail-alert { font-size: 14px; }
 .listing-specs span { font-size: 12px; }
 .listing-category,.listing-bottom small { font-size: 10.5px; }
 .category-meta > span { font-size: 10.5px; }
}
@media (max-width: 440px) {
 .trust-bar .trust-layout { gap: 15px; }
 .trust-bar .trust-item { gap: 12px; }
 .trust-bar .trust-item strong { font-size: 15px; }
 .footer-columns { gap: 13px; }
 .footer-columns a, .footer-columns span { font-size: 12.5px; }
}
