/*
 * Sitewide prose-link affordance.
 *
 * Underline is the non-colour cue. The green is 8.01:1 against white and
 * 7.33:1 against the darkest reviewed off-white background. Product cards,
 * buttons, menus, breadcrumbs, tabs and widgets are outside these selectors.
 */
body main :where(
  .entry-content,
  .page-wrapper .col-inner,
  .product-short-description,
  .woocommerce-Tabs-panel,
  .term-description,
  .kb-category-guide,
  .accordion-inner,
  .text-box-content
) :where(p, dd, blockquote, figcaption) a[href]:not(.button):not([class*="button"]):not([role="button"]):not(.woocommerce-LoopProduct-link):not(.woocommerce-loop-product__link),
body main :where(
  .entry-content,
  .product-short-description,
  .woocommerce-Tabs-panel,
  .term-description,
  .kb-category-guide,
  .accordion-inner,
  .text-box-content
) li a[href]:not(.button):not([class*="button"]):not([role="button"]):not(.woocommerce-LoopProduct-link):not(.woocommerce-loop-product__link) {
  color: #235c1e;
  text-decoration-line: underline;
  text-decoration-thickness: .09em;
  text-underline-offset: .16em;
  text-decoration-skip-ink: auto;
}

body main :where(
  .entry-content,
  .page-wrapper .col-inner,
  .product-short-description,
  .woocommerce-Tabs-panel,
  .term-description,
  .kb-category-guide,
  .accordion-inner,
  .text-box-content
) :where(p, dd, blockquote, figcaption) a[href]:not(.button):not([class*="button"]):not([role="button"]):not(.woocommerce-LoopProduct-link):not(.woocommerce-loop-product__link):hover,
body main :where(
  .entry-content,
  .product-short-description,
  .woocommerce-Tabs-panel,
  .term-description,
  .kb-category-guide,
  .accordion-inner,
  .text-box-content
) li a[href]:not(.button):not([class*="button"]):not([role="button"]):not(.woocommerce-LoopProduct-link):not(.woocommerce-loop-product__link):hover {
  color: #174e80;
  text-decoration-thickness: .13em;
}

body main :where(
  .entry-content,
  .page-wrapper .col-inner,
  .product-short-description,
  .woocommerce-Tabs-panel,
  .term-description,
  .kb-category-guide,
  .accordion-inner,
  .text-box-content
) :where(p, dd, blockquote, figcaption) a[href]:not(.button):not([class*="button"]):not([role="button"]):not(.woocommerce-LoopProduct-link):not(.woocommerce-loop-product__link):focus-visible,
body main :where(
  .entry-content,
  .product-short-description,
  .woocommerce-Tabs-panel,
  .term-description,
  .kb-category-guide,
  .accordion-inner,
  .text-box-content
) li a[href]:not(.button):not([class*="button"]):not([role="button"]):not(.woocommerce-LoopProduct-link):not(.woocommerce-loop-product__link):focus-visible {
  outline: 3px solid #174e80;
  outline-offset: 2px;
  border-radius: 2px;
}

/* Direct help paragraphs only: preserves navigation, forms and nested components. */
body:is(.page-id-165, .page-id-572) main #content > .row.row-main > .col > .col-inner > p a {
  color: #235c1e;
  text-decoration-line: underline;
  text-decoration-thickness: .09em;
  text-underline-offset: .16em;
}
body:is(.page-id-165, .page-id-572) main #content > .row.row-main > .col > .col-inner > p a:focus-visible {
  outline: 3px solid #174e80; outline-offset: 2px;
}
/* Preserve the inspected H3 appearance while giving help sections H2 semantics. */
body.page-id-572 main h2.kb-help-heading {
  font-size: 1.25em; font-weight: 400; line-height: 1.6;
}
/* Preserve the inspected card typography as H5 becomes H3. */
body.page-id-1379 main h3.kb-home-category-heading {
  font-size: 1em; font-weight: 400; line-height: 1.3; margin: .1em 0;
}
body.page-id-1379 main h3.kb-home-post-heading {
  font-size: 1.15em; font-weight: 400; line-height: 1.3; margin: .1em 0;
}
body.page-id-1379 main h2.kb-home-blog-heading {
  font-size: 1.25em; font-weight: 400; line-height: 1.6; margin: 0 0 .5em;
}
/* The seven inspected prose links; exclude product cards and navigation. */
body.page-id-1379 main #content .col-inner > section > p a {
  color: #235c1e;
  text-decoration-line: underline;
  text-decoration-thickness: .09em;
  text-underline-offset: .16em;
}
body.page-id-1379 main #content .col-inner > section > p a:focus-visible {
  outline: 3px solid #174e80; outline-offset: 2px;
}
/* Article links keep their measured geometry while gaining readable contrast. */
body.page-id-1379 main .blog-post-inner a.button {
  color: #235c1e; border-color: #235c1e; background-color: transparent;
}
body.page-id-1379 main .blog-post-inner a.button:hover {
  color: #fff; border-color: #235c1e; background-color: #235c1e;
}
body.page-id-1379 main .blog-post-inner a.button:focus-visible {
  outline: 3px solid #174e80; outline-offset: 2px;
}
