/* Westside approved compact angled phone call buttons — inside-page CTAs only. */
a.ws-page-approved-call,
html body a.ws-page-approved-call {
  position:relative!important;display:inline-flex!important;align-items:center!important;justify-content:flex-start!important;
  width:214px!important;max-width:100%!important;height:54px!important;min-height:54px!important;
  margin:4px!important;padding:0!important;box-sizing:border-box!important;overflow:hidden!important;
  border:3px solid #7EDC00!important;border-radius:14px!important;background:#fff!important;
  color:#101010!important;box-shadow:0 3px 7px rgba(0,0,0,.35)!important;
  font:800 19px/1 Arial,Helvetica,sans-serif!important;letter-spacing:-.4px!important;
  text-decoration:none!important;text-transform:none!important;white-space:nowrap!important;
  transform:none!important;flex:0 0 auto!important;
}
html body a.ws-page-approved-call:hover {box-shadow:0 3px 12px rgba(0,110,0,.55)!important;}
html body a.ws-page-approved-call .ws-page-phone-shape {
  position:relative!important;z-index:1!important;display:flex!important;align-items:center!important;justify-content:center!important;
  align-self:stretch!important;flex:0 0 61px!important;width:61px!important;
  background:#7EDC00!important;color:#fff!important;margin-right:-13px!important;
  clip-path:polygon(0 0,100% 0,78% 100%,0 100%)!important;
  -webkit-clip-path:polygon(0 0,100% 0,78% 100%,0 100%)!important;
  border:0!important;border-radius:0!important;
}
html body a.ws-page-approved-call .ws-page-phone-icon {
  width:29px!important;height:29px!important;display:block!important;fill:currentColor!important;color:#fff!important;
  transform-origin:50% 55%!important;animation:ws-page-phone-ring 1.8s ease-in-out infinite!important;
}
html body a.ws-page-approved-call .ws-page-number {
  position:relative!important;z-index:0!important;display:block!important;flex:1 1 auto!important;
  width:auto!important;min-width:0!important;margin:0!important;padding:0 1px 0 15px!important;
  color:#101010!important;text-align:center!important;text-shadow:none!important;text-transform:none!important;
  font:800 19px/1 Arial,Helvetica,sans-serif!important;letter-spacing:-.4px!important;
  transform:none!important;animation:none!important;
}
@keyframes ws-page-phone-ring {0%,15%,38%,100%{transform:rotate(0deg)}20%,30%{transform:rotate(-14deg)}25%,35%{transform:rotate(14deg)}}
@media (max-width:700px) {
 html body a.ws-page-approved-call {width:auto!important;max-width:calc(100% - 8px)!important;height:42px!important;min-height:42px!important;border-radius:10px!important;font-size:clamp(11px,3.4vw,16px)!important;}
 html body a.ws-page-approved-call .ws-page-phone-shape {flex:0 0 43px!important;width:43px!important;margin-right:-10px!important;}
 html body a.ws-page-approved-call .ws-page-phone-icon {width:19px!important;height:19px!important;}
 html body a.ws-page-approved-call .ws-page-number {font-size:clamp(11px,3.4vw,16px)!important;padding-left:11px!important;padding-right:1px!important;letter-spacing:-.45px!important;}
}
@media (prefers-reduced-motion:reduce) {html body a.ws-page-approved-call .ws-page-phone-icon {animation:none!important;}}

/* Mobile-only: inside-page phone CTAs match the approved compact header/footer width.
   No header/footer rules or desktop styles are changed. */
@media screen and (max-width:700px) {
  html body a.ws-page-approved-call {
    width:147px!important;
    min-width:0!important;
    max-width:min(147px, calc(100vw - 24px))!important;
    flex:0 0 147px!important;
    align-self:center!important;
    box-sizing:border-box!important;
  }
}


/* 2026-11-06: strictly constrain mobile INSIDE-PAGE call buttons only.
   Header and footer use different classes and are not affected. */
