/*!
Theme Name: Hello Elementor Child
Theme URI: https://crocoblock.com/
Author: Crocoblock
Author URI: https://crocoblock.com/
Description: Child theme for Hello Elementor with all CrocoBlock features compatibility.
Template: hello-elementor
Version: 1.1.0
License: GNU General Public License v3 or later
License URI: http://www.gnu.org/licenses/gpl-3.0.html
Text Domain: hello-elementor-child
*/
/* ============================================================
   Microsmith Service Report — colour overrides
   Must live here (after Elementor) to beat !important rules
   ============================================================ */
body.elementor-kit-6 .sr-page .sr-report-cta-sub,
body .sr-page .sr-report-cta-sub { color: #444444 !important; }

body.elementor-kit-6 .sr-page .sr-report-cta-sub a,
body.elementor-kit-6 .sr-page .sr-report-cta-sub a:link,
body.elementor-kit-6 .sr-page .sr-report-cta-sub a:visited,
body .sr-page .sr-report-cta-sub a { color: #0099b8 !important; font-weight: 700 !important; text-decoration: none !important; }

body.elementor-kit-6 .sr-page .sr-hero .sr-title,
body .sr-page .sr-hero .sr-title { color: #ffffff !important; }

body.elementor-kit-6 .sr-page .sr-hero .sr-device-name,
body .sr-page .sr-hero .sr-device-name { color: rgba(255,255,255,0.80) !important; }

body.elementor-kit-6 .sr-page .sr-hero .sr-breadcrumb a,
body .sr-page .sr-hero .sr-breadcrumb a { color: rgba(255,255,255,0.70) !important; }

body.elementor-kit-6 .sr-page .sr-hero .sr-hero-pill,
body .sr-page .sr-hero .sr-hero-pill { color: #ffffff !important; }

body.elementor-kit-6 .sr-page .sr-report-card .sr-report-label,
body .sr-page .sr-report-card .sr-report-label { color: #777777 !important; }

body.elementor-kit-6 .sr-page .sr-report-card .sr-report-value,
body .sr-page .sr-report-card .sr-report-value { color: #1a1a2e !important; }

body.elementor-kit-6 .sr-page .sr-trust-item strong,
body .sr-page .sr-trust-item strong { color: #ffffff !important; }

body.elementor-kit-6 .sr-page .sr-trust-item span,
body .sr-page .sr-trust-item span { color: rgba(255,255,255,0.75) !important; }

body.elementor-kit-6 .sr-page .sr-report-card-header p,
body .sr-page .sr-report-card-header p { color: rgba(255,255,255,0.75) !important; }

body.elementor-kit-6 .sr-page .sr-report-price-label,
body .sr-page .sr-report-price-label { color: rgba(255,255,255,0.85) !important; }


/* ============================================================
   ms-page template — link & icon colour fixes
   Fixes SVG icons inheriting wrong browser-default link colour
   ============================================================ */

/* Base link colour inside our custom template */
.ms-page a {
    color: #00B4D8;
    text-decoration: none;
}
.ms-page a:hover {
    color: #009ab8;
    text-decoration: none;
}

/* Nav link text should be dark, not cyan */
.ms-page .ms-nav-link,
.ms-page .ms-nav-link:visited {
    color: #0E3441 !important;
}
.ms-page .ms-nav-link:hover {
    color: #0E3441 !important;
    background: #e0f7fc;
}
.ms-page .ms-nav-link-text {
    color: #0E3441 !important;
}

/* Icons: explicitly teal — don't inherit link colour */
.ms-page .ms-nav-link-icon,
.ms-page .ms-nav-link-icon svg {
    color: #00B4D8 !important;
    stroke: #00B4D8 !important;
}

/* Arrow stays teal */
.ms-page .ms-nav-link-arrow {
    color: #00B4D8 !important;
}

/* CTA sidebar info icons */
.ms-cta-info svg {
    color: rgba(255,255,255,0.55) !important;
    stroke: rgba(255,255,255,0.55) !important;
}

/* Also-repair section — icon fix */
.ms-also-card-icon svg {
    color: #00B4D8 !important;
    stroke: #00B4D8 !important;
}

/* Breadcrumb link */
.ms-breadcrumb a {
    color: #00B4D8 !important;
}

/* Fix any other stray anchor colours inside the template */
.ms-page .ms-section a:not(.ms-btn-primary):not(.ms-btn-secondary):not(.ms-nav-link):not(.ms-also-card) {
    color: #00B4D8;
}


/* ============================================================
   MICROSMITH — GLOBAL ELEMENTOR COLOUR OVERRIDE
   Kills any red/pink Elementor kit colours bleeding into
   custom templates. Loaded after Elementor (priority 99).
   ============================================================ */

/* 1. Global link colour reset — override whatever the kit sets */
body a,
body a:link,
body a:visited {
    color: #00B4D8;
}
body a:hover,
body a:focus {
    color: #009AB8;
}

/* 2. Headings — never Elementor red, always navy */
body h1, body h2, body h3, body h4, body h5, body h6,
.elementor-widget-container h1,
.elementor-widget-container h2,
.elementor-widget-container h3,
.elementor-widget-container h4 {
    color: #0E3441;
}

/* 3. Kill the Elementor kit link colour on ALL elements with higher specificity */
body.elementor-page a,
body.elementor-page a:link,
body.elementor-page a:visited {
    color: #00B4D8 !important;
}
body.elementor-page a:hover {
    color: #009AB8 !important;
}

/* 4. ms-page — complete colour lockdown */
body .ms-page a,
body .ms-page a:link,
body .ms-page a:visited {
    color: #00B4D8 !important;
    text-decoration: none !important;
}
body .ms-page a:hover,
body .ms-page a:focus {
    color: #009AB8 !important;
}

/* 5. White text on dark (navy) backgrounds — ms-page */
body .ms-page .ms-hero a,
body .ms-page .ms-quote-card a,
body .ms-page .ms-also a,
body .ms-page .ms-stats a {
    color: #ffffff !important;
}

/* 6. Nav card links — navy text */
body .ms-page a.ms-nav-link,
body .ms-page a.ms-nav-link:hover,
body .ms-page a.ms-nav-link:visited {
    color: #0E3441 !important;
    text-decoration: none !important;
}
body .ms-page .ms-nav-link-text {
    color: #0E3441 !important;
}

/* 7. Also-repair cards — white text */
body .ms-page a.ms-also-card,
body .ms-page a.ms-also-card:hover,
body .ms-page a.ms-also-card:visited {
    color: #ffffff !important;
    text-decoration: none !important;
}
body .ms-page .ms-also-card-label { color: #ffffff !important; }

/* 8. Related repair cards — navy text */
body .ms-page a.ms-related-card,
body .ms-page a.ms-related-card:hover {
    color: #0E3441 !important;
    text-decoration: none !important;
}
body .ms-page .ms-related-title { color: #0E3441 !important; }
body .ms-page .ms-related-type  { color: #00B4D8 !important; }

/* 9. Buttons — never inherit link colour */
body .ms-page .ms-btn-primary,
body .ms-page .ms-btn-primary:hover,
body .ms-page .ms-btn-primary:visited,
body .ms-page .ms-quote-btn,
body .ms-page .ms-quote-btn:hover {
    color: #ffffff !important;
    text-decoration: none !important;
}
body .ms-page .ms-btn-secondary,
body .ms-page .ms-btn-secondary:hover,
body .ms-page .ms-call-btn,
body .ms-page .ms-call-btn:hover {
    color: #ffffff !important;
    text-decoration: none !important;
}

/* 10. Homepage custom template link overrides */
body .hp-btn-primary,
body .hp-btn-primary:hover,
body .hp-btn-primary:visited {
    color: #ffffff !important;
    text-decoration: none !important;
}
body .hp-btn-outline,
body .hp-btn-outline:hover,
body .hp-btn-outline:visited {
    color: #0E3441 !important;
    text-decoration: none !important;
}

/* 11. Archive page template overrides */
body .ms-archive-card a,
body .ms-archive-card a:hover {
    color: #0E3441 !important;
    text-decoration: none !important;
}

/* 12. Elementor widget text colour reset for non-Elementor pages */
.elementor-widget-text-editor a { color: #00B4D8 !important; }
.elementor-widget-text-editor a:hover { color: #009AB8 !important; }

/* 13. Breadcrumbs */
body .ms-page .ms-breadcrumb a { color: rgba(255,255,255,0.60) !important; }
body .ms-page .ms-breadcrumb a:hover { color: #ffffff !important; }
body .ms-page .ms-breadcrumb span { color: rgba(255,255,255,0.40) !important; }

/* 14. Review footer links */
body .ms-page .ms-review-footer a { color: #0E3441 !important; font-weight: 700; }
body .ms-page .ms-review-footer a:hover { color: #00B4D8 !important; }


/* ============================================================
   GLOBAL BUTTON COLOUR FIX — all custom templates
   Ensures button text is always white, overrides body a:visited
   ============================================================ */
body a.cs-btn-primary, body a.cs-btn-primary:link, body a.cs-btn-primary:visited,
body a.cs-btn-primary:hover { color: #ffffff !important; text-decoration: none !important; }
body a.cs-btn-outline, body a.cs-btn-outline:link, body a.cs-btn-outline:visited,
body a.cs-btn-outline:hover { color: #ffffff !important; text-decoration: none !important; }
body a.cs-btn-navy, body a.cs-btn-navy:link, body a.cs-btn-navy:visited,
body a.cs-btn-navy:hover { color: #ffffff !important; text-decoration: none !important; }
body a.cs-btn-outline-dark, body a.cs-btn-outline-dark:link, body a.cs-btn-outline-dark:visited { color: #0E3441 !important; }
body a.arc-btn-primary, body a.arc-btn-primary:link, body a.arc-btn-primary:visited,
body a.arc-btn-primary:hover { color: #ffffff !important; text-decoration: none !important; }
body a.arc-btn-secondary, body a.arc-btn-secondary:link, body a.arc-btn-secondary:visited,
body a.arc-btn-secondary:hover { color: #0E3441 !important; text-decoration: none !important; }
body a.svc-btn-primary, body a.svc-btn-primary:link, body a.svc-btn-primary:visited,
body a.svc-btn-primary:hover { color: #ffffff !important; text-decoration: none !important; }
body a.svc-btn-outline, body a.svc-btn-outline:link, body a.svc-btn-outline:visited,
body a.svc-btn-outline:hover { color: #ffffff !important; text-decoration: none !important; }
body a.loc-btn-primary, body a.loc-btn-primary:link, body a.loc-btn-primary:visited,
body a.loc-btn-primary:hover { color: #ffffff !important; text-decoration: none !important; }
body a.loc-btn-navy, body a.loc-btn-navy:link, body a.loc-btn-navy:visited,
body a.loc-btn-navy:hover { color: #ffffff !important; text-decoration: none !important; }
body a.mw-btn-primary, body a.mw-btn-primary:link, body a.mw-btn-primary:visited,
body a.mw-btn-primary:hover { color: #ffffff !important; text-decoration: none !important; }
body a.wds-btn-primary, body a.wds-btn-primary:link, body a.wds-btn-primary:visited,
body a.wds-btn-primary:hover { color: #ffffff !important; text-decoration: none !important; }
body a.ty-btn-primary, body a.ty-btn-primary:link, body a.ty-btn-primary:visited,
body a.ty-btn-primary:hover { color: #ffffff !important; text-decoration: none !important; }
body a.ty-btn-outline, body a.ty-btn-outline:link, body a.ty-btn-outline:visited,
body a.ty-btn-outline:hover { color: #0E3441 !important; text-decoration: none !important; }
body a.cu-schools-btn, body a.cu-schools-btn:link, body a.cu-schools-btn:visited,
body a.cu-schools-btn:hover { color: #ffffff !important; text-decoration: none !important; }
body a.cu-schools-btn-outline, body a.cu-schools-btn-outline:link, body a.cu-schools-btn-outline:visited { color: rgba(255,255,255,0.8) !important; }
