/* Cookie banner, settings dialog and footer link. Used by assets/scopa-consent.js on every page. */
.scopa-cc { position: fixed; left: 0; right: 0; bottom: 0; z-index: 2147483647; background: #1a1a1a; color: #fff; font: 15px/1.5 -apple-system, "Helvetica Neue", Helvetica, Arial, sans-serif; padding: 14px 16px; box-shadow: 0 -2px 12px rgba(0, 0, 0, .25); max-height: 70vh; overflow-y: auto; }
.scopa-cc[hidden], .scopa-cc [hidden] { display: none !important; }
.scopa-cc-in { max-width: 960px; margin: 0 auto; display: flex; flex-wrap: wrap; align-items: center; gap: 12px 20px; justify-content: space-between; }
.scopa-cc-copy { flex: 1 1 260px; min-width: 0; }
.scopa-cc-title { margin: 0 0 2px; font-weight: 700; font-size: 15px; }
.scopa-cc-text { margin: 0; overflow-wrap: anywhere; }
.scopa-cc a { color: #C4A265; text-underline-offset: 2px; white-space: nowrap; }
.scopa-cc-actions { display: flex; flex-wrap: wrap; align-items: center; gap: 8px; flex: 0 1 auto; }
/* Both choices share one style: same size, weight and colors. */
.scopa-cc-btn { flex: 1 1 120px; min-width: 120px; min-height: 44px; padding: 8px 20px; border: 2px solid #fff; border-radius: 999px; background: #fff; color: #1a1a1a; font-family: inherit; font-weight: 700; font-size: 15px; line-height: 1.2; cursor: pointer; }
.scopa-cc-btn:hover { background: #C4A265; border-color: #C4A265; }
.scopa-cc-close { min-height: 44px; padding: 8px 12px; border: 0; background: none; color: #fff; font-family: inherit; font-weight: 600; font-size: 15px; line-height: 1.2; text-decoration: underline; text-underline-offset: 2px; cursor: pointer; }
.scopa-cc-btn:focus-visible, .scopa-cc-close:focus-visible, .scopa-cc a:focus-visible, .scopa-cc-title:focus-visible { outline: 3px solid #C4A265; outline-offset: 3px; }
.scopa-cc-title:focus-visible { outline-offset: 2px; }
/* While the banner is open, add scrollable space equal to its height so the footer can scroll clear of it. */
html.scopa-cc-open { scroll-padding-bottom: var(--scopa-cc-h, 0px); }
html.scopa-cc-open body { padding-bottom: var(--scopa-cc-h, 0px); }

/* Footer "Cookie settings" control (a button, because it opens a dialog and does not navigate). */
.scopa-cc-link { appearance: none; background: none; border: 0; margin: 0; padding: 2px 4px; min-height: 24px; font: inherit; color: var(--link, #8A6A2A); text-decoration: underline; text-underline-offset: 2px; cursor: pointer; }
.scopa-cc-link:hover { color: var(--link-hover, #5E4614); }
.scopa-cc-link:focus-visible { outline: 3px solid #1A1A1A; outline-offset: 2px; border-radius: 4px; }

/* Home page strip (the home page footer is part of the compiled bundle). It sits after #root.
   Until the app renders, #root is held at one viewport height so this strip stays below the fold and nothing moves. */
.scopa-cc-foot { text-align: center; padding: 16px; font: 14px/1.5 -apple-system, "Helvetica Neue", Helvetica, Arial, sans-serif; color: #4a4a4a; }
#root:empty { min-height: 100vh; }

.scopa-sr { position: absolute; width: 1px; height: 1px; overflow: hidden; clip-path: inset(50%); white-space: nowrap; margin: 0; }

@media (max-width: 360px) { .scopa-cc { padding: 12px; } .scopa-cc-btn { min-width: 100px; padding: 8px 12px; } }
/* No animation or transition is used, so there is nothing to switch off under prefers-reduced-motion. */
