/* East Anglian Leak Detection cookie banner, in the site's own brand: Montserrat (loaded by the Elementor kit),
   Night Blue #194669, yellow #F6B82B. 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. */

.eald-consent{
  --eald-night:#194669;--eald-night-dark:#10324d;--eald-yellow:#F6B82B;--eald-yellow-dark:#e3a414;--eald-mist:#eef3f7;--eald-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(--eald-night);border-top:4px solid var(--eald-yellow);border-radius:12px;
  box-shadow:0 10px 32px rgba(25,70,105,.22),0 2px 6px rgba(25,70,105,.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}
.eald-consent[hidden],.eald-consent-tab[hidden],.eald-consent__prefs[hidden]{display:none!important}
.eald-consent:focus{outline:none}
.eald-consent *,.eald-consent *::before,.eald-consent *::after{box-sizing:border-box}
.eald-consent__inner{padding:20px 24px}
.eald-consent .eald-consent__title{margin:0 0 6px;font-size:17px;line-height:1.3;font-weight:700;color:var(--eald-night)}
.eald-consent .eald-consent__title strong{font-weight:700}
.eald-consent .eald-consent__text{margin:0;font-size:15px;line-height:1.55;color:var(--eald-night)}
.eald-consent .eald-consent__link,.eald-consent .eald-consent__link:visited{color:var(--eald-night);font-weight:700;text-decoration:underline;text-underline-offset:2px}
.eald-consent .eald-consent__link:hover{color:var(--eald-night-dark);text-decoration-thickness:2px}
.eald-consent .eald-consent__link:focus-visible{outline:3px solid var(--eald-night);outline-offset:2px;border-radius:2px}

/* Choices */
.eald-consent__prefs{display:grid;gap:8px;margin:14px 0 0;padding:12px 14px;border-radius:10px;background:var(--eald-mist)}
.eald-consent .eald-consent__toggle.eald-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(--eald-night);font:inherit;font-size:15px;
  text-align:left;text-transform:none;white-space:normal;cursor:pointer}
.eald-consent .eald-consent__toggle.eald-consent__toggle:hover,.eald-consent .eald-consent__toggle.eald-consent__toggle:focus{background:transparent;color:var(--eald-night)}
.eald-consent .eald-consent__toggle.is-locked{cursor:default;opacity:.85}
.eald-consent .eald-consent__toggle.eald-consent__toggle:focus-visible{outline:3px solid var(--eald-night);outline-offset:2px}
.eald-consent__toggle-label{font-weight:700;line-height:1.3}
.eald-consent__toggle-label small{display:block;margin-top:2px;font-size:13px;font-weight:500;line-height:1.4;color:var(--eald-night);opacity:.9}
.eald-consent__switch{position:relative;flex:0 0 44px;width:44px;height:26px;border-radius:26px;background:var(--eald-off);transition:background .15s}
.eald-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}
.eald-consent__toggle[aria-checked="true"] .eald-consent__switch{background:var(--eald-night)}
.eald-consent__toggle[aria-checked="true"] .eald-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. */
.eald-consent__actions{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:10px;margin:16px 0 0}
.eald-consent .eald-consent__btn.eald-consent__btn{display:flex;align-items:center;justify-content:center;width:100%;min-height:46px;margin:0;
  padding:10px 14px;border:2px solid var(--eald-night);border-radius:8px;box-shadow:none;background:#fff;color:var(--eald-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}
.eald-consent .eald-consent__btn.eald-consent__btn:hover,.eald-consent .eald-consent__btn.eald-consent__btn:focus{background:var(--eald-mist);color:var(--eald-night);border-color:var(--eald-night)}
.eald-consent .eald-consent__btn--select.eald-consent__btn--select{background:var(--eald-mist);border-color:var(--eald-mist)}
.eald-consent .eald-consent__btn--select.eald-consent__btn--select:hover,.eald-consent .eald-consent__btn--select.eald-consent__btn--select:focus{background:#dfe8ef;border-color:#dfe8ef}
.eald-consent .eald-consent__btn--accept.eald-consent__btn--accept{background:var(--eald-yellow);border-color:var(--eald-yellow);color:var(--eald-night)}
.eald-consent .eald-consent__btn--accept.eald-consent__btn--accept:hover,.eald-consent .eald-consent__btn--accept.eald-consent__btn--accept:focus{background:var(--eald-yellow-dark);border-color:var(--eald-yellow-dark);color:var(--eald-night)}
.eald-consent .eald-consent__btn.eald-consent__btn:focus-visible{outline:3px solid var(--eald-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){
  .eald-consent__inner{display:grid;grid-template-columns:minmax(0,1fr) auto;column-gap:32px;align-items:center}
  .eald-consent__actions{grid-template-columns:repeat(3,156px);margin:0}
  .eald-consent.is-choosing .eald-consent__inner{grid-template-columns:minmax(0,1fr)}
  .eald-consent.is-choosing .eald-consent__prefs{grid-template-columns:repeat(3,minmax(0,1fr));gap:12px}
  .eald-consent.is-choosing .eald-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){
  .eald-consent{left:8px;right:8px;bottom:8px;border-radius:10px;max-height:calc(100vh - 16px)}
  .eald-consent__inner{padding:12px 14px 14px}
  .eald-consent .eald-consent__title{font-size:15px;margin:0 0 4px}
  .eald-consent .eald-consent__text{font-size:13px;line-height:1.45}
  .eald-consent__actions{gap:8px;margin:12px 0 0}
  .eald-consent .eald-consent__btn.eald-consent__btn{min-height:44px;padding:8px 6px;font-size:13.5px}
  .eald-consent__prefs{margin:10px 0 0;padding:8px 10px;gap:4px}
  .eald-consent .eald-consent__toggle.eald-consent__toggle{font-size:14px;padding:4px 2px}
  .eald-consent__toggle-label small{font-size:12px}
}

/* The cookie button: on every page once a choice exists, so a visitor can change their mind. */
.eald-consent-tab.eald-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:#194669;color:#F6B82B;
  box-shadow:0 6px 18px rgba(25,70,105,.3);cursor:pointer;transition:background .15s}
.eald-consent-tab.eald-consent-tab:hover,.eald-consent-tab.eald-consent-tab:focus{background:#10324d;color:#F6B82B;border-color:#fff}
.eald-consent-tab.eald-consent-tab:focus-visible{outline:3px solid #194669;outline-offset:3px}
.eald-consent-tab svg{display:block;width:20px;height:20px}

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