/* VP audit fixes, 12 November 2026. Source: docs/seo-audit-2026-11-12/AUDIT.md.
   Delete vp-audit-fixes-20261112.php to revert everything in this file. */

/* C1) Headings left on Elementor's factory #6EC1E4 over the #E7F5FF panel:
       1.82:1 against the 3:1 large text needs. These four element ids postdate
       the census in vp-brand-style-fixes.php item 13. Scoped by post id because
       the ids are cloned between solution pages. -> 11.5:1. */
body.postid-4343 .elementor-element-723d4b66 .elementor-heading-title,
body.postid-4343 .elementor-element-465eb5fe .elementor-heading-title,
body.postid-9277 .elementor-element-723d4b66 .elementor-heading-title,
body.postid-9277 .elementor-element-465eb5fe .elementor-heading-title,
body.postid-4392 .elementor-element-513b6c8d .elementor-heading-title,
body.postid-4392 .elementor-element-266d1ca3 .elementor-heading-title{color:#2B3247 !important;}

/* C2) Links in the service depth sections: #0378CC on #F5F6F8 = 4.26:1 -> 5.26:1. */
.vp-depth.vp-depth-more a,.vp-depth.vp-depth-home a{color:#0369B5;}

/* C3) Brand blue behind or under small text (Luke, 12 Nov: darker blue on small
       text only; headings and the logo keep #0496FF).
       Enquiry step numbers: white on #0496FF = 3.08:1 -> 5.69:1.
       "Chat to us now" on the #E7F5FF panel: 4.14:1 -> 5.12:1. */
.vp-enq-steps .vp-enq-num{background:#0369B5;}
/* Same selector as the enquiry page's own inline rule, one class heavier, because
   that rule is !important. */
body.page-id-2650 .vp-enq-layout .elementor-element-2bd6539 .elementor-shortcode > p:has(> a[data-vp-chat-open]) a{color:#0369B5 !important;}

/* C7) Phone-only enquiry button (Luke, 12 Nov). Bottom left: the chat bubble
       owns bottom right, and the cookie panel sits 88px up from the bottom, so
       neither is covered. The label is one word so it clears the chat pill on a
       320px screen. Hidden while the phone menu is open: the menu has its own
       enquiry button. Not printed on the enquiry, careers or job pages. */
.vp-sticky-enq{display:none;}
@media (max-width:767px){
  .vp-sticky-enq{display:inline-flex;align-items:center;position:fixed;left:16px;
    bottom:calc(16px + env(safe-area-inset-bottom,0px));z-index:9990;min-height:44px;
    padding:0 20px;border-radius:999px;background:#2B3247;color:#FFFFFF;
    font:600 14px/1 Poppins,"Segoe UI",system-ui,sans-serif;letter-spacing:.02em;
    text-decoration:none;box-shadow:0 6px 18px rgba(26,32,50,.28);}
  body.ast-main-header-nav-open .vp-sticky-enq{display:none;}
  .vp-sticky-enq:hover,.vp-sticky-enq:focus{background:#1A2032;color:#FFFFFF;}
  .vp-sticky-enq:focus-visible{outline:3px solid #0496FF;outline-offset:2px;}
}
/* Under 360px the chat pill reaches the left edge, so there is no room. */
@media (max-width:359px){.vp-sticky-enq{display:none;}}
@media print{.vp-sticky-enq{display:none !important;}}