@media screen and (max-width:700px) {
  html body a.ws-page-approved-call,
  html body a.ws-page-approved-call:link,
  html body a.ws-page-approved-call:visited {
    display:inline-flex!important;
    box-sizing:border-box!important;
    width:147px!important;
    min-width:147px!important;
    max-width:147px!important;
    height:42px!important;
    min-height:42px!important;
    max-height:42px!important;
    padding:0!important;
    margin:4px auto!important;
    border:3px solid #7EDC00!important;
    border-radius:10px!important;
    aspect-ratio:auto!important;
    line-height:1!important;
    align-items:center!important;
    align-self:center!important;
    justify-self:center!important;
    flex:0 0 147px!important;
    flex-shrink:0!important;
    flex-grow:0!important;
    overflow:hidden!important;
    white-space:nowrap!important;
  }
  html body a.ws-page-approved-call > .ws-page-phone-shape {
    display:flex!important;
    position:relative!important;
    box-sizing:border-box!important;
    align-self:center!important;
    flex:0 0 43px!important;
    width:43px!important;
    min-width:43px!important;
    max-width:43px!important;
    height:36px!important;
    min-height:36px!important;
    max-height:36px!important;
    padding:0!important;
    margin:0 -10px 0 0!important;
    border:0!important;
  }
  html body a.ws-page-approved-call > .ws-page-phone-shape > .ws-page-phone-icon {
    display:block!important;
    width:19px!important;
    height:19px!important;
    min-height:19px!important;
    max-height:19px!important;
    margin:0!important;
    padding:0!important;
  }
  html body a.ws-page-approved-call > .ws-page-number {
    display:block!important;
    flex:1 1 auto!important;
    min-width:0!important;
    width:auto!important;
    height:auto!important;
    min-height:0!important;
    max-height:36px!important;
    padding:0 1px 0 11px!important;
    margin:0!important;
    font:800 11px/1 Arial,Helvetica,sans-serif!important;
    letter-spacing:-.45px!important;
    text-align:center!important;
    white-space:nowrap!important;
  }
}


/* Contact Us mobile ONLY: override the page's width:100% action rule.
   Keep Send Us an Email untouched; match compact header/footer phone sizing. */
@media screen and (max-width:700px) {
  html body .contact-page-main .ws-contact-actions > a.ws-contact-action.ws-action-button-style.ws-page-approved-call,
  html body .contact-page-main .ws-contact-actions > a.ws-contact-action.ws-action-button-style.ws-page-approved-call:link,
  html body .contact-page-main .ws-contact-actions > a.ws-contact-action.ws-action-button-style.ws-page-approved-call:visited {
    display:inline-flex!important;
    width:147px!important;
    min-width:147px!important;
    max-width:147px!important;
    height:42px!important;
    min-height:42px!important;
    max-height:42px!important;
    padding:0!important;
    margin:4px auto!important;
    gap:0!important;
    flex:0 0 147px!important;
    justify-self:center!important;
    align-self:center!important;
    align-items:center!important;
    justify-content:flex-start!important;
    border:3px solid #7EDC00!important;
    border-radius:10px!important;
    background:#fff!important;
    box-shadow:0 3px 7px rgba(0,0,0,.35)!important;
    box-sizing:border-box!important;
    overflow:hidden!important;
  }
  html body .contact-page-main .ws-contact-actions > a.ws-page-approved-call > .ws-page-phone-shape {
    height:36px!important;
    min-height:36px!important;
    max-height:36px!important;
    width:43px!important;
    min-width:43px!important;
    max-width:43px!important;
    flex:0 0 43px!important;
    margin:0 -10px 0 0!important;
    padding:0!important;
    align-self:center!important;
  }
  html body .contact-page-main .ws-contact-actions > a.ws-page-approved-call > .ws-page-number {
    font:800 11px/1 Arial,Helvetica,sans-serif!important;
    text-shadow:none!important;
    -webkit-text-stroke:0!important;
    color:#101010!important;
    padding:0 1px 0 11px!important;
    margin:0!important;
    min-width:0!important;
    flex:1 1 auto!important;
    text-align:center!important;
  }
}


/* 2026-11-06 — INSIDE-PAGE PHONE BUTTONS ONLY (mobile).
   Match the recently enlarged header/footer buttons, avoiding cropped digits.
   Does not select header, footer, email buttons or desktop styles. */
