/*
Theme Name: WD23 Comment Policy Child
Template: optimise-health
Version: 1.2.28
*/

/* WD23 legal-page layout, mapped exactly onto Optimise Health's UK content. */
.legal-page:has(.legal-docnav) {
  --legal-bg:#090909;
  --legal-surface:#111111;
  --legal-ink:#f5f5f5;
  --legal-muted:#b8b8b8;
  --legal-border:rgba(255,255,255,.15);
  min-height:100vh;
  padding:0;
  color:var(--legal-ink);
  background:var(--legal-bg);
  font:400 16px/1.72 Arial,Helvetica,sans-serif;
}
.legal-page:has(.legal-docnav) :is(
  p,a,button,input,textarea,select,label,span,li,
  h1,h2,h3,h4,h5,h6,strong,small
) {
  font-family:Arial,Helvetica,sans-serif !important;
  letter-spacing:0 !important;
}
.legal-page:has(.legal-docnav) * { box-sizing:border-box; }
.legal-page:has(.legal-docnav) .legal-wrap { width:min(calc(100% - 48px),1120px); margin-inline:auto; }
.legal-page:has(.legal-docnav) .legal-hero {
  padding:52px 0 12px;
  border:0;
  color:var(--legal-ink);
  background:var(--legal-bg);
  text-align:left;
}
.legal-page:has(.legal-docnav) .legal-hero .legal-wrap { width:min(calc(100% - 48px),1120px); }
.legal-page:has(.legal-docnav) .legal-hero h1 {
  width:100%;
  max-width:none;
  margin:0;
  color:var(--legal-ink);
  font:400 28px/1.2 Arial,Helvetica,sans-serif !important;
  letter-spacing:0 !important;
  text-align:left !important;
  text-transform:uppercase !important;
}
.legal-docnav {
  width:min(calc(100% - 48px),1120px);
  margin:0 auto 40px;
  padding:0;
  display:flex;
  flex-wrap:wrap;
  gap:8px;
  background:var(--legal-bg);
  border:0;
}
.legal-docnav :is(a,button) {
  appearance:none;
  min-width:0;
  max-width:100%;
  min-height:40px;
  padding:0 18px;
  border:1px solid var(--legal-border);
  border-radius:2px;
  color:var(--legal-ink);
  display:inline-flex;
  align-items:center;
  justify-content:center;
  font:400 11px/1 Arial,Helvetica,sans-serif;
  letter-spacing:0 !important;
  text-decoration:none;
  text-transform:uppercase;
}
.legal-docnav :is(a,button):hover,
.legal-docnav :is(a,button):focus-visible { color:var(--legal-ink); border-color:var(--legal-ink); }
.legal-docnav button[data-oh-cookie-open] {
  background:transparent !important;
  box-shadow:none !important;
  color:var(--legal-ink) !important;
}
.legal-docnav a[aria-current="page"] { background:var(--legal-ink); border-color:var(--legal-ink); color:var(--legal-bg); }
.legal-page:has(.legal-docnav) .legal-layout {
  width:min(calc(100% - 48px),1120px);
  margin-inline:auto;
  display:grid;
  grid-template-columns:minmax(190px,260px) minmax(0,1fr);
  gap:56px;
  padding:0 0 72px;
}
.legal-page:has(.legal-docnav) .legal-index {
  align-self:start;
  border-left:2px solid var(--legal-border);
  display:grid;
  gap:4px;
  padding:8px 0 8px 18px;
  position:sticky;
  top:28px;
}
.legal-page:has(.legal-docnav) .legal-index > span {
  color:var(--legal-muted);
  font-size:12px;
  letter-spacing:.1em !important;
  margin:0 0 8px;
  text-transform:uppercase;
}
.legal-page:has(.legal-docnav) .legal-index a {
  border:0;
  border-radius:6px;
  color:var(--legal-muted);
  background:transparent;
  display:block;
  font-size:14px;
  font-weight:400;
  line-height:1.35;
  padding:7px 8px;
  text-align:left;
  text-decoration:none;
}
.legal-page:has(.legal-docnav) .legal-index a:hover,
.legal-page:has(.legal-docnav) .legal-index a:focus-visible { background:rgba(255,255,255,.07); color:var(--legal-ink); outline:2px solid transparent; }
.legal-page:has(.legal-docnav) .legal-content { min-width:0; max-width:760px; color:var(--legal-muted); font:400 16px/1.72 Arial,Helvetica,sans-serif; }
.legal-page:has(.legal-docnav) .legal-content > :first-child { margin-top:0; }
.legal-page:has(.legal-docnav) .legal-content h2 { color:var(--legal-ink); font:400 20px/1.3 Arial,Helvetica,sans-serif; letter-spacing:0 !important; margin:56px 0 16px; padding:0; border:0; scroll-margin-top:24px; text-transform:uppercase !important; }
.legal-page:has(.legal-docnav) .legal-content h3 { color:var(--legal-ink); font:400 20px/1.3 Arial,Helvetica,sans-serif; letter-spacing:0 !important; margin:32px 0 10px; text-transform:uppercase !important; }
.legal-page:has(.legal-docnav) .legal-content :is(p,li) { color:var(--legal-muted); }
.legal-page:has(.legal-docnav) .legal-content p { margin:0 0 18px; }
.legal-page:has(.legal-docnav) .legal-content ul { margin:0 0 22px; padding-left:22px; }
.legal-page:has(.legal-docnav) .legal-content li + li { margin-top:8px; }
.legal-page:has(.legal-docnav) .legal-content strong { color:var(--legal-ink); }
.legal-page:has(.legal-docnav) .legal-content a { color:var(--legal-ink); text-decoration:underline; text-decoration-color:currentColor; text-underline-offset:3px; }
.legal-page:has(.legal-docnav) a:focus-visible { outline:2px solid var(--legal-ink); outline-offset:4px; }

