.consent-footer-link {
  border: 0;
  background: transparent;
  color: inherit;
  cursor: pointer;
  font: inherit;
  padding: 0;
}

.consent-footer-link:hover,
.consent-footer-link:focus {
  text-decoration: underline;
}

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

.consent-banner {
  position: fixed;
  bottom: 0;
  left: 0;
  right: 0;
  z-index: 1050;
  padding: 14px 20px;
  background: #fff;
  border-top: 1px solid #ddd8d0;
  box-shadow: 0 -6px 24px rgba(0, 0, 0, .13);
  color: #242424;
}

.consent-banner-content {
  max-width: 1020px;
  margin: 0 auto;
}

.consent-banner h2 {
  margin: 0 0 7px;
  font-size: 1.35rem;
  font-weight: 600;
}

.consent-banner p {
  margin: 0 0 8px;
  line-height: 1.45;
}

.consent-analytics-option {
  display: inline-flex;
  align-items: baseline;
  gap: 8px;
  cursor: pointer;
  font-weight: 500;
}

.consent-analytics-option input {
  flex: none;
}

.consent-banner .consent-note {
  color: #666;
  font-size: .86rem;
}

.consent-banner .consent-message {
  color: #a73525;
}

.consent-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

@media (max-width: 640px) {
  .consent-banner {
    padding: 14px 16px max(14px, env(safe-area-inset-bottom));
    max-height: 85vh;
    overflow-y: auto;
  }

  .consent-actions .btn {
    flex: 1 1 170px;
  }
}
