/* Cookie consent banner: bottom-left card on desktop, bottom sheet on phones */
.cc-banner { position: fixed; left: clamp(12px, 2vw, 24px); bottom: clamp(12px, 2vw, 24px); z-index: 1000; width: min(440px, calc(100vw - 24px)); font-family: "Figtree", system-ui, sans-serif; color: #0c1540; }
.cc-banner[hidden] { display: none; }
.cc-card { background: #fff; border-radius: 20px; padding: 22px 22px 18px; box-shadow: 0 30px 70px -20px rgba(0, 6, 46, .55), 0 0 0 1px rgba(2, 15, 120, .08); max-height: calc(100vh - 32px); overflow-y: auto; }
.cc-title { margin: 0 0 8px; font-family: "Playfair Display", Georgia, serif; font-weight: 600; font-size: 1.3rem; color: #020F78; line-height: 1.2; }
.cc-desc { margin: 0; font-size: .88rem; line-height: 1.55; color: #4b567f; }
.cc-desc a { color: #020F78; font-weight: 700; }
.cc-actions { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; margin-top: 16px; }
.cc-btn { min-height: 46px; border-radius: 999px; font: inherit; font-weight: 800; font-size: .8rem; letter-spacing: .06em; text-transform: uppercase; cursor: pointer; padding: 0 14px; }
/* Accept and reject carry equal weight (ICO guidance): same size, same position, both solid */
.cc-reject, .cc-accept { background: #020F78; color: #fff; border: 2px solid #020F78; }
.cc-save { grid-column: 1 / -1; background: #fff; color: #020F78; border: 2px solid #020F78; }
.cc-save[hidden] { display: none; }
.cc-btn:hover { filter: brightness(1.15); }
.cc-btn:focus-visible, .cc-link:focus-visible, .cc-row input:focus-visible + .cc-switch { outline: 3px solid #c4a468; outline-offset: 2px; }
.cc-link { grid-column: 1 / -1; justify-self: center; background: none; border: 0; padding: 6px; font: inherit; font-size: .85rem; font-weight: 700; color: #020F78; text-decoration: underline; text-underline-offset: 3px; cursor: pointer; }
.cc-prefs { margin-top: 14px; border-top: 1px solid #dde4f6; }
.cc-prefs[hidden] { display: none; }
.cc-row { display: flex; align-items: center; justify-content: space-between; gap: 14px; padding: 12px 0; border-bottom: 1px solid #dde4f6; cursor: pointer; position: relative; }
.cc-row div { display: grid; gap: 2px; }
.cc-row strong { font-size: .9rem; color: #020F78; }
.cc-row span { font-size: .8rem; color: #4b567f; line-height: 1.45; }
.cc-always { flex: none; font-weight: 700; font-size: .75rem !important; color: #020F78 !important; }
.cc-row input { position: absolute; opacity: 0; width: 1px; height: 1px; }
.cc-switch { flex: none; width: 44px; height: 26px; border-radius: 999px; background: #c9d1ea; position: relative; transition: background-color .2s ease; }
.cc-switch::after { content: ""; position: absolute; left: 3px; top: 3px; width: 20px; height: 20px; border-radius: 50%; background: #fff; box-shadow: 0 1px 3px rgba(0,0,0,.25); transition: transform .2s ease; }
.cc-row input:checked + .cc-switch { background: #020F78; }
.cc-row input:checked + .cc-switch::after { transform: translateX(18px); }
/* Keep the floating enquiry buttons out of the way while the banner is open */
.cc-open .sticky-bar, .cc-open .to-top { visibility: hidden; }
@media (max-width: 560px) {
  .cc-banner { left: 0; right: 0; bottom: 0; width: 100%; }
  .cc-card { border-radius: 20px 20px 0 0; padding: 18px 16px calc(14px + env(safe-area-inset-bottom)); max-height: 85vh; }
}
@media (prefers-reduced-motion: reduce) { .cc-switch, .cc-switch::after { transition: none; } }
/* Footer link that reopens the banner */
.cookie-settings-link { background: none; border: 0; padding: 0; font: inherit; color: inherit; text-decoration: underline; text-underline-offset: 3px; cursor: pointer; }