@media (max-width:800px) {
  .legal-page:has(.legal-docnav) .legal-wrap { width:min(calc(100% - 36px),760px); }
  .legal-page:has(.legal-docnav) .legal-hero { padding:44px 0 10px; }
  .legal-page:has(.legal-docnav) .legal-hero h1 { font-size:24px !important; }
  .legal-docnav {
    width:min(calc(100% - 36px),760px);
    display:flex;
    flex-flow:row nowrap;
    gap:0;
    margin-bottom:32px;
    overflow-x:auto;
    overflow-y:hidden;
    padding-bottom:10px;
    scrollbar-width:none;
    white-space:nowrap;
    -webkit-overflow-scrolling:touch;
  }
  .legal-docnav::-webkit-scrollbar { display:none; }
  .legal-docnav :is(a,button) {
    border:0;
    border-radius:0;
    flex:0 0 auto;
    min-height:0;
    padding:0;
    text-align:left;
    text-decoration:underline;
    text-decoration-color:transparent;
    text-underline-offset:4px;
  }
  .legal-docnav > * + *::before { color:var(--legal-muted); content:"/"; margin:0 10px; text-decoration:none; }
  .legal-docnav a[aria-current="page"] { background:transparent; color:var(--legal-ink); text-decoration-color:currentColor; }
  .legal-docnav :is(a,button):hover,
  .legal-docnav :is(a,button):focus-visible { border:0; text-decoration-color:currentColor; }
  .legal-page:has(.legal-docnav) .legal-layout { width:min(calc(100% - 36px),760px); gap:32px; grid-template-columns:1fr; padding-bottom:56px; }
  .legal-page:has(.legal-docnav) .legal-index {
    border-bottom:1px solid var(--legal-border);
    border-left:0;
    display:flex;
    gap:18px;
    margin-bottom:0;
    overflow-x:auto;
    padding:0 0 14px;
    position:static;
    scrollbar-width:thin;
  }
  .legal-page:has(.legal-docnav) .legal-index > span { align-self:center; flex:0 0 auto; margin:0 6px 0 0; }
  .legal-page:has(.legal-docnav) .legal-index a { background:transparent; border:0; border-radius:0; flex:0 0 auto; max-width:none; padding:0; text-decoration:underline; text-decoration-color:currentColor; text-underline-offset:4px; white-space:nowrap; }
  .legal-page:has(.legal-docnav) .legal-index a:hover,
  .legal-page:has(.legal-docnav) .legal-index a:focus-visible { background:transparent; text-decoration-color:currentColor; }
  .legal-page:has(.legal-docnav) .legal-content h2 { margin-top:42px; }
}
.consent-modal__close { box-sizing:border-box !important; border:1px solid #111 !important; border-radius:50% !important; height:42px !important; width:42px !important; }
.consent-option i { box-sizing:border-box !important; height:25px !important; width:46px !important; }
.wd23-a11y-options button { min-height:72px !important; }

@media (prefers-reduced-motion:reduce) {
  .legal-page:has(.legal-docnav) { scroll-behavior:auto; }
}

/* Global legal footer: one scrollable row above the copyright. */
.footer-bottom {
  align-items:center !important;
  display:flex !important;
  flex-direction:column !important;
  gap:6px !important;
}
.footer-bottom > nav {
  display:flex !important;
  flex-flow:row nowrap !important;
  gap:0 !important;
  justify-content:center !important;
  max-width:100%;
  order:1;
  overflow-x:auto !important;
  overflow-y:hidden !important;
  padding:0 0 4px !important;
  scrollbar-width:none;
  white-space:nowrap;
  width:100%;
  -webkit-overflow-scrolling:touch;
}
.footer-bottom > nav::-webkit-scrollbar { display:none; }
.footer-bottom > nav > * {
  align-items:center;
  display:inline-flex;
  flex:0 0 auto;
  margin:0 !important;
  padding:0 !important;
}
.footer-bottom > nav > * + *::before {
  color:currentColor;
  content:"/";
  margin:0 10px;
  opacity:.65;
}
.footer-bottom > span {
  order:2;
  text-align:center;
  width:100%;
}
.footer-bottom > .footer-top { order:3; }

@media (max-width:760px) {
  .footer-bottom > nav { justify-content:flex-start !important; }
}

/* WD23 site-owned accessibility display tools. */
.footer-social .wd23-a11y-launcher {
  align-items:center;
  background:#111;
  border:1px solid #111;
  border-radius:50%;
  color:#fff;
  cursor:pointer;
  display:inline-flex;
  flex:0 0 auto;
  height:40px;
  justify-content:center;
  margin:0;
  padding:0;
  position:static;
  transition:color .2s ease,background .2s ease;
  width:40px;
}
.footer-social .wd23-a11y-launcher:hover,
.footer-social .wd23-a11y-launcher:focus-visible { background:#fff; border-color:#111; color:#111; outline:0; }
body .site-footer .footer-social > button.wd23-a11y-launcher {
  -webkit-appearance:none !important;
  appearance:none !important;
  aspect-ratio:1 / 1 !important;
  background:#111 !important;
  background-image:none !important;
  border:1px solid #111 !important;
  border-radius:999px !important;
  box-shadow:none !important;
  clip-path:none !important;
  color:#fff !important;
  cursor:pointer !important;
  flex:0 0 40px !important;
  height:40px !important;
  line-height:0 !important;
  max-height:40px !important;
  max-width:40px !important;
  min-height:40px !important;
  min-width:40px !important;
  overflow:hidden !important;
  padding:0 !important;
  width:40px !important;
}
body .site-footer .footer-social > button.wd23-a11y-launcher:hover,
body .site-footer .footer-social > button.wd23-a11y-launcher:focus-visible {
  background:#fff !important;
  color:#111 !important;
}

.wd23-a11y-launcher svg { display:block !important; fill:currentColor !important; height:18px !important; max-height:18px !important; max-width:18px !important; stroke:none !important; width:18px !important; }
.wd23-a11y-launcher svg path { fill:currentColor !important; stroke:none !important; }
.wd23-a11y-panel[hidden] { display:none !important; }
.wd23-a11y-panel {
  background:#fff;
  bottom:18px;
  box-shadow:0 22px 70px rgba(0,0,0,.38);
  clip-path:polygon(0 0,calc(100% - 18px) 0,100% 18px,100% 100%,18px 100%,0 calc(100% - 18px));
  color:#111;
  font-family:Arial,Helvetica,sans-serif;
  left:18px;
  max-height:calc(100svh - 36px);
  opacity:0;
  overflow:auto;
  padding:22px;
  position:fixed;
  transform:translateY(12px) scale(.985);
  transition:opacity .2s ease,transform .22s cubic-bezier(.22,1,.36,1);
  width:min(360px,calc(100vw - 36px));
  z-index:99981;
}
.wd23-a11y-panel.is-open { opacity:1; transform:none; }
.wd23-a11y-header { align-items:flex-start; display:flex; gap:20px; justify-content:space-between; }
.wd23-a11y-header > div > span { display:block; font-size:10px; font-weight:600; letter-spacing:.12em; text-transform:uppercase; }
.wd23-a11y-header h2 { color:#111; font:500 26px/1 Arial,Helvetica,sans-serif; letter-spacing:0; margin:6px 0 0; text-transform:none; }
.wd23-a11y-close { background:transparent; border:0; border-radius:50%; color:#111; cursor:pointer; flex:0 0 auto; height:40px; padding:0; position:relative; transition:transform .2s ease; width:40px; }
.wd23-a11y-close:hover,
.wd23-a11y-close:focus-visible { transform:rotate(90deg); }
.wd23-a11y-close span { background:currentColor; height:1px; left:11px; position:absolute; top:20px; transform:rotate(45deg); width:18px; }
.wd23-a11y-close span + span { transform:rotate(-45deg); }
.wd23-a11y-intro { color:#555; font:400 13px/1.55 Arial,Helvetica,sans-serif; margin:16px 0 18px; }
.wd23-a11y-options { display:grid; gap:8px; grid-template-columns:1fr 1fr; }
.wd23-a11y-options button { align-items:flex-start; background:#fff; border:1px solid #d8d8d8; color:#111; cursor:pointer; display:flex; flex-direction:column; font:400 12px/1.25 Arial,Helvetica,sans-serif; gap:10px; justify-content:space-between; min-height:72px; padding:12px; text-align:left; }
.wd23-a11y-options button b { display:block; height:30px; text-decoration:none; width:30px; }
.wd23-a11y-options button b svg { fill:none; height:30px; stroke:currentColor; stroke-linecap:round; stroke-linejoin:round; stroke-width:2; width:30px; }
.wd23-a11y-options button b .wd23-a11y-icon-fill { fill:currentColor; stroke:currentColor; }
.wd23-a11y-options button[aria-pressed="true"] { background:#111; border-color:#111; color:#fff; }
.wd23-a11y-options button:hover,
.wd23-a11y-options button:focus-visible { border-color:#111; outline:2px solid #111; outline-offset:1px; }
.wd23-a11y-reset { align-items:center; background:#111; border:1px solid #111; color:#fff; cursor:pointer; display:flex; font:500 11px/1 Arial,Helvetica,sans-serif; gap:8px; justify-content:center; letter-spacing:.04em; margin-top:12px; min-height:42px; padding:0 14px; text-transform:uppercase; width:100%; }
.wd23-a11y-reset:hover,
.wd23-a11y-reset:focus-visible { background:#fff; color:#111; }
.wd23-a11y-statement { color:#111; display:block; font:500 11px/1 Arial,Helvetica,sans-serif; letter-spacing:.03em; margin-top:14px; text-align:center; text-decoration:underline; text-underline-offset:3px; text-transform:uppercase; }
html.wd23-a11y-text { font-size:112.5% !important; }
html.wd23-a11y-contrast body { filter:contrast(1.22); }
html.wd23-a11y-links body a { text-decoration:underline !important; text-decoration-thickness:2px !important; text-underline-offset:3px !important; }
html.wd23-a11y-spacing body :is(p,li,label,blockquote) { letter-spacing:.035em !important; line-height:1.8 !important; word-spacing:.08em !important; }
html.wd23-a11y-cursor body,
html.wd23-a11y-cursor body * { cursor:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='32' height='32' viewBox='0 0 32 32'%3E%3Cpath fill='%23000' stroke='%23fff' stroke-width='2' d='M3 2l21 18-10 1 6 8-5 3-6-9-6 7z'/%3E%3C/svg%3E") 3 2,auto !important; }
html.wd23-a11y-motion *,
html.wd23-a11y-motion *::before,
html.wd23-a11y-motion *::after { animation-duration:.001ms !important; animation-iteration-count:1 !important; scroll-behavior:auto !important; transition-duration:.001ms !important; }
@media (max-width:520px) {
  .wd23-a11y-panel { bottom:10px; left:10px; padding:20px; width:calc(100vw - 20px); }
}
@media (prefers-reduced-motion:reduce) {
  .wd23-a11y-panel,
  .wd23-a11y-close { transition:none; }
}

/* Canonical WD23 utility-panel geometry. */
.wd23-a11y-panel { width:min(360px,calc(100vw - 36px)); }
.wd23-a11y-reset {
  appearance:none;
  border:0;
  border-radius:0;
  clip-path:polygon(0 0,calc(100% - 9px) 0,100% 9px,100% 100%,9px 100%,0 calc(100% - 9px));
  min-height:44px;
}
.wd23-a11y-reset:hover,
.wd23-a11y-reset:focus-visible { outline:2px solid #111; outline-offset:2px; }

/* Reusable pre-footer enquiry: match the light single-article treatment. */
body .weston-enquiry {
  background:#f7f8f7;
  border-top:1px solid #dce5e9;
  color:#152832;
}
body .weston-enquiry h2 {
  color:#152832;
  font-size:clamp(2rem,3.8vw,3.45rem);
  line-height:.98;
  max-width:11.5em;
  text-wrap:balance;
}
body .weston-enquiry h2 strong,
body .weston-enquiry h2 span {
  display:block;
  white-space:nowrap;
}
body .weston-enquiry .weston-kicker { color:#337ea4; }
body .weston-enquiry .weston-enquiry__intro > p { color:#5f7079; }
body .weston-enquiry .weston-enquiry__contact { border-top-color:#d6e0e4; }
body .weston-enquiry .weston-enquiry__contact small { color:#78909b; }
body .weston-enquiry .weston-enquiry__contact a,
body .weston-enquiry .weston-enquiry__contact span { color:#152832; }
body .weston-enquiry .weston-enquiry__form {
  background:#fff;
  border:1px solid #dce5e9;
  clip-path:polygon(0 0,calc(100% - 14px) 0,100% 14px,100% 100%,14px 100%,0 calc(100% - 14px));
  color:#152832;
  padding:clamp(1.5rem,3.5vw,2.75rem);
}
body .weston-enquiry .contact-form label,
body .weston-enquiry .form-consent label,
body .weston-enquiry .form-small,
body .weston-enquiry .legal-note,
body .weston-enquiry .recaptcha-disclosure { color:#5f7079; }
body .weston-enquiry .contact-form input:not([type=checkbox]),
body .weston-enquiry .contact-form select,
body .weston-enquiry .contact-form textarea {
  border-bottom-color:rgba(21,40,50,.28);
  color:#152832;
}
body .weston-enquiry .contact-form select { color-scheme:light; }
body .weston-enquiry .contact-form input:focus-visible,
body .weston-enquiry .contact-form select:focus-visible,
body .weston-enquiry .contact-form textarea:focus-visible { border-color:#337ea4; }
/* Contact Form 7 normally supplies these visibility rules. Keep its live-region
   status available to assistive technology without rendering an empty box. */
.wpcf7 .screen-reader-response {
  position:absolute !important;
  width:1px !important;
  height:1px !important;
  margin:-1px !important;
  padding:0 !important;
  overflow:hidden !important;
  clip:rect(0 0 0 0) !important;
  clip-path:inset(50%) !important;
  border:0 !important;
  white-space:nowrap !important;
}
.wpcf7 fieldset.hidden-fields-container { display:none !important; }
.wpcf7-response-output[aria-hidden="true"] { display:none !important; }
.wpcf7-response-output[aria-hidden="false"] { display:block; }
body .weston-enquiry .contact-form .button,
body .weston-enquiry .form-submit :is(input.wpcf7-submit,button.button) {
  background:#152832 !important;
  border-color:#152832 !important;
  color:#fff !important;
  -webkit-text-fill-color:#fff;
  opacity:1 !important;
  visibility:visible !important;
}
body .weston-enquiry .form-notice { background:#edf4f7; color:#152832; }
body .weston-enquiry .iti { --iti-country-selector-bg:#fff; --iti-icon-color:#5f7079; }
body .weston-enquiry .iti__selected-country { color:#152832; }

@media (max-width:620px) {
  body .weston-enquiry h2 {
    font-size:clamp(1.8rem,8vw,2.35rem);
    max-width:none;
  }
  body .weston-enquiry .weston-enquiry__form { padding:1.35rem; }
}

/* Match the primary Contact Us form to the approved light form system. */
.contact-hero-weston__form {
  background:#f7f8f7;
  color:#152832;
}
.contact-hero-weston h1 {
  color:#152832;
  flex-direction:column;
  gap:0;
  white-space:normal;
}
.contact-hero-weston .weston-kicker { color:#337ea4; }
.contact-hero-weston .contact-hero-weston__inner > p { color:#5f7079; }
.contact-hero-weston .contact-call { color:#334b58; }
.contact-hero-weston .contact-form label,
.contact-hero-weston .form-consent label,
.contact-hero-weston .form-small,
.contact-hero-weston .legal-note,
.contact-hero-weston .recaptcha-disclosure { color:#5f7079; }
.contact-hero-weston .contact-form input:not([type=checkbox]),
.contact-hero-weston .contact-form select,
.contact-hero-weston .contact-form textarea {
  background:transparent;
  border:0;
  border-bottom:1px solid rgba(21,40,50,.28);
  border-radius:0;
  color:#152832;
  padding:.85rem 0;
}
.contact-hero-weston .contact-form select { color-scheme:light; }
.contact-hero-weston .contact-form input:focus-visible,
.contact-hero-weston .contact-form select:focus-visible,
.contact-hero-weston .contact-form textarea:focus-visible { border-color:#337ea4; }
.contact-hero-weston .contact-form .button,
.contact-hero-weston .form-submit :is(input.wpcf7-submit,button.button) {
  background:#152832 !important;
  border-color:#152832 !important;
  color:#fff !important;
  -webkit-text-fill-color:#fff;
}
.contact-hero-weston .iti { --iti-country-selector-bg:#fff; --iti-icon-color:#5f7079; }
.contact-hero-weston .iti__selected-country { color:#152832; }

/* Keep every consultation/contact submit action legible and consistent. */
body form :is(input.wpcf7-submit,input.button[type=submit],button.button[type=submit]) {
  cursor:pointer;
  transition:background-color .2s ease,border-color .2s ease,color .2s ease,box-shadow .2s ease;
}
body form :is(input.wpcf7-submit,input.button[type=submit],button.button[type=submit]):hover:not(:disabled) {
  background-color:#337ea4 !important;
  border-color:#337ea4 !important;
  color:#fff !important;
  -webkit-text-fill-color:#fff !important;
  box-shadow:0 8px 22px rgba(51,126,164,.18);
  transform:none !important;
}
body form :is(input.wpcf7-submit,input.button[type=submit],button.button[type=submit]):active:not(:disabled) {
  background-color:#286885 !important;
  border-color:#286885 !important;
  box-shadow:none;
}
body form :is(input.wpcf7-submit,input.button[type=submit],button.button[type=submit]):focus-visible {
  outline:3px solid #337ea4;
  outline-offset:4px;
}
body form :is(input.wpcf7-submit,input.button[type=submit],button.button[type=submit]):disabled {
  cursor:not-allowed;
  opacity:.55 !important;
}

/* Conversion-focused reassurance and consultation completion states. */
.wd23-form-assurance {
  align-items:center;
  color:#5f7079;
  display:flex;
  flex-wrap:wrap;
  font-size:.65rem;
  font-weight:500;
  gap:.45rem 1rem;
  letter-spacing:.035em;
  line-height:1.4;
  margin:.15rem 0 1rem !important;
}
.wd23-form-assurance span { align-items:center; display:inline-flex; gap:.38rem; }
.wd23-form-assurance span::before {
  background:#337ea4;
  border-radius:50%;
  content:"";
  height:5px;
  width:5px;
}
.consultation-modal__form .wd23-form-assurance { color:#5f7079; }
.weston-enquiry .wd23-form-assurance { color:rgba(255,255,255,.68); }
body .weston-enquiry .wd23-form-assurance,
.contact-hero-weston .wd23-form-assurance { color:#5f7079; }
.consultation-modal.is-complete .consultation-modal__form .contact-form > :not(.wpcf7-response-output) { display:none !important; }
.consultation-modal.is-complete .consultation-modal__form .wpcf7-response-output {
  background:#edf5f7;
  border:1px solid #bdd3dc;
  color:#152832;
  margin:1.5rem 0 0;
  padding:1rem 1.1rem;
}
@media(max-width:480px) {
  .wd23-form-assurance { display:grid; grid-template-columns:1fr 1fr; }
  .wd23-form-assurance span:last-child { grid-column:1/-1; }
  .consultation-modal__form .wd23-form-assurance {
    display:flex;
    flex-wrap:nowrap;
    justify-content:space-between;
    gap:.35rem;
    font-size:clamp(.5rem,2.3vw,.58rem);
    letter-spacing:0;
  }
  .consultation-modal__form .wd23-form-assurance span {
    flex:0 0 auto;
    gap:.25rem;
    white-space:nowrap;
  }
  .consultation-modal__form .wd23-form-assurance span:last-child { grid-column:auto; }
}

/* reCAPTCHA remains active; its disclosure is maintained on the privacy page. */

/* Keep the consultation action reachable inside the mobile bottom-sheet. */
@media (max-width:760px) {
  .consultation-modal__dialog {
    grid-template-rows:auto minmax(0,1fr);
  }
  .consultation-modal__content {
    min-height:0;
    padding-bottom:max(1.5rem,env(safe-area-inset-bottom,0px));
    overflow-y:auto;
    overscroll-behavior:contain;
    -webkit-overflow-scrolling:touch;
  }
  .consultation-modal__form .form-submit {
    display:block !important;
    position:static;
    margin:1.2rem 0 .5rem !important;
    padding:0;
    background:none !important;
    box-shadow:none;
    color:inherit;
    visibility:visible !important;
  }
  .consultation-modal__form .form-submit :is(input.wpcf7-submit,button.button) {
    display:block !important;
    box-sizing:border-box;
    width:100% !important;
    max-width:100% !important;
    min-height:52px !important;
    margin:0 !important;
    border-color:var(--blue-dark) !important;
    background:var(--blue-dark) !important;
    color:#fff !important;
    -webkit-text-fill-color:#fff !important;
    clip-path:polygon(0 0,calc(100% - 9px) 0,100% 9px,100% 100%,9px 100%,0 calc(100% - 9px)) !important;
    opacity:1 !important;
    visibility:visible !important;
  }
  .consultation-modal__form .wpcf7-response-output {
    font-size:.75rem;
    line-height:1.35;
    margin:.65rem 0 0 !important;
    padding:.55rem .7rem !important;
    white-space:nowrap;
  }
}
body .recaptcha-disclosure { display:none !important; }

@media (max-width:1068px) {
  .contact-hero-weston__form { padding-top:3rem; }
}

/* Final managed legal typography and mobile navigation. */
.legal-page:has(.legal-docnav),.legal-page:has(.legal-docnav) *{font-family:Arial,Helvetica,sans-serif!important}.legal-page:has(.legal-docnav) .legal-index>span{font-weight:400!important;letter-spacing:0!important}.consent-modal__close{border:0!important;border-radius:0!important}
.footer-bottom>nav :is(a,button){font-family:Arial,Helvetica,sans-serif!important;font-weight:400!important;letter-spacing:0!important;text-transform:none!important}
@media(max-width:800px){.legal-docnav a[aria-current=page]{position:relative;text-decoration:none}.legal-docnav a[aria-current=page]::after{background:currentColor;bottom:-5px;content:"";height:1px;left:23px;position:absolute;right:0}.legal-docnav>a:first-child[aria-current=page]::after{left:0}}
@media(max-width:760px){.footer-bottom>nav{flex-flow:row wrap!important;gap:2px 0!important;justify-content:center!important;overflow:visible!important;padding-bottom:0!important;white-space:normal!important}}

/* Upright voice-call icon for the persistent contact dock. */
.contact-dock__phone .oh-phone-voice-icon {
  width:21px;
  height:17px;
  flex-basis:21px;
}
.oh-phone-voice-icon .oh-phone-wave {
  opacity:.18;
  transform-box:fill-box;
  transform-origin:left center;
  animation:oh-phone-voice-pulse 1.8s cubic-bezier(.4,0,.2,1) infinite both;
  will-change:opacity,transform;
}
.oh-phone-voice-icon .oh-phone-wave--two { animation-delay:.22s; }
.oh-phone-voice-icon .oh-phone-wave--three { animation-delay:.44s; }
@keyframes oh-phone-voice-pulse {
  0%,18%,100% { opacity:.18;transform:translateX(-1.2px) scale(.88); }
  42%,62% { opacity:1;transform:translateX(0) scale(1); }
  78% { opacity:.38;transform:translateX(.65px) scale(1.04); }
}
@media(max-width:700px) {
  .contact-dock__phone .oh-phone-voice-icon { width:18px;height:15px;flex-basis:18px; }
}
@media(prefers-reduced-motion:reduce) {
  .oh-phone-voice-icon .oh-phone-wave { animation:none;opacity:.72;transform:none;will-change:auto; }
}
html.wd23-a11y-motion .oh-phone-voice-icon .oh-phone-wave { animation:none;opacity:.72;transform:none;will-change:auto; }

/* Reuse the voice-call icon in both header variants. */
.header-call {
  display:inline-flex;
  align-items:center;
  gap:.38rem;
  color:var(--blue-dark);
  font-size:.62rem;
  font-weight:650;
  letter-spacing:.035em;
  white-space:nowrap;
  transition:color .2s ease,opacity .2s ease;
}
.header-call .oh-phone-voice-icon {
  flex:0 0 21px;
  width:21px;
  height:18px;
  fill:none;
  stroke:currentColor;
  stroke-width:1.6;
  stroke-linecap:round;
  stroke-linejoin:round;
}
.header-call:hover { color:var(--ink); }
.site-header--weston .header-call { color:rgba(255,255,255,.82); }
.site-header--weston .header-call:hover { color:#fff; }
@media(max-width:1280px) and (min-width:1069px) {
  .header-call {
    width:36px;
    height:36px;
    justify-content:center;
  }
  .header-call__number { display:none; }
}
@media(max-width:1068px) {
  .mobile-action--call .oh-phone-voice-icon {
    flex-basis:22px;
    width:22px;
    height:18px;
  }
}
