
/* V14 FINAL HIGH-CONTRAST PUBLIC TEXT FIX
   Preserve existing colors/layout, only remove faded/unreadable text. */

/* Never allow faded public text */
.v5-body main h1,
.v5-body main h2,
.v5-body main h3,
.v5-body main h4,
.v5-body main p,
.v5-body main li,
.v5-body main a,
.v5-body main th,
.v5-body main td,
.v5-body main span,
.v5-body main strong,
.v5-body main b{
  opacity:1!important;
  filter:none!important;
  text-shadow:none;
}

/* CREAM / WHITE BOX HEADINGS = strong maroon/navy */
.v5-market-card h3,
.v5-textbox h1,.v5-textbox h2,.v5-textbox h3,
.v5-blog-card h1,.v5-blog-card h2,.v5-blog-card h3,
.v5-article h1,.v5-article h2,.v5-article h3,
.v5-pagehead h1,.v5-pagehead h2,.v5-pagehead h3,
.info-block h1,.info-block h2,.info-block h3,
.notice-grid h1,.notice-grid h2,.notice-grid h3,
.content-card h1,.content-card h2,.content-card h3,
.seo-page .card h1,.seo-page .card h2,.seo-page .card h3,
.rd-disclaimer-card h1,.rd-disclaimer-card h2,.rd-disclaimer-card h3{
  color:#981537!important;
  -webkit-text-fill-color:#981537!important;
  font-weight:900!important;
}

/* Result market names specifically */
.v5-market-card h3{
  color:#981537!important;
  -webkit-text-fill-color:#981537!important;
}
.v5-market-card small,
.v5-oldnew,
.v5-market-card .smallnote{
  color:#555!important;
  -webkit-text-fill-color:#555!important;
}

/* Information hub headings */
.v5-long-content .v5-textbox h2{
  color:#8f1732!important;
  -webkit-text-fill-color:#8f1732!important;
}
.v5-long-content .v5-textbox p{
  color:#20272c!important;
  -webkit-text-fill-color:#20272c!important;
}

/* Disclaimer cards */
.v5-disclaimer .v5-textbox h2,
.rd-disclaimer-page .rd-disclaimer-card h2{
  color:#a51535!important;
  -webkit-text-fill-color:#a51535!important;
}
.v5-disclaimer .v5-textbox p,
.rd-disclaimer-page .rd-disclaimer-card p{
  color:#1d252a!important;
  -webkit-text-fill-color:#1d252a!important;
}

/* Dark-background standalone headings = bright gold */
.v5-body main > h1,
.v5-body main > h2,
.v5-body main > h3,
.archive-page > h1,
.old-result-page > h1,
.rd-archive-page > h1,
.archive-wrap > h1{
  color:#ffe49b!important;
  -webkit-text-fill-color:#ffe49b!important;
}

/* Old chart main titles */
.archive-title,
.old-chart-title,
.month-title,
h1[class*="archive"],
h1[class*="old"]{
  color:#ffe49b!important;
  -webkit-text-fill-color:#ffe49b!important;
}

/* Chart title bars */
.v5-chart-heading,
.v5-panel-title,
.v5-info-title,
.chart-title,
.monthly-title,
.record-title{
  color:#ffe49b!important;
  -webkit-text-fill-color:#ffe49b!important;
}

/* Monthly chart market-description line under red title:
   it was nearly black on navy. */
.v5-chart-block > p,
.monthly-chart-page > p,
.month-chart > p,
.chart-wrap > p,
.archive-page > p,
.old-result-page > p,
.rd-archive-page > p{
  color:#d7e4ea!important;
  -webkit-text-fill-color:#d7e4ea!important;
}

/* Tables always fully readable */
.v5-body main table th,
.v5-chart th{
  color:#ffe49b!important;
  -webkit-text-fill-color:#ffe49b!important;
  background:#07364d!important;
  font-weight:900!important;
}
.v5-body main table td,
.v5-chart td{
  color:#18242c!important;
  -webkit-text-fill-color:#18242c!important;
  font-weight:600!important;
}

/* Old month/archive cards & links */
.rd-archive-page,
.archive-page,
.old-result-page,
.archive-wrap,
.archive-list{
  color:#17232c!important;
}
.rd-archive-page h1,.rd-archive-page h2,.rd-archive-page h3,
.archive-page h2,.archive-page h3,
.old-result-page h2,.old-result-page h3,
.archive-wrap h2,.archive-wrap h3{
  color:#8f1732!important;
  -webkit-text-fill-color:#8f1732!important;
}
.rd-archive-page a,
.archive-page a,
.old-result-page a,
.archive-wrap a,
.archive-list a{
  color:#0875b9!important;
  -webkit-text-fill-color:#0875b9!important;
  font-weight:800!important;
}

/* SEO/market page headings and text */
.seo-page h1,.seo-page h2,.seo-page h3,
.seo-section h1,.seo-section h2,.seo-section h3{
  color:#8f1732!important;
  -webkit-text-fill-color:#8f1732!important;
}
.seo-page p,.seo-section p,.seo-page li,.seo-section li{
  color:#26343d!important;
  -webkit-text-fill-color:#26343d!important;
}

/* Result Record Chart cards */
.record-head{
  color:#ffe49b!important;
  -webkit-text-fill-color:#ffe49b!important;
}
.top-list h1,.top-list h2,.top-list h3,
.live-card h1,.live-card h2,.live-card h3{
  color:#8f1732!important;
  -webkit-text-fill-color:#8f1732!important;
}

/* Buttons/links on cream */
.v5-content-btn,
.v5-market-card>a,
.v5-refresh{
  color:#fff!important;
  -webkit-text-fill-color:#fff!important;
}

/* Footer labels/links */
.v5-footer-grid b{
  color:#ffe49b!important;
  -webkit-text-fill-color:#ffe49b!important;
}
.v5-footer-grid a{
  color:#eef7fb!important;
  -webkit-text-fill-color:#eef7fb!important;
}

/* Emergency protection against transparent/faded text */
.v5-body main [style*="opacity"],
.v5-body main [style*="color"]{
  opacity:1!important;
}

/* Mobile clarity */
@media(max-width:650px){
  .v5-market-card h3{font-size:16px!important}
  .v5-long-content .v5-textbox h2{font-size:18px!important}
  .v5-body main table th{font-size:12px!important}
}
