/*
 * NPC Text Link Styling
 *
 * Job:
 * - Style only normal text links.
 * - Normal/visited/focus/hover color: #1A73E8.
 * - Hover/focus: underline only.
 *
 * Scope:
 * - Elementor Text Editor widgets.
 * - NPC blog article content using the .npc-blog-content class.
 *
 * Exclusions:
 * - Header and footer areas.
 * - Headings h1-h6.
 * - Buttons and button-style links.
 * - Images and image links.
 * - Captions.
 * - Loop Grid cards, product cards, Elementor post cards, WooCommerce product cards.
 */

/* -----------------------------
   Elementor Text Editor links
------------------------------ */
.elementor-widget-text-editor:not(.elementor-location-header *):not(.elementor-location-footer *):not(.elementor-widget-loop-grid *):not(.elementor-loop-container *):not(.e-loop-item *):not(.elementor-post *):not(.npc-product-card *):not(.product *) :where(p, li, td, th, dd) a:not(.elementor-button):not(.button):not([class*="button"]):not(:has(img)),
.elementor-widget-text-editor:not(.elementor-location-header *):not(.elementor-location-footer *):not(.elementor-widget-loop-grid *):not(.elementor-loop-container *):not(.e-loop-item *):not(.elementor-post *):not(.npc-product-card *):not(.product *) :where(p, li, td, th, dd) a:not(.elementor-button):not(.button):not([class*="button"]):not(:has(img)):visited,
.elementor-widget-text-editor:not(.elementor-location-header *):not(.elementor-location-footer *):not(.elementor-widget-loop-grid *):not(.elementor-loop-container *):not(.e-loop-item *):not(.elementor-post *):not(.npc-product-card *):not(.product *) :where(p, li, td, th, dd) a:not(.elementor-button):not(.button):not([class*="button"]):not(:has(img)) strong,
.elementor-widget-text-editor:not(.elementor-location-header *):not(.elementor-location-footer *):not(.elementor-widget-loop-grid *):not(.elementor-loop-container *):not(.e-loop-item *):not(.elementor-post *):not(.npc-product-card *):not(.product *) :where(p, li, td, th, dd) a:not(.elementor-button):not(.button):not([class*="button"]):not(:has(img)) b,
.elementor-widget-text-editor:not(.elementor-location-header *):not(.elementor-location-footer *):not(.elementor-widget-loop-grid *):not(.elementor-loop-container *):not(.e-loop-item *):not(.elementor-post *):not(.npc-product-card *):not(.product *) :where(p, li, td, th, dd) a:not(.elementor-button):not(.button):not([class*="button"]):not(:has(img)) span {
	color: #1A73E8 !important;
	text-decoration: none !important;
}

.elementor-widget-text-editor:not(.elementor-location-header *):not(.elementor-location-footer *):not(.elementor-widget-loop-grid *):not(.elementor-loop-container *):not(.e-loop-item *):not(.elementor-post *):not(.npc-product-card *):not(.product *) :where(p, li, td, th, dd) a:not(.elementor-button):not(.button):not([class*="button"]):not(:has(img)):hover,
.elementor-widget-text-editor:not(.elementor-location-header *):not(.elementor-location-footer *):not(.elementor-widget-loop-grid *):not(.elementor-loop-container *):not(.e-loop-item *):not(.elementor-post *):not(.npc-product-card *):not(.product *) :where(p, li, td, th, dd) a:not(.elementor-button):not(.button):not([class*="button"]):not(:has(img)):focus,
.elementor-widget-text-editor:not(.elementor-location-header *):not(.elementor-location-footer *):not(.elementor-widget-loop-grid *):not(.elementor-loop-container *):not(.e-loop-item *):not(.elementor-post *):not(.npc-product-card *):not(.product *) :where(p, li, td, th, dd) a:not(.elementor-button):not(.button):not([class*="button"]):not(:has(img)):hover strong,
.elementor-widget-text-editor:not(.elementor-location-header *):not(.elementor-location-footer *):not(.elementor-widget-loop-grid *):not(.elementor-loop-container *):not(.e-loop-item *):not(.elementor-post *):not(.npc-product-card *):not(.product *) :where(p, li, td, th, dd) a:not(.elementor-button):not(.button):not([class*="button"]):not(:has(img)):hover b,
.elementor-widget-text-editor:not(.elementor-location-header *):not(.elementor-location-footer *):not(.elementor-widget-loop-grid *):not(.elementor-loop-container *):not(.e-loop-item *):not(.elementor-post *):not(.npc-product-card *):not(.product *) :where(p, li, td, th, dd) a:not(.elementor-button):not(.button):not([class*="button"]):not(:has(img)):hover span {
	color: #1A73E8 !important;
	text-decoration: underline !important;
}

