/* ============================================================
   THE DEBORAH ACADEMY — COOKIE & PRIVACY CHOICES BANNER
   ============================================================ */
#cc-banner{
  position: fixed;
  left: 16px;
  bottom: 16px;
  z-index: 10000;
  width: 460px;
  max-width: calc(100vw - 32px);
  max-height: calc(100vh - 32px);
  overflow-y: auto;
  background: #F9F4EF;
  color: #221D18;
  border: 1px solid #C79A4A;
  box-shadow: 0 14px 44px rgba(0,0,0,0.28);
  padding: 26px 26px 22px;
  font-family: 'DM Sans', Arial, Helvetica, sans-serif;
  font-size: 14.5px;
  line-height: 1.6;
}
#cc-banner[hidden]{ display:none; }
#cc-banner h2{
  font-family: 'Cormorant Garamond', Georgia, serif;
  font-weight: 600;
  font-size: 24px;
  line-height: 1.15;
  margin: 0 0 10px;
  color: #221D18;
}
#cc-banner p{ margin: 0 0 14px; font-size: 14.5px; line-height: 1.6; opacity: 1; color: #221D18; }
#cc-banner a{ color: #6B4F1C; text-decoration: underline; text-underline-offset: 3px; }
#cc-banner a:hover{ color: #221D18; }

#cc-banner .cc-actions{ display:flex; flex-wrap:wrap; gap:10px; margin-top:6px; }
#cc-banner .cc-btn{
  flex: 1 1 150px;
  font-family: 'DM Sans', Arial, Helvetica, sans-serif;
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  padding: 14px 12px;
  background: transparent;
  color: #221D18;
  border: 1px solid #C79A4A;
  cursor: pointer;
  text-align: center;
  transition: background .2s ease, color .2s ease;
}
#cc-banner .cc-btn:hover{ background:#C79A4A; color:#0B0C0E; }
#cc-banner .cc-btn:focus-visible,
#cc-banner .cc-link-btn:focus-visible,
#cc-banner input:focus-visible{ outline: 2px solid #6B4F1C; outline-offset: 3px; }
#cc-banner .cc-link-btn{
  background: none; border: none; padding: 10px 0 0; margin: 0;
  font-family: inherit; font-size: 13.5px; color: #6B4F1C; cursor: pointer;
  text-decoration: underline; text-underline-offset: 3px;
}
#cc-banner .cc-link-btn:hover{ color:#221D18; }

/* Preferences panel */
#cc-prefs[hidden]{ display:none; }
#cc-prefs .cc-cat{
  display:flex; gap:14px; align-items:flex-start;
  padding: 14px 0; border-top: 1px solid rgba(199,154,74,0.35);
}
#cc-prefs .cc-cat:last-of-type{ border-bottom: 1px solid rgba(199,154,74,0.35); margin-bottom: 16px; }
#cc-prefs input[type="checkbox"]{
  width: 20px; height: 20px; margin-top: 3px; flex: 0 0 20px;
  accent-color: #6B4F1C; cursor: pointer;
}
#cc-prefs input[type="checkbox"]:disabled{ cursor: not-allowed; }
#cc-prefs label{ display:block; cursor:pointer; }
#cc-prefs .cc-cat-name{ display:block; font-weight:600; font-size:15px; }
#cc-prefs .cc-cat-desc{ display:block; font-size:13.5px; line-height:1.55; margin-top:2px; }
#cc-prefs .cc-status{ font-size:12px; letter-spacing:0.04em; color:#6B4F1C; font-weight:600; }

@media (max-width: 520px){
  #cc-banner{ left: 10px; right: 10px; bottom: 10px; width:auto; max-width:none; padding: 22px 18px 18px; }
  #cc-banner .cc-btn{ flex: 1 1 100%; }
}
@media (prefers-reduced-motion: no-preference){
  #cc-banner{ animation: cc-in .35s ease both; }
  @keyframes cc-in{ from{ opacity:0; transform:translateY(12px);} to{ opacity:1; transform:translateY(0);} }
}

/* Footer "Cookie Settings" trigger (matches the other footer links) */
a[data-cc-open]{ cursor:pointer; }
