/* ============================================================
   REMOVE ALL UNDERLINES FROM LINKS - GLOBAL FIX
   This file must be loaded AFTER Bootstrap CSS
   ============================================================ */

/* ===== HIGHEST PRIORITY - Global link styles ===== */
* a,
* a:link,
* a:visited,
* a:hover,
* a:active,
* a:focus,
a,
a:link,
a:visited,
a:hover,
a:active,
a:focus {
    text-decoration: none !important;
    text-decoration-line: none !important;
    text-decoration-style: none !important;
    text-decoration-color: transparent !important;
    text-underline-offset: 0 !important;
    -webkit-text-decoration: none !important;
    -moz-text-decoration: none !important;
}

/* ===== Bootstrap class overrides ===== */
a.text-dark,
a.text-dark:hover,
a.text-dark:focus,
a.text-decoration-none,
a.text-decoration-none:hover,
a.text-decoration-none:focus,
a.text-primary,
a.text-primary:hover,
a.text-secondary,
a.text-secondary:hover,
a.text-success,
a.text-success:hover,
a.text-danger,
a.text-danger:hover,
a.text-warning,
a.text-warning:hover,
a.text-info,
a.text-info:hover,
a.text-light,
a.text-light:hover,
a.text-muted,
a.text-muted:hover {
    text-decoration: none !important;
    text-decoration-line: none !important;
}

/* ===== Heading links ===== */
h1 a, h1 a:hover, h1 a:focus,
h2 a, h2 a:hover, h2 a:focus,
h3 a, h3 a:hover, h3 a:focus,
h4 a, h4 a:hover, h4 a:focus,
h5 a, h5 a:hover, h5 a:focus,
h6 a, h6 a:hover, h6 a:focus,
.h1 a, .h1 a:hover,
.h2 a, .h2 a:hover,
.h3 a, .h3 a:hover,
.h4 a, .h4 a:hover,
.h5 a, .h5 a:hover,
.h6 a, .h6 a:hover {
    text-decoration: none !important;
    text-decoration-line: none !important;
}

/* ===== Card and news title links ===== */
.card-title a,
.card-title a:hover,
.card-title a:focus,
.news-card-title a,
.news-card-title a:hover,
.news-card-title a:focus,
.news-title a,
.news-title a:hover,
.news-title a:focus,
.article-title a,
.article-title a:hover,
.article-title a:focus,
.trending-content h4 a,
.trending-content h4 a:hover,
.category-news-content h4 a,
.category-news-content h4 a:hover,
.law-firm-news-title a,
.law-firm-news-title a:hover,
.featured-news-title a,
.featured-news-title a:hover,
.carousel-title a,
.carousel-title a:hover,
.latest-news-title a,
.latest-news-title a:hover {
    text-decoration: none !important;
    text-decoration-line: none !important;
}

/* ===== Bootstrap card links ===== */
.card a,
.card a:hover,
.card a:focus,
.card-body a,
.card-body a:hover,
.card-body a:focus,
.card-header a,
.card-header a:hover,
.card-footer a,
.card-footer a:hover {
    text-decoration: none !important;
}

/* ===== News card specific ===== */
.news-card a,
.news-card a:hover,
.news-card a:focus,
article a,
article a:hover,
article a:focus {
    text-decoration: none !important;
}

/* ===== Bootstrap button links ===== */
.btn-link,
.btn-link:hover,
.btn-link:focus,
.btn-link:active {
    text-decoration: none !important;
}

/* ===== Override Bootstrap text utilities with links ===== */
.text-dark a,
.text-dark a:hover,
.text-dark a:focus,
.text-primary a,
.text-primary a:hover,
.text-secondary a,
.text-secondary a:hover,
.text-success a,
.text-success a:hover,
.text-danger a,
.text-danger a:hover,
.text-warning a,
.text-warning a:hover,
.text-info a,
.text-info a:hover,
.text-light a,
.text-light a:hover,
.text-muted a,
.text-muted a:hover {
    text-decoration: none !important;
}

/* ===== Override any inline text-decoration styles ===== */
[style*="text-decoration"],
[style*="text-decoration"]:hover {
    text-decoration: none !important;
}

/* ===== Breadcrumb links ===== */
.breadcrumb a,
.breadcrumb a:hover,
.breadcrumb-item a,
.breadcrumb-item a:hover {
    text-decoration: none !important;
}

/* ===== Navigation links ===== */
.nav a,
.nav a:hover,
.nav-link,
.nav-link:hover,
.navbar a,
.navbar a:hover,
.navbar-nav a,
.navbar-nav a:hover {
    text-decoration: none !important;
}

/* ===== List links ===== */
ul a,
ul a:hover,
ol a,
ol a:hover,
li a,
li a:hover {
    text-decoration: none !important;
}

/* ===== Div and span links ===== */
div a,
div a:hover,
span a,
span a:hover,
p a,
p a:hover {
    text-decoration: none !important;
}

/* ===== Force remove underline with maximum specificity ===== */
html body a,
html body a:link,
html body a:visited,
html body a:hover,
html body a:active,
html body a:focus,
html body a:focus-visible {
    text-decoration: none !important;
    text-decoration-line: none !important;
    text-decoration-style: none !important;
    border: none !important;
    outline: none !important;
    box-shadow: none !important;
}

/* ===== Remove focus ring/outline from all links ===== */
a:focus,
a:active,
a:focus-visible,
a:focus-within {
    outline: none !important;
    outline-width: 0 !important;
    outline-style: none !important;
    outline-color: transparent !important;
    border: none !important;
    box-shadow: none !important;
    -webkit-tap-highlight-color: transparent !important;
}

/* ===== Remove focus styles from specific elements ===== */
.card-title a:focus,
.card-title a:active,
.news-card-title a:focus,
.news-card-title a:active,
h1 a:focus, h2 a:focus, h3 a:focus,
h4 a:focus, h5 a:focus, h6 a:focus {
    outline: none !important;
    border: none !important;
    box-shadow: none !important;
}
