/* Complete Leak Detection cookie banner, in the site's own brand: Montserrat (loaded by the Elementor kit),
   Night Blue #0B1B33, yellow #0056B1. Author: Mitchell Russon, https://freshdigital.agency
   A non-blocking panel fixed to the bottom of the viewport: no overlay, no scroll lock, no blur. The selectors are
   doubled where the theme's own button reset (Hello Elementor: pink border, pink hover fill) would otherwise win. */

.cld-consent{
  --cld-night:#0B1B33;--cld-night-dark:#050D1A;--cld-blue:#0056B1;--cld-blue-dark:#00438A;--cld-mist:#F3F9FF;--cld-off:#7b8c9c;
  position:fixed;left:16px;right:16px;bottom:16px;z-index:2147483000;max-width:1120px;margin:0 auto;
  box-sizing:border-box;background:#fff;color:var(--cld-night);border-top:4px solid var(--cld-blue);border-radius:12px;
  box-shadow:0 10px 32px rgba(11,27,51,.22),0 2px 6px rgba(11,27,51,.12);
  font-family:Montserrat,Arial,Helvetica,sans-serif;font-size:15px;line-height:1.5;text-align:left;
  max-height:calc(100vh - 32px);overflow-y:auto;-webkit-font-smoothing:antialiased}
.cld-consent[hidden],.cld-consent-tab[hidden],.cld-consent__prefs[hidden]{display:none!important}
.cld-consent:focus{outline:none}
.cld-consent *,.cld-consent *::before,.cld-consent *::after{box-sizing:border-box}
.cld-consent__inner{padding:20px 24px}
.cld-consent .cld-consent__title{margin:0 0 6px;font-size:17px;line-height:1.3;font-weight:700;color:var(--cld-night)}
.cld-consent .cld-consent__title strong{font-weight:700}
.cld-consent .cld-consent__text{margin:0;font-size:15px;line-height:1.55;color:var(--cld-night)}
.cld-consent .cld-consent__link,.cld-consent .cld-consent__link:visited{color:var(--cld-night);font-weight:700;text-decoration:underline;text-underline-offset:2px}
.cld-consent .cld-consent__link:hover{color:var(--cld-night-dark);text-decoration-thickness:2px}
.cld-consent .cld-consent__link:focus-visible{outline:3px solid var(--cld-night);outline-offset:2px;border-radius:2px}

/* Choices */
.cld-consent__prefs{display:grid;gap:8px;margin:14px 0 0;padding:12px 14px;border-radius:10px;background:var(--cld-mist)}
.cld-consent .cld-consent__toggle.cld-consent__toggle{display:flex;align-items:center;gap:12px;width:100%;margin:0;padding:6px 4px;
  background:transparent;border:0;border-radius:8px;box-shadow:none;color:var(--cld-night);font:inherit;font-size:15px;
  text-align:left;text-transform:none;white-space:normal;cursor:pointer}