/* -----------------------------
   Blog article Post Content links
------------------------------ */
.npc-blog-content:not(.elementor-location-header *):not(.elementor-location-footer *):not(.elementor-widget-loop-grid *):not(.elementor-loop-container *):not(.e-loop-item *):not(.elementor-post *):not(.npc-product-card *):not(.product *) :where(p, li, td, th, dd) a:not(.elementor-button):not(.button):not([class*="button"]):not(:has(img)),
.npc-blog-content:not(.elementor-location-header *):not(.elementor-location-footer *):not(.elementor-widget-loop-grid *):not(.elementor-loop-container *):not(.e-loop-item *):not(.elementor-post *):not(.npc-product-card *):not(.product *) :where(p, li, td, th, dd) a:not(.elementor-button):not(.button):not([class*="button"]):not(:has(img)):visited,
.npc-blog-content:not(.elementor-location-header *):not(.elementor-location-footer *):not(.elementor-widget-loop-grid *):not(.elementor-loop-container *):not(.e-loop-item *):not(.elementor-post *):not(.npc-product-card *):not(.product *) :where(p, li, td, th, dd) a:not(.elementor-button):not(.button):not([class*="button"]):not(:has(img)) strong,
.npc-blog-content:not(.elementor-location-header *):not(.elementor-location-footer *):not(.elementor-widget-loop-grid *):not(.elementor-loop-container *):not(.e-loop-item *):not(.elementor-post *):not(.npc-product-card *):not(.product *) :where(p, li, td, th, dd) a:not(.elementor-button):not(.button):not([class*="button"]):not(:has(img)) b,
.npc-blog-content:not(.elementor-location-header *):not(.elementor-location-footer *):not(.elementor-widget-loop-grid *):not(.elementor-loop-container *):not(.e-loop-item *):not(.elementor-post *):not(.npc-product-card *):not(.product *) :where(p, li, td, th, dd) a:not(.elementor-button):not(.button):not([class*="button"]):not(:has(img)) span {
	color: #1A73E8 !important;
	text-decoration: none !important;
}

.npc-blog-content:not(.elementor-location-header *):not(.elementor-location-footer *):not(.elementor-widget-loop-grid *):not(.elementor-loop-container *):not(.e-loop-item *):not(.elementor-post *):not(.npc-product-card *):not(.product *) :where(p, li, td, th, dd) a:not(.elementor-button):not(.button):not([class*="button"]):not(:has(img)):hover,
.npc-blog-content:not(.elementor-location-header *):not(.elementor-location-footer *):not(.elementor-widget-loop-grid *):not(.elementor-loop-container *):not(.e-loop-item *):not(.elementor-post *):not(.npc-product-card *):not(.product *) :where(p, li, td, th, dd) a:not(.elementor-button):not(.button):not([class*="button"]):not(:has(img)):focus,
.npc-blog-content:not(.elementor-location-header *):not(.elementor-location-footer *):not(.elementor-widget-loop-grid *):not(.elementor-loop-container *):not(.e-loop-item *):not(.elementor-post *):not(.npc-product-card *):not(.product *) :where(p, li, td, th, dd) a:not(.elementor-button):not(.button):not([class*="button"]):not(:has(img)):hover strong,
.npc-blog-content:not(.elementor-location-header *):not(.elementor-location-footer *):not(.elementor-widget-loop-grid *):not(.elementor-loop-container *):not(.e-loop-item *):not(.elementor-post *):not(.npc-product-card *):not(.product *) :where(p, li, td, th, dd) a:not(.elementor-button):not(.button):not([class*="button"]):not(:has(img)):hover b,
.npc-blog-content:not(.elementor-location-header *):not(.elementor-location-footer *):not(.elementor-widget-loop-grid *):not(.elementor-loop-container *):not(.e-loop-item *):not(.elementor-post *):not(.npc-product-card *):not(.product *) :where(p, li, td, th, dd) a:not(.elementor-button):not(.button):not([class*="button"]):not(:has(img)):hover span {
	color: #1A73E8 !important;
	text-decoration: underline !important;
}

/* -----------------------------
   Safety: never style heading links
------------------------------ */
:where(h1, h2, h3, h4, h5, h6) a,
:where(h1, h2, h3, h4, h5, h6) a:hover,
:where(h1, h2, h3, h4, h5, h6) a:focus,
:where(h1, h2, h3, h4, h5, h6) a:visited {
	text-decoration: inherit;
}
