/* Keep Complianz's consent controls above the welcome dialog and center them
   inside the theme's wide content area while the banner spans the viewport. */
body .cmplz-cookiebanner.cmplz-show {
  position: fixed !important;
  inset: auto 0 0 !important;
  z-index: 100100 !important;
  box-sizing: border-box !important;
  display: flex !important;
  flex-direction: column !important;
  align-items: center !important;
  gap: 8px !important;
  width: 100% !important;
  max-width: none !important;
  max-height: min(85dvh, 700px);
  overflow-y: auto;
  margin: 0 !important;
  padding: 18px max(var(--bz-page-gutter, 16px), calc((100% - var(--wp--style--global--wide-size, 1240px)) / 2)) !important;
  border-width: 1px 0 0 !important;
  border-radius: 0 !important;
  box-shadow: 0 -12px 36px #24242121 !important;
}
body .cmplz-cookiebanner > .cmplz-header,
body .cmplz-cookiebanner > .cmplz-body,
body .cmplz-cookiebanner > .cmplz-buttons,
body .cmplz-cookiebanner > .cmplz-documents,
body .cmplz-cookiebanner > .cmplz-divider,
body .cmplz-cookiebanner > .cmplz-links {
  box-sizing: border-box;
  width: 100%;
  max-width: var(--wp--style--global--wide-size, 1240px);
}
body .cmplz-cookiebanner > .cmplz-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  min-height: 0 !important;
  margin: 0 !important;
  padding: 0 !important;
}
body .cmplz-cookiebanner .cmplz-divider-header { display: none !important; }
body .cmplz-cookiebanner > .cmplz-body { margin: 0 !important; padding: 0 !important; }
body .cmplz-cookiebanner .cmplz-title { margin: 0 !important; }
body .cmplz-cookiebanner .cmplz-message { margin: 0 !important; }
body .cmplz-cookiebanner > .cmplz-header .cmplz-logo { display: none; }
body .cmplz-cookiebanner .cmplz-message { width: 100%; max-width: 760px; }
body .cmplz-cookiebanner > .cmplz-buttons {
  display: flex;
  gap: 10px;
  width: 100%;
}
body .cmplz-cookiebanner > .cmplz-buttons > .cmplz-btn {
  flex: 1 1 0;
  width: 100%;
  min-width: 0;
  border-radius: var(--wp--custom--radius--control, 4px);
}
body .cmplz-cookiebanner > .cmplz-buttons > .cmplz-view-preferences {
  border: 1px solid var(--wp--preset--color--brand, #244f3e) !important;
  background: transparent !important;
  color: var(--wp--preset--color--brand, #244f3e) !important;
  text-decoration: none !important;
}
body .cmplz-cookiebanner > .cmplz-documents { justify-content: center; }
body .cmplz-cookiebanner .cmplz-categories { max-height: min(38dvh, 300px); overflow-y: auto; }
.bz-footer-cookie-settings {
  padding: 5px 0;
  border: 0;
  background: transparent;
  color: #d4d3cf;
  font-family: inherit;
  font-size: 14px;
  font-weight: 400;
  line-height: 1.8;
  text-align: left;
  text-decoration: none;
  cursor: pointer;
}
.bz-footer-cookie-settings:hover { color: #fff; text-decoration: underline; text-underline-offset: .2em; }
.bz-footer-cookie-settings:focus-visible { outline: 2px solid currentColor; outline-offset: 3px; }
@media (max-width: 700px) {
  body .cmplz-cookiebanner.cmplz-show {
    gap: 8px !important;
    padding: 16px var(--bz-page-gutter, 16px) !important;
  }
  body .cmplz-cookiebanner > .cmplz-buttons { flex-direction: column; }
  body .cmplz-cookiebanner > .cmplz-buttons > .cmplz-btn { flex: 0 0 auto; }
}
