/*
 * v0.7.4 — definitive service card link fix
 * Loaded as the final stylesheet after all theme/Tailwind/Gutenberg CSS.
 * Removes inherited underlines from service/software cards while preserving
 * underlined links in normal article content.
 */

body .service-card,
body .service-card:link,
body .service-card:visited,
body .service-card:hover,
body .service-card:focus,
body a.service-card,
body a.service-card:link,
body a.service-card:visited,
body a.service-card:hover,
body a.service-card:focus,
body .software-card,
body .software-card:link,
body .software-card:visited,
body .software-card:hover,
body .software-card:focus,
body a.software-card,
body a.software-card:link,
body a.software-card:visited,
body a.software-card:hover,
body a.software-card:focus {
    text-decoration: none !important;
    text-decoration-line: none !important;
    text-decoration-color: transparent !important;
    text-decoration-thickness: 0 !important;
    color: inherit !important;
}

body a.service-card *,
body a.service-card *::before,
body a.service-card *::after,
body a.software-card *,
body a.software-card *::before,
body a.software-card *::after,
body .service-card a,
body .service-card a *,
body .software-card a,
body .software-card a *,
body .services-grid a,
body .services-grid a *,
body .service-grid a,
body .service-grid a *,
body .software-grid a,
body .software-grid a *,
body .solutions-grid a,
body .solutions-grid a * {
    text-decoration: none !important;
    text-decoration-line: none !important;
    text-decoration-color: transparent !important;
    text-decoration-thickness: 0 !important;
}

body .service-card h1,
body .service-card h2,
body .service-card h3,
body .service-card h4,
body .service-card p,
body .service-card span,
body .service-card div,
body .software-card h1,
body .software-card h2,
body .software-card h3,
body .software-card h4,
body .software-card p,
body .software-card span,
body .software-card div {
    text-decoration: none !important;
    text-decoration-line: none !important;
}

/* Keep the visible CTA clean, but blue */
body .service-card .learn-more,
body .software-card .learn-more,
body .service-card .learn-more *,
body .software-card .learn-more * {
    color: #005ecb !important;
    text-decoration: none !important;
    text-decoration-line: none !important;
}

/* If card markup uses a generic group link rather than .service-card */
body section[id="services"] a,
body section[id="services"] a *,
body #services a,
body #services a *,
body .klapeen-services a,
body .klapeen-services a * {
    text-decoration: none !important;
    text-decoration-line: none !important;
}

/* Keep full card clickable */
body a.service-card,
body a.software-card {
    display: block;
}
