/* Managed prose links are recognizable before hover. Exclude the anchor and
 * its ancestors: a list item can contain prose as well as a heading or action.
 * Keep component link styles; do not replace this with a global anchor rule.
 */
:is(
  :where(main, [role="main"], #ja-home-main) :is(p, li, dd, blockquote, figcaption, td),
  :where(main, [role="main"], #ja-home-main) .elementor-widget-text-editor,
  .entry-content :is(p, li, dd, blockquote, figcaption, td),
  .ja-reading-content,
  .ja-faq-answer,
  .ja-comment-content,
  .ja-prose
) a[href]:not(:where(
  :is(h1, h2, h3, h4, h5, h6, nav, summary, button, [role="navigation"], [role="button"]) a,
  :is(.ja-home-header, .ja-home-footer, .ja-reading-toc, .ja-toc,
      .ja-page-crumbs, .ja-reading-breadcrumb, .ja-product-breadcrumb, .ja-account-breadcrumb,
      .ja-article-meta, .ja-reading-meta, .ja-article-filters, .ja-disclosure-select,
      .ja-article-pagination, .ja-catalog-pagination, .ja-comment-header, .ja-comment-actions,
      .book-card, .ja-article-card, .ja-home-topic-card, .ja-home-topic-strip,
      .ja-samples-actions, .ja-sample-card-actions,
      .woocommerce-MyAccount-navigation, .woocommerce-mini-cart, .woocommerce-tabs .tabs,
      .wp-block-navigation, .shop_table, .product-name,
      .woocommerce-table__product-name, .woocommerce-loop-product__title,
      .products .product, .wc-block-grid__product, .ja-cart-title,
      .ja-commerce-continue, .ja-cart-actions, .lost_password) a,
  .ja-button, .elementor-button, .wp-block-button__link, .ja-link, .textlink,
  .button, .woocommerce-Button, .wc-forward, .remove,
  .ja-arrow-action, .ja-samples-textlink, .ja-location-route, .ja-article-comment-count,
  [role="button"]
)) {
  /* Only the line needs priority over Hello/Elementor's link resets. */
  text-decoration-line: underline !important;
  text-underline-offset: .18em;
  text-decoration-skip-ink: auto;
}
