/* ==========================================================================
   Mirador Law — Global Content Link Style
   --------------------------------------------------------------------------
   Inline body/content links are ALWAYS: Paynes slate #506272, bold (700),
   underlined, with a slightly darker hover (#3d4d59). Applied consistently
   on EVERY page (Disclaimer, Privacy, location pages, service pages, blog,
   case results, etc.).

   Chrome is excluded so layout/branding is preserved: header, nav, footer,
   logo, phone links, CTA/buttons, image links, breadcrumb, and pagination.
   High specificity + !important so this beats per-section/legacy rules.
   ========================================================================== */

/* --------------------------------------------------------------------------
   (A) Explicit content wrappers used across the theme's templates/sections.
   -------------------------------------------------------------------------- */
.mainpage a,
.page-content a,
.postlist-single a,
.post-content a,
.content a,
.mdl-blog-content a,
.mdl-pa-copy a,
.mdl-cri-prose a,
.entry-content a,
.dedicated-attorney-sec a,
.mdl-loc-v4__intro a,
.mdl-loc-v4__main a,
.mdl-loc-v4__sub-intro a,
.mdl-pa-main a,
.mdl-pi-faq__answer a,
.accident-section a,
.text-box a,
.list-text a,
.list-style a,
.mdl-404-content a,
.mdl-404-disclaimer a {
    color: #506272 !important;
    font-weight: 600 !important;
    text-decoration: underline !important;
    text-underline-offset: 2px;
}

/* Hover / focus — same color, a touch darker for feedback. */
.mainpage a:hover, .mainpage a:focus,
.page-content a:hover, .page-content a:focus,
.postlist-single a:hover, .postlist-single a:focus,
.post-content a:hover, .post-content a:focus,
.content a:hover, .content a:focus,
.mdl-blog-content a:hover, .mdl-blog-content a:focus,
.mdl-pa-copy a:hover, .mdl-pa-copy a:focus,
.mdl-cri-prose a:hover, .mdl-cri-prose a:focus,
.entry-content a:hover, .entry-content a:focus,
.dedicated-attorney-sec a:hover, .dedicated-attorney-sec a:focus,
.mdl-loc-v4__intro a:hover, .mdl-loc-v4__intro a:focus,
.mdl-loc-v4__main a:hover, .mdl-loc-v4__main a:focus,
.mdl-pa-main a:hover, .mdl-pa-main a:focus,
.accident-section a:hover, .accident-section a:focus {
    color: #3d4d59 !important;
    text-decoration: underline !important;
}

/* --------------------------------------------------------------------------
   (C) EXCLUSIONS — chrome and non-text links keep their own styling.
   These must come AFTER (A)/(B) and be at least as specific to win.
   -------------------------------------------------------------------------- */
/* Buttons / CTAs */
main a.btn, main a.button, main a.no-link-style,
article a.btn, article a.button,
.mainpage a.btn, .page-content a.btn, .entry-content a.btn,
.mdl-pa-copy a.btn, .mdl-cri-prose a.btn, .accident-section a.btn,
.text-box a.btn,
.mdl-pi-card, a.mdl-pi-card,
.mdl-news__readmore, .mdl-pa-news__more, .mdl-cri-related-card__more,
a.mdl-readmore, a.mdl-news-card__media,
/* Image links */
main a:has(> img), article a:has(> img),
.mainpage a:has(> img), .page-content a:has(> img),
.postlist-single a:has(> img), .post-content a:has(> img),
.content a:has(> img), .mdl-blog-content a:has(> img),
.entry-content a:has(> img), .dedicated-attorney-sec a:has(> img),
.mdl-loc-v4__main a:has(> img), .mdl-pa-main a:has(> img) {
    color: inherit !important;
    font-weight: inherit !important;
    text-decoration: none !important;
}

/* Solid CTA buttons keep WHITE text (not inherited slate) and no underline.
   These are the gold/prussian site CTAs (SCHEDULE …, CALL …, etc.). */
.mdl-btn,
a.mdl-btn,
a.mdl-btn--gold,
a.mdl-btn--prussian,
a.mdl-ready-cta__btn,
.mdl-ready-cta__btn,
a.mdl-pi-expect__btn {
    color: #fff !important;
    font-weight: 500 !important;
    text-decoration: none !important;
}

/* Hard exclusions for chrome regions — links here NEVER take content styling,
   even though they may sit inside <main>/#content on some templates. */
.mdl-header a, .mdl-header__nav a, .mdl-nav-menu a,
.mdl-footer a, #footer a,
.mdl-breadcrumb a, .breadcrumb a,
.mdl-pagination a, .pagination a,
.mdl-news-card a, .mdl-pa-news-card a, .mdl-press__card a,
.mdl-cri-sidebar a, .mdl-cri-related-card a,
.mdl-ready-cta a, a.mdl-ready-cta__btn,
.mdl-loc-v4__pa-grid a, .mdl-pi-card,
.mdl-pa-news a, .mdl-pa-sidebar a {
    color: inherit !important;
    font-weight: inherit !important;
    text-decoration: none !important;
}
