/* WordPress-only additions on top of the mockup styles */
.screen-reader-text{position:absolute!important;width:1px;height:1px;overflow:hidden;clip:rect(1px,1px,1px,1px);white-space:nowrap}
.lang,.lang-link{display:inline-grid;place-items:center;min-width:44px;min-height:44px;text-decoration:none;font:500 15px "IBM Plex Sans Arabic","Archivo",sans-serif;color:inherit}
.prose p,.prose ul,.prose ol{margin:0 0 1em}
.prose h2,.prose h3{margin:1.4em 0 .5em}
.prose a{color:var(--brass,#C9A063)}
.mode-btn[aria-pressed=true]{background:transparent}

/* hidden anti-spam field: off-screen without causing sideways scroll in either direction */
.mk-hp{position:absolute!important;width:1px;height:1px;opacity:0;overflow:hidden;clip:rect(0 0 0 0);pointer-events:none;inset-inline-start:0}

/* Phone header: logo, light/dark, language and menu must fit on 375px */
@media (max-width:760px){
  .nav .wrap{gap:10px}
  .nav .r{gap:6px}
  .brand{gap:8px}
  .brand b{font-size:17px}
  .brand span{display:none}
  .mode-btn,.menu-btn{width:40px;height:40px}
  .lang,.lang-link{min-width:34px;min-height:40px}
}
@media (max-width:420px){
  .layout-recovery .btn-call{padding:0 10px}
  .layout-recovery .brand svg{width:24px;height:24px}
  .layout-recovery .brand b{font-size:15px}
}
@media (max-width:380px){.layout-recovery .brand div{display:none}}

/* Header links never wrap; switch to the ≡ menu before they would collide */
.nav ul a,.nav .btn,.btn-call{white-space:nowrap}
@media (max-width:1180px){.nav ul{gap:18px}.nav .r{gap:12px}}
@media (max-width:1120px){
  .nav ul{display:none!important}
  .menu-btn{display:grid!important;place-items:center}
}

/* Cards (home reel, service lists, related): title and price never collide.
   The title takes the row; the price drops below it when there isn't room. */
.card .meta{display:flex;flex-wrap:wrap;align-items:baseline;justify-content:space-between;column-gap:16px;row-gap:6px}
.card .meta h3{flex:1 1 auto;min-width:0;overflow-wrap:anywhere}
.card .meta .price{flex:0 0 auto;margin-inline-start:auto}
.card p{max-width:none}

/* Stat numbers (12,000+ etc.) always fit their column */
.stats > *{min-width:0}
.stats > *{container-type:inline-size}
.stats b{font-size:clamp(28px,19cqw,52px)!important;font-stretch:105%!important;white-space:nowrap;letter-spacing:-.02em!important}
@media (max-width:760px){.stats b{font-size:clamp(30px,8.5vw,44px)!important}}
/* About timeline: year column fits on phones */
.tl li > *{min-width:0}
@media (max-width:760px){.tl li{grid-template-columns:auto 1fr!important;column-gap:16px}.tl .y{font-size:22px!important}}
/* Phone service reel: cards snap inside the page margin, not to the screen edge */
@media (max-width:760px){.track{scroll-padding-inline:var(--g)}}
/* "Find your car": last row for makes without their own page */
.blist .bother{display:grid;grid-template-columns:minmax(0,4fr) minmax(0,4fr) minmax(0,3fr);align-items:center;gap:20px;padding:22px 0;border-bottom:1px solid var(--ink-line)}
.blist .bother label{color:var(--steel)}
.bother .bo-pick{display:flex;gap:10px;align-items:center;min-width:0}
.bother select{flex:1 1 auto;min-width:0;min-height:48px;padding:0 12px;border:1px solid var(--ink-line);background:var(--ink-2);color:var(--white);font:15px var(--body);border-radius:2px}
.bother select:focus{outline:2px solid var(--brass);outline-offset:1px}
.bother .btn{flex:none}
@media (max-width:760px){.blist .bother{grid-template-columns:1fr;gap:10px}}
/* Legal: cookie bar, form consent line, footer links */
/* Slim and in the corner, away from the headline and the main buttons (which sit at the start side) */
.mk-cc{position:fixed;z-index:90;bottom:16px;inset-inline-end:16px;width:min(400px,calc(100vw - 32px));display:flex;gap:10px 14px;align-items:center;flex-wrap:wrap;padding:12px 14px;background:#16191E;color:#F6F7F8;border-radius:4px;box-shadow:0 12px 32px rgba(0,0,0,.35);font:400 13px/1.45 var(--display,inherit)}
.mk-cc[hidden]{display:none}
.mk-cc p{flex:1 1 220px;margin:0;color:#F6F7F8}
.mk-cc a{color:inherit;text-decoration:underline}
.mk-cc > div{display:flex;gap:6px;flex:none}
.mk-cc .btn{min-height:36px;padding:0 12px;font-size:13px;gap:6px}
.mk-cc .btn-line{background:transparent;border:1px solid rgba(246,247,248,.35);color:#F6F7F8}
.mk-cc .btn-brass{background:#C9A063;border-color:#C9A063;color:#0D0F12}
/* phones: a compact strip across the bottom, text and buttons side by side */
@media (max-width:760px){
  .mk-cc{inset-inline:8px;width:auto;bottom:8px;padding:10px 12px;gap:8px 10px;flex-wrap:nowrap;font-size:12.5px;line-height:1.4}
  .mk-cc p{flex:1 1 auto}
  .mk-cc > div{flex-direction:column}
  .mk-cc .btn{min-height:34px;padding:0 10px;font-size:12.5px;width:100%}
}
/* sit above the fixed bottom bars: recovery call bar (always) and the phone Call/WhatsApp/Book bar */
body:has(nav.bar) .mk-cc{bottom:calc(92px + env(safe-area-inset-bottom,0px))}
@media (max-width:760px){body:has(.mbar) .mk-cc{bottom:calc(72px + env(safe-area-inset-bottom,0px))}}
.mk-consent{margin:10px 0 0;font-size:12.5px;line-height:1.5;opacity:.75}
.mk-consent a{color:inherit;text-decoration:underline}
.mk-legal-links a,.linkish{color:inherit;text-decoration:underline;text-underline-offset:3px}
.linkish{background:none;border:0;padding:0;font:inherit;cursor:pointer}
.mk-foot-note{display:block;width:100%;margin-top:10px;opacity:.8}
.prose h2{margin:1.6em 0 .5em}
.prose h3{margin:1.2em 0 .4em}
.prose ul{padding-inline-start:1.2em}
.prose li{margin:.3em 0}
