/* Accessibility contrast fixes.
   The theme renders post/listing meta text (dates, category links, prev/next
   labels) in a light grey (#a7a9b8 / #a6a6a6) on white, which fails WCAG 1.4.3
   (only ~2.3:1). Darken to #595959 (~7:1) without changing layout. All these
   elements sit on white/light card backgrounds. */
.liquid-lp-date,
.entry-date,
.entry-meta time,
.post-meta time,
time.published,
time.updated,
.cat-links a,
.related-post-categories a,
.related-post-categories li a,
.nav-subtitle {
  color: #595959 !important;
}

/* Blog/Insights listing page (page-id-7033) renders its top nav over a light
   bar but keeps the white menu text (1.06:1). Darken it to match the dark logo
   shown there. Scoped to that one page so dark-hero pages keep white text. */
body.page-id-7033 .main-nav > li > a,
body.page-id-7033 .main-nav > li > a .txt {
  color: #222222 !important;
}
body.page-id-7033 .main-nav > li > a:hover,
body.page-id-7033 .main-nav > li > a:hover .txt {
  color: #e41e25 !important;
}

/* Blog listing "Read More" links and tag/category badges use the brand red
   (#ff1839) on white = 3.85:1. A pure-red can never reach 4.5:1 on white, so
   deepen it slightly to #d4002f (~5.4:1). Scoped to listing meta only; the
   main brand red on buttons elsewhere is unchanged. */
.liquid-lp-read-more,
.liquid-lp-read-more .btn-txt,
.liquid-lp-category a,
.liquid-lp-category li a,
.liquid-lp-categories a {
  color: #d4002f !important;
}

/* The theme's default link colour is #a7a9b8 (var --color-link) = only 2.33:1
   on white. Re-point the variable to #5b5e72 (~6:1) WITHIN content regions
   only, so header/nav links keep their own (often white-on-dark) colours. */
.entry-content,
.wpb_wrapper,
.wpb_text_column,
.vc_column-inner,
.ld-fh-txt,
.liquid-blog-content,
article {
  --color-link: #5b5e72;
}

/* Author / byline / comment meta text uses #a7a9b8 directly in the theme. */
.post-author h6,
.post-author a,
.byline a,
.entry-author a,
.url.fn,
.url,
.comment-metadata a,
.log-form a,
.sideform a,
.link-text a,
.modal-links a {
  color: #5b5e72 !important;
}

/* Distinguish in-text links without relying on colour (WCAG 1.4.1) — scoped to
   body text (paragraphs / content / category meta), not nav or buttons. */
p a,
.cat-links a,
.ld-fh-txt a,
.entry-content a {
  text-decoration: underline;
}
