/* Cookie banner (inc/consent.php) and the sign-up's note lines (inc/newsletter.php). */
.consent { position: fixed; z-index: 90; inset: auto 0 0 0; padding: 0 var(--gut) var(--gut); pointer-events: none; }
.consent[hidden] { display: none; }
.consent--inline { position: static; padding: var(--gut) var(--gut) 0; }
.consent--inline .consent__box { margin: 0 auto; max-width: 960px; box-shadow: inset 0 0 0 1px var(--edge); }
.consent__box { pointer-events: auto; max-width: 640px; margin-left: auto; padding: 20px 22px; border-radius: var(--r-2, 8px); background: var(--paper); color: var(--ink); box-shadow: 0 10px 40px rgba(28, 30, 27, .28), inset 0 0 0 1px var(--edge); }
.consent__title { font-family: var(--f-head); font-size: 20px; text-transform: uppercase; letter-spacing: .02em; }
.consent__body { margin-top: 8px; font-size: 15px; line-height: 1.5; }
.consent__body a { color: var(--ink); text-decoration: underline; text-underline-offset: 3px; }
/* Banner: "Accept Cookies" and "Learn about our cookies" side by side when both fit, each a full row when not (phones) */
.consent__actions { display: grid; grid-template-columns: repeat(auto-fit, minmax(200px, 1fr)); gap: 10px; margin-top: 16px; }
.consent__actions .btn, .consent-pop__actions .btn { min-height: 48px; }
/* The popup: a centred modal over a dimmed page */
.consent-pop { width: min(560px, calc(100% - 2 * var(--gut))); max-height: calc(100% - 2 * var(--gut)); padding: 0; border: 0; border-radius: var(--r-2, 8px); background: var(--paper); color: var(--ink); box-shadow: 0 10px 40px rgba(28, 30, 27, .28); }
.consent-pop::backdrop { background: rgba(28, 30, 27, .55); }
.consent-pop__form { padding: 20px 22px 22px; }
.consent-pop__head { display: flex; align-items: flex-start; justify-content: space-between; gap: 12px; }
.consent-pop__x { flex: none; width: 44px; height: 44px; margin: -10px -12px 0 0; background: none; border: 0; font-size: 28px; line-height: 1; color: var(--ink); cursor: pointer; }
.consent-pop__list { list-style: none; margin: 14px 0 0; padding: 0; }
.consent-pop__list li { border-top: 1px solid var(--edge); }
.consent-pop__list li:last-child { border-bottom: 1px solid var(--edge); }
.consent-pop__list label { display: flex; align-items: flex-start; gap: 12px; padding: 12px 0; font-size: 15px; line-height: 1.45; cursor: pointer; }
.consent-pop__list input { flex: none; width: 20px; height: 20px; margin-top: 1px; accent-color: var(--navy); }
.consent-pop__list input:disabled + span { cursor: default; }
.consent-pop__always { font-style: normal; font-size: 13px; color: var(--muted); }
/* Wrapping row: each button as wide as its words (the French ones are long), stretched to fill the line */
.consent-pop__actions { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 18px; }
.consent-pop__actions .btn { flex: 1 1 auto; }
.foot__cookies { color: inherit; text-decoration: underline; text-underline-offset: 3px; }
.signup__note:empty { display: none; }
.signup__note { margin-top: 12px; color: var(--paper); font-weight: 600; }
.signup__legal { margin-top: 10px; max-width: 520px; font-size: 13px; color: var(--muted-light); }
