/* Transferise - WCAG 2.1 AA fixes for every public page (axe / Lighthouse audit 2026-10-31).
   Inlined last by layout.php on all public pages. Only text colours (and one badge background)
   change; sizes, layout and brand buttons stay the same. Rules are scoped to the exact component,
   because several class names are used on both light and dark panels. */

/* Dark "route content" panels (airport pages): the FAQ <details> are white cards inside a dark article,
   so they need dark text; the section heading sits directly on the dark section. */
html body .route-content-section .faq-stack details{color:#132033}
html body .route-content-section>.container>h2{color:#fff}
html body .route-content-section .verified-review-card footer strong{color:#eef3f9}

/* Gold kicker labels on light panels (was #f5b800 / #ffd86a = 1.4-1.8:1) */
html body .tg-head .kicker.gold,
html body .destination-journeys-head .kicker.gold,
html body .help-section-head .kicker.gold,
html body .verified-review-head .kicker.gold,
html body .hotel-airport-section .route-data-head .kicker.gold,
html body .page-section>.container>.kicker.gold{color:#7a5600}
html body .verified-review-head p{color:#56657a}

/* Services: the "network" box is dark, its label must stay light */
html body .services-content aside small{color:#f2c452}

/* TripAdvisor strip button: white on #00aa6c was 3.0:1 */
html body .ta-strip .ta-strip-cta{background:#007a52}

/* Partner pages logo "ise" */
html body .pa-logo span{color:#8b6500}

/* Hotel directory: region counters used opacity .6 */
html body .hotel-region-quick small{opacity:1!important;color:#5e6e84}

/* Blog photo credits (stored in post HTML) */
html body .gfy-pexels-credit{opacity:1!important;color:#5c6a79}
html body .gfy-pexels-credit a{color:#2f6690}

/* Contact: the form card is light, the company card is dark */
html body .contact-form-card .contact-block-title small{color:#8b6500}

/* Help: the dark explainer card keeps a light label */
html body .help-explainer-card.dark small{color:#f2c452}

/* Fleet: related vehicle cards (white) */
html body .fleet-related-card span{color:#5f6d80}
html body .fleet-related-card small{color:#8b6500}

/* Generic blue-grey kicker (#8da6ca) is for dark panels; on the light pickup-time page it needs a darker blue */
html body .pickup-managed-content>.kicker,html body .pickup-faq>.kicker,html body .pickup-card-head .kicker,html body .pickup-content-card>.kicker,html body .pickup-side-card:not(.dark)>.kicker:not(.gold){color:#44597a}

/* My booking: gold kickers on light panels */
html body .my-booking-section-head>.kicker.gold,html body .my-booking-faq>.kicker.gold{color:#7a5600}

/* Legible text on phones (Lighthouse "font-size": at least 12px). Desktop sizes stay as designed. */
@media (max-width:760px){
html body .trd-eyebrow,html body .trd-section-kicker,html body .trd-hero-stats span,html body .trd-airport-tag,
html body .trd-feature-card-foot small,html body .trd-route-price small,html body .trd-summary-type,html body .trd-count,
html body .trd-origin-kicker,html body .trd-origin-total,html body .trd-route-location small,html body .trd-book-card small,
html body .trd-route-location strong,html body .pro-footer-copy{font-size:12px}
}

/* Route page: hotel star labels (#f0a500 on white was 2.2:1) */
html body .tri-hotel>span{color:#8b6500}

/* Review cards: the site-wide <footer> style (dark) must not apply inside a white review card */
html body .verified-review-card footer{background:transparent;color:#56657a}

/* Touch targets at least 24px (WCAG 2.2 target size) */
html body .tf-sbox-cta,html body .tf-sbox-calc{display:inline-flex;align-items:center;min-height:24px;vertical-align:middle}
html body .tf-sbox-calc{margin-top:12px}
html body .contact-company a[href^="mailto:"],html body .contact-company a[href^="tel:"]{display:inline-block;min-height:24px;line-height:24px}

/* Help: quick cards use h2 for a correct heading order (same look as the previous h3) */
html body .help-quick-card h2.help-quick-title{margin:0 0 5px;font-size:12px;line-height:1.3;font-weight:800;color:inherit;letter-spacing:0}

/* Help page: legible text on phones */
@media (max-width:760px){
html body .help-category-head p,html body .help-category-head small,html body .help-cta-box p,html body .help-cta-box small,html body .help-cta-links a,
html body .help-explainer-card p,html body .help-explainer-card li,html body .help-explainer-card small,html body .help-featured-card b,html body .help-guide-card b,
html body .help-featured-card p,html body .help-guide-card p,html body .help-featured-card small,html body .help-guide-card small,html body .help-hero-metrics span,
html body .help-hero-panel>small,html body .help-list-item p,html body .help-list-item strong,html body .help-list-item>span,html body .help-quick-card p,
html body .help-quick-card span,html body .help-section-head>p,html body .help-sidebar-card a,html body .help-sidebar-card>small{font-size:12px}
}
