/* apol1kdcare — cookie consent banner */
#apol1-consent {
  position: fixed;
  left: 0;
  right: 0;
  bottom: 0;
  z-index: 2147483000;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: center;
  gap: 16px 24px;
  padding: 18px 24px;
  background: #ffffff;
  border-top: 1px solid #dce2eb;
  box-shadow: 0 -2px 16px rgba(0, 0, 0, .12);
  transform: translateY(100%);
  transition: transform .25s ease;
  font-size: 14px;
  line-height: 1.5;
  color: #1c2b3a;
}

#apol1-consent.is-visible { transform: translateY(0); }

.apol1-consent__text {
  flex: 1 1 460px;
  max-width: 900px;
  margin: 0;
}

.apol1-consent__text a {
  color: #1c6fb5;
  text-decoration: underline;
}

.apol1-consent__actions {
  flex: 0 0 auto;
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

.apol1-consent__btn {
  font: inherit;
  font-weight: 600;
  padding: 10px 18px;
  border-radius: 4px;
  border: 1px solid transparent;
  cursor: pointer;
  white-space: nowrap;
}

.apol1-consent__btn--primary {
  background: #6fbe44;
  border-color: #6fbe44;
  color: #ffffff;
}

.apol1-consent__btn--primary:hover { background: #5fa839; border-color: #5fa839; }

.apol1-consent__btn--ghost {
  background: #ffffff;
  border-color: #9aa7b4;
  color: #1c2b3a;
}

.apol1-consent__btn--ghost:hover { background: #f2f5f8; }

.apol1-consent__btn:focus-visible {
  outline: 2px solid #1c6fb5;
  outline-offset: 2px;
}

@media (max-width: 600px) {
  #apol1-consent {
    justify-content: flex-start;
    padding: 16px;
    font-size: 13px;
  }
  .apol1-consent__actions { width: 100%; }
  .apol1-consent__btn { flex: 1 1 auto; text-align: center; }
}

@media (prefers-reduced-motion: reduce) {
  #apol1-consent { transition: none; }
}
