/* Editorial text links R01 — LOCAL CANDIDATE. Owned by Navigazione.
 * Native post/portfolio roles; no individual slugs or compact-header dependence.
 * No font, line-height, layout, margin or padding declarations.
 * Custom/background surfaces keep their own palette. Future dark components
 * declare data-es-editorial-surface="dark" (or custom); controls are excluded.
 * Visited shares the normal color. Do not infer browsing history from CSSOM.
 */
body.es-editorial-links-r01 :is(.post-content.post-formatting, .single-portfolio-holder, .richiediPreventivo, .richiediPreventivo2) a[href]:not([role="button"], .button, .btn, .wp-block-button__link, [class*="vc_btn"], [class*="wpb_button"], [class*="share-"], .add_to_cart_button, .wc-forward, .page-numbers):not(:has(img, picture, svg, video, canvas)):not(:is(.sharedaddy, .sd-sharing, .jetpack-related-posts, .es-related-posts, .widget, .gallery, .wp-block-gallery, .portfolio-gallery, .portfolio-navigation, .post-navigation, .post-meta, .es-blog-breadcrumb, .es-breadcrumbs, .esolution-article-taxonomy-filter) a):not(:is(.has-background, .vc_row-has-fill, .vc_col-has-fill, [data-es-editorial-surface="dark"], [data-es-editorial-surface="custom"], .es-editorial-surface--dark, .es-editorial-surface--custom, [style*="background"]) a):not([style*="background"]),
body.es-editorial-links-r01 :is(.post-content.post-formatting, .single-portfolio-holder, .richiediPreventivo, .richiediPreventivo2) a[href]:not([role="button"], .button, .btn, .wp-block-button__link, [class*="vc_btn"], [class*="wpb_button"], [class*="share-"], .add_to_cart_button, .wc-forward, .page-numbers):not(:has(img, picture, svg, video, canvas)):not(:is(.sharedaddy, .sd-sharing, .jetpack-related-posts, .es-related-posts, .widget, .gallery, .wp-block-gallery, .portfolio-gallery, .portfolio-navigation, .post-navigation, .post-meta, .es-blog-breadcrumb, .es-breadcrumbs, .esolution-article-taxonomy-filter) a):not(:is(.has-background, .vc_row-has-fill, .vc_col-has-fill, [data-es-editorial-surface="dark"], [data-es-editorial-surface="custom"], .es-editorial-surface--dark, .es-editorial-surface--custom, [style*="background"]) a):not([style*="background"]):visited {
  color: #2e6d51;
}
/* Existing case-study links already have a persistent border; do not double it. */
body.es-editorial-links-r01 :is(.post-content.post-formatting, .single-portfolio-holder, .richiediPreventivo, .richiediPreventivo2) a[href]:not([role="button"], .button, .btn, .wp-block-button__link, [class*="vc_btn"], [class*="wpb_button"], [class*="share-"], .add_to_cart_button, .wc-forward, .page-numbers):not(:has(img, picture, svg, video, canvas)):not(:is(.sharedaddy, .sd-sharing, .jetpack-related-posts, .es-related-posts, .widget, .gallery, .wp-block-gallery, .portfolio-gallery, .portfolio-navigation, .post-navigation, .post-meta, .es-blog-breadcrumb, .es-breadcrumbs, .esolution-article-taxonomy-filter) a):not(:is(.has-background, .vc_row-has-fill, .vc_col-has-fill, [data-es-editorial-surface="dark"], [data-es-editorial-surface="custom"], .es-editorial-surface--dark, .es-editorial-surface--custom, [style*="background"]) a):not([style*="background"]):not(.es-aiweiwei-case-study__links a),
body.es-editorial-links-r01 :is(.post-content.post-formatting, .single-portfolio-holder, .richiediPreventivo, .richiediPreventivo2) a[href]:not([role="button"], .button, .btn, .wp-block-button__link, [class*="vc_btn"], [class*="wpb_button"], [class*="share-"], .add_to_cart_button, .wc-forward, .page-numbers):not(:has(img, picture, svg, video, canvas)):not(:is(.sharedaddy, .sd-sharing, .jetpack-related-posts, .es-related-posts, .widget, .gallery, .wp-block-gallery, .portfolio-gallery, .portfolio-navigation, .post-navigation, .post-meta, .es-blog-breadcrumb, .es-breadcrumbs, .esolution-article-taxonomy-filter) a):not(:is(.has-background, .vc_row-has-fill, .vc_col-has-fill, [data-es-editorial-surface="dark"], [data-es-editorial-surface="custom"], .es-editorial-surface--dark, .es-editorial-surface--custom, [style*="background"]) a):not([style*="background"]):not(.es-aiweiwei-case-study__links a):visited {
  text-decoration-line: underline;
  text-decoration-thickness: 1px;
  text-underline-offset: .18em;
  text-decoration-skip-ink: auto;
}
body.es-editorial-links-r01 :is(.post-content.post-formatting, .single-portfolio-holder, .richiediPreventivo, .richiediPreventivo2) a[href]:not([role="button"], .button, .btn, .wp-block-button__link, [class*="vc_btn"], [class*="wpb_button"], [class*="share-"], .add_to_cart_button, .wc-forward, .page-numbers):not(:has(img, picture, svg, video, canvas)):not(:is(.sharedaddy, .sd-sharing, .jetpack-related-posts, .es-related-posts, .widget, .gallery, .wp-block-gallery, .portfolio-gallery, .portfolio-navigation, .post-navigation, .post-meta, .es-blog-breadcrumb, .es-breadcrumbs, .esolution-article-taxonomy-filter) a):not(:is(.has-background, .vc_row-has-fill, .vc_col-has-fill, [data-es-editorial-surface="dark"], [data-es-editorial-surface="custom"], .es-editorial-surface--dark, .es-editorial-surface--custom, [style*="background"]) a):not([style*="background"]):hover,
body.es-editorial-links-r01 :is(.post-content.post-formatting, .single-portfolio-holder, .richiediPreventivo, .richiediPreventivo2) a[href]:not([role="button"], .button, .btn, .wp-block-button__link, [class*="vc_btn"], [class*="wpb_button"], [class*="share-"], .add_to_cart_button, .wc-forward, .page-numbers):not(:has(img, picture, svg, video, canvas)):not(:is(.sharedaddy, .sd-sharing, .jetpack-related-posts, .es-related-posts, .widget, .gallery, .wp-block-gallery, .portfolio-gallery, .portfolio-navigation, .post-navigation, .post-meta, .es-blog-breadcrumb, .es-breadcrumbs, .esolution-article-taxonomy-filter) a):not(:is(.has-background, .vc_row-has-fill, .vc_col-has-fill, [data-es-editorial-surface="dark"], [data-es-editorial-surface="custom"], .es-editorial-surface--dark, .es-editorial-surface--custom, [style*="background"]) a):not([style*="background"]):active {
  color: #23533e;
  text-decoration-thickness: 2px;
}
body.es-editorial-links-r01 :is(.post-content.post-formatting, .single-portfolio-holder, .richiediPreventivo, .richiediPreventivo2) a[href]:not([role="button"], .button, .btn, .wp-block-button__link, [class*="vc_btn"], [class*="wpb_button"], [class*="share-"], .add_to_cart_button, .wc-forward, .page-numbers):not(:has(img, picture, svg, video, canvas)):not(:is(.sharedaddy, .sd-sharing, .jetpack-related-posts, .es-related-posts, .widget, .gallery, .wp-block-gallery, .portfolio-gallery, .portfolio-navigation, .post-navigation, .post-meta, .es-blog-breadcrumb, .es-breadcrumbs, .esolution-article-taxonomy-filter) a):not(:is(.has-background, .vc_row-has-fill, .vc_col-has-fill, [data-es-editorial-surface="dark"], [data-es-editorial-surface="custom"], .es-editorial-surface--dark, .es-editorial-surface--custom, [style*="background"]) a):not([style*="background"]):focus-visible {
  outline: 2px solid currentColor;
  outline-offset: 3px;
  text-decoration-thickness: 2px;
}
