/* Cookie choice banner and footer "Cookie settings" link (js/consent.js, ADR-009).
   Colours and shapes follow the site (navy panel, amber accent, 8px corners).
   Both buttons look the same on purpose: declining is as easy as accepting. */
.kc-consent {
  position: fixed;
  left: 16px;
  right: 16px;
  bottom: 16px;
  z-index: 1000;
  max-width: 960px;
  margin: 0 auto;
  display: flex;
  align-items: center;
  gap: 16px 24px;
  padding: 16px 20px;
  border-radius: 8px;
  border-left: 4px solid #f4a326;
  background: #0a1728;
  color: #fff;
  box-shadow: 0 18px 44px rgba(10, 23, 40, 0.28);
  font: 500 0.95rem/1.5 Inter, "Segoe UI", Arial, sans-serif;
}
.kc-consent__text {
  flex: 1 1 auto;
  margin: 0;
  color: rgba(255, 255, 255, 0.9);
}
.kc-consent__text a {
  color: #f4a326;
  font-weight: 700;
  text-decoration: underline;
}
.kc-consent__actions {
  flex: none;
  display: flex;
  gap: 12px;
}
.kc-consent__btn {
  min-width: 112px;
  min-height: 44px;
  padding: 0 20px;
  border: 1px solid rgba(255, 255, 255, 0.6);
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.08);
  color: #fff;
  font: 800 0.95rem/1 Inter, "Segoe UI", Arial, sans-serif;
  cursor: pointer;
}
.kc-consent__btn:hover {
  background: rgba(255, 255, 255, 0.16);
}
.kc-consent__btn:focus-visible,
.kc-consent__text a:focus-visible,
.kc-consent-settings:focus-visible {
  outline: 3px solid #36b6ff;
  outline-offset: 2px;
}
/* Footer link, styled like the other footer links. */
.kc-consent-settings {
  padding: 0;
  border: 0;
  background: none;
  color: rgba(255, 255, 255, 0.8);
  font: inherit;
  font-weight: 500;
  text-align: left;
  cursor: pointer;
}
.kc-consent-settings:hover {
  color: #fff;
  text-decoration: underline;
}
@media (max-width: 640px) {
  .kc-consent {
    flex-direction: column;
    align-items: stretch;
    left: 8px;
    right: 8px;
    bottom: 8px;
    padding: 14px 16px;
  }
  .kc-consent__actions .kc-consent__btn {
    flex: 1 1 0;
  }
}
@media (prefers-reduced-motion: no-preference) {
  .kc-consent {
    animation: kc-consent-in 0.2s ease-out;
  }
}
@keyframes kc-consent-in {
  from {
    opacity: 0;
    transform: translateY(8px);
  }
}
