/* Cookie consent gate. Deliberately plain and self-contained so it renders the
   same on all 220 pages regardless of the theme CSS that loaded around it. */
.re-cc {
  position: fixed; inset: auto 0 0 0; z-index: 2147483000;
  background: #16202b; color: #e7edf3;
  box-shadow: 0 -2px 16px rgba(0,0,0,.28);
  font-family: system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
  font-size: 15px; line-height: 1.55;
}
.re-cc__inner { max-width: 68rem; margin: 0 auto; padding: 1.15rem 1.25rem 1.3rem; }
.re-cc__title { font-size: 1.05rem; font-weight: 600; margin: 0 0 .4rem; color: #fff; }
.re-cc__body  { margin: 0 0 .9rem; max-width: 62ch; color: #c6d2de; }

.re-cc__detail { margin: 0 0 1rem; border-top: 1px solid #2a3844; padding-top: .9rem; }
.re-cc__row { margin-bottom: .75rem; }
.re-cc__toggle { display: flex; align-items: center; gap: .55rem; font-weight: 600; cursor: pointer; }
.re-cc__toggle input[disabled] { cursor: not-allowed; }
.re-cc__label { color: #fff; }
.re-cc__note { margin: .2rem 0 0 1.8rem; font-size: .87rem; color: #93a3b2; max-width: 60ch; }

.re-cc__actions { display: flex; flex-wrap: wrap; gap: .6rem; align-items: center; }
.re-cc__btn {
  font: inherit; font-weight: 600; cursor: pointer;
  padding: .55rem 1.1rem; border-radius: 3px; border: 1px solid transparent;
}
/* Accept and Reject are visually identical on purpose: under GDPR, refusing
   must be no harder than agreeing. Do not restyle one to stand out. */
.re-cc__btn--primary { background: #0e7c86; color: #fff; border-color: #0e7c86; }
.re-cc__btn--primary:hover { background: #0b666e; }
.re-cc__btn--quiet { background: transparent; color: #c6d2de; border-color: #3d4d5c; }
.re-cc__btn--quiet:hover { color: #fff; border-color: #6b7d8d; }
.re-cc__btn:focus-visible, .re-cc__toggle input:focus-visible, .re-cc-reopen:focus-visible {
  outline: 2px solid #7fd6de; outline-offset: 2px;
}

.re-cc-reopen {
  position: fixed; left: 12px; bottom: 12px; z-index: 2147482000;
  font: 500 12px/1 system-ui, sans-serif; color: #3b4a5a;
  background: rgba(255,255,255,.94); border: 1px solid #c5cfd9;
  border-radius: 3px; padding: .45rem .7rem; cursor: pointer;
}
.re-cc-reopen:hover { color: #16202b; border-color: #8b9aa8; }

@media (max-width: 560px) {
  .re-cc__actions .re-cc__btn { flex: 1 1 100%; text-align: center; }
}
@media (prefers-reduced-motion: reduce) { .re-cc, .re-cc-reopen { transition: none !important; } }
