/* Moneta colours for the cookie banner (overrides consent.css, light and dark alike: the site has one theme). */
html:root,
html:root:not([data-theme="light"]),
html:root[data-theme="dark"] {
  --sc-font: Inter, system-ui, sans-serif;
  --sc-bg: #211c16;
  --sc-fg: #faf7f0;
  --sc-muted: #d9d0bf;
  --sc-border: #3a3329;
  --sc-accent: #e1c254;
  --sc-accent-fg: #17140f;
  --sc-secondary-bg: #2c261e;
  --sc-secondary-fg: #faf7f0;
  --sc-radius: 18px;
  --sc-btn-radius: 999px;
}
.sc-root a { color: #e1c254; }
.sc-root .sc-title { font-family: "Bodoni Moda", Georgia, serif; font-weight: 500; }
/* Placeholders drawn by the site (map, video) use the site's own styles; the kit's blocked-embed box keeps these. */
.sc-embed-placeholder { background: #f1eadb; color: #17140f; border-color: #e2d8c5; }
.sc-embed-placeholder .sc-btn-primary { background: #17140f; color: #faf7f0; }
.sc-embed-placeholder .sc-btn-link { color: #765a0c; }
/* Fair loops embedded as iframes: the parent page shows the banner. */
.sc-embedded .sc-root { display: none !important; }

/* Compact banner (6 Nov 2026, after the jury review: on phones it covered ~60% of the screen and hid
   every title; on desktop it sat over the hero). Same words and the same equal buttons: only the shape changes. */
.sc-close:hover { background: #e1c254; color: #17140f; border-color: #e1c254; }
.sc-btn:hover { filter: none; box-shadow: 0 0 0 2px #faf7f0 inset; }
.sc-btn-secondary:hover { background: #faf7f0; color: #17140f; }
/* 15 Nov 2026, second jury review: the bar was still 205px tall on desktop (over the hero buttons) and a third of
   the phone screen. Same words: the paragraphs now run on as one, the bar is wider and the type smaller. */
.sc-banner .sc-text p { display: inline; margin: 0; }
.sc-banner .sc-text p + p::before { content: " "; }
.sc-skip {
  position: absolute; left: 10px; top: 8px; z-index: 2; pointer-events: none; opacity: 0;
  background: #e1c254; color: #17140f !important; text-decoration: none !important;
  font-weight: 600; font-size: 14px; padding: 10px 16px; border-radius: 999px;
}
.sc-skip:focus { opacity: 1; pointer-events: auto; outline: 3px solid #faf7f0; outline-offset: 2px; }
/* desktop and tablet: a wide bar along the bottom, words on the left, the three buttons on the right */
@media (min-width: 900px) {
  .sc-banner { left: 16px; right: 16px; bottom: 12px; }
  .sc-banner-card {
    max-width: 1400px; padding: 12px 18px;
    display: grid; grid-template-columns: 1fr auto; column-gap: 24px; align-items: center;
  }
  .sc-root .sc-title { grid-column: 1; margin: 0 0 2px; font-size: 16px; }
  .sc-banner .sc-text { grid-column: 1; font-size: 12.5px; line-height: 1.4; margin: 0; }
  .sc-banner .sc-links { font-size: 12.5px; }
  .sc-banner .sc-actions { grid-column: 2; grid-row: 1 / span 2; margin: 0; flex-wrap: nowrap; gap: 8px; padding-right: 52px; }
  .sc-banner .sc-actions .sc-btn { min-height: 40px; padding: 8px 16px; font-size: 14px; }
  .sc-banner .sc-close { top: 50%; transform: translateY(-50%); right: 14px; width: 40px; height: 40px; }
}
/* phones: a sheet on the bottom edge. The title stays for screen readers only, the X sits beside the first lines. */
@media (max-width: 899px) {
  .sc-banner { left: 0; right: 0; bottom: 0; }
  .sc-banner-card { border-radius: 16px 16px 0 0; padding: 10px 14px 10px; max-height: 40vh; border-width: 1px 0 0; }
  .sc-root .sc-title { position: absolute; width: 1px; height: 1px; margin: -1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
  .sc-banner .sc-text { font-size: 12px; line-height: 1.38; margin: 0; }
  .sc-banner .sc-links { font-size: 12px; }
  .sc-banner .sc-close { position: static; float: right; margin: 0 0 4px 10px; width: 36px; height: 36px; }
  .sc-banner .sc-actions { display: grid; grid-template-columns: 1.25fr 1fr 1fr; gap: 8px; margin-top: 8px; flex-direction: row; clear: both; }
  .sc-banner .sc-actions .sc-btn { width: 100%; min-height: 40px; padding: 7px 6px; font-size: 13px; }
}
