/* adolunapos.com — site colors for the accessibility widget + small WCAG fixes (2026-11-30). */
:root {
  --ad11y-accent: #1d1d1f;
  --ad11y-accent-ink: #ffffff;
  --ad11y-focus: #005fcc;
  --ad11y-bg: #ffffff;
  --ad11y-soft: #fff4f2;
  --ad11y-line: #e8e8ec;
  --ad11y-ink: #1d1d1f;
  --ad11y-muted: #5f6368;
  --ad11y-left: 20px;
  --ad11y-bottom: 20px;        /* same baseline as the chat button, which sits on the right */
  --ad11y-bottom-mobile: 14px;
}

/* 1.4.3 Contrast: brand red #EB1700 is 4.2:1 on the pale tint (#fff4f2) and gray (#f6f7f9) sections.
   Use a slightly darker red (5.5:1) there and for outline buttons. */
.ado-bg-soft a:not(.wp-block-button__link),
.ado-bg-gray a:not(.wp-block-button__link),
.ado-hero a:not(.wp-block-button__link),
.wp-block-button.is-style-outline > .wp-block-button__link:not(.has-text-color) {
  color: #c81400 !important;
}
.wp-block-button.is-style-outline > .wp-block-button__link:not(.has-border-color) { border-color: #c81400 !important; }
.wp-block-button.is-style-outline > .wp-block-button__link:not(.has-text-color):hover,
.wp-block-button.is-style-outline > .wp-block-button__link:not(.has-text-color):focus { color: #ffffff !important; background-color: #b81200 !important; border-color: #b81200 !important; }

/* Red call-to-action band keeps its white outline buttons. */
.ado-cta .wp-block-button.is-style-outline > .wp-block-button__link:not(.has-text-color) { color: #ffffff !important; border-color: #ffffff !important; }

/* BetterDocs help-center search: placeholder-style label was 2.5:1. */
.betterdocs-search-command,
.betterdocs-search-form input::placeholder,
.betterdocs-searchform input::placeholder { color: #5f6368 !important; opacity: 1; }

/* 2.4.7 Focus visible: one clear ring everywhere (white halo keeps it visible on red and dark areas). */
body a:focus-visible,
body button:focus-visible,
body input:focus-visible,
body select:focus-visible,
body textarea:focus-visible,
body summary:focus-visible,
body [tabindex]:focus-visible {
  outline: 3px solid var(--ad11y-focus) !important;
  outline-offset: 2px !important;
  box-shadow: 0 0 0 5px #fff !important;
}
/* Astra skip link: make sure it is visible on focus. */
.skip-link.screen-reader-text:focus {
  z-index: 2147483100 !important; left: 8px !important; top: 8px !important;
  background: #1d1d1f !important; color: #fff !important; padding: 12px 18px !important;
  border-radius: 999px; font-weight: 700; text-decoration: none;
  clip: auto !important; clip-path: none !important; width: auto !important; height: auto !important;
}

/* Keep the widget clear of the chat when the chat panel is open full-screen on phones. */
@media (max-width: 600px) {
  body:has(.adoc.adoc-is-open) .ad11y-btn,
  body:has(.adoc.adoc-is-open) .ad11y-panel { display: none !important; }
}

.ad11y-statement { max-width: 46em; }
.ad11y-statement h2 { margin-top: 1.4em; }
.ad11y-statement-page .entry-header,
.ad11y-statement-page .entry-content { max-width: 820px; margin-left: auto !important; margin-right: auto !important; padding-left: 24px; padding-right: 24px; box-sizing: border-box; }
.ad11y-statement-page .entry-content { padding-bottom: 60px; }
.ad11y-statement-page .ad11y-statement ul { margin: 0 0 1em 1.2em; }
