/* Serana cookie consent: banner, preferences window, footer link and the enquiry-form notice.
   Shared by all pages. Styled after the original Serana cookie banner. */
.sc-root,.sc-dialog{--sc-ink:#1E0A2F;--sc-deep:#371356;--sc-violet:#5A2A8E;--sc-yellow:#FFE700;--sc-line:#E1DBE5;--sc-tint:#F5F3F6;--sc-off:#C3B8CC;
  font-family:'Poppins',ui-sans-serif,system-ui,'Segoe UI',sans-serif;color:var(--sc-deep);-webkit-font-smoothing:antialiased}
.sc-root *,.sc-dialog *{box-sizing:border-box}
.sc-root [hidden],.sc-dialog [hidden]{display:none !important}
@keyframes sc-rise{from{opacity:0;transform:translateY(16px)}to{opacity:1;transform:none}}
@keyframes sc-fade{from{opacity:0}to{opacity:1}}

/* Buttons */
.sc-btn{display:inline-flex;align-items:center;justify-content:center;gap:9px;min-height:46px;padding:11px 22px;border-radius:6px;border:1.5px solid transparent;font:inherit;font-size:15px;line-height:1.3;font-weight:500;white-space:nowrap;cursor:pointer;transition:background-color .15s ease,border-color .15s ease,color .15s ease}
.sc-yellow{background:var(--sc-yellow);border-color:var(--sc-yellow);color:var(--sc-ink)}
.sc-yellow:hover{background:#F2DC00;border-color:#F2DC00;color:var(--sc-ink)}
.sc-outline{background:#fff;border-color:var(--sc-deep);color:var(--sc-deep)}
.sc-outline:hover{background:var(--sc-tint);color:var(--sc-deep)}
/* Initial banner only: lighter, understated outline for Manage cookies and Reject optional */
.sc-banner .sc-outline{border-width:1px;border-color:#C3B8CC;color:#5A2A8E}
.sc-banner .sc-outline:hover{background:var(--sc-tint);border-color:#5A2A8E;color:#371356}
.sc-root :focus-visible,.sc-dialog :focus-visible{outline:3px solid var(--sc-violet);outline-offset:2px}

/* Banner */
.sc-banner{position:fixed;z-index:1000;left:20px;right:20px;bottom:20px;max-width:1180px;margin:0 auto;background:#fff;color:var(--sc-deep);border:1px solid var(--sc-line);border-radius:8px;box-shadow:0 18px 44px rgba(30,10,47,.22);animation:sc-rise .22s ease-out}
.sc-banner-inner{display:flex;align-items:center;gap:32px;padding:22px 28px}
.sc-banner-copy{flex:1 1 auto;min-width:0}
.sc-brand{display:flex;align-items:center;gap:14px;margin-bottom:10px}
.sc-brand img{display:block;flex:none;width:auto;height:28px}
.sc-banner-title{margin:0;font-size:18px;line-height:26px;font-weight:500;color:var(--sc-deep)}
.sc-banner-text{margin:0;max-width:640px;font-size:14px;line-height:22px;color:var(--sc-deep);text-wrap:pretty}
.sc-root a,.sc-dialog a{color:var(--sc-deep);text-decoration:underline;text-underline-offset:3px}
.sc-root a:hover,.sc-dialog a:hover{color:var(--sc-violet)}
.sc-banner-actions{flex:none;display:flex;align-items:center;gap:12px}
@media (max-width:1100px){
  .sc-banner-inner{flex-direction:column;align-items:stretch;gap:18px}
  .sc-banner-text{max-width:none}
}
@media (max-width:760px){
  .sc-banner{left:12px;right:12px;bottom:12px}
  .sc-banner-inner{padding:18px 18px 16px;gap:14px}
  .sc-brand{margin-bottom:8px}
  .sc-banner-title{font-size:17px;line-height:24px}
  .sc-banner-actions{display:grid;grid-template-columns:1fr 1fr;gap:10px}
  .sc-banner-actions .sc-yellow{grid-column:1 / -1}
  .sc-banner-actions .sc-btn{width:100%;min-height:44px;padding:10px 12px}
}

/* Preferences window */
.sc-dialog{width:min(640px,calc(100vw - 28px));max-width:none;max-height:calc(100vh - 28px);margin:auto;padding:0;border:0;border-radius:8px;background:#fff;color:var(--sc-ink);box-shadow:0 24px 60px rgba(30,10,47,.35);overflow:auto}
.sc-dialog[open]{animation:sc-rise .2s ease-out}
.sc-dialog::backdrop{background:rgba(30,10,47,.68);-webkit-backdrop-filter:blur(6px);backdrop-filter:blur(6px);animation:sc-fade .16s ease-out}
.sc-panel{position:relative;display:flex;flex-direction:column;padding:32px 34px 26px}
.sc-panel-head{display:flex;align-items:center;gap:14px;padding-right:44px}
.sc-panel-head img{display:block;flex:none;width:auto;height:30px}
.sc-panel-title{margin:0;font-size:24px;line-height:32px;font-weight:500;color:var(--sc-ink)}
.sc-close{position:absolute;top:22px;right:22px;display:inline-flex;align-items:center;justify-content:center;width:40px;height:40px;padding:0;border:0;border-radius:6px;background:transparent;color:#AFA0BB;cursor:pointer;line-height:0}
.sc-close:hover{background:var(--sc-tint);color:var(--sc-deep)}
.sc-close svg{width:20px;height:20px;fill:none;stroke:currentColor;stroke-width:2;stroke-linecap:round;stroke-linejoin:round}
.sc-intro{margin:18px 0 0;font-size:14px;line-height:23px;color:var(--sc-ink);text-wrap:pretty}
.sc-intro a{display:inline-block;margin-top:6px}
.sc-cat{margin-top:22px;padding-top:20px;border-top:1px solid var(--sc-line)}
.sc-cat-head{display:flex;align-items:center;justify-content:space-between;gap:16px}
.sc-cat h3{margin:0;font-size:16px;line-height:24px;font-weight:600;color:var(--sc-ink)}
.sc-cat p{margin:8px 0 0;font-size:14px;line-height:22px;color:#5E4A70;text-wrap:pretty}
.sc-pill{flex:none;padding:5px 11px;border-radius:999px;background:var(--sc-line);color:var(--sc-deep);font-size:12px;line-height:16px;font-weight:500}
.sc-switch{position:relative;flex:none;width:44px;height:24px;padding:0;border:0;border-radius:999px;background:var(--sc-off);cursor:pointer;transition:background-color .2s ease}
.sc-switch::after{content:"";position:absolute;top:3px;left:3px;width:18px;height:18px;border-radius:50%;background:#fff;box-shadow:0 1px 2px rgba(30,10,47,.25);transition:transform .2s ease}
.sc-switch[aria-checked="true"]{background:var(--sc-deep)}
.sc-switch[aria-checked="true"]::after{transform:translateX(20px)}
.sc-actions{display:flex;flex-wrap:wrap;align-items:center;justify-content:flex-end;gap:12px;margin-top:24px;padding-top:22px;border-top:1px solid var(--sc-line)}
@media (max-width:640px){
  .sc-panel{padding:24px 20px 20px}
  .sc-close{top:12px;right:12px}
  .sc-panel-title{font-size:20px;line-height:28px}
  .sc-panel-head img{height:26px}
  .sc-actions{flex-direction:column;align-items:stretch;gap:10px}
  .sc-actions .sc-btn{width:100%}
  .sc-actions .sc-yellow{order:-1}
}
@media (prefers-reduced-motion:reduce){.sc-banner,.sc-dialog[open],.sc-dialog::backdrop{animation:none}.sc-switch,.sc-switch::after,.sc-btn{transition:none}}

/* Footer "Cookie settings" link (a button styled like the footer links) */
.footer-cookie-btn{display:inline-flex;align-items:center;min-height:36px;padding:0;border:0;background:none;color:rgba(255,255,255,.86);font:inherit;text-align:left;cursor:pointer}
.footer-cookie-btn:hover{color:#fff;text-decoration:underline;text-underline-offset:3px}
.footer-cookie-btn:focus-visible{outline:3px solid #FFE700;outline-offset:3px;border-radius:4px}

/* Enquiry form: notice shown where the hCaptcha check would appear, until it is allowed */
.captcha-consent{padding:14px 16px;border:1px solid #E1DBE5;border-radius:6px;background:#F5F3F6;font-size:13.5px;line-height:1.55;color:#1E0A2F}
.captcha-consent-title{margin:0 0 4px;font-size:14px;font-weight:600;color:#371356}
.captcha-consent p{margin:0}
.captcha-consent a{color:#371356;text-decoration:underline;text-underline-offset:2px}
.captcha-consent .captcha-consent-btn{display:inline-flex;align-items:center;justify-content:center;width:auto;min-height:40px;margin-top:10px;padding:8px 16px;border:1.5px solid #371356;border-radius:6px;background:#371356;color:#fff;font:inherit;font-size:14px;font-weight:500;cursor:pointer}
.captcha-consent .captcha-consent-btn:hover{background:#5A2A8E;border-color:#5A2A8E;color:#fff}
