/* Tamiyouz comparison post #27: live readability/contrast fix, 2026-11-03.
   Intentional post-specific CSS. No content, links, site-wide colors or interactions modified.
   High-specificity foregrounds override older article heading rules and -webkit-text-fill-color. */

/* Hero stays deep navy in BOTH themes; its copy must never inherit dark article ink. */
html body.postid-27.tyz-premium-article-body #tyz-premium-article .tyz-pa-prose .tyz-ai26 .tyz-hero {
  background:linear-gradient(125deg,#101f39 0%,#1d3858 100%) !important;
  color:#f6f9ff !important;
}
html body.postid-27.tyz-premium-article-body #tyz-premium-article .tyz-pa-prose .tyz-ai26 .tyz-hero h2,
html body.postid-27.tyz-premium-article-body #tyz-premium-article .tyz-pa-prose .tyz-ai26 .tyz-hero h2 :is(span,strong,em,b) {
  color:#ffffff !important;
  -webkit-text-fill-color:#ffffff !important;
  background-image:none !important;
  -webkit-background-clip:border-box !important;
  background-clip:border-box !important;
  text-shadow:none !important;
  opacity:1 !important;
}
html body.postid-27.tyz-premium-article-body #tyz-premium-article .tyz-pa-prose .tyz-ai26 .tyz-hero p,
html body.postid-27.tyz-premium-article-body #tyz-premium-article .tyz-pa-prose .tyz-ai26 .tyz-hero p :is(span,b,strong,em) {
  color:#edf3fc !important;
  -webkit-text-fill-color:#edf3fc !important;
  text-shadow:none !important;
  opacity:1 !important;
}
html body.postid-27.tyz-premium-article-body #tyz-premium-article .tyz-pa-prose .tyz-ai26 .tyz-hero .tyz-kicker {
  color:#f5d18d !important;
  -webkit-text-fill-color:#f5d18d !important;
}
html body.postid-27.tyz-premium-article-body #tyz-premium-article .tyz-pa-prose .tyz-ai26 .tyz-hero .tyz-pills a:not(:first-child):is(:link,:visited) {
  color:#ffffff !important;
  -webkit-text-fill-color:#ffffff !important;
  border-color:#f5d18d !important;
  background:transparent !important;
  text-decoration:none !important;
}
html body.postid-27.tyz-premium-article-body #tyz-premium-article .tyz-pa-prose .tyz-ai26 .tyz-hero .tyz-pills a:first-child:is(:link,:visited) {
  color:#14263b !important;
  -webkit-text-fill-color:#14263b !important;
  background:#f6d48e !important;
  border-color:#f6d48e !important;
  text-decoration:none !important;
}
html body.postid-27.tyz-premium-article-body #tyz-premium-article .tyz-pa-prose .tyz-ai26 .tyz-hero .tyz-pills a:focus-visible {
  outline:3px solid #ffffff !important;
  outline-offset:4px !important;
}

/* Light theme: dark editorial ink on paper; increase reading/TOC legibility. */
html[data-tyz-theme="light"] body.postid-27.tyz-premium-article-body #tyz-premium-article .tyz-pa-prose .tyz-ai26 > p,
html:not([data-tyz-theme="dark"]) body.postid-27.tyz-premium-article-body #tyz-premium-article .tyz-pa-prose .tyz-ai26 > p {
  color:#213951 !important;
  -webkit-text-fill-color:#213951 !important;
  font-size:16px !important;
  line-height:1.9 !important;
}
html[data-tyz-theme="light"] body.postid-27.tyz-premium-article-body #tyz-premium-article .tyz-pa-toc a {
  color:#18344a !important;
  -webkit-text-fill-color:#18344a !important;
  font-size:13px !important;
  line-height:1.7 !important;
}
html[data-tyz-theme="light"] body.postid-27.tyz-premium-article-body #tyz-premium-article .tyz-pa-toc a span {
  color:#865319 !important;
  -webkit-text-fill-color:#865319 !important;
  font-size:11px !important;
}
html[data-tyz-theme="light"] body.postid-27.tyz-premium-article-body #tyz-premium-article .tyz-pa-aside__overline {
  color:#17344b !important;
  -webkit-text-fill-color:#17344b !important;
  font-size:13px !important;
}
html[data-tyz-theme="light"] body.postid-27.tyz-premium-article-body #tyz-premium-article .tyz-ai26 .tyz-toc :is(strong,a) {
  color:#193a55 !important;
  -webkit-text-fill-color:#193a55 !important;
  font-size:13px !important;
}
html[data-tyz-theme="dark"] body.postid-27.tyz-premium-article-body #tyz-premium-article .tyz-pa-toc a {
  color:#edf3fb !important;
  -webkit-text-fill-color:#edf3fb !important;
  font-size:13px !important;
  line-height:1.7 !important;
}
html[data-tyz-theme="dark"] body.postid-27.tyz-premium-article-body #tyz-premium-article .tyz-pa-toc a span {
  color:#ffd391 !important;
  -webkit-text-fill-color:#ffd391 !important;
  font-size:11px !important;
}
html[data-tyz-theme="dark"] body.postid-27.tyz-premium-article-body #tyz-premium-article .tyz-pa-aside__overline {
  color:#f1f6fd !important;
  -webkit-text-fill-color:#f1f6fd !important;
  font-size:13px !important;
}
@media(max-width:767px){
  html body.postid-27 #tyz-premium-article .tyz-pa-prose .tyz-ai26 .tyz-hero h2 {
    font-size:clamp(24px,6vw,33px) !important;
    line-height:1.5 !important;
  }
}
