/* ==========================================================================
   Rensora — Complianz consent banner, styled to match the site
   Loaded on every page while Complianz is active (inc/consent.php).

   Complianz drives its banner with CSS custom properties declared on :root.
   Redeclaring them on the banner itself overrides them for the banner only,
   whatever colours are saved under Complianz → Consent Banner, so the site
   needs no manual colour setup. Values are the site's own: Manrope, navy
   text, the #0066DD action blue (white text 5.3:1), 10px buttons.
   ========================================================================== */

.cmplz-cookiebanner,
#cmplz-manage-consent .cmplz-manage-consent {
  --cmplz_banner_background_color: #ffffff;
  --cmplz_banner_border_color: #e4eaf3;
  --cmplz_banner_border_width: 1px;
  --cmplz_banner_border_radius: 14px;
  --cmplz_text_color: #24314b;
  --cmplz_hyperlink_color: #005fcc;
  --cmplz_button_border_radius: 10px;
  --cmplz_button_font_size: 15px;
  --cmplz_button_accept_background_color: #0066dd;
  --cmplz_button_accept_border_color: #0066dd;
  --cmplz_button_accept_text_color: #ffffff;
  --cmplz_button_deny_background_color: #ffffff;
  --cmplz_button_deny_border_color: #c9d5e5;
  --cmplz_button_deny_text_color: #0b1020;
  --cmplz_button_settings_background_color: #ffffff;
  --cmplz_button_settings_border_color: #c9d5e5;
  --cmplz_button_settings_text_color: #0b1020;
  --cmplz_slider_active_color: #0066dd;
  --cmplz_slider_inactive_color: #bcc7d8;
  --cmplz_slider_bullet_color: #ffffff;
  --cmplz_category_header_always_active_color: #0a857b;
  font-family: "Manrope", system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
  -webkit-font-smoothing: antialiased;
}

/* The designed pages set their typeface on an inner wrapper, and buttons
   never inherit a font by default, so the banner states it outright. */
.cmplz-cookiebanner .cmplz-btn,
.cmplz-cookiebanner button,
#cmplz-manage-consent .cmplz-manage-consent {
  font-family: inherit;
  font-weight: 700;
  letter-spacing: 0;
}

.cmplz-cookiebanner {
  box-shadow: 0 16px 40px rgba(11, 16, 32, .12);
}

.cmplz-cookiebanner .cmplz-title {
  color: #0b1020;
  font-weight: 800;
  letter-spacing: -.01em;
}

/* Hover and keyboard focus, matching the site's buttons. */
.cmplz-cookiebanner .cmplz-btn.cmplz-accept:hover {
  background-color: #0057c2;
  border-color: #0057c2;
}
.cmplz-cookiebanner .cmplz-btn.cmplz-deny:hover,
.cmplz-cookiebanner .cmplz-btn.cmplz-view-preferences:hover,
.cmplz-cookiebanner .cmplz-btn.cmplz-save-preferences:hover,
.cmplz-cookiebanner .cmplz-btn.cmplz-manage-options:hover {
  background-color: #f7fafe;
  border-color: #9fb2cc;
}
.cmplz-cookiebanner .cmplz-btn:focus-visible,
.cmplz-cookiebanner .cmplz-close:focus-visible,
.cmplz-cookiebanner a:focus-visible,
#cmplz-manage-consent .cmplz-manage-consent:focus-visible {
  outline: 3px solid rgba(0, 102, 221, .45);
  outline-offset: 2px;
}

.cmplz-cookiebanner .cmplz-links a {
  text-decoration: underline;
  text-underline-offset: 3px;
}
