/* Cookie bar and settings panel (vanilla-cookieconsent v3 draws them; cookieconsent.css is its own sheet), the
   Privacy group in the sidebar, and the cookie and privacy policy pages. The bar is a full-width strip in the
   edition's highlight colour; fonts and colours follow the edition (.y2023, .y2024, .y2025). */
#cc-main {
  --cc-font-family: Poppins, system-ui, sans-serif;
  --cc-modal-border-radius: 22px;
  --cc-btn-border-radius: 999px;
  --cc-pm-toggle-border-radius: 999px;
  --cc-modal-transition-duration: 0.24s;
  --cc-bg: #fff;
  --cc-primary-color: #000;
  --cc-secondary-color: #4a4a4a;
  --cc-link-color: #000;
  --cc-btn-primary-bg: #000;
  --cc-btn-primary-color: #fff;
  --cc-btn-primary-border-color: #000;
  --cc-btn-primary-hover-bg: #000;
  --cc-btn-primary-hover-color: #fff;
  --cc-btn-primary-hover-border-color: #000;
  --cc-btn-secondary-bg: #fff;
  --cc-btn-secondary-color: #000;
  --cc-btn-secondary-border-color: #000;
  --cc-btn-secondary-hover-bg: #fff;
  --cc-btn-secondary-hover-color: #000;
  --cc-btn-secondary-hover-border-color: #000;
  --cc-separator-border-color: #e4e4e0;
  --cc-footer-bg: #f3f3f1;
  --cc-footer-color: #4a4a4a;
  --cc-footer-border-color: #e4e4e0;
  --cc-cookie-category-block-bg: #f3f3f1;
  --cc-cookie-category-block-border: #f3f3f1;
  --cc-cookie-category-block-hover-bg: #ececea;
  --cc-cookie-category-block-hover-border: #ececea;
  --cc-cookie-category-expanded-block-bg: transparent;
  --cc-cookie-category-expanded-block-hover-bg: #ececea;
  --cc-toggle-on-bg: #000;
  --cc-toggle-readonly-bg: #8a8f98;
  --cc-overlay-bg: rgba(0, 0, 0, 0.5);
  --cc-z-index: 2147483000;
  --cc-high: #ffd60a;
}
.y2024 #cc-main { --cc-font-family: "Work Sans", system-ui, sans-serif; --cc-high: #ffb703; }
.y2023 #cc-main { --cc-font-family: Lato, system-ui, sans-serif; --cc-high: #fed646; }
.y2024 #cc-main .cm__title, .y2024 #cc-main .pm__title { font-family: "IBM Plex Sans", system-ui, sans-serif; }
.y2023 #cc-main .cm__title, .y2023 #cc-main .pm__title { font-family: Oswald, system-ui, sans-serif; font-weight: 600; }

/* The archive's button effect: rise, soft shadow, settle on press. */
#cc-main .cm__btn, #cc-main .pm__btn { font-weight: 600; transition: transform 0.32s cubic-bezier(0.22, 1, 0.36, 1), box-shadow 0.32s cubic-bezier(0.22, 1, 0.36, 1); }
#cc-main .cm__btn:hover, #cc-main .pm__btn:hover { transform: translateY(-3px); box-shadow: 0 6px 14px -4px rgba(0, 0, 0, 0.16), 0 1px 3px rgba(0, 0, 0, 0.06); }
#cc-main .cm__btn:active, #cc-main .pm__btn:active { transform: none; box-shadow: 0 2px 6px -2px rgba(0, 0, 0, 0.14); }
#cc-main .cm__title, #cc-main .pm__title { font-weight: 700; letter-spacing: -0.01em; }
#cc-main .pm__title span { background: var(--cc-high); padding: 0 0.18em; -webkit-box-decoration-break: clone; box-decoration-break: clone; }
#cc-main .pm { border: 2px solid #000; }
#cc-main .pm__section-title { font-weight: 600; }

/* The bar: the edition's highlight colour, black type and buttons, a black line along the top. */
#cc-main .cm {
  --cc-bg: var(--cc-high); --cc-secondary-color: #000; --cc-footer-bg: var(--cc-high); --cc-footer-color: #000; --cc-footer-border-color: rgba(0, 0, 0, 0.18);
  --cc-btn-secondary-bg: transparent; --cc-btn-secondary-hover-bg: transparent; --cc-separator-border-color: rgba(0, 0, 0, 0.18);
  border-top: 2px solid #000;
}
#cc-main .cm__footer-links a { text-decoration: underline; text-underline-offset: 3px; }


/* Cookie and privacy policy pages: one white card, readable line length, tables that stack on phones. */
.policy { display: block; max-width: 880px; }
.policy h1 { font-size: clamp(30px, 4vw, 44px); margin-bottom: 8px; }
.policy h1 span { background: var(--high); padding: 0 0.18em; -webkit-box-decoration-break: clone; box-decoration-break: clone; }
.policy .policy__date { color: var(--muted); font-size: 14px; margin: 0 0 20px; }
.policy h2 { font-size: 22px; margin: 32px 0 10px; }
.policy h3 { font-size: 17px; margin: 20px 0 6px; }
.policy p, .policy li { font-size: 16px; line-height: 1.65; max-width: 72ch; margin: 0 0 12px; }
.policy > * + h2 { margin-top: 32px; }
.policy h2 + p, .policy h3 + p { margin-top: 0; }
.policy a { color: inherit; text-decoration: underline; text-underline-offset: 3px; }
.policy table { width: 100%; border-collapse: collapse; margin: 14px 0 6px; font-size: 15px; line-height: 1.5; }
.policy th, .policy td { text-align: left; vertical-align: top; padding: 10px 16px 10px 0; border-bottom: 1px solid #e4e4e0; }
.policy th { font-size: 13px; text-transform: uppercase; letter-spacing: 0.06em; border-bottom: 2px solid #000; }
.policy td:first-child { font-weight: 600; white-space: nowrap; }
.policy .policy__btn { display: inline-block; margin-top: 8px; padding: 10px 20px; border: 2px solid #000; border-radius: 999px; background: var(--high); color: #000; font: inherit; font-weight: 600; cursor: pointer;
  transition: transform 0.32s cubic-bezier(0.22, 1, 0.36, 1), box-shadow 0.32s cubic-bezier(0.22, 1, 0.36, 1); }
.policy .policy__btn:hover { transform: translateY(-3px); box-shadow: 0 6px 14px -4px rgba(0, 0, 0, 0.16), 0 1px 3px rgba(0, 0, 0, 0.06); }
@media (max-width: 640px) {
  .policy thead { display: none; }
  .policy table, .policy tbody, .policy tr, .policy td { display: block; width: 100%; }
  .policy tr { padding: 10px 0; border-bottom: 1px solid #e4e4e0; }
  .policy td { padding: 2px 0; border: 0; white-space: normal; }
  .policy td[data-label]::before { content: attr(data-label); display: block; font-size: 12px; font-weight: 700; text-transform: uppercase; letter-spacing: 0.06em; color: var(--muted); margin-top: 6px; }
}
