/* Cookie consent banner (shared/_cookie_consent partial).
   Linked separately in every layout that renders the partial. */
.cookie-banner {
  position: fixed;
  inset: auto 1rem 1rem 1rem;
  z-index: 1000;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 0.75rem 1.5rem;
  max-width: 60rem;
  margin: 0 auto;
  padding: 1rem 1.25rem;
  background: #1a1a1a;
  color: #ffffff;
  border-radius: 12px;
  box-shadow: 0 8px 30px rgba(0, 0, 0, 0.25);
  font-size: 0.9rem;
  line-height: 1.5;
}
.cookie-banner[hidden] {
  display: none;
}
.cookie-banner--raised {
  bottom: calc(4.5rem + env(safe-area-inset-bottom));
}
.cookie-banner-text {
  margin: 0;
  flex: 1 1 20rem;
}
.cookie-banner-text a {
  color: #a3cf99;
  text-decoration: underline;
}
.cookie-banner-actions {
  display: flex;
  gap: 0.5rem;
  flex-shrink: 0;
}
.cookie-banner-btn {
  font: inherit;
  font-weight: 600;
  padding: 0.5rem 1.1rem;
  border-radius: 8px;
  border: 1px solid transparent;
  cursor: pointer;
}
.cookie-banner-btn-accept {
  background: #2d5a27;
  color: #ffffff;
}
.cookie-banner-btn-accept:hover {
  background: #3d7a35;
}
.cookie-banner-btn-decline {
  background: transparent;
  color: #ffffff;
  border-color: rgba(255, 255, 255, 0.4);
}
.cookie-banner-btn-decline:hover {
  border-color: #ffffff;
}
