/* WCAG 2.1 AA small-type contrast corrections — 21 October 2026.
 * Measured from actual Chrome/axe rendered foreground-background pairs.
 * Typography, exact copy, photograph crops, spacing and approved visual
 * structure remain untouched. Deliberately scoped to seven pages.
 */
html[data-rx-page="home"] .geo-heading .eyebrow.mono{
  color:#87412f;
}
html[data-rx-page="home"] .geo-place[data-place="qatar"] .geo-index{
  color:#864a35;
}
html[data-rx-page="home"] .geo-afterword > p,
html[data-rx-page="home"] .geo-source{
  color:#465b56;
}
html[data-rx-page="stories"] .rx26-figures > figure > figcaption{
  color:#435e60 !important;
  opacity:1 !important;
}
html[data-rx-page="archive"] .rx-oct12-note{
  color:#465b56;
}
html[data-rx-page="archive"] .rx-freshman-archive-inner > .mini{
  color:#355653;
}
html[data-rx-page="archive"] .rx-field-kicker,
html[data-rx-page="archive"] .rx1920-inner > .rx1920-kicker{
  color:#87412f;
}
html[data-rx-page="discovery"] h3[data-en="BROWSE THE INDEX"],
html[data-rx-page="discovery"] .is-active,
html[data-rx-page="discovery"] .rx-result-category,
html[data-rx-page="discovery"] span[data-en="THE RECORD STAYS WHOLE"]{
  color:#87412f;
}
html[data-rx-page="illness-evidence"] .rx16-heading > .rx16-kicker,
html[data-rx-page="illness-evidence"] #labcoat-2016-memory figcaption > small,
html[data-rx-page="illness-evidence"] .exam-archive figcaption > small,
html[data-rx-page="illness-evidence"] #hospital-2020 figcaption > small,
html[data-rx-page="illness-evidence"] #hospital-2025 figcaption > small{
  color:#465b56;
}
html[data-rx-page="illness-evidence"] .narrative > .side > span:first-child,
html[data-rx-page="illness-evidence"] .sequence.en article small{
  color:#7c4232;
}
html[data-rx-page="publication-cinema"] #count{
  color:#465b56;
}
html[data-rx-page="film"] .rx-series-kicker{
  color:#87412f;
}

/* Targeted high-specificity WCAG follow-up from the live browser report.
 * The injected Stories figure and clinical archive's preexisting selectors can
 * outrank ordinary stylesheet rules. Limit !important to foreground colors:
 * no photos, positioning, animation or typography are changed.
 */
html[data-rx-page="stories"] .rx26-figures > figure > figcaption{
  color:#435e60!important;
  opacity:1 !important;
}
html[data-rx-page="illness-evidence"] #rx16-diagnosis-photo .rx16-heading > .rx16-kicker{
  color:#465b56!important;
}
html[data-rx-page="illness-evidence"] .narrative > .side > span,
html[data-rx-page="illness-evidence"] .sequence.ar article small{
  color:#7c4232!important;
}

/* These content components inject a later inline <style> after the link
 * stylesheet has loaded. Specificity alone cannot override inline !important
 * declarations in the original component. Restrict importance to the actual
 * text labels confirmed by the live WCAG browser scan; never reposition media. */
html[data-rx-page="illness-evidence"] #rx16-diagnosis-photo > .rx16-heading > .rx16-kicker,
html[data-rx-page="illness-evidence"] #rx16-diagnosis-photo-ar > .rx16-heading > .rx16-kicker{
  color:#465b56 !important;
  opacity:1 !important;
}
html[data-rx-page="illness-evidence"] .narrative > .side > span,
html[data-rx-page="illness-evidence"] .sequence.ar article small{
  color:#7c4232 !important;
}
