/* Cookie consent banner and footer link. Linked only in builds that have a measurement ID (layouts/Base.astro), so
   builds without one are unchanged. Uses the tokens and .btn classes from the site CSS. Logical properties only. */
.cc { position: fixed; inset-block-end: 16px; inset-inline: 16px; z-index: 50; max-width: 600px; max-height: calc(100dvh - 32px); overflow-y: auto; display: grid; gap: 10px; padding: 18px; background: var(--surface); color: var(--text); border: 1px solid var(--border); border-radius: var(--r); box-shadow: var(--shadow); font-size: .875rem; line-height: 1.5; }
.cc[hidden] { display: none; }
.cc a { color: var(--primary); text-decoration: underline; }
.cc-btns { display: flex; gap: 10px; margin-block-start: 4px; }
.cc-btns .btn { flex: 1; }
.cc-btns .btn[aria-current="true"] { box-shadow: 0 0 0 2px var(--surface), 0 0 0 4px var(--text); }
/* The banner is fixed, so it moves nothing. While it is open the end of the page gets room, so no content stays under it. */
html.cc-open body { padding-block-end: 360px; }
@media (min-width: 700px) { html.cc-open body { padding-block-end: 260px; } }
.cc-reopen { border: 0; background: none; padding-block: 8px; padding-inline: 0; font: inherit; cursor: pointer; }
