/* af1 (site audit fixes, Nov 19 2026). Public pages only. The laptop public look (1025px and up) is frozen (boss Nov 10);
   the only rules below that can apply at laptop width are contrast fixes (hero text shadow, review star outline) and the
   newspaper paragraph class (.toura-np), which JS adds only to long paragraphs in wide columns. */

/* HIGH-06a: tablet (769-1024px): logo, phone, Book a Taxi and the menu button on one row; the opened menu drops below. */
@media (min-width:769px) and (max-width:1024px){
  html body.toura-site:not(.toura-employee-page):not(#_) header.toura-header{display:flex!important;flex-wrap:wrap!important;align-items:center!important;column-gap:16px!important;row-gap:8px!important}
  html body.toura-site:not(.toura-employee-page):not(#_) header.toura-header > .toura-brand{order:1!important;margin-right:auto!important}
  html body.toura-site:not(.toura-employee-page):not(#_) header.toura-header > .toura-header-phone{order:2!important;margin:0!important;grid-area:auto!important}
  html body.toura-site:not(.toura-employee-page):not(#_) header.toura-header > .toura-header-book{order:3!important;margin:0!important;grid-area:auto!important;white-space:nowrap!important}
  html body.toura-site:not(.toura-employee-page):not(#_) header.toura-header > .toura-menu-toggle{order:4!important;margin:0!important;grid-area:auto!important}
  html body.toura-site:not(.toura-employee-page):not(#_) header.toura-header > #toura-primary-nav{order:5!important;flex:1 1 100%!important}
  html body.toura-site:not(.toura-employee-page):not(#_) header.toura-header > .toura-header-menu-pair{order:4!important;margin:0!important;grid-area:auto!important} /* public-header.js wraps the menu button + menu here */
}

/* HIGH-06b / baseline #1 #11 (contrast only, all widths): white hero words stay readable over bright sky or snow. */
/* af3: public-menu.css sets text-shadow:none!important on the home-style hero (body.toura-site.toura-home-style-fix ...), which
   cancelled this on home and /mountains-winter/. Higher specificity + !important. text-shadow paints only: no layout change. */
html body:not(#_):not(#_) .toura-home-hero__content :is(h1,h1 span,.toura-kicker,p),
html body:not(#_):not(#_) .toura-public-hero__content :is(h1,h1 span,.toura-kicker,p){text-shadow:0 1px 2px rgba(0,0,0,.75),0 2px 14px rgba(0,0,0,.55)!important}

/* HIGH-06c: phones: the floating Chat With Us button no longer covers the Work With TOURA / Employee Sign In button. */
@media (max-width:600px){
  html body .toura-employee-footer-entry{margin-bottom:84px!important}
}

/* LOW-06 / baseline #1 #23 #24 (contrast only): stars on the WHITE review cards use a deeper gold (#b8860b, 3.25:1 on white;
   #f4bf24 was 1.7:1). Stars on dark backgrounds keep #f4bf24. */
html body .tgr-card .tgr-stars,html body .tgr-home-slide .tgr-stars{color:#b8860b!important}

/* MED-12: phones and portrait tablets: Ride Now hides the Pickup Date / Pickup Time boxes (they were shown with a * but not used). */
@media (max-width:767px){
  form:has(#svc-immediate:checked) label.scheduled-only{display:none!important}
}

/* Brief: newspaper paragraphs. Only on paragraphs the script marks (long text, wide column, left-aligned to begin with). */
/* af3 (Victor: frozen laptop): phones only (781px and narrower). The script also does nothing above 781px. */
@media (max-width:781px){
.toura-np{text-align:justify!important;text-justify:inter-word;-webkit-hyphens:auto;hyphens:auto;hyphenate-limit-chars:7 3 3;overflow-wrap:break-word;text-align-last:auto}
.toura-np-left{text-align:left!important;-webkit-hyphens:auto;hyphens:auto;overflow-wrap:break-word}
}

/* baseline #8 #14 #18 #21: the "TOURA Team / Work With TOURA / Employee Sign In" strip. Its style lived only in operations.css,
   which the 404 page, /blog/, /portals/ and /my-pay/ do not load, so it showed as plain dark text. Same rule, now everywhere. */
/* af3 (Victor: frozen laptop): phones only, so /blog/ and other laptop pages stay pixel-identical to out10. */
@media (max-width:781px){
.toura-employee-footer-entry{box-sizing:border-box;display:grid;grid-template-columns:auto 1fr auto;align-items:center;gap:.7rem;width:min(1100px,calc(100% - 1.25rem));margin:1rem auto;padding:.8rem 1rem;color:#fff;background:#101820;border:3px solid #ffc629;border-radius:.8rem}
.toura-employee-footer-entry strong{font-size:1.05rem;color:#fff}
.toura-employee-footer-entry span{color:#e3e8ed}
html body:not(#_) .toura-employee-footer-entry a{padding:.65rem .8rem;color:#101820!important;-webkit-text-fill-color:#101820!important;background:#ffc629;border:2px solid #fff;border-radius:.55rem;font-weight:900;text-align:center;text-decoration:none!important}
@media (max-width:760px){.toura-employee-footer-entry{grid-template-columns:1fr;text-align:center}}
}

/* baseline #7 #9: "Correct Odometer" link under Quick Ride was dark on dark (1.07:1). Portals are dark: gold link. */
html body a.toura-odometer-footer-link,html body a.toura-odometer-footer-link:visited{color:#ffc629!important;-webkit-text-fill-color:#ffc629!important;text-decoration:underline!important}

/* baseline #2 #10 #12 #13: signed-in "Page not found" text was near-black on the dark staff background. */
html body.logged-in.error404 main :is(h1,h2,p,li),html body.logged-in.error404 .wp-site-blocks > main{color:#f5f5f5!important}
html body.logged-in.error404 .wp-block-search__input{background:#fff!important;color:#111!important}
