/* Cookiebanner (inc/site-consent.php). A bar at the bottom, never a modal:
   the page stays usable and scrollable behind it. */
.thv-cc{position:fixed;left:16px;right:16px;bottom:16px;z-index:90;display:flex;justify-content:center;pointer-events:none;}
.thv-cc[hidden]{display:none;}
.thv-cc__inner{pointer-events:auto;max-width:980px;width:100%;display:flex;align-items:center;gap:24px;padding:20px 24px;
  background:var(--white);color:var(--ink);border:1px solid var(--line);border-radius:var(--r-card);box-shadow:var(--shadow-pop);}
.thv-cc__title{font-size:16px;font-weight:600;color:var(--navy);margin-bottom:4px;}
.thv-cc__text p{font-size:14px;font-weight:300;line-height:1.55;color:var(--muted);}
.thv-cc__text a{color:var(--blue);text-decoration:underline;}
.thv-cc__actions{display:flex;gap:10px;flex-shrink:0;}
.thv-cc__btn{min-width:120px;}

/* Footer control that reopens the banner; looks like its sibling links. */
.footer__cc{font:inherit;color:inherit;padding:0;min-height:24px;text-decoration:none;}
.footer__cc:hover{text-decoration:underline;}

@media (max-width:760px){
  .footer__cc{display:inline-flex;align-items:center;min-height:44px;}
  .thv-cc{left:12px;right:12px;bottom:12px;}
  .thv-cc__inner{flex-direction:column;align-items:stretch;gap:14px;padding:18px;}
  .thv-cc__actions{flex-direction:column-reverse;}
  .thv-cc__btn{width:100%;}
}

/* The phone homepage has a fixed tab bar (64px plus the safe area): the banner sits above it. */
@media (max-width:680px){
  body.home .thv-cc{bottom:calc(64px + 8px + env(safe-area-inset-bottom));}
}
