/* ==========================================================================
   Adapt Practice — Cookie consent banner
   Shared across every page. Loaded after adapt-practice.css.
   ========================================================================== */
.cookie-consent {
  position: fixed;
  left: 0;
  right: 0;
  bottom: 0;
  z-index: 1000;
  background: var(--navy);
  border-top: 1px solid rgba(255, 255, 255, 0.12);
  box-shadow: 0 -8px 28px rgba(27, 42, 74, 0.25);
  padding: 1.5rem 2rem;
}

.cookie-consent[hidden] { display: none; }

.cookie-consent__inner {
  max-width: var(--max-width);
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 2rem;
  flex-wrap: wrap;
}

.cookie-consent__text {
  flex: 1 1 360px;
  min-width: 0;
}

.cookie-consent__title {
  font-size: 0.95rem;
  font-weight: 700;
  color: var(--white);
  margin-bottom: 0.35rem;
}

.cookie-consent__desc {
  font-size: 0.85rem;
  color: rgba(255, 255, 255, 0.75);
  line-height: 1.6;
}
.cookie-consent__desc a {
  color: var(--gold);
  text-decoration: underline;
}

.cookie-consent__actions {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  flex-wrap: wrap;
  flex-shrink: 0;
}

.cookie-consent__btn {
  padding: 0.7rem 1.5rem;
  font-size: 0.82rem;
}

@media (max-width: 640px) {
  .cookie-consent { padding: 1.25rem 1.25rem; }
  .cookie-consent__inner { gap: 1.25rem; }
  .cookie-consent__actions { width: 100%; }
  .cookie-consent__btn { flex: 1 1 0; text-align: center; }
}

@media (max-width: 360px) {
  .cookie-consent__actions { flex-direction: column; align-items: stretch; }
}

@media (prefers-reduced-motion: no-preference) {
  .cookie-consent { animation: cookieConsentSlideUp 0.25s ease; }
}

@keyframes cookieConsentSlideUp {
  from { transform: translateY(16px); opacity: 0; }
  to { transform: translateY(0); opacity: 1; }
}
