.privacy-links { display:flex; flex-wrap:wrap; justify-content:flex-end; align-items:center; gap:8px 18px; }
.cookie-settings { border:0; padding:0; background:none; color:inherit; font:inherit; cursor:pointer; text-decoration:none; text-underline-offset:3px; }
.cookie-settings:hover { text-decoration:underline; }
.privacy-links .privacy-preview { text-decoration:none; }
.privacy-links .privacy-preview:hover { text-decoration:underline; }
.cookie-notice { position:fixed; z-index:100; bottom:24px; left:50%; transform:translateX(-50%); width:min(560px,calc(100% - 32px)); max-height:calc(100svh - 32px); overflow:auto; padding:24px 28px 20px; border:1px solid #cabbB2; border-radius:14px; background:#f5efea; color:#440000; box-shadow:0 10px 40px #20020040,0 1px 5px #20020020; font:15px/1.55 Georgia,'Times New Roman',serif; text-align:left; animation:cookie-appear .22s ease-out; }
.cookie-notice[hidden] { display:none; }
.cookie-notice h2 { margin:0 0 12px; font:700 20px/1.3 Georgia,'Times New Roman',serif; }
.cookie-notice p { margin:0; text-align:left; }
.cookie-actions { display:grid; grid-template-columns:1fr 1fr; gap:12px; margin:20px 0 14px; }
.cookie-actions button { min-height:44px; padding:10px 16px; border:1px solid #cabbb2; border-radius:10px; background:#e8ddd6; color:#440000; font:700 16px/1.4 Georgia,'Times New Roman',serif; cursor:pointer; transition:background-color .15s; }
.cookie-actions button:hover { background:#ded0c7; }
.cookie-actions button:focus-visible, .cookie-notice a:focus-visible, .cookie-settings:focus-visible { outline:2px solid #8f655c; outline-offset:3px; }
.cookie-notice .cookie-more { font-size:13px; text-align:center; }
.cookie-more a { color:inherit; text-decoration:underline; text-underline-offset:3px; }
@keyframes cookie-appear { from {opacity:0;translate:0 8px} to {opacity:1;translate:0 0} }
@media(max-width:600px) {
  .cookie-notice { bottom:12px; width:calc(100% - 24px); padding:20px; font-size:15px; }
  .cookie-notice h2 { font-size:19px; }
  .cookie-actions { gap:10px; margin-top:18px; }
  .privacy-links { justify-content:flex-start; }
}
@media(prefers-reduced-motion:reduce) { .cookie-notice {animation:none} }

.privacy-page .policy-header > a,
.privacy-page .policy-footer > a,
.privacy-page .cookie-settings { font-weight:700; }

.cookie-notice .cookie-more a { font-weight:700; }

.privacy-links .cookie-settings { padding:6px 15px; border:0; border-radius:14px; background:#e8ddd6; color:#440000; font:700 13.5px/1.4 Georgia,'Times New Roman',serif; }
@media(max-width:767px) { .privacy-links .cookie-settings {font-size:12.5px;} }

/* A quiet part of the existing footer, without an overlay or scroll lock. */
.cookie-notice {
  position:static;inset:auto;transform:none;translate:none;
  display:grid;grid-template-columns:minmax(0,1fr) auto;
  grid-template-areas:"title actions" "description actions" "more actions" "options options";
  column-gap:28px;width:100%;max-width:none;max-height:none;overflow:visible;
  margin:0;padding:20px 40px 26px;
  border:0;border-top:1px solid rgba(232,221,214,.16);border-radius:0;
  background:#3d0603;color:#fff;box-shadow:none;animation:none;
  font:14px/1.5 Georgia,'Times New Roman',serif;
}
.cookie-notice h2 {grid-area:title;margin:0 0 7px;font-size:17px;font-weight:700;}
.cookie-notice #cookie-description {grid-area:description;max-width:650px;}
.cookie-notice .cookie-actions {grid-area:actions;align-self:center;margin:0;min-width:340px;gap:10px;}
.cookie-notice .cookie-actions button,.cookie-notice .cookie-save {
  min-height:44px;padding:8px 15px;border:1px solid transparent;border-radius:14px;
  background:#e8ddd6;color:#440000;font:700 14px/1.4 Georgia,'Times New Roman',serif;
  -webkit-mask-image:linear-gradient(to right,transparent,#000 1px,#000 calc(100% - 1px),transparent),linear-gradient(to bottom,transparent,#000 1px,#000 calc(100% - 1px),transparent);
  -webkit-mask-composite:source-in;mask-composite:intersect;
}
.cookie-notice .cookie-actions button:hover,.cookie-notice .cookie-save:hover {background:#f5efea;}
.cookie-notice .cookie-more {grid-area:more;margin-top:8px;text-align:left;font-size:12.5px;}
.cookie-notice .cookie-options {grid-area:options;margin:18px 0 0;padding-top:16px;border-color:rgba(232,221,214,.16);}
.cookie-notice .cookie-options p {max-width:750px;font-size:13px;}
.cookie-notice .cookie-options .cookie-essential {font-size:12.5px;}
.cookie-notice .cookie-save {width:fit-content;min-width:190px;margin-top:12px;}
.cookie-notice .cookie-option input {accent-color:#e8ddd6;}
.privacy-page .cookie-notice {max-width:960px;margin-inline:auto;padding-inline:24px;}
@media(max-width:900px) {
  .cookie-notice {grid-template-columns:1fr;grid-template-areas:"title" "description" "actions" "more" "options";padding:18px 30px 24px;}
  .cookie-notice .cookie-actions {min-width:0;max-width:470px;margin-top:14px;justify-self:start;width:100%;}
}
@media(max-width:600px) {
  .cookie-notice,.privacy-page .cookie-notice {padding:18px 20px 24px;width:100%;}
  .cookie-notice h2 {font-size:16px;}
  .cookie-notice .cookie-actions {gap:8px;}
  .cookie-notice .cookie-actions button {padding:8px;font-size:13px;}
}

.cookie-notice .cookie-actions {grid-template-columns:repeat(2,minmax(0,1fr));min-width:230px;}
@media(max-width:900px) { .cookie-notice .cookie-actions {min-width:0;max-width:320px;} }

/* Agreed reading order: explanation, question, policy link, equal choices. */
.cookie-notice {grid-template-columns:minmax(0,1fr);grid-template-areas:"title" "essential" "description" "more" "actions";row-gap:0;}
.cookie-notice .cookie-essential {grid-area:essential;max-width:780px;margin:0 0 12px;}
.cookie-notice #cookie-description {max-width:780px;}
.cookie-notice .cookie-more {margin:10px 0 14px;}
.cookie-notice .cookie-actions {justify-self:start;align-self:start;width:min(100%,320px);min-width:0;max-width:320px;margin:0;}

/* Choices on the right; explanatory text remains a single paragraph. */
.cookie-notice {grid-template-columns:minmax(0,1fr) auto;grid-template-areas:"title actions" "description actions" "more actions";}
.cookie-notice .cookie-actions {justify-self:end;align-self:center;width:260px;max-width:100%;}
@media(max-width:900px) {
 .cookie-notice {grid-template-columns:minmax(0,1fr);grid-template-areas:"title" "description" "more" "actions";}
 .cookie-notice .cookie-actions {justify-self:end;width:min(100%,320px);}
}
