/* Compact consent card: layout inspired by the reference, Dijion colors. */
.consent-banner[hidden] { display: none; }
.sitemap-footer .consent-settings { display: block; min-height: 44px; padding: 8px 0; border: 0; background: transparent; color: inherit; font: inherit; text-decoration: underline; cursor: pointer; }
.sitemap-footer .consent-settings[hidden] { display: none; }
.consent-banner {
  position: fixed;
  z-index: 80;
  left: max(20px, env(safe-area-inset-left));
  bottom: max(20px, env(safe-area-inset-bottom));
  width: min(450px, calc(100vw - 40px));
  max-height: calc(100vh - 40px);
  max-height: calc(100dvh - 40px);
  overflow-y: auto;
  padding: 22px;
  border: 1px solid #77828a;
  border-radius: 12px;
  background: #171a1e;
  color: #f2f3f2;
  box-shadow: 0 8px 32px #0006;
  font: 14px/1.6 system-ui, sans-serif;
}
.consent-banner h2 { margin: 0 0 12px; color: #f2f3f2; font-size: 19px; font-weight: 600; line-height: 1.3; letter-spacing: -.02em; }
.consent-banner p { margin: 0 0 10px; color: #c1cbd3; font-size: 13px; line-height: 1.65; }
.consent-banner a { color: #a4d8ed; text-decoration: underline; text-underline-offset: 3px; }
.consent-banner-actions { display: flex; gap: 8px; margin-top: 18px; }
.consent-banner-actions button {
  flex: 1 1 0;
  min-width: 0;
  min-height: 44px;
  padding: 9px 8px;
  border: 1px solid #77828a;
  border-radius: 6px;
  background: #20272d;
  color: #f2f3f2;
  font: 500 12px/1.5 system-ui, sans-serif;
  cursor: pointer;
}
.consent-banner-actions button:hover { background: #303c45; border-color: #a4d8ed; }
.consent-banner :is(a, button):focus-visible { outline: 3px solid #a4d8ed; outline-offset: 3px; }
@media (max-width: 480px) {
  .consent-banner { left: 10px; right: 10px; bottom: max(10px, env(safe-area-inset-bottom)); width: auto; max-height: calc(100dvh - 20px); padding: 20px; }
  .consent-banner-actions { flex-direction: column; }
  .consent-banner-actions button { flex: auto; width: 100%; font-size: 13px; }
}

/* Real Zaraz settings: this sheet is also loaded into its open shadow root.
   Extra specificity supersedes any previously pasted full-width bar CSS. */
dialog.cf_modal.dijion-consent-preferences {
  --padding: 24px;
  color-scheme: dark;
  box-sizing: border-box;
  inset: 0;
  margin: auto;
  width: min(640px, calc(100vw - 32px));
  max-width: 640px;
  max-height: calc(100vh - 40px);
  max-height: calc(100dvh - 40px);
  padding: 24px;
  border: 1px solid #77828a;
  border-radius: 12px;
  background: #171a1e;
  color: #f2f3f2;
  font: 14px/1.6 system-ui, sans-serif;
  box-shadow: 0 12px 48px #0008;
  filter: none;
  overflow-y: auto;
  overscroll-behavior: contain;
}
dialog.cf_modal.dijion-consent-preferences[open] { display: block; }
dialog.cf_modal.dijion-consent-preferences::backdrop { background: #0007; backdrop-filter: blur(2px); }
dialog.cf_modal.dijion-consent-preferences .title_container { display: block; margin: 0 0 14px; }
dialog.cf_modal.dijion-consent-preferences h2 { color: #f2f3f2; font-size: 22px; font-weight: 600; line-height: 1.3; }
dialog.cf_modal.dijion-consent-preferences > p { margin: 0 0 10px; color: #c1cbd3; font-size: 14px; line-height: 1.6; text-align: left; }
dialog.cf_modal.dijion-consent-preferences > p:empty { display: none; }
dialog.cf_modal.dijion-consent-preferences > hr { display: block; margin: 18px 0; background: #56616a; }
dialog.cf_modal.dijion-consent-preferences a { color: #a4d8ed; text-underline-offset: 3px; overflow-wrap: anywhere; }
dialog.cf_modal.dijion-consent-preferences .cf_consent-container { display: block; margin: 0; padding: 0; list-style: none; overflow: visible; }
dialog.cf_modal.dijion-consent-preferences .cf_consent-element { display: grid; grid-template-columns: 20px minmax(0, 1fr); gap: 10px; }
dialog.cf_modal.dijion-consent-preferences .cf_consent-element + .cf_consent-element { margin-top: 20px; }
dialog.cf_modal.dijion-consent-preferences .cf_consent-element__checkbox-wrapper { width: 20px; height: 24px; padding: 0; }
dialog.cf_modal.dijion-consent-preferences .cf-checkbox { width: 20px; height: 20px; margin: 0; accent-color: #a4d8ed; }
dialog.cf_modal.dijion-consent-preferences label { cursor: pointer; }
dialog.cf_modal.dijion-consent-preferences h3 { margin: 0 0 6px; color: #f2f3f2; font-size: 15px; font-weight: 600; line-height: 1.4; }
dialog.cf_modal.dijion-consent-preferences .cf_consent-element p { margin: 0; color: #c1cbd3; font-size: 13px; line-height: 1.6; }
dialog.cf_modal.dijion-consent-preferences .cf_consent-buttons { display: flex; flex-flow: row wrap; gap: 8px; margin: 22px 0 0; padding: 18px 0 0; max-width: none; border-top: 1px solid #56616a; background: #171a1e; }
dialog.cf_modal.dijion-consent-preferences .cf_button { flex: 1 1 130px; min-height: 44px; height: auto; margin: 0; padding: 10px 12px; border: 1px solid #77828a; border-radius: 6px; background: #20272d; color: #f2f3f2; font: 500 13px/1.5 system-ui, sans-serif; white-space: normal; }
dialog.cf_modal.dijion-consent-preferences .cf_button:hover { background: #303c45; }
dialog.cf_modal.dijion-consent-preferences :is(a, button, input):focus-visible { outline: 3px solid #a4d8ed; outline-offset: 3px; }
@media (max-width: 480px) {
  dialog.cf_modal.dijion-consent-preferences { --padding: 18px; padding: 18px; width: calc(100vw - 20px); max-height: calc(100dvh - 20px); }
  dialog.cf_modal.dijion-consent-preferences .cf_button { flex-basis: 100%; }
}
