/* ─── COOKIE CONSENT BANNER + CONSENT TICK BOXES (shared by every page) ─── */

/* Banner: sits at the bottom, below the custom cursor (z-index 9997+) but above everything else */
.cc{
  position:fixed; z-index:9990;
  left:16px; bottom:16px; right:auto;
  width:calc(100% - 32px); max-width:440px;
  margin-bottom:env(safe-area-inset-bottom, 0px);
  padding:20px 22px 18px;
  background:var(--navy, #0A0F1E); color:var(--white, #FAFAF8);
  border:1px solid rgba(201,168,76,.45);
  box-shadow:0 18px 50px rgba(0,0,0,.45);
  cursor:auto;
  font-family:'Inter',sans-serif;
  animation:cc-in .35s ease both;
}
.cc[hidden]{ display:none; }
.cc *{ cursor:auto; }
.cc-title{
  font-family:'Cormorant Garamond',serif; font-size:1.35rem; font-weight:700;
  line-height:1.2; color:var(--white, #FAFAF8); margin:0 0 8px;
}
.cc-text{ font-size:.8rem; line-height:1.65; color:rgba(255,255,255,.78); margin:0; }
.cc-text a{ color:var(--gold2, #E8C97A); text-decoration:underline; text-underline-offset:3px; }
.cc-state{ font-size:.76rem; line-height:1.5; color:var(--gold2, #E8C97A); margin:10px 0 0; }
.cc-state[hidden]{ display:none; }
.cc-actions{ display:grid; grid-template-columns:1fr 1fr; gap:10px; margin-top:16px; }

/* Accept and Decline are the same size and equally easy to find */
.cc-btn{
  min-height:46px; padding:12px 14px; cursor:pointer;
  font-family:'Inter',sans-serif; font-size:.72rem; font-weight:600;
  letter-spacing:.12em; text-transform:uppercase;
  border:1.5px solid var(--gold, #C9A84C);
  transition:background .25s, color .25s;
}
.cc-btn-allow{ background:var(--gold, #C9A84C); color:var(--navy, #0A0F1E); }
.cc-btn-allow:hover{ background:var(--gold2, #E8C97A); }
.cc-btn-deny{ background:transparent; color:var(--white, #FAFAF8); }
.cc-btn-deny:hover{ background:rgba(255,255,255,.1); }
.cc-btn:focus-visible,.cc-text a:focus-visible{ outline:2px solid var(--white, #FAFAF8); outline-offset:3px; }

@keyframes cc-in{ from{ opacity:0; transform:translateY(14px); } to{ opacity:1; transform:none; } }
@media (prefers-reduced-motion: reduce){ .cc{ animation:none; } }

/* Phones: full width at the bottom */
@media (max-width:600px){
  .cc{ left:0; right:0; bottom:0; width:100%; max-width:none; border-left:0; border-right:0; border-bottom:0; padding:18px 18px calc(16px + env(safe-area-inset-bottom, 0px)); margin-bottom:0; }
}

/* "Cookie settings" button in the footer and on the cookie policy page */
.ft-cookie-btn{
  background:none; border:0; margin:0; padding:0;
  font-family:inherit; cursor:pointer; text-align:left;
}
.cc-link-btn{
  background:none; border:0; padding:0; margin:0;
  font:inherit; color:var(--gold, #C9A84C); text-decoration:underline; text-underline-offset:3px; cursor:pointer;
}
.cc-link-btn:focus-visible,.ft-cookie-btn:focus-visible{ outline:2px solid var(--gold, #C9A84C); outline-offset:3px; }

/* ─── FORM CONSENT TICK BOX ─── */
.consent-check{
  display:flex; align-items:flex-start; gap:12px;
  margin:0 0 14px; cursor:pointer;
  font-size:.76rem; line-height:1.6; color:var(--grey, #6B7280);
}
.consent-check input{
  flex:0 0 auto; width:22px; height:22px; margin:1px 0 0;
  accent-color:var(--gold, #C9A84C); cursor:pointer;
}
.consent-check input:focus-visible{ outline:2px solid var(--navy, #0A0F1E); outline-offset:2px; }
.consent-check a{ color:var(--navy, #0A0F1E); text-decoration:underline; text-underline-offset:3px; }

/* on the dark "Your brief" card */
.cbrief-card .consent-check{ color:rgba(255,255,255,.78); }
.cbrief-card .consent-check a{ color:var(--gold2, #E8C97A); }
.cbrief-card .consent-check input:focus-visible{ outline-color:var(--white, #FAFAF8); }
