/* Analytics consent bar and "Analytics choices" link (see scripts/analytics.js).
   Self-contained so it also works on the Privacy and 404 pages. */
.consent {
  position: fixed;
  z-index: 20;
  right: 0;
  bottom: 0;
  left: 0;
  display: flex;
  align-items: center;
  gap: 28px;
  padding: 12px var(--rp, 64px) 12px var(--lp, 64px);
  border-top: 1px solid var(--rule, rgba(255, 255, 255, .14));
  background: var(--ink, #040707);
  box-shadow: 0 -14px 40px rgba(0, 0, 0, .55);
  font-family: var(--font-sans, "Archivo", "Helvetica Neue", Arial, sans-serif);
  animation: consent-in .3s ease-out both;
}
.consent::before {
  content: "";
  position: absolute;
  top: -1px;
  left: var(--lp, 64px);
  width: 64px;
  height: 2px;
  background: var(--gold, #c8982c);
}
.consent__label {
  flex: none;
  margin: 0;
  font: 600 11px/1 var(--font-sans, "Archivo", Arial, sans-serif);
  letter-spacing: .2em;
  text-transform: uppercase;
  color: var(--gold, #c8982c);
}
.consent__text {
  flex: 1;
  margin: 0;
  font: 400 16px/1.4 var(--font-serif, "Newsreader", Georgia, serif);
  color: var(--text-2, rgba(255, 255, 255, .76));
}
.consent__text a {
  color: inherit;
  text-decoration: underline;
  text-decoration-color: rgba(255, 255, 255, .35);
  text-underline-offset: 3px;
}
.consent__actions { flex: none; display: flex; align-items: center; gap: 22px; }
.consent__allow {
  height: 44px;
  padding: 0 22px;
  border: 0;
  border-radius: 0;
  background: var(--gold, #c8982c);
  color: var(--ink, #040707);
  font: 700 12px/1 var(--font-sans, "Archivo", Arial, sans-serif);
  letter-spacing: .2em;
  text-transform: uppercase;
  cursor: pointer;
}
.consent__allow:hover { background: #d9a838; }
/* "No thanks" in the consent question: same size, type and weight as "Allow analytics",
   outlined in gold instead of filled, so both choices are equally easy to see and use. */
.consent__allow--quiet { background: transparent; box-shadow: inset 0 0 0 1px var(--gold, #c8982c); color: var(--white, #fff); }
.consent__allow--quiet:hover { background: rgba(200, 152, 44, .14); }
.consent__decline {
  min-height: 44px;
  padding: 0;
  border: 0;
  background: none;
  color: var(--text-2, rgba(255, 255, 255, .76));
  font: 500 14px/1.2 var(--font-sans, "Archivo", Arial, sans-serif);
  letter-spacing: .04em;
  text-decoration: underline;
  text-decoration-color: rgba(255, 255, 255, .35);
  text-underline-offset: 6px;
  cursor: pointer;
}
.consent__decline:hover { color: #fff; text-decoration-color: #fff; }
.consent button:focus-visible, .consent a:focus-visible, .consent-link:focus-visible { outline: 2px solid #fff; outline-offset: 3px; }
@keyframes consent-in { from { opacity: 0; } }
@media (prefers-reduced-motion: reduce) { .consent { animation: none; } }
@media (max-width: 1100px) { .consent__label { display: none; } }
@media (max-width: 767px) {
  .consent {
    flex-direction: column;
    align-items: stretch;
    gap: 10px;
    padding: 11px var(--lp, 20px) calc(11px + env(safe-area-inset-bottom));
  }
  .consent::before { left: var(--lp, 20px); }
  .consent__text { font-size: 15px; line-height: 1.35; }
  .consent__actions { gap: 12px; }
  .consent__allow { flex: 1; padding: 0 10px; letter-spacing: .14em; white-space: nowrap; }
}

/* Footer link that opens the choices (a button styled like the neighbouring links) */
.consent-link {
  padding: 0;
  border: 0;
  background: none;
  color: inherit;
  font: inherit;
  letter-spacing: inherit;
  text-decoration: underline;
  text-decoration-color: rgba(255, 255, 255, .35);
  text-underline-offset: 3px;
  cursor: pointer;
}
.consent-link:hover { color: #fff; text-decoration-color: #fff; }