@media screen and (max-width:700px) {
  html body a.ws-page-approved-call,
  html body a.ws-page-approved-call:link,
  html body a.ws-page-approved-call:visited,
  html body .contact-page-main .ws-contact-actions > a.ws-contact-action.ws-action-button-style.ws-page-approved-call,
  html body .contact-page-main .ws-contact-actions > a.ws-contact-action.ws-action-button-style.ws-page-approved-call:link,
  html body .contact-page-main .ws-contact-actions > a.ws-contact-action.ws-action-button-style.ws-page-approved-call:visited {
    display:inline-flex!important;
    box-sizing:border-box!important;
    position:relative!important;
    flex:0 0 auto!important;
    width:min(184px, calc(100vw - 32px))!important;
    min-width:0!important;
    max-width:min(184px, calc(100vw - 32px))!important;
    height:42px!important;
    min-height:42px!important;
    max-height:42px!important;
    margin:4px auto!important;
    padding:0!important;
    overflow:hidden!important;
    border:3px solid #7EDC00!important;
    border-radius:10px!important;
    background:#fff!important;
    align-items:center!important;
    justify-content:flex-start!important;
    align-self:center!important;
    justify-self:center!important;
    gap:0!important;
    aspect-ratio:auto!important;
    white-space:nowrap!important;
  }
  html body a.ws-page-approved-call > .ws-page-phone-shape,
  html body .contact-page-main .ws-contact-actions > a.ws-page-approved-call > .ws-page-phone-shape {
    display:flex!important;
    position:relative!important;
    flex:0 0 43px!important;
    width:43px!important;
    min-width:43px!important;
    max-width:43px!important;
    height:36px!important;
    min-height:36px!important;
    max-height:36px!important;
    margin:0 -10px 0 0!important;
    padding:0!important;
    border:0!important;
    align-self:center!important;
    align-items:center!important;
    justify-content:center!important;
    background:#7EDC00!important;
    clip-path:polygon(0 0,100% 0,78% 100%,0 100%)!important;
    -webkit-clip-path:polygon(0 0,100% 0,78% 100%,0 100%)!important;
  }
  html body a.ws-page-approved-call > .ws-page-phone-shape > .ws-page-phone-icon {
    width:19px!important;height:19px!important;min-width:19px!important;min-height:19px!important;
    max-width:19px!important;max-height:19px!important;
    color:#fff!important;
  }
  html body a.ws-page-approved-call > .ws-page-number,
  html body .contact-page-main .ws-contact-actions > a.ws-page-approved-call > .ws-page-number {
    display:block!important;
    box-sizing:border-box!important;
    flex:1 1 0!important;
    width:auto!important;
    min-width:0!important;
    max-width:none!important;
    height:auto!important;
    min-height:0!important;
    max-height:36px!important;
    padding:0 2px 0 11px!important;
    margin:0!important;
    color:#101010!important;
    font-family:Arial,Helvetica,sans-serif!important;
    font-size:clamp(11px,3.3vw,14px)!important;
    font-weight:800!important;
    line-height:1.1!important;
    letter-spacing:-.35px!important;
    text-align:center!important;
    white-space:nowrap!important;
    text-shadow:none!important;
    -webkit-text-stroke:0!important;
    transform:none!important;
    animation:none!important;
  }
  /* Two mobile-only phone buttons within Cash for Cars page content. */
  html body .ws-cash-mobile-phone-links {
    display:flex!important;
    justify-content:center!important;
    align-items:center!important;
    flex-wrap:nowrap!important;
    gap:8px!important;
    width:100%!important;
    max-width:100%!important;
    box-sizing:border-box!important;
    margin:9px auto!important;
    padding:0!important;
  }
  html body .ws-cash-mobile-phone-links > a.ws-page-approved-call {
    flex:1 1 0!important;
    width:0!important;
    max-width:184px!important;
    min-width:0!important;
    margin:0!important;
  }
  html body .ws-cash-desktop-phone-links {display:none!important;}
}
@media screen and (min-width:701px) {
  html body .ws-cash-mobile-phone-links {display:none!important;}
}
@media screen and (max-width:350px) {
  html body .ws-cash-mobile-phone-links > a.ws-page-approved-call .ws-page-phone-shape {
    flex-basis:39px!important;
    width:39px!important;
    min-width:39px!important;
    max-width:39px!important;
  }
  html body .ws-cash-mobile-phone-links > a.ws-page-approved-call .ws-page-number {
    padding-left:9px!important;
  }
}

/* Mobile inside-page phone numbers: improve legibility only.
   Does not affect desktop, header, footer, email CTAs or button dimensions. */
@media screen and (max-width:700px) {
  html body a.ws-page-approved-call > .ws-page-number,
  html body .contact-page-main .ws-contact-actions > a.ws-page-approved-call > .ws-page-number,
  html body .ws-cash-mobile-phone-links > a.ws-page-approved-call > .ws-page-number {
    font-size:clamp(14px, 4.15vw, 17px)!important;
    font-weight:800!important;
    line-height:1!important;
    letter-spacing:-.45px!important;
  }
}