.cld-consent .cld-consent__toggle.cld-consent__toggle:hover,.cld-consent .cld-consent__toggle.cld-consent__toggle:focus{background:transparent;color:var(--cld-night)}
.cld-consent .cld-consent__toggle.is-locked{cursor:default;opacity:.85}
.cld-consent .cld-consent__toggle.cld-consent__toggle:focus-visible{outline:3px solid var(--cld-night);outline-offset:2px}
.cld-consent__toggle-label{font-weight:700;line-height:1.3}
.cld-consent__toggle-label small{display:block;margin-top:2px;font-size:13px;font-weight:500;line-height:1.4;color:var(--cld-night);opacity:.9}
.cld-consent__switch{position:relative;flex:0 0 44px;width:44px;height:26px;border-radius:26px;background:var(--cld-off);transition:background .15s}
.cld-consent__knob{position:absolute;top:3px;left:3px;width:20px;height:20px;border-radius:50%;background:#fff;box-shadow:0 1px 3px rgba(0,0,0,.25);transition:transform .15s}
.cld-consent__toggle[aria-checked="true"] .cld-consent__switch{background:var(--cld-night)}
.cld-consent__toggle[aria-checked="true"] .cld-consent__knob{transform:translateX(18px)}

/* Buttons. Reject all and Accept all are the same size, weight and padding: refusing must be as easy as accepting
   (UK GDPR / PECR). Every button gets the same 2px border so the three boxes measure the same. */
.cld-consent__actions{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:10px;margin:16px 0 0}
.cld-consent .cld-consent__btn.cld-consent__btn{display:flex;align-items:center;justify-content:center;width:100%;min-height:46px;margin:0;
  padding:10px 14px;border:2px solid var(--cld-night);border-radius:8px;box-shadow:none;background:#fff;color:var(--cld-night);
  font-family:Montserrat,Arial,Helvetica,sans-serif;font-size:15px;font-weight:700;line-height:1.2;letter-spacing:0;
  text-align:center;text-transform:none;text-decoration:none;white-space:normal;cursor:pointer;transition:background .15s,border-color .15s,color .15s}
.cld-consent .cld-consent__btn.cld-consent__btn:hover,.cld-consent .cld-consent__btn.cld-consent__btn:focus{background:var(--cld-mist);color:var(--cld-night);border-color:var(--cld-night)}
.cld-consent .cld-consent__btn--select.cld-consent__btn--select{background:var(--cld-mist);border-color:var(--cld-mist)}
.cld-consent .cld-consent__btn--select.cld-consent__btn--select:hover,.cld-consent .cld-consent__btn--select.cld-consent__btn--select:focus{background:#E6F3FD;border-color:#E6F3FD}
.cld-consent .cld-consent__btn--accept.cld-consent__btn--accept{background:var(--cld-blue);border-color:var(--cld-blue);color:#fff}
.cld-consent .cld-consent__btn--accept.cld-consent__btn--accept:hover,.cld-consent .cld-consent__btn--accept.cld-consent__btn--accept:focus{background:var(--cld-blue-dark);border-color:var(--cld-blue-dark);color:#fff}
.cld-consent .cld-consent__btn.cld-consent__btn:focus-visible{outline:3px solid var(--cld-night);outline-offset:2px}

/* Wide screens: copy on the left, buttons on the right; stacked again while the visitor is choosing. */
@media (min-width:900px){
  .cld-consent__inner{display:grid;grid-template-columns:minmax(0,1fr) auto;column-gap:32px;align-items:center}
  .cld-consent__actions{grid-template-columns:repeat(3,156px);margin:0}
  .cld-consent.is-choosing .cld-consent__inner{grid-template-columns:minmax(0,1fr)}
  .cld-consent.is-choosing .cld-consent__prefs{grid-template-columns:repeat(3,minmax(0,1fr));gap:12px}
  .cld-consent.is-choosing .cld-consent__actions{justify-self:end;margin:16px 0 0}
}

/* Phones: compact, so the panel stays within about a third of the screen until the visitor asks for the choices. */
@media (max-width:599px){
  .cld-consent{left:8px;right:8px;bottom:8px;border-radius:10px;max-height:calc(100vh - 16px)}
  .cld-consent__inner{padding:12px 14px 14px}
  .cld-consent .cld-consent__title{font-size:15px;margin:0 0 4px}
  .cld-consent .cld-consent__text{font-size:13px;line-height:1.45}
  .cld-consent__actions{gap:8px;margin:12px 0 0}
  .cld-consent .cld-consent__btn.cld-consent__btn{min-height:44px;padding:8px 6px;font-size:13.5px}
  .cld-consent__prefs{margin:10px 0 0;padding:8px 10px;gap:4px}
  .cld-consent .cld-consent__toggle.cld-consent__toggle{font-size:14px;padding:4px 2px}
  .cld-consent__toggle-label small{font-size:12px}
}

/* The cookie button: on every page once a choice exists, so a visitor can change their mind. */
.cld-consent-tab.cld-consent-tab{position:fixed;left:14px;bottom:14px;z-index:2147482000;display:flex;align-items:center;justify-content:center;
  width:44px;height:44px;min-height:0;margin:0;padding:0;border:2px solid #fff;border-radius:50%;background:#0B1B33;color:#0056B1;
  box-shadow:0 6px 18px rgba(11,27,51,.3);cursor:pointer;transition:background .15s}
.cld-consent-tab.cld-consent-tab:hover,.cld-consent-tab.cld-consent-tab:focus{background:#050D1A;color:#0056B1;border-color:#fff}
.cld-consent-tab.cld-consent-tab:focus-visible{outline:3px solid #0B1B33;outline-offset:3px}
.cld-consent-tab svg{display:block;width:20px;height:20px}

@media (prefers-reduced-motion:reduce){.cld-consent *,.cld-consent-tab{transition:none!important}}
@media print{.cld-consent,.cld-consent-tab{display:none!important}}
