
/* SEGREDUS LIGHT CONTRAST V8 */
/* NEVER affects Dark. */

body.sg-theme-light {
  --lc-text:#24242c;
  --lc-secondary:#596170;
  --lc-muted:#6b7280;
  --lc-pink:#ed2988;
}

/* Top navigation */
body.sg-theme-light header.top nav a,
body.sg-theme-light header.top .right,
body.sg-theme-light header.top .right a,
body.sg-theme-light .sm8-topright a {
  color:#34323e!important;
  -webkit-text-fill-color:#34323e!important;
  opacity:1!important;
}

body.sg-theme-light header.top .brand,
body.sg-theme-light .sm8-logo {
  color:#24242c!important;
  -webkit-text-fill-color:#24242c!important;
}

body.sg-theme-light header.top .brand span,
body.sg-theme-light .sm8-logo span {
  color:#ed2988!important;
  -webkit-text-fill-color:#ed2988!important;
}

/* Stronger headings in white panels */
body.sg-theme-light :is(
  .panel,.seg-r12-panel,.sp-card,.sp-pane,
  .sm8-sec,.sm8-banner
) :is(h1,h2,h3,h4) {
  color:#24242c!important;
  -webkit-text-fill-color:#24242c!important;
  opacity:1!important;
}

/* Normal informational text */
body.sg-theme-light :is(
  .panel,.seg-r12-panel,.sp-card,.sp-pane,
  .sm8-sec,.sm8-banner
) :is(p,small) {
  color:#596170!important;
  -webkit-text-fill-color:#596170!important;
  opacity:1!important;
}

/* Profile header below the cover */
body.sg-theme-light
header:has(+ .seg-r11-profile-actions) {
  color:#24242c!important;
}

body.sg-theme-light
header:has(+ .seg-r11-profile-actions)
:is(h1,h2,h3,strong,b) {
  color:#24242c!important;
  -webkit-text-fill-color:#24242c!important;
  opacity:1!important;
  text-shadow:none!important;
}

body.sg-theme-light
header:has(+ .seg-r11-profile-actions)
:is(p,small) {
  color:#596170!important;
  -webkit-text-fill-color:#596170!important;
  opacity:1!important;
}

/* Profile statistics and member info */
body.sg-theme-light :is(
  .seg-r12-stats,.seg-r12-statline,
  .seg-r12-profilecounts,.sm15-profilecounts
) :is(b,strong) {
  color:#24242c!important;
  -webkit-text-fill-color:#24242c!important;
}

body.sg-theme-light :is(
  .seg-r12-stats,.seg-r12-statline,
  .seg-r12-profilecounts,.sm15-profilecounts
) :is(span,small) {
  color:#596170!important;
  -webkit-text-fill-color:#596170!important;
}

/* Member card names in white footers */
body.sg-theme-light .sm8-grid :is(
  .sm8-card-body,.sm8-card-info,.sm8-card-footer,
  [data-sgl-v6="member-info"]
) :is(strong,b,h3) {
  color:#24242c!important;
  -webkit-text-fill-color:#24242c!important;
  opacity:1!important;
}

body.sg-theme-light .sm8-grid :is(
  .sm8-card-body,.sm8-card-info,.sm8-card-footer,
  [data-sgl-v6="member-info"]
) small {
  color:#596170!important;
  -webkit-text-fill-color:#596170!important;
}

/* Search and navigation */
body.sg-theme-light .sm8-search input {
  color:#24242c!important;
  -webkit-text-fill-color:#24242c!important;
}

body.sg-theme-light .sm8-search input::placeholder {
  color:#6b7280!important;
  -webkit-text-fill-color:#6b7280!important;
  opacity:1!important;
}

body.sg-theme-light .sm8-bottom a:not(.active),
body.sg-theme-light .sm8-bottom a:not(.active) small {
  color:#596170!important;
  -webkit-text-fill-color:#596170!important;
}

body.sg-theme-light .sm8-bottom a.active,
body.sg-theme-light .sm8-bottom a.active small {
  color:#ed2988!important;
  -webkit-text-fill-color:#ed2988!important;
}

/* Preserve primary button text */
body.sg-theme-light :is(
  .sm8-search button,.sm8-banner a,
  .seg-r11-action.primary
) {
  color:#fff!important;
  -webkit-text-fill-color:#fff!important;
}

/* Do not recolor the hero slideshow captions */
body.sg-theme-light .sgv4-text h2,
body.sg-theme-light .sgfh-caption h2 {
  color:#f04498!important;
  -webkit-text-fill-color:#f04498!important;
}

body.sg-theme-light .sgv4-text span,
body.sg-theme-light .sgfh-intro {
  color:#fff!important;
  -webkit-text-fill-color:#fff!important;
}
