.wf-consent-actions {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: .75rem;
}

.wf-consent-actions > * {
  min-width: 0;
  margin: 0;
}

.wf-consent-actions--two {
  grid-template-columns: repeat(2, minmax(0, 1fr));
}

.wf-consent-banner {
  position: fixed;
  z-index: 1090;
  inset-inline: max(.75rem, env(safe-area-inset-left)) max(.75rem, env(safe-area-inset-right));
  bottom: max(.75rem, env(safe-area-inset-bottom));
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(29rem, .8fr);
  align-items: center;
  gap: 1.25rem;
  width: min(78rem, calc(100% - 1.5rem));
  margin-inline: auto;
  padding: 1rem 1.25rem;
  color: var(--wf-text);
  background: var(--wf-surface);
  border: 1px solid var(--wf-border);
  border-radius: var(--wf-radius-lg);
  box-shadow: 0 .75rem 2.5rem color-mix(in srgb, var(--wf-text) 24%, transparent);
}

.wf-consent-banner__copy {
  min-width: 0;
}

.wf-consent-option {
  background: color-mix(in srgb, var(--wf-surface) 94%, var(--wf-primary));
  border-color: var(--wf-border) !important;
}

@media (max-width: 991.98px) {
  .wf-consent-banner {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 575.98px) {
  .wf-consent-actions {
    grid-template-columns: 1fr;
  }

  .wf-consent-banner {
    max-height: calc(100vh - 1.5rem);
    overflow-y: auto;
    padding: 1rem;
  }
}

@media print {
  .wf-consent-banner,
  .wf-site-footer__legal-link {
    display: none !important;
  }
}
