/*! CPT Cookie Consent 1.0.0 - change the colours in the :root block */
:root {
  --cpt-cc-bg: #ffffff;
  --cpt-cc-text: #2b2b2b;
  --cpt-cc-muted: #5c5c5c;
  --cpt-cc-line: #e2ddd5;
  --cpt-cc-btn: #2f5a34;        /* Accept / Reject / Save - all the same weight */
  --cpt-cc-btn-text: #ffffff;
  --cpt-cc-btn-hover: #24472a;
  --cpt-cc-on: #2f5a34;         /* switch colour when on */
  --cpt-cc-backdrop: rgba(20, 20, 20, 0.6);
}

.cpt-cc[hidden], .cpt-cc [hidden], .cpt-cc-reopen[hidden] { display: none !important; }

html.cpt-cc-lock, html.cpt-cc-lock body { overflow: hidden; }

.cpt-cc {
  position: fixed; top: 0; right: 0; bottom: 0; left: 0; z-index: 2147483000;
  display: flex; align-items: center; justify-content: center;
  padding: 16px;
  font-family: inherit; font-size: 15px; line-height: 1.5; color: var(--cpt-cc-text);
}
.cpt-cc__backdrop { position: absolute; top: 0; right: 0; bottom: 0; left: 0; background: var(--cpt-cc-backdrop); }
.cpt-cc__dialog {
  position: relative; width: 100%; max-width: 540px; max-height: calc(100vh - 32px);
  overflow-y: auto; -webkit-overflow-scrolling: touch;
  background: var(--cpt-cc-bg); border-radius: 8px;
  box-shadow: 0 12px 40px rgba(0, 0, 0, 0.3);
  padding: 24px 24px 16px;
  text-align: left;
}
.cpt-cc__dialog:focus { outline: none; }

.cpt-cc__title { margin: 0 0 10px; font-size: 20px; font-weight: 700; line-height: 1.3; color: var(--cpt-cc-text); text-transform: none; }
.cpt-cc__text p, .cpt-cc__intro { margin: 0 0 10px; }
.cpt-cc__policy { margin: 0 0 16px; }
.cpt-cc__policy a { color: var(--cpt-cc-btn); text-decoration: underline; }

.cpt-cc__actions { display: flex; gap: 10px; margin: 16px 0 8px; }
.cpt-cc__btn {
  flex: 1 1 0; min-height: 46px; padding: 10px 14px;
  border: 0; border-radius: 6px; cursor: pointer;
  background: var(--cpt-cc-btn); color: var(--cpt-cc-btn-text);
  font: inherit; font-weight: 700; line-height: 1.2;
}
.cpt-cc__btn:hover { background: var(--cpt-cc-btn-hover); }
.cpt-cc__btn:focus-visible, .cpt-cc__link:focus-visible, .cpt-cc__switch:focus-visible, .cpt-cc-reopen:focus-visible {
  outline: 3px solid #f2b705; outline-offset: 2px;
}

.cpt-cc__link {
  display: block; margin: 4px auto 0; padding: 8px; background: none; border: 0; cursor: pointer;
  font: inherit; color: var(--cpt-cc-text); text-decoration: underline;
}

.cpt-cc__cat { border-top: 1px solid var(--cpt-cc-line); padding: 12px 0; }
.cpt-cc__cat-head { display: flex; align-items: center; justify-content: space-between; gap: 12px; margin: 0; cursor: pointer; font-weight: 400; }
.cpt-cc__cat-name { font-weight: 700; }
.cpt-cc__always { font-size: 13px; color: var(--cpt-cc-muted); }
.cpt-cc__cat-desc { margin: 4px 0 0; font-size: 14px; color: var(--cpt-cc-muted); }

.cpt-cc__switch {
  -webkit-appearance: none; appearance: none; flex: 0 0 auto;
  width: 46px; height: 26px; margin: 0; border-radius: 13px;
  background: #b9b4ac; position: relative; cursor: pointer; transition: background .15s;
}
.cpt-cc__switch::after {
  content: ""; position: absolute; top: 3px; left: 3px; width: 20px; height: 20px;
  border-radius: 50%; background: #fff; transition: transform .15s;
}
.cpt-cc__switch:checked { background: var(--cpt-cc-on); }
.cpt-cc__switch:checked::after { transform: translateX(20px); }

.cpt-cc-reopen {
  position: fixed; left: 14px; bottom: 14px; z-index: 2147482000;
  width: 44px; height: 44px; border-radius: 50%; border: 0; cursor: pointer;
  display: flex; align-items: center; justify-content: center;
  background: var(--cpt-cc-btn); color: var(--cpt-cc-btn-text);
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.25); opacity: .85;
}
.cpt-cc-reopen:hover { opacity: 1; }

@media (max-width: 480px) {
  .cpt-cc { padding: 10px; align-items: flex-end; }
  .cpt-cc__dialog { padding: 18px 16px 10px; max-height: calc(100vh - 20px); }
  .cpt-cc__title { font-size: 18px; }
  .cpt-cc__actions--three { flex-direction: column; }
}
@media (prefers-reduced-motion: reduce) {
  .cpt-cc__switch, .cpt-cc__switch::after { transition: none; }
}
